text: "use strict";var _createClass=function(){function a(a,b){for(var c,d=0;d<b.length;d++)c=b[d],c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(a,c.key,c)}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}();Object.defineProperty(exports,"__esModule",{value:!0});function _classCallCheck(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}var ElementAbstract=function(){function a(){var b=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;_classCallCheck(this,a),this._data=b,this._template=c instanceof DocumentFragment||c instanceof Element?c:null}return _createClass(a,[{key:"bindData",value:function bindData(){}},{key:"create",value:function create(){return this._template?(this.bindData(),document.importNode(this._template,!0)):null}}]),a}();exports.ElementAbstract=ElementAbstract;