"use strict";(()=>{vare={};e.id=2896,e.ids=[2896],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}}})},57237:(e,r,t)=>{t.r(r),t.d(r,{config:()=>y,default:()=>_,routeModule:()=>g});vars={};t.r(s),t.d(s,{default:()=>m});varn=t(89947),a=t(2706),o=t(96762),i=t(57638),l=t.n(i),c=t(77538),u=t.n(c),d=t(6420),p=t.n(d),f=t(72907),S=t.n(f);asyncfunctionm(e,r){if("GET"!==e.method)returnr.json({msg:"Failed!"});lett=awaitp()(e,r);if(!t)returnr.json({success:!1,msg:"Unauthorized"});let{table:s,db:n,id:a}=e.query,o=e.query.schema;try{lete=`SELECT * FROM \`${s}\` WHERE id=?`,t=[a?.toString()||""],i=awaitl()({database:n?.toString()||"",queryString:e,queryValuesArray:t});if(!i||!i[0])returnr.json({success:!1,msg:"Entry not found"});letc=JSON.parse(o||"{}");try{for(lete=0;e<c.fields.length;e++){letr=c.fields[e];r.encrypted&&r.fieldName&&(i[0][r.fieldName]=S()(i[0][r.fieldName]))}}catch(e){console.log("Error in parsing and decrypting fields in 'UpdateDbEntry' API ROute =>",e.message)}r.json({success:!0,entry:i[0]})}catch(e){u()({component:"/api/refreshEntry/main-catch-error",message:e.message,user:t}),r.json({success:!1,msg:"Deletion Failed!"})}}let_=(0,o.M)(s,"default"),y=(0,o.M)(s,"config"),g=newn.PagesAPIRouteModule({definition:{kind:a.A.PAGES_API,page:"/api/refreshEntry",pathname:"/api/refreshEntry",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 ===========================