(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[604],{67124:function(n,e,r){Promise.resolve().then(r.bind(r,50386)),Promise.resolve().then(r.bind(r,92344))},92344:function(n,e,r){"use strict";r.d(e,{CheckUser:function(){return u}});var t=r(57437),i=r(7032),o=r(97224),c=r(34036);function u(n){let{children:e}=n,r=(0,o.aF)();return i.Xd.requireAuth&&null===r?(0,t.jsx)(c.Z,{variant:"contained",color:"primary",href:"/_login?next_url=".concat(window.location.pathname),children:"Sign in"}):!r||r.info.is_editor?e:(0,t.jsx)("h2",{children:"You are not an editor, and cannot create projects"})}}},function(n){n.O(0,[436,72,218,155,50,182,36,543,5,386,971,117,744],function(){return n(n.s=67124)}),_N_E=n.O()}]);