import{r as registerInstance,h,H as Host}from"./index-da72c774.js";import{c as cls}from"./helpers-bcb19b84.js";var styleCss='x-divider{position:relative;width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;text-align:inherit}x-divider:empty{display:none !important}x-divider .divider-inner-text{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0px;margin:0px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--color-text, #4A4A4A);font-family:inherit}.is-dark-mode x-divider .divider-inner-text{color:var(--color-text-light, #FEFEFE)}x-divider:before,x-divider:after{content:"";display:block;position:relative;-ms-flex:1;flex:1;border:none;border-top:1px solid var(--color-text-lucid, #e4e4e4);min-width:1.5rem;max-width:100%}.is-dark-mode x-divider:before,.is-dark-mode x-divider:after{border-top:1px solid var(--color-dark-tint, #414141)}x-divider.divider-left:before{max-width:1.5rem}x-divider.divider-right:after{max-width:1.5rem}x-divider.divider-with-text .divider-inner-text{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0.2rem 1rem;display:inline}';var XDividerStyle0=styleCss;var XDivider=function(){function e(e){registerInstance(this,e);this.align="left"}e.prototype.render=function(){return h(Host,{key:"33860b4fc551f5dc9be775283d18ef08b3f18f49",class:cls("divider-".concat(this.align),{"divider-with-text":true})},h("span",{key:"a48286b100979cfb797a28f4752020523d9b31e8",class:"divider-inner-text"},h("slot",{key:"aca1570f44c247348a933e40b916011aec46afcb"})))};return e}();XDivider.style=XDividerStyle0;export{XDivider as x_divider};