'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-56cc404a.js');

const pageFooterCss = "sparkle-page-footer{margin-top:6rem}sparkle-page-footer .last-updated{color:var(--text-color--light);font-weight:normal;margin-left:auto;text-decoration:underline}sparkle-page-footer .page-footer__row{align-items:center;display:flex;font-size:12px;margin-top:2rem}";

const SparklePageFooter = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  hostData() {
    return {
      role: 'contentinfo',
    };
  }
  __stencil_render() {
    const { page } = this;
    const pagination = (page.previousText && page.previousUrl) || (page.nextText && page.nextUrl) ? index.h("sparkle-pagination", { page: page }) : '';
    return pagination;
  }
  render() { return index.h(index.Host, this.hostData(), this.__stencil_render()); }
};
SparklePageFooter.style = pageFooterCss;

exports.sparkle_page_footer = SparklePageFooter;
