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