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 React from 'react';
import { createComponent } from '@lit/react';
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';
export class IconHotdogComponent extends TiniElement {
    static { this.defaultTagName = 'icon-hotdog'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNDg4LjYgMjMuNGMzMS4yIDMxLjIgMzEuMiA4MS45IDAgMTEzLjFsLTM1MiAzNTJjLTMxLjIgMzEuMi04MS45IDMxLjItMTEzLjEgMHMtMzEuMi04MS45IDAtMTEzLjFsMzUyLTM1MmMzMS4yLTMxLjIgODEuOS0zMS4yIDExMy4xIDB6bS00NS4zIDY5LjNjLTYuMi02LjItMTYuNC02LjItMjIuNiAwLTEyLjUgMTIuNS0yMy44IDE1LjEtMzcuNSAxNy42bC0yLjUuNGMtMTMuOCAyLjUtMzEuNiA1LjYtNDggMjItMTYuNyAxNi43LTIwLjkgMzYtMjQuMSA1MC45bC0uMiAxYy0zLjQgMTUuNi02IDI2LjQtMTUuNyAzNi4xcy0yMC41IDEyLjMtMzYuMSAxNS43bC0xIC4yYy0xNC45IDMuMi0zNC4yIDcuNC01MC45IDI0LjFzLTIwLjkgMzYtMjQuMSA1MC45bC0uMiAxYy0zLjQgMTUuNi02IDI2LjQtMTUuNyAzNi4xLTkuMiA5LjItMTggMTAuOC0zMi43IDEzLjRsLS45LjJjLTE1LjYgMi44LTM0LjkgNi45LTU0LjQgMjYuNC02LjIgNi4yLTYuMiAxNi40IDAgMjIuNnMxNi40IDYuMiAyMi42IDBjMTIuNS0xMi41IDIzLjgtMTUuMSAzNy41LTE3LjZsMi41LS40YzEzLjgtMi41IDMxLjYtNS42IDQ4LTIyIDE2LjctMTYuNyAyMC45LTM2IDI0LjEtNTAuOWwuMi0xYzMuNC0xNS42IDYtMjYuNCAxNS43LTM2LjFzMjAuNS0xMi4zIDM2LjEtMTUuN2wxLS4yYzE0LjktMy4yIDM0LjItNy40IDUwLjktMjQuMXMyMC45LTM2IDI0LjEtNTAuOWwuMi0xYzMuNC0xNS42IDYtMjYuNCAxNS43LTM2LjEgOS4yLTkuMiAxOC0xMC44IDMyLjctMTMuNGwuOS0uMmMxNS42LTIuOCAzNC45LTYuOSA1NC40LTI2LjQgNi4yLTYuMiA2LjItMTYuNCAwLTIyLjZ6TTE5MS4yIDQ3OS4ybDI4OC0yODhMNDk1IDIwN2MxMC45IDEwLjkgMTcgMjUuNiAxNyA0MXMtNi4xIDMwLjEtMTcgNDFMMjg5IDQ5NWMtMTAuOSAxMC45LTI1LjYgMTctNDEgMTdzLTMwLjEtNi4xLTQxLTE3bC0xNS44LTE1Ljh6TTE3IDMwNUM2LjEgMjk0LjEgMCAyNzkuNCAwIDI2NHM2LjEtMzAuMSAxNy00MUwyMjMgMTdjMTAuOS0xMC45IDI1LjYtMTcgNDEtMTdzMzAuMSA2LjEgNDEgMTdsMTUuOCAxNS44LTI4OCAyODhMMTcgMzA1eiIvPjwvc3ZnPg==');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 })
], IconHotdogComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconHotdogComponent.prototype, "scheme", void 0);
export const IconHotdog = createComponent({
    tagName: IconHotdogComponent.defaultTagName,
    elementClass: IconHotdogComponent,
    react: React,
});
//# sourceMappingURL=hotdog.react.js.map