var _a,_b;let nativeInsertBefore=Node.prototype.insertBefore,nativeGetParentNode=null!=(_b=null==(_a=Object.getOwnPropertyDescriptor(Node.prototype,"parentNode"))?void 0:_a.get)?_b:function(){return this.parentNode},installBefore=e=>{let t=e.prototype;t.hasOwnProperty("before")||Object.defineProperty(t,"before",{configurable:!0,enumerable:!0,writable:!0,value:function(...e){let t=nativeGetParentNode.call(this);if(null!==t)for(let r of e)nativeInsertBefore.call(t,"string"==typeof r?document.createTextNode(r):r,this)}})};installBefore(CharacterData),installBefore(Element);export{};