1import{d as k,r as y,w as u,c as V,e as t,a1 as w,K as d,f as m,F as p,k as r,o as x,a6 as B,l as F}from"./BKRH0lRf.js";import{I}from"./BBTesfEn.js";const N={class:"timeline--container"},z={class:"timeline--progress"},A={class:"timeline--buttons"},G=k({__name:"FTimeline",props:{items:{},modelValue:{},color:{default:"primary"}},emits:["update:modelValue"],setup(v,{emit:g}){const e=v,l=g,a=y(e.modelValue),o=r(()=>a.value>0),n=r(()=>a.value<e.items.length-1),_=r(()=>({"bg-neutral-700 dark:bg-dark-neutral-700":e.color==="primary","bg-neutral-white":e.color==="secondary"})),b=r(()=>({"bg-neutral-300 dark:bg-dark-neutral-300":e.color==="primary","bg-[rgba(255,255,255,0.48)]":e.color==="secondary"})),i=r(()=>100/e.items.length),f=r(()=>e.items.length<=1?0:a.value/(e.items.length-1)*(100-i.value)*e.items.length);function h(){o.value&&(a.value--,l("update:modelValue",a.value))}function C(){n.value&&(a.value++,l("update:modelValue",a.value))}return u(()=>e.modelValue,s=>a.value=s),u(()=>e.items,(s,c)=>{JSON.stringify(s)!==JSON.stringify(c)&&(a.value=0)}),(s,c)=>(x(),V("div",N,[t("div",z,[t("div",{class:d(["timeline--progress-bar",_.value]),style:w({width:`${i.value}%`,transform:`translateX(${f.value}%)`})},null,6),t("div",{class:d(["timeline--progress-bar-width",b.value])},null,2)]),t("div",A,[m(p,{size:"rounded","icon-src":I,disabled:!o.value,"aria-label":"Anterior",onClick:h},null,8,["disabled"]),m(p,{size:"rounded","icon-src":B,disabled:!n.value,"aria-label":"Próximo",onClick:C},null,8,["disabled"])])]))}}),S=Object.assign(F(G,[["__scopeId","data-v-5d221316"]]),{__name:"GeneralFTimeline"});export{S as F};
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.