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"))},688421,(a,b,c)=>{b.exports=a.r(918622)},59073,a=>{a.n(a.i(108197))},827132,a=>{a.n(a.i(712953))},292560,a=>{a.n(a.i(150258))},6682,a=>{a.n(a.i(777063))},216156,a=>{a.n(a.i(986155))},708910,a=>{a.n(a.i(311729))},826636,a=>{a.n(a.i(99257))},193963,a=>{a.n(a.i(664489))},641945,a=>{a.n(a.i(168250))},503353,a=>{a.n(a.i(147131))},662304,a=>{a.n(a.i(129625))},808296,a=>{a.n(a.i(490948))},875537,a=>{a.n(a.i(229540))},183054,a=>{a.n(a.i(909629))},867294,a=>{a.n(a.i(342183))},218456,a=>{a.n(a.i(683689))},530118,a=>{a.n(a.i(172646))},797371,a=>{a.n(a.i(904421))},772930,a=>{a.n(a.i(800293))},704837,a=>{a.n(a.i(417767))},646680,a=>{a.n(a.i(527522))},890288,a=>{a.n(a.i(504604))},494500,a=>{a.n(a.i(579269))},832335,a=>{a.n(a.i(350381))},606977,a=>{a.n(a.i(447186))},353249,a=>{a.n(a.i(751737))},221126,a=>{a.n(a.i(150894))},131698,a=>{a.n(a.i(570071))},388016,a=>{a.n(a.i(43345))},341002,a=>{a.n(a.i(893475))},835017,a=>{a.n(a.i(241289))},195194,a=>{a.n(a.i(356226))},311832,a=>{a.n(a.i(128352))},746192,a=>{a.n(a.i(846917))},58080,a=>{"use strict";a.s(["CreateDrawerClient",()=>b]);let b=(0,a.i(275919).registerClientReference)(function(){throw Error("Attempted to call CreateDrawerClient() from the server but CreateDrawerClient 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]/src/presentation/web/components/common/control-center-drawer/create-drawer-client.tsx <module evaluation>","CreateDrawerClient")},963771,a=>{"use strict";a.s(["CreateDrawerClient",()=>b]);let b=(0,a.i(275919).registerClientReference)(function(){throw Error("Attempted to call CreateDrawerClient() from the server but CreateDrawerClient 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]/src/presentation/web/components/common/control-center-drawer/create-drawer-client.tsx","CreateDrawerClient")},703396,a=>{"use strict";a.i(58080);var b=a.i(963771);a.n(b)},73461,a=>{"use strict";var b=a.i(307593),c=a.i(996380),d=a.i(633244),e=a.i(524860),f=a.i(719720),g=a.i(703396);async function h({searchParams:a}){let i=await a,j=i.repo,k=i.parent,l=i.prompt,m=i.mode,n=i.applicationId,o=function(a){if("application"===a||"fast"===a||"spec"===a)return a}(m),p=(0,c.resolve)("ListFeaturesUseCase"),q=(0,c.resolve)("ListRepositoriesUseCase"),r=(0,d.getSettings)(),s=n?(0,c.resolve)("GetApplicationUseCase").execute(n).catch(()=>null):Promise.resolve(null),[t,u,v,w,x]=await Promise.all([p.execute(),q.execute().catch(()=>[]),(0,e.getWorkflowDefaults)().catch(()=>void 0),j?(0,f.getViewerPermission)(j).catch(()=>({canPushDirectly:!1})):Promise.resolve({canPushDirectly:!1}),s]),y=t.map(a=>({id:a.id,name:a.name})).filter(a=>a.id&&!a.id.startsWith("#")),z=u.map(a=>({id:a.id,name:a.name,path:a.path})),A=x?.repositoryPath??j??"",B=x?.id??n;return(0,b.jsx)(g.CreateDrawerClient,{repositoryPath:A,initialParentId:k,initialDescription:l,initialMode:o,initialApplicationId:B,features:y,repositories:z,workflowDefaults:v,currentAgentType:r.agent.type,currentModel:r.models.default,canPushDirectly:w.canPushDirectly})}a.s(["default",0,h,"dynamic",0,"force-dynamic"],73461)},773717,a=>{a.n(a.i(73461))}];

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