PageSourceSearch

https://www.francolapinto.com/_next/static/chunks/40-33ef0054aa30866c.js?dpl=dpl_BAMkD2bN6BijkdBs197M7NAZyGx6

js francolapinto.com collected 2026-09-25 10:00:55 UTC 17,173 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40],{745503:function(){},946599:function(e,t,l){"use strict";l.d(t,{T:function(){return o}});var n=l(124004),i=l(269778),r=l(950433),a=l(414978);let o=e=>{let{children:t,type:l="mediaCard",...r}=e,{containers:o}=(0,a.useContext)(i.Z),d=null==o?void 0:o[l];return d?(0,n.jsx)(d,{...r,children:t}):(0,n.jsx)(n.Fragment,{children:t})};t.Z=e=>{let{item:t,type:l="mediaCard",...o}=e,{components:d,utilities:u}=(0,a.useContext)(i.Z),{getModelLink:s}=(0,r.Z)(),c=(0,a.useMemo)(()=>{let e;switch(null==t?void 0:t._type){case"modelAthlete":case"photoGallery":case"person":e="landingLink";break;default:e="link"}return s({model:t,linkName:e})},[t,s]),v=(0,a.useMemo)(()=>({...t,link:null!=c?c:t.link}),[c,t]),m=(0,a.useMemo)(()=>null==d?void 0:d[l],[d,l]),p=(0,a.useMemo)(()=>{var e,t;return null!==(t=null==u?void 0:null===(e=u[l])||void 0===e?void 0:e.call(u,v,l))&&void 0!==t?t:v},[u,v,l]);return m?(0,n.jsx)(m,{...p,...o}):null}},863709:function(e,t,l){"use strict";l.d(t,{L:function(){return m}});var n=l(124004),i=l(628081);let r="landingLink";var a=l(950433),o=e=>{let{tag:t}=e,{getModelLink:l}=(0,a.Z)(),o=l({model:t,linkName:r});return o?(0,n.jsx)(i.zx,{link:o,children:(0,n.jsx)(i.oD,{children:t.title})},t._id):null},d=l(129358),u=l(289793);let s=(0,u.styled)(u.View,{gap:"$4"}),c=(0,u.styled)(u.View,{}),v=(0,u.styled)(u.View,{flexDirection:"row",flexWrap:"wrap",gap:"$4"});var m=e=>{let{tags:t,title:l="Related Tags",...i}=e,{isLinkAvailable:u}=(0,a.Z)();return t&&u("tag-".concat(r))?(0,n.jsxs)(s,{flex:1,...i,children:[l?(0,n.jsx)(c,{children:(0,n.jsx)(d.x,{color:"$foregroundNeutral",size:"headlineXsmall",children:l})}):null,(0,n.jsx)(v,{children:t.map(e=>(0,n.jsx)(o,{tag:e},null==e?void 0:e._id))})]}):null}},846131:function(e,t,l){"use strict";l.d(t,{Y:function(){return _}});var n=l(124004),i=l(848746),r=l(628081),a=l(946599),o=l(391923),d=l(289793),u=l(499461),s=l(414978),c=l(129358);let v=(0,d.styled)(d.View,{position:"absolute",top:0,left:0,right:0,bottom:0,alignItems:"center",justifyContent:"center",borderRadius:"$card",zIndex:1e3}),m=(0,d.styled)(d.View,{position:"absolute",flex:1,width:"50%",margin:"$4","@md":{width:"40%",margin:"$6"}}),p=(0,d.styled)(d.View,{marginTop:"-$2",flexDirection:"row",alignItems:"center",justifyContent:"flex-start",gap:"$2"}),y=(0,d.styled)(d.View,{marginBottom:"$2"}),h=(0,d.styled)(d.View,{position:"absolute",bottom:0,right:0,top:0,left:0,opacity:.8,backgroundColor:"$black"});var f=e=>{let{item:t,hideOverlay:l}=e;if(!t)return null;let[i,d]=(0,s.useState)(5),f=(0,u.f)(t),{onPress:g}=(0,o.ZP)({link:f}),x=(0,s.useRef)(g);return x.current=g,(0,s.useEffect)(()=>{let e=setInterval(()=>{d(t=>{if(0===t){var n;return clearInterval(e),null===(n=x.current)||void 0===n||n.call(x),null==l||l(),t}return t-1})},1e3);return()=>clearInterval(e)},[l]),(0,n.jsxs)(v,{children:[(0,n.jsx)(h,{}),(0,n.jsxs)(m,{children:[(0,n.jsx)(y,{children:(0,n.jsxs)(c.x,{size:"titleSmall",children:["Playing Next in ",i]})}),(0,n.jsx)(a.Z,{item:{...t,mainImage:t.thumbnailImage,link:void 0},type:"mediaCard",aspectRatio:16/9,displaySubtitle:!1,displayDate:!1,displayChip:!1,titleProps:{dynamicTextSize:{base:"titleMedium",lg:"titleMedium@lg"},numberOfLines:1}}),(0,n.jsxs)(p,{children:[(0,n.jsx)(r.zx,{size:"sm",variant:"faded",color:"neutral",onPress:()=>{null==l||l()},children:(0,n.jsx)(r.oD,{children:"Cancel"})}),(0,n.jsx)(r.zx,{size:"sm",variant:"solid",color:"white",onPress:()=>{null==g||g(),null==l||l()},children:(0,n.jsx)(r.oD,{children:"Play Now"})})]})]})]})},g=l(228034),x=l(74157),b=l(183816),w=l(938595);let j=e=>{let{event:t,status:l,stopwatch:n,title:i,url:r}=e,a=l.duration===1/0?"Infinity":"number"==typeof l.duration&&l.duration>0?Math.round(l.duration):void 0,o="number"==typeof l.currentTime&&isFinite(l.currentTime)&&l.currentTime>0&&"number"==typeof a?Math.round(l.currentTime/a*100):0;(0,w.ih)({eventName:t,video:{videoTitle:i.toLowerCase().replace(/[^0-9a-z\s]/g,""),videoAdCampaignId:"",videoTimePlayed:null==n?void 0:n.seconds(),videoLength:a,videoPercentWatched:o,videoUrl:r}})},k=e=>{let t=(0,s.useRef)(!1),l=function(){let e=(0,s.useRef)(0),t=(0,s.useRef)(0),l=(0,s.useCallback)(()=>{0===e.current&&(e.current=Date.now())},[]);return{start:l,pause:(0,s.useCallback)(()=>{0!==e.current&&(t.current=Date.now()-e.current+t.current,e.current=0)},[]),stop:(0,s.useCallback)(()=>{e.current=0,t.current=0},[]),seconds:(0,s.useCallback)(()=>{let l=t.current;return 0!==e.current&&(l+=Date.now()-e.current),Math.round(l/1e3)},[])}}(),n=(0,x.Z)(),i=(0,b.Z)(n),r=(0,s.useCallback)(n=>{t.current?j({event:"videoPlay",status:n,stopwatch:l,title:e,url:i}):(t.current=!0,j({event:"videoStarted",status:n,stopwatch:l,title:e,url:i})),l.start()},[l,e,i]),a=(0,s.useCallback)(t=>{j({event:"videoPause",status:t,stopwatch:l,title:e,url:i}),l.pause()},[l,e,i]),o=(0,s.useCallback)(t=>{j({event:"videoControlFullScreen",status:t,stopwatch:l,title:e,url:i})},[l,e,i]),d=(0,s.useRef)(0),u=(0,s.useCallback)(e=>[25,50,75,100].find(t=>e>=t&&t>d.current)||null,[]);return{onPlay:r,onPause:a,onFullscreen:o,onProgress:(0,s.useCallback)(t=>{let n=u(Math.round(t.currentTime/t.duration*100));n&&(j({event:"videoPercent".concat(n),status:t,stopwatch:l,title:e,url:i}),d.current=n)},[l,e,u,i])}},I=(0,d.styled)(d.View,{position:"relative"});var _=e=>{let{autoPlay:t,playbackId:l,streamType:r,title:a,caption:o,accentColor:d,poster:u,muted:c,controls:v=!0,loop:m,aspectRatio:p=16/9,upNextItems:y=[],overrideOptions:h={}}
1=e,x=(0,s.useRef)(null),b=k(a||l||""),[w,j]=(0,s.useState)(!1),_=(0,s.useRef)(!1),[C,S]=(0,s.useState)(null),[T,$]=(0,s.useState)(!1);(0,s.useEffect)(()=>{S(null==y?void 0:y[0])},[y]);let V=(0,s.useCallback)(()=>{var e,t,n,i;return{title:null!=a?a:l,currentTime:null!==(n=null===(e=x.current)||void 0===e?void 0:e.currentTime)&&void 0!==n?n:0,duration:null!==(i=null===(t=x.current)||void 0===t?void 0:t.duration)&&void 0!==i?i:0}},[a,l]),Z=(0,s.useMemo)(()=>(null==h?void 0:h.aspectRatio)?{base:h.aspectRatio}:{base:p<1?p:16/9,sm:p<1?p:16/9,md:p>1?p:16/9,lg:p>1?p:16/9,xl:p>1?p:16/9},[p,h]),P=(0,g.Z)(Z),N=(0,s.useCallback)(()=>{if(x.current)return x.current.addEventListener("fullscreenchange",()=>{_.current||b.onFullscreen(V()),_.current=!_.current}),()=>{x.current&&x.current.removeEventListener("fullscreenchange",()=>{})}},[V,b]),L=(0,s.useCallback)(()=>{j(!0)},[]),M=(0,s.useCallback)(()=>{$(!1),j(!1)},[]);return(0,s.useEffect)(()=>{w&&$(!0)},[w]),(0,n.jsxs)(I,{children:[(0,n.jsx)(i.ZP,{accentColor:d,metadata:{videoTitle:a,caption:o},muted:c,onEnded:L,onLoadStart:N,onLoadedData:()=>{if(t){var e;null===(e=x.current)||void 0===e||e.play()}},onPause:()=>b.onPause(V()),onPlay:()=>b.onPlay(V()),onTimeUpdate:()=>b.onProgress(V()),poster:u,playbackId:l,ref:x,streamType:r,loop:m,style:{aspectRatio:P,width:"100%",overflow:"hidden","--center-seek-backward-button":"none","--center-seek-forward-button":"none","--bottom-controls":T||!v?"none":"initial","--center-controls":T||!v?"none":"initial"}}),T&&C?(0,n.jsx)(f,{item:C,hideOverlay:M}):null]})}},222562:function(e,t,l){"use strict";function n(e,t,l){var n;let r=(null==e?void 0:null===(n=e.episodes)||void 0===n?void 0:n.map(i).filter(Boolean))||[];return l&&(r=r.reverse()),t&&(r=r.slice(0,t)),r}function i(e){let{episodeTitle:t,video:l}=e;if(l)return{_type:"video",_id:l._id||e._key,slug:l.slug||e._key,publishedAt:l.publishedAt||new Date().toISOString(),thumbnailImage:l.thumbnailImage,title:t||l.title||"Untitled",summary:l.summary,muxVideo:l.muxVideo}}l.d(t,{h:function(){return n}})},686701:function(e,t,l){"use strict";l.d(t,{D:function(){return o}});var n=l(124004);l(414978);var i=l(10993),r=l(289793),a=l(227299),o=e=>{let{videoId:t,autoplay:l}=e,{width:o,onLayout:d}=(0,a.Z)();return(0,n.jsx)(r.View,{onLayout:d,children:!!o&&(0,n.jsx)(i.ZP,{height:9/16*o,videoId:t,webViewStyle:{opacity:.99},play:l})},"youtube-".concat(t))}},269778:function(e,t,l){"use strict";let n=(0,l(414978).createContext)({});t.Z=n},163463:function(e,t,l){"use strict";l.d(t,{VideoScreen:function(){return H}});var n=l(124004),i=l(821046),r=l(946599),a=l(89233),o=l(863709),d=l(129358),u=l(228034),s=l(52951),c=l(227299),v=l(222562),m=l(747457),p=l(239182);let y=async e=>{let{data:t,exclude:l=["emptyArray"]}=e,{_type:n}=t,i='*[_type == "'.concat(n,'" && !(_id in $exclude) ] | order(publishedAt desc)[0...12]{\n    ...,\n    mainImage{').concat(p.IY,"},\n    thumbnailImage{").concat(p.IY,'},\n    "muxVideo": muxVideo.asset->{"data":{ "duration": data.duration, "aspectRatio": data.aspect_ratio}, playbackId}\n  }');return await (0,m.Z)({query:i,params:{exclude:l},debugName:"getLatestContent"})},h=async e=>{var t,l;let{data:n,exclude:i=["emptyArray"]}=e,{_type:r,tags:a=[]}=n,o=null!==(l=null==a?void 0:a.map(e=>e._id))&&void 0!==l?l:[];if(!(null===(t=o.filter(Boolean))||void 0===t?void 0:t.length))return[];let d="*[_type == $type && !(_id in $exclude) && (count(tags[][@._ref in $tagArr]) > 0) ] | order(publishedAt desc)[0...12]{\n        ...,\n        mainImage{".concat(p.IY,"},\n        thumbnailImage{").concat(p.IY,'},\n        "muxVideo": muxVideo.asset->{"data":{ "duration": data.duration, "aspectRatio": data.aspect_ratio}, playbackId}\n      }');return await (0,m.Z)({query:d,params:{type:r,tagArr:o,exclude:i},debugName:"getRelatedContent"})};var f=l(414978);let g={getItem(e){try{if("undefined"==typeof sessionStorage)return null;let t=sessionStorage.getItem(e);return t&&"undefined"!==t?JSON.parse(t):null}catch(t){console.error("Error getting session item: ".concat(e),t)}},setItem(e,t){try{if("undefined"==typeof sessionStorage)return;sessionStorage.setItem(e,JSON.stringify(t))}catch(t){console.error("Error setting session item: ".concat(e),t)}},removeItem(e){try{if("undefined"==typeof sessionStorage)return;sessionStorage.removeItem(e)}catch(t){console.error("Error removing session item: ".concat(e),t)}}},x=e=>{var t;let{data:l,exclude:n=[]}=e;if("video"!==l._type||!l.videoSeries)return[];let i=(null===(t=l.videoSeries.videoSeriesSeasons)||void 0===t?void 0:t.flatMap(e=>{var t;return null!==(t=(0,v.h)(e.videoSeriesSeason,void 0,"reverse"===e.sortOrder))&&void 0!==t?t:[]}))||[],r=[],a=!1;for(let e of i){if(e._id===l._id){a=!0;continue}a&&e._id&&!n.includes(e._id)&&r.push(e)}return r};var b=e=>{let{item:t,watchHistoryLimit:l=20}=e,[n,i]=(0,f.useState)(),[r,a]=(0,f.useState)(),[o,d]=(0,f.useState)(!0),[u,s]=(0,f.useState)(null),c=(0,f.useMemo)(()=>({async append(e){try{let t=g.getItem("watchHistory")||[];if(!e)return t;let n=[e,...t.filter(t=>t!==e).slice(0,l-1)];return g.setItem("watchHistory",n),n}catch(e){return console.error("Failed to update consumption history:",e),g.getItem("watchHistory")||[]}}}),[l]),v=(0,f.useCallback)(async()=>{try{if(!(null==t?void 0:t._id))return[];let e=await c.append(t._id),l=x({data:t,exclude:e}),[n,i]=await Promise.all([y({data:t,exclude:e}),h({data:t,exclude:e})]),r=null!=l?l:[],a=new Set(r.map(e=>
1null==e?void 0:e._id).filter(Boolean)),o=(null!=i?i:[]).filter(e=>!a.has(null==e?void 0:e._id)),d=[...r,...o],u=new Set(d.map(e=>null==e?void 0:e._id).filter(Boolean)),s=(null!=n?n:[]).filter(e=>!u.has(null==e?void 0:e._id));return[...d,...s]}catch(e){throw console.error("Failed to fetch up next items:",e),e}},[c,t]),m=(0,f.useCallback)(async()=>{d(!0),s(null);try{let e=await v();if(!e.length&&(null==t?void 0:t._id))try{let e=await y({data:t,exclude:[t._id]});a(e)}catch(e){console.error("Failed to fetch fallback latest content:",e),a([])}i(e)}catch(e){s(e instanceof Error?e.message:"Failed to fetch related content"),console.error("Error fetching related content:",e),i([]),a([])}finally{d(!1)}},[v,t]),p=(0,f.useCallback)(()=>{m()},[m]);return(0,f.useEffect)(()=>{m()},[m]),{relatedContent:{searchType:(null==t?void 0:t._type)||"",searchTags:null==t?void 0:t.tags,items:(null==n?void 0:n.length)?n:r},fetchUpNextItems:v,loading:o,error:u,retry:p}},w=l(812223),j=l(798824),k=l(499461),I=l(510743),_=l(589815),C=l(849121),S=l(715106),T=l(324736),$=l(529476),V=e=>{let{jsonLd:t}=e;return(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t).replace(/</g,"\\u003c")}})};l(24815),l(396899);var Z=l(398133);let P=e=>[(0,Z.Z)(e,{width:1200,height:675}),(0,Z.Z)(e,{width:1200,height:1200}),(0,Z.Z)(e,{width:1200,height:900})].filter(Boolean);var N=e=>{var t;let{video:{title:l,summary:i,publishedAt:r,muxVideo:a,youtubeVideo:o,thumbnailImage:d}}=e,u=P(d),s=(null==o?void 0:o.videoId)?"https://www.youtube.com/embed/".concat(o.videoId):null;if(!u.length)return null;let c={"@context":"https://schema.org","@type":"VideoObject",name:l,description:i,thumbnailUrl:u,...r&&{uploadDate:r},...s&&{embedUrl:s},...(null==a?void 0:null===(t=a.asset)||void 0===t?void 0:t.playbackId)&&{contentUrl:"https://stream.mux.com/".concat(a.asset.playbackId,".m3u8")}};return(0,n.jsx)(V,{jsonLd:c})},L=l(846131),M=l(686701),D=l(734408),R=l(289793),E=l(962859),z=l(784544);let O=(0,R.styled)(R.View,{"@base":{alignSelf:"center",width:"$full"},"@md":{mt:"$8"}}),A=(0,R.styled)(R.View,{"@base":{aspectRatio:16/9}}),F=(0,R.styled)(R.View,{"@base":{px:"$6",mb:"$12"}}),U=(0,R.styled)(d.x,{"@base":{color:"$foregroundNeutralFaded",pt:"$8"},"@sm":{pt:"$10"},defaultProps:{size:"bodyMediumMedium"}}),B=(0,R.styled)(d.x,{"@base":{color:"$foregroundPrimary",pt:"$1"},defaultProps:{dynamicTextSize:{base:"headlineLarge",sm:"headlineXlarge"}}}),Y=(0,R.styled)(d.x,{"@base":{color:"$foregroundPrimary",pt:"$3.5"},defaultProps:{size:"bodyMedium"}}),H=()=>{var e,t,l,v,m,p,y,h,g,x,V,P;let{data:H}=(0,z.Z)(),{isAuthenticated:J,isLoading:W}=(0,E.Z)(),{analytics:X,background:q,siteSection:G}=null!==(g=null==H?void 0:H.video)&&void 0!==g?g:{},K=(0,f.useMemo)(()=>{var e,t;return{category:(null==X?void 0:X.category)||(null==G?void 0:G.slug)||"video",pageType:(null==X?void 0:X.pageType)||"detail",pageName:null!==(t=null==X?void 0:X.pageName)&&void 0!==t?t:null==H?void 0:null===(e=H.video)||void 0===e?void 0:e.title,subCategory:(null==X?void 0:X.subCategory)||"video"}},[X,H,G]),Q=null==H?void 0:H.video,ee=(0,R.useToken)("colors","foregroundNeutral"),{isAppLinksModalOpen:et,closeAppLinksModal:el}=(0,w.Z)(),{autoplay:en="0"}=(0,a.lr)(),ei=(0,s.Z)(D.N.CONTENT_RELATED_COLUMN_VIDEO),{relatedContent:er,loading:ea}=b({item:Q}),{height:eo,onLayout:ed}=(0,c.Z)(),eu=(0,u.Z)({base:void 0,md:eo}),es=ei?"$pageOuter":"$body",ec=!(!W&&!J&&(null==Q?void 0:null===(e=Q.pageSettings)||void 0===e?void 0:e.userAuthenticationRequired))&&((null==Q?void 0:Q.videoType)==="live-mux"||!!parseFloat(en));return(0,n.jsxs)(n.Fragment,{children:[Q?(0,n.jsxs)(S.I,{background:q,children:[K&&(0,n.jsx)($.k,{data:K}),(0,n.jsx)(O,{maxWidth:es,children:(0,n.jsxs)(_.n,{analytics:null!=X?X:{},children:[(0,n.jsx)(N,{video:Q}),(0,n.jsxs)(R.View,{flex:1,"$base-flexDirection":"column","$md-flexDirection":"row",children:[(0,n.jsxs)(R.View,{flex:1,onLayout:ed,children:[(0,n.jsxs)(A,{maxWidth:es,children:[("mux"===Q.videoType||"live-mux"===Q.videoType)&&(0,n.jsx)(L.Y,{autoPlay:ec,streamType:"live-mux"===Q.videoType?"live":"on-demand",title:Q.title,caption:Q.summary,playbackId:"mux"===Q.videoType?null===(l=Q.muxVideo)||void 0===l?void 0:null===(t=l.asset)||void 0===t?void 0:t.playbackId:Q.liveMuxVideoPlaybackId,accentColor:ee,poster:(0,Z.Z)(Q.thumbnailImage,{height:9/16*1066,width:1066}
1),upNextItems:(null==er?void 0:er.items)||[]}),"youtube"===Q.videoType&&(null===(v=Q.youtubeVideo)||void 0===v?void 0:v.videoId)&&(0,n.jsx)(M.D,{videoId:null===(m=Q.youtubeVideo)||void 0===m?void 0:m.videoId,autoplay:ec})]}),(0,n.jsxs)(F,{children:[(0,n.jsx)(U,{children:(0,j.p6)(Q.publishedAt)}),(0,n.jsx)(B,{"aria-level":1,role:"heading",children:Q.title}),(0,n.jsx)(Y,{children:Q.summary}),(0,n.jsx)(R.View,{marginTop:"$6",children:(0,n.jsx)(T.Y,{value:[...null!==(x=null===(p=Q.layout)||void 0===p?void 0:p.preBody)&&void 0!==x?x:[],...null!==(V=Q.body)&&void 0!==V?V:[],...null!==(P=null===(y=Q.layout)||void 0===y?void 0:y.postBody)&&void 0!==P?P:[]],settings:{ptType:ei?"default":"article",inline:ei}})}),(0,n.jsx)(o.L,{tags:null==Q?void 0:Q.tags,marginTop:"$8"})]})]}),ei&&(0,n.jsx)(R.View,{"$base-w":"$full","$md-w":380,bg:"$backgroundPrimary10",children:(0,n.jsxs)(R.ScrollView,{height:eu,contentContainerStyle:{padding:16},children:[(0,n.jsx)(d.x,{size:"titleLarge",children:"Next Up"}),ea?(0,n.jsx)(I.default,{size:"large"}):(0,n.jsx)(n.Fragment,{children:null==er?void 0:null===(h=er.items)||void 0===h?void 0:h.map((e,t)=>{let l=(0,k.f)(e);return(0,n.jsx)(R.View,{flex:1,gap:"$4",children:(0,n.jsx)(r.Z,{item:{...e,link:l},displaySubtitle:!1,displayChip:!1,displayDate:!1})},t)})})]})})]})]})})]}):(0,n.jsx)(C.a,{}),(0,n.jsx)(i.U,{isOpen:et,onClose:el})]})}},499461:function(e,t,l){"use strict";l.d(t,{f:function(){return i}});let n=["article","video","page"],i=(e,t)=>{var l,i,r;return n.includes(null==e?void 0:e._type)||(null==t?void 0:t.bypass)?{linkType:"internal",internalLink:{_type:(null==e?void 0:e._type)==="article"?"article":(null==e?void 0:e._type)==="video"?"video":"page",_id:null!==(i=null==e?void 0:e._id)&&void 0!==i?i:"",slug:null!==(r=null==e?void 0:e.slug)&&void 0!==r?r:""}}:null!==(l=null==e?void 0:e.link)&&void 0!==l?l:void 0}}}]);

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.