import * as i18n from "../../core/i18n/i18n.js";
import * as UI from "../../ui/legacy/legacy.js";
const UIStrings = {
  showLighthouse: "Show `Lighthouse`"
};
const str_ = i18n.i18n.registerUIStrings("panels/lighthouse/lighthouse-meta.ts", UIStrings);
const i18nLazyString = i18n.i18n.getLazilyComputedLocalizedString.bind(void 0, str_);
let loadedLighthouseModule;
async function loadLighthouseModule() {
  if (!loadedLighthouseModule) {
    loadedLighthouseModule = await import("./lighthouse.js");
  }
  return loadedLighthouseModule;
}
UI.ViewManager.registerViewExtension({
  location: UI.ViewManager.ViewLocationValues.PANEL,
  id: "lighthouse",
  title: i18n.i18n.lockedLazyString("Lighthouse"),
  commandPrompt: i18nLazyString(UIStrings.showLighthouse),
  persistence: UI.ViewManager.ViewPersistence.CLOSEABLE,
  order: 90,
  async loadView() {
    const Lighthouse = await loadLighthouseModule();
    return Lighthouse.LighthousePanel.LighthousePanel.instance();
  },
  tags: [
    i18n.i18n.lockedLazyString("lighthouse"),
    i18n.i18n.lockedLazyString("pwa")
  ]
});
//# sourceMappingURL=lighthouse-meta.js.map
