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_BATTLE_NET = 'icon-battle-net';
export class IconBattleNetComponent 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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjQuMCBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMyBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTQ0OC42MSAyMjUuNjJjMjYuODcuMTggMzUuNTctNy40MyAzOC45Mi0xMi4zNyAxMi40Ny0xNi4zMi03LjA2LTQ3LjYtNTIuODUtNzEuMzMgMTcuNzYtMzMuNTggMzAuMTEtNjMuNjggMzYuMzQtODUuMyAzLjM4LTExLjgzIDEuMDktMTkgLjQ1LTIwLjI1LTEuNzIgMTAuNTItMTUuODUgNDguNDYtNDguMiAxMDAuMDUtMjU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IDgxLjYzLTE3LjgxIDQ0LjU3IDIuNjcgODYuMzYgMTUuMjUgMTE2LjMyIDMwLjcxcS0xMC42OSAxNS42Ni0yMy4zMyAzMi40N0MzNjUuNjMgMTUyIDMzOS4xIDE0NS44NCAzMzcuNSAxNDZjLjExIDAgMjUuOSAxNC4wNyA0MS41MiA0Ny4yMmE3MTcuNjMgNzE3LjYzIDAgMCAwLTExNS4zNC0zMS43MSA2NDYuNjA4IDY0Ni42MDggMCAwIDAtMzkuMzktNi4wNWMtLjA3LjQ1LTEuODEgMS44NS0yLjE2IDIwLjMzQzMwMCAxOTAuMjggMzU4Ljc4IDIxNS42OCAzODkuMzYgMjMzYy43NCAyMy41NS02Ljk1IDUxLjYxLTI1LjQxIDc5LjU3LTI0LjYgMzcuMzEtNTYuMzkgNjcuMjMtODQuNzcgODUuNDN6bTI3LjQtMjg3Yy00NC41Ni0xLjY2LTczLjU4IDcuNDMtOTQuNjkgMjAuNjcgMi01Mi4zIDIxLjMxLTc2LjM4IDM4LjIxLTc1LjI4QzI2NyA1Mi4xNSAzMDUgMTA4LjU1IDMwNi41OCAxMTF6bS0xMzAuNjUgMy4xYy40OCAxMi4xMSAxLjU5IDI0LjYyIDMuMjEgMzcuMjgtMTQuNTUtLjg1LTI4Ljc0LTEuMjUtNDIuNC0xLjI2LS4wOCAzLjI0LS4xMi01MSAyNC42Ny00OS41OWguMDljNS43NiAxLjA5IDEwLjYzIDYuODggMTQuNDMgMTMuNTd6bS0yOC4wNiAxNjJjMjAuNzYgMzkuNyA0My4zIDYwLjU3IDY1LjI1IDcyLjMxLTQ2Ljc5IDI0Ljc2LTc3LjUzIDIwLTg0LjkyIDQuNTEtLjItLjIxLTExLjEzLTE1LjMgMTkuNjctNzYuODF6bTIxMC4wNiA3NC44Ii8+PC9zdmc+');}: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 })
], IconBattleNetComponent.prototype, "size", void 0);
__decorate([
    property({ type: String })
], IconBattleNetComponent.prototype, "color", void 0);
//# sourceMappingURL=battle-net.js.map