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