1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DTJ0i3Sz.js","./Cpj98o6Y.js"])))=>i.map(i=>d[i]); 2import{a as m,f,r as P,p as G,o as N,i as D,q as M}from"./DQIxXgti.js";import{p as T,a as q,c as l,s as p,m as F,r as d,t as $,n as K,f as U,g as R,q as V,v as I}from"./qJ8M4nhz.js";import{s as S}from"./D3TcOy0J.js";import{e as z}from"./DTJYzlh3.js";import{b as A,a as _,d as Q}from"./Box0i9wG.js";import{s as Z}from"./C5QW0TFn.js";import{c as j}from"./C1VIcmpu.js";import{C as B}from"./DmASJXLb.js";import{C as H}from"./iCUcS-wl.js";import{_ as J}from"./Dp1pzeXC.js";var W=new Set(["$$slots","$$events","$$legacy","class","children"]),X=f("<div><span></span> <span></span> <span></span> <span></span> <!></div>");function Y(i,o){T(o,!0);let e=P(o,W);var t=X();A(t,v=>({class:v,...e}),[()=>j("relative border border-border",o.class)]);var s=l(t);_(s,1,"pointer-events-none absolute size-2 border-fg/40 -left-px -top-px border-l border-t");var r=p(s,2);_(r,1,"pointer-events-none absolute size-2 border-fg/40 -right-px -top-px border-r border-t");var a=p(r,2);_(a,1,"pointer-events-none absolute size-2 border-fg/40 -bottom-px -left-px border-b border-l");var n=p(a,2);_(n,1,"pointer-events-none absolute size-2 border-fg/40 -bottom-px -right-px border-b border-r");var c=p(n,2);Z(c,()=>o.children??F),d(t),m(i,t),q()}var ee=f('<span class="font-mono text-caption uppercase tracking-[0.18em] text-accent"><span class="text-muted/50">[</span> <span class="text-muted/50">]</span></span>');function ge(i,o){var e=ee(),t=p(l(e));K(),d(e),$(()=>S(t,` ${o.text??""} `)),m(i,e)}var te=f('<div class="absolute inset-y-0 border-l border-dashed border-border"></div>'),re=f('<div aria-hidden="true"><div class="absolute inset-x-0 top-0 border-t border-dashed border-border"></div> <div class="absolute inset-x-0 bottom-0 border-t border-dashed border-border"></div> <!></div>');function he(i,o){let e=G(o,"class",3,"");const t=[0,25,50,75,100];var s=re(),r=p(l(s),4);z(r,16,()=>t,a=>a,(a,n)=>{var c=te();$(()=>Q(c,`left: ${n??""}%`)),m(a,c)}),d(s),$(()=>_(s,1,`pointer-events-none absolute inset-0 ${e()??""}`)),m(i,s)}var se=f('<p class="font-mono text-caption text-muted/70"> </p> <div class="mt-2 flex items-center gap-3"><code class="flex-1 truncate font-mono text-callout text-fg"><span class="select-none text-accent">$</span> </code> <button type="button" aria-label="Copy install command" class="shrink-0 text-muted transition-colors hover:text-fg"><!></button></div>',1);function _e(i,o){let e=V(!1);async function t(){await navigator.clipboard.writeText(o.cmd),I(e,!0),setTimeout(()=>I(e,!1),2e3)}Y(i,{class:"max-w-[540px] bg-card/40 px-4 py-3.5",children:(s,r)=>{var a=se(),n=U(a),c=l(n);d(n);var v=p(n,2),u=l(v),g=p(l(u));d(u);var b=p(u,2),w=l(b);{var E=x=>{B(x,{class:"h-4 w-4 text-accent"})},O=x=>{H(x,{class:"h-4 w-4"})};D(w,x=>{R(e)?x(E):x(O,-1)})}d(b),d(v),$(()=>{S(c,`/* ${o.comment??""} */`),S(g,` ${o.cmd??""}`)}),M("click",b,t),m(s,a)},$$slots:{default:!0}})}N(["click"]);var ae=f('<div class="bg-bg px-5 py-4"><dt class="font-mono text-caption uppercase tracking-[0.16em] text-muted"> </dt> <dd class="mt-1.5 font-mono text-callout uppercase tracking-[0.06em] text-accent"> </dd></div>'),oe=f('<dl class="grid grid-cols-1 gap-px border border-border bg-border sm:grid-cols-3"></dl>');function $e(i,o){var e=oe();z(e,21,()=>o.stats,t=>t.name,(t,s)=>{var r=ae(),a=l(r),n=l(a);d(a);var c=p(a,2),v=l(c,!0);d(c),d(r),$(()=>{S(n,`$${R(s).name??""}`),S(v,R(s).value)}),m(t,r)}),d(e),m(i,e)}const ne={r:244,g:238,b:226},ie={r:255,g:252,b:246},y={r:15,g:11,b:9},Se=`rgb(${y.r} ${y.g} ${y.b})`,h=64;function L(i,o){const e=document.createElement("canvas");e.width=h,e.height=h;const t=e.getContext("2d");if(!t)return e;const s=h/2,r=t.createRadialGradient(s,s,0,s,s,s),{r:a,g:n,b:c}=i;return r.addColorStop(0,`rgba(${a}, ${n}, ${c}, ${o})`),r.addColorStop(.45,`rgba(${a}, ${n}, ${c}, ${o*.35})`),r.addColorStop(1,`rgba(${a}, ${n}, ${c}, 0)`),t.fillStyle=r,t.fillRect(0,0,h,h),e}let k=null,C=null;function we(){return k||(k=L(ne,.22)),k}function ye(){return C||(C=L(ie,.32)),C}function ke(i,o){let e=!1;const t=window.matchMedia("(prefers-reduced-motion: reduce)");
2let s=t.matches,r=null,a=!1;const n=()=>{r&&(e&&!s?r.loop():r.noLoop())},c=new IntersectionObserver(g=>{for(const b of g)e=b.isIntersecting;n()},{threshold:.05});c.observe(i);const v=()=>{s=t.matches,n()};t.addEventListener("change",v);const u=new ResizeObserver(()=>{r&&typeof r.windowResized=="function"&&r.windowResized()});return u.observe(i),J(()=>import("./DTJ0i3Sz.js"),__vite__mapDeps([0,1]),import.meta.url).then(g=>{if(a)return;const b=g.default;r=new b(w=>{o({p:w,container:i,isVisible:()=>e,isReducedMotion:()=>s})},i)}),()=>{a=!0,c.disconnect(),u.disconnect(),t.removeEventListener("change",v),r&&r.remove()}}export{Y as F,y as G,_e as I,ge as L,he as R,$e as S,ye as a,Se as b,we as g,ke as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.