System.register(["./p-3c39d395.system.js"],function(e){"use strict";var t,n,l,u;return{setters:[function(e){t=e.r;n=e.h;l=e.H;u=e.g}],execute:function(){var i=e("bce_element_slider",function(){function e(e){var n=this;t(this,e);this.handleInput=function(e){e.cancelBubble=true;var t=e.target;n.value=t.value;n.el.dispatchEvent(new Event("input",{bubbles:true}))}}e.prototype.componentDidLoad=function(){this.value=this.template&&this.template.max/2||0};e.prototype.render=function(){if(!this.template)return null;return n(l,null,n("p",null,this.template.question),n("div",{class:"top"},n("span",null,n("label",null,this.template.minText),n("label",null,this.template.min)),n("label",null,this.value),n("span",null,n("label",null,this.template.maxText),n("label",null,this.template.max))),n("bce-slider",{onInput:this.handleInput,step:this.template.step,min:this.template.min,max:this.template.max}))};Object.defineProperty(e.prototype,"el",{get:function(){return u(this)},enumerable:true,configurable:true});Object.defineProperty(e,"style",{get:function(){return"bce-element-slider p{font-weight:500;text-align:center}\@media screen and (min-width:1024px){bce-element-slider p{text-align:left}}bce-element-slider>div.top{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}bce-element-slider>div.top>span{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}bce-element-slider>div.top>span:first-child label{margin:5px auto 5px 5px}bce-element-slider>div.top>span:nth-child(2) label{margin:5px 5px 5px auto}"},enumerable:true,configurable:true});return e}())}}});