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 ObiPipeComingFrom = 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="M9.0133 15L0 15L2.38419e-07 8.99998H9L15.4 4.19998C16.0592 3.70556 17 4.17594 17 4.99998V18.998C17 19.8224 16.0585 20.2927 15.3994 19.7975L9.0133 15Z" fill="currentColor"/>
<path d="M16 18.998V4.99998L9.33333 9.99998H0V8.99998H9L15.4 4.19998C16.0592 3.70556 17 4.17594 17 4.99998V18.998C17 19.8224 16.0585 20.2927 15.3994 19.7975L9.0133 15L0 15V14L9.34707 14L16 18.998Z" 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="M9.0133 15L0 15L2.38419e-07 8.99998H9L15.4 4.19998C16.0592 3.70556 17 4.17594 17 4.99998V18.998C17 19.8224 16.0585 20.2927 15.3994 19.7975L9.0133 15Z" style="fill: var(--automation-pipe-primary-color)"/>
<path d="M16 18.998V4.99998L9.33333 9.99998H0V8.99998H9L15.4 4.19998C16.0592 3.70556 17 4.17594 17 4.99998V18.998C17 19.8224 16.0585 20.2927 15.3994 19.7975L9.0133 15L0 15V14L9.34707 14L16 18.998Z" style="fill: var(--automation-pipe-tertiary-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiPipeComingFrom.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiPipeComingFrom.prototype, "useCssColor", 2);
ObiPipeComingFrom = __decorateClass([
  customElement("obi-pipe-coming-from")
], ObiPipeComingFrom);
export {
  ObiPipeComingFrom
};
//# sourceMappingURL=icon-pipe-coming-from.js.map
