{"version":3,"file":"compose.mjs","names":["constructEngineTree"],"sources":["../../src/ui/compose.ts"],"sourcesContent":["import {\n  type ConstructInput,\n  constructTree as constructEngineTree,\n} from \"every-plugin/ui/manifest\";\nimport { requireAdmin, requireSession } from \"./auth-guards\";\n\n/**\n * The core ui's composition — the engine wired with the framework's default\n * mount guards. The wiring lives here (not on the generic ui/manifest\n * surface, which must import standalone) because both consumers execute\n * where the auth client is already present: the client boot and the\n * ./compose expose the host loads for SSR. input.guards overrides per mount.\n */\nexport const constructTree = (input: ConstructInput) =>\n  constructEngineTree({\n    ...input,\n    guards: { authenticated: requireSession, admin: requireAdmin, ...input.guards },\n  });\n"],"mappings":";;;;;;;;;;;AAaA,MAAa,iBAAiB,UAC5BA,gBAAoB;CAClB,GAAG;CACH,QAAQ;EAAE,eAAe;EAAgB,OAAO;EAAc,GAAG,MAAM;CAAO;AAChF,CAAC"}