turboci-admin/dist/web/server/pages/admin/users/[deployment_user_id].js
2026-03-12 14:56:39 +01:00

3 lines
18 KiB
JavaScript

"use strict";(()=>{var e={};e.id=786,e.ids=[786],e.modules={8787:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{config:()=>x,default:()=>u,getServerSideProps:()=>m,getStaticPaths:()=>p,getStaticProps:()=>h,reportWebVitals:()=>g,routeModule:()=>b,unstable_getServerProps:()=>j,unstable_getServerSideProps:()=>Z,unstable_getStaticParams:()=>f,unstable_getStaticPaths:()=>y,unstable_getStaticProps:()=>w});var s=r(7093),n=r(5244),i=r(1323),l=r(1070),o=r(3893),c=r(7103),d=e([o,c]);[o,c]=d.then?(await d)():d;let u=(0,i.l)(c,"default"),h=(0,i.l)(c,"getStaticProps"),p=(0,i.l)(c,"getStaticPaths"),m=(0,i.l)(c,"getServerSideProps"),x=(0,i.l)(c,"config"),g=(0,i.l)(c,"reportWebVitals"),w=(0,i.l)(c,"unstable_getStaticProps"),y=(0,i.l)(c,"unstable_getStaticPaths"),f=(0,i.l)(c,"unstable_getStaticParams"),j=(0,i.l)(c,"unstable_getServerProps"),Z=(0,i.l)(c,"unstable_getServerSideProps"),b=new s.PagesRouteModule({definition:{kind:n.x.PAGES,page:"/admin/users/[deployment_user_id]",pathname:"/admin/users/[deployment_user_id]",bundlePath:"",filename:""},components:{App:o.default,Document:l.default},userland:c});a()}catch(e){a(e)}})},3785:(e,t,r)=>{r.d(t,{Z:()=>a});let a=(0,r(8427).Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},9710:(e,t,r)=>{r.d(t,{Z:()=>a});let a=(0,r(8427).Z)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},4946:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>l});var s=r(997),n=r(4218),i=e([n]);function l({mode:e,content:t}){return s.jsx(n.Z,{content:`\`\`\`${e}
${t}
\`\`\``})}n=(i.then?(await i)():i)[0],a()}catch(e){a(e)}})},532:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>u});var s=r(997),n=r(7348),i=r(975),l=r(8006),o=r(7639),c=r.n(o),d=e([n,l]);function u({dep_user:e,target:t,button_props:r}){let{loading:a,setLoading:o}=(0,i.Z)(),d=s.jsx(l.Z,{title:"Delete Deployment User",...r,children:"Delete User"});return e.is_super_admin?null:s.jsx("div",{onClick:()=>{window.confirm("Delete User?")&&(o(!0),c()("/api/admin/delete-user",{method:"POST",body:{user_id:e.id}}).then(e=>{console.log(e)}))},children:a?s.jsx(n.Z,{}):t||d})}[n,l]=d.then?(await d)():d,a()}catch(e){a(e)}})},7758:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>h});var s=r(997),n=r(6689),i=r(3893),l=r(8006),o=r(3563),c=r(975),d=r(538),u=e([i,l]);function h(){let{pageProps:e}=(0,n.useContext)(i.AppContext),{deployment_user:t,deployment:r}=e,{loading:a,setLoading:u}=(0,c.Z)();return t?.id?(t.is_super_admin,s.jsx(l.Z,{title:"Download Private Key",variant:"outlined",beforeIcon:s.jsx(o.Z,{name:"Download",size:17}),loading:a,onClick:()=>{u(!0),(0,d.Z)({file_name:`${t.username}-private-key`,url:`/api/admin/download-private-ssh-key?user_id=${t.id}`}).then(e=>{}).finally(()=>{setTimeout(()=>{u(!1)},2e3)})},children:"Download Private Key"})):null}[i,l]=u.then?(await u)():u,a()}catch(e){a(e)}})},7604:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>m});var s=r(997),n=r(6689),i=r(3893),l=r(3216),o=r(1309),c=r(5743),d=r(4946),u=r(4956),h=r(7758),p=e([i,l,o,c,d,u,h]);function m(){let{pageProps:e}=(0,n.useContext)(i.AppContext),{deployment_user:t,deployment:r}=e;return t?.id?(t.is_super_admin,(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(l.Z,{className:"grid-cell-content",children:[s.jsx(o.Z,{children:"Connection"}),s.jsx(c.Z,{children:"Use these information to connect this user to the Relay server"})]}),s.jsx("hr",{}),(0,s.jsxs)(l.Z,{className:"nested-grid-frame grid-cols-2",children:[s.jsx(l.Z,{className:"grid-cell",children:(0,s.jsxs)(l.Z,{className:"grid-cell-content",children:[(0,s.jsxs)(l.Z,{className:"gap-1",children:[s.jsx(u.Z,{children:"Admin Port Forwarding"}),s.jsx(c.Z,{children:"Use these information to connect this user to the Relay server"})]}),s.jsx(d.Z,{content:`ssh -N -L 3773:localhost:80 -i /path/to/ssh/key ${t.username}@${r?.relay_server_ip}`,mode:"sh"})]})}),s.jsx(l.Z,{className:"grid-cell",children:(0,s.jsxs)(l.Z,{className:"grid-cell-content",children:[(0,s.jsxs)(l.Z,{className:"gap-1",children:[s.jsx(u.Z,{children:"Download Private Key"}),(0,s.jsxs)(c.Z,{children:["Download the private SSH key for"," ",s.jsx("code",{children:t.username})]})]}),s.jsx(h.Z,{})]})})]}),s.jsx("hr",{})]})):null}[i,l,o,c,d,u,h]=p.then?(await p)():p,a()}catch(e){a(e)}})},3523:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>g});var s=r(997),n=r(6689),i=r(3893),l=r(2984),o=r(2394),c=r(1764),d=r(9705),u=r(5711),h=r(3216),p=r(532),m=r(7604),x=e([i,l,o,c,d,u,h,p,m]);function g(){let{pageProps:e}=(0,n.useContext)(i.AppContext),{deployment_user:t}=e;if(!t?.id)return null;let r=!!t.is_super_admin;return(0,s.jsxs)(n.Fragment,{children:[s.jsx(o.Z,{title:(0,s.jsxs)(d.Z,{children:[s.jsx("span",{children:t?.first_name}),s.jsx("span",{children:t?.last_name}),r?s.jsx(c.Z,{className:"inline",children:"Super Admin"}):null]}),ctas:s.jsx(s.Fragment,{children:s.jsx(p.Z,{dep_user:t,button_props:{color:"secondary"}})})}),s.jsx(l.Z,{}),s.jsx(h.Z,{className:"grid-cell-content max-w-[600px]",children:s.jsx(u.Z,{existing_user:t})}),s.jsx(l.Z,{}),s.jsx(m.Z,{})]})}[i,l,o,c,d,u,h,p,m]=x.then?(await x)():x,a()}catch(e){a(e)}})},7831:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>o});var s=r(3893),n=r(975),i=r(6689),l=e([s]);function o({new_deployment_user:e,existing_user:t}){let{pageProps:r}=(0,i.useContext)(s.AppContext),[a,l]=(0,i.useState)(t||{}),{loading:o,setLoading:c}=(0,n.Z)(),[d,u]=(0,i.useState)(!1);return{newUser:a,setNewUser:l,loading:o,setLoading:c,isPasswordConfirmed:d,setIsPasswordConfirmed:u,pageProps:r}}s=(l.then?(await l)():l)[0],a()}catch(e){a(e)}})},7586:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>l});var s=r(997),n=r(6248),i=e([n]);function l({isPasswordConfirmed:e,newUser:t,setNewUser:r,setIsPasswordConfirmed:a}){let i=!!(e&&t.password?.match(/./)&&t.confirmed_password?.match(/./));return(0,s.jsxs)(s.Fragment,{children:[s.jsx(n.Z,{placeholder:"Password",title:"Password",type:"password",changeHandler:e=>{r(t=>({...t,password:e}))},validity:{isValid:!(t.password?.match(/./)&&t.confirmed_password?.match(/./))||i,msg:"Passwords don't match"},required:!0,showLabel:!0}),s.jsx(n.Z,{placeholder:"Confirm Password",title:"Confirm Password",type:"password",changeHandler:e=>{r(t=>({...t,confirmed_password:e})),a(e==t.password)},showLabel:!0})]})}n=(i.then?(await i)():i)[0],a()}catch(e){a(e)}})},5711:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>p});var s=r(997),n=r(6248),i=r(8006),l=r(3216),o=r(7831),c=r(7344),d=r(8097),u=r(7586),h=e([n,i,l,o,d,u]);function p({new_deployment_user:e,existing_user:t}){let r=(0,o.Z)({new_deployment_user:e,existing_user:t}),{newUser:a,setNewUser:h,loading:p,setLoading:m,isPasswordConfirmed:x,setIsPasswordConfirmed:g,pageProps:w}=r,y=!!(x&&a.password?.match(/./)&&a.confirmed_password?.match(/./));return s.jsx("form",{onSubmit:e=>{e.preventDefault()},children:(0,s.jsxs)(l.Z,{className:"w-full items-stretch gap-6",children:[s.jsx(n.Z,{placeholder:"Eg. John",title:"First Name",defaultValue:t?.first_name,changeHandler:e=>{h(t=>({...t,first_name:e}))},required:!0,showLabel:!0}),s.jsx(n.Z,{placeholder:"Eg. Doe",title:"Last Name",defaultValue:t?.last_name,changeHandler:e=>{h(t=>({...t,last_name:e}))},showLabel:!0}),s.jsx(n.Z,{placeholder:"Email Address",title:"Email",type:"email",defaultValue:t?.email,changeHandler:e=>{h(t=>({...t,email:e}))},required:!0,showLabel:!0}),w.user?.id&&!t?.is_super_admin?s.jsx(n.Z,{placeholder:"Username",title:"Username",defaultValue:t?.username,changeHandler:e=>{h(t=>({...t,username:e}))},validationRegex:/^[a-z0-9\-]{3,}$/,info:(0,s.jsxs)(s.Fragment,{children:["Allowed characters:"," ",s.jsx("code",{children:s.jsx("b",{children:"a-z, 0-9, -"})}),"."]}),wrapperWrapperProps:{className:(0,d.twMerge)("items-start!",t?.username?"opacity-70 pointer-events-none":"")},disabled:!!t?.username,required:!0,showLabel:!0}):null,t?.id?null:s.jsx(u.Z,{...r}),s.jsx(i.Z,{title:"Login",onClick:()=>{if(!y)return;let e=w.user?.id?"Add New User?":"Create Super Admin Account?";window.confirm(e)&&(m(!0),(0,c.Z)(t?.id?"/api/admin/edit-user":"/api/auth/signup",{method:"POST",body:{new_user:a,user_id:t?.id}}).then(e=>{e.success?w.user?.id?window.location.pathname="/admin/users":window.location.reload():(window.alert(e.msg||e.error||"New User Creation Failed!"),console.log("res",e))}).finally(()=>{setTimeout(()=>{m(!1)},5e3)}))},loading:p,children:t?.id?"Edit User":w.user?.super_admin?"Add User":"Signup"})]})})}[n,i,l,o,d,u]=h.then?(await h)():h,a()}catch(e){a(e)}})},7103:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.r(t),r.d(t,{default:()=>h,getServerSideProps:()=>p});var s=r(997),n=r(3523),i=r(8683),l=r(8688),o=r(3060),c=r(8804),d=r.n(c),u=e([n,o]);function h(){return s.jsx(o.Z,{children:s.jsx(n.Z,{})})}[n,o]=u.then?(await u)():u;let p=async e=>await (0,l.Z)({ctx:e,async propsFn({user:e,props:t,query:r}){if(!e.super_admin)return"/admin";let a=await d().select({table:"users",targetId:(0,i._n)(r?.deployment_user_id)});return a.singleRes?.id?{deployment_user:a.singleRes}:"/admin/users"}});a()}catch(e){a(e)}})},538:(e,t,r)=>{async function a({res:e,file_name:t}){let r=await e.blob(),a=URL.createObjectURL(r),s=document.createElement("a");s.href=a,s.download=t,s.style.display="none",document.body.appendChild(s),s.click(),URL.revokeObjectURL(a),document.body.removeChild(s)}async function s({url:e,file_name:t}){a({res:await fetch(e),file_name:t})}r.d(t,{Z:()=>s})},5849:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>x});var s=r(997),n=r(3785),i=r(9710),l=r(6689),o=r.n(l),c=r(8097),d=r(3216),u=r(9705),h=r(8006),p=r(2984),m=e([c,d,u,h,p]);function x({children:e,wrapperProps:t,backgroundColor:r,singleBlock:a,language:l,...m}){let x=o().useRef(null),[g,w]=o().useState(!1),y=m?.["data-title"],f=r||"#28272b";return s.jsx("div",{...t,className:(0,c.twMerge)("outline-[1px] outline-slate-200 dark:outline-white/10","rounded w-full transition-all items-start","relative max-w-[80vw] sm:max-w-[85vw] xl:max-w-[880px]","twui-code-block-wrapper",t?.className),style:{boxShadow:g?"0 0 10px 10px rgba(18, 139, 99, 0.2)":void 0,backgroundColor:f,...m.style},children:(0,s.jsxs)(d.Z,{className:(0,c.twMerge)("gap-0 w-full overflow-x-auto relative","max-h-[600px] overflow-y-auto"),children:[(0,s.jsxs)(u.Z,{className:(0,c.twMerge)("w-full px-1 h-10 sticky top-0 py-2",a?"absolute !bg-transparent":"","twui-code-block-header"),style:{backgroundColor:f},children:[y&&s.jsx("span",{className:"text-white/70",children:y}),s.jsx("div",{className:"ml-auto",children:g?(0,s.jsxs)(u.Z,{children:[s.jsx("span",{className:"text-white text-xs twui-code-block-copied-text",children:"Copied!"}),s.jsx("div",{className:"w-5 h-5 rounded-full bg-emerald-600 text-white flex items-center justify-center",children:s.jsx(n.Z,{size:15})})]}):s.jsx(h.Z,{variant:"ghost",color:"gray",beforeIcon:s.jsx(i.Z,{size:17,color:"white"}),className:"!p-1 !bg-transparent opacity-50",onClick:()=>{let e=x.current?.textContent;if(!e){window.alert("No Content to copy");return}window.navigator.clipboard.writeText(e).then(()=>{w(!0),setTimeout(()=>{w(!1)},3e3)})},title:"Copy Code Snippet"})})]}),!a&&s.jsx(p.Z,{className:"!border-white/10 sticky top-10"}),s.jsx("div",{className:(0,c.twMerge)("p-1 w-full [&_pre]:!bg-transparent",a?"":"-mt-1","twui-code-pre-wrapper"),ref:x,children:s.jsx("pre",{...m,className:(0,c.twMerge)("!my-0 whitespace-pre-wrap",l?`language-${l}`:"","twui-code-block-pre",m.className),children:e})})]})})}[c,d,u,h,p]=m.then?(await m)():m,a()}catch(e){a(e)}})},4218:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>p});var s=r(997),n=r(6689),i=r.n(n),l=r(4818),o=r(6809),c=r(483),d=r(9961),u=r(551),h=e([l,o,c,d,u]);function p({content:e,refresh:t}){let[r,a]=i().useState(),{components:n}=(0,u.a)();return r?s.jsx(d.MDXRemote,{...r,components:{...n}}):null}[l,o,c,d,u]=h.then?(await h)():h,a()}catch(e){a(e)}})},1764:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>l});var s=r(997);r(6689);var n=r(8097),i=e([n]);function l({color:e,variant:t,children:r,href:a,newTab:i,linkProps:l,...o}){let c=s.jsx("div",{...o,className:(0,n.twMerge)("text-xs px-2 py-0.5 rounded-full outline-0","text-center flex items-center justify-center","secondary"==e?"bg-secondary text-white outline-secbg-secondary":"success"==e?"bg-success outline-success text-white":"error"==e?"bg-orange-700 outline-orange-700":"gray"==e?(0,n.twMerge)("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"==t?"!bg-transparent outline-1 "+("secondary"==e?"text-secondary":"success"==e?"text-success dark:text-success-dark":"error"==e?"text-orange-700":"gray"==e?"text-slate-700 dark:text-white/80":"text-primary dark:text-primary-dark twui-tag-primary-outlined"):"ghost"==t?"!bg-transparent outline-none border-none "+("secondary"==e?"text-secondary":"success"==e?"text-success dark:text-success-dark":"error"==e?"text-orange-700":"gray"==e?"text-slate-700 dark:text-white/80":"text-primary dark:text-primary-dark"):"","twui-tag",o.className),children:r});return a?s.jsx("a",{href:a,target:i?"_blank":void 0,...l,className:(0,n.twMerge)("hover:opacity-80",l?.className),children:c}):c}n=(i.then?(await i)():i)[0],a()}catch(e){a(e)}})},1309:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>l});var s=r(997),n=r(8097),i=e([n]);function l({...e}){return s.jsx("h2",{...e,className:(0,n.twMerge)("text-2xl md:text-3xl mb-4","twui-headings twui-heading","twui-h2",e.className),children:e.children})}n=(i.then?(await i)():i)[0],a()}catch(e){a(e)}})},4956:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>l});var s=r(997),n=r(8097),i=e([n]);function l({...e}){return s.jsx("h3",{...e,className:(0,n.twMerge)("text-xl mb-4","twui-headings twui-heading","twui-h3",e.className),children:e.children})}n=(i.then?(await i)():i)[0],a()}catch(e){a(e)}})},7114:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>l});var s=r(997),n=r(8097),i=e([n]);function l({...e}){return s.jsx("h4",{...e,className:(0,n.twMerge)("text-base mb-4","twui-headings twui-heading","twui-h4",e.className),children:e.children})}n=(i.then?(await i)():i)[0],a()}catch(e){a(e)}})},9542:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{Z:()=>l});var s=r(997),n=r(8097),i=e([n]);function l({noMargin:e,...t}){return s.jsx("p",{...t,className:(0,n.twMerge)("py-4",e?"!m-0 p-0":"","twui-p","twui-paragraph",t.className),children:t.children})}n=(i.then?(await i)():i)[0],a()}catch(e){a(e)}})},551:(e,t,r)=>{r.a(e,async(e,a)=>{try{r.d(t,{a:()=>x});var s=r(997),n=r(5849),i=r(7444),l=r(7114),o=r(6689),c=r.n(o),d=r(9396),u=r(1309),h=r(9542),p=r(4956),m=e([n,i,l,u,h,p]);function x(e){let t=e?.codeBgColor||"#000000";return{components:{h1:({children:e})=>s.jsx(i.Z,{children:e}),h4:({children:e})=>s.jsx(l.Z,{children:e}),pre:({children:e,...r})=>c().isValidElement(e)&&e.props?s.jsx(n.Z,{...r,backgroundColor:t,children:e.props.children}):s.jsx(n.Z,{...r,backgroundColor:t,children:e}),h2:({children:e})=>{let t=(0,d.Z)(e?.toString());return s.jsx("a",{href:`#${t}`,id:t,className:"twui-docs-header-anchor",children:s.jsx(u.Z,{className:"pt-4 m-0 mb-4 text-2xl",children:e})})},h3:({children:e})=>{let t=(0,d.Z)(e?.toString());return s.jsx("a",{href:`#${t}`,id:t,className:"twui-docs-header-anchor",children:s.jsx(p.Z,{className:"pt-4 m-0 mb-4 text-xl",children:e})})},img:e=>s.jsx("img",{...e,className:"w-full h-auto shadow-lg rounded-default overflow-hidden"}),p:({children:e})=>s.jsx(h.Z,{className:"mt-2 mb-6 max-w-none py-0",children:e}),li:({children:e})=>s.jsx("li",{className:"w-full",children:e}),...e?.components},codeBgColor:"rgb(7 12 22)"}}[n,i,l,u,h,p]=m.then?(await m)():m,a()}catch(e){a(e)}})},7344:(e,t,r)=>{r.d(t,{Z:()=>i});var a=r(6517),s=r.n(a);let n={stringify:function(e,t,r){try{return JSON.stringify(e,t||void 0,r)}catch(e){return}}};async function i(e,t){let r;let a={"Content-Type":"application/json"};t?.csrfKey&&t.csrfValue&&(a[t.csrfKey]=t.csrfValue);let i=e;if(t?.query&&(i+=function(e){let t="?";if("object"!=typeof e)return console.log("Invalid Query type"),t;if(Array.isArray(e))return console.log("Query is an Array. This is invalid."),t;if(!e)return console.log("No Query provided."),t;let r=Object.keys(e),a=[];return r.forEach(t=>{if(!t||!e[t])return;let r=e[t];if("object"==typeof r){let e=n.stringify(r);a.push(`${t}=${encodeURIComponent(String(e))}`)}else"string"==typeof r||"number"==typeof r?a.push(`${t}=${encodeURIComponent(r)}`):a.push(`${t}=${String(r)}`)}),t+=a.join("&")}(t.query)),"string"==typeof t)try{r="post"===t?(await fetch(i,{method:t,headers:a})).json():(await fetch(i)).json()}catch(e){console.log("FetchAPI error #1:",e.message),r=null}else if("object"==typeof t)try{let e;if(t.body&&"object"==typeof t.body){let e=s().cloneDeep(t.body);t.body=JSON.stringify(e)}if(t.headers){t.headers=s().merge(t.headers,a);let r={...t};e=await fetch(i,r)}else{let r={...t,headers:a};e=await fetch(i,r)}r=e.json()}catch(e){console.log("FetchAPI error #2:",e.message),r=null}else try{let e=await fetch(i);r=await e.json()}catch(e){console.log("FetchAPI error #3:",e.message),r=null}return r}},9396:(e,t,r)=>{r.d(t,{Z:()=>a});function a(e,t,r){let a=t||"-";try{if(!e)return"";let t=String(e).trim().toLowerCase().replace(/ {2,}/g," ").replace(/ /g,a).replace(/[^a-z0-9]/g,a).replace(/-{2,}|_{2,}/g,a).replace(/^-/,"");if(r)return t;return t.replace(/-$/,"")}catch(e){return""}}},5191:e=>{e.exports=require("@moduletrace/datasquirel/dist/client")},7639:e=>{e.exports=require("@moduletrace/datasquirel/dist/client/fetch")},4882:e=>{e.exports=require("@moduletrace/datasquirel/dist/package-shared/functions/dsql/decrypt")},4605:e=>{e.exports=require("@moduletrace/datasquirel/dist/package-shared/utils/ejson")},1521:e=>{e.exports=require("@moduletrace/datasquirel/dist/package-shared/utils/numberfy")},6255:e=>{e.exports=require("@moduletrace/datasquirel/dist/package-shared/utils/slugify")},8804:e=>{e.exports=require("@moduletrace/nsqlite")},1635:e=>{e.exports=require("dayjs")},6517:e=>{e.exports=require("lodash")},2423:e=>{e.exports=require("lucide-react")},2785:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},968:e=>{e.exports=require("next/head")},6689:e=>{e.exports=require("react")},6405:e=>{e.exports=require("react-dom")},997:e=>{e.exports=require("react/jsx-runtime")},2048:e=>{e.exports=require("fs")},5315:e=>{e.exports=require("path")},9961:e=>{e.exports=import("next-mdx-remote")},4818:e=>{e.exports=import("next-mdx-remote/serialize")},483:e=>{e.exports=import("rehype-prism-plus")},6809:e=>{e.exports=import("remark-gfm")},8097:e=>{e.exports=import("tailwind-merge")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[859,330,752,248,150],()=>r(8787));module.exports=a})();