"use strict";(self.webpackChunkfeno_web=self.webpackChunkfeno_web||[]).push([["3670"],{50804(e,t,i){var n,r;i.d(t,{_$:()=>n,_Y:()=>s,u1:()=>a}),(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=a("instantiationService");function a(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 a(e){return e===n.DARK||e===n.HIGH_CONTRAST_DARK}i.d(t,{Bb:()=>s,HD:()=>a,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:()=>u,Gy:()=>c,Pz:()=>d,Yf:()=>o,lR:()=>l,zy:()=>g});var n=i(76161),r=i(55241),s=i(50804),a=i(25780),h=i(69036);let c=(0,s.u1)("themeService");function o(e){return{id:e}}function d(e){switch(e){case h.zM.DARK:return"vs-dark";case h.zM.HIGH_CONTRAST_DARK:return"hc-black";case h.zM.HIGH_CONTRAST_LIGHT:return"hc-light";default:return"vs"}}let u={ThemingContribution:"base.contributions.theming"},T=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 T.onColorThemeChange(e)}a.O.add(u.ThemingContribution,T);class l 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(){}}}}]);