"use strict";(()=>{var e={};e.id=9833,e.ids=[9833],e.modules={53524:e=>{e.exports=require("@prisma/client")},20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},87967:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>f,patchFetch:()=>g,requestAsyncStorage:()=>m,routeModule:()=>d,serverHooks:()=>h,staticGenerationAsyncStorage:()=>l});var a={};r.r(a),r.d(a,{GET:()=>c,dynamic:()=>p});var n=r(49303),i=r(88716),s=r(60670),o=r(87070);let p="force-dynamic",u={accent:"#f59e0b",accentDark:"#d97706",accentLight:"#fbbf24",bgPrimary:"#0a0a0f",bgSecondary:"#111118",bgCard:"#16161f",success:"#10b981",error:"#ef4444",info:"#3b82f6",purple:"#8b5cf6"};async function c(){try{let e=(await r.e(2331).then(r.bind(r,72331))).default,t=await e.setting.findMany({where:{key:{startsWith:"theme_"}}}),a={...u};for(let e of t){let t=e.key.replace("theme_","");t in a&&(a[t]=e.value)}return o.NextResponse.json({theme:a})}catch{return o.NextResponse.json({theme:u})}}let d=new n.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/api/settings/theme/route",pathname:"/api/settings/theme",filename:"route",bundlePath:"app/api/settings/theme/route"},resolvedPagePath:"C:\\Users\\akmal\\OneDrive\\Documents\\AmaneNime Topup\\amanenime-topup\\app\\api\\settings\\theme\\route.ts",nextConfigOutput:"standalone",userland:a}),{requestAsyncStorage:m,staticGenerationAsyncStorage:l,serverHooks:h}=d,f="/api/settings/theme/route";function g(){return(0,s.patchFetch)({serverHooks:h,staticGenerationAsyncStorage:l})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[8948,5972],()=>r(87967));module.exports=a})();