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