const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/route-DgQuMhIZ.js","assets/_virtual___federation_fn_import-DB-0B1B_.js","assets/jsx-runtime-u17CrQMm.js","assets/model-header-bar-CBex25WP.js","assets/clsx-B-dksMZM.js","assets/index-KpBDpTrU.js","assets/iconBase-CsdXgpR0.js","assets/error-formatter-B41KnHG1.js","assets/index-fLATfv38.js","assets/error-Deo1phpd.js","assets/_commonjsHelpers-CqkleIqs.js","assets/use-model-form-BPP1LIM-.js","assets/zod-DVFqTTZn.js","assets/index.esm-CTnR63pP.js","assets/registries-_-gQNiKK.js","assets/sortBy-C9bvycg5.js","assets/model-info-form-CeorchK4.js"])))=>i.map(i=>d[i]);
import{_ as n}from"./preload-helper-BXl3LOEh.js";import{i as o}from"./_virtual___federation_fn_import-DB-0B1B_.js";const i=()=>n(()=>import("./route-DgQuMhIZ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),{lazyRouteComponent:c}=await o("@tanstack/react-router"),{modelEntityType:s,ModelUtils:d}=await o("@baseplate-dev/project-builder-lib"),{createFileRoute:m,notFound:p}=await o("@tanstack/react-router"),_=m("/data/models/edit/$key")({component:c(i,"component"),beforeLoad:({params:{key:t},context:{projectDefinition:r}})=>{const a=s.idFromKey(t),e=d.byId(r,a);return e?{getTitle:()=>e.name,model:e}:{}},loader:({context:{model:t}})=>{if(!t)throw p();return{model:t}}});export{_ as R};
//# sourceMappingURL=route-IhhxmrAo.js.map
