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 ObiExpand = 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="M3 21V15H5V17.5859L8.29297 14.293L9.70718 15.7072L6.41436 19H9V21H3Z" fill="currentColor"/>
<path d="M17.5859 5L14.293 8.29297L15.7072 9.70718L19 6.41437V9H21V3H15V5H17.5859Z" fill="currentColor"/>
<path d="M3 3H9V5L6.41406 5L9.70703 8.29297L8.29282 9.70718L5 6.41436L5 9H3V3Z" fill="currentColor"/>
<path d="M19 17.5859L15.707 14.293L14.2928 15.7072L17.5856 19H15V21H21V15H19V17.5859Z" 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="M3 21V15H5V17.5859L8.29297 14.293L9.70718 15.7072L6.41436 19H9V21H3Z" style="fill: var(--element-active-color)"/>
<path d="M17.5859 5L14.293 8.29297L15.7072 9.70718L19 6.41437V9H21V3H15V5H17.5859Z" style="fill: var(--element-active-color)"/>
<path d="M3 3H9V5L6.41406 5L9.70703 8.29297L8.29282 9.70718L5 6.41436L5 9H3V3Z" style="fill: var(--element-active-color)"/>
<path d="M19 17.5859L15.707 14.293L14.2928 15.7072L17.5856 19H15V21H21V15H19V17.5859Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiExpand.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiExpand.prototype, "useCssColor", 2);
ObiExpand = __decorateClass([
  customElement("obi-expand")
], ObiExpand);
export {
  ObiExpand
};
//# sourceMappingURL=icon-expand.js.map
