module.exports=[81249,a=>{"use strict";a.s(["SkillDirectoryBrowser",()=>c,"SkillFileEditor",()=>d]);var b=a.i(420358);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call SkillDirectoryBrowser() from the server but SkillDirectoryBrowser is 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]/agents-manage-ui/src/components/skills/skill-file-editor.tsx <module evaluation>","SkillDirectoryBrowser"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call SkillFileEditor() from the server but SkillFileEditor is 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]/agents-manage-ui/src/components/skills/skill-file-editor.tsx <module evaluation>","SkillFileEditor")},821368,a=>{"use strict";a.s(["SkillDirectoryBrowser",()=>c,"SkillFileEditor",()=>d]);var b=a.i(420358);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call SkillDirectoryBrowser() from the server but SkillDirectoryBrowser is 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]/agents-manage-ui/src/components/skills/skill-file-editor.tsx","SkillDirectoryBrowser"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call SkillFileEditor() from the server but SkillFileEditor is 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]/agents-manage-ui/src/components/skills/skill-file-editor.tsx","SkillFileEditor")},163725,a=>{"use strict";a.i(81249);var b=a.i(821368);a.n(b)},781609,a=>{"use strict";var b=a.i(511366),c=a.i(115295),d=a.i(163725),e=a.i(351071),f=a.i(704850);let g=async({params:a})=>{let{tenantId:g,projectId:h,fileSlug:i}=await a;try{let{selectedFile:a}=await (0,f.resolveSkillFilePageData)(g,h,i);if(!a)return(0,b.jsx)(c.default,{errorCode:"not_found",context:"skill file"});return(0,b.jsx)(d.SkillFileEditor,{tenantId:g,projectId:h,skillId:a.skillId,fileId:a.fileId,filePath:a.filePath,initialContent:a.content})}catch(a){return(0,b.jsx)(c.default,{errorCode:(0,e.getErrorCode)(a),context:"skill file"})}};a.s(["default",0,g])},94563,a=>{a.n(a.i(781609))}];

//# sourceMappingURL=agents-manage-ui_src_0uqeq4-._.js.map