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