import { ChangeDetectionStrategy, Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FlagBaseComponent } from './flag-base.component';
import * as i0 from "@angular/core";
export class FlagComponent extends FlagBaseComponent {
    static { this.ɵfac = /*@__PURE__*/ (() => { let ɵFlagComponent_BaseFactory; return function FlagComponent_Factory(__ngFactoryType__) { return (ɵFlagComponent_BaseFactory || (ɵFlagComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FlagComponent)))(__ngFactoryType__ || FlagComponent); }; })(); }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlagComponent, selectors: [["fusion-flag"]], standalone: true, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵStandaloneFeature], decls: 2, vars: 3, consts: [["focusable", "false", "aria-hidden", "true", "viewBox", "0 0 24 24", 1, "fu-flag"]], template: function FlagComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵnamespaceSVG();
            i0.ɵɵelementStart(0, "svg", 0);
            i0.ɵɵelement(1, "image");
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵstyleProp("border-radius", ctx.borderRadius);
            i0.ɵɵadvance();
            i0.ɵɵattribute("href", ctx.flagUrl);
        } }, dependencies: [CommonModule], styles: ["[_nghost-%COMP%]{margin:0;padding:0;-webkit-user-select:none;user-select:none;display:inline-block}[_nghost-%COMP%]   svg.fu-flag[_ngcontent-%COMP%]{fill:currentcolor;flex-shrink:0;transition:fill .2s cubic-bezier(.4,0,.2,1) 0ms}[_nghost-%COMP%]   svg.fu-flag[_ngcontent-%COMP%]   image[_ngcontent-%COMP%]{width:100%;height:auto}"], changeDetection: 0 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FlagComponent, [{
        type: Component,
        args: [{ selector: 'fusion-flag', standalone: true, imports: [CommonModule], template: `
        <svg class="fu-flag" focusable="false" aria-hidden="true" viewBox="0 0 24 24" [style.border-radius]="borderRadius">
            <image [attr.href]="flagUrl"></image>
        </svg>
    `, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{margin:0;padding:0;-webkit-user-select:none;user-select:none;display:inline-block}:host svg.fu-flag{fill:currentcolor;flex-shrink:0;transition:fill .2s cubic-bezier(.4,0,.2,1) 0ms}:host svg.fu-flag image{width:100%;height:auto}\n"] }]
    }], null, null); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FlagComponent, { className: "FlagComponent", filePath: "flag.component.ts", lineNumber: 17 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxhZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mdXNpb24tdWkvY29tcG9uZW50cy9mbGFnL3Y0L2ZsYWcuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDakUsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLHVCQUF1QixDQUFDOztBQWN4RCxNQUFNLE9BQU8sYUFBYyxTQUFRLGlCQUFpQjt3T0FBdkMsYUFBYSx5QkFBYixhQUFhO29FQUFiLGFBQWE7O1lBUGxCLDhCQUFtSDtZQUMvRyx3QkFBcUM7WUFDekMsaUJBQU07O1lBRndFLGlEQUFvQztZQUN2RyxjQUFxQjs7NEJBSDFCLFlBQVk7O2lGQVNiLGFBQWE7Y0FaekIsU0FBUzsyQkFDSSxhQUFhLGNBQ1gsSUFBSSxXQUNQLENBQUMsWUFBWSxDQUFDLFlBQ2I7Ozs7S0FJVCxtQkFFZ0IsdUJBQXVCLENBQUMsTUFBTTs7a0ZBRXRDLGFBQWEi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