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 ObiStar = 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="M14.9095 8.99537L12 2L9.09041 8.99537L1.53833 9.60081L7.29222 14.5296L5.53431 21.8992L12 17.95L18.4656 21.8992L16.7077 14.5296L22.4616 9.60081L14.9095 8.99537ZM18.7468 10.8078L13.8764 10.4174L12 5.90594L10.1235 10.4174L5.2531 10.8078L8.96387 13.9865L7.83017 18.7392L12 16.1923L16.1697 18.7392L15.036 13.9865L18.7468 10.8078Z" 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="M14.9095 8.99537L12 2L9.09041 8.99537L1.53833 9.60081L7.29222 14.5296L5.53431 21.8992L12 17.95L18.4656 21.8992L16.7077 14.5296L22.4616 9.60081L14.9095 8.99537ZM18.7468 10.8078L13.8764 10.4174L12 5.90594L10.1235 10.4174L5.2531 10.8078L8.96387 13.9865L7.83017 18.7392L12 16.1923L16.1697 18.7392L15.036 13.9865L18.7468 10.8078Z" style="fill: var(--element-active-color)"/>
</svg>
`;
  }
  render() {
    return html`
      <div class="wrapper">${this.useCssColor ? this.iconCss : this.icon}</div>
    `;
  }
};
ObiStar.styles = css`
    .wrapper {
      height: 100%;
      width: 100%;
      line-height: 0;
    }
    .wrapper > * {
      height: 100%;
      width: 100%;
    }
  `;
__decorateClass([
  property({ type: Boolean })
], ObiStar.prototype, "useCssColor", 2);
ObiStar = __decorateClass([
  customElement("obi-star")
], ObiStar);
export {
  ObiStar
};
//# sourceMappingURL=icon-star.js.map
