import{__decorate as t}from"tslib";import{html as e}from"lit";import{property as s,customElement as i}from"lit/decorators.js";import{N as r}from"../internal/nile-element.esm.js";import{s as o}from"./nile-side-bar-footer-text.css.esm.js";import"../internal/accessibility/a11y.state.enum.esm.js";import"../internal/accessibility/a11y.property.enum.esm.js";import"../internal/accessibility/role.enum.esm.js";let a=class extends r{constructor(){super(...arguments),this.text="",this.subtext=""}static get styles(){return[o]}render(){return e`
      <div class="footer-text" part="footer-text">
        <div class="main" part="main">${this.text}</div>
        ${this.subtext?e`<div class="sub" part="sub">${this.subtext}</div>`:null}
      </div>
    `}};t([s({type:String})],a.prototype,"text",void 0),t([s({type:String})],a.prototype,"subtext",void 0),a=t([i("nile-side-bar-footer-text")],a);export{a as N};
