module.exports=[912714,(e,t,r)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},844376,(e,t,r)=>{t.exports=e.x("node:module",()=>require("node:module"))},857764,(e,t,r)=>{t.exports=e.x("node:url",()=>require("node:url"))},750227,(e,t,r)=>{t.exports=e.x("node:path",()=>require("node:path"))},517232,e=>{"use strict";let t;var r=e.i(912714),n=e.i(844376),o=e.i(750227),s=e.i(857764);let i={get url(){return`file://${e.P("packages/next-host/app/api/lucide-icon/lucideIconGet.ts")}`}},a=/^[a-z][a-z0-9-]*$/;async function u(){return t||(t=(async()=>{let e=(0,n.createRequire)((0,s.fileURLToPath)(i.url)).resolve("lucide-static/package.json");return(0,o.join)((0,o.dirname)(e),"icons")})())}async function c(e){let t,n=(e??"").replace(/\.svg$/i,"");if(!a.test(n))return new Response("Invalid icon name",{status:400});let s=await u(),i=(0,o.join)(s,`${n}.svg`);try{t=await (0,r.readFile)(i,"utf8")}catch(e){if("ENOENT"===e.code)return new Response("Icon not found",{status:404});throw e}return new Response(t,{status:200,headers:{"content-type":"image/svg+xml; charset=utf-8","cache-control":"public, max-age=31536000, immutable"}})}e.s(["lucideIconGet",0,c])}];

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