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_KEYCDN = 'icon-keycdn';
export class IconKeycdnComponent 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+PHBhdGggZD0iTTYzLjggNDA5LjNsNjAuNS01OWMzMi4xIDQyLjggNzEuMSA2NiAxMjYuNiA2Ny40IDMwLjUuNyA2MC4zLTcgODYuNC0yMi40IDUuMSA1LjMgMTguNSAxOS41IDIwLjkgMjItMzIuMiAyMC43LTY5LjYgMzEuMS0xMDguMSAzMC4yLTQzLjMtMS4xLTg0LjYtMTYuNy0xMTcuNy00NC40LjMtLjYtMzguMiAzNy41LTM4LjYgMzcuOS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2LjIgMjIuNGwtMjEuMS0yMkMxODQuMSA3NC4zIDIyMS41IDY0IDI2MCA2NC45YzQzLjMgMS4xIDg0LjYgMTYuNyAxMTcuNyA0NC42bDQxLjEtMzguNmMtMS41LTQuNy0yLjItOS42LTIuMi0xNC41QzQxNi41IDI5LjcgNDM4LjkgOCA0NjQuOSA4ek0yNTYuNyAxMTMuNGM1LjUgMCAxMC45LjQgMTYuNCAxLjEgNzguMSA5LjggMTMzLjQgODEuMSAxMjMuOCAxNTkuMS05LjggNzguMS04MS4xIDEzMy40LTE1OS4xIDEyMy44LTc4LjEtOS44LTEzMy40LTgxLjEtMTIzLjgtMTU5LjIgOS4zLTcyLjQgNzAuMS0xMjQuNiAxNDIuNy0xMjQuOHptLTU5IDExOS40Yy42IDIyLjcgMTIuMiA0MS44IDMyLjQgNTIuMmwtMTEgNTEuN2g3My43bC0xMS01MS43YzIwLjEtMTAuOSAzMi4xLTI5IDMyLjQtNTIuMi0uNC0zMi44LTI1LjgtNTcuNS01OC4zLTU4LjMtMzIuMS44LTU3LjMgMjQuOC01OC4yIDU4LjN6TTI1NiAxNjAiLz48L3N2Zz4=');}: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 })
], IconKeycdnComponent.prototype, "size", void 0);
__decorate([
    property({ type: String })
], IconKeycdnComponent.prototype, "color", void 0);
//# sourceMappingURL=keycdn.js.map