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 ObiConnectorComingFrom = 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="M10.6667 11.5L14 9V15L10.6667 12.5H9.16667V11.5H10.6667Z" fill="currentColor"/>
<path d="M0 12.5H1.83333V11.5H0V12.5Z" fill="currentColor"/>
<path d="M3.66667 12.5H7.33333V11.5H3.66667V12.5Z" 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="M10.6667 11.5L14 9V15L10.6667 12.5H9.16667V11.5H10.6667Z" style="fill: var(--automation-device-tertiary-color)"/>
<path d="M0 12.5H1.83333V11.5H0V12.5Z" style="fill: var(--automation-device-tertiary-color)"/>
<path d="M3.66667 12.5H7.33333V11.5H3.66667V12.5Z" style="fill: var(--automation-device-tertiary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiConnectorComingFrom.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiConnectorComingFrom.prototype, "useCssColor", 2);
ObiConnectorComingFrom = __decorateClass([
  customElement("obi-connector-coming-from")
], ObiConnectorComingFrom);
export {
  ObiConnectorComingFrom
};
//# sourceMappingURL=icon-connector-coming-from.js.map
