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