/*!
 * KoliBri - The accessible HTML-Standard
 */
import{_ as e}from"./tslib.es6-1173d062.js";import{h as s}from"./index-91489a9f.js";import{c as l}from"./clsx-09a06a12.js";const n=1,a=6;function o(s){return s>=n&&s<=6}function r(s){return o(s)?`h${s}`:"strong"}function c(s){return 1===s?"span":r(s)}const t=(a,o)=>{var{class:c,level:i=n,variant:t}=a,d=e(a,["class","level","variant"]);const p=r(i),g=t||p;return s(p,Object.assign({class:l("kol-headline",`kol-headline--${g}`,c)},d),o)},i=(a,r)=>{var{class:o,level:i=n}=a,t=e(a,["class","level"]);const d=c(i+1);return s(d,Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",o)},t),r)},d=(a,r)=>{var{secondaryHeadline:o,level:c=n,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:g={}}=a,u=e(a,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const v=Object.assign({level:c},u);if(!o)return s(t,Object.assign({class:l(d,"kol-headline--single")},v),r);const{class:h}=p,j=e(p,["class"]),b=Object.assign({class:l("kol-heading-group",h)},j);return s("hgroup",Object.assign({},b),s(t,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},v),r),s(i,Object.assign({level:c},g),o))},p=d;export{p as K};