import{j as e}from"./vendor-query-B2UbickB.js";function d({steps:i,currentStep:c,onStepClick:n}){return e.jsx("div",{className:"flex items-center justify-center gap-1 pb-4 border-b border-surface-border mb-4",children:i.map((a,t)=>{const o=t<c,r=t===c,s=!!n;return e.jsxs("div",{className:"flex items-center gap-1",children:[t>0&&e.jsx("div",{className:`w-4 h-px ${o?"bg-accent":"bg-surface-border"}`}),e.jsxs("button",{type:"button",onClick:s?()=>n(t):void 0,className:`flex items-center gap-1 ${s?"cursor-pointer":"cursor-default"}`,children:[e.jsx("span",{className:`w-5 h-5 rounded-full text-[10px] font-semibold flex items-center justify-center shrink-0 transition-colors ${r?"bg-accent text-text-inverse":o?"bg-accent-muted text-accent":"bg-surface-sunken text-text-tertiary"} ${s&&!r?"hover:bg-accent-muted hover:text-accent":""}`,children:t+1}),e.jsx("span",{className:`text-[10px] font-semibold uppercase tracking-wider whitespace-nowrap transition-colors ${r?"text-text-primary":"text-text-tertiary"} ${s&&!r?"hover:text-text-primary":""}`,children:a})]})]},a)})})}export{d as S};
//# sourceMappingURL=StepIndicator-CuUIGxKk.js.map
