import { c as e } from "./chunk-3YVJ2ELD.js";
import { a as i } from "./chunk-RJYZ5FAR.js";
import { a as d } from "./chunk-A3GF4PYW.js";
import { b as r } from "./chunk-4BTB3MU2.js";
import { b as t, d as p } from "./chunk-ZTZJHY4E.js";
import { c as s } from "./chunk-OHNYCXPX.js";
import { RxVideo as a } from "../../../../node_modules/.pnpm/react-icons@5.5.0_react@18.3.0-canary-3d9b20132-20240124/node_modules/react-icons/rx/index.js";
import { Type as o } from "@sinclair/typebox";
/*! Upstart.gg - Copyright (C) 2024 Flippable - https://github.com/upstart-gg/upstart/blob/main/LICENSE */
var v = i({ type: "video", name: "Video", category: "media", description: "An embedded video player for YouTube / Vimeo / Wistia links", icon: a, defaultWidth: { mobile: "auto", desktop: `${360 * 16 / 9}px` }, defaultHeight: { mobile: "168px", desktop: "360px" }, minWidth: { mobile: 300, desktop: 360 * 16 / 9 }, minHeight: { mobile: 168, desktop: 360 }, props: e({ url: d("Video URL", { description: "URL of the video to embed. It can be a YouTube link or an embed link. It also supports Vimeo and Wistia links.", default: "https://www.youtube.com/watch?v=dQw4w9WgXcQ", metadata: { category: "content", "ui:responsive": "desktop" } }), padding: o.Optional(s({ description: "Padding inside the video player.", "ai:instructions": "Use only a single value like '1rem' or '10px'", title: "Padding", "ui:responsive": !0, "ui:placeholder": "Not specified", "ui:styleId": "styles:padding" })), rounding: o.Optional(p({ default: "rounded-md" })), border: o.Optional(t()), shadow: o.Optional(r()) }) }), g = [{ description: "A YouTube video", type: "video", props: { url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" } }, { description: "An embedded YouTube video", type: "video", props: { url: "https://www.youtube.com/embed/dQw4w9WgXcQ" } }, { description: "A Vimeo video", type: "video", props: { url: "https://vimeo.com/123456789" } }, { description: "Dynamic course video using course query", type: "video", props: { url: "{{course.videoUrl}}", padding: "1rem", rounding: "rounded-lg", shadow: "shadow-md" } }, { description: "Dynamic product demo video using product query", type: "video", props: { url: "{{product.demoVideoUrl}}", padding: "0.5rem", rounding: "rounded-xl", shadow: "shadow-lg", border: { width: "border-2", color: "border-primary-300" } } }];
export {
  v as a,
  g as b
};
//# sourceMappingURL=chunk-PSTFJ5IJ.js.map
