"use strict";(()=>{vare={};e.id=6799,e.ids=[6799],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}}})},89496:(e,r,t)=>{t.r(r),t.d(r,{config:()=>f,default:()=>S,routeModule:()=>_});vars={};t.r(s),t.d(s,{default:()=>m});varn=t(89947),a=t(2706),o=t(96762),l=t(57638),c=t.n(l),u=t(77538),i=t.n(u),d=t(19131),p=t.n(d);asyncfunctionm(e,r){if("POST"!==e.method)returnr.json({success:!1,msg:"Wrong Method"});lett=awaitp()(e);if(!t?.logged_in_status)returnr.json({success:!1,log:"No Logs"});let{database:s,query:n}=e.body;e.body.user;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=awaitc()({database:s,queryString:n});if(!e)returnr.json({success:!1,msg:"Query Failed!"});r.json({success:!0,result:e})}catch(e){console.log(e.message),i()({component:"/api/runUserDbQuery/main-catch-error",message:e.message}),r.json({success:!1})}}t(29021);letS=(0,o.M)(s,"default"),f=(0,o.M)(s,"config"),_=newn.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/admin/runUserDbQuery",pathname:"/api/admin/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,l=(()=>{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 ===========================