"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),i=require("../../utils/cn/cn.cjs.js"),n=require("../../src/components/ProgressButton/progressButton.module.css"),r=require("../Icon/constants.cjs.js"),a=require("../Icon/Icon.cjs.js"),l=({orientation:s,icon:t,disabled:o=!1,onClick:c})=>e.jsx("button",{className:i.cn(n.button,{[n.buttonLeft]:s==="left",[n.buttonRight]:s==="right"}),disabled:o,onClick:c,children:e.jsx("div",{className:n.iconWrap,children:e.jsx(a.Icon,{name:t,className:n.icon})})}),d=({invert:s=!1,left:t,right:o,className:c})=>e.jsxs("div",{className:i.cn(n.root,{[n.inverted]:s},c),children:[e.jsx(l,{orientation:"left",icon:r.EIconName.ARROW_BACK,disabled:t.disabled,onClick:t.onClick}),e.jsx("div",{className:i.cn(n.divider,{[n.inverted]:s})}),e.jsx(l,{orientation:"right",icon:r.EIconName.ARROW_FORWARD,disabled:o.disabled,onClick:o.onClick})]});exports.ProgressButton=d;
