System.register(["./p-3c39d395.system.js","./p-efe1606a.system.js"],function(t){"use strict";var e,i,n,a;return{setters:[function(t){e=t.r;i=t.h;n=t.g},function(t){a=t.l}],execute:function(){var u=t("bce_element_audio_template",function(){function t(t){e(this,t);this.location="";this.autoplay=false;this.labelAutoplay="Autoplay";this.placeholderLocation="Audio URL";this._link=a(this,this.handleInput);this._location=this._link("location");this._autoplay=this._link("autoplay")}t.prototype.handleInput=function(t,e){var i;var n=e.target;if(!n)return;e.cancelBubble=true;this[t]=n.value;this.value=this.updateValue((i={},i[t]=n.value,i));this.el.dispatchEvent(new Event("input",{bubbles:true}))};t.prototype.updateValue=function(t){if(t===void 0){t={}}var e={location:this.location,autoplay:this.autoplay};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(){var t={labelUploadButton:this.labelUploadButton,labelDeleteButton:this.labelDeleteButton};return[i("bce-upload-input",Object.assign({},this._location,t)),i("bce-input",Object.assign({type:"switch"},this._autoplay))]};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:true,configurable:true});return t}())}}});