"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const matcher = require("./src-matcher.cjs");
var find = Array.prototype.find;
function childFind(match) {
  return function() {
    return find.call(this.children, match);
  };
}
function childFirst() {
  return this.firstElementChild;
}
function selection_selectChild(match) {
  return this.select(match == null ? childFirst : childFind(typeof match === "function" ? match : matcher.childMatcher(match)));
}
exports.default = selection_selectChild;
//# sourceMappingURL=src-selection-selectChild.cjs.map
