{"version":3,"file":"PluginSurface.mjs","names":[],"sources":["../../../src/web/components/PluginSurface.tsx"],"sourcesContent":["import { usePluginSlotProps } from '../stores/usePluginSlotProps';\n\n/**\n * Renders every fill placed into one of the host's slots. Host surfaces put\n * this where their layout wants plugin content; a slot nobody filled renders\n * nothing.\n */\nexport function PluginSurface({\n  slot,\n  sessionId,\n  sessionReservationId,\n}: {\n  slot: string;\n  sessionId: string | null;\n  sessionReservationId?: string;\n}) {\n  return <>{usePluginSlotProps(sessionId, undefined, sessionReservationId).renderSlot(slot)}</>;\n}\n"],"mappings":";;;;;;;;AAOA,SAAgB,cAAc,EAC5B,MACA,WACA,wBAKC;CACD,OAAO,oBAAA,UAAA,EAAA,UAAG,mBAAmB,WAAW,KAAA,GAAW,oBAAoB,CAAC,CAAC,WAAW,IAAI,EAAI,CAAA;AAC9F"}