import{c as a,o as r,F as u,g as c,t as i}from"./app-B4kV47qU.js";const p={class:"flex flex-row items-center gap-3 md:gap-4"},m=["onClick"],k={__name:"ShortCodes",props:{shortCodes:{type:Object,default:["{name}"]},modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(s,{emit:l}){const e=s,n=l,d=t=>{n("update:modelValue",e.modelValue?e.modelValue+=` ${t}`:`${t}`)};return(t,g)=>(r(),a("div",p,[(r(!0),a(u,null,c(e.shortCodes,o=>(r(),a("button",{key:o,type:"button",class:"btn bg-slate-300 text-xs text-gray-700 hover:bg-opacity-60 dark:bg-dark-700 dark:text-white dark:hover:bg-opacity-60",onClick:_=>d(o)},i(o),9,m))),128))]))}};export{k as _};
