(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[786],{79845:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/users/[deployment_user_id]",function(){return r(38347)}])},38347:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return x},default:function(){return g}});var n=r(85893),s=r(67294),a=r(5606),i=r(60705),u=r(21147),c=r(88584),l=r(94655);function o(){let{pageProps:e}=(0,s.useContext)(a.AppContext),{deployment_user:t}=e;if(!(null==t?void 0:t.id))return null;let r=!!t.is_super_admin;return(0,n.jsxs)(s.Fragment,{children:[(0,n.jsx)(u.Z,{title:(0,n.jsxs)(l.Z,{children:[(0,n.jsx)("span",{children:null==t?void 0:t.first_name}),(0,n.jsx)("span",{children:null==t?void 0:t.last_name}),r?(0,n.jsx)(c.Z,{className:"inline",children:"Super Admin"}):null]})}),(0,n.jsx)(i.Z,{})]})}var d=r(89350),x=!0;function g(){return(0,n.jsx)(d.Z,{children:(0,n.jsx)(o,{})})}},88584:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(85893);r(67294);var s=r(98388);function a(e){let{color:t,variant:r,children:a,href:i,newTab:u,linkProps:c,...l}=e,o=(0,n.jsx)("div",{...l,className:(0,s.m6)("text-xs px-2 py-0.5 rounded-full outline-0","text-center flex items-center justify-center","secondary"==t?"bg-secondary text-white outline-secbg-secondary":"success"==t?"bg-success outline-success text-white":"error"==t?"bg-orange-700 outline-orange-700":"gray"==t?(0,s.m6)("bg-slate-100 outline-slate-200 dark:bg-gray-dark dark:outline-gray-dark","text-slate-800 dark:text-white"):"bg-primary text-white outline-primbg-primary twui-tag-primary","outlined"==r?"!bg-transparent outline-1 "+("secondary"==t?"text-secondary":"success"==t?"text-success dark:text-success-dark":"error"==t?"text-orange-700":"gray"==t?"text-slate-700 dark:text-white/80":"text-primary dark:text-primary-dark twui-tag-primary-outlined"):"ghost"==r?"!bg-transparent outline-none border-none "+("secondary"==t?"text-secondary":"success"==t?"text-success dark:text-success-dark":"error"==t?"text-orange-700":"gray"==t?"text-slate-700 dark:text-white/80":"text-primary dark:text-primary-dark"):"","twui-tag",l.className),children:a});return i?(0,n.jsx)("a",{href:i,target:u?"_blank":void 0,...c,className:(0,s.m6)("hover:opacity-80",null==c?void 0:c.className),children:o}):o}}},function(e){e.O(0,[662,75,664,433,7,242,888,774,179],function(){return e(e.s=79845)}),_N_E=e.O()}]);