import{L as t,H as e,M as a,N as n}from"./p-CklISCW5.js";import{_ as l,a as s}from"./p-dfXERft2.js";import{B as i}from"./p-ByiN-QjD.js";const c=class{constructor(t){e(this,t),this.layout="vertical",this.align="start",this.space="xx-small",this.direction="",this.alignment=""}createLogger(t){this.log=t}render(){const t=i.block("content"),e=!!this.direction,l=!!this.layout,s=!!this.alignment,c=!!this.align,o=!!this.space;let r=this.layout;e&&(r="row"===this.direction?"horizontal":"vertical");let m=this.align.split(" ").join("-");return s&&(m=this.alignment.split(" ").join("-")),a(n,{key:"a7213517d4b70adbe0ba7091c1393d6dfdb62c9e",class:Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier(`layout-${r}`).class(l||e)),t.modifier(`align-${m}`).class(c||s)),t.modifier(`space-${this.space}`).class(o))},a("slot",{key:"d907c3d66bf4927b63cfa6958288e3eb38e9d4be"}))}};l([t("bal-content"),s("design:type",Function),s("design:paramtypes",[Function]),s("design:returntype",void 0)],c.prototype,"createLogger",null),c.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{c as bal_content}