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 { styleMap } from 'lit/directives/style-map.js';
import { TiniElement, partMap, VaryGroups, generateColorVaries, generateGradientVaries, generateScaleVaries } from 'tinijs';
export class IconHouseTsunamiComponent extends TiniElement {
    static { this.defaultTagName = 'icon-house-tsunami'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NzYgNTEyIj48cGF0aCBkPSJNODAuOCAxMzYuNUMxMDQuOSA5My44IDE1Mi42IDY0IDIwOSA2NGMxNi45IDAgMzMuMSAyLjcgNDguMiA3LjcgMTYuOCA1LjUgMzQuOS0zLjYgNDAuNC0yMC40cy0zLjYtMzQuOS0yMC40LTQwLjRDMjU1LjggMy44IDIzMi44IDAgMjA5IDAgOTUuMiAwIDAgODggMCAyMDBjMCA5MS42IDUzLjUgMTcyLjEgMTQyLjIgMTk0LjEgMTMuNCAzLjggMjcuNSA1LjkgNDIuMiA1LjkuNyAwIDEuNCAwIDIuMS0uMSAxLjggMCAzLjcuMSA1LjUuMSAzMS45IDAgNjAuNi05LjkgODAuNC0xOC45IDUuOC0yLjcgMTEuMS01LjMgMTUuNi03LjcgNC41IDIuNCA5LjcgNS4xIDE1LjYgNy43IDE5LjggOSA0OC41IDE4L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0yMi41IDE1LjUtNTAgMjYuMS03Ny41IDI2LjEtMjYuOSAwLTU1LjMtMTAuOC03Ny40LTI2LjEtMTEuOS04LjUtMjguMS03LjgtMzkuMiAxLjctMTQuNCAxMS45LTMyLjUgMjEtNTAuNiAyNS4yLTE3LjIgNC0yNy45IDIxLjItMjMuOSAzOC40czIxLjIgMjcuOSAzOC40IDIzLjljMjQuNS01LjcgNDQuOS0xNi41IDU4LjItMjUgMjkgMTUuNiA2MS41IDI1LjkgOTQuNSAyNS45IDMxLjkgMCA2MC42LTkuOSA4MC40LTE4LjkgNS44LTIuNyAxMS4xLTUuMyAxNS42LTcuNyA0LjUgMi40IDkuNyA1LjEgMTUuNiA3LjcgMTkuOCA5IDQ4LjUgMTguOSA4MC40IDE4LjkgMzMgMCA2NS41LTEwLjMgOTQuNS0yNS44IDEzLjQgOC40IDMzLjcgMTkuMyA1OC4yIDI1IDE3LjIgNCAzNC40LTYuNyAzOC40LTIzLjlzLTYuNy0zNC40LTIzLjktMzguNGMtMTguMS00LjItMzYuMi0xMy4zLTUwLjYtMjUuMi0xMS4xLTkuNC0yNy4zLTEwLjEtMzkuMi0xLjctMjIgMTUuMi01MC41IDI2LTc3LjQgMjZ6Ii8+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)}.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 })
], IconHouseTsunamiComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconHouseTsunamiComponent.prototype, "scheme", void 0);
//# sourceMappingURL=house-tsunami.js.map