var __spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var i=0,r=t.length,a;i<r;i++){if(a||!(i in t)){if(!a)a=Array.prototype.slice.call(t,0,i);a[i]=t[i]}}return e.concat(a||Array.prototype.slice.call(t))};System.register(["./p-5e377a26.system.js"],(function(e){"use strict";var t,n,i,r;return{setters:[function(e){t=e.r;n=e.c;i=e.h;r=e.H}],execute:function(){function a(e,t){if(e===void 0){e=[]}if(e.indexOf(t)>-1){return e.filter((function(e){return e!==t}))}else{return __spreadArray(__spreadArray([],e,true),[t],false)}}var s=e("dvn_checkbox_group",function(){function e(e){t(this,e);this.change=n(this,"change",7);this.scale="medium";this.value=[];this.disabled=false;this.inline=false;this.options=[];this.tint="primary"}e.prototype.render=function(){var e=this;var t=this.name||Math.random().toString(36).substr(2,5);return i(r,null,this.options.map((function(n){return i("dvn-checkbox",{onChange:function(t){t.stopPropagation();e.change.emit(a(e.value,n.value))},checked:e.value.indexOf(n.value)>-1,value:n.value,label:n.label,name:t,inline:e.inline,disabled:e.disabled||n.disabled,scale:e.scale,tint:e.tint})})))};return e}())}}}));