(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{62308:function(e,t,a){Promise.resolve().then(a.bind(a,66893))},66893:function(e,t,a){"use strict";a.d(t,{default:function(){return B}});var n=a(82184),i=a(65204),o=a(17675),d=a(68819),r=a(63686),l=a(85567),s=a(78472),c=a(90601);let m=i.zo.div.withConfig({displayName:"week__Content",componentId:"sc-7fb6fdaa-0"})(['[data-theme="light"] &{background-image:url(',');}[data-theme="dark"] &{background-image:url(',");}border-radius:20px;padding:45px "," 5px;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;.content-title{font-size:48px;font-style:normal;font-weight:600;line-height:54px;margin-bottom:6px;color:",";}.content-tips{color:",';font-size:20px;font-style:normal;font-weight:400;line-height:24px;}.role{[data-theme="light"] &{color:#505b71 !important;}}'],"/_next/static/media/bannerL.3b697d06.png","/_next/static/media/bannerN.9be711ca.png",e=>{let{responsive:t}=e;return"sm"===t?"35px":"90px"},e=>{let{theme:t}=e;return"dark"===t?"#fff":"#20242D"},e=>{let{theme:t}=e;return"dark"===t?"rgba(255, 255, 255, 0.6)":"#74829B"}),p=i.zo.div.withConfig({displayName:"week__CardBox",componentId:"sc-7fb6fdaa-1"})(["margin:0 -10px 0;display:flex;padding-top:30px;@media (max-width:1024px){overflow-x:auto;}&::-webkit-scrollbar{display:none;}"]);var h=(0,d.memo)(e=>{let{theme:t}=(0,o.useTheme)(),{responsive:a}=(0,o.useResponsive)(),i=e.data;return(0,n.jsx)(m,{responsive:a,theme:t||e.theme,children:(0,n.jsxs)("div",{className:"content-body",children:[(0,n.jsx)("div",{className:"content-title",children:e.title}),(0,n.jsx)("div",{className:"content-tips",children:e.subheading}),(0,n.jsx)(p,{children:null==i?void 0:i.map(i=>(0,n.jsx)(c.Z,{col:a,data:i,sm:5,theme:t||e.theme},i.vodId))})]})})}),x=a(7e4),f=a(69700),g=a(73142);let u=i.zo.div.withConfig({displayName:"nav__Layout",componentId:"sc-3b0bb5e7-0"})(['margin:0 auto;padding-bottom:55px;position:relative;z-index:2;.item{display:flex;align-items:center;.content{flex:1;display:flex;}}.iconfont{font-size:20px;margin-right:4px;[data-theme="light"] &{color:#74829b;}[data-theme="dark"] &{color:#ffffff99;}}']),v=i.zo.div.withConfig({displayName:"nav__MDElement",componentId:"sc-3b0bb5e7-1"})(["@media screen and (min-width:1280px){display:none;}@media screen and (max-width:1279px){display:block;}"]),y=i.zo.div.withConfig({displayName:"nav__MDItem",componentId:"sc-3b0bb5e7-2"})(["display:flex;align-items:center;margin-bottom:8px;&:last-child{margin-bottom:0;}"]),b=i.zo.div.withConfig({displayName:"nav__MDContent",componentId:"sc-3b0bb5e7-3"})(["display:flex;a{flex:",";padding:6px ",";margin-right:8px;background:",";border-radius:60px;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:normal;cursor:pointer;&:last-child{margin-right:0;}&:active{color:#fff;background-color:#d92828;}@media (any-hover:hover){&:hover{color:#fff;background-color:#d92828;}}@media screen and (min-width:1280px){}@media screen and (max-width:1279px){padding:6px 16.5px;flex:unset;}}"],e=>{let{pd:t}=e;return t?"unset":"1"},e=>{let{pd:t}=e;return t?"32px":"12px"},e=>{let{theme:t}=e;return"dark"===t?"rgba(255, 255, 255, 0.08)":"#E9EDF4"}),w=i.zo.div.withConfig({displayName:"nav__Announcement",componentId:"sc-3b0bb5e7-4"})(["@keyframes wordsLoop{0%{transform:translateX(200px);-webkit-transform:translateX(200px);}100%{transform:translateX(-100%);-webkit-transform:translateX(-100%);}}@-webkit-keyframes wordsLoop{0%{transform:translateX(200px);-webkit-transform:translateX(200px);}100%{transform:translateX(-100%);-webkit-transform:translateX(-100%);}}width:306px;height:100%;display:flex;align-items:center;justify-content:center;background:",";color:",';border-radius:36px;overflow:hidden;padding:0 18px;margin-right:20px;@media screen and (min-width:1440px){margin-right:40px;}.icon-notify{font-size:20px;margin-right:8px;[data-theme="light"] &{color:#74829b;}[data-theme="dark"] &{color:#ffffff99;}}.ann-text{flex:1;overflow:hidden;p{display:inline-block;white-space:nowrap;animation:',";}}"],e=>{let{theme:t}=e;return"dark"===t?"rgba(255, 255, 255, 0.08)":"#E0E5EE"},e=>{let{theme:t}=e;return"dark"===t?"#fff ":"#20242D"},e=>{let{contentlength:t}=e;return"".concat(t/10<1?10:t/10*6,"s  wordsLoop linear infinite normal")}),j=i.zo.div.withConfig({displayName:"nav__LGElement",componentId:"sc-3b0bb5e7-5"})(["width:100%;display:flex;justify-content:space-between;height:72px;z-index:1;@media screen and (min-width:1280px){display:flex;}@media screen and (max-width:1279px){display:none;}"]),k=i.zo.div.withConfig({displayName:"nav__Right",componentId:"sc-3b0bb5e7-6"})(["min-width:424px;height:100%;flex:1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:8px 20px;@media screen and (min-width:1440px){gap:8px 40px;}grid-auto-flow:column;.item{display:flex;align-items:center;.content{flex:1;display:flex;justify-content:space-between;a{flex:",";padding:6px ",";margin-right:8px;background:",";border-radius:60px;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:normal;cursor:pointer;&:last-child{margin-right:0;}&:active{color:#fff;background-color:#d92828;}@media (any-hover:hover){&:hover{color:#fff;background-color:#d92828;}}@media screen and (min-width:1280px){}@media screen and (max-width:1279px){padding:6px 16.5px;flex:unset;}}}}"],e=>{let{pd:t}=e;return t?"unset":"1"},e=>{let{pd:t}=e;return t?"32px":"12px"},e=>{let{theme:t}=e;return"dark"===t?"rgba(255, 255, 255, 0.08)":"#E9EDF4"}),N=i.zo.div.withConfig({displayName:"nav__MovieIcon",componentId:"sc-3b0bb5e7-7"})(["display:flex;align-items:center;font-size:14px;min-width:68px;margin-right:12px;cursor:pointer;.name{color:",";font-weight:600;}&:hover{.name,.iconfont{color:#d92828;}}&:active{color:#d92828;.iconfont{color:#ae2020;}}"],e=>{let{theme:t}=e;return"dark"===t?"rgba(255, 255, 255, 0.60) ":"#74829B"}),I={1:["喜剧","动作","战争","爱情","悬疑","科幻","冒险","动画"],2:["国产剧","欧美剧","港台剧","日韩剧","其他剧"],3:["国产综艺","港台综艺","日韩综艺","欧美综艺"],4:["国产动漫","日韩动漫","欧美动漫"]},_=(0,d.memo)(function(e){var t,a,i,r;let[s,c]=(0,d.useState)([]),[m,p]=(0,d.useState)(!1),{typeData:{data:h}={}}=e;(0,d.useEffect)(()=>{l.h.RN.listUsingGet().then(e=>{200===e.code&&c(e.data||[])}).catch(()=>{c([])})},[]);let x=(0,d.useCallback)(()=>{p(!0)},[]),f=(0,d.useCallback)(()=>{p(!1)},[]),_=[{typeId:1,typeName:"电影",iconName:"icon-dy"},{typeId:2,typeName:"电视剧",iconName:"icon-dsj"},{typeId:3,typeName:"综艺",iconName:"icon-zy"},{typeId:4,typeName:"动漫",iconName:"icon-dm"}].filter(e=>null==h?void 0:h.some(t=>t.typeId===e.typeId));return(0,n.jsxs)(u,{theme:e.theme,children:[(0,n.jsxs)(j,{children:[(0,n.jsxs)(w,{contentlength:(null===(a=s[0])||void 0===a?void 0:null===(t=a.content)||void 0===t?void 0:t.length)||0,onBlur:f,onFocus:x,onMouseOut:f,onMouseOver:x,theme:e.theme,children:[(0,n.jsx)(o.Icon,{iconName:"icon-notify"}),(0,n.jsx)("div",{className:"ann-text",children:(0,n.jsx)("p",{style:{animationPlayState:m?"paused":"running"},children:(0,n.jsx)("span",{children:null===(i=s[0])||void 0===i?void 0:i.content},null===(r=s[0])||void 0===r?void 0:r.id)})})]}),(0,n.jsx)(k,{theme:e.theme,children:_.map(t=>(0,n.jsxs)("div",{className:"item",children:[(0,n.jsx)(g.default,{href:"/vod/show/id/".concat(t.typeId),children:(0,n.jsxs)(N,{theme:e.theme,children:[(0,n.jsx)(o.Icon,{iconName:t.iconName}),(0,n.jsx)("div",{className:"name",children:t.typeName})]})}),(0,n.jsx)("div",{className:"content",children:I["".concat(t.typeId)].map(e=>{let a=14*e.length+24;return(0,n.jsx)(g.default,{href:"/vod/show/id/".concat(t.typeId,"/dictName/").concat(e),style:{minWidth:"".concat(a,"px")},children:e},e)})})]},t.typeId))})]}),(0,n.jsx)(v,{children:_.map(t=>(0,n.jsxs)(y,{children:[(0,n.jsx)(g.default,{href:"/vod/show/id/".concat(t.typeId),children:(0,n.jsxs)(N,{theme:e.theme,children:[(0,n.jsx)(o.Icon,{iconName:t.iconName}),(0,n.jsx)("div",{className:"name",children:t.typeName})]})}),(0,n.jsx)(b,{theme:e.theme,children:I["".concat(t.typeId)].map(e=>(0,n.jsx)(g.default,{href:"/vod/show/id/".concat(t.typeId,"/dictName/").concat(e),children:e},e))})]},t.typeId))})]})});var C=a(97305),z=a(67791);let D=i.zo.div.withConfig({displayName:"home__Layout",componentId:"sc-6d0ef434-0"})([".item{position:relative;margin-bottom:20px;}.week{margin-bottom:60px;}"]),M=i.zo.div.withConfig({displayName:"home__Bg",componentId:"sc-6d0ef434-1"})(['[data-theme="light"] &{background-color:#f1f5f8;position:relative;z-index:1;}']),P=i.zo.div.withConfig({displayName:"home__HeroContainer",componentId:"sc-6d0ef434-2"})(["margin:0 auto;width:100%;min-width:768px;position:relative;"]),E=i.zo.div.withConfig({displayName:"home__HeroNavigation",componentId:"sc-6d0ef434-3"})(["width:100%;margin-top:-230px;@media (max-width:1599px) and (min-width:1024px){margin-top:-200px;}padding-top:30px;z-index:1;background:",";position:relative;"],e=>{let{theme:t}=e;return"dark"===t?"":"#f1f5f8"}),T=e=>l.h.p1.allListV1UsingGet(e),L={正在热播:"homeBroadcastPageData",站长推荐:"homeManagerPageData",最新电影:"homeNewMoviePageData",最新电视剧:"newestTvPageData",最新综艺:"newestVarietyPageData",最新动漫:"newestCartoonPageData",最新短剧:"newestShortTvPageData"};var B=e=>{var t,a,i,l,c,m,p,g,u;let{setRouteMeta:v}=(0,C.HP)(),y=(0,r.tv)(),{theme:b}=(0,o.useTheme)(),w=b||(null===(t=e.theme)||void 0===t?void 0:t.value)||"",j=e.data,k=(0,o.useTypeList)(),N=(0,d.useCallback)(()=>{y.push("/rank")},[y]),I=(0,d.useCallback)(e=>{y.push(e)},[y]),B=(0,d.useCallback)(async function(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n={};switch(n.pageNum=a,e){case"正在热播":n.modulesType=3;break;case"最新电影":n.modulesType=2;break;case"最新电视剧":n.modulesType=13;break;case"最新综艺":n.modulesType=14;break;case"最新动漫":n.modulesType=15;break;case"最新短剧":n.modulesType=16}let i=await T(n);if(i.data)return Object.keys(L).forEach(a=>{if(a===e){let e=L[a];t=i.data?i.data[e]:void 0}}),t},[]);return(0,d.useEffect)(()=>{v(0)},[v]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(P,{children:[(0,n.jsx)(f.B,{bannerData:e.bannerData}),(0,n.jsx)(E,{theme:w,children:(0,n.jsx)(x.Container,{children:(0,n.jsx)(_,{theme:w,typeData:e.typeData})})})]}),(0,n.jsx)(M,{children:(0,n.jsx)(x.Container,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(z.j,{mb:40,theme:w}),(0,n.jsx)("div",{className:"item",children:(0,n.jsx)(s.Z,{clickMore:N,data:null===(a=j.data)||void 0===a?void 0:a.homeBroadcastPageData,handleChange:B,showMore:!0,theme:w,title:"正在热播"})}),(0,n.jsx)("div",{className:"item week",children:(0,n.jsx)(h,{data:null===(l=j.data)||void 0===l?void 0:null===(i=l.homeManagerPageData)||void 0===i?void 0:i.list,subheading:"站长精心挑选热门推荐",theme:w,title:"站长推荐"})}),(null==k?void 0:k.find(e=>1===e.typeId))?(0,n.jsx)("div",{className:"item",children:(0,n.jsx)(s.Z,{clickMore:I,data:null===(c=j.data)||void 0===c?void 0:c.homeNewMoviePageData,handleChange:B,moreUrl:"/type/1",showMore:!0,theme:w,title:"最新电影"})}):null,(null==k?void 0:k.find(e=>2===e.typeId))?(0,n.jsx)("div",{className:"item",children:(0,n.jsx)(s.Z,{clickMore:I,data:null===(m=j.data)||void 0===m?void 0:m.newestTvPageData,handleChange:B,moreUrl:"/type/2",showMore:!0,theme:w,title:"最新电视剧"})}):null,(null==k?void 0:k.find(e=>3===e.typeId))?(0,n.jsx)("div",{className:"item",children:(0,n.jsx)(s.Z,{clickMore:I,data:null===(p=j.data)||void 0===p?void 0:p.newestVarietyPageData,handleChange:B,moreUrl:"/type/3",showMore:!0,theme:w,title:"最新综艺"})}):null,(null==k?void 0:k.find(e=>4===e.typeId))?(0,n.jsx)("div",{className:"item",children:(0,n.jsx)(s.Z,{clickMore:I,data:null===(g=j.data)||void 0===g?void 0:g.newestCartoonPageData,handleChange:B,moreUrl:"/type/4",showMore:!0,theme:w,title:"最新动漫"})}):null,(null==k?void 0:k.find(e=>88===e.typeId))?(0,n.jsx)("div",{className:"item",children:(0,n.jsx)(s.Z,{clickMore:I,data:null===(u=j.data)||void 0===u?void 0:u.newestShortTvPageData,handleChange:B,moreUrl:"/type/88",showMore:!0,theme:w,title:"最新短剧"})}):null]})})})]})}}},function(e){e.O(0,[867,3389,5204,2405,6621,3686,3142,653,6112,7675,5251,9473,8087,435,3027,6647,1744],function(){return e(e.s=62308)}),_N_E=e.O()}]);