import{r as i,h as o}from"./p-52e3bb32.js";import{a as l,L as u,b as a}from"./p-07303cb5.js";const c=class{constructor(o){i(this,o),this.afElement=l.DIV,this.afVariation=void 0,this.afColumnGap=u.DEFAULT}get cssModifiers(){return{"digi-layout-columns--one":this.afVariation===a.ONE,"digi-layout-columns--two":this.afVariation===a.TWO,"digi-layout-columns--three":this.afVariation===a.THREE,"digi-layout-columns--four":this.afVariation===a.FOUR,"digi-layout-columns--column-gap-32":this.afColumnGap===u.GAP_32}}render(){return o(this.afElement,{key:"1312c6cf6295accd2a94f031889710bc8235323d",class:Object.assign({"digi-layout-columns":!0},this.cssModifiers)},o("slot",{key:"d99a544894fc06a498d6f80d1cedeef90f8e85a5"}))}};c.style=".sc-digi-layout-columns-h{--digi--layout-columns--gap--column:var(--digi--gutter--largest);--digi--layout-columns--gap--row:var(--digi--gutter--largest);--digi--layout-columns--min-width:0;--digi--layout-columns--gap--column--32:var(--digi--global--spacing--largest-4)}.sc-digi-layout-columns-h .digi-layout-columns.sc-digi-layout-columns{display:grid;grid-column-gap:var(--digi--layout-columns--gap--column);grid-row-gap:var(--digi--layout-columns--gap--row);grid-template-columns:repeat(auto-fit, minmax(var(--digi--layout-columns--min-width), 1fr))}.sc-digi-layout-columns-h .digi-layout-columns--column-gap-32.sc-digi-layout-columns{--digi--layout-columns--gap--column:var(--digi--layout-columns--gap--column--32)}.sc-digi-layout-columns-h .digi-layout-columns--one.sc-digi-layout-columns{--digi--layout-columns--min-width:100%}.sc-digi-layout-columns-h .digi-layout-columns--two.sc-digi-layout-columns{--digi--layout-columns--min-width:calc(50% - var(--digi--layout-columns--gap--column))}.sc-digi-layout-columns-h .digi-layout-columns--three.sc-digi-layout-columns{--digi--layout-columns--min-width:calc(33% - var(--digi--layout-columns--gap--column))}.sc-digi-layout-columns-h .digi-layout-columns--four.sc-digi-layout-columns{--digi--layout-columns--min-width:calc(25% - var(--digi--layout-columns--gap--column))}";export{c as digi_layout_columns}