import{generateStripe as r,getColor as t}from"../../../../theme-tools/dist/esm/color.js";import{mode as e}from"../../../../theme-tools/dist/esm/component.js";function n(){return(n=Object.assign||function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n])}return r}).apply(this,arguments)}var o={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"};function a(r){return{bg:e("gray.100","whiteAlpha.300")(r)}}function i(o){return n({transitionProperty:"common",transitionDuration:"slow"},function(o){var{colorScheme:a,theme:i,isIndeterminate:l,hasStripe:s}=o,m=e(r(),r("1rem","rgba(0,0,0,0.1)"))(o),c=e(a+".500",a+".200")(o),h="linear-gradient(\n    to right,\n    transparent 0%,\n    "+t(i,c)+" 50%,\n    transparent 100%\n  )";return n({},!l&&s&&m,l?{bgImage:h}:{bgColor:c})}(o))}var l={parts:["track","filledTrack","label"],sizes:{xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},baseStyle:r=>({label:o,filledTrack:i(r),track:a(r)}),defaultProps:{size:"md",colorScheme:"blue"}};export default l;
//# sourceMappingURL=progress.js.map
