module.exports=[359771,a=>{"use strict";a.s(["ProjectForm",()=>b]);let b=(0,a.i(420358).registerClientReference)(function(){throw Error("Attempted to call ProjectForm() from the server but ProjectForm 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/projects/form/project-form.tsx <module evaluation>","ProjectForm")},630755,a=>{"use strict";a.s(["ProjectForm",()=>b]);let b=(0,a.i(420358).registerClientReference)(function(){throw Error("Attempted to call ProjectForm() from the server but ProjectForm 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/projects/form/project-form.tsx","ProjectForm")},42922,a=>{"use strict";a.i(359771);var b=a.i(630755);a.n(b)},216343,a=>{"use strict";var b=a.i(511366),c=a.i(115295),d=a.i(42922),e=a.i(307429),f=a.i(351071);async function g({params:a}){let{tenantId:h,projectId:i}=await a;try{let[a,c]=await Promise.all([(0,e.fetchProject)(h,i),(0,e.fetchProjectPermissions)(h,i)]);return(0,b.jsx)(d.ProjectForm,{className:"max-w-2xl mx-auto",projectId:a.data.id,initialData:{...a.data,id:a.data.id},tenantId:h,readOnly:!c.canEdit})}catch(a){return(0,b.jsx)(c.default,{errorCode:(0,f.getErrorCode)(a),link:`/${h}/projects`,linkText:"Back to projects",context:"project"})}}a.s(["default",0,g,"dynamic",0,"force-dynamic"])},439480,a=>{a.n(a.i(216343))}];

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