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 IconMosquitoNetComponent extends TiniElement {
    static { this.defaultTagName = 'icon-mosquito-net'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48cGF0aCBkPSJNMTY4LjggNDYyLjNjLTcuOS00LTExLjEtMTMuNi03LjItMjEuNWwzMC40LTYwLjZWMzM2YzAtNC4yIDEuNy04LjMgNC43LTExLjNsNTkuMy01OS4zdi0yMy4yTDEzOS4yIDM0NEM4Ny44IDM5NS4zIDAgMzU4LjkgMCAyODYuM2MwLTQxLjEgMzAuNi03NS44IDcxLjQtODAuOWwxNTkuOS0yMy45LTQ5LjYtNDEuM2MtNS4xLTQuMi03LTExLjEtNC45LTE3LjRsMTMuOS00MS43LTI5LTU4LjFjLTQtNy45LS43LTE3LjUgNy4yLTIxLjVzMTcuNS0uNyAyMS41IDcuMmwzMiA2NGMxLjkgMy44IDIuMiA4LjIuOSAxMi4ybC0xMi41IDM3LjYgNDUuMiAzOHYtMjIuNmMwLTE0L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jggMCAxNiA3LjIgMTYgMTZzLTcuMiAxNi0xNiAxNmgtMTZ2MTZjMCA4LjgtNy4yIDE2LTE2IDE2cy0xNi03LjItMTYtMTZ2LTE2aC00OHYxNmMwIDguOC03LjIgMTYtMTYgMTZzLTE2LTcuMi0xNi0xNnYtMTZoLTQ4djE2YzAgOC44LTcuMiAxNi0xNiAxNnMtMTYtNy4yLTE2LTE2di0xNmgtMTZjLTguOCAwLTE2LTcuMi0xNi0xNnM3LjItMTYgMTYtMTZoMTZ2LTQ4aC0xNmMtOC44IDAtMTYtNy4yLTE2LTE2czcuMi0xNiAxNi0xNmgxNnYtNDhoLTE2Yy04LjggMC0xNi03LjItMTYtMTZzNy4yLTE2IDE2LTE2aDE2di0xNmMwLTguOCA3LjItMTYgMTYtMTZzMTYgNy4yIDE2IDE2djE2aDQ4di0xNmMwLTguOCA3LjItMTYgMTYtMTZ6bTE2IDExMmg0OHYtNDhoLTQ4djQ4em0wIDgwaDQ4di00OGgtNDh2NDh6bS04MC0xMjh2NDhoNDh2LTQ4aC00OHptMCA4MHY0OGg0OHYtNDhoLTQ4eiIvPjwvc3ZnPg==');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 })
], IconMosquitoNetComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconMosquitoNetComponent.prototype, "scheme", void 0);
export const IconMosquitoNet = createComponent({
    tagName: IconMosquitoNetComponent.defaultTagName,
    elementClass: IconMosquitoNetComponent,
    react: React,
});
//# sourceMappingURL=mosquito-net.react.js.map