import{mode as t,orient as r}from"../../../../theme-tools/dist/esm/component.js";function n(){return(n=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}).apply(this,arguments)}var o=t=>{var{orientation:o}=t;return n({_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},r({orientation:o,vertical:{h:"100%"},horizontal:{w:"100%"}}))};function a(r){return{borderRadius:"sm",bg:t("gray.200","whiteAlpha.200")(r),_disabled:{bg:t("gray.300","whiteAlpha.300")(r)}}}function e(t){return n({zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},function(t){return r({orientation:t.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}(t))}function i(r){var{colorScheme:n}=r;return{bg:t(n+".500",n+".200")(r)}}var l={parts:["container","thumb","track","filledTrack"],sizes:{lg:function(t){return{thumb:{w:"16px",h:"16px"},track:r({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},md:function(t){return{thumb:{w:"14px",h:"14px"},track:r({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},sm:function(t){return{thumb:{w:"10px",h:"10px"},track:r({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}}},baseStyle:t=>({container:o(t),track:a(t),thumb:e(t),filledTrack:i(t)}),defaultProps:{size:"md",colorScheme:"blue"}};export default l;
//# sourceMappingURL=slider.js.map
