"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 microwave_oven_mode_element_exports = {};
__export(microwave_oven_mode_element_exports, {
  MicrowaveOvenMode: () => MicrowaveOvenMode
});
module.exports = __toCommonJS(microwave_oven_mode_element_exports);
var import_MatterDefinition = require("../MatterDefinition.js");
var import_elements = require("../../elements/index.js");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
const MicrowaveOvenMode = (0, import_elements.ClusterElement)(
  { name: "MicrowaveOvenMode", id: 94, type: "ModeBase", classification: "application" },
  (0, import_elements.AttributeElement)({ name: "ClusterRevision", id: 65533, type: "ClusterRevision", default: 2 }),
  (0, import_elements.AttributeElement)(
    { name: "FeatureMap", id: 65532, type: "FeatureMap" },
    (0, import_elements.FieldElement)({ name: "DEPONOFF", conformance: "X", constraint: "0", title: "OnOff" })
  ),
  (0, import_elements.AttributeElement)({ name: "SupportedModes", id: 0 }),
  (0, import_elements.AttributeElement)({ name: "CurrentMode", id: 1 }),
  (0, import_elements.AttributeElement)({ name: "StartUpMode", id: 2, conformance: "X" }),
  (0, import_elements.AttributeElement)({ name: "OnMode", id: 3, conformance: "X" }),
  (0, import_elements.CommandElement)({ name: "ChangeToMode", id: 0, conformance: "X" }),
  (0, import_elements.CommandElement)({ name: "ChangeToModeResponse", id: 1, conformance: "X" }),
  (0, import_elements.DatatypeElement)(
    { name: "ModeTag", type: "enum16" },
    (0, import_elements.FieldElement)({ name: "Auto", id: 0 }),
    (0, import_elements.FieldElement)({ name: "Quick", id: 1 }),
    (0, import_elements.FieldElement)({ name: "Quiet", id: 2 }),
    (0, import_elements.FieldElement)({ name: "LowNoise", id: 3 }),
    (0, import_elements.FieldElement)({ name: "LowEnergy", id: 4 }),
    (0, import_elements.FieldElement)({ name: "Vacation", id: 5 }),
    (0, import_elements.FieldElement)({ name: "Min", id: 6 }),
    (0, import_elements.FieldElement)({ name: "Max", id: 7 }),
    (0, import_elements.FieldElement)({ name: "Night", id: 8 }),
    (0, import_elements.FieldElement)({ name: "Day", id: 9 }),
    (0, import_elements.FieldElement)({ name: "Normal", id: 16384 }),
    (0, import_elements.FieldElement)({ name: "Defrost", id: 16385 })
  )
);
import_MatterDefinition.MatterDefinition.children.push(MicrowaveOvenMode);
//# sourceMappingURL=microwave-oven-mode.element.js.map
