
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="504628f9-9317-5213-af38-93ca3b7cc6e6")}catch(e){}}();
import{a as b}from"/build/_shared/chunk-AU7D3DLO.js";import{a as x,b as s}from"/build/_shared/chunk-GRPO2KLW.js";import{d as n}from"/build/_shared/chunk-FOPLCRNL.js";var e=n(x(),1),l=n(s(),1),u=p=>{let{children:m,onSelect:c,defaultValue:L=0,disabled:o=!1,selectedValue:t}=p,[f,i]=(0,e.useState)(L||t||0);(0,e.useEffect)(()=>{t!==void 0&&i(t)},[t]);let S=(0,e.useCallback)(a=>{i(a),c(a)},[c]);return(0,l.jsx)("div",{className:"w-fit rounded-md bg-base-200 py-2.5",children:(0,l.jsx)("div",{className:"flex divide-x divide-black/20 text-[15px] font-medium leading-none aria-disabled:cursor-not-allowed aria-disabled:opacity-60","aria-disabled":o,children:e.Children.map(m,(a,d)=>{let v=a.props.title,r=d===f;return(0,l.jsx)("div",{className:"h-[18px]",children:(0,l.jsx)("div",{className:b(["-mt-2.5 block rounded-md px-1 py-2.5 leading-[18px] transition sm:px-3",r&&"bg-[#15131A] text-white",!o&&!r&&"cursor-pointer hover:rounded-none hover:bg-[#D9D9D9]/40"]),onClick:o||r?void 0:()=>S(d),children:v})},d)})})})},g=u.Label=()=>null;export{u as a};
//# sourceMappingURL=/build/_shared/chunk-5WW6TR5U.js.map

//# debugId=504628f9-9317-5213-af38-93ca3b7cc6e6
