(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{6170:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return a(9232)}])},620:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(4848),l=a(6540);function n(e){let{width:t,position:a,style:n,borderWidth:r,screen:i,title:o}=e;return(0,s.jsxs)("div",{className:" top-0 left-0 w-full h-full flex items-center justify-center gap-4 bg-white/80 dark:bg-slate-800/80 z-50"+(i?" fixed":" absolute"),style:{...n,position:a,zIndex:2e4},children:[(0,s.jsx)("span",{className:"general_loader",style:t?{width:t,height:t,minWidth:t,borderWidth:r||"4px"}:{}}),o?(0,s.jsx)("span",{children:o}):(0,s.jsx)(l.Fragment,{})]})}},7869:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(4848);let l=(0,a(5737).A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);function n(e){let{size:t,adminAside:a,collapseAsideMobile:n,setCollapseAsideMobile:r}=e;return(0,s.jsxs)("a",{href:"/",className:"logo",onClick:e=>{let t=e.target;if(null==t?void 0:t.closest("button"))return e.preventDefault()},children:[a&&(0,s.jsxs)("button",{className:"flex lg:hidden small-text mr-2 primary-light",onClick:e=>{n&&r?r(!1):r&&r(!0)},children:[(0,s.jsx)("div",{className:"-mt-0.5",children:(0,s.jsx)(l,{})}),(0,s.jsx)("span",{className:"dark:text-white",children:"Menu"})]}),(0,s.jsx)("img",{src:"/images/logo-icon-alt-2.webp",alt:"Datasquirel Logo",width:35,className:"dark:hidden -mt-1.5 -mr-1.5"}),(0,s.jsx)("img",{src:"/images/logo-icon-alt-2.webp",alt:"Datasquirel Logo",width:35,className:"hidden dark:flex -mt-1.5 -mr-1.5"}),(0,s.jsx)("span",{className:"text-slate-800 dark:text-white text-[20px] font-bold hidden sm:flex -mt-[1px]",children:"Datasquirel"})]})}a(6540)},6411:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(4848),l=a(6540);function n(e){let{pageTitle:t,pageDescription:a,pagePathname:n,aceEditor:r}=e;return(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("link",{rel:"canonical",href:"http://localhost:7070"+n}),(0,s.jsx)("meta",{property:"og:url",content:"http://localhost:7070"+n}),(0,s.jsx)("meta",{itemProp:"url",content:"http://localhost:7070"+n}),(0,s.jsx)("meta",{name:"twitter:url",content:"http://localhost:7070"+n}),(0,s.jsx)("meta",{property:"og:title",content:t}),(0,s.jsx)("meta",{property:"og:description",content:a}),(0,s.jsx)("meta",{itemProp:"name",content:t}),(0,s.jsx)("meta",{itemProp:"description",content:a}),(0,s.jsx)("meta",{name:"twitter:title",content:t}),(0,s.jsx)("meta",{name:"twitter:description",content:a}),r&&(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ace.min.js",integrity:"sha512-q6CTB0jS+VuJnSct82rVcWlI06LGzNjaG3CWenHWVUncRvc4UQMFkA3a5Ip880xr+lBx38FcHDclOxPdSg+sBw==",crossOrigin:"anonymous",referrerPolicy:"no-referrer"}),(0,s.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ext-language_tools.min.js",integrity:"sha512-6g6cvocV7eT/J8L44lL8gJKqq9onqQeYGgJO0DmrsYFcCfRl6wYkYA/KHS768r4QVTB4JxsCcMQ9gIezxpTCZw==",crossOrigin:"anonymous",referrerPolicy:"no-referrer"})]})]})}},4819:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(4848),l=a(6540);function n(e){let[t,a]=l.useState("Light Mode");return l.useEffect(()=>{let e=localStorage.getItem("theme");(null==e?void 0:e.match(/dark/))&&a("Dark Mode")},[]),(0,s.jsx)("div",{className:"",id:"theme-selector-wrapper",onClick:()=>{var e,t;let s=document.getElementById("theme-selector-graphic-wrapper"),l=localStorage.getItem("theme"),n=null==s?void 0:s.querySelector("img.sun"),r=null==s?void 0:s.querySelector("img.moon");!l||(null==l?void 0:l.match(/light/))?(document.documentElement.className="dark",localStorage.setItem("theme","dark"),l="dark",null==n||n.classList.add("hidden"),null==r||r.classList.remove("hidden"),null==s||null===(e=s.firstChild)||void 0===e||e.classList.add("ml-auto"),a("Dark Mode")):(null==l?void 0:l.match(/dark/))&&(document.documentElement.className="light",localStorage.setItem("theme","light"),l="light",null==r||r.classList.add("hidden"),null==n||n.classList.remove("hidden"),null==s||null===(t=s.firstChild)||void 0===t||t.classList.remove("ml-auto"),a("Light Mode"))},children:(0,s.jsx)("div",{className:"p-1 rounded-full w-12 transition-all",id:"theme-selector-graphic-wrapper",children:(0,s.jsxs)("div",{className:"pointer-events-none transition-all dark:ml-auto",children:[(0,s.jsx)("img",{src:"/images/sun.png",alt:"Sun Icon",width:18,className:"sun dark:hidden"}),(0,s.jsx)("img",{src:"/images/new-moon.png",alt:"Sun Icon",width:18,className:"moon hidden dark:flex"})]})})})}},3698:(e,t,a)=>{"use strict";async function s(e,t,a){let s;let l=e.match(/\?/)?e:e+window.location.search;if("string"==typeof t)try{s="post"===t?(await fetch(l,{method:t,headers:{"Content-Type":"application/json","x-csrf-auth":a?localStorage.getItem("csrf"):""}})).json():(await fetch(l)).json()}catch(e){s=null}else if("object"==typeof t)try{let e;if(t.body&&"object"==typeof t.body){let e=t.body;t.body=JSON.stringify(e)}if(t.headers){t.headers["x-csrf-auth"]=a?localStorage.getItem("csrf"):"";let s={...t};e=await fetch(l,s)}else e=await fetch(l,{...t,headers:{"Content-Type":"application/json","x-csrf-auth":a?localStorage.getItem("csrf"):""}});s=e.json()}catch(e){s=null}else try{s=(await fetch(l)).json()}catch(e){s=null}return s}a.d(t,{A:()=>s})},6709:(e,t,a)=>{"use strict";async function s(e){let{links:t}=e,a=t||document.querySelectorAll("nav a");if(a&&a.forEach(e=>{e.dataset.currentlink===window.location.pathname?e.classList.add("active"):window.location.pathname.match(new RegExp("".concat(e.dataset.currentlink,"\\/.*")))&&!e.dataset.strictlink&&e.classList.add("active")}),window.location.pathname.match(/\/databases\/.*/)){let e=document.querySelectorAll("a");e&&window.location.search.match(/delegated=true/)&&e.forEach((e,t)=>{var a;(null==e?void 0:null===(a=e.pathname)||void 0===a?void 0:a.match(/databases/))&&(e.href=e.pathname+window.location.search)})}}a.d(t,{A:()=>s})},3444:(e,t,a)=>{"use strict";a.d(t,{A:()=>h});var s=a(4848),l=a(6540),n=a(3368),r=a.n(n),i=a(6709),o=a(3782),c=a(3980);function d(e){return(0,s.jsx)(l.Fragment,{})}var m=a(5107);function h(e){let{children:t,head:a,user:n,productionEnvironment:h,darkBgHeader:u,transparentHeader:x}=e;return l.useEffect(()=>{(0,i.A)({})},[]),(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)(r(),{children:a}),(0,s.jsx)(d,{head:a,productionEnvironment:h}),(0,s.jsx)(o.A,{user:n,darkBg:u,transparent:x}),t,(0,s.jsx)(c.A,{}),(0,s.jsx)(m.A,{})]})}},7452:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var s=a(4848),l=a(6540),n=a(620),r=a(8631);function i(e){let{user:t}=e;return(0,s.jsxs)("div",{className:"dropdown right-aligned",children:[(0,s.jsxs)("a",{href:"/admin",className:"button outlined gray more-padding relative z-20 mb-2",children:[(0,s.jsx)(r.A,{size:18,className:"mr-1"}),(0,s.jsx)("span",{children:"Dashboard"})]}),null,(0,s.jsx)("a",{href:"/admin/".concat(null==t?void 0:t.id,"/settings"),className:"button plain-text more-padding normal-weight",children:"Settings"}),(0,s.jsx)("a",{href:"/logout",className:"button plain-text more-padding normal-weight",children:"Logout"})]})}var o=a(4819),c=a(2027);function d(e){var t,a,r,d,m,h;let{activeUser:u,noModeSelector:x}=e;return(null==u?void 0:u.logged_in_status)?(0,s.jsxs)("div",{className:"gap-2 flex-col-reverse xl:flex-row gap-y-6 w-full xl:w-auto py-2 whitespace-nowrap",children:[(0,s.jsxs)("div",{className:"ml-auto dropdown-wrapper p-0 xl:p-4 hover:bg-slate-100 hidden",children:[(0,s.jsx)("a",{href:"/admin/".concat(null==u?void 0:u.id,"/notifications"),className:"flex items-center justify-center",children:(0,s.jsx)("img",{src:"/images/notification-icon.svg",alt:"Notification Icon",width:20,className:"opacity-50"})}),(0,s.jsxs)("div",{className:"dropdown mt-0 xl:-mt-3 gap-2",children:[(0,s.jsx)("span",{className:"text-slate-400",children:"Notifications"}),(0,s.jsx)(n.A,{position:"relative",width:"20px"})]})]}),(0,s.jsxs)("div",{className:"ml-auto dropdown-wrapper",children:[(0,s.jsxs)("div",{className:"avatar",style:{width:"36px",height:"36px"},children:[(0,s.jsx)("img",{src:null==u?void 0:u.image,alt:"User Image",width:35,className:"w-full h-full object-cover rounded-full"}),(null==u?void 0:u.social_login)?(0,s.jsxs)("div",{className:"sub-img",children:[(0,s.jsx)("img",{src:(null==u?void 0:null===(t=u.social_platform)||void 0===t?void 0:t.match(/facebook/i))?"/images/facebook.png":(null==u?void 0:null===(a=u.social_platform)||void 0===a?void 0:a.match(/google/i))?"/images/google.png":(null==u?void 0:null===(r=u.social_platform)||void 0===r?void 0:r.match(/github/i))?"/images/github.png":"/images/sharing.png",alt:"",className:"flex dark:hidden"}),(0,s.jsx)("img",{src:(null==u?void 0:null===(d=u.social_platform)||void 0===d?void 0:d.match(/facebook/i))?"/images/facebook.png":(null==u?void 0:null===(m=u.social_platform)||void 0===m?void 0:m.match(/google/i))?"/images/google.png":(null==u?void 0:null===(h=u.social_platform)||void 0===h?void 0:h.match(/github/i))?"/images/github-white.png":"/images/sharing.png",alt:"",className:"hidden dark:flex"})]}):(0,s.jsx)(l.Fragment,{})]}),(0,s.jsx)("span",{className:"dark:text-white",children:(0,s.jsxs)("b",{children:[null==u?void 0:u.first_name," ",null==u?void 0:u.last_name]})}),(0,s.jsx)(c.A,{size:20}),(0,s.jsx)(i,{user:u})]}),!x&&(0,s.jsx)("div",{className:"ml-2",children:(0,s.jsx)(o.A,{})})]}):(0,s.jsx)(l.Fragment,{})}},3980:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(4848);a(6540);var l=a(7869);function n(e){return(0,s.jsxs)("footer",{className:"p-8 md:p-10 w-full flex flex-col items-center",children:[(0,s.jsxs)("div",{className:"main-container items-start justify-between gap-6 flex-wrap flex-col md:flex-row pt-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-start gap-6",children:[(0,s.jsx)(l.A,{}),(0,s.jsx)("span",{className:"font-normal max-w-sm text-sm text-left",children:"Datasquirel is a fast efficient cloud-based data store that takes away the entire hassle of data management."})]}),(0,s.jsxs)("div",{className:"flex-col items-start",children:[(0,s.jsx)("h4",{className:"m-0",children:"Features"}),(0,s.jsx)("a",{href:"/docs/database-reference/data-types",className:"text-slate-600",children:"Database Schema"}),(0,s.jsx)("a",{href:"/docs/database-reference/querying-data",className:"text-slate-600",children:"SQL Queries"}),(0,s.jsx)("a",{href:"/docs/gui-reference/upload-media",className:"text-slate-600",children:"Media Storage"})]}),(0,s.jsxs)("div",{className:"flex-col items-start",children:[(0,s.jsx)("h4",{className:"m-0",children:"Docs"}),(0,s.jsx)("a",{href:"/docs/quick-start",className:"text-slate-600",children:"Quick Start Guide"}),(0,s.jsx)("a",{href:"/docs/api-reference",className:"text-slate-600",children:"API Guide"}),(0,s.jsx)("a",{href:"/docs/gui-reference",className:"text-slate-600",children:"GUI Interface"})]}),(0,s.jsxs)("div",{className:"flex-col items-start",children:[(0,s.jsx)("h4",{className:"m-0",children:"Company"}),(0,s.jsx)("a",{href:"/about",className:"text-slate-600",children:"About Us"}),(0,s.jsx)("a",{href:"/terms",className:"text-slate-600",children:"Terms and Conditions"}),(0,s.jsx)("a",{href:"/privacy",className:"text-slate-600",children:"Privacy Policy"})]})]}),(0,s.jsx)("hr",{className:"my-10"}),(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("span",{className:"text-sm text-slate-400 dark:text-slate-600",children:[new Date().getFullYear()," \xa9 Datasquirel. All rights reserved."]})})]})}},3782:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var s=a(4848),l=a(6540),n=a(4819),r=a(7869),i=a(7452),o=a(2027);function c(e){let{user:t,darkBg:a,transparent:c}=e,[d,m]=l.useState((null==t?void 0:t.logged_in_status)?t:null);return l.useEffect(()=>{let e=document.getElementById("main-nav-content-wrapper");window.addEventListener("click",t=>{let a=t.target;(null==a?void 0:a.closest("#main-nav-content-wrapper"))||(null==a?void 0:a.closest("#main-header-hamburger-button"))||e.classList.contains("hidden")||e.classList.add("hidden")}),document.querySelectorAll("nav a").forEach(e=>{e.pathname!==window.location.pathname||e.href.match(/#/)||e.pathname.match(/http/)||e.classList.add("active-page-link")})},[]),l.useEffect(()=>{(null==t?void 0:t.logged_in_status)&&m(t)},[t]),(0,s.jsx)("header",{className:"w-full px-4 md:px-8 flex justify-center gap-4 "+(a?" shadow-slate-900/20 dark-content":" shadow-slate-900/5")+(c?"":" bg-white dark:bg-slate-800 shadow-lg dark:shadow-black/10 z-50")+((null==t?void 0:t.logged_in_status)?" py-4":" py-6"),style:{zIndex:700},children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("nav",{className:"w-full flex items-center justify-between gap-4 md:gap-10",children:[(0,s.jsx)(r.A,{}),(0,s.jsxs)("div",{className:"hidden xl:flex flex-col items-stretch grow fixed xl:static top-0 right-0 p-4 xl:p-0 shadow-xl xl:shadow-none h-screen xl:h-auto overflow-auto xl:overflow-visible w-screen sl:w-auto xl:bg-transparent"+(c?" bg-white xl:bg-transparent":" bg-white dark:bg-slate-800"),id:"main-nav-content-wrapper",children:[(0,s.jsxs)("div",{className:"items-center mb-2 flex xl:hidden",children:[(0,s.jsx)("a",{href:"/",children:(0,s.jsx)("img",{src:"/images/logo-icon-alt-2.png",alt:"Logo Icon",width:37})}),(0,s.jsx)("button",{className:"outlined gray ml-auto",onClick:e=>{let t=document.getElementById("main-nav-content-wrapper");null==t||t.classList.toggle("hidden")},style:{border:"none"},children:(0,s.jsx)("span",{className:"font-semibold text-4xl",children:"✕"})})]}),(0,s.jsxs)("div",{className:"flex items-center grow flex-col-reverse xl:flex-row mb-10 xl:mb-0",children:[(0,s.jsxs)("div",{className:"flex-col xl:flex-row w-full gap-y-10 gap-x-6",children:[(0,s.jsxs)("div",{className:"dropdown-wrapper flex items-center gap-1",children:[(0,s.jsxs)("a",{href:"/docs/gui-reference",className:"relative z-10 flex items-center gap-2",children:[(0,s.jsx)("span",{children:"Features"}),(0,s.jsx)(o.A,{size:20})]}),(0,s.jsxs)("div",{className:"dropdown",children:[(0,s.jsx)("a",{href:"/docs/database-reference/data-types",className:"button plain-text more-padding normal-weight",children:"Database Schema"}),(0,s.jsx)("a",{href:"/docs/database-reference/querying-data",className:"button plain-text more-padding normal-weight",children:"Sql Queries"}),(0,s.jsx)("a",{href:"/docs/gui-reference/upload-media",className:"button plain-text more-padding normal-weight",children:"Media Storage"})]})]}),(0,s.jsxs)("div",{className:"dropdown-wrapper flex items-center gap-1",children:[(0,s.jsxs)("a",{href:"/docs",className:"relative z-10 flex items-center gap-2",children:[(0,s.jsx)("span",{children:"Docs"}),(0,s.jsx)(o.A,{size:20})]}),(0,s.jsxs)("div",{className:"dropdown",children:[(0,s.jsx)("a",{href:"/docs/quick-start",className:"button plain-text more-padding normal-weight",children:"Quick Start"}),(0,s.jsx)("a",{href:"/docs/api-reference",className:"button plain-text more-padding normal-weight",children:"Api Guide"}),(0,s.jsx)("a",{href:"/docs/gui-reference",className:"button plain-text more-padding normal-weight",children:"GUI Interface"})]})]}),(0,s.jsx)("a",{href:"/about",children:"About Us"}),(0,s.jsx)("a",{href:"/contact",children:"Contact Us"})]}),(null==d?void 0:d.logged_in_status)?(0,s.jsx)(i.A,{activeUser:d,noModeSelector:!0}):(0,s.jsxs)("div",{className:"ml-auto w-full xl:w-auto justify-center",children:[(0,s.jsx)("a",{href:"/login",className:"button outlined gray hidden xl:flex"+(a?" light":""),children:"Login"}),(0,s.jsx)("a",{href:"/login",className:"button outlined gray flex xl:hidden",children:"Login"}),(0,s.jsx)("a",{href:"/create-account",className:"button",children:"Get Started"})]})]})]}),(0,s.jsx)("div",{className:"ml-0 xl:-ml-2",children:(0,s.jsx)(n.A,{})}),(0,s.jsxs)("button",{className:"bg-transparent w-16 p-4 gap-1.5 flex xl:hidden flex-col hover:bg-transparent transition-all",onClick:e=>{let t=document.getElementById("main-nav-content-wrapper");null==t||t.classList.toggle("hidden")},style:{minWidth:"50px",backgroundColor:"transparent"},id:"main-header-hamburger-button","aria-label":"Mobile Hambutget Button",children:[(0,s.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,s.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"}),(0,s.jsx)("div",{className:"w-full h-1 bg-slate-600 dark:bg-slate-400 rounded-full"})]})]})})})}},5107:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(4848);let l=(0,a(5737).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var n=a(6540);function r(e){let{snug:t}=e,[a,r]=n.useState(!1);return n.useEffect(()=>{window.addEventListener("scroll",e=>{window.scrollY>600?r(!0):r(!1)})},[]),(0,s.jsx)(n.Fragment,{children:a&&(0,s.jsx)("button",{className:"fixed z-40 w-12 h-12 p-2 rounded-full bg-white dark:bg-slate-600 shadow-xl flex items-center justify-center hover:bg-slate-800 dark:hover:bg-slate-800 text-slate-500 dark:text-slate-200 outline-slate-300 dark:outline-transparent"+(t?" bottom-6 right-4":" bottom-4 md:bottom-10 right-4 md:right-10"),style:{outlineStyle:"solid",outlineWidth:"1px",zIndex:2e3},onClick:e=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},children:(0,s.jsx)(l,{size:20})})})}},5737:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var s=a(6540),l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),r=(e,t)=>{let a=(0,s.forwardRef)((a,r)=>{let{color:i="currentColor",size:o=24,strokeWidth:c=2,absoluteStrokeWidth:d,className:m="",children:h,...u}=a;return(0,s.createElement)("svg",{ref:r,...l,width:o,height:o,stroke:i,strokeWidth:d?24*Number(c)/Number(o):c,className:["lucide","lucide-".concat(n(e)),m].join(" "),...u},[...t.map(e=>{let[t,a]=e;return(0,s.createElement)(t,a)}),...Array.isArray(h)?h:[h]])});return a.displayName="".concat(e),a}},2027:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(5737).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},8631:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});let s=(0,a(5737).A)("CircleGauge",[["path",{d:"M15.6 2.7a10 10 0 1 0 5.7 5.7",key:"1e0p6d"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M13.4 10.6 19 5",key:"1kr7tw"}]])},9232:(e,t,a)=>{"use strict";a.r(t),a.d(t,{AppContext:()=>u,default:()=>x});var s=a(4848),l=a(6540),n=a(8133),r=a.n(n),i=a(3368),o=a.n(i);a(1092),a(3871);var c=a(3698),d=a(3444),m=a(6411);class h extends l.Component{static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){(0,c.A)("/api/admin/clientError",{method:"post",body:{component:"ErrorBoundary-class-component",message:e.message+" ==== Error Info => "+t,user:{}}})}render(){return this.state.hasError?(0,s.jsx)(d.A,{head:this.state.head,user:null,children:(0,s.jsxs)("div",{className:"paper items-center px-20",children:[(0,s.jsx)("h2",{className:"text-base text-slate-400 m-0",children:"Application Error!"}),(0,s.jsx)("h1",{className:"text-2xl m-0 mb-4",children:"Please try again!"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("a",{href:"/",className:"button outlined",children:"Home"}),(0,s.jsx)("button",{onClick:e=>{window.history.back()},children:"Go Back"})]})]})}):this.props.children}constructor(e){super(e),this.state={hasError:!1};let t="Error | Datasquirel",a="Datasquirel is a fast and efficient cloud-based SQL data management system that takes away the entire hassle of dealing with data both locally and across different platforms.",n=(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("title",{children:t}),(0,s.jsx)("meta",{name:"description",content:a}),(0,s.jsx)(m.A,{pageTitle:t,pageDescription:a,pagePathname:"/"})]});this.state.head=n}}let u=l.createContext({pageProps:{}});function x(e){let{Component:t,pageProps:a}=e;return(0,s.jsxs)(u.Provider,{value:{pageProps:a},children:[(0,s.jsx)(o(),{children:(0,s.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"})}),(0,s.jsx)(h,{children:(0,s.jsx)(t,{...a})}),(0,s.jsx)(r(),{src:"/scripts/main.js",strategy:"afterInteractive"})]})}},1092:()=>{},3871:()=>{},3368:(e,t,a)=>{e.exports=a(6085)},8133:(e,t,a)=>{e.exports=a(7610)}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(6170),t(8440))),_N_E=e.O()}]);