var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __knownSymbol = (name, symbol) => (symbol = Symbol[name]) ? symbol : /* @__PURE__ */ Symbol.for("Symbol." + name);
var __typeError = (msg) => {
  throw TypeError(msg);
};
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __decoratorStart = (base) => [, , , __create(base?.[__knownSymbol("metadata")] ?? null)];
var __decoratorStrings = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"];
var __expectFn = (fn) => fn !== void 0 && typeof fn !== "function" ? __typeError("Function expected") : fn;
var __decoratorContext = (kind, name, done, metadata, fns) => ({ kind: __decoratorStrings[kind], name, metadata, addInitializer: (fn) => done._ ? __typeError("Already initialized") : fns.push(__expectFn(fn || null)) });
var __decoratorMetadata = (array, target) => __defNormalProp(target, __knownSymbol("metadata"), array[3]);
var __runInitializers = (array, flags, self, value) => {
  for (var i = 0, fns = array[flags >> 1], n = fns && fns.length; i < n; i++) flags & 1 ? fns[i].call(self) : value = fns[i].call(self, value);
  return value;
};
var __decorateElement = (array, flags, name, decorators, target, extra) => {
  var fn, it, done, ctx, access, k = flags & 7, s = !!(flags & 8), p = !!(flags & 16);
  var j = k > 3 ? array.length + 1 : k ? s ? 1 : 2 : 0, key = __decoratorStrings[k + 5];
  var initializers = k > 3 && (array[j - 1] = []), extraInitializers = array[j] || (array[j] = []);
  var desc = k && (!p && !s && (target = target.prototype), k < 5 && (k > 3 || !p) && __getOwnPropDesc(k < 4 ? target : { get [name]() {
    return __privateGet(this, extra);
  }, set [name](x) {
    return __privateSet(this, extra, x);
  } }, name));
  k ? p && k < 4 && __name(extra, (k > 2 ? "set " : k > 1 ? "get " : "") + name) : __name(target, name);
  for (var i = decorators.length - 1; i >= 0; i--) {
    ctx = __decoratorContext(k, name, done = {}, array[3], extraInitializers);
    if (k) {
      ctx.static = s, ctx.private = p, access = ctx.access = { has: p ? (x) => __privateIn(target, x) : (x) => name in x };
      if (k ^ 3) access.get = p ? (x) => (k ^ 1 ? __privateGet : __privateMethod)(x, target, k ^ 4 ? extra : desc.get) : (x) => x[name];
      if (k > 2) access.set = p ? (x, y) => __privateSet(x, target, y, k ^ 4 ? extra : desc.set) : (x, y) => x[name] = y;
    }
    it = (0, decorators[i])(k ? k < 4 ? p ? extra : desc[key] : k > 4 ? void 0 : { get: desc.get, set: desc.set } : target, ctx), done._ = 1;
    if (k ^ 4 || it === void 0) __expectFn(it) && (k > 4 ? initializers.unshift(it) : k ? p ? extra = it : desc[key] = it : target = it);
    else if (typeof it !== "object" || it === null) __typeError("Object expected");
    else __expectFn(fn = it.get) && (desc.get = fn), __expectFn(fn = it.set) && (desc.set = fn), __expectFn(fn = it.init) && initializers.unshift(fn);
  }
  return k || __decoratorMetadata(array, target), desc && __defProp(target, name, desc), p ? k ^ 4 ? extra : desc : target;
};
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateIn = (member, obj) => Object(obj) !== obj ? __typeError('Cannot use the "in" operator on this value') : member.has(obj);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
/**
 * @license
 * Copyright 2025-2026 Open Home Foundation
 * SPDX-License-Identifier: Apache-2.0
 */
var _mutingTime_dec, _init, _mutingSensor_dec, _lowPowerMode_dec, _alarmMute_dec, _sirenActive_dec, _sensorType_dec, _noDisturbingState_dec, _preheatingState_dec, _tamperAlarm_dec, _HeimanCluster_decorators, _init2;
import { attribute, cluster, uint8, writable, command, uint16, field } from "@matter/main/model";
_mutingTime_dec = [field(uint16)];
class MutingSensorCommand {
  constructor() {
    __publicField(this, "mutingTime", __runInitializers(_init, 8, this)), __runInitializers(_init, 11, this);
  }
}
_init = __decoratorStart(null);
__decorateElement(_init, 5, "mutingTime", _mutingTime_dec, MutingSensorCommand);
__decoratorMetadata(_init, MutingSensorCommand);
_HeimanCluster_decorators = [cluster(302775297)], _tamperAlarm_dec = [attribute(16, uint8)], _preheatingState_dec = [attribute(17, uint8)], _noDisturbingState_dec = [attribute(18, uint8)], _sensorType_dec = [attribute(19, uint8)], _sirenActive_dec = [attribute(20, uint8, writable)], _alarmMute_dec = [attribute(21, uint8, writable)], _lowPowerMode_dec = [attribute(22, uint8, writable)], _mutingSensor_dec = [command(0, MutingSensorCommand)];
class HeimanCluster {
  constructor() {
    __runInitializers(_init2, 5, this);
    __publicField(this, "tamperAlarm", __runInitializers(_init2, 8, this)), __runInitializers(_init2, 11, this);
    __publicField(this, "preheatingState", __runInitializers(_init2, 12, this)), __runInitializers(_init2, 15, this);
    __publicField(this, "noDisturbingState", __runInitializers(_init2, 16, this)), __runInitializers(_init2, 19, this);
    __publicField(this, "sensorType", __runInitializers(_init2, 20, this)), __runInitializers(_init2, 23, this);
    __publicField(this, "sirenActive", __runInitializers(_init2, 24, this)), __runInitializers(_init2, 27, this);
    __publicField(this, "alarmMute", __runInitializers(_init2, 28, this)), __runInitializers(_init2, 31, this);
    __publicField(this, "lowPowerMode", __runInitializers(_init2, 32, this)), __runInitializers(_init2, 35, this);
  }
  mutingSensor(_request) {
  }
}
_init2 = __decoratorStart(null);
__decorateElement(_init2, 1, "mutingSensor", _mutingSensor_dec, HeimanCluster);
__decorateElement(_init2, 5, "tamperAlarm", _tamperAlarm_dec, HeimanCluster);
__decorateElement(_init2, 5, "preheatingState", _preheatingState_dec, HeimanCluster);
__decorateElement(_init2, 5, "noDisturbingState", _noDisturbingState_dec, HeimanCluster);
__decorateElement(_init2, 5, "sensorType", _sensorType_dec, HeimanCluster);
__decorateElement(_init2, 5, "sirenActive", _sirenActive_dec, HeimanCluster);
__decorateElement(_init2, 5, "alarmMute", _alarmMute_dec, HeimanCluster);
__decorateElement(_init2, 5, "lowPowerMode", _lowPowerMode_dec, HeimanCluster);
HeimanCluster = __decorateElement(_init2, 0, "HeimanCluster", _HeimanCluster_decorators, HeimanCluster);
__runInitializers(_init2, 1, HeimanCluster);
export {
  HeimanCluster
};
//# sourceMappingURL=heiman.js.map
