1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8ed799dd-a0cc-4c1f-969b-49782e9ef1a4",e._sentryDebugIdIdentifier="sentry-dbid-8ed799dd-a0cc-4c1f-969b-49782e9ef1a4")}catch(e){}try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="8ed799dd-a0cc-4c1f-969b-49782e9ef1a4",e._sentryDebugIdIdentifier="sentry-dbid-8ed799dd-a0cc-4c1f-969b-49782e9ef1a4")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9917],{45224:function(e,r,n){"use strict";n.d(r,{JV:function(){return s},YC:function(){return t},Yy:function(){return u}});var t={title:"ÐÑ
од на ÑÐ°Ð¹Ñ â ÐиÑÑÐµÑ ÐвÑоÑÑ",description:"ÐÑ
од в лиÑнÑй ÐºÐ°Ð±Ð¸Ð½ÐµÑ Ð½Ð° ÑайÑе ÐиÑÑÐµÑ ÐвÑоÑÑ - â©ÐздаÑелÑÑÐºÐ°Ñ Ð¿Ð»Ð°ÑÑоÑма Ð´Ð»Ñ Ð¿Ð¸ÑаÑелей, âÑ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÐºÐ¾ÑоÑой можно опÑбликоваÑÑ ÑÐ²Ð¾Ñ ÐºÐ½Ð¸Ð³Ñ"},u={title:"РегиÑÑÑаÑÐ¸Ñ â ÐиÑÑÐµÑ ÐвÑоÑÑ",description:"РегиÑÑÑаÑии на ÑайÑе ÐиÑÑÐµÑ ÐвÑоÑÑ - â©ÐздаÑелÑÑÐºÐ°Ñ Ð¿Ð»Ð°ÑÑоÑма Ð´Ð»Ñ Ð¿Ð¸ÑаÑелей, âÑ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÐºÐ¾ÑоÑой можно опÑбликоваÑÑ ÑÐ²Ð¾Ñ ÐºÐ½Ð¸Ð³Ñ"},s={title:"ÐоÑÑÑановление паÑÐ¾Ð»Ñ â ÐиÑÑÐµÑ ÐвÑоÑÑ",description:"ÐоÑÑÑановление паÑÐ¾Ð»Ñ Ð½Ð° ÑайÑе ÐиÑÑÐµÑ ÐвÑоÑÑ - â©ÐздаÑелÑÑÐºÐ°Ñ Ð¿Ð»Ð°ÑÑоÑма Ð´Ð»Ñ Ð¿Ð¸ÑаÑелей, âÑ Ð¿Ð¾Ð¼Ð¾ÑÑÑ ÐºÐ¾ÑоÑой можно опÑбликоваÑÑ ÑÐ²Ð¾Ñ ÐºÐ½Ð¸Ð³Ñ"}},86750:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSP:function(){return j},default:function(){return R}});var t=n(50029),u=n(64687),s=n.n(u),i=n(42119),o=n(2313),a=n(67294),c=n(14416),l=n(16310),d=n(35407),f=n(62754),g=n(89637),m=n(36613),h=n(70145),p=n(35662),_=n.n(p),b=n(85893),w=l.Ry().shape({username:l.Z_().min(1).required("ÐведиÑе логин"),password:l.Z_().min(1).required("ÐведиÑе паÑолÑ")}),y=function(e){var r=e.handleSuccess,n=(0,c.v9)(m.go),u=(0,c.v9)(m.xl),l=(0,a.useState)(""),p=l[0],y=l[1],v=(0,a.useState)(""),x=v[0],P=v[1],F=(0,a.useState)(!1),E=F[0],I=F[1],T=(0,a.useState)([]),j=T[0],R=T[1],N=(0,c.I0)(),k=(0,i.V)({username:p,password:x},w),D=k.validationErrors,L=k.validateAllFieldsAsync,S=k.debouncedValidate;function A(){return(A=(0,t.Z)(s().mark(function e(n){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return I(!0),R([]),n.preventDefault(),e.next=5,L();case 5:if(!e.sent){e.next=9;break}return I(!1),e.abrupt("return");case 9:return e.next=11,(0,o.K)({username:p,password:x}).then(function(e){e.errors.length?R(e.errors):(N((0,h.rk)()),r&&r()),I(!1)});case 11:case"end":return e.stop()}},e)}))).apply(this,arguments)}(0,a.useEffect)(function(){!n&&u.length>0&&R(u.map(function(e){return{field:e.field,messages:Array.isArray(e.messages)?e.messages[0]:e.messages}}))},[u,n]);var V=j.length>0;return(0,b.jsxs)("form",{onSubmit:function(e){return A.apply(this,arguments)},children:[(0,b.jsxs)("div",{className:_().root,children:[(0,b.jsx)(f.o,{className:_().loginInput,labelText:"Ðогин",value:p,onChange:function(e){y(e)},debouncedValidate:function(){S("username")},errorMessage:D.username,autocomplete:"email",hasError:V,dataTestId:"publisherLoginForm__emailInput"}),(0,b.jsx)(f.o,{labelText:"ÐаÑолÑ",value:x,type:"password",onChange:function(e){P(e)},debouncedValidate:function(){S("password")},errorMessage:D.password,autocomplete:"current-password",hasError:V,dataTestId:"publisherLoginForm__passwordInput"}),V&&j.map(function(e){return(0,b.jsx)("div",{children:"string"==typeof e.messages?(0,b.jsx)(g.K0,{className:_().withError,children:e.messages}):e.messages.map(function(e){return(0,b.jsx)(g.K0,{className:_().withError,children:e},e)})},e.messages[0])})]}
1),(0,b.jsx)("div",{className:_().publisherLoginFormFooter,children:(0,b.jsx)(d.z,{size:"medium",type:"submit",disabled:E,isLoading:E,dataTestId:"publisherLoginForm__loginButton",children:"ÐойÑи"})})]})},v=n(11163),x=n(3490),P=n(45224),F=n(63690),E=n(21979),I=n(92042),T=n.n(I),j=!0,R=function(){var e=(0,c.v9)(m.go),r=(0,v.useRouter)();return(0,a.useEffect)(function(){e||(0,E.z)(r.query)},[e]),(0,b.jsx)(F.T,{fullHeight:!0,seo:P.YC,children:(0,b.jsx)("div",{className:T().wrapperFormPage,children:(0,b.jsxs)("div",{className:T().form,children:[(0,b.jsx)(g.H1,{className:T().header,children:"ÐÑ
од Ð´Ð»Ñ Ð¸Ð·Ð´Ð°ÑелÑÑÑв"}),(0,b.jsx)(y,{handleSuccess:function(){var e=r.query;(0,r.push)("string"!=typeof e.next?x.J.statistics.salesRoyalty:e.next)}}),(0,b.jsx)("div",{className:T().forgotPasswordText,children:(0,b.jsx)(g.Yd,{children:"ÐÑли забÑли паÑÐ¾Ð»Ñ Ð¸Ð»Ð¸ логин, ÑвÑжиÑеÑÑ Ñ Ð¼ÐµÐ½ÐµÐ´Ð¶ÐµÑом"})})]})})})}},21979:function(e,r,n){"use strict";n.d(r,{z:function(){return u}});var t=n(31955),u=function(e){if((document.referrer.includes("https://www.google.com/")||document.referrer.includes("https://yandex.ru/")||document.referrer.includes("https://go.mail.ru/")||document.referrer.includes("rambler"))&&t.Z.set("search_engine",document.referrer),e.utm_source){var r="";for(var n in e)n.includes("utm")&&(r+="".concat(n,"=").concat(String(e[n]),"&"));r=r.slice(0,r.length-1),t.Z.set("reg_utm",r)}}},7956:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/publisher/login",function(){return n(86750)}])},35662:function(e){e.exports={root:"PublisherLoginForm_root__GtQPX",loginInput
1:"PublisherLoginForm_loginInput__t_9NZ",linkRestorePassword:"PublisherLoginForm_linkRestorePassword__BJWW4",withError:"PublisherLoginForm_withError___m6gA",publisherLoginFormFooter:"PublisherLoginForm_publisherLoginFormFooter__tmpfF"}},92042:function(e){e.exports={wrapperFormPage:"PublisherRegistrationPage_wrapperFormPage__1VFWj",form:"PublisherRegistrationPage_form__1uk31",header:"PublisherRegistrationPage_header__J7yiS",forgotPasswordText:"PublisherRegistrationPage_forgotPasswordText__akVt8"}},19302:function(e,r,n){"use strict";n.d(r,{Z:function(){return u}});var t=n(67294);function u(e,r,n){var u=this,s=(0,t.useRef)(null),i=(0,t.useRef)(0),o=(0,t.useRef)(null),a=(0,t.useRef)([]),c=(0,t.useRef)(),l=(0,t.useRef)(),d=(0,t.useRef)(e),f=(0,t.useRef)(!0);d.current=e;var g=!r&&0!==r&&"undefined"!=typeof window;if("function"!=typeof e)throw TypeError("Expected a function");r=+r||0;var m=!!(n=n||{}).leading,h=!("trailing"in n)||!!n.trailing,p="maxWait"in n,_=p?Math.max(+n.maxWait||0,r):null;return(0,t.useEffect)(function(){return f.current=!0,function(){f.current=!1}},[]),(0,t.useMemo)(function(){var e=function(e){var r=a.current,n=c.current;return a.current=c.current=null,i.current=e,l.current=d.current.apply(n,r)},n=function(e,r){g&&cancelAnimationFrame(o.current),o.current=g?requestAnimationFrame(e):setTimeout(e,r)},t=function(e){if(!f.current)return!1;var n=e-s.current,t=e-i.current;return!s.current||n>=r||n<0||p&&t>=_},b=function(r){return(o.current=null,h&&a.current)?e(r):(a.current=c.current=null,l.current)},w=function(){var e=Date.now();if(t(e))return b(e);if(f.current){var u=e-s.current,o=e-i.current,a=r-u;n(w,p?Math.min(a,_-o):a)}},y=function(){for(var d=[],g=0;g<arguments.length;g++)d[g]=arguments[g];var h=Date.now(),_=t(h);if(a.current=d,c.current=u,s.current=h,_){if(!o.current&&f.current)return i.current=s.current,n(w,r),m?e(s.current):l.current;if(p)return n(w,r),e(s.current)}return o.current||n(w,r),l.current};return y.cancel=function(){o.current&&(g?cancelAnimationFrame(o.current):clearTimeout(o.current)),i.current=0,a.current=s.current=c.current=o.current=null},y.isPending=function(){return!!o.current},y.flush=function(){return o.current?b(Date.now()):l.current},y},[m,p,r,_,h,g])}}},function(e){e.O(0,[9917],function(){e.E(2052)},5),e.O(0,[5675,9593,2238,540,9081,2519,8410,3189,2675,7853,5579,5115,878,2888,9774,179],function(){return e(e.s=7956)}),_N_E=e.O()}]); 2//# sourceMappingURL=login-d55d0975d3730234.js.map
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.