const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/route-C6jM2bq4.js","assets/_virtual___federation_fn_import-DB-0B1B_.js","assets/jsx-runtime-u17CrQMm.js","assets/enum-header-bar-JA_rn2Ha.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/enum-info-form-DBuiSsqs.js","assets/use-enum-form-BxerQuZY.js","assets/zod-DVFqTTZn.js","assets/index.esm-CTnR63pP.js","assets/registries-_-gQNiKK.js","assets/sortBy-C9bvycg5.js"])))=>i.map(i=>d[i]);
import{_ as a}from"./preload-helper-BXl3LOEh.js";import{i as o}from"./_virtual___federation_fn_import-DB-0B1B_.js";const i=()=>a(()=>import("./route-C6jM2bq4.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),{lazyRouteComponent:m}=await o("@tanstack/react-router"),{EnumUtils:c,modelEnumEntityType:s}=await o("@baseplate-dev/project-builder-lib"),{createFileRoute:p,notFound:d}=await o("@tanstack/react-router"),_=p("/data/enums/edit/$key")({component:m(i,"component"),beforeLoad:({params:{key:t},context:{projectDefinition:r}})=>{const n=s.idFromKey(t),e=c.byId(r,n);return e?{getTitle:()=>e.name,enumDefinition:e}:{}},loader:({context:{enumDefinition:t}})=>{if(!t)throw d();return{enumDefinition:t}}});export{_ as R};
//# sourceMappingURL=route-BztlEuhv.js.map
