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 { html, css } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { TiniElement, partMap, VaryGroups, generateColorVaries, generateGradientVaries, generateScaleVaries } from 'tinijs';
export class IconSuitClubComponent extends TiniElement {
    static { this.defaultTagName = 'icon-suit-club'; }
    static { this.componentName = 'icon'; }
    static { this.styles = css `:host{--icon-width:var(--scale-md-2x);--icon-height:var(--scale-md-2x);--icon-scheme:none;--icon-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLXN1aXQtY2x1YiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOCAxYTMuMjUgMy4yNSAwIDAgMC0zLjI1IDMuMjVjMCAuMTg2IDAgLjI5LjAxNi40MS4wMTQuMTIuMDQ1LjI3LjEyLjUyN2wuMTkuNjY1LS42OTItLjAyOGEzLjI1IDMuMjUgMCAxIDAgMi4zNTcgNS4zMzQuNS41IDAgMCAxIC44NDQuNTE4bC0uMDAzLjAwNS0uMDA2LjAxNS0uMDI0LjA1NWEyMS44OTMgMjEuODkzIDAgMCAxLS40MzguOTIgMjIuMzggMjIuMzggMCAwIDEtMS4yNjYgMi4xOTdjLS4wMTMuMDE4LS4wMi4wNS4wMDEuMDkuMDEuMDIuMDIxLjAzLjAzLjAzNkEuMDM2LjAzNiAwIDAgMCA1LjkgMTVoNC4yYy4wMSAwIC4wMTYtLjAwMi4wMjItLjAwNmEuMDkyLjA5MiAwIDAgMCAuMDI5LS4wMzVjLjAyLS4wNC4wMTQtLjA3My4wMDEtLjA5MWEyMi44NzUgMjIuODc1IDAgMCAxLTEuNzA0LTMuMTE3bC0uMDI0LS4wNTQtLjAwNi0uMDE1LS4wMDItLjAwNGEuNS41IDAgMCAxIC44MzgtLjUyNGMuNjAxLjcgMS41MTYgMS4xNjggMi40OTYgMS4xNjhhMy4yNSAzLjI1IDAgMSAwLS4xMzktNi40OThsLS42OTkuMDMuMTk5LS42NzFjLjE0LS40Ny4xNC0uNzQ1LjEzOS0uOTI3VjQuMjVBMy4yNSAzLjI1IDAgMCAwIDggMW0yLjIwNyAxMi4wMjRjLjIyNS40MDUuNDg3Ljg0OC43OCAxLjI5NEMxMS40MzcgMTUgMTAuOTc1IDE2IDEwLjEgMTZINS45Yy0uODc2IDAtMS4zMzgtMS0uODg3LTEuNjgzLjI5MS0uNDQyLjU1Mi0uODguNzc2LTEuMjgzYTQuMjUgNC4yNSAwIDEgMS0yLjAwNy04LjE4NyAyLjc5IDIuNzkgMCAwIDEtLjAwOS0uMDY0Yy0uMDIzLS4xODctLjAyMy0uMzQ4LS4wMjMtLjUyVjQuMjVhNC4yNSA0LjI1IDAgMCAxIDguNSAwYzAgLjE0IDAgLjMzMy0uMDQuNTk2YTQuMjUgNC4yNSAwIDAgMS0uNDYgOC40NzYgNC4xODYgNC4xODYgMCAwIDEtMS41NDMtLjI5OHoiLz48L3N2Zz4=');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)}.scheme{background:var(--icon-scheme);-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}${generateColorVaries(({ fullName, color }) => `.${fullName} {--icon-scheme: ${color};}`)}${generateGradientVaries(({ fullName, gradient }) => `.${fullName} {--icon-scheme: ${gradient};}`)}${generateScaleVaries(({ name, fullName }) => `.${fullName} {--icon-width: var(--scale-${name}-2x);--icon-height: var(--scale-${name}-2x);}`)}`; }
    willUpdate() { this.extendRootClasses({ raw: { scheme: !!this.scheme }, overridable: { [VaryGroups.Scale]: this.scale, [VaryGroups.Scheme]: this.scheme } }); }
    render() { return html `<i class=${classMap(this.rootClasses)} part=${partMap(this.rootClasses)}></i>`; }
}
__decorate([
    property({ type: String, reflect: true })
], IconSuitClubComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconSuitClubComponent.prototype, "scheme", void 0);
//# sourceMappingURL=suit-club.js.map