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 { customElement } from 'lit/decorators.js';
import { LitElement, html, css } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
export const ICON_KEYCDN = 'icon-keycdn';
export let IconKeycdnComponent = class IconKeycdnComponent extends LitElement {
    static { this.styles = css `:host{--icon-width:var(--size-md-2x);--icon-height:var(--size-md-2x);--icon-color:none;--icon-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJtNjMuOCA0MDkuMyA2MC41LTU5YzMyLjEgNDIuOCA3MS4xIDY2IDEyNi42IDY3LjQgMzAuNS43IDYwLjMtNyA4Ni40LTIyLjQgNS4xIDUuMyAxOC41IDE5LjUgMjAuOSAyMi0zMi4yIDIwLjctNjkuNiAzMS4xLTEwOC4xIDMwLjItNDMuMy0xLjEtODQuNi0xNi43LTExNy43LTQ0LjQuMy0uNi0zOC4yIDM3LjUtMzguNiAzNy45IDkuNSAyOS44LTEzLjEgNjIuNC00Ni4zIDYyLjRDMjAuNyA1MDMuMyAwIDQ4MS43IDAgNDU0LjljMC0zNC4zIDMzLjEtNTYuNiA2My44LTQ1LjZ6bTM1NC45LTI1Mi40YzE5LjEgMzEuMyAyOS42IDY3LjQgMjguNyAxMDQtMS4xIDQ0LjgtMTkgODcuNS00OC42IDEyMSAuMy4zIDIzLjggMjUuMiAyNC4xIDI1LjUgOS42LTEuMyAxOS4y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1OS4xLTkuOCA3OC4xLTgxLjEgMTMzLjQtMTU5LjEgMTIzLjgtNzguMS05LjgtMTMzLjQtODEuMS0xMjMuOC0xNTkuMiA5LjMtNzIuNCA3MC4xLTEyNC42IDE0Mi43LTEyNC44em0tNTkgMTE5LjRjLjYgMjIuNyAxMi4yIDQxLjggMzIuNCA1Mi4ybC0xMSA1MS43aDczLjdsLTExLTUxLjdjMjAuMS0xMC45IDMyLjEtMjkgMzIuNC01Mi4yLS40LTMyLjgtMjUuOC01Ny41LTU4LjMtNTguMy0zMi4xLjgtNTcuMyAyNC44LTU4LjIgNTguM3pNMjU2IDE2MCIvPjwvc3ZnPg==');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}.dynamic{--icon-color:var(--color-foreground)}.primary{--icon-color:var(--color-primary)}.secondary{--icon-color:var(--color-secondary)}.tertiary{--icon-color:var(--color-tertiary)}.success{--icon-color:var(--color-success)}.warning{--icon-color:var(--color-warning)}.danger{--icon-color:var(--color-danger)}.light{--icon-color:var(--color-light)}.medium{--icon-color:var(--color-medium)}.dark{--icon-color:var(--color-dark)}.gradient-dynamic{--icon-color:var(--gradient-foreground)}.gradient-primary{--icon-color:var(--gradient-primary)}.gradient-secondary{--icon-color:var(--gradient-secondary)}.gradient-tertiary{--icon-color:var(--gradient-tertiary)}.gradient-success{--icon-color:var(--gradient-success)}.gradient-warning{--icon-color:var(--gradient-warning)}.gradient-danger{--icon-color:var(--gradient-danger)}.gradient-light{--icon-color:var(--gradient-light)}.gradient-medium{--icon-color:var(--gradient-medium)}.gradient-dark{--icon-color:var(--gradient-dark)}.xxxs{--icon-width:var(--size-xxxs-2x);--icon-height:var(--size-xxxs-2x)}.xxs{--icon-width:var(--size-xxs-2x);--icon-height:var(--size-xxs-2x)}.xs{--icon-width:var(--size-xs-2x);--icon-height:var(--size-xs-2x)}.ss{--icon-width:var(--size-ss-2x);--icon-height:var(--size-ss-2x)}.sm{--icon-width:var(--size-sm-2x);--icon-height:var(--size-sm-2x)}.ml{--icon-width:var(--size-ml-2x);--icon-height:var(--size-ml-2x)}.lg{--icon-width:var(--size-lg-2x);--icon-height:var(--size-lg-2x)}.sl{--icon-width:var(--size-sl-2x);--icon-height:var(--size-sl-2x)}.xl{--icon-width:var(--size-xl-2x);--icon-height:var(--size-xl-2x)}.xxl{--icon-width:var(--size-xxl-2x);--icon-height:var(--size-xxl-2x)}.xxxl{--icon-width:var(--size-xxxl-2x);--icon-height:var(--size-xxxl-2x)}`; }
    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);
IconKeycdnComponent = __decorate([
    customElement(ICON_KEYCDN)
], IconKeycdnComponent);
//# sourceMappingURL=keycdn.include.js.map