import{E as u,G as n,g as i,j as l,N as d,o as p,c,H as f,d as m,t as g,K as v}from"./entry.9e31e8a4.js";import{t as b}from"./tw-merge.27ca352e.js";import{q as k,u as _}from"./ui.config.7ae255de.js";import{_ as y}from"./_plugin-vue_export-helper.c27b6911.js";const s=u(n.ui.strategy,n.ui.kbd,k),C=i({inheritAttrs:!1,props:{value:{type:String,default:null},size:{type:String,default:()=>s.default.size,validator(e){return Object.keys(s.size).includes(e)}},ui:{type:Object,default:void 0}},setup(e){const{ui:t,attrs:a,attrsClass:r}=_("kbd",e.ui,s),o=l(()=>b(d(t.value.base,t.value.size[e.size],t.value.padding,t.value.rounded,t.value.font,t.value.background,t.value.ring),r));return{ui:t,attrs:a,kbdClass:o}}});function z(e,t,a,r,o,$){return p(),c("kbd",v({class:e.kbdClass},e.attrs),[f(e.$slots,"default",{},()=>[m(g(e.value),1)])],16)}const B=y(C,[["render",z]]);export{B as default};
