import{r as t,h as s,H as r}from"./p-2b0a6102.js";const i=".bs-character-count{color:var(--bs-ink-base);font-size:var(--bs-text-xs);font-weight:400;text-align:right;white-space:nowrap}:where([disabled],[data-disabled])+.bs-character-count,:where([disabled],[data-disabled]) .bs-character-count,.bs-character-count:where([data-disabled]){color:var(--bs-ink-disabled)}.bs-character-count:where([data-error]){color:var(--bs-ink-red)}";const a=class{constructor(s){t(this,s);this.charCount=undefined;this.charMax=undefined}render(){return s(r,{class:"bs-character-count","data-error":this.charCount>this.charMax},s("span",null,this.charCount||"0"," / ",this.charMax))}};a.style=i;const e="bs-hint{display:inline-block;min-width:0}bs-hint .bs-hint{--hint-color:var(--bs-ink-light);min-width:0;color:var(--hint-color);font-size:var(--bs-text-xs);padding:0;margin:0;list-style:none;overflow-wrap:break-word}bs-hint .bs-hint:where([data-error]){--hint-color:var(--bs-ink-red)}";const n=class{constructor(s){t(this,s);this.error=undefined;this.hintId=undefined;this.hints=undefined}render(){const t=this.hints?Array.isArray(this.hints)?this.hints:[this.hints]:null;return s(r,null,s("ul",{id:this.hintId,class:"bs-hint","data-error":this.error,role:"list"},t.map((t=>s("li",null,t)))))}};n.style=e;export{a as bs_character_count,n as bs_hint};
//# sourceMappingURL=p-89ae94c8.entry.js.map