1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9007],{99009:(e,t,i)=>{"use strict";i.d(t,{A:()=>g});var s=i(74848),r=i(96540),o=i(74368),a=i(12133),n=i.n(a),l=i(27116),d=i(98126),_=i(46942),c=i.n(_),p=i(91106),u=i.n(p);let m={clickHouseShoot:d.Y3};class h extends r.Component{componentDidMount(){var e,t;this.getVisibleElements(),this.setState({noJs:!1,wrapWidth:null===(t=this.wrap)||void 0===t?void 0:null===(e=t.current)||void 0===e?void 0:e.getBoundingClientRect().width})}componentDidUpdate(e){var t,i,s;let r=this.wrap.current,{wrapWidth:o}=this.state,a=null==r?void 0:r.getBoundingClientRect().width,n=a!==o;((null===(t=e.movieData)||void 0===t?void 0:t._id)!==(null===(i=this.props.movieData)||void 0===i?void 0:i._id)||n)&&(n&&this.setState({wrapWidth:a}),(null===(s=this.props.movieData)||void 0===s?void 0:s._id)&&this.setState({translateX:0,visibleIndex:0,widthOfVisible:[],arrayOfHidden:[]},()=>{r.scroll({left:0,behavior:"smooth"}),this.getVisibleElements()}))}render(){var e,t,i,r,o,a;let{current:l,noTitle:d,categoriesList:_,inPlayer:p,movieData:m,series:h,inPlayerPopup:g,sidesShadow:v,alias:b,renderContent:S}=this.props,{arrayOfVisible:y,noJs:w}=this.state,{deviceSize:f,userBrowser:x}=this.props.systemInformation,k="series"===b;return(0,s.jsxs)("div",{className:c()(n().categories__categories,{[n().categories__nt]:d,[n().categories__player]:p,[n().categories__player_popup]:g}),onMouseOver:()=>this.setState({mouseOver:!0}),onMouseOut:()=>this.setState({mouseOver:!1}),children:[(0,s.jsx)("div",{className:c()(n().categories__a,n().categories__dl,{[n().categories__shadowVisible_left]:v}),onClick:()=>this.handleArrowClick("left"),style:{visibility:(null===(t=this.wrap)||void 0===t?void 0:null===(e=t.current)||void 0===e?void 0:e.scrollLeft)!==0?"visible":"hidden"},children:(0,s.jsx)("img",{src:"/static/images/tv/left.svg"})}),S?S({className:c()({[n().categories__wrap]:!p&&!g,[n()["categories__player-wrap"]
1]:p,[n().categories__player_popup_wrap]:g}),onWheel:this.handleWheel,onScroll:this.handleScroll,onMouseDown:this.handleDragStart,onMouseUp:this.handleDragEnd,onMouseLeave:this.handleDragEnd,onMouseMove:this.handleDrag,ref:this.wrap,"data-testid":"seasons_tabs",arrayOfVisible:y,deviceSize:f,userBrowser:x,current:l}):(0,s.jsx)("div",{className:c()({[n().categories__wrap]:!p&&!g,[n()["categories__player-wrap"]]:p,[n().categories__player_popup_wrap]:g}),onWheel:this.handleWheel,onScroll:this.handleScroll,onMouseDown:this.handleDragStart,onMouseUp:this.handleDragEnd,onMouseLeave:this.handleDragEnd,onMouseMove:this.handleDrag,ref:this.wrap,"data-testid":"seasons_tabs",children:(null==_?void 0:_.length)?_.map((e,t)=>(0,s.jsx)("div",{className:"".concat(n().categories__cWrap," ").concat("desktop_web"!==f||y.includes(t)?"":n().categories__aWrap," ").concat((null==x?void 0:x.browserName)==="Safari"?n().categories__safari:""),children:w&&k?(0,s.jsx)(u(),{prefetch:!1,href:"/watch/".concat(m.alias,"/season-").concat(e.num),className:"".concat(n().categories__category," ").concat((null==l?void 0:l.alias)===e.alias?n().categories__active:""),onClick:"desktop_web"!==f||y.includes(t)?()=>this.props.onClickCategory(e,t):null,children:e.title}):(0,s.jsx)("div",{className:"".concat(n().categories__category," ").concat((null==l?void 0:l.alias)===e.alias?n().categories__active:""),onClick:"desktop_web"!==f||y.includes(t)?()=>this.props.onClickCategory(e,t):null,children:e.title})},t)):null}),(0,s.jsx)("div",{className:c()(n().categories__a,n().categories__dr,{[n().categories__shadowVisible_rigth]:v}),onClick:()=>this.handleArrowClick("right"),style:{visibility:parseInt(null===(r=this.wrap)||void 0===r?void 0:null===(i=r.current)||void 0===i?void 0:i.clientWidth)+parseInt(null===(a=this.wrap)||void 0===a?void 0:null===(o=a.current)||void 0===o?void 0:o.scrollLeft)<parseInt(this.state.categoriesLineWidth)?"visible":"hidden"},children:(0,s.jsx)("img",{src:"/static/images/tv/right.svg",alt:"right"})})]})}constructor(...e){super(...e),this.apiUrl=this.props.systemInformation.API_URL||l.H$,this.lockScroll=!1,this.state={visibleIndex:0,translateX:0,widthOfVisible:[],arrayOfHidden:[],mouseOver:!1,categoriesLineWidth:0,wrap:null,arrayOfVisible:[],noJs:!0,isDragging:!1,dragStartPosX:0,wrapWidth:null},this.wrap=r.createRef(),this.scrollTimeout=null,this.getVisibleElements=()=>{var e,t;let i=this.wrap.current,s=[...i.childNodes],r=s.map(e=>e.getBoundingClientRect().width),o=r.reduce((e,t)=>e+=t,0),a=parseInt(null===(e=window)||void 0===e?void 0:e.getComputedStyle(i,null).paddingRight)+parseInt(null===(t=window)||void 0===t?void 0:t.getComputedStyle(i,null).paddingLeft);o=parseInt(o+a);let n=[];s.forEach((e,t)=>{!(1*e.getBoundingClientRect().right>(null==i?void 0:i.getBoundingClientRect().right))&&e.getBoundingClientRect().left>0&&n.push(t)});let l=0,d=[];r.map((e,t)=>{l+e<(null==i?void 0:i.getBoundingClientRect().width)-a?l+=e:(d.length&&(l+=d[d.length-1]),d.push(l),l=e)}),this.setState({widthOfVisible:d,arrayOfHidden:[],categoriesLineWidth:o,arrayOfVisible:n})},this.handleArrowClick=e=>{let{visibleIndex:t,widthOfVisible:i}=this.state,s=this.wrap.current,{onArrowClick:r}=this.props;if("right"===e){if(t>=i.length)return;this.setState({visibleIndex:t+1,translateX:i[t]},()=>{this.wrap.current.scroll({left:this.state.translateX,behavior:"smooth"})})}else t>=0&&this.setState({visibleIndex:t-1,translateX:i[t-2]||0},()=>{s.scroll({left:this.state.translateX,behavior:"smooth"})});r&&r(e),this.lockScroll=!1},this.handleScroll=()=>{clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(this.getVisibleElements,0)},this.handleWheel=()=>{let e=0;this.state.widthOfVisible.some(t=>{t<this.wrap.current.scrollLeft&&e++}),this.setState({visibleIndex:e,translateX:e>=0?this.state.widthOfVisible[e]:0})},this.handleDragStart=e=>{var t;e.preventDefault();let i=e.clientX,s=i<56,r=(null===(t=window)||void 0===t?void 0:t.innerWidth)-i<56;s||r||this.setState({isDragging:!0,dragStartPosX:i})},this.handleDragEnd=()=>{this.setState({isDragging:!1})},this.handleDrag=e=>{let{isDragging:t,dragStartPosX:i}=this.state;if(!t)return;e.preventDefault();let s=i-e.clientX;Math.abs(s)>28&&(s>0?this.handleArrowClick("right"):this.handleArrowClick("left"),this.setState({isDragging:!1}))}}}let g=(0,o.Ng)(e=>({systemInformation:e.systemInformation,registration:e.registration}),m)(h)},50425:(e,t,i)=>{"use strict";i.d(t,{A:()=>m});var s=i(74848),r=i(96540),o=i(29833),a=i.n(o),n=i(91106),l=i.n(n),d=i(27116),_=i(98126),c=i(74368);let p={clickHouseShoot:_.Y3};class u extends r.Component{componentDidMount(){let{bannerData:e}=this.props,t=window.innerWidth;this.setState({browserWidth:t}),window.addEventListener("resize",this.resizeHandler),t>1024&&this.setState({urlImg:e.image_desktop}),t<1025&&this.setState({urlImg:e.image_tablet}),t<411&&this.setState({urlImg:e.image_mobile})}render(){let{bannerData:e}=this.props,{urlImg:t}=this.state,i=t?"".concat(this.apiUrl).concat(t):"",r=e&&e.url?e.url:"";return r&&-1===r.indexOf("http")?(0,s.jsx)(l(),{prefetch:!1,href:"".concat(r),passHref:!0,onClick:this.clickHandler,children:(0,s.jsx)("div",{className:a().product__banner,style:{backgroundImage:"url('".concat(i,"')")}})}):(0,s.jsx)("a",{href:r,onClick:this.clickHandler,children:(0,s.jsx)("div",{className:a().product__banner,style:{backgroundImage:"url('".concat(i,"')")}})})}constructor(...e){super(...e),this.state={urlImg:"",browserWidth:0},this.apiUrl=this.props.systemInformation.API_URL||d.H$,this.apiKey=this.props.systemInformation.API_KEY||d.Lq,this.componentDidUpdate=()=>{let{browserWidth:e,urlImg:t}=this.state,{bannerData:i}=this.props;e>1024&&t!==i.image_desktop&&this.setState({urlImg:i.image_desktop}),e<768&&e>410&&t!==i.image_tablet&&this.setState({urlImg:i.image_tablet}),e<411&&t!==i.image_mobile&&this.setState({urlImg:i.image_mobile})},this.resizeHandler=()=>{setTimeout(()=>{let e=window.innerWidth,{browserWidth:t}=this.state;e!==t&&this.setState({browserWidth:e})},100)},this.clickHandler=()=>{let{clickHouseData:e}=this.props.systemInformation,{bannerData:t}=this.props,{movieData:i}=this.props,s={...e,action_id:"click",block_type:"banner",block_attributes_id:t.name?t.name:"",product_id:i._id,element_type:"banner",element_attributes_id:t.name?t.name:"",event_time:new Date().getTime()};this.props.clickHouseShoot(this.apiUrl,this.apiKey,s)},this.componentWillUnmount=()=>{window.removeEventListener("resize",this.resizeHandler)}}}let m=(0,c.Ng)(e=>({systemInformation:e.systemInformation}),p)(u)},28113:(e,t,i)=>{"use strict";i.d(t,{A:()=>ey});var s=i(74848),r=i(46942),o=i.n(r),a=i(86715),n=i.n(a),l=i(96540),d=i(74368),_=i(63480),c=i(47819),p=i(27116),u=i(35296),m=i(9515),h=i(39710),g=i(96276),v=i(72202),b=i(67265),S=i(75756),y=i(98126),w=i(98047),f=i(13057),x=i(87873),k=i(54532),C=i(30511),T=i(99009),N=i(50425),I=i(75273),j=i(68850),P=i(80364),E=i(48398),A=i(29965),D=i.n(A),R=i(91106),M=i.n(R),L=i(97461),W=i(47828);let U=e=>{let t=new Date(e),i=t.getDate(),s=p.wp[(0,W.A)(t)];return"".concat(i," ").concat(s)},O=e=>{let{img:t,imgStub:i,apiUrl:s,size:r,quality:o}=e;return t?"".concat(s).concat((0,u.bZ)(t,r,o)):i};var B=i(4011),z=i.n(B);let H="/static/images/horizontal_poster.svg",V={SEASON:"SEASON",TRAILER:"TRAILER"},K=e=>{let{type:t,linkUrl:i,isNoJs:r,onClick:a,children:n}=e;return r||t===V.SEASON?(0,s.jsx)(M(),{href:i,onClick:a,prefetch:!1,scroll:!1,className:o()(z().wrapper,{[z().seasonWrapper]:t===V.SEASON,[z().trailerWrapper]:t===V.TRAILER}),children:n}):(0,s.jsx)("div",{className:o()(z().wrapper,z().trailerWrapper),onClick:a,children:n})},J={Season:e=>{let{image:t,releaseDate:i,seasonNumber:r,linkUrl:a,onClick:n}=e,l=(0,P.A)();return(0,s.jsxs)(K,{type:V.SEASON,linkUrl:a,onClick:n,children:[(0,s.jsx)(D(),{className:z().img,src:O({img:t,imgStub:H,apiUrl:l,size:"160x90",quality:1}),loader:u.R2,alt:"Ñезон",fill:!0,priority:!0,sizes:"(max-width: 1024px) 100vw"}),(0,s.jsx)("div",{className:z().seasonTitle,children:i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:z().text,children:U(i)}),(0,s.jsxs)("span",{className:o()(z().text,z().text_shaded),children:[r," Сезон"]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:o()(z().text,z().text_shaded),children:"СкоÑо"}),(0,s.jsxs)("span",{className:z().text,children:[r," Сезон"]})]})})]})},Trailer:e=>{let{image:t,linkUrl:i,isNoJs:r,onClick:a}=e,n=(0,P.A)();return(0,s.jsxs)(K,{type:V.TRAILER,linkUrl:i,isNoJs:r,onClick:a,children:[(0,s.jsx)("div",{className:z().trailerPoster,children:(0,s.jsx)(D(),{className:z().img,src:O({img:t,imgStub:H,apiUrl:n}),loader:u.R2,alt:"ÑÑейлеÑ",fill:!0,sizes:"(max-width: 1024px) 100vw"})}),(0,s.jsxs)("div",{className:z().trailerContent,children:[(0,s.jsxs)("div",{className:z().trailerTitle,children:[(0,s.jsx)("span",{className:o()(z().text),children:"СмоÑÑиÑе"}),(0,s.jsx)("span",{className:o()(z().text,z().text_shaded),children:"ТÑейлеÑ"})]}),(0,s.jsx)(L.$n,{size:L.GO.SMALL,variant:L.Vt.SECONDARY,title:"СмоÑÑеÑÑ",iconLeft:(0,s.jsx)("img",{className:z().trailerButton__icon,src:"/static/images/product/kino.svg",alt:"trailer"}),iconSize:250})]})]})}};var F=i(71447),Y=i.n(F);let Z=e=>{var t;
1let{movieData:i,season:r,isLast:o}=e,a=(0,d.wA)(),n=(0,j.A)(),_=(0,P.A)(),c=(0,E.A)(),p=(0,d.d4)(e=>e.profile.childProfile),[u,m]=(0,l.useState)(!0),h=o&&(null===(t=i.additional_content)||void 0===t?void 0:t.findLast(e=>e.announcement)),v=async()=>{if(p&&await (0,C.j)({apiUrl:_,apiKey:c})){a((0,w.bL)({visible:!0}));return}let e={movieUrl:"/web/watch/".concat(i.alias),movieTitle:h.title,movieId:i._id,uid:i.uid,rating_age:h.rating_age||i.rating_age,trailerSrc:h.video_src,playback:i.playback_options,announce:null==h?void 0:h.announcement,isTrailer:!0,noNext:!0,promoData:{cls:"Trailer",uid:h.uid,title:h.title,promoting_content:{id:i._id,uid:i.uid,cls:i._cls,alias:i.alias}}};a((0,y.kI)({init:!0,type:"Trailer"})),a((0,g.o2)(e)),n({action_id:"click",product_id:i.uid,content_id:i.uid,content_type:i._cls,block_type:"season",block_attributes_id:"season-".concat(r.num),element_type:"button",element_attributes_id:"play_trailer",element_attributes_text:"СмоÑÑеÑÑ",element_attributes_index:2})};return(0,l.useEffect)(()=>{m(!1)},[]),(0,s.jsx)("div",{className:Y().wrapper,children:(0,s.jsxs)("div",{className:Y().list,children:[(0,s.jsx)(J.Season,{image:i.background.image_15x,releaseDate:r.start_release_date,seasonNumber:r.num,linkUrl:"/watch/".concat(i.alias,"/season-").concat(r.num),onClick:e=>e.preventDefault()}),h&&(0,s.jsx)(J.Trailer,{image:h.packshot.image_15x||r.background.image_15x,linkUrl:"/watch/".concat(i.alias,"/trailers/").concat(h.start_id),isNoJs:u,onClick:v})]})})};var X=i(60963),G=i(74351),q=i.n(G);let Q=e=>{let{watchedText:t,itemDurationText:i}=e;return(0,s.jsxs)("div",{className:"".concat(q().watched),children:[(0,s.jsxs)("div",{className:q()["watched-line"],children:[(0,s.jsx)("div",{className:q()["red-line"]}),(0,s.jsx)("div",{className:q()["white-line"]})]}),(0,s.jsx)("div",{className:q()["watched-title"],children:t})]})},$=e=>{let{current:t,item:i,itemDurationText:r,itemProgress:a}=e;return(null==a?void 0:a.progress)&&(null==a?void 0:a.progress)<=95?(0,s.jsxs)("div",{className:"".concat(q().watched),children:[(0,s.jsxs)("div",{className:q()["watched-line"],children:[(0,s.jsx)("div",{className:q()["red-line"],style:{width:"".concat(a.progress<10?10:a.progress,"%")}}),(0,s.jsx)("div",{className:q()["white-line"],style:{width:"".concat(100-a.progress,"%")}})]}),(0,s.jsx)("div",{className:q()["watched-progress-title"],children:t?"ÐÑ ÑмоÑÑиÑе":((e,t)=>{let i=Math.round((e-e*t/100)/1e3/60);return"ÐÑÑалоÑÑ ".concat(i," мин")})(a.duration,a.progress)})]}):(null==i?void 0:i.duration)&&!(null==i?void 0:i.announcement)?(0,s.jsx)("span",{className:o()(q().duration,{[q().series__watched]:(null==a?void 0:a.progress)&&(null==a?void 0:a.progress)>95}),children:r}):null};var ee=i(2352),et=i(12107);let ei=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,i=e.filter(e=>"free"===e.type&&!e.under_logo_position&&"single"===e.structure)[0],s=e.filter(e=>"badge"===e.type&&!e.under_logo_position&&"single"===e.structure)[0];return!t&&i?i:s},es=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter(e=>"badge"===e.type&&!e.under_logo_position&&"single"===e.structure)[0]},er=e=>{let t={};if(e){let i=(0,ee.A)(new Date("".concat(e)),"d MMMM",{locale:et.A}),s=(0,ee.A)(new Date("".concat(e)),"EEEE",{locale:et.A});t.title=i,t.subtitle=s}else t.title="СкоÑо";return t};var eo=i(11735),ea=i.n(eo);let en=e=>{var t,i;let{index:r,selectedSeasonIndex:a,currentEpisode:n,card:_,alias:c,onTitleClick:m,onPosterClick:h,onPlayIconClick:g,seriesBackground:v}=e,b=(0,P.A)(),S=(0,d.d4)(e=>e.registration.authData),y=(0,d.d4)(e=>e.profile.progress),w=(0,d.d4)(e=>e.systemInformation.windowInnerWidth),f=(0,d.d4)(e=>e.registration.subscriptionType),[x,k]=(0,l.useState)(),C=null==y?void 0:null===(t=y.items)||void 0===t?void 0:t.find(e=>e.content_id===_.uid),T=n&&_._id===n._id,N=Math.ceil(((null==_?void 0:_.duration)?Math.ceil(_.duration/1e3):0)/60),I="without_free_true"===(0,u.l3)(null==S?void 0:S.ab,"Without_Free_Content_Premier")||"without_free_true"===(0,u.l3)(null==S?void 0:S.ab,"Without_Free_Content_No_Premier")?es(_.badges):ei(_.badges,(null==S?void 0:null===(i=S.subscriptions)||void 0===i?void 0:i.length)>0),j=f===p.tO.LITE&&(_.is_free||_.free_for_authorized),E=!(0,u.xM)(_.subscriptions,f);return(0,l.useEffect)(()=>{!_.announcement||_.packshot&&_.packshot.image_15x||k(er(_.start_release_date))},[_]),(0,s.jsxs)("div",{className:ea().item,children:[(0,s.jsxs)("div",{className:o()({[ea()["item-img-wrap"]
1]:!0,[ea()["item-img-wrap-announcement"]]:(null==_?void 0:_.announcement)||(null==_?void 0:_.unavailable_by_geo),[ea()["item-img-wrap-announcement-with-overlay"]]:(null==_?void 0:_.announcement)&&(!_.packshot||!_.packshot.image_15x)}),onClick:()=>h(r,_.title,_.announcement,_,a,n&&_._id===n._id,a),children:[(0,s.jsx)(D(),{className:ea()["item-img-wrap-poster"],loader:u.R2,src:(()=>{var e,t;let i=w/p.U8,s="".concat(i>1?Math.floor(471*i):471,"x").concat(i>1?Math.floor(266*i):266);return(null===(e=_.packshot)||void 0===e?void 0:e.image_15x)||_.announcement&&(!_.announcement||v)?!_.announcement||_.packshot&&_.packshot.image_15x?"".concat(b).concat((0,u.bZ)(null===(t=_.packshot)||void 0===t?void 0:t.image_15x,s)):"".concat(b).concat((0,u.bZ)("".concat(v,"&blur=30"),s,85)):"/static/images/V2/preview-no-poster-horizontal.webp"})(),alt:"poster",loading:"eager",fill:!0}),(null==_?void 0:_.announcement)&&x?(0,s.jsxs)("div",{className:ea()["item-img-wrap-text"],children:[x.title&&(0,s.jsx)("div",{className:ea()["item-img-wrap-text-title"],dangerouslySetInnerHTML:{__html:x.title}}),x.subtitle&&(0,s.jsx)("div",{className:ea()["item-img-wrap-text-subtitle"],dangerouslySetInnerHTML:{__html:x.subtitle}})]}):null,(0,s.jsx)("img",{className:ea()["item-img-wrap-play-img"],src:"/static/images/product/button-play.svg",alt:"play",onClick:e=>g(e,r,_.title,_.announcement,_,a,a)}),(null==C?void 0:C.progress)>95&&(0,s.jsx)(Q,{watchedText:"ÐÑоÑмоÑÑено",itemDurationText:(0,u._9)(N)}),(0,s.jsx)($,{item:C,itemProgress:C,current:T,itemDurationText:(0,u._9)(N)}),(null==C?void 0:C.progress)||null==_||!_.duration||(null==_?void 0:_.announcement)||(null==S?void 0:S.virtual)!==!0?null:(0,s.jsx)("span",{className:ea()["item-img-wrap-time"],children:(0,u._9)(N)})]}),(0,s.jsxs)("div",{className:ea().item__link,onClick:()=>m(_,a),children:[(0,s.jsx)("div",{className:ea().item__titles,children:(0,s.jsxs)("div",{className:ea()["item__titles-title-badge-block"],children:[(0,s.jsx)("div",{className:ea()["item__titles-title-wrap"],children:(0,s.jsx)("span",{className:ea()["item__titles-title"],children:null==_?void 0:_.title})}),j?null:E?(0,s.jsx)(X.JI,{className:ea().item__premium_badge}):I&&!(null==_?void 0:_.announcement)&&(0,s.jsx)(X.Ay,{textColor:I.text_color,bgColor:I.background_color,text:I.text})]})}),!(null==_?void 0:_.announcement)&&(0,s.jsx)("div",{className:ea().item__description,children:_.description})]})]})};var el=i(32467),ed=i(96927),e_=i(85299),ec=i(36617),ep=i.n(ec);let eu=l.memo(e=>{var t;let{item:i,page:r,position:a,noJs:n,selectedSeasonIndex:_,currentEpisode:c,progress:m,movieData:h,onPosterClick:g,onPlayIconClick:v,onTitleClickHandle:b}=e,S=(0,P.A)(),y=(0,d.d4)(e=>{var t,i;return null===(i=e.registration.authData)||void 0===i?void 0:null===(t=i.subscriptions)||void 0===t?void 0:t.length}),w=(0,d.d4)(e=>e.systemInformation.renderMobile);(0,d.d4)(e=>e.registration.authData);let f=(0,d.d4)(e=>e.registration.subscriptionType),[x,k]=(0,l.useState)(!1),[C,T]=(0,l.useState)(),N=ei(i.badges,y),I=Math.ceil(Math.ceil((null==i?void 0:i.duration)/1e3)/60),j=(0,l.useMemo)(()=>{var e;return null==m?void 0:null===(e=m.items)||void 0===e?void 0:e.find(e=>e.content_id===i.uid)},[m,i.uid]),E=c&&i._id===c._id,A=f===p.tO.LITE&&(i.is_free||i.free_for_authorized),D=!(0,u.xM)(i.subscriptions,f),R=()=>{b(i,_,n,a)};return(0,l.useEffect)(()=>{!i.announcement||i.packshot&&i.packshot.image_15x||T(er(i.start_release_date))},[i]),(0,s.jsx)("div",{className:o()(ep()["item-wrap"],{[ep().current]:E}),children:(0,s.jsxs)("div",{className:ep().item,children:[(0,s.jsxs)("div",{className:o()(ep()["item-img-wrap"],{[ep()["item-img-wrap-announcement"]]:(null==i?void 0:i.announcement)||(null==i?void 0:i.unavailable_by_geo),[ep()["item-img-wrap-announcement-with-overlay"]]:(null==i?void 0:i.announcement)&&(!i.packshot||!i.packshot.image_15x)}),onClick:()=>{g(a,i.title,i.announcement,i,_,E,_)},children:[!x&&!n&&(0,s.jsx)(ed.A,{className:ep()["skeleton-card"]}),(0,s.jsx)(el.A,{className:ep()["item-img-wrap-poster"],src:(e=>{var t;let s="desktop_web"!==w?"333x188":"471x266";if(!e&&(!i.announcement||i.announcement&&!(null===(t=h.background)||void 0===t?void 0:t.image_15x)))return"/static/images/V2/preview-no-poster-horizontal.webp";if(i.announcement&&(!i.packshot||!i.packshot.image_15x)){let e="".concat(h.background.image_15x,"&blur=30");return"".concat(S).concat((0,u.bZ)(e,s,85))}return"".concat(S).concat((0,u.bZ)(e,s,85))})(null===(t=i.packshot)||void 0===t?void 0:t.image_15x),width:"desktop_web"!==w?222:314,height:"desktop_web"!==w?125:177,onLoad:()=>k(!0),onError:()=>k(!1)}),(null==i?void 0:i.announcement)&&C?(0,s.jsxs)("div",{className:ep()["item-img-wrap-text"],children:[C.title&&(0,s.jsx)("div",{className:ep()["item-img-wrap-text-title"],dangerouslySetInnerHTML:{__html:C.title}}),C.subtitle&&(0,s.jsx)("div",{className:ep()["item-img-wrap-text-subtitle"],dangerouslySetInnerHTML:{__html:C.subtitle}}
1)]}):null,!n&&(0,s.jsx)("img",{onClick:e=>{v(e,a,i.title,i.announcement,i,_,_)},className:ep()["item-img-wrap-play-img"],src:"/static/images/product/button-play.svg",alt:"play"}),(null==j?void 0:j.progress)>95&&(0,s.jsx)(Q,{watchedText:"ÐÑоÑмоÑÑено",itemDurationText:(0,u._9)(I)}),(0,s.jsx)($,{item:i,itemProgress:j,current:E,itemDurationText:(0,u._9)(I)}),(null==j?void 0:j.progress)||null==i||!i.duration||(null==i?void 0:i.announcement)||"desktop_web"!==w?null:(0,s.jsx)("span",{className:ep()["item-img-wrap-time"],children:(0,u._9)(I)})]}),n?(0,s.jsxs)(M(),{prefetch:!1,href:"/watch/".concat(null==h?void 0:h.alias,"/").concat(i.start_id),"data-testid":"episode_title_".concat(a),className:ep().item__link,onClick:R,children:[(0,s.jsx)("div",{className:ep().item__titles,children:(0,s.jsxs)("div",{className:ep()["item__titles-title-badge-block"],children:[(0,s.jsx)("div",{className:ep()["item__titles-title-wrap"],children:(0,s.jsx)("span",{className:ep()["item__titles-title"],children:null==i?void 0:i.title})}),A?null:D?(0,s.jsx)(X.JI,{className:ep().item__premium_badge}):N&&!(null==i?void 0:i.announcement)&&(0,s.jsx)(X.Ex,{textColor:N.text_color,bgColor:N.background_color,text:N.text})]})}),!(null==i?void 0:i.announcement)&&(0,s.jsx)("div",{className:ep().item__description,children:null==i?void 0:i.description})]}):(0,s.jsxs)("div",{className:ep().item__link,onClick:R,"data-testid":"episode_title_".concat(a),children:[(0,s.jsx)("div",{className:ep().item__titles,children:(0,s.jsxs)("div",{className:ep()["item__titles-title-badge-block"],children:[(0,s.jsx)("div",{className:ep()["item__titles-title-wrap"],children:(0,s.jsx)("span",{className:ep()["item__titles-title"],children:null==i?void 0:i.title})}),A?null:D?(0,s.jsx)(X.JI,{className:ep().item__premium_badge}):N&&!(null==i?void 0:i.announcement)&&(0,s.jsx)(X.Ex,{textColor:N.text_color,bgColor:N.background_color,text:N.text})]})}),!(null==i?void 0:i.announcement)&&(0,s.jsx)("div",{className:o()(ep().item__description,{[ep()["item__description-all"]]:"seasons"===r||"episode"===r}),children:null==i?void 0:i.description})]})]})})}),em=e=>{let{sliderList:t,alias:i,isPaginator:r,onPosterClick:a,onPlayIconClick:n,onTitleClick:_,selectedSeasonIndex:c,selectedEpisodeIndex:m,currentEpisode:h,playerProp:g,onArrowClick:v,movieData:b,page:S,handleSeasonSelected:y,clickSeasonSelected:w}=e,f=(0,d.d4)(e=>e.profile),x=(0,d.d4)(e=>e.systemInformation.documentClientWidth),[k,C]=(0,l.useState)(!1),[T,N]=(0,l.useState)(null),[I,j]=(0,l.useState)(!0),{progress:P}=f,E=(e,t,i,s)=>{N(parseInt(s)),_(e,t,i)};(0,l.useEffect)(()=>{j(!1)},[]),(0,l.useEffect)(()=>{g||N(m)},[m,c]);let A=(0,l.useMemo)(()=>{if(x){if(x>p.U8){let e=(0,u.$J)(56,x);return{paddingRight:e,paddingLeft:e}}if(g&&x>p.U8){let e=(0,u.$J)(40,x);return{paddingRight:e,paddingLeft:e}}if(x>p.U8){let e=(0,u.$J)(56,x);return{paddingRight:e,paddingLeft:e}}return x>p.af?{paddingRight:56,paddingLeft:56}:{paddingRight:24,paddingLeft:24}}},[x]);return(0,s.jsx)("div",{className:ep()["slider-wrap"],onMouseOver:()=>C(!0),onMouseOut:()=>C(!1),onFocus:()=>C(!0),onBlur:()=>C(!1),children:(0,s.jsx)(e_.A,{wrapperStyles:A,widthCard:{desktop:314,mobile:222},heightCard:{desktop:200,mobile:243},isPaginator:r,active:k,alias:i,items_total:null==t?void 0:t.length,arrowClick:e=>{e?v("arrow_right"):v("arrow_left")},cardIdent:16,isProduct:!0,isProductSelections:g,items:t,selectedEpisode:T,handleSeasonSelected:y,clickSeasonSelected:w,children:(0,s.jsx)("div",{className:o()(ep().items_wrap,{[ep().inPlayer]:g}),children:null==t?void 0:t.map((e,t)=>(0,s.jsx)(eu,{page:S,item:e,position:t,movieData:b,noJs:I,selectedSeasonIndex:c,currentEpisode:h,progress:P,onPosterClick:a,onPlayIconClick:n,onTitleClickHandle:E},e._id))})})})};var eh=i(45145),eg=i.n(eh);let ev={[I.Qh.HOLOD]:"product__season-tabs-holod",[I.Qh.OLDSKUL]:"product__season-tabs-oldskul"},eb={[I.Qh.HOLOD]:"product__season-tab-holod",[I.Qh.OLDSKUL]:"product__season-tab-oldskul"};class eS extends l.PureComponent{componentDidUpdate(e,t){var i,s,r,o;let{query:a}=n(),l=null===(i=a.params)||void 0===i?void 0:i[1],{movieData:d,page:_,playerProp:c,maxSeason:p,currentEpisode:m,season:h}=this.props,{movieData:g,maxSeason:v,page:b,currentEpisode:S,season:y}=e,{selectedSeasonIndex:w,progressSeasonNum:f,progressEpisodeIndex:x}=this.state,{selectedSeasonIndex:k}=t,{authData:C}=this.props.registration,{lastProgress:T,progress:N,lastProgressId:I}=this.props.profile,{lastProgress:j,progress:P}=e.profile,{windowInnerWidth:E}=this.props.systemInformation,{windowInnerWidth:A}=e.systemInformation;E&&A&&E!==A&&this.resizeHandler();let D=l&&-1!==l.indexOf("season-")&&parseInt(l.split("-")[1]);if(!h&&(null==d?void 0:null===(s=d.items)||void 0===s?void 0:s.length)&&m&&(null==S?void 0:S.uid)!==(null==m?void 0:m.uid)){let e=this.findCurrentEpisodeSeason();e&&this.setState({currentSeason:e.num,selectedSeasonIndex:e.num})}if(d&&d._id!==g._id){this.loadProfile=!1;let e=this.getFirstAvailableSeasonNumber();this.setState({selectedSeasonIndex:c?p:e})}if(!D&&p!==v||!_&&_!==b){let e=this.getFirstAvailableSeasonNumber();this.setState({selectedSeasonIndex:c?p:e})}if(h&&h!==y&&h!=w&&this.setState({selectedSeasonIndex:h}),c&&this.setState({selectedSeasonIndex:w>p?p:w}),d&&d.items&&d.items.length&&!this.loadMovie&&(this.loadMovie=!0),C&&d&&!this.loadProfile&&(this.loadProfile=!0,(null==C?void 0:C.virtual)?this.setState({selectedEpisodeIndex:0}):(this.fetchProfileProgress(d.uid,!0),this.fetchProfileProgress(d.uid,!1))),I&&T&&N&&(T.content_id!==(null==j?void 0:j.content_id)||N!==P)){this.loadProgress=!1;let e=null===(r=d.items)||void 0===r?void 0:r.find(e=>null==e?void 0:e.items.find(e=>e.uid===(null==T?void 0:T.content_id))),t=(null==e?void 0:e.items)||[],i=t.findIndex(e=>e.uid===(null==T?void 0:T.content_id)),s=(null==N?void 0:N.items)||[],a=s.length?s[0]:{},n=s.length?s[s.length-1]:{},l=null===(o=d.items)||void 0===o?void 0:o.find(e=>e.items.find(e=>e.uid===a.content_id)),_=((null==l?void 0:l.items)||[]).findIndex(e=>e.uid===(null==T?void 0:T.content_id)),c=(null==l?void 0:l.num)||1,p=_>-1?_:0;if(T){if(0!==T.progress&&i>-1||0===T.progress&&a.content_id!==T.content_id)c=null==e?void 0:e.num,p=i;else{let i=t.findIndex(e=>e.announcement),s=(0,u.UY)(null==d?void 0:d.items)[0];n.progress>0&&(i>-1?(c=null==e?void 0:e.num,p=i):(null==s?void 0:s.num)&&(c=null==s?void 0:s.num,p=i))}}this.setState({progressSeasonNum:c,progressEpisodeIndex:p})}!f||h||this.loadProgress||(this.loadProgress=!0,this.setState({selectedSeasonIndex:f,selectedEpisodeIndex:x})),w!==k&&f&&(w===f?this.setState({selectedEpisodeIndex:x}):this.setState({selectedEpisodeIndex:0}))}render(){var e,t;let{currentEpisode:i,page:r,movieData:a,bannerData:n,playerProp:l,isNewEpisodePage:d,productCustomization:_}=this.props,{currentSeason:c,selectedSeasonIndex:p,selectedEpisodeIndex:m,noJs:h,isAllSeriesActive:g,isDesktop:v}=this.state,b=this.preparedSeasonsFunc(l?(0,u.DT)(null==a?void 0:a.items):null==a?void 0:a.items),S=h&&c||p,y=null===(e=a.items)||void 0===e?void 0:e.find(e=>(null==e?void 0:e.num)==S),w=(null==y?void 0:y.items)||[],k=(null==y?void 0:y.is_preview)&&!(null==w?void 0:w.length),C=(0,u.Ls)((0,u.UY)(null==a?void 0:a.items)),j=v&&!k,P=null==b?void 0:null===(t=b.find(e=>(null==e?void 0:e.num)==S))||void 0===t?void 0:t.alias,E=(0,I.Kf)(_,eg(),ev);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{ref:this.seriesRef,className:eg().product__series,children:(0,s.jsxs)("div",{className:eg()["product__series-inner"],children:[(0,s.jsxs)("div",{className:l?eg()["product__seasons-player"]:eg().product__seasons,children:[!l&&(0,s.jsxs)("div",{className:eg().product__header,children:[(0,s.jsx)("h2",{className:eg()["product__header-title"],children:"Ð¡ÐµÐ·Ð¾Ð½Ñ Ð¸ ÑеÑии"}),j?(0,s.jsx)(f.A,{className:{button:o()(eg()["product__header-button"],{[eg()["product__header-button--active"]]:g}),title:eg()["product__header-button-title"],icon:o()(eg()["product__header-button-icon"],{[eg()["product__header-button-icon--down"]]:g})},collapsedText:"ÐÑе ÑеÑии",expandedText:"СвеÑнÑÑÑ",arrowSrc:"/static/images/arrow-medium-d
1own.svg",isExpand:g,onClick:this.handleAllSeriesButtonClick(!1)}):null]}),(0,s.jsx)(T.A,{alias:l?"player_".concat(null==a?void 0:a.alias):"series",movieData:a,categoriesList:b,current:null==b?void 0:b.find(e=>(null==e?void 0:e.num)==S),onClickCategory:this.handleCategoryClick,inPlayer:l,productPage:!0,renderContent:e=>{let{className:t,...i}=e;return(0,s.jsx)(x.t,{type:"link",variant:"secondary",tabSize:"large",tabs:b,tabId:"alias",className:o()(t,eg().tabs,E),renderContent:e=>(0,s.jsx)("span",{className:o()(e.alias===P&&(0,I.Kf)(_,eg(),eb)),children:e.title}),activeTabId:P,getTabProps:e=>({route:"/watch/".concat(a.alias,"/season-").concat(e.num),scroll:!1}),onClickTab:this.handleClickTab,...i})}})]}),j&&g?(0,s.jsxs)("div",{className:eg()["product__series-all"],children:[(0,s.jsx)("div",{className:eg()["product__series-wrap"],children:null==w?void 0:w.map((e,t)=>{var r;return(0,s.jsx)(en,{index:t,alias:a.alias,card:e,selectedSeasonIndex:p,currentEpisode:i,onPosterClick:this.initSeasonPlayer,onPlayIconClick:this.handleClickPlay,onTitleClick:this.seriesTitleClick,seriesBackground:null==a?void 0:null===(r=a.background)||void 0===r?void 0:r.image_15x},t)})}),(0,s.jsx)(f.A,{className:{button:o()(eg()["product__header-button"],{[eg()["product__header-button--active"]]:g}),title:eg()["product__header-button-title"],icon:o()(eg()["product__header-button-icon"],{[eg()["product__header-button-icon--down"]]:g})},collapsedText:"ÐÑе ÑеÑии",expandedText:"СвеÑнÑÑÑ",arrowSrc:"/static/images/arrow-medium-down.svg",isExpand:g,onClick:this.handleAllSeriesButtonClick(!0)})]}):k&&!l?(0,s.jsx)(Z,{movieData:a,season:y,isLast:C==S}):(0,s.jsx)(em,{lineIdx:1,page:r,alias:l?"player_series":"series",sliderList:w,movieData:a,playerProp:l,selectedSeasonIndex:p,selectedEpisodeIndex:m,currentEpisode:i,currentSeason:c||p,isNewEpisodePage:d,onPosterClick:this.initSeasonPlayer,onPlayIconClick:this.handleClickPlay,onTitleClick:this.seriesTitleClick,onArrowClick:this.handleArrowShoot,handleSeasonSelected:this.handleSeasonSelected,clickSeasonSelected:this.state.clickSeasonSelected})]})}),n&&"series"===n.position&&(0,s.jsx)(N.A,{bannerData:n,movieData:a})]})}constructor(...e){var t;super(...e),t=this,this.state={selectedSeasonIndex:this.props.playerProp&&this.props.maxSeason||1,selectedEpisodeIndex:null,progressSeasonNum:null,progressEpisodeIndex:null,currentSeason:this.props.season,mlk_msisdn:(0,u.Ri)("mlk_msisdn"),mlk_app:(0,u.Ri)("mlk_app"),settings:{dots:!1,draggable:!1,speed:250,touchMove:!0,infinite:!1,arrows:!0,slidesToShow:4,slidesToScroll:4,browserWidth:0,adaptiveHeight:!0,responsive:[{breakpoint:320,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:750,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:1025,settings:{arrows:!0,slidesToShow:this.props.playerProp?4:3,slidesToScroll:this.props.playerProp?4:3}}]},SeasonSlider:{dots:!1,draggable:!1,speed:250,touchMove:!0,swipeToSlide:!0,infinite:!1,arrows:!this.props.playerProp,browserWidth:0,slidesToScroll:2,variableWidth:!0,focusOnSelect:!1,afterChange:()=>{this.toggleSliderArrowDisplay()}},videoTitle:"",showAllSeries:!0,noJs:!0,isAllSeriesActive:!1,isDesktop:!0,clickSeasonSelected:!1},this.seriesRef=l.createRef(),this.apiKey=this.props.systemInformation.API_KEY||p.Lq,this.apiUrl=this.props.systemInformation.API_URL||p.H$,this.loadMovie=!1,this.loadProfile=!1,this.loadProgress=!1,this.componentDidMount=()=>{var e;let{query:t}=n(),{maxSeason:i,playerProp:s}=this.props,r=window.innerWidth,o=null===(e=t.params)||void 0===e?void 0:e[1],a=o&&-1!==o.indexOf("season-")&&parseInt(o.split("-")[1]),l=this.getFirstAvailableSeasonNumber();this.setState({browserWidth:r,isDesktop:r>p.xW.TABLET,currentSeason:a,selectedSeasonIndex:a||(s?i:l),noJs:!1})},this.resizeHandler=()=>{let{innerWidth:e}=window,{browserWidth:t}=this.state;e!==t&&this.setState({browserWidth:e,isDesktop:e>p.xW.TABLET})},this.findCurrentEpisodeSeason=()=>{var e;let{movieData:t,currentEpisode:i}=this.props;if((null==t?void 0:null===(e=t.items)||void 0===e?void 0:e.length)&&i)return t.items.find(e=>e.items.some(e=>e.uid===i.uid))},this.getFirstAvailableSeasonNumber=()=>{let{movieData:e,playerProp:t}=this.props,i=t?(0,u.DT)(null==e?void 0:e.items):null==e?void 0:e.items,s=1;if(i){var r;s=null===(r=(null==i?void 0:i.sort((e,t)=>
1e.num>t.num?1:t.num>e.num?-1:0))[0])||void 0===r?void 0:r.num}return s},this.handleArrowShoot=e=>{let{season:t,playerProp:i,shootBase:s}=this.props,{clickHouseData:r}=this.props.systemInformation,{currentSeason:o,selectedSeasonIndex:a}=this.state,{_id:l}=this.props.movieData,d={...r,...s,action_id:"click",block_type:"season",block_attributes_id:t||n().query&&n().query.season||"season-".concat(a)||0,element_type:"button",element_attributes_id:e,product_id:l,event_time:new Date().getTime()};i?d.screen_type="player":d.screen_type,this.props.clickHouseShoot(this.apiUrl,this.apiKey,d)},this.seasonCategoryClickHandler=(e,t)=>{let{_id:i}=this.props.movieData,{selectedSeasonIndex:s}=this.state,{playerProp:r,shootBase:o}=this.props;this.setState({selectedSeasonIndex:e.num,currentSeason:e.num},()=>{let{clickHouseData:a}=this.props.systemInformation,n={...a,...o,action_id:"click",block_type:"block",block_attributes_id:"seasons",product_id:i,element_type:"menu_item",element_attributes_id:"season-".concat(e.num),element_attributes_text:"".concat(e.num," ").concat(e.num===s?"Ñезон":""),element_attributes_index:t+1,event_time:new Date().getTime()};r?n.screen_type="player":n.screen_type,this.props.clickHouseShoot(this.apiUrl,this.apiKey,n)})},this.seriesTitleClick=(e,t,i)=>{let{playerProp:s,intersectionObserverOff:r}=this.props,{clickHouseData:o,config:a}=this.props.systemInformation,{_id:l,alias:d}=this.props.movieData;if(this.checkForBlock(a,e))return;let _={...o,action_id:"click",block_type:"season",block_attributes_id:"season-".concat(t),element_type:"product",element_attributes_id:"episode-".concat(e.num),element_attributes_index:t+1,element_attributes_text:e.title,product_id:l,content_id:e.uid,content_type:e._cls,event_time:new Date().getTime()};if(s?_.screen_type="player":_.screen_type,this.props.clickHouseShoot(this.apiUrl,this.apiKey,_),!i){let t="/watch/".concat(d,"/").concat(e.start_id);r&&r(),n().push(t,void 0,{scroll:!1})}},this.fetchStreamOptions=async e=>{let{startDeviceId:t}=this.props.systemInformation,{authData:i,tariffs:s}=this.props.registration,{playerProp:r}=this.props,o="".concat(this.apiUrl).concat(e).concat(this.apiKey,"&device_id=").concat(t,"&auth_token=").concat(i.authentication_token),a=await fetch(o,{method:"GET",credentials:"include"}),l=await a.json();if(a.status<400)return l;if(400===a.status&&("USER_USE_ANONYMIZER"===l.message||"FORBIDEN_IP"===l.message)){this.props.pushStackAddItem({text:"<span>Ðе забÑдÑÑе вÑклÑÑиÑÑ VPN</span> ЧÑÐ¾Ð±Ñ Ð²ÐµÑÑ ÐºÐ¾Ð½ÑÐµÐ½Ñ START ÑÑал доÑÑÑпен",withWarning:!0,withTitle:!0,withoutAutoClosing:!0});return}if(403===a.status)switch(l.code){case"DEVICE_COUNT_EXCEEDED":return this.props.toggleDevicesPopup(!0),{devices:!0};case"DEVICE_NOT_REGISTERED":this.props.toggleDeletedDevicePopup(!0);return}else fetch("".concat(this.apiUrl).concat(c.PI.authRefresh).concat(this.apiKey),{credentials:"include",method:"POST"}).then(e=>{if(e.status>400){if(401===a.status){let{authData:e}=this.props.registration;e.partner&&"ttk"===e.partner.name?this.props.toggleTTKPopup(!0):(null==e?void 0:e.virtual)===!1?(0,h.b)({authData:this.props.registration.authData,tariffs:s,playerMovie:this.props.movie.playerMovie,dispatch:this.props.dispatch,onSuccess:()=>{this.paymentRedirect(s)},onVirtualUserCallback:()=>{r&&this.props.playerReset(),n().push("/auth"),r&&this.props.closePlayer(!0)}}):(r&&this.props.playerReset(),n().push("/auth")),r&&this.props.closePlayer(!0)}else this.props.pushStackAddItem({text:"<span>ЧÑо-Ñо поÑло не Ñак</span> СкоÑо вÑе поÑиним. ÐопÑобÑйÑе позже",withError:!0,withTitle:!0})}})},this.paymentRedirect=e=>{var t,i,s;let{authData:r}=this.props.registration,{playerProp:o}=this.props,{mlk_app:a}=this.state;if((a||(null==r?void 0:null===(t=r.mf_info)||void 0===t?void 0:t.mf_pop_up)&&(null==r?void 0:null===(s=r.mf_info)||void 0===s?void 0:null===(i=s.mf_pop_up)||void 0===i?void 0:i.indexOf("_web"))===-1)&&(null==r?void 0:r.mf_info.is_mf))"to_block"!==r.mf_info.mf_pop_up?(o&&this.props.playerReset(),n().push("/megafon_connect")):(this.props.pushStackAddItem({text:"<span>Ðа ÑÑеÑÑ ÐегаФона не доÑÑаÑоÑно ÑÑедÑÑв</span> ÐополниÑе Ð±Ð°Ð»Ð°Ð½Ñ Ð¸ возвÑаÑайÑеÑÑ",withError:!0,withTitle:!0}),o&&this.props.closePlayer(!0));else{let t=null;try{t=ga.getAll()[0].get("clientId")}catch(e){}let i=(0,c.fQ)("".concat(this.apiUrl).concat(e[0].url).concat(this.apiKey).concat(t?"&ga_id=".concat(t):""));(0,c.BA)({url:i,toPaymentTariffs:!0,callback:()=>{o&&this.props.closePlayer(!0)},errorCallback:()=>{this.props.pushStackAddItem({text:"<span>
1ЧÑо-Ñо поÑло не Ñак</span> СкоÑо вÑе поÑиним. ÐопÑобÑйÑе позже",withError:!0,withTitle:!0})}})}},this.handleClickPlay=async(e,t,i,s,r,o,a)=>{let l;e.stopPropagation();let{config:d}=this.props.systemInformation;if(this.checkForBlock(d,r))return;let{playerProp:_}=this.props,{clickHouseData:c}=this.props.systemInformation,{authData:p,tariffs:g}=this.props.registration,v=this.props.profile.pendingSubscription,b=this.props.profile.childProfile,{_id:S,alias:y,rating_age:w}=this.props.movieData,f=(null==r?void 0:r.is_free)||(null==r?void 0:r.free_for_authorized),x={...c,action_id:"click",block_type:"season",block_attributes_id:"season-".concat(o),element_type:"button",element_attributes_id:"play",element_attributes_index:t+1,product_id:S,content_id:r.uid,content_type:r._cls,event_time:new Date().getTime()};if(_?x.screen_type="player":x.screen_type,this.props.clickHouseShoot(this.apiUrl,this.apiKey,x),b&&await (0,C.j)({apiUrl:this.apiUrl,apiKey:this.apiKey})){this.props.toggleSwitchToAdultProfile({visible:!0});return}if(s||r.unavailable_by_geo)return!1;if((null==p?void 0:p.virtual)&&(null==p?void 0:p.current_country_code)==="RU"&&r&&"Episode"===r._cls&&r.free_for_authorized&&(0,u.Uy)(),r.playback_options&&!r.playback_options.includes(".m3u8")&&!r.is_preview){var T,N,I,j,P,E,A;if(l=await this.fetchStreamOptions(r.playback_options),(0,u.Eo)(null==l?void 0:l.upgrade_options)){(0,u.vB)({contentUpgradeOptions:null==l?void 0:l.upgrade_options,saveBackRoute:!0});return}if(!(null==l?void 0:null===(T=l.playlists)||void 0===T?void 0:T.length)&&!(null==l?void 0:l.devices)){let{show:e,type:t}=(0,k.g5)(p,v);p.partner&&"ttk"===p.partner.name?this.props.toggleTTKPopup(!0):(null==p?void 0:null===(N=p.externals)||void 0===N?void 0:N.length)&&!(null==p?void 0:null===(I=p.subscriptions)||void 0===I?void 0:I.length)?this.paymentRedirect((null==l?void 0:null===(A=l.upgrade_options)||void 0===A?void 0:A.length)?l.upgrade_options:g):e&&!f?(0,u.G6)((null==p?void 0:p.ab)||[],"Benefits_screen_customization","Test_Benefits_screen_customization")&&localStorage.getItem("bgUrl")?this.props.toggleSubscriptionOfferPopup({visible:!0,type:t,isContentPage:!0}):this.props.toggleSubscriptionOfferPopup({visible:!0,type:t}):(null==p?void 0:p.virtual)===!1&&(null==l?void 0:null===(j=l.upgrade_options)||void 0===j?void 0:j.length)?this.paymentRedirect(l.upgrade_options):(null==p?void 0:null===(P=p.subscriptions)||void 0===P?void 0:P.length)||(null==l?void 0:null===(E=l.upgrade_options)||void 0===E?void 0:E.length)?(null==p?void 0:p.virtual)===!0&&(_&&this.props.playerReset(),f&&((0,u.TV)("fromProductPageWithFreeContent",!0),(0,u.Uy)()),n().push("/auth")):(0,h.b)({authData:this.props.registration.authData,tariffs:g,playerMovie:this.props.movie.playerMovie,dispatch:this.props.dispatch,onSuccess:()=>{this.paymentRedirect(g)},onVirtualUserCallback:()=>{_&&this.props.playerReset(),n().push("/auth"),_&&this.props.closePlayer(!0)}}),_&&this.props.closePlayer(!0);return}}(0,m.j)({ratingAge:w,dispatch:this.props.dispatch,childProfile:this.props.childProfile,parentalControl:this.props.parentalControl,successCallback:()=>{this.setState({videoTitle:i,selectedItem:r},()=>{var e,i,s,o;this.props.initPlayer({type:"Season",init:!0,index:t});let n={movieUrl:"/web/watch/".concat(y),movieTitle:r.title,isTrailer:!1,movieId:r._id,playback:r.playback_options,similar:this.props.similar,uid:r.uid,rating_age:r.rating_age||w,containsMeta:!!(null===(e=r.restrictions)||void 0===e?void 0:e.find(e=>"ContainsMeta"===e.id))||!!(null===(i=a.restrictions)||void 0===i?void 0:i.find(e=>"ContainsMeta"===e.id)),containsSmoking:!!(null===(s=r.restrictions)||void 0===s?void 0:s.find(e=>"ContainsSmoking"===e.id))||!!(null===(o=a.restrictions)||void 0===o?void 0:o.find(e=>"ContainsSmoking"===e.id)),isSeries:!0,playerSource:l};this.props.isFairplay?this.props.closePlayer(!0,!1,n):this.props.getPlayerData(n)}),this.props.setAutoTrailer(!1)}})},this.initSeasonPlayer=async(e,t,i,s,r,o,a)=>{let l;let{config:d}=this.props.systemInformation;if(this.checkForBlock(d,s))return;let{playerProp:_}=this.props,{clickHouseData:c}=this.props.systemInformation,{authData:p,tariffs:g,subscriptionType:v}
1=this.props.registration,b=this.props.profile.pendingSubscription,S=this.props.profile.childProfile,{_id:y,alias:w,rating_age:f}=this.props.movieData,x=(null==s?void 0:s.is_free)||(null==s?void 0:s.free_for_authorized),T={...c,action_id:"click",block_type:"season",block_attributes_id:"season-".concat(r),element_type:"product",element_attributes_id:"episode-".concat(s.num),element_attributes_index:e+1,element_attributes_text:s.title,product_id:y,content_id:s.uid,content_type:s._cls,event_time:new Date().getTime()};if(_?T.screen_type="player":T.screen_type,this.props.clickHouseShoot(this.apiUrl,this.apiKey,T),S&&await (0,C.j)({apiUrl:this.apiUrl,apiKey:this.apiKey})){this.props.toggleSwitchToAdultProfile({visible:!0});return}if(i||s.unavailable_by_geo)return!1;if((null==p?void 0:p.virtual)&&(null==p?void 0:p.current_country_code)==="RU"&&s&&"Episode"===s._cls&&s.free_for_authorized&&(0,u.Uy)(),s.playback_options&&!s.playback_options.includes(".m3u8")&&!s.is_preview){var N,I,j,P,E,A,D;l=await this.fetchStreamOptions(s.playback_options);let e=(0,u.G6)((null==p?void 0:p.ab)||[],"Benefits_screen_customization","Test_Benefits_screen_customization")&&!!localStorage.getItem("bgUrl");if(!(0,u.xM)(null==s?void 0:s.subscriptions,v)){(0,u.vB)({contentUpgradeOptions:null==l?void 0:l.upgrade_options,saveBackRoute:!0});return}if(!(null==l?void 0:null===(N=l.playlists)||void 0===N?void 0:N.length)&&!(null==l?void 0:l.devices)){let{show:t,type:i}=(0,k.g5)(p,b);p.partner&&"ttk"===p.partner.name?this.props.toggleTTKPopup(!0):(null==p?void 0:null===(I=p.externals)||void 0===I?void 0:I.length)&&!(null==p?void 0:null===(j=p.subscriptions)||void 0===j?void 0:j.length)?this.paymentRedirect((null==l?void 0:null===(D=l.upgrade_options)||void 0===D?void 0:D.length)?l.upgrade_options:g):t&&!x?e?this.props.toggleSubscriptionOfferPopup({visible:!0,type:i,isContentPage:!0}):this.props.toggleSubscriptionOfferPopup({visible:!0,type:i}):(null==p?void 0:p.virtual)===!1&&(null==l?void 0:null===(P=l.upgrade_options)||void 0===P?void 0:P.length)?this.paymentRedirect(l.upgrade_options):(null==p?void 0:null===(E=p.subscriptions)||void 0===E?void 0:E.length)||(null==l?void 0:null===(A=l.upgrade_options)||void 0===A?void 0:A.length)?(null==p?void 0:p.virtual)===!0&&(_&&this.props.playerReset(),x&&((0,u.TV)("fromProductPageWithFreeContent",!0),(0,u.Uy)()),n().push("/auth")):(0,h.b)({authData:this.props.registration.authData,tariffs:g,playerMovie:this.props.movie.playerMovie,dispatch:this.props.dispatch,onSuccess:()=>{this.paymentRedirect(g)},onVirtualUserCallback:()=>{_&&this.props.playerReset(),n().push("/auth"),_&&this.props.closePlayer(!0)}}),_&&this.props.closePlayer(!0);return}}(0,m.j)({ratingAge:f,dispatch:this.props.dispatch,childProfile:this.props.profile.childProfile,parentalControl:this.props.parentalControl,successCallback:()=>{var i;this.setState({videoTitle:t,selectedItem:s},()=>{var t,i,r,n;this.props.initPlayer({type:"Season",init:!0,index:e});let d={movieUrl:"/web/watch/".concat(w),movieTitle:s.title,isTrailer:!1,movieId:s._id,playback:s.playback_options,currentEpisode:o,uid:s.uid,rating_age:s.rating_age||f,containsMeta:!!(null===(t=s.restrictions)||void 0===t?void 0:t.find(e=>"ContainsMeta"===e.id))||!!(null===(i=a.restrictions)||void 0===i?void 0:i.find(e=>"ContainsMeta"===e.id)),isSeries:!0,containsSmoking:!!(null===(r=s.restrictions)||void 0===r?void 0:r.find(e=>"ContainsSmoking"===e.id))||!!(null===(n=a.restrictions)||void 0===n?void 0:n.find(e=>"ContainsSmoking"===e.id)),playerSource:l};this.props.isFairplay?this.props.closePlayer(!0,!1,d):this.props.getPlayerData(d)}),o&&(null===(i=this.props)||void 0===i?void 0:i.onClickCurrentEpisode)&&this.props.onClickCurrentEpisode()}})},this.preparedSeasonsFunc=e=>{if(!e)return;let{selectedSeasonIndex:t}=this.state;return(null==e?void 0:e.sort((e,t)=>e.num>t.num?1:t.num>e.num?-1:0)).map(e=>({title:t==(null==e?void 0:e.num)?"".concat(null==e?void 0:e.num," Ñезон"):null==e?void 0:e.num,alias:null==e?void 0:e.alias,num:e.num}))},this.handleCategoryClick=(e,t)=>{let{movieData:i,page:s,intersectionObserverOff:r}=this.props,{selectedSeasonIndex:o}=this.state,a=e.num===o,l="/watch/".concat(i.alias,"/season-").concat(e.num);a&&"seasons"===s||(r&&r(),n().push(l,void 0,{scroll:!1}),this.seasonCategoryClickHandler(e,t),this.handleSeasonSelected(!0))},this.handleSeasonSelected=e=>{this.setState({clickSeasonSelected:e})}
1,this.getSelectedSeasonUid=()=>{var e;let{selectedSeasonIndex:t}=this.state,{items:i}=this.props.movieData;return null===(e=i[t-1])||void 0===e?void 0:e.uid},this.handleAllSeriesButtonClick=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return i=>{let{selectedSeasonIndex:s}=t.state,{_cls:r,uid:o}=t.props.movieData,{clickHouseData:a}=t.props.systemInformation,n={...a,action_id:"click",block_type:"season",block_attributes_id:"season-".concat(s),product_id:o,content_id:t.getSelectedSeasonUid(),content_type:r,element_type:"button",element_attributes_id:i?"all_episodes":"show_less",element_attributes_text:i?"ÐÑе ÑеÑии":"СвеÑнÑÑÑ",event_time:new Date().getTime()};t.props.clickHouseShoot(t.apiUrl,t.apiKey,n),t.setState({isAllSeriesActive:i},()=>{if(!i&&e){let e=document.getElementById("main_header").offsetHeight;window.scrollTo({top:t.seriesRef.current.offsetTop-e})}})}},this.fetchProfileProgress=function(e){let i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{authData:s}=t.props.registration;s&&(null==s?void 0:s.virtual)===!1&&fetch("".concat(t.apiUrl).concat(c.PI.profileProgress).concat(s.profile_id,"/").concat(e).concat(t.apiKey,"&last=").concat(i),{credentials:"include",method:"GET"}).then(e=>{e.status<400&&e.json().then(e=>{var s,r,o;i?t.props.fetchedProfileLastProgress((null==e?void 0:null===(o=e.data)||void 0===o?void 0:null===(r=o.items)||void 0===r?void 0:r[0])||null):t.props.fetchedProfileProgress(null==e?void 0:e.data),t.props.fetchedProfileProgressId(null==e?void 0:null===(s=e.data)||void 0===s?void 0:s.product_id)})})},this.checkForBlock=(e,t)=>{var i,s;let{authData:r}=this.props.registration;if((null==e?void 0:null===(i=e.blocked_content_tv)||void 0===i?void 0:i.length)&&(null==r?void 0:null===(s=r.subscriptions)||void 0===s?void 0:s.length)){let i=null==e?void 0:e.blocked_content_tv.find(e=>e.item===t._id);if(i)return this.props.toggleBlockedContentPopup({visible:!0,id:i.item,date:i.date}),!0}return!1},this.handleClickTab=(e,t,i)=>{e.preventDefault(),e.stopPropagation(),this.handleCategoryClick(t,i)}}}let ey=(0,d.Ng)(e=>({registration:e.registration,systemInformation:e.systemInformation,profile:e.profile,player:e.player,movie:e.movie,parentalControl:e.parentalControl}),e=>({dispatch:e,...(0,_.zH)({initPlayer:y.kI,clickHouseShoot:y.Y3,getPlayerData:g.o2,setAutoTrailer:v.jG,toggleDevicesPopup:w.QQ,toggleDeletedDevicePopup:w.YO,toggleTTKPopup:w.QF,toggleSubscriptionOfferPopup:w.gb,fetchedTariffs:S.ZI,fetchedProfileProgress:v.ay,fetchedProfileLastProgress:v.eY,fetchedProfileProgressId:v.Zw,pushStackAddItem:b.nD,toggleSwitchToAdultProfile:w.bL,toggleBlockedContentPopup:w.uH},e)}))(eS)},75273:(e,t,i)=>{"use strict";i.d(t,{JP:()=>a,Kf:()=>d,MY:()=>n,Qh:()=>s,dM:()=>l,iG:()=>r});let s={TSBR:"tsbr",HOLOD:"holod",LML:"lml",OLDSKUL:"oldskul"},r={SERIES:"series"},o=[{type:s.TSBR,alias:"tvoe-serdce-budet-razbito",flag:"tsbr_customization",hideProductBanners:!0,showProjectElements:!0,ratingVariant:s.TSBR,contentBackgroundStart:null},{type:s.HOLOD,alias:"holod",flag:"holod_customization",hideProductBanners:!1,showProjectElements:!1,ratingVariant:s.HOLOD,contentBackgroundStart:r.SERIES},{type:s.LML,alias:"lyubi-menya-lyubi",flag:"lml_customization",hideProductBanners:null,showProjectElements:null,ratingVariant:null,contentBackgroundStart:null},{type:s.OLDSKUL,alias:"oldskul",flag:"oldskul_customization",hideProductBanners:null,showProjectElements:null,ratingVariant:s.OLDSKUL,contentBackgroundStart:null}],a=e=>{let{alias:t,config:i}=e;return o.find(e=>e.alias===t&&(null==i?void 0:i[e.flag])===!0)||null},n=(e,t)=>(null==e?void 0:e.type)===t,l=e=>n(e,s.TSBR),d=(e,t,i)=>{let s=null==i?void 0:i[null==e?void 0:e.type];return s?null==t?void 0:t[s]:null}},9515:(e,t,i)=>{"use strict";i.d(t,{j:()=>n});var s=i(27116),r=i(98047),o=i(73160),a=i(4229);let n=e=>{let{dispatch:t,ratingAge:i,childProfile:n,parentalControl:l,successCallback:d,closeCallback:_}=e,{pinStatus:c,isEverytime:p}=l,u="true"===sessionStorage.getItem(s.fl),m=c===o.p.DISABLED||c===o.p.REQUIRED&&(!p||u);if(n||i&&"18+"!==i||m){d();return}if(c===o.p.CREATE||c===o.p.PAYMENT_REQUIRED){t((0,r.hi)({visible:!0,type:s.Rr.CREATE,onCompleteCallback:()=>{sessionStorage.setItem(s.fl,"true"),d()},onCloseCallback:e=>{e===a.UT.SUCCESS&&(sessionStorage.removeItem(s.kF),sessionStorage.setItem(s.fl,"true"),d()),_&&_()}}));return}if(c===o.p.REQUIRED&&!0===p){t((0,r.hi)({visible:!0,type:s.Rr.CHECK,shouldCheckPin:!0,onCompleteCallback:()=>{sessionStorage.setItem(s.fl,"true"),d()},onCloseCallback:e=>{e===a.UT.SUCCESS&&(sessionStorage.setItem(s.fl,"true"),d()),_&&_()}}));return}}},58505:(e,t,i)=>{"use strict";function s(e){return{type:"FETCH_MOVIE_CONTENT_FULFILLED",payload:e}}function r(e){return{type:"CHECK_IS_NOTICE",payload:e}}function o(e){return{type:"FETCH_PLAYER_MOVIE_CONTENT_FULFILLED",payload:e}}function a(e){return{type:"SET_MOVIE_LINE",payload:e}}function n(e){return{type:"SET_MUTED",payload:e}}i.d(t,{BC:()=>o,KN:()=>s,Vp:()=>r,b8:()=>a,y5:()=>n})},60963:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>c,Ex:()=>d,JI:()=>_,L$:()=>l});var s=i(74848),r=i(46942),o=i.n(r),a=i(2327),n=i.n(a);let l=e=>{let{className:t,size:i,text:r,textRight:a,textColor:l,textColorRight:_,bgColor:c,bgColorRight:p}=e;return(0,s.jsxs)("div",{className:o()(n()["badge-double"],t),children:[(0,s.jsx)(d,{className:n()["badge-double__left"],textColor:l,bgColor:c,text:r}),(0,s.jsx)(d,{className:n()["badge-double__right"],textColor:_,bgColor:p,text:a})]})},d=e=>{let{className:t,size:i,textColor:r,bgColor:a,text:l}=e;return(0,s.jsx)("div",{className:o()(n().badge,t),style:{color:r,backgroundColor:a},children:l})},_=e=>{let{className:t}=e;return(0,s.jsx)(d,{className:o()(n().premiumBadge,t),text:"PREMIUM"})},c=d},32467:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var s=i(74848),r=i(29965),o=i.n(r),a=i(96540),n=i(35296);let l=(0,a.memo)(e=>{let{className:t,src:i,width:r,height:l,onLoad:d,onError:_,alt:c="cover",priority:p="lazy",fill:u=!1,sizes:m=""}=e,h=(0,a.useRef)(!1),g=(0,a.useRef)(null),v=(0,a.useCallback)(()=>{h.current||(d(),h.current=!0)},[d]);return(0,a.useEffect)(()=>{v(),(null==g?void 0:g.current.complete)&&v()},[v]),(0,s.jsx)(o(),{ref:g,className:t,width:r,height:l,src:i,loader:n.R2,onError:_,onLoad:v,alt:c,fill:u,sizes:m,loading:"lazy"})})},13057:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var s=i(74848),r=i(46942),o=i.n(r),a=i(92841),n=i.n(a);let l=e=>{let{className:t={button:null,title:null,icon:null},isExpand:i=!1,expandedText:r="СвеÑнÑÑÑ",collapsedText:a="ÐоказаÑÑ ÐµÑÑ",arrowSrc:l="/static/images/newVideoUnit/arrow.svg",testId:d=null,onClick:_=()=>{}}=e;return(0,s.jsxs)("div",{className:o()(n().button,t.button),"data-testid":d,onClick:()=>_(!i),children:[(0,s.jsx)("span",{className:o()(n().title,t.title),children:i?r:
1a}),(0,s.jsx)("img",{className:o()(n().icon,{[n()["icon--down"]]:i},t.icon),src:l,alt:"arrow"})]})}},87873:(e,t,i)=>{"use strict";i.d(t,{t:()=>h});var s=i(74848),r=i(46942),o=i.n(r),a=i(91106),n=i.n(a),l=i(96540),d=i(57985),_=i.n(d);let c=e=>{let{children:t,className:i,...r}=e;return(0,s.jsx)("div",{className:i,...r,children:t})},p=e=>{let{children:t,className:i,onClick:r,...o}=e;return(0,s.jsx)("button",{type:"button",className:i,onClick:r,...o,children:t})},u=e=>{let{route:t,children:i,className:r,prefetch:o=!1,...a}=e;return(0,s.jsx)(n(),{href:t,prefetch:o,className:r,...a,children:i})},m=e=>{let{type:t="default",...i}=e;switch(t){case"button":return(0,s.jsx)(p,{...i});case"link":return(0,s.jsx)(u,{...i});default:return(0,s.jsx)(c,{...i})}},h=e=>{let{className:t,tabClassName:i,activeTabId:r,type:a,variant:n="primary",tabSize:d,tabId:c,renderContent:p,tabs:u=[],onClickTab:h,getTabProps:g,accStyle:v,tvCategories:b,ref:S,...y}=e;return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{ref:S,className:o()(y.calendar&&_()[y.calendar],v?_().newTabsWrap4Acc:_().newTabsWrap,_()["container_".concat(n)],"secondary"===n&&_().secondaryTabsWrap,_().tvCategories,t),...y,children:u.map((e,t)=>{let S=null==g?void 0:g(e);return(0,s.jsx)(l.Fragment,{children:e.component?(0,s.jsx)(m,{type:"default",className:o()(i,_()[n],_()[d],t===u.length-1&&_().lastTab,r===e[c]&&[_()["".concat(n,"--active")]],_().secondary__cWrap,(null==y?void 0:y.deviceSize)==="desktop_web"&&!(null==y?void 0:y.arrayOfVisible.includes(t))&&_().secondary__aWrap),onClick:"desktop_web"!==y.deviceSize||(null==y?void 0:y.arrayOfVisible.includes(t))?i=>{null==h||h(i&&i,e,t)}:null,...S,children:(0,s.jsx)("div",{className:_().contentBox,children:e.component})},e[c]||t):(0,s.jsx)(m,{type:a,className:o()(i,_()[v],_()[n],_()[d],r===e[c]&&[o()(_()["".concat(n,"--active")],_()["".concat(d,"--active")])],_().secondary__cWrap,(null==y?void 0:y.deviceSize)==="desktop_web"&&!(null==y?void 0:y.arrayOfVisible.includes(t))&&_().secondary__aWrap),onClick:"desktop_web"!==y.deviceSize||y.arrayOfVisible.includes(t)?i=>{null==h||h(i&&i,e,t)}:null,...S,..."tvCategories"===b&&r===e[c]?{id:"tvchannel_".concat(r)}:{},children:(0,s.jsx)("div",{className:o()(_().contentBox,r===e[c]&&_().activeContentBox),children:y.leftIcon?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:_().leftIconWrapper,children:(0,s.jsx)("img",{src:y.leftIcon,className:_().leftIcon})}),(0,s.jsx)("div",{className:_().contentRight,children:null==p?void 0:p(e)})]}):y.rightIcon?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:_().contentLeft,children:null==p?void 0:p(e)}),(0,s.jsx)("div",{className:_().rightIconWrapper,children:(0,s.jsx)("img",{src:y.rightIcon,className:_().rightIcon})})]}):null==p?void 0:p(e)})},e[c])},e[c]||t)})})})}},12133:e=>{e.exports={"storybook-root":"CategorySlider_storybook-root__MS7Yv",categories__wrapper:"CategorySlider_categories__wrapper__UeB_K",main:"CategorySlider_main__zeaZ5",categories__card:"CategorySlider_categories__card__BNIBz",categories__footer:"CategorySlider_categories__footer__0XAd0",categories__header:"CategorySlider_categories__header___I_V3",categories__head:"CategorySlider_categories__head__erUaa",categories__description:"CategorySlider_categories__description__SHguL",categories__emptyPadding:"CategorySlider_categories__emptyPadding__quycy",categories__player:"CategorySlider_categories__player__O18lg",categories__player_popup:"CategorySlider_categories__player_popup__MkL_A",categories__productPage:"CategorySlider_categories__productPage__jMMEt",categories__categories:"CategorySlider_categories__categories__LL_4e",categories__nt:"CategorySlider_categories__nt__G5fbr",categories__a:"CategorySlider_categories__a__ln1WR",categories__dl:"CategorySlider_categories__dl__k0qdX",categories__dr:"CategorySlider_categories__dr__4vxIr",categories__shadowVisible_rigth:"CategorySlider_categories__shadowVisible_rigth__YnUBq",categories__shadowVisible_left:"CategorySlider_categories__shadowVisible_left__6eQuS",categories__wrap:"CategorySlider_categories__wrap__IkH2H","categories__player-wrap":"CategorySlider_categories__player-wrap__KTMHM",categories__player_popup_wrap:"CategorySlider_categories__player_popup_wrap__77RtO",categories__safari:"CategorySlider_categories__safari__8NcpG",categories__cWrap:"CategorySlider_categories__cWrap__28TGz",categories__aWrap:"CategorySlider_categories__aWrap__J7Gcx",categories__category:"CategorySlider_categories__category__874YA",categories__active:"CategorySlider_categories__active__rmAfV",categories__category_child:"CategorySlider_categories__category_child__NMJP8",categories__data:"CategorySlider_categories__data__zArz_",categories__title:"CategorySlider_categories__title__lxlcP",categories__d:"CategorySlider_categories__d__704bk",categories__empty_categories:"CategorySlider_categories__empty_categories__eaCZZ",categories:"CategorySlider_categories__RoEUB"}},29833:e=>{e.exports={product__banner:"ContentBanner_product__banner__manNy"}},46279:e=>{e.exports={"storybook-root":"NewProduct_storybook-root__uWY0w",product:"NewProduct_product__Uo4O_","product_tvoe-serdce-budet-razbito":"NewProduct_product_tvoe-serdce-budet-razbito__heB5s",product_holod:"NewProduct_product_holod__8aPGv","product__customized-content_holod":"NewProduct_product__customized-content_holod__W_XE7","product__customized-content_oldskul":"NewProduct_product__customized-content_oldskul__qWrPY",onboarding:"NewProduct_onboarding__zaa22","product-block":"NewProduct_product-block__fWG2I",unpage:"NewProduct_unpage__KZ6Xy","product-block__content-wrapper":"NewProduct_product-block__content-wrapper__yBpB5","product-button":"NewProduct_product-button__GZnLL",product__linked:"NewProduct_product__linked__E2TL7",playerHead:"NewProduct_playerHead__6pOOw",player:"NewProduct_player__3m2wc"}},71447:e=>{e.exports={"storybook-root":"Announcement_storybook-root___UMda",wrapper:"Announcement_wrapper__Wp2BY",list:"Announcement_list__nGDJO"}},4011:e=>{e.exports={"storybook-root":"AnnouncementCard_storybook-root__Xpc_b",wrapper:"AnnouncementCard_wrapper__6C3IV",img:"AnnouncementCard_img__abREv",text:"AnnouncementCard_text__pEnN_",text_shaded:"AnnouncementCard_text_shaded__jzvLZ",seasonWrapper:"AnnouncementCard_seasonWrapper__oEeKM",seasonTitle:"AnnouncementCard_seasonTitle__3R29Q",trailerWrapper:"AnnouncementCard_trailerWrapper__jwRqR",trailerPoster:"AnnouncementCard_trailerPoster__RaCni",trailerContent:"AnnouncementCard_trailerContent__M0Jqr",trailerTitle:"AnnouncementCard_trailerTitle__p48WU",trailerButton:"AnnouncementCard_trailerButton__5s7h_",trailerButton__icon:"AnnouncementCard_trailerButton__icon__3jtkZ"}},45145:e=>{e.exports={"storybook-root":"Series_storybook-root__ix6J_",slider:"Series_slider__FXbey","product__slider-wrap":"Series_product__slider-wrap__LQpjT",product__header:"Series_product__header__5MNOb","product__header-button":"Series_product__header-button__e_yyw","product__header-button-icon":"Series_product__header-button-icon__dsr2r","product__header-button-title":"Series_product__header-button-title__8b_YW","product__header-button--active":"Series_product__header-button--active__joRxC","product__header-button-icon--down":"Series_product__header-button-icon--down__JzVNs",product__series:"Series_product__series__NNcaz","product__series-inner":"Series_product__series-inner__mu4QF",product__seasons:"Series_product__seasons__UThEz","product__seasons-player":"Series_product__seasons-player__FYzJ9","product__series-all":"Series_product__series-all__vYb2R","product__series-wrap":"Series_product__series-wrap__uzNpW","product__seasons-item":"Series_product__seasons-item__zDgjg",active:"Series_active___6zRK",playerActive:"Series_playerActive__5sGf5","product__season-tabs-holod":"Series_product__season-tabs-holod__IWubp","product__season-tab-holod":"Series_product__season-tab-holod__NzWnj","product__season-tabs-oldskul":"Series_product__season-tabs-oldskul__xzgUz","product__season-tab-oldskul":"Series_product__season-tab-oldskul__nwa87",product__items:"Series_product__items__B9X6S","product__items-image":"Series_product__items-image__TJzpJ","product__items-image-img":"Series_product__items-image-img__RufM_","product__items-image_play":"Series_product__items-image_play__UJpke","product__items-image_play-announcement":"Series_product__items-image_play-announcement__HHZty","product__items-content":"Series_product__items-content__MPvrx","product__items-default":"Series_product__items-default__1RRb5","product__items-description":"Series_product__items-description__94J4B","product__items-title-wrapper":"Series_product__items-title-wrapper__3Hyk8","product__items-title":"Series_product__items-title__xFLWK",playerTitle:"Series_playerTitle__Z0ylG","product__items-title_text":"Series_product__items-title_text__jLG10","product__items-duration":"Series_product__items-duration__7cLAy","product__items-button-wrapper":"Series_product__items-button-wrapper__Mo7CK",all:"Series_all__Driha","product__items-show-more":"Series_product__items-show-more__z0oSy","product__items-show-more-image":"Series_product__items-show-more-image__Zlmza",down:"Series_down__pmgNY","product__items-show-all-wrapper":"Series_product__items-show-all-wrapper__cRyAV","product__items-image-player":"Series_product__items-image-player___Gg1o","product__items-content-player":"Series_product__items-content-player__chfdj",watched:"Series_watched__s7esS","wat
1ched-line":"Series_watched-line__sc98i","red-line":"Series_red-line__aAKod","white-line":"Series_white-line__o5LgB","watched-title":"Series_watched-title__kOzoj","product__items-title-badge":"Series_product__items-title-badge__W_HQ2"}},11735:e=>{e.exports={"storybook-root":"SeriesCard_storybook-root__90b2n",item:"SeriesCard_item__iPqDk",watched:"SeriesCard_watched__Hdh5s","watched-line":"SeriesCard_watched-line__9btnF","red-line":"SeriesCard_red-line__AOTmf","watched-title":"SeriesCard_watched-title__JAkYP","watched-progress-title":"SeriesCard_watched-progress-title__inKJc","item-img-wrap":"SeriesCard_item-img-wrap__nqpl7","item-img-wrap-poster":"SeriesCard_item-img-wrap-poster__ZWf23","item-img-wrap-play-img":"SeriesCard_item-img-wrap-play-img__3Ra1l","item-img-wrap-text":"SeriesCard_item-img-wrap-text__ECFVf","item-img-wrap-text-title":"SeriesCard_item-img-wrap-text-title___OOeA","item-img-wrap-text-subtitle":"SeriesCard_item-img-wrap-text-subtitle__9PNgw","item-img-wrap-time":"SeriesCard_item-img-wrap-time__1Ot9n","item-img-wrap-announcement":"SeriesCard_item-img-wrap-announcement__KnZ7V","item-img-wrap-announcement-poster":"SeriesCard_item-img-wrap-announcement-poster__EYYcI","item-img-wrap-announcement-with-overlay":"SeriesCard_item-img-wrap-announcement-with-overlay__HR7CV",item__link:"SeriesCard_item__link__IaaZh",item__description:"SeriesCard_item__description__sVc7d",item__titles:"SeriesCard_item__titles__1erVA","item__titles-title-badge-block":"SeriesCard_item__titles-title-badge-block__SQJbq","item__titles-title-wrap":"SeriesCard_item__titles-title-wrap__pgkZl","item__titles-title":"SeriesCard_item__titles-title__CNl2c",item__premium_badge:"SeriesCard_item__premium_badge__mYHDA"}},36617:e=>{e.exports={"storybook-root":"SeriesSlider_storybook-root__PGIvo","slider-wrap":"SeriesSlider_slider-wrap__S_nmf","skeleton-card":"SeriesSlider_skeleton-card__bQBCE",items_wrap:"SeriesSlider_items_wrap__PUZ4X","item-wrap":"SeriesSlider_item-wrap__G1qJM",item:"SeriesSlider_item__hiIc9",watched:"SeriesSlider_watched__kEPtD","watched-line":"SeriesSlider_watched-line__adSJZ","red-line":"SeriesSlider_red-line__aZST2","watched-title":"SeriesSlider_watched-title__XPVys","watched-progress-title":"SeriesSlider_watched-progress-title___FMfJ","item-img-wrap":"SeriesSlider_item-img-wrap__I7GJY","item-img-wrap-poster":"SeriesSlider_item-img-wrap-poster__0Y0qs","item-img-wrap-play-img":"SeriesSlider_item-img-wrap-play-img__oRYrJ","item-img-wrap-time":"SeriesSlider_item-img-wrap-time__RcT4a","item-img-wrap-rating":"SeriesSlider_item-img-wrap-rating__2CJrA","item-img-wrap-rating-high":"SeriesSlider_item-img-wrap-rating-high__gyEso","item-img-wrap-text":"SeriesSlider_item-img-wrap-text__DlNJt","item-img-wrap-text-title":"SeriesSlider_item-img-wrap-text-title__gdDA6","item-img-wrap-text-subtitle":"SeriesSlider_item-img-wrap-text-subtitle__IYTcU","item-img-wrap-announcement":"SeriesSlider_item-img-wrap-announcement__YDf17","item-img-wrap-announcement-poster":"SeriesSlider_item-img-wrap-announcement-poster__1nRjA","item-img-wrap-announcement-with-overlay":"SeriesSlider_item-img-wrap-announcement-with-overlay__cd24m",item__link:"SeriesSlider_item__link__gw28x",item__description:"SeriesSlider_item__description__moG3x",item__titles:"SeriesSlider_item__titles__pc9z_","item__titles-title-badge-block":"SeriesSlider_item__titles-title-badge-block__3nsxM","item__titles-title-wrap":"SeriesSlider_item__titles-title-wrap__PJyj7","item__titles-title":"SeriesSlider_item__titles-title__4rrP5","item__titles-time":"SeriesSlider_item__titles-time__jITei",item__premium_badge:"SeriesSlider_item__premium_badge___ZqZ_","item__description-all":"SeriesSlider_item__description-all__V2peQ",item__subtitle:"SeriesSlider_item__subtitle___7Sgz",inPlayer:"SeriesSlider_inPlayer__8xMsT",current:"SeriesSlider_current__Hk87b",item__time:"SeriesSlider_item__time__oirhL"}},74351:e=>{e.exports={"storybook-root":"WatchMarkups_storybook-root__orJyD",watched:"WatchMarkups_watched__qs9yW","watched-line":"WatchMarkups_watched-line__Kbmm6","red-line":"WatchMarkups_red-line__UxVAR","watched-title":"WatchMarkups_watched-title__4TRx1","watched-time":"WatchMarkups_watched-time__X0LN5","watched-progress-title":"WatchMarkups_watched-progress-title__4wOLj",duration:"WatchMarkups_duration__71ys8",series__watched:"WatchMarkups_series__watched__JkJRy"}},2327:e=>{e.exports={"storybook-root":"Badge_storybook-root__BDw8n",badge:"Badge_badge__GrobN","badge-double":"Badge_badge-double__7cJIO","badge-double__left":"Badge_badge-double__left__Xm0CL","badge-double__right":"Badge_badge-double__right__I_ofx",premiumBadge:"Badge_premiumBadge__SSAC_"}},92841:e=>{e.exports={"storybook-root":"ExpandButton_storybook-root__jiGKt",button:"ExpandButton_button__WvWiX",title:"ExpandButton_title__YCZWn",icon:"ExpandButton_icon__I7uOf","icon--down":"ExpandButton_icon--down__h5UFE"}},57985:e=>{e.exports={"storybook-root":"Tabs_storybook-root__jMod1",newTabsWrap:"Tabs_newTabsWrap__p2X30",secondaryTabsWrap:"Tabs_secondaryTabsWrap__diXSF",contentBox:"Tabs_contentBox__yXrPd",leftIconWrapper:"Tabs_leftIconWrapper__43q3q",leftIcon:"Tabs_leftIcon__hgaAZ",contentRight:"Tabs_contentRight__fCZb8",rightIconWrapper:"Tabs_rightIconWrapper__XJtE2",contentLeft:"Tabs_contentLeft__Mk80b",rightIcon:"Tabs_rightIcon__dl_t1",calendar:"Tabs_calendar__vNRGj",secondary:"Tabs_secondary__w55e0","secondary--active":"Tabs_secondary--active__s2lPR",secondary__aWrap:"Tabs_secondary__aWrap__0kOzt",large:"Tabs_large__g_dtP","large--active":"Tabs_large--active__rh6vA",medium:"Tabs_medium__OLlel","medium--active":"Tabs_medium--active__7EWwq",small:"Tabs_small__tzCoe","small--active":"Tabs_small--active__JUwwX",primary:"Tabs_primary__LfP_h","primary--active":"Tabs_primary--active__8reyf",activeContentBox:"Tabs_activeContentBox__odGve",accStyle:"Tabs_accStyle__ew0m8",newTabsWrap4Acc:"Tabs_newTabsWrap4Acc__5mpJ7",tvCategories:"Tabs_tvCategories__hpavj"}}}]);
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.