const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/_section-key-DHLzYut3.js","assets/_virtual___federation_fn_import-DB-0B1B_.js","assets/jsx-runtime-u17CrQMm.js","assets/zod-DVFqTTZn.js","assets/index.esm-CTnR63pP.js","assets/registries-_-gQNiKK.js","assets/index-COBNNDEP.js","assets/iconBase-CsdXgpR0.js","assets/error-formatter-B41KnHG1.js","assets/index-fLATfv38.js","assets/error-Deo1phpd.js","assets/_commonjsHelpers-CqkleIqs.js","assets/admin-crud-section-form-GqXP8enl.js","assets/sortable-list-BlHb6Qrt.js","assets/clsx-B-dksMZM.js","assets/trpc-BTCor25i.js","assets/react-sxgC8Nxl.js","assets/config-reRjRYUH.js","assets/use-delete-reference-dialog-CwBIKaLj.js","assets/get-B2OPNtsk.js","assets/isUnsafeProperty-CZDKHtlL.js","assets/error-boundary-DgBD6_Zp.js","assets/index-KpBDpTrU.js","assets/react-icon-combobox--rXfP4mr.js"])))=>i.map(i=>d[i]);
import{_ as a}from"./preload-helper-BXl3LOEh.js";import{i as r}from"./_virtual___federation_fn_import-DB-0B1B_.js";const i=()=>a(()=>import("./_section-key-DHLzYut3.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23])),{lazyRouteComponent:c}=await r("@tanstack/react-router"),{adminSectionEntityType:s}=await r("@baseplate-dev/project-builder-lib"),{createFileRoute:m,notFound:p}=await r("@tanstack/react-router"),l=m("/packages/apps/$key/admin-sections/$section-key")({component:c(i,"component"),beforeLoad:({params:{"section-key":e},context:{adminApp:t}})=>{if(!t)return{};const o=t.sections.find(n=>s.idFromKey(e)===n.id);return o?{getTitle:()=>o.name,section:o}:{}},loader:({context:{section:e,app:t}})=>{if(!e||!t)throw p();return{section:e,app:t}}});export{l as R};
//# sourceMappingURL=_section-key-CEycgIbY.js.map
