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 IconBaseballComponent = class IconBaseballComponent extends TiniElement {
    static { this.defaultTagName = 'icon-baseball'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNjIuNyAyMjMuNGMtNC44LjQtOS43LjYtMTQuNy42LTE1LjYgMC0zMC44LTItNDUuMi01LjlDMTkuMiAxMDcuMSAxMDcuMSAxOS4yIDIxOC4xIDIuOCAyMjIgMTcuMiAyMjQgMzIuNCAyMjQgNDhjMCA0LjktLjIgOS44LS42IDE0LjctLjcgOC44IDUuOCAxNi41IDE0LjYgMTcuM3MxNi41LTUuOCAxNy4zLTE0LjZjLjUtNS43LjctMTEuNS43LTE3LjMgMC0xNi41LTEuOS0zMi42LTUuNi00Ny45IDEuOCAwIDMuNy0uMSA1LjYtLjFDMzk3LjQgMCA1MTIgMTE0LjYgNTEyIDI1NmMwIDEuOSAwIDMuNy0uMSA1LjYtMTUuNC0zLjYtMzEuNC01LjYtNDcuOS01LjYtNS44IDAtMTEuNi4yLTE3LjMuNy04LjguNy0xNS40IDguNS0xNC42IDE3LjNzOC41IDE1LjQgMTcuMyAxNC42YzQuOC0uNCA5LjctLjYgMTQuNy0uNiAxNS42IDAgMzAuOCAyIDQ1LjIgNS45LTE2LjUgMTExLTEwNC40IDE5OC45LTIxNS40IDIxNS4zLTMuOS0xNC40LTUuOS0yOS42LTUuOS00NS4yIDAtNC45LjItOS44LjYtMTQuNy43LTguOC01LjgtMTYuNS0xNC42LTE3LjNzLTE2LjUgNS44LTE3LjMgMTQuNmMtLjUgNS43LS43IDExLjUtLjcgMTcuMyAwIDE2LjUgMS45IDMyLjYgNS42IDQ3LjktMS44IDAtMy43LjEtNS42LjFDMTE0LjYgNTEyIDAgMzk3LjQgMCAyNTZjMC0xLjkgMC0zLjcuMS01LjYgMTUuMyAzLjcgMzEuNCA1LjYgNDcuOSA1LjYgNS44IDAgMTEuNi0uMiAxNy4zLS43IDguOC0uNyAxNS40LTguNSAxNC42LTE3LjNzLTguNS0xNS40LTE3LjMtMTQuNnptNTguNi0xNS40Yy04IDMuNy0xMS42IDEzLjItNy45IDIxLjJzMTMuMiAxMS42IDIxLjIgNy45YzQ1LjItMjAuOCA4MS43LTU3LjIgMTAyLjUtMTAyLjUgMy43LTggLjItMTcuNS03LjktMjEuMnMtMTcuNS0uMi0yMS4yIDcuOWMtMTcuNiAzOC4zLTQ4LjUgNjkuMi04Ni43IDg2Ljd6bTI3Ny4yIDc0LjdjLTMuNy04LTEzLjItMTEuNi0yMS4yLTcuOS00NS4yIDIwLjgtODEuNyA1Ny4yLTEwMi41IDEwMi41LTMuNyA4LS4yIDE3LjUgNy45IDIxLjJzMTcuNS4yIDIxLjItNy45YzE3LjYtMzguMyA0OC41LTY5LjIgODYuNy04Ni43IDgtMy43IDExLjYtMTMuMiA3LjktMjEuMnoiLz48L3N2Zz4=');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 })
], IconBaseballComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconBaseballComponent.prototype, "scheme", void 0);
IconBaseballComponent = __decorate([
    customElement('icon-baseball')
], IconBaseballComponent);
export { IconBaseballComponent };
//# sourceMappingURL=baseball.include.js.map