/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { SemanticNamespaceElement } from "../elements/index.js";
import { Model } from "./Model.js";
class SemanticNamespaceModel extends Model {
  tag = SemanticNamespaceElement.Tag;
  mfgCode;
  get endpoints() {
    return this.children;
  }
  static Tag = SemanticNamespaceElement.Tag;
  constructor(definition, ...children) {
    super(definition, ...children);
    this.mfgCode = definition.mfgCode;
  }
  toElement(omitResources = false, extra) {
    return super.toElement(omitResources, {
      mfgCode: this.mfgCode,
      ...extra
    });
  }
}
SemanticNamespaceModel.register();
export {
  SemanticNamespaceModel
};
//# sourceMappingURL=SemanticNamespaceModel.js.map
