"use strict";function e(r,t){if("string"==typeof t)r.appendChild(document.createTextNode(t));else if(null==t);else if(null!=t.nodeType)r.appendChild(t);else{if(!Array.isArray(t))throw new RangeError("Unsupported child node: "+t);for(var n=0;n<t.length;n++)e(r,t[n])}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(){var r=arguments[0];"string"==typeof r&&(r=document.createElement(r));var t=1,n=arguments[1];if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var l=n[o];"string"==typeof l?r.setAttribute(o,l):null!=l&&(r[o]=l)}t++}for(;t<arguments.length;t++)e(r,arguments[t]);return r};
//# sourceMappingURL=index.js.map
