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