var w=Object.defineProperty,h=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var t=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var n=(r,a,o)=>a in r?w(r,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[a]=o,m=(r,a)=>{for(var o in a||(a={}))i.call(a,o)&&n(r,o,a[o]);if(t)for(var o of t(a))p.call(a,o)&&n(r,o,a[o]);return r},d=(r,a)=>h(r,x(a));var b=(r,a)=>{var o={};for(var c in r)i.call(r,c)&&a.indexOf(c)<0&&(o[c]=r[c]);if(r!=null&&t)for(var c of t(r))a.indexOf(c)<0&&p.call(r,c)&&(o[c]=r[c]);return o};import{jsxs as l,jsx as k}from"react/jsx-runtime";import{FolderIcon as v,ChevronsUpDownIcon as C,PanelLeftIcon as T,MessageSquareIcon as M,MenuIcon as L,LayoutGridIcon as y,SquareIcon as u,ListIcon as N,FileTextIcon as I,ChevronDownIcon as S,RadioIcon as j,CheckSquareIcon as q,StarIcon as P,MonitorPlayIcon as D,SparklesIcon as F,TypeIcon as G,MousePointerClick as R,Tag as U,TextCursorInput as Y,ImageIcon as z,Link2Icon as A,YoutubeIcon as B}from"lucide-react";import{c as E}from"./ui-components-B24mpb8o.js";import"next-themes";import"sonner";import"react";import"@radix-ui/react-label";import"class-variance-authority";import"@radix-ui/react-checkbox";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";const g=H=>{var s=H,{className:r,item:a,isSelected:o,type:c}=s,f=b(s,["className","item","isSelected","type"]);let e;switch(c){case"video":e=B;break;case"link":e=A;break;case"image":e=z;break;case"input":e=Y;break;case"label":e=U;break;case"button":e=R;break;case"heading":e=G;break;case"paragraph":e=I;break;case"span":e=F;break;case"iframe":e=D;break;case"icon":e=P;break;case"checkbox":e=q;break;case"radio":e=j;break;case"select":e=S;break;case"textarea":e=I;break;case"form":e=u;break;case"ul":case"li":e=N;break;case"div":e=u;break;case"header":case"footer":case"nav":case"article":case"aside":e=y;break;case"dropdownMenu":case"dropdownMenuTrigger":case"dropdownMenuContent":case"dropdownMenuLabel":case"dropdownMenuItem":e=L;break;case"popover":case"popoverTrigger":case"popoverContent":e=M;break;case"drawer":case"drawerTrigger":case"drawerContent":e=T;break;case"accordion":case"accordionItem":case"accordionTrigger":case"accordionContent":e=C;break;case"tabs":case"tabsList":case"tabsTrigger":case"tabsContent":e=v;break}return l("div",d(m({className:E("flex w-full cursor-pointer items-center border-l p-3",r)},f),{children:[e&&k(e,{className:"mr-2 h-5 w-5 text-muted-foreground","aria-hidden":"true"}),l("span",{className:"inline-flex w-full flex-grow items-center justify-between gap-2 truncate text-sm",children:[a.name," ",o&&k("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-500"})]})]}))};g.displayName=g.name;export{g as default};
