"use strict";const r=require("vue");function o(t){const e=[];for(const n of t)typeof n.type=="string"||typeof n.type=="object"?e.push(n):n.type!==r.Comment&&(typeof n.children=="string"&&n.children.trim()!==""?e.push(n.children):Array.isArray(n.children)&&e.push(...o(n.children)));return e}function i(t,e){return typeof t.type=="object"&&"name"in t.type?e!==void 0?t.type.name===e:!0:!1}function s(t,e){return typeof t.type=="string"?t.type===e.toLowerCase():!1}function f(t){const e=typeof t=="function"?t():t;return e?o(e):[]}exports.isComponentVNode=i;exports.isTagVNode=s;exports.useSlotContents=f;
