(()=>{var e={};e.id=1060,e.ids=[1060],e.modules={1486:(e,s,t)=>{"use strict";t.r(s),t.d(s,{GlobalError:()=>o.a,__next_app__:()=>p,pages:()=>d,routeModule:()=>m,tree:()=>u});var r=t(65239),i=t(48088),n=t(88170),o=t.n(n),a=t(30893),l={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>a[e]);t.d(s,l);let u={children:["",{children:["admin",{children:["news",{children:["[slug]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,43926)),"C:\\Users\\Taukeer19\\Desktop\\Website\\mobile-site\\mobile-insights-hub\\src\\app\\admin\\news\\[slug]\\page.tsx"]}]},{}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,99111)),"C:\\Users\\Taukeer19\\Desktop\\Website\\mobile-site\\mobile-insights-hub\\src\\app\\admin\\layout.tsx"]}]},{layout:[()=>Promise.resolve().then(t.bind(t,64812)),"C:\\Users\\Taukeer19\\Desktop\\Website\\mobile-site\\mobile-insights-hub\\src\\app\\layout.tsx"],"not-found":[()=>Promise.resolve().then(t.bind(t,54413)),"C:\\Users\\Taukeer19\\Desktop\\Website\\mobile-site\\mobile-insights-hub\\src\\app\\not-found.tsx"],forbidden:[()=>Promise.resolve().then(t.t.bind(t,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(t.t.bind(t,65284,23)),"next/dist/client/components/unauthorized-error"]}]}.children,d=["C:\\Users\\Taukeer19\\Desktop\\Website\\mobile-site\\mobile-insights-hub\\src\\app\\admin\\news\\[slug]\\page.tsx"],p={require:t,loadChunk:()=>Promise.resolve()},m=new r.AppPageRouteModule({definition:{kind:i.RouteKind.APP_PAGE,page:"/admin/news/[slug]/page",pathname:"/admin/news/[slug]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3498:e=>{"use strict";e.exports=require("mysql2/promise")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},24656:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>l});var r=t(60687),i=t(43210),n=t(16189),o=t(41862),a=t(64119);function l(){(0,n.useParams)();let[e,s]=(0,i.useState)(null),[t,l]=(0,i.useState)(!0),[u,d]=(0,i.useState)("");return t?(0,r.jsx)("div",{className:"flex items-center justify-center min-h-[40vh]",children:(0,r.jsx)(o.A,{size:28,className:"animate-spin text-primary"})}):u||!e?(0,r.jsx)("div",{className:"text-center text-red-400 py-20",children:u||"Not found"}):(0,r.jsx)(a.default,{mode:"edit",initialData:e})}},29021:e=>{"use strict";e.exports=require("fs")},29148:(e,s,t)=>{Promise.resolve().then(t.bind(t,24656))},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:e=>{"use strict";e.exports=require("path")},42716:(e,s,t)=>{Promise.resolve().then(t.bind(t,43926))},43926:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>r});let r=(0,t(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"C:\\\\Users\\\\Taukeer19\\\\Desktop\\\\Website\\\\mobile-site\\\\mobile-insights-hub\\\\src\\\\app\\\\admin\\\\news\\\\[slug]\\\\page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"C:\\Users\\Taukeer19\\Desktop\\Website\\mobile-site\\mobile-insights-hub\\src\\app\\admin\\news\\[slug]\\page.tsx","default")},46293:e=>{"use strict";e.exports=require("sql.js")},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")}};var s=require("../../../../webpack-runtime.js");s.C(e);var t=e=>s(s.s=e),r=s.X(0,[4447,7498,5496,4855],()=>t(1486));module.exports=r})();