{"version":3,"file":"video.mjs","names":[],"sources":["../../../../src/web-components/catalog/basic/video.ts"],"sourcesContent":["import { html } from \"lit\";\nimport { styleMap } from \"lit/directives/style-map.js\";\nimport { VideoApi } from \"@a2ui/web_core/v0_9/basic_catalog\";\nimport { createLitComponent } from \"../../adapter\";\nimport { getBaseLeafStyle } from \"./utils\";\n\nexport const Video = createLitComponent(\n  VideoApi,\n  ({ props }) => html`\n  <video\n    src=${props.url ?? \"\"}\n    controls\n    style=${styleMap({\n      ...getBaseLeafStyle(),\n      width: \"100%\",\n      aspectRatio: \"16/9\",\n    })}\n  ></video>\n`,\n);\n"],"mappings":";;;;;;;AAMA,MAAa,QAAQ,mBACnB,WACC,EAAE,YAAY,IAAI;;UAEX,MAAM,OAAO,GAAG;;YAEd,SAAS;CACf,GAAG,kBAAkB;CACrB,OAAO;CACP,aAAa;CACd,CAAC,CAAC;;EAGN"}