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 IconCarFrontComponent extends TiniElement {
    static { this.defaultTagName = 'icon-car-front'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWNhci1mcm9udCIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNNCA5YTEgMSAwIDEgMS0yIDAgMSAxIDAgMCAxIDIgMG0xMCAwYTEgMSAwIDEgMS0yIDAgMSAxIDAgMCAxIDIgME02IDhhMSAxIDAgMCAwIDAgMmg0YTEgMSAwIDEgMCAwLTJ6TTQuODYyIDQuMjc2IDMuOTA2IDYuMTlhLjUxLjUxIDAgMCAwIC40OTcuNzMxYy45MS0uMDczIDIuMzUtLjE3IDMuNTk3LS4xNyAxLjI0NyAwIDIuNjg4LjA5NyAzLjU5Ny4xN2EuNTEuNTEgMCAwIDAgLjQ5Ny0uNzMxbC0uOTU2LTEuOTEzQS41LjUgMCAwIDAgMTAuNjkxIDRINS4zMDlhLjUuNSAwIDAgMC0uNDQ3LjI3NiIvPjxwYXRoIGQ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jc5Mi0xLjg0OEExLjUgMS41IDAgMCAwIDExLjE4IDN6Ii8+PC9zdmc+');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 })
], IconCarFrontComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconCarFrontComponent.prototype, "scheme", void 0);
//# sourceMappingURL=car-front.js.map