"use client";
import { zwitch as n } from "./index.esm435.js";
import { comment as r } from "./index.esm436.js";
import { doctype as e } from "./index.esm437.js";
import { element as m } from "./index.esm438.js";
import { raw as i } from "./index.esm439.js";
import { root as p } from "./index.esm440.js";
import { text as c } from "./index.esm441.js";
const y = n("type", {
  invalid: f,
  unknown: d,
  handlers: { comment: r, doctype: e, element: m, raw: i, root: p, text: c }
});
function f(o) {
  throw new Error("Expected node, not `" + o + "`");
}
function d(o) {
  const t = (
    /** @type {Nodes} */
    o
  );
  throw new Error("Cannot compile unknown node `" + t.type + "`");
}
export {
  y as handle
};
//# sourceMappingURL=index.esm427.js.map
