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 { LitElement, html, css } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { partMap, generateColorVaries, generateGradientVaries, generateSizeVaries } from '@tinijs/core';
export const ICON_BOTS = 'icon-bots';
export let IconBotsComponent = class IconBotsComponent extends LitElement {
    constructor() {
        super(...arguments);
        this.rootClassesParts = {};
    }
    static { this.defaultTagName = ICON_BOTS; }
    static { this.styles = css `:host{--icon-width:var(--size-md-2x);--icon-height:var(--size-md-2x);--icon-color:none;--icon-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48cGF0aCBkPSJNODYuMzQ0IDE5Ny44MzRhNTEuNzY3IDUxLjc2NyAwIDAgMC00MS41NyAyMC4wNTh2LTYxLjg3NGE4LjE5IDguMTkgMCAwIDAtOC4xOS04LjE5SDguMTlhOC4xOSA4LjE5IDAgMCAwLTguMTkgOC4xOXYxNzcuNTMzYTguMTg5IDguMTg5IDAgMCAwIDguMTkgOC4xODloMjguMzk0YTguMTg5IDguMTg5IDAgMCAwIDguMTktOC4xODl2LTguMDg4YzExLjYyOCAxMy4zNzMgMjUuODc0IDE5Ljc2OSA0MS41NzMgMTkuNzY5IDM0LjYgMCA2MS45MjItMjYuMTY0IDYxLjkyMi03My44NDMtLjAwMy00NS45MzctMjcuMDQtNzMuNTU1LTYxLjkyNS03My41NTVaTTcx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AyMS4zODMtMi4yIDI3LjYtNS40NDZhOC4xNjEgOC4xNjEgMCAwIDAgNC4xNDUtOS4yNzhaIi8+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)}.recolor{background:var(--icon-color);-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(({ name, color }) => `.scheme-${name} {--icon-color: ${color};}`)}${generateGradientVaries(({ name, gradient }) => `.scheme-${name} {--icon-color: ${gradient};}`)}${generateSizeVaries(size => `.size-${size} {--icon-width: var(--size-${size}-2x);--icon-height: var(--size-${size}-2x);}`)}`; }
    willUpdate() { this.rootClassesParts = { root: true, recolor: !!this.scheme, [`size-${this.size}`]: !!this.size, [`scheme-${this.scheme}`]: !!this.scheme }; }
    render() { return html `<i part=${partMap(this.rootClassesParts)} class=${classMap(this.rootClassesParts)}></i>`; }
};
__decorate([
    property({ type: String, reflect: true })
], IconBotsComponent.prototype, "size", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconBotsComponent.prototype, "scheme", void 0);
IconBotsComponent = __decorate([
    customElement(ICON_BOTS)
], IconBotsComponent);
//# sourceMappingURL=bots.include.js.map