var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/CyBtn/WoodBtn.tsx
var WoodBtn_exports = {};
__export(WoodBtn_exports, {
  default: () => WoodBtn_default
});
module.exports = __toCommonJS(WoodBtn_exports);
var import_TreeBtn = __toESM(require("./TreeBtn"));
var import_wood = require("./wood.less");
function Index(props) {
  let cy01 = /* @__PURE__ */ React.createElement("div", { className: "toggles-container" }, /* @__PURE__ */ React.createElement("div", { className: "toggle-container a" }, /* @__PURE__ */ React.createElement("input", { className: "toggle-input", type: "checkbox" }), /* @__PURE__ */ React.createElement("div", { className: "toggle-handle" }), /* @__PURE__ */ React.createElement("svg", { className: "toggle-icon", viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React.createElement("path", { d: "M12.7072 5.70718L7.00008 11.4143L3.29297 7.70718L4.70718 6.29297L7.00008 8.58586L11.293 4.29297L12.7072 5.70718Z" })), /* @__PURE__ */ React.createElement("svg", { className: "toggle-icon", viewBox: "0 0 16 16", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React.createElement("path", { d: "M6.58594 8.00015L4.29297 5.70718L5.70718 4.29297L8.00015 6.58594L10.2931 4.29297L11.7073 5.70718L9.41436 8.00015L11.7072 10.293L10.293 11.7072L8.00015 9.41436L5.70733 11.7072L4.29312 10.293L6.58594 8.00015Z" }))));
  let cy02 = /* @__PURE__ */ React.createElement("div", { className: "toggle-container b" }, /* @__PURE__ */ React.createElement("input", { className: "toggle-input", type: "checkbox" }), /* @__PURE__ */ React.createElement("div", { className: "toggle-handle" }, /* @__PURE__ */ React.createElement("div", { className: "toggle-handle-dot" }), /* @__PURE__ */ React.createElement("div", { className: "toggle-handle-dot" }), /* @__PURE__ */ React.createElement("div", { className: "toggle-handle-dot" }), /* @__PURE__ */ React.createElement("div", { className: "toggle-handle-dot" }), /* @__PURE__ */ React.createElement("div", { className: "toggle-handle-dot" }), /* @__PURE__ */ React.createElement("div", { className: "toggle-handle-dot" })), /* @__PURE__ */ React.createElement("p", { className: "toggle-text off", "aria-hidden": "true" }, "OFF"), /* @__PURE__ */ React.createElement("p", { className: "toggle-text on", "aria-hidden": "true" }, "ON"));
  let cy03 = /* @__PURE__ */ React.createElement("div", { className: "toggle-container c" }, /* @__PURE__ */ React.createElement("input", { className: "toggle-input", type: "checkbox" }), /* @__PURE__ */ React.createElement("p", { className: "toggle-text", "aria-hidden": "true" }, "OFF"), /* @__PURE__ */ React.createElement("div", { className: "toggle-track-wrapper-wrapper" }, /* @__PURE__ */ React.createElement("div", { className: "toggle-handle" }), /* @__PURE__ */ React.createElement("div", { className: "toggle-track-wrapper" }, /* @__PURE__ */ React.createElement("div", { className: "toggle-track" }))), /* @__PURE__ */ React.createElement("p", { className: "toggle-text", "aria-hidden": "true" }, "ON"));
  let cy04 = /* @__PURE__ */ React.createElement("div", { className: "toggle-container d" }, /* @__PURE__ */ React.createElement("input", { className: "toggle-input", type: "checkbox" }), /* @__PURE__ */ React.createElement("div", { className: "toggle-handle" }, /* @__PURE__ */ React.createElement("p", { className: "toggle-text off" }, "OFF"), /* @__PURE__ */ React.createElement("p", { className: "toggle-text on" }, "ON")));
  let cy05 = /* @__PURE__ */ React.createElement("button", null, /* @__PURE__ */ React.createElement("span", { className: "text" }, props.text), /* @__PURE__ */ React.createElement("span", { className: "shimmer" }));
  let btnList = {
    cy01,
    cy02,
    cy03,
    cy04,
    cy05
  };
  let type = props.type || "cy01";
  if (type == "cy06") {
    return /* @__PURE__ */ React.createElement(import_TreeBtn.default, { ...props });
  }
  return /* @__PURE__ */ React.createElement("div", { className: "cy01 cy02" }, /* @__PURE__ */ React.createElement("div", { className: "toggles-grid" }, /* @__PURE__ */ React.createElement("div", { className: "toggles-container" }, btnList[type])));
}
var WoodBtn_default = Index;
