System.register(["./index-legacy.eb062188.js"],(function(o){"use strict";var e,l,t,n,r,a,s,c,i;return{setters:[function(o){e=o.t,l=o.v,t=o.u,n=o.d,r=o.c,a=o.b9,s=o.au,c=o.a5,i=o.D}],execute:function(){const[u,d]=e("tag"),p={size:String,mark:Boolean,show:l,type:t("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean};var m=n({name:u,props:p,emits:["close"],setup(o,{slots:e,emit:l}){const t=o=>{o.stopPropagation(),l("close",o)},n=()=>{var l;const{type:n,mark:a,plain:i,round:u,size:p,closeable:m}=o,g={mark:a,plain:i,round:u};p&&(g[p]=p);const b=m&&r(c,{name:"cross",class:[d("close"),s],onClick:t},null);return r("span",{style:o.plain?{color:o.textColor||o.color,borderColor:o.color}:{color:o.textColor,background:o.color},class:d([g,n])},[null==(l=e.default)?void 0:l.call(e),b])};return()=>r(a,{name:o.closeable?"van-fade":void 0},{default:()=>[o.show?n():null]})}});o("T",i(m))}}}));