1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[50],{1159:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/news/events/[slug]",function(){return s(5414)}])},8109:function(e,t){"use strict";t.Z={src:"/_next/static/media/mrteatr.e8a35a0c.jpg",height:1024,width:2048,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAEAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAbEAACAQUAAAAAAAAAAAAAAAAAEQEFFBYxYf/EABUBAQEAAAAAAAAAAAAAAAAAAAEE/8QAFxEBAAMAAAAAAAAAAAAAAAAAAAISUf/aAAwDAQACEQMRAD8AoGLUhu2jXAACm8tf/9k=",blurWidth:8,blurHeight:4}},5414:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return b}});var r=s(5893),a=s(6154),l=s(4246),n=s.n(l),i=s(5675),o=s.n(i),c=s(8042),_=s(5635),u=s(9008),p=s.n(u),d=s(8058),g=s(8420),A=s(1806),m=s(1664),h=s.n(m),x=s(8109),j=s(7294),f=s(1163),v=s(4952),b=!0;t.default=e=>{var t,s,l;let{data:i}=e,{title:u,description:m,body:b,image:E,metaDescription:N,metaKeywords:w,metaTitle:y,date:S,hideTime:C,slug:T,registrationClosed:F,showRegistrationForm:O,registrationFormPersons:z}=i,[k,D]=(0,j.useState)(!1),[B,P]=(0,j.useState)(""),[Z,I]=(0,j.useState)(""),[L,Q]=(0,j.useState)(""),[M,W]=(0,j.useState)([]),[H,U]=(0,j.useState)(!1),getNameError=()=>M.filter(e=>"name"===e.field),getEmailError=()=>M.filter(e=>"email"===e.field),getPersonsError=()=>M.filter(e=>"persons"===e.field),handleSubmit=async e=>{e.preventDefault(),D(!0);let t=await (0,a.Z)({method:"get",url:"/capi/forms/event-registration",baseURL:"",withCredentials:!0,headers:{"Content-Type":"multipart/form-data","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":!0}}).then(e=>e.data).catch(e=>{D(!1),console.log(e),W(e.response.data.message)}),s=new FormData;s.append("name",B),s.append("email",Z),s.append("persons",L),s.append("event",T),s.append("csrf",t.csrf),W([]),await (0,a.Z)({method:"post",url:"/capi/forms/event-registration",baseURL:"",data:s,headers:{"Content-Type":"multipart/form-data","Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":!0},withCredentials:!0}).then(e=>{D(!1),!0===e.data.success&&U(!0),!1===e.data.success&&W(e.data.message)}).catch(e=>{D(!1),console.log(e.response.data.errors),W(e.response.data.errors)})},[K,R]=(0,j.useState)(!1),q=(0,f.useRouter)(),{footer:J}=(0,v.rq)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(p(),{children:[(0,r.jsx)("meta",{name:"format-detection",content:"telephone=no"}),(0,r.jsx)("title",{children:y||"".concat(u," â ").concat(J.siteTitle)}),(0,r.jsx)("meta",{content:N,name:"description"},"desc"),(0,r.jsx)("meta",{content:w,name:"keywords"},"keywords"),(0,r.jsx)("meta",{property:"og:url",content:"".concat("https://mrteatr.ru").concat(q.asPath)}),(0,r.jsx)("meta",{property:"og:title",content:y||"".concat(u," â ").concat(J.siteTitle)}),(0,r.jsx)("meta",{property:"og:type",content:"article"}),(0,r.jsx)("meta",{property:"og:image",content:x.Z.src}),(0,r.jsx)("meta",{property:"og:image:type",content:"image/jpeg"}),(0,r.jsx)("meta",{property:"og:image:width",content:x.Z.width.toString()||"1200"}),(0,r.jsx)("meta",{property:"og:image:height",content:x.Z.height.toString()||"630"}),(0,r.jsx)("script",{type:"text/javascript",src:"/assets/share.js",defer:!0})]}),(0,r.jsx)("div",{className:n().person,children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:n().wrapper,children:[(0,r.jsx)("div",{className:n().left,children:(0,r.jsxs)("div",{className:n().leftWrapper,children:[(0,r.jsxs)("div",{className:n().leftTop,children:[(0,r.jsx)(h(),{href:"/news/events",className:n().category,children:"СобÑÑиÑ"}),(0,r.jsx)("p",{className:n().date,children:C?(0,r.jsx)(r.Fragment,{children:(0,d.Z)((0,g.Z)(S),"d/MM/yyyy",{locale:A.Z})}):(0,r.jsx)(r.Fragment,{children:(0,d.Z)((0,g.Z)(S),"d/MM/yyyy HH:mm",{locale:A.Z})})}),(0,r.jsx)(_.Z,{})]}),(0,r.jsx)("div",{className:n().leftImage,children:E&&(0,r.jsx)(o(),{priority:!0,quality:100,fill:!0,objectFit:"cover",alt:"#",src:"https://mrteatr.ru"+E,sizes:c.AV})}),(0,r.jsx)("p",{className:n().name,children:u})]})}),(0,r.jsx)("div",{className:n().right,children:(0,r.jsxs)("div",{className:n().rightWrapper,children:[(0,r.jsxs)("div",{className:n().block,children:[(0,r.jsx)("div",{id:"biography",className:n().anchor}),m&&(0,r.jsx)("div",{className:"".concat(n().bio," wysiwyg"),dangerouslySetInnerHTML:{__html:m||""}}),b&&(0,r.jsx)("div",{className:"".concat(n().bio," ").concat(n().bioFull," wysiwyg"),dangerouslySetInnerHTML:{__html:b||""}})]}),F&&(0,r.jsx)(r.Fragment,{children:O?(0,r.jsx)("p",{className:n().formTitle,children:"РегиÑÑÑаÑÐ¸Ñ Ð·Ð°ÐºÑÑÑа"}):(0,r.jsx)("p",{className:n().formTitle,children:"Ðез ÑегиÑÑÑаÑии"})}),O&&(0,r.jsxs)(r.Fragment,{children:[!F&&H&&(0,r.jsx)("p",{className:n().formTitle,children:"ÐÑ ÑÑпеÑно заÑегиÑÑÑиÑовалиÑÑ Ð½Ð° ÑобÑÑие"}),!F&&!H&&(0,r.jsxs)("form",{onSubmit:handleSubmit,className:n().form,children:[(0,r.jsx)("p",{className:n().formTitle,children:"РегиÑÑÑаÑиÑ"}),(0,r.jsxs)("label",{className:n().label,children:[(0,r.jsx)("input",{onChange:e=>{P(e.target.value)},type:"text",placeholder:"имÑ",className:"".concat(n().input," ").concat(1===getNameError().length?n().inputError:"")}),0!==M.length&&(0,r.jsx)("p",{className:n().error,children:null===(t=getNameError()[0])||void 0===t?void 0:t.errors[0]})]}),(0,r.jsxs)("label",{className:n().label,children:[(0,r.jsx)("input",{onChange:e=>{I(e.target.value)},type:"text",placeholder:"email",className:"".concat(n().input," ").concat(1===getEmailError().length?n().inputError:"")}),0!==M.length&&(0,r.jsx)("p",{className:n().error,children:null===(s=getEmailError()[0])||void 0===s?void 0:s.errors[0]})]}),z&&(0,r.jsxs)("label",{className:n().label,children:[(0,r.jsxs)("select",{value:L,onChange:e=>{Q(e.target.value)},className:"".concat(n().input," ").concat(n().inputSelect," ").concat(1===getPersonsError().length?n().inputError:""),name:"persons",id:"",children:[(0,r.jsx)("option",{disabled:!0,selected:!0,value:"",children:"колиÑеÑÑво Ñеловек"}),(0,r.jsx)("option",{value:"1",children:"1"}),(0,r.jsx)("option",{value:"2",children:"2"}),(0,r.jsx)("option",{value:"3",children:"3"}),(0,r.jsx)("option",{value:"4",children:"4"})]}),0!==M.length&&(0,r.jsx)("p",{className:n().error,children:null===(l=getPersonsError()[0])||void 0===l?void 0:l.errors[0]})]}),(0,r.jsx)("button",{className:n().subscribe,children:k?"ÐодождиÑе...":"ÐаÑегиÑÑÑиÑоваÑÑÑÑ"})]})]})]})})]})})})]})}},5635:function(e,t,s){"use strict";var r=s(5893),a=s(7294);let l=a.lazy(()=>s.e(310).then(s.bind(s,3310)));t.Z=function(){return(0,r.jsx)("div",{children:(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)("div",{children:"ÐагÑÑзка..."}),children:(0,r.jsx)(l,{})})})}},4246:function(e){e.exports={person:"_slug__person__BFFSo",wrapper:"_slug__wrapper__QuqhJ",date:"_slug__date__ni_hp",left:"_slug__left__W6meQ",leftWrapper:"_slug__leftWrapper__Ml_DR",leftTop:"_slug__leftTop__9TYzk",category:"_slug__category__4LCf2",leftImage:"_slug__leftImage__KqHQu",noImage:"_slug__noImage__wPH04",name:"_slug__name__vvevv",rankPos:"_slug__rankPos__GwHz3",rightWrapper:"_slug__rightWrapper__DPmfq",rightTop:"_slug__rightTop__xF4uA",rightLink:"_slug__rightLink__Vfp6e",block:"_slug__block__h04B2",anchor:"_slug__anchor__o_9ul",bio:"_slug__bio__OKPvX",bioFull:"_slug__bioFull__Afxo3",textButton:"_slug__textButton__xLE_Z",eventFio:"_slug__eventFio__D_nxg",productionsTitle:"_slug__productionsTitle__WPF9T",production:"_slug__production__0iwtp",repertoireTitle:"_slug__repertoireTitle__qrlVw",imageWrapper:"_slug__imageWrapper__oFKea",form:"_slug__form__PidE8",subscribe:"_slug__subscribe__i6736",formTitle:"_slug__formTitle__9Oo6u",input:"_slug__input__NIKCn",inputSelect:"_slug__inputSelect__FmvFn",error:"_slug__error__EJbZ_",inputError:"_slug__inputError__hLe1_",label:"_slug__label__XGLbf"}}},function(e){e.O(0,[622,774,888,179],function(){return e(e.s=1159)}),_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.