!function(){function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var n=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null==n)return;var e,o,l=[],a=!0,u=!1;try{for(n=n.call(r);!(a=(e=n.next()).done)&&(l.push(e.value),!t||l.length!==t);a=!0);}catch(i){u=!0,o=i}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return l}(r,n)||function(r,n){if(!r)return;if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return t(r,n)}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}System.register(["./index-legacy.2ae28dc5.js"],(function(t){"use strict";var n,e,o,l,a,u,i,c,s;return{setters:[function(r){n=r.m,e=r.t,o=r.n,l=r.d,a=r.k,u=r.aS,i=r.aI,c=r.a2,s=r.y}],execute:function(){var f=r(n("tag"),2),y=f[0],d=f[1],p={size:String,mark:Boolean,show:e,type:o("default"),color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean},m=l({name:y,props:p,emits:["close"],setup:function(r,t){var n=t.slots,e=t.emit,o=function(r){r.stopPropagation(),e("close",r)},l=function(){var t,e=r.type,l=r.mark,u=r.plain,s=r.round,f=r.size,y=r.closeable,p={mark:l,plain:u,round:s};f&&(p[f]=f);var m=y&&a(c,{name:"cross",class:[d("close"),i],onClick:o},null);return a("span",{style:r.plain?{color:r.textColor||r.color,borderColor:r.color}:{color:r.textColor,background:r.color},class:d([p,e])},[null==(t=n.default)?void 0:t.call(n),m])};return function(){return a(u,{name:r.closeable?"van-fade":void 0},{default:function(){return[r.show?l():null]}})}}});t("T",s(m))}}}))}();
