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 IconFileEarmarkPdfComponent extends TiniElement {
    static { this.defaultTagName = 'icon-file-earmark-pdf'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWZpbGUtZWFybWFyay1wZGYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTE0IDE0VjQuNUw5LjUgMEg0YTIgMiAwIDAgMC0yIDJ2MTJhMiAyIDAgMCAwIDIgMmg4YTIgMiAwIDAgMCAyLTJNOS41IDNBMS41IDEuNSAwIDAgMCAxMSA0LjVoMlYxNGExIDEgMCAwIDEtMSAxSDRhMSAxIDAgMCAxLTEtMVYyYTEgMSAwIDAgMSAxLTFoNS41eiIvPjxwYXRoIGQ9Ik00LjYwMyAxNC4wODdhLjgxLjgxIDAgMCAxLS40MzgtLjQyYy0uMTk1LS4zODgtLjEzLS43NzYuMDgtMS4xMDIuMTk4LS4zMDcuNTI2LS41NjguODk3LS43ODdhNy42OCA3LjY4IDAgMCAxIDEuNDgyLS42NDUgMTku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MzNhMTIuNzEgMTIuNzEgMCAwIDEgMS4wMS0uMTkzIDExLjc0NCAxMS43NDQgMCAwIDEtLjUxLS44NTggMjAuODAxIDIwLjgwMSAwIDAgMS0uNSAxLjA1em0yLjQ0Ni40NWMuMTUuMTYzLjI5Ni4zLjQzNS40MS4yNC4xOS40MDcuMjUzLjQ5OC4yNTZhLjEwNy4xMDcgMCAwIDAgLjA3LS4wMTUuMzA3LjMwNyAwIDAgMCAuMDk0LS4xMjUuNDM2LjQzNiAwIDAgMCAuMDU5LS4yLjA5NS4wOTUgMCAwIDAtLjAyNi0uMDYzYy0uMDUyLS4wNjItLjItLjE1Mi0uNTE4LS4yMDlhMy44NzYgMy44NzYgMCAwIDAtLjYxMi0uMDUzek04LjA3OCA3LjhhNi43IDYuNyAwIDAgMCAuMi0uODI4Yy4wMzEtLjE4OC4wNDMtLjM0My4wMzgtLjQ2NWEuNjEzLjYxMyAwIDAgMC0uMDMyLS4xOTguNTE3LjUxNyAwIDAgMC0uMTQ1LjA0Yy0uMDg3LjAzNS0uMTU4LjEwNi0uMTk2LjI4My0uMDQuMTkyLS4wMy40NjkuMDQ2LjgyMi4wMjQuMTExLjA1NC4yMjcuMDkuMzQ2eiIvPjwvc3ZnPg==');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 })
], IconFileEarmarkPdfComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconFileEarmarkPdfComponent.prototype, "scheme", void 0);
//# sourceMappingURL=file-earmark-pdf.js.map