var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { LitElement, html, css, unsafeCSS } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
export const ICON_EMBER = 'icon-ember';
export class IconEmberComponent extends LitElement {
    static { this.styles = css `:host {--icon-width: calc(var(--size-md) * 2);--icon-height: calc(var(--size-md) * 2);--icon-color: none;--icon-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjQuMCBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMyBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTYzOS45IDI1NC42Yy0xLjEtMTAuNy0xMC43LTYuOC0xMC43LTYuOHMtMTUuNiAxMi4xLTI5LjMgMTAuN2MtMTMuNy0xLjMtOS40LTMyLTkuNC0zMnMzLTI4LjEtNS4xLTMwLjRjLTguMS0yLjQtMTggNy4zLTE4IDcuM3MtMTIuNCAxMy43LTE4LjMgMzEuMmwtMS42LjVzMS45LTMwLjYtLjMtMzcuNmMtMS42LTMuNS0xNi40LTMuM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i05LjFzOS40IDEwLjItMS4zIDI1LjUtMjYuNCAxNC4yLTI2LjQgMTQuMnoiLz48L3N2Zz4=');}:host {display:inline-block;}i {display: flex;align-items: center;justify-content: center;background-image: var(--icon-image);background-repeat: no-repeat;background-size: contain;background-position: center;width: var(--icon-width);height: var(--icon-height);}.recolor {background: var(--icon-color);-webkit-mask-image: var(--icon-image);-webkit-mask-size: var(--icon-width) var(--icon-height);-webkit-mask-repeat: no-repeat;-webkit-mask-position: center;mask-image: var(--icon-image);mask-size: var(--icon-width) var(--icon-height);mask-repeat: no-repeat;mask-position: center;}.${unsafeCSS("dynamic" /* Colors.Dynamic */)}{--icon-color: var(--color-foreground);}.${unsafeCSS("primary" /* Colors.Primary */)}{--icon-color: var(--color-primary);}.${unsafeCSS("secondary" /* Colors.Secondary */)}{--icon-color: var(--color-secondary);}.${unsafeCSS("tertiary" /* Colors.Tertiary */)}{--icon-color: var(--color-tertiary);}.${unsafeCSS("success" /* Colors.Success */)}{--icon-color: var(--color-success);}.${unsafeCSS("warning" /* Colors.Warning */)}{--icon-color: var(--color-warning);}.${unsafeCSS("danger" /* Colors.Danger */)}{--icon-color: var(--color-danger);}.${unsafeCSS("light" /* Colors.Light */)}{--icon-color: var(--color-light);}.${unsafeCSS("medium" /* Colors.Medium */)}{--icon-color: var(--color-medium);}.${unsafeCSS("dark" /* Colors.Dark */)}{--icon-color: var(--color-dark);}.${unsafeCSS("gradient-primary" /* Colors.GradientPrimary */)}{--icon-color: var(--gradient-primary);}.${unsafeCSS("gradient-secondary" /* Colors.GradientSecondary */)}{--icon-color: var(--gradient-secondary);}.${unsafeCSS("gradient-tertiary" /* Colors.GradientTertiary */)}{--icon-color: var(--gradient-tertiary);}.${unsafeCSS("gradient-success" /* Colors.GradientSuccess */)}{--icon-color: var(--gradient-success);}.${unsafeCSS("gradient-warning" /* Colors.GradientWarning */)}{--icon-color: var(--gradient-warning);}.${unsafeCSS("gradient-danger" /* Colors.GradientDanger */)}{--icon-color: var(--gradient-danger);}.${unsafeCSS("gradient-light" /* Colors.GradientLight */)}{--icon-color: var(--gradient-light);}.${unsafeCSS("gradient-medium" /* Colors.GradientMedium */)}{--icon-color: var(--gradient-medium);}.${unsafeCSS("gradient-dark" /* Colors.GradientDark */)}{--icon-color: var(--gradient-dark);}.${unsafeCSS("xs" /* Sizes.XS */)}{--icon-width: calc(var(--size-xs) * 2);--icon-height: calc(var(--size-xs) * 2);}.${unsafeCSS("sm" /* Sizes.SM */)}{--icon-width: var(--size-sm);--icon-height: var(--size-sm);}.${unsafeCSS("lg" /* Sizes.LG */)}{--icon-width: var(--size-lg);--icon-height: var(--size-lg);}.${unsafeCSS("xl" /* Sizes.XL */)}{--icon-width: calc(var(--size-xl) * 1.25);--icon-height: calc(var(--size-xl) * 1.25);}.${unsafeCSS("xxl" /* Sizes.XXL */)}{--icon-width: calc(var(--size-xxl) * 1.5);--icon-height: calc(var(--size-xxl) * 1.5);}`; }
    render() { return html `<i part="icon" class=${classMap({ recolor: !!this.color, [this.color]: !!this.color, [this.size]: !!this.size })}></i>`; }
}
__decorate([
    property({ type: String })
], IconEmberComponent.prototype, "size", void 0);
__decorate([
    property({ type: String })
], IconEmberComponent.prototype, "color", void 0);
//# sourceMappingURL=ember.js.map