PageSourceSearch

https://www.rivestream.app/_next/static/chunks/pages/detail-d0fb533801fd67eb.js

js rivestream.app collected 2026-09-28 06:51:20 UTC 8,254 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4702],{12656:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/detail",function(){return l(41616)}])},86803:function(e,t,l){"use strict";var i=l(85893),a=l(67294),s=l(34221),o=l(23578),n=l.n(o);t.Z=e=>{var t,l;let{trailer:o}=e,[d,r]=(0,a.useState)(),c=(0,a.useRef)({});(0,a.useEffect)(()=>{let e=null==o?void 0:o.find(e=>(null==e?void 0:e.type)==="Trailer"&&(null==e?void 0:e.official)===!0);(null==e?void 0:e.key)?r(e):r(null==o?void 0:o[0])},[o]),(0,a.useEffect)(()=>{if((null==d?void 0:d.id)&&c.current[d.id]){var e;null===(e=c.current[d.id])||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"})}},[d]);let u=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];return(0,i.jsx)(s.E.div,{initial:{scale:0},animate:{scale:1},exit:{scale:0},className:n().settingsPopoverCard,onClick:e=>{e.preventDefault(),e.stopPropagation()},children:(null==o?void 0:o.length)===0?(0,i.jsx)("p",{children:"No Official Trailers, Teasers or Clips found"}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:n().trailerIframe,children:(0,i.jsx)("iframe",{width:"560",height:"315",src:"https://www.youtube.com/embed/".concat(null!==(l=null==d?void 0:d.key)&&void 0!==l?l:null===(t=o[0])||void 0===t?void 0:t.key,"?autoplay=1&suggestion=0&showinfo=0&loop=1&rel=0"),allow:"autoplay; clipboard-write; encrypted-media; gyroscope;",allowFullScreen:!0})}),(0,i.jsxs)("div",{className:n().trailerListWrapper,children:[(0,i.jsx)("p",{children:"select a trailer:"}),(0,i.jsx)("div",{className:n().trailerList,children:null==o?void 0:o.map(e=>(0,i.jsxs)("div",{ref:t=>c.current[e.id]=t,className:"".concat(n().listItem," ").concat((null==d?void 0:d.id)===(null==e?void 0:e.id)&&n().listItemActive),onClick:()=>r(e),"data-tooltip-id":"tooltip","data-tooltip-html":(null==e?void 0:e.name)||"Trailer","aria-label":(null==e?void 0:e.name)||"Trailer",role:"button",tabIndex:0,onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&r(e)},children:[(0,i.jsx)("h2",{children:null==e?void 0:e.name}),(0,i.jsxs)("div",{children:[(null==e?void 0:e.published_at)&&(0,i.jsxs)("p",{children:["• ",new Date(e.published_at).getDate()," ",u[new Date(e.published_at).getMonth()]," ",new Date(e.published_at).getFullYear()]}),(null==e?void 0:e.official)&&(0,i.jsx)("p",{children:"• Official"}),(null==e?void 0:e.type)&&(0,i.jsxs)("p",{children:["• ",e.type]})]})]},e.id))})]})]})})}},41616:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return D}});var i=l(85893),a=l(67294),s=l(39332),o=l(34792),n=l.n(o),d=l(64348),r=l(95850),c=l(2873),u=l(27694),p=l.n(u),v=l(41664),m=l.n(v),h=l(72679);l(88922);var g=e=>{let{data:t,media_type:l}=e,[s,o]=(0,a.useState)(!0),[n,d]=(0,a.useState)(!1);return(0,i.jsx)(m(),{href:"/detail?type=".concat(l,"&id=").concat(null==t?void 0:t.id),className:p().MovieCardSmall,"aria-label":(null==t?void 0:t.name)||"poster",children:(0,i.jsx)("div",{className:"".concat(p().img," ").concat((null==t?void 0:t.poster_path)!==null&&(null==t?void 0:t.poster_path)!==void 0?"skeleton":null),children:(0,i.jsx)(h.LazyLoadImage,{alt:(null==t?void 0:t.id)||"sm",src:"".concat(n?
1"/images/fallback_person.jpg":(null==t?void 0:t.poster_path)
1!==null&&(null==t?void 0:t.poster_path)!==void 0?"https://image.tmdb.org/t/p/original".replace("/original","/w185")+(null==t?void 0:t.poster_path):s?"/images/logo.svg":"/images/fallback_person.jpg"),height:"100%",width:"100%",useIntersectionObserver:!0,effect:"opacity",onLoad:()=>{setTimeout(()=>{o(!1)},700)},loading:"lazy",onError:e=>{console.log(e),d(!0),o(!1)}},null==t?void 0:t.id)})})},x=l(50549),j=l(20473),f=l(53870),_=l(55346),y=l(85528),N=l(12796),w=l(82283),b=l(44599),I=l(9008),k=l.n(I),S=l(86803),D=()=>{var e;let t=(0,s.useSearchParams)(),[l,o]=(0,a.useState)(""),[u,p]=(0,a.useState)(""),[v,h]=(0,a.useState)(),[I,D]=(0,a.useState)(),[C,E]=(0,a.useState)(0),[M,H]=(0,a.useState)([]),[L,O]=(0,a.useState)({}),[P,T]=(0,a.useState)(!1),[Z,A]=(0,a.useState)(""),[W,F]=(0,a.useState)(!0),[R,V]=(0,a.useState)(),[J,q]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{F(!0),o(t.get("type")),p(t.get("id")),h(t.get("season")),D(t.get("episode")),(async()=>{try{let e=await (0,c.Z)({requestID:"".concat(l,"Data"),id:u});O(e);let t=await (0,c.Z)({requestID:"".concat(l,"Videos"),id:u});A(null==t?void 0:t.results);let i=await (0,c.Z)({requestID:"".concat(l,"Images"),id:u}),a=[];i.backdrops.map((e,t)=>{t<20&&a.push("https://image.tmdb.org/t/p/original"+e.file_path)}),0===a.length&&a.push("/images/logo.svg"),H(a),F(!1)}catch(e){}})()},[t,u]),(0,a.useEffect)(()=>{(0,w.Aj)(b.I8,async e=>{e?(V(e.uid),F(!1)):F(!0)})},[]),(0,a.useEffect)(()=>{(async()=>{null!=L&&(null!=R?T(await (0,y.b)({userId:R,type:l,id:L.id})):T(await (0,y.b)({userId:null,type:l,id:L.id})))})()},[C,L,R]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(k(),{children:(0,i.jsxs)("title",{children:["Rive | Detail"," ",null!=u?"| ".concat((null==L?void 0:L.name)||(null==L?void 0:L.title)||u):null]})}),(0,i.jsxs)("div",{className:"".concat(n().DetailPage," ").concat(J?n().trailerPopoverActive:null),children:[J&&(0,i.jsx)("div",{className:n().settingsPopover,onClick:()=>q(!1),children:(0,i.jsx)(S.Z,{trailer:Z})}),(0,i.jsxs)("div",{className:n().biggerPic,children:[(null==M?void 0:M.length)>0?(0,i.jsx)(r.Z,{imageArr:M,setIndex:E,mobileHeight:"60dvh",desktopHeight:"95dvh",objectFit:"cover"}):(0,i.jsx)(x.Z,{className:n().CarouselLoading}),(0,i.jsx)("div",{className:n().curvy}),(0,i.jsx)("div",{className:n().curvy2}),(0,i.jsxs)("div",{className:n().DetailBanner,children:[(0,i.jsxs)("div",{className:n().poster,children:[(0,i.jsx)("div",{className:n().curvy3}),(0,i.jsx)("div",{className:n().curvy4}),(0,i.jsx)("div",{className:n().rating,"data-tooltip-id":"tooltip","data-tooltip-html":(null==L?void 0:L.vote_average)>0?"Rating":"Not Rated",children:(null==L?void 0:L.vote_average)>0?null==L?void 0:null===(e=L.vote_average)||void 0===e?void 0:e.toFixed(1):(0,i.jsx)(_.QJe,{})}),(0,i.jsx)(g,{data:L,media_type:l})]}),(0,i.jsxs)("div",{className:n().HomeHeroMeta,children:[(0,i.jsx)("h1",{"data-tooltip-id":"tooltip","data-tooltip-content":(null==L?void 0:L.title)||(null==L?void 0:L.name)||"name",children:(null==L?void 0:L.title)||(null==L?void 0:L.name)||(0,i.jsx)(x.Z,{})}),(0,i.jsxs)("div",{className:n().HomeHeroMetaRow2,children:[(0,i.jsx)("p",{className:n().type,children:L?"movie"==l?"MOVIE":"SHOW":null}),L?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(m(),{className:n().links,"data-tooltip-id":"tooltip","data-tooltip-content":"Watch Online",href:"".concat("movie"===l?"/watch?type=".concat(l,"&id=").concat(null==L?void 0:L.id):"/watch?type=".concat(l,"&id=").concat(null==L?void 0:L.id,"&season=1&episode=1")),children:[(0,i.jsx)(_.gmG,{className:n().IconsMobileNone})," Watch"]}),(null==Z?void 0:Z.length)!==0&&(0,i.jsxs)("p",{className:n().links,"data-tooltip-id":"tooltip","data-tooltip-content":"Watch Trailer",onClick:()=>q(!J),children:[(0,i.jsx)(_.V2E,{className:n().IconsMobileNone})," ","Trailers"]}),P?(0,i.jsx)(j.$sK,{className:n().HomeHeroIcons,onClick:()=>{(0,y.NX)({userId:R,type:l,id:L.id}),T(!P)},"data-tooltip-id":"tooltip","data-tooltip-content":"Remove from Watchlist"}):(0,i.jsx)(j.DrN,{className:n().HomeHeroIcons,onClick:()=>{(0,y.Nk)({userId:R,type:l,id:L.id}),T(!P)},"data-tooltip-id":"tooltip","data-tooltip-content":"Add to Watchlist"}),(0,i.jsx)(f.Taf,{className:n().HomeHeroIcons,onClick:()=>{let e="/detail?type=".concat(l,"&id=").concat(u);(0,N.w)({text:L.title,url:e})},"data-tooltip-id":"tooltip","data-tooltip-content":"Share"})]}):(0,i.jsx)("div",{children:(0,i.jsx)(x.Z,{width:200,count:1})})]})]})]})]}),(0,i.jsx)("div",{className:n().biggerDetail,children:(0,i.jsx)(d.Z,{id:u,type:l,data:L})})]})]})}},27694:function(e){e.exports={MovieCardSmall:"style_MovieCardSmall__QnVdI",img:"style_img__84O5J"}},23578:function(e){e.exports={settingsPopoverCard:"style_settingsPopoverCard__KDmMt",trailerListWrapper:"style_trailerListWrapper__L0OVZ",trailerList:"style_trailerList__jMAsW",listItem:"style_listItem__Y7fMl",listItemActive:"style_listItemActive__1pfGF",trailerIframe:"style_trailerIframe__nzDoQ"}}},function(e){e.O(0,[4738,594,2751,9850,2888,9774,179],function(){return e(e.s=12656)}),_N_E=e.O()}]);

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.