"use strict";(self.webpackChunkpasswords_webextension=self.webpackChunkpasswords_webextension||[]).push([[1620],{8962:(e,t,s)=>{s.d(t,{Z:()=>r});class r{async execute(e,t){console.trace("controller.execute() not implemented")}}},3657:(e,t,s)=>{s.r(t),s.d(t,{default:()=>d});var r=s(8962),a=s(3155),n=s(6567),o=s(7851),i=s(7577),l=s(8838);class d extends r.Z{async execute(e,t){let s={hidden:{id:null,link:null},settings:{localisations:!1},app:{version:"2.2.4",platform:l.Z.getBrowserPlatform(),environment:"production"},platform:await l.Z.getBrowserInfo()};try{let e=await o.Z.getDefaultApi(),t=new a.Z;e.isAuthorized()?(s.hidden.id=await t.getHiddenFolderId(e),s.hidden.link=`${e.getServer().getBaseUrl()}apps/passwords/#/folders/${s.hidden.id}`):s.hidden.id="-"}catch(e){n.Z.logError(e)}try{let e=await i.Z.getValue("debug.localisation.enabled");s.settings.localize=!e}catch(e){n.Z.logError(e)}try{let e=l.Z.getBrowserApi().runtime.getManifest();e.hasOwnProperty("version")&&(s.app.version=e.version)}catch(e){n.Z.logError(e)}t.setType("debug.data").setPayload(s)}}}}]);