"use strict";(()=>{vare={};e.id=8563,e.ids=[8563],e.modules={75600:e=>{e.exports=require("next/dist/compiled/next-server/pages-api.runtime.prod.js")},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")},96762:(e,r)=>{Object.defineProperty(r,"M",{enumerable:!0,get:function(){returnfunctione(r,t){returntinr?r[t]:"then"inr&&"function"==typeofr.then?r.then(r=>e(r,t)):"function"==typeofr&&"default"===t?r:void0}}})},83469:(e,r,t)=>{t.r(r),t.d(r,{config:()=>m,default:()=>_,routeModule:()=>S});vars={};t.r(s),t.d(s,{default:()=>f});varn=t(89947),a=t(2706),o=t(96762),i=t(6420),l=t.n(i),c=t(77538),u=t.n(c),d=t(57638),p=t.n(d);asyncfunctionf(e,r){if("POST"!==e.method)returnr.json({user:null,msg:"Registration Failed!"});lett=awaitl()(e,r,!0);if(!t)returnr.json({success:!1,msg:"Unauthorized"});let{database:s,query:n,tables:a}=e.body;try{if(!n?.match(/^select .* from .*|^show tables$|^show indexes from .*|show columns from .*|^update |^delete from /i)||n?.match(/^create user|INFORMATION_SCHEMA/i))returnr.json({success:!1,msg:"Disallowed query"});lete=awaitp()({database:`datasquirel_user_${t.id}_${s}`,queryString:n});if(!e)returnr.json({success:!1,msg:"Query Failed!"});r.json({success:!0,result:e})}catch(e){u()({component:"/api/runUserDbQuery/main-catch-error",message:e.message,user:t}),r.json({success:!1})}}t(29021);let_=(0,o.M)(s,"default"),m=(0,o.M)(s,"config"),S=newn.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/runUserDbQuery",pathname:"/api/runUserDbQuery",bundlePath:"",filename:""},userland:s})},77538:(e,r,t)=>{lets=t(29021),{IncomingMessage:n}=t(81630);e.exports=asyncfunction({user:e,message:r,component:t,noMail:n,req:a}){leto=newDate,i=(()=>{if(!a)returnnull;try{lete=a.headers["x-forwarded-for"],r=a.headers["x-real-ip"],t=a.headers["cf-connecting-ip"],s=Array.isArray(e)?e[0]:e?.split(",")[0],n=t||s||r||a.socket.remoteAddress;if(!n)returnnull;returnString(n)}catch(e){returnnull}})();try{letn=`🚀 SERVER ERROR ===========================