/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
var Subject;
((Subject2) => {
  function Node(data) {
    return {
      kind: "node",
      ...data
    };
  }
  Subject2.Node = Node;
  function isNode(subject) {
    return subject?.kind === "node";
  }
  Subject2.isNode = isNode;
  function Group(data) {
    return {
      kind: "group",
      ...data
    };
  }
  Subject2.Group = Group;
  function isGroup(subject) {
    return subject?.kind === "group";
  }
  Subject2.isGroup = isGroup;
})(Subject || (Subject = {}));
export {
  Subject
};
//# sourceMappingURL=Subject.js.map
