import{__decorate as e}from"tslib";import{html as s}from"lit";import{property as t,customElement as i}from"lit/decorators.js";import{s as r}from"./nile-page-header.css.esm.js";import{N as a}from"../internal/nile-element.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 n=class extends a{constructor(){super(...arguments),this.heading="",this.subHeading=""}static get styles(){return[r]}render(){return s`<slot class="header">
      <slot
        name="header__heading"
        class="header__heading"
        part="header__heading"
        ?hidden="${!this.heading}"
      >
        ${this.heading}
      </slot>
      <slot
        name="header__subheading"
        class="header__subheading"
        part="header__subheading"
        ?hidden="${!this.subHeading}"
      >
        ${this.subHeading}
      </slot>
    </slot>`}};e([t({reflect:!0,attribute:"heading"})],n.prototype,"heading",void 0),e([t({reflect:!0,attribute:"sub-heading"})],n.prototype,"subHeading",void 0),n=e([i("nile-page-header")],n);export{n as N};
