1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2390],{52390:(e,i,o)=>{"use strict";o.r(i),o.d(i,{default:()=>b});var l=o(74848),t=o(86715),s=o(96540),n=o(74368),a=o(80364),r=o(47819),d=o(27116),_=o(35296),c=o(98047),p=o(97461),u=o(44931),g=o(98481),m=o(43699),h=o(83991),v=o.n(h);let x=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.2439 4.24416C14.5694 3.91872 15.097 3.91872 15.4224 4.24416C15.7479 4.56959 15.7479 5.09723 15.4224 5.42267L11.0117 9.83341L15.4224 14.2442C15.7479 14.5696 15.7479 15.0972 15.4224 15.4227C15.097 15.7481 14.5694 15.7481 14.2439 15.4227L9.83315 11.0119L5.42239 15.4227C5.09695 15.7481 4.56932 15.7481 4.24388 15.4227C3.91844 15.0972 3.91844 14.5696 4.24388 14.2441L8.65462 9.8334L4.24388 5.42266C3.91844 5.09722 3.91844 4.56958 4.24388 4.24415C4.56932 3.91871 5.09695 3.91871 5.42239 4.24415L9.83316 8.65492L14.2439 4.24416Z",fill:"currentColor"})}),b=()=>{var e;let i=(0,n.wA)(),o=(0,t.useRouter)(),h=(0,a.A)(),{movie:b}=(0,n.d4)(e=>e.movie),{cdpPulls:w,pendingSubscription:M,childProfile:j}=(0,n.d4)(e=>e.profile),{authData:f,subscriptionType:k}=(0,n.d4)(e=>e.registration),{mobileMenuPopup:N}=(0,n.d4)(e=>e.toggle),C=(0,r.zN)(M),L=(0,_.Vc)(C),y=w.some(e=>!e.is_watched),P=(null==f?void 0:null===(e=f.subscriptions)||void 0===e?void 0:e.length)>0&&k!==d.tO.LITE,A=()=>{i((0,c.gK)(!1))},E=()=>{let{asPath:e}=o;if(localStorage.removeItem("url"),(0,_.KV)(),e&&-1!==e.indexOf("watch")&&!(null==b?void 0:b.is_preview)){var i;b&&b.background&&b.background.image_15x&&localStorage.setItem("bgUrl",b.background.image_15x);let e=null==b?void 0:null===(i=b.badges)||void 0===i?void 0:i.filter(e=>"logo"===e.type||"start"===e.type||"badge"===e.type&&e.under_logo_position);(null==e?void 0:e.length)&&!(null==b?void 0:b.is_preview)&&(0,_.TV)("badges",JSON.stringify(e)),b&&b.logotype&&b.logotype.image_15x&&!(null==b?void 0:b.is_preview)&&localStorage.setItem("logoUrl","".concat(h).concat(b.logotype.image_15x))}};return(0,s.useEffect)(()=>{N&&(window.onpopstate=()=>{A(),history.go(1)})},[o]),(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:v().container,children:(0,l.jsxs)("div",{className:v().wrapper,children:[(0,l.jsx)("div",{className:v().header,children:(0,l.jsx)(p.$n,{iconLeft:(0,l.jsx)(x,{}),className:v().close,onClick:()=>{A()},size:p.GO.SMALL,variant:p.Vt.TERTIARY})}),(0,l.jsxs)("div",{className:v().content,children:[P&&(0,l.jsx)(m.I,{switchId:"switch-menu",wrapperClassName:v().item,LabelComponent:(0,l.jsxs)("div",{className:v().item__label,children:[(0,l.jsx)("div",{className:v().item__img,children:(0,l.jsx)("img",{src:"/static/images/header/kidsAvatarBearLight.svg",alt:"kids",width:24,height:24})}),(0,l.jsx)("span",{className:v().item__text,children:"START Ð´Ð»Ñ Ð´ÐµÑей"})]})}),j?null:(0,l.jsx)(g.A,{closeHandler:A,addBackground:E,isExtendSubscription:L,hasNotifications:y}),(0,l.jsx)(u.A,{addBackground:E,closeHandler:A,isMobile:!0})]})]})})})}},83991:e=>{e.exports={"storybook-root":"MobileMenuPopup_storybook-root__NUMh_",container:"MobileMenuPopup_container__1VKD8",wrapper:"MobileMenuPopup_wrapper__xmJ5s",header:"MobileMenuPopup_header__eklTy",close:"MobileMenuPopup_close__tAg2R",content:"MobileMenuPopup_content__KWqBh",item:"MobileMenuPopup_item__xwzzG",item__img:"MobileMenuPopup_item__img__7Eq6n",item__label:"MobileMenuPopup_item__label__F2Ved",item__text:"MobileMenuPopup_item__text__Jw8b4"}}}]);
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.