PageSourceSearch

https://tvplus.by/_next/static/chunks/pages/channel/[id]-f8c33c9455b2e94a.js

js tvplus.by collected 2026-10-02 00:27:21 UTC 24,221 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[843],{23508:function(e,n,t){"use strict";var a=t(64836);n.Z=void 0;var r=a(t(64938)),o=t(85893);n.Z=(0,r.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},7124:function(e){e.exports=function(){"use strict";return function(e,n,t){n.prototype.isToday=function(){var e="YYYY-MM-DD",n=t();return this.format(e)===n.format(e)}}}()},82135:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/channel/[id]",function(){return t(71244)}])},57928:function(e,n,t){"use strict";t.d(n,{i:function(){return r}});var a=t(14924),r=(0,t(90948).ZP)("div")((function(e){var n,t=e.theme;return n={maxWidth:"1110px",margin:"0 auto",width:"100%"},(0,a.Z)(n,t.breakpoints.down("xl"),{maxWidth:"930px"}),(0,a.Z)(n,t.breakpoints.down("lg"),{maxWidth:"690px"}),(0,a.Z)(n,t.breakpoints.down("md"),{maxWidth:"510px"}),(0,a.Z)(n,t.breakpoints.down("sm"),{maxWidth:"330px"}),(0,a.Z)(n,t.breakpoints.down("xs"),{maxWidth:"290px"}),n}))},69613:function(e,n,t){"use strict";t.d(n,{T:function(){return p}});var a=t(85893),r=t(81458),o=t(90512),i=t(27484),c=t.n(i),s=t(70178),l=t.n(s),d=t(67294),u=t(72338),_=t.n(u);c().extend(l());var p=function(e){var n=e.className,t=e.program,i=e.onProgressEnd,s=(0,d.useState)(0),l=s[0],u=s[1];return(0,d.useEffect)((function(){if(t){var e=setInterval((function(){var n=100*(c().utc().unix()-t.start)/(t.end-t.start);u(Math.min(n,100)),n>=100&&(i(),clearInterval(e))}),1e3);return function(){return clearInterval(e)}}}),[t]),(0,a.jsx)(r.Z,{className:(0,o.W)(_().root,n),variant:"determinate",value:l})}},5299:function(e,n,t){"use strict";var a;t.d(n,{G:function(){return a}}),function(e){e.SERIAL="serial",e.FILM="film",e.TV="tv"}(a||(a={}))},87784:function(e,n,t){"use strict";t.d(n,{_:function(){return p}});var a=t(47568),r=t(97582),o=t(85893),i=t(36111),c=t(91811),s=t(93946),l=t(98456),d=t(67294),u=t(25617),_=t(34477),p=function(e){var n=e.isBookmarked,t=e.type,p=e.id,h=e.withLabel,m=void 0!==h&&h,f=(0,u.v9)((function(e){return e.auth.isLoggedIn})),x=(0,d.useState)(Boolean(n)),g=x[0],v=x[1],b=(0,d.useState)(!1),Z=b[0],y=b[1],w=function(){var e=(0,a.Z)((function(e){var n,a;return(0,r.__generator)(this,(function(r){switch(r.label){case 0:if(e.stopPropagation(),e.preventDefault(),Z)return[2];y(!0),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,(0,_.Jh)(t,p,!g)];case 2:return n=r.sent(),v(n),[3,5];case 3:return a=r.sent(),console.error(a),[3,5];case 4:return y(!1),[7];case 5:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}();return f?(0,o.jsxs)("div",{children:[(0,o.jsx)(s.Z,{onClick:w,children:Z?(0,o.jsx)(l.Z,{color:"primary",size:24}):g?(0,o.jsx)(i.Z,{style:{color:"#D03530"}}):(0,o.jsx)(c.Z,{style:{color:"#6D6E70"}})}),m&&(g?"\u0412 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u043c":"\u0412 \u0438\u0437\u0431\u0440\u0430\u043d\u043d\u043e\u0435")]}):null}},71244:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return xe},default:function(){return ge}});var a=t(26042),r=t(85893),o=t(23508),i=t(63366),c=t(87462),s=t(67294),l=(t(59864),t(93680)),d=t(94780),u=t(90948),_=t(71657),p=t(57922),h=t(90629);var m=s.createContext({}),f=t(49299),x=t(1588),g=t(34867);function v(e){return(0,g.ZP)("MuiAccordion",e)}var b=(0,x.Z)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]);const Z=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],y=(0,u.ZP)(h.Z,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,n)=>{const{ownerState:t}=e;return[{[`& .${b.region}`]:n.region},n.root,!t.square&&n.rounded,!t.disableGutters&&n.gutters]}})((({theme:e})=>{const n={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],n),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],n)},"&:first-of-type":{"&:before":{display:"none"}},[`&.${b.expanded}`]:{"&:before":{opacity:0}
1,"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}},[`&.${b.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e,ownerState:n})=>(0,c.Z)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&{[`&.${b.expanded}`]:{margin:"16px 0"}}))),w=s.forwardRef((function(e,n){const t=(0,_.Z)({props:e,name:"MuiAccordion"}),{children:a,className:o,defaultExpanded:u=!1,disabled:h=!1,disableGutters:x=!1,expanded:g,onChange:b,square:w=!1,TransitionComponent:k=p.Z,TransitionProps:j}=t,N=(0,i.Z)(t,Z),[S,R]=(0,f.Z)({controlled:g,default:u,name:"Accordion",state:"expanded"}),P=s.useCallback((e=>{R(!S),b&&b(e,!S)}),[S,b,R]),[C,...A]=s.Children.toArray(a),T=s.useMemo((()=>({expanded:S,disabled:h,disableGutters:x,toggle:P})),[S,h,x,P]),M=(0,c.Z)({},t,{square:w,disabled:h,disableGutters:x,expanded:S}),W=(e=>{const{classes:n,square:t,expanded:a,disabled:r,disableGutters:o}=e,i={root:["root",!t&&"rounded",a&&"expanded",r&&"disabled",!o&&"gutters"],region:["region"]};return(0,d.Z)(i,v,n)})(M);return(0,r.jsxs)(y,(0,c.Z)({className:(0,l.Z)(W.root,o),ref:n,ownerState:M,square:w},N,{children:[(0,r.jsx)(m.Provider,{value:T,children:C}),(0,r.jsx)(k,(0,c.Z)({in:S,timeout:"auto"},j,{children:(0,r.jsx)("div",{"aria-labelledby":C.props.id,id:C.props["aria-controls"],role:"region",className:W.region,children:A})}))]}))}));var k=w,j=t(82607);function N(e){return(0,g.ZP)("MuiAccordionSummary",e)}var S=(0,x.Z)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);const R=["children","className","expandIcon","focusVisibleClassName","onClick"],P=(0,u.ZP)(j.Z,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,n)=>n.root})((({theme:e,ownerState:n})=>{const t={duration:e.transitions.duration.shortest};return(0,c.Z)({display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${S.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${S.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${S.disabled})`]:{cursor:"pointer"}},!n.disableGutters&&{[`&.${S.expanded}`]:{minHeight:64}})})),C=(0,u.ZP)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,n)=>n.content})((({theme:e,ownerState:n})=>(0,c.Z)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${S.expanded}`]:{margin:"20px 0"}}))),A=(0,u.ZP)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,n)=>n.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${S.expanded}`]:{transform:"rotate(180deg)"}}))),T=s.forwardRef((function(e,n){const t=(0,_.Z)({props:e,name:"MuiAccordionSummary"}),{children:a,className:o,expandIcon:u,focusVisibleClassName:p,onClick:h}=t,f=(0,i.Z)(t,R),{disabled:x=!1,disableGutters:g,expanded:v,toggle:b}=s.useContext(m),Z=(0,c.Z)({},t,{expanded:v,disabled:x,disableGutters:g}),y=(e=>{const{classes:n,expanded:t,disabled:a,disableGutters:r}=e,o={root:["root",t&&"expanded",a&&"disabled",!r&&"gutters"],focusVisible:["focusVisible"],content:["content",t&&"expanded",!r&&"contentGutters"],expandIconWrapper:["expandIconWrapper",t&&"expanded"]};return(0,d.Z)(o,N,n)})(Z);return(0,r.jsxs)(P,(0,c.Z)({focusRipple:!1,disableRipple:!0,disabled:x,component:"div","aria-expanded":v,className:(0,l.Z)(y.root,o),focusVisibleClassName:(0,l.Z)(y.focusVisible,p),onClick:e=>{b&&b(e),h&&h(e)},ref:n,ownerState:Z},f,{children:[(0,r.jsx)(C,{className:y.content,ownerState:Z,children:a}),u&&(0,r.jsx)(A,{className:y.expandIconWrapper,ownerState:Z,children:u})]}))}));var M=T;
1function W(e){return(0,g.ZP)("MuiAccordionDetails",e)}(0,x.Z)("MuiAccordionDetails",["root"]);const E=["className"],I=(0,u.ZP)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,n)=>n.root})((({theme:e})=>({padding:e.spacing(1,2,2)}))),G=s.forwardRef((function(e,n){const t=(0,_.Z)({props:e,name:"MuiAccordionDetails"}),{className:a}=t,o=(0,i.Z)(t,E),s=t,u=(e=>{const{classes:n}=e;return(0,d.Z)({root:["root"]},W,n)})(s);return(0,r.jsx)(I,(0,c.Z)({className:(0,l.Z)(u.root,a),ref:n,ownerState:s},o))}));var L=G,B=t(78462),D=t(97212),V=t(27484),F=t.n(V),H=t(7124),z=t.n(H),$=t(5152),U=t.n($),q=t(41664),O=t.n(q),Y=t(2962),X=t(25617),J=t(70603),K=t(3018),Q=t(75438),ee=t(98619),ne=t(48885),te=t(14924),ae="channelProfile",re={player_container:"".concat(ae,"-player_container"),loader:"".concat(ae,"-loader"),channel_container:"".concat(ae,"-channel_container"),channels:"".concat(ae,"-channels"),channel_block:"".concat(ae,"-channel_block"),all_channels_block:"".concat(ae,"-all_channels_block"),all_channels_title:"".concat(ae,"-all_channels_title"),expansion_panel_panel:"".concat(ae,"-expansion_panel_panel"),channel_card__header:"".concat(ae,"-channel_card__header"),channel_card__title:"".concat(ae,"-channel_card__title"),channel_card__name:"".concat(ae,"-channel_card__name"),channel_card__logo:"".concat(ae,"-channel_card__logo"),channel_card__like:"".concat(ae,"-channel_card__like"),expansion_panel_summary:"".concat(ae,"-expansion_panel_summary"),expansion_panel_details:"".concat(ae,"-expansion_panel_details"),expansion_panel_category:"".concat(ae,"-expansion_panel_category"),channels_list_item:"".concat(ae,"-channels_list_item"),channels_list_item_logo:"".concat(ae,"-channels_list_item_logo"),channel_card__item:"".concat(ae,"-channel_card__item"),channel_card__item_title_block:"".concat(ae,"-channel_card__item_title_block"),channel_card__item_start:"".concat(ae,"-channel_card__item_start"),channel_card__item_title:"".concat(ae,"-channel_card__item_title"),channel_card__item_title_selected:"".concat(ae,"-channel_card__item_title_selected"),channel_card__item_data:"".concat(ae,"-channel_card__item_data"),channel_card__item_data_text:"".concat(ae,"-channel_card__item_data_text"),channel_list:"".concat(ae,"-channel_list"),wrapper:"".concat(ae,"-wrapper"),channel_card__item_line:"".concat(ae,"-channel_card__item_line"),channel_card__item_play_ico:"".concat(ae,"-channel_card__item_play_ico"),channel_card__item_play:"".concat(ae,"-channel_card__item_play"),channel_fav:"".concat(ae,"-channel_fav"),guest:"".concat(ae,"-guest"),guest_title:"".concat(ae,"-guest_title"),guest_text:"".concat(ae,"-guest_text"),guest_link:"".concat(ae,"-guest_link")},oe=(0,u.ZP)("div")((function(e){var n,t,a,r,o,i=e.theme;return o={},(0,te.Z)(o,"& .".concat(re.player_container),{backgroundColor:"#000000"}),(0,te.Z)(o,"& .".concat(re.loader),{margin:"0 auto"}),(0,te.Z)(o,"& .".concat(re.channel_container),(n={marginTop:35,width:"100%",backgroundColor:"#ffffff"},(0,te.Z)(n,i.breakpoints.down("md"),{marginTop:25}),(0,te.Z)(n,i.breakpoints.down("sm"),{marginTop:15}),n)),(0,te.Z)(o,"& .".concat(re.channels),{display:"flex",flexDirection:"row",width:"100%"}),(0,te.Z)(o,"& .".concat(re.channel_block),(0,te.Z)({width:"60%"},i.breakpoints.down("md"),{width:"100%"})),(0,te.Z)(o,"& .".concat(re.all_channels_block),(0,te.Z)({width:"30%",paddingLeft:"30px",borderLeft:"1px solid rgba(142, 144, 147, 0.2)"},i.breakpoints.down("md"),{display:"none"})),(0,te.Z)(o,"& .".concat(re.all_channels_title),{fontWeight:"500",fontSize:"16px",lineHeight:"28px",color:"#000000",marginTop:0}),(0,te.Z)(o,"& .".concat(re.expansion_panel_panel),{backgroundColor:"#ffffff"}),(0,te.Z)(o,"& .".concat(re.channel_card__header),{display:"flex",height:"64px",justifyContent:"space-between",borderBottom:"1px solid rgba(142, 144, 147, 0.2)"}),(0,te.Z)(o,"& .".concat(re.channel_card__title),{display:"flex",alignItems:"center",color:"#1F1F1F",fontSize:"20px",lineHeight:"28px",opacity:"0.96"}),(0,te.Z)(o,"& .".concat(re.channel_card__name),{fontFamily:"Roboto",fontStyle:"normal",fontWeight:"normal",fontSize:"20px",lineHeight:"28px",color:"#1F1F1F",mixBlendMode:"normal",opacity:"0.96"}),(0,te.Z)(o,"& .".concat(re.channel_card__logo),{margin:"0 20px",height:60,width:"auto"}),(0,te.Z)(o,"& .".concat(re.channel_card__like),{margin:"8px 5px"}),(0,te.Z)(o,"& .".concat(re.expansion_panel_summary),{"&.Mui-expanded":{minHeight:"48px"},"& .MuiAccordionSummary-content":{margin:0}}),(0,te.Z)(o,"& .".concat(re.expansion_panel_details),{padding:"0"}),(0,te.Z)(o,"& .".concat(re.expansion_panel_category),{margin:0,fontWeight:500,fontSize:"14px",lineHeight:"16px",color:"rgba(0, 0, 0, 0.38)",textTransform:"uppercase"}),(0,te.Z)(o,"& .".concat(re.channels_list_item),{display:"flex",width:"100%",paddingTop:"0",paddingBottom:"0",fontSize:"14px",lineHeight:"16px",color:"#1A1A1A",cursor:"pointer","&:hover":{backgroundColor:"#D8D8D8"}}),(0,te.Z)(o,"& .".concat(re.channels_list_item_logo),{marginRight:"10px",height:30}),(0,te.Z)(o,"& .".concat(re.channel_card__item),{fontSize:"14px","&.Mu
1i-selected":{color:"#CE524F",backgroundColor:"rgba(206, 82, 79, 0.04)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.04)"}}}),(0,te.Z)(o,"& .".concat(re.channel_card__item_title_block),{position:"relative",flexGrow:1,margin:"0 10px",'&[data-live="true"]':{paddingLeft:"16px","&:before":{content:'""',position:"absolute",top:"50%",left:"0",transform:"translateY(-50%)",width:8,height:8,borderRadius:"50%",backgroundColor:"#e01310"}}}),(0,te.Z)(o,"& .".concat(re.channel_card__item_title),{fontSize:"14px",lineHeight:"20px",letterSpacing:"0.25px",color:"#000000"}),(0,te.Z)(o,"& .".concat(re.channel_card__item_data),{padding:16,lineHeight:"100%",color:"#000",backgroundColor:"#F4F4F4"}),(0,te.Z)(o,"& .".concat(re.channel_list),(t={position:"relative",overflow:"auto",maxHeight:800,marginBottom:"70px"},(0,te.Z)(t,i.breakpoints.down("md"),{marginBottom:50}),(0,te.Z)(t,i.breakpoints.down("sm"),{marginBottom:30}),t)),(0,te.Z)(o,"& .".concat(re.wrapper),(a={maxWidth:"1110px",margin:"0 auto",width:"100%",display:"flex",justifyContent:"center"},(0,te.Z)(a,i.breakpoints.down("xl"),{maxWidth:"930px",margin:"0 auto",width:"100%"}),(0,te.Z)(a,i.breakpoints.down("lg"),{maxWidth:"690px",margin:"0 auto",width:"100%"}),(0,te.Z)(a,i.breakpoints.down("md"),{maxWidth:"510px",margin:"0 auto",width:"100%"}),(0,te.Z)(a,i.breakpoints.down("sm"),{maxWidth:"360px",margin:"0 auto",width:"100%"}),(0,te.Z)(a,i.breakpoints.down("xs"),{maxWidth:"290px",margin:"0 auto",width:"100%"}),a)),(0,te.Z)(o,"& .".concat(re.channel_card__item_line),{height:"1px"}),(0,te.Z)(o,"& .".concat(re.channel_card__item_play_ico),{minWidth:"auto",marginLeft:"auto"}),(0,te.Z)(o,"& .".concat(re.channel_card__item_play),{opacity:"0.3"}),(0,te.Z)(o,"& .".concat(re.channel_fav),{margin:"auto 0"}),(0,te.Z)(o,"& .".concat(re.guest),(r={height:550,display:"flex",flexDirection:"column",justifyContent:"center",color:"#fff",textAlign:"center"},(0,te.Z)(r,i.breakpoints.down("xl"),{height:485}),(0,te.Z)(r,i.breakpoints.down("lg"),{height:380}),(0,te.Z)(r,i.breakpoints.down("md"),{height:255}),(0,te.Z)(r,i.breakpoints.down("sm"),{height:240}),r)),(0,te.Z)(o,"& .".concat(re.guest_title),{fontSize:"20px"}),(0,te.Z)(o,"& .".concat(re.guest_text),{fontSize:"14px",lineHeight:"16px"}),(0,te.Z)(o,"& .".concat(re.guest_link),{color:"#fff",textTransform:"uppercase",opacity:"0.6","&:hover":{opacity:"1"}}),o})),ie=t(95328),ce=t(69613);F().extend(z());var se=function(e){var n,t=null;return[(null!==(n=e.programsSchedule)&&void 0!==n?n:[]).map((function(n){var a=n.date,r=n.programs,o=F()(a).isToday(),i=(0,ie.d)(r,e.dvr);return o&&(t=i.find((function(e){return e.live}))||null),{date:F()(a).format("DD MMMM, dddd"),programs:i}})),t]},le=(0,s.forwardRef)((function(e,n){var t=e.channel,a=e.selectedProgramStart,o=e._liveProgramElement,i=e.onGetTVProgram,c=e.onNewLiveProgram,l=e.isWatchingArchive,d=(0,s.useState)((function(){return se(t)[0]})),u=d[0],_=d[1],p=(0,s.useRef)(t),h=(0,s.useRef)(null);(0,s.useEffect)((function(){p.current=t,m(t)}),[t]);var m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p.current,n=(0,J.Z)(se(e),2),t=n[0],a=n[1];_(t),a&&(h.current=a),l||!a||h.current&&a.start===h.current.start||c(a)};return(0,s.useEffect)((function(){var e=setInterval((function(){m()}),6e4);return function(){return clearInterval(e)}}),[l]),(0,r.jsx)(B.Z,{ref:n,className:re.channel_list,children:u.map((function(e,n){return(0,r.jsxs)(s.Fragment,{children:[(0,r.jsx)(Q.Z,{className:re.channel_card__item_data,children:e.date}),e.programs.map((function(e,n){var c=a===e.start,s=c?o:null,l=!e.recorded&&!e.live||!t.available;return(0,r.jsx)(D.ZP,{ref:s,disablePadding:!0,children:(0,r.jsxs)(ee.Z,{className:re.channel_card__item,selected:c,disabled:l,onClick:i(e),children:[(0,r.jsx)("span",{children:F().unix(e.start).format("HH:mm")}),(0,r.jsxs)("div",{className:re.channel_card__item_title_block,"data-live":e.live,children:[e.title,e.live&&(0,r.jsx)(ce.T,{program:e,onProgressEnd:function(){return m()}})]}),(0,r.jsx)(ne.Z,{className:re.channel_card__item_play_ico,children:(e.recorded||e.live)&&(0,r.jsx)(K.Z,{className:re.channel_card__item_play})})]})},n)}))]},n)}))})})),de=t(36229),ue=t(5299),_e=t(87784),pe=t(57928);F().extend(z());var he=U()((function(){return Promise.all([t.e(379),t.e(299),t.e(44),t.e(212),t.e(417)]).then(t.bind(t,3212))}),{loadableGenerated:{webpack:function(){return[3212]}},ssr:!1}),me=(0,s.forwardRef)((function(e,n){return(0,r.jsx)(he,(0,a.Z)({componentRef:n},e))})),fe=function(e,n){return"".concat(e.title,": ").concat(null!==n&&void 0!==n?n:"\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442")},xe=!0,ge=function(e){var n,t=e.categories,a=e.channelsMap,i=e.channel,c=e.liveProgram,l=e.streamURL,d=e.isIOS,u=(0,X.v9)((function(e){return e.auth.isLoggedIn})),_=(0,s.useRef)(null),p=(0,s.useRef)(null),h=(0,s.useRef)(null),m=(0,s.use
1State)(l),f=m[0],x=m[1],g=(0,s.useState)(null!==(n=null===c||void 0===c?void 0:c.start)&&void 0!==n?n:null),v=g[0],b=g[1],Z=(0,s.useState)(!1),y=Z[0],w=Z[1],j=(0,s.useState)(fe(i,null===c||void 0===c?void 0:c.title)),N=j[0],S=j[1],R=function(e,n){w(n),b(e.start);var t=fe(i,e.title);S(t);var a=n?d?e.hlsUrl:e.dashUrl:d?i.hlsUrl:i.dashUrl;x(null!==a&&void 0!==a?a:null)};return(0,s.useEffect)((function(){var e;w(!1),b(null!==(e=null===c||void 0===c?void 0:c.start)&&void 0!==e?e:null),S(fe(i,null===c||void 0===c?void 0:c.title)),x(l)}),[i.id,l]),(0,s.useEffect)((function(){var e;(null===(e=h.current)||void 0===e?void 0:e.setTitle)&&N&&h.current.setTitle(N)}),[N]),(0,s.useLayoutEffect)((function(){if(c){var e=_.current,n=p.current;if(e&&n){var t=n.getBoundingClientRect().height;n.scrollTop=e.offsetTop-t/2}}}),[i.id,v]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Y.PB,{title:"".concat(i.title," \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043e\u043d\u043b\u0430\u0439\u043d \u0438 \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430 TV+ \xbb Life"),description:"".concat(i.title," \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0442\u0435\u043b\u0435\u043a\u0430\u043d\u0430\u043b\u044b \u043e\u043d\u043b\u0430\u0439\u043d \u0438 \u0432 \u0437\u0430\u043f\u0438\u0441\u0438 72 \u0447\u0430\u0441\u0430 \u043d\u0430 TV+ \u0434\u043b\u044f \u0430\u0431\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0441\u0435\u0442\u0438 Life \u2705 \u041f\u0435\u0440\u0432\u044b\u0435 7 \u0434\u043d\u0435\u0439 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u2705 \u0412\u0441\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443 \u260e 909.")}),(0,r.jsx)(de.A,{children:(0,r.jsxs)(oe,{children:[(0,r.jsx)("div",{className:re.player_container,children:(0,r.jsx)(pe.i,{children:u&&i.available?(0,r.jsx)(me,{ref:h,playerType:ue.G.TV,manifestUrl:f,title:N,startTimePoint:y?0:void 0}):(0,r.jsxs)("div",{className:re.guest,children:[(0,r.jsx)("p",{className:re.guest_title,children:"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d"}),(0,r.jsx)("p",{className:re.guest_text,children:"\u0414\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u043e\u0434\u0438\u043d \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u043e\u0432"}),(0,r.jsx)(O(),{href:"/profile/subscriptions",children:(0,r.jsx)("a",{className:"".concat(re.guest_text," ").concat(re.guest_link),children:"\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u043f\u0430\u043a\u0435\u0442"})})]})})}),(0,r.jsx)("div",{className:re.channel_container,children:(0,r.jsx)(pe.i,{children:(0,r.jsxs)("div",{className:re.channels,children:[(0,r.jsxs)("div",{className:re.channel_block,children:[(0,r.jsxs)("div",{className:re.channel_card__header,children:[(0,r.jsxs)("div",{className:re.channel_card__title,children:[(0,r.jsx)("img",{className:re.channel_card__logo,src:i.icon,alt:i.title}),(0,r.jsx)("h1",{className:re.channel_card__name,children:i.title})]}),(0,r.jsx)("div",{className:re.channel_fav,children:(0,r.jsx)(_e._,{type:"tv-channel",isBookmarked:i.favorite,id:i.id})})]}),(0,r.jsx)(le,{ref:p,channel:i,_liveProgramElement:_,selectedProgramStart:v,isWatchingArchive:y,onGetTVProgram:function(e){return function(){i.available&&(e.live||e.recorded)&&R(e,!e.live)}},onNewLiveProgram:function(e){y||R(e,!1)}})]}),(0,r.jsxs)("div",{className:re.all_channels_block,children:[(0,r.jsx)("p",{className:re.all_channels_title,children:"\u0412\u0441\u0435 \u0442\u0435\u043b\u0435\u043a\u0430\u043d\u0430\u043b\u044b"}),t.map((function(e){return(0,r.jsxs)(k,{className:re.expansion_panel_panel,children:[(0,r.jsx)(M,{className:re.expansion_panel_summary,expandIcon:(0,r.jsx)(o.Z,{}),children:(0,r.jsx)("p",{className:re.expansion_panel_category,children:e.title})}),(0,r.jsx)(L,{className:re.expansion_panel_details,children:(0,r.jsx)(B.Z,{children:a[e.id].map((function(e){return(0,r.jsx)(O(),{href:"/channel/".concat(e.id),children:(0,r.jsxs)(D.ZP,{className:re.channels_list_item,children:[(0,r.jsx)("img",{className:re.channels_list_item_logo,src:e.icon,alt:e.title}),(0,r.jsx)("p",{children:e.title})]})},e.id)}))})})]},e.id)}))]})]})})})]})})]})}},95328:function(e,n,t){"use strict";t.d(n,{d:function(){return l}});var a=t(26042),r=t(69396),o=t(27484),i=t.n(o),c=t(70178),s=t.n(c);i().extend(s());var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=24*n*3600,o=i().utc().unix();return e.map((function(e){var i=o>=e.start&&o<e.end,c=!!(n&&e.start>=o-t&&e.end<=o);return(0,r.Z)((0,a.Z)({},e),{live:i,recorded:c})}))}},72338:function(e){e.exports={root:"LiveProgramProgress_root__BUVl4"}},70603:function(e,n,t){"use strict";function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function r(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"===typeof e)return a(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,n):void 0}}
1(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.d(n,{Z:function(){return r}})}},function(e){e.O(0,[360,962,862,433,765,229,774,888,179],(function(){return n=82135,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.