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