"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=(function(n){if(n==null)return y;if(typeof n=="string")return a(n);if(typeof n=="object")return f(n);if(typeof n=="function")return i(n);throw new Error("Expected function, string, or array as `test`")});function f(n){const e=[];let t=-1;for(;++t<n.length;)e[t]=u(n[t]);return i(r);function r(...o){let c=-1;for(;++c<e.length;)if(e[c].apply(this,o))return!0;return!1}}function a(n){return i(e);function e(t){return t.tagName===n}}function i(n){return e;function e(t,r,o){return!!(l(t)&&n.call(this,t,typeof r=="number"?r:void 0,o||void 0))}}function y(n){return!!(n&&typeof n=="object"&&"type"in n&&n.type==="element"&&"tagName"in n&&typeof n.tagName=="string")}function l(n){return n!==null&&typeof n=="object"&&"type"in n&&"tagName"in n}exports.convertElement=u;
//# sourceMappingURL=index.cjs.js.map
