1 line
2.3 KiB
JavaScript
1 line
2.3 KiB
JavaScript
"use strict";(()=>{var e={};e.id=1980,e.ids=[1980],e.modules={29262:(e,t,r)=>{r.r(t),r.d(t,{config:()=>f,default:()=>g,getServerSideProps:()=>b,getStaticPaths:()=>P,getStaticProps:()=>S,reportWebVitals:()=>m,routeModule:()=>h,unstable_getServerProps:()=>_,unstable_getServerSideProps:()=>q,unstable_getStaticParams:()=>M,unstable_getStaticPaths:()=>x,unstable_getStaticProps:()=>v});var a={};r.r(a),r.d(a,{default:()=>p,getStaticPaths:()=>c,getStaticProps:()=>d});var s=r(63865),i=r(9455),u=r(30671),l=r(5583),o=r(19796);r(8732),r(82015),r(1013),r(91258),r(82271),r(24093),r(69237);var n=r(47410);function p({pages:e,targetPage:t}){return null}async function d({params:e}){let t=e?.["sub-page"],r=await (0,n.A)("SELECT id, title, slug, level, parent_id FROM docs_pages ORDER BY page_order ASC"),a=r?.filter(t=>t.slug===e?.page&&1==t.level);if(!a)return{redirect:{destination:"/docs",permanent:!1}};let s=await (0,n.A)("SELECT title, slug, description, content FROM docs_pages WHERE slug = ? AND level = ? AND parent_id = ?",[t,2,a[0]?.id]);return{props:{user:null,pages:r,targetPage:s?.[0]?s[0]:{}}}}async function c(){return{paths:[],fallback:!1}}r(9973),r(28187);let g=(0,u.M)(a,"default"),S=(0,u.M)(a,"getStaticProps"),P=(0,u.M)(a,"getStaticPaths"),b=(0,u.M)(a,"getServerSideProps"),f=(0,u.M)(a,"config"),m=(0,u.M)(a,"reportWebVitals"),v=(0,u.M)(a,"unstable_getStaticProps"),x=(0,u.M)(a,"unstable_getStaticPaths"),M=(0,u.M)(a,"unstable_getStaticParams"),_=(0,u.M)(a,"unstable_getServerProps"),q=(0,u.M)(a,"unstable_getServerSideProps"),h=new s.PagesRouteModule({definition:{kind:i.A.PAGES,page:"/docs/[page]/[sub-page]",pathname:"/docs/[page]/[sub-page]",bundlePath:"",filename:""},components:{App:o.default,Document:l.default},userland:a})},28187:e=>{e.exports=require("@moduletrace/datasquirel")},13893:e=>{e.exports=require("@moduletrace/datasquirel/dist/client/fetch")},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")},29021:e=>{e.exports=require("fs")},33873:e=>{e.exports=require("path")}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[883,9821,9796,7713],()=>r(29262));module.exports=a})(); |