(()=>{"use strict";var e={729:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.$a=void 0;class i{constructor(e){this.d=!1,this.e=!1,this.f=e}async resetTimeout(){this.d?this.e=!0:await this.g()}async g(){this.i(i.c),this.e=!1,setTimeout((()=>this.h()),i.a),this.d=!0}h(){this.d=!1,this.e&&this.g()}i(e=i.c){try{this.f.updateWorkspaceActivity()}catch(t){e>0?setTimeout(this.i,i.b,--e):console.error("Activity tracker: Failed to ping che-machine-exec: ",t.message)}}}t.$a=i,i.a=6e4,i.b=5e3,i.c=5},496:e=>{e.exports=require("vscode")}},t={};function i(o){var a=t[o];if(void 0!==a)return a.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,i),n.exports}var o={};(()=>{var e=o;Object.defineProperty(e,"__esModule",{value:!0}),e.deactivate=e.activate=void 0;const t=i(496),a=i(729);e.activate=async function(e){const i=[t.workspace.onDidChangeTextDocument,t.window.onDidChangeActiveTextEditor,t.window.onDidChangeTextEditorSelection,t.window.onDidChangeTextEditorViewColumn,t.window.onDidChangeWindowState,t.window.onDidChangeTerminalState,t.window.onDidChangeActiveTerminal];await async function(e,i){const o=await async function(){const e="eclipse-che.api",i=t.extensions.getExtension(e);if(!i)throw Error(`Failed to get workspace service. Extension ${e} is not installed.`);try{await i.activate();const e=i?.exports;return e.getWorkspaceService()}catch{throw Error(`Failed to get workspace service. Could not activate and retrieve exports from extension ${e}.`)}}(),n=new a.$a(o);e.forEach((e=>{i.subscriptions.push(e((async()=>{await n.resetTimeout()})))}))}(i,e)},e.deactivate=function(){}})();var a=exports;for(var n in o)a[n]=o[n];o.__esModule&&Object.defineProperty(a,"__esModule",{value:!0})})();
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/undefined/extensions/che-activity-tracker/dist/extension.js.map