module.exports=[193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},950640,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},155355,a=>{a.v("/_next/static/media/icon.0o9sx7edqp2fk.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},508175,a=>{"use strict";let b={src:a.i(155355).default,width:32,height:32};a.s(["default",0,b])},110585,a=>{a.v("/_next/static/media/favicon.0x3dzn~oxb6tn.ico"+(globalThis.NEXT_CLIENT_ASSET_SUFFIX||""))},68611,a=>{"use strict";let b={src:a.i(110585).default,width:256,height:256};a.s(["default",0,b])},852145,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/(dashboard)/dashboard/packages/PackagesClient.jsx <module evaluation> 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.")},"[project]/src/app/(dashboard)/dashboard/packages/PackagesClient.jsx <module evaluation>","default")},940971,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(211857).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/(dashboard)/dashboard/packages/PackagesClient.jsx 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.")},"[project]/src/app/(dashboard)/dashboard/packages/PackagesClient.jsx","default")},873348,a=>{"use strict";a.i(852145);var b=a.i(940971);a.n(b)},557240,a=>{"use strict";var b=a.i(907997),c=a.i(905246),d=a.i(23787),e=a.i(471506);function f(a){return a?{id:a.id,name:a.name,description:a.description,rtpMinute:a.rtpMinute,rtpDay:a.rtpDay,tokenLimitMonthly:a.tokenLimitMonthly,creditLimit:a.creditLimit,creditToTokenRatio:a.creditToTokenRatio,maxConcurrent:a.maxConcurrent,durationDays:a.durationDays,price:a.price,isActive:1===a.isActive||!0===a.isActive,createdAt:a.createdAt,updatedAt:a.updatedAt}:null}async function g(){return(await (0,e.getAdapter)()).all("SELECT * FROM packages ORDER BY createdAt ASC").map(f)}var h=a.i(873348);async function i(){try{let a=await (0,c.cookies)(),b=a.get("auth_token")?.value;if(!b)return[];let e=await (0,d.verifyToken)(b);if(!e||"admin"!==e.role)return[];return await g()}catch{return[]}}async function j(){let a=await i();return(0,b.jsx)(h.default,{initialPackages:a})}a.s(["default",0,j,"dynamic",0,"force-dynamic"],557240)},926535,a=>{a.n(a.i(557240))},749363,a=>{a.v(a=>Promise.resolve().then(()=>a(108979)))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__11mv-xz._.js.map