import{n as e}from"./rolldown-runtime-C0FnF6B9.js";import{n as t,t as n}from"./ui.module-CiLQZm_L.js";function r(e){return c[e]}function i(e){return l[e]}function a(e){return u[e]}function o({variant:e,tone:t,appearance:n,fallbackTone:r=`neutral`,fallbackAppearance:i=`outline`}){return t||n?{tone:t??r,appearance:n??i}:e?s[e]:{tone:r,appearance:i}}var s,c,l,u;function d(){return(d=e((()=>{n(),s={neutral:{tone:`neutral`,appearance:`solid`},neutralOutline:{tone:`neutral`,appearance:`outline`},ghost:{tone:`neutral`,appearance:`ghost`},brand:{tone:`brand`,appearance:`solid`},error:{tone:`error`,appearance:`solid`},warning:{tone:`warning`,appearance:`solid`},success:{tone:`success`,appearance:`solid`},info:{tone:`info`,appearance:`solid`},brandOutline:{tone:`brand`,appearance:`outline`},errorOutline:{tone:`error`,appearance:`outline`},warningOutline:{tone:`warning`,appearance:`outline`},successOutline:{tone:`success`,appearance:`outline`},infoOutline:{tone:`info`,appearance:`outline`},transparent:{tone:`neutral`,appearance:`transparent`}},c={neutral:t.uiToneNeutral,brand:t.uiToneBrand,error:t.uiToneError,warning:t.uiToneWarning,success:t.uiToneSuccess,info:t.uiToneInfo},l={solid:t.uiAppearanceSolid,outline:t.uiAppearanceOutline,ghost:t.uiAppearanceGhost,transparent:t.uiAppearanceTransparent},u={primary:t.uiPanelTonePrimary,secondary:t.uiPanelToneSecondary,tertiary:t.uiPanelToneTertiary}})))()}export{o as a,d as i,a as n,r,i as t};