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