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 ObiRouter2 = 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 d="M16.0623 7L12.0311 3L8 7H11.0311V10H13.0311V7H16.0623Z" fill="currentColor"/>
<path d="M18 7.93782L14 11.9689L18 16V12.9689H21V10.9689H18V7.93782Z" fill="currentColor"/>
<path d="M6 16.0622L10 12.0311L6 8V11.0311H3.00001V13.0311H6V16.0622Z" fill="currentColor"/>
<path d="M8.00012 17L12.0312 21L16.0623 17H13.0312V14H11.0312V17H8.00012Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 3C1 1.89543 1.89543 1 3 1H21C22.1046 1 23 1.89543 23 3V21C23 22.1046 22.1046 23 21 23H3C1.89543 23 1 22.1046 1 21V3ZM21 2H3C2.44771 2 2 2.44772 2 3V21C2 21.5523 2.44772 22 3 22H21C21.5523 22 22 21.5523 22 21V3C22 2.44771 21.5523 2 21 2Z" 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 d="M16.0623 7L12.0311 3L8 7H11.0311V10H13.0311V7H16.0623Z" style="fill: var(--automation-device-secondary-color)"/>
<path d="M18 7.93782L14 11.9689L18 16V12.9689H21V10.9689H18V7.93782Z" style="fill: var(--automation-device-secondary-color)"/>
<path d="M6 16.0622L10 12.0311L6 8V11.0311H3.00001V13.0311H6V16.0622Z" style="fill: var(--automation-device-secondary-color)"/>
<path d="M8.00012 17L12.0312 21L16.0623 17H13.0312V14H11.0312V17H8.00012Z" style="fill: var(--automation-device-secondary-color)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M1 3C1 1.89543 1.89543 1 3 1H21C22.1046 1 23 1.89543 23 3V21C23 22.1046 22.1046 23 21 23H3C1.89543 23 1 22.1046 1 21V3ZM21 2H3C2.44771 2 2 2.44772 2 3V21C2 21.5523 2.44772 22 3 22H21C21.5523 22 22 21.5523 22 21V3C22 2.44771 21.5523 2 21 2Z" style="fill: var(--automation-device-secondary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiRouter2.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiRouter2.prototype, "useCssColor", 2);
ObiRouter2 = __decorateClass([
  customElement("obi-router-2")
], ObiRouter2);
export {
  ObiRouter2
};
//# sourceMappingURL=icon-router-2.js.map
