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