'use strict';

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

const index = require('./index-fd2bbf0b.js');
const getHandlebarsHelpers = require('./getHandlebarsHelpers-118ee216.js');
const store = require('./store-9988299d.js');
require('./_commonjsHelpers-a5111d61.js');
require('./logic-d8c34975.js');
require('./index-6307644b.js');
require('./index-81aa1bcb.js');
require('./getCache-901b0f67.js');

const appHomeCss = "";

let AppHome = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  componentDidLoad() {
    if (!(index.Build === null || index.Build === void 0 ? void 0 : index.Build.isBrowser))
      return;
  }
  render() {
    var _a;
    return [
      index.h("ion-content", { class: "ion-padding" }, (index.Build === null || index.Build === void 0 ? void 0 : index.Build.isBrowser) && (index.h("fireenjin-render-template", { templateId: "MSAQz1dJEsPQYXMOwGe5", partials: ((_a = store.state === null || store.state === void 0 ? void 0 : store.state.templates) === null || _a === void 0 ? void 0 : _a.length)
          ? store.state.templates
            .filter((template) => !!(template === null || template === void 0 ? void 0 : template.partial))
            .map((partial) => ({
            html: (partial === null || partial === void 0 ? void 0 : partial.html) || "",
            id: (partial === null || partial === void 0 ? void 0 : partial.id) || null,
          }))
          : [], helpers: getHandlebarsHelpers.getHandlebarsHelpers(), data: {
          user: store.state === null || store.state === void 0 ? void 0 : store.state.profile,
        } }))),
      index.h("floodteam-navigation-footer", null),
    ];
  }
};
AppHome.style = appHomeCss;

exports.app_home = AppHome;

//# sourceMappingURL=app-home.cjs.entry.js.map