/**
 * Copyright 2020 The Pennsylvania State University
 * @license Apache-2.0, see License.md for full text.
 */
import{svg as o,css as e}from"../../lit/index.js";import{SimpleColors as t}from"../simple-colors/simple-colors.js";import{SimpleIconBehaviors as r}from"./lib/simple-icon-lite.js";import{DDD as l}from"../d-d-d/d-d-d.js";class SimpleIcon extends(r(l)){static get tag(){return"simple-icon"}static get haxProperties(){return new URL(`./lib/${this.tag}.haxProperties.json`,import.meta.url).href}static get styles(){return[super.styles,e`
        feFlood {
          flood-color: var(
            --simple-icon-color,
            var(--simple-colors-default-theme-accent-8, #000000)
          );
        }
        feFlood.contrast-1 {
          flood-color: var(
            --simple-icon-color,
            var(--simple-colors-default-theme-accent-9, #000000)
          );
        }
        feFlood.contrast-2 {
          flood-color: var(
            --simple-icon-color,
            var(--simple-colors-default-theme-accent-10, #000000)
          );
        }
        feFlood.contrast-3 {
          flood-color: var(
            --simple-icon-color,
            var(--simple-colors-default-theme-accent-11, #000000)
          );
        }
        feFlood.contrast-4 {
          flood-color: var(
            --simple-icon-color,
            var(--simple-colors-default-theme-accent-12, #000000)
          );
        }
      `]}get feFlood(){return this.noColorize?"":o`<feFlood class="contrast-${this.contrast}" result="COLOR" />`}get useSafariPolyfill(){return!1}static get properties(){return{...super.properties,contrast:{type:Number,attribute:"contrast",reflect:!0}}}constructor(){super(),this.contrast=0}}customElements.define(SimpleIcon.tag,SimpleIcon);export{SimpleIcon};