PageSourceSearch

https://selfpub.ru/_next/static/chunks/pages/_error-146070812c62a2c4.js

js selfpub.ru collected 2026-10-03 23:27:33 UTC 5,228 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="84602716-eb3d-4e24-b3be-807605c053aa",e._sentryDebugIdIdentifier="sentry-dbid-84602716-eb3d-4e24-b3be-807605c053aa")}catch(e){}try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="84602716-eb3d-4e24-b3be-807605c053aa",e._sentryDebugIdIdentifier="sentry-dbid-84602716-eb3d-4e24-b3be-807605c053aa")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4820],{39880:function(e,t,r){"use strict";var n=r(23322),o=r(16089),i=r(55667),s=r(81961),a=r(67731);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});var l=r(38754),u=r(85893),d=l._(r(67294)),c=l._(r(49903)),f={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function p(e){var t=e.res,r=e.err;return{statusCode:t&&t.statusCode?t.statusCode:r?r.statusCode:404}}var h={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}},b=function(e){i(l,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=a(l);return e=t?Reflect.construct(r,arguments,a(this).constructor):r.apply(this,arguments),s(this,e)});function l(){return n(this,l),r.apply(this,arguments)}return o(l,[{key:"render",value:function(){var e=this.props,t=e.statusCode,r=e.withDarkMode,n=this.props.title||f[t]||"An unexpected error has occurred";return(0,u.jsxs)("div",{style:h.error,children:[(0,u.jsx)(c.default,{children:(0,u.jsx)("title",{children:t?t+": "+n:"Application error: a client-side exception has occurred"})}),(0,u.jsxs)("div",{style:h.desc,children:[(0,u.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(void 0===r||r?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),t?(0,u.jsx)("h1",{className:"next-error-h1",style:h.h1,children:t}):null,(0,u.jsx)("div",{style:h.wrap,children:(0,u.jsxs)("h2",{style:h.h2,children:[this.props.title||t?n:(0,u.jsx)(u.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}]),l}(d.default.Component);b.displayName="ErrorPage",b.getInitialProps=p,b.origGetInitialProps=p,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99652:function(e,t,r){"use strict";r.r(t);var n,o=r(50029),i=r(64687),s=r.n(i),a=r(39424),l=r(12918),u=r.n(l),d=r(85893),c=function(e){var t=e.err,r=e.hasGetInitialPropsRun,n=e.statusCode;return!r&&t&&a.Tb(t),(0,d.jsx)(u(),{statusCode:n})};c.getInitialProps=(n=(0,o.Z)(s().mark(function e(t){var r,n,o,i,l,d,c,f,p;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.res,n=t.err,o=t.asPath,e.next=3,u().getInitialProps({res:r,err:n});case 3:if((i=e.sent).hasGetInitialPropsRun=!0,(null==r?void 0:r.statusCode)!==404){e.next=7;break}return e.abrupt("return",{statusCode:404});case 7:if(!n){e.next=13;break}try{window.__NEXT_REDUX_WRAPPER_STORE__&&(c=null==(d=window.__NEXT_REDUX_WRAPPER_STORE__.getState())||null===(l=d.userInfo)||void 0===l||null===(l=l.profile)||void 0===l?void 0:l.id)&&c>0&&a.av({id:c.toString(),email:null===(f=d.userInfo.profile)||void 0===f?void 0:f.email,username:null===(p=d.userInfo.profile)||void 0===p?void 0:p.name})}catch(e){}return a.Tb(n),e.next=12,a.yl(2e3);case 12:return e.abrupt("return",i);
1case 13:return a.Tb(Error("_error.js getInitialProps missing data at path: ".concat(o))),e.prev=14,e.next=17,a.yl(2e3);case 17:e.next=22;break;case 19:e.prev=19,e.t0=e.catch(14),console.log("Sentry.flush упало при вызове:",e.t0);case 22:return e.abrupt("return",i);case 23:case"end":return e.stop()}},e,null,[[14,19]])})),function(e){return n.apply(this,arguments)}),t.default=c},5353:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_error",function(){return r(99652)}])},12918:function(e,t,r){e.exports=r(39880)}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=5353)}),_N_E=e.O()}]);
2//# sourceMappingURL=_error-146070812c62a2c4.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.