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 IconLungsComponent extends TiniElement {
    static { this.defaultTagName = 'icon-lungs'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWx1bmdzIiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxwYXRoIGQ9Ik04LjUgMS41YS41LjUgMCAxIDAtMSAwdjUuMjQzTDcgNy4xVjQuNzJDNyAzLjc3IDYuMjMgMyA1LjI4IDNjLS41MjQgMC0xLjAyMy4yNy0xLjQ0My41OTItLjQzMS4zMzItLjg0Ny43NzMtMS4yMTYgMS4yMjktLjczNi45MDgtMS4zNDcgMS45NDYtMS41OCAyLjQ4LS4xNzYuNDA1LS4zOTMgMS4xNi0uNTU2IDIuMDExLS4xNjUuODU3LS4yODMgMS44NTctLjI0MSAyLjc1OS4wNC44NjcuMjMzIDEuNzkuODM4IDIuMzMuNjcuNiAxLjYyMi41NTYgMi43NDEtLjAwNGwxLjc5NS0uODk3QTIuNSAyLjUgMCAwIDAgNyAxMS4yNjRWMTAuNWEuNS41ID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zEtMS41NzktMi40NzktLjM3LS40NTYtLjc4NS0uODk3LTEuMjE2LTEuMjI5QzExLjc0MyAzLjI3IDExLjI0NCAzIDEwLjcyIDMgOS43NyAzIDkgMy43NyA5IDQuNzJWNy4xbC0uNS0uMzU3eiIvPjwvc3ZnPg==');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 })
], IconLungsComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconLungsComponent.prototype, "scheme", void 0);
//# sourceMappingURL=lungs.js.map