"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=e=>{var o;return null!==(o=null==e?void 0:e.ownerDocument)&&void 0!==o?o:document};exports.getOwnerDocument=e,exports.getOwnerWindow=o=>{if(o&&"window"in o&&o.window===o)return o;return e(o).defaultView||window},exports.isShadowRoot=function(e){return null!==(o=e)&&"object"==typeof o&&"nodeType"in o&&"number"==typeof o.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e;var o};
//# sourceMappingURL=domHelpers.mjs.js.map
