import { j as o } from "../../../../../_virtual/jsx-runtime.js";
import { a as e } from "../../../../sdk/dist/shared/chunk-WU6Q4WYD.js";
import "@sinclair/typebox";
import "../../../../sdk/dist/shared/chunk-UU2MSQXY.js";
import "../../../../sdk/dist/shared/chunk-T3LIA4YB.js";
import "../../../../sdk/dist/shared/chunk-UMHXXXVP.js";
import { tx as i } from "../../../../style-system/dist/twind.js";
import p from "../../../../../_virtual/index15.js";
import { useBrickStyle as a } from "../hooks/use-brick-style.js";
import l from "../components/BrickRoot.js";
function R({ brick: t, editable: r }) {
  const s = a(t), m = t.props;
  return /* @__PURE__ */ o.jsxs(
    l,
    {
      brick: t,
      editable: r,
      manifest: e,
      className: i("relative", Object.values(s)),
      children: [
        r && /* @__PURE__ */ o.jsx("div", { className: "absolute inset-0" }),
        /* @__PURE__ */ o.jsx(p, { url: m.url, width: "100%", height: "100%" })
      ]
    }
  );
}
export {
  R as default
};
//# sourceMappingURL=video.js.map
