"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const index = require("../hast-util-from-dom/lib-index.cjs");
new DOMParser();
function fromHtmlIsomorphic(value, options) {
  const node = parseFragment(value);
  return (
    /** @type {Root} */
    index.fromDom(node)
  );
}
function parseFragment(value) {
  const template = document.createElement("template");
  template.innerHTML = value;
  return template.content;
}
exports.fromHtmlIsomorphic = fromHtmlIsomorphic;
//# sourceMappingURL=lib-browser.cjs.map
