System.register(["./p-3c39d395.system.js","./p-efe1606a.system.js","./p-bb662040.system.js"],function(t){"use strict";var e,i,s,n,u;return{setters:[function(t){e=t.r;i=t.h;s=t.g},function(t){n=t.l},function(t){u=t.E}],execute:function(){var a=t("bce_element_slider_template",function(){function t(t){e(this,t);this.metadata={};this.question="";this.required=false;this.step=1;this.min=1;this.max=5;this.minText="";this.maxText="";this.labelQuestion="Formulate your question";this.labelRequired="Required";this.labelStep="Step size";this.labelMin="Min";this.labelMax="Max";this.labelMinText="Text left";this.labelMaxText="Text right";this._link=n(this,this.handleInput);this._question=this._link("question");this._required=this._link("required");this._step=this._link("step");this._min=this._link("min");this._max=this._link("max");this._minText=this._link("minText");this._maxText=this._link("maxText")}t.prototype.handleInput=function(t,e){var i;var s=e.target;if(!s)return;e.cancelBubble=true;this[t]=s.value;this.value=this.updateValue((i={},i[t]=s.value,i));this.el.dispatchEvent(new Event("input",{bubbles:true}))};t.prototype.updateValue=function(t){if(t===void 0){t={}}var e={question:this.question,required:this.required,step:this.step,min:this.min,max:this.max,minText:this.minText,maxText:this.maxText,metadata:Object.assign({},this.metadata)};return Object.assign({},e,t)};t.prototype.componentDidLoad=function(){this.value=this.updateValue();this.el.dispatchEvent(new Event("input",{bubbles:true}))};t.prototype.render=function(){return i(u,{question:this._question,required:this._required},i("bce-input",Object.assign({type:"number"},this._step)),i("bce-input",Object.assign({type:"number"},this._min)),i("bce-input",Object.assign({type:"number"},this._max)),i("bce-input",Object.assign({type:"text"},this._minText)),i("bce-input",Object.assign({type:"text"},this._maxText)))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:true,configurable:true});return t}())}}});