System.register(["./p-3c39d395.system.js","./p-efe1606a.system.js"],function(t){"use strict";var e,n,i,u;return{setters:[function(t){e=t.r;n=t.h;i=t.g},function(t){u=t.l}],execute:function(){var s=t("bce_element_text_template",function(){function t(t){e(this,t);this.metadata={};this.text="";this.placeholderText="";this._link=u(this,this.handleInput);this._text=this._link("text")}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={text:this.text,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 n("bce-input",Object.assign({type:"textarea"},this._text))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:true,configurable:true});return t}())}}});