import{p as s,H as e,j as r,c as t,t as a}from"./index2.js";const d=s(class extends e{constructor(s){super(),!1!==s&&this.__registerHost(),this.__attachShadow()}x=0;y=0;render(){const{x:s,y:e}=this;return r(t,{part:"root",children:r("span",{class:"dds-spacer","aria-hidden":"true",style:function(){const r={},t=(s,e,t="")=>{s&&(r[`--dds-spacer-${e}${t}`]="size"===e?`var(--dds-size-${s})`:s)};return t(s,"size","-x"),t(e,"size","-y"),t((s??0)>0?"inline-block":(e??0)>0?"block":null,"display"),r}()})})}static get style(){return"@layer base {   :host .dds-spacer {     display: var(--dds-spacer-display, block);     block-size: var(--dds-spacer-size-y);     inline-size: var(--dds-spacer-size-x);   } }  @layer reset, base; "}},[513,"dds-spacer",{x:[2],y:[2]}]),c=d,i=function(){"undefined"!=typeof customElements&&["dds-spacer"].forEach((s=>{"dds-spacer"===s&&(customElements.get(a(s))||customElements.define(a(s),d))}))};export{c as DdsSpacer,i as defineCustomElement}