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