import"./rolldown-runtime-QTnfLwEv.js";import{a as e,c as t,i as n,o as r,r as i,s as a}from"./vendor-D8u7Kcdq.js";import{C as o,l as s,p as c,t as l}from"./semantic-ui-react-m4AAKEby.js";import{f as u,m as d}from"./react-vendor-dEvHdx-C.js";import"./index-CWn9PF5P.js";import"./PlaceholderSegment-C39R3tC3.js";import"./FileList-CYTCT8bg.js";import"./LoaderSegment-DvK9fzny.js";import"./TooltipButton-BjMAnUHT.js";d();var f=u(),p=({onChange:t=()=>{},theme:o,value:s,...c})=>(console.log(r),(0,f.jsx)(i,{extensions:[e.define(n),a(r,{fallback:!0})],onChange:e=>t(e),theme:o,value:s,...c})),m=({children:e,hidden:t,...n})=>t?null:(0,f.jsx)(`div`,{...n,children:e}),h=()=>` `,g=({children:e,icon:n,loading:r,mediaQuery:i,...a})=>t({query:i})?(0,f.jsx)(o,{content:e,trigger:(0,f.jsx)(l,{icon:!0,...a,children:(0,f.jsx)(c,{loading:r,name:n})})}):(0,f.jsxs)(l,{...a,children:[(0,f.jsx)(c,{loading:r,name:n}),e]}),_=({children:e,color:t,disabled:n,hidden:r,icon:i,loading:a,mediaQuery:o,onChange:c,onClick:u,options:d})=>r?null:(0,f.jsxs)(l.Group,{color:t,children:[(0,f.jsx)(g,{disabled:n,icon:i,loading:a,mediaQuery:o,onClick:u,children:e}),(0,f.jsx)(s,{className:`button icon`,disabled:n,onChange:c,options:d,trigger:null})]});export{p as a,m as i,g as n,h as r,_ as t};