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 { customElement } from 'lit/decorators.js';
import { html, css } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { styleMap } from 'lit/directives/style-map.js';
import { TiniElement, partMap, VaryGroups, generateColorVaries, generateGradientVaries, generateScaleVaries } from 'tinijs';
let IconCakeCandlesComponent = class IconCakeCandlesComponent extends TiniElement {
    static { this.defaultTagName = 'icon-cake-candles'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNODYuNCA1LjUgNjEuOCA0Ny42QzU4IDU0LjEgNTYgNjEuNiA1NiA2OS4yVjcyYzAgMjIuMSAxNy45IDQwIDQwIDQwczQwLTE3LjkgNDAtNDB2LTIuOGMwLTcuNi0yLTE1LTUuOC0yMS42TDEwNS42IDUuNUMxMDMuNiAyLjEgMTAwIDAgOTYgMHMtNy42IDIuMS05LjYgNS41em0xMjggMC0yNC42IDQyLjFjLTMuOCA2LjUtNS44IDE0LTUuOCAyMS42VjcyYzAgMjIuMSAxNy45IDQwIDQwIDQwczQwLTE3LjkgNDAtNDB2LTIuOGMwLTcuNi0yLTE1LTUuOC0yMS42TDIzMy42IDUuNUMyMzEuNiAyLjEgMjI4IDAgMjI0IDBzLTcuNiAyLjEtOS42IDUuNXptMT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A3LjMgMjQuOSAxMy40IDM4LjQgMTMuNCAxMC43IDAgMjAuNS0zLjkgMjguOC05di03MWMwLTM1LjMtMjguNy02NC02NC02NHYtNDhjMC0xNy43LTE0LjMtMzItMzItMzJzLTMyIDE0LjMtMzIgMzJ2NDhIMjU2di00OGMwLTE3LjctMTQuMy0zMi0zMi0zMnMtMzIgMTQuMy0zMiAzMnY0OGgtNjR2LTQ4em0zMjAgMjE4LjZjLTguNSAzLjMtMTguMiA1LjQtMjguOCA1LjQtMjIuNSAwLTQyLjQtOS45LTU1LjgtMTguNi00LjEtMi43LTcuOC01LjQtMTAuOS03LjgtMi44IDIuNC02LjEgNS05LjggNy41QzMyOS44IDM5MCAzMTAuNiA0MDAgMjg4IDQwMHMtNDEuOC0xMC01NC42LTE4LjljLTMuNS0yLjQtNi43LTQuOS05LjQtNy4yLTIuNyAyLjMtNS45IDQuNy05LjQgNy4yLTEyLjggOC45LTMyIDE4LjktNTQuNiAxOC45cy00MS44LTEwLTU0LjYtMTguOWMtMy43LTIuNi03LTUuMi05LjgtNy41LTMuMSAyLjQtNi44IDUuMS0xMC45IDcuOC0xMy41IDguNy0zMy40IDE4LjYtNTUuOSAxOC42LTEwLjYgMC0yMC4zLTIuMi0yOC44LTUuNFY0ODBjMCAxNy43IDE0LjMgMzIgMzIgMzJoMzg0YzE3LjcgMCAzMi0xNC4zIDMyLTMydi04NS40eiIvPjwvc3ZnPg==');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(changedValues) { super.willUpdate(changedValues); this.extendRootClassesParts({ scheme: !!this.scheme, [`${VaryGroups.Scale}-${this.scale}`]: !!this.scale, [`${VaryGroups.Scheme}-${this.scheme}`]: !!this.scheme }); }
    render() { return html `<i part=${partMap(this.rootClassesParts)} class=${classMap(this.rootClassesParts)} style=${styleMap(this.rootStyles)}></i>`; }
};
__decorate([
    property({ type: String, reflect: true })
], IconCakeCandlesComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconCakeCandlesComponent.prototype, "scheme", void 0);
IconCakeCandlesComponent = __decorate([
    customElement('icon-cake-candles')
], IconCakeCandlesComponent);
export { IconCakeCandlesComponent };
//# sourceMappingURL=cake-candles.include.js.map