import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-6191c26c.js';
import { c as cls } from './helpers-3d0ba5b1.js';

const styleCss$2 = "x-flag{background-size:contain;background-position:50%;background-repeat:no-repeat;position:relative;display:inline-block;width:1.33333333em;line-height:1em}x-flag.flag-circle{width:1em !important;height:1em !important;background-position:center;background-size:cover;border-radius:50% !important}";
const XFlagStyle0 = styleCss$2;

const XFlag = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.code = undefined;
        this.circle = false;
        this.rounded = false;
        this.size = '1em';
    }
    /**
     * Render component
     */
    render() {
        return h(Host, { key: '49ee3c97a0511779ac602e71252f0d74ecf30543', class: cls('flag', `flag-${this.code.toLowerCase()}`, { 'flag-rounded': this.rounded && !this.circle, 'flag-circle': this.circle }), "aria-label": this.code, style: { fontSize: this.size } });
    }
};
XFlag.style = XFlagStyle0;

const styleCss$1 = "x-icon{display:inline-block;position:relative;font-family:icons, sans-serif !important;font-style:normal;font-weight:normal !important;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-box-sizing:content-box;box-sizing:content-box;width:1em;height:1em;line-height:1em;vertical-align:middle;-ms-flex-pack:center;justify-content:center;color:inherit}x-icon.icon-filled[class*=icon-color-],x-icon.icon-clickable[class*=icon-color-],x-icon.icon-raised[class*=icon-color-]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;margin:0px;width:1em;height:1em;line-height:1em;padding:0.1em;border-radius:0.5rem;color:var(--color-default-shaded, #6d6d6d);background-color:var(--color-default-lucid, #f0f0f0);-webkit-box-sizing:border-box;box-sizing:border-box}x-icon.icon-filled[class*=icon-color-]::before,x-icon.icon-clickable[class*=icon-color-]::before,x-icon.icon-raised[class*=icon-color-]::before{font-size:0.75em}.is-dark-mode x-icon.icon-filled[class*=icon-color-],.is-dark-mode x-icon.icon-clickable[class*=icon-color-],.is-dark-mode x-icon.icon-raised[class*=icon-color-]{color:var(--color-default-lucid, #f0f0f0);background-color:var(--color-default-shaded, #6d6d6d)}x-icon.icon-clickable{-webkit-transition:-webkit-transform 0.4s, -webkit-box-shadow 0.4s;transition:-webkit-transform 0.4s, -webkit-box-shadow 0.4s;transition:transform 0.4s, box-shadow 0.4s;transition:transform 0.4s, box-shadow 0.4s, -webkit-transform 0.4s, -webkit-box-shadow 0.4s}x-icon.icon-clickable:hover{cursor:pointer;-webkit-transform:translateY(-1px);transform:translateY(-1px);-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-default-rgb, 155, 155, 155), 0.15), 0 0 0 3px var(--color-default-tint, #aaaaaa);box-shadow:0 8px 15px 0 rgba(var(--color-default-rgb, 155, 155, 155), 0.15), 0 0 0 3px var(--color-default-tint, #aaaaaa)}x-icon.icon-clickable:active{-webkit-transition:0s;transition:0s;-webkit-transform:translateY(1px) !important;transform:translateY(1px) !important}x-icon.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-default-rgb, 155, 155, 155), 0.35), 0 0 0 3px var(--color-default-tint, #aaaaaa);box-shadow:0 8px 15px 0 rgba(var(--color-default-rgb, 155, 155, 155), 0.35), 0 0 0 3px var(--color-default-tint, #aaaaaa);margin:3px !important}x-icon.icon-color-primary{color:var(--color-primary-shaded, #2e52a9) !important}x-icon.icon-color-primary.icon-filled,x-icon.icon-color-primary.icon-clickable,x-icon.icon-color-primary.icon-raised{background-color:var(--color-primary-lucid, #e3eafd) !important}.is-dark-mode x-icon.icon-color-primary.icon-filled,.is-dark-mode x-icon.icon-color-primary.icon-clickable,.is-dark-mode x-icon.icon-color-primary.icon-raised{color:var(--color-primary-shadest, #1e356d) !important;background-color:var(--color-primary-tinted, #7b9ef6) !important}x-icon.icon-color-primary.icon-clickable:hover,x-icon.icon-color-primary.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-primary-rgb, 66, 117, 242), 0.25), 0 0 0 3px rgba(var(--color-primary-rgb, 66, 117, 242), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-primary-rgb, 66, 117, 242), 0.25), 0 0 0 3px rgba(var(--color-primary-rgb, 66, 117, 242), 0.3)}.is-dark-mode x-icon.icon-color-primary.icon-clickable:hover,.is-dark-mode x-icon.icon-color-primary.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-primary-rgb, 66, 117, 242), 0.15), 0 0 0 3px rgba(var(--color-primary-rgb, 66, 117, 242), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-primary-rgb, 66, 117, 242), 0.15), 0 0 0 3px rgba(var(--color-primary-rgb, 66, 117, 242), 0.3)}x-icon.icon-color-accent{color:var(--color-accent-shaded, #a91b0b) !important}x-icon.icon-color-accent.icon-filled,x-icon.icon-color-accent.icon-clickable,x-icon.icon-color-accent.icon-raised{background-color:var(--color-accent-lucid, #fddfdb) !important}.is-dark-mode x-icon.icon-color-accent.icon-filled,.is-dark-mode x-icon.icon-color-accent.icon-clickable,.is-dark-mode x-icon.icon-color-accent.icon-raised{color:var(--color-accent-shadest, #6d1207) !important;background-color:var(--color-accent-tinted, #f66858) !important}x-icon.icon-color-accent.icon-clickable:hover,x-icon.icon-color-accent.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-accent-rgb, 242, 39, 16), 0.25), 0 0 0 3px rgba(var(--color-accent-rgb, 242, 39, 16), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-accent-rgb, 242, 39, 16), 0.25), 0 0 0 3px rgba(var(--color-accent-rgb, 242, 39, 16), 0.3)}.is-dark-mode x-icon.icon-color-accent.icon-clickable:hover,.is-dark-mode x-icon.icon-color-accent.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-accent-rgb, 242, 39, 16), 0.15), 0 0 0 3px rgba(var(--color-accent-rgb, 242, 39, 16), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-accent-rgb, 242, 39, 16), 0.15), 0 0 0 3px rgba(var(--color-accent-rgb, 242, 39, 16), 0.3)}x-icon.icon-color-danger{color:var(--color-danger-shaded, #9a2530) !important}x-icon.icon-color-danger.icon-filled,x-icon.icon-color-danger.icon-clickable,x-icon.icon-color-danger.icon-raised{background-color:var(--color-danger-lucid, #fae1e3) !important}.is-dark-mode x-icon.icon-color-danger.icon-filled,.is-dark-mode x-icon.icon-color-danger.icon-clickable,.is-dark-mode x-icon.icon-color-danger.icon-raised{color:var(--color-danger-shadest, #63181f) !important;background-color:var(--color-danger-tinted, #e7727d) !important}x-icon.icon-color-danger.icon-clickable:hover,x-icon.icon-color-danger.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-danger-rgb, 220, 53, 69), 0.25), 0 0 0 3px rgba(var(--color-danger-rgb, 220, 53, 69), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-danger-rgb, 220, 53, 69), 0.25), 0 0 0 3px rgba(var(--color-danger-rgb, 220, 53, 69), 0.3)}.is-dark-mode x-icon.icon-color-danger.icon-clickable:hover,.is-dark-mode x-icon.icon-color-danger.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-danger-rgb, 220, 53, 69), 0.15), 0 0 0 3px rgba(var(--color-danger-rgb, 220, 53, 69), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-danger-rgb, 220, 53, 69), 0.15), 0 0 0 3px rgba(var(--color-danger-rgb, 220, 53, 69), 0.3)}x-icon.icon-color-warning{color:var(--color-warning-shaded, #9f7221) !important}x-icon.icon-color-warning.icon-filled,x-icon.icon-color-warning.icon-clickable,x-icon.icon-color-warning.icon-raised{background-color:var(--color-warning-lucid, #fbf1e0) !important}.is-dark-mode x-icon.icon-color-warning.icon-filled,.is-dark-mode x-icon.icon-color-warning.icon-clickable,.is-dark-mode x-icon.icon-color-warning.icon-raised{color:var(--color-warning-shadest, #664915) !important;background-color:var(--color-warning-tinted, #ebbf6d) !important}x-icon.icon-color-warning.icon-clickable:hover,x-icon.icon-color-warning.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-warning-rgb, 227, 163, 47), 0.25), 0 0 0 3px rgba(var(--color-warning-rgb, 227, 163, 47), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-warning-rgb, 227, 163, 47), 0.25), 0 0 0 3px rgba(var(--color-warning-rgb, 227, 163, 47), 0.3)}.is-dark-mode x-icon.icon-color-warning.icon-clickable:hover,.is-dark-mode x-icon.icon-color-warning.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-warning-rgb, 227, 163, 47), 0.15), 0 0 0 3px rgba(var(--color-warning-rgb, 227, 163, 47), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-warning-rgb, 227, 163, 47), 0.15), 0 0 0 3px rgba(var(--color-warning-rgb, 227, 163, 47), 0.3)}x-icon.icon-color-success{color:var(--color-success-shaded, #007a4a) !important}x-icon.icon-color-success.icon-filled,x-icon.icon-color-success.icon-clickable,x-icon.icon-color-success.icon-raised{background-color:var(--color-success-lucid, #d9f3e9) !important}.is-dark-mode x-icon.icon-color-success.icon-filled,.is-dark-mode x-icon.icon-color-success.icon-clickable,.is-dark-mode x-icon.icon-color-success.icon-raised{color:var(--color-success-shadest, #004e2f) !important;background-color:var(--color-success-tinted, #4dc696) !important}x-icon.icon-color-success.icon-clickable:hover,x-icon.icon-color-success.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-success-rgb, 0, 174, 105), 0.25), 0 0 0 3px rgba(var(--color-success-rgb, 0, 174, 105), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-success-rgb, 0, 174, 105), 0.25), 0 0 0 3px rgba(var(--color-success-rgb, 0, 174, 105), 0.3)}.is-dark-mode x-icon.icon-color-success.icon-clickable:hover,.is-dark-mode x-icon.icon-color-success.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-success-rgb, 0, 174, 105), 0.15), 0 0 0 3px rgba(var(--color-success-rgb, 0, 174, 105), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-success-rgb, 0, 174, 105), 0.15), 0 0 0 3px rgba(var(--color-success-rgb, 0, 174, 105), 0.3)}x-icon.icon-color-info{color:var(--color-info-shaded, #21778c) !important}x-icon.icon-color-info.icon-filled,x-icon.icon-color-info.icon-clickable,x-icon.icon-color-info.icon-raised{background-color:var(--color-info-lucid, #e0f2f7) !important}.is-dark-mode x-icon.icon-color-info.icon-filled,.is-dark-mode x-icon.icon-color-info.icon-clickable,.is-dark-mode x-icon.icon-color-info.icon-raised{color:var(--color-info-shadest, #154d5a) !important;background-color:var(--color-info-tinted, #6dc4d9) !important}x-icon.icon-color-info.icon-clickable:hover,x-icon.icon-color-info.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-info-rgb, 47, 170, 200), 0.25), 0 0 0 3px rgba(var(--color-info-rgb, 47, 170, 200), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-info-rgb, 47, 170, 200), 0.25), 0 0 0 3px rgba(var(--color-info-rgb, 47, 170, 200), 0.3)}.is-dark-mode x-icon.icon-color-info.icon-clickable:hover,.is-dark-mode x-icon.icon-color-info.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-info-rgb, 47, 170, 200), 0.15), 0 0 0 3px rgba(var(--color-info-rgb, 47, 170, 200), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-info-rgb, 47, 170, 200), 0.15), 0 0 0 3px rgba(var(--color-info-rgb, 47, 170, 200), 0.3)}x-icon.icon-color-link{color:var(--color-link-shaded, #2e52a9) !important}x-icon.icon-color-link.icon-filled,x-icon.icon-color-link.icon-clickable,x-icon.icon-color-link.icon-raised{background-color:var(--color-link-lucid, #e3eafd) !important}.is-dark-mode x-icon.icon-color-link.icon-filled,.is-dark-mode x-icon.icon-color-link.icon-clickable,.is-dark-mode x-icon.icon-color-link.icon-raised{color:var(--color-link-shadest, #1e356d) !important;background-color:var(--color-link-tinted, #7b9ef6) !important}x-icon.icon-color-link.icon-clickable:hover,x-icon.icon-color-link.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-link-rgb, 66, 117, 242), 0.25), 0 0 0 3px rgba(var(--color-link-rgb, 66, 117, 242), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-link-rgb, 66, 117, 242), 0.25), 0 0 0 3px rgba(var(--color-link-rgb, 66, 117, 242), 0.3)}.is-dark-mode x-icon.icon-color-link.icon-clickable:hover,.is-dark-mode x-icon.icon-color-link.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-link-rgb, 66, 117, 242), 0.15), 0 0 0 3px rgba(var(--color-link-rgb, 66, 117, 242), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-link-rgb, 66, 117, 242), 0.15), 0 0 0 3px rgba(var(--color-link-rgb, 66, 117, 242), 0.3)}x-icon.icon-color-blue{color:var(--color-blue-shaded, #20437f) !important}x-icon.icon-color-blue.icon-filled,x-icon.icon-color-blue.icon-clickable,x-icon.icon-color-blue.icon-raised{background-color:var(--color-blue-lucid, #e0e7f4) !important}.is-dark-mode x-icon.icon-color-blue.icon-filled,.is-dark-mode x-icon.icon-color-blue.icon-clickable,.is-dark-mode x-icon.icon-color-blue.icon-raised{color:var(--color-blue-shadest, #142b51) !important;background-color:var(--color-blue-tinted, #6c8fcb) !important}x-icon.icon-color-blue.icon-clickable:hover,x-icon.icon-color-blue.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-blue-rgb, 45, 95, 181), 0.25), 0 0 0 3px rgba(var(--color-blue-rgb, 45, 95, 181), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-blue-rgb, 45, 95, 181), 0.25), 0 0 0 3px rgba(var(--color-blue-rgb, 45, 95, 181), 0.3)}.is-dark-mode x-icon.icon-color-blue.icon-clickable:hover,.is-dark-mode x-icon.icon-color-blue.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-blue-rgb, 45, 95, 181), 0.15), 0 0 0 3px rgba(var(--color-blue-rgb, 45, 95, 181), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-blue-rgb, 45, 95, 181), 0.15), 0 0 0 3px rgba(var(--color-blue-rgb, 45, 95, 181), 0.3)}x-icon.icon-color-indigo{color:var(--color-indigo-shaded, #3b457d) !important}x-icon.icon-color-indigo.icon-filled,x-icon.icon-color-indigo.icon-clickable,x-icon.icon-color-indigo.icon-raised{background-color:var(--color-indigo-lucid, #e5e8f4) !important}.is-dark-mode x-icon.icon-color-indigo.icon-filled,.is-dark-mode x-icon.icon-color-indigo.icon-clickable,.is-dark-mode x-icon.icon-color-indigo.icon-raised{color:var(--color-indigo-shadest, #262d51) !important;background-color:var(--color-indigo-tinted, #8792ca) !important}x-icon.icon-color-indigo.icon-clickable:hover,x-icon.icon-color-indigo.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-indigo-rgb, 84, 99, 179), 0.25), 0 0 0 3px rgba(var(--color-indigo-rgb, 84, 99, 179), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-indigo-rgb, 84, 99, 179), 0.25), 0 0 0 3px rgba(var(--color-indigo-rgb, 84, 99, 179), 0.3)}.is-dark-mode x-icon.icon-color-indigo.icon-clickable:hover,.is-dark-mode x-icon.icon-color-indigo.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-indigo-rgb, 84, 99, 179), 0.15), 0 0 0 3px rgba(var(--color-indigo-rgb, 84, 99, 179), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-indigo-rgb, 84, 99, 179), 0.15), 0 0 0 3px rgba(var(--color-indigo-rgb, 84, 99, 179), 0.3)}x-icon.icon-color-purple{color:var(--color-purple-shaded, #583c8b) !important}x-icon.icon-color-purple.icon-filled,x-icon.icon-color-purple.icon-clickable,x-icon.icon-color-purple.icon-raised{background-color:var(--color-purple-lucid, #ece6f7) !important}.is-dark-mode x-icon.icon-color-purple.icon-filled,.is-dark-mode x-icon.icon-color-purple.icon-clickable,.is-dark-mode x-icon.icon-color-purple.icon-raised{color:var(--color-purple-shadest, #38265a) !important;background-color:var(--color-purple-tinted, #a488d8) !important}x-icon.icon-color-purple.icon-clickable:hover,x-icon.icon-color-purple.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-purple-rgb, 125, 85, 199), 0.25), 0 0 0 3px rgba(var(--color-purple-rgb, 125, 85, 199), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-purple-rgb, 125, 85, 199), 0.25), 0 0 0 3px rgba(var(--color-purple-rgb, 125, 85, 199), 0.3)}.is-dark-mode x-icon.icon-color-purple.icon-clickable:hover,.is-dark-mode x-icon.icon-color-purple.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-purple-rgb, 125, 85, 199), 0.15), 0 0 0 3px rgba(var(--color-purple-rgb, 125, 85, 199), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-purple-rgb, 125, 85, 199), 0.15), 0 0 0 3px rgba(var(--color-purple-rgb, 125, 85, 199), 0.3)}x-icon.icon-color-pink{color:var(--color-pink-shaded, #ac4c6d) !important}x-icon.icon-color-pink.icon-filled,x-icon.icon-color-pink.icon-clickable,x-icon.icon-color-pink.icon-raised{background-color:var(--color-pink-lucid, #fee9f0) !important}.is-dark-mode x-icon.icon-color-pink.icon-filled,.is-dark-mode x-icon.icon-color-pink.icon-clickable,.is-dark-mode x-icon.icon-color-pink.icon-raised{color:var(--color-pink-shadest, #6f3146) !important;background-color:var(--color-pink-tinted, #f999b9) !important}x-icon.icon-color-pink.icon-clickable:hover,x-icon.icon-color-pink.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-pink-rgb, 246, 109, 155), 0.25), 0 0 0 3px rgba(var(--color-pink-rgb, 246, 109, 155), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-pink-rgb, 246, 109, 155), 0.25), 0 0 0 3px rgba(var(--color-pink-rgb, 246, 109, 155), 0.3)}.is-dark-mode x-icon.icon-color-pink.icon-clickable:hover,.is-dark-mode x-icon.icon-color-pink.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-pink-rgb, 246, 109, 155), 0.15), 0 0 0 3px rgba(var(--color-pink-rgb, 246, 109, 155), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-pink-rgb, 246, 109, 155), 0.15), 0 0 0 3px rgba(var(--color-pink-rgb, 246, 109, 155), 0.3)}x-icon.icon-color-red{color:var(--color-red-shaded, #8b2a26) !important}x-icon.icon-color-red.icon-filled,x-icon.icon-color-red.icon-clickable,x-icon.icon-color-red.icon-raised{background-color:var(--color-red-lucid, #f7e2e1) !important}.is-dark-mode x-icon.icon-color-red.icon-filled,.is-dark-mode x-icon.icon-color-red.icon-clickable,.is-dark-mode x-icon.icon-color-red.icon-raised{color:var(--color-red-shadest, #5a1b18) !important;background-color:var(--color-red-tinted, #d87772) !important}x-icon.icon-color-red.icon-clickable:hover,x-icon.icon-color-red.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-red-rgb, 199, 60, 54), 0.25), 0 0 0 3px rgba(var(--color-red-rgb, 199, 60, 54), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-red-rgb, 199, 60, 54), 0.25), 0 0 0 3px rgba(var(--color-red-rgb, 199, 60, 54), 0.3)}.is-dark-mode x-icon.icon-color-red.icon-clickable:hover,.is-dark-mode x-icon.icon-color-red.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-red-rgb, 199, 60, 54), 0.15), 0 0 0 3px rgba(var(--color-red-rgb, 199, 60, 54), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-red-rgb, 199, 60, 54), 0.15), 0 0 0 3px rgba(var(--color-red-rgb, 199, 60, 54), 0.3)}x-icon.icon-color-orange{color:var(--color-orange-shaded, #985725) !important}x-icon.icon-color-orange.icon-filled,x-icon.icon-color-orange.icon-clickable,x-icon.icon-color-orange.icon-raised{background-color:var(--color-orange-lucid, #f9ebe1) !important}.is-dark-mode x-icon.icon-color-orange.icon-filled,.is-dark-mode x-icon.icon-color-orange.icon-clickable,.is-dark-mode x-icon.icon-color-orange.icon-raised{color:var(--color-orange-shadest, #623818) !important;background-color:var(--color-orange-tinted, #e4a372) !important}x-icon.icon-color-orange.icon-clickable:hover,x-icon.icon-color-orange.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-orange-rgb, 217, 124, 53), 0.25), 0 0 0 3px rgba(var(--color-orange-rgb, 217, 124, 53), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-orange-rgb, 217, 124, 53), 0.25), 0 0 0 3px rgba(var(--color-orange-rgb, 217, 124, 53), 0.3)}.is-dark-mode x-icon.icon-color-orange.icon-clickable:hover,.is-dark-mode x-icon.icon-color-orange.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-orange-rgb, 217, 124, 53), 0.15), 0 0 0 3px rgba(var(--color-orange-rgb, 217, 124, 53), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-orange-rgb, 217, 124, 53), 0.15), 0 0 0 3px rgba(var(--color-orange-rgb, 217, 124, 53), 0.3)}x-icon.icon-color-yellow{color:var(--color-yellow-shaded, #947a23) !important}x-icon.icon-color-yellow.icon-filled,x-icon.icon-color-yellow.icon-clickable,x-icon.icon-color-yellow.icon-raised{background-color:var(--color-yellow-lucid, #f9f3e0) !important}.is-dark-mode x-icon.icon-color-yellow.icon-filled,.is-dark-mode x-icon.icon-color-yellow.icon-clickable,.is-dark-mode x-icon.icon-color-yellow.icon-raised{color:var(--color-yellow-shadest, #5f4e17) !important;background-color:var(--color-yellow-tinted, #e1c670) !important}x-icon.icon-color-yellow.icon-clickable:hover,x-icon.icon-color-yellow.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-yellow-rgb, 212, 174, 50), 0.25), 0 0 0 3px rgba(var(--color-yellow-rgb, 212, 174, 50), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-yellow-rgb, 212, 174, 50), 0.25), 0 0 0 3px rgba(var(--color-yellow-rgb, 212, 174, 50), 0.3)}.is-dark-mode x-icon.icon-color-yellow.icon-clickable:hover,.is-dark-mode x-icon.icon-color-yellow.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-yellow-rgb, 212, 174, 50), 0.15), 0 0 0 3px rgba(var(--color-yellow-rgb, 212, 174, 50), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-yellow-rgb, 212, 174, 50), 0.15), 0 0 0 3px rgba(var(--color-yellow-rgb, 212, 174, 50), 0.3)}x-icon.icon-color-green{color:var(--color-green-shaded, #278750) !important}x-icon.icon-color-green.icon-filled,x-icon.icon-color-green.icon-clickable,x-icon.icon-color-green.icon-raised{background-color:var(--color-green-lucid, #e1f6ea) !important}.is-dark-mode x-icon.icon-color-green.icon-filled,.is-dark-mode x-icon.icon-color-green.icon-clickable,.is-dark-mode x-icon.icon-color-green.icon-raised{color:var(--color-green-shadest, #195733) !important;background-color:var(--color-green-tinted, #74d49c) !important}x-icon.icon-color-green.icon-clickable:hover,x-icon.icon-color-green.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-green-rgb, 56, 193, 114), 0.25), 0 0 0 3px rgba(var(--color-green-rgb, 56, 193, 114), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-green-rgb, 56, 193, 114), 0.25), 0 0 0 3px rgba(var(--color-green-rgb, 56, 193, 114), 0.3)}.is-dark-mode x-icon.icon-color-green.icon-clickable:hover,.is-dark-mode x-icon.icon-color-green.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-green-rgb, 56, 193, 114), 0.15), 0 0 0 3px rgba(var(--color-green-rgb, 56, 193, 114), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-green-rgb, 56, 193, 114), 0.15), 0 0 0 3px rgba(var(--color-green-rgb, 56, 193, 114), 0.3)}x-icon.icon-color-teal{color:var(--color-teal-shaded, #36867f) !important}x-icon.icon-color-teal.icon-filled,x-icon.icon-color-teal.icon-clickable,x-icon.icon-color-teal.icon-raised{background-color:var(--color-teal-lucid, #e4f6f4) !important}.is-dark-mode x-icon.icon-color-teal.icon-filled,.is-dark-mode x-icon.icon-color-teal.icon-clickable,.is-dark-mode x-icon.icon-color-teal.icon-raised{color:var(--color-teal-shadest, #235651) !important;background-color:var(--color-teal-tinted, #82d3cb) !important}x-icon.icon-color-teal.icon-clickable:hover,x-icon.icon-color-teal.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-teal-rgb, 77, 192, 181), 0.25), 0 0 0 3px rgba(var(--color-teal-rgb, 77, 192, 181), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-teal-rgb, 77, 192, 181), 0.25), 0 0 0 3px rgba(var(--color-teal-rgb, 77, 192, 181), 0.3)}.is-dark-mode x-icon.icon-color-teal.icon-clickable:hover,.is-dark-mode x-icon.icon-color-teal.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-teal-rgb, 77, 192, 181), 0.15), 0 0 0 3px rgba(var(--color-teal-rgb, 77, 192, 181), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-teal-rgb, 77, 192, 181), 0.15), 0 0 0 3px rgba(var(--color-teal-rgb, 77, 192, 181), 0.3)}x-icon.icon-color-cyan{color:var(--color-cyan-shaded, #4c7da5) !important}x-icon.icon-color-cyan.icon-filled,x-icon.icon-color-cyan.icon-clickable,x-icon.icon-color-cyan.icon-raised{background-color:var(--color-cyan-lucid, #e9f3fc) !important}.is-dark-mode x-icon.icon-color-cyan.icon-filled,.is-dark-mode x-icon.icon-color-cyan.icon-clickable,.is-dark-mode x-icon.icon-color-cyan.icon-raised{color:var(--color-cyan-shadest, #31506a) !important;background-color:var(--color-cyan-tinted, #98c9f1) !important}x-icon.icon-color-cyan.icon-clickable:hover,x-icon.icon-color-cyan.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-cyan-rgb, 108, 178, 235), 0.25), 0 0 0 3px rgba(var(--color-cyan-rgb, 108, 178, 235), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-cyan-rgb, 108, 178, 235), 0.25), 0 0 0 3px rgba(var(--color-cyan-rgb, 108, 178, 235), 0.3)}.is-dark-mode x-icon.icon-color-cyan.icon-clickable:hover,.is-dark-mode x-icon.icon-color-cyan.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-cyan-rgb, 108, 178, 235), 0.15), 0 0 0 3px rgba(var(--color-cyan-rgb, 108, 178, 235), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-cyan-rgb, 108, 178, 235), 0.15), 0 0 0 3px rgba(var(--color-cyan-rgb, 108, 178, 235), 0.3)}x-icon.icon-color-brown{color:var(--color-brown-shaded, #3d3025) !important}x-icon.icon-color-brown.icon-filled,x-icon.icon-color-brown.icon-clickable,x-icon.icon-color-brown.icon-raised{background-color:var(--color-brown-lucid, #e6e3e1) !important}.is-dark-mode x-icon.icon-color-brown.icon-filled,.is-dark-mode x-icon.icon-color-brown.icon-clickable,.is-dark-mode x-icon.icon-color-brown.icon-raised{color:var(--color-brown-shadest, #271f18) !important;background-color:var(--color-brown-tinted, #897d72) !important}x-icon.icon-color-brown.icon-clickable:hover,x-icon.icon-color-brown.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-brown-rgb, 87, 69, 53), 0.25), 0 0 0 3px rgba(var(--color-brown-rgb, 87, 69, 53), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-brown-rgb, 87, 69, 53), 0.25), 0 0 0 3px rgba(var(--color-brown-rgb, 87, 69, 53), 0.3)}.is-dark-mode x-icon.icon-color-brown.icon-clickable:hover,.is-dark-mode x-icon.icon-color-brown.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-brown-rgb, 87, 69, 53), 0.15), 0 0 0 3px rgba(var(--color-brown-rgb, 87, 69, 53), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-brown-rgb, 87, 69, 53), 0.15), 0 0 0 3px rgba(var(--color-brown-rgb, 87, 69, 53), 0.3)}x-icon.icon-color-stone{color:var(--color-stone-shaded, #27323f) !important}x-icon.icon-color-stone.icon-filled,x-icon.icon-color-stone.icon-clickable,x-icon.icon-color-stone.icon-raised{background-color:var(--color-stone-lucid, #e1e4e6) !important}.is-dark-mode x-icon.icon-color-stone.icon-filled,.is-dark-mode x-icon.icon-color-stone.icon-clickable,.is-dark-mode x-icon.icon-color-stone.icon-raised{color:var(--color-stone-shadest, #192029) !important;background-color:var(--color-stone-tinted, #747f8c) !important}x-icon.icon-color-stone.icon-clickable:hover,x-icon.icon-color-stone.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-stone-rgb, 56, 72, 90), 0.25), 0 0 0 3px rgba(var(--color-stone-rgb, 56, 72, 90), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-stone-rgb, 56, 72, 90), 0.25), 0 0 0 3px rgba(var(--color-stone-rgb, 56, 72, 90), 0.3)}.is-dark-mode x-icon.icon-color-stone.icon-clickable:hover,.is-dark-mode x-icon.icon-color-stone.icon-raised{-webkit-box-shadow:0 8px 15px 0 rgba(var(--color-stone-rgb, 56, 72, 90), 0.15), 0 0 0 3px rgba(var(--color-stone-rgb, 56, 72, 90), 0.3);box-shadow:0 8px 15px 0 rgba(var(--color-stone-rgb, 56, 72, 90), 0.15), 0 0 0 3px rgba(var(--color-stone-rgb, 56, 72, 90), 0.3)}";
const XIconStyle0 = styleCss$1;

