"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var ClientGroup_exports = {};
__export(ClientGroup_exports, {
  ClientGroup: () => ClientGroup
});
module.exports = __toCommonJS(ClientGroup_exports);
var import_storage = require("#storage/index.js");
var import_ClientNode = require("./ClientNode.js");
var import_ClientGroupInteraction = require("./client/ClientGroupInteraction.js");
/**
 * @license
 * Copyright 2022-2025 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
class ClientGroup extends import_ClientNode.ClientNode {
  #interaction;
  get isGroup() {
    return true;
  }
  get interaction() {
    if (this.#interaction === void 0) {
      this.#interaction = new import_ClientGroupInteraction.ClientGroupInteraction(this);
    }
    return this.#interaction;
  }
  get store() {
    return this.env.get(import_storage.ServerNodeStore).clientStores.storeForGroup(this);
  }
}
((ClientGroup2) => {
  function is(value) {
    return value instanceof ClientGroup2;
  }
  ClientGroup2.is = is;
})(ClientGroup || (ClientGroup = {}));
//# sourceMappingURL=ClientGroup.js.map
