import{d as e}from"./dom-4684d8d6.js";import{m as t}from"./dom-utils-bf33c859.js";const n={};var o,r;n.getIsParent=function(e,t){if(!e||!t)return!1;for(;t;){if(t===e)return!0;if("BODY"===t.tagName)return!1;t=t.parentNode}return!1},n.getChildElementNodes=function(t){return t?e.DomUtils.getChildNodes(t,(function(e){return 1===e.nodeType})):null},n.getChildElementNodesByPredicate=function(t,o){return t?o?e.DomUtils.getChildNodes(t,(function(e){return 1===e.nodeType&&o(e)})):n.getChildElementNodes(t):null},n.getChildByClassName=function(n,o,r){if(null!=n){const l=e.DomUtils.getChildNodesByClassName(n,o);return t(l,r)}return null},n.elementMatchesSelector=(o=Element.prototype,r=o.matches||o.matchesSelector||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector,function(e,t){return!!e&&!!t&&r.call(e,t)});export{n as U};
