/*!
 * KoliBri - The accessible HTML-Standard
 */
import{h,Fragment}from"@stencil/core/internal/client";const KolInternalUnderlinedBadgeTextFc=({badgeText:e,label:n})=>{const l=e;let[t,...r]=n.split(l);return 0===r.length&&(e=l.toUpperCase(),[t,...r]=n.split(l)),0===r.length&&(e=l.toLowerCase(),[t,...r]=n.split(l)),h(Fragment,null,t,r.length?h(Fragment,null,h("u",null,e),r.join(l)):null)},InternalUnderlinedBadgeText=KolInternalUnderlinedBadgeTextFc;export{InternalUnderlinedBadgeText as I};