System.register(["./p-e07174c9.system.js","./p-8ed8af5a.system.js"],(function(e){"use strict";var t,r,l;return{setters:[function(e){t=e.r;r=e.h},function(e){l=e.E}],execute:function(){var i=e("bce_element_radio_editor",function(){function e(e){var r=this;t(this,e);this.label={name:"Header",labelQuestion:"Formulate your question",labelRequired:"Required",labelOCOptionAdd:"Add Option",labelOCOptionRemove:"Delete Option",labelOCOther:"Other",labelOCOtherAdd:'Add "Other"',labelOCOtherRemove:'Remove "Other"',labelOCImageUpload:"Upload Image",labelOCImageDelete:"Delete Image",labelOrientation:"Oriëntation",labelOrientationH:"Horizontal",labelOrientationV:"Vertical",placeholderOptions:"Option"};this.handleOther=function(e){var t=e.target;r.handler.set("options",t.value,{localize:true});r.handler.set("other",e.detail,{emit:true,localize:true})}}e.prototype.prop=function(e,t){if(t===void 0){t={}}return this.handler.prop(e,Object.assign(Object.assign({},t),{label:this.label}))};e.prototype.render=function(){var e=this.label,t=e.labelOrientationH,i=e.labelOrientationV;return r(l,{question:this.prop("question",{localize:true}),required:this.prop("required")},r("bce-option-creator",Object.assign({},this.prop("options",{default:function(){return[]},localize:true}),{"allow-other":true,label:this.label,other:this.handler.tryGet("other",{localize:true}),onOther:this.handleOther})),r("bce-select",Object.assign({},this.prop("orientation"),{type:"radio"}),r("bce-option",{value:"horizontal"},t),r("bce-option",{value:"vertical"},i)),r("slot",null))};return e}())}}}));