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 IconFiletypeCsvComponent extends TiniElement {
    static { this.defaultTagName = 'icon-filetype-csv'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWZpbGV0eXBlLWNzdiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNCA0LjVWMTRhMiAyIDAgMCAxLTIgMmgtMXYtMWgxYTEgMSAwIDAgMCAxLTFWNC41aC0yQTEuNSAxLjUgMCAwIDEgOS41IDNWMUg0YTEgMSAwIDAgMC0xIDF2OUgyVjJhMiAyIDAgMCAxIDItMmg1LjV6TTMuNTE3IDE0Ljg0MWExLjEzIDEuMTMgMCAwIDAgLjQwMS44MjNjLjEzLjEwOC4yODkuMTkyLjQ3OC4yNTIuMTkuMDYxLjQxMS4wOTEuNjY1LjA5MS4zMzggMCAuNjI0LS4wNTMuODU5LS4xNTguMjM2LS4xMDUuNDE2LS4yNTIuNTM5LS40NC4xMjUtLjE4OS4x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S4xMzdjLjE1IDAgLjI4My4wMzIuMzk4LjA5N2EuNy43IDAgMCAxIC4yNzIuMjYuODUuODUgMCAwIDEgLjEyLjM4MWguNzY1di0uMDcyYTEuMzMgMS4zMyAwIDAgMC0uNDY2LS45NjQgMS40NDEgMS40NDEgMCAwIDAtLjQ4OS0uMjcyIDEuODM4IDEuODM4IDAgMCAwLS42MDYtLjA5N2MtLjM1NiAwLS42Ni4wNzQtLjkxMS4yMjMtLjI1LjE0OC0uNDQuMzU5LS41NzIuNjMyLS4xMy4yNzQtLjE5Ni42LS4xOTYuOTc5di40OThjMCAuMzc5LjA2NC43MDQuMTkzLjk3Ni4xMzEuMjcxLjMyMi40OC41NzIuNjI2LjI1LjE0NS41NTQuMjE3LjkxNC4yMTcuMjkzIDAgLjU1NC0uMDU1Ljc4NS0uMTY0LjIzLS4xMS40MTQtLjI2LjU1LS40NTRhMS4yNyAxLjI3IDAgMCAwIC4yMjYtLjY3NHYtLjA3NmgtLjc2NGEuNzk5Ljc5OSAwIDAgMS0uMTE4LjM2My43LjcgMCAwIDEtLjI3Mi4yNS44NzQuODc0IDAgMCAxLS40MDEuMDg3Ljg0NS44NDUgMCAwIDEtLjQ3OC0uMTMyLjgzMy44MzMgMCAwIDEtLjI5OS0uMzkyIDEuNjk5IDEuNjk5IDAgMCAxLS4xMDItLjYyN3YtLjQ5NVptOC4yMzkgMi4yMzhoLS45NTNsLTEuMzM4LTMuOTk5aC45MTdsLjg5NiAzLjEzOGguMDM4bC44ODgtMy4xMzhoLjg3OWwtMS4zMjcgNFoiLz48L3N2Zz4=');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 })
], IconFiletypeCsvComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconFiletypeCsvComponent.prototype, "scheme", void 0);
//# sourceMappingURL=filetype-csv.js.map