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