"use strict";(()=>{var e={};e.id=4703,e.ids=[4703],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")},6466:(e,r,a)=>{a.r(r),a.d(r,{originalPathname:()=>g,patchFetch:()=>x,requestAsyncStorage:()=>l,routeModule:()=>d,serverHooks:()=>m,staticGenerationAsyncStorage:()=>v});var t={};a.r(t),a.d(t,{GET:()=>u,dynamic:()=>c});var i=a(49303),s=a(88716),n=a(60670),o=a(87070),p=a(72331);let c="force-dynamic";async function u(e){try{let e=await p._.vipPackage.findMany({where:{isActive:!0},orderBy:{price:"asc"}});return o.NextResponse.json(e)}catch(e){return console.error("Failed to fetch VIP packages:",e),o.NextResponse.json({error:"Internal Server Error"},{status:500})}}let d=new i.AppRouteRouteModule({definition:{kind:s.x.APP_ROUTE,page:"/api/vip/packages/route",pathname:"/api/vip/packages",filename:"route",bundlePath:"app/api/vip/packages/route"},resolvedPagePath:"C:\\Users\\MSI\\Downloads\\film\\app\\api\\vip\\packages\\route.ts",nextConfigOutput:"standalone",userland:t}),{requestAsyncStorage:l,staticGenerationAsyncStorage:v,serverHooks:m}=d,g="/api/vip/packages/route";function x(){return(0,n.patchFetch)({serverHooks:m,staticGenerationAsyncStorage:v})}},72331:(e,r,a)=>{a.d(r,{_:()=>i});var t=a(53524);let i=global.prisma||new t.PrismaClient}};var r=require("../../../../webpack-runtime.js");r.C(e);var a=e=>r(r.s=e),t=r.X(0,[8948,5972],()=>a(6466));module.exports=t})();