import{c as l,a as c,f as v}from"./vfPE-AD7.js";import"./1jpszzm8.js";import{i as f,p as m,e as x,A as y,r as $,t as b,c as _}from"./DhUiKsxN.js";import{I as u,a as h,c as M,d as N,f as w}from"./QNXDtpsh.js";import{l as g,b as p,p as d}from"./DUil1G3I.js";import{c as H}from"./BWzyK28a.js";function V(e,t){const r=g(t,["children","$$slots","$$events","$$legacy"]);/**
 * @license lucide-svelte v0.469.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const n=[["line",{x1:"22",x2:"2",y1:"12",y2:"12"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16"}]];u(e,p({name:"hard-drive"},()=>r,{get iconNode(){return n},children:(s,a)=>{var o=l(),i=f(o);h(i,t,"default",{}),c(s,o)},$$slots:{default:!0}}))}function D(e,t){const r=g(t,["children","$$slots","$$events","$$legacy"]);/**
 * @license lucide-svelte v0.469.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const n=[["path",{d:"M3 6h18"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17"}]];u(e,p({name:"trash-2"},()=>r,{get iconNode(){return n},children:(s,a)=>{var o=l(),i=f(o);h(i,t,"default",{}),c(s,o)},$$slots:{default:!0}}))}function K(e){if(e<60)return`${Math.floor(e)}s`;const t=Math.floor(e/3600),r=Math.floor(e%3600/60);return t>0?`${t}h ${r}m`:`${r}m`}function S(e){return e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":e.toString()}var z=v("<div><!></div>");function j(e,t){m(t,!0);const r={default:"bg-primary text-primary-foreground hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground border",success:"bg-green-500 text-white hover:bg-green-600",warning:"bg-yellow-500 text-white hover:bg-yellow-600"};let n=d(t,"variant",3,"default"),s=d(t,"class",3,"");var a=z(),o=x(a);M(o,()=>t.children??y),$(a),b(i=>w(a,1,i),[()=>N(H("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",r[n()],s()))]),c(e,a),_()}export{j as B,V as H,D as T,K as a,S as f};
