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