import{a as e,i as t,r as n}from"./emotion-styled.browser.esm.BYv_Qzcq.js";import{t as r}from"./types.cZoyy9Y-.js";import{r as i}from"./StreamlitMarkdown.BYA62LKI.js";import{n as a}from"./styled-components.D_g2LX2o.js";function o({label:o,children:s,disabled:c,labelVisibility:l,htmlFor:u}){return r(o)?t(n,{}):e(a,{"data-testid":`stWidgetLabel`,disabled:c,labelVisibility:l,htmlFor:u,children:[t(`span`,{"aria-hidden":`true`,children:t(i,{source:o,allowHTML:!1,isLabel:!0})}),s]})}export{o as t};