define(["exports","./../emby-input/emby-input.js"],function(_exports,_embyInput){Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,require(["css!modules/emby-elements/emby-textarea/emby-textarea.css"]);var EmbyTextArea=function(_HTMLTextAreaElement){function EmbyTextArea(){var _this;_this=_HTMLTextAreaElement.call(this)||this;return babelHelpers.possibleConstructorReturn(_this,_this)}return babelHelpers.inherits(EmbyTextArea,_HTMLTextAreaElement),babelHelpers.createClass(EmbyTextArea,[{key:"connectedCallback",value:function(){!function(){var label,labelText;!this.classList.contains("emby-textarea")&&(this.hasAttribute("rows")||(this.rows=10),this.classList.add("emby-textarea"),label=this.closest("label"))&&(labelText=this.getAttribute("label")||"",label.insertAdjacentHTML("afterbegin",'<div class="emby-textarea-labeltext">'+labelText+"</div>"),label.classList.add("emby-textarea-label"))}.call(this)}}])}(babelHelpers.wrapNativeSuper(HTMLTextAreaElement));customElements.define("emby-textarea",EmbyTextArea,{extends:"textarea"}),_exports.default=EmbyTextArea});