import*as i18n from"../i18n/i18n.js";import*as Root from"../root/root.js";import*as UI from"../ui/ui.js";const UIStrings={lighthouse:"`Lighthouse`",pwa:"`pwa`",lighthouseTag:"`lighthouse`",showLighthouse:"Show `Lighthouse`"},str_=i18n.i18n.registerUIStrings("lighthouse/lighthouse-meta.ts",UIStrings),i18nLazyString=i18n.i18n.getLazilyComputedLocalizedString.bind(void 0,str_);let loadedLighthouseModule;async function loadLighthouseModule(){return loadedLighthouseModule||(await Root.Runtime.Runtime.instance().loadModulePromise("lighthouse"),loadedLighthouseModule=await import("./lighthouse.js")),loadedLighthouseModule}UI.ViewManager.registerViewExtension({location:"panel",id:"lighthouse",title:i18nLazyString(UIStrings.lighthouse),commandPrompt:i18nLazyString(UIStrings.showLighthouse),order:90,loadView:async()=>(await loadLighthouseModule()).LighthousePanel.LighthousePanel.instance(),tags:[i18nLazyString(UIStrings.lighthouseTag),i18nLazyString(UIStrings.pwa)]});