PageSourceSearch

https://www.ffr.fr/static/js/2479.1c269542.chunk.js

js ffr.fr collected 2026-09-24 09:08:48 UTC 12,054 bytes, 5 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f850edf4-a51d-5acb-992f-99b6d8509616")}catch(e){}}();
3(self.webpackChunkffr_website=self.webpackChunkffr_website||[]).push([[2479],{770:function(e,t,s){s(71233);var n=s(67895),a=s(37881);t.Z=function(e){var t=e.videos,s=e.from;return(0,a.jsx)("div",{className:"row",children:t.filter((function(e){return!e.tags.includes("shorts")&&!e.tags.includes("#shorts")})).map((function(e,t){return(0,a.jsx)("div",{className:"col col-md-6 col-lg-4 mb-2 mb-md-3 mb-lg-4",children:(0,a.jsx)(n.Z,{from:s,id:e.id,url:"/ffr-tv-player/".concat(e.id),title:e.title,duration:e.duration,img:e.img})},t)}))})}},5213:function(e,t,s){s(71233);var n=s(37881);t.Z=function(e){var t=e.handleOnClickLink,s=e.children;return(0,n.jsxs)("a",{onClick:t,className:"link-chevron link-chevron--center link-chevron--inline link-chevron--white link-blur link-blur--blueAlt","data-label":!0,children:[(0,n.jsx)("span",{children:s}),(0,n.jsx)("i",{className:"icon icon-zoom_plus"})]})}},93929:function(e,t,s){var n=s(15671),a=s(43144),i=s(60136),l=s(27277),r=s(71233),o=s(38233),d=s(2183),c=s(37881),p=function(e){(0,i.Z)(s,e);var t=(0,l.Z)(s);function s(){var e;(0,n.Z)(this,s);for(var a=arguments.length,i=new Array(a),l=0;l<a;l++)i[l]=arguments[l];return(e=t.call.apply(t,[this].concat(i))).renderElements=function(t){return t.map((function(t,s){return(0,c.jsx)("li",{children:e.renderElement(t)},s)}))},e.renderElement=function(e){return"string"===typeof e?e:(0,c.jsx)(d.Z,{to:{pathname:e.to},title:"Se rendre \xe0 la page ".concat(e.name),role:"button",tabIndex:0,children:e.name})},e}return(0,a.Z)(s,[{key:"render",value:function(){var e=(0,o.S)("breadcrumb ft-h6 ft-up");return this.props.breadcrumbStyle&&e.add(this.props.breadcrumbStyle),this.props.isDark&&e.add("is-dark"),(0,c.jsx)("ol",{className:e.build(),children:this.renderElements(this.props.elements)})}}]),s}(r.PureComponent);p.defaultProps={elements:[]},t.Z=p},52428:function(e,t,s){s(71233);var n=s(28291),a=s(2183),i=s(37881);t.Z=function(e){var t=e.itemCount,s=e.url,l=e.image,r=e.title;return(0,i.jsxs)(a.Z,{to:s||"#",title:r,className:"box card card--content card--date card--day",children:[(0,i.jsx)("div",{className:"card__thumbnail img-blue",style:{backgroundImage:"url(".concat((0,n.it)(l),")")}}),(0,i.jsx)("img",{src:(0,n.it)(l),alt:"TBD"}),(0,i.jsx)("div",{className:"card__label label label--transparent",children:t}),(0,i.jsxs)("div",{className:"card__body",children:[(0,i.jsx)("h3",{className:"card__title ft-h5",children:r}),(0,i.jsx)("p",{className:"card__desc ft-h6",children:parseInt(t,10)>1?"Videos ".concat(t):"Video ".concat(t)})]})]})}},2479:function(e,t,s){s.r(t),s.d(t,{default:function(){return w}});var n=s(42982),a=s(15671),i=s(43144),l=s(60136),r=s(27277),o=s(71233),d=s(67895),c=s(37881),p=function(e){var t=e.channelName,s=e.channelDescription,n=e.url_image,a=e.url,i=e.title,l=e.id,r=e.duration,o=e.tags;return(0,c.jsxs)("div",{className:"channel-header",children:[(0,c.jsx)(d.Z,{id:l,title:i,url:"/ffr-tv-player/".concat(a),duration:r,img:n,tags:o}),(0,c.jsxs)("div",{className:"channel-header__content",children:[(0,c.jsx)("p",{className:"ft-h6 ft-up ft-black-secondary",children:"Cha\xeene"}),(0,c.jsx)("h1",{className:"ft-h2 mb-1 mb-lg-3",children:t}),(0,c.jsx)("p",{className:"ft-secondary ft-black-secondary mb-0",children:s})]})]})},u=s(44663),h=s(38233),m=function(e){var t=e.handleDropdownChange,s=e.handleOnClickLink,n=e.rendering,a=e.options,i=(0,h.S)(""),l=(0,h.S)(""),r=(0,h.S)("tab__indicator");return"videos"===n&&i.add("is-active"),"playlists"===n&&l.add("is-active"),"playlists"===n&&r.add("on-right"),(0,c.jsxs)("div",{className:"header-tv mb-4 mb-md-5",children:[(0,c.jsxs)("div",{className:"tab-links is-dark ft-h6 ft-up mb-3 mb-md-0",children:[(0,c.jsx)("a",{role:"button",tabIndex:"0",onClick:s,className:i.build(),children:"Toutes les vid\xe9os"}),(0,c.jsx)("a",{role:"button",tabIndex:"0",onClick:s,className:l.build(),children:"Par playlist"}),(0,c.jsx)("span",{className:r.build()})]}),(0,c.jsx)(u.Z,{isDark:!0,radio:!0,select:!0,prelabel:"Trier par : ",id:"asd37adersf",isActive:!0,options:a,inputChanged:t})]})};m.defaultProps={options:[{value:"DateDeSortie",label:"Date de sortie"}
3,{value:"OrdreAlphabetique",label:"Ordre alphab\xe9tique"}]};var b=m,f=s(770),y=s(52428),v=function(e){var t=e.playlists;return(0,c.jsx)("div",{className:"row",children:t.map((function(e){return(0,c.jsx)("div",{className:"col col-md-6 col-lg-4 mb-2 mb-md-3 mb-lg-4",children:(0,c.jsx)(y.Z,{url:e.url,title:e.title,image:e.image,itemCount:e.itemCount})},e.id)}))})},g=s(5213),x=s(28291),C=s(93929),j=s(71454),k=s(19209),V=s(74279),P=s(20807),I=s(7895),N=function(e){(0,l.Z)(s,e);var t=(0,r.Z)(s);function s(e){var i;return(0,a.Z)(this,s),(i=t.call(this,e)).handleOnClickLinkMoreVideos=function(){if(i.props.statusVideo===k.zv&&i.props.statusPlaylistItems===k.zv&&i.props.statusVideos===k.zv&&"videos"===i.state.rendering){var e=("OrdreAlphabetique"===i.state.sort?i.props.playlistItems.slice().sort((0,P.IQ)("title")):i.props.playlistItems.slice()).slice(i.state.nbVideosRender,i.state.nbVideosRender+V.fj>i.props.playlistItems.length?i.props.playlistItems.length:i.state.nbVideosRender+V.fj);i.props.fetchMoreYoutubeVideosChannel(e,!1),i.setState({nbVideosRender:i.state.nbVideosRender+V.fj>i.props.playlistItems.length?i.props.playlistItems.length:i.state.nbVideosRender+V.fj})}if(i.props.statusPlaylist===k.zv&&"playlists"===i.state.rendering){var t=("OrdreAlphabetique"===i.state.sort?i.props.playlistsChannel.slice().sort((0,P.IQ)("title")):i.props.playlistsChannel.slice()).slice(i.state.nbPlaylistsRender,i.state.nbPlaylistsRender+V.zx>i.props.playlistsChannel.length?i.props.playlistsChannel.length:i.state.nbPlaylistsRender+V.zx);i.setState({nbPlaylistsRender:i.state.nbPlaylistsRender+V.zx>i.props.playlistsChannel.length?i.props.playlistsChannel.length:i.state.nbPlaylistsRender+V.zx,playlistsRender:[].concat((0,n.Z)(i.state.playlistsRender),(0,n.Z)(t))})}},i.handleOnClickLink=function(){i.setState((function(e){return{rendering:"videos"===e.rendering?"playlists":"videos"}}))},i.handleDropdownChange=function(e){if(i.props.statusVideo===k.zv&&i.props.statusPlaylistItems===k.zv&&i.props.statusVideos===k.zv&&"videos"===i.state.rendering){var t=("OrdreAlphabetique"===e?i.props.playlistItems.slice().sort((0,P.IQ)("title")):i.props.playlistItems.slice()).slice(0,V.fj>i.props.playlistItems.length?i.props.playlistItems.length:+V.fj);i.props.fetchMoreYoutubeVideosChannel(t,!0),i.setState({sort:e,nbVideosRender:V.fj})}if(i.props.statusPlaylist===k.zv&&"playlists"===i.state.rendering){var s=("OrdreAlphabetique"===e?i.props.playlistsChannel.slice().sort((0,P.IQ)("title")):i.props.playlistsChannel.slice()).slice(0,V.zx>i.props.playlistsChannel.length?i.props.playlistsChannel.length:+V.zx);i.setState({sort:e,nbPlaylistsRender:V.zx,playlistsRender:s})}},i.renderChannelVideo=function(){return"videos"===i.state.rendering?i.props.statusPlaylistItems===k.wl?(0,c.jsx)(j.Z,{isDarkBlue:!0}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(f.Z,{videos:i.props.videos}),i.props.playlistItems.length!==i.state.nbVideosRender?(0,c.jsx)(g.Z,{handleOnClickLink:i.handleOnClickLinkMoreVideos,children:"Afficher plus de videos"}):null]}):"playlists"===i.state.rendering?i.props.statusPlaylist!==k.zv?(0,c.jsx)(j.Z,{isDarkBlue:!0}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(v,{playlists:i.state.playlistsRender}),i.props.playlistsChannel.length!==i.state.nbPlaylistsRender?(0,c.jsx)(g.Z,{handleOnClickLink:i.handleOnClickLinkMoreVideos,children:"Afficher plus de playlists"}):null]}):void 0},i.state={rendering:"videos",nbVideosRender:0,nbPlaylistsRender:0,sort:"DateDeSortie",playlistsRender:[]},i}return(0,i.Z)(s,[{key:"componentDidMount",value:function(){this.props.fetchYoutubePlaylistsChannel(V.Mr),this.props.fetchVideoChannel(V.Mr),this.props.fetchChannelData(V.Mr)}},{key:"componentDidUpdate",value:function(e,t){if(this.props.statusVideo===k.zv&&this.props.statusPlaylistItems===k.af&&"videos"===this.state.rendering&&this.props.fetchVideosChannel(this.props.idChannelUploads,this.props.firstVideo.id),this.props.statusVideo===k.zv&&this.props.statusPlaylistItems===k.zv&&this.props.statusVideos===k.af&&"videos"===this.state.rendering){var s=this.props.playlistItems.slice(this.state.nbVideosRender,this.state.nbVideosRender+V.fj>this.props.playlistItems.length?this.props.playlistItems.length:this.state.nbVideosRender+V.fj);
3this.props.fetchMoreYoutubeVideosChannel(s,!1),this.setState({nbVideosRender:this.state.nbVideosRender+V.fj})}if(this.props.statusPlaylist===k.zv&&"playlists"===this.state.rendering&&(e.statusPlaylist!==k.zv||"playlists"!==t.rendering)){var n=this.props.playlistsChannel.slice(0,V.zx>this.props.playlistsChannel.length?this.props.playlistsChannel.length:+V.zx);this.setState({nbPlaylistsRender:V.zx,playlistsRender:n})}}},{key:"render",value:function(){var e=this.props,t=e.background_image,s=e.firstVideo,n=e.channel;return e.statusChannel!==k.zv?(0,c.jsx)(j.Z,{isDarkBlue:!0}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)("section",{className:"banner",children:[(0,c.jsx)("div",{className:"banner__thumbnail img-blue-dark",style:{backgroundImage:"url(".concat(t,")")}}),(0,c.jsx)("div",{className:"container",children:(0,c.jsx)(C.Z,{className:"breadcrumb is-dark ft-h6 ft-up",elements:[{name:"Accueil",to:"/"},{name:"FFR TV",to:"/ffr-tv"},n.title],isDark:!0})})]}),(0,c.jsx)("section",{className:"section section-blueAlt",children:(0,c.jsxs)("div",{className:"container",children:[(0,c.jsx)(p,{id:s.id,title:s.title,url:s.id,url_image:s.img,duration:s.duration,channelName:n.title,channelDescription:n.description,tags:s.tags}),(0,c.jsx)(b,{handleDropdownChange:this.handleDropdownChange,handleOnClickLink:this.handleOnClickLink,rendering:this.state.rendering}),this.renderChannelVideo(),(0,c.jsx)("div",{className:"mt-3",children:(0,c.jsx)("a",{href:"https://www.youtube.com/channel/UCnH0bSmQqDBfNj9kZzCaINw",target:"_blank",rel:"noreferrer noopener",children:(0,c.jsx)("img",{src:(0,x.it)("/img/youtube/developed-with-youtube-small.png"),height:"50",width:"auto"})})})]})})]})}}]),s}(o.PureComponent);N.defaultProps={background_image:(0,x.it)("/img/banner/xv.jpg")};var R=(0,I.S)(N)((function(e){var t="Vid\xe9os exclusives des Equipes de France - FFR",s="Page officielle de la F\xe9d\xe9ration Fran\xe7aise de Rugby. Retrouvez toutes les vid\xe9os exclusives des Equipes de France.";return(0,c.jsxs)(e,{children:[(0,c.jsx)("title",{children:t}),(0,c.jsx)("meta",{name:"description",content:s}),(0,c.jsx)("meta",{property:"og:title",content:t}),(0,c.jsx)("meta",{property:"og:description",content:s})]})})),S=s(34012),z=s(51689),Z=s(15613),_=s(10974),D=s(93568),w=(0,S.$j)((function(e){return{playlists:e.youtubePlaylistsChannelState.playlists,playlistsChannel:e.youtubePlaylistsChannelState.playlists,videos:e.youtubeVideosChannelState.videos,firstVideo:e.youtubeVideosChannelState.video,statusVideo:e.youtubeVideosChannelState.statusVideo,statusVideos:e.youtubeVideosChannelState.statusVideos,nextPageTokenVideos:e.youtubeVideosChannelState.nextPageToken,idChannelUploads:e.youtubeVideosChannelState.idChannelUploads,statusPlaylist:e.youtubePlaylistsChannelState.statusPlaylist,channel:e.youtubeChannelState.channel,statusChannel:e.youtubeChannelState.statusChannel,playlistItems:e.youtubeVideosChannelState.playlistItems,statusPlaylistItems:e.youtubeVideosChannelState.statusPlaylistItems}}),(function(e){return{fetchVideosChannel:function(t,s){return e((0,z.jU)(t,s))},fetchVideoChannel:function(t){return e((0,z.G0)(t))},fetchMoreYoutubeVideosChannel:function(t,s){return e((0,Z.uw)(t,s))},fetchYoutubePlaylistsChannel:function(t){return e((0,_.fW)(t))},fetchChannelData:function(t){return e((0,D._e)(t))}}}))(R)}}]);
4//# sourceMappingURL=2479.1c269542.chunk.js.map
5//# debugId=f850edf4-a51d-5acb-992f-99b6d8509616

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.