"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const y=require("vue"),k=require("../../../_util/classNames.js"),M=(N,c,t,s,r,n)=>{const o=Object.keys(c).map(Number.parseFloat).sort((e,a)=>e-a);if(t&&s)for(let e=r;e<=n;e+=s)o.includes(e)||o.push(e);return o},b=(N,{attrs:c})=>{const{prefixCls:t,vertical:s,reverse:r,marks:n,dots:o,step:e,included:a,lowerBound:S,upperBound:d,max:f,min:i,dotStyle:m,activeDotStyle:$}=c,g=f-i,h=M(s,n,o,e,i,f).map(l=>{const v=`${Math.abs(l-i)/g*100}%`,p=!a&&l===d||a&&l<=d&&l>=S;let u=s?{...m,[r?"top":"bottom"]:v}:{...m,[r?"right":"left"]:v};p&&(u={...u,...$});const _=k.default({[`${t}-dot`]:!0,[`${t}-dot-active`]:p,[`${t}-dot-reverse`]:r});return y.createVNode("span",{class:_,style:u,key:l},null)});return y.createVNode("div",{class:`${t}-step`},[h])};b.inheritAttrs=!1;exports.default=b;