const XIcon = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.press = createEvent(this, "press", 3);
        this.name = undefined;
        this.color = 'default';
        this.size = '1rem';
        this.filled = false;
        this.raised = false;
        this.clickable = false;
    }
    /**
     * Emit onclick event
     *
     * @param e
     */
    onClickHandler(e) {
        this.press.emit(e);
    }
    /**
     * Render component
     */
    render() {
        return h(Host, { key: '788bd97ad5a5af066721b7f6333d0ea714ec0512', class: cls(`icon-${this.name}`, `icon-color-${this.color}`, {
                'icon-filled': this.filled,
                'icon-raised': this.raised,
                'icon-clickable': this.clickable,
            }), "aria-label": this.name, style: { fontSize: this.size }, onClick: ev => this.onClickHandler(ev) });
    }
    get el() { return getElement(this); }
};
XIcon.style = XIconStyle0;

const styleCss = "x-logo{display:inline-block;position:relative;font-family:logos, sans-serif !important;font-style:normal;font-weight:normal !important;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:1em;-webkit-box-sizing:content-box;box-sizing:content-box;line-height:1em;vertical-align:middle;-ms-flex-pack:center;justify-content:center}.is-dark-mode x-logo{color:var(--color-text-light, #FEFEFE)}";
const XLogoStyle0 = styleCss;

const XLogo = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.press = createEvent(this, "press", 3);
        this.name = undefined;
        this.color = 'default';
        this.size = '1rem';
    }
    /**
     * Emit onclick event
     *
     * @param e
     */
    onClickHandler(e) {
        this.press.emit(e);
    }
    /**
     * Render component
     */
    render() {
        return h("i", { key: 'a9ff707092e98e746ceda687381aa9a822923408', class: cls(`logo-${this.name}`, `logo-color-${this.color}`), style: { fontSize: this.size } });
    }
};
XLogo.style = XLogoStyle0;

export { XFlag as x_flag, XIcon as x_icon, XLogo as x_logo };
