System.register(["./p-9744e7cb.system.js"],(function(t){"use strict";var e,n,i,r,u;return{setters:[function(t){e=t.r;n=t.c;i=t.h;r=t.H;u=t.g}],execute:function(){var s=t("bds_radio_group",function(){function t(t){var i=this;e(this,t);this.bdsRadioGroupChange=n(this,"bdsRadioGroupChange",7);this.radioGroupElement=null;this.chagedOptions=function(t,e){if(e.detail.checked==true){i.value=t}};this.value=undefined}t.prototype.valueChanged=function(t){this.setSelectedRadio(t);this.bdsRadioGroupChange.emit({value:t})};t.prototype.componentWillRender=function(){var t=this;this.radioGroupElement=this.element.getElementsByTagName("bds-radio");var e=function(e){n.radioGroupElement[e].addEventListener("bdsChange",(function(n){return t.chagedOptions(t.radioGroupElement[e].value,n)}))};var n=this;for(var i=0;i<this.radioGroupElement.length;i++){e(i)}};t.prototype.setSelectedRadio=function(t){var e=this.radioGroupElement;for(var n=0;n<e.length;n++){var i=e[n].value;e[n].checked=false;if(e[n].checked==false&&t==i){e[n].checked=true}}};t.prototype.render=function(){return i(r,{key:"aff49c3636e83c921b3362ccd2226c94a3dde664"},i("slot",{key:"b4b8b668ec286f40530d1258bc68347de06a4a36"}))};Object.defineProperty(t.prototype,"element",{get:function(){return u(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"]}},enumerable:false,configurable:true});return t}())}}}));
//# sourceMappingURL=p-9dfce866.system.entry.js.map