1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9414],{41310:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/live",function(){return i(49622)}])},49622:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>f});var s=i(74848),a=i(96540),r=i(23421),l=i.n(r),_=i(30291),c=i(29965),n=i.n(c),o=i(35296),d=i(74368),h=i(86715),v=i.n(h),u=i(41364),w=i(47819),m=i(72202);let f=()=>{var e,t;let{deviceSize:i,config:r}=(0,d.d4)(e=>e.systemInformation),c=(0,d.d4)(e=>e.systemInformation.locale||"ru"),{favorites:h}=(0,d.d4)(e=>e.profile),{authData:f}=(0,d.d4)(e=>e.registration),[p,x]=(0,a.useState)(),[g,j]=(0,a.useState)(!1),b=(0,u.rD)(),C=(0,u.RP)(),N=(0,d.wA)(),q="".concat(b).concat(w.PI.watchUrl,"/").concat(encodeURI("tvoe-serdce-budet-razbito")).concat(C),L=e=>{e.preventDefault(),e.stopPropagation();let t="".concat(b).concat(w.PI.favorites).concat(f.profile_id).concat(C);try{fetch(t,{credentials:"include",method:g?"DELETE":"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({product_id:p.uid})}).then(e=>{e.status<400&&N((0,m.Jb)(f.profile_id,b,C,c))})}catch(e){console.error(e)}},k=e=>{if(Array.isArray(h)){let t=h.map(e=>e._id);return null==t?void 0:t.includes(e)}return!1};return((0,a.useEffect)(()=>{p&&j(k(p._id))},[p,h]),(0,a.useEffect)(()=>{f&&(null==f?void 0:f.virtual)&&((0,o.Uy)(),v().push("/auth"))},[f]),(0,a.useEffect)(()=>{fetch(q,{method:"GET",credentials:"include"}).then(e=>{e.status<400&&e.json().then(e=>x(e))})},[]),!f||(null==f?void 0:f.virtual))?null:(0,s.jsxs)("main",{className:l().container,children:[(0,s.jsx)(_.A,{title:"ÐÑÑмой ÑÑÐ¸Ñ Ñо\xa0звÑздами ÑилÑма \xabÐ¢Ð²Ð¾Ñ ÑеÑдÑе бÑÐ´ÐµÑ ÑазбиÑо\xbb",canonical:"/live",description:"ÐÑÑмой ÑÑÐ¸Ñ Ñо\xa0звÑздами ÑилÑма \xabÐ¢Ð²Ð¾Ñ ÑеÑдÑе бÑÐ´ÐµÑ ÑазбиÑо\xbb"}),(0,s.jsxs)("div",{className:l().content,children:[(0,s.jsxs)("div",{className:l().frame,children:[(0,s.jsx)("h1",{children:"ÐÑÑмой ÑÑÐ¸Ñ Ñо\xa0звÑздами ÑилÑма \xabÐ¢Ð²Ð¾Ñ ÑеÑдÑе бÑÐ´ÐµÑ ÑазбиÑо\xbb"}),(null==r?void 0:null===(e=r.live)||void 0===e?void 0:e.url)?(0,s.jsx)("iframe",{width:"716",height:"404",src:null==r?void 0:null===(t=r.live)||void 0===t?void 0:t.url,allow:"clipboard-write; autoplay",allowFullScreen:!0,skinColor:"#FF0019"}):(0,s.jsx)(n(),{loader:o.R2,src:"/static/images/tsbr/cap.png",alt:"qr",width:716,height:404})]}),(0,s.jsxs)("div",{className:l().qr,children:[(0,s.jsxs)("div",{className:l().qr__text,children:[(0,s.jsx)("div",{className:l().qr__title,children:"ÐбÑÑждайÑе ÑÑÐ¸Ñ Ð²\xa0наÑем Telegram-канале"}),(0,s.jsx)("div",{className:l().qr__tip,children:"ÐаведиÑе камеÑÑ Ð½Ð°\xa0QR-код, ÑÑобÑ\xa0пеÑейÑи по\xa0ÑÑÑлке"})]}),"mobile_web"!==i?(0,s.jsx)("div",{className:l().qr__image,children:(0,s.jsx)(n(),{loader:o.R2,src:"/static/images/tsbr/qr.svg",alt:"qr",width:200,height:174})}):(0,s.jsxs)("div",{className:l().qr__button,onClick:()=>{window.location.href="https://t.me/start_shows"},children:[(0,s.jsx)("div",{children:"ÐеÑейÑи в ÑаÑ"}),(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,s.jsx)("g",{clipPath:"url(#clip0_157_3862)",children:(0,s.jsx)("path",{d:"M1.4564 10.7439C8.10531 7.81331 16.7167 4.23945 17.9062 3.75102C21.0225 2.45251 21.974 2.70264 21.4744 5.57365C21.1295 7.63459 20.1423 14.4488 19.3573 18.6778C18.8934 21.1915 17.8467 21.4893 16.1934 20.4052C15.4083 19.8811 11.4356 17.2245 10.5317 16.605C9.62771 15.9855 8.65239 15.4137 10.0202 14.008L16.1934 8.05156C16.2527 7.98684 16.287 7.90309 16.2902 7.81532C16.2934 7.72755 16.2652 7.64155 16.2108 7.57269C16.1564 7.50382 16.0793 7.45665 15.9932 7.43962C15.9072 7.4226 15.8179 7.43681 15.7414 7.47976C12.3753 9.70747 7.72464 12.8048 7.12993 13.2099C6.66096 13.5574 6.11166 13.7801 5.53337 13.8572C4.95509 13.9343 4.36675 13.8632 3.82335 13.6506C2.63392 13.3171 1.52775 12.924 1.07577 12.7691C-0.601326 12.233 -0.196911 11.4825 1.4564 10.7439Z",fill:"white"})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_157_3862",children:(0,s.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]})]})]}),(0,s.jsxs)("div",{className:l().watch,children:[(0,s.jsx)("div",{className:l().watch__title,children:"СмоÑÑиÑе ÑилÑм пÑÑмо ÑейÑаÑ"}),(0,s.jsxs)("div",{className:l().watch__image,onClick:()=>{v().push("/watch/tvoe-serdce-budet-razbito")},children:[(0,s.jsx)("div",{className:l().watch__fade,children:(0,s.jsx)("div",{className:l().watch__favorites,onClick:e=>L(e),children:g?(0,s.jsx)(n(),{loader:o.R2,src:"/static/images/tsbr/favorite_active.svg",alt:"tsbr",width:16,height:16}):(0,s.jsx)(n(),{loader:o.R2,src:"/static/images/tsbr/favorite.svg",alt:"tsbr",width:16,height:16})})}),(0,s.jsx)(n(),{loader:o.R2,src:"/static/images/tsbr/img_desktop_web.png",alt:"tsbr",width:716,height:404})]})]})]})]})}},23421:e=>{e.exports={"storybook-root":"Live_storybook-root__2Y9DR",container:"Live_container__sVfaR",frame:"Live_frame__O3XRU",qr:"Live_qr__tYbga",qr__text:"Live_qr__text__TJCbX",qr__title:"Live_qr__title__5H6PA",qr__tip:"Live_qr__tip__pb5Ua",qr__image:"Live_qr__image__r4aTg",watch:"Live_watch__8k3KN",watch__title:"Live_watch__title__1YJjf",watch__image:"Live_watch__image__vnzYs",watch__fade:"Live_watch__fade__LN1o_",watch__favorites:"Live_watch__favorites__HCKmv",qr__button:"Live_qr__button__sxZ32"}}},e=>{var t=t=>e(e.s=t);e.O(0,[636,6593,8792],()=>t(41310)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.