import { css, LitElement, svg, html } from "lit";
import { property } from "lit/decorators.js";
import { customElement } from "../decorator.js";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __decorateClass = (decorators, target, key, kind) => {
  var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
    if (decorator = decorators[i])
      result = (kind ? decorator(target, key, result) : decorator(result)) || result;
  if (kind && result) __defProp(target, key, result);
  return result;
};
let ObiSwitchHorizontalOn = class extends LitElement {
  constructor() {
    super(...arguments);
    this.useCssColor = false;
    this.icon = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 9H20C21.6569 9 23 10.3431 23 12C23 13.6569 21.6569 15 20 15H4C2.34315 15 1 13.6569 1 12C1 10.3431 2.34315 9 4 9ZM4 10C2.89543 10 2 10.8954 2 12C2 13.1046 2.89543 14 4 14H20C21.1046 14 22 13.1046 22 12C22 10.8954 21.1046 10 20 10H4Z" fill="currentColor"/>
<path d="M2 12C2 10.8954 2.89543 10 4 10H20C21.1046 10 22 10.8954 22 12C22 13.1046 21.1046 14 20 14H4C2.89543 14 2 13.1046 2 12Z" fill="currentColor"/>
</svg>
`;
    this.iconCss = svg`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 9H20C21.6569 9 23 10.3431 23 12C23 13.6569 21.6569 15 20 15H4C2.34315 15 1 13.6569 1 12C1 10.3431 2.34315 9 4 9ZM4 10C2.89543 10 2 10.8954 2 12C2 13.1046 2.89543 14 4 14H20C21.1046 14 22 13.1046 22 12C22 10.8954 21.1046 10 20 10H4Z" style="fill: var(--automation-device-tertiary-color)"/>
<path d="M2 12C2 10.8954 2.89543 10 4 10H20C21.1046 10 22 10.8954 22 12C22 13.1046 21.1046 14 20 14H4C2.89543 14 2 13.1046 2 12Z" style="fill: var(--automation-device-primary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiSwitchHorizontalOn.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiSwitchHorizontalOn.prototype, "useCssColor", 2);
ObiSwitchHorizontalOn = __decorateClass([
  customElement("obi-switch-horizontal-on")
], ObiSwitchHorizontalOn);
export {
  ObiSwitchHorizontalOn
};
//# sourceMappingURL=icon-switch-horizontal-on.js.map
