/*!
 * KoliBri - The accessible HTML-Standard
 */
import{a as isObjectLike,b as isArray,c as baseGetTag}from"./isObject.js";import{h,Fragment}from"@stencil/core/internal/client";var stringTag="[object String]";function isString(e){return"string"==typeof e||!isArray(e)&&isObjectLike(e)&&baseGetTag(e)==stringTag}const KolInternalUnderlinedBadgeTextFc=({badgeText:e,label:t})=>{const n=e;let[r,...i]=t.split(n);return 0===i.length&&(e=n.toUpperCase(),[r,...i]=t.split(n)),0===i.length&&(e=n.toLowerCase(),[r,...i]=t.split(n)),h(Fragment,null,r,i.length?h(Fragment,null,h("u",null,e),i.join(n)):null)};export{KolInternalUnderlinedBadgeTextFc as K,isString as i};