"use strict";(()=>{vare={};e.id=179,e.ids=[179],e.modules={52175:(e,t,r)=>{r.r(t),r.d(t,{config:()=>h,default:()=>b,getServerSideProps:()=>f,getStaticPaths:()=>q,getStaticProps:()=>v,reportWebVitals:()=>M,routeModule:()=>w,unstable_getServerProps:()=>A,unstable_getServerSideProps:()=>E,unstable_getStaticParams:()=>y,unstable_getStaticPaths:()=>j,unstable_getStaticProps:()=>_});vars={};r.r(s),r.d(s,{default:()=>m,getServerSideProps:()=>P});vara=r(63865),i=r(9455),o=r(30671),u=r(49407),n=r(89600),p=r(8732);r(82015);vard=r(93615),c=r.n(d),l=r(49888),g=r(50129),S=r(67216),x=r.n(S);functionm({user:e,data:t}){letr=(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,p.jsx)("meta",{name:"description",content:"Welcome to your data app"})]});return(0,p.jsx)(l.A,{head:r,user:e,children:(0,p.jsx)(g.A,{data:t,user:e})})}asyncfunctionP({req:e,res:t,query:r}){lets=awaitc()(e);returns?.logged_in_status?{props:{user:s,data:{docPages:awaitx()("SELECT * FROM docs_pages WHERE level=0")}}}:{redirect:{destination:"/su/login",permanent:!1}}}letb=(0,o.M)(s,"default"),v=(0,o.M)(s,"getStaticProps"),q=(0,o.M)(s,"getStaticPaths"),f=(0,o.M)(s,"getServerSideProps"),h=(0,o.M)(s,"config"),M=(0,o.M)(s,"reportWebVitals"),_=(0,o.M)(s,"unstable_getStaticProps"),j=(0,o.M)(s,"unstable_getStaticPaths"),y=(0,o.M)(s,"unstable_getStaticParams"),A=(0,o.M)(s,"unstable_getServerProps"),E=(0,o.M)(s,"unstable_getServerSideProps"),w=newa.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/su/docs/create-page",pathname:"/su/docs/create-page",bundlePath:"",filename:""},components:{App:n.default,Document:u.default},userland:s})},40373:e=>{e.exports=require("@tinymce/tinymce-react")},40361:e=>{e.exports=require("next/dist/compiled/next-server/pages.runtime.prod.js")},27912:e=>{e.exports=require("next/head")},82015:e=>{e.exports=require("react")},22326:e=>{e.exports=require("react-dom")},8732:e=>{e.exports=require("react/jsx-runtime")},9973:e=>{e.exports=require("serverless-mysql")},79428:e=>{e.exports=require("buffer")},55511:e=>{e.exports=require("crypto")},29021:e=>{e.exports=require("fs")},81630:e=>{e.exports=require("http")},33873:e=>{e.exports=require("path")}};vart=require("../../../webpack-runtime.js");t.C(e);varr=e=>t(t.s=e),s=t.X(0,[883,9821,9600,3737,3932,5664],()=>r(52175));module.exports=s})();