import{h as e,t as c,H as i,r as l,q as a}from"./index-DpEJCboz.js";import{v as r}from"./label-C18ud7Yt-CZ4vFVQv.js";import{c as s}from"./clsx-COFh-Vc8-D7cYsJM5.js";class f{constructor(o){this.component=o}validateIcons(o){a(this.component,"_icons",o,{required:!0})}validateLabel(o){r(this.component,o,{required:!0,defaultValue:""})}componentWillLoad(){this.validateIcons(this.component._icons),this.validateLabel(this.component._label)}}const t=c(),b=t("kol-icon"),h=t("kol-icon","icon"),k=`/* forward the rem function */
@font-face {
  font-family: "kolicons";
  src: url("kolicons.eot?t=1772024080658"); /* IE9*/
  src: url("kolicons.eot?t=1772024080658#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1772024080658") format("woff2"), url("kolicons.woff?t=1772024080658") format("woff"), url("kolicons.ttf?t=1772024080658") format("truetype"), url("kolicons.svg?t=1772024080658#kolicons") format("svg"); /* iOS 4.1- */
}
[class^=kolicon-], [class*=" kolicon-"] {
  font-family: "kolicons";
  font-size: inherit;
  font-style: normal;
  font-weight: 400;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.kolicon-alert-error::before {
  content: "\\ea01";
}

.kolicon-alert-info::before {
  content: "\\ea02";
}

.kolicon-alert-success::before {
  content: "\\ea03";
}

.kolicon-alert-warning::before {
  content: "\\ea04";
}

.kolicon-check::before {
  content: "\\ea05";
}

.kolicon-chevron-double-left::before {
  content: "\\ea06";
}

.kolicon-chevron-double-right::before {
  content: "\\ea07";
}

.kolicon-chevron-down::before {
  content: "\\ea08";
}

.kolicon-chevron-left::before {
  content: "\\ea09";
}

.kolicon-chevron-right::before {
  content: "\\ea0a";
}

.kolicon-chevron-up::before {
  content: "\\ea0b";
}

.kolicon-cogwheel::before {
  content: "\\ea0c";
}

.kolicon-cross::before {
  content: "\\ea0d";
}

.kolicon-eye-closed::before {
  content: "\\ea0e";
}

.kolicon-eye::before {
  content: "\\ea0f";
}

.kolicon-house::before {
  content: "\\ea10";
}

.kolicon-kolibri::before {
  content: "\\ea11";
}

.kolicon-link-external::before {
  content: "\\ea12";
}

.kolicon-link::before {
  content: "\\ea13";
}

.kolicon-minus::before {
  content: "\\ea14";
}

.kolicon-plus::before {
  content: "\\ea15";
}

.kolicon-settings::before {
  content: "\\ea16";
}

.kolicon-sort-asc::before {
  content: "\\ea17";
}

.kolicon-sort-desc::before {
  content: "\\ea18";
}

.kolicon-sort-neutral::before {
  content: "\\ea19";
}

.kolicon-version::before {
  content: "\\ea1a";
}

@layer kol-component {
  /* :host implicitly inherits font-size, see below */
  :host {
    color: inherit;
    display: contents;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
  }
}`,d=class{render(){const n=this.state._label.length>0;return e(i,{key:"7b2a85f8eb0a0c273fda83c6ff49463401539c3b",exportparts:"icon",class:b},e("i",{key:"8ee3dbcf5cc0196e51b96ffb53f71e5fdb97eb8f","aria-hidden":n?void 0:"true","aria-label":n?this.state._label:void 0,class:s(h,this.state._icons),part:"icon",role:n?"img":"presentation"}))}constructor(n){l(this,n),this.state={_icons:"kolicon-logo",_label:""},this.controller=new f(this)}validateIcons(n){this.controller.validateIcons(n)}validateLabel(n){this.controller.validateLabel(n)}componentWillLoad(){this.controller.componentWillLoad()}static get watchers(){return{_icons:["validateIcons"],_label:["validateLabel"]}}};d.style={default:k};export{d as kol_icon};
//# sourceMappingURL=kol-icon.entry-D_4ebsgu.js.map
