1import{f,e,t,n,fe,z,Z,q,ke}from"./chunk-e7xk0yn7.js";var dt={};f(dt,{CopyButton:()=>O,default:()=>F});function O({text:o,className:l,label:i="Copy to clipboard",size:c="md"}){let[a,s]=ke();return e("button",{type:"button",onClick:()=>s(o),"aria-label":a?"Copied":i,"data-copied":a?"":void 0,className:n("CopyIcon group/copy inline-flex items-center justify-center rounded-md text-fg-faint transition-[color,background,opacity] hover:bg-fg/[0.06] hover:text-fg",c==="sm"?"h-7 w-7":"h-8 w-8",l),children:t("span",{className:"relative block h-4 w-4",children:[e(fe,{className:n("absolute inset-0 h-4 w-4 transition-[opacity,transform] duration-200",a?"scale-75 opacity-0":"opacity-100")}),e(z,{className:n("absolute inset-0 h-4 w-4 text-success transition-[opacity,transform] duration-200",a?"opacity-100":"scale-75 opacity-0")})]})})}function F({block:o,className:l,"data-install":i,hideCopy:c}){let a=o.shell==="ps"?"CodeBlockPowershell":o.shell==="sh"?"CodeBlockShell":o.diff?"CodeBlockDiff":"";return t("div",{"data-install":i,className:n("CodeBlock group/code",l),children:[o.tab?e("div",{className:"CodeBlockTab",children:e("p",{children:o.tab})}):null,o.segments.map(q).map((s,r)=>s.kind==="results"?e("div",{className:"CodeBlockResults",...Z(s),dangerouslySetInnerHTML:{__html:s.html}},r):t("div",{className:n("relative",a),children:[e("div",{className:"CodeBlockScroll",children:e("div",{...Z(s),dangerouslySetInnerHTML:{__html:s.html}})}),c?null:e(O,{text:s.text,size:"sm",className:"copy absolute right-1.5 top-[-3px]"})]},r))]})} 2export{O,F,dt};
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.