"use strict";(self.webpackChunkfeno_web=self.webpackChunkfeno_web||[]).push([["188"],{6002(e,t,i){i.r(t),i.d(t,{ISemanticTokensStylingService:()=>n});let n=(0,i(50804).u1)("semanticTokensStylingService")},3959(e,t,i){i.r(t),i.d(t,{SemanticTokensStylingService:()=>d});var n=i(55241),r=i(81251),s=i(70597),c=i(33574),a=i(96031),h=i(6002),o=i(67087),u=function(e,t){return function(i,n){t(i,n,e)}};let d=class extends n.jG{constructor(e,t,i){super(),this._themeService=e,this._logService=t,this._languageService=i,this._caches=new WeakMap,this._register(this._themeService.onDidColorThemeChange(()=>{this._caches=new WeakMap}))}getStyling(e){return this._caches.has(e)||this._caches.set(e,new a.SemanticTokensProviderStyling(e.getLegend(),this._themeService,this._languageService,this._logService)),this._caches.get(e)}};d=function(e,t,i,n){var r,s=arguments.length,c=s<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(c=(s<3?r(c):s>3?r(t,i,c):r(t,i))||c);return s>3&&c&&Object.defineProperty(t,i,c),c}([u(0,s.Gy),u(1,c.rr),u(2,r.L)],d),(0,o.v)(h.ISemanticTokensStylingService,d,1)},5803(e,t,i){i.d(t,{d:()=>n});class n{constructor(e,t=[],i=!1){this.ctor=e,this.staticArguments=t,this.supportsDelayedInstantiation=i}}},67087(e,t,i){i.d(t,{N:()=>c,v:()=>s});var n=i(5803);let r=[];function s(e,t,i){t instanceof n.d||(t=new n.d(t,[],!!i)),r.push([e,t])}function c(){return r}},50804(e,t,i){var n,r;i.d(t,{_$:()=>n,_Y:()=>s,u1:()=>c}),(r=n||(n={})).serviceIds=new Map,r.DI_TARGET="$di$target",r.DI_DEPENDENCIES="$di$dependencies",r.getServiceDependencies=function(e){return e[r.DI_DEPENDENCIES]||[]};let s=c("instantiationService");function c(e){if(n.serviceIds.has(e))return n.serviceIds.get(e);let t=function(e,i,r){if(3!=arguments.length)throw Error("@IServiceName-decorator can only be used to decorate a parameter");e[n.DI_TARGET]===e?e[n.DI_DEPENDENCIES].push({id:t,index:r}):(e[n.DI_DEPENDENCIES]=[{id:t,index:r}],e[n.DI_TARGET]=e)};return t.toString=()=>e,n.serviceIds.set(e,t),t}},25780(e,t,i){i.d(t,{O:()=>s});var n=i(41999),r=i(26216);let s=new class{constructor(){this.data=new Map}add(e,t){n.ok(r.Kg(e)),n.ok(r.Gv(t)),n.ok(!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}}},69036(e,t,i){var n,r;function s(e){return e===n.HIGH_CONTRAST_DARK||e===n.HIGH_CONTRAST_LIGHT}function c(e){return e===n.DARK||e===n.HIGH_CONTRAST_DARK}i.d(t,{Bb:()=>s,HD:()=>c,zM:()=>n}),(r=n||(n={})).DARK="dark",r.LIGHT="light",r.HIGH_CONTRAST_DARK="hcDark",r.HIGH_CONTRAST_LIGHT="hcLight"},70597(e,t,i){i.d(t,{Fd:()=>d,Gy:()=>h,Pz:()=>u,Yf:()=>o,lR:()=>T,zy:()=>g});var n=i(76161),r=i(55241),s=i(50804),c=i(25780),a=i(69036);let h=(0,s.u1)("themeService");function o(e){return{id:e}}function u(e){switch(e){case a.zM.DARK:return"vs-dark";case a.zM.HIGH_CONTRAST_DARK:return"hc-black";case a.zM.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}let d={ThemingContribution:"base.contributions.theming"},l=new class{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new n.vl}onColorThemeChange(e){return this.themingParticipants.push(e),this.onThemingParticipantAddedEmitter.fire(e),(0,r.s)(()=>{let t=this.themingParticipants.indexOf(e);this.themingParticipants.splice(t,1)})}getThemingParticipants(){return this.themingParticipants}};function g(e){return l.onColorThemeChange(e)}c.O.add(d.ThemingContribution,l);class T extends r.jG{constructor(e){super(),this.themeService=e,this.theme=e.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(e=>this.onThemeChange(e)))}onThemeChange(e){this.theme=e,this.updateStyles()}updateStyles(){}}}}]);