~ K A L I ~
UNAME : Linux web63.extendcp.co.uk 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64SERVER IP : 10.0.187.63 -________-
CLIENT IP : 216.73.216.230 MINI SHELL D ZAB '
Current File : //usr/share/maxscale/gui/js/npm.monaco-editor~65e15191.daaf9fa9.js |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["npm.monaco-editor~65e15191"],{"03e8":function(e,t,i){"use strict";i.d(t,"a",(function(){return l})),i.d(t,"c",(function(){return d})),i.d(t,"b",(function(){return h}));var s=i("308f"),n=i("a666"),o=i("ef8e"),r=i("9122"),a=i("0a0f");const c="__$__targetStorageMarker",l=Object(a["c"])("storageService");var d;(function(e){e[e["NONE"]=0]="NONE",e[e["SHUTDOWN"]=1]="SHUTDOWN"})(d||(d={}));class u extends n["a"]{constructor(e={flushInterval:u.DEFAULT_FLUSH_INTERVAL}){super(),this.options=e,this._onDidChangeValue=this._register(new s["e"]),this._onDidChangeTarget=this._register(new s["e"]),this._onWillSaveState=this._register(new s["b"]),this.onWillSaveState=this._onWillSaveState.event,this._workspaceKeyTargets=void 0,this._globalKeyTargets=void 0}emitDidChangeValue(e,t){t===c?(0===e?this._globalKeyTargets=void 0:1===e&&(this._workspaceKeyTargets=void 0),this._onDidChangeTarget.fire({scope:e})):this._onDidChangeValue.fire({scope:e,key:t,target:this.getKeyTargets(e)[t]})}get(e,t,i){var s;return null===(s=this.getStorage(t))||void 0===s?void 0:s.get(e,i)}getBoolean(e,t,i){var s;return null===(s=this.getStorage(t))||void 0===s?void 0:s.getBoolean(e,i)}getNumber(e,t,i){var s;return null===(s=this.getStorage(t))||void 0===s?void 0:s.getNumber(e,i)}store(e,t,i,s){Object(o["o"])(t)?this.remove(e,i):this.withPausedEmitters(()=>{var n;this.updateKeyTarget(e,i,s),null===(n=this.getStorage(i))||void 0===n||n.set(e,t)})}remove(e,t){this.withPausedEmitters(()=>{var i;this.updateKeyTarget(e,t,void 0),null===(i=this.getStorage(t))||void 0===i||i.delete(e)})}withPausedEmitters(e){this._onDidChangeValue.pause(),this._onDidChangeTarget.pause();try{e()}finally{this._onDidChangeValue.resume(),this._onDidChangeTarget.resume()}}updateKeyTarget(e,t,i){var s,n;const o=this.getKeyTargets(t);"number"===typeof i?o[e]!==i&&(o[e]=i,null===(s=this.getStorage(t))||void 0===s||s.set(c,JSON.stringify(o))):"number"===typeof o[e]&&(delete o[e],null===(n=this.getStorage(t))||void 0===n||n.set(c,JSON.stringify(o)))}get workspaceKeyTargets(){return this._workspaceKeyTargets||(this._workspaceKeyTargets=this.loadKeyTargets(1)),this._workspaceKeyTargets}get globalKeyTargets(){return this._globalKeyTargets||(this._globalKeyTargets=this.loadKeyTargets(0)),this._globalKeyTargets}getKeyTargets(e){return 0===e?this.globalKeyTargets:this.workspaceKeyTargets}loadKeyTargets(e){const t=this.get(c,e);if(t)try{return JSON.parse(t)}catch(i){}return Object.create(null)}}u.DEFAULT_FLUSH_INTERVAL=6e4;class h extends u{constructor(){super(),this.globalStorage=this._register(new r["b"](new r["a"])),this.workspaceStorage=this._register(new r["b"](new r["a"])),this._register(this.workspaceStorage.onDidChangeStorage(e=>this.emitDidChangeValue(1,e))),this._register(this.globalStorage.onDidChangeStorage(e=>this.emitDidChangeValue(0,e)))}getStorage(e){return 0===e?this.globalStorage:this.workspaceStorage}}},"2ef8":function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var s=i("a666"),n=i("dff7"),o=i("2f1e"),r=i("66bd"),a=i("89cd"),c=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},l=function(e,t){return function(i,s){t(i,s,e)}};let d=class e{constructor(e){this.quickInputService=e,this.registry=a["a"].as(o["b"].Quickaccess)}provide(t){const i=new s["b"];i.add(t.onDidAccept(()=>{const[e]=t.selectedItems;e&&this.quickInputService.quickAccess.show(e.prefix,{preserveValue:!0})})),i.add(t.onDidChangeValue(t=>{const i=this.registry.getQuickAccessProvider(t.substr(e.PREFIX.length));i&&i.prefix&&i.prefix!==e.PREFIX&&this.quickInputService.quickAccess.show(i.prefix,{preserveValue:!0})}));const{editorProviders:o,globalProviders:r}=this.getQuickAccessProviders();return t.items=0===o.length||0===r.length?[...0===o.length?r:o]:[{label:Object(n["a"])("globalCommands","global commands"),type:"separator"},...r,{label:Object(n["a"])("editorCommands","editor commands"),type:"separator"},...o],i}getQuickAccessProviders(){const t=[],i=[];for(const s of this.registry.getQuickAccessProviders().sort((e,t)=>e.prefix.localeCompare(t.prefix)))if(s.prefix!==e.PREFIX)for(const e of s.helpEntries){const o=e.prefix||s.prefix,r=o||"…";(e.needsEditor?i:t).push({prefix:o,label:r,ariaLabel:Object(n["a"])("helpPickAriaLabel","{0}, {1}",r,e.description),description:e.description})}return{editorProviders:i,globalProviders:t}}};d.PREFIX="?",d=c([l(0,r["a"])],d)},"2f1e":function(e,t,i){"use strict";i.d(t,"a",(function(){return s})),i.d(t,"b",(function(){return a}));var s,n=i("e8e3"),o=i("a666"),r=i("89cd");(function(e){e[e["PRESERVE"]=0]="PRESERVE",e[e["LAST"]=1]="LAST"})(s||(s={}));const a={Quickaccess:"workbench.contributions.quickaccess"};class c{constructor(){this.providers=[],this.defaultProvider=void 0}registerQuickAccessProvider(e){return 0===e.prefix.length?this.defaultProvider=e:this.providers.push(e),this.providers.sort((e,t)=>t.prefix.length-e.prefix.length),Object(o["j"])(()=>{this.providers.splice(this.providers.indexOf(e),1),this.defaultProvider===e&&(this.defaultProvider=void 0)})}getQuickAccessProviders(){return Object(n["e"])([this.defaultProvider,...this.providers])}getQuickAccessProvider(e){const t=e&&this.providers.find(t=>e.startsWith(t.prefix))||void 0;return t||this.defaultProvider}}r["a"].add(a.Quickaccess,new c)},"37f2":function(e,t,i){"use strict";i.d(t,"a",(function(){return h}));var s=i("e8e3"),n=i("308f"),o=i("258a"),r=i("4035"),a=i("b589"),c=i("6d8e"),l=i("b400");class d{constructor(){this._byResource=new r["b"],this._byOwner=new Map}set(e,t,i){let s=this._byResource.get(e);s||(s=new Map,this._byResource.set(e,s)),s.set(t,i);let n=this._byOwner.get(t);n||(n=new r["b"],this._byOwner.set(t,n)),n.set(e,i)}get(e,t){let i=this._byResource.get(e);return null===i||void 0===i?void 0:i.get(t)}delete(e,t){let i=!1,s=!1,n=this._byResource.get(e);n&&(i=n.delete(t));let o=this._byOwner.get(t);if(o&&(s=o.delete(e)),i!==s)throw new Error("illegal state");return i&&s}values(e){var t,i,s,n;return"string"===typeof e?null!==(i=null===(t=this._byOwner.get(e))||void 0===t?void 0:t.values())&&void 0!==i?i:o["a"].empty():c["a"].isUri(e)?null!==(n=null===(s=this._byResource.get(e))||void 0===s?void 0:s.values())&&void 0!==n?n:o["a"].empty():o["a"].map(o["a"].concat(...this._byOwner.values()),e=>e[1])}}class u{constructor(e){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new r["b"],this._service=e,this._subscription=e.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(e){for(const t of e){const e=this._data.get(t);e&&this._substract(e);const i=this._resourceStats(t);this._add(i),this._data.set(t,i)}}_resourceStats(e){const t={errors:0,warnings:0,infos:0,unknowns:0};if(e.scheme===a["c"].inMemory||e.scheme===a["c"].walkThrough||e.scheme===a["c"].walkThroughSnippet)return t;for(const{severity:i}of this._service.read({resource:e}))i===l["c"].Error?t.errors+=1:i===l["c"].Warning?t.warnings+=1:i===l["c"].Info?t.infos+=1:t.unknowns+=1;return t}_substract(e){this.errors-=e.errors,this.warnings-=e.warnings,this.infos-=e.infos,this.unknowns-=e.unknowns}_add(e){this.errors+=e.errors,this.warnings+=e.warnings,this.infos+=e.infos,this.unknowns+=e.unknowns}}class h{constructor(){this._onMarkerChanged=new n["a"]({delay:0,merge:h._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new d,this._stats=new u(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(e,t){for(const i of t||[])this.changeOne(e,i,[])}changeOne(e,t,i){if(Object(s["q"])(i)){const i=this._data.delete(t,e);i&&this._onMarkerChanged.fire([t])}else{const s=[];for(const n of i){const i=h._toMarker(e,t,n);i&&s.push(i)}this._data.set(t,e,s),this._onMarkerChanged.fire([t])}}static _toMarker(e,t,i){let{code:s,severity:n,message:o,source:r,startLineNumber:a,startColumn:c,endLineNumber:l,endColumn:d,relatedInformation:u,tags:h}=i;if(o)return a=a>0?a:1,c=c>0?c:1,l=l>=a?l:a,d=d>0?d:c,{resource:t,owner:e,code:s,severity:n,message:o,source:r,startLineNumber:a,startColumn:c,endLineNumber:l,endColumn:d,relatedInformation:u,tags:h}}read(e=Object.create(null)){let{owner:t,resource:i,severities:s,take:n}=e;if((!n||n<0)&&(n=-1),t&&i){const e=this._data.get(i,t);if(e){const t=[];for(const i of e)if(h._accept(i,s)){const e=t.push(i);if(n>0&&e===n)break}return t}return[]}if(t||i){const e=this._data.values(null!==i&&void 0!==i?i:t),o=[];for(const t of e)for(const e of t)if(h._accept(e,s)){const t=o.push(e);if(n>0&&t===n)return o}return o}{const e=[];for(let t of this._data.values())for(let i of t)if(h._accept(i,s)){const t=e.push(i);if(n>0&&t===n)return e}return e}}static _accept(e,t){return void 0===t||(t&e.severity)===e.severity}static _merge(e){const t=new r["b"];for(let i of e)for(let e of i)t.set(e,!0);return Array.from(t.keys())}}},"47cb":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var s=i("0a0f");const n=Object(s["c"])("labelService")},"4efb":function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var s,n=i("561a"),o=i("4b76"),r=i("303e"),a=i("b7d0");(function(e){function t(e){switch(e){case o["a"].Ignore:return"severity-ignore "+n["b"].info.classNames;case o["a"].Info:return n["b"].info.classNames;case o["a"].Warning:return n["b"].warning.classNames;case o["a"].Error:return n["b"].error.classNames;default:return""}}e.className=t})(s||(s={})),Object(a["f"])((e,t)=>{const i=e.getColor(r["zc"]);if(i){const e=n["b"].error.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.text-search-provider-messages .providerMessage ${e},\n\t\t\t.extensions-viewlet > .extensions ${e} {\n\t\t\t\tcolor: ${i};\n\t\t\t}\n\t\t`)}const s=e.getColor(r["Bc"]);if(s){const e=n["b"].warning.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.extension-editor ${e},\n\t\t\t.text-search-provider-messages .providerMessage ${e},\n\t\t\t.preferences-editor ${e} {\n\t\t\t\tcolor: ${s};\n\t\t\t}\n\t\t`)}const o=e.getColor(r["Ac"]);if(o){const e=n["b"].info.cssSelector;t.addRule(`\n\t\t\t.monaco-editor .zone-widget ${e},\n\t\t\t.markers-panel .marker-icon${e},\n\t\t\t.extensions-viewlet > .extensions ${e},\n\t\t\t.text-search-provider-messages .providerMessage ${e},\n\t\t\t.extension-editor ${e} {\n\t\t\t\tcolor: ${o};\n\t\t\t}\n\t\t`)}})},"5bd7":function(e,t,i){"use strict";i.d(t,"a",(function(){return c})),i.d(t,"b",(function(){return l})),i.d(t,"d",(function(){return d})),i.d(t,"e",(function(){return u})),i.d(t,"c",(function(){return h}));var s=i("a666"),n=i("3742"),o=i("6d8e"),r=i("0a0f"),a=function(e,t,i,s){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function r(e){try{c(s.next(e))}catch(t){o(t)}}function a(e){try{c(s["throw"](e))}catch(t){o(t)}}function c(e){e.done?i(e.value):n(e.value).then(r,a)}c((s=s.apply(e,t||[])).next())}))};const c=Object(r["c"])("openerService"),l=Object.freeze({_serviceBrand:void 0,registerOpener(){return s["a"].None},registerValidator(){return s["a"].None},registerExternalUriResolver(){return s["a"].None},setDefaultExternalOpener(){},registerExternalOpener(){return s["a"].None},open(){return a(this,void 0,void 0,(function*(){return!1}))},resolveExternalUri(e){return a(this,void 0,void 0,(function*(){return{resolved:e,dispose(){}}}))}});function d(e,t){return o["a"].isUri(e)?Object(n["r"])(e.scheme,t):Object(n["S"])(e,t+":")}function u(e,...t){return t.some(t=>d(e,t))}function h(e){let t=void 0;const i=/^L?(\d+)(?:,(\d+))?(-L?(\d+)(?:,(\d+))?)?/.exec(e.fragment);return i&&(t={startLineNumber:parseInt(i[1]),startColumn:i[2]?parseInt(i[2]):1,endLineNumber:i[4]?parseInt(i[4]):void 0,endColumn:i[4]?i[5]?parseInt(i[5]):1:void 0},e=e.with({fragment:""})),{selection:t,uri:e}}},"5d75":function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var s=i("0a0f");const n=Object(s["c"])("telemetryService")},"66bd":function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var s=i("0a0f"),n=i("cdd6");i.d(t,"b",(function(){return n["a"]}));const o=Object(s["c"])("quickInputService")},"89cd":function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var s=i("1569"),n=i("ef8e");class o{constructor(){this.data=new Map}add(e,t){s["a"](n["m"](e)),s["a"](n["l"](t)),s["a"](!this.data.has(e),"There is already an extension with this id"),this.data.set(e,t)}as(e){return this.data.get(e)||null}}const r=new o},"93d9":function(e,t,i){"use strict";i.d(t,"a",(function(){return _})),i.d(t,"b",(function(){return j})),i.d(t,"e",(function(){return K})),i.d(t,"f",(function(){return D})),i.d(t,"g",(function(){return M})),i.d(t,"d",(function(){return ee})),i.d(t,"c",(function(){return ue}));var s=i("11f7"),n=i("78c0"),o=i("72a7"),r=i("9008"),a=i("5b3a"),c=i("e818"),l=i("63d5"),d=i("308f"),u=i("a666"),h=i("dff7"),g=i("4779"),p=i("fbba"),f=i("0910"),b=i("4fc3"),v=i("1665"),S=i("0a0f"),m=i("6dec"),y=i("89cd"),O=i("a6d7"),k=i("b7d0"),C=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},w=function(e,t){return function(i,s){t(i,s,e)}};const _=Object(S["c"])("listService");let j=class{constructor(e){this._themeService=e,this.disposables=new u["b"],this.lists=[],this._lastFocusedWidget=void 0,this._hasCreatedStyleController=!1}get lastFocusedList(){return this._lastFocusedWidget}setLastFocusedList(e){var t,i;e!==this._lastFocusedWidget&&(null===(t=this._lastFocusedWidget)||void 0===t||t.getHTMLElement().classList.remove("last-focused"),this._lastFocusedWidget=e,null===(i=this._lastFocusedWidget)||void 0===i||i.getHTMLElement().classList.add("last-focused"))}register(e,t){if(!this._hasCreatedStyleController){this._hasCreatedStyleController=!0;const e=new o["b"](Object(s["x"])(),"");this.disposables.add(Object(O["b"])(e,this._themeService))}if(this.lists.some(t=>t.widget===e))throw new Error("Cannot register the same widget multiple times");const i={widget:e,extraContextKeys:t};return this.lists.push(i),e.getHTMLElement()===document.activeElement&&this.setLastFocusedList(e),Object(u["f"])(e.onDidFocus(()=>this.setLastFocusedList(e)),Object(u["j"])(()=>this.lists.splice(this.lists.indexOf(i),1)),e.onDidDispose(()=>{this.lists=this.lists.filter(e=>e!==i),this._lastFocusedWidget===e&&this.setLastFocusedList(void 0)}))}dispose(){this.disposables.dispose()}};j=C([w(0,k["b"])],j);const x=new b["c"]("listFocus",!0),E=new b["c"]("listSupportsMultiselect",!0),K=b["a"].and(x,b["a"].not(v["a"])),T=new b["c"]("listHasSelectionOrFocus",!1),I=new b["c"]("listDoubleSelection",!1),A=new b["c"]("listMultiSelection",!1),P=new b["c"]("listSelectionNavigation",!1),D=new b["c"]("treeElementCanCollapse",!1),L=new b["c"]("treeElementHasParent",!1),M=new b["c"]("treeElementCanExpand",!1),R=new b["c"]("treeElementHasChild",!1),F="listAutomaticKeyboardNavigation";function N(e,t){const i=e.createScoped(t.getHTMLElement());return x.bindTo(i),i}const V="workbench.list.multiSelectModifier",B="workbench.list.openMode",H="workbench.list.horizontalScrolling",z="workbench.list.keyboardNavigation",W="workbench.list.automaticKeyboardNavigation",q="workbench.tree.indent",$="workbench.tree.renderIndentGuides",Q="workbench.list.smoothScrolling",U="workbench.list.mouseWheelScrollSensitivity",Y="workbench.list.fastScrollSensitivity",G="workbench.tree.expandMode";function X(e){return"alt"===e.getValue(V)}class J extends u["a"]{constructor(e){super(),this.configurationService=e,this.useAltAsMultipleSelectionModifier=X(e),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(e=>{e.affectsConfiguration(V)&&(this.useAltAsMultipleSelectionModifier=X(this.configurationService))}))}isSelectionSingleChangeEvent(e){return this.useAltAsMultipleSelectionModifier?e.browserEvent.altKey:Object(o["h"])(e)}isSelectionRangeChangeEvent(e){return Object(o["g"])(e)}}function Z(e,t,i){var s;const n=new u["b"],o=Object.assign(Object.assign({},e),{keyboardNavigationDelegate:{mightProducePrintableCharacter(e){return i.mightProducePrintableCharacter(e)}},smoothScrolling:Boolean(t.getValue(Q)),mouseWheelScrollSensitivity:t.getValue(U),fastScrollSensitivity:t.getValue(Y),multipleSelectionController:null!==(s=e.multipleSelectionController)&&void 0!==s?s:n.add(new J(t))});return[o,n]}let ee=class extends o["c"]{constructor(e,t,i,s,n,o,r,a,c,l){const d="undefined"!==typeof n.horizontalScrolling?n.horizontalScrolling:Boolean(c.getValue(H)),[u,h]=Z(n,c,l);super(e,t,i,s,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(O["d"])(a.getColorTheme(),O["e"])),u),{horizontalScrolling:d})),this.disposables.add(h),this.contextKeyService=N(o,this),this.themeService=a,this.listSupportsMultiSelect=E.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==n.multipleSelectionSupport);const g=P.bindTo(this.contextKeyService);g.set(Boolean(n.selectionNavigation)),this.listHasSelectionOrFocus=T.bindTo(this.contextKeyService),this.listDoubleSelection=I.bindTo(this.contextKeyService),this.listMultiSelection=A.bindTo(this.contextKeyService),this.horizontalScrolling=n.horizontalScrolling,this._useAltAsMultipleSelectionModifier=X(c),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),n.overrideStyles&&this.updateStyles(n.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(c.onDidChangeConfiguration(e=>{e.affectsConfiguration(V)&&(this._useAltAsMultipleSelectionModifier=X(c));let t={};if(e.affectsConfiguration(H)&&void 0===this.horizontalScrolling){const e=Boolean(c.getValue(H));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Q)){const e=Boolean(c.getValue(Q));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(U)){const e=c.getValue(U);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(Y)){const e=c.getValue(Y);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new ne(this,Object.assign({configurationService:c},n)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=Object(O["b"])(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),super.dispose()}};ee=C([w(5,b["b"]),w(6,_),w(7,k["b"]),w(8,p["a"]),w(9,m["a"])],ee);let te=class extends n["a"]{constructor(e,t,i,s,n,o,r,a,c,l){const d="undefined"!==typeof n.horizontalScrolling?n.horizontalScrolling:Boolean(c.getValue(H)),[h,g]=Z(n,c,l);super(e,t,i,s,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(O["d"])(a.getColorTheme(),O["e"])),h),{horizontalScrolling:d})),this.disposables=new u["b"],this.disposables.add(g),this.contextKeyService=N(o,this),this.themeService=a,this.horizontalScrolling=n.horizontalScrolling,this.listSupportsMultiSelect=E.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==n.multipleSelectionSupport);const p=P.bindTo(this.contextKeyService);p.set(Boolean(n.selectionNavigation)),this._useAltAsMultipleSelectionModifier=X(c),this.disposables.add(this.contextKeyService),this.disposables.add(r.register(this)),n.overrideStyles&&this.updateStyles(n.overrideStyles),n.overrideStyles&&this.disposables.add(Object(O["b"])(this,a,n.overrideStyles)),this.disposables.add(c.onDidChangeConfiguration(e=>{e.affectsConfiguration(V)&&(this._useAltAsMultipleSelectionModifier=X(c));let t={};if(e.affectsConfiguration(H)&&void 0===this.horizontalScrolling){const e=Boolean(c.getValue(H));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Q)){const e=Boolean(c.getValue(Q));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(U)){const e=c.getValue(U);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(Y)){const e=c.getValue(Y);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new ne(this,Object.assign({configurationService:c},n)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=Object(O["b"])(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),this.disposables.dispose(),super.dispose()}};te=C([w(5,b["b"]),w(6,_),w(7,k["b"]),w(8,p["a"]),w(9,m["a"])],te);let ie=class extends r["a"]{constructor(e,t,i,s,n,o,r,a,c,l,d){const u="undefined"!==typeof o.horizontalScrolling?o.horizontalScrolling:Boolean(l.getValue(H)),[h,g]=Z(o,l,d);super(e,t,i,s,n,Object.assign(Object.assign(Object.assign({keyboardSupport:!1},Object(O["d"])(c.getColorTheme(),O["e"])),h),{horizontalScrolling:u})),this.disposables.add(g),this.contextKeyService=N(r,this),this.themeService=c,this.listSupportsMultiSelect=E.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==o.multipleSelectionSupport);const p=P.bindTo(this.contextKeyService);p.set(Boolean(o.selectionNavigation)),this.listHasSelectionOrFocus=T.bindTo(this.contextKeyService),this.listDoubleSelection=I.bindTo(this.contextKeyService),this.listMultiSelection=A.bindTo(this.contextKeyService),this.horizontalScrolling=o.horizontalScrolling,this._useAltAsMultipleSelectionModifier=X(l),this.disposables.add(this.contextKeyService),this.disposables.add(a.register(this)),o.overrideStyles&&this.updateStyles(o.overrideStyles),this.disposables.add(this.onDidChangeSelection(()=>{const e=this.getSelection(),t=this.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.listHasSelectionOrFocus.set(e.length>0||t.length>0),this.listMultiSelection.set(e.length>1),this.listDoubleSelection.set(2===e.length)})})),this.disposables.add(this.onDidChangeFocus(()=>{const e=this.getSelection(),t=this.getFocus();this.listHasSelectionOrFocus.set(e.length>0||t.length>0)})),this.disposables.add(l.onDidChangeConfiguration(e=>{e.affectsConfiguration(V)&&(this._useAltAsMultipleSelectionModifier=X(l));let t={};if(e.affectsConfiguration(H)&&void 0===this.horizontalScrolling){const e=Boolean(l.getValue(H));t=Object.assign(Object.assign({},t),{horizontalScrolling:e})}if(e.affectsConfiguration(Q)){const e=Boolean(l.getValue(Q));t=Object.assign(Object.assign({},t),{smoothScrolling:e})}if(e.affectsConfiguration(U)){const e=l.getValue(U);t=Object.assign(Object.assign({},t),{mouseWheelScrollSensitivity:e})}if(e.affectsConfiguration(Y)){const e=l.getValue(Y);t=Object.assign(Object.assign({},t),{fastScrollSensitivity:e})}Object.keys(t).length>0&&this.updateOptions(t)})),this.navigator=new oe(this,Object.assign({configurationService:l},o)),this.disposables.add(this.navigator)}updateOptions(e){super.updateOptions(e),e.overrideStyles&&this.updateStyles(e.overrideStyles),void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyles(e){var t;null===(t=this._styler)||void 0===t||t.dispose(),this._styler=Object(O["b"])(this,this.themeService,e)}dispose(){var e;null===(e=this._styler)||void 0===e||e.dispose(),this.disposables.dispose(),super.dispose()}};ie=C([w(6,b["b"]),w(7,_),w(8,k["b"]),w(9,p["a"]),w(10,m["a"])],ie);class se extends u["a"]{constructor(e,t){var i;super(),this.widget=e,this._onDidOpen=this._register(new d["b"]),this.onDidOpen=this._onDidOpen.event,this._register(d["c"].filter(this.widget.onDidChangeSelection,e=>e.browserEvent instanceof KeyboardEvent)(e=>this.onSelectionFromKeyboard(e))),this._register(this.widget.onPointer(e=>this.onPointer(e.element,e.browserEvent))),this._register(this.widget.onMouseDblClick(e=>this.onMouseDblClick(e.element,e.browserEvent))),"boolean"!==typeof(null===t||void 0===t?void 0:t.openOnSingleClick)&&(null===t||void 0===t?void 0:t.configurationService)?(this.openOnSingleClick="doubleClick"!==(null===t||void 0===t?void 0:t.configurationService.getValue(B)),this._register(null===t||void 0===t?void 0:t.configurationService.onDidChangeConfiguration(()=>{this.openOnSingleClick="doubleClick"!==(null===t||void 0===t?void 0:t.configurationService.getValue(B))}))):this.openOnSingleClick=null===(i=null===t||void 0===t?void 0:t.openOnSingleClick)||void 0===i||i}onSelectionFromKeyboard(e){if(1!==e.elements.length)return;const t=e.browserEvent,i="boolean"!==typeof t.preserveFocus||t.preserveFocus,s="boolean"===typeof t.pinned?t.pinned:!i,n=!1;this._open(this.getSelectedElement(),i,s,n,e.browserEvent)}onPointer(e,t){if(!this.openOnSingleClick)return;const i=2===t.detail;if(i)return;const s=1===t.button,n=!0,o=s,r=t.ctrlKey||t.metaKey||t.altKey;this._open(e,n,o,r,t)}onMouseDblClick(e,t){if(!t)return;const i=t.target,s=i.classList.contains("monaco-tl-twistie")||i.classList.contains("monaco-icon-label")&&i.classList.contains("folder-icon")&&t.offsetX<16;if(s)return;const n=!1,o=!0,r=t.ctrlKey||t.metaKey||t.altKey;this._open(e,n,o,r,t)}_open(e,t,i,s,n){e&&this._onDidOpen.fire({editorOptions:{preserveFocus:t,pinned:i,revealIfVisible:!0},sideBySide:s,element:e,browserEvent:n})}}class ne extends se{constructor(e,t){super(e,t),this.widget=e}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class oe extends se{constructor(e,t){super(e,t)}getSelectedElement(){return this.widget.getSelectedElements()[0]}}class re extends se{constructor(e,t){super(e,t)}getSelectedElement(){var e;return null!==(e=this.widget.getSelection()[0])&&void 0!==e?e:void 0}}function ae(e,t){let i=!1;return s=>{if(s.toKeybinding().isModifierKey())return!1;if(i)return i=!1,!1;const n=t.softDispatch(s,e);return n&&n.enterChord?(i=!0,!1):(i=!1,!0)}}let ce=class extends l["b"]{constructor(e,t,i,s,n,o,r,a,c,l,d){const{options:u,getAutomaticKeyboardNavigation:h,disposable:g}=ge(t,n,o,c,l,d);super(e,t,i,s,u),this.disposables.add(g),this.internals=new pe(this,n,h,n.overrideStyles,o,r,a,c,d),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};ce=C([w(5,b["b"]),w(6,_),w(7,k["b"]),w(8,p["a"]),w(9,m["a"]),w(10,g["b"])],ce);let le=class extends l["a"]{constructor(e,t,i,s,n,o,r,a,c,l,d){const{options:u,getAutomaticKeyboardNavigation:h,disposable:g}=ge(t,n,o,c,l,d);super(e,t,i,s,u),this.disposables.add(g),this.internals=new pe(this,n,h,n.overrideStyles,o,r,a,c,d),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};le=C([w(5,b["b"]),w(6,_),w(7,k["b"]),w(8,p["a"]),w(9,m["a"]),w(10,g["b"])],le);let de=class extends c["a"]{constructor(e,t,i,s,n,o,r,a,c,l,d,u){const{options:h,getAutomaticKeyboardNavigation:g,disposable:p}=ge(t,o,r,l,d,u);super(e,t,i,s,n,h),this.disposables.add(p),this.internals=new pe(this,o,g,o.overrideStyles,r,a,c,l,u),this.disposables.add(this.internals)}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};de=C([w(6,b["b"]),w(7,_),w(8,k["b"]),w(9,p["a"]),w(10,m["a"]),w(11,g["b"])],de);let ue=class extends a["a"]{constructor(e,t,i,s,n,o,r,a,c,l,d,u){const{options:h,getAutomaticKeyboardNavigation:g,disposable:p}=ge(t,o,r,l,d,u);super(e,t,i,s,n,h),this.disposables.add(p),this.internals=new pe(this,o,g,o.overrideStyles,r,a,c,l,u),this.disposables.add(this.internals)}get onDidOpen(){return this.internals.onDidOpen}updateOptions(e={}){super.updateOptions(e),e.overrideStyles&&this.internals.updateStyleOverrides(e.overrideStyles),this.internals.updateOptions(e)}};ue=C([w(6,b["b"]),w(7,_),w(8,k["b"]),w(9,p["a"]),w(10,m["a"]),w(11,g["b"])],ue);let he=class extends a["b"]{constructor(e,t,i,s,n,o,r,a,c,l,d,u,h){const{options:g,getAutomaticKeyboardNavigation:p,disposable:f}=ge(t,r,a,d,u,h);super(e,t,i,s,n,o,g),this.disposables.add(f),this.internals=new pe(this,r,p,r.overrideStyles,a,c,l,d,h),this.disposables.add(this.internals)}updateOptions(e){super.updateOptions(e),this.internals.updateOptions(e)}};function ge(e,t,i,s,n,o){var r;const a=()=>{let e=Boolean(i.getContextKeyValue(F));return e&&(e=Boolean(s.getValue(W))),e},c=o.isScreenReaderOptimized(),l=t.simpleKeyboardNavigation||c?"simple":s.getValue(z),d=void 0!==t.horizontalScrolling?t.horizontalScrolling:Boolean(s.getValue(H)),[u,h]=Z(t,s,n),g=t.additionalScrollHeight;return{getAutomaticKeyboardNavigation:a,disposable:h,options:Object.assign(Object.assign({keyboardSupport:!1},u),{indent:"number"===typeof s.getValue(q)?s.getValue(q):void 0,renderIndentGuides:s.getValue($),smoothScrolling:Boolean(s.getValue(Q)),automaticKeyboardNavigation:a(),simpleKeyboardNavigation:"simple"===l,filterOnType:"filter"===l,horizontalScrolling:d,keyboardNavigationEventFilter:ae(e,n),additionalScrollHeight:g,hideTwistiesOfChildlessElements:t.hideTwistiesOfChildlessElements,expandOnlyOnTwistieClick:null!==(r=t.expandOnlyOnTwistieClick)&&void 0!==r?r:"doubleClick"===s.getValue(G)})}}he=C([w(7,b["b"]),w(8,_),w(9,k["b"]),w(10,p["a"]),w(11,m["a"]),w(12,g["b"])],he);let pe=class{constructor(e,t,i,s,n,o,r,a,c){this.tree=e,this.themeService=r,this.disposables=[],this.contextKeyService=N(n,e),this.listSupportsMultiSelect=E.bindTo(this.contextKeyService),this.listSupportsMultiSelect.set(!1!==t.multipleSelectionSupport);const l=P.bindTo(this.contextKeyService);l.set(Boolean(t.selectionNavigation)),this.hasSelectionOrFocus=T.bindTo(this.contextKeyService),this.hasDoubleSelection=I.bindTo(this.contextKeyService),this.hasMultiSelection=A.bindTo(this.contextKeyService),this.treeElementCanCollapse=D.bindTo(this.contextKeyService),this.treeElementHasParent=L.bindTo(this.contextKeyService),this.treeElementCanExpand=M.bindTo(this.contextKeyService),this.treeElementHasChild=R.bindTo(this.contextKeyService),this._useAltAsMultipleSelectionModifier=X(a);const d=new Set;d.add(F);const u=()=>{const t=c.isScreenReaderOptimized(),i=t?"simple":a.getValue(z);e.updateOptions({simpleKeyboardNavigation:"simple"===i,filterOnType:"filter"===i})};this.updateStyleOverrides(s);const h=()=>{const t=e.getFocus()[0];if(!t)return;const i=e.getNode(t);this.treeElementCanCollapse.set(i.collapsible&&!i.collapsed),this.treeElementHasParent.set(!!e.getParentElement(t)),this.treeElementCanExpand.set(i.collapsible&&i.collapsed),this.treeElementHasChild.set(!!e.getFirstElementChild(t))};this.disposables.push(this.contextKeyService,o.register(e),e.onDidChangeSelection(()=>{const t=e.getSelection(),i=e.getFocus();this.contextKeyService.bufferChangeEvents(()=>{this.hasSelectionOrFocus.set(t.length>0||i.length>0),this.hasMultiSelection.set(t.length>1),this.hasDoubleSelection.set(2===t.length)})}),e.onDidChangeFocus(()=>{const t=e.getSelection(),i=e.getFocus();this.hasSelectionOrFocus.set(t.length>0||i.length>0),h()}),e.onDidChangeCollapseState(h),e.onDidChangeModel(h),a.onDidChangeConfiguration(s=>{let n={};if(s.affectsConfiguration(V)&&(this._useAltAsMultipleSelectionModifier=X(a)),s.affectsConfiguration(q)){const e=a.getValue(q);n=Object.assign(Object.assign({},n),{indent:e})}if(s.affectsConfiguration($)){const e=a.getValue($);n=Object.assign(Object.assign({},n),{renderIndentGuides:e})}if(s.affectsConfiguration(Q)){const e=Boolean(a.getValue(Q));n=Object.assign(Object.assign({},n),{smoothScrolling:e})}if(s.affectsConfiguration(z)&&u(),s.affectsConfiguration(W)&&(n=Object.assign(Object.assign({},n),{automaticKeyboardNavigation:i()})),s.affectsConfiguration(H)&&void 0===t.horizontalScrolling){const e=Boolean(a.getValue(H));n=Object.assign(Object.assign({},n),{horizontalScrolling:e})}if(s.affectsConfiguration(G)&&void 0===t.expandOnlyOnTwistieClick&&(n=Object.assign(Object.assign({},n),{expandOnlyOnTwistieClick:"doubleClick"===a.getValue(G)})),s.affectsConfiguration(U)){const e=a.getValue(U);n=Object.assign(Object.assign({},n),{mouseWheelScrollSensitivity:e})}if(s.affectsConfiguration(Y)){const e=a.getValue(Y);n=Object.assign(Object.assign({},n),{fastScrollSensitivity:e})}Object.keys(n).length>0&&e.updateOptions(n)}),this.contextKeyService.onDidChangeContext(t=>{t.affectsSome(d)&&e.updateOptions({automaticKeyboardNavigation:i()})}),c.onDidChangeScreenReaderOptimized(()=>u())),this.navigator=new re(e,Object.assign({configurationService:a},t)),this.disposables.push(this.navigator)}get onDidOpen(){return this.navigator.onDidOpen}updateOptions(e){void 0!==e.multipleSelectionSupport&&this.listSupportsMultiSelect.set(!!e.multipleSelectionSupport)}updateStyleOverrides(e){Object(u["g"])(this.styler),this.styler=e?Object(O["b"])(this.tree,this.themeService,e):u["a"].None}dispose(){this.disposables=Object(u["g"])(this.disposables),Object(u["g"])(this.styler),this.styler=void 0}};pe=C([w(4,b["b"]),w(5,_),w(6,k["b"]),w(7,p["a"]),w(8,g["b"])],pe);const fe=y["a"].as(f["a"].Configuration);fe.registerConfiguration({id:"workbench",order:7,title:Object(h["a"])("workbenchConfigurationTitle","Workbench"),type:"object",properties:{[V]:{type:"string",enum:["ctrlCmd","alt"],enumDescriptions:[Object(h["a"])("multiSelectModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),Object(h["a"])("multiSelectModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],default:"ctrlCmd",description:Object(h["a"])({key:"multiSelectModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add an item in trees and lists to a multi-selection with the mouse (for example in the explorer, open editors and scm view). The 'Open to Side' mouse gestures - if supported - will adapt such that they do not conflict with the multiselect modifier.")},[B]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(h["a"])({key:"openModeModifier",comment:["`singleClick` and `doubleClick` refers to a value the setting can take and should not be localized."]},"Controls how to open items in trees and lists using the mouse (if supported). Note that some trees and lists might choose to ignore this setting if it is not applicable.")},[H]:{type:"boolean",default:!1,description:Object(h["a"])("horizontalScrolling setting","Controls whether lists and trees support horizontal scrolling in the workbench. Warning: turning on this setting has a performance implication.")},[q]:{type:"number",default:8,minimum:4,maximum:40,description:Object(h["a"])("tree indent setting","Controls tree indentation in pixels.")},[$]:{type:"string",enum:["none","onHover","always"],default:"onHover",description:Object(h["a"])("render tree indent guides","Controls whether the tree should render indent guides.")},[Q]:{type:"boolean",default:!1,description:Object(h["a"])("list smoothScrolling setting","Controls whether lists and trees have smooth scrolling.")},[U]:{type:"number",default:1,description:Object(h["a"])("Mouse Wheel Scroll Sensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")},[Y]:{type:"number",default:5,description:Object(h["a"])("Fast Scroll Sensitivity","Scrolling speed multiplier when pressing `Alt`.")},[z]:{type:"string",enum:["simple","highlight","filter"],enumDescriptions:[Object(h["a"])("keyboardNavigationSettingKey.simple","Simple keyboard navigation focuses elements which match the keyboard input. Matching is done only on prefixes."),Object(h["a"])("keyboardNavigationSettingKey.highlight","Highlight keyboard navigation highlights elements which match the keyboard input. Further up and down navigation will traverse only the highlighted elements."),Object(h["a"])("keyboardNavigationSettingKey.filter","Filter keyboard navigation will filter out and hide all the elements which do not match the keyboard input.")],default:"highlight",description:Object(h["a"])("keyboardNavigationSettingKey","Controls the keyboard navigation style for lists and trees in the workbench. Can be simple, highlight and filter.")},[W]:{type:"boolean",default:!0,markdownDescription:Object(h["a"])("automatic keyboard navigation setting","Controls whether keyboard navigation in lists and trees is automatically triggered simply by typing. If set to `false`, keyboard navigation is only triggered when executing the `list.toggleKeyboardNavigation` command, for which you can assign a keyboard shortcut.")},[G]:{type:"string",enum:["singleClick","doubleClick"],default:"singleClick",description:Object(h["a"])("expand mode","Controls how tree folders are expanded when clicking the folder names. Note that some trees and lists might choose to ignore this setting if it is not applicable.")}}})},ad8e:function(e,t,i){"use strict";i.d(t,"a",(function(){return n}));var s=i("0a0f");const n=Object(s["c"])("layoutService")},b0cd:function(e,t,i){"use strict";i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return a}));var s=i("4b76"),n=i("0a0f"),o=s["a"];const r=Object(n["c"])("notificationService");class a{}},b400:function(e,t,i){"use strict";i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return c}));var s,n,o=i("4b76"),r=i("dff7"),a=i("0a0f");(function(e){e[e["Hint"]=1]="Hint",e[e["Info"]=2]="Info",e[e["Warning"]=4]="Warning",e[e["Error"]=8]="Error"})(s||(s={})),function(e){function t(e,t){return t-e}e.compare=t;const i=Object.create(null);function s(e){return i[e]||""}function n(t){switch(t){case o["a"].Error:return e.Error;case o["a"].Warning:return e.Warning;case o["a"].Info:return e.Info;case o["a"].Ignore:return e.Hint}}function a(t){switch(t){case e.Error:return o["a"].Error;case e.Warning:return o["a"].Warning;case e.Info:return o["a"].Info;case e.Hint:return o["a"].Ignore}}i[e.Error]=Object(r["a"])("sev.error","Error"),i[e.Warning]=Object(r["a"])("sev.warning","Warning"),i[e.Info]=Object(r["a"])("sev.info","Info"),e.toString=s,e.fromSeverity=n,e.toSeverity=a}(s||(s={})),function(e){const t="";function i(e){return n(e,!0)}function n(e,i){let n=[t];return e.source?n.push(e.source.replace("¦","\\¦")):n.push(t),e.code?"string"===typeof e.code?n.push(e.code.replace("¦","\\¦")):n.push(e.code.value.replace("¦","\\¦")):n.push(t),void 0!==e.severity&&null!==e.severity?n.push(s.toString(e.severity)):n.push(t),e.message&&i?n.push(e.message.replace("¦","\\¦")):n.push(t),void 0!==e.startLineNumber&&null!==e.startLineNumber?n.push(e.startLineNumber.toString()):n.push(t),void 0!==e.startColumn&&null!==e.startColumn?n.push(e.startColumn.toString()):n.push(t),void 0!==e.endLineNumber&&null!==e.endLineNumber?n.push(e.endLineNumber.toString()):n.push(t),void 0!==e.endColumn&&null!==e.endColumn?n.push(e.endColumn.toString()):n.push(t),n.push(t),n.join("¦")}e.makeKey=i,e.makeKeyOptionalMessage=n}(n||(n={}));const c=Object(a["c"])("markerService")},b539:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"a",(function(){return o}));var s=i("0a0f");Object.freeze({total(){},worked(){},done(){}});class n{constructor(e){this.callback=e}report(e){this._value=e,this.callback(this._value)}}n.None=Object.freeze({report(){}});const o=Object(s["c"])("editorProgressService")},c0f5:function(e,t,i){"use strict";i.d(t,"a",(function(){return E}));var s,n=i("21f9"),o=i("fdcc"),r=i("7e93"),a=i("a666"),c=i("4035"),l=i("4b76"),d=i("ef8e"),u=i("dff7"),h=i("9e74"),g=i("fbba"),p=i("eafb"),f=i("0a0f"),b=i("6dec"),v=i("5fe7"),S=i("2504"),m=function(e,t,i,s){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function r(e){try{c(s.next(e))}catch(t){o(t)}}function a(e){try{c(s["throw"](e))}catch(t){o(t)}}function c(e){e.done?i(e.value):n(e.value).then(r,a)}c((s=s.apply(e,t||[])).next())}))};function y(e){const t=e;return Array.isArray(t.items)}function O(e){const t=e;return!!t.picks&&t.additionalPicks instanceof Promise}(function(e){e[e["NO_ACTION"]=0]="NO_ACTION",e[e["CLOSE_PICKER"]=1]="CLOSE_PICKER",e[e["REFRESH_PICKER"]=2]="REFRESH_PICKER",e[e["REMOVE_ITEM"]=3]="REMOVE_ITEM"})(s||(s={}));class k extends a["a"]{constructor(e,t){super(),this.prefix=e,this.options=t}provide(e,t){var i;const n=new a["b"];e.canAcceptInBackground=!!(null===(i=this.options)||void 0===i?void 0:i.canAcceptInBackground),e.matchOnLabel=e.matchOnDescription=e.matchOnDetail=e.sortByLabel=!1;let o=void 0;const r=n.add(new a["d"]),c=()=>m(this,void 0,void 0,(function*(){const i=r.value=new a["b"];null===o||void 0===o||o.dispose(!0),e.busy=!1,o=new S["b"](t);const s=o.token,n=e.value.substr(this.prefix.length).trim(),c=this._getPicks(n,i,s),l=(t,i)=>{var s;let o,r=void 0;if(y(t)?(o=t.items,r=t.active):o=t,0===o.length){if(i)return!1;n.length>0&&(null===(s=this.options)||void 0===s?void 0:s.noResultsPick)&&(o=[this.options.noResultsPick])}return e.items=o,r&&(e.activeItems=[r]),!0};if(null===c);else if(O(c)){let t=!1,i=!1;yield Promise.all([(()=>m(this,void 0,void 0,(function*(){yield Object(v["r"])(k.FAST_PICKS_RACE_DELAY),s.isCancellationRequested||i||(t=l(c.picks,!0))})))(),(()=>m(this,void 0,void 0,(function*(){e.busy=!0;try{const n=yield c.additionalPicks;if(s.isCancellationRequested)return;let o,r,a=void 0;y(c.picks)?(o=c.picks.items,a=c.picks.active):o=c.picks;let d=void 0;if(y(n)?(r=n.items,d=n.active):r=n,r.length>0||!t){let t=void 0;if(!a&&!d){const i=e.activeItems[0];i&&-1!==o.indexOf(i)&&(t=i)}l({items:[...o,...r],active:a||d||t})}}finally{s.isCancellationRequested||(e.busy=!1),i=!0}})))()])}else if(c instanceof Promise){e.busy=!0;try{const t=yield c;if(s.isCancellationRequested)return;l(t)}finally{s.isCancellationRequested||(e.busy=!1)}}else l(c)}));return n.add(e.onDidChangeValue(()=>c())),c(),n.add(e.onDidAccept(t=>{const[i]=e.selectedItems;"function"===typeof(null===i||void 0===i?void 0:i.accept)&&(t.inBackground||e.hide(),i.accept(e.keyMods,t))})),n.add(e.onDidTriggerItemButton(({button:i,item:n})=>m(this,void 0,void 0,(function*(){var o,r;if("function"===typeof n.trigger){const a=null!==(r=null===(o=n.buttons)||void 0===o?void 0:o.indexOf(i))&&void 0!==r?r:-1;if(a>=0){const i=n.trigger(a,e.keyMods),o="number"===typeof i?i:yield i;if(t.isCancellationRequested)return;switch(o){case s.NO_ACTION:break;case s.CLOSE_PICKER:e.hide();break;case s.REFRESH_PICKER:c();break;case s.REMOVE_ITEM:{const t=e.items.indexOf(n);if(-1!==t){const i=e.items.slice(),s=i.splice(t,1),n=e.activeItems.filter(e=>e!==s[0]),o=e.keepScrollPosition;e.keepScrollPosition=!0,e.items=i,n&&(e.activeItems=n),e.keepScrollPosition=o}break}}}}})))),n}}k.FAST_PICKS_RACE_DELAY=200;var C=i("03e8"),w=i("5d75"),_=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},j=function(e,t){return function(i,s){t(i,s,e)}},x=function(e,t,i,s){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function r(e){try{c(s.next(e))}catch(t){o(t)}}function a(e){try{c(s["throw"](e))}catch(t){o(t)}}function c(e){e.done?i(e.value):n(e.value).then(r,a)}c((s=s.apply(e,t||[])).next())}))};let E=class e extends k{constructor(t,i,s,n,o,r){super(e.PREFIX,t),this.instantiationService=i,this.keybindingService=s,this.commandService=n,this.telemetryService=o,this.dialogService=r,this.commandsHistory=this._register(this.instantiationService.createInstance(K)),this.options=t}_getPicks(t,i,s){return x(this,void 0,void 0,(function*(){const r=yield this.getCommandPicks(i,s);if(s.isCancellationRequested)return[];const a=[];for(const i of r){const s=Object(d["q"])(e.WORD_FILTER(t,i.label)),n=i.commandAlias?Object(d["q"])(e.WORD_FILTER(t,i.commandAlias)):void 0;s||n?(i.highlights={label:s,detail:this.options.showAlias?n:void 0},a.push(i)):t===i.commandId&&a.push(i)}const c=new Map;for(const e of a){const t=c.get(e.label);t?(e.description=e.commandId,t.description=t.commandId):c.set(e.label,e)}a.sort((e,t)=>{const i=this.commandsHistory.peek(e.commandId),s=this.commandsHistory.peek(t.commandId);return i&&s?i>s?-1:1:i?-1:s?1:e.label.localeCompare(t.label)});const h=[];let g=!1;for(let e=0;e<a.length;e++){const t=a[e],i=this.keybindingService.lookupKeybinding(t.commandId),s=i?Object(u["a"])("commandPickAriaLabelWithKeybinding","{0}, {1}",t.label,i.getAriaLabel()):t.label;0===e&&this.commandsHistory.peek(t.commandId)&&(h.push({type:"separator",label:Object(u["a"])("recentlyUsed","recently used")}),g=!0),0!==e&&g&&!this.commandsHistory.peek(t.commandId)&&(h.push({type:"separator",label:Object(u["a"])("morecCommands","other commands")}),g=!1),h.push(Object.assign(Object.assign({},t),{ariaLabel:s,detail:this.options.showAlias&&t.commandAlias!==t.label?t.commandAlias:void 0,keybinding:i,accept:()=>x(this,void 0,void 0,(function*(){this.commandsHistory.push(t.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:t.commandId,from:"quick open"});try{yield this.commandService.executeCommand(t.commandId)}catch(e){Object(o["f"])(e)||this.dialogService.show(l["a"].Error,Object(u["a"])("canNotRun","Command '{0}' resulted in an error ({1})",t.label,Object(n["a"])(e)))}}))}))}return h}))}};E.PREFIX=">",E.WORD_FILTER=Object(r["j"])(r["h"],r["i"],r["f"]),E=_([j(1,f["a"]),j(2,b["a"]),j(3,h["b"]),j(4,w["a"]),j(5,p["a"])],E);let K=class e extends a["a"]{constructor(e,t){super(),this.storageService=e,this.configurationService=t,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=e.getConfiguredCommandHistoryLength(this.configurationService),e.cache&&e.cache.limit!==this.configuredCommandsHistoryLength&&(e.cache.limit=this.configuredCommandsHistoryLength,e.saveState(this.storageService))}load(){const t=this.storageService.get(e.PREF_KEY_CACHE,0);let i;if(t)try{i=JSON.parse(t)}catch(n){}const s=e.cache=new c["a"](this.configuredCommandsHistoryLength,1);if(i){let e;e=i.usesLRU?i.entries:i.entries.sort((e,t)=>e.value-t.value),e.forEach(e=>s.set(e.key,e.value))}e.counter=this.storageService.getNumber(e.PREF_KEY_COUNTER,0,e.counter)}push(t){e.cache&&(e.cache.set(t,e.counter++),e.saveState(this.storageService))}peek(t){var i;return null===(i=e.cache)||void 0===i?void 0:i.peek(t)}static saveState(t){if(!e.cache)return;const i={usesLRU:!0,entries:[]};e.cache.forEach((e,t)=>i.entries.push({key:t,value:e})),t.store(e.PREF_KEY_CACHE,JSON.stringify(i),0,0),t.store(e.PREF_KEY_COUNTER,e.counter,0,0)}static getConfiguredCommandHistoryLength(t){var i,s;const n=t.getValue(),o=null===(s=null===(i=n.workbench)||void 0===i?void 0:i.commandPalette)||void 0===s?void 0:s.history;return"number"===typeof o?o:e.DEFAULT_COMMANDS_HISTORY_LENGTH}};K.DEFAULT_COMMANDS_HISTORY_LENGTH=50,K.PREF_KEY_CACHE="commandPalette.mru.cache",K.PREF_KEY_COUNTER="commandPalette.mru.counter",K.counter=1,K=_([j(0,C["a"]),j(1,g["a"])],K)},d3d7:function(e,t,i){"use strict";i.d(t,"b",(function(){return r})),i.d(t,"c",(function(){return a})),i.d(t,"a",(function(){return d})),i.d(t,"d",(function(){return u}));var s=i("308f"),n=i("a666"),o=i("0a0f");const r=Object(o["c"])("logService");var a;(function(e){e[e["Trace"]=0]="Trace",e[e["Debug"]=1]="Debug",e[e["Info"]=2]="Info",e[e["Warning"]=3]="Warning",e[e["Error"]=4]="Error",e[e["Critical"]=5]="Critical",e[e["Off"]=6]="Off"})(a||(a={}));const c=a.Info;class l extends n["a"]{constructor(){super(...arguments),this.level=c,this._onDidChangeLogLevel=this._register(new s["b"])}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}}class d extends l{constructor(e=c){super(),this.setLevel(e)}trace(e,...t){this.getLevel()<=a.Trace&&console.log("%cTRACE","color: #888",e,...t)}debug(e,...t){this.getLevel()<=a.Debug&&console.log("%cDEBUG","background: #eee; color: #888",e,...t)}info(e,...t){this.getLevel()<=a.Info&&console.log("%c INFO","color: #33f",e,...t)}error(e,...t){this.getLevel()<=a.Error&&console.log("%c ERR","color: #f33",e,...t)}dispose(){}}class u extends n["a"]{constructor(e){super(),this.logger=e,this._register(e)}getLevel(){return this.logger.getLevel()}trace(e,...t){this.logger.trace(e,...t)}debug(e,...t){this.logger.debug(e,...t)}info(e,...t){this.logger.info(e,...t)}error(e,...t){this.logger.error(e,...t)}}},e42a:function(e,t,i){"use strict";i.d(t,"a",(function(){return w}));var s=i("2504"),n=i("c3f2"),o=i("4779"),r=i("4fc3"),a=i("0a0f"),c=i("ad8e"),l=i("93d9"),d=i("5fe7"),u=i("0bfb"),h=i("a666"),g=i("2f1e"),p=i("66bd"),f=i("89cd"),b=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},v=function(e,t){return function(i,s){t(i,s,e)}};let S=class extends h["a"]{constructor(e,t){super(),this.quickInputService=e,this.instantiationService=t,this.registry=f["a"].as(g["b"].Quickaccess),this.mapProviderToDescriptor=new Map,this.lastAcceptedPickerValues=new Map,this.visibleQuickAccess=void 0}show(e="",t){this.doShowOrPick(e,!1,t)}doShowOrPick(e,t,i){var n;const[o,r]=this.getOrInstantiateProvider(e),a=this.visibleQuickAccess,c=null===a||void 0===a?void 0:a.descriptor;if(a&&r&&c===r)return e===r.prefix||(null===i||void 0===i?void 0:i.preserveValue)||(a.picker.value=e),void this.adjustValueSelection(a.picker,r,i);if(r&&!(null===i||void 0===i?void 0:i.preserveValue)){let t=void 0;if(a&&c&&c!==r){const e=a.value.substr(c.prefix.length);e&&(t=`${r.prefix}${e}`)}if(!t){const e=null===o||void 0===o?void 0:o.defaultFilterValue;e===g["a"].LAST?t=this.lastAcceptedPickerValues.get(r):"string"===typeof e&&(t=`${r.prefix}${e}`)}"string"===typeof t&&(e=t)}const l=new h["b"],f=l.add(this.quickInputService.createQuickPick());f.value=e,this.adjustValueSelection(f,r,i),f.placeholder=null===r||void 0===r?void 0:r.placeholder,f.quickNavigate=null===i||void 0===i?void 0:i.quickNavigateConfiguration,f.hideInput=!!f.quickNavigate&&!a,("number"===typeof(null===i||void 0===i?void 0:i.itemActivation)||(null===i||void 0===i?void 0:i.quickNavigateConfiguration))&&(f.itemActivation=null!==(n=null===i||void 0===i?void 0:i.itemActivation)&&void 0!==n?n:p["b"].SECOND),f.contextKey=null===r||void 0===r?void 0:r.contextKey,f.filterValue=e=>e.substring(r?r.prefix.length:0),(null===r||void 0===r?void 0:r.placeholder)&&(f.ariaLabel=null===r||void 0===r?void 0:r.placeholder);let b=void 0;t&&(b=new d["b"],l.add(Object(u["a"])(f.onWillAccept)(e=>{e.veto(),f.hide()}))),l.add(this.registerPickerListeners(f,o,r,e));const v=l.add(new s["b"]);return o&&l.add(o.provide(f,v.token)),Object(u["a"])(f.onDidHide)(()=>{0===f.selectedItems.length&&v.cancel(),l.dispose(),null===b||void 0===b||b.complete(f.selectedItems.slice(0))}),f.show(),t?null===b||void 0===b?void 0:b.p:void 0}adjustValueSelection(e,t,i){var s;let n;n=(null===i||void 0===i?void 0:i.preserveValue)?[e.value.length,e.value.length]:[null!==(s=null===t||void 0===t?void 0:t.prefix.length)&&void 0!==s?s:0,e.value.length],e.valueSelection=n}registerPickerListeners(e,t,i,s){const n=new h["b"],o=this.visibleQuickAccess={picker:e,descriptor:i,value:s};return n.add(Object(h["j"])(()=>{o===this.visibleQuickAccess&&(this.visibleQuickAccess=void 0)})),n.add(e.onDidChangeValue(e=>{const[i]=this.getOrInstantiateProvider(e);i!==t?this.show(e,{preserveValue:!0}):o.value=e})),i&&n.add(e.onDidAccept(()=>{this.lastAcceptedPickerValues.set(i,e.value)})),n}getOrInstantiateProvider(e){const t=this.registry.getQuickAccessProvider(e);if(!t)return[void 0,void 0];let i=this.mapProviderToDescriptor.get(t);return i||(i=this.instantiationService.createInstance(t.ctor),this.mapProviderToDescriptor.set(t,i)),[i,t]}};S=b([v(0,p["a"]),v(1,a["a"])],S);var m=i("303e"),y=i("a6d7"),O=i("b7d0"),k=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},C=function(e,t){return function(i,s){t(i,s,e)}};let w=class extends O["c"]{constructor(e,t,i,s,n){super(i),this.instantiationService=e,this.contextKeyService=t,this.accessibilityService=s,this.layoutService=n,this.contexts=new Map}get controller(){return this._controller||(this._controller=this._register(this.createController())),this._controller}get quickAccess(){return this._quickAccess||(this._quickAccess=this._register(this.instantiationService.createInstance(S))),this._quickAccess}createController(e=this.layoutService,t){var i,s;const o={idPrefix:"quickInput_",container:e.container,ignoreFocusOut:()=>!1,isScreenReaderOptimized:()=>this.accessibilityService.isScreenReaderOptimized(),backKeybindingLabel:()=>{},setContextKey:e=>this.setContextKey(e),returnFocus:()=>e.focus(),createList:(e,t,i,s,n)=>this.instantiationService.createInstance(l["d"],e,t,i,s,n),styles:this.computeStyles()},r=this._register(new n["a"](Object.assign(Object.assign({},o),t)));return r.layout(e.dimension,null!==(s=null===(i=e.offset)||void 0===i?void 0:i.top)&&void 0!==s?s:0),this._register(e.onDidLayout(t=>{var i,s;return r.layout(t,null!==(s=null===(i=e.offset)||void 0===i?void 0:i.top)&&void 0!==s?s:0)})),this._register(r.onShow(()=>this.resetContextKeys())),this._register(r.onHide(()=>this.resetContextKeys())),r}setContextKey(e){let t;e&&(t=this.contexts.get(e),t||(t=new r["c"](e,!1).bindTo(this.contextKeyService),this.contexts.set(e,t))),t&&t.get()||(this.resetContextKeys(),t&&t.set(!0))}resetContextKeys(){this.contexts.forEach(e=>{e.get()&&e.reset()})}pick(e,t={},i=s["a"].None){return this.controller.pick(e,t,i)}createQuickPick(){return this.controller.createQuickPick()}updateStyles(){this.controller.applyStyles(this.computeStyles())}computeStyles(){return{widget:Object.assign({},Object(y["d"])(this.theme,{quickInputBackground:m["Dc"],quickInputForeground:m["Ec"],quickInputTitleBackground:m["Ic"],contrastBorder:m["i"],widgetShadow:m["Xc"]})),inputBox:Object(y["d"])(this.theme,{inputForeground:m["wb"],inputBackground:m["ub"],inputBorder:m["vb"],inputValidationInfoBackground:m["Ab"],inputValidationInfoForeground:m["Cb"],inputValidationInfoBorder:m["Bb"],inputValidationWarningBackground:m["Db"],inputValidationWarningForeground:m["Fb"],inputValidationWarningBorder:m["Eb"],inputValidationErrorBackground:m["xb"],inputValidationErrorForeground:m["zb"],inputValidationErrorBorder:m["yb"]}),countBadge:Object(y["d"])(this.theme,{badgeBackground:m["d"],badgeForeground:m["e"],badgeBorder:m["i"]}),button:Object(y["d"])(this.theme,{buttonForeground:m["g"],buttonBackground:m["f"],buttonHoverBackground:m["h"],buttonBorder:m["i"]}),progressBar:Object(y["d"])(this.theme,{progressBarBackground:m["Cc"]}),keybindingLabel:Object(y["d"])(this.theme,{keybindingLabelBackground:m["Gb"],keybindingLabelForeground:m["Jb"],keybindingLabelBorder:m["Hb"],keybindingLabelBottomBorder:m["Ib"],keybindingLabelShadow:m["Xc"]}),list:Object(y["d"])(this.theme,{listBackground:m["Dc"],listInactiveFocusForeground:m["Gc"],listInactiveSelectionIconForeground:m["Hc"],listInactiveFocusBackground:m["Fc"],listFocusOutline:m["b"],listInactiveFocusOutline:m["b"],pickerGroupBorder:m["xc"],pickerGroupForeground:m["yc"]})}}};w=k([C(0,a["a"]),C(1,r["b"]),C(2,O["b"]),C(3,o["b"]),C(4,c["a"])],w)},f174:function(e,t,i){"use strict";i.d(t,"a",(function(){return p}));var s=i("11f7"),n=i("e32d"),o=i("b835"),r=i("a60f"),a=i("308f"),c=i("a666"),l=i("5bd7"),d=i("303e"),u=i("b7d0"),h=function(e,t,i,s){var n,o=arguments.length,r=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)r=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(r=(o<3?n(r):o>3?n(t,i,r):n(t,i))||r);return o>3&&r&&Object.defineProperty(t,i,r),r},g=function(e,t){return function(i,s){t(i,s,e)}};let p=class extends c["a"]{constructor(e,t,i={},c){var l;super(),this._link=t,this._enabled=!0,this.el=Object(s["q"])(e,Object(s["a"])("a.monaco-link",{tabIndex:null!==(l=t.tabIndex)&&void 0!==l?l:0,href:t.href,title:t.title},t.label)),this.el.setAttribute("role","button");const d=this._register(new n["a"](this.el,"click")),u=this._register(new n["a"](this.el,"keypress")),h=a["c"].chain(u.event).map(e=>new o["a"](e)).filter(e=>3===e.keyCode).event,g=this._register(new n["a"](this.el,r["a"].Tap)).event;this._register(r["b"].addTarget(this.el));const p=a["c"].any(d.event,h,g);this._register(p(e=>{this.enabled&&(s["c"].stop(e,!0),(null===i||void 0===i?void 0:i.opener)?i.opener(this._link.href):c.open(this._link.href,{allowCommands:!0}))})),this.enabled=!0}get enabled(){return this._enabled}set enabled(e){e?(this.el.setAttribute("aria-disabled","false"),this.el.tabIndex=0,this.el.style.pointerEvents="auto",this.el.style.opacity="1",this.el.style.cursor="pointer",this._enabled=!1):(this.el.setAttribute("aria-disabled","true"),this.el.tabIndex=-1,this.el.style.pointerEvents="none",this.el.style.opacity="0.4",this.el.style.cursor="default",this._enabled=!0),this._enabled=e}};p=h([g(3,l["a"])],p),Object(u["f"])((e,t)=>{const i=e.getColor(d["Tc"]);i&&t.addRule(`.monaco-link { color: ${i}; }`);const s=e.getColor(d["Sc"]);s&&t.addRule(`.monaco-link:hover { color: ${s}; }`)})}}]);
Coded by KALI :v Greetz to DR HARD ../ kali.zbi@hotmail.com