import{jsxs as r,jsx as e}from"react/jsx-runtime";import{L as i,I as m}from"./ui-components-B24mpb8o.js";import{useEditor as p}from"./use-editor-D8T8wKX0.js";import"next-themes";import"sonner";import"react";import"@radix-ui/react-label";import"class-variance-authority";import"@radix-ui/react-checkbox";import"lucide-react";import"@radix-ui/react-avatar";import"@radix-ui/react-dropdown-menu";import"@radix-ui/react-scroll-area";import"@radix-ui/react-popover";import"@radix-ui/react-radio-group";import"@radix-ui/react-dialog";import"@radix-ui/react-slot";import"clsx";import"@radix-ui/react-separator";import"@radix-ui/react-tooltip";import"@radix-ui/react-tabs";import"@radix-ui/react-accordion";import"@radix-ui/react-progress";import"@radix-ui/react-select";import"cmdk";import"@radix-ui/react-switch";import"react-day-picker";import"@radix-ui/react-slider";import"embla-carousel-react";import"@radix-ui/react-toggle-group";import"vaul";import"tailwind-merge";import"./editor-provider-CwMLJaUa.js";import"uuid";const K=({changeCustomValues:o})=>{const{editor:t}=p();return t.editor.selectedElement.type==="video"&&r("div",{className:"flex flex-col gap-2",children:[e(i,{children:"Video Path"}),e(m,{id:"src",placeholder:"https://domain.example.com/pathname",onChange:o,value:typeof t.editor.selectedElement.content=="object"&&!Array.isArray(t.editor.selectedElement.content)&&t.editor.selectedElement.content!==null&&"src"in t.editor.selectedElement.content?t.editor.selectedElement.content.src:""})]})};export{K as default};
