import{r as t,h as e,H as a}from"./p-BdVwMG9u.js";import{_ as n,a as l}from"./p-dfXERft2.js";import{B as s}from"./p-ByiN-QjD.js";import{L as i}from"./p-D7ovid3w.js";import"./p-B1u-Mq75.js";const o=class{constructor(e){t(this,e),this.layout="vertical",this.align="start",this.space="xx-small",this.direction="",this.alignment=""}createLogger(t){this.log=t}render(){const t=s.block("content"),n=!!this.direction,l=!!this.layout,i=!!this.alignment,o=!!this.align,c=!!this.space;let r=this.layout;n&&(r="row"===this.direction?"horizontal":"vertical");let m=this.align.split(" ").join("-");return i&&(m=this.alignment.split(" ").join("-")),e(a,{key:"a7213517d4b70adbe0ba7091c1393d6dfdb62c9e",class:Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier(`layout-${r}`).class(l||n)),t.modifier(`align-${m}`).class(o||i)),t.modifier(`space-${this.space}`).class(c))},e("slot",{key:"d907c3d66bf4927b63cfa6958288e3eb38e9d4be"}))}};n([i("bal-content"),l("design:type",Function),l("design:paramtypes",[Function]),l("design:returntype",void 0)],o.prototype,"createLogger",null),o.style=".bal-content{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;text-align:left;gap:.25rem}.bal-content--align-center{-ms-flex-align:center;align-items:center;text-align:center}.bal-content--align-end{-ms-flex-align:end;align-items:flex-end;text-align:right}.bal-content--layout-horizontal{-ms-flex-direction:row;flex-direction:row}.bal-content--layout-vertical{-ms-flex-direction:column;flex-direction:column}.bal-content--space-none{gap:0rem}.bal-content--space-xxx-small{gap:.125rem}.bal-content--space-xx-small{gap:.25rem}.bal-content--space-x-small{gap:.5rem}.bal-content--space-small{gap:.75rem}.bal-content--space-normal{gap:1rem}.bal-content>.bal-text{margin:0}";export{o as bal_content}