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