diff --git a/8909.0356b204.async.js b/8909.bf822f6b.async.js
similarity index 99%
rename from 8909.0356b204.async.js
rename to 8909.bf822f6b.async.js
index 71080f876f..d3c1ac9ec5 100644
--- a/8909.0356b204.async.js
+++ b/8909.bf822f6b.async.js
@@ -255,7 +255,7 @@ Please report this to https://github.com/markedjs/marked.`,ut.silent)return"
A
.extension-editor ${He} {
color: ${Ae};
}
- `)}});var K=function(Ht,ze,Xe,Ze){var Ae=arguments.length,He=Ae<3?ze:Ze===null?Ze=Object.getOwnPropertyDescriptor(ze,Xe):Ze,Et;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")He=Reflect.decorate(Ht,ze,Xe,Ze);else for(var Wt=Ht.length-1;Wt>=0;Wt--)(Et=Ht[Wt])&&(He=(Ae<3?Et(He):Ae>3?Et(ze,Xe,He):Et(ze,Xe))||He);return Ae>3&&He&&Object.defineProperty(ze,Xe,He),He},ie=function(Ht,ze){return function(Xe,Ze){ze(Xe,Ze,Ht)}};class te{constructor(ze,Xe,Ze,Ae,He){this._openerService=Ae,this._labelService=He,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new H.SL,this._editor=Xe;const Et=document.createElement("div");Et.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),Et.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),Et.appendChild(this._relatedBlock),this._disposables.add(z.mu(this._relatedBlock,"click",Wt=>{Wt.preventDefault();const oi=this._relatedDiagnostics.get(Wt.target);oi&&Ze(oi)})),this._scrollable=new oe.NB(Et,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),ze.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(Wt=>{Et.style.left=`-${Wt.scrollLeft}px`,Et.style.top=`-${Wt.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,H.B9)(this._disposables)}update(ze){const{source:Xe,message:Ze,relatedInformation:Ae,code:He}=ze;let Et=((Xe==null?void 0:Xe.length)||0)+2;He&&(typeof He=="string"?Et+=He.length:Et+=He.value.length);const Wt=(0,a.uq)(Ze);this._lines=Wt.length,this._longestLineLength=0;for(const Ti of Wt)this._longestLineLength=Math.max(Ti.length+Et,this._longestLineLength);z.PO(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(ze)),this._editor.applyFontInfo(this._messageBlock);let oi=this._messageBlock;for(const Ti of Wt)oi=document.createElement("div"),oi.innerText=Ti,Ti===""&&(oi.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(oi);if(Xe||He){const Ti=document.createElement("span");if(Ti.classList.add("details"),oi.appendChild(Ti),Xe){const Ni=document.createElement("span");Ni.innerText=Xe,Ni.classList.add("source"),Ti.appendChild(Ni)}if(He)if(typeof He=="string"){const Ni=document.createElement("span");Ni.innerText=`(${He})`,Ni.classList.add("code"),Ti.appendChild(Ni)}else{this._codeLink=z.$("a.code-link"),this._codeLink.setAttribute("href",`${He.target.toString()}`),this._codeLink.onclick=ai=>{this._openerService.open(He.target,{allowCommands:!0}),ai.preventDefault(),ai.stopPropagation()};const Ni=z.R3(this._codeLink,z.$("span"));Ni.innerText=He.value,Ti.appendChild(this._codeLink)}}if(z.PO(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,y.Of)(Ae)){const Ti=this._relatedBlock.appendChild(document.createElement("div"));Ti.style.paddingTop=`${Math.floor(this._editor.getOption(58)*.66)}px`,this._lines+=1;for(const Ni of Ae){let ai=document.createElement("div"),Pt=document.createElement("a");Pt.classList.add("filename"),Pt.innerText=`${(0,re.p)(Ni.resource)}(${Ni.startLineNumber}, ${Ni.startColumn}): `,Pt.title=this._labelService.getUriLabel(Ni.resource),this._relatedDiagnostics.set(Pt,Ni);let Gt=document.createElement("span");Gt.innerText=Ni.message,ai.appendChild(Pt),ai.appendChild(Gt),this._lines+=1,Ti.appendChild(ai)}}const ni=this._editor.getOption(43),hi=Math.ceil(ni.typicalFullwidthCharacterWidth*this._longestLineLength*.75),Di=ni.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:hi,scrollHeight:Di})}layout(ze,Xe){this._scrollable.getDomNode().style.height=`${ze}px`,this._scrollable.getDomNode().style.width=`${Xe}px`,this._scrollable.setScrollDimensions({width:Xe,height:ze})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(ze){let Xe="";switch(ze.severity){case C.ZL.Error:Xe=b.N("Error","Error");break;case C.ZL.Warning:Xe=b.N("Warning","Warning");break;case C.ZL.Info:Xe=b.N("Info","Info");break;case C.ZL.Hint:Xe=b.N("Hint","Hint");break}let Ze=b.N("marker aria","{0} at {1}. ",Xe,ze.startLineNumber+":"+ze.startColumn);const Ae=this._editor.getModel();return Ae&&ze.startLineNumber<=Ae.getLineCount()&&ze.startLineNumber>=1&&(Ze=`${Ae.getLineContent(ze.startLineNumber)}, ${Ze}`),Ze}}let ge=class Sl extends J.vk{constructor(ze,Xe,Ze,Ae,He,Et,Wt){super(ze,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},He),this._themeService=Xe,this._openerService=Ze,this._menuService=Ae,this._contextKeyService=Et,this._labelService=Wt,this._callOnDispose=new H.SL,this._onDidSelectRelatedInformation=new E.Q5,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=C.ZL.Warning,this._backgroundColor=se.Il.white,this._applyTheme(Xe.getColorTheme()),this._callOnDispose.add(Xe.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(ze){this._backgroundColor=ze.getColor(fe);let Xe=we,Ze=ue;this._severity===C.ZL.Warning?(Xe=ce,Ze=Ve):this._severity===C.ZL.Info&&(Xe=We,Ze=ae);const Ae=ze.getColor(Xe),He=ze.getColor(Ze);this.style({arrowColor:Ae,frameColor:Ae,headerBackgroundColor:He,primaryHeadingColor:ze.getColor(J.IH),secondaryHeadingColor:ze.getColor(J.R7)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(ze){super._fillHead(ze),this._disposables.add(this._actionbarWidget.actionRunner.onBeforeRun(Ae=>this.editor.focus()));const Xe=[],Ze=this._menuService.createMenu(Sl.TitleMenu,this._contextKeyService);(0,Z.vr)(Ze,void 0,Xe),this._actionbarWidget.push(Xe,{label:!1,icon:!0,index:0}),Ze.dispose()}_fillTitleIcon(ze){this._icon=z.R3(ze,z.$(""))}_fillBody(ze){this._parentContainer=ze,ze.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),ze.appendChild(this._container),this._message=new te(this._container,this.editor,Xe=>this._onDidSelectRelatedInformation.fire(Xe),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(ze,Xe,Ze){this._container.classList.remove("stale"),this._message.update(ze),this._severity=ze.severity,this._applyTheme(this._themeService.getColorTheme());let Ae=G.e.lift(ze);const He=this.editor.getPosition();let Et=He&&Ae.containsPosition(He)?He:Ae.getStartPosition();super.show(Et,this.computeRequiredHeight());const Wt=this.editor.getModel();if(Wt){const oi=Ze>1?b.N("problems","{0} of {1} problems",Xe,Ze):b.N("change","{0} of {1} problem",Xe,Ze);this.setTitle((0,De.EZ)(Wt.uri),oi)}this._icon.className=`codicon ${V.className(C.ZL.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(Et,0),this.editor.focus()}updateMarker(ze){this._container.classList.remove("stale"),this._message.update(ze)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(ze,Xe){super._doLayoutBody(ze,Xe),this._heightInPixel=ze,this._message.layout(ze,Xe),this._container.style.height=`${ze}px`}_onWidth(ze){this._message.layout(this._heightInPixel,ze)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};ge.TitleMenu=new L.eH("gotoErrorTitleMenu"),ge=K([ie(1,R.XE),ie(2,le.v4),ie(3,L.co),ie(4,s.TG),ie(5,T.i6),ie(6,Q.e)],ge);let ye=(0,j.kw)(j.lX,j.b6),ve=(0,j.kw)(j.uo,j.pW),Fe=(0,j.kw)(j.c6,j.T8);const we=(0,j.P6)("editorMarkerNavigationError.background",{dark:ye,light:ye,hc:j.lR},b.N("editorMarkerNavigationError","Editor marker navigation widget error color.")),ue=(0,j.P6)("editorMarkerNavigationError.headerBackground",{dark:(0,j.Zn)(we,.1),light:(0,j.Zn)(we,.1),hc:null},b.N("editorMarkerNavigationErrorHeaderBackground","Editor marker navigation widget error heading background.")),ce=(0,j.P6)("editorMarkerNavigationWarning.background",{dark:ve,light:ve,hc:j.lR},b.N("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),Ve=(0,j.P6)("editorMarkerNavigationWarning.headerBackground",{dark:(0,j.Zn)(ce,.1),light:(0,j.Zn)(ce,.1),hc:"#0C141F"},b.N("editorMarkerNavigationWarningBackground","Editor marker navigation widget warning heading background.")),We=(0,j.P6)("editorMarkerNavigationInfo.background",{dark:Fe,light:Fe,hc:j.lR},b.N("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),ae=(0,j.P6)("editorMarkerNavigationInfo.headerBackground",{dark:(0,j.Zn)(We,.1),light:(0,j.Zn)(We,.1),hc:null},b.N("editorMarkerNavigationInfoHeaderBackground","Editor marker navigation widget info heading background.")),fe=(0,j.P6)("editorMarkerNavigation.background",{dark:j.cv,light:j.cv,hc:j.cv},b.N("editorMarkerNavigationBackground","Editor marker navigation widget background."));(0,R.Ic)((Ht,ze)=>{const Xe=Ht.getColor(j.ur);Xe&&ze.addRule(`.monaco-editor .marker-widget a.code-link span { color: ${Xe}; }`);const Ze=Ht.getColor(j.sg);Ze&&ze.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${Ze}; }`)});var ne=function(Ht,ze,Xe,Ze){var Ae=arguments.length,He=Ae<3?ze:Ze===null?Ze=Object.getOwnPropertyDescriptor(ze,Xe):Ze,Et;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")He=Reflect.decorate(Ht,ze,Xe,Ze);else for(var Wt=Ht.length-1;Wt>=0;Wt--)(Et=Ht[Wt])&&(He=(Ae<3?Et(He):Ae>3?Et(ze,Xe,He):Et(ze,Xe))||He);return Ae>3&&He&&Object.defineProperty(ze,Xe,He),He},W=function(Ht,ze){return function(Xe,Ze){ze(Xe,Ze,Ht)}},$=function(Ht,ze,Xe,Ze){function Ae(He){return He instanceof Xe?He:new Xe(function(Et){Et(He)})}return new(Xe||(Xe=Promise))(function(He,Et){function Wt(hi){try{ni(Ze.next(hi))}catch(Di){Et(Di)}}function oi(hi){try{ni(Ze.throw(hi))}catch(Di){Et(Di)}}function ni(hi){hi.done?He(hi.value):Ae(hi.value).then(Wt,oi)}ni((Ze=Ze.apply(Ht,ze||[])).next())})};let ee=class yr{constructor(ze,Xe,Ze,Ae,He){this._markerNavigationService=Xe,this._contextKeyService=Ze,this._editorService=Ae,this._instantiationService=He,this._sessionDispoables=new H.SL,this._editor=ze,this._widgetVisible=vt.bindTo(this._contextKeyService)}static get(ze){return ze.getContribution(yr.ID)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(ze){if(this._model&&this._model.matches(ze))return this._model;let Xe=!1;return this._model&&(Xe=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(ze),Xe&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(ge,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(Ze=>{var Ae,He,Et;(!(!((Ae=this._model)===null||Ae===void 0)&&Ae.selected)||!G.e.containsPosition((He=this._model)===null||He===void 0?void 0:He.selected.marker,Ze.position))&&((Et=this._model)===null||Et===void 0||Et.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const Ze=this._model.find(this._editor.getModel().uri,this._widget.position);Ze?this._widget.updateMarker(Ze.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(Ze=>{this._editorService.openCodeEditor({resource:Ze.resource,options:{pinned:!0,revealIfOpened:!0,selection:G.e.lift(Ze).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(ze=!0){this._cleanUp(),ze&&this._editor.focus()}showAtMarker(ze){if(this._editor.hasModel()){const Xe=this._getOrCreateModel(this._editor.getModel().uri);Xe.resetIndex(),Xe.move(!0,this._editor.getModel(),new D.L(ze.startLineNumber,ze.startColumn)),Xe.selected&&this._widget.showAtMarker(Xe.selected.marker,Xe.selected.index,Xe.selected.total)}}nagivate(ze,Xe){return $(this,void 0,void 0,function*(){if(this._editor.hasModel()){const Ze=this._getOrCreateModel(Xe?void 0:this._editor.getModel().uri);if(Ze.move(ze,this._editor.getModel(),this._editor.getPosition()),!Ze.selected)return;if(Ze.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const Ae=yield this._editorService.openCodeEditor({resource:Ze.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:Ze.selected.marker}},this._editor);Ae&&(yr.get(Ae).close(),yr.get(Ae).nagivate(ze,Xe))}else this._widget.showAtMarker(Ze.selected.marker,Ze.selected.index,Ze.selected.total)}})}};ee.ID="editor.contrib.markerController",ee=ne([W(1,m),W(2,T.i6),W(3,P.$),W(4,s.TG)],ee);class he extends O.R6{constructor(ze,Xe,Ze){super(Ze),this._next=ze,this._multiFile=Xe}run(ze,Xe){return $(this,void 0,void 0,function*(){Xe.hasModel()&&ee.get(Xe).nagivate(this._next,this._multiFile)})}}class Pe extends he{constructor(){super(!0,!1,{id:Pe.ID,label:Pe.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:I.u.focus,primary:578,weight:100},menuOpts:{menuId:ge.TitleMenu,title:Pe.LABEL,icon:(0,M.q5)("marker-navigation-next",h.lA.arrowDown,b.N("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}Pe.ID="editor.action.marker.next",Pe.LABEL=b.N("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class Ye extends he{constructor(){super(!1,!1,{id:Ye.ID,label:Ye.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:I.u.focus,primary:1602,weight:100},menuOpts:{menuId:ge.TitleMenu,title:Pe.LABEL,icon:(0,M.q5)("marker-navigation-previous",h.lA.arrowUp,b.N("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}Ye.ID="editor.action.marker.prev",Ye.LABEL=b.N("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)");class it extends he{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:b.N("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:I.u.focus,primary:66,weight:100},menuOpts:{menuId:L.eH.MenubarGoMenu,title:b.N({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}class rt extends he{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:b.N("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:I.u.focus,primary:1090,weight:100},menuOpts:{menuId:L.eH.MenubarGoMenu,title:b.N({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}}(0,O._K)(ee.ID,ee),(0,O.Qr)(Pe),(0,O.Qr)(Ye),(0,O.Qr)(it),(0,O.Qr)(rt);const vt=new T.uy("markersNavigationVisible",!1),Ft=O._l.bindToContribution(ee.get);(0,O.fK)(new Ft({id:"closeMarkersNavigation",precondition:vt,handler:Ht=>Ht.close(),kbOpts:{weight:150,kbExpr:I.u.focus,primary:9,secondary:[1033]}}))},17645:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{DefinitionAction:function(){return ne}});var h=i(87783),H=i(96297),O=i(50431),P=i(52411),D=i(23345),G=i(72999),I=i(5472),y=i(39528),E=i(44525),p=i(4514),a=i(70827),g=i(20712),w=i(72146),s=i(17373),C=i(68987),f=i(27347),v=i(58085),r=i(12158),l=i(4348),m=i(69323),c=i(9365),b=i(13268),L=i(90689),T=i(7335),M=i(16925),z=i(5898),oe=i(86414),se=i(79504),re=function(it,rt,vt,Ft){var Ht=arguments.length,ze=Ht<3?rt:Ft===null?Ft=Object.getOwnPropertyDescriptor(rt,vt):Ft,Xe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ze=Reflect.decorate(it,rt,vt,Ft);else for(var Ze=it.length-1;Ze>=0;Ze--)(Xe=it[Ze])&&(ze=(Ht<3?Xe(ze):Ht>3?Xe(rt,vt,ze):Xe(rt,vt))||ze);return Ht>3&&ze&&Object.defineProperty(rt,vt,ze),ze},De=function(it,rt){return function(vt,Ft){rt(vt,Ft,it)}};const J=new L.uy("hasSymbols",!1,(0,b.N)("hasSymbols","Whether there are symbol locations that can be navigated via keyboard-only.")),Z=(0,M.yh)("ISymbolNavigationService");let Q=class{constructor(rt,vt,Ft,Ht){this._editorService=vt,this._notificationService=Ft,this._keybindingService=Ht,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=J.bindTo(rt)}reset(){var rt,vt;this._ctxHasSymbols.reset(),(rt=this._currentState)===null||rt===void 0||rt.dispose(),(vt=this._currentMessage)===null||vt===void 0||vt.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(rt){const vt=rt.parent.parent;if(vt.references.length<=1){this.reset();return}this._currentModel=vt,this._currentIdx=vt.references.indexOf(rt),this._ctxHasSymbols.set(!0),this._showMessage();const Ft=new le(this._editorService),Ht=Ft.onDidChange(ze=>{if(this._ignoreEditorChange)return;const Xe=this._editorService.getActiveCodeEditor();if(!Xe)return;const Ze=Xe.getModel(),Ae=Xe.getPosition();if(!Ze||!Ae)return;let He=!1,Et=!1;for(const Wt of vt.references)if((0,c.Xy)(Wt.uri,Ze.uri))He=!0,Et=Et||s.e.containsPosition(Wt.range,Ae);else if(He)break;(!He||!Et)&&this.reset()});this._currentState=(0,m.F8)(Ft,Ht)}revealNext(rt){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const vt=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:vt.uri,options:{selection:s.e.collapseToStart(vt.range),selectionRevealType:3}},rt).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var rt;(rt=this._currentMessage)===null||rt===void 0||rt.dispose();const vt=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),Ft=vt?(0,b.N)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,vt.getLabel()):(0,b.N)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(Ft)}};Q=re([De(0,L.i6),De(1,a.$),De(2,se.lT),De(3,z.d)],Q),(0,T.z)(Z,Q,!0),(0,p.fK)(new class extends p._l{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:J,kbOpts:{weight:100,primary:70}})}runEditorCommand(it,rt){return it.get(Z).revealNext(rt)}}),oe.W.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:J,primary:9,handler(it){it.get(Z).reset()}});let le=class{constructor(rt){this._listener=new Map,this._disposables=new m.SL,this._onDidChange=new l.Q5,this.onDidChange=this._onDidChange.event,this._disposables.add(rt.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(rt.onCodeEditorAdd(this._onDidAddEditor,this)),rt.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,m.B9)(this._listener.values())}_onDidAddEditor(rt){this._listener.set(rt,(0,m.F8)(rt.onDidChangeCursorPosition(vt=>this._onDidChange.fire({editor:rt})),rt.onDidChangeModelContent(vt=>this._onDidChange.fire({editor:rt}))))}_onDidRemoveEditor(rt){var vt;(vt=this._listener.get(rt))===null||vt===void 0||vt.dispose(),this._listener.delete(rt)}};le=re([De(0,a.$)],le);var xe=i(78707),j=i(46838),R=i(96236),V=i(35884),K=i(81641),ie=i(58425),te=function(it,rt,vt,Ft){function Ht(ze){return ze instanceof vt?ze:new vt(function(Xe){Xe(ze)})}return new(vt||(vt=Promise))(function(ze,Xe){function Ze(Et){try{He(Ft.next(Et))}catch(Wt){Xe(Wt)}}function Ae(Et){try{He(Ft.throw(Et))}catch(Wt){Xe(Wt)}}function He(Et){Et.done?ze(Et.value):Ht(Et.value).then(Ze,Ae)}He((Ft=Ft.apply(it,rt||[])).next())})},ge,ye,ve,Fe,we,ue,ce,Ve;R.BH.appendMenuItem(R.eH.EditorContext,{submenu:R.eH.EditorContextPeek,title:b.N("peek.submenu","Peek"),group:"navigation",order:100});const We=new Set;function ae(it){const rt=new it;return(0,p.QG)(rt),We.add(rt.id),rt}class fe extends p.R6{constructor(rt,vt){super(vt),this._configuration=rt}run(rt,vt){if(!vt.hasModel())return Promise.resolve(void 0);const Ft=rt.get(se.lT),Ht=rt.get(a.$),ze=rt.get(K.e),Xe=rt.get(Z),Ze=vt.getModel(),Ae=vt.getPosition(),He=new y.Dl(vt,5),Et=(0,O.eP)(this._getLocationModel(Ze,Ae,He.token),He.token).then(Wt=>te(this,void 0,void 0,function*(){if(!Wt||He.token.isCancellationRequested)return;(0,H.Z9)(Wt.ariaMessage);let oi;if(Wt.referenceAt(Ze.uri,Ae)){const hi=this._getAlternativeCommand(vt);hi!==this.id&&We.has(hi)&&(oi=vt.getAction(hi))}const ni=Wt.references.length;if(ni===0){if(!this._configuration.muteMessage){const hi=Ze.getWordAtPosition(Ae);xe.O.get(vt).showMessage(this._getNoResultFoundMessage(hi),Ae)}}else if(ni===1&&oi)oi.run();else return this._onResult(Ht,Xe,vt,Wt)}),Wt=>{Ft.error(Wt)}).finally(()=>{He.dispose()});return ze.showWhile(Et,250),Et}_onResult(rt,vt,Ft,Ht){return te(this,void 0,void 0,function*(){const ze=this._getGoToPreference(Ft);if(!(Ft instanceof g.H)&&(this._configuration.openInPeek||ze==="peek"&&Ht.references.length>1))this._openInPeek(Ft,Ht);else{const Xe=Ht.firstReference(),Ze=Ht.references.length>1&&ze==="gotoAndPeek",Ae=yield this._openReference(Ft,rt,Xe,this._configuration.openToSide,!Ze);Ze&&Ae?this._openInPeek(Ae,Ht):Ht.dispose(),ze==="goto"&&vt.put(Xe)}})}_openReference(rt,vt,Ft,Ht,ze){return te(this,void 0,void 0,function*(){let Xe;if((0,f.vx)(Ft)&&(Xe=Ft.targetSelectionRange),Xe||(Xe=Ft.range),!Xe)return;const Ze=yield vt.openCodeEditor({resource:Ft.uri,options:{selection:s.e.collapseToStart(Xe),selectionRevealType:3}},rt,Ht);if(Ze){if(ze){const Ae=Ze.getModel(),He=Ze.deltaDecorations([],[{range:Xe,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{Ze.getModel()===Ae&&Ze.deltaDecorations(He,[])},350)}return Ze}})}_openInPeek(rt,vt){let Ft=v.J.get(rt);Ft&&rt.hasModel()?Ft.toggleWidget(rt.getSelection(),(0,O.PG)(Ht=>Promise.resolve(vt)),this._configuration.openInPeek):vt.dispose()}}class ne extends fe{_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.nD)(rt,vt,Ft),b.N("def.title","Definitions"))})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("noResultWord","No definition found for '{0}'",rt.word):b.N("generic.noResults","No definition found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeDefinitionCommand}_getGoToPreference(rt){return rt.getOption(50).multipleDefinitions}}const W=D.$L&&!h.$W?2118:70;ae((ge=class ya extends ne{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:ya.id,label:b.N("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:L.Ao.and(C.u.hasDefinitionProvider,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:W,weight:100},contextMenuOpts:{group:"navigation",order:1.1}}),V.P.registerCommandAlias("editor.action.goToDeclaration",ya.id)}},ge.id="editor.action.revealDefinition",ge)),ae((ye=class La extends ne{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:La.id,label:b.N("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:L.Ao.and(C.u.hasDefinitionProvider,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:(0,P.gx)(2089,W),weight:100}}),V.P.registerCommandAlias("editor.action.openDeclarationToTheSide",La.id)}},ye.id="editor.action.revealDefinitionAside",ye)),ae((ve=class Da extends ne{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Da.id,label:b.N("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:L.Ao.and(C.u.hasDefinitionProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:2}}),V.P.registerCommandAlias("editor.action.previewDeclaration",Da.id)}},ve.id="editor.action.peekDefinition",ve));class $ extends fe{_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.zq)(rt,vt,Ft),b.N("decl.title","Declarations"))})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("decl.noResultWord","No declaration found for '{0}'",rt.word):b.N("decl.generic.noResults","No declaration found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeDeclarationCommand}_getGoToPreference(rt){return rt.getOption(50).multipleDeclarations}}ae((Fe=class wl extends ${constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:wl.id,label:b.N("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:L.Ao.and(C.u.hasDeclarationProvider,C.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3}})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("decl.noResultWord","No declaration found for '{0}'",rt.word):b.N("decl.generic.noResults","No declaration found")}},Fe.id="editor.action.revealDeclaration",Fe)),ae(class extends ${constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:b.N("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:L.Ao.and(C.u.hasDeclarationProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:3}})}});class ee extends fe{_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.L3)(rt,vt,Ft),b.N("typedef.title","Type Definitions"))})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("goToTypeDefinition.noResultWord","No type definition found for '{0}'",rt.word):b.N("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeTypeDefinitionCommand}_getGoToPreference(rt){return rt.getOption(50).multipleTypeDefinitions}}ae((we=class yl extends ee{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:yl.ID,label:b.N("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:L.Ao.and(C.u.hasTypeDefinitionProvider,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4}})}},we.ID="editor.action.goToTypeDefinition",we)),ae((ue=class Ll extends ee{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Ll.ID,label:b.N("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:L.Ao.and(C.u.hasTypeDefinitionProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:4}})}},ue.ID="editor.action.peekTypeDefinition",ue));class he extends fe{_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.f4)(rt,vt,Ft),b.N("impl.title","Implementations"))})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("goToImplementation.noResultWord","No implementation found for '{0}'",rt.word):b.N("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeImplementationCommand}_getGoToPreference(rt){return rt.getOption(50).multipleImplementations}}ae((ce=class Dl extends he{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Dl.ID,label:b.N("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:L.Ao.and(C.u.hasImplementationProvider,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:2118,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}},ce.ID="editor.action.goToImplementation",ce)),ae((Ve=class El extends he{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:El.ID,label:b.N("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:L.Ao.and(C.u.hasImplementationProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:5}})}},Ve.ID="editor.action.peekImplementation",Ve));class Pe extends fe{_getNoResultFoundMessage(rt){return rt?b.N("references.no","No references found for '{0}'",rt.word):b.N("references.noGeneric","No references found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeReferenceCommand}_getGoToPreference(rt){return rt.getOption(50).multipleReferences}}ae(class extends Pe{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:b.N("goToReferences.label","Go to References"),alias:"Go to References",precondition:L.Ao.and(C.u.hasReferenceProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.aA)(rt,vt,!0,Ft),b.N("ref.title","References"))})}}),ae(class extends Pe{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:b.N("references.action.label","Peek References"),alias:"Peek References",precondition:L.Ao.and(C.u.hasReferenceProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.aA)(rt,vt,!1,Ft),b.N("ref.title","References"))})}});class Ye extends fe{constructor(rt,vt,Ft){super(rt,{id:"editor.action.goToLocation",label:b.N("label.generic","Go to Any Symbol"),alias:"Go to Any Symbol",precondition:L.Ao.and(j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated())}),this._references=vt,this._gotoMultipleBehaviour=Ft}_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(this._references,b.N("generic.title","Locations"))})}_getNoResultFoundMessage(rt){return rt&&b.N("generic.noResult","No results for '{0}'",rt.word)||""}_getGoToPreference(rt){var vt;return(vt=this._gotoMultipleBehaviour)!==null&&vt!==void 0?vt:rt.getOption(50).multipleReferences}_getAlternativeCommand(){return""}}V.P.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:I.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(it,rt,vt,Ft,Ht,ze,Xe)=>te(void 0,void 0,void 0,function*(){(0,G.p_)(I.o.isUri(rt)),(0,G.p_)(w.L.isIPosition(vt)),(0,G.p_)(Array.isArray(Ft)),(0,G.p_)(typeof Ht=="undefined"||typeof Ht=="string"),(0,G.p_)(typeof Xe=="undefined"||typeof Xe=="boolean");const Ze=it.get(a.$),Ae=yield Ze.openCodeEditor({resource:rt},Ze.getFocusedCodeEditor());if((0,E.CL)(Ae))return Ae.setPosition(vt),Ae.revealPositionInCenterIfOutsideViewport(vt,0),Ae.invokeWithinContext(He=>{const Et=new class extends Ye{_getNoResultFoundMessage(Wt){return ze||super._getNoResultFoundMessage(Wt)}}({muteMessage:!ze,openInPeek:!!Xe,openToSide:!1},Ft,Ht);He.get(M.TG).invokeFunction(Et.run.bind(Et),Ae)})})}),V.P.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:I.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(it,rt,vt,Ft,Ht)=>te(void 0,void 0,void 0,function*(){it.get(V.H).executeCommand("editor.action.goToLocations",rt,vt,Ft,Ht,void 0,!0)})}),V.P.registerCommand({id:"editor.action.findReferences",handler:(it,rt,vt)=>{(0,G.p_)(I.o.isUri(rt)),(0,G.p_)(w.L.isIPosition(vt));const Ft=it.get(a.$);return Ft.openCodeEditor({resource:rt},Ft.getFocusedCodeEditor()).then(Ht=>{if(!(0,E.CL)(Ht)||!Ht.hasModel())return;const ze=v.J.get(Ht);if(!ze)return;const Xe=(0,O.PG)(Ae=>(0,ie.aA)(Ht.getModel(),w.L.lift(vt),!1,Ae).then(He=>new r.oQ(He,b.N("ref.title","References")))),Ze=new s.e(vt.lineNumber,vt.column,vt.lineNumber,vt.column);return Promise.resolve(ze.toggleWidget(Ze,Xe,!1))})}}),V.P.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations"),R.BH.appendMenuItems([{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.revealDefinition",title:b.N({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},group:"4_symbol_nav",order:2}},{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.revealDeclaration",title:b.N({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},group:"4_symbol_nav",order:3}},{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.goToTypeDefinition",title:b.N({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},group:"4_symbol_nav",order:3}},{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.goToImplementation",title:b.N({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},group:"4_symbol_nav",order:4}},{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.goToReferences",title:b.N({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},group:"4_symbol_nav",order:5}}])},58425:function(xt,Te,i){"use strict";i.d(Te,{L3:function(){return a},aA:function(){return g},f4:function(){return p},nD:function(){return y},zq:function(){return E}});var h=i(96283),H=i(79881),O=i(4514),P=i(27347),D=i(12158),G=function(s,C,f,v){function r(l){return l instanceof f?l:new f(function(m){m(l)})}return new(f||(f=Promise))(function(l,m){function c(T){try{L(v.next(T))}catch(M){m(M)}}function b(T){try{L(v.throw(T))}catch(M){m(M)}}function L(T){T.done?l(T.value):r(T.value).then(c,b)}L((v=v.apply(s,C||[])).next())})};function I(s,C,f,v){const l=f.ordered(s).map(m=>Promise.resolve(v(m,s,C)).then(void 0,c=>{(0,H.Cp)(c)}));return Promise.all(l).then(m=>{const c=[];for(let b of m)Array.isArray(b)?c.push(...b):b&&c.push(b);return c})}function y(s,C,f){return I(s,C,P.Ct,(v,r,l)=>v.provideDefinition(r,l,f))}function E(s,C,f){return I(s,C,P.RN,(v,r,l)=>v.provideDeclaration(r,l,f))}function p(s,C,f){return I(s,C,P.vI,(v,r,l)=>v.provideImplementation(r,l,f))}function a(s,C,f){return I(s,C,P.tA,(v,r,l)=>v.provideTypeDefinition(r,l,f))}function g(s,C,f,v){return I(s,C,P.FL,(r,l,m)=>G(this,void 0,void 0,function*(){const c=yield r.provideReferences(l,m,{includeDeclaration:!0},v);if(!f||!c||c.length!==2)return c;const b=yield r.provideReferences(l,m,{includeDeclaration:!1},v);return b&&b.length===1?b:c}))}function w(s){return G(this,void 0,void 0,function*(){const C=yield s(),f=new D.oQ(C,""),v=f.references.map(r=>r.link);return f.dispose(),v})}(0,O.sb)("_executeDefinitionProvider",(s,C)=>w(()=>y(s,C,h.T.None))),(0,O.sb)("_executeDeclarationProvider",(s,C)=>w(()=>E(s,C,h.T.None))),(0,O.sb)("_executeImplementationProvider",(s,C)=>w(()=>p(s,C,h.T.None))),(0,O.sb)("_executeTypeDefinitionProvider",(s,C)=>w(()=>a(s,C,h.T.None))),(0,O.sb)("_executeReferenceProvider",(s,C)=>w(()=>g(s,C,!1,h.T.None)))},77234:function(xt,Te,i){"use strict";i.d(Te,{yN:function(){return E}});var h=i(4348),H=i(69323),O=i(23345);function P(p,a){return!!p[a]}class D{constructor(a,g){this.target=a.target,this.hasTriggerModifier=P(a.event,g.triggerModifier),this.hasSideBySideModifier=P(a.event,g.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=a.event.detail<=1}}class G{constructor(a,g){this.keyCodeIsTriggerKey=a.keyCode===g.triggerKey,this.keyCodeIsSideBySideKey=a.keyCode===g.triggerSideBySideKey,this.hasTriggerModifier=P(a,g.triggerModifier)}}class I{constructor(a,g,w,s){this.triggerKey=a,this.triggerModifier=g,this.triggerSideBySideKey=w,this.triggerSideBySideModifier=s}equals(a){return this.triggerKey===a.triggerKey&&this.triggerModifier===a.triggerModifier&&this.triggerSideBySideKey===a.triggerSideBySideKey&&this.triggerSideBySideModifier===a.triggerSideBySideModifier}}function y(p){return p==="altKey"?O.dz?new I(57,"metaKey",6,"altKey"):new I(5,"ctrlKey",6,"altKey"):O.dz?new I(6,"altKey",57,"metaKey"):new I(6,"altKey",5,"ctrlKey")}class E extends H.JT{constructor(a){super(),this._onMouseMoveOrRelevantKeyDown=this._register(new h.Q5),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new h.Q5),this.onExecute=this._onExecute.event,this._onCancel=this._register(new h.Q5),this.onCancel=this._onCancel.event,this._editor=a,this._opts=y(this._editor.getOption(69)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(g=>{if(g.hasChanged(69)){const w=y(this._editor.getOption(69));if(this._opts.equals(w))return;this._opts=w,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(g=>this._onEditorMouseMove(new D(g,this._opts)))),this._register(this._editor.onMouseDown(g=>this._onEditorMouseDown(new D(g,this._opts)))),this._register(this._editor.onMouseUp(g=>this._onEditorMouseUp(new D(g,this._opts)))),this._register(this._editor.onKeyDown(g=>this._onEditorKeyDown(new G(g,this._opts)))),this._register(this._editor.onKeyUp(g=>this._onEditorKeyUp(new G(g,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(g=>this._onDidChangeCursorSelection(g))),this._register(this._editor.onDidChangeModel(g=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(g=>{(g.scrollTopChanged||g.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(a){a.selection&&a.selection.startColumn!==a.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(a){this._lastMouseMoveEvent=a,this._onMouseMoveOrRelevantKeyDown.fire([a,null])}_onEditorMouseDown(a){this._hasTriggerKeyOnMouseDown=a.hasTriggerModifier,this._lineNumberOnMouseDown=a.target.position?a.target.position.lineNumber:0}_onEditorMouseUp(a){const g=a.target.position?a.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===g&&this._onExecute.fire(a)}_onEditorKeyDown(a){this._lastMouseMoveEvent&&(a.keyCodeIsTriggerKey||a.keyCodeIsSideBySideKey&&a.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,a]):a.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(a){a.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}},50134:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{GotoDefinitionAtPositionEditorContribution:function(){return L}});var h=i(50431),H=i(79881),O=i(94186),P=i(69323),D=i(72999),G=i(39528),I=i(4514),y=i(72146),E=i(17373),p=i(27347),a=i(64992),g=i(16862),w=i(77234),s=i(46838),C=i(13268),f=i(90689),v=i(44350),r=i(49055),l=i(17645),m=i(58425),c=function(T,M,z,oe){var se=arguments.length,re=se<3?M:oe===null?oe=Object.getOwnPropertyDescriptor(M,z):oe,De;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(T,M,z,oe);else for(var J=T.length-1;J>=0;J--)(De=T[J])&&(re=(se<3?De(re):se>3?De(M,z,re):De(M,z))||re);return se>3&&re&&Object.defineProperty(M,z,re),re},b=function(T,M){return function(z,oe){M(z,oe,T)}};let L=class er{constructor(M,z,oe){this.textModelResolverService=z,this.modeService=oe,this.toUnhook=new P.SL,this.toUnhookForKeyboard=new P.SL,this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=M;let se=new w.yN(M);this.toUnhook.add(se),this.toUnhook.add(se.onMouseMoveOrRelevantKeyDown(([re,De])=>{this.startFindDefinitionFromMouse(re,(0,D.f6)(De))})),this.toUnhook.add(se.onExecute(re=>{this.isEnabled(re)&&this.gotoDefinition(re.target.position,re.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},De=>{this.removeLinkDecorations(),(0,H.dL)(De)})})),this.toUnhook.add(se.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(M){return M.getContribution(er.ID)}startFindDefinitionFromCursor(M){return this.startFindDefinition(M).then(()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(z=>{z&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(M,z){if(M.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(M,z)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}const oe=M.target.position;this.startFindDefinition(oe)}startFindDefinition(M){var z;this.toUnhookForKeyboard.clear();const oe=M?(z=this.editor.getModel())===null||z===void 0?void 0:z.getWordAtPosition(M):null;if(!oe)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===oe.startColumn&&this.currentWordAtPosition.endColumn===oe.endColumn&&this.currentWordAtPosition.word===oe.word)return Promise.resolve(0);this.currentWordAtPosition=oe;let se=new G.yy(this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,h.PG)(re=>this.findDefinition(M,re)),this.previousPromise.then(re=>{if(!re||!re.length||!se.validate(this.editor)){this.removeLinkDecorations();return}if(re.length>1)this.addDecoration(new E.e(M.lineNumber,oe.startColumn,M.lineNumber,oe.endColumn),new O.W5().appendText(C.N("multipleResults","Click to show {0} definitions.",re.length)));else{let De=re[0];if(!De.uri)return;this.textModelResolverService.createModelReference(De.uri).then(J=>{if(!J.object||!J.object.textEditorModel){J.dispose();return}const{object:{textEditorModel:Z}}=J,{startLineNumber:Q}=De.range;if(Q<1||Q>Z.getLineCount()){J.dispose();return}const le=this.getPreviewValue(Z,Q,De);let xe;De.originSelectionRange?xe=E.e.lift(De.originSelectionRange):xe=new E.e(M.lineNumber,oe.startColumn,M.lineNumber,oe.endColumn);const j=this.modeService.getModeIdByFilepathOrFirstLine(Z.uri);this.addDecoration(xe,new O.W5().appendCodeblock(j||"",le)),J.dispose()})}}).then(void 0,H.dL)}getPreviewValue(M,z,oe){let se=oe.targetSelectionRange?oe.range:this.getPreviewRangeBasedOnBrackets(M,z);return se.endLineNumber-se.startLineNumber>=er.MAX_SOURCE_PREVIEW_LINES&&(se=this.getPreviewRangeBasedOnIndentation(M,z)),this.stripIndentationFromPreviewRange(M,z,se)}stripIndentationFromPreviewRange(M,z,oe){let re=M.getLineFirstNonWhitespaceColumn(z);for(let J=z+1;Joe)return new E.e(z,1,oe+1,1);De=M.findNextBracket(new y.L(Z,Q))}return new E.e(z,1,oe+1,1)}addDecoration(M,z){const oe={range:M,options:{description:"goto-definition-link",inlineClassName:"goto-definition-link",hoverMessage:z}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[oe])}removeLinkDecorations(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))}isEnabled(M,z){return this.editor.hasModel()&&M.isNoneOrSingleMouseDown&&M.target.type===6&&(M.hasTriggerModifier||(z?z.keyCodeIsTriggerKey:!1))&&p.Ct.has(this.editor.getModel())}findDefinition(M,z){const oe=this.editor.getModel();return oe?(0,m.nD)(oe,M,z):Promise.resolve(null)}gotoDefinition(M,z){return this.editor.setPosition(M),this.editor.invokeWithinContext(oe=>{const se=!z&&this.editor.getOption(77)&&!this.isInPeekEditor(oe);return new l.DefinitionAction({openToSide:z,openInPeek:se,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0}).run(oe,this.editor)})}isInPeekEditor(M){const z=M.get(f.i6);return s.Jy.inPeekEditor.getValue(z)}dispose(){this.toUnhook.dispose()}};L.ID="editor.contrib.gotodefinitionatposition",L.MAX_SOURCE_PREVIEW_LINES=8,L=c([b(1,g.S),b(2,a.h)],L),(0,I._K)(L.ID,L),(0,r.Ic)((T,M)=>{const z=T.getColor(v._Y);z&&M.addRule(`.monaco-editor .goto-definition-link { color: ${z} !important; }`)})},58085:function(xt,Te,i){"use strict";i.d(Te,{J:function(){return Ft}});var h=i(50431),H=i(79881),O=i(52411),P=i(69323),D=i(70827),G=i(72146),I=i(17373),y=i(46838),E=i(13268),p=i(35884),a=i(93965),g=i(90689),w=i(16925),s=i(86414),C=i(52329),f=i(79504),v=i(19490),r=i(12158),l=i(69454),m=i(86916),c=i(51737),b=i(4348),L=i(66657),T=i(9365),M=i(20712),z=i(31276),oe=i(73468),se=i(64992),re=i(16862),De=i(41221),J=i(37357),Z=i(28442),Q=i(99599),le=i(51983),xe=i(5898),j=i(6629),R=i(32426),V=i(49055),K=function(ze,Xe,Ze,Ae){var He=arguments.length,Et=He<3?Xe:Ae===null?Ae=Object.getOwnPropertyDescriptor(Xe,Ze):Ae,Wt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Et=Reflect.decorate(ze,Xe,Ze,Ae);else for(var oi=ze.length-1;oi>=0;oi--)(Wt=ze[oi])&&(Et=(He<3?Wt(Et):He>3?Wt(Xe,Ze,Et):Wt(Xe,Ze))||Et);return He>3&&Et&&Object.defineProperty(Xe,Ze,Et),Et},ie=function(ze,Xe){return function(Ze,Ae){Xe(Ze,Ae,ze)}};let te=class{constructor(Xe){this._resolverService=Xe}hasChildren(Xe){return Xe instanceof r.oQ||Xe instanceof r.F2}getChildren(Xe){if(Xe instanceof r.oQ)return Xe.groups;if(Xe instanceof r.F2)return Xe.resolve(this._resolverService).then(Ze=>Ze.children);throw new Error("bad tree")}};te=K([ie(0,re.S)],te);class ge{getHeight(){return 23}getTemplateId(Xe){return Xe instanceof r.F2?we.id:ce.id}}let ye=class{constructor(Xe){this._keybindingService=Xe}getKeyboardNavigationLabel(Xe){var Ze;if(Xe instanceof r.WX){const Ae=(Ze=Xe.parent.getPreview(Xe))===null||Ze===void 0?void 0:Ze.preview(Xe.range);if(Ae)return Ae.value}return(0,T.EZ)(Xe.uri)}};ye=K([ie(0,xe.d)],ye);class ve{getId(Xe){return Xe instanceof r.WX?Xe.id:Xe.uri}}let Fe=class extends P.JT{constructor(Xe,Ze,Ae){super(),this._uriLabel=Ze;const He=document.createElement("div");He.classList.add("reference-file"),this.file=this._register(new Z.g(He,{supportHighlights:!0})),this.badge=new De.Z(l.R3(He,l.$(".count"))),this._register((0,R.WZ)(this.badge,Ae)),Xe.appendChild(He)}set(Xe,Ze){let Ae=(0,T.XX)(Xe.uri);this.file.setLabel((0,le.p)(Xe.uri),this._uriLabel.getUriLabel(Ae,{relative:!0}),{title:this._uriLabel.getUriLabel(Xe.uri),matches:Ze});const He=Xe.children.length;this.badge.setCount(He),He>1?this.badge.setTitleFormat((0,E.N)("referencesCount","{0} references",He)):this.badge.setTitleFormat((0,E.N)("referenceCount","{0} reference",He))}};Fe=K([ie(1,j.e),ie(2,V.XE)],Fe);let we=class Nl{constructor(Xe){this._instantiationService=Xe,this.templateId=Nl.id}renderTemplate(Xe){return this._instantiationService.createInstance(Fe,Xe)}renderElement(Xe,Ze,Ae){Ae.set(Xe.element,(0,Q.mB)(Xe.filterData))}disposeTemplate(Xe){Xe.dispose()}};we.id="FileReferencesRenderer",we=K([ie(0,w.TG)],we);class ue{constructor(Xe){this.label=new J.q(Xe,!1)}set(Xe,Ze){var Ae;const He=(Ae=Xe.parent.getPreview(Xe))===null||Ae===void 0?void 0:Ae.preview(Xe.range);if(!He||!He.value)this.label.set(`${(0,T.EZ)(Xe.uri)}:${Xe.range.startLineNumber+1}:${Xe.range.startColumn+1}`);else{const{value:Et,highlight:Wt}=He;Ze&&!Q.CL.isDefault(Ze)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(Et,(0,Q.mB)(Ze))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(Et,[Wt]))}}}class ce{constructor(){this.templateId=ce.id}renderTemplate(Xe){return new ue(Xe)}renderElement(Xe,Ze,Ae){Ae.set(Xe.element,Xe.filterData)}disposeTemplate(){}}ce.id="OneReferenceRenderer";class Ve{getWidgetAriaLabel(){return(0,E.N)("treeAriaLabel","References")}getAriaLabel(Xe){return Xe.ariaMessage}}var We=i(44350),ae=i(1085),fe=function(ze,Xe,Ze,Ae){var He=arguments.length,Et=He<3?Xe:Ae===null?Ae=Object.getOwnPropertyDescriptor(Xe,Ze):Ae,Wt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Et=Reflect.decorate(ze,Xe,Ze,Ae);else for(var oi=ze.length-1;oi>=0;oi--)(Wt=ze[oi])&&(Et=(He<3?Wt(Et):He>3?Wt(Xe,Ze,Et):Wt(Xe,Ze))||Et);return He>3&&Et&&Object.defineProperty(Xe,Ze,Et),Et},ne=function(ze,Xe){return function(Ze,Ae){Xe(Ze,Ae,ze)}},W=function(ze,Xe,Ze,Ae){function He(Et){return Et instanceof Ze?Et:new Ze(function(Wt){Wt(Et)})}return new(Ze||(Ze=Promise))(function(Et,Wt){function oi(Di){try{hi(Ae.next(Di))}catch(Ti){Wt(Ti)}}function ni(Di){try{hi(Ae.throw(Di))}catch(Ti){Wt(Ti)}}function hi(Di){Di.done?Et(Di.value):He(Di.value).then(oi,ni)}hi((Ae=Ae.apply(ze,Xe||[])).next())})};class ${constructor(Xe,Ze){this._editor=Xe,this._model=Ze,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new P.SL,this._callOnModelChange=new P.SL,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const Xe=this._editor.getModel();if(Xe){for(let Ze of this._model.references)if(Ze.uri.toString()===Xe.uri.toString()){this._addDecorations(Ze.parent);return}}}_addDecorations(Xe){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const Ze=[],Ae=[];for(let Et=0,Wt=Xe.children.length;Et{Et.equals(9)&&(this._keybindingService.dispatchEvent(Et,Et.target),Et.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(he,"ReferencesWidget",this._treeContainer,new ge,[this._instantiationService.createInstance(we),this._instantiationService.createInstance(ce)],this._instantiationService.createInstance(te),Ae),this._splitView.addView({onDidChange:b.ju.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:Et=>{this._preview.layout({height:this._dim.height,width:Et})}},m.M.Distribute),this._splitView.addView({onDidChange:b.ju.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:Et=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${Et}px`,this._tree.layout(this._dim.height,Et)}},m.M.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let He=(Et,Wt)=>{Et instanceof r.WX&&(Wt==="show"&&this._revealReference(Et,!1),this._onDidSelectReference.fire({element:Et,kind:Wt,source:"tree"}))};this._tree.onDidOpen(Et=>{Et.sideBySide?He(Et.element,"side"):Et.editorOptions.pinned?He(Et.element,"goto"):He(Et.element,"show")}),l.Cp(this._treeContainer)}_onWidth(Xe){this._dim&&this._doLayoutBody(this._dim.height,Xe)}_doLayoutBody(Xe,Ze){super._doLayoutBody(Xe,Ze),this._dim=new l.Ro(Ze,Xe),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(Ze),this._splitView.resizeView(0,Ze*this.layoutData.ratio)}setSelection(Xe){return this._revealReference(Xe,!0).then(()=>{this._model&&(this._tree.setSelection([Xe]),this._tree.setFocus([Xe]))})}setModel(Xe){return this._disposeOnNewModel.clear(),this._model=Xe,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=E.N("noResults","No results"),l.$Z(this._messageContainer),Promise.resolve(void 0)):(l.Cp(this._messageContainer),this._decorationsManager=new $(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(Xe=>this._tree.rerender(Xe))),this._disposeOnNewModel.add(this._preview.onMouseDown(Xe=>{const{event:Ze,target:Ae}=Xe;if(Ze.detail!==2)return;const He=this._getFocusedReference();He&&this._onDidSelectReference.fire({element:{uri:He.uri,range:Ae.range},kind:Ze.ctrlKey||Ze.metaKey||Ze.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),l.$Z(this._treeContainer),l.$Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[Xe]=this._tree.getFocus();if(Xe instanceof r.WX)return Xe;if(Xe instanceof r.F2&&Xe.children.length>0)return Xe.children[0]}revealReference(Xe){return W(this,void 0,void 0,function*(){yield this._revealReference(Xe,!1),this._onDidSelectReference.fire({element:Xe,kind:"goto",source:"tree"})})}_revealReference(Xe,Ze){return W(this,void 0,void 0,function*(){if(this._revealedReference===Xe)return;this._revealedReference=Xe,Xe.uri.scheme!==L.lg.inMemory?this.setTitle((0,T.Hx)(Xe.uri),this._uriLabel.getUriLabel((0,T.XX)(Xe.uri))):this.setTitle(E.N("peekView.alternateTitle","References"));const Ae=this._textModelResolverService.createModelReference(Xe.uri);this._tree.getInput()===Xe.parent?this._tree.reveal(Xe):(Ze&&this._tree.reveal(Xe.parent),yield this._tree.expand(Xe.parent),this._tree.reveal(Xe));const He=yield Ae;if(!this._model){He.dispose();return}(0,P.B9)(this._previewModelReference);const Et=He.object;if(Et){const Wt=this._preview.getModel()===Et.textEditorModel?0:1,oi=I.e.lift(Xe.range).collapseToStart();this._previewModelReference=He,this._preview.setModel(Et.textEditorModel),this._preview.setSelection(oi),this._preview.revealRangeInCenter(oi,Wt)}else this._preview.setModel(this._previewNotAvailableMessage),He.dispose()})}};Pe=fe([ne(3,V.XE),ne(4,re.S),ne(5,w.TG),ne(6,y.Fw),ne(7,j.e),ne(8,ae.tJ),ne(9,xe.d),ne(10,se.h),ne(11,oe.c_)],Pe),(0,V.Ic)((ze,Xe)=>{const Ze=ze.getColor(y.F8);Ze&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: ${Ze}; }`);const Ae=ze.getColor(y.WL);Ae&&Xe.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: ${Ae}; }`);const He=ze.getColor(y.xH);He&&Xe.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid ${He}; box-sizing: border-box; }`);const Et=ze.getColor(We.xL);Et&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted ${Et}; box-sizing: border-box; }`);const Wt=ze.getColor(y.M8);Wt&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree { background-color: ${Wt}; }`);const oi=ze.getColor(y.xk);oi&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree { color: ${oi}; }`);const ni=ze.getColor(y.a7);ni&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .reference-file { color: ${ni}; }`);const hi=ze.getColor(y.Zj);hi&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: ${hi}; }`);const Di=ze.getColor(y.IY);Di&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: ${Di} !important; }`);const Ti=ze.getColor(y.RX);Ti&&Xe.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input { background-color: ${Ti};}`);const Ni=ze.getColor(y.sH);Ni&&Xe.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin { background-color: ${Ni};}`)});var Ye=function(ze,Xe,Ze,Ae){var He=arguments.length,Et=He<3?Xe:Ae===null?Ae=Object.getOwnPropertyDescriptor(Xe,Ze):Ae,Wt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Et=Reflect.decorate(ze,Xe,Ze,Ae);else for(var oi=ze.length-1;oi>=0;oi--)(Wt=ze[oi])&&(Et=(He<3?Wt(Et):He>3?Wt(Xe,Ze,Et):Wt(Xe,Ze))||Et);return He>3&&Et&&Object.defineProperty(Xe,Ze,Et),Et},it=function(ze,Xe){return function(Ze,Ae){Xe(Ze,Ae,ze)}},rt=function(ze,Xe,Ze,Ae){function He(Et){return Et instanceof Ze?Et:new Ze(function(Wt){Wt(Et)})}return new(Ze||(Ze=Promise))(function(Et,Wt){function oi(Di){try{hi(Ae.next(Di))}catch(Ti){Wt(Ti)}}function ni(Di){try{hi(Ae.throw(Di))}catch(Ti){Wt(Ti)}}function hi(Di){Di.done?Et(Di.value):He(Di.value).then(oi,ni)}hi((Ae=Ae.apply(ze,Xe||[])).next())})};const vt=new g.uy("referenceSearchVisible",!1,E.N("referenceSearchVisible","Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"));let Ft=class Ea{constructor(Xe,Ze,Ae,He,Et,Wt,oi,ni){this._defaultTreeKeyboardSupport=Xe,this._editor=Ze,this._editorService=He,this._notificationService=Et,this._instantiationService=Wt,this._storageService=oi,this._configurationService=ni,this._disposables=new P.SL,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=vt.bindTo(Ae)}static get(Xe){return Xe.getContribution(Ea.ID)}dispose(){var Xe,Ze;this._referenceSearchVisible.reset(),this._disposables.dispose(),(Xe=this._widget)===null||Xe===void 0||Xe.dispose(),(Ze=this._model)===null||Ze===void 0||Ze.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(Xe,Ze,Ae){let He;if(this._widget&&(He=this._widget.position),this.closeWidget(),He&&Xe.containsPosition(He))return;this._peekMode=Ae,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const Et="peekViewLayout",Wt=ee.fromJSON(this._storageService.get(Et,0,"{}"));this._widget=this._instantiationService.createInstance(Pe,this._editor,this._defaultTreeKeyboardSupport,Wt),this._widget.setTitle(E.N("labelLoading","Loading...")),this._widget.show(Xe),this._disposables.add(this._widget.onDidClose(()=>{Ze.cancel(),this._widget&&(this._storageService.store(Et,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(ni=>{let{element:hi,kind:Di}=ni;if(hi)switch(Di){case"open":(ni.source!=="editor"||!this._configurationService.getValue("editor.stablePeek"))&&this.openReference(hi,!1,!1);break;case"side":this.openReference(hi,!0,!1);break;case"goto":Ae?this._gotoReference(hi):this.openReference(hi,!1,!0);break}}));const oi=++this._requestIdPool;Ze.then(ni=>{var hi;if(oi!==this._requestIdPool||!this._widget){ni.dispose();return}return(hi=this._model)===null||hi===void 0||hi.dispose(),this._model=ni,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(E.N("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let Di=this._editor.getModel().uri,Ti=new G.L(Xe.startLineNumber,Xe.startColumn),Ni=this._model.nearestReference(Di,Ti);if(Ni)return this._widget.setSelection(Ni).then(()=>{this._widget&&this._editor.getOption(76)==="editor"&&this._widget.focusOnPreviewEditor()})}})},ni=>{this._notificationService.error(ni)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(Xe){return rt(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const Ze=this._widget.position;if(!Ze)return;const Ae=this._model.nearestReference(this._editor.getModel().uri,Ze);if(!Ae)return;const He=this._model.nextOrPreviousReference(Ae,Xe),Et=this._editor.hasTextFocus(),Wt=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(He),yield this._gotoReference(He),Et?this._editor.focus():this._widget&&Wt&&this._widget.focusOnPreviewEditor()})}revealReference(Xe){return rt(this,void 0,void 0,function*(){!this._editor.hasModel()||!this._model||!this._widget||(yield this._widget.revealReference(Xe))})}closeWidget(Xe=!0){var Ze,Ae;(Ze=this._widget)===null||Ze===void 0||Ze.dispose(),(Ae=this._model)===null||Ae===void 0||Ae.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,Xe&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(Xe){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;const Ze=I.e.lift(Xe.range).collapseToStart();return this._editorService.openCodeEditor({resource:Xe.uri,options:{selection:Ze}},this._editor).then(Ae=>{var He;if(this._ignoreModelChangeEvent=!1,!Ae||!this._widget){this.closeWidget();return}if(this._editor===Ae)this._widget.show(Ze),this._widget.focusOnReferenceTree();else{const Et=Ea.get(Ae),Wt=this._model.clone();this.closeWidget(),Ae.focus(),Et.toggleWidget(Ze,(0,h.PG)(oi=>Promise.resolve(Wt)),(He=this._peekMode)!==null&&He!==void 0?He:!1)}},Ae=>{this._ignoreModelChangeEvent=!1,(0,H.dL)(Ae)})}openReference(Xe,Ze,Ae){Ze||this.closeWidget();const{uri:He,range:Et}=Xe;this._editorService.openCodeEditor({resource:He,options:{selection:Et,pinned:Ae}},this._editor,Ze)}};Ft.ID="editor.contrib.referencesController",Ft=Ye([it(2,g.i6),it(3,D.$),it(4,f.lT),it(5,w.TG),it(6,v.Uy),it(7,a.Ui)],Ft);function Ht(ze,Xe){const Ze=(0,y.rc)(ze);if(!Ze)return;let Ae=Ft.get(Ze);Ae&&Xe(Ae)}s.W.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,O.gx)(2089,60),when:g.Ao.or(vt,y.Jy.inPeekEditor),handler(ze){Ht(ze,Xe=>{Xe.changeFocusBetweenPreviewAndReferences()})}}),s.W.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:g.Ao.or(vt,y.Jy.inPeekEditor),handler(ze){Ht(ze,Xe=>{Xe.goToNextOrPreviousReference(!0)})}}),s.W.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:g.Ao.or(vt,y.Jy.inPeekEditor),handler(ze){Ht(ze,Xe=>{Xe.goToNextOrPreviousReference(!1)})}}),p.P.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),p.P.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),p.P.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),p.P.registerCommand("closeReferenceSearch",ze=>Ht(ze,Xe=>Xe.closeWidget())),s.W.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:g.Ao.and(y.Jy.inPeekEditor,g.Ao.not("config.editor.stablePeek"))}),s.W.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:g.Ao.and(vt,g.Ao.not("config.editor.stablePeek"))}),s.W.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:g.Ao.and(vt,C.CQ),handler(ze){var Xe;const Ae=(Xe=ze.get(C.Lw).lastFocusedList)===null||Xe===void 0?void 0:Xe.getFocus();Array.isArray(Ae)&&Ae[0]instanceof r.WX&&Ht(ze,He=>He.revealReference(Ae[0]))}}),s.W.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:g.Ao.and(vt,C.CQ),handler(ze){var Xe;const Ae=(Xe=ze.get(C.Lw).lastFocusedList)===null||Xe===void 0?void 0:Xe.getFocus();Array.isArray(Ae)&&Ae[0]instanceof r.WX&&Ht(ze,He=>He.openReference(Ae[0],!0,!0))}}),p.P.registerCommand("openReference",ze=>{var Xe;const Ae=(Xe=ze.get(C.Lw).lastFocusedList)===null||Xe===void 0?void 0:Xe.getFocus();Array.isArray(Ae)&&Ae[0]instanceof r.WX&&Ht(ze,He=>He.openReference(Ae[0],!1,!0))})},12158:function(xt,Te,i){"use strict";i.d(Te,{F2:function(){return w},WX:function(){return a},oQ:function(){return s}});var h=i(79881),H=i(4348),O=i(85035),P=i(69323),D=i(78421),G=i(9365),I=i(82983),y=i(17373),E=i(13268),p=function(C,f,v,r){function l(m){return m instanceof v?m:new v(function(c){c(m)})}return new(v||(v=Promise))(function(m,c){function b(M){try{T(r.next(M))}catch(z){c(z)}}function L(M){try{T(r.throw(M))}catch(z){c(z)}}function T(M){M.done?m(M.value):l(M.value).then(b,L)}T((r=r.apply(C,f||[])).next())})};class a{constructor(f,v,r,l){this.isProviderFirst=f,this.parent=v,this.link=r,this._rangeCallback=l,this.id=O.a.nextId()}get uri(){return this.link.uri}get range(){var f,v;return(v=(f=this._range)!==null&&f!==void 0?f:this.link.targetSelectionRange)!==null&&v!==void 0?v:this.link.range}set range(f){this._range=f,this._rangeCallback(this)}get ariaMessage(){var f;const v=(f=this.parent.getPreview(this))===null||f===void 0?void 0:f.preview(this.range);return v?(0,E.N)({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"symbol in {0} on line {1} at column {2}, {3}",(0,G.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn,v.value):(0,E.N)("aria.oneReference","symbol in {0} on line {1} at column {2}",(0,G.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class g{constructor(f){this._modelReference=f}dispose(){this._modelReference.dispose()}preview(f,v=8){const r=this._modelReference.object.textEditorModel;if(!r)return;const{startLineNumber:l,startColumn:m,endLineNumber:c,endColumn:b}=f,L=r.getWordUntilPosition({lineNumber:l,column:m-v}),T=new y.e(l,L.startColumn,l,m),M=new y.e(c,b,c,1073741824),z=r.getValueInRange(T).replace(/^\s+/,""),oe=r.getValueInRange(f),se=r.getValueInRange(M).replace(/\s+$/,"");return{value:z+oe+se,highlight:{start:z.length,end:z.length+oe.length}}}}class w{constructor(f,v){this.parent=f,this.uri=v,this.children=[],this._previews=new D.Y9}dispose(){(0,P.B9)(this._previews.values()),this._previews.clear()}getPreview(f){return this._previews.get(f.uri)}get ariaMessage(){const f=this.children.length;return f===1?(0,E.N)("aria.fileReferences.1","1 symbol in {0}, full path {1}",(0,G.EZ)(this.uri),this.uri.fsPath):(0,E.N)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",f,(0,G.EZ)(this.uri),this.uri.fsPath)}resolve(f){return p(this,void 0,void 0,function*(){if(this._previews.size!==0)return this;for(let v of this.children)if(!this._previews.has(v.uri))try{const r=yield f.createModelReference(v.uri);this._previews.set(v.uri,new g(r))}catch(r){(0,h.dL)(r)}return this})}}class s{constructor(f,v){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new H.Q5,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=f,this._title=v;const[r]=f;f.sort(s._compareReferences);let l;for(let m of f)if((!l||!G.SF.isEqual(l.uri,m.uri,!0))&&(l=new w(this,m.uri),this.groups.push(l)),l.children.length===0||s._compareReferences(m,l.children[l.children.length-1])!==0){const c=new a(r===m,l,m,b=>this._onDidChangeReferenceRange.fire(b));this.references.push(c),l.children.push(c)}}dispose(){(0,P.B9)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new s(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?(0,E.N)("aria.result.0","No results found"):this.references.length===1?(0,E.N)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):this.groups.length===1?(0,E.N)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):(0,E.N)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(f,v){let{parent:r}=f,l=r.children.indexOf(f),m=r.children.length,c=r.parent.groups.length;return c===1||v&&l+10?(v?l=(l+1)%m:l=(l+m-1)%m,r.children[l]):(l=r.parent.groups.indexOf(r),v?(l=(l+1)%c,r.parent.groups[l].children[0]):(l=(l+c-1)%c,r.parent.groups[l].children[r.parent.groups[l].children.length-1]))}nearestReference(f,v){const r=this.references.map((l,m)=>({idx:m,prefixLen:I.Mh(l.uri.toString(),f.toString()),offsetDist:Math.abs(l.range.startLineNumber-v.lineNumber)*100+Math.abs(l.range.startColumn-v.column)})).sort((l,m)=>l.prefixLen>m.prefixLen?-1:l.prefixLenm.offsetDist?1:0)[0];if(r)return this.references[r.idx]}referenceAt(f,v){for(const r of this.references)if(r.uri.toString()===f.toString()&&y.e.containsPosition(r.range,v))return r}firstReference(){for(const f of this.references)if(f.isProviderFirst)return f;return this.references[0]}static _compareReferences(f,v){return G.SF.compare(f.uri,v.uri)||y.e.compareRangesUsingStarts(f.range,v.range)}}},4508:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{ModesHoverController:function(){return ut}});var h=i(52411),H=i(69323),O=i(4514),P=i(17373),D=i(68987),G=i(64992),I=i(50134),y=i(69454),E=i(78265);const p=y.$;class a extends H.JT{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this._scrollbar=this._register(new E.s$(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this._scrollbar.getDomNode())}onContentsChanged(){this._scrollbar.scanDomNode()}}class g extends H.JT{constructor(Y,_e,ke){super(),this.actionContainer=y.R3(Y,p("div.action-container")),this.action=y.R3(this.actionContainer,p("a.action")),this.action.setAttribute("href","#"),this.action.setAttribute("role","button"),_e.iconClass&&y.R3(this.action,p(`span.icon.${_e.iconClass}`));const lt=y.R3(this.action,p("span"));lt.textContent=ke?`${_e.label} (${ke})`:_e.label,this._register(y.nm(this.actionContainer,y.tw.MOUSE_DOWN,nt=>{nt.stopPropagation(),nt.preventDefault(),_e.run(this.actionContainer)})),this.setEnabled(!0)}static render(Y,_e,ke){return new g(Y,_e,ke)}setEnabled(Y){Y?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}var w=i(62758),s=i(43506),C=i(72146),f=i(31276),v=i(27347),r=i(96283),l=i(51737),m=i(91146),c=i(99851),b=i(4348);class L{constructor(Y,_e,ke){this.presentationIndex=ke,this._onColorFlushed=new b.Q5,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new b.Q5,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new b.Q5,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=Y,this._color=Y,this._colorPresentations=_e}get color(){return this._color}set color(Y){this._color.equals(Y)||(this._color=Y,this._onDidChangeColor.fire(Y))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(Y){this._colorPresentations=Y,this.presentationIndex>Y.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(Y,_e){for(let ke=0;ke{this.backgroundColor=pt.getColor(oe.yJ)||l.Il.white})),this._register(y.nm(this.pickedColorNode,y.tw.CLICK,()=>this.model.selectNextColorPresentation())),this._register(y.nm(nt,y.tw.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(_e.onDidChangeColor(this.onDidChangeColor,this)),this._register(_e.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=l.Il.Format.CSS.format(_e.color)||"",this.pickedColorNode.classList.toggle("light",_e.color.rgba.a<.5?this.backgroundColor.isLighter():_e.color.isLighter())}onDidChangeColor(Y){this.pickedColorNode.style.backgroundColor=l.Il.Format.CSS.format(Y)||"",this.pickedColorNode.classList.toggle("light",Y.rgba.a<.5?this.backgroundColor.isLighter():Y.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:"",this.pickedColorNode.prepend(re(".codicon.codicon-color-mode"))}}class J extends H.JT{constructor(Y,_e,ke){super(),this.model=_e,this.pixelRatio=ke,this.domNode=re(".colorpicker-body"),y.R3(Y,this.domNode),this.saturationBox=new Z(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new le(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new xe(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:Y,v:_e}){const ke=this.model.color.hsva;this.model.color=new l.Il(new l.tx(ke.h,Y,_e,ke.a))}onDidOpacityChange(Y){const _e=this.model.color.hsva;this.model.color=new l.Il(new l.tx(_e.h,_e.s,_e.v,Y))}onDidHueChange(Y){const _e=this.model.color.hsva,ke=(1-Y)*360;this.model.color=new l.Il(new l.tx(ke===360?0:ke,_e.s,_e.v,_e.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class Z extends H.JT{constructor(Y,_e,ke){super(),this.model=_e,this.pixelRatio=ke,this._onDidChange=new b.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new b.Q5,this.onColorFlushed=this._onColorFlushed.event,this.domNode=re(".saturation-wrap"),y.R3(Y,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",y.R3(this.domNode,this.canvas),this.selection=re(".saturation-selection"),y.R3(this.domNode,this.selection),this.layout(),this._register(y.Lo(this.domNode,lt=>this.onMouseDown(lt))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(Y){this.monitor=this._register(new M.Z);const _e=y.i(this.domNode);Y.target!==this.selection&&this.onDidChangePosition(Y.offsetX,Y.offsetY),this.monitor.startMonitoring(Y.target,Y.buttons,M.e,lt=>this.onDidChangePosition(lt.posx-_e.left,lt.posy-_e.top),()=>null);const ke=y.qV(document,()=>{this._onColorFlushed.fire(),ke.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(Y,_e){const ke=Math.max(0,Math.min(1,Y/this.width)),lt=Math.max(0,Math.min(1,1-_e/this.height));this.paintSelection(ke,lt),this._onDidChange.fire({s:ke,v:lt})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();const Y=this.model.color.hsva;this.paintSelection(Y.s,Y.v)}paint(){const Y=this.model.color.hsva,_e=new l.Il(new l.tx(Y.h,1,1,1)),ke=this.canvas.getContext("2d"),lt=ke.createLinearGradient(0,0,this.canvas.width,0);lt.addColorStop(0,"rgba(255, 255, 255, 1)"),lt.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),lt.addColorStop(1,"rgba(255, 255, 255, 0)");const nt=ke.createLinearGradient(0,0,0,this.canvas.height);nt.addColorStop(0,"rgba(0, 0, 0, 0)"),nt.addColorStop(1,"rgba(0, 0, 0, 1)"),ke.rect(0,0,this.canvas.width,this.canvas.height),ke.fillStyle=l.Il.Format.CSS.format(_e),ke.fill(),ke.fillStyle=lt,ke.fill(),ke.fillStyle=nt,ke.fill()}paintSelection(Y,_e){this.selection.style.left=`${Y*this.width}px`,this.selection.style.top=`${this.height-_e*this.height}px`}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class Q extends H.JT{constructor(Y,_e){super(),this.model=_e,this._onDidChange=new b.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new b.Q5,this.onColorFlushed=this._onColorFlushed.event,this.domNode=y.R3(Y,re(".strip")),this.overlay=y.R3(this.domNode,re(".overlay")),this.slider=y.R3(this.domNode,re(".slider")),this.slider.style.top="0px",this._register(y.Lo(this.domNode,ke=>this.onMouseDown(ke))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const Y=this.getValue(this.model.color);this.updateSliderPosition(Y)}onMouseDown(Y){const _e=this._register(new M.Z),ke=y.i(this.domNode);this.domNode.classList.add("grabbing"),Y.target!==this.slider&&this.onDidChangeTop(Y.offsetY),_e.startMonitoring(Y.target,Y.buttons,M.e,nt=>this.onDidChangeTop(nt.posy-ke.top),()=>null);const lt=y.qV(document,()=>{this._onColorFlushed.fire(),lt.dispose(),_e.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(Y){const _e=Math.max(0,Math.min(1,1-Y/this.height));this.updateSliderPosition(_e),this._onDidChange.fire(_e)}updateSliderPosition(Y){this.slider.style.top=`${(1-Y)*this.height}px`}}class le extends Q{constructor(Y,_e){super(Y,_e),this.domNode.classList.add("opacity-strip"),this._register(_e.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(Y){const{r:_e,g:ke,b:lt}=Y.rgba,nt=new l.Il(new l.VS(_e,ke,lt,1)),pt=new l.Il(new l.VS(_e,ke,lt,0));this.overlay.style.background=`linear-gradient(to bottom, ${nt} 0%, ${pt} 100%)`}getValue(Y){return Y.hsva.a}}class xe extends Q{constructor(Y,_e){super(Y,_e),this.domNode.classList.add("hue-strip")}getValue(Y){return 1-Y.hsva.h/360}}class j extends w.${constructor(Y,_e,ke,lt){super(),this.model=_e,this.pixelRatio=ke,this._register((0,T.fX)(()=>this.layout()));const nt=re(".colorpicker-widget");Y.appendChild(nt);const pt=new De(nt,this.model,lt);this.body=new J(nt,this.model,this.pixelRatio),this._register(pt),this._register(this.body)}layout(){this.body.layout()}}var R=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},V=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}},K=function(Se,Y,_e,ke){function lt(nt){return nt instanceof _e?nt:new _e(function(pt){pt(nt)})}return new(_e||(_e=Promise))(function(nt,pt){function Dt(Jt){try{Mt(ke.next(Jt))}catch(jt){pt(jt)}}function Vt(Jt){try{Mt(ke.throw(Jt))}catch(jt){pt(jt)}}function Mt(Jt){Jt.done?nt(Jt.value):lt(Jt.value).then(Dt,Vt)}Mt((ke=ke.apply(Se,Y||[])).next())})};class ie{constructor(Y,_e,ke,lt){this.owner=Y,this.range=_e,this.model=ke,this.provider=lt,this.forceShowAtRange=!0}isValidForHoverAnchor(Y){return Y.type===1&&this.range.startColumn<=Y.range.startColumn&&this.range.endColumn>=Y.range.endColumn}}let te=class{constructor(Y,_e,ke){this._editor=Y,this._hover=_e,this._themeService=ke}computeSync(Y,_e){return[]}computeAsync(Y,_e,ke){return K(this,void 0,void 0,function*(){if(!this._editor.hasModel())return[];const lt=c.i.get(this._editor);for(const nt of _e){if(nt.options.description!=="color-detector-color")continue;const pt=lt.getColorData(nt.range.getStartPosition());if(pt)return[yield this._createColorHover(this._editor.getModel(),pt.colorInfo,pt.provider)]}return[]})}_createColorHover(Y,_e,ke){return K(this,void 0,void 0,function*(){const lt=Y.getValueInRange(_e.range),{red:nt,green:pt,blue:Dt,alpha:Vt}=_e.color,Mt=new l.VS(Math.round(nt*255),Math.round(pt*255),Math.round(Dt*255),Vt),Jt=new l.Il(Mt),jt=yield(0,m.R)(Y,_e,ke,r.T.None),ui=new L(Jt,[],0);return ui.colorPresentations=jt||[],ui.guessColorPresentation(Jt,lt),new ie(this,P.e.lift(_e.range),ui,ke)})}renderHoverParts(Y,_e,ke){if(Y.length===0||!this._editor.hasModel())return H.JT.None;const lt=new H.SL,nt=Y[0],pt=this._editor.getModel(),Dt=nt.model,Vt=lt.add(new j(_e,Dt,this._editor.getOption(127),this._themeService));let Mt=new P.e(nt.range.startLineNumber,nt.range.startColumn,nt.range.endLineNumber,nt.range.endColumn);const Jt=()=>{let ui,vi;if(Dt.presentation.textEdit){ui=[Dt.presentation.textEdit],vi=new P.e(Dt.presentation.textEdit.range.startLineNumber,Dt.presentation.textEdit.range.startColumn,Dt.presentation.textEdit.range.endLineNumber,Dt.presentation.textEdit.range.endColumn);const Si=this._editor.getModel()._setTrackedRange(null,vi,3);this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",ui),vi=this._editor.getModel()._getTrackedRange(Si)||vi}else ui=[{identifier:null,range:Mt,text:Dt.presentation.label,forceMoveMarkers:!1}],vi=Mt.setEndPosition(Mt.endLineNumber,Mt.startColumn+Dt.presentation.label.length),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",ui);Dt.presentation.additionalTextEdits&&(ui=[...Dt.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",ui),this._hover.hide()),this._editor.pushUndoStop(),Mt=vi},jt=ui=>(0,m.R)(pt,{range:Mt,color:{red:ui.rgba.r/255,green:ui.rgba.g/255,blue:ui.rgba.b/255,alpha:ui.rgba.a}},nt.provider,r.T.None).then(vi=>{Dt.colorPresentations=vi||[]});return lt.add(Dt.onColorFlushed(ui=>{jt(ui).then(Jt)})),lt.add(Dt.onDidChangeColor(jt)),this._hover.setColorPicker(Vt),lt}};te=R([V(2,se.XE)],te);var ge=i(50431),ye=i(79881);class ve{constructor(Y,_e,ke,lt,nt){this._computer=Y,this._state=0,this._hoverTime=nt,this._firstWaitScheduler=new ge.pY(()=>this._triggerAsyncComputation(),0),this._secondWaitScheduler=new ge.pY(()=>this._triggerSyncComputation(),0),this._loadingMessageScheduler=new ge.pY(()=>this._showLoadingMessage(),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=_e,this._errorCallback=ke,this._progressCallback=lt}setHoverTime(Y){this._hoverTime=Y}_firstWaitTime(){return this._hoverTime/2}_secondWaitTime(){return this._hoverTime/2}_loadingMessageTime(){return 3*this._hoverTime}_triggerAsyncComputation(){this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=(0,ge.PG)(Y=>this._computer.computeAsync(Y)),this._asyncComputationPromise.then(Y=>{this._asyncComputationPromiseDone=!0,this._withAsyncResult(Y)},Y=>this._onError(Y))):this._asyncComputationPromiseDone=!0}_triggerSyncComputation(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))}_showLoadingMessage(){this._state===3&&this._onProgress(this._computer.getResultWithLoadingMessage())}_withAsyncResult(Y){Y&&this._computer.onResult(Y,!1),this._state===3&&(this._state=0,this._onComplete(this._computer.getResult()))}_onComplete(Y){this._completeCallback(Y)}_onError(Y){this._errorCallback?this._errorCallback(Y):(0,ye.dL)(Y)}_onProgress(Y){this._progressCallback(Y)}start(Y){if(Y===0)this._state===0&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}}cancel(){this._loadingMessageScheduler.cancel(),this._state===1&&this._firstWaitScheduler.cancel(),this._state===2&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),this._state===3&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0}}class Fe{constructor(Y,_e){this.priority=Y,this.range=_e,this.type=1}equals(Y){return Y.type===1&&this.range.equalsRange(Y.range)}canAdoptVisibleHover(Y,_e){return Y.type===1&&_e.lineNumber===this.range.startLineNumber}}class we{constructor(Y,_e,ke){this.priority=Y,this.owner=_e,this.range=ke,this.type=2}equals(Y){return Y.type===2&&this.owner===Y.owner}canAdoptVisibleHover(Y,_e){return Y.type===2&&this.owner===Y.owner}}var ue=i(94186),ce=i(56327);function Ve(Se,Y,_e){const lt=v.xp.ordered(Se).map(nt=>Promise.resolve(nt.provideHover(Se,Y,_e)).then(pt=>pt&&We(pt)?pt:void 0,pt=>{(0,ye.Cp)(pt)}));return Promise.all(lt).then(s.kX)}(0,O.sb)("_executeHoverProvider",(Se,Y)=>Ve(Se,Y,r.T.None));function We(Se){const Y=typeof Se.range!="undefined",_e=typeof Se.contents!="undefined"&&Se.contents&&Se.contents.length>0;return Y&&_e}var ae=i(93965),fe=i(271),ne=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},W=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}},$=function(Se,Y,_e,ke){function lt(nt){return nt instanceof _e?nt:new _e(function(pt){pt(nt)})}return new(_e||(_e=Promise))(function(nt,pt){function Dt(Jt){try{Mt(ke.next(Jt))}catch(jt){pt(jt)}}function Vt(Jt){try{Mt(ke.throw(Jt))}catch(jt){pt(jt)}}function Mt(Jt){Jt.done?nt(Jt.value):lt(Jt.value).then(Dt,Vt)}Mt((ke=ke.apply(Se,Y||[])).next())})};const ee=y.$;class he{constructor(Y,_e,ke){this.owner=Y,this.range=_e,this.contents=ke}isValidForHoverAnchor(Y){return Y.type===1&&this.range.startColumn<=Y.range.startColumn&&this.range.endColumn>=Y.range.endColumn}}let Pe=class{constructor(Y,_e,ke,lt,nt){this._editor=Y,this._hover=_e,this._modeService=ke,this._openerService=lt,this._configurationService=nt}createLoadingMessage(Y){return new he(this,Y.range,[new ue.W5().appendText(z.N("modesContentHover.loading","Loading..."))])}computeSync(Y,_e){if(!this._editor.hasModel()||Y.type!==1)return[];const ke=this._editor.getModel(),lt=Y.range.startLineNumber,nt=ke.getLineMaxColumn(lt),pt=[];for(const Jt of _e){const jt=Jt.range.startLineNumber===lt?Jt.range.startColumn:1,ui=Jt.range.endLineNumber===lt?Jt.range.endColumn:nt,vi=Jt.options.hoverMessage;if(!vi||(0,ue.CP)(vi))continue;const Si=new P.e(Y.range.startLineNumber,jt,Y.range.startLineNumber,ui);pt.push(new he(this,Si,(0,s._2)(vi)))}const Dt=ke.getLineLength(lt),Vt=ke.getLanguageIdAtPosition(Y.range.startLineNumber,Y.range.startColumn),Mt=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:Vt});return typeof Mt=="number"&&Dt>=Mt&&pt.push(new he(this,Y.range,[{value:z.N("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}])),pt}computeAsync(Y,_e,ke){return $(this,void 0,void 0,function*(){if(!this._editor.hasModel()||Y.type!==1)return Promise.resolve([]);const lt=this._editor.getModel();if(!v.xp.has(lt))return Promise.resolve([]);const nt=yield Ve(lt,new C.L(Y.range.startLineNumber,Y.range.startColumn),ke),pt=[];for(const Dt of nt){if((0,ue.CP)(Dt.contents))continue;const Vt=Dt.range?P.e.lift(Dt.range):Y.range;pt.push(new he(this,Vt,Dt.contents))}return pt})}renderHoverParts(Y,_e,ke){const lt=new H.SL;for(const nt of Y)for(const pt of nt.contents){if((0,ue.CP)(pt))continue;const Dt=ee("div.hover-row.markdown-hover"),Vt=y.R3(Dt,ee("div.hover-contents")),Mt=lt.add(new ce.$({editor:this._editor},this._modeService,this._openerService));lt.add(Mt.onDidRenderAsync(()=>{Vt.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));const Jt=lt.add(Mt.render(pt));Vt.appendChild(Jt.element),_e.appendChild(Dt)}return lt}};Pe=ne([W(2,G.h),W(3,fe.v4),W(4,ae.Ui)],Pe);var Ye=i(9365),it=i(49178),rt=i(14899),vt=i(70096),Ft=i(46105),Ht=i(39519),ze=i(12145),Xe=i(81641),Ze=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},Ae=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}};const He=y.$;class Et{constructor(Y,_e,ke){this.owner=Y,this.range=_e,this.marker=ke}isValidForHoverAnchor(Y){return Y.type===1&&this.range.startColumn<=Y.range.startColumn&&this.range.endColumn>=Y.range.endColumn}}const Wt={type:1,filter:{include:Ft.yN.QuickFix}};let oi=class{constructor(Y,_e,ke,lt){this._editor=Y,this._hover=_e,this._markerDecorationsService=ke,this._openerService=lt,this.recentMarkerCodeActionsInfo=void 0}computeSync(Y,_e){if(!this._editor.hasModel()||Y.type!==1)return[];const ke=this._editor.getModel(),lt=Y.range.startLineNumber,nt=ke.getLineMaxColumn(lt),pt=[];for(const Dt of _e){const Vt=Dt.range.startLineNumber===lt?Dt.range.startColumn:1,Mt=Dt.range.endLineNumber===lt?Dt.range.endColumn:nt,Jt=this._markerDecorationsService.getMarker(ke.uri,Dt);if(!Jt)continue;const jt=new P.e(Y.range.startLineNumber,Vt,Y.range.startLineNumber,Mt);pt.push(new Et(this,jt,Jt))}return pt}renderHoverParts(Y,_e,ke){if(!Y.length)return H.JT.None;const lt=new H.SL;Y.forEach(pt=>_e.appendChild(this.renderMarkerHover(pt,lt)));const nt=Y.length===1?Y[0]:Y.sort((pt,Dt)=>ze.ZL.compare(pt.marker.severity,Dt.marker.severity))[0];return this.renderMarkerStatusbar(nt,ke,lt),lt}renderMarkerHover(Y,_e){const ke=He("div.hover-row"),lt=y.R3(ke,He("div.marker.hover-contents")),{source:nt,message:pt,code:Dt,relatedInformation:Vt}=Y.marker;this._editor.applyFontInfo(lt);const Mt=y.R3(lt,He("span"));if(Mt.style.whiteSpace="pre-wrap",Mt.innerText=pt,nt||Dt)if(Dt&&typeof Dt!="string"){const Jt=He("span");if(nt){const Si=y.R3(Jt,He("span"));Si.innerText=nt}const jt=y.R3(Jt,He("a.code-link"));jt.setAttribute("href",Dt.target.toString()),_e.add(y.nm(jt,"click",Si=>{this._openerService.open(Dt.target,{allowCommands:!0}),Si.preventDefault(),Si.stopPropagation()}));const ui=y.R3(jt,He("span"));ui.innerText=Dt.value;const vi=y.R3(lt,Jt);vi.style.opacity="0.6",vi.style.paddingLeft="6px"}else{const Jt=y.R3(lt,He("span"));Jt.style.opacity="0.6",Jt.style.paddingLeft="6px",Jt.innerText=nt&&Dt?`${nt}(${Dt})`:nt||`(${Dt})`}if((0,s.Of)(Vt))for(const{message:Jt,resource:jt,startLineNumber:ui,startColumn:vi}of Vt){const Si=y.R3(lt,He("div"));Si.style.marginTop="8px";const Oi=y.R3(Si,He("a"));Oi.innerText=`${(0,Ye.EZ)(jt)}(${ui}, ${vi}): `,Oi.style.cursor="pointer",_e.add(y.nm(Oi,"click",zi=>{zi.stopPropagation(),zi.preventDefault(),this._openerService&&this._openerService.open(jt,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:ui,startColumn:vi}}}).catch(ye.dL)}));const Ri=y.R3(Si,He("span"));Ri.innerText=Jt,this._editor.applyFontInfo(Ri)}return ke}renderMarkerStatusbar(Y,_e,ke){if((Y.marker.severity===ze.ZL.Error||Y.marker.severity===ze.ZL.Warning||Y.marker.severity===ze.ZL.Info)&&_e.addAction({label:z.N("view problem","View Problem"),commandId:Ht.NextMarkerAction.ID,run:()=>{this._hover.hide(),Ht.MarkerController.get(this._editor).showAtMarker(Y.marker),this._editor.focus()}}),!this._editor.getOption(80)){const lt=_e.append(He("div"));this.recentMarkerCodeActionsInfo&&(ze.H0.makeKey(this.recentMarkerCodeActionsInfo.marker)===ze.H0.makeKey(Y.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(lt.textContent=z.N("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0);const nt=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?H.JT.None:ke.add((0,ge.Vg)(()=>lt.textContent=z.N("checkingForQuickFixes","Checking for quick fixes..."),200));lt.textContent||(lt.textContent="\xA0");const pt=this.getCodeActions(Y.marker);ke.add((0,H.OF)(()=>pt.cancel())),pt.then(Dt=>{if(nt.dispose(),this.recentMarkerCodeActionsInfo={marker:Y.marker,hasCodeActions:Dt.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){Dt.dispose(),lt.textContent=z.N("noQuickFixes","No quick fixes available");return}lt.style.display="none";let Vt=!1;ke.add((0,H.OF)(()=>{Vt||Dt.dispose()})),_e.addAction({label:z.N("quick fixes","Quick Fix..."),commandId:vt.E7.Id,run:Mt=>{Vt=!0;const Jt=vt.pY.get(this._editor),jt=y.i(Mt);this._hover.hide(),Jt.showCodeActions(Wt,Dt,{x:jt.left+6,y:jt.top+jt.height+6})}})},ye.dL)}}getCodeActions(Y){return(0,ge.PG)(_e=>(0,rt.aI)(this._editor.getModel(),new P.e(Y.startLineNumber,Y.startColumn,Y.endLineNumber,Y.endColumn),Wt,Xe.E.None,_e))}};oi=Ze([Ae(2,it.i),Ae(3,fe.v4)],oi),(0,se.Ic)((Se,Y)=>{const _e=Se.getColor(oe.ur);_e&&Y.addRule(`.monaco-hover .hover-contents a.code-link span { color: ${_e}; }`);const ke=Se.getColor(oe.sg);ke&&Y.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${ke}; }`)});var ni=i(68019),hi=i(52950),Di=i(96236),Ti=i(35884),Ni=i(90689),ai=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},Pt=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}};class Gt{constructor(Y,_e,ke){this.owner=Y,this.range=_e,this.controller=ke}isValidForHoverAnchor(Y){return Y.type===1&&this.range.startColumn<=Y.range.startColumn&&this.range.endColumn>=Y.range.endColumn}hasMultipleSuggestions(){return this.controller.hasMultipleInlineCompletions()}}let st=class{constructor(Y,_e,ke,lt,nt,pt,Dt,Vt){this._editor=Y,this._hover=_e,this._commandService=ke,this._menuService=lt,this._contextKeyService=nt,this._modeService=pt,this._openerService=Dt,this.accessibilityService=Vt}suggestHoverAnchor(Y){const _e=ni.Kp.get(this._editor);if(!_e)return null;if(Y.target.type===8){const ke=Y.target.detail;if(_e.shouldShowHoverAtViewZone(ke.viewZoneId))return new we(1e3,this,P.e.fromPositions(ke.positionBefore||ke.position,ke.positionBefore||ke.position))}return Y.target.type===7&&Y.target.range&&_e.shouldShowHoverAt(Y.target.range)?new we(1e3,this,Y.target.range):Y.target.type===6&&Y.target.range&&Y.target.detail&&Y.target.detail.mightBeForeignElement&&_e.shouldShowHoverAt(Y.target.range)?new we(1e3,this,Y.target.range):null}computeSync(Y,_e){const ke=ni.Kp.get(this._editor);return ke&&ke.shouldShowHoverAt(Y.range)?[new Gt(this,Y.range,ke)]:[]}renderHoverParts(Y,_e,ke){const lt=new H.SL,nt=Y[0];this.accessibilityService.isScreenReaderOptimized()&&this.renderScreenReaderText(nt,_e,lt);const pt=lt.add(this._menuService.createMenu(Di.eH.InlineCompletionsActions,this._contextKeyService)),Dt=ke.addAction({label:z.N("showNextInlineSuggestion","Next"),commandId:ni.L8.ID,run:()=>this._commandService.executeCommand(ni.L8.ID)}),Vt=ke.addAction({label:z.N("showPreviousInlineSuggestion","Previous"),commandId:ni.a5.ID,run:()=>this._commandService.executeCommand(ni.a5.ID)});ke.addAction({label:z.N("acceptInlineSuggestion","Accept"),commandId:ni.Lv.id,run:()=>this._commandService.executeCommand(ni.Lv.id)});const Mt=[Dt,Vt];for(const Jt of Mt)Jt.setEnabled(!1);nt.hasMultipleSuggestions().then(Jt=>{for(const jt of Mt)jt.setEnabled(Jt)});for(const[Jt,jt]of pt.getActions())for(const ui of jt)ui instanceof Di.U8&&ke.addAction({label:ui.label,commandId:ui.item.id,run:()=>this._commandService.executeCommand(ui.item.id)});return lt}renderScreenReaderText(Y,_e,ke){var lt,nt;const pt=y.$,Dt=pt("div.hover-row.markdown-hover"),Vt=y.R3(Dt,pt("div.hover-contents")),Mt=ke.add(new ce.$({editor:this._editor},this._modeService,this._openerService)),Jt=ui=>{ke.add(Mt.onDidRenderAsync(()=>{Vt.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));const vi=z.N("inlineSuggestionFollows","Suggestion:"),Si=ke.add(Mt.render(new ue.W5().appendText(vi).appendCodeblock("text",ui)));Vt.replaceChildren(Si.element)},jt=(nt=(lt=Y.controller.activeModel)===null||lt===void 0?void 0:lt.inlineCompletionsModel)===null||nt===void 0?void 0:nt.ghostText;if(jt){const ui=this._editor.getModel().getLineContent(jt.lineNumber);Jt(jt.renderForScreenReader(ui))}_e.appendChild(Dt)}};st=ai([Pt(2,Ti.H),Pt(3,Di.co),Pt(4,Ni.i6),Pt(5,G.h),Pt(6,fe.v4),Pt(7,hi.F)],st);var gt=i(16925),ht=i(5898),Qe=i(15817),$e=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},Ie=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}},Oe=function(Se,Y,_e,ke){function lt(nt){return nt instanceof _e?nt:new _e(function(pt){pt(nt)})}return new(_e||(_e=Promise))(function(nt,pt){function Dt(Jt){try{Mt(ke.next(Jt))}catch(jt){pt(jt)}}function Vt(Jt){try{Mt(ke.throw(Jt))}catch(jt){pt(jt)}}function Mt(Jt){Jt.done?nt(Jt.value):lt(Jt.value).then(Dt,Vt)}Mt((ke=ke.apply(Se,Y||[])).next())})};const Ke=y.$;let ct=class extends H.JT{constructor(Y){super(),this._keybindingService=Y,this._hasContent=!1,this.hoverElement=Ke("div.hover-row.status-bar"),this.actionsElement=y.R3(this.hoverElement,Ke("div.actions"))}get hasContent(){return this._hasContent}addAction(Y){const _e=this._keybindingService.lookupKeybinding(Y.commandId),ke=_e?_e.getLabel():null;return this._hasContent=!0,this._register(g.render(this.actionsElement,Y,ke))}append(Y){const _e=y.R3(this.actionsElement,Y);return this._hasContent=!0,_e}};ct=$e([Ie(0,ht.d)],ct);class Nt{constructor(Y,_e){this._participants=_e,this._editor=Y,this._result=[],this._anchor=null}setAnchor(Y){this._anchor=Y,this._result=[]}clearResult(){this._result=[]}static _getLineDecorations(Y,_e){if(_e.type!==1)return[];const ke=Y.getModel(),lt=_e.range.startLineNumber,nt=ke.getLineMaxColumn(lt);return Y.getLineDecorations(lt).filter(pt=>{if(pt.options.isWholeLine)return!0;const Dt=pt.range.startLineNumber===lt?pt.range.startColumn:1,Vt=pt.range.endLineNumber===lt?pt.range.endColumn:nt;return!(Dt>_e.range.startColumn||_e.range.endColumn>Vt)})}computeAsync(Y){return Oe(this,void 0,void 0,function*(){const _e=this._anchor;if(!this._editor.hasModel()||!_e)return Promise.resolve([]);const ke=Nt._getLineDecorations(this._editor,_e),lt=yield Promise.all(this._participants.map(nt=>this._computeAsync(nt,ke,_e,Y)));return(0,s.xH)(lt)})}_computeAsync(Y,_e,ke,lt){return Oe(this,void 0,void 0,function*(){return Y.computeAsync?Y.computeAsync(ke,_e,lt):[]})}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const Y=Nt._getLineDecorations(this._editor,this._anchor);let _e=[];for(const ke of this._participants)_e=_e.concat(ke.computeSync(this._anchor,Y));return(0,s.kX)(_e)}onResult(Y,_e){_e?this._result=Y.concat(this._result):this._result=this._result.concat(Y)}getResult(){return this._result.slice(0)}getResultWithLoadingMessage(){if(this._anchor){for(const Y of this._participants)if(Y.createLoadingMessage){const _e=Y.createLoadingMessage(this._anchor);if(_e)return this._result.slice(0).concat([_e])}}return this._result.slice(0)}}let $t=class Na extends w.${constructor(Y,_e,ke,lt,nt){super(),this._hoverVisibleKey=_e,this._keybindingService=lt,this._contextKeyService=nt,this.allowEditorOverflow=!0,this._participants=[ke.createInstance(te,Y,this),ke.createInstance(Pe,Y,this),ke.createInstance(st,Y,this),ke.createInstance(oi,Y,this)],this._editor=Y,this._isVisible=!1,this._stoleFocus=!1,this._renderDisposable=null,this._hover=this._register(new a),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this.onkeydown(this._hover.containerDomNode,pt=>{pt.equals(9)&&this.hide()}),this._register(this._editor.onDidChangeConfiguration(pt=>{pt.hasChanged(43)&&this._updateFont()})),this._editor.onDidLayoutChange(()=>this.layout()),this.layout(),this._editor.addContentWidget(this),this._showAtPosition=null,this._showAtRange=null,this._stoleFocus=!1,this._messages=[],this._lastAnchor=null,this._computer=new Nt(this._editor,this._participants),this._highlightDecorations=[],this._isChangingDecorations=!1,this._shouldFocus=!1,this._colorPicker=null,this._preferAbove=this._editor.getOption(52).above,this._hoverOperation=new ve(this._computer,pt=>this._withResult(pt,!0),null,pt=>this._withResult(pt,!1),this._editor.getOption(52).delay),this._register(y.mu(this.getDomNode(),y.tw.FOCUS,()=>{this._colorPicker&&this.getDomNode().classList.add("colorpicker-hover")})),this._register(y.mu(this.getDomNode(),y.tw.BLUR,()=>{this.getDomNode().classList.remove("colorpicker-hover")})),this._register(Y.onDidChangeConfiguration(()=>{this._hoverOperation.setHoverTime(this._editor.getOption(52).delay),this._preferAbove=this._editor.getOption(52).above})),this._register(v.RW.onDidChange(()=>{this._isVisible&&this._lastAnchor&&this._messages.length>0&&(this._hover.contentsDomNode.textContent="",this._renderMessages(this._lastAnchor,this._messages))}))}dispose(){this._hoverOperation.cancel(),this._editor.removeContentWidget(this),super.dispose()}getId(){return Na.ID}getDomNode(){return this._hover.containerDomNode}_shouldShowAt(Y){const _e=Y.target.type;if(_e===6)return!0;if(_e===7){const ke=this._editor.getOption(43).typicalHalfwidthCharacterWidth/2,lt=Y.target.detail;if(lt&&!lt.isAfterLines&&typeof lt.horizontalDistanceToText=="number"&<.horizontalDistanceToTextpt.startsWith("ced-colorBox"))&&Y.target.range.endColumn-Y.target.range.startColumn===1?new P.e(Y.target.range.startLineNumber,Y.target.range.startColumn+1,Y.target.range.endLineNumber,Y.target.range.endColumn+1):Y.target.range;ke.push(new Fe(0,nt))}return ke.length===0?!1:(ke.sort((lt,nt)=>nt.priority-lt.priority),this._startShowingAt(ke[0],0,!1),!0)}_showAt(Y,_e,ke){this._showAtPosition=Y,this._showAtRange=_e,this._hoverVisibleKey.set(!0),this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=ke,ke&&this._hover.containerDomNode.focus()}getPosition(){if(this._isVisible){let Y=this._preferAbove;return!Y&&this._contextKeyService.getContextKeyValue(Qe._y.Visible.key)&&(Y=!0),{position:this._showAtPosition,range:this._showAtRange,preference:Y?[1,2]:[2,1]}}return null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(_e=>this._editor.applyFontInfo(_e))}_updateContents(Y){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(Y),this._updateFont(),this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}layout(){const Y=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:_e,lineHeight:ke}=this._editor.getOption(43);this._hover.contentsDomNode.style.fontSize=`${_e}px`,this._hover.contentsDomNode.style.lineHeight=`${ke/_e}`,this._hover.contentsDomNode.style.maxHeight=`${Y}px`,this._hover.contentsDomNode.style.maxWidth=`${Math.max(this._editor.getLayoutInfo().width*.66,500)}px`}onModelDecorationsChanged(){this._isChangingDecorations||this._isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))}startShowingAtRange(Y,_e,ke){this._startShowingAt(new Fe(0,Y),_e,ke)}_startShowingAt(Y,_e,ke){if(!(this._lastAnchor&&this._lastAnchor.equals(Y))){if(this._hoverOperation.cancel(),this._isVisible)if(!this._showAtPosition||!this._lastAnchor||!Y.canAdoptVisibleHover(this._lastAnchor,this._showAtPosition))this.hide();else{const lt=this._messages.filter(nt=>nt.isValidForHoverAnchor(Y));if(lt.length===0)this.hide();else{if(lt.length===this._messages.length)return;this._renderMessages(Y,lt)}}this._lastAnchor=Y,this._computer.setAnchor(Y),this._shouldFocus=ke,this._hoverOperation.start(_e)}}hide(){this._lastAnchor=null,this._hoverOperation.cancel(),this._isVisible&&(setTimeout(()=>{this._isVisible||this._hoverVisibleKey.set(!1)},0),this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus()),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this._renderDisposable&&(this._renderDisposable.dispose(),this._renderDisposable=null),this._colorPicker=null}isColorPickerVisible(){return!!this._colorPicker}setColorPicker(Y){this._colorPicker=Y}onContentsChanged(){this._hover.onContentsChanged()}_withResult(Y,_e){this._messages=Y,this._lastAnchor&&this._messages.length>0?this._renderMessages(this._lastAnchor,this._messages):_e&&this.hide()}_renderMessages(Y,_e){this._renderDisposable&&(this._renderDisposable.dispose(),this._renderDisposable=null),this._colorPicker=null;let ke=1073741824,lt=_e[0].range,nt=null,pt=document.createDocumentFragment();const Dt=new H.SL,Vt=new Map;for(const Jt of _e)ke=Math.min(ke,Jt.range.startColumn),lt=P.e.plusRange(lt,Jt.range),Jt.forceShowAtRange&&(nt=Jt.range),Vt.has(Jt.owner)||Vt.set(Jt.owner,[]),Vt.get(Jt.owner).push(Jt);const Mt=Dt.add(new ct(this._keybindingService));for(const[Jt,jt]of Vt)Dt.add(Jt.renderHoverParts(jt,pt,Mt));Mt.hasContent&&pt.appendChild(Mt.hoverElement),this._renderDisposable=Dt,pt.hasChildNodes()&&(nt?this._showAt(nt.getStartPosition(),nt,this._shouldFocus):this._showAt(new C.L(Y.range.startLineNumber,ke),lt,this._shouldFocus),this._updateContents(pt)),this._colorPicker&&this._colorPicker.layout(),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,lt?[{range:lt,options:Na._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1}};$t.ID="editor.contrib.modesContentHoverWidget",$t._DECORATION_OPTIONS=f.qx.register({description:"content-hover-highlight",className:"hoverHighlight"}),$t=$e([Ie(2,gt.TG),Ie(3,ht.d),Ie(4,Ni.i6)],$t);const Xt=y.$;class Ci{constructor(Y){this._editor=Y,this._lineNumber=-1,this._result=[]}setLineNumber(Y){this._lineNumber=Y,this._result=[]}clearResult(){this._result=[]}computeSync(){const Y=lt=>({value:lt}),_e=this._editor.getLineDecorations(this._lineNumber),ke=[];if(!_e)return ke;for(const lt of _e){if(!lt.options.glyphMarginClassName)continue;const nt=lt.options.glyphMarginHoverMessage;!nt||(0,ue.CP)(nt)||ke.push(...(0,s._2)(nt).map(Y))}return ke}onResult(Y,_e){this._result=this._result.concat(Y)}getResult(){return this._result}getResultWithLoadingMessage(){return this.getResult()}}class Zt extends w.${constructor(Y,_e,ke=fe.SW){super(),this._renderDisposeables=this._register(new H.SL),this._editor=Y,this._isVisible=!1,this._messages=[],this._lastLineNumber=-1,this._hover=this._register(new a),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new ce.$({editor:this._editor},_e,ke)),this._computer=new Ci(this._editor),this._hoverOperation=new ve(this._computer,lt=>this._withResult(lt),void 0,lt=>this._withResult(lt),300),this._register(this._editor.onDidChangeConfiguration(lt=>{lt.hasChanged(43)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._hoverOperation.cancel(),this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Zt.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_showAt(Y){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));const _e=this._editor.getLayoutInfo(),ke=this._editor.getTopForLineNumber(Y),lt=this._editor.getScrollTop(),nt=this._editor.getOption(58),pt=this._hover.containerDomNode.clientHeight,Dt=ke-lt-(pt-nt)/2;this._hover.containerDomNode.style.left=`${_e.glyphMarginLeft+_e.glyphMarginWidth}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(Dt),0)}px`}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(_e=>this._editor.applyFontInfo(_e))}_updateContents(Y){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(Y),this._updateFont()}onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))}startShowingAt(Y){this._lastLineNumber!==Y&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=Y,this._computer.setLineNumber(Y),this._hoverOperation.start(0))}hide(){this._lastLineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(Y){this._messages=Y,this._messages.length>0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()}_renderMessages(Y,_e){this._renderDisposeables.clear();const ke=document.createDocumentFragment();for(const lt of _e){const nt=Xt("div.hover-row.markdown-hover"),pt=y.R3(nt,Xt("div.hover-contents")),Dt=this._renderDisposeables.add(this._markdownRenderer.render(lt.value));pt.appendChild(Dt.element),ke.appendChild(nt)}this._updateContents(ke),this._showAt(Y)}}Zt.ID="editor.contrib.modesGlyphHoverWidget";var mi=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},mt=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}};let ut=class Il{constructor(Y,_e,ke,lt,nt){this._editor=Y,this._instantiationService=_e,this._openerService=ke,this._modeService=lt,this._toUnhook=new H.SL,this._isMouseDown=!1,this._hoverClicked=!1,this._contentWidget=null,this._glyphWidget=null,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(pt=>{pt.hasChanged(52)&&(this._unhookEvents(),this._hookEvents())}),this._hoverVisibleKey=D.u.hoverVisible.bindTo(nt)}static get(Y){return Y.getContribution(Il.ID)}_hookEvents(){const Y=()=>this._hideWidgets(),_e=this._editor.getOption(52);this._isHoverEnabled=_e.enabled,this._isHoverSticky=_e.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(ke=>this._onEditorMouseDown(ke))),this._toUnhook.add(this._editor.onMouseUp(ke=>this._onEditorMouseUp(ke))),this._toUnhook.add(this._editor.onMouseMove(ke=>this._onEditorMouseMove(ke))),this._toUnhook.add(this._editor.onKeyDown(ke=>this._onKeyDown(ke))),this._toUnhook.add(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged()))):(this._toUnhook.add(this._editor.onMouseMove(ke=>this._onEditorMouseMove(ke))),this._toUnhook.add(this._editor.onKeyDown(ke=>this._onKeyDown(ke)))),this._toUnhook.add(this._editor.onMouseLeave(Y)),this._toUnhook.add(this._editor.onDidChangeModel(Y)),this._toUnhook.add(this._editor.onDidScrollChange(ke=>this._onEditorScrollChanged(ke)))}_unhookEvents(){this._toUnhook.clear()}_onModelDecorationsChanged(){var Y,_e;(Y=this._contentWidget)===null||Y===void 0||Y.onModelDecorationsChanged(),(_e=this._glyphWidget)===null||_e===void 0||_e.onModelDecorationsChanged()}_onEditorScrollChanged(Y){(Y.scrollTopChanged||Y.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(Y){this._isMouseDown=!0;const _e=Y.target.type;if(_e===9&&Y.target.detail===$t.ID){this._hoverClicked=!0;return}_e===12&&Y.target.detail===Zt.ID||(_e!==12&&Y.target.detail!==Zt.ID&&(this._hoverClicked=!1),this._hideWidgets())}_onEditorMouseUp(Y){this._isMouseDown=!1}_onEditorMouseMove(Y){var _e,ke,lt,nt,pt;let Dt=Y.target.type;if(this._isMouseDown&&this._hoverClicked||this._isHoverSticky&&Dt===9&&Y.target.detail===$t.ID||this._isHoverSticky&&!(!((ke=(_e=Y.event.browserEvent.view)===null||_e===void 0?void 0:_e.getSelection())===null||ke===void 0)&&ke.isCollapsed)||!this._isHoverSticky&&Dt===9&&Y.target.detail===$t.ID&&(!((lt=this._contentWidget)===null||lt===void 0)&<.isColorPickerVisible())||this._isHoverSticky&&Dt===12&&Y.target.detail===Zt.ID)return;if(!this._isHoverEnabled){this._hideWidgets();return}if(this._getOrCreateContentWidget().maybeShowAt(Y)){(nt=this._glyphWidget)===null||nt===void 0||nt.hide();return}if(Dt===2&&Y.target.position){(pt=this._contentWidget)===null||pt===void 0||pt.hide(),this._glyphWidget||(this._glyphWidget=new Zt(this._editor,this._modeService,this._openerService)),this._glyphWidget.startShowingAt(Y.target.position.lineNumber);return}this._hideWidgets()}_onKeyDown(Y){Y.keyCode!==5&&Y.keyCode!==6&&Y.keyCode!==57&&Y.keyCode!==4&&this._hideWidgets()}_hideWidgets(){var Y,_e,ke;this._isMouseDown&&this._hoverClicked&&(!((Y=this._contentWidget)===null||Y===void 0)&&Y.isColorPickerVisible())||(this._hoverClicked=!1,(_e=this._glyphWidget)===null||_e===void 0||_e.hide(),(ke=this._contentWidget)===null||ke===void 0||ke.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance($t,this._editor,this._hoverVisibleKey)),this._contentWidget}isColorPickerVisible(){var Y;return((Y=this._contentWidget)===null||Y===void 0?void 0:Y.isColorPickerVisible())||!1}showContentHover(Y,_e,ke){this._getOrCreateContentWidget().startShowingAtRange(Y,_e,ke)}dispose(){var Y,_e;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),(Y=this._glyphWidget)===null||Y===void 0||Y.dispose(),(_e=this._contentWidget)===null||_e===void 0||_e.dispose()}};ut.ID="editor.contrib.hover",ut=mi([mt(1,gt.TG),mt(2,fe.v4),mt(3,G.h),mt(4,Ni.i6)],ut);class qe extends O.R6{constructor(){super({id:"editor.action.showHover",label:z.N({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:D.u.editorTextFocus,primary:(0,h.gx)(2089,2087),weight:100}})}run(Y,_e){if(!_e.hasModel())return;let ke=ut.get(_e);if(!ke)return;const lt=_e.getPosition(),nt=new P.e(lt.lineNumber,lt.column,lt.lineNumber,lt.column),pt=_e.getOption(2)===2;ke.showContentHover(nt,1,pt)}}class de extends O.R6{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:z.N({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(Y,_e){let ke=ut.get(_e);if(!ke)return;const lt=_e.getPosition();if(!lt)return;const nt=new P.e(lt.lineNumber,lt.column,lt.lineNumber,lt.column);I.GotoDefinitionAtPositionEditorContribution.get(_e).startFindDefinitionFromCursor(lt).then(()=>{ke.showContentHover(nt,1,!0)})}}(0,O._K)(ut.ID,ut),(0,O.Qr)(qe),(0,O.Qr)(de),(0,se.Ic)((Se,Y)=>{const _e=Se.getColor(oe.pt);_e&&Y.addRule(`.monaco-editor .hoverHighlight { background-color: ${_e}; }`);const ke=Se.getColor(oe.yJ);ke&&Y.addRule(`.monaco-editor .monaco-hover { background-color: ${ke}; }`);const lt=Se.getColor(oe.CN);lt&&(Y.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${lt}; }`),Y.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${lt.transparent(.5)}; }`),Y.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${lt.transparent(.5)}; }`),Y.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${lt.transparent(.5)}; }`));const nt=Se.getColor(oe.ur);nt&&Y.addRule(`.monaco-editor .monaco-hover a { color: ${nt}; }`);const pt=Se.getColor(oe.sg);pt&&Y.addRule(`.monaco-editor .monaco-hover a:hover { color: ${pt}; }`);const Dt=Se.getColor(oe.Sb);Dt&&Y.addRule(`.monaco-editor .monaco-hover { color: ${Dt}; }`);const Vt=Se.getColor(oe.Lo);Vt&&Y.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${Vt}; }`);const Mt=Se.getColor(oe.Sw);Mt&&Y.addRule(`.monaco-editor .monaco-hover code { background-color: ${Mt}; }`)})},63478:function(xt,Te,i){"use strict";i.r(Te);var h=i(50431),H=i(79881),O=i(39528),P=i(4514),D=i(17373),G=i(17551),I=i(68987),y=i(31276),E=i(52645),p=i(30297),a=i(13268),g=i(49055);class w{constructor(m,c,b){this._editRange=m,this._originalSelection=c,this._text=b}getEditOperations(m,c){c.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(m,c){const L=c.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new G.Y(L.endLineNumber,Math.min(this._originalSelection.positionColumn,L.endColumn),L.endLineNumber,Math.min(this._originalSelection.positionColumn,L.endColumn)):new G.Y(L.endLineNumber,L.endColumn-this._text.length,L.endLineNumber,L.endColumn)}}var s=function(l,m,c,b){var L=arguments.length,T=L<3?m:b===null?b=Object.getOwnPropertyDescriptor(m,c):b,M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(l,m,c,b);else for(var z=l.length-1;z>=0;z--)(M=l[z])&&(T=(L<3?M(T):L>3?M(m,c,T):M(m,c))||T);return L>3&&T&&Object.defineProperty(m,c,T),T},C=function(l,m){return function(c,b){m(c,b,l)}};let f=class Ia{constructor(m,c){this.decorationIds=[],this.editor=m,this.editorWorkerService=c}static get(m){return m.getContribution(Ia.ID)}dispose(){}run(m,c){this.currentRequest&&this.currentRequest.cancel();const b=this.editor.getSelection(),L=this.editor.getModel();if(!L||!b)return;let T=b;if(T.startLineNumber!==T.endLineNumber)return;const M=new O.yy(this.editor,5),z=L.uri;return this.editorWorkerService.canNavigateValueSet(z)?(this.currentRequest=(0,h.PG)(oe=>this.editorWorkerService.navigateValueSet(z,T,c)),this.currentRequest.then(oe=>{if(!oe||!oe.range||!oe.value||!M.validate(this.editor))return;let se=D.e.lift(oe.range),re=oe.range,De=oe.value.length-(T.endColumn-T.startColumn);re={startLineNumber:re.startLineNumber,startColumn:re.startColumn,endLineNumber:re.endLineNumber,endColumn:re.startColumn+oe.value.length},De>1&&(T=new G.Y(T.startLineNumber,T.startColumn,T.endLineNumber,T.endColumn+De-1));const J=new w(se,T,oe.value);this.editor.pushUndoStop(),this.editor.executeCommand(m,J),this.editor.pushUndoStop(),this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[{range:re,options:Ia.DECORATION}]),this.decorationRemover&&this.decorationRemover.cancel(),this.decorationRemover=(0,h.Vs)(350),this.decorationRemover.then(()=>this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[])).catch(H.dL)}).catch(H.dL)):Promise.resolve(void 0)}};f.ID="editor.contrib.inPlaceReplaceController",f.DECORATION=y.qx.register({description:"in-place-replace",className:"valueSetReplacement"}),f=s([C(1,E.p)],f);class v extends P.R6{constructor(){super({id:"editor.action.inPlaceReplace.up",label:a.N("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:I.u.writable,kbOpts:{kbExpr:I.u.editorTextFocus,primary:3154,weight:100}})}run(m,c){const b=f.get(c);return b?b.run(this.id,!0):Promise.resolve(void 0)}}class r extends P.R6{constructor(){super({id:"editor.action.inPlaceReplace.down",label:a.N("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:I.u.writable,kbOpts:{kbExpr:I.u.editorTextFocus,primary:3156,weight:100}})}run(m,c){const b=f.get(c);return b?b.run(this.id,!1):Promise.resolve(void 0)}}(0,P._K)(f.ID,f),(0,P.Qr)(v),(0,P.Qr)(r),(0,g.Ic)((l,m)=>{const c=l.getColor(p.Dl);c&&m.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${c}; }`)})},44765:function(xt,Te,i){"use strict";i.d(Te,{J:function(){return H},Y:function(){return h}});function h(O,P){let D=0;for(let G=0;G({range:{startLineNumber:1,endLineNumber:1,startColumn:ke.column,endColumn:ke.column},text:ke.lines.join(`
+ `)}});var K=function(Ht,ze,Xe,Ze){var Ae=arguments.length,He=Ae<3?ze:Ze===null?Ze=Object.getOwnPropertyDescriptor(ze,Xe):Ze,Et;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")He=Reflect.decorate(Ht,ze,Xe,Ze);else for(var Wt=Ht.length-1;Wt>=0;Wt--)(Et=Ht[Wt])&&(He=(Ae<3?Et(He):Ae>3?Et(ze,Xe,He):Et(ze,Xe))||He);return Ae>3&&He&&Object.defineProperty(ze,Xe,He),He},ie=function(Ht,ze){return function(Xe,Ze){ze(Xe,Ze,Ht)}};class te{constructor(ze,Xe,Ze,Ae,He){this._openerService=Ae,this._labelService=He,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new H.SL,this._editor=Xe;const Et=document.createElement("div");Et.className="descriptioncontainer",this._messageBlock=document.createElement("div"),this._messageBlock.classList.add("message"),this._messageBlock.setAttribute("aria-live","assertive"),this._messageBlock.setAttribute("role","alert"),Et.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),Et.appendChild(this._relatedBlock),this._disposables.add(z.mu(this._relatedBlock,"click",Wt=>{Wt.preventDefault();const oi=this._relatedDiagnostics.get(Wt.target);oi&&Ze(oi)})),this._scrollable=new oe.NB(Et,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),ze.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll(Wt=>{Et.style.left=`-${Wt.scrollLeft}px`,Et.style.top=`-${Wt.scrollTop}px`})),this._disposables.add(this._scrollable)}dispose(){(0,H.B9)(this._disposables)}update(ze){const{source:Xe,message:Ze,relatedInformation:Ae,code:He}=ze;let Et=((Xe==null?void 0:Xe.length)||0)+2;He&&(typeof He=="string"?Et+=He.length:Et+=He.value.length);const Wt=(0,a.uq)(Ze);this._lines=Wt.length,this._longestLineLength=0;for(const Ti of Wt)this._longestLineLength=Math.max(Ti.length+Et,this._longestLineLength);z.PO(this._messageBlock),this._messageBlock.setAttribute("aria-label",this.getAriaLabel(ze)),this._editor.applyFontInfo(this._messageBlock);let oi=this._messageBlock;for(const Ti of Wt)oi=document.createElement("div"),oi.innerText=Ti,Ti===""&&(oi.style.height=this._messageBlock.style.lineHeight),this._messageBlock.appendChild(oi);if(Xe||He){const Ti=document.createElement("span");if(Ti.classList.add("details"),oi.appendChild(Ti),Xe){const Ni=document.createElement("span");Ni.innerText=Xe,Ni.classList.add("source"),Ti.appendChild(Ni)}if(He)if(typeof He=="string"){const Ni=document.createElement("span");Ni.innerText=`(${He})`,Ni.classList.add("code"),Ti.appendChild(Ni)}else{this._codeLink=z.$("a.code-link"),this._codeLink.setAttribute("href",`${He.target.toString()}`),this._codeLink.onclick=ai=>{this._openerService.open(He.target,{allowCommands:!0}),ai.preventDefault(),ai.stopPropagation()};const Ni=z.R3(this._codeLink,z.$("span"));Ni.innerText=He.value,Ti.appendChild(this._codeLink)}}if(z.PO(this._relatedBlock),this._editor.applyFontInfo(this._relatedBlock),(0,y.Of)(Ae)){const Ti=this._relatedBlock.appendChild(document.createElement("div"));Ti.style.paddingTop=`${Math.floor(this._editor.getOption(58)*.66)}px`,this._lines+=1;for(const Ni of Ae){let ai=document.createElement("div"),Pt=document.createElement("a");Pt.classList.add("filename"),Pt.innerText=`${(0,re.p)(Ni.resource)}(${Ni.startLineNumber}, ${Ni.startColumn}): `,Pt.title=this._labelService.getUriLabel(Ni.resource),this._relatedDiagnostics.set(Pt,Ni);let Gt=document.createElement("span");Gt.innerText=Ni.message,ai.appendChild(Pt),ai.appendChild(Gt),this._lines+=1,Ti.appendChild(ai)}}const ni=this._editor.getOption(43),hi=Math.ceil(ni.typicalFullwidthCharacterWidth*this._longestLineLength*.75),Di=ni.lineHeight*this._lines;this._scrollable.setScrollDimensions({scrollWidth:hi,scrollHeight:Di})}layout(ze,Xe){this._scrollable.getDomNode().style.height=`${ze}px`,this._scrollable.getDomNode().style.width=`${Xe}px`,this._scrollable.setScrollDimensions({width:Xe,height:ze})}getHeightInLines(){return Math.min(17,this._lines)}getAriaLabel(ze){let Xe="";switch(ze.severity){case C.ZL.Error:Xe=b.N("Error","Error");break;case C.ZL.Warning:Xe=b.N("Warning","Warning");break;case C.ZL.Info:Xe=b.N("Info","Info");break;case C.ZL.Hint:Xe=b.N("Hint","Hint");break}let Ze=b.N("marker aria","{0} at {1}. ",Xe,ze.startLineNumber+":"+ze.startColumn);const Ae=this._editor.getModel();return Ae&&ze.startLineNumber<=Ae.getLineCount()&&ze.startLineNumber>=1&&(Ze=`${Ae.getLineContent(ze.startLineNumber)}, ${Ze}`),Ze}}let ge=class Sl extends J.vk{constructor(ze,Xe,Ze,Ae,He,Et,Wt){super(ze,{showArrow:!0,showFrame:!0,isAccessible:!0,frameWidth:1},He),this._themeService=Xe,this._openerService=Ze,this._menuService=Ae,this._contextKeyService=Et,this._labelService=Wt,this._callOnDispose=new H.SL,this._onDidSelectRelatedInformation=new E.Q5,this.onDidSelectRelatedInformation=this._onDidSelectRelatedInformation.event,this._severity=C.ZL.Warning,this._backgroundColor=se.Il.white,this._applyTheme(Xe.getColorTheme()),this._callOnDispose.add(Xe.onDidColorThemeChange(this._applyTheme.bind(this))),this.create()}_applyTheme(ze){this._backgroundColor=ze.getColor(fe);let Xe=we,Ze=ue;this._severity===C.ZL.Warning?(Xe=ce,Ze=Ve):this._severity===C.ZL.Info&&(Xe=We,Ze=ae);const Ae=ze.getColor(Xe),He=ze.getColor(Ze);this.style({arrowColor:Ae,frameColor:Ae,headerBackgroundColor:He,primaryHeadingColor:ze.getColor(J.IH),secondaryHeadingColor:ze.getColor(J.R7)})}_applyStyles(){this._parentContainer&&(this._parentContainer.style.backgroundColor=this._backgroundColor?this._backgroundColor.toString():""),super._applyStyles()}dispose(){this._callOnDispose.dispose(),super.dispose()}_fillHead(ze){super._fillHead(ze),this._disposables.add(this._actionbarWidget.actionRunner.onBeforeRun(Ae=>this.editor.focus()));const Xe=[],Ze=this._menuService.createMenu(Sl.TitleMenu,this._contextKeyService);(0,Z.vr)(Ze,void 0,Xe),this._actionbarWidget.push(Xe,{label:!1,icon:!0,index:0}),Ze.dispose()}_fillTitleIcon(ze){this._icon=z.R3(ze,z.$(""))}_fillBody(ze){this._parentContainer=ze,ze.classList.add("marker-widget"),this._parentContainer.tabIndex=0,this._parentContainer.setAttribute("role","tooltip"),this._container=document.createElement("div"),ze.appendChild(this._container),this._message=new te(this._container,this.editor,Xe=>this._onDidSelectRelatedInformation.fire(Xe),this._openerService,this._labelService),this._disposables.add(this._message)}show(){throw new Error("call showAtMarker")}showAtMarker(ze,Xe,Ze){this._container.classList.remove("stale"),this._message.update(ze),this._severity=ze.severity,this._applyTheme(this._themeService.getColorTheme());let Ae=G.e.lift(ze);const He=this.editor.getPosition();let Et=He&&Ae.containsPosition(He)?He:Ae.getStartPosition();super.show(Et,this.computeRequiredHeight());const Wt=this.editor.getModel();if(Wt){const oi=Ze>1?b.N("problems","{0} of {1} problems",Xe,Ze):b.N("change","{0} of {1} problem",Xe,Ze);this.setTitle((0,De.EZ)(Wt.uri),oi)}this._icon.className=`codicon ${V.className(C.ZL.toSeverity(this._severity))}`,this.editor.revealPositionNearTop(Et,0),this.editor.focus()}updateMarker(ze){this._container.classList.remove("stale"),this._message.update(ze)}showStale(){this._container.classList.add("stale"),this._relayout()}_doLayoutBody(ze,Xe){super._doLayoutBody(ze,Xe),this._heightInPixel=ze,this._message.layout(ze,Xe),this._container.style.height=`${ze}px`}_onWidth(ze){this._message.layout(this._heightInPixel,ze)}_relayout(){super._relayout(this.computeRequiredHeight())}computeRequiredHeight(){return 3+this._message.getHeightInLines()}};ge.TitleMenu=new L.eH("gotoErrorTitleMenu"),ge=K([ie(1,R.XE),ie(2,le.v4),ie(3,L.co),ie(4,s.TG),ie(5,T.i6),ie(6,Q.e)],ge);let ye=(0,j.kw)(j.lX,j.b6),ve=(0,j.kw)(j.uo,j.pW),Fe=(0,j.kw)(j.c6,j.T8);const we=(0,j.P6)("editorMarkerNavigationError.background",{dark:ye,light:ye,hc:j.lR},b.N("editorMarkerNavigationError","Editor marker navigation widget error color.")),ue=(0,j.P6)("editorMarkerNavigationError.headerBackground",{dark:(0,j.Zn)(we,.1),light:(0,j.Zn)(we,.1),hc:null},b.N("editorMarkerNavigationErrorHeaderBackground","Editor marker navigation widget error heading background.")),ce=(0,j.P6)("editorMarkerNavigationWarning.background",{dark:ve,light:ve,hc:j.lR},b.N("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),Ve=(0,j.P6)("editorMarkerNavigationWarning.headerBackground",{dark:(0,j.Zn)(ce,.1),light:(0,j.Zn)(ce,.1),hc:"#0C141F"},b.N("editorMarkerNavigationWarningBackground","Editor marker navigation widget warning heading background.")),We=(0,j.P6)("editorMarkerNavigationInfo.background",{dark:Fe,light:Fe,hc:j.lR},b.N("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),ae=(0,j.P6)("editorMarkerNavigationInfo.headerBackground",{dark:(0,j.Zn)(We,.1),light:(0,j.Zn)(We,.1),hc:null},b.N("editorMarkerNavigationInfoHeaderBackground","Editor marker navigation widget info heading background.")),fe=(0,j.P6)("editorMarkerNavigation.background",{dark:j.cv,light:j.cv,hc:j.cv},b.N("editorMarkerNavigationBackground","Editor marker navigation widget background."));(0,R.Ic)((Ht,ze)=>{const Xe=Ht.getColor(j.ur);Xe&&ze.addRule(`.monaco-editor .marker-widget a.code-link span { color: ${Xe}; }`);const Ze=Ht.getColor(j.sg);Ze&&ze.addRule(`.monaco-editor .marker-widget a.code-link span:hover { color: ${Ze}; }`)});var ne=function(Ht,ze,Xe,Ze){var Ae=arguments.length,He=Ae<3?ze:Ze===null?Ze=Object.getOwnPropertyDescriptor(ze,Xe):Ze,Et;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")He=Reflect.decorate(Ht,ze,Xe,Ze);else for(var Wt=Ht.length-1;Wt>=0;Wt--)(Et=Ht[Wt])&&(He=(Ae<3?Et(He):Ae>3?Et(ze,Xe,He):Et(ze,Xe))||He);return Ae>3&&He&&Object.defineProperty(ze,Xe,He),He},W=function(Ht,ze){return function(Xe,Ze){ze(Xe,Ze,Ht)}},$=function(Ht,ze,Xe,Ze){function Ae(He){return He instanceof Xe?He:new Xe(function(Et){Et(He)})}return new(Xe||(Xe=Promise))(function(He,Et){function Wt(hi){try{ni(Ze.next(hi))}catch(Di){Et(Di)}}function oi(hi){try{ni(Ze.throw(hi))}catch(Di){Et(Di)}}function ni(hi){hi.done?He(hi.value):Ae(hi.value).then(Wt,oi)}ni((Ze=Ze.apply(Ht,ze||[])).next())})};let ee=class yr{constructor(ze,Xe,Ze,Ae,He){this._markerNavigationService=Xe,this._contextKeyService=Ze,this._editorService=Ae,this._instantiationService=He,this._sessionDispoables=new H.SL,this._editor=ze,this._widgetVisible=vt.bindTo(this._contextKeyService)}static get(ze){return ze.getContribution(yr.ID)}dispose(){this._cleanUp(),this._sessionDispoables.dispose()}_cleanUp(){this._widgetVisible.reset(),this._sessionDispoables.clear(),this._widget=void 0,this._model=void 0}_getOrCreateModel(ze){if(this._model&&this._model.matches(ze))return this._model;let Xe=!1;return this._model&&(Xe=!0,this._cleanUp()),this._model=this._markerNavigationService.getMarkerList(ze),Xe&&this._model.move(!0,this._editor.getModel(),this._editor.getPosition()),this._widget=this._instantiationService.createInstance(ge,this._editor),this._widget.onDidClose(()=>this.close(),this,this._sessionDispoables),this._widgetVisible.set(!0),this._sessionDispoables.add(this._model),this._sessionDispoables.add(this._widget),this._sessionDispoables.add(this._editor.onDidChangeCursorPosition(Ze=>{var Ae,He,Et;(!(!((Ae=this._model)===null||Ae===void 0)&&Ae.selected)||!G.e.containsPosition((He=this._model)===null||He===void 0?void 0:He.selected.marker,Ze.position))&&((Et=this._model)===null||Et===void 0||Et.resetIndex())})),this._sessionDispoables.add(this._model.onDidChange(()=>{if(!this._widget||!this._widget.position||!this._model)return;const Ze=this._model.find(this._editor.getModel().uri,this._widget.position);Ze?this._widget.updateMarker(Ze.marker):this._widget.showStale()})),this._sessionDispoables.add(this._widget.onDidSelectRelatedInformation(Ze=>{this._editorService.openCodeEditor({resource:Ze.resource,options:{pinned:!0,revealIfOpened:!0,selection:G.e.lift(Ze).collapseToStart()}},this._editor),this.close(!1)})),this._sessionDispoables.add(this._editor.onDidChangeModel(()=>this._cleanUp())),this._model}close(ze=!0){this._cleanUp(),ze&&this._editor.focus()}showAtMarker(ze){if(this._editor.hasModel()){const Xe=this._getOrCreateModel(this._editor.getModel().uri);Xe.resetIndex(),Xe.move(!0,this._editor.getModel(),new D.L(ze.startLineNumber,ze.startColumn)),Xe.selected&&this._widget.showAtMarker(Xe.selected.marker,Xe.selected.index,Xe.selected.total)}}nagivate(ze,Xe){return $(this,void 0,void 0,function*(){if(this._editor.hasModel()){const Ze=this._getOrCreateModel(Xe?void 0:this._editor.getModel().uri);if(Ze.move(ze,this._editor.getModel(),this._editor.getPosition()),!Ze.selected)return;if(Ze.selected.marker.resource.toString()!==this._editor.getModel().uri.toString()){this._cleanUp();const Ae=yield this._editorService.openCodeEditor({resource:Ze.selected.marker.resource,options:{pinned:!1,revealIfOpened:!0,selectionRevealType:2,selection:Ze.selected.marker}},this._editor);Ae&&(yr.get(Ae).close(),yr.get(Ae).nagivate(ze,Xe))}else this._widget.showAtMarker(Ze.selected.marker,Ze.selected.index,Ze.selected.total)}})}};ee.ID="editor.contrib.markerController",ee=ne([W(1,m),W(2,T.i6),W(3,P.$),W(4,s.TG)],ee);class he extends O.R6{constructor(ze,Xe,Ze){super(Ze),this._next=ze,this._multiFile=Xe}run(ze,Xe){return $(this,void 0,void 0,function*(){Xe.hasModel()&&ee.get(Xe).nagivate(this._next,this._multiFile)})}}class Pe extends he{constructor(){super(!0,!1,{id:Pe.ID,label:Pe.LABEL,alias:"Go to Next Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:I.u.focus,primary:578,weight:100},menuOpts:{menuId:ge.TitleMenu,title:Pe.LABEL,icon:(0,M.q5)("marker-navigation-next",h.lA.arrowDown,b.N("nextMarkerIcon","Icon for goto next marker.")),group:"navigation",order:1}})}}Pe.ID="editor.action.marker.next",Pe.LABEL=b.N("markerAction.next.label","Go to Next Problem (Error, Warning, Info)");class Ye extends he{constructor(){super(!1,!1,{id:Ye.ID,label:Ye.LABEL,alias:"Go to Previous Problem (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:I.u.focus,primary:1602,weight:100},menuOpts:{menuId:ge.TitleMenu,title:Pe.LABEL,icon:(0,M.q5)("marker-navigation-previous",h.lA.arrowUp,b.N("previousMarkerIcon","Icon for goto previous marker.")),group:"navigation",order:2}})}}Ye.ID="editor.action.marker.prev",Ye.LABEL=b.N("markerAction.previous.label","Go to Previous Problem (Error, Warning, Info)");class it extends he{constructor(){super(!0,!0,{id:"editor.action.marker.nextInFiles",label:b.N("markerAction.nextInFiles.label","Go to Next Problem in Files (Error, Warning, Info)"),alias:"Go to Next Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:I.u.focus,primary:66,weight:100},menuOpts:{menuId:L.eH.MenubarGoMenu,title:b.N({key:"miGotoNextProblem",comment:["&& denotes a mnemonic"]},"Next &&Problem"),group:"6_problem_nav",order:1}})}}class rt extends he{constructor(){super(!1,!0,{id:"editor.action.marker.prevInFiles",label:b.N("markerAction.previousInFiles.label","Go to Previous Problem in Files (Error, Warning, Info)"),alias:"Go to Previous Problem in Files (Error, Warning, Info)",precondition:void 0,kbOpts:{kbExpr:I.u.focus,primary:1090,weight:100},menuOpts:{menuId:L.eH.MenubarGoMenu,title:b.N({key:"miGotoPreviousProblem",comment:["&& denotes a mnemonic"]},"Previous &&Problem"),group:"6_problem_nav",order:2}})}}(0,O._K)(ee.ID,ee),(0,O.Qr)(Pe),(0,O.Qr)(Ye),(0,O.Qr)(it),(0,O.Qr)(rt);const vt=new T.uy("markersNavigationVisible",!1),Ft=O._l.bindToContribution(ee.get);(0,O.fK)(new Ft({id:"closeMarkersNavigation",precondition:vt,handler:Ht=>Ht.close(),kbOpts:{weight:150,kbExpr:I.u.focus,primary:9,secondary:[1033]}}))},17645:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{DefinitionAction:function(){return ne}});var h=i(87783),H=i(96297),O=i(50431),P=i(52411),D=i(23345),G=i(72999),I=i(5472),y=i(39528),E=i(44525),p=i(4514),a=i(70827),g=i(20712),w=i(72146),s=i(17373),C=i(68987),f=i(27347),v=i(58085),r=i(12158),l=i(4348),m=i(69323),c=i(9365),b=i(13268),L=i(90689),T=i(7335),M=i(16925),z=i(5898),oe=i(86414),se=i(79504),re=function(it,rt,vt,Ft){var Ht=arguments.length,ze=Ht<3?rt:Ft===null?Ft=Object.getOwnPropertyDescriptor(rt,vt):Ft,Xe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ze=Reflect.decorate(it,rt,vt,Ft);else for(var Ze=it.length-1;Ze>=0;Ze--)(Xe=it[Ze])&&(ze=(Ht<3?Xe(ze):Ht>3?Xe(rt,vt,ze):Xe(rt,vt))||ze);return Ht>3&&ze&&Object.defineProperty(rt,vt,ze),ze},De=function(it,rt){return function(vt,Ft){rt(vt,Ft,it)}};const J=new L.uy("hasSymbols",!1,(0,b.N)("hasSymbols","Whether there are symbol locations that can be navigated via keyboard-only.")),Z=(0,M.yh)("ISymbolNavigationService");let Q=class{constructor(rt,vt,Ft,Ht){this._editorService=vt,this._notificationService=Ft,this._keybindingService=Ht,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=J.bindTo(rt)}reset(){var rt,vt;this._ctxHasSymbols.reset(),(rt=this._currentState)===null||rt===void 0||rt.dispose(),(vt=this._currentMessage)===null||vt===void 0||vt.dispose(),this._currentModel=void 0,this._currentIdx=-1}put(rt){const vt=rt.parent.parent;if(vt.references.length<=1){this.reset();return}this._currentModel=vt,this._currentIdx=vt.references.indexOf(rt),this._ctxHasSymbols.set(!0),this._showMessage();const Ft=new le(this._editorService),Ht=Ft.onDidChange(ze=>{if(this._ignoreEditorChange)return;const Xe=this._editorService.getActiveCodeEditor();if(!Xe)return;const Ze=Xe.getModel(),Ae=Xe.getPosition();if(!Ze||!Ae)return;let He=!1,Et=!1;for(const Wt of vt.references)if((0,c.Xy)(Wt.uri,Ze.uri))He=!0,Et=Et||s.e.containsPosition(Wt.range,Ae);else if(He)break;(!He||!Et)&&this.reset()});this._currentState=(0,m.F8)(Ft,Ht)}revealNext(rt){if(!this._currentModel)return Promise.resolve();this._currentIdx+=1,this._currentIdx%=this._currentModel.references.length;const vt=this._currentModel.references[this._currentIdx];return this._showMessage(),this._ignoreEditorChange=!0,this._editorService.openCodeEditor({resource:vt.uri,options:{selection:s.e.collapseToStart(vt.range),selectionRevealType:3}},rt).finally(()=>{this._ignoreEditorChange=!1})}_showMessage(){var rt;(rt=this._currentMessage)===null||rt===void 0||rt.dispose();const vt=this._keybindingService.lookupKeybinding("editor.gotoNextSymbolFromResult"),Ft=vt?(0,b.N)("location.kb","Symbol {0} of {1}, {2} for next",this._currentIdx+1,this._currentModel.references.length,vt.getLabel()):(0,b.N)("location","Symbol {0} of {1}",this._currentIdx+1,this._currentModel.references.length);this._currentMessage=this._notificationService.status(Ft)}};Q=re([De(0,L.i6),De(1,a.$),De(2,se.lT),De(3,z.d)],Q),(0,T.z)(Z,Q,!0),(0,p.fK)(new class extends p._l{constructor(){super({id:"editor.gotoNextSymbolFromResult",precondition:J,kbOpts:{weight:100,primary:70}})}runEditorCommand(it,rt){return it.get(Z).revealNext(rt)}}),oe.W.registerCommandAndKeybindingRule({id:"editor.gotoNextSymbolFromResult.cancel",weight:100,when:J,primary:9,handler(it){it.get(Z).reset()}});let le=class{constructor(rt){this._listener=new Map,this._disposables=new m.SL,this._onDidChange=new l.Q5,this.onDidChange=this._onDidChange.event,this._disposables.add(rt.onCodeEditorRemove(this._onDidRemoveEditor,this)),this._disposables.add(rt.onCodeEditorAdd(this._onDidAddEditor,this)),rt.listCodeEditors().forEach(this._onDidAddEditor,this)}dispose(){this._disposables.dispose(),this._onDidChange.dispose(),(0,m.B9)(this._listener.values())}_onDidAddEditor(rt){this._listener.set(rt,(0,m.F8)(rt.onDidChangeCursorPosition(vt=>this._onDidChange.fire({editor:rt})),rt.onDidChangeModelContent(vt=>this._onDidChange.fire({editor:rt}))))}_onDidRemoveEditor(rt){var vt;(vt=this._listener.get(rt))===null||vt===void 0||vt.dispose(),this._listener.delete(rt)}};le=re([De(0,a.$)],le);var xe=i(78707),j=i(46838),R=i(96236),V=i(35884),K=i(81641),ie=i(58425),te=function(it,rt,vt,Ft){function Ht(ze){return ze instanceof vt?ze:new vt(function(Xe){Xe(ze)})}return new(vt||(vt=Promise))(function(ze,Xe){function Ze(Et){try{He(Ft.next(Et))}catch(Wt){Xe(Wt)}}function Ae(Et){try{He(Ft.throw(Et))}catch(Wt){Xe(Wt)}}function He(Et){Et.done?ze(Et.value):Ht(Et.value).then(Ze,Ae)}He((Ft=Ft.apply(it,rt||[])).next())})},ge,ye,ve,Fe,we,ue,ce,Ve;R.BH.appendMenuItem(R.eH.EditorContext,{submenu:R.eH.EditorContextPeek,title:b.N("peek.submenu","Peek"),group:"navigation",order:100});const We=new Set;function ae(it){const rt=new it;return(0,p.QG)(rt),We.add(rt.id),rt}class fe extends p.R6{constructor(rt,vt){super(vt),this._configuration=rt}run(rt,vt){if(!vt.hasModel())return Promise.resolve(void 0);const Ft=rt.get(se.lT),Ht=rt.get(a.$),ze=rt.get(K.e),Xe=rt.get(Z),Ze=vt.getModel(),Ae=vt.getPosition(),He=new y.Dl(vt,5),Et=(0,O.eP)(this._getLocationModel(Ze,Ae,He.token),He.token).then(Wt=>te(this,void 0,void 0,function*(){if(!Wt||He.token.isCancellationRequested)return;(0,H.Z9)(Wt.ariaMessage);let oi;if(Wt.referenceAt(Ze.uri,Ae)){const hi=this._getAlternativeCommand(vt);hi!==this.id&&We.has(hi)&&(oi=vt.getAction(hi))}const ni=Wt.references.length;if(ni===0){if(!this._configuration.muteMessage){const hi=Ze.getWordAtPosition(Ae);xe.O.get(vt).showMessage(this._getNoResultFoundMessage(hi),Ae)}}else if(ni===1&&oi)oi.run();else return this._onResult(Ht,Xe,vt,Wt)}),Wt=>{Ft.error(Wt)}).finally(()=>{He.dispose()});return ze.showWhile(Et,250),Et}_onResult(rt,vt,Ft,Ht){return te(this,void 0,void 0,function*(){const ze=this._getGoToPreference(Ft);if(!(Ft instanceof g.H)&&(this._configuration.openInPeek||ze==="peek"&&Ht.references.length>1))this._openInPeek(Ft,Ht);else{const Xe=Ht.firstReference(),Ze=Ht.references.length>1&&ze==="gotoAndPeek",Ae=yield this._openReference(Ft,rt,Xe,this._configuration.openToSide,!Ze);Ze&&Ae?this._openInPeek(Ae,Ht):Ht.dispose(),ze==="goto"&&vt.put(Xe)}})}_openReference(rt,vt,Ft,Ht,ze){return te(this,void 0,void 0,function*(){let Xe;if((0,f.vx)(Ft)&&(Xe=Ft.targetSelectionRange),Xe||(Xe=Ft.range),!Xe)return;const Ze=yield vt.openCodeEditor({resource:Ft.uri,options:{selection:s.e.collapseToStart(Xe),selectionRevealType:3}},rt,Ht);if(Ze){if(ze){const Ae=Ze.getModel(),He=Ze.deltaDecorations([],[{range:Xe,options:{description:"symbol-navigate-action-highlight",className:"symbolHighlight"}}]);setTimeout(()=>{Ze.getModel()===Ae&&Ze.deltaDecorations(He,[])},350)}return Ze}})}_openInPeek(rt,vt){let Ft=v.J.get(rt);Ft&&rt.hasModel()?Ft.toggleWidget(rt.getSelection(),(0,O.PG)(Ht=>Promise.resolve(vt)),this._configuration.openInPeek):vt.dispose()}}class ne extends fe{_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.nD)(rt,vt,Ft),b.N("def.title","Definitions"))})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("noResultWord","No definition found for '{0}'",rt.word):b.N("generic.noResults","No definition found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeDefinitionCommand}_getGoToPreference(rt){return rt.getOption(50).multipleDefinitions}}const W=D.$L&&!h.$W?2118:70;ae((ge=class ya extends ne{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:ya.id,label:b.N("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:L.Ao.and(C.u.hasDefinitionProvider,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:W,weight:100},contextMenuOpts:{group:"navigation",order:1.1}}),V.P.registerCommandAlias("editor.action.goToDeclaration",ya.id)}},ge.id="editor.action.revealDefinition",ge)),ae((ye=class La extends ne{constructor(){super({openToSide:!0,openInPeek:!1,muteMessage:!1},{id:La.id,label:b.N("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:L.Ao.and(C.u.hasDefinitionProvider,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:(0,P.gx)(2089,W),weight:100}}),V.P.registerCommandAlias("editor.action.openDeclarationToTheSide",La.id)}},ye.id="editor.action.revealDefinitionAside",ye)),ae((ve=class Da extends ne{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Da.id,label:b.N("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:L.Ao.and(C.u.hasDefinitionProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:2}}),V.P.registerCommandAlias("editor.action.previewDeclaration",Da.id)}},ve.id="editor.action.peekDefinition",ve));class $ extends fe{_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.zq)(rt,vt,Ft),b.N("decl.title","Declarations"))})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("decl.noResultWord","No declaration found for '{0}'",rt.word):b.N("decl.generic.noResults","No declaration found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeDeclarationCommand}_getGoToPreference(rt){return rt.getOption(50).multipleDeclarations}}ae((Fe=class wl extends ${constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:wl.id,label:b.N("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:L.Ao.and(C.u.hasDeclarationProvider,C.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{group:"navigation",order:1.3}})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("decl.noResultWord","No declaration found for '{0}'",rt.word):b.N("decl.generic.noResults","No declaration found")}},Fe.id="editor.action.revealDeclaration",Fe)),ae(class extends ${constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:b.N("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:L.Ao.and(C.u.hasDeclarationProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:3}})}});class ee extends fe{_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.L3)(rt,vt,Ft),b.N("typedef.title","Type Definitions"))})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("goToTypeDefinition.noResultWord","No type definition found for '{0}'",rt.word):b.N("goToTypeDefinition.generic.noResults","No type definition found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeTypeDefinitionCommand}_getGoToPreference(rt){return rt.getOption(50).multipleTypeDefinitions}}ae((we=class yl extends ee{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:yl.ID,label:b.N("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:L.Ao.and(C.u.hasTypeDefinitionProvider,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4}})}},we.ID="editor.action.goToTypeDefinition",we)),ae((ue=class Ll extends ee{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:Ll.ID,label:b.N("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:L.Ao.and(C.u.hasTypeDefinitionProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:4}})}},ue.ID="editor.action.peekTypeDefinition",ue));class he extends fe{_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.f4)(rt,vt,Ft),b.N("impl.title","Implementations"))})}_getNoResultFoundMessage(rt){return rt&&rt.word?b.N("goToImplementation.noResultWord","No implementation found for '{0}'",rt.word):b.N("goToImplementation.generic.noResults","No implementation found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeImplementationCommand}_getGoToPreference(rt){return rt.getOption(50).multipleImplementations}}ae((ce=class Dl extends he{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:Dl.ID,label:b.N("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:L.Ao.and(C.u.hasImplementationProvider,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:2118,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}},ce.ID="editor.action.goToImplementation",ce)),ae((Ve=class El extends he{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:El.ID,label:b.N("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:L.Ao.and(C.u.hasImplementationProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:5}})}},Ve.ID="editor.action.peekImplementation",Ve));class Pe extends fe{_getNoResultFoundMessage(rt){return rt?b.N("references.no","No references found for '{0}'",rt.word):b.N("references.noGeneric","No references found")}_getAlternativeCommand(rt){return rt.getOption(50).alternativeReferenceCommand}_getGoToPreference(rt){return rt.getOption(50).multipleReferences}}ae(class extends Pe{constructor(){super({openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:b.N("goToReferences.label","Go to References"),alias:"Go to References",precondition:L.Ao.and(C.u.hasReferenceProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),kbOpts:{kbExpr:C.u.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45}})}_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.aA)(rt,vt,!0,Ft),b.N("ref.title","References"))})}}),ae(class extends Pe{constructor(){super({openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:b.N("references.action.label","Peek References"),alias:"Peek References",precondition:L.Ao.and(C.u.hasReferenceProvider,j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated()),contextMenuOpts:{menuId:R.eH.EditorContextPeek,group:"peek",order:6}})}_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(yield(0,ie.aA)(rt,vt,!1,Ft),b.N("ref.title","References"))})}});class Ye extends fe{constructor(rt,vt,Ft){super(rt,{id:"editor.action.goToLocation",label:b.N("label.generic","Go to Any Symbol"),alias:"Go to Any Symbol",precondition:L.Ao.and(j.Jy.notInPeekEditor,C.u.isInWalkThroughSnippet.toNegated())}),this._references=vt,this._gotoMultipleBehaviour=Ft}_getLocationModel(rt,vt,Ft){return te(this,void 0,void 0,function*(){return new r.oQ(this._references,b.N("generic.title","Locations"))})}_getNoResultFoundMessage(rt){return rt&&b.N("generic.noResult","No results for '{0}'",rt.word)||""}_getGoToPreference(rt){var vt;return(vt=this._gotoMultipleBehaviour)!==null&&vt!==void 0?vt:rt.getOption(50).multipleReferences}_getAlternativeCommand(){return""}}V.P.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:I.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"},{name:"noResultsMessage",description:"Human readable message that shows when locations is empty."}]},handler:(it,rt,vt,Ft,Ht,ze,Xe)=>te(void 0,void 0,void 0,function*(){(0,G.p_)(I.o.isUri(rt)),(0,G.p_)(w.L.isIPosition(vt)),(0,G.p_)(Array.isArray(Ft)),(0,G.p_)(typeof Ht=="undefined"||typeof Ht=="string"),(0,G.p_)(typeof Xe=="undefined"||typeof Xe=="boolean");const Ze=it.get(a.$),Ae=yield Ze.openCodeEditor({resource:rt},Ze.getFocusedCodeEditor());if((0,E.CL)(Ae))return Ae.setPosition(vt),Ae.revealPositionInCenterIfOutsideViewport(vt,0),Ae.invokeWithinContext(He=>{const Et=new class extends Ye{_getNoResultFoundMessage(Wt){return ze||super._getNoResultFoundMessage(Wt)}}({muteMessage:!ze,openInPeek:!!Xe,openToSide:!1},Ft,Ht);He.get(M.TG).invokeFunction(Et.run.bind(Et),Ae)})})}),V.P.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:I.o},{name:"position",description:"The position at which to start",constraint:w.L.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:(it,rt,vt,Ft,Ht)=>te(void 0,void 0,void 0,function*(){it.get(V.H).executeCommand("editor.action.goToLocations",rt,vt,Ft,Ht,void 0,!0)})}),V.P.registerCommand({id:"editor.action.findReferences",handler:(it,rt,vt)=>{(0,G.p_)(I.o.isUri(rt)),(0,G.p_)(w.L.isIPosition(vt));const Ft=it.get(a.$);return Ft.openCodeEditor({resource:rt},Ft.getFocusedCodeEditor()).then(Ht=>{if(!(0,E.CL)(Ht)||!Ht.hasModel())return;const ze=v.J.get(Ht);if(!ze)return;const Xe=(0,O.PG)(Ae=>(0,ie.aA)(Ht.getModel(),w.L.lift(vt),!1,Ae).then(He=>new r.oQ(He,b.N("ref.title","References")))),Ze=new s.e(vt.lineNumber,vt.column,vt.lineNumber,vt.column);return Promise.resolve(ze.toggleWidget(Ze,Xe,!1))})}}),V.P.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations"),R.BH.appendMenuItems([{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.revealDefinition",title:b.N({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")},group:"4_symbol_nav",order:2}},{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.revealDeclaration",title:b.N({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")},group:"4_symbol_nav",order:3}},{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.goToTypeDefinition",title:b.N({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")},group:"4_symbol_nav",order:3}},{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.goToImplementation",title:b.N({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},group:"4_symbol_nav",order:4}},{id:R.eH.MenubarGoMenu,item:{command:{id:"editor.action.goToReferences",title:b.N({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")},group:"4_symbol_nav",order:5}}])},58425:function(xt,Te,i){"use strict";i.d(Te,{L3:function(){return a},aA:function(){return g},f4:function(){return p},nD:function(){return y},zq:function(){return E}});var h=i(96283),H=i(79881),O=i(4514),P=i(27347),D=i(12158),G=function(s,C,f,v){function r(l){return l instanceof f?l:new f(function(m){m(l)})}return new(f||(f=Promise))(function(l,m){function c(T){try{L(v.next(T))}catch(M){m(M)}}function b(T){try{L(v.throw(T))}catch(M){m(M)}}function L(T){T.done?l(T.value):r(T.value).then(c,b)}L((v=v.apply(s,C||[])).next())})};function I(s,C,f,v){const l=f.ordered(s).map(m=>Promise.resolve(v(m,s,C)).then(void 0,c=>{(0,H.Cp)(c)}));return Promise.all(l).then(m=>{const c=[];for(let b of m)Array.isArray(b)?c.push(...b):b&&c.push(b);return c})}function y(s,C,f){return I(s,C,P.Ct,(v,r,l)=>v.provideDefinition(r,l,f))}function E(s,C,f){return I(s,C,P.RN,(v,r,l)=>v.provideDeclaration(r,l,f))}function p(s,C,f){return I(s,C,P.vI,(v,r,l)=>v.provideImplementation(r,l,f))}function a(s,C,f){return I(s,C,P.tA,(v,r,l)=>v.provideTypeDefinition(r,l,f))}function g(s,C,f,v){return I(s,C,P.FL,(r,l,m)=>G(this,void 0,void 0,function*(){const c=yield r.provideReferences(l,m,{includeDeclaration:!0},v);if(!f||!c||c.length!==2)return c;const b=yield r.provideReferences(l,m,{includeDeclaration:!1},v);return b&&b.length===1?b:c}))}function w(s){return G(this,void 0,void 0,function*(){const C=yield s(),f=new D.oQ(C,""),v=f.references.map(r=>r.link);return f.dispose(),v})}(0,O.sb)("_executeDefinitionProvider",(s,C)=>w(()=>y(s,C,h.T.None))),(0,O.sb)("_executeDeclarationProvider",(s,C)=>w(()=>E(s,C,h.T.None))),(0,O.sb)("_executeImplementationProvider",(s,C)=>w(()=>p(s,C,h.T.None))),(0,O.sb)("_executeTypeDefinitionProvider",(s,C)=>w(()=>a(s,C,h.T.None))),(0,O.sb)("_executeReferenceProvider",(s,C)=>w(()=>g(s,C,!1,h.T.None)))},77234:function(xt,Te,i){"use strict";i.d(Te,{yN:function(){return E}});var h=i(4348),H=i(69323),O=i(23345);function P(p,a){return!!p[a]}class D{constructor(a,g){this.target=a.target,this.hasTriggerModifier=P(a.event,g.triggerModifier),this.hasSideBySideModifier=P(a.event,g.triggerSideBySideModifier),this.isNoneOrSingleMouseDown=a.event.detail<=1}}class G{constructor(a,g){this.keyCodeIsTriggerKey=a.keyCode===g.triggerKey,this.keyCodeIsSideBySideKey=a.keyCode===g.triggerSideBySideKey,this.hasTriggerModifier=P(a,g.triggerModifier)}}class I{constructor(a,g,w,s){this.triggerKey=a,this.triggerModifier=g,this.triggerSideBySideKey=w,this.triggerSideBySideModifier=s}equals(a){return this.triggerKey===a.triggerKey&&this.triggerModifier===a.triggerModifier&&this.triggerSideBySideKey===a.triggerSideBySideKey&&this.triggerSideBySideModifier===a.triggerSideBySideModifier}}function y(p){return p==="altKey"?O.dz?new I(57,"metaKey",6,"altKey"):new I(5,"ctrlKey",6,"altKey"):O.dz?new I(6,"altKey",57,"metaKey"):new I(6,"altKey",5,"ctrlKey")}class E extends H.JT{constructor(a){super(),this._onMouseMoveOrRelevantKeyDown=this._register(new h.Q5),this.onMouseMoveOrRelevantKeyDown=this._onMouseMoveOrRelevantKeyDown.event,this._onExecute=this._register(new h.Q5),this.onExecute=this._onExecute.event,this._onCancel=this._register(new h.Q5),this.onCancel=this._onCancel.event,this._editor=a,this._opts=y(this._editor.getOption(69)),this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._register(this._editor.onDidChangeConfiguration(g=>{if(g.hasChanged(69)){const w=y(this._editor.getOption(69));if(this._opts.equals(w))return;this._opts=w,this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._lineNumberOnMouseDown=0,this._onCancel.fire()}})),this._register(this._editor.onMouseMove(g=>this._onEditorMouseMove(new D(g,this._opts)))),this._register(this._editor.onMouseDown(g=>this._onEditorMouseDown(new D(g,this._opts)))),this._register(this._editor.onMouseUp(g=>this._onEditorMouseUp(new D(g,this._opts)))),this._register(this._editor.onKeyDown(g=>this._onEditorKeyDown(new G(g,this._opts)))),this._register(this._editor.onKeyUp(g=>this._onEditorKeyUp(new G(g,this._opts)))),this._register(this._editor.onMouseDrag(()=>this._resetHandler())),this._register(this._editor.onDidChangeCursorSelection(g=>this._onDidChangeCursorSelection(g))),this._register(this._editor.onDidChangeModel(g=>this._resetHandler())),this._register(this._editor.onDidChangeModelContent(()=>this._resetHandler())),this._register(this._editor.onDidScrollChange(g=>{(g.scrollTopChanged||g.scrollLeftChanged)&&this._resetHandler()}))}_onDidChangeCursorSelection(a){a.selection&&a.selection.startColumn!==a.selection.endColumn&&this._resetHandler()}_onEditorMouseMove(a){this._lastMouseMoveEvent=a,this._onMouseMoveOrRelevantKeyDown.fire([a,null])}_onEditorMouseDown(a){this._hasTriggerKeyOnMouseDown=a.hasTriggerModifier,this._lineNumberOnMouseDown=a.target.position?a.target.position.lineNumber:0}_onEditorMouseUp(a){const g=a.target.position?a.target.position.lineNumber:0;this._hasTriggerKeyOnMouseDown&&this._lineNumberOnMouseDown&&this._lineNumberOnMouseDown===g&&this._onExecute.fire(a)}_onEditorKeyDown(a){this._lastMouseMoveEvent&&(a.keyCodeIsTriggerKey||a.keyCodeIsSideBySideKey&&a.hasTriggerModifier)?this._onMouseMoveOrRelevantKeyDown.fire([this._lastMouseMoveEvent,a]):a.hasTriggerModifier&&this._onCancel.fire()}_onEditorKeyUp(a){a.keyCodeIsTriggerKey&&this._onCancel.fire()}_resetHandler(){this._lastMouseMoveEvent=null,this._hasTriggerKeyOnMouseDown=!1,this._onCancel.fire()}}},50134:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{GotoDefinitionAtPositionEditorContribution:function(){return L}});var h=i(50431),H=i(79881),O=i(94186),P=i(69323),D=i(72999),G=i(39528),I=i(4514),y=i(72146),E=i(17373),p=i(27347),a=i(64992),g=i(16862),w=i(77234),s=i(46838),C=i(13268),f=i(90689),v=i(44350),r=i(49055),l=i(17645),m=i(58425),c=function(T,M,z,oe){var se=arguments.length,re=se<3?M:oe===null?oe=Object.getOwnPropertyDescriptor(M,z):oe,De;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(T,M,z,oe);else for(var J=T.length-1;J>=0;J--)(De=T[J])&&(re=(se<3?De(re):se>3?De(M,z,re):De(M,z))||re);return se>3&&re&&Object.defineProperty(M,z,re),re},b=function(T,M){return function(z,oe){M(z,oe,T)}};let L=class er{constructor(M,z,oe){this.textModelResolverService=z,this.modeService=oe,this.toUnhook=new P.SL,this.toUnhookForKeyboard=new P.SL,this.linkDecorations=[],this.currentWordAtPosition=null,this.previousPromise=null,this.editor=M;let se=new w.yN(M);this.toUnhook.add(se),this.toUnhook.add(se.onMouseMoveOrRelevantKeyDown(([re,De])=>{this.startFindDefinitionFromMouse(re,(0,D.f6)(De))})),this.toUnhook.add(se.onExecute(re=>{this.isEnabled(re)&&this.gotoDefinition(re.target.position,re.hasSideBySideModifier).then(()=>{this.removeLinkDecorations()},De=>{this.removeLinkDecorations(),(0,H.dL)(De)})})),this.toUnhook.add(se.onCancel(()=>{this.removeLinkDecorations(),this.currentWordAtPosition=null}))}static get(M){return M.getContribution(er.ID)}startFindDefinitionFromCursor(M){return this.startFindDefinition(M).then(()=>{this.toUnhookForKeyboard.add(this.editor.onDidChangeCursorPosition(()=>{this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear()})),this.toUnhookForKeyboard.add(this.editor.onKeyDown(z=>{z&&(this.currentWordAtPosition=null,this.removeLinkDecorations(),this.toUnhookForKeyboard.clear())}))})}startFindDefinitionFromMouse(M,z){if(M.target.type===9&&this.linkDecorations.length>0)return;if(!this.editor.hasModel()||!this.isEnabled(M,z)){this.currentWordAtPosition=null,this.removeLinkDecorations();return}const oe=M.target.position;this.startFindDefinition(oe)}startFindDefinition(M){var z;this.toUnhookForKeyboard.clear();const oe=M?(z=this.editor.getModel())===null||z===void 0?void 0:z.getWordAtPosition(M):null;if(!oe)return this.currentWordAtPosition=null,this.removeLinkDecorations(),Promise.resolve(0);if(this.currentWordAtPosition&&this.currentWordAtPosition.startColumn===oe.startColumn&&this.currentWordAtPosition.endColumn===oe.endColumn&&this.currentWordAtPosition.word===oe.word)return Promise.resolve(0);this.currentWordAtPosition=oe;let se=new G.yy(this.editor,15);return this.previousPromise&&(this.previousPromise.cancel(),this.previousPromise=null),this.previousPromise=(0,h.PG)(re=>this.findDefinition(M,re)),this.previousPromise.then(re=>{if(!re||!re.length||!se.validate(this.editor)){this.removeLinkDecorations();return}if(re.length>1)this.addDecoration(new E.e(M.lineNumber,oe.startColumn,M.lineNumber,oe.endColumn),new O.W5().appendText(C.N("multipleResults","Click to show {0} definitions.",re.length)));else{let De=re[0];if(!De.uri)return;this.textModelResolverService.createModelReference(De.uri).then(J=>{if(!J.object||!J.object.textEditorModel){J.dispose();return}const{object:{textEditorModel:Z}}=J,{startLineNumber:Q}=De.range;if(Q<1||Q>Z.getLineCount()){J.dispose();return}const le=this.getPreviewValue(Z,Q,De);let xe;De.originSelectionRange?xe=E.e.lift(De.originSelectionRange):xe=new E.e(M.lineNumber,oe.startColumn,M.lineNumber,oe.endColumn);const j=this.modeService.getModeIdByFilepathOrFirstLine(Z.uri);this.addDecoration(xe,new O.W5().appendCodeblock(j||"",le)),J.dispose()})}}).then(void 0,H.dL)}getPreviewValue(M,z,oe){let se=oe.targetSelectionRange?oe.range:this.getPreviewRangeBasedOnBrackets(M,z);return se.endLineNumber-se.startLineNumber>=er.MAX_SOURCE_PREVIEW_LINES&&(se=this.getPreviewRangeBasedOnIndentation(M,z)),this.stripIndentationFromPreviewRange(M,z,se)}stripIndentationFromPreviewRange(M,z,oe){let re=M.getLineFirstNonWhitespaceColumn(z);for(let J=z+1;Joe)return new E.e(z,1,oe+1,1);De=M.findNextBracket(new y.L(Z,Q))}return new E.e(z,1,oe+1,1)}addDecoration(M,z){const oe={range:M,options:{description:"goto-definition-link",inlineClassName:"goto-definition-link",hoverMessage:z}};this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[oe])}removeLinkDecorations(){this.linkDecorations.length>0&&(this.linkDecorations=this.editor.deltaDecorations(this.linkDecorations,[]))}isEnabled(M,z){return this.editor.hasModel()&&M.isNoneOrSingleMouseDown&&M.target.type===6&&(M.hasTriggerModifier||(z?z.keyCodeIsTriggerKey:!1))&&p.Ct.has(this.editor.getModel())}findDefinition(M,z){const oe=this.editor.getModel();return oe?(0,m.nD)(oe,M,z):Promise.resolve(null)}gotoDefinition(M,z){return this.editor.setPosition(M),this.editor.invokeWithinContext(oe=>{const se=!z&&this.editor.getOption(77)&&!this.isInPeekEditor(oe);return new l.DefinitionAction({openToSide:z,openInPeek:se,muteMessage:!0},{alias:"",label:"",id:"",precondition:void 0}).run(oe,this.editor)})}isInPeekEditor(M){const z=M.get(f.i6);return s.Jy.inPeekEditor.getValue(z)}dispose(){this.toUnhook.dispose()}};L.ID="editor.contrib.gotodefinitionatposition",L.MAX_SOURCE_PREVIEW_LINES=8,L=c([b(1,g.S),b(2,a.h)],L),(0,I._K)(L.ID,L),(0,r.Ic)((T,M)=>{const z=T.getColor(v._Y);z&&M.addRule(`.monaco-editor .goto-definition-link { color: ${z} !important; }`)})},58085:function(xt,Te,i){"use strict";i.d(Te,{J:function(){return Ft}});var h=i(50431),H=i(79881),O=i(52411),P=i(69323),D=i(70827),G=i(72146),I=i(17373),y=i(46838),E=i(13268),p=i(35884),a=i(93965),g=i(90689),w=i(16925),s=i(86414),C=i(58970),f=i(79504),v=i(19490),r=i(12158),l=i(69454),m=i(86916),c=i(51737),b=i(4348),L=i(66657),T=i(9365),M=i(20712),z=i(31276),oe=i(73468),se=i(64992),re=i(16862),De=i(41221),J=i(37357),Z=i(28442),Q=i(99599),le=i(51983),xe=i(5898),j=i(6629),R=i(32426),V=i(49055),K=function(ze,Xe,Ze,Ae){var He=arguments.length,Et=He<3?Xe:Ae===null?Ae=Object.getOwnPropertyDescriptor(Xe,Ze):Ae,Wt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Et=Reflect.decorate(ze,Xe,Ze,Ae);else for(var oi=ze.length-1;oi>=0;oi--)(Wt=ze[oi])&&(Et=(He<3?Wt(Et):He>3?Wt(Xe,Ze,Et):Wt(Xe,Ze))||Et);return He>3&&Et&&Object.defineProperty(Xe,Ze,Et),Et},ie=function(ze,Xe){return function(Ze,Ae){Xe(Ze,Ae,ze)}};let te=class{constructor(Xe){this._resolverService=Xe}hasChildren(Xe){return Xe instanceof r.oQ||Xe instanceof r.F2}getChildren(Xe){if(Xe instanceof r.oQ)return Xe.groups;if(Xe instanceof r.F2)return Xe.resolve(this._resolverService).then(Ze=>Ze.children);throw new Error("bad tree")}};te=K([ie(0,re.S)],te);class ge{getHeight(){return 23}getTemplateId(Xe){return Xe instanceof r.F2?we.id:ce.id}}let ye=class{constructor(Xe){this._keybindingService=Xe}getKeyboardNavigationLabel(Xe){var Ze;if(Xe instanceof r.WX){const Ae=(Ze=Xe.parent.getPreview(Xe))===null||Ze===void 0?void 0:Ze.preview(Xe.range);if(Ae)return Ae.value}return(0,T.EZ)(Xe.uri)}};ye=K([ie(0,xe.d)],ye);class ve{getId(Xe){return Xe instanceof r.WX?Xe.id:Xe.uri}}let Fe=class extends P.JT{constructor(Xe,Ze,Ae){super(),this._uriLabel=Ze;const He=document.createElement("div");He.classList.add("reference-file"),this.file=this._register(new Z.g(He,{supportHighlights:!0})),this.badge=new De.Z(l.R3(He,l.$(".count"))),this._register((0,R.WZ)(this.badge,Ae)),Xe.appendChild(He)}set(Xe,Ze){let Ae=(0,T.XX)(Xe.uri);this.file.setLabel((0,le.p)(Xe.uri),this._uriLabel.getUriLabel(Ae,{relative:!0}),{title:this._uriLabel.getUriLabel(Xe.uri),matches:Ze});const He=Xe.children.length;this.badge.setCount(He),He>1?this.badge.setTitleFormat((0,E.N)("referencesCount","{0} references",He)):this.badge.setTitleFormat((0,E.N)("referenceCount","{0} reference",He))}};Fe=K([ie(1,j.e),ie(2,V.XE)],Fe);let we=class Nl{constructor(Xe){this._instantiationService=Xe,this.templateId=Nl.id}renderTemplate(Xe){return this._instantiationService.createInstance(Fe,Xe)}renderElement(Xe,Ze,Ae){Ae.set(Xe.element,(0,Q.mB)(Xe.filterData))}disposeTemplate(Xe){Xe.dispose()}};we.id="FileReferencesRenderer",we=K([ie(0,w.TG)],we);class ue{constructor(Xe){this.label=new J.q(Xe,!1)}set(Xe,Ze){var Ae;const He=(Ae=Xe.parent.getPreview(Xe))===null||Ae===void 0?void 0:Ae.preview(Xe.range);if(!He||!He.value)this.label.set(`${(0,T.EZ)(Xe.uri)}:${Xe.range.startLineNumber+1}:${Xe.range.startColumn+1}`);else{const{value:Et,highlight:Wt}=He;Ze&&!Q.CL.isDefault(Ze)?(this.label.element.classList.toggle("referenceMatch",!1),this.label.set(Et,(0,Q.mB)(Ze))):(this.label.element.classList.toggle("referenceMatch",!0),this.label.set(Et,[Wt]))}}}class ce{constructor(){this.templateId=ce.id}renderTemplate(Xe){return new ue(Xe)}renderElement(Xe,Ze,Ae){Ae.set(Xe.element,Xe.filterData)}disposeTemplate(){}}ce.id="OneReferenceRenderer";class Ve{getWidgetAriaLabel(){return(0,E.N)("treeAriaLabel","References")}getAriaLabel(Xe){return Xe.ariaMessage}}var We=i(44350),ae=i(1085),fe=function(ze,Xe,Ze,Ae){var He=arguments.length,Et=He<3?Xe:Ae===null?Ae=Object.getOwnPropertyDescriptor(Xe,Ze):Ae,Wt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Et=Reflect.decorate(ze,Xe,Ze,Ae);else for(var oi=ze.length-1;oi>=0;oi--)(Wt=ze[oi])&&(Et=(He<3?Wt(Et):He>3?Wt(Xe,Ze,Et):Wt(Xe,Ze))||Et);return He>3&&Et&&Object.defineProperty(Xe,Ze,Et),Et},ne=function(ze,Xe){return function(Ze,Ae){Xe(Ze,Ae,ze)}},W=function(ze,Xe,Ze,Ae){function He(Et){return Et instanceof Ze?Et:new Ze(function(Wt){Wt(Et)})}return new(Ze||(Ze=Promise))(function(Et,Wt){function oi(Di){try{hi(Ae.next(Di))}catch(Ti){Wt(Ti)}}function ni(Di){try{hi(Ae.throw(Di))}catch(Ti){Wt(Ti)}}function hi(Di){Di.done?Et(Di.value):He(Di.value).then(oi,ni)}hi((Ae=Ae.apply(ze,Xe||[])).next())})};class ${constructor(Xe,Ze){this._editor=Xe,this._model=Ze,this._decorations=new Map,this._decorationIgnoreSet=new Set,this._callOnDispose=new P.SL,this._callOnModelChange=new P.SL,this._callOnDispose.add(this._editor.onDidChangeModel(()=>this._onModelChanged())),this._onModelChanged()}dispose(){this._callOnModelChange.dispose(),this._callOnDispose.dispose(),this.removeDecorations()}_onModelChanged(){this._callOnModelChange.clear();const Xe=this._editor.getModel();if(Xe){for(let Ze of this._model.references)if(Ze.uri.toString()===Xe.uri.toString()){this._addDecorations(Ze.parent);return}}}_addDecorations(Xe){if(!this._editor.hasModel())return;this._callOnModelChange.add(this._editor.getModel().onDidChangeDecorations(()=>this._onDecorationChanged()));const Ze=[],Ae=[];for(let Et=0,Wt=Xe.children.length;Et{Et.equals(9)&&(this._keybindingService.dispatchEvent(Et,Et.target),Et.stopPropagation())},!0)),this._tree=this._instantiationService.createInstance(he,"ReferencesWidget",this._treeContainer,new ge,[this._instantiationService.createInstance(we),this._instantiationService.createInstance(ce)],this._instantiationService.createInstance(te),Ae),this._splitView.addView({onDidChange:b.ju.None,element:this._previewContainer,minimumSize:200,maximumSize:Number.MAX_VALUE,layout:Et=>{this._preview.layout({height:this._dim.height,width:Et})}},m.M.Distribute),this._splitView.addView({onDidChange:b.ju.None,element:this._treeContainer,minimumSize:100,maximumSize:Number.MAX_VALUE,layout:Et=>{this._treeContainer.style.height=`${this._dim.height}px`,this._treeContainer.style.width=`${Et}px`,this._tree.layout(this._dim.height,Et)}},m.M.Distribute),this._disposables.add(this._splitView.onDidSashChange(()=>{this._dim.width&&(this.layoutData.ratio=this._splitView.getViewSize(0)/this._dim.width)},void 0));let He=(Et,Wt)=>{Et instanceof r.WX&&(Wt==="show"&&this._revealReference(Et,!1),this._onDidSelectReference.fire({element:Et,kind:Wt,source:"tree"}))};this._tree.onDidOpen(Et=>{Et.sideBySide?He(Et.element,"side"):Et.editorOptions.pinned?He(Et.element,"goto"):He(Et.element,"show")}),l.Cp(this._treeContainer)}_onWidth(Xe){this._dim&&this._doLayoutBody(this._dim.height,Xe)}_doLayoutBody(Xe,Ze){super._doLayoutBody(Xe,Ze),this._dim=new l.Ro(Ze,Xe),this.layoutData.heightInLines=this._viewZone?this._viewZone.heightInLines:this.layoutData.heightInLines,this._splitView.layout(Ze),this._splitView.resizeView(0,Ze*this.layoutData.ratio)}setSelection(Xe){return this._revealReference(Xe,!0).then(()=>{this._model&&(this._tree.setSelection([Xe]),this._tree.setFocus([Xe]))})}setModel(Xe){return this._disposeOnNewModel.clear(),this._model=Xe,this._model?this._onNewModel():Promise.resolve()}_onNewModel(){return this._model?this._model.isEmpty?(this.setTitle(""),this._messageContainer.innerText=E.N("noResults","No results"),l.$Z(this._messageContainer),Promise.resolve(void 0)):(l.Cp(this._messageContainer),this._decorationsManager=new $(this._preview,this._model),this._disposeOnNewModel.add(this._decorationsManager),this._disposeOnNewModel.add(this._model.onDidChangeReferenceRange(Xe=>this._tree.rerender(Xe))),this._disposeOnNewModel.add(this._preview.onMouseDown(Xe=>{const{event:Ze,target:Ae}=Xe;if(Ze.detail!==2)return;const He=this._getFocusedReference();He&&this._onDidSelectReference.fire({element:{uri:He.uri,range:Ae.range},kind:Ze.ctrlKey||Ze.metaKey||Ze.altKey?"side":"open",source:"editor"})})),this.container.classList.add("results-loaded"),l.$Z(this._treeContainer),l.$Z(this._previewContainer),this._splitView.layout(this._dim.width),this.focusOnReferenceTree(),this._tree.setInput(this._model.groups.length===1?this._model.groups[0]:this._model)):Promise.resolve(void 0)}_getFocusedReference(){const[Xe]=this._tree.getFocus();if(Xe instanceof r.WX)return Xe;if(Xe instanceof r.F2&&Xe.children.length>0)return Xe.children[0]}revealReference(Xe){return W(this,void 0,void 0,function*(){yield this._revealReference(Xe,!1),this._onDidSelectReference.fire({element:Xe,kind:"goto",source:"tree"})})}_revealReference(Xe,Ze){return W(this,void 0,void 0,function*(){if(this._revealedReference===Xe)return;this._revealedReference=Xe,Xe.uri.scheme!==L.lg.inMemory?this.setTitle((0,T.Hx)(Xe.uri),this._uriLabel.getUriLabel((0,T.XX)(Xe.uri))):this.setTitle(E.N("peekView.alternateTitle","References"));const Ae=this._textModelResolverService.createModelReference(Xe.uri);this._tree.getInput()===Xe.parent?this._tree.reveal(Xe):(Ze&&this._tree.reveal(Xe.parent),yield this._tree.expand(Xe.parent),this._tree.reveal(Xe));const He=yield Ae;if(!this._model){He.dispose();return}(0,P.B9)(this._previewModelReference);const Et=He.object;if(Et){const Wt=this._preview.getModel()===Et.textEditorModel?0:1,oi=I.e.lift(Xe.range).collapseToStart();this._previewModelReference=He,this._preview.setModel(Et.textEditorModel),this._preview.setSelection(oi),this._preview.revealRangeInCenter(oi,Wt)}else this._preview.setModel(this._previewNotAvailableMessage),He.dispose()})}};Pe=fe([ne(3,V.XE),ne(4,re.S),ne(5,w.TG),ne(6,y.Fw),ne(7,j.e),ne(8,ae.tJ),ne(9,xe.d),ne(10,se.h),ne(11,oe.c_)],Pe),(0,V.Ic)((ze,Xe)=>{const Ze=ze.getColor(y.F8);Ze&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { background-color: ${Ze}; }`);const Ae=ze.getColor(y.WL);Ae&&Xe.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { background-color: ${Ae}; }`);const He=ze.getColor(y.xH);He&&Xe.addRule(`.monaco-editor .reference-zone-widget .preview .reference-decoration { border: 2px solid ${He}; box-sizing: border-box; }`);const Et=ze.getColor(We.xL);Et&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight { border: 1px dotted ${Et}; box-sizing: border-box; }`);const Wt=ze.getColor(y.M8);Wt&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree { background-color: ${Wt}; }`);const oi=ze.getColor(y.xk);oi&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree { color: ${oi}; }`);const ni=ze.getColor(y.a7);ni&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .reference-file { color: ${ni}; }`);const hi=ze.getColor(y.Zj);hi&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { background-color: ${hi}; }`);const Di=ze.getColor(y.IY);Di&&Xe.addRule(`.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) { color: ${Di} !important; }`);const Ti=ze.getColor(y.RX);Ti&&Xe.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input { background-color: ${Ti};}`);const Ni=ze.getColor(y.sH);Ni&&Xe.addRule(`.monaco-editor .reference-zone-widget .preview .monaco-editor .margin { background-color: ${Ni};}`)});var Ye=function(ze,Xe,Ze,Ae){var He=arguments.length,Et=He<3?Xe:Ae===null?Ae=Object.getOwnPropertyDescriptor(Xe,Ze):Ae,Wt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")Et=Reflect.decorate(ze,Xe,Ze,Ae);else for(var oi=ze.length-1;oi>=0;oi--)(Wt=ze[oi])&&(Et=(He<3?Wt(Et):He>3?Wt(Xe,Ze,Et):Wt(Xe,Ze))||Et);return He>3&&Et&&Object.defineProperty(Xe,Ze,Et),Et},it=function(ze,Xe){return function(Ze,Ae){Xe(Ze,Ae,ze)}},rt=function(ze,Xe,Ze,Ae){function He(Et){return Et instanceof Ze?Et:new Ze(function(Wt){Wt(Et)})}return new(Ze||(Ze=Promise))(function(Et,Wt){function oi(Di){try{hi(Ae.next(Di))}catch(Ti){Wt(Ti)}}function ni(Di){try{hi(Ae.throw(Di))}catch(Ti){Wt(Ti)}}function hi(Di){Di.done?Et(Di.value):He(Di.value).then(oi,ni)}hi((Ae=Ae.apply(ze,Xe||[])).next())})};const vt=new g.uy("referenceSearchVisible",!1,E.N("referenceSearchVisible","Whether reference peek is visible, like 'Peek References' or 'Peek Definition'"));let Ft=class Ea{constructor(Xe,Ze,Ae,He,Et,Wt,oi,ni){this._defaultTreeKeyboardSupport=Xe,this._editor=Ze,this._editorService=He,this._notificationService=Et,this._instantiationService=Wt,this._storageService=oi,this._configurationService=ni,this._disposables=new P.SL,this._requestIdPool=0,this._ignoreModelChangeEvent=!1,this._referenceSearchVisible=vt.bindTo(Ae)}static get(Xe){return Xe.getContribution(Ea.ID)}dispose(){var Xe,Ze;this._referenceSearchVisible.reset(),this._disposables.dispose(),(Xe=this._widget)===null||Xe===void 0||Xe.dispose(),(Ze=this._model)===null||Ze===void 0||Ze.dispose(),this._widget=void 0,this._model=void 0}toggleWidget(Xe,Ze,Ae){let He;if(this._widget&&(He=this._widget.position),this.closeWidget(),He&&Xe.containsPosition(He))return;this._peekMode=Ae,this._referenceSearchVisible.set(!0),this._disposables.add(this._editor.onDidChangeModelLanguage(()=>{this.closeWidget()})),this._disposables.add(this._editor.onDidChangeModel(()=>{this._ignoreModelChangeEvent||this.closeWidget()}));const Et="peekViewLayout",Wt=ee.fromJSON(this._storageService.get(Et,0,"{}"));this._widget=this._instantiationService.createInstance(Pe,this._editor,this._defaultTreeKeyboardSupport,Wt),this._widget.setTitle(E.N("labelLoading","Loading...")),this._widget.show(Xe),this._disposables.add(this._widget.onDidClose(()=>{Ze.cancel(),this._widget&&(this._storageService.store(Et,JSON.stringify(this._widget.layoutData),0,1),this._widget=void 0),this.closeWidget()})),this._disposables.add(this._widget.onDidSelectReference(ni=>{let{element:hi,kind:Di}=ni;if(hi)switch(Di){case"open":(ni.source!=="editor"||!this._configurationService.getValue("editor.stablePeek"))&&this.openReference(hi,!1,!1);break;case"side":this.openReference(hi,!0,!1);break;case"goto":Ae?this._gotoReference(hi):this.openReference(hi,!1,!0);break}}));const oi=++this._requestIdPool;Ze.then(ni=>{var hi;if(oi!==this._requestIdPool||!this._widget){ni.dispose();return}return(hi=this._model)===null||hi===void 0||hi.dispose(),this._model=ni,this._widget.setModel(this._model).then(()=>{if(this._widget&&this._model&&this._editor.hasModel()){this._model.isEmpty?this._widget.setMetaTitle(""):this._widget.setMetaTitle(E.N("metaTitle.N","{0} ({1})",this._model.title,this._model.references.length));let Di=this._editor.getModel().uri,Ti=new G.L(Xe.startLineNumber,Xe.startColumn),Ni=this._model.nearestReference(Di,Ti);if(Ni)return this._widget.setSelection(Ni).then(()=>{this._widget&&this._editor.getOption(76)==="editor"&&this._widget.focusOnPreviewEditor()})}})},ni=>{this._notificationService.error(ni)})}changeFocusBetweenPreviewAndReferences(){this._widget&&(this._widget.isPreviewEditorFocused()?this._widget.focusOnReferenceTree():this._widget.focusOnPreviewEditor())}goToNextOrPreviousReference(Xe){return rt(this,void 0,void 0,function*(){if(!this._editor.hasModel()||!this._model||!this._widget)return;const Ze=this._widget.position;if(!Ze)return;const Ae=this._model.nearestReference(this._editor.getModel().uri,Ze);if(!Ae)return;const He=this._model.nextOrPreviousReference(Ae,Xe),Et=this._editor.hasTextFocus(),Wt=this._widget.isPreviewEditorFocused();yield this._widget.setSelection(He),yield this._gotoReference(He),Et?this._editor.focus():this._widget&&Wt&&this._widget.focusOnPreviewEditor()})}revealReference(Xe){return rt(this,void 0,void 0,function*(){!this._editor.hasModel()||!this._model||!this._widget||(yield this._widget.revealReference(Xe))})}closeWidget(Xe=!0){var Ze,Ae;(Ze=this._widget)===null||Ze===void 0||Ze.dispose(),(Ae=this._model)===null||Ae===void 0||Ae.dispose(),this._referenceSearchVisible.reset(),this._disposables.clear(),this._widget=void 0,this._model=void 0,Xe&&this._editor.focus(),this._requestIdPool+=1}_gotoReference(Xe){this._widget&&this._widget.hide(),this._ignoreModelChangeEvent=!0;const Ze=I.e.lift(Xe.range).collapseToStart();return this._editorService.openCodeEditor({resource:Xe.uri,options:{selection:Ze}},this._editor).then(Ae=>{var He;if(this._ignoreModelChangeEvent=!1,!Ae||!this._widget){this.closeWidget();return}if(this._editor===Ae)this._widget.show(Ze),this._widget.focusOnReferenceTree();else{const Et=Ea.get(Ae),Wt=this._model.clone();this.closeWidget(),Ae.focus(),Et.toggleWidget(Ze,(0,h.PG)(oi=>Promise.resolve(Wt)),(He=this._peekMode)!==null&&He!==void 0?He:!1)}},Ae=>{this._ignoreModelChangeEvent=!1,(0,H.dL)(Ae)})}openReference(Xe,Ze,Ae){Ze||this.closeWidget();const{uri:He,range:Et}=Xe;this._editorService.openCodeEditor({resource:He,options:{selection:Et,pinned:Ae}},this._editor,Ze)}};Ft.ID="editor.contrib.referencesController",Ft=Ye([it(2,g.i6),it(3,D.$),it(4,f.lT),it(5,w.TG),it(6,v.Uy),it(7,a.Ui)],Ft);function Ht(ze,Xe){const Ze=(0,y.rc)(ze);if(!Ze)return;let Ae=Ft.get(Ze);Ae&&Xe(Ae)}s.W.registerCommandAndKeybindingRule({id:"togglePeekWidgetFocus",weight:100,primary:(0,O.gx)(2089,60),when:g.Ao.or(vt,y.Jy.inPeekEditor),handler(ze){Ht(ze,Xe=>{Xe.changeFocusBetweenPreviewAndReferences()})}}),s.W.registerCommandAndKeybindingRule({id:"goToNextReference",weight:90,primary:62,secondary:[70],when:g.Ao.or(vt,y.Jy.inPeekEditor),handler(ze){Ht(ze,Xe=>{Xe.goToNextOrPreviousReference(!0)})}}),s.W.registerCommandAndKeybindingRule({id:"goToPreviousReference",weight:90,primary:1086,secondary:[1094],when:g.Ao.or(vt,y.Jy.inPeekEditor),handler(ze){Ht(ze,Xe=>{Xe.goToNextOrPreviousReference(!1)})}}),p.P.registerCommandAlias("goToNextReferenceFromEmbeddedEditor","goToNextReference"),p.P.registerCommandAlias("goToPreviousReferenceFromEmbeddedEditor","goToPreviousReference"),p.P.registerCommandAlias("closeReferenceSearchEditor","closeReferenceSearch"),p.P.registerCommand("closeReferenceSearch",ze=>Ht(ze,Xe=>Xe.closeWidget())),s.W.registerKeybindingRule({id:"closeReferenceSearch",weight:-1,primary:9,secondary:[1033],when:g.Ao.and(y.Jy.inPeekEditor,g.Ao.not("config.editor.stablePeek"))}),s.W.registerKeybindingRule({id:"closeReferenceSearch",weight:250,primary:9,secondary:[1033],when:g.Ao.and(vt,g.Ao.not("config.editor.stablePeek"))}),s.W.registerCommandAndKeybindingRule({id:"revealReference",weight:200,primary:3,mac:{primary:3,secondary:[2066]},when:g.Ao.and(vt,C.CQ),handler(ze){var Xe;const Ae=(Xe=ze.get(C.Lw).lastFocusedList)===null||Xe===void 0?void 0:Xe.getFocus();Array.isArray(Ae)&&Ae[0]instanceof r.WX&&Ht(ze,He=>He.revealReference(Ae[0]))}}),s.W.registerCommandAndKeybindingRule({id:"openReferenceToSide",weight:100,primary:2051,mac:{primary:259},when:g.Ao.and(vt,C.CQ),handler(ze){var Xe;const Ae=(Xe=ze.get(C.Lw).lastFocusedList)===null||Xe===void 0?void 0:Xe.getFocus();Array.isArray(Ae)&&Ae[0]instanceof r.WX&&Ht(ze,He=>He.openReference(Ae[0],!0,!0))}}),p.P.registerCommand("openReference",ze=>{var Xe;const Ae=(Xe=ze.get(C.Lw).lastFocusedList)===null||Xe===void 0?void 0:Xe.getFocus();Array.isArray(Ae)&&Ae[0]instanceof r.WX&&Ht(ze,He=>He.openReference(Ae[0],!1,!0))})},12158:function(xt,Te,i){"use strict";i.d(Te,{F2:function(){return w},WX:function(){return a},oQ:function(){return s}});var h=i(79881),H=i(4348),O=i(85035),P=i(69323),D=i(78421),G=i(9365),I=i(82983),y=i(17373),E=i(13268),p=function(C,f,v,r){function l(m){return m instanceof v?m:new v(function(c){c(m)})}return new(v||(v=Promise))(function(m,c){function b(M){try{T(r.next(M))}catch(z){c(z)}}function L(M){try{T(r.throw(M))}catch(z){c(z)}}function T(M){M.done?m(M.value):l(M.value).then(b,L)}T((r=r.apply(C,f||[])).next())})};class a{constructor(f,v,r,l){this.isProviderFirst=f,this.parent=v,this.link=r,this._rangeCallback=l,this.id=O.a.nextId()}get uri(){return this.link.uri}get range(){var f,v;return(v=(f=this._range)!==null&&f!==void 0?f:this.link.targetSelectionRange)!==null&&v!==void 0?v:this.link.range}set range(f){this._range=f,this._rangeCallback(this)}get ariaMessage(){var f;const v=(f=this.parent.getPreview(this))===null||f===void 0?void 0:f.preview(this.range);return v?(0,E.N)({key:"aria.oneReference.preview",comment:["Placeholders are: 0: filename, 1:line number, 2: column number, 3: preview snippet of source code"]},"symbol in {0} on line {1} at column {2}, {3}",(0,G.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn,v.value):(0,E.N)("aria.oneReference","symbol in {0} on line {1} at column {2}",(0,G.EZ)(this.uri),this.range.startLineNumber,this.range.startColumn)}}class g{constructor(f){this._modelReference=f}dispose(){this._modelReference.dispose()}preview(f,v=8){const r=this._modelReference.object.textEditorModel;if(!r)return;const{startLineNumber:l,startColumn:m,endLineNumber:c,endColumn:b}=f,L=r.getWordUntilPosition({lineNumber:l,column:m-v}),T=new y.e(l,L.startColumn,l,m),M=new y.e(c,b,c,1073741824),z=r.getValueInRange(T).replace(/^\s+/,""),oe=r.getValueInRange(f),se=r.getValueInRange(M).replace(/\s+$/,"");return{value:z+oe+se,highlight:{start:z.length,end:z.length+oe.length}}}}class w{constructor(f,v){this.parent=f,this.uri=v,this.children=[],this._previews=new D.Y9}dispose(){(0,P.B9)(this._previews.values()),this._previews.clear()}getPreview(f){return this._previews.get(f.uri)}get ariaMessage(){const f=this.children.length;return f===1?(0,E.N)("aria.fileReferences.1","1 symbol in {0}, full path {1}",(0,G.EZ)(this.uri),this.uri.fsPath):(0,E.N)("aria.fileReferences.N","{0} symbols in {1}, full path {2}",f,(0,G.EZ)(this.uri),this.uri.fsPath)}resolve(f){return p(this,void 0,void 0,function*(){if(this._previews.size!==0)return this;for(let v of this.children)if(!this._previews.has(v.uri))try{const r=yield f.createModelReference(v.uri);this._previews.set(v.uri,new g(r))}catch(r){(0,h.dL)(r)}return this})}}class s{constructor(f,v){this.groups=[],this.references=[],this._onDidChangeReferenceRange=new H.Q5,this.onDidChangeReferenceRange=this._onDidChangeReferenceRange.event,this._links=f,this._title=v;const[r]=f;f.sort(s._compareReferences);let l;for(let m of f)if((!l||!G.SF.isEqual(l.uri,m.uri,!0))&&(l=new w(this,m.uri),this.groups.push(l)),l.children.length===0||s._compareReferences(m,l.children[l.children.length-1])!==0){const c=new a(r===m,l,m,b=>this._onDidChangeReferenceRange.fire(b));this.references.push(c),l.children.push(c)}}dispose(){(0,P.B9)(this.groups),this._onDidChangeReferenceRange.dispose(),this.groups.length=0}clone(){return new s(this._links,this._title)}get title(){return this._title}get isEmpty(){return this.groups.length===0}get ariaMessage(){return this.isEmpty?(0,E.N)("aria.result.0","No results found"):this.references.length===1?(0,E.N)("aria.result.1","Found 1 symbol in {0}",this.references[0].uri.fsPath):this.groups.length===1?(0,E.N)("aria.result.n1","Found {0} symbols in {1}",this.references.length,this.groups[0].uri.fsPath):(0,E.N)("aria.result.nm","Found {0} symbols in {1} files",this.references.length,this.groups.length)}nextOrPreviousReference(f,v){let{parent:r}=f,l=r.children.indexOf(f),m=r.children.length,c=r.parent.groups.length;return c===1||v&&l+10?(v?l=(l+1)%m:l=(l+m-1)%m,r.children[l]):(l=r.parent.groups.indexOf(r),v?(l=(l+1)%c,r.parent.groups[l].children[0]):(l=(l+c-1)%c,r.parent.groups[l].children[r.parent.groups[l].children.length-1]))}nearestReference(f,v){const r=this.references.map((l,m)=>({idx:m,prefixLen:I.Mh(l.uri.toString(),f.toString()),offsetDist:Math.abs(l.range.startLineNumber-v.lineNumber)*100+Math.abs(l.range.startColumn-v.column)})).sort((l,m)=>l.prefixLen>m.prefixLen?-1:l.prefixLenm.offsetDist?1:0)[0];if(r)return this.references[r.idx]}referenceAt(f,v){for(const r of this.references)if(r.uri.toString()===f.toString()&&y.e.containsPosition(r.range,v))return r}firstReference(){for(const f of this.references)if(f.isProviderFirst)return f;return this.references[0]}static _compareReferences(f,v){return G.SF.compare(f.uri,v.uri)||y.e.compareRangesUsingStarts(f.range,v.range)}}},4508:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{ModesHoverController:function(){return ut}});var h=i(52411),H=i(69323),O=i(4514),P=i(17373),D=i(68987),G=i(64992),I=i(50134),y=i(69454),E=i(78265);const p=y.$;class a extends H.JT{constructor(){super(),this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this._scrollbar=this._register(new E.s$(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this._scrollbar.getDomNode())}onContentsChanged(){this._scrollbar.scanDomNode()}}class g extends H.JT{constructor(Y,_e,ke){super(),this.actionContainer=y.R3(Y,p("div.action-container")),this.action=y.R3(this.actionContainer,p("a.action")),this.action.setAttribute("href","#"),this.action.setAttribute("role","button"),_e.iconClass&&y.R3(this.action,p(`span.icon.${_e.iconClass}`));const lt=y.R3(this.action,p("span"));lt.textContent=ke?`${_e.label} (${ke})`:_e.label,this._register(y.nm(this.actionContainer,y.tw.MOUSE_DOWN,nt=>{nt.stopPropagation(),nt.preventDefault(),_e.run(this.actionContainer)})),this.setEnabled(!0)}static render(Y,_e,ke){return new g(Y,_e,ke)}setEnabled(Y){Y?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}var w=i(62758),s=i(43506),C=i(72146),f=i(31276),v=i(27347),r=i(96283),l=i(51737),m=i(91146),c=i(99851),b=i(4348);class L{constructor(Y,_e,ke){this.presentationIndex=ke,this._onColorFlushed=new b.Q5,this.onColorFlushed=this._onColorFlushed.event,this._onDidChangeColor=new b.Q5,this.onDidChangeColor=this._onDidChangeColor.event,this._onDidChangePresentation=new b.Q5,this.onDidChangePresentation=this._onDidChangePresentation.event,this.originalColor=Y,this._color=Y,this._colorPresentations=_e}get color(){return this._color}set color(Y){this._color.equals(Y)||(this._color=Y,this._onDidChangeColor.fire(Y))}get presentation(){return this.colorPresentations[this.presentationIndex]}get colorPresentations(){return this._colorPresentations}set colorPresentations(Y){this._colorPresentations=Y,this.presentationIndex>Y.length-1&&(this.presentationIndex=0),this._onDidChangePresentation.fire(this.presentation)}selectNextColorPresentation(){this.presentationIndex=(this.presentationIndex+1)%this.colorPresentations.length,this.flushColor(),this._onDidChangePresentation.fire(this.presentation)}guessColorPresentation(Y,_e){for(let ke=0;ke{this.backgroundColor=pt.getColor(oe.yJ)||l.Il.white})),this._register(y.nm(this.pickedColorNode,y.tw.CLICK,()=>this.model.selectNextColorPresentation())),this._register(y.nm(nt,y.tw.CLICK,()=>{this.model.color=this.model.originalColor,this.model.flushColor()})),this._register(_e.onDidChangeColor(this.onDidChangeColor,this)),this._register(_e.onDidChangePresentation(this.onDidChangePresentation,this)),this.pickedColorNode.style.backgroundColor=l.Il.Format.CSS.format(_e.color)||"",this.pickedColorNode.classList.toggle("light",_e.color.rgba.a<.5?this.backgroundColor.isLighter():_e.color.isLighter())}onDidChangeColor(Y){this.pickedColorNode.style.backgroundColor=l.Il.Format.CSS.format(Y)||"",this.pickedColorNode.classList.toggle("light",Y.rgba.a<.5?this.backgroundColor.isLighter():Y.isLighter()),this.onDidChangePresentation()}onDidChangePresentation(){this.pickedColorNode.textContent=this.model.presentation?this.model.presentation.label:"",this.pickedColorNode.prepend(re(".codicon.codicon-color-mode"))}}class J extends H.JT{constructor(Y,_e,ke){super(),this.model=_e,this.pixelRatio=ke,this.domNode=re(".colorpicker-body"),y.R3(Y,this.domNode),this.saturationBox=new Z(this.domNode,this.model,this.pixelRatio),this._register(this.saturationBox),this._register(this.saturationBox.onDidChange(this.onDidSaturationValueChange,this)),this._register(this.saturationBox.onColorFlushed(this.flushColor,this)),this.opacityStrip=new le(this.domNode,this.model),this._register(this.opacityStrip),this._register(this.opacityStrip.onDidChange(this.onDidOpacityChange,this)),this._register(this.opacityStrip.onColorFlushed(this.flushColor,this)),this.hueStrip=new xe(this.domNode,this.model),this._register(this.hueStrip),this._register(this.hueStrip.onDidChange(this.onDidHueChange,this)),this._register(this.hueStrip.onColorFlushed(this.flushColor,this))}flushColor(){this.model.flushColor()}onDidSaturationValueChange({s:Y,v:_e}){const ke=this.model.color.hsva;this.model.color=new l.Il(new l.tx(ke.h,Y,_e,ke.a))}onDidOpacityChange(Y){const _e=this.model.color.hsva;this.model.color=new l.Il(new l.tx(_e.h,_e.s,_e.v,Y))}onDidHueChange(Y){const _e=this.model.color.hsva,ke=(1-Y)*360;this.model.color=new l.Il(new l.tx(ke===360?0:ke,_e.s,_e.v,_e.a))}layout(){this.saturationBox.layout(),this.opacityStrip.layout(),this.hueStrip.layout()}}class Z extends H.JT{constructor(Y,_e,ke){super(),this.model=_e,this.pixelRatio=ke,this._onDidChange=new b.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new b.Q5,this.onColorFlushed=this._onColorFlushed.event,this.domNode=re(".saturation-wrap"),y.R3(Y,this.domNode),this.canvas=document.createElement("canvas"),this.canvas.className="saturation-box",y.R3(this.domNode,this.canvas),this.selection=re(".saturation-selection"),y.R3(this.domNode,this.selection),this.layout(),this._register(y.Lo(this.domNode,lt=>this.onMouseDown(lt))),this._register(this.model.onDidChangeColor(this.onDidChangeColor,this)),this.monitor=null}onMouseDown(Y){this.monitor=this._register(new M.Z);const _e=y.i(this.domNode);Y.target!==this.selection&&this.onDidChangePosition(Y.offsetX,Y.offsetY),this.monitor.startMonitoring(Y.target,Y.buttons,M.e,lt=>this.onDidChangePosition(lt.posx-_e.left,lt.posy-_e.top),()=>null);const ke=y.qV(document,()=>{this._onColorFlushed.fire(),ke.dispose(),this.monitor&&(this.monitor.stopMonitoring(!0),this.monitor=null)},!0)}onDidChangePosition(Y,_e){const ke=Math.max(0,Math.min(1,Y/this.width)),lt=Math.max(0,Math.min(1,1-_e/this.height));this.paintSelection(ke,lt),this._onDidChange.fire({s:ke,v:lt})}layout(){this.width=this.domNode.offsetWidth,this.height=this.domNode.offsetHeight,this.canvas.width=this.width*this.pixelRatio,this.canvas.height=this.height*this.pixelRatio,this.paint();const Y=this.model.color.hsva;this.paintSelection(Y.s,Y.v)}paint(){const Y=this.model.color.hsva,_e=new l.Il(new l.tx(Y.h,1,1,1)),ke=this.canvas.getContext("2d"),lt=ke.createLinearGradient(0,0,this.canvas.width,0);lt.addColorStop(0,"rgba(255, 255, 255, 1)"),lt.addColorStop(.5,"rgba(255, 255, 255, 0.5)"),lt.addColorStop(1,"rgba(255, 255, 255, 0)");const nt=ke.createLinearGradient(0,0,0,this.canvas.height);nt.addColorStop(0,"rgba(0, 0, 0, 0)"),nt.addColorStop(1,"rgba(0, 0, 0, 1)"),ke.rect(0,0,this.canvas.width,this.canvas.height),ke.fillStyle=l.Il.Format.CSS.format(_e),ke.fill(),ke.fillStyle=lt,ke.fill(),ke.fillStyle=nt,ke.fill()}paintSelection(Y,_e){this.selection.style.left=`${Y*this.width}px`,this.selection.style.top=`${this.height-_e*this.height}px`}onDidChangeColor(){this.monitor&&this.monitor.isMonitoring()||this.paint()}}class Q extends H.JT{constructor(Y,_e){super(),this.model=_e,this._onDidChange=new b.Q5,this.onDidChange=this._onDidChange.event,this._onColorFlushed=new b.Q5,this.onColorFlushed=this._onColorFlushed.event,this.domNode=y.R3(Y,re(".strip")),this.overlay=y.R3(this.domNode,re(".overlay")),this.slider=y.R3(this.domNode,re(".slider")),this.slider.style.top="0px",this._register(y.Lo(this.domNode,ke=>this.onMouseDown(ke))),this.layout()}layout(){this.height=this.domNode.offsetHeight-this.slider.offsetHeight;const Y=this.getValue(this.model.color);this.updateSliderPosition(Y)}onMouseDown(Y){const _e=this._register(new M.Z),ke=y.i(this.domNode);this.domNode.classList.add("grabbing"),Y.target!==this.slider&&this.onDidChangeTop(Y.offsetY),_e.startMonitoring(Y.target,Y.buttons,M.e,nt=>this.onDidChangeTop(nt.posy-ke.top),()=>null);const lt=y.qV(document,()=>{this._onColorFlushed.fire(),lt.dispose(),_e.stopMonitoring(!0),this.domNode.classList.remove("grabbing")},!0)}onDidChangeTop(Y){const _e=Math.max(0,Math.min(1,1-Y/this.height));this.updateSliderPosition(_e),this._onDidChange.fire(_e)}updateSliderPosition(Y){this.slider.style.top=`${(1-Y)*this.height}px`}}class le extends Q{constructor(Y,_e){super(Y,_e),this.domNode.classList.add("opacity-strip"),this._register(_e.onDidChangeColor(this.onDidChangeColor,this)),this.onDidChangeColor(this.model.color)}onDidChangeColor(Y){const{r:_e,g:ke,b:lt}=Y.rgba,nt=new l.Il(new l.VS(_e,ke,lt,1)),pt=new l.Il(new l.VS(_e,ke,lt,0));this.overlay.style.background=`linear-gradient(to bottom, ${nt} 0%, ${pt} 100%)`}getValue(Y){return Y.hsva.a}}class xe extends Q{constructor(Y,_e){super(Y,_e),this.domNode.classList.add("hue-strip")}getValue(Y){return 1-Y.hsva.h/360}}class j extends w.${constructor(Y,_e,ke,lt){super(),this.model=_e,this.pixelRatio=ke,this._register((0,T.fX)(()=>this.layout()));const nt=re(".colorpicker-widget");Y.appendChild(nt);const pt=new De(nt,this.model,lt);this.body=new J(nt,this.model,this.pixelRatio),this._register(pt),this._register(this.body)}layout(){this.body.layout()}}var R=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},V=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}},K=function(Se,Y,_e,ke){function lt(nt){return nt instanceof _e?nt:new _e(function(pt){pt(nt)})}return new(_e||(_e=Promise))(function(nt,pt){function Dt(Jt){try{Mt(ke.next(Jt))}catch(jt){pt(jt)}}function Vt(Jt){try{Mt(ke.throw(Jt))}catch(jt){pt(jt)}}function Mt(Jt){Jt.done?nt(Jt.value):lt(Jt.value).then(Dt,Vt)}Mt((ke=ke.apply(Se,Y||[])).next())})};class ie{constructor(Y,_e,ke,lt){this.owner=Y,this.range=_e,this.model=ke,this.provider=lt,this.forceShowAtRange=!0}isValidForHoverAnchor(Y){return Y.type===1&&this.range.startColumn<=Y.range.startColumn&&this.range.endColumn>=Y.range.endColumn}}let te=class{constructor(Y,_e,ke){this._editor=Y,this._hover=_e,this._themeService=ke}computeSync(Y,_e){return[]}computeAsync(Y,_e,ke){return K(this,void 0,void 0,function*(){if(!this._editor.hasModel())return[];const lt=c.i.get(this._editor);for(const nt of _e){if(nt.options.description!=="color-detector-color")continue;const pt=lt.getColorData(nt.range.getStartPosition());if(pt)return[yield this._createColorHover(this._editor.getModel(),pt.colorInfo,pt.provider)]}return[]})}_createColorHover(Y,_e,ke){return K(this,void 0,void 0,function*(){const lt=Y.getValueInRange(_e.range),{red:nt,green:pt,blue:Dt,alpha:Vt}=_e.color,Mt=new l.VS(Math.round(nt*255),Math.round(pt*255),Math.round(Dt*255),Vt),Jt=new l.Il(Mt),jt=yield(0,m.R)(Y,_e,ke,r.T.None),ui=new L(Jt,[],0);return ui.colorPresentations=jt||[],ui.guessColorPresentation(Jt,lt),new ie(this,P.e.lift(_e.range),ui,ke)})}renderHoverParts(Y,_e,ke){if(Y.length===0||!this._editor.hasModel())return H.JT.None;const lt=new H.SL,nt=Y[0],pt=this._editor.getModel(),Dt=nt.model,Vt=lt.add(new j(_e,Dt,this._editor.getOption(127),this._themeService));let Mt=new P.e(nt.range.startLineNumber,nt.range.startColumn,nt.range.endLineNumber,nt.range.endColumn);const Jt=()=>{let ui,vi;if(Dt.presentation.textEdit){ui=[Dt.presentation.textEdit],vi=new P.e(Dt.presentation.textEdit.range.startLineNumber,Dt.presentation.textEdit.range.startColumn,Dt.presentation.textEdit.range.endLineNumber,Dt.presentation.textEdit.range.endColumn);const Si=this._editor.getModel()._setTrackedRange(null,vi,3);this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",ui),vi=this._editor.getModel()._getTrackedRange(Si)||vi}else ui=[{identifier:null,range:Mt,text:Dt.presentation.label,forceMoveMarkers:!1}],vi=Mt.setEndPosition(Mt.endLineNumber,Mt.startColumn+Dt.presentation.label.length),this._editor.pushUndoStop(),this._editor.executeEdits("colorpicker",ui);Dt.presentation.additionalTextEdits&&(ui=[...Dt.presentation.additionalTextEdits],this._editor.executeEdits("colorpicker",ui),this._hover.hide()),this._editor.pushUndoStop(),Mt=vi},jt=ui=>(0,m.R)(pt,{range:Mt,color:{red:ui.rgba.r/255,green:ui.rgba.g/255,blue:ui.rgba.b/255,alpha:ui.rgba.a}},nt.provider,r.T.None).then(vi=>{Dt.colorPresentations=vi||[]});return lt.add(Dt.onColorFlushed(ui=>{jt(ui).then(Jt)})),lt.add(Dt.onDidChangeColor(jt)),this._hover.setColorPicker(Vt),lt}};te=R([V(2,se.XE)],te);var ge=i(50431),ye=i(79881);class ve{constructor(Y,_e,ke,lt,nt){this._computer=Y,this._state=0,this._hoverTime=nt,this._firstWaitScheduler=new ge.pY(()=>this._triggerAsyncComputation(),0),this._secondWaitScheduler=new ge.pY(()=>this._triggerSyncComputation(),0),this._loadingMessageScheduler=new ge.pY(()=>this._showLoadingMessage(),0),this._asyncComputationPromise=null,this._asyncComputationPromiseDone=!1,this._completeCallback=_e,this._errorCallback=ke,this._progressCallback=lt}setHoverTime(Y){this._hoverTime=Y}_firstWaitTime(){return this._hoverTime/2}_secondWaitTime(){return this._hoverTime/2}_loadingMessageTime(){return 3*this._hoverTime}_triggerAsyncComputation(){this._state=2,this._secondWaitScheduler.schedule(this._secondWaitTime()),this._computer.computeAsync?(this._asyncComputationPromiseDone=!1,this._asyncComputationPromise=(0,ge.PG)(Y=>this._computer.computeAsync(Y)),this._asyncComputationPromise.then(Y=>{this._asyncComputationPromiseDone=!0,this._withAsyncResult(Y)},Y=>this._onError(Y))):this._asyncComputationPromiseDone=!0}_triggerSyncComputation(){this._computer.computeSync&&this._computer.onResult(this._computer.computeSync(),!0),this._asyncComputationPromiseDone?(this._state=0,this._onComplete(this._computer.getResult())):(this._state=3,this._onProgress(this._computer.getResult()))}_showLoadingMessage(){this._state===3&&this._onProgress(this._computer.getResultWithLoadingMessage())}_withAsyncResult(Y){Y&&this._computer.onResult(Y,!1),this._state===3&&(this._state=0,this._onComplete(this._computer.getResult()))}_onComplete(Y){this._completeCallback(Y)}_onError(Y){this._errorCallback?this._errorCallback(Y):(0,ye.dL)(Y)}_onProgress(Y){this._progressCallback(Y)}start(Y){if(Y===0)this._state===0&&(this._state=1,this._firstWaitScheduler.schedule(this._firstWaitTime()),this._loadingMessageScheduler.schedule(this._loadingMessageTime()));else switch(this._state){case 0:this._triggerAsyncComputation(),this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break;case 2:this._secondWaitScheduler.cancel(),this._triggerSyncComputation();break}}cancel(){this._loadingMessageScheduler.cancel(),this._state===1&&this._firstWaitScheduler.cancel(),this._state===2&&(this._secondWaitScheduler.cancel(),this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null)),this._state===3&&this._asyncComputationPromise&&(this._asyncComputationPromise.cancel(),this._asyncComputationPromise=null),this._state=0}}class Fe{constructor(Y,_e){this.priority=Y,this.range=_e,this.type=1}equals(Y){return Y.type===1&&this.range.equalsRange(Y.range)}canAdoptVisibleHover(Y,_e){return Y.type===1&&_e.lineNumber===this.range.startLineNumber}}class we{constructor(Y,_e,ke){this.priority=Y,this.owner=_e,this.range=ke,this.type=2}equals(Y){return Y.type===2&&this.owner===Y.owner}canAdoptVisibleHover(Y,_e){return Y.type===2&&this.owner===Y.owner}}var ue=i(94186),ce=i(56327);function Ve(Se,Y,_e){const lt=v.xp.ordered(Se).map(nt=>Promise.resolve(nt.provideHover(Se,Y,_e)).then(pt=>pt&&We(pt)?pt:void 0,pt=>{(0,ye.Cp)(pt)}));return Promise.all(lt).then(s.kX)}(0,O.sb)("_executeHoverProvider",(Se,Y)=>Ve(Se,Y,r.T.None));function We(Se){const Y=typeof Se.range!="undefined",_e=typeof Se.contents!="undefined"&&Se.contents&&Se.contents.length>0;return Y&&_e}var ae=i(93965),fe=i(271),ne=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},W=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}},$=function(Se,Y,_e,ke){function lt(nt){return nt instanceof _e?nt:new _e(function(pt){pt(nt)})}return new(_e||(_e=Promise))(function(nt,pt){function Dt(Jt){try{Mt(ke.next(Jt))}catch(jt){pt(jt)}}function Vt(Jt){try{Mt(ke.throw(Jt))}catch(jt){pt(jt)}}function Mt(Jt){Jt.done?nt(Jt.value):lt(Jt.value).then(Dt,Vt)}Mt((ke=ke.apply(Se,Y||[])).next())})};const ee=y.$;class he{constructor(Y,_e,ke){this.owner=Y,this.range=_e,this.contents=ke}isValidForHoverAnchor(Y){return Y.type===1&&this.range.startColumn<=Y.range.startColumn&&this.range.endColumn>=Y.range.endColumn}}let Pe=class{constructor(Y,_e,ke,lt,nt){this._editor=Y,this._hover=_e,this._modeService=ke,this._openerService=lt,this._configurationService=nt}createLoadingMessage(Y){return new he(this,Y.range,[new ue.W5().appendText(z.N("modesContentHover.loading","Loading..."))])}computeSync(Y,_e){if(!this._editor.hasModel()||Y.type!==1)return[];const ke=this._editor.getModel(),lt=Y.range.startLineNumber,nt=ke.getLineMaxColumn(lt),pt=[];for(const Jt of _e){const jt=Jt.range.startLineNumber===lt?Jt.range.startColumn:1,ui=Jt.range.endLineNumber===lt?Jt.range.endColumn:nt,vi=Jt.options.hoverMessage;if(!vi||(0,ue.CP)(vi))continue;const Si=new P.e(Y.range.startLineNumber,jt,Y.range.startLineNumber,ui);pt.push(new he(this,Si,(0,s._2)(vi)))}const Dt=ke.getLineLength(lt),Vt=ke.getLanguageIdAtPosition(Y.range.startLineNumber,Y.range.startColumn),Mt=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:Vt});return typeof Mt=="number"&&Dt>=Mt&&pt.push(new he(this,Y.range,[{value:z.N("too many characters","Tokenization is skipped for long lines for performance reasons. This can be configured via `editor.maxTokenizationLineLength`.")}])),pt}computeAsync(Y,_e,ke){return $(this,void 0,void 0,function*(){if(!this._editor.hasModel()||Y.type!==1)return Promise.resolve([]);const lt=this._editor.getModel();if(!v.xp.has(lt))return Promise.resolve([]);const nt=yield Ve(lt,new C.L(Y.range.startLineNumber,Y.range.startColumn),ke),pt=[];for(const Dt of nt){if((0,ue.CP)(Dt.contents))continue;const Vt=Dt.range?P.e.lift(Dt.range):Y.range;pt.push(new he(this,Vt,Dt.contents))}return pt})}renderHoverParts(Y,_e,ke){const lt=new H.SL;for(const nt of Y)for(const pt of nt.contents){if((0,ue.CP)(pt))continue;const Dt=ee("div.hover-row.markdown-hover"),Vt=y.R3(Dt,ee("div.hover-contents")),Mt=lt.add(new ce.$({editor:this._editor},this._modeService,this._openerService));lt.add(Mt.onDidRenderAsync(()=>{Vt.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));const Jt=lt.add(Mt.render(pt));Vt.appendChild(Jt.element),_e.appendChild(Dt)}return lt}};Pe=ne([W(2,G.h),W(3,fe.v4),W(4,ae.Ui)],Pe);var Ye=i(9365),it=i(49178),rt=i(14899),vt=i(70096),Ft=i(46105),Ht=i(39519),ze=i(12145),Xe=i(81641),Ze=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},Ae=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}};const He=y.$;class Et{constructor(Y,_e,ke){this.owner=Y,this.range=_e,this.marker=ke}isValidForHoverAnchor(Y){return Y.type===1&&this.range.startColumn<=Y.range.startColumn&&this.range.endColumn>=Y.range.endColumn}}const Wt={type:1,filter:{include:Ft.yN.QuickFix}};let oi=class{constructor(Y,_e,ke,lt){this._editor=Y,this._hover=_e,this._markerDecorationsService=ke,this._openerService=lt,this.recentMarkerCodeActionsInfo=void 0}computeSync(Y,_e){if(!this._editor.hasModel()||Y.type!==1)return[];const ke=this._editor.getModel(),lt=Y.range.startLineNumber,nt=ke.getLineMaxColumn(lt),pt=[];for(const Dt of _e){const Vt=Dt.range.startLineNumber===lt?Dt.range.startColumn:1,Mt=Dt.range.endLineNumber===lt?Dt.range.endColumn:nt,Jt=this._markerDecorationsService.getMarker(ke.uri,Dt);if(!Jt)continue;const jt=new P.e(Y.range.startLineNumber,Vt,Y.range.startLineNumber,Mt);pt.push(new Et(this,jt,Jt))}return pt}renderHoverParts(Y,_e,ke){if(!Y.length)return H.JT.None;const lt=new H.SL;Y.forEach(pt=>_e.appendChild(this.renderMarkerHover(pt,lt)));const nt=Y.length===1?Y[0]:Y.sort((pt,Dt)=>ze.ZL.compare(pt.marker.severity,Dt.marker.severity))[0];return this.renderMarkerStatusbar(nt,ke,lt),lt}renderMarkerHover(Y,_e){const ke=He("div.hover-row"),lt=y.R3(ke,He("div.marker.hover-contents")),{source:nt,message:pt,code:Dt,relatedInformation:Vt}=Y.marker;this._editor.applyFontInfo(lt);const Mt=y.R3(lt,He("span"));if(Mt.style.whiteSpace="pre-wrap",Mt.innerText=pt,nt||Dt)if(Dt&&typeof Dt!="string"){const Jt=He("span");if(nt){const Si=y.R3(Jt,He("span"));Si.innerText=nt}const jt=y.R3(Jt,He("a.code-link"));jt.setAttribute("href",Dt.target.toString()),_e.add(y.nm(jt,"click",Si=>{this._openerService.open(Dt.target,{allowCommands:!0}),Si.preventDefault(),Si.stopPropagation()}));const ui=y.R3(jt,He("span"));ui.innerText=Dt.value;const vi=y.R3(lt,Jt);vi.style.opacity="0.6",vi.style.paddingLeft="6px"}else{const Jt=y.R3(lt,He("span"));Jt.style.opacity="0.6",Jt.style.paddingLeft="6px",Jt.innerText=nt&&Dt?`${nt}(${Dt})`:nt||`(${Dt})`}if((0,s.Of)(Vt))for(const{message:Jt,resource:jt,startLineNumber:ui,startColumn:vi}of Vt){const Si=y.R3(lt,He("div"));Si.style.marginTop="8px";const Oi=y.R3(Si,He("a"));Oi.innerText=`${(0,Ye.EZ)(jt)}(${ui}, ${vi}): `,Oi.style.cursor="pointer",_e.add(y.nm(Oi,"click",zi=>{zi.stopPropagation(),zi.preventDefault(),this._openerService&&this._openerService.open(jt,{fromUserGesture:!0,editorOptions:{selection:{startLineNumber:ui,startColumn:vi}}}).catch(ye.dL)}));const Ri=y.R3(Si,He("span"));Ri.innerText=Jt,this._editor.applyFontInfo(Ri)}return ke}renderMarkerStatusbar(Y,_e,ke){if((Y.marker.severity===ze.ZL.Error||Y.marker.severity===ze.ZL.Warning||Y.marker.severity===ze.ZL.Info)&&_e.addAction({label:z.N("view problem","View Problem"),commandId:Ht.NextMarkerAction.ID,run:()=>{this._hover.hide(),Ht.MarkerController.get(this._editor).showAtMarker(Y.marker),this._editor.focus()}}),!this._editor.getOption(80)){const lt=_e.append(He("div"));this.recentMarkerCodeActionsInfo&&(ze.H0.makeKey(this.recentMarkerCodeActionsInfo.marker)===ze.H0.makeKey(Y.marker)?this.recentMarkerCodeActionsInfo.hasCodeActions||(lt.textContent=z.N("noQuickFixes","No quick fixes available")):this.recentMarkerCodeActionsInfo=void 0);const nt=this.recentMarkerCodeActionsInfo&&!this.recentMarkerCodeActionsInfo.hasCodeActions?H.JT.None:ke.add((0,ge.Vg)(()=>lt.textContent=z.N("checkingForQuickFixes","Checking for quick fixes..."),200));lt.textContent||(lt.textContent="\xA0");const pt=this.getCodeActions(Y.marker);ke.add((0,H.OF)(()=>pt.cancel())),pt.then(Dt=>{if(nt.dispose(),this.recentMarkerCodeActionsInfo={marker:Y.marker,hasCodeActions:Dt.validActions.length>0},!this.recentMarkerCodeActionsInfo.hasCodeActions){Dt.dispose(),lt.textContent=z.N("noQuickFixes","No quick fixes available");return}lt.style.display="none";let Vt=!1;ke.add((0,H.OF)(()=>{Vt||Dt.dispose()})),_e.addAction({label:z.N("quick fixes","Quick Fix..."),commandId:vt.E7.Id,run:Mt=>{Vt=!0;const Jt=vt.pY.get(this._editor),jt=y.i(Mt);this._hover.hide(),Jt.showCodeActions(Wt,Dt,{x:jt.left+6,y:jt.top+jt.height+6})}})},ye.dL)}}getCodeActions(Y){return(0,ge.PG)(_e=>(0,rt.aI)(this._editor.getModel(),new P.e(Y.startLineNumber,Y.startColumn,Y.endLineNumber,Y.endColumn),Wt,Xe.E.None,_e))}};oi=Ze([Ae(2,it.i),Ae(3,fe.v4)],oi),(0,se.Ic)((Se,Y)=>{const _e=Se.getColor(oe.ur);_e&&Y.addRule(`.monaco-hover .hover-contents a.code-link span { color: ${_e}; }`);const ke=Se.getColor(oe.sg);ke&&Y.addRule(`.monaco-hover .hover-contents a.code-link span:hover { color: ${ke}; }`)});var ni=i(68019),hi=i(52950),Di=i(96236),Ti=i(35884),Ni=i(90689),ai=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},Pt=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}};class Gt{constructor(Y,_e,ke){this.owner=Y,this.range=_e,this.controller=ke}isValidForHoverAnchor(Y){return Y.type===1&&this.range.startColumn<=Y.range.startColumn&&this.range.endColumn>=Y.range.endColumn}hasMultipleSuggestions(){return this.controller.hasMultipleInlineCompletions()}}let st=class{constructor(Y,_e,ke,lt,nt,pt,Dt,Vt){this._editor=Y,this._hover=_e,this._commandService=ke,this._menuService=lt,this._contextKeyService=nt,this._modeService=pt,this._openerService=Dt,this.accessibilityService=Vt}suggestHoverAnchor(Y){const _e=ni.Kp.get(this._editor);if(!_e)return null;if(Y.target.type===8){const ke=Y.target.detail;if(_e.shouldShowHoverAtViewZone(ke.viewZoneId))return new we(1e3,this,P.e.fromPositions(ke.positionBefore||ke.position,ke.positionBefore||ke.position))}return Y.target.type===7&&Y.target.range&&_e.shouldShowHoverAt(Y.target.range)?new we(1e3,this,Y.target.range):Y.target.type===6&&Y.target.range&&Y.target.detail&&Y.target.detail.mightBeForeignElement&&_e.shouldShowHoverAt(Y.target.range)?new we(1e3,this,Y.target.range):null}computeSync(Y,_e){const ke=ni.Kp.get(this._editor);return ke&&ke.shouldShowHoverAt(Y.range)?[new Gt(this,Y.range,ke)]:[]}renderHoverParts(Y,_e,ke){const lt=new H.SL,nt=Y[0];this.accessibilityService.isScreenReaderOptimized()&&this.renderScreenReaderText(nt,_e,lt);const pt=lt.add(this._menuService.createMenu(Di.eH.InlineCompletionsActions,this._contextKeyService)),Dt=ke.addAction({label:z.N("showNextInlineSuggestion","Next"),commandId:ni.L8.ID,run:()=>this._commandService.executeCommand(ni.L8.ID)}),Vt=ke.addAction({label:z.N("showPreviousInlineSuggestion","Previous"),commandId:ni.a5.ID,run:()=>this._commandService.executeCommand(ni.a5.ID)});ke.addAction({label:z.N("acceptInlineSuggestion","Accept"),commandId:ni.Lv.id,run:()=>this._commandService.executeCommand(ni.Lv.id)});const Mt=[Dt,Vt];for(const Jt of Mt)Jt.setEnabled(!1);nt.hasMultipleSuggestions().then(Jt=>{for(const jt of Mt)jt.setEnabled(Jt)});for(const[Jt,jt]of pt.getActions())for(const ui of jt)ui instanceof Di.U8&&ke.addAction({label:ui.label,commandId:ui.item.id,run:()=>this._commandService.executeCommand(ui.item.id)});return lt}renderScreenReaderText(Y,_e,ke){var lt,nt;const pt=y.$,Dt=pt("div.hover-row.markdown-hover"),Vt=y.R3(Dt,pt("div.hover-contents")),Mt=ke.add(new ce.$({editor:this._editor},this._modeService,this._openerService)),Jt=ui=>{ke.add(Mt.onDidRenderAsync(()=>{Vt.className="hover-contents code-hover-contents",this._hover.onContentsChanged()}));const vi=z.N("inlineSuggestionFollows","Suggestion:"),Si=ke.add(Mt.render(new ue.W5().appendText(vi).appendCodeblock("text",ui)));Vt.replaceChildren(Si.element)},jt=(nt=(lt=Y.controller.activeModel)===null||lt===void 0?void 0:lt.inlineCompletionsModel)===null||nt===void 0?void 0:nt.ghostText;if(jt){const ui=this._editor.getModel().getLineContent(jt.lineNumber);Jt(jt.renderForScreenReader(ui))}_e.appendChild(Dt)}};st=ai([Pt(2,Ti.H),Pt(3,Di.co),Pt(4,Ni.i6),Pt(5,G.h),Pt(6,fe.v4),Pt(7,hi.F)],st);var gt=i(16925),ht=i(5898),Qe=i(15817),$e=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},Ie=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}},Oe=function(Se,Y,_e,ke){function lt(nt){return nt instanceof _e?nt:new _e(function(pt){pt(nt)})}return new(_e||(_e=Promise))(function(nt,pt){function Dt(Jt){try{Mt(ke.next(Jt))}catch(jt){pt(jt)}}function Vt(Jt){try{Mt(ke.throw(Jt))}catch(jt){pt(jt)}}function Mt(Jt){Jt.done?nt(Jt.value):lt(Jt.value).then(Dt,Vt)}Mt((ke=ke.apply(Se,Y||[])).next())})};const Ke=y.$;let ct=class extends H.JT{constructor(Y){super(),this._keybindingService=Y,this._hasContent=!1,this.hoverElement=Ke("div.hover-row.status-bar"),this.actionsElement=y.R3(this.hoverElement,Ke("div.actions"))}get hasContent(){return this._hasContent}addAction(Y){const _e=this._keybindingService.lookupKeybinding(Y.commandId),ke=_e?_e.getLabel():null;return this._hasContent=!0,this._register(g.render(this.actionsElement,Y,ke))}append(Y){const _e=y.R3(this.actionsElement,Y);return this._hasContent=!0,_e}};ct=$e([Ie(0,ht.d)],ct);class Nt{constructor(Y,_e){this._participants=_e,this._editor=Y,this._result=[],this._anchor=null}setAnchor(Y){this._anchor=Y,this._result=[]}clearResult(){this._result=[]}static _getLineDecorations(Y,_e){if(_e.type!==1)return[];const ke=Y.getModel(),lt=_e.range.startLineNumber,nt=ke.getLineMaxColumn(lt);return Y.getLineDecorations(lt).filter(pt=>{if(pt.options.isWholeLine)return!0;const Dt=pt.range.startLineNumber===lt?pt.range.startColumn:1,Vt=pt.range.endLineNumber===lt?pt.range.endColumn:nt;return!(Dt>_e.range.startColumn||_e.range.endColumn>Vt)})}computeAsync(Y){return Oe(this,void 0,void 0,function*(){const _e=this._anchor;if(!this._editor.hasModel()||!_e)return Promise.resolve([]);const ke=Nt._getLineDecorations(this._editor,_e),lt=yield Promise.all(this._participants.map(nt=>this._computeAsync(nt,ke,_e,Y)));return(0,s.xH)(lt)})}_computeAsync(Y,_e,ke,lt){return Oe(this,void 0,void 0,function*(){return Y.computeAsync?Y.computeAsync(ke,_e,lt):[]})}computeSync(){if(!this._editor.hasModel()||!this._anchor)return[];const Y=Nt._getLineDecorations(this._editor,this._anchor);let _e=[];for(const ke of this._participants)_e=_e.concat(ke.computeSync(this._anchor,Y));return(0,s.kX)(_e)}onResult(Y,_e){_e?this._result=Y.concat(this._result):this._result=this._result.concat(Y)}getResult(){return this._result.slice(0)}getResultWithLoadingMessage(){if(this._anchor){for(const Y of this._participants)if(Y.createLoadingMessage){const _e=Y.createLoadingMessage(this._anchor);if(_e)return this._result.slice(0).concat([_e])}}return this._result.slice(0)}}let $t=class Na extends w.${constructor(Y,_e,ke,lt,nt){super(),this._hoverVisibleKey=_e,this._keybindingService=lt,this._contextKeyService=nt,this.allowEditorOverflow=!0,this._participants=[ke.createInstance(te,Y,this),ke.createInstance(Pe,Y,this),ke.createInstance(st,Y,this),ke.createInstance(oi,Y,this)],this._editor=Y,this._isVisible=!1,this._stoleFocus=!1,this._renderDisposable=null,this._hover=this._register(new a),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this.onkeydown(this._hover.containerDomNode,pt=>{pt.equals(9)&&this.hide()}),this._register(this._editor.onDidChangeConfiguration(pt=>{pt.hasChanged(43)&&this._updateFont()})),this._editor.onDidLayoutChange(()=>this.layout()),this.layout(),this._editor.addContentWidget(this),this._showAtPosition=null,this._showAtRange=null,this._stoleFocus=!1,this._messages=[],this._lastAnchor=null,this._computer=new Nt(this._editor,this._participants),this._highlightDecorations=[],this._isChangingDecorations=!1,this._shouldFocus=!1,this._colorPicker=null,this._preferAbove=this._editor.getOption(52).above,this._hoverOperation=new ve(this._computer,pt=>this._withResult(pt,!0),null,pt=>this._withResult(pt,!1),this._editor.getOption(52).delay),this._register(y.mu(this.getDomNode(),y.tw.FOCUS,()=>{this._colorPicker&&this.getDomNode().classList.add("colorpicker-hover")})),this._register(y.mu(this.getDomNode(),y.tw.BLUR,()=>{this.getDomNode().classList.remove("colorpicker-hover")})),this._register(Y.onDidChangeConfiguration(()=>{this._hoverOperation.setHoverTime(this._editor.getOption(52).delay),this._preferAbove=this._editor.getOption(52).above})),this._register(v.RW.onDidChange(()=>{this._isVisible&&this._lastAnchor&&this._messages.length>0&&(this._hover.contentsDomNode.textContent="",this._renderMessages(this._lastAnchor,this._messages))}))}dispose(){this._hoverOperation.cancel(),this._editor.removeContentWidget(this),super.dispose()}getId(){return Na.ID}getDomNode(){return this._hover.containerDomNode}_shouldShowAt(Y){const _e=Y.target.type;if(_e===6)return!0;if(_e===7){const ke=this._editor.getOption(43).typicalHalfwidthCharacterWidth/2,lt=Y.target.detail;if(lt&&!lt.isAfterLines&&typeof lt.horizontalDistanceToText=="number"&<.horizontalDistanceToTextpt.startsWith("ced-colorBox"))&&Y.target.range.endColumn-Y.target.range.startColumn===1?new P.e(Y.target.range.startLineNumber,Y.target.range.startColumn+1,Y.target.range.endLineNumber,Y.target.range.endColumn+1):Y.target.range;ke.push(new Fe(0,nt))}return ke.length===0?!1:(ke.sort((lt,nt)=>nt.priority-lt.priority),this._startShowingAt(ke[0],0,!1),!0)}_showAt(Y,_e,ke){this._showAtPosition=Y,this._showAtRange=_e,this._hoverVisibleKey.set(!0),this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._editor.render(),this._stoleFocus=ke,ke&&this._hover.containerDomNode.focus()}getPosition(){if(this._isVisible){let Y=this._preferAbove;return!Y&&this._contextKeyService.getContextKeyValue(Qe._y.Visible.key)&&(Y=!0),{position:this._showAtPosition,range:this._showAtRange,preference:Y?[1,2]:[2,1]}}return null}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(_e=>this._editor.applyFontInfo(_e))}_updateContents(Y){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(Y),this._updateFont(),this._editor.layoutContentWidget(this),this._hover.onContentsChanged()}layout(){const Y=Math.max(this._editor.getLayoutInfo().height/4,250),{fontSize:_e,lineHeight:ke}=this._editor.getOption(43);this._hover.contentsDomNode.style.fontSize=`${_e}px`,this._hover.contentsDomNode.style.lineHeight=`${ke/_e}`,this._hover.contentsDomNode.style.maxHeight=`${Y}px`,this._hover.contentsDomNode.style.maxWidth=`${Math.max(this._editor.getLayoutInfo().width*.66,500)}px`}onModelDecorationsChanged(){this._isChangingDecorations||this._isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._colorPicker||this._hoverOperation.start(0))}startShowingAtRange(Y,_e,ke){this._startShowingAt(new Fe(0,Y),_e,ke)}_startShowingAt(Y,_e,ke){if(!(this._lastAnchor&&this._lastAnchor.equals(Y))){if(this._hoverOperation.cancel(),this._isVisible)if(!this._showAtPosition||!this._lastAnchor||!Y.canAdoptVisibleHover(this._lastAnchor,this._showAtPosition))this.hide();else{const lt=this._messages.filter(nt=>nt.isValidForHoverAnchor(Y));if(lt.length===0)this.hide();else{if(lt.length===this._messages.length)return;this._renderMessages(Y,lt)}}this._lastAnchor=Y,this._computer.setAnchor(Y),this._shouldFocus=ke,this._hoverOperation.start(_e)}}hide(){this._lastAnchor=null,this._hoverOperation.cancel(),this._isVisible&&(setTimeout(()=>{this._isVisible||this._hoverVisibleKey.set(!1)},0),this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._editor.layoutContentWidget(this),this._stoleFocus&&this._editor.focus()),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,[]),this._isChangingDecorations=!1,this._renderDisposable&&(this._renderDisposable.dispose(),this._renderDisposable=null),this._colorPicker=null}isColorPickerVisible(){return!!this._colorPicker}setColorPicker(Y){this._colorPicker=Y}onContentsChanged(){this._hover.onContentsChanged()}_withResult(Y,_e){this._messages=Y,this._lastAnchor&&this._messages.length>0?this._renderMessages(this._lastAnchor,this._messages):_e&&this.hide()}_renderMessages(Y,_e){this._renderDisposable&&(this._renderDisposable.dispose(),this._renderDisposable=null),this._colorPicker=null;let ke=1073741824,lt=_e[0].range,nt=null,pt=document.createDocumentFragment();const Dt=new H.SL,Vt=new Map;for(const Jt of _e)ke=Math.min(ke,Jt.range.startColumn),lt=P.e.plusRange(lt,Jt.range),Jt.forceShowAtRange&&(nt=Jt.range),Vt.has(Jt.owner)||Vt.set(Jt.owner,[]),Vt.get(Jt.owner).push(Jt);const Mt=Dt.add(new ct(this._keybindingService));for(const[Jt,jt]of Vt)Dt.add(Jt.renderHoverParts(jt,pt,Mt));Mt.hasContent&&pt.appendChild(Mt.hoverElement),this._renderDisposable=Dt,pt.hasChildNodes()&&(nt?this._showAt(nt.getStartPosition(),nt,this._shouldFocus):this._showAt(new C.L(Y.range.startLineNumber,ke),lt,this._shouldFocus),this._updateContents(pt)),this._colorPicker&&this._colorPicker.layout(),this._isChangingDecorations=!0,this._highlightDecorations=this._editor.deltaDecorations(this._highlightDecorations,lt?[{range:lt,options:Na._DECORATION_OPTIONS}]:[]),this._isChangingDecorations=!1}};$t.ID="editor.contrib.modesContentHoverWidget",$t._DECORATION_OPTIONS=f.qx.register({description:"content-hover-highlight",className:"hoverHighlight"}),$t=$e([Ie(2,gt.TG),Ie(3,ht.d),Ie(4,Ni.i6)],$t);const Xt=y.$;class Ci{constructor(Y){this._editor=Y,this._lineNumber=-1,this._result=[]}setLineNumber(Y){this._lineNumber=Y,this._result=[]}clearResult(){this._result=[]}computeSync(){const Y=lt=>({value:lt}),_e=this._editor.getLineDecorations(this._lineNumber),ke=[];if(!_e)return ke;for(const lt of _e){if(!lt.options.glyphMarginClassName)continue;const nt=lt.options.glyphMarginHoverMessage;!nt||(0,ue.CP)(nt)||ke.push(...(0,s._2)(nt).map(Y))}return ke}onResult(Y,_e){this._result=this._result.concat(Y)}getResult(){return this._result}getResultWithLoadingMessage(){return this.getResult()}}class Zt extends w.${constructor(Y,_e,ke=fe.SW){super(),this._renderDisposeables=this._register(new H.SL),this._editor=Y,this._isVisible=!1,this._messages=[],this._lastLineNumber=-1,this._hover=this._register(new a),this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible),this._markdownRenderer=this._register(new ce.$({editor:this._editor},_e,ke)),this._computer=new Ci(this._editor),this._hoverOperation=new ve(this._computer,lt=>this._withResult(lt),void 0,lt=>this._withResult(lt),300),this._register(this._editor.onDidChangeConfiguration(lt=>{lt.hasChanged(43)&&this._updateFont()})),this._editor.addOverlayWidget(this)}dispose(){this._hoverOperation.cancel(),this._editor.removeOverlayWidget(this),super.dispose()}getId(){return Zt.ID}getDomNode(){return this._hover.containerDomNode}getPosition(){return null}_showAt(Y){this._isVisible||(this._isVisible=!0,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible));const _e=this._editor.getLayoutInfo(),ke=this._editor.getTopForLineNumber(Y),lt=this._editor.getScrollTop(),nt=this._editor.getOption(58),pt=this._hover.containerDomNode.clientHeight,Dt=ke-lt-(pt-nt)/2;this._hover.containerDomNode.style.left=`${_e.glyphMarginLeft+_e.glyphMarginWidth}px`,this._hover.containerDomNode.style.top=`${Math.max(Math.round(Dt),0)}px`}_updateFont(){Array.prototype.slice.call(this._hover.contentsDomNode.getElementsByClassName("code")).forEach(_e=>this._editor.applyFontInfo(_e))}_updateContents(Y){this._hover.contentsDomNode.textContent="",this._hover.contentsDomNode.appendChild(Y),this._updateFont()}onModelDecorationsChanged(){this._isVisible&&(this._hoverOperation.cancel(),this._computer.clearResult(),this._hoverOperation.start(0))}startShowingAt(Y){this._lastLineNumber!==Y&&(this._hoverOperation.cancel(),this.hide(),this._lastLineNumber=Y,this._computer.setLineNumber(Y),this._hoverOperation.start(0))}hide(){this._lastLineNumber=-1,this._hoverOperation.cancel(),this._isVisible&&(this._isVisible=!1,this._hover.containerDomNode.classList.toggle("hidden",!this._isVisible))}_withResult(Y){this._messages=Y,this._messages.length>0?this._renderMessages(this._lastLineNumber,this._messages):this.hide()}_renderMessages(Y,_e){this._renderDisposeables.clear();const ke=document.createDocumentFragment();for(const lt of _e){const nt=Xt("div.hover-row.markdown-hover"),pt=y.R3(nt,Xt("div.hover-contents")),Dt=this._renderDisposeables.add(this._markdownRenderer.render(lt.value));pt.appendChild(Dt.element),ke.appendChild(nt)}this._updateContents(ke),this._showAt(Y)}}Zt.ID="editor.contrib.modesGlyphHoverWidget";var mi=function(Se,Y,_e,ke){var lt=arguments.length,nt=lt<3?Y:ke===null?ke=Object.getOwnPropertyDescriptor(Y,_e):ke,pt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")nt=Reflect.decorate(Se,Y,_e,ke);else for(var Dt=Se.length-1;Dt>=0;Dt--)(pt=Se[Dt])&&(nt=(lt<3?pt(nt):lt>3?pt(Y,_e,nt):pt(Y,_e))||nt);return lt>3&&nt&&Object.defineProperty(Y,_e,nt),nt},mt=function(Se,Y){return function(_e,ke){Y(_e,ke,Se)}};let ut=class Il{constructor(Y,_e,ke,lt,nt){this._editor=Y,this._instantiationService=_e,this._openerService=ke,this._modeService=lt,this._toUnhook=new H.SL,this._isMouseDown=!1,this._hoverClicked=!1,this._contentWidget=null,this._glyphWidget=null,this._hookEvents(),this._didChangeConfigurationHandler=this._editor.onDidChangeConfiguration(pt=>{pt.hasChanged(52)&&(this._unhookEvents(),this._hookEvents())}),this._hoverVisibleKey=D.u.hoverVisible.bindTo(nt)}static get(Y){return Y.getContribution(Il.ID)}_hookEvents(){const Y=()=>this._hideWidgets(),_e=this._editor.getOption(52);this._isHoverEnabled=_e.enabled,this._isHoverSticky=_e.sticky,this._isHoverEnabled?(this._toUnhook.add(this._editor.onMouseDown(ke=>this._onEditorMouseDown(ke))),this._toUnhook.add(this._editor.onMouseUp(ke=>this._onEditorMouseUp(ke))),this._toUnhook.add(this._editor.onMouseMove(ke=>this._onEditorMouseMove(ke))),this._toUnhook.add(this._editor.onKeyDown(ke=>this._onKeyDown(ke))),this._toUnhook.add(this._editor.onDidChangeModelDecorations(()=>this._onModelDecorationsChanged()))):(this._toUnhook.add(this._editor.onMouseMove(ke=>this._onEditorMouseMove(ke))),this._toUnhook.add(this._editor.onKeyDown(ke=>this._onKeyDown(ke)))),this._toUnhook.add(this._editor.onMouseLeave(Y)),this._toUnhook.add(this._editor.onDidChangeModel(Y)),this._toUnhook.add(this._editor.onDidScrollChange(ke=>this._onEditorScrollChanged(ke)))}_unhookEvents(){this._toUnhook.clear()}_onModelDecorationsChanged(){var Y,_e;(Y=this._contentWidget)===null||Y===void 0||Y.onModelDecorationsChanged(),(_e=this._glyphWidget)===null||_e===void 0||_e.onModelDecorationsChanged()}_onEditorScrollChanged(Y){(Y.scrollTopChanged||Y.scrollLeftChanged)&&this._hideWidgets()}_onEditorMouseDown(Y){this._isMouseDown=!0;const _e=Y.target.type;if(_e===9&&Y.target.detail===$t.ID){this._hoverClicked=!0;return}_e===12&&Y.target.detail===Zt.ID||(_e!==12&&Y.target.detail!==Zt.ID&&(this._hoverClicked=!1),this._hideWidgets())}_onEditorMouseUp(Y){this._isMouseDown=!1}_onEditorMouseMove(Y){var _e,ke,lt,nt,pt;let Dt=Y.target.type;if(this._isMouseDown&&this._hoverClicked||this._isHoverSticky&&Dt===9&&Y.target.detail===$t.ID||this._isHoverSticky&&!(!((ke=(_e=Y.event.browserEvent.view)===null||_e===void 0?void 0:_e.getSelection())===null||ke===void 0)&&ke.isCollapsed)||!this._isHoverSticky&&Dt===9&&Y.target.detail===$t.ID&&(!((lt=this._contentWidget)===null||lt===void 0)&<.isColorPickerVisible())||this._isHoverSticky&&Dt===12&&Y.target.detail===Zt.ID)return;if(!this._isHoverEnabled){this._hideWidgets();return}if(this._getOrCreateContentWidget().maybeShowAt(Y)){(nt=this._glyphWidget)===null||nt===void 0||nt.hide();return}if(Dt===2&&Y.target.position){(pt=this._contentWidget)===null||pt===void 0||pt.hide(),this._glyphWidget||(this._glyphWidget=new Zt(this._editor,this._modeService,this._openerService)),this._glyphWidget.startShowingAt(Y.target.position.lineNumber);return}this._hideWidgets()}_onKeyDown(Y){Y.keyCode!==5&&Y.keyCode!==6&&Y.keyCode!==57&&Y.keyCode!==4&&this._hideWidgets()}_hideWidgets(){var Y,_e,ke;this._isMouseDown&&this._hoverClicked&&(!((Y=this._contentWidget)===null||Y===void 0)&&Y.isColorPickerVisible())||(this._hoverClicked=!1,(_e=this._glyphWidget)===null||_e===void 0||_e.hide(),(ke=this._contentWidget)===null||ke===void 0||ke.hide())}_getOrCreateContentWidget(){return this._contentWidget||(this._contentWidget=this._instantiationService.createInstance($t,this._editor,this._hoverVisibleKey)),this._contentWidget}isColorPickerVisible(){var Y;return((Y=this._contentWidget)===null||Y===void 0?void 0:Y.isColorPickerVisible())||!1}showContentHover(Y,_e,ke){this._getOrCreateContentWidget().startShowingAtRange(Y,_e,ke)}dispose(){var Y,_e;this._unhookEvents(),this._toUnhook.dispose(),this._didChangeConfigurationHandler.dispose(),(Y=this._glyphWidget)===null||Y===void 0||Y.dispose(),(_e=this._contentWidget)===null||_e===void 0||_e.dispose()}};ut.ID="editor.contrib.hover",ut=mi([mt(1,gt.TG),mt(2,fe.v4),mt(3,G.h),mt(4,Ni.i6)],ut);class qe extends O.R6{constructor(){super({id:"editor.action.showHover",label:z.N({key:"showHover",comment:["Label for action that will trigger the showing of a hover in the editor.","This allows for users to show the hover without using the mouse."]},"Show Hover"),alias:"Show Hover",precondition:void 0,kbOpts:{kbExpr:D.u.editorTextFocus,primary:(0,h.gx)(2089,2087),weight:100}})}run(Y,_e){if(!_e.hasModel())return;let ke=ut.get(_e);if(!ke)return;const lt=_e.getPosition(),nt=new P.e(lt.lineNumber,lt.column,lt.lineNumber,lt.column),pt=_e.getOption(2)===2;ke.showContentHover(nt,1,pt)}}class de extends O.R6{constructor(){super({id:"editor.action.showDefinitionPreviewHover",label:z.N({key:"showDefinitionPreviewHover",comment:["Label for action that will trigger the showing of definition preview hover in the editor.","This allows for users to show the definition preview hover without using the mouse."]},"Show Definition Preview Hover"),alias:"Show Definition Preview Hover",precondition:void 0})}run(Y,_e){let ke=ut.get(_e);if(!ke)return;const lt=_e.getPosition();if(!lt)return;const nt=new P.e(lt.lineNumber,lt.column,lt.lineNumber,lt.column);I.GotoDefinitionAtPositionEditorContribution.get(_e).startFindDefinitionFromCursor(lt).then(()=>{ke.showContentHover(nt,1,!0)})}}(0,O._K)(ut.ID,ut),(0,O.Qr)(qe),(0,O.Qr)(de),(0,se.Ic)((Se,Y)=>{const _e=Se.getColor(oe.pt);_e&&Y.addRule(`.monaco-editor .hoverHighlight { background-color: ${_e}; }`);const ke=Se.getColor(oe.yJ);ke&&Y.addRule(`.monaco-editor .monaco-hover { background-color: ${ke}; }`);const lt=Se.getColor(oe.CN);lt&&(Y.addRule(`.monaco-editor .monaco-hover { border: 1px solid ${lt}; }`),Y.addRule(`.monaco-editor .monaco-hover .hover-row:not(:first-child):not(:empty) { border-top: 1px solid ${lt.transparent(.5)}; }`),Y.addRule(`.monaco-editor .monaco-hover hr { border-top: 1px solid ${lt.transparent(.5)}; }`),Y.addRule(`.monaco-editor .monaco-hover hr { border-bottom: 0px solid ${lt.transparent(.5)}; }`));const nt=Se.getColor(oe.ur);nt&&Y.addRule(`.monaco-editor .monaco-hover a { color: ${nt}; }`);const pt=Se.getColor(oe.sg);pt&&Y.addRule(`.monaco-editor .monaco-hover a:hover { color: ${pt}; }`);const Dt=Se.getColor(oe.Sb);Dt&&Y.addRule(`.monaco-editor .monaco-hover { color: ${Dt}; }`);const Vt=Se.getColor(oe.Lo);Vt&&Y.addRule(`.monaco-editor .monaco-hover .hover-row .actions { background-color: ${Vt}; }`);const Mt=Se.getColor(oe.Sw);Mt&&Y.addRule(`.monaco-editor .monaco-hover code { background-color: ${Mt}; }`)})},63478:function(xt,Te,i){"use strict";i.r(Te);var h=i(50431),H=i(79881),O=i(39528),P=i(4514),D=i(17373),G=i(17551),I=i(68987),y=i(31276),E=i(52645),p=i(30297),a=i(13268),g=i(49055);class w{constructor(m,c,b){this._editRange=m,this._originalSelection=c,this._text=b}getEditOperations(m,c){c.addTrackedEditOperation(this._editRange,this._text)}computeCursorState(m,c){const L=c.getInverseEditOperations()[0].range;return this._originalSelection.isEmpty()?new G.Y(L.endLineNumber,Math.min(this._originalSelection.positionColumn,L.endColumn),L.endLineNumber,Math.min(this._originalSelection.positionColumn,L.endColumn)):new G.Y(L.endLineNumber,L.endColumn-this._text.length,L.endLineNumber,L.endColumn)}}var s=function(l,m,c,b){var L=arguments.length,T=L<3?m:b===null?b=Object.getOwnPropertyDescriptor(m,c):b,M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(l,m,c,b);else for(var z=l.length-1;z>=0;z--)(M=l[z])&&(T=(L<3?M(T):L>3?M(m,c,T):M(m,c))||T);return L>3&&T&&Object.defineProperty(m,c,T),T},C=function(l,m){return function(c,b){m(c,b,l)}};let f=class Ia{constructor(m,c){this.decorationIds=[],this.editor=m,this.editorWorkerService=c}static get(m){return m.getContribution(Ia.ID)}dispose(){}run(m,c){this.currentRequest&&this.currentRequest.cancel();const b=this.editor.getSelection(),L=this.editor.getModel();if(!L||!b)return;let T=b;if(T.startLineNumber!==T.endLineNumber)return;const M=new O.yy(this.editor,5),z=L.uri;return this.editorWorkerService.canNavigateValueSet(z)?(this.currentRequest=(0,h.PG)(oe=>this.editorWorkerService.navigateValueSet(z,T,c)),this.currentRequest.then(oe=>{if(!oe||!oe.range||!oe.value||!M.validate(this.editor))return;let se=D.e.lift(oe.range),re=oe.range,De=oe.value.length-(T.endColumn-T.startColumn);re={startLineNumber:re.startLineNumber,startColumn:re.startColumn,endLineNumber:re.endLineNumber,endColumn:re.startColumn+oe.value.length},De>1&&(T=new G.Y(T.startLineNumber,T.startColumn,T.endLineNumber,T.endColumn+De-1));const J=new w(se,T,oe.value);this.editor.pushUndoStop(),this.editor.executeCommand(m,J),this.editor.pushUndoStop(),this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[{range:re,options:Ia.DECORATION}]),this.decorationRemover&&this.decorationRemover.cancel(),this.decorationRemover=(0,h.Vs)(350),this.decorationRemover.then(()=>this.decorationIds=this.editor.deltaDecorations(this.decorationIds,[])).catch(H.dL)}).catch(H.dL)):Promise.resolve(void 0)}};f.ID="editor.contrib.inPlaceReplaceController",f.DECORATION=y.qx.register({description:"in-place-replace",className:"valueSetReplacement"}),f=s([C(1,E.p)],f);class v extends P.R6{constructor(){super({id:"editor.action.inPlaceReplace.up",label:a.N("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:I.u.writable,kbOpts:{kbExpr:I.u.editorTextFocus,primary:3154,weight:100}})}run(m,c){const b=f.get(c);return b?b.run(this.id,!0):Promise.resolve(void 0)}}class r extends P.R6{constructor(){super({id:"editor.action.inPlaceReplace.down",label:a.N("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:I.u.writable,kbOpts:{kbExpr:I.u.editorTextFocus,primary:3156,weight:100}})}run(m,c){const b=f.get(c);return b?b.run(this.id,!1):Promise.resolve(void 0)}}(0,P._K)(f.ID,f),(0,P.Qr)(v),(0,P.Qr)(r),(0,g.Ic)((l,m)=>{const c=l.getColor(p.Dl);c&&m.addRule(`.monaco-editor.vs .valueSetReplacement { outline: solid 2px ${c}; }`)})},44765:function(xt,Te,i){"use strict";i.d(Te,{J:function(){return H},Y:function(){return h}});function h(O,P){let D=0;for(let G=0;G({range:{startLineNumber:1,endLineNumber:1,startColumn:ke.column,endColumn:ke.column},text:ke.lines.join(`
`)}))).substring(this.parts[0].column-1)}}class v{constructor(de){this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let Se=0;Se{const ke=C.e.lift(_e.range);return{startOffset:Se.getOffset(ke.getStartPosition()),endOffset:Se.getOffset(ke.getEndPosition()),text:_e.text}});Y.sort((_e,ke)=>ke.startOffset-_e.startOffset);for(const _e of Y)qe=qe.substring(0,_e.startOffset)+_e.text+qe.substring(_e.endOffset);return qe}class l{constructor(de,Se,Y){this.column=de,this.lines=Se,this.preview=Y}}class m extends h.JT{constructor(de){super(),this.editor=de,this._expanded=void 0,this.onDidChangeEmitter=new I.Q5,this.onDidChange=this.onDidChangeEmitter.event,this._register(de.onDidChangeConfiguration(Se=>{Se.hasChanged(105)&&this._expanded===void 0&&this.onDidChangeEmitter.fire()}))}setExpanded(de){this._expanded=!0,this.onDidChangeEmitter.fire()}}var c=i(35884),b=i(23068);function L(qe,de){return qe===de?!0:!qe||!de?!1:qe.range.equalsRange(de.range)&&qe.text===de.text&&qe.command===de.command}function T(qe,de,Se,Y,_e=0){if(qe.range.startLineNumber!==qe.range.endLineNumber)return;const ke=de.getLineContent(qe.range.startLineNumber),lt=H.V8(ke).length;if(qe.range.startColumn-1<=lt){const jt=H.V8(qe.text).length,ui=ke.substring(qe.range.startColumn-1,lt),vi=C.e.fromPositions(qe.range.getStartPosition().delta(0,ui.length),qe.range.getEndPosition()),Si=qe.text.startsWith(ui)?qe.text.substring(ui.length):qe.text.substring(jt);qe={range:vi,text:Si,command:qe.command}}const pt=de.getValueInRange(qe.range),Dt=z(pt,qe.text);if(!Dt)return;const Vt=qe.range.startLineNumber,Mt=new Array;if(Se==="prefix"){const jt=Dt.filter(ui=>ui.originalLength===0);if(jt.length>1||jt.length===1&&jt[0].originalStart!==pt.length)return}const Jt=qe.text.length-_e;for(const jt of Dt){const ui=qe.range.startColumn+jt.originalStart+jt.originalLength;if(Se==="subwordSmart"&&Y&&Y.lineNumber===qe.range.startLineNumber&&ui0)return;if(jt.modifiedLength===0)continue;const vi=jt.modifiedStart+jt.modifiedLength,Si=Math.max(jt.modifiedStart,Math.min(vi,Jt)),Oi=qe.text.substring(jt.modifiedStart,Si),Ri=qe.text.substring(Si,Math.max(jt.modifiedStart,vi));if(Oi.length>0){const zi=H.uq(Oi);Mt.push(new l(ui,zi,!1))}if(Ri.length>0){const zi=H.uq(Ri);Mt.push(new l(ui,zi,!0))}}return new f(Vt,Mt,0)}let M;function z(qe,de){if((M==null?void 0:M.originalValue)===qe&&(M==null?void 0:M.newValue)===de)return M==null?void 0:M.changes;{const Se=oe(qe,de);return M={originalValue:qe,newValue:de,changes:Se},Se}}function oe(qe,de){if(qe.length>5e3||de.length>5e3)return;function Se(pt){let Dt=0;for(let Vt=0,Mt=pt.length;VtDt&&(Dt=Jt)}return Dt}const Y=Math.max(Se(qe),Se(de));function _e(pt){if(pt<0)throw new Error("unexpected");return Y+pt+1}function ke(pt){let Dt=0,Vt=0;const Mt=new Int32Array(pt.length);for(let Jt=0,jt=pt.length;Jtlt},{getElements:()=>nt}).ComputeDiff(!1).changes}var se=function(qe,de,Se,Y){var _e=arguments.length,ke=_e<3?de:Y===null?Y=Object.getOwnPropertyDescriptor(de,Se):Y,lt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ke=Reflect.decorate(qe,de,Se,Y);else for(var nt=qe.length-1;nt>=0;nt--)(lt=qe[nt])&&(ke=(_e<3?lt(ke):_e>3?lt(de,Se,ke):lt(de,Se))||ke);return _e>3&&ke&&Object.defineProperty(de,Se,ke),ke},re=function(qe,de){return function(Se,Y){de(Se,Y,qe)}},De=function(qe,de,Se,Y){function _e(ke){return ke instanceof Se?ke:new Se(function(lt){lt(ke)})}return new(Se||(Se=Promise))(function(ke,lt){function nt(Vt){try{Dt(Y.next(Vt))}catch(Mt){lt(Mt)}}function pt(Vt){try{Dt(Y.throw(Vt))}catch(Mt){lt(Mt)}}function Dt(Vt){Vt.done?ke(Vt.value):_e(Vt.value).then(nt,pt)}Dt((Y=Y.apply(qe,de||[])).next())})};let J=class extends h.JT{constructor(de,Se,Y){super(),this.editor=de,this.cache=Se,this.commandService=Y,this.onDidChangeEmitter=new I.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.completionSession=this._register(new h.XK),this.active=!1,this.disposed=!1,this._register(Y.onDidExecuteCommand(_e=>{new Set([O.n_.id,O.kz.id,w.CoreEditingCommands.Tab.id,w.CoreEditingCommands.DeleteLeft.id,w.CoreEditingCommands.DeleteRight.id,G,"acceptSelectedSuggestion"]).has(_e.commandId)&&de.hasTextFocus()&&this.handleUserInput()})),this._register(this.editor.onDidType(_e=>{this.handleUserInput()})),this._register(this.editor.onDidChangeCursorPosition(_e=>{this.session&&!this.session.isValid&&this.hide()})),this._register((0,h.OF)(()=>{this.disposed=!0})),this._register(this.editor.onDidBlurEditorWidget(()=>{this.hide()}))}handleUserInput(){this.session&&!this.session.isValid&&this.hide(),setTimeout(()=>{this.disposed||this.startSessionIfTriggered()},0)}get session(){return this.completionSession.value}get ghostText(){var de;return(de=this.session)===null||de===void 0?void 0:de.ghostText}get minReservedLineCount(){return this.session?this.session.minReservedLineCount:0}setExpanded(de){var Se;(Se=this.session)===null||Se===void 0||Se.setExpanded(de)}setActive(de){var Se;this.active=de,de&&((Se=this.session)===null||Se===void 0||Se.scheduleAutomaticUpdate())}startSessionIfTriggered(){this.editor.getOption(54).enabled&&(this.session&&this.session.isValid||this.trigger(E.bw.Automatic))}trigger(de){if(this.completionSession.value){de===E.bw.Explicit&&this.completionSession.value.ensureUpdateWithExplicitContext();return}this.completionSession.value=new Z(this.editor,this.editor.getPosition(),()=>this.active,this.commandService,this.cache,de),this.completionSession.value.takeOwnership(this.completionSession.value.onDidChange(()=>{this.onDidChangeEmitter.fire()}))}hide(){this.completionSession.clear(),this.onDidChangeEmitter.fire()}commitCurrentSuggestion(){var de;(de=this.session)===null||de===void 0||de.commitCurrentCompletion()}showNext(){var de;(de=this.session)===null||de===void 0||de.showNextInlineCompletion()}showPrevious(){var de;(de=this.session)===null||de===void 0||de.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var de;return De(this,void 0,void 0,function*(){const Se=yield(de=this.session)===null||de===void 0?void 0:de.hasMultipleInlineCompletions();return Se!==void 0?Se:!1})}};J=se([re(2,c.H)],J);class Z extends m{constructor(de,Se,Y,_e,ke,lt){super(de),this.triggerPosition=Se,this.shouldUpdate=Y,this.commandService=_e,this.cache=ke,this.initialTriggerKind=lt,this.minReservedLineCount=0,this.updateOperation=this._register(new h.XK),this.updateSoon=this._register(new p.pY(()=>{let pt=this.initialTriggerKind;return this.initialTriggerKind=E.bw.Automatic,this.update(pt)},50)),this.currentlySelectedCompletionId=void 0;let nt;this._register(this.onDidChange(()=>{const pt=this.currentCompletion;if(pt&&pt.sourceInlineCompletion!==nt){nt=pt.sourceInlineCompletion;const Dt=pt.sourceProvider;Dt.handleItemDidShow&&Dt.handleItemDidShow(pt.sourceInlineCompletions,nt)}})),this._register((0,h.OF)(()=>{this.cache.clear()})),this._register(this.editor.onDidChangeCursorPosition(pt=>{this.cache.value&&this.onDidChangeEmitter.fire()})),this._register(this.editor.onDidChangeModelContent(pt=>{this.scheduleAutomaticUpdate()})),this._register(E.zu.onDidChange(()=>{this.updateSoon.schedule()})),this.scheduleAutomaticUpdate()}fixAndGetIndexOfCurrentSelection(){if(!this.currentlySelectedCompletionId||!this.cache.value||this.cache.value.completions.length===0)return 0;const de=this.cache.value.completions.findIndex(Se=>Se.semanticId===this.currentlySelectedCompletionId);return de===-1?(this.currentlySelectedCompletionId=void 0,0):de}get currentCachedCompletion(){if(this.cache.value)return this.cache.value.completions[this.fixAndGetIndexOfCurrentSelection()]}showNextInlineCompletion(){var de;return De(this,void 0,void 0,function*(){yield this.ensureUpdateWithExplicitContext();const Se=((de=this.cache.value)===null||de===void 0?void 0:de.completions)||[];if(Se.length>0){const Y=(this.fixAndGetIndexOfCurrentSelection()+1)%Se.length;this.currentlySelectedCompletionId=Se[Y].semanticId}else this.currentlySelectedCompletionId=void 0;this.onDidChangeEmitter.fire()})}showPreviousInlineCompletion(){var de;return De(this,void 0,void 0,function*(){yield this.ensureUpdateWithExplicitContext();const Se=((de=this.cache.value)===null||de===void 0?void 0:de.completions)||[];if(Se.length>0){const Y=(this.fixAndGetIndexOfCurrentSelection()+Se.length-1)%Se.length;this.currentlySelectedCompletionId=Se[Y].semanticId}else this.currentlySelectedCompletionId=void 0;this.onDidChangeEmitter.fire()})}ensureUpdateWithExplicitContext(){var de;return De(this,void 0,void 0,function*(){this.updateOperation.value?this.updateOperation.value.triggerKind===E.bw.Explicit?yield this.updateOperation.value.promise:yield this.update(E.bw.Explicit):((de=this.cache.value)===null||de===void 0?void 0:de.triggerKind)!==E.bw.Explicit&&(yield this.update(E.bw.Explicit))})}hasMultipleInlineCompletions(){var de;return De(this,void 0,void 0,function*(){return yield this.ensureUpdateWithExplicitContext(),(((de=this.cache.value)===null||de===void 0?void 0:de.completions.length)||0)>1})}get ghostText(){const de=this.currentCompletion,Se=this.editor.getOptions().get(54).mode;return de?T(de,this.editor.getModel(),Se,this.editor.getPosition()):void 0}get currentCompletion(){const de=this.currentCachedCompletion;if(de)return de.toLiveInlineCompletion()}get isValid(){return this.editor.getPosition().lineNumber===this.triggerPosition.lineNumber}scheduleAutomaticUpdate(){this.updateOperation.clear(),this.updateSoon.schedule()}update(de){return De(this,void 0,void 0,function*(){if(!this.shouldUpdate())return;const Se=this.editor.getPosition(),Y=(0,p.PG)(ke=>De(this,void 0,void 0,function*(){let lt;try{lt=yield R(Se,this.editor.getModel(),{triggerKind:de,selectedSuggestionInfo:void 0},ke)}catch(nt){(0,g.dL)(nt);return}ke.isCancellationRequested||(this.cache.setValue(this.editor,lt,de),this.onDidChangeEmitter.fire())})),_e=new Q(Y,de);this.updateOperation.value=_e,yield Y,this.updateOperation.value===_e&&this.updateOperation.clear()})}takeOwnership(de){this._register(de)}commitCurrentCompletion(){if(!this.ghostText)return;const de=this.currentCompletion;de&&this.commit(de)}commit(de){const Se=this.cache.clearAndLeak();this.editor.executeEdits("inlineSuggestion.accept",[s.h.replaceMove(de.range,de.text)]),de.command?this.commandService.executeCommand(de.command.id,...de.command.arguments||[]).finally(()=>{Se==null||Se.dispose()}).then(void 0,g.Cp):Se==null||Se.dispose(),this.onDidChangeEmitter.fire()}}class Q{constructor(de,Se){this.promise=de,this.triggerKind=Se}dispose(){this.promise.cancel()}}class le extends h.JT{constructor(de,Se,Y,_e){super(),this.triggerKind=_e;const ke=de.deltaDecorations([],Se.items.map(lt=>({range:lt.range,options:{description:"inline-completion-tracking-range"}})));this._register((0,h.OF)(()=>{de.deltaDecorations(ke,[])})),this.completions=Se.items.map((lt,nt)=>new xe(lt,ke[nt])),this._register(de.onDidChangeModelContent(()=>{let lt=!1;const nt=de.getModel();for(const pt of this.completions){const Dt=nt.getDecorationRange(pt.decorationId);if(!Dt){(0,g.dL)(new Error("Decoration has no range"));continue}pt.synchronizedRange.equalsRange(Dt)||(lt=!0,pt.synchronizedRange=Dt)}lt&&Y()})),this._register(Se)}}class xe{constructor(de,Se){this.inlineCompletion=de,this.decorationId=Se,this.semanticId=JSON.stringify({text:this.inlineCompletion.text,startLine:this.inlineCompletion.range.startLineNumber,startColumn:this.inlineCompletion.range.startColumn,command:this.inlineCompletion.command}),this.synchronizedRange=de.range}toLiveInlineCompletion(){return{text:this.inlineCompletion.text,range:this.synchronizedRange,command:this.inlineCompletion.command,sourceProvider:this.inlineCompletion.sourceProvider,sourceInlineCompletions:this.inlineCompletion.sourceInlineCompletions,sourceInlineCompletion:this.inlineCompletion.sourceInlineCompletion}}}function j(qe,de){const Se=de.getWordAtPosition(qe),Y=de.getLineMaxColumn(qe.lineNumber);return Se?new C.e(qe.lineNumber,Se.startColumn,qe.lineNumber,Y):C.e.fromPositions(qe,qe.with(void 0,Y))}function R(qe,de,Se,Y=a.T.None){return De(this,void 0,void 0,function*(){const _e=j(qe,de),ke=E.zu.all(de),lt=yield Promise.all(ke.map(pt=>De(this,void 0,void 0,function*(){const Dt=yield pt.provideInlineCompletions(de,qe,Se,Y);return{completions:Dt,provider:pt,dispose:()=>{Dt&&pt.freeInlineCompletions(Dt)}}}))),nt=new Map;for(const pt of lt){const Dt=pt.completions;if(Dt)for(const Vt of Dt.items.map(Mt=>({text:Mt.text,range:Mt.range?C.e.lift(Mt.range):_e,command:Mt.command,sourceProvider:pt.provider,sourceInlineCompletions:Dt,sourceInlineCompletion:Mt})))Vt.range.startLineNumber===Vt.range.endLineNumber&&nt.set(JSON.stringify({text:Vt.text,range:Vt.range}),Vt)}return{items:[...nt.values()],dispose:()=>{for(const pt of lt)pt.dispose()}}})}function V(qe,de){if(!de)return de;const Se=qe.getValueInRange(de.range),Y=(0,H.Mh)(Se,de.text),_e=qe.getOffsetAt(de.range.getStartPosition())+Y,ke=qe.getPositionAt(_e),lt=Se.substr(Y),nt=(0,H.P1)(lt,de.text),pt=qe.getPositionAt(Math.max(_e,qe.getOffsetAt(de.range.getEndPosition())-nt));return{range:C.e.fromPositions(ke,pt),text:de.text.substr(Y,de.text.length-Y-nt)}}var K=i(85314),ie=i(49478),te=i(82870);function ge(qe,de){return{object:qe,dispose:()=>de==null?void 0:de.dispose()}}function ye(qe,de){return(Se,Y)=>de(qe(Se),qe(Y))}function ve(){return(qe,de)=>qe-de}function Fe(qe,de){let Se;for(const Y of qe)(Se===void 0||de(Y,Se)>0)&&(Se=Y);return Se}class we extends h.JT{constructor(de,Se){super(),this.editor=de,this.suggestControllerPreselector=Se,this.isSuggestWidgetVisible=!1,this.isShiftKeyPressed=!1,this._isActive=!1,this._currentInlineCompletion=void 0,this.onDidChangeEmitter=new I.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.setInactiveDelayed=this._register(new p.pY(()=>{this.isSuggestWidgetVisible||this._isActive&&(this._isActive=!1,this.onDidChangeEmitter.fire())},100)),this._register(de.onKeyDown(_e=>{_e.shiftKey&&!this.isShiftKeyPressed&&(this.isShiftKeyPressed=!0,this.update(this._isActive))})),this._register(de.onKeyUp(_e=>{_e.shiftKey&&this.isShiftKeyPressed&&(this.isShiftKeyPressed=!1,this.update(this._isActive))}));const Y=te.SuggestController.get(this.editor);if(Y){this._register(Y.registerSelector({priority:100,select:(lt,nt,pt)=>{const Dt=this.editor.getModel(),Vt=V(Dt,this.suggestControllerPreselector());if(!Vt)return-1;const Mt=y.L.lift(nt),Jt=pt.map((ui,vi)=>{const Si=ce(Y,Mt,ui,this.isShiftKeyPressed),Oi=V(Dt,Si);if(!Oi)return;const Ri=ue(Vt.range,Oi.range)&&Vt.text.startsWith(Oi.text);return{index:vi,valid:Ri,prefixLength:Oi.text.length,suggestItem:ui}}).filter(ui=>ui&&ui.valid),jt=Fe(Jt,ye(ui=>ui.prefixLength,ve()));return jt?jt.index:-1}}));let _e=!1;const ke=()=>{_e||(_e=!0,this._register(Y.widget.value.onDidShow(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})),this._register(Y.widget.value.onDidHide(()=>{this.isSuggestWidgetVisible=!1,this.setInactiveDelayed.schedule(),this.update(this._isActive)})),this._register(Y.widget.value.onDidFocus(()=>{this.isSuggestWidgetVisible=!0,this.update(!0)})))};this._register(I.ju.once(Y.model.onDidTrigger)(lt=>{ke()}))}this.update(this._isActive)}get state(){if(this._isActive)return{selectedItemAsInlineCompletion:this._currentInlineCompletion}}update(de){const Se=this.getInlineCompletion();let Y=!1;L(this._currentInlineCompletion,Se)||(this._currentInlineCompletion=Se,Y=!0),this._isActive!==de&&(this._isActive=de,Y=!0),Y&&this.onDidChangeEmitter.fire()}getInlineCompletion(){const de=te.SuggestController.get(this.editor);if(!de||!this.isSuggestWidgetVisible)return;const Se=de.widget.value.getFocusedItem();if(Se)return ce(de,this.editor.getPosition(),Se.item,this.isShiftKeyPressed)}stopForceRenderingAbove(){const de=te.SuggestController.get(this.editor);de&&de.stopForceRenderingAbove()}forceRenderingAbove(){const de=te.SuggestController.get(this.editor);de&&de.forceRenderingAbove()}}function ue(qe,de){return qe.startLineNumber===de.startLineNumber&&qe.startColumn===de.startColumn&&(qe.endLineNumber0)return{text:"",range:C.e.fromPositions(de,de)};let{insertText:_e}=Se.completion;if(Se.completion.insertTextRules&4){const lt=new K.Yj().parse(_e),nt=qe.editor.getModel();if(lt.children.length>100)return;ie.l.adjustWhitespace(nt,de,lt,!0,!0),_e=lt.toString()}const ke=qe.getOverwriteInfo(Se,Y);return{text:_e,range:C.e.fromPositions(de.delta(0,-ke.overwriteBefore),de.delta(0,Math.max(ke.overwriteAfter,0)))}}var Ve=function(qe,de,Se,Y){function _e(ke){return ke instanceof Se?ke:new Se(function(lt){lt(ke)})}return new(Se||(Se=Promise))(function(ke,lt){function nt(Vt){try{Dt(Y.next(Vt))}catch(Mt){lt(Mt)}}function pt(Vt){try{Dt(Y.throw(Vt))}catch(Mt){lt(Mt)}}function Dt(Vt){Vt.done?ke(Vt.value):_e(Vt.value).then(nt,pt)}Dt((Y=Y.apply(qe,de||[])).next())})};class We extends m{constructor(de,Se){super(de),this.cache=Se,this.suggestionInlineCompletionSource=this._register(new we(this.editor,()=>{var Y,_e;return(_e=(Y=this.cache.value)===null||Y===void 0?void 0:Y.completions[0])===null||_e===void 0?void 0:_e.toLiveInlineCompletion()})),this.updateOperation=this._register(new h.XK),this.updateCacheSoon=this._register(new p.pY(()=>this.updateCache(),50)),this.minReservedLineCount=0,this._register(this.suggestionInlineCompletionSource.onDidChange(()=>{this.updateCacheSoon.schedule(),this.suggestionInlineCompletionSource.state||(this.minReservedLineCount=0);const _e=this.ghostText;_e&&(this.minReservedLineCount=Math.max(this.minReservedLineCount,ae(_e.parts.map(ke=>ke.lines.length-1)))),this.minReservedLineCount>=1&&this.isSuggestionPreviewEnabled()?this.suggestionInlineCompletionSource.forceRenderingAbove():this.suggestionInlineCompletionSource.stopForceRenderingAbove(),this.onDidChangeEmitter.fire()})),this._register(this.cache.onDidChange(()=>{this.onDidChangeEmitter.fire()})),this._register(this.editor.onDidChangeCursorPosition(Y=>{this.isSuggestionPreviewEnabled()&&(this.minReservedLineCount=0,this.updateCacheSoon.schedule(),this.onDidChangeEmitter.fire())})),this._register((0,h.OF)(()=>this.suggestionInlineCompletionSource.stopForceRenderingAbove()))}get isActive(){return this.suggestionInlineCompletionSource.state!==void 0}isSuggestionPreviewEnabled(){return this.editor.getOption(105).preview}updateCache(){return Ve(this,void 0,void 0,function*(){const de=this.suggestionInlineCompletionSource.state;if(!de||!de.selectedItemAsInlineCompletion)return;const Se={text:de.selectedItemAsInlineCompletion.text,range:de.selectedItemAsInlineCompletion.range},Y=this.editor.getPosition(),_e=(0,p.PG)(lt=>Ve(this,void 0,void 0,function*(){let nt;try{nt=yield R(Y,this.editor.getModel(),{triggerKind:E.bw.Automatic,selectedSuggestionInfo:Se},lt)}catch(pt){(0,g.dL)(pt);return}lt.isCancellationRequested||(this.cache.setValue(this.editor,nt,E.bw.Automatic),this.onDidChangeEmitter.fire())})),ke=new Q(_e,E.bw.Automatic);this.updateOperation.value=ke,yield _e,this.updateOperation.value===ke&&this.updateOperation.clear()})}get ghostText(){var de,Se;if(!this.isSuggestionPreviewEnabled())return;const Y=this.suggestionInlineCompletionSource.state,_e=V(this.editor.getModel(),Y==null?void 0:Y.selectedItemAsInlineCompletion),ke=V(this.editor.getModel(),(Se=(de=this.cache.value)===null||de===void 0?void 0:de.completions[0])===null||Se===void 0?void 0:Se.toLiveInlineCompletion()),lt=ke&&_e&&ke.text.startsWith(_e.text)&&ke.range.equalsRange(_e.range)?ke:_e||ke,nt=_e?((lt==null?void 0:lt.text.length)||0)-_e.text.length:0;return(Vt=>{const Mt=this.editor.getOptions().get(105).previewMode;return Vt?T(Vt,this.editor.getModel(),Mt,this.editor.getPosition(),nt)||new f(Vt.range.endLineNumber,[],this.minReservedLineCount):void 0})(lt)}}function ae(qe){return qe.reduce((de,Se)=>de+Se,0)}var fe=function(qe,de,Se,Y){var _e=arguments.length,ke=_e<3?de:Y===null?Y=Object.getOwnPropertyDescriptor(de,Se):Y,lt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ke=Reflect.decorate(qe,de,Se,Y);else for(var nt=qe.length-1;nt>=0;nt--)(lt=qe[nt])&&(ke=(_e<3?lt(ke):_e>3?lt(de,Se,ke):lt(de,Se))||ke);return _e>3&&ke&&Object.defineProperty(de,Se,ke),ke},ne=function(qe,de){return function(Se,Y){de(Se,Y,qe)}},W=function(qe,de,Se,Y){function _e(ke){return ke instanceof Se?ke:new Se(function(lt){lt(ke)})}return new(Se||(Se=Promise))(function(ke,lt){function nt(Vt){try{Dt(Y.next(Vt))}catch(Mt){lt(Mt)}}function pt(Vt){try{Dt(Y.throw(Vt))}catch(Mt){lt(Mt)}}function Dt(Vt){Vt.done?ke(Vt.value):_e(Vt.value).then(nt,pt)}Dt((Y=Y.apply(qe,de||[])).next())})};class $ extends h.JT{constructor(){super(...arguments),this.onDidChangeEmitter=new I.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.hasCachedGhostText=!1,this.currentModelRef=this._register(new h.XK)}get targetModel(){var de;return(de=this.currentModelRef.value)===null||de===void 0?void 0:de.object}setTargetModel(de){var Se;((Se=this.currentModelRef.value)===null||Se===void 0?void 0:Se.object)!==de&&(this.currentModelRef.clear(),this.currentModelRef.value=de?ge(de,de.onDidChange(()=>{this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire()})):void 0,this.hasCachedGhostText=!1,this.onDidChangeEmitter.fire())}get ghostText(){var de,Se;return this.hasCachedGhostText||(this.cachedGhostText=(Se=(de=this.currentModelRef.value)===null||de===void 0?void 0:de.object)===null||Se===void 0?void 0:Se.ghostText,this.hasCachedGhostText=!0),this.cachedGhostText}setExpanded(de){var Se;(Se=this.targetModel)===null||Se===void 0||Se.setExpanded(de)}get minReservedLineCount(){return this.targetModel?this.targetModel.minReservedLineCount:0}}let ee=class extends ${constructor(de,Se){super(),this.editor=de,this.commandService=Se,this.sharedCache=this._register(new he),this.suggestWidgetAdapterModel=this._register(new We(this.editor,this.sharedCache)),this.inlineCompletionsModel=this._register(new J(this.editor,this.sharedCache,this.commandService)),this._register(this.suggestWidgetAdapterModel.onDidChange(()=>{this.updateModel()})),this.updateModel()}get activeInlineCompletionsModel(){if(this.targetModel===this.inlineCompletionsModel)return this.inlineCompletionsModel}updateModel(){this.setTargetModel(this.suggestWidgetAdapterModel.isActive?this.suggestWidgetAdapterModel:this.inlineCompletionsModel),this.inlineCompletionsModel.setActive(this.targetModel===this.inlineCompletionsModel)}shouldShowHoverAt(de){var Se;const Y=(Se=this.activeInlineCompletionsModel)===null||Se===void 0?void 0:Se.ghostText;return Y?Y.parts.some(_e=>de.containsPosition(new y.L(Y.lineNumber,_e.column))):!1}triggerInlineCompletion(){var de;(de=this.activeInlineCompletionsModel)===null||de===void 0||de.trigger(E.bw.Explicit)}commitInlineCompletion(){var de;(de=this.activeInlineCompletionsModel)===null||de===void 0||de.commitCurrentSuggestion()}hideInlineCompletion(){var de;(de=this.activeInlineCompletionsModel)===null||de===void 0||de.hide()}showNextInlineCompletion(){var de;(de=this.activeInlineCompletionsModel)===null||de===void 0||de.showNext()}showPreviousInlineCompletion(){var de;(de=this.activeInlineCompletionsModel)===null||de===void 0||de.showPrevious()}hasMultipleInlineCompletions(){var de;return W(this,void 0,void 0,function*(){const Se=yield(de=this.activeInlineCompletionsModel)===null||de===void 0?void 0:de.hasMultipleInlineCompletions();return Se!==void 0?Se:!1})}};ee=fe([ne(1,c.H)],ee);class he extends h.JT{constructor(){super(...arguments),this.onDidChangeEmitter=new I.Q5,this.onDidChange=this.onDidChangeEmitter.event,this.cache=this._register(new h.XK)}get value(){return this.cache.value}setValue(de,Se,Y){this.cache.value=new le(de,Se,()=>this.onDidChangeEmitter.fire(),Y)}clearAndLeak(){return this.cache.clearAndLeak()}clear(){this.cache.clear()}}var Pe=i(69454),Ye=i(51737),it=i(84571),rt=i(70827),vt=i(97199),Ft=i(69025),Ht=i(35521),ze=i(48772),Xe=i(64992),Ze=i(30297),Ae=i(81112),He=i(28750),Et=i(90689),Wt=i(16925),oi=i(49055),ni=function(qe,de,Se,Y){var _e=arguments.length,ke=_e<3?de:Y===null?Y=Object.getOwnPropertyDescriptor(de,Se):Y,lt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ke=Reflect.decorate(qe,de,Se,Y);else for(var nt=qe.length-1;nt>=0;nt--)(lt=qe[nt])&&(ke=(_e<3?lt(ke):_e>3?lt(de,Se,ke):lt(de,Se))||ke);return _e>3&&ke&&Object.defineProperty(de,Se,ke),ke},hi=function(qe,de){return function(Se,Y){de(Se,Y,qe)}},Di;const Ti=(Di=window.trustedTypes)===null||Di===void 0?void 0:Di.createPolicy("editorGhostText",{createHTML:qe=>qe});let Ni=class extends h.JT{constructor(de,Se,Y,_e){super(),this.editor=de,this.model=Se,this.instantiationService=Y,this.modeService=_e,this.disposed=!1,this.partsWidget=this._register(this.instantiationService.createInstance(ai,this.editor)),this.additionalLinesWidget=this._register(new Gt(this.editor,this.modeService.languageIdCodec)),this.viewMoreContentWidget=void 0,this._register(this.editor.onDidChangeConfiguration(ke=>{(ke.hasChanged(29)||ke.hasChanged(104)||ke.hasChanged(87)||ke.hasChanged(82)||ke.hasChanged(44)||ke.hasChanged(43)||ke.hasChanged(58))&&this.update()})),this._register((0,h.OF)(()=>{var ke;this.disposed=!0,this.update(),(ke=this.viewMoreContentWidget)===null||ke===void 0||ke.dispose(),this.viewMoreContentWidget=void 0})),this._register(Se.onDidChange(()=>{this.update()})),this.update()}shouldShowHoverAtViewZone(de){return this.additionalLinesWidget.viewZoneId===de}update(){var de;const Se=this.model.ghostText;if(!this.editor.hasModel()||!Se||this.disposed){this.partsWidget.clear(),this.additionalLinesWidget.clear();return}const Y=new Array,_e=new Array;function ke(Dt,Vt){if(_e.length>0){const Mt=_e[_e.length-1];Vt&&Mt.decorations.push(new Ae.Kp(Mt.content.length+1,Mt.content.length+1+Dt[0].length,Vt,0)),Mt.content+=Dt[0],Dt=Dt.slice(1)}for(const Mt of Dt)_e.push({content:Mt,decorations:Vt?[new Ae.Kp(1,Mt.length+1,Vt,0)]:[]})}const lt=this.editor.getModel().getLineContent(Se.lineNumber);this.editor.getModel().getLineTokens(Se.lineNumber);let nt,pt=0;for(const Dt of Se.parts){let Vt=Dt.lines;nt===void 0?(Y.push({column:Dt.column,text:Vt[0],preview:Dt.preview}),Vt=Vt.slice(1)):ke([lt.substring(pt,Dt.column-1)],void 0),Vt.length>0&&(ke(Vt,"ghost-text"),nt===void 0&&Dt.column<=lt.length&&(nt=Dt.column)),pt=Dt.column-1}nt!==void 0&&ke([lt.substring(pt)],void 0),this.partsWidget.setParts(Se.lineNumber,Y,nt!==void 0?{column:nt,length:lt.length+1-nt}:void 0),this.additionalLinesWidget.updateLines(Se.lineNumber,_e,Se.additionalReservedLineCount),Se.parts.some(Dt=>Dt.lines.length<0)?this.viewMoreContentWidget=this.renderViewMoreLines(new y.L(Se.lineNumber,this.editor.getModel().getLineMaxColumn(Se.lineNumber)),"",0):((de=this.viewMoreContentWidget)===null||de===void 0||de.dispose(),this.viewMoreContentWidget=void 0)}renderViewMoreLines(de,Se,Y){const _e=this.editor.getOption(43),ke=document.createElement("div");ke.className="suggest-preview-additional-widget",it.V.applyFontInfoSlow(ke,_e);const lt=document.createElement("span");lt.className="content-spacer",lt.append(Se),ke.append(lt);const nt=document.createElement("span");nt.className="content-newline suggest-preview-text",nt.append("\u23CE "),ke.append(nt);const pt=new h.SL,Dt=document.createElement("div");return Dt.className="button suggest-preview-text",Dt.append(`+${Y} lines\u2026`),pt.add(Pe.mu(Dt,"mousedown",Vt=>{var Mt;(Mt=this.model)===null||Mt===void 0||Mt.setExpanded(!0),Vt.preventDefault(),this.editor.focus()})),ke.append(Dt),new Qe(this.editor,de,ke,pt)}};Ni=ni([hi(2,Wt.TG),hi(3,Xe.h)],Ni);let ai=class{constructor(de,Se,Y,_e){this.editor=de,this.codeEditorService=Se,this.themeService=Y,this.contextKeyService=_e,this.decorationIds=[],this.disposableStore=new h.SL}dispose(){this.clear(),this.disposableStore.dispose()}clear(){this.editor.deltaDecorations(this.decorationIds,[]),this.disposableStore.clear()}setParts(de,Se,Y){this.disposableStore.clear();const _e=this.themeService.getColorTheme(),ke=_e.getColor(Ze.N5);let lt,nt;ke&&(lt=String(ke.rgba.a),nt=Ye.Il.Format.CSS.format(Pt(ke)));const pt=_e.getColor(Ze.x3);let Dt;pt&&(Dt=`2px dashed ${pt}`);const Vt=this.editor.getModel();if(!Vt)return;const{tabSize:Mt}=Vt.getOptions(),Jt=Vt.getLineContent(de)||"";let jt=0,ui="";const vi=new Array;Y&&vi.push({range:C.e.fromPositions(new y.L(de,Y.column),new y.L(de,Y.column+Y.length)),options:{inlineClassName:"ghost-text-hidden",description:"ghost-text-hidden"}});const Si=this.contextKeyService.getContextKeyValue("config.editor.useInjectedText"),Oi=Si===void 0?!0:!!Si;this.decorationIds=this.editor.deltaDecorations(this.decorationIds,Se.map(Ri=>{ui+=Jt.substring(jt,Ri.column-1),jt=Ri.column-1;const zi=Oi?Ri.text:this.renderSingleLineText(Ri.text,ui,Mt,!1),hn=this.disposableStore.add(ht(this.codeEditorService,"ghost-text","0-ghost-text-",{after:{contentText:zi,opacity:lt,color:nt,border:Dt,fontWeight:Ri.preview?"bold":"normal"}}));return{range:C.e.fromPositions(new y.L(de,Ri.column)),options:Oi?{description:"ghost-text",after:{content:zi,inlineClassName:Ri.preview?"ghost-text-decoration-preview":"ghost-text-decoration"},showIfCollapsed:!0}:Object.assign({},hn.resolve())}}).concat(vi))}renderSingleLineText(de,Se,Y,_e){const ke=Se+de,lt=Ft.io.visibleColumnsByColumns(ke,Y);let nt="",pt=Se.length+1;for(const Dt of de){if(Dt===" "){const Vt=lt[pt+1]-lt[pt];if(_e){nt+="\u2192";for(let Mt=1;Mt{this._viewZoneId&&(de.removeZone(this._viewZoneId),this._viewZoneId=void 0)})}updateLines(de,Se,Y){const _e=this.editor.getModel();if(!_e)return;const{tabSize:ke}=_e.getOptions();this.editor.changeViewZones(lt=>{this._viewZoneId&&(lt.removeZone(this._viewZoneId),this._viewZoneId=void 0);const nt=Math.max(Se.length,Y);if(nt>0){const pt=document.createElement("div");st(pt,ke,Se,this.editor.getOptions(),this.languageIdCodec),this._viewZoneId=lt.addZone({afterLineNumber:de,heightInLines:nt,domNode:pt})}})}}function st(qe,de,Se,Y,_e){const ke=Y.get(29),lt=Y.get(104),nt="none",pt=Y.get(82),Dt=Y.get(44),Vt=Y.get(43),Mt=Y.get(58),Jt=(0,ze.l$)(1e4);Jt.appendASCIIString('');for(let vi=0,Si=Se.length;vi');const zi=H.$i(Ri),hn=H.Ut(Ri),bn=Ht.A.createEmpty(Ri,_e);(0,He.d1)(new He.IJ(Vt.isMonospace&&!ke,Vt.canUseHalfwidthRightwardsArrow,Ri,!1,zi,hn,0,bn,Oi.decorations,de,0,Vt.spaceWidth,Vt.middotWidth,Vt.wsmiddotWidth,lt,nt,pt,Dt!==vt.n0.OFF,null),Jt),Jt.appendASCIIString("
")}Jt.appendASCIIString(""),it.V.applyFontInfoSlow(qe,Vt);const jt=Jt.build(),ui=Ti?Ti.createHTML(jt):jt;qe.innerHTML=ui}let gt=0;function ht(qe,de,Se,Y){const _e=Se+gt++;return qe.registerDecorationType(de,_e,Y),{dispose(){qe.removeDecorationType(_e)},resolve(){return qe.resolveDecorationOptions(_e,!0)}}}class Qe extends h.JT{constructor(de,Se,Y,_e){super(),this.editor=de,this.position=Se,this.domNode=Y,this.allowEditorOverflow=!1,this.suppressMouseDown=!1,this._register(_e),this._register((0,h.OF)(()=>{this.editor.removeContentWidget(this)})),this.editor.addContentWidget(this)}getId(){return"editor.widget.viewMoreLinesWidget"}getDomNode(){return this.domNode}getPosition(){return{position:this.position,preference:[0]}}}(0,oi.Ic)((qe,de)=>{const Se=qe.getColor(Ze.N5);if(Se){const _e=String(Se.rgba.a),ke=Ye.Il.Format.CSS.format(Pt(Se));de.addRule(`.monaco-editor .ghost-text-decoration { opacity: ${_e} !important; color: ${ke} !important; }`),de.addRule(`.monaco-editor .ghost-text-decoration-preview { color: ${Se.toString()} !important; }`),de.addRule(`.monaco-editor .suggest-preview-text .ghost-text { opacity: ${_e} !important; color: ${ke} !important; }`)}const Y=qe.getColor(Ze.x3);Y&&(de.addRule(`.monaco-editor .suggest-preview-text .ghost-text { border: 1px solid ${Y}; }`),de.addRule(`.monaco-editor .ghost-text-decoration { border: 1px solid ${Y}; }`),de.addRule(`.monaco-editor .ghost-text-decoration-preview { border: 1px solid ${Y}; }`))});var $e=i(13268),Ie=i(86414),Oe=function(qe,de,Se,Y){var _e=arguments.length,ke=_e<3?de:Y===null?Y=Object.getOwnPropertyDescriptor(de,Se):Y,lt;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ke=Reflect.decorate(qe,de,Se,Y);else for(var nt=qe.length-1;nt>=0;nt--)(lt=qe[nt])&&(ke=(_e<3?lt(ke):_e>3?lt(de,Se,ke):lt(de,Se))||ke);return _e>3&&ke&&Object.defineProperty(de,Se,ke),ke},Ke=function(qe,de){return function(Se,Y){de(Se,Y,qe)}},ct=function(qe,de,Se,Y){function _e(ke){return ke instanceof Se?ke:new Se(function(lt){lt(ke)})}return new(Se||(Se=Promise))(function(ke,lt){function nt(Vt){try{Dt(Y.next(Vt))}catch(Mt){lt(Mt)}}function pt(Vt){try{Dt(Y.throw(Vt))}catch(Mt){lt(Mt)}}function Dt(Vt){Vt.done?ke(Vt.value):_e(Vt.value).then(nt,pt)}Dt((Y=Y.apply(qe,de||[])).next())})};let Nt=class xl extends h.JT{constructor(de,Se){super(),this.editor=de,this.instantiationService=Se,this.triggeredExplicitly=!1,this.activeController=this._register(new h.XK),this._register(this.editor.onDidChangeModel(()=>{this.updateModelController()})),this._register(this.editor.onDidChangeConfiguration(Y=>{Y.hasChanged(105)&&this.updateModelController(),Y.hasChanged(54)&&this.updateModelController()})),this.updateModelController()}static get(de){return de.getContribution(xl.ID)}get activeModel(){var de;return(de=this.activeController.value)===null||de===void 0?void 0:de.model}updateModelController(){const de=this.editor.getOption(105),Se=this.editor.getOption(54);this.activeController.value=void 0,this.activeController.value=this.editor.hasModel()&&(de.preview||Se.enabled||this.triggeredExplicitly)?this.instantiationService.createInstance(Xt,this.editor):void 0}shouldShowHoverAt(de){var Se;return((Se=this.activeModel)===null||Se===void 0?void 0:Se.shouldShowHoverAt(de))||!1}shouldShowHoverAtViewZone(de){var Se,Y;return((Y=(Se=this.activeController.value)===null||Se===void 0?void 0:Se.widget)===null||Y===void 0?void 0:Y.shouldShowHoverAtViewZone(de))||!1}trigger(){var de;this.triggeredExplicitly=!0,this.activeController.value||this.updateModelController(),(de=this.activeModel)===null||de===void 0||de.triggerInlineCompletion()}commit(){var de;(de=this.activeModel)===null||de===void 0||de.commitInlineCompletion()}hide(){var de;(de=this.activeModel)===null||de===void 0||de.hideInlineCompletion()}showNextInlineCompletion(){var de;(de=this.activeModel)===null||de===void 0||de.showNextInlineCompletion()}showPreviousInlineCompletion(){var de;(de=this.activeModel)===null||de===void 0||de.showPreviousInlineCompletion()}hasMultipleInlineCompletions(){var de;return ct(this,void 0,void 0,function*(){const Se=yield(de=this.activeModel)===null||de===void 0?void 0:de.hasMultipleInlineCompletions();return Se!==void 0?Se:!1})}};Nt.inlineSuggestionVisible=new Et.uy("inlineSuggestionVisible",!1,$e.N("inlineSuggestionVisible","Whether an inline suggestion is visible")),Nt.inlineSuggestionHasIndentation=new Et.uy("inlineSuggestionHasIndentation",!1,$e.N("inlineSuggestionHasIndentation","Whether the inline suggestion starts with whitespace")),Nt.inlineSuggestionHasIndentationLessThanTabSize=new Et.uy("inlineSuggestionHasIndentationLessThanTabSize",!0,$e.N("inlineSuggestionHasIndentationLessThanTabSize","Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab")),Nt.ID="editor.contrib.ghostTextController",Nt=Oe([Ke(1,Wt.TG)],Nt);class $t{constructor(de){this.contextKeyService=de,this.inlineCompletionVisible=Nt.inlineSuggestionVisible.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentation=Nt.inlineSuggestionHasIndentation.bindTo(this.contextKeyService),this.inlineCompletionSuggestsIndentationLessThanTabSize=Nt.inlineSuggestionHasIndentationLessThanTabSize.bindTo(this.contextKeyService)}}let Xt=class extends h.JT{constructor(de,Se,Y){super(),this.editor=de,this.instantiationService=Se,this.contextKeyService=Y,this.contextKeys=new $t(this.contextKeyService),this.model=this._register(this.instantiationService.createInstance(ee,this.editor)),this.widget=this._register(this.instantiationService.createInstance(Ni,this.editor,this.model)),this._register((0,h.OF)(()=>{this.contextKeys.inlineCompletionVisible.set(!1),this.contextKeys.inlineCompletionSuggestsIndentation.set(!1),this.contextKeys.inlineCompletionSuggestsIndentationLessThanTabSize.set(!0)})),this._register(this.model.onDidChange(()=>{this.updateContextKeys()})),this.updateContextKeys()}updateContextKeys(){var de;this.contextKeys.inlineCompletionVisible.set(((de=this.model.activeInlineCompletionsModel)===null||de===void 0?void 0:de.ghostText)!==void 0);let Se=!1,Y=!0;const _e=this.model.inlineCompletionsModel.ghostText;if(this.model.activeInlineCompletionsModel&&_e&&_e.parts.length>0){const{column:ke,lines:lt}=_e.parts[0],nt=lt[0],pt=this.editor.getModel().getLineIndentColumn(_e.lineNumber);if(ke<=pt){let Vt=(0,H.LC)(nt);Vt===-1&&(Vt=nt.length-1),Se=Vt>0;const Mt=this.editor.getModel().getOptions().tabSize;Y=P.i.visibleColumnFromColumn(nt,Vt+1,Mt)Ye.lineNumber===it.lineNumber?Ye.column-it.column:Ye.lineNumber-it.lineNumber);for(let Ye=W.length-2;Ye>=0;Ye--)W[Ye].lineNumber===W[Ye+1].lineNumber&&W.splice(Ye,1);let $=[],ee=0,he=0,Pe=W.length;for(let Ye=1,it=ne.getLineCount();Ye<=it;Ye++){let rt=ne.getLineContent(Ye),vt=rt.length+1,Ft=0;if(he ");o.add(_);const q=this._findCycle(B,o);if(q)return q;o.delete(_)}}}var ea=i(36916);const Fa=!1;class Ba extends Error{constructor(t){var o;super("cyclic dependency between services"),this.message=(o=t.findCycleSlow())!==null&&o!==void 0?o:`UNABLE to detect cycle, dumping graph:
${t.toString()}`}}class dr{constructor(t=new ea.y,o=!1,_){this._activeInstantiations=new Set,this._services=t,this._strict=o,this._parent=_,this._services.set(ps.TG,this)}createChild(t){return new dr(t,this._strict,this)}invokeFunction(t,...o){let _=Ds.traceInvocation(t),B=!1;try{return t({get:(me,Ee)=>{if(B)throw(0,hi.L6)("service accessor is only valid during the invocation of its target method");const et=this._getOrCreateServiceInstance(me,_);if(!et&&Ee!==ps.jt)throw new Error(`[invokeFunction] unknown service '${me}'`);return et}},...o)}finally{B=!0,_.stop()}}createInstance(t,...o){let _,B;return t instanceof yo.M?(_=Ds.traceCreation(t.ctor),B=this._createInstance(t.ctor,t.staticArguments.concat(o),_)):(_=Ds.traceCreation(t),B=this._createInstance(t,o,_)),_.stop(),B}_createInstance(t,o=[],_){let B=ps.I8.getServiceDependencies(t).sort((Ee,et)=>Ee.index-et.index),q=[];for(const Ee of B){let et=this._getOrCreateServiceInstance(Ee.id,_);if(!et&&this._strict&&!Ee.optional)throw new Error(`[createInstance] ${t.name} depends on UNKNOWN service ${Ee.id}.`);q.push(et)}let me=B.length>0?B[0].index:o.length;if(o.length!==me){console.warn(`[createInstance] First service dependency of ${t.name} at position ${me+1} conflicts with ${o.length} static arguments`);let Ee=me-o.length;Ee>0?o=o.concat(new Array(Ee)):o=o.slice(0,me)}return new t(...o,...q)}_setServiceInstance(t,o){if(this._services.get(t)instanceof yo.M)this._services.set(t,o);else if(this._parent)this._parent._setServiceInstance(t,o);else throw new Error("illegalState - setting UNKNOWN service instance")}_getServiceInstanceOrDescriptor(t){let o=this._services.get(t);return!o&&this._parent?this._parent._getServiceInstanceOrDescriptor(t):o}_getOrCreateServiceInstance(t,o){let _=this._getServiceInstanceOrDescriptor(t);return _ instanceof yo.M?this._safeCreateAndCacheServiceInstance(t,_,o.branch(t,!0)):(o.branch(t,!1),_)}_safeCreateAndCacheServiceInstance(t,o,_){if(this._activeInstantiations.has(t))throw new Error(`illegal state - RECURSIVELY instantiating service '${t}'`);this._activeInstantiations.add(t);try{return this._createAndCacheServiceInstance(t,o,_)}finally{this._activeInstantiations.delete(t)}}_createAndCacheServiceInstance(t,o,_){const B=new Gl(Ee=>Ee.id.toString());let q=0;const me=[{id:t,desc:o,_trace:_}];for(;me.length;){const Ee=me.pop();if(B.lookupOrInsertNode(Ee),q++>1e3)throw new Ba(B);for(let et of ps.I8.getServiceDependencies(Ee.desc.ctor)){let ft=this._getServiceInstanceOrDescriptor(et.id);if(!ft&&!et.optional&&console.warn(`[createInstance] ${t} depends on ${et.id} which is NOT registered.`),ft instanceof yo.M){const bt={id:et.id,desc:ft,_trace:Ee._trace.branch(et.id,!0)};B.insertEdge(Ee,bt),me.push(bt)}}}for(;;){const Ee=B.roots();if(Ee.length===0){if(!B.isEmpty())throw new Ba(B);break}for(const{data:et}of Ee){if(this._getServiceInstanceOrDescriptor(et.id)instanceof yo.M){const bt=this._createServiceInstanceWithOwner(et.id,et.desc.ctor,et.desc.staticArguments,et.desc.supportsDelayedInstantiation,et._trace);this._setServiceInstance(et.id,bt)}B.removeNode(et)}}return this._getServiceInstanceOrDescriptor(t)}_createServiceInstanceWithOwner(t,o,_=[],B,q){if(this._services.get(t)instanceof yo.M)return this._createServiceInstance(o,_,B,q);if(this._parent)return this._parent._createServiceInstanceWithOwner(t,o,_,B,q);throw new Error(`illegalState - creating UNKNOWN service instance ${o.name}`)}_createServiceInstance(t,o=[],_,B){if(_){const q=new oi.Ue(()=>this._createInstance(t,o,B));return new Proxy(Object.create(null),{get(me,Ee){if(Ee in me)return me[Ee];let et=q.value,ft=et[Ee];return typeof ft!="function"||(ft=ft.bind(et),me[Ee]=ft),ft},set(me,Ee,et){return q.value[Ee]=et,!0}})}else return this._createInstance(t,o,B)}}class Ds{constructor(t,o){this.type=t,this.name=o,this._start=Date.now(),this._dep=[]}static traceInvocation(t){return Fa?new Ds(1,t.name||t.toString().substring(0,42).replace(/\n/g,"")):Ds._None}static traceCreation(t){return Fa?new Ds(0,t.name):Ds._None}branch(t,o){let _=new Ds(2,t.toString());return this._dep.push([t,o,_]),_}stop(){let t=Date.now()-this._start;Ds._totals+=t;let o=!1;function _(q,me){let Ee=[],et=new Array(q+1).join(" ");for(const[ft,bt,Bt]of me._dep)if(bt&&Bt){o=!0,Ee.push(`${et}CREATES -> ${ft}`);let _i=_(q+1,Bt);_i&&Ee.push(_i)}else Ee.push(`${et}uses -> ${ft}`);return Ee.join(`
`)}let B=[`${this.type===0?"CREATE":"CALL"} ${this.name}`,`${_(1,this)}`,`DONE, took ${t.toFixed(2)}ms (grand total ${Ds._totals.toFixed(2)}ms)`];(t>2||o)&&console.log(B.join(`
-`))}}Ds._None=new class extends Ds{constructor(){super(-1,null)}stop(){}branch(){return this}},Ds._totals=0;var Zl=i(6629),ta=i(52329),Bs=i(12145);class Yl{constructor(){this._byResource=new We.Y9,this._byOwner=new Map}set(t,o,_){let B=this._byResource.get(t);B||(B=new Map,this._byResource.set(t,B)),B.set(o,_);let q=this._byOwner.get(o);q||(q=new We.Y9,this._byOwner.set(o,q)),q.set(t,_)}get(t,o){let _=this._byResource.get(t);return _==null?void 0:_.get(o)}delete(t,o){let _=!1,B=!1,q=this._byResource.get(t);q&&(_=q.delete(o));let me=this._byOwner.get(o);if(me&&(B=me.delete(t)),_!==B)throw new Error("illegal state");return _&&B}values(t){var o,_,B,q;return typeof t=="string"?(_=(o=this._byOwner.get(t))===null||o===void 0?void 0:o.values())!==null&&_!==void 0?_:Ot.$.empty():D.o.isUri(t)?(q=(B=this._byResource.get(t))===null||B===void 0?void 0:B.values())!==null&&q!==void 0?q:Ot.$.empty():Ot.$.map(Ot.$.concat(...this._byOwner.values()),me=>me[1])}}class Ql{constructor(t){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new We.Y9,this._service=t,this._subscription=t.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(t){for(const o of t){const _=this._data.get(o);_&&this._substract(_);const B=this._resourceStats(o);this._add(B),this._data.set(o,B)}}_resourceStats(t){const o={errors:0,warnings:0,infos:0,unknowns:0};if(t.scheme===fe.lg.inMemory||t.scheme===fe.lg.walkThrough||t.scheme===fe.lg.walkThroughSnippet)return o;for(const{severity:_}of this._service.read({resource:t}))_===Bs.ZL.Error?o.errors+=1:_===Bs.ZL.Warning?o.warnings+=1:_===Bs.ZL.Info?o.infos+=1:o.unknowns+=1;return o}_substract(t){this.errors-=t.errors,this.warnings-=t.warnings,this.infos-=t.infos,this.unknowns-=t.unknowns}_add(t){this.errors+=t.errors,this.warnings+=t.warnings,this.infos+=t.infos,this.unknowns+=t.unknowns}}class ho{constructor(){this._onMarkerChanged=new O.D0({delay:0,merge:ho._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new Yl,this._stats=new Ql(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(t,o){for(const _ of o||[])this.changeOne(t,_,[])}changeOne(t,o,_){if((0,pn.XY)(_))this._data.delete(o,t)&&this._onMarkerChanged.fire([o]);else{const B=[];for(const q of _){const me=ho._toMarker(t,o,q);me&&B.push(me)}this._data.set(o,t,B),this._onMarkerChanged.fire([o])}}static _toMarker(t,o,_){let{code:B,severity:q,message:me,source:Ee,startLineNumber:et,startColumn:ft,endLineNumber:bt,endColumn:Bt,relatedInformation:_i,tags:Qi}=_;if(me)return et=et>0?et:1,ft=ft>0?ft:1,bt=bt>=et?bt:et,Bt=Bt>0?Bt:ft,{resource:o,owner:t,code:B,severity:q,message:me,source:Ee,startLineNumber:et,startColumn:ft,endLineNumber:bt,endColumn:Bt,relatedInformation:_i,tags:Qi}}read(t=Object.create(null)){let{owner:o,resource:_,severities:B,take:q}=t;if((!q||q<0)&&(q=-1),o&&_){const me=this._data.get(_,o);if(me){const Ee=[];for(const et of me)if(ho._accept(et,B)){const ft=Ee.push(et);if(q>0&&ft===q)break}return Ee}else return[]}else if(!o&&!_){const me=[];for(let Ee of this._data.values())for(let et of Ee)if(ho._accept(et,B)){const ft=me.push(et);if(q>0&&ft===q)return me}return me}else{const me=this._data.values(_!=null?_:o),Ee=[];for(const et of me)for(const ft of et)if(ho._accept(ft,B)){const bt=Ee.push(ft);if(q>0&&bt===q)return Ee}return Ee}}static _accept(t,o){return o===void 0||(o&t.severity)===t.severity}static _merge(t){const o=new We.Y9;for(let _ of t)for(let B of _)o.set(B,!0);return Array.from(o.keys())}}var Wa=i(19490),Va=function(S,t,o,_){var B=arguments.length,q=B<3?t:_===null?_=Object.getOwnPropertyDescriptor(t,o):_,me;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(S,t,o,_);else for(var Ee=S.length-1;Ee>=0;Ee--)(me=S[Ee])&&(q=(B<3?me(q):B>3?me(t,o,q):me(t,o))||q);return B>3&&q&&Object.defineProperty(t,o,q),q},cr=function(S,t){return function(o,_){t(o,_,S)}};let ia=class{constructor(t){this._commandService=t}createMenu(t,o,_){return new na(t,Object.assign({emitEventsForSubmenuChanges:!1,eventDebounceDelay:50},_),this._commandService,o,this)}};ia=Va([cr(0,W.H)],ia);let na=class Io{constructor(t,o,_,B,q){this._id=t,this._options=o,this._commandService=_,this._contextKeyService=B,this._menuService=q,this._disposables=new ni.SL,this._menuGroups=[],this._contextKeys=new Set,this._build();const me=new oi.pY(()=>{this._build(),this._onDidChange.fire(this)},o.eventDebounceDelay);this._disposables.add(me),this._disposables.add(ys.BH.onDidChangeMenu(ft=>{ft.has(t)&&me.schedule()}));const Ee=this._disposables.add(new ni.SL),et=()=>{const ft=new oi.pY(()=>this._onDidChange.fire(this),o.eventDebounceDelay);Ee.add(ft),Ee.add(B.onDidChangeContext(bt=>{bt.affectsSome(this._contextKeys)&&ft.schedule()}))};this._onDidChange=new O.Q5({onFirstListenerAdd:et,onLastListenerRemove:Ee.clear.bind(Ee)}),this.onDidChange=this._onDidChange.event}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const t=ys.BH.getMenuItems(this._id);let o;t.sort(Io._compareMenuItems);for(const _ of t){const B=_.group||"";(!o||o[0]!==B)&&(o=[B,[]],this._menuGroups.push(o)),o[1].push(_),this._collectContextKeys(_)}}_collectContextKeys(t){if(Io._fillInKbExprKeys(t.when,this._contextKeys),(0,ys.vr)(t)){if(t.command.precondition&&Io._fillInKbExprKeys(t.command.precondition,this._contextKeys),t.command.toggled){const o=t.command.toggled.condition||t.command.toggled;Io._fillInKbExprKeys(o,this._contextKeys)}}else this._options.emitEventsForSubmenuChanges&&ys.BH.getMenuItems(t.submenu).forEach(this._collectContextKeys,this)}getActions(t){const o=[];for(let _ of this._menuGroups){const[B,q]=_,me=[];for(const Ee of q)if(this._contextKeyService.contextMatchesRules(Ee.when)){const et=(0,ys.vr)(Ee)?new ys.U8(Ee.command,Ee.alt,t,this._contextKeyService,this._commandService):new ys.NZ(Ee,this._menuService,this._contextKeyService,t);me.push(et)}me.length>0&&o.push([B,me])}return o}static _fillInKbExprKeys(t,o){if(t)for(let _ of t.keys())o.add(_)}static _compareMenuItems(t,o){let _=t.group,B=o.group;if(_!==B){if(_){if(!B)return-1}else return 1;if(_==="navigation")return-1;if(B==="navigation")return 1;let Ee=_.localeCompare(B);if(Ee!==0)return Ee}let q=t.order||0,me=o.order||0;return qme?1:Io._compareTitles((0,ys.vr)(t)?t.command.title:t.title,(0,ys.vr)(o)?o.command.title:o.title)}static _compareTitles(t,o){const _=typeof t=="string"?t:t.original,B=typeof o=="string"?o:o.original;return _.localeCompare(B)}};na=Va([cr(2,W.H),cr(3,_t.i6),cr(4,ys.co)],na);var Xl=i(49178),Jl=function(S,t,o,_){var B=arguments.length,q=B<3?t:_===null?_=Object.getOwnPropertyDescriptor(t,o):_,me;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(S,t,o,_);else for(var Ee=S.length-1;Ee>=0;Ee--)(me=S[Ee])&&(q=(B<3?me(q):B>3?me(t,o,q):me(t,o))||q);return B>3&&q&&Object.defineProperty(t,o,q),q},Ha=function(S,t){return function(o,_){t(o,_,S)}};class ql extends ni.JT{constructor(t){super(),this.model=t,this._markersData=new Map,this._register((0,ni.OF)(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(t,o){const _=[...this._markersData.keys()];this._markersData.clear();const B=this.model.deltaDecorations(_,o);for(let q=0;qthis._onModelAdded(_)),this._register(t.onModelAdded(this._onModelAdded,this)),this._register(t.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(t=>t.dispose()),this._markerDecorations.clear()}getMarker(t,o){const _=this._markerDecorations.get(t);return _&&_.getMarker(o)||null}_handleMarkerChange(t){t.forEach(o=>{const _=this._markerDecorations.get(o);_&&this._updateDecorations(_)})}_onModelAdded(t){const o=new ql(t);this._markerDecorations.set(t.uri,o),this._updateDecorations(o)}_onModelRemoved(t){const o=this._markerDecorations.get(t.uri);o&&(o.dispose(),this._markerDecorations.delete(t.uri)),(t.uri.scheme===fe.lg.inMemory||t.uri.scheme===fe.lg.internal||t.uri.scheme===fe.lg.vscode)&&this._markerService&&this._markerService.read({resource:t.uri}).map(_=>_.owner).forEach(_=>this._markerService.remove(_,[t.uri]))}_updateDecorations(t){const o=this._markerService.read({resource:t.model.uri,take:500});let _=o.map(B=>({range:this._createDecorationRange(t.model,B),options:this._createDecorationOption(B)}));t.update(o,_)&&this._onDidChangeMarker.fire(t.model)}_createDecorationRange(t,o){let _=I.e.lift(o);return o.severity===Bs.ZL.Hint&&!this._hasMarkerTag(o,1)&&!this._hasMarkerTag(o,2)&&(_=_.setEndPosition(_.startLineNumber,_.startColumn+2)),t.validateRange(_)}_createDecorationOption(t){let o,_,B,q,me;switch(t.severity){case Bs.ZL.Hint:this._hasMarkerTag(t,2)?o=void 0:this._hasMarkerTag(t,1)?o="squiggly-unnecessary":o="squiggly-hint",B=0;break;case Bs.ZL.Warning:o="squiggly-warning",_=(0,Cs.EN)(As.Re),B=20,me={color:(0,Cs.EN)(dn.Iv),position:Xe.F5.Inline};break;case Bs.ZL.Info:o="squiggly-info",_=(0,Cs.EN)(As.eS),B=10;break;case Bs.ZL.Error:default:o="squiggly-error",_=(0,Cs.EN)(As.lK),B=30,me={color:(0,Cs.EN)(dn.Gj),position:Xe.F5.Inline};break}return t.tags&&(t.tags.indexOf(1)!==-1&&(q="squiggly-inline-unnecessary"),t.tags.indexOf(2)!==-1&&(q="squiggly-inline-deprecated")),{description:"marker-decoration",stickiness:1,className:o,showIfCollapsed:!0,overviewRuler:{color:_,position:Xe.sh.Right},minimap:me,zIndex:B,inlineClassName:q}}_hasMarkerTag(t,o){return t.tags?t.tags.indexOf(o)>=0:!1}};sa=Jl([Ha(0,Gn.q),Ha(1,Bs.lT)],sa);var Ua=i(7335),ed=function(S,t,o,_){var B=arguments.length,q=B<3?t:_===null?_=Object.getOwnPropertyDescriptor(t,o):_,me;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(S,t,o,_);else for(var Ee=S.length-1;Ee>=0;Ee--)(me=S[Ee])&&(q=(B<3?me(q):B>3?me(t,o,q):me(t,o))||q);return B>3&&q&&Object.defineProperty(t,o,q),q},za=function(S,t){return function(o,_){t(o,_,S)}};let oa=class extends ni.JT{constructor(t,o){super(),this._contextKeyService=t,this._configurationService=o,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new O.Q5,this._accessibilityModeEnabledContext=xs.U.bindTo(this._contextKeyService);const _=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(B=>{B.affectsConfiguration("editor.accessibilitySupport")&&(_(),this._onDidChangeScreenReaderOptimized.fire())})),_(),this.onDidChangeScreenReaderOptimized(()=>_())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const t=this._configurationService.getValue("editor.accessibilitySupport");return t==="on"||t==="auto"&&this._accessibilitySupport===2}getAccessibilitySupport(){return this._accessibilitySupport}};oa=ed([za(0,_t.i6),za(1,Hi.Ui)],oa);var ur=function(S,t,o,_){function B(q){return q instanceof o?q:new o(function(me){me(q)})}return new(o||(o=Promise))(function(q,me){function Ee(bt){try{ft(_.next(bt))}catch(Bt){me(Bt)}}function et(bt){try{ft(_.throw(bt))}catch(Bt){me(Bt)}}function ft(bt){bt.done?q(bt.value):B(bt.value).then(Ee,et)}ft((_=_.apply(S,t||[])).next())})};class td{constructor(){this.mapTextToType=new Map,this.findText=""}writeText(t,o){return ur(this,void 0,void 0,function*(){if(o){this.mapTextToType.set(o,t);return}try{return yield navigator.clipboard.writeText(t)}catch(q){console.error(q)}const _=document.activeElement,B=document.body.appendChild((0,ce.$)("textarea",{"aria-hidden":!0}));B.style.height="1px",B.style.width="1px",B.style.position="absolute",B.value=t,B.focus(),B.select(),document.execCommand("copy"),_ instanceof HTMLElement&&_.focus(),document.body.removeChild(B)})}readText(t){return ur(this,void 0,void 0,function*(){if(t)return this.mapTextToType.get(t)||"";try{return yield navigator.clipboard.readText()}catch(o){return console.error(o),""}})}readFindText(){return ur(this,void 0,void 0,function*(){return this.findText})}writeFindText(t){return ur(this,void 0,void 0,function*(){this.findText=t})}}var Ws=i(1085),id=function(S,t,o,_){var B=arguments.length,q=B<3?t:_===null?_=Object.getOwnPropertyDescriptor(t,o):_,me;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(S,t,o,_);else for(var Ee=S.length-1;Ee>=0;Ee--)(me=S[Ee])&&(q=(B<3?me(q):B>3?me(t,o,q):me(t,o))||q);return B>3&&q&&Object.defineProperty(t,o,q),q},Ka=function(S,t){return function(o,_){t(o,_,S)}},hr=function(S,t,o,_){function B(q){return q instanceof o?q:new o(function(me){me(q)})}return new(o||(o=Promise))(function(q,me){function Ee(bt){try{ft(_.next(bt))}catch(Bt){me(Bt)}}function et(bt){try{ft(_.throw(bt))}catch(Bt){me(Bt)}}function ft(bt){bt.done?q(bt.value):B(bt.value).then(Ee,et)}ft((_=_.apply(S,t||[])).next())})};const Lo=!1;function fr(S){return S.scheme===fe.lg.file?S.fsPath:S.path}let ja=0;class gr{constructor(t,o,_,B,q,me,Ee){this.id=++ja,this.type=0,this.actual=t,this.label=t.label,this.confirmBeforeUndo=t.confirmBeforeUndo||!1,this.resourceLabel=o,this.strResource=_,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=B,this.groupOrder=q,this.sourceId=me,this.sourceOrder=Ee,this.isValid=!0}setValid(t){this.isValid=t}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class $a{constructor(t,o){this.resourceLabel=t,this.reason=o}}class Ga{constructor(){this.elements=new Map}createMessage(){const t=[],o=[];for(const[,B]of this.elements)(B.reason===0?t:o).push(B.resourceLabel);let _=[];return t.length>0&&_.push(U.N({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",t.join(", "))),o.length>0&&_.push(U.N({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",o.join(", "))),_.join(`
+`))}}Ds._None=new class extends Ds{constructor(){super(-1,null)}stop(){}branch(){return this}},Ds._totals=0;var Zl=i(6629),ta=i(58970),Bs=i(12145);class Yl{constructor(){this._byResource=new We.Y9,this._byOwner=new Map}set(t,o,_){let B=this._byResource.get(t);B||(B=new Map,this._byResource.set(t,B)),B.set(o,_);let q=this._byOwner.get(o);q||(q=new We.Y9,this._byOwner.set(o,q)),q.set(t,_)}get(t,o){let _=this._byResource.get(t);return _==null?void 0:_.get(o)}delete(t,o){let _=!1,B=!1,q=this._byResource.get(t);q&&(_=q.delete(o));let me=this._byOwner.get(o);if(me&&(B=me.delete(t)),_!==B)throw new Error("illegal state");return _&&B}values(t){var o,_,B,q;return typeof t=="string"?(_=(o=this._byOwner.get(t))===null||o===void 0?void 0:o.values())!==null&&_!==void 0?_:Ot.$.empty():D.o.isUri(t)?(q=(B=this._byResource.get(t))===null||B===void 0?void 0:B.values())!==null&&q!==void 0?q:Ot.$.empty():Ot.$.map(Ot.$.concat(...this._byOwner.values()),me=>me[1])}}class Ql{constructor(t){this.errors=0,this.infos=0,this.warnings=0,this.unknowns=0,this._data=new We.Y9,this._service=t,this._subscription=t.onMarkerChanged(this._update,this)}dispose(){this._subscription.dispose()}_update(t){for(const o of t){const _=this._data.get(o);_&&this._substract(_);const B=this._resourceStats(o);this._add(B),this._data.set(o,B)}}_resourceStats(t){const o={errors:0,warnings:0,infos:0,unknowns:0};if(t.scheme===fe.lg.inMemory||t.scheme===fe.lg.walkThrough||t.scheme===fe.lg.walkThroughSnippet)return o;for(const{severity:_}of this._service.read({resource:t}))_===Bs.ZL.Error?o.errors+=1:_===Bs.ZL.Warning?o.warnings+=1:_===Bs.ZL.Info?o.infos+=1:o.unknowns+=1;return o}_substract(t){this.errors-=t.errors,this.warnings-=t.warnings,this.infos-=t.infos,this.unknowns-=t.unknowns}_add(t){this.errors+=t.errors,this.warnings+=t.warnings,this.infos+=t.infos,this.unknowns+=t.unknowns}}class ho{constructor(){this._onMarkerChanged=new O.D0({delay:0,merge:ho._merge}),this.onMarkerChanged=this._onMarkerChanged.event,this._data=new Yl,this._stats=new Ql(this)}dispose(){this._stats.dispose(),this._onMarkerChanged.dispose()}remove(t,o){for(const _ of o||[])this.changeOne(t,_,[])}changeOne(t,o,_){if((0,pn.XY)(_))this._data.delete(o,t)&&this._onMarkerChanged.fire([o]);else{const B=[];for(const q of _){const me=ho._toMarker(t,o,q);me&&B.push(me)}this._data.set(o,t,B),this._onMarkerChanged.fire([o])}}static _toMarker(t,o,_){let{code:B,severity:q,message:me,source:Ee,startLineNumber:et,startColumn:ft,endLineNumber:bt,endColumn:Bt,relatedInformation:_i,tags:Qi}=_;if(me)return et=et>0?et:1,ft=ft>0?ft:1,bt=bt>=et?bt:et,Bt=Bt>0?Bt:ft,{resource:o,owner:t,code:B,severity:q,message:me,source:Ee,startLineNumber:et,startColumn:ft,endLineNumber:bt,endColumn:Bt,relatedInformation:_i,tags:Qi}}read(t=Object.create(null)){let{owner:o,resource:_,severities:B,take:q}=t;if((!q||q<0)&&(q=-1),o&&_){const me=this._data.get(_,o);if(me){const Ee=[];for(const et of me)if(ho._accept(et,B)){const ft=Ee.push(et);if(q>0&&ft===q)break}return Ee}else return[]}else if(!o&&!_){const me=[];for(let Ee of this._data.values())for(let et of Ee)if(ho._accept(et,B)){const ft=me.push(et);if(q>0&&ft===q)return me}return me}else{const me=this._data.values(_!=null?_:o),Ee=[];for(const et of me)for(const ft of et)if(ho._accept(ft,B)){const bt=Ee.push(ft);if(q>0&&bt===q)return Ee}return Ee}}static _accept(t,o){return o===void 0||(o&t.severity)===t.severity}static _merge(t){const o=new We.Y9;for(let _ of t)for(let B of _)o.set(B,!0);return Array.from(o.keys())}}var Wa=i(19490),Va=function(S,t,o,_){var B=arguments.length,q=B<3?t:_===null?_=Object.getOwnPropertyDescriptor(t,o):_,me;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(S,t,o,_);else for(var Ee=S.length-1;Ee>=0;Ee--)(me=S[Ee])&&(q=(B<3?me(q):B>3?me(t,o,q):me(t,o))||q);return B>3&&q&&Object.defineProperty(t,o,q),q},cr=function(S,t){return function(o,_){t(o,_,S)}};let ia=class{constructor(t){this._commandService=t}createMenu(t,o,_){return new na(t,Object.assign({emitEventsForSubmenuChanges:!1,eventDebounceDelay:50},_),this._commandService,o,this)}};ia=Va([cr(0,W.H)],ia);let na=class Io{constructor(t,o,_,B,q){this._id=t,this._options=o,this._commandService=_,this._contextKeyService=B,this._menuService=q,this._disposables=new ni.SL,this._menuGroups=[],this._contextKeys=new Set,this._build();const me=new oi.pY(()=>{this._build(),this._onDidChange.fire(this)},o.eventDebounceDelay);this._disposables.add(me),this._disposables.add(ys.BH.onDidChangeMenu(ft=>{ft.has(t)&&me.schedule()}));const Ee=this._disposables.add(new ni.SL),et=()=>{const ft=new oi.pY(()=>this._onDidChange.fire(this),o.eventDebounceDelay);Ee.add(ft),Ee.add(B.onDidChangeContext(bt=>{bt.affectsSome(this._contextKeys)&&ft.schedule()}))};this._onDidChange=new O.Q5({onFirstListenerAdd:et,onLastListenerRemove:Ee.clear.bind(Ee)}),this.onDidChange=this._onDidChange.event}dispose(){this._disposables.dispose(),this._onDidChange.dispose()}_build(){this._menuGroups.length=0,this._contextKeys.clear();const t=ys.BH.getMenuItems(this._id);let o;t.sort(Io._compareMenuItems);for(const _ of t){const B=_.group||"";(!o||o[0]!==B)&&(o=[B,[]],this._menuGroups.push(o)),o[1].push(_),this._collectContextKeys(_)}}_collectContextKeys(t){if(Io._fillInKbExprKeys(t.when,this._contextKeys),(0,ys.vr)(t)){if(t.command.precondition&&Io._fillInKbExprKeys(t.command.precondition,this._contextKeys),t.command.toggled){const o=t.command.toggled.condition||t.command.toggled;Io._fillInKbExprKeys(o,this._contextKeys)}}else this._options.emitEventsForSubmenuChanges&&ys.BH.getMenuItems(t.submenu).forEach(this._collectContextKeys,this)}getActions(t){const o=[];for(let _ of this._menuGroups){const[B,q]=_,me=[];for(const Ee of q)if(this._contextKeyService.contextMatchesRules(Ee.when)){const et=(0,ys.vr)(Ee)?new ys.U8(Ee.command,Ee.alt,t,this._contextKeyService,this._commandService):new ys.NZ(Ee,this._menuService,this._contextKeyService,t);me.push(et)}me.length>0&&o.push([B,me])}return o}static _fillInKbExprKeys(t,o){if(t)for(let _ of t.keys())o.add(_)}static _compareMenuItems(t,o){let _=t.group,B=o.group;if(_!==B){if(_){if(!B)return-1}else return 1;if(_==="navigation")return-1;if(B==="navigation")return 1;let Ee=_.localeCompare(B);if(Ee!==0)return Ee}let q=t.order||0,me=o.order||0;return qme?1:Io._compareTitles((0,ys.vr)(t)?t.command.title:t.title,(0,ys.vr)(o)?o.command.title:o.title)}static _compareTitles(t,o){const _=typeof t=="string"?t:t.original,B=typeof o=="string"?o:o.original;return _.localeCompare(B)}};na=Va([cr(2,W.H),cr(3,_t.i6),cr(4,ys.co)],na);var Xl=i(49178),Jl=function(S,t,o,_){var B=arguments.length,q=B<3?t:_===null?_=Object.getOwnPropertyDescriptor(t,o):_,me;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(S,t,o,_);else for(var Ee=S.length-1;Ee>=0;Ee--)(me=S[Ee])&&(q=(B<3?me(q):B>3?me(t,o,q):me(t,o))||q);return B>3&&q&&Object.defineProperty(t,o,q),q},Ha=function(S,t){return function(o,_){t(o,_,S)}};class ql extends ni.JT{constructor(t){super(),this.model=t,this._markersData=new Map,this._register((0,ni.OF)(()=>{this.model.deltaDecorations([...this._markersData.keys()],[]),this._markersData.clear()}))}update(t,o){const _=[...this._markersData.keys()];this._markersData.clear();const B=this.model.deltaDecorations(_,o);for(let q=0;qthis._onModelAdded(_)),this._register(t.onModelAdded(this._onModelAdded,this)),this._register(t.onModelRemoved(this._onModelRemoved,this)),this._register(this._markerService.onMarkerChanged(this._handleMarkerChange,this))}dispose(){super.dispose(),this._markerDecorations.forEach(t=>t.dispose()),this._markerDecorations.clear()}getMarker(t,o){const _=this._markerDecorations.get(t);return _&&_.getMarker(o)||null}_handleMarkerChange(t){t.forEach(o=>{const _=this._markerDecorations.get(o);_&&this._updateDecorations(_)})}_onModelAdded(t){const o=new ql(t);this._markerDecorations.set(t.uri,o),this._updateDecorations(o)}_onModelRemoved(t){const o=this._markerDecorations.get(t.uri);o&&(o.dispose(),this._markerDecorations.delete(t.uri)),(t.uri.scheme===fe.lg.inMemory||t.uri.scheme===fe.lg.internal||t.uri.scheme===fe.lg.vscode)&&this._markerService&&this._markerService.read({resource:t.uri}).map(_=>_.owner).forEach(_=>this._markerService.remove(_,[t.uri]))}_updateDecorations(t){const o=this._markerService.read({resource:t.model.uri,take:500});let _=o.map(B=>({range:this._createDecorationRange(t.model,B),options:this._createDecorationOption(B)}));t.update(o,_)&&this._onDidChangeMarker.fire(t.model)}_createDecorationRange(t,o){let _=I.e.lift(o);return o.severity===Bs.ZL.Hint&&!this._hasMarkerTag(o,1)&&!this._hasMarkerTag(o,2)&&(_=_.setEndPosition(_.startLineNumber,_.startColumn+2)),t.validateRange(_)}_createDecorationOption(t){let o,_,B,q,me;switch(t.severity){case Bs.ZL.Hint:this._hasMarkerTag(t,2)?o=void 0:this._hasMarkerTag(t,1)?o="squiggly-unnecessary":o="squiggly-hint",B=0;break;case Bs.ZL.Warning:o="squiggly-warning",_=(0,Cs.EN)(As.Re),B=20,me={color:(0,Cs.EN)(dn.Iv),position:Xe.F5.Inline};break;case Bs.ZL.Info:o="squiggly-info",_=(0,Cs.EN)(As.eS),B=10;break;case Bs.ZL.Error:default:o="squiggly-error",_=(0,Cs.EN)(As.lK),B=30,me={color:(0,Cs.EN)(dn.Gj),position:Xe.F5.Inline};break}return t.tags&&(t.tags.indexOf(1)!==-1&&(q="squiggly-inline-unnecessary"),t.tags.indexOf(2)!==-1&&(q="squiggly-inline-deprecated")),{description:"marker-decoration",stickiness:1,className:o,showIfCollapsed:!0,overviewRuler:{color:_,position:Xe.sh.Right},minimap:me,zIndex:B,inlineClassName:q}}_hasMarkerTag(t,o){return t.tags?t.tags.indexOf(o)>=0:!1}};sa=Jl([Ha(0,Gn.q),Ha(1,Bs.lT)],sa);var Ua=i(7335),ed=function(S,t,o,_){var B=arguments.length,q=B<3?t:_===null?_=Object.getOwnPropertyDescriptor(t,o):_,me;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(S,t,o,_);else for(var Ee=S.length-1;Ee>=0;Ee--)(me=S[Ee])&&(q=(B<3?me(q):B>3?me(t,o,q):me(t,o))||q);return B>3&&q&&Object.defineProperty(t,o,q),q},za=function(S,t){return function(o,_){t(o,_,S)}};let oa=class extends ni.JT{constructor(t,o){super(),this._contextKeyService=t,this._configurationService=o,this._accessibilitySupport=0,this._onDidChangeScreenReaderOptimized=new O.Q5,this._accessibilityModeEnabledContext=xs.U.bindTo(this._contextKeyService);const _=()=>this._accessibilityModeEnabledContext.set(this.isScreenReaderOptimized());this._register(this._configurationService.onDidChangeConfiguration(B=>{B.affectsConfiguration("editor.accessibilitySupport")&&(_(),this._onDidChangeScreenReaderOptimized.fire())})),_(),this.onDidChangeScreenReaderOptimized(()=>_())}get onDidChangeScreenReaderOptimized(){return this._onDidChangeScreenReaderOptimized.event}isScreenReaderOptimized(){const t=this._configurationService.getValue("editor.accessibilitySupport");return t==="on"||t==="auto"&&this._accessibilitySupport===2}getAccessibilitySupport(){return this._accessibilitySupport}};oa=ed([za(0,_t.i6),za(1,Hi.Ui)],oa);var ur=function(S,t,o,_){function B(q){return q instanceof o?q:new o(function(me){me(q)})}return new(o||(o=Promise))(function(q,me){function Ee(bt){try{ft(_.next(bt))}catch(Bt){me(Bt)}}function et(bt){try{ft(_.throw(bt))}catch(Bt){me(Bt)}}function ft(bt){bt.done?q(bt.value):B(bt.value).then(Ee,et)}ft((_=_.apply(S,t||[])).next())})};class td{constructor(){this.mapTextToType=new Map,this.findText=""}writeText(t,o){return ur(this,void 0,void 0,function*(){if(o){this.mapTextToType.set(o,t);return}try{return yield navigator.clipboard.writeText(t)}catch(q){console.error(q)}const _=document.activeElement,B=document.body.appendChild((0,ce.$)("textarea",{"aria-hidden":!0}));B.style.height="1px",B.style.width="1px",B.style.position="absolute",B.value=t,B.focus(),B.select(),document.execCommand("copy"),_ instanceof HTMLElement&&_.focus(),document.body.removeChild(B)})}readText(t){return ur(this,void 0,void 0,function*(){if(t)return this.mapTextToType.get(t)||"";try{return yield navigator.clipboard.readText()}catch(o){return console.error(o),""}})}readFindText(){return ur(this,void 0,void 0,function*(){return this.findText})}writeFindText(t){return ur(this,void 0,void 0,function*(){this.findText=t})}}var Ws=i(1085),id=function(S,t,o,_){var B=arguments.length,q=B<3?t:_===null?_=Object.getOwnPropertyDescriptor(t,o):_,me;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(S,t,o,_);else for(var Ee=S.length-1;Ee>=0;Ee--)(me=S[Ee])&&(q=(B<3?me(q):B>3?me(t,o,q):me(t,o))||q);return B>3&&q&&Object.defineProperty(t,o,q),q},Ka=function(S,t){return function(o,_){t(o,_,S)}},hr=function(S,t,o,_){function B(q){return q instanceof o?q:new o(function(me){me(q)})}return new(o||(o=Promise))(function(q,me){function Ee(bt){try{ft(_.next(bt))}catch(Bt){me(Bt)}}function et(bt){try{ft(_.throw(bt))}catch(Bt){me(Bt)}}function ft(bt){bt.done?q(bt.value):B(bt.value).then(Ee,et)}ft((_=_.apply(S,t||[])).next())})};const Lo=!1;function fr(S){return S.scheme===fe.lg.file?S.fsPath:S.path}let ja=0;class gr{constructor(t,o,_,B,q,me,Ee){this.id=++ja,this.type=0,this.actual=t,this.label=t.label,this.confirmBeforeUndo=t.confirmBeforeUndo||!1,this.resourceLabel=o,this.strResource=_,this.resourceLabels=[this.resourceLabel],this.strResources=[this.strResource],this.groupId=B,this.groupOrder=q,this.sourceId=me,this.sourceOrder=Ee,this.isValid=!0}setValid(t){this.isValid=t}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.isValid?" VALID":"INVALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class $a{constructor(t,o){this.resourceLabel=t,this.reason=o}}class Ga{constructor(){this.elements=new Map}createMessage(){const t=[],o=[];for(const[,B]of this.elements)(B.reason===0?t:o).push(B.resourceLabel);let _=[];return t.length>0&&_.push(U.N({key:"externalRemoval",comment:["{0} is a list of filenames"]},"The following files have been closed and modified on disk: {0}.",t.join(", "))),o.length>0&&_.push(U.N({key:"noParallelUniverses",comment:["{0} is a list of filenames"]},"The following files have been modified in an incompatible way: {0}.",o.join(", "))),_.join(`
`)}get size(){return this.elements.size}has(t){return this.elements.has(t)}set(t,o){this.elements.set(t,o)}delete(t){return this.elements.delete(t)}}class nd{constructor(t,o,_,B,q,me,Ee){this.id=++ja,this.type=1,this.actual=t,this.label=t.label,this.confirmBeforeUndo=t.confirmBeforeUndo||!1,this.resourceLabels=o,this.strResources=_,this.groupId=B,this.groupOrder=q,this.sourceId=me,this.sourceOrder=Ee,this.removedResources=null,this.invalidatedResources=null}canSplit(){return typeof this.actual.split=="function"}removeResource(t,o,_){this.removedResources||(this.removedResources=new Ga),this.removedResources.has(o)||this.removedResources.set(o,new $a(t,_))}setValid(t,o,_){_?this.invalidatedResources&&(this.invalidatedResources.delete(o),this.invalidatedResources.size===0&&(this.invalidatedResources=null)):(this.invalidatedResources||(this.invalidatedResources=new Ga),this.invalidatedResources.has(o)||this.invalidatedResources.set(o,new $a(t,0)))}toString(){return`[id:${this.id}] [group:${this.groupId}] [${this.invalidatedResources?"INVALID":" VALID"}] ${this.actual.constructor.name} - ${this.actual}`}}class Za{constructor(t,o){this.resourceLabel=t,this.strResource=o,this._past=[],this._future=[],this.locked=!1,this.versionId=1}dispose(){for(const t of this._past)t.type===1&&t.removeResource(this.resourceLabel,this.strResource,0);for(const t of this._future)t.type===1&&t.removeResource(this.resourceLabel,this.strResource,0);this.versionId++}toString(){let t=[];t.push(`* ${this.strResource}:`);for(let o=0;o=0;o--)t.push(` * [REDO] ${this._future[o]}`);return t.join(`
`)}flushAllElements(){this._past=[],this._future=[],this.versionId++}_setElementValidFlag(t,o){t.type===1?t.setValid(this.resourceLabel,this.strResource,o):t.setValid(o)}setElementsValidFlag(t,o){for(const _ of this._past)o(_.actual)&&this._setElementValidFlag(_,t);for(const _ of this._future)o(_.actual)&&this._setElementValidFlag(_,t)}pushElement(t){for(const o of this._future)o.type===1&&o.removeResource(this.resourceLabel,this.strResource,1);this._future=[],this._past.push(t),this.versionId++}createSnapshot(t){const o=[];for(let _=0,B=this._past.length;_=0;_--)o.push(this._future[_].id);return new Ws.YO(t,o)}restoreSnapshot(t){const o=t.elements.length;let _=!0,B=0,q=-1;for(let Ee=0,et=this._past.length;Ee=o||ft.id!==t.elements[B])&&(_=!1,q=0),!_&&ft.type===1&&ft.removeResource(this.resourceLabel,this.strResource,0)}let me=-1;for(let Ee=this._future.length-1;Ee>=0;Ee--,B++){const et=this._future[Ee];_&&(B>=o||et.id!==t.elements[B])&&(_=!1,me=Ee),!_&&et.type===1&&et.removeResource(this.resourceLabel,this.strResource,0)}q!==-1&&(this._past=this._past.slice(0,q)),me!==-1&&(this._future=this._future.slice(me+1)),this.versionId++}getElements(){const t=[],o=[];for(const _ of this._past)t.push(_.actual);for(const _ of this._future)o.push(_.actual);return{past:t,future:o}}getClosestPastElement(){return this._past.length===0?null:this._past[this._past.length-1]}getSecondClosestPastElement(){return this._past.length<2?null:this._past[this._past.length-2]}getClosestFutureElement(){return this._future.length===0?null:this._future[this._future.length-1]}hasPastElements(){return this._past.length>0}hasFutureElements(){return this._future.length>0}splitPastWorkspaceElement(t,o){for(let _=this._past.length-1;_>=0;_--)if(this._past[_]===t){o.has(this.strResource)?this._past[_]=o.get(this.strResource):this._past.splice(_,1);break}this.versionId++}splitFutureWorkspaceElement(t,o){for(let _=this._future.length-1;_>=0;_--)if(this._future[_]===t){o.has(this.strResource)?this._future[_]=o.get(this.strResource):this._future.splice(_,1);break}this.versionId++}moveBackward(t){this._past.pop(),this._future.push(t),this.versionId++}moveForward(t){this._future.pop(),this._past.push(t),this.versionId++}}class ra{constructor(t){this.editStacks=t,this._versionIds=[];for(let o=0,_=this.editStacks.length;o<_;o++)this._versionIds[o]=this.editStacks[o].versionId}isValid(){for(let t=0,o=this.editStacks.length;to.sourceOrder)&&(o=me,_=B)}return[o,_]}canUndo(t){if(t instanceof Ws.gJ){const[,_]=this._findClosestUndoElementWithSource(t.id);return!!_}const o=this.getUriComparisonKey(t);return this._editStacks.has(o)?this._editStacks.get(o).hasPastElements():!1}_onError(t,o){(0,hi.dL)(t);for(const _ of o.strResources)this.removeElements(_);this._notificationService.error(t)}_acquireLocks(t){for(const o of t.editStacks)if(o.locked)throw new Error("Cannot acquire edit stack lock");for(const o of t.editStacks)o.locked=!0;return()=>{for(const o of t.editStacks)o.locked=!1}}_safeInvokeWithLocks(t,o,_,B,q){const me=this._acquireLocks(_);let Ee;try{Ee=o()}catch(et){return me(),B.dispose(),this._onError(et,t)}return Ee?Ee.then(()=>(me(),B.dispose(),q()),et=>(me(),B.dispose(),this._onError(et,t))):(me(),B.dispose(),q())}_invokeWorkspacePrepare(t){return hr(this,void 0,void 0,function*(){if(typeof t.actual.prepareUndoRedo=="undefined")return ni.JT.None;const o=t.actual.prepareUndoRedo();return typeof o=="undefined"?ni.JT.None:o})}_invokeResourcePrepare(t,o){if(t.actual.type!==1||typeof t.actual.prepareUndoRedo=="undefined")return o(ni.JT.None);const _=t.actual.prepareUndoRedo();return _?(0,ni.Wf)(_)?o(_):_.then(B=>o(B)):o(ni.JT.None)}_getAffectedEditStacks(t){const o=[];for(const _ of t.strResources)o.push(this._editStacks.get(_)||Ya);return new ra(o)}_tryToSplitAndUndo(t,o,_,B){if(o.canSplit())return this._splitPastWorkspaceElement(o,_),this._notificationService.warn(B),new pr(this._undo(t,0,!0));for(const q of o.strResources)this.removeElements(q);return this._notificationService.warn(B),new pr}_checkWorkspaceUndo(t,o,_,B){if(o.removedResources)return this._tryToSplitAndUndo(t,o,o.removedResources,U.N({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",o.label,o.removedResources.createMessage()));if(B&&o.invalidatedResources)return this._tryToSplitAndUndo(t,o,o.invalidatedResources,U.N({key:"cannotWorkspaceUndo",comment:["{0} is a label for an operation. {1} is another message."]},"Could not undo '{0}' across all files. {1}",o.label,o.invalidatedResources.createMessage()));const q=[];for(const Ee of _.editStacks)Ee.getClosestPastElement()!==o&&q.push(Ee.resourceLabel);if(q.length>0)return this._tryToSplitAndUndo(t,o,null,U.N({key:"cannotWorkspaceUndoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because changes were made to {1}",o.label,q.join(", ")));const me=[];for(const Ee of _.editStacks)Ee.locked&&me.push(Ee.resourceLabel);return me.length>0?this._tryToSplitAndUndo(t,o,null,U.N({key:"cannotWorkspaceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because there is already an undo or redo operation running on {1}",o.label,me.join(", "))):_.isValid()?null:this._tryToSplitAndUndo(t,o,null,U.N({key:"cannotWorkspaceUndoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not undo '{0}' across all files because an undo or redo operation occurred in the meantime",o.label))}_workspaceUndo(t,o,_){const B=this._getAffectedEditStacks(o),q=this._checkWorkspaceUndo(t,o,B,!1);return q?q.returnValue:this._confirmAndExecuteWorkspaceUndo(t,o,B,_)}_isPartOfUndoGroup(t){if(!t.groupId)return!1;for(const[,o]of this._editStacks){const _=o.getClosestPastElement();if(_){if(_===t){const B=o.getSecondClosestPastElement();if(B&&B.groupId===t.groupId)return!0}if(_.groupId===t.groupId)return!0}}return!1}_confirmAndExecuteWorkspaceUndo(t,o,_,B){return hr(this,void 0,void 0,function*(){if(o.canSplit()&&!this._isPartOfUndoGroup(o)){const Ee=yield this._dialogService.show(os.Z.Info,U.N("confirmWorkspace","Would you like to undo '{0}' across all files?",o.label),[U.N({key:"ok",comment:["{0} denotes a number that is > 1"]},"Undo in {0} Files",_.editStacks.length),U.N("nok","Undo this File"),U.N("cancel","Cancel")],{cancelId:2});if(Ee.choice===2)return;if(Ee.choice===1)return this._splitPastWorkspaceElement(o,null),this._undo(t,0,!0);const et=this._checkWorkspaceUndo(t,o,_,!1);if(et)return et.returnValue;B=!0}let q;try{q=yield this._invokeWorkspacePrepare(o)}catch(Ee){return this._onError(Ee,o)}const me=this._checkWorkspaceUndo(t,o,_,!0);if(me)return q.dispose(),me.returnValue;for(const Ee of _.editStacks)Ee.moveBackward(o);return this._safeInvokeWithLocks(o,()=>o.actual.undo(),_,q,()=>this._continueUndoInGroup(o.groupId,B))})}_resourceUndo(t,o,_){if(!o.isValid){t.flushAllElements();return}if(t.locked){const B=U.N({key:"cannotResourceUndoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not undo '{0}' because there is already an undo or redo operation running.",o.label);this._notificationService.warn(B);return}return this._invokeResourcePrepare(o,B=>(t.moveBackward(o),this._safeInvokeWithLocks(o,()=>o.actual.undo(),new ra([t]),B,()=>this._continueUndoInGroup(o.groupId,_))))}_findClosestUndoElementInGroup(t){if(!t)return[null,null];let o=null,_=null;for(const[B,q]of this._editStacks){const me=q.getClosestPastElement();me&&me.groupId===t&&(!o||me.groupOrder>o.groupOrder)&&(o=me,_=B)}return[o,_]}_continueUndoInGroup(t,o){if(!t)return;const[,_]=this._findClosestUndoElementInGroup(t);if(_)return this._undo(_,0,o)}undo(t){if(t instanceof Ws.gJ){const[,o]=this._findClosestUndoElementWithSource(t.id);return o?this._undo(o,t.id,!1):void 0}return typeof t=="string"?this._undo(t,0,!1):this._undo(this.getUriComparisonKey(t),0,!1)}_undo(t,o=0,_){if(!this._editStacks.has(t))return;const B=this._editStacks.get(t),q=B.getClosestPastElement();if(!q)return;if(q.groupId){const[Ee,et]=this._findClosestUndoElementInGroup(q.groupId);if(q!==Ee&&et)return this._undo(et,o,_)}if((q.sourceId!==o||q.confirmBeforeUndo)&&!_)return this._confirmAndContinueUndo(t,o,q);try{return q.type===1?this._workspaceUndo(t,q,_):this._resourceUndo(B,q,_)}finally{Lo&&this._print("undo")}}_confirmAndContinueUndo(t,o,_){return hr(this,void 0,void 0,function*(){if((yield this._dialogService.show(os.Z.Info,U.N("confirmDifferentSource","Would you like to undo '{0}'?",_.label),[U.N("confirmDifferentSource.yes","Yes"),U.N("cancel","Cancel")],{cancelId:1})).choice!==1)return this._undo(t,o,!0)})}_findClosestRedoElementWithSource(t){if(!t)return[null,null];let o=null,_=null;for(const[B,q]of this._editStacks){const me=q.getClosestFutureElement();me&&me.sourceId===t&&(!o||me.sourceOrder0)return this._tryToSplitAndRedo(t,o,null,U.N({key:"cannotWorkspaceRedoDueToChanges",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because changes were made to {1}",o.label,q.join(", ")));const me=[];for(const Ee of _.editStacks)Ee.locked&&me.push(Ee.resourceLabel);return me.length>0?this._tryToSplitAndRedo(t,o,null,U.N({key:"cannotWorkspaceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because there is already an undo or redo operation running on {1}",o.label,me.join(", "))):_.isValid()?null:this._tryToSplitAndRedo(t,o,null,U.N({key:"cannotWorkspaceRedoDueToInMeantimeUndoRedo",comment:["{0} is a label for an operation. {1} is a list of filenames."]},"Could not redo '{0}' across all files because an undo or redo operation occurred in the meantime",o.label))}_workspaceRedo(t,o){const _=this._getAffectedEditStacks(o),B=this._checkWorkspaceRedo(t,o,_,!1);return B?B.returnValue:this._executeWorkspaceRedo(t,o,_)}_executeWorkspaceRedo(t,o,_){return hr(this,void 0,void 0,function*(){let B;try{B=yield this._invokeWorkspacePrepare(o)}catch(me){return this._onError(me,o)}const q=this._checkWorkspaceRedo(t,o,_,!0);if(q)return B.dispose(),q.returnValue;for(const me of _.editStacks)me.moveForward(o);return this._safeInvokeWithLocks(o,()=>o.actual.redo(),_,B,()=>this._continueRedoInGroup(o.groupId))})}_resourceRedo(t,o){if(!o.isValid){t.flushAllElements();return}if(t.locked){const _=U.N({key:"cannotResourceRedoDueToInProgressUndoRedo",comment:["{0} is a label for an operation."]},"Could not redo '{0}' because there is already an undo or redo operation running.",o.label);this._notificationService.warn(_);return}return this._invokeResourcePrepare(o,_=>(t.moveForward(o),this._safeInvokeWithLocks(o,()=>o.actual.redo(),new ra([t]),_,()=>this._continueRedoInGroup(o.groupId))))}_findClosestRedoElementInGroup(t){if(!t)return[null,null];let o=null,_=null;for(const[B,q]of this._editStacks){const me=q.getClosestFutureElement();me&&me.groupId===t&&(!o||me.groupOrder{this._register((0,ce.nm)(this._element,_,B=>{if(!this.enabled){ce.zB.stop(B);return}this._onDidClick.fire(B)}))}),this._register((0,ce.nm)(this._element,ce.tw.KEY_DOWN,_=>{const B=new cs.y(_);let q=!1;this.enabled&&(B.equals(3)||B.equals(10))?(this._onDidClick.fire(_),q=!0):B.equals(9)&&(this._element.blur(),q=!0),q&&ce.zB.stop(B,!0)})),this._register((0,ce.nm)(this._element,ce.tw.MOUSE_OVER,_=>{this._element.classList.contains("disabled")||this.setHoverBackground()})),this._register((0,ce.nm)(this._element,ce.tw.MOUSE_OUT,_=>{this.applyStyles()})),this.focusTracker=this._register((0,ce.go)(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let t;this.options.secondary?t=this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:t=this.buttonHoverBackground?this.buttonHoverBackground.toString():null,t&&(this._element.style.backgroundColor=t)}style(t){this.buttonForeground=t.buttonForeground,this.buttonBackground=t.buttonBackground,this.buttonHoverBackground=t.buttonHoverBackground,this.buttonSecondaryForeground=t.buttonSecondaryForeground,this.buttonSecondaryBackground=t.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=t.buttonSecondaryHoverBackground,this.buttonBorder=t.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let t,o;this.options.secondary?(o=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",t=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(o=this.buttonForeground?this.buttonForeground.toString():"",t=this.buttonBackground?this.buttonBackground.toString():"");const _=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=o,this._element.style.backgroundColor=t,this._element.style.borderWidth=_?"1px":"",this._element.style.borderStyle=_?"solid":"",this._element.style.borderColor=_}}get element(){return this._element}set label(t){this._element.classList.add("monaco-text-button"),this.options.supportIcons?(0,ce.mc)(this._element,...(0,Qa.T)(t)):this._element.textContent=t,typeof this.options.title=="string"?this._element.title=this.options.title:this.options.title&&(this._element.title=t)}set enabled(t){t?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}get enabled(){return!this._element.classList.contains("disabled")}}var Ja=i(41221);const qa="done",el="active",aa="infinite",tl="discrete",rd={progressBarBackground:Fs.Il.fromHex("#0E70C0")};class ad extends ni.JT{constructor(t,o){super(),this.options=o||Object.create(null),(0,vn.jB)(this.options,rd,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this._register(this.showDelayedScheduler=new oi.pY(()=>(0,ce.$Z)(this.element),0)),this.create(t)}create(t){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),t.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(el,aa,tl),this.workedVal=0,this.totalWork=void 0}stop(){return this.doDone(!1)}doDone(t){return this.element.classList.add(qa),this.element.classList.contains(aa)?(this.bit.style.opacity="0",t?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",t?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(tl,qa),this.element.classList.add(el,aa),this}getContainer(){return this.element}style(t){this.progressBarBackground=t.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const t=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=t}}}var ld=i(85035);const la={},dd=new ld.R("quick-input-button-icon-");function da(S){if(!S)return;let t;const o=S.dark.toString();return la[o]?t=la[o]:(t=dd.nextId(),ce.fk(`.${t}`,`background-image: ${ce.wY(S.light||S.dark)}`),ce.fk(`.vs-dark .${t}, .hc-black .${t}`,`background-image: ${ce.wY(S.dark)}`),la[o]=t),t}var Ms=i(29711),cd=i(23280);const ud=ce.$;class hd extends ni.JT{constructor(t){super(),this.parent=t,this.onKeyDown=o=>ce.nm(this.inputBox.inputElement,ce.tw.KEY_DOWN,_=>{o(new cs.y(_))}),this.onMouseDown=o=>ce.nm(this.inputBox.inputElement,ce.tw.MOUSE_DOWN,_=>{o(new Kn.n(_))}),this.onDidChange=o=>this.inputBox.onDidChange(o),this.container=ce.R3(this.parent,ud(".quick-input-box")),this.inputBox=this._register(new cd.W(this.container,void 0))}get value(){return this.inputBox.value}set value(t){this.inputBox.value=t}select(t=null){this.inputBox.select(t)}isSelectionAtEnd(){return this.inputBox.isSelectionAtEnd()}get placeholder(){return this.inputBox.inputElement.getAttribute("placeholder")||""}set placeholder(t){this.inputBox.setPlaceHolder(t)}get ariaLabel(){return this.inputBox.getAriaLabel()}set ariaLabel(t){this.inputBox.setAriaLabel(t)}get password(){return this.inputBox.inputElement.type==="password"}set password(t){this.inputBox.inputElement.type=t?"password":"text"}setAttribute(t,o){this.inputBox.inputElement.setAttribute(t,o)}removeAttribute(t){this.inputBox.inputElement.removeAttribute(t)}showDecoration(t){t===os.Z.Ignore?this.inputBox.hideMessage():this.inputBox.showMessage({type:t===os.Z.Info?1:t===os.Z.Warning?2:3,content:""})}stylesForType(t){return this.inputBox.stylesForType(t===os.Z.Info?1:t===os.Z.Warning?2:3)}setFocus(){this.inputBox.focus()}layout(){this.inputBox.layout()}style(t){this.inputBox.style(t)}}var fd=i(37357),gd=i(28442);const _r=ce.$;class ca{constructor(t,o,_){this.os=o,this.keyElements=new Set,this.options=_||Object.create(null),this.labelBackground=this.options.keybindingLabelBackground,this.labelForeground=this.options.keybindingLabelForeground,this.labelBorder=this.options.keybindingLabelBorder,this.labelBottomBorder=this.options.keybindingLabelBottomBorder,this.labelShadow=this.options.keybindingLabelShadow,this.domNode=ce.R3(t,_r(".monaco-keybinding")),this.didEverRender=!1,t.appendChild(this.domNode)}get element(){return this.domNode}set(t,o){this.didEverRender&&this.keybinding===t&&ca.areSame(this.matches,o)||(this.keybinding=t,this.matches=o,this.render())}render(){if(this.clear(),this.keybinding){let[t,o]=this.keybinding.getParts();t&&this.renderPart(this.domNode,t,this.matches?this.matches.firstPart:null),o&&(ce.R3(this.domNode,_r("span.monaco-keybinding-key-chord-separator",void 0," ")),this.renderPart(this.domNode,o,this.matches?this.matches.chordPart:null)),this.domNode.title=this.keybinding.getAriaLabel()||""}else this.options&&this.options.renderUnboundKeybindings&&this.renderUnbound(this.domNode);this.applyStyles(),this.didEverRender=!0}clear(){ce.PO(this.domNode),this.keyElements.clear()}renderPart(t,o,_){const B=ci.xo.modifierLabels[this.os];o.ctrlKey&&this.renderKey(t,B.ctrlKey,!!(_!=null&&_.ctrlKey),B.separator),o.shiftKey&&this.renderKey(t,B.shiftKey,!!(_!=null&&_.shiftKey),B.separator),o.altKey&&this.renderKey(t,B.altKey,!!(_!=null&&_.altKey),B.separator),o.metaKey&&this.renderKey(t,B.metaKey,!!(_!=null&&_.metaKey),B.separator);const q=o.keyLabel;q&&this.renderKey(t,q,!!(_!=null&&_.keyCode),"")}renderKey(t,o,_,B){ce.R3(t,this.createKeyElement(o,_?".highlight":"")),B&&ce.R3(t,_r("span.monaco-keybinding-key-separator",void 0,B))}renderUnbound(t){ce.R3(t,this.createKeyElement((0,U.N)("unbound","Unbound")))}createKeyElement(t,o=""){const _=_r("span.monaco-keybinding-key"+o,void 0,t);return this.keyElements.add(_),_}style(t){this.labelBackground=t.keybindingLabelBackground,this.labelForeground=t.keybindingLabelForeground,this.labelBorder=t.keybindingLabelBorder,this.labelBottomBorder=t.keybindingLabelBottomBorder,this.labelShadow=t.keybindingLabelShadow,this.applyStyles()}applyStyles(){var t;if(this.element){for(const o of this.keyElements)this.labelBackground&&(o.style.backgroundColor=(t=this.labelBackground)===null||t===void 0?void 0:t.toString()),this.labelBorder&&(o.style.borderColor=this.labelBorder.toString()),this.labelBottomBorder&&(o.style.borderBottomColor=this.labelBottomBorder.toString()),this.labelShadow&&(o.style.boxShadow=`inset 0 -1px 0 ${this.labelShadow}`);this.labelForeground&&(this.element.style.color=this.labelForeground.toString())}}static areSame(t,o){return t===o||!t&&!o?!0:!!t&&!!o&&(0,vn.fS)(t.firstPart,o.firstPart)&&(0,vn.fS)(t.chordPart,o.chordPart)}}const il=new oi.Ue(()=>{const S=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:S,collatorIsNumeric:S.resolvedOptions().numeric}});function md(S,t,o=!1){const _=S||"",B=t||"",q=il.value.collator.compare(_,B);return il.value.collatorIsNumeric&&q===0&&_!==B?_B.length)return 1}return 0}var nl=i(85402),sl=function(S,t,o,_){var B=arguments.length,q=B<3?t:_===null?_=Object.getOwnPropertyDescriptor(t,o):_,me;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")q=Reflect.decorate(S,t,o,_);else for(var Ee=S.length-1;Ee>=0;Ee--)(me=S[Ee])&&(q=(B<3?me(q):B>3?me(t,o,q):me(t,o))||q);return B>3&&q&&Object.defineProperty(t,o,q),q},vd=function(S,t,o,_){function B(q){return q instanceof o?q:new o(function(me){me(q)})}return new(o||(o=Promise))(function(q,me){function Ee(bt){try{ft(_.next(bt))}catch(Bt){me(Bt)}}function et(bt){try{ft(_.throw(bt))}catch(Bt){me(Bt)}}function ft(bt){bt.done?q(bt.value):B(bt.value).then(Ee,et)}ft((_=_.apply(S,t||[])).next())})};const Vs=ce.$;class Cd{constructor(t){this.hidden=!1,this._onChecked=new O.Q5,this.onChecked=this._onChecked.event,Object.assign(this,t)}get checked(){return!!this._checked}set checked(t){t!==this._checked&&(this._checked=t,this._onChecked.fire(t))}dispose(){this._onChecked.dispose()}}class Go{get templateId(){return Go.ID}renderTemplate(t){const o=Object.create(null);o.toDisposeElement=[],o.toDisposeTemplate=[],o.entry=ce.R3(t,Vs(".quick-input-list-entry"));const _=ce.R3(o.entry,Vs("label.quick-input-list-label"));o.toDisposeTemplate.push(ce.mu(_,ce.tw.CLICK,ft=>{o.checkbox.offsetParent||ft.preventDefault()})),o.checkbox=ce.R3(_,Vs("input.quick-input-list-checkbox")),o.checkbox.type="checkbox",o.toDisposeTemplate.push(ce.mu(o.checkbox,ce.tw.CHANGE,ft=>{o.element.checked=o.checkbox.checked}));const B=ce.R3(_,Vs(".quick-input-list-rows")),q=ce.R3(B,Vs(".quick-input-list-row")),me=ce.R3(B,Vs(".quick-input-list-row"));o.label=new gd.g(q,{supportHighlights:!0,supportDescriptionHighlights:!0,supportIcons:!0});const Ee=ce.R3(q,Vs(".quick-input-list-entry-keybinding"));o.keybinding=new ca(Ee,Di.OS);const et=ce.R3(me,Vs(".quick-input-list-label-meta"));return o.detail=new fd.q(et,!0),o.separator=ce.R3(o.entry,Vs(".quick-input-list-separator")),o.actionBar=new wn.o(o.entry),o.actionBar.domNode.classList.add("quick-input-list-entry-action-bar"),o.toDisposeTemplate.push(o.actionBar),o}renderElement(t,o,_){_.toDisposeElement=(0,ni.B9)(_.toDisposeElement),_.element=t,_.checkbox.checked=t.checked,_.toDisposeElement.push(t.onChecked(ft=>_.checkbox.checked=ft));const{labelHighlights:B,descriptionHighlights:q,detailHighlights:me}=t,Ee=Object.create(null);Ee.matches=B||[],Ee.descriptionTitle=t.saneDescription,Ee.descriptionMatches=q||[],Ee.extraClasses=t.item.iconClasses,Ee.italic=t.item.italic,Ee.strikethrough=t.item.strikethrough,_.label.setLabel(t.saneLabel,t.saneDescription,Ee),_.keybinding.set(t.item.keybinding),_.detail.set(t.saneDetail,me),t.separator&&t.separator.label?(_.separator.textContent=t.separator.label,_.separator.style.display=""):_.separator.style.display="none",_.entry.classList.toggle("quick-input-list-separator-border",!!t.separator),_.actionBar.clear();const et=t.item.buttons;et&&et.length?(_.actionBar.push(et.map((ft,bt)=>{let Bt=ft.iconClass||(ft.iconPath?da(ft.iconPath):void 0);ft.alwaysVisible&&(Bt=Bt?`${Bt} always-visible`:"always-visible");const _i=new qs.aU(`id-${bt}`,"",Bt,!0,()=>vd(this,void 0,void 0,function*(){t.fireButtonTriggered({button:ft,item:t.item})}));return _i.tooltip=ft.tooltip||"",_i}),{icon:!0,label:!1}),_.entry.classList.add("has-actions")):_.entry.classList.remove("has-actions")}disposeElement(t,o,_){_.toDisposeElement=(0,ni.B9)(_.toDisposeElement)}disposeTemplate(t){t.toDisposeElement=(0,ni.B9)(t.toDisposeElement),t.toDisposeTemplate=(0,ni.B9)(t.toDisposeTemplate)}}Go.ID="listelement";class bd{getHeight(t){return t.saneDetail?44:22}getTemplateId(t){return Go.ID}}var Xn;(function(S){S[S.First=1]="First",S[S.Second=2]="Second",S[S.Last=3]="Last",S[S.Next=4]="Next",S[S.Previous=5]="Previous",S[S.NextPage=6]="NextPage",S[S.PreviousPage=7]="PreviousPage"})(Xn||(Xn={}));class ua{constructor(t,o,_){this.parent=t,this.inputElements=[],this.elements=[],this.elementsToIndexes=new Map,this.matchOnDescription=!1,this.matchOnDetail=!1,this.matchOnLabel=!0,this.matchOnMeta=!0,this.sortByLabel=!0,this._onChangedAllVisibleChecked=new O.Q5,this.onChangedAllVisibleChecked=this._onChangedAllVisibleChecked.event,this._onChangedCheckedCount=new O.Q5,this.onChangedCheckedCount=this._onChangedCheckedCount.event,this._onChangedVisibleCount=new O.Q5,this.onChangedVisibleCount=this._onChangedVisibleCount.event,this._onChangedCheckedElements=new O.Q5,this.onChangedCheckedElements=this._onChangedCheckedElements.event,this._onButtonTriggered=new O.Q5,this.onButtonTriggered=this._onButtonTriggered.event,this._onKeyDown=new O.Q5,this.onKeyDown=this._onKeyDown.event,this._onLeave=new O.Q5,this.onLeave=this._onLeave.event,this._fireCheckedEvents=!0,this.elementDisposables=[],this.disposables=[],this.id=o,this.container=ce.R3(this.parent,Vs(".quick-input-list"));const B=new bd,q=new wd;this.list=_.createList("QuickInput",this.container,B,[new Go],{identityProvider:{getId:me=>me.saneLabel},setRowLineHeight:!1,multipleSelectionSupport:!1,horizontalScrolling:!1,accessibilityProvider:q}),this.list.getHTMLElement().id=o,this.disposables.push(this.list),this.disposables.push(this.list.onKeyDown(me=>{const Ee=new cs.y(me);switch(Ee.keyCode){case 10:this.toggleCheckbox();break;case 31:(Di.dz?me.metaKey:me.ctrlKey)&&this.list.setFocus((0,pn.w6)(this.list.length));break;case 16:const et=this.list.getFocus();et.length===1&&et[0]===0&&this._onLeave.fire();break;case 18:const ft=this.list.getFocus();ft.length===1&&ft[0]===this.list.length-1&&this._onLeave.fire();break}this._onKeyDown.fire(Ee)})),this.disposables.push(this.list.onMouseDown(me=>{me.browserEvent.button!==2&&me.browserEvent.preventDefault()})),this.disposables.push(ce.nm(this.container,ce.tw.CLICK,me=>{(me.x||me.y)&&this._onLeave.fire()})),this.disposables.push(this.list.onMouseMiddleClick(me=>{this._onLeave.fire()})),this.disposables.push(this.list.onContextMenu(me=>{typeof me.index=="number"&&(me.browserEvent.preventDefault(),this.list.setSelection([me.index]))})),this.disposables.push(this._onChangedAllVisibleChecked,this._onChangedCheckedCount,this._onChangedVisibleCount,this._onChangedCheckedElements,this._onButtonTriggered,this._onLeave,this._onKeyDown)}get onDidChangeFocus(){return O.ju.map(this.list.onDidChangeFocus,t=>t.elements.map(o=>o.item))}get onDidChangeSelection(){return O.ju.map(this.list.onDidChangeSelection,t=>({items:t.elements.map(o=>o.item),event:t.browserEvent}))}get scrollTop(){return this.list.scrollTop}set scrollTop(t){this.list.scrollTop=t}getAllVisibleChecked(){return this.allVisibleChecked(this.elements,!1)}allVisibleChecked(t,o=!0){for(let _=0,B=t.length;_{o.hidden||(o.checked=t)})}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}setElements(t){this.elementDisposables=(0,ni.B9)(this.elementDisposables);const o=_=>this.fireButtonTriggered(_);this.inputElements=t,this.elements=t.reduce((_,B,q)=>{var me,Ee,et;if(B.type!=="separator"){const ft=q&&t[q-1],bt=B.label&&B.label.replace(/\r?\n/g," "),Bt=B.meta&&B.meta.replace(/\r?\n/g," "),_i=B.description&&B.description.replace(/\r?\n/g," "),Qi=B.detail&&B.detail.replace(/\r?\n/g," "),$i=B.ariaLabel||[bt,_i,Qi].map(cn=>(0,co.JL)(cn)).filter(cn=>!!cn).join(", ");_.push(new Cd({index:q,item:B,saneLabel:bt,saneMeta:Bt,saneAriaLabel:$i,saneDescription:_i,saneDetail:Qi,labelHighlights:(me=B.highlights)===null||me===void 0?void 0:me.label,descriptionHighlights:(Ee=B.highlights)===null||Ee===void 0?void 0:Ee.description,detailHighlights:(et=B.highlights)===null||et===void 0?void 0:et.detail,checked:!1,separator:ft&&ft.type==="separator"?ft:void 0,fireButtonTriggered:o}))}return _},[]),this.elementDisposables.push(...this.elements),this.elementDisposables.push(...this.elements.map(_=>_.onChecked(()=>this.fireCheckedEvents()))),this.elementsToIndexes=this.elements.reduce((_,B,q)=>(_.set(B.item,q),_),new Map),this.list.splice(0,this.list.length),this.list.splice(0,this.list.length,this.elements),this._onChangedVisibleCount.fire(this.elements.length)}getFocusedElements(){return this.list.getFocusedElements().map(t=>t.item)}setFocusedElements(t){if(this.list.setFocus(t.filter(o=>this.elementsToIndexes.has(o)).map(o=>this.elementsToIndexes.get(o))),t.length>0){const o=this.list.getFocus()[0];typeof o=="number"&&this.list.reveal(o)}}getActiveDescendant(){return this.list.getHTMLElement().getAttribute("aria-activedescendant")}setSelectedElements(t){this.list.setSelection(t.filter(o=>this.elementsToIndexes.has(o)).map(o=>this.elementsToIndexes.get(o)))}getCheckedElements(){return this.elements.filter(t=>t.checked).map(t=>t.item)}setCheckedElements(t){try{this._fireCheckedEvents=!1;const o=new Set;for(const _ of t)o.add(_);for(const _ of this.elements)_.checked=o.has(_.item)}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}set enabled(t){this.list.getHTMLElement().style.pointerEvents=t?"":"none"}focus(t){if(!this.list.length)return;switch(t===Xn.Next&&this.list.getFocus()[0]===this.list.length-1&&(t=Xn.First),t===Xn.Previous&&this.list.getFocus()[0]===0&&(t=Xn.Last),t===Xn.Second&&this.list.length<2&&(t=Xn.First),t){case Xn.First:this.list.focusFirst();break;case Xn.Second:this.list.focusNth(1);break;case Xn.Last:this.list.focusLast();break;case Xn.Next:this.list.focusNext();break;case Xn.Previous:this.list.focusPrevious();break;case Xn.NextPage:this.list.focusNextPage();break;case Xn.PreviousPage:this.list.focusPreviousPage();break}const o=this.list.getFocus()[0];typeof o=="number"&&this.list.reveal(o)}clearFocus(){this.list.setFocus([])}domFocus(){this.list.domFocus()}layout(t){this.list.getHTMLElement().style.maxHeight=t?`calc(${Math.floor(t/44)*44}px)`:"",this.list.layout()}filter(t){if(!(this.sortByLabel||this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))return this.list.layout(),!1;if(t=t.trim(),!t||!(this.matchOnLabel||this.matchOnDescription||this.matchOnDetail))this.elements.forEach(_=>{_.labelHighlights=void 0,_.descriptionHighlights=void 0,_.detailHighlights=void 0,_.hidden=!1;const B=_.index&&this.inputElements[_.index-1];_.separator=B&&B.type==="separator"?B:void 0});else{let _;this.elements.forEach(B=>{const q=this.matchOnLabel?(0,Ti.f6)((0,$s.Gt)(t,(0,$s.Ho)(B.saneLabel))):void 0,me=this.matchOnDescription?(0,Ti.f6)((0,$s.Gt)(t,(0,$s.Ho)(B.saneDescription||""))):void 0,Ee=this.matchOnDetail?(0,Ti.f6)((0,$s.Gt)(t,(0,$s.Ho)(B.saneDetail||""))):void 0,et=this.matchOnMeta?(0,Ti.f6)((0,$s.Gt)(t,(0,$s.Ho)(B.saneMeta||""))):void 0;if(q||me||Ee||et?(B.labelHighlights=q,B.descriptionHighlights=me,B.detailHighlights=Ee,B.hidden=!1):(B.labelHighlights=void 0,B.descriptionHighlights=void 0,B.detailHighlights=void 0,B.hidden=!B.item.alwaysShow),B.separator=void 0,!this.sortByLabel){const ft=B.index&&this.inputElements[B.index-1];_=ft&&ft.type==="separator"?ft:_,_&&!B.hidden&&(B.separator=_,_=void 0)}})}const o=this.elements.filter(_=>!_.hidden);if(this.sortByLabel&&t){const _=t.toLowerCase();o.sort((B,q)=>Sd(B,q,_))}return this.elementsToIndexes=o.reduce((_,B,q)=>(_.set(B.item,q),_),new Map),this.list.splice(0,this.list.length,o),this.list.setFocus([]),this.list.layout(),this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedVisibleCount.fire(o.length),!0}toggleCheckbox(){try{this._fireCheckedEvents=!1;const t=this.list.getFocusedElements(),o=this.allVisibleChecked(t);for(const _ of t)_.checked=!o}finally{this._fireCheckedEvents=!0,this.fireCheckedEvents()}}display(t){this.container.style.display=t?"":"none"}isDisplayed(){return this.container.style.display!=="none"}dispose(){this.elementDisposables=(0,ni.B9)(this.elementDisposables),this.disposables=(0,ni.B9)(this.disposables)}fireCheckedEvents(){this._fireCheckedEvents&&(this._onChangedAllVisibleChecked.fire(this.getAllVisibleChecked()),this._onChangedCheckedCount.fire(this.getCheckedCount()),this._onChangedCheckedElements.fire(this.getCheckedElements()))}fireButtonTriggered(t){this._onButtonTriggered.fire(t)}style(t){this.list.style(t)}}sl([nl.H],ua.prototype,"onDidChangeFocus",null),sl([nl.H],ua.prototype,"onDidChangeSelection",null);function Sd(S,t,o){const _=S.labelHighlights||[],B=t.labelHighlights||[];return _.length&&!B.length?-1:!_.length&&B.length?1:_.length===0&&B.length===0?0:pd(S.saneLabel,t.saneLabel,o)}class wd{getWidgetAriaLabel(){return(0,U.N)("quickInput","Quick Input")}getAriaLabel(t){return t.saneAriaLabel}getWidgetRole(){return"listbox"}getRole(){return"option"}}var ol=function(S,t,o,_){function B(q){return q instanceof o?q:new o(function(me){me(q)})}return new(o||(o=Promise))(function(q,me){function Ee(bt){try{ft(_.next(bt))}catch(Bt){me(Bt)}}function et(bt){try{ft(_.throw(bt))}catch(Bt){me(Bt)}}function ft(bt){bt.done?q(bt.value):B(bt.value).then(Ee,et)}ft((_=_.apply(S,t||[])).next())})};const Es=ce.$,ha={iconClass:(0,co.CM)("quick-input-back",co.lA.arrowLeft).classNames,tooltip:(0,U.N)("quickInput.back","Back"),handle:-1};class vr extends ni.JT{constructor(t){super(),this.ui=t,this.visible=!1,this._enabled=!0,this._busy=!1,this._ignoreFocusOut=!1,this._buttons=[],this.noValidationMessage=vr.noPromptMessage,this._severity=os.Z.Ignore,this.buttonsUpdated=!1,this.onDidTriggerButtonEmitter=this._register(new O.Q5),this.onDidHideEmitter=this._register(new O.Q5),this.onDisposeEmitter=this._register(new O.Q5),this.visibleDisposables=this._register(new ni.SL),this.onDidHide=this.onDidHideEmitter.event}get title(){return this._title}set title(t){this._title=t,this.update()}get description(){return this._description}set description(t){this._description=t,this.update()}get step(){return this._steps}set step(t){this._steps=t,this.update()}get totalSteps(){return this._totalSteps}set totalSteps(t){this._totalSteps=t,this.update()}get enabled(){return this._enabled}set enabled(t){this._enabled=t,this.update()}get contextKey(){return this._contextKey}set contextKey(t){this._contextKey=t,this.update()}get busy(){return this._busy}set busy(t){this._busy=t,this.update()}get ignoreFocusOut(){return this._ignoreFocusOut}set ignoreFocusOut(t){const o=this._ignoreFocusOut!==t&&!Di.gn;this._ignoreFocusOut=t&&!Di.gn,o&&this.update()}get buttons(){return this._buttons}set buttons(t){this._buttons=t,this.buttonsUpdated=!0,this.update()}get validationMessage(){return this._validationMessage}set validationMessage(t){this._validationMessage=t,this.update()}get severity(){return this._severity}set severity(t){this._severity=t,this.update()}show(){this.visible||(this.visibleDisposables.add(this.ui.onDidTriggerButton(t=>{this.buttons.indexOf(t)!==-1&&this.onDidTriggerButtonEmitter.fire(t)})),this.ui.show(this),this.visible=!0,this._lastValidationMessage=void 0,this._lastSeverity=void 0,this.buttons.length&&(this.buttonsUpdated=!0),this.update())}hide(){this.visible&&this.ui.hide()}didHide(t=Ms.Jq.Other){this.visible=!1,this.visibleDisposables.clear(),this.onDidHideEmitter.fire({reason:t})}update(){if(!this.visible)return;const t=this.getTitle();t&&this.ui.title.textContent!==t?this.ui.title.textContent=t:!t&&this.ui.title.innerHTML!==" "&&(this.ui.title.innerText="\xA0");const o=this.getDescription();if(this.ui.description1.textContent!==o&&(this.ui.description1.textContent=o),this.ui.description2.textContent!==o&&(this.ui.description2.textContent=o),this.busy&&!this.busyDelay&&(this.busyDelay=new oi._F,this.busyDelay.setIfNotSet(()=>{this.visible&&this.ui.progressBar.infinite()},800)),!this.busy&&this.busyDelay&&(this.ui.progressBar.stop(),this.busyDelay.cancel(),this.busyDelay=void 0),this.buttonsUpdated){this.buttonsUpdated=!1,this.ui.leftActionBar.clear();const B=this.buttons.filter(me=>me===ha);this.ui.leftActionBar.push(B.map((me,Ee)=>{const et=new qs.aU(`id-${Ee}`,"",me.iconClass||da(me.iconPath),!0,()=>ol(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(me)}));return et.tooltip=me.tooltip||"",et}),{icon:!0,label:!1}),this.ui.rightActionBar.clear();const q=this.buttons.filter(me=>me!==ha);this.ui.rightActionBar.push(q.map((me,Ee)=>{const et=new qs.aU(`id-${Ee}`,"",me.iconClass||da(me.iconPath),!0,()=>ol(this,void 0,void 0,function*(){this.onDidTriggerButtonEmitter.fire(me)}));return et.tooltip=me.tooltip||"",et}),{icon:!0,label:!1})}this.ui.ignoreFocusOut=this.ignoreFocusOut,this.ui.setEnabled(this.enabled),this.ui.setContextKey(this.contextKey);const _=this.validationMessage||this.noValidationMessage;this._lastValidationMessage!==_&&(this._lastValidationMessage=_,ce.mc(this.ui.message,...(0,Qa.T)(_))),this._lastSeverity!==this.severity&&(this._lastSeverity=this.severity,this.showMessageDecoration(this.severity))}getTitle(){return this.title&&this.step?`${this.title} (${this.getSteps()})`:this.title?this.title:this.step?this.getSteps():""}getDescription(){return this.description||""}getSteps(){return this.step&&this.totalSteps?(0,U.N)("quickInput.steps","{0}/{1}",this.step,this.totalSteps):this.step?String(this.step):""}showMessageDecoration(t){if(this.ui.inputBox.showDecoration(t),t!==os.Z.Ignore){const o=this.ui.inputBox.stylesForType(t);this.ui.message.style.color=o.foreground?`${o.foreground}`:"",this.ui.message.style.backgroundColor=o.background?`${o.background}`:"",this.ui.message.style.border=o.border?`1px solid ${o.border}`:"",this.ui.message.style.paddingBottom="4px"}else this.ui.message.style.color="",this.ui.message.style.backgroundColor="",this.ui.message.style.border="",this.ui.message.style.paddingBottom=""}dispose(){this.hide(),this.onDisposeEmitter.fire(),super.dispose()}}vr.noPromptMessage=(0,U.N)("inputModeEntry","Press 'Enter' to confirm your input or 'Escape' to cancel");class Zo extends vr{constructor(){super(...arguments),this._value="",this.onDidChangeValueEmitter=this._register(new O.Q5),this.onWillAcceptEmitter=this._register(new O.Q5),this.onDidAcceptEmitter=this._register(new O.Q5),this.onDidCustomEmitter=this._register(new O.Q5),this._items=[],this.itemsUpdated=!1,this._canSelectMany=!1,this._canAcceptInBackground=!1,this._matchOnDescription=!1,this._matchOnDetail=!1,this._matchOnLabel=!0,this._sortByLabel=!0,this._autoFocusOnList=!0,this._keepScrollPosition=!1,this._itemActivation=this.ui.isScreenReaderOptimized()?Ms.jG.NONE:Ms.jG.FIRST,this._activeItems=[],this.activeItemsUpdated=!1,this.activeItemsToConfirm=[],this.onDidChangeActiveEmitter=this._register(new O.Q5),this._selectedItems=[],this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=[],this.onDidChangeSelectionEmitter=this._register(new O.Q5),this.onDidTriggerItemButtonEmitter=this._register(new O.Q5),this.valueSelectionUpdated=!0,this._ok="default",this._customButton=!1,this.filterValue=t=>t,this.onDidChangeValue=this.onDidChangeValueEmitter.event,this.onWillAccept=this.onWillAcceptEmitter.event,this.onDidAccept=this.onDidAcceptEmitter.event,this.onDidChangeActive=this.onDidChangeActiveEmitter.event,this.onDidChangeSelection=this.onDidChangeSelectionEmitter.event,this.onDidTriggerItemButton=this.onDidTriggerItemButtonEmitter.event}get quickNavigate(){return this._quickNavigate}set quickNavigate(t){this._quickNavigate=t,this.update()}get value(){return this._value}set value(t){this._value!==t&&(this._value=t||"",this.update(),this.onDidChangeValueEmitter.fire(this._value))}set ariaLabel(t){this._ariaLabel=t,this.update()}get ariaLabel(){return this._ariaLabel}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.update()}get items(){return this._items}get scrollTop(){return this.ui.list.scrollTop}set scrollTop(t){this.ui.list.scrollTop=t}set items(t){this._items=t,this.itemsUpdated=!0,this.update()}get canSelectMany(){return this._canSelectMany}set canSelectMany(t){this._canSelectMany=t,this.update()}get canAcceptInBackground(){return this._canAcceptInBackground}set canAcceptInBackground(t){this._canAcceptInBackground=t}get matchOnDescription(){return this._matchOnDescription}set matchOnDescription(t){this._matchOnDescription=t,this.update()}get matchOnDetail(){return this._matchOnDetail}set matchOnDetail(t){this._matchOnDetail=t,this.update()}get matchOnLabel(){return this._matchOnLabel}set matchOnLabel(t){this._matchOnLabel=t,this.update()}get sortByLabel(){return this._sortByLabel}set sortByLabel(t){this._sortByLabel=t,this.update()}get autoFocusOnList(){return this._autoFocusOnList}set autoFocusOnList(t){this._autoFocusOnList=t,this.update()}get keepScrollPosition(){return this._keepScrollPosition}set keepScrollPosition(t){this._keepScrollPosition=t}get itemActivation(){return this._itemActivation}set itemActivation(t){this._itemActivation=t}get activeItems(){return this._activeItems}set activeItems(t){this._activeItems=t,this.activeItemsUpdated=!0,this.update()}get selectedItems(){return this._selectedItems}set selectedItems(t){this._selectedItems=t,this.selectedItemsUpdated=!0,this.update()}get keyMods(){return this._quickNavigate?Ms.X5:this.ui.keyMods}set valueSelection(t){this._valueSelection=t,this.valueSelectionUpdated=!0,this.update()}get customButton(){return this._customButton}set customButton(t){this._customButton=t,this.update()}get customLabel(){return this._customButtonLabel}set customLabel(t){this._customButtonLabel=t,this.update()}get customHover(){return this._customButtonHover}set customHover(t){this._customButtonHover=t,this.update()}get ok(){return this._ok}set ok(t){this._ok=t,this.update()}get hideInput(){return!!this._hideInput}set hideInput(t){this._hideInput=t,this.update()}trySelectFirst(){this.autoFocusOnList&&(this.canSelectMany||this.ui.list.focus(Xn.First))}show(){this.visible||(this.visibleDisposables.add(this.ui.inputBox.onDidChange(t=>{if(t===this.value)return;this._value=t,this.ui.list.filter(this.filterValue(this.ui.inputBox.value))&&this.trySelectFirst(),this.onDidChangeValueEmitter.fire(t)})),this.visibleDisposables.add(this.ui.inputBox.onMouseDown(t=>{this.autoFocusOnList||this.ui.list.clearFocus()})),this.visibleDisposables.add((this._hideInput?this.ui.list:this.ui.inputBox).onKeyDown(t=>{switch(t.keyCode){case 18:this.ui.list.focus(Xn.Next),this.canSelectMany&&this.ui.list.domFocus(),ce.zB.stop(t,!0);break;case 16:this.ui.list.getFocusedElements().length?this.ui.list.focus(Xn.Previous):this.ui.list.focus(Xn.Last),this.canSelectMany&&this.ui.list.domFocus(),ce.zB.stop(t,!0);break;case 12:this.ui.list.focus(Xn.NextPage),this.canSelectMany&&this.ui.list.domFocus(),ce.zB.stop(t,!0);break;case 11:this.ui.list.focus(Xn.PreviousPage),this.canSelectMany&&this.ui.list.domFocus(),ce.zB.stop(t,!0);break;case 17:if(!this._canAcceptInBackground||!this.ui.inputBox.isSelectionAtEnd())return;this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!0));break;case 14:(t.ctrlKey||t.metaKey)&&!t.shiftKey&&!t.altKey&&(this.ui.list.focus(Xn.First),ce.zB.stop(t,!0));break;case 13:(t.ctrlKey||t.metaKey)&&!t.shiftKey&&!t.altKey&&(this.ui.list.focus(Xn.Last),ce.zB.stop(t,!0));break}})),this.visibleDisposables.add(this.ui.onDidAccept(()=>{this.canSelectMany?this.ui.list.getCheckedElements().length||(this._selectedItems=[],this.onDidChangeSelectionEmitter.fire(this.selectedItems)):this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems)),this.handleAccept(!1)})),this.visibleDisposables.add(this.ui.onDidCustom(()=>{this.onDidCustomEmitter.fire()})),this.visibleDisposables.add(this.ui.list.onDidChangeFocus(t=>{this.activeItemsUpdated||this.activeItemsToConfirm!==this._activeItems&&(0,pn.fS)(t,this._activeItems,(o,_)=>o===_)||(this._activeItems=t,this.onDidChangeActiveEmitter.fire(t))})),this.visibleDisposables.add(this.ui.list.onDidChangeSelection(({items:t,event:o})=>{if(this.canSelectMany){t.length&&this.ui.list.setSelectedElements([]);return}this.selectedItemsToConfirm!==this._selectedItems&&(0,pn.fS)(t,this._selectedItems,(_,B)=>_===B)||(this._selectedItems=t,this.onDidChangeSelectionEmitter.fire(t),t.length&&this.handleAccept(o instanceof MouseEvent&&o.button===1))})),this.visibleDisposables.add(this.ui.list.onChangedCheckedElements(t=>{this.canSelectMany&&(this.selectedItemsToConfirm!==this._selectedItems&&(0,pn.fS)(t,this._selectedItems,(o,_)=>o===_)||(this._selectedItems=t,this.onDidChangeSelectionEmitter.fire(t)))})),this.visibleDisposables.add(this.ui.list.onButtonTriggered(t=>this.onDidTriggerItemButtonEmitter.fire(t))),this.visibleDisposables.add(this.registerQuickNavigation()),this.valueSelectionUpdated=!0),super.show()}handleAccept(t){let o=!1;this.onWillAcceptEmitter.fire({veto:()=>o=!0}),o||this.onDidAcceptEmitter.fire({inBackground:t})}registerQuickNavigation(){return ce.nm(this.ui.container,ce.tw.KEY_UP,t=>{if(this.canSelectMany||!this._quickNavigate)return;const o=new cs.y(t),_=o.keyCode;this._quickNavigate.keybindings.some(me=>{const[Ee,et]=me.getParts();return et?!1:Ee.shiftKey&&_===4?!(o.ctrlKey||o.altKey||o.metaKey):!!(Ee.altKey&&_===6||Ee.ctrlKey&&_===5||Ee.metaKey&&_===57)})&&(this.activeItems[0]&&(this._selectedItems=[this.activeItems[0]],this.onDidChangeSelectionEmitter.fire(this.selectedItems),this.handleAccept(!1)),this._quickNavigate=void 0)})}update(){if(!this.visible)return;const t=this.keepScrollPosition?this.scrollTop:0,o=!!this._hideInput&&this._items.length>0;this.ui.container.classList.toggle("hidden-input",o&&!this.description);const _={title:!!this.title||!!this.step||!!this.buttons.length,description:!!this.description,checkAll:this.canSelectMany&&!this._hideCheckAll,checkBox:this.canSelectMany,inputBox:!o,progressBar:!o,visibleCount:!0,count:this.canSelectMany,ok:this.ok==="default"?this.canSelectMany:this.ok,list:!0,message:!!this.validationMessage,customButton:this.customButton};this.ui.setVisibilities(_),super.update(),this.ui.inputBox.value!==this.value&&(this.ui.inputBox.value=this.value),this.valueSelectionUpdated&&(this.valueSelectionUpdated=!1,this.ui.inputBox.select(this._valueSelection&&{start:this._valueSelection[0],end:this._valueSelection[1]})),this.ui.inputBox.placeholder!==(this.placeholder||"")&&(this.ui.inputBox.placeholder=this.placeholder||"");const B=this.ariaLabel||this.placeholder||Zo.DEFAULT_ARIA_LABEL;if(this.ui.inputBox.ariaLabel!==B&&(this.ui.inputBox.ariaLabel=B),this.ui.list.matchOnDescription=this.matchOnDescription,this.ui.list.matchOnDetail=this.matchOnDetail,this.ui.list.matchOnLabel=this.matchOnLabel,this.ui.list.sortByLabel=this.sortByLabel,this.itemsUpdated)switch(this.itemsUpdated=!1,this.ui.list.setElements(this.items),this.ui.list.filter(this.filterValue(this.ui.inputBox.value)),this.ui.checkAll.checked=this.ui.list.getAllVisibleChecked(),this.ui.visibleCount.setCount(this.ui.list.getVisibleCount()),this.ui.count.setCount(this.ui.list.getCheckedCount()),this._itemActivation){case Ms.jG.NONE:this._itemActivation=Ms.jG.FIRST;break;case Ms.jG.SECOND:this.ui.list.focus(Xn.Second),this._itemActivation=Ms.jG.FIRST;break;case Ms.jG.LAST:this.ui.list.focus(Xn.Last),this._itemActivation=Ms.jG.FIRST;break;default:this.trySelectFirst();break}this.ui.container.classList.contains("show-checkboxes")!==!!this.canSelectMany&&(this.canSelectMany?this.ui.list.clearFocus():this.trySelectFirst()),this.activeItemsUpdated&&(this.activeItemsUpdated=!1,this.activeItemsToConfirm=this._activeItems,this.ui.list.setFocusedElements(this.activeItems),this.activeItemsToConfirm===this._activeItems&&(this.activeItemsToConfirm=null)),this.selectedItemsUpdated&&(this.selectedItemsUpdated=!1,this.selectedItemsToConfirm=this._selectedItems,this.canSelectMany?this.ui.list.setCheckedElements(this.selectedItems):this.ui.list.setSelectedElements(this.selectedItems),this.selectedItemsToConfirm===this._selectedItems&&(this.selectedItemsToConfirm=null)),this.ui.customButton.label=this.customLabel||"",this.ui.customButton.element.title=this.customHover||"",this.ui.setComboboxAccessibility(!0),_.inputBox||(this.ui.list.domFocus(),this.canSelectMany&&this.ui.list.focus(Xn.First)),this.keepScrollPosition&&(this.scrollTop=t)}}Zo.DEFAULT_ARIA_LABEL=(0,U.N)("quickInputBox.ariaLabel","Type to narrow down results.");class Cr extends ni.JT{constructor(t){super(),this.options=t,this.comboboxAccessibility=!1,this.enabled=!0,this.onDidAcceptEmitter=this._register(new O.Q5),this.onDidCustomEmitter=this._register(new O.Q5),this.onDidTriggerButtonEmitter=this._register(new O.Q5),this.keyMods={ctrlCmd:!1,alt:!1},this.controller=null,this.onShowEmitter=this._register(new O.Q5),this.onShow=this.onShowEmitter.event,this.onHideEmitter=this._register(new O.Q5),this.onHide=this.onHideEmitter.event,this.idPrefix=t.idPrefix,this.parentElement=t.container,this.styles=t.styles,this.registerKeyModsListeners()}registerKeyModsListeners(){const t=o=>{this.keyMods.ctrlCmd=o.ctrlKey||o.metaKey,this.keyMods.alt=o.altKey};this._register(ce.nm(window,ce.tw.KEY_DOWN,t,!0)),this._register(ce.nm(window,ce.tw.KEY_UP,t,!0)),this._register(ce.nm(window,ce.tw.MOUSE_DOWN,t,!0))}getUI(){if(this.ui)return this.ui;const t=ce.R3(this.parentElement,Es(".quick-input-widget.show-file-icons"));t.tabIndex=-1,t.style.display="none";const o=ce.dS(t),_=ce.R3(t,Es(".quick-input-titlebar")),B=this._register(new wn.o(_));B.domNode.classList.add("quick-input-left-action-bar");const q=ce.R3(_,Es(".quick-input-title")),me=this._register(new wn.o(_));me.domNode.classList.add("quick-input-right-action-bar");const Ee=ce.R3(t,Es(".quick-input-description")),et=ce.R3(t,Es(".quick-input-header")),ft=ce.R3(et,Es("input.quick-input-check-all"));ft.type="checkbox",this._register(ce.mu(ft,ce.tw.CHANGE,gn=>{const gs=ft.checked;es.setAllVisibleChecked(gs)})),this._register(ce.nm(ft,ce.tw.CLICK,gn=>{(gn.x||gn.y)&&Qi.setFocus()}));const bt=ce.R3(et,Es(".quick-input-description")),Bt=ce.R3(et,Es(".quick-input-and-message")),_i=ce.R3(Bt,Es(".quick-input-filter")),Qi=this._register(new hd(_i));Qi.setAttribute("aria-describedby",`${this.idPrefix}message`);const $i=ce.R3(_i,Es(".quick-input-visible-count"));$i.setAttribute("aria-live","polite"),$i.setAttribute("aria-atomic","true");const cn=new Ja.Z($i,{countFormat:(0,U.N)({key:"quickInput.visibleCount",comment:["This tells the user how many items are shown in a list of items to select from. The items can be anything. Currently not visible, but read by screen readers."]},"{0} Results")}),un=ce.R3(_i,Es(".quick-input-count"));un.setAttribute("aria-live","polite");const jn=new Ja.Z(un,{countFormat:(0,U.N)({key:"quickInput.countSelected",comment:["This tells the user how many items are selected in a list of items to select from. The items can be anything."]},"{0} Selected")}),In=ce.R3(et,Es(".quick-input-action")),fn=new Xa(In);fn.label=(0,U.N)("ok","OK"),this._register(fn.onDidClick(gn=>{this.onDidAcceptEmitter.fire()}));const Ln=ce.R3(et,Es(".quick-input-action")),Ns=new Xa(Ln);Ns.label=(0,U.N)("custom","Custom"),this._register(Ns.onDidClick(gn=>{this.onDidCustomEmitter.fire()}));const go=ce.R3(Bt,Es(`#${this.idPrefix}message.quick-input-message`)),es=this._register(new ua(t,this.idPrefix+"list",this.options));this._register(es.onChangedAllVisibleChecked(gn=>{ft.checked=gn})),this._register(es.onChangedVisibleCount(gn=>{cn.setCount(gn)})),this._register(es.onChangedCheckedCount(gn=>{jn.setCount(gn)})),this._register(es.onLeave(()=>{setTimeout(()=>{Qi.setFocus(),this.controller instanceof Zo&&this.controller.canSelectMany&&es.clearFocus()},0)})),this._register(es.onDidChangeFocus(()=>{this.comboboxAccessibility&&this.getUI().inputBox.setAttribute("aria-activedescendant",this.getUI().list.getActiveDescendant()||"")}));const Xo=new ad(t);Xo.getContainer().classList.add("quick-input-progress");const Wn=ce.go(t);return this._register(Wn),this._register(ce.nm(t,ce.tw.FOCUS,gn=>{this.previousFocusElement=gn.relatedTarget instanceof HTMLElement?gn.relatedTarget:void 0},!0)),this._register(Wn.onDidBlur(()=>{!this.getUI().ignoreFocusOut&&!this.options.ignoreFocusOut()&&this.hide(Ms.Jq.Blur),this.previousFocusElement=void 0})),this._register(ce.nm(t,ce.tw.FOCUS,gn=>{Qi.setFocus()})),this._register(ce.nm(t,ce.tw.KEY_DOWN,gn=>{const gs=new cs.y(gn);switch(gs.keyCode){case 3:ce.zB.stop(gn,!0),this.onDidAcceptEmitter.fire();break;case 9:ce.zB.stop(gn,!0),this.hide(Ms.Jq.Gesture);break;case 2:if(!gs.altKey&&!gs.ctrlKey&&!gs.metaKey){const Eo=[".action-label.codicon"];t.classList.contains("show-checkboxes")?Eo.push("input"):Eo.push("input[type=text]"),this.getUI().list.isDisplayed()&&Eo.push(".monaco-list");const No=t.querySelectorAll(Eo.join(", "));gs.shiftKey&&gs.target===No[0]?(ce.zB.stop(gn,!0),No[No.length-1].focus()):!gs.shiftKey&&gs.target===No[No.length-1]&&(ce.zB.stop(gn,!0),No[0].focus())}break}})),this.ui={container:t,styleSheet:o,leftActionBar:B,titleBar:_,title:q,description1:Ee,description2:bt,rightActionBar:me,checkAll:ft,filterContainer:_i,inputBox:Qi,visibleCountContainer:$i,visibleCount:cn,countContainer:un,count:jn,okContainer:In,ok:fn,message:go,customButtonContainer:Ln,customButton:Ns,list:es,progressBar:Xo,onDidAccept:this.onDidAcceptEmitter.event,onDidCustom:this.onDidCustomEmitter.event,onDidTriggerButton:this.onDidTriggerButtonEmitter.event,ignoreFocusOut:!1,keyMods:this.keyMods,isScreenReaderOptimized:()=>this.options.isScreenReaderOptimized(),show:gn=>this.show(gn),hide:()=>this.hide(),setVisibilities:gn=>this.setVisibilities(gn),setComboboxAccessibility:gn=>this.setComboboxAccessibility(gn),setEnabled:gn=>this.setEnabled(gn),setContextKey:gn=>this.options.setContextKey(gn)},this.updateStyles(),this.ui}pick(t,o={},_=H.T.None){return new Promise((B,q)=>{let me=bt=>{me=B,o.onKeyMods&&o.onKeyMods(Ee.keyMods),B(bt)};if(_.isCancellationRequested){me(void 0);return}const Ee=this.createQuickPick();let et;const ft=[Ee,Ee.onDidAccept(()=>{if(Ee.canSelectMany)me(Ee.selectedItems.slice()),Ee.hide();else{const bt=Ee.activeItems[0];bt&&(me(bt),Ee.hide())}}),Ee.onDidChangeActive(bt=>{const Bt=bt[0];Bt&&o.onDidFocus&&o.onDidFocus(Bt)}),Ee.onDidChangeSelection(bt=>{if(!Ee.canSelectMany){const Bt=bt[0];Bt&&(me(Bt),Ee.hide())}}),Ee.onDidTriggerItemButton(bt=>o.onDidTriggerItemButton&&o.onDidTriggerItemButton(Object.assign(Object.assign({},bt),{removeItem:()=>{const Bt=Ee.items.indexOf(bt.item);if(Bt!==-1){const _i=Ee.items.slice(),Qi=_i.splice(Bt,1),$i=Ee.activeItems.filter(un=>un!==Qi[0]),cn=Ee.keepScrollPosition;Ee.keepScrollPosition=!0,Ee.items=_i,$i&&(Ee.activeItems=$i),Ee.keepScrollPosition=cn}}}))),Ee.onDidChangeValue(bt=>{et&&!bt&&(Ee.activeItems.length!==1||Ee.activeItems[0]!==et)&&(Ee.activeItems=[et])}),_.onCancellationRequested(()=>{Ee.hide()}),Ee.onDidHide(()=>{(0,ni.B9)(ft),me(void 0)})];Ee.title=o.title,Ee.canSelectMany=!!o.canPickMany,Ee.placeholder=o.placeHolder,Ee.ignoreFocusOut=!!o.ignoreFocusLost,Ee.matchOnDescription=!!o.matchOnDescription,Ee.matchOnDetail=!!o.matchOnDetail,Ee.matchOnLabel=o.matchOnLabel===void 0||o.matchOnLabel,Ee.autoFocusOnList=o.autoFocusOnList===void 0||o.autoFocusOnList,Ee.quickNavigate=o.quickNavigate,Ee.contextKey=o.contextKey,Ee.busy=!0,Promise.all([t,o.activeItem]).then(([bt,Bt])=>{et=Bt,Ee.busy=!1,Ee.items=bt,Ee.canSelectMany&&(Ee.selectedItems=bt.filter(_i=>_i.type!=="separator"&&_i.picked)),et&&(Ee.activeItems=[et])}),Ee.show(),Promise.resolve(t).then(void 0,bt=>{q(bt),Ee.hide()})})}createQuickPick(){const t=this.getUI();return new Zo(t)}show(t){const o=this.getUI();this.onShowEmitter.fire();const _=this.controller;this.controller=t,_&&_.didHide(),this.setEnabled(!0),o.leftActionBar.clear(),o.title.textContent="",o.description1.textContent="",o.description2.textContent="",o.rightActionBar.clear(),o.checkAll.checked=!1,o.inputBox.placeholder="",o.inputBox.password=!1,o.inputBox.showDecoration(os.Z.Ignore),o.visibleCount.setCount(0),o.count.setCount(0),ce.mc(o.message),o.progressBar.stop(),o.list.setElements([]),o.list.matchOnDescription=!1,o.list.matchOnDetail=!1,o.list.matchOnLabel=!0,o.list.sortByLabel=!0,o.ignoreFocusOut=!1,this.setComboboxAccessibility(!1),o.inputBox.ariaLabel="";const B=this.options.backKeybindingLabel();ha.tooltip=B?(0,U.N)("quickInput.backWithKeybinding","Back ({0})",B):(0,U.N)("quickInput.back","Back"),o.container.style.display="",this.updateLayout(),o.inputBox.setFocus()}setVisibilities(t){const o=this.getUI();o.title.style.display=t.title?"":"none",o.description1.style.display=t.description&&(t.inputBox||t.checkAll)?"":"none",o.description2.style.display=t.description&&!(t.inputBox||t.checkAll)?"":"none",o.checkAll.style.display=t.checkAll?"":"none",o.filterContainer.style.display=t.inputBox?"":"none",o.visibleCountContainer.style.display=t.visibleCount?"":"none",o.countContainer.style.display=t.count?"":"none",o.okContainer.style.display=t.ok?"":"none",o.customButtonContainer.style.display=t.customButton?"":"none",o.message.style.display=t.message?"":"none",o.progressBar.getContainer().style.display=t.progressBar?"":"none",o.list.display(!!t.list),o.container.classList[t.checkBox?"add":"remove"]("show-checkboxes"),this.updateLayout()}setComboboxAccessibility(t){if(t!==this.comboboxAccessibility){const o=this.getUI();this.comboboxAccessibility=t,this.comboboxAccessibility?(o.inputBox.setAttribute("role","combobox"),o.inputBox.setAttribute("aria-haspopup","true"),o.inputBox.setAttribute("aria-autocomplete","list"),o.inputBox.setAttribute("aria-activedescendant",o.list.getActiveDescendant()||"")):(o.inputBox.removeAttribute("role"),o.inputBox.removeAttribute("aria-haspopup"),o.inputBox.removeAttribute("aria-autocomplete"),o.inputBox.removeAttribute("aria-activedescendant"))}}setEnabled(t){if(t!==this.enabled){this.enabled=t;for(const o of this.getUI().leftActionBar.viewItems)o.getAction().enabled=t;for(const o of this.getUI().rightActionBar.viewItems)o.getAction().enabled=t;this.getUI().checkAll.disabled=!t,this.getUI().ok.enabled=t,this.getUI().list.enabled=t}}hide(t){var o;const _=this.controller;if(_){const B=!(!((o=this.ui)===null||o===void 0)&&o.container.contains(document.activeElement));this.controller=null,this.onHideEmitter.fire(),this.getUI().container.style.display="none",B||(this.previousFocusElement&&this.previousFocusElement.offsetParent?(this.previousFocusElement.focus(),this.previousFocusElement=void 0):this.options.returnFocus()),_.didHide(t)}}layout(t,o){this.dimension=t,this.titleBarOffset=o,this.updateLayout()}updateLayout(){if(this.ui){this.ui.container.style.top=`${this.titleBarOffset}px`;const t=this.ui.container.style,o=Math.min(this.dimension.width*.62,Cr.MAX_WIDTH);t.width=o+"px",t.marginLeft="-"+o/2+"px",this.ui.inputBox.layout(),this.ui.list.layout(this.dimension&&this.dimension.height*.4)}}applyStyles(t){this.styles=t,this.updateStyles()}updateStyles(){if(this.ui){const{quickInputTitleBackground:t,quickInputBackground:o,quickInputForeground:_,contrastBorder:B,widgetShadow:q}=this.styles.widget;this.ui.titleBar.style.backgroundColor=t?t.toString():"",this.ui.container.style.backgroundColor=o?o.toString():"",this.ui.container.style.color=_?_.toString():"",this.ui.container.style.border=B?`1px solid ${B}`:"",this.ui.container.style.boxShadow=q?`0 0 8px 2px ${q}`:"",this.ui.inputBox.style(this.styles.inputBox),this.ui.count.style(this.styles.countBadge),this.ui.ok.style(this.styles.button),this.ui.customButton.style(this.styles.button),this.ui.progressBar.style(this.styles.progressBar),this.ui.list.style(this.styles.list);const me=[];this.styles.list.pickerGroupBorder&&me.push(`.quick-input-list .quick-input-list-entry { border-top-color: ${this.styles.list.pickerGroupBorder}; }`),this.styles.list.pickerGroupForeground&&me.push(`.quick-input-list .quick-input-list-separator { color: ${this.styles.list.pickerGroupForeground}; }`),(this.styles.keybindingLabel.keybindingLabelBackground||this.styles.keybindingLabel.keybindingLabelBorder||this.styles.keybindingLabel.keybindingLabelBottomBorder||this.styles.keybindingLabel.keybindingLabelShadow||this.styles.keybindingLabel.keybindingLabelForeground)&&(me.push(".quick-input-list .monaco-keybinding > .monaco-keybinding-key {"),this.styles.keybindingLabel.keybindingLabelBackground&&me.push(`background-color: ${this.styles.keybindingLabel.keybindingLabelBackground};`),this.styles.keybindingLabel.keybindingLabelBorder&&me.push(`border-color: ${this.styles.keybindingLabel.keybindingLabelBorder};`),this.styles.keybindingLabel.keybindingLabelBottomBorder&&me.push(`border-bottom-color: ${this.styles.keybindingLabel.keybindingLabelBottomBorder};`),this.styles.keybindingLabel.keybindingLabelShadow&&me.push(`box-shadow: inset 0 -1px 0 ${this.styles.keybindingLabel.keybindingLabelShadow};`),this.styles.keybindingLabel.keybindingLabelForeground&&me.push(`color: ${this.styles.keybindingLabel.keybindingLabelForeground};`),me.push("}"));const Ee=me.join(`
@@ -754,7 +754,7 @@ ${t.toString()}`}}class dr{constructor(t=new ea.y,o=!1,_){this._activeInstantiat
`+l.Oe.outroMsg,this._contentDomNode.domNode.appendChild((0,O.BO)(Z)),this._contentDomNode.domNode.setAttribute("aria-label",Z)}hide(){this._isVisible&&(this._isVisible=!1,this._isVisibleKey.reset(),this._domNode.setDisplay("none"),this._domNode.setAttribute("aria-hidden","true"),this._contentDomNode.domNode.tabIndex=-1,h.PO(this._contentDomNode.domNode),this._editor.focus())}_layout(){let re=this._editor.getLayoutInfo(),De=Math.max(5,Math.min(Nr.WIDTH,re.width-40)),J=Math.max(5,Math.min(Nr.HEIGHT,re.height-40));this._domNode.setWidth(De),this._domNode.setHeight(J);let Z=Math.round((re.height-J)/2);this._domNode.setTop(Z);let Q=Math.round((re.width-De)/2);this._domNode.setLeft(Q)}};M.ID="editor.contrib.accessibilityHelpWidget",M.WIDTH=500,M.HEIGHT=300,M=m([c(1,w.i6),c(2,C.d),c(3,f.v4)],M);class z extends p.R6{constructor(){super({id:"editor.action.showAccessibilityHelp",label:l.Oe.showAccessibilityHelpAction,alias:"Show Accessibility Help",precondition:void 0,kbOpts:{primary:571,weight:100,linux:{primary:1595,secondary:[571]}}})}run(re,De){let J=L.get(De);J&&J.show()}}(0,p._K)(L.ID,L),(0,p.Qr)(z);const oe=p._l.bindToContribution(L.get);(0,p.fK)(new oe({id:"closeAccessibilityHelp",precondition:b,handler:se=>se.hide(),kbOpts:{weight:200,kbExpr:a.u.focus,primary:9,secondary:[1033]}})),(0,r.Ic)((se,re)=>{const De=se.getColor(v.D0);De&&re.addRule(`.monaco-editor .accessibilityHelpWidget { background-color: ${De}; }`);const J=se.getColor(v.Hf);J&&re.addRule(`.monaco-editor .accessibilityHelpWidget { color: ${J}; }`);const Z=se.getColor(v.rh);Z&&re.addRule(`.monaco-editor .accessibilityHelpWidget { box-shadow: 0 2px 8px ${Z}; }`);const Q=se.getColor(v.lR);Q&&re.addRule(`.monaco-editor .accessibilityHelpWidget { border: 2px solid ${Q}; }`)})},6337:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{IPadShowKeyboard:function(){return D}});var h=i(69454),H=i(69323),O=i(4514),P=i(23345);class D extends H.JT{constructor(y){super(),this.editor=y,this.widget=null,P.gn&&(this._register(y.onDidChangeConfiguration(()=>this.update())),this.update())}update(){const y=!this.editor.getOption(80);!this.widget&&y?this.widget=new G(this.editor):this.widget&&!y&&(this.widget.dispose(),this.widget=null)}dispose(){super.dispose(),this.widget&&(this.widget.dispose(),this.widget=null)}}D.ID="editor.contrib.iPadShowKeyboard";class G extends H.JT{constructor(y){super(),this.editor=y,this._domNode=document.createElement("textarea"),this._domNode.className="iPadShowKeyboard",this._register(h.nm(this._domNode,"touchstart",E=>{this.editor.focus()})),this._register(h.nm(this._domNode,"focus",E=>{this.editor.focus()})),this.editor.addOverlayWidget(this)}dispose(){this.editor.removeOverlayWidget(this),super.dispose()}getId(){return G.ID}getDomNode(){return this._domNode}getPosition(){return{preference:1}}}G.ID="editor.contrib.ShowKeyboardWidget",(0,O._K)(D.ID,D)},78038:function(xt,Te,i){"use strict";i.r(Te);var h=i(69454),H=i(51737),O=i(69323),P=i(4514),D=i(27347),G=i(31275),I=i(64992),y=i(63908),E=i(44350),p=i(49055),a=i(5530),g=i(66213),w=function(m,c,b,L){var T=arguments.length,M=T<3?c:L===null?L=Object.getOwnPropertyDescriptor(c,b):L,z;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")M=Reflect.decorate(m,c,b,L);else for(var oe=m.length-1;oe>=0;oe--)(z=m[oe])&&(M=(T<3?z(M):T>3?z(c,b,M):z(c,b))||M);return T>3&&M&&Object.defineProperty(c,b,M),M},s=function(m,c){return function(b,L){c(b,L,m)}};let C=class Bl extends O.JT{constructor(c,b,L){super(),this._editor=c,this._modeService=L,this._widget=null,this._register(this._editor.onDidChangeModel(T=>this.stop())),this._register(this._editor.onDidChangeModelLanguage(T=>this.stop())),this._register(D.RW.onDidChange(T=>this.stop())),this._register(this._editor.onKeyUp(T=>T.keyCode===9&&this.stop()))}static get(c){return c.getContribution(Bl.ID)}dispose(){this.stop(),super.dispose()}launch(){this._widget||this._editor.hasModel()&&(this._widget=new l(this._editor,this._modeService))}stop(){this._widget&&(this._widget.dispose(),this._widget=null)}};C.ID="editor.contrib.inspectTokens",C=w([s(1,y.Z),s(2,I.h)],C);class f extends P.R6{constructor(){super({id:"editor.action.inspectTokens",label:a.ug.inspectTokensAction,alias:"Developer: Inspect Tokens",precondition:void 0})}run(c,b){let L=C.get(b);L&&L.launch()}}function v(m){let c="";for(let b=0,L=m.length;bG.nO,tokenize:(T,M,z,oe)=>(0,G.Ri)(c,T,z,oe),tokenize2:(T,M,z,oe)=>(0,G.mh)(L,T,z,oe)}}class l extends O.JT{constructor(c,b){super(),this.allowEditorOverflow=!0,this._editor=c,this._modeService=b,this._model=this._editor.getModel(),this._domNode=document.createElement("div"),this._domNode.className="tokens-inspect-widget",this._tokenizationSupport=r(this._modeService.languageIdCodec,this._model.getLanguageId()),this._compute(this._editor.getPosition()),this._register(this._editor.onDidChangeCursorPosition(L=>this._compute(this._editor.getPosition()))),this._editor.addContentWidget(this)}dispose(){this._editor.removeContentWidget(this),super.dispose()}getId(){return l._ID}_compute(c){let b=this._getTokensAtLine(c.lineNumber),L=0;for(let se=b.tokens1.length-1;se>=0;se--){let re=b.tokens1[se];if(c.column-1>=re.offset){L=se;break}}let T=0;for(let se=b.tokens2.length>>>1;se>=0;se--)if(c.column-1>=b.tokens2[se<<1]){T=se;break}let M=this._model.getLineContent(c.lineNumber),z="";if(L{const b=m.getColor(E.CN);if(b){let M=m.type===g.e.HIGH_CONTRAST?2:1;c.addRule(`.monaco-editor .tokens-inspect-widget { border: ${M}px solid ${b}; }`),c.addRule(`.monaco-editor .tokens-inspect-widget .tokens-inspect-separator { background-color: ${b}; }`)}const L=m.getColor(E.yJ);L&&c.addRule(`.monaco-editor .tokens-inspect-widget { background-color: ${L}; }`);const T=m.getColor(E.Sb);T&&c.addRule(`.monaco-editor .tokens-inspect-widget { color: ${T}; }`)})},63435:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{GotoLineAction:function(){return Fe},StandaloneCommandsQuickAccessProvider:function(){return ve}});var h=i(44650),H=i(82825),O=i(5530),P=i(70827),D=i(38940),G=i(43506),I=i(72999),y=i(13268);function E(we,ue){return ue&&(we.stack||we.stacktrace)?y.N("stackTrace.format","{0}: {1}",a(we),p(we.stack)||p(we.stacktrace)):a(we)}function p(we){return Array.isArray(we)?we.join(`
`):we}function a(we){return typeof we.code=="string"&&typeof we.errno=="number"&&typeof we.syscall=="string"?y.N("nodeExceptionMessage","A system error occurred ({0})",we.message):we.message||y.N("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}function g(we=null,ue=!1){if(!we)return y.N("error.defaultMessage","An unknown error occurred. Please consult the log for more details.");if(Array.isArray(we)){const ce=G.kX(we),Ve=g(ce[0],ue);return ce.length>1?y.N("error.moreErrors","{0} ({1} errors in total)",Ve,ce.length):Ve}if(I.HD(we))return we;if(we.detail){const ce=we.detail;if(ce.error)return E(ce.error,ue);if(ce.exception)return E(ce.exception,ue)}return we.stack?E(we,ue):we.message?we.message:y.N("error.defaultMessage","An unknown error occurred. Please consult the log for more details.")}var w=i(79881),s=i(99599),C=i(69323),f=i(78421),v=i(37254),r=i(35884),l=i(93965),m=i(94726),c=i(16925),b=i(5898),L=i(50431),T=i(96283),M=function(we,ue,ce,Ve){function We(ae){return ae instanceof ce?ae:new ce(function(fe){fe(ae)})}return new(ce||(ce=Promise))(function(ae,fe){function ne(ee){try{$(Ve.next(ee))}catch(he){fe(he)}}function W(ee){try{$(Ve.throw(ee))}catch(he){fe(he)}}function $(ee){ee.done?ae(ee.value):We(ee.value).then(ne,W)}$((Ve=Ve.apply(we,ue||[])).next())})},z;(function(we){we[we.NO_ACTION=0]="NO_ACTION",we[we.CLOSE_PICKER=1]="CLOSE_PICKER",we[we.REFRESH_PICKER=2]="REFRESH_PICKER",we[we.REMOVE_ITEM=3]="REMOVE_ITEM"})(z||(z={}));function oe(we){const ue=we;return Array.isArray(ue.items)}function se(we){const ue=we;return!!ue.picks&&ue.additionalPicks instanceof Promise}class re extends C.JT{constructor(ue,ce){super(),this.prefix=ue,this.options=ce}provide(ue,ce){var Ve;const We=new C.SL;ue.canAcceptInBackground=!!(!((Ve=this.options)===null||Ve===void 0)&&Ve.canAcceptInBackground),ue.matchOnLabel=ue.matchOnDescription=ue.matchOnDetail=ue.sortByLabel=!1;let ae;const fe=We.add(new C.XK),ne=()=>M(this,void 0,void 0,function*(){const W=fe.value=new C.SL;ae==null||ae.dispose(!0),ue.busy=!1,ae=new T.A(ce);const $=ae.token,ee=ue.value.substr(this.prefix.length).trim(),he=this._getPicks(ee,W,$),Pe=(Ye,it)=>{var rt;let vt,Ft;if(oe(Ye)?(vt=Ye.items,Ft=Ye.active):vt=Ye,vt.length===0){if(it)return!1;ee.length>0&&(!((rt=this.options)===null||rt===void 0)&&rt.noResultsPick)&&(vt=[this.options.noResultsPick])}return ue.items=vt,Ft&&(ue.activeItems=[Ft]),!0};if(he!==null)if(se(he)){let Ye=!1,it=!1;yield Promise.all([M(this,void 0,void 0,function*(){yield(0,L.Vs)(re.FAST_PICKS_RACE_DELAY),!$.isCancellationRequested&&(it||(Ye=Pe(he.picks,!0)))}),M(this,void 0,void 0,function*(){ue.busy=!0;try{const rt=yield he.additionalPicks;if($.isCancellationRequested)return;let vt,Ft;oe(he.picks)?(vt=he.picks.items,Ft=he.picks.active):vt=he.picks;let Ht,ze;if(oe(rt)?(Ht=rt.items,ze=rt.active):Ht=rt,Ht.length>0||!Ye){let Xe;if(!Ft&&!ze){const Ze=ue.activeItems[0];Ze&&vt.indexOf(Ze)!==-1&&(Xe=Ze)}Pe({items:[...vt,...Ht],active:Ft||ze||Xe})}}finally{$.isCancellationRequested||(ue.busy=!1),it=!0}})])}else if(!(he instanceof Promise))Pe(he);else{ue.busy=!0;try{const Ye=yield he;if($.isCancellationRequested)return;Pe(Ye)}finally{$.isCancellationRequested||(ue.busy=!1)}}});return We.add(ue.onDidChangeValue(()=>ne())),ne(),We.add(ue.onDidAccept(W=>{const[$]=ue.selectedItems;typeof($==null?void 0:$.accept)=="function"&&(W.inBackground||ue.hide(),$.accept(ue.keyMods,W))})),We.add(ue.onDidTriggerItemButton(({button:W,item:$})=>M(this,void 0,void 0,function*(){var ee,he;if(typeof $.trigger=="function"){const Pe=(he=(ee=$.buttons)===null||ee===void 0?void 0:ee.indexOf(W))!==null&&he!==void 0?he:-1;if(Pe>=0){const Ye=$.trigger(Pe,ue.keyMods),it=typeof Ye=="number"?Ye:yield Ye;if(ce.isCancellationRequested)return;switch(it){case z.NO_ACTION:break;case z.CLOSE_PICKER:ue.hide();break;case z.REFRESH_PICKER:ne();break;case z.REMOVE_ITEM:const rt=ue.items.indexOf($);if(rt!==-1){const vt=ue.items.slice(),Ft=vt.splice(rt,1),Ht=ue.activeItems.filter(Xe=>Xe!==Ft[0]),ze=ue.keepScrollPosition;ue.keepScrollPosition=!0,ue.items=vt,Ht&&(ue.activeItems=Ht),ue.keepScrollPosition=ze}break}}}}))),We}}re.FAST_PICKS_RACE_DELAY=200;var De=i(19490),J=i(14347),Z=function(we,ue,ce,Ve){var We=arguments.length,ae=We<3?ue:Ve===null?Ve=Object.getOwnPropertyDescriptor(ue,ce):Ve,fe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ae=Reflect.decorate(we,ue,ce,Ve);else for(var ne=we.length-1;ne>=0;ne--)(fe=we[ne])&&(ae=(We<3?fe(ae):We>3?fe(ue,ce,ae):fe(ue,ce))||ae);return We>3&&ae&&Object.defineProperty(ue,ce,ae),ae},Q=function(we,ue){return function(ce,Ve){ue(ce,Ve,we)}},le=function(we,ue,ce,Ve){function We(ae){return ae instanceof ce?ae:new ce(function(fe){fe(ae)})}return new(ce||(ce=Promise))(function(ae,fe){function ne(ee){try{$(Ve.next(ee))}catch(he){fe(he)}}function W(ee){try{$(Ve.throw(ee))}catch(he){fe(he)}}function $(ee){ee.done?ae(ee.value):We(ee.value).then(ne,W)}$((Ve=Ve.apply(we,ue||[])).next())})};let xe=class Ir extends re{constructor(ue,ce,Ve,We,ae,fe){super(Ir.PREFIX,ue),this.instantiationService=ce,this.keybindingService=Ve,this.commandService=We,this.telemetryService=ae,this.dialogService=fe,this.commandsHistory=this._register(this.instantiationService.createInstance(j)),this.options=ue}_getPicks(ue,ce,Ve){return le(this,void 0,void 0,function*(){const We=yield this.getCommandPicks(ce,Ve);if(Ve.isCancellationRequested)return[];const ae=[];for(const $ of We){const ee=(0,I.f6)(Ir.WORD_FILTER(ue,$.label)),he=$.commandAlias?(0,I.f6)(Ir.WORD_FILTER(ue,$.commandAlias)):void 0;ee||he?($.highlights={label:ee,detail:this.options.showAlias?he:void 0},ae.push($)):ue===$.commandId&&ae.push($)}const fe=new Map;for(const $ of ae){const ee=fe.get($.label);ee?($.description=$.commandId,ee.description=ee.commandId):fe.set($.label,$)}ae.sort(($,ee)=>{const he=this.commandsHistory.peek($.commandId),Pe=this.commandsHistory.peek(ee.commandId);return he&&Pe?he>Pe?-1:1:he?-1:Pe?1:$.label.localeCompare(ee.label)});const ne=[];let W=!1;for(let $=0;$le(this,void 0,void 0,function*(){this.commandsHistory.push(ee.commandId),this.telemetryService.publicLog2("workbenchActionExecuted",{id:ee.commandId,from:"quick open"});try{yield this.commandService.executeCommand(ee.commandId)}catch(Ye){(0,w.VV)(Ye)||this.dialogService.show(v.Z.Error,(0,y.N)("canNotRun","Command '{0}' resulted in an error ({1})",ee.label,g(Ye)))}})}))}return ne})}};xe.PREFIX=">",xe.WORD_FILTER=(0,s.or)(s.Ji,s.KZ,s.ir),xe=Z([Q(1,c.TG),Q(2,b.d),Q(3,r.H),Q(4,J.b),Q(5,m.S)],xe);let j=class ls extends C.JT{constructor(ue,ce){super(),this.storageService=ue,this.configurationService=ce,this.configuredCommandsHistoryLength=0,this.updateConfiguration(),this.load(),this.registerListeners()}registerListeners(){this._register(this.configurationService.onDidChangeConfiguration(()=>this.updateConfiguration()))}updateConfiguration(){this.configuredCommandsHistoryLength=ls.getConfiguredCommandHistoryLength(this.configurationService),ls.cache&&ls.cache.limit!==this.configuredCommandsHistoryLength&&(ls.cache.limit=this.configuredCommandsHistoryLength,ls.saveState(this.storageService))}load(){const ue=this.storageService.get(ls.PREF_KEY_CACHE,0);let ce;if(ue)try{ce=JSON.parse(ue)}catch(We){}const Ve=ls.cache=new f.z6(this.configuredCommandsHistoryLength,1);if(ce){let We;ce.usesLRU?We=ce.entries:We=ce.entries.sort((ae,fe)=>ae.value-fe.value),We.forEach(ae=>Ve.set(ae.key,ae.value))}ls.counter=this.storageService.getNumber(ls.PREF_KEY_COUNTER,0,ls.counter)}push(ue){ls.cache&&(ls.cache.set(ue,ls.counter++),ls.saveState(this.storageService))}peek(ue){var ce;return(ce=ls.cache)===null||ce===void 0?void 0:ce.peek(ue)}static saveState(ue){if(!ls.cache)return;const ce={usesLRU:!0,entries:[]};ls.cache.forEach((Ve,We)=>ce.entries.push({key:We,value:Ve})),ue.store(ls.PREF_KEY_CACHE,JSON.stringify(ce),0,0),ue.store(ls.PREF_KEY_COUNTER,ls.counter,0,0)}static getConfiguredCommandHistoryLength(ue){var ce,Ve;const ae=(Ve=(ce=ue.getValue().workbench)===null||ce===void 0?void 0:ce.commandPalette)===null||Ve===void 0?void 0:Ve.history;return typeof ae=="number"?ae:ls.DEFAULT_COMMANDS_HISTORY_LENGTH}};j.DEFAULT_COMMANDS_HISTORY_LENGTH=50,j.PREF_KEY_CACHE="commandPalette.mru.cache",j.PREF_KEY_COUNTER="commandPalette.mru.counter",j.counter=1,j=Z([Q(0,De.Uy),Q(1,l.Ui)],j);class R extends xe{constructor(ue,ce,Ve,We,ae,fe){super(ue,ce,Ve,We,ae,fe)}getCodeEditorCommandPicks(){const ue=this.activeTextEditorControl;if(!ue)return[];const ce=[];for(const Ve of ue.getSupportedActions())ce.push({commandId:Ve.id,commandAlias:Ve.alias,label:(0,D.x$)(Ve.label)||Ve.id});return ce}}var V=i(4514),K=i(68987),ie=i(96148),te=function(we,ue,ce,Ve){var We=arguments.length,ae=We<3?ue:Ve===null?Ve=Object.getOwnPropertyDescriptor(ue,ce):Ve,fe;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ae=Reflect.decorate(we,ue,ce,Ve);else for(var ne=we.length-1;ne>=0;ne--)(fe=we[ne])&&(ae=(We<3?fe(ae):We>3?fe(ue,ce,ae):fe(ue,ce))||ae);return We>3&&ae&&Object.defineProperty(ue,ce,ae),ae},ge=function(we,ue){return function(ce,Ve){ue(ce,Ve,we)}},ye=function(we,ue,ce,Ve){function We(ae){return ae instanceof ce?ae:new ce(function(fe){fe(ae)})}return new(ce||(ce=Promise))(function(ae,fe){function ne(ee){try{$(Ve.next(ee))}catch(he){fe(he)}}function W(ee){try{$(Ve.throw(ee))}catch(he){fe(he)}}function $(ee){ee.done?ae(ee.value):We(ee.value).then(ne,W)}$((Ve=Ve.apply(we,ue||[])).next())})};let ve=class extends R{constructor(ue,ce,Ve,We,ae,fe){super({showAlias:!1},ue,Ve,We,ae,fe),this.codeEditorService=ce}get activeTextEditorControl(){return(0,I.f6)(this.codeEditorService.getFocusedCodeEditor())}getCommandPicks(){return ye(this,void 0,void 0,function*(){return this.getCodeEditorCommandPicks()})}};ve=te([ge(0,c.TG),ge(1,P.$),ge(2,b.d),ge(3,r.H),ge(4,J.b),ge(5,m.S)],ve),h.B.as(H.IP.Quickaccess).registerQuickAccessProvider({ctor:ve,prefix:ve.PREFIX,helpEntries:[{description:O.UX.quickCommandHelp,needsEditor:!0}]});class Fe extends V.R6{constructor(){super({id:"editor.action.quickCommand",label:O.UX.quickCommandActionLabel,alias:"Command Palette",precondition:void 0,kbOpts:{kbExpr:K.u.focus,primary:59,weight:100},contextMenuOpts:{group:"z_commands",order:1}})}run(ue){ue.get(ie.eJ).quickAccess.show(ve.PREFIX)}}(0,V.Qr)(Fe)},65586:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{GotoLineAction:function(){return r},StandaloneGotoLineQuickAccessProvider:function(){return v}});var h=i(69323),H=i(44525),O=i(37822),P=i(13268);class D extends O.X{constructor(){super({canAcceptInBackground:!0})}provideWithoutTextEditor(m){const c=(0,P.N)("cannotRunGotoLine","Open a text editor first to go to a line.");return m.items=[{label:c}],m.ariaLabel=c,h.JT.None}provideWithTextEditor(m,c,b){const L=m.editor,T=new h.SL;T.add(c.onDidAccept(oe=>{const[se]=c.selectedItems;if(se){if(!this.isValidLineNumber(L,se.lineNumber))return;this.gotoLocation(m,{range:this.toRange(se.lineNumber,se.column),keyMods:c.keyMods,preserveFocus:oe.inBackground}),oe.inBackground||c.hide()}}));const M=()=>{const oe=this.parsePosition(L,c.value.trim().substr(D.PREFIX.length)),se=this.getPickLabel(L,oe.lineNumber,oe.column);if(c.items=[{lineNumber:oe.lineNumber,column:oe.column,label:se}],c.ariaLabel=se,!this.isValidLineNumber(L,oe.lineNumber)){this.clearDecorations(L);return}const re=this.toRange(oe.lineNumber,oe.column);L.revealRangeInCenter(re,0),this.addDecorations(L,re)};M(),T.add(c.onDidChangeValue(()=>M()));const z=(0,H.Pi)(L);return z&&z.getOptions().get(59).renderType===2&&(z.updateOptions({lineNumbers:"on"}),T.add((0,h.OF)(()=>z.updateOptions({lineNumbers:"relative"})))),T}toRange(m=1,c=1){return{startLineNumber:m,startColumn:c,endLineNumber:m,endColumn:c}}parsePosition(m,c){const b=c.split(/,|:|#/).map(T=>parseInt(T,10)).filter(T=>!isNaN(T)),L=this.lineCount(m)+1;return{lineNumber:b[0]>0?b[0]:L+b[0],column:b[1]}}getPickLabel(m,c,b){if(this.isValidLineNumber(m,c))return this.isValidColumn(m,c,b)?(0,P.N)("gotoLineColumnLabel","Go to line {0} and character {1}.",c,b):(0,P.N)("gotoLineLabel","Go to line {0}.",c);const L=m.getPosition()||{lineNumber:1,column:1},T=this.lineCount(m);return T>1?(0,P.N)("gotoLineLabelEmptyWithLimit","Current Line: {0}, Character: {1}. Type a line number between 1 and {2} to navigate to.",L.lineNumber,L.column,T):(0,P.N)("gotoLineLabelEmpty","Current Line: {0}, Character: {1}. Type a line number to navigate to.",L.lineNumber,L.column)}isValidLineNumber(m,c){return!c||typeof c!="number"?!1:c>0&&c<=this.lineCount(m)}isValidColumn(m,c,b){if(!b||typeof b!="number")return!1;const L=this.getModel(m);if(!L)return!1;const T={lineNumber:c,column:b};return L.validatePosition(T).equals(T)}lineCount(m){var c,b;return(b=(c=this.getModel(m))===null||c===void 0?void 0:c.getLineCount())!==null&&b!==void 0?b:0}}D.PREFIX=":";var G=i(44650),I=i(82825),y=i(70827),E=i(72999),p=i(5530),a=i(4348),g=i(4514),w=i(68987),s=i(96148),C=function(l,m,c,b){var L=arguments.length,T=L<3?m:b===null?b=Object.getOwnPropertyDescriptor(m,c):b,M;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")T=Reflect.decorate(l,m,c,b);else for(var z=l.length-1;z>=0;z--)(M=l[z])&&(T=(L<3?M(T):L>3?M(m,c,T):M(m,c))||T);return L>3&&T&&Object.defineProperty(m,c,T),T},f=function(l,m){return function(c,b){m(c,b,l)}};let v=class extends D{constructor(m){super(),this.editorService=m,this.onDidActiveTextEditorControlChange=a.ju.None}get activeTextEditorControl(){return(0,E.f6)(this.editorService.getFocusedCodeEditor())}};v=C([f(0,y.$)],v),G.B.as(I.IP.Quickaccess).registerQuickAccessProvider({ctor:v,prefix:v.PREFIX,helpEntries:[{description:p.qq.gotoLineActionLabel,needsEditor:!0}]});class r extends g.R6{constructor(){super({id:"editor.action.gotoLine",label:p.qq.gotoLineActionLabel,alias:"Go to Line/Column...",precondition:void 0,kbOpts:{kbExpr:w.u.focus,primary:2085,mac:{primary:293},weight:100}})}run(m){m.get(s.eJ).quickAccess.show(v.PREFIX)}}(0,g.Qr)(r)},83861:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{GotoLineAction:function(){return ge},StandaloneGotoSymbolQuickAccessProvider:function(){return te}});var h=i(83429),H=i(45495),O=i(96283),P=i(52615),D=i(99599),G=i(86408),I=i(23345),y=i(82983);const E=[void 0,[]];function p(ye,ve,Fe=0,we=0){const ue=ve;return ue.values&&ue.values.length>1?a(ye,ue.values,Fe,we):g(ye,ve,Fe,we)}function a(ye,ve,Fe,we){let ue=0;const ce=[];for(const Ve of ve){const[We,ae]=g(ye,Ve,Fe,we);if(typeof We!="number")return E;ue+=We,ce.push(...ae)}return[ue,w(ce)]}function g(ye,ve,Fe,we){const ue=(0,D.EW)(ve.original,ve.originalLowercase,Fe,ye,ye.toLowerCase(),we,!0);return ue?[ue[0],(0,D.mB)(ue)]:E}function w(ye){const ve=ye.sort((ue,ce)=>ue.start-ce.start),Fe=[];let we;for(const ue of ve)!we||!s(we,ue)?(we=ue,Fe.push(ue)):(we.start=Math.min(we.start,ue.start),we.end=Math.max(we.end,ue.end));return Fe}function s(ye,ve){return!(ye.end=0,Ve=C(ye);let We;const ae=ye.split(f);if(ae.length>1)for(const fe of ae){const ne=C(fe),{pathNormalized:W,normalized:$,normalizedLowercase:ee}=r(fe);$&&(We||(We=[]),We.push({original:fe,originalLowercase:fe.toLowerCase(),pathNormalized:W,normalized:$,normalizedLowercase:ee,expectContiguousMatch:ne}))}return{original:ye,originalLowercase:ve,pathNormalized:Fe,normalized:we,normalizedLowercase:ue,values:We,containsPathSeparator:ce,expectContiguousMatch:Ve}}function r(ye){let ve;I.ED?ve=ye.replace(/\//g,G.ir):ve=ye.replace(/\\/g,G.ir);const Fe=(0,y.R1)(ve).replace(/\s|"/g,"");return{pathNormalized:ve,normalized:Fe,normalizedLowercase:Fe.toLowerCase()}}function l(ye){return Array.isArray(ye)?v(ye.map(ve=>ve.original).join(f)):v(ye.original)}var m=i(69323),c=i(17373),b=i(27347),L=i(16903),T=i(37822),M=i(13268),z=function(ye,ve,Fe,we){function ue(ce){return ce instanceof Fe?ce:new Fe(function(Ve){Ve(ce)})}return new(Fe||(Fe=Promise))(function(ce,Ve){function We(ne){try{fe(we.next(ne))}catch(W){Ve(W)}}function ae(ne){try{fe(we.throw(ne))}catch(W){Ve(W)}}function fe(ne){ne.done?ce(ne.value):ue(ne.value).then(We,ae)}fe((we=we.apply(ye,ve||[])).next())})};class oe extends T.X{constructor(ve=Object.create(null)){super(ve),this.options=ve,this.options.canAcceptInBackground=!0}provideWithoutTextEditor(ve){return this.provideLabelPick(ve,(0,M.N)("cannotRunGotoSymbolWithoutEditor","To go to a symbol, first open a text editor with symbol information.")),m.JT.None}provideWithTextEditor(ve,Fe,we){const ue=ve.editor,ce=this.getModel(ue);return ce?b.vJ.has(ce)?this.doProvideWithEditorSymbols(ve,ce,Fe,we):this.doProvideWithoutEditorSymbols(ve,ce,Fe,we):m.JT.None}doProvideWithoutEditorSymbols(ve,Fe,we,ue){const ce=new m.SL;return this.provideLabelPick(we,(0,M.N)("cannotRunGotoSymbolWithoutSymbolProvider","The active text editor does not provide symbol information.")),z(this,void 0,void 0,function*(){!(yield this.waitForLanguageSymbolRegistry(Fe,ce))||ue.isCancellationRequested||ce.add(this.doProvideWithEditorSymbols(ve,Fe,we,ue))}),ce}provideLabelPick(ve,Fe){ve.items=[{label:Fe,index:0,kind:14}],ve.ariaLabel=Fe}waitForLanguageSymbolRegistry(ve,Fe){return z(this,void 0,void 0,function*(){if(b.vJ.has(ve))return!0;let we;const ue=new Promise(Ve=>we=Ve),ce=Fe.add(b.vJ.onDidChange(()=>{b.vJ.has(ve)&&(ce.dispose(),we(!0))}));return Fe.add((0,m.OF)(()=>we(!1))),ue})}doProvideWithEditorSymbols(ve,Fe,we,ue){const ce=ve.editor,Ve=new m.SL;Ve.add(we.onDidAccept(W=>{const[$]=we.selectedItems;$&&$.range&&(this.gotoLocation(ve,{range:$.range.selection,keyMods:we.keyMods,preserveFocus:W.inBackground}),W.inBackground||we.hide())})),Ve.add(we.onDidTriggerItemButton(({item:W})=>{W&&W.range&&(this.gotoLocation(ve,{range:W.range.selection,keyMods:we.keyMods,forceSideBySide:!0}),we.hide())}));const We=this.getDocumentSymbols(Fe,ue);let ae;const fe=()=>z(this,void 0,void 0,function*(){ae==null||ae.dispose(!0),we.busy=!1,ae=new O.A(ue),we.busy=!0;try{const W=v(we.value.substr(oe.PREFIX.length).trim()),$=yield this.doGetSymbolPicks(We,W,void 0,ae.token);if(ue.isCancellationRequested)return;$.length>0?we.items=$:W.original.length>0?this.provideLabelPick(we,(0,M.N)("noMatchingSymbolResults","No matching editor symbols")):this.provideLabelPick(we,(0,M.N)("noSymbolResults","No editor symbols"))}finally{ue.isCancellationRequested||(we.busy=!1)}});Ve.add(we.onDidChangeValue(()=>fe())),fe();let ne=!0;return Ve.add(we.onDidChangeActive(()=>{const[W]=we.activeItems;if(W&&W.range){if(ne){ne=!1;return}ce.revealRangeInCenter(W.range.selection,0),this.addDecorations(ce,W.range.decoration)}})),Ve}doGetSymbolPicks(ve,Fe,we,ue){return z(this,void 0,void 0,function*(){const ce=yield ve;if(ue.isCancellationRequested)return[];const Ve=Fe.original.indexOf(oe.SCOPE_PREFIX)===0,We=Ve?1:0;let ae,fe;Fe.values&&Fe.values.length>1?(ae=l(Fe.values[0]),fe=l(Fe.values.slice(1))):ae=Fe;const ne=[];for(let ee=0;eeWe){let Ze=!1;if(ae!==Fe&&([vt,Ft]=p(Ye,Object.assign(Object.assign({},Fe),{values:void 0}),We,it),typeof vt=="number"&&(Ze=!0)),typeof vt!="number"&&([vt,Ft]=p(Ye,ae,We,it),typeof vt!="number"))continue;if(!Ze&&fe){if(rt&&fe.original.length>0&&([Ht,ze]=p(rt,fe)),typeof Ht!="number")continue;typeof vt=="number"&&(vt+=Ht)}}const Xe=he.tags&&he.tags.indexOf(1)>=0;ne.push({index:ee,kind:he.kind,score:vt,label:Ye,ariaLabel:Pe,description:rt,highlights:Xe?void 0:{label:Ft,description:ze},range:{selection:c.e.collapseToStart(he.selectionRange),decoration:he.range},strikethrough:Xe,buttons:(()=>{var Ze,Ae;const He=!((Ze=this.options)===null||Ze===void 0)&&Ze.openSideBySideDirection?(Ae=this.options)===null||Ae===void 0?void 0:Ae.openSideBySideDirection():void 0;if(He)return[{iconClass:He==="right"?P.lA.splitHorizontal.classNames:P.lA.splitVertical.classNames,tooltip:He==="right"?(0,M.N)("openToSide","Open to the Side"):(0,M.N)("openToBottom","Open to the Bottom")}]})()})}const W=ne.sort((ee,he)=>Ve?this.compareByKindAndScore(ee,he):this.compareByScore(ee,he));let $=[];if(Ve){let Ye=function(){he&&typeof ee=="number"&&Pe>0&&(he.label=(0,y.WU)(re[ee]||se,Pe))},ee,he,Pe=0;for(const it of W)ee!==it.kind?(Ye(),ee=it.kind,Pe=1,he={type:"separator"},$.push(he)):Pe++,$.push(it);Ye()}else W.length>0&&($=[{label:(0,M.N)("symbols","symbols ({0})",ne.length),type:"separator"},...W]);return $})}compareByScore(ve,Fe){if(typeof ve.score!="number"&&typeof Fe.score=="number")return 1;if(typeof ve.score=="number"&&typeof Fe.score!="number")return-1;if(typeof ve.score=="number"&&typeof Fe.score=="number"){if(ve.score>Fe.score)return-1;if(ve.scoreFe.index?1:0}compareByKindAndScore(ve,Fe){const we=re[ve.kind]||se,ue=re[Fe.kind]||se,ce=we.localeCompare(ue);return ce===0?this.compareByScore(ve,Fe):ce}getDocumentSymbols(ve,Fe){return z(this,void 0,void 0,function*(){const we=yield L.C3.create(ve,Fe);return Fe.isCancellationRequested?[]:we.asListOfDocumentSymbols()})}}oe.PREFIX="@",oe.SCOPE_PREFIX=":",oe.PREFIX_BY_CATEGORY=`${oe.PREFIX}${oe.SCOPE_PREFIX}`;const se=(0,M.N)("property","properties ({0})"),re={5:(0,M.N)("method","methods ({0})"),11:(0,M.N)("function","functions ({0})"),8:(0,M.N)("_constructor","constructors ({0})"),12:(0,M.N)("variable","variables ({0})"),4:(0,M.N)("class","classes ({0})"),22:(0,M.N)("struct","structs ({0})"),23:(0,M.N)("event","events ({0})"),24:(0,M.N)("operator","operators ({0})"),10:(0,M.N)("interface","interfaces ({0})"),2:(0,M.N)("namespace","namespaces ({0})"),3:(0,M.N)("package","packages ({0})"),25:(0,M.N)("typeParameter","type parameters ({0})"),1:(0,M.N)("modules","modules ({0})"),6:(0,M.N)("property","properties ({0})"),9:(0,M.N)("enum","enumerations ({0})"),21:(0,M.N)("enumMember","enumeration members ({0})"),14:(0,M.N)("string","strings ({0})"),0:(0,M.N)("file","files ({0})"),17:(0,M.N)("array","arrays ({0})"),15:(0,M.N)("number","numbers ({0})"),16:(0,M.N)("boolean","booleans ({0})"),18:(0,M.N)("object","objects ({0})"),19:(0,M.N)("key","keys ({0})"),7:(0,M.N)("field","fields ({0})"),13:(0,M.N)("constant","constants ({0})")};var De=i(44650),J=i(82825),Z=i(70827),Q=i(72999),le=i(5530),xe=i(4348),j=i(4514),R=i(68987),V=i(96148),K=function(ye,ve,Fe,we){var ue=arguments.length,ce=ue<3?ve:we===null?we=Object.getOwnPropertyDescriptor(ve,Fe):we,Ve;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ce=Reflect.decorate(ye,ve,Fe,we);else for(var We=ye.length-1;We>=0;We--)(Ve=ye[We])&&(ce=(ue<3?Ve(ce):ue>3?Ve(ve,Fe,ce):Ve(ve,Fe))||ce);return ue>3&&ce&&Object.defineProperty(ve,Fe,ce),ce},ie=function(ye,ve){return function(Fe,we){ve(Fe,we,ye)}};let te=class extends oe{constructor(ve){super(),this.editorService=ve,this.onDidActiveTextEditorControlChange=xe.ju.None}get activeTextEditorControl(){return(0,Q.f6)(this.editorService.getFocusedCodeEditor())}};te=K([ie(0,Z.$)],te),De.B.as(J.IP.Quickaccess).registerQuickAccessProvider({ctor:te,prefix:oe.PREFIX,helpEntries:[{description:le.aq.quickOutlineActionLabel,prefix:oe.PREFIX,needsEditor:!0},{description:le.aq.quickOutlineByCategoryActionLabel,prefix:oe.PREFIX_BY_CATEGORY,needsEditor:!0}]});class ge extends j.R6{constructor(){super({id:"editor.action.quickOutline",label:le.aq.quickOutlineActionLabel,alias:"Go to Symbol...",precondition:R.u.hasDocumentSymbolProvider,kbOpts:{kbExpr:R.u.focus,primary:3117,weight:100},contextMenuOpts:{group:"navigation",order:3}})}run(ve){ve.get(V.eJ).quickAccess.show(oe.PREFIX)}}(0,j.Qr)(ge)},34835:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{StandaloneReferencesController:function(){return a}});var h=i(4514),H=i(70827),O=i(58085),P=i(93965),D=i(90689),G=i(16925),I=i(79504),y=i(19490),E=function(g,w,s,C){var f=arguments.length,v=f<3?w:C===null?C=Object.getOwnPropertyDescriptor(w,s):C,r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")v=Reflect.decorate(g,w,s,C);else for(var l=g.length-1;l>=0;l--)(r=g[l])&&(v=(f<3?r(v):f>3?r(w,s,v):r(w,s))||v);return f>3&&v&&Object.defineProperty(w,s,v),v},p=function(g,w){return function(s,C){w(s,C,g)}};let a=class extends O.J{constructor(w,s,C,f,v,r,l){super(!0,w,s,C,f,v,r,l)}};a=E([p(1,D.i6),p(2,H.$),p(3,I.lT),p(4,G.TG),p(5,y.Uy),p(6,P.Ui)],a),(0,h._K)(O.J.ID,a)},6181:function(xt,Te,i){"use strict";i.r(Te);var h=i(4514),H=i(63908),O=i(5530);class P extends h.R6{constructor(){super({id:"editor.action.toggleHighContrast",label:O.xi.toggleHighContrast,alias:"Toggle High Contrast Theme",precondition:void 0}),this._originalThemeName=null}run(G,I){const y=G.get(H.Z);this._originalThemeName?(y.setTheme(this._originalThemeName),this._originalThemeName=null):(this._originalThemeName=y.getColorTheme().themeName,y.setTheme("hc-black"))}}(0,h.Qr)(P)},63908:function(xt,Te,i){"use strict";i.d(Te,{Z:function(){return H}});var h=i(16925);const H=(0,h.yh)("themeService")},74088:function(xt,Te,i){"use strict";i.d(Te,{Mj:function(){return h.languages},Q5:function(){return h.Emitter},Sf:function(){return h.Uri},ZL:function(){return h.MarkerSeverity},e6:function(){return h.Range},j6:function(){return h.editor}});var h=i(2550)},24607:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{cssDefaults:function(){return G},lessDefaults:function(){return y},scssDefaults:function(){return I}});var h=i(2550),H=i(74088),O=function(){function p(a,g,w){this._onDidChange=new H.Q5,this._languageId=a,this.setOptions(g),this.setModeConfiguration(w)}return Object.defineProperty(p.prototype,"onDidChange",{get:function(){return this._onDidChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"modeConfiguration",{get:function(){return this._modeConfiguration},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"diagnosticsOptions",{get:function(){return this.options},enumerable:!1,configurable:!0}),Object.defineProperty(p.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),p.prototype.setOptions=function(a){this._options=a||Object.create(null),this._onDidChange.fire(this)},p.prototype.setDiagnosticsOptions=function(a){this.setOptions(a)},p.prototype.setModeConfiguration=function(a){this._modeConfiguration=a||Object.create(null),this._onDidChange.fire(this)},p}(),P={validate:!0,lint:{compatibleVendorPrefixes:"ignore",vendorPrefix:"warning",duplicateProperties:"warning",emptyRules:"warning",importStatement:"ignore",boxModel:"ignore",universalSelector:"ignore",zeroUnits:"ignore",fontFaceProperties:"warning",hexColorLength:"error",argumentsInColorFunction:"error",unknownProperties:"warning",ieHack:"ignore",unknownVendorSpecificProperties:"ignore",propertyIgnoredDueToDisplay:"warning",important:"ignore",float:"ignore",idSelector:"ignore"},data:{useDefaultDataProvider:!0}},D={completionItems:!0,hovers:!0,documentSymbols:!0,definitions:!0,references:!0,documentHighlights:!0,rename:!0,colors:!0,foldingRanges:!0,diagnostics:!0,selectionRanges:!0},G=new O("css",P,D),I=new O("scss",P,D),y=new O("less",P,D);H.Mj.css={cssDefaults:G,lessDefaults:y,scssDefaults:I};function E(){return i.e(7706).then(i.bind(i,27706))}H.Mj.onLanguage("less",function(){E().then(function(p){return p.setupMode(y)})}),H.Mj.onLanguage("scss",function(){E().then(function(p){return p.setupMode(I)})}),H.Mj.onLanguage("css",function(){E().then(function(p){return p.setupMode(G)})})},55507:function(xt,Te,i){"use strict";i.d(Te,{Mj:function(){return h.languages},Q5:function(){return h.Emitter},Sf:function(){return h.Uri},e6:function(){return h.Range},j6:function(){return h.editor}});var h=i(2550)},67748:function(xt,Te,i){"use strict";i.r(Te),i.d(Te,{handlebarDefaults:function(){return C},handlebarLanguageService:function(){return s},htmlDefaults:function(){return w},htmlLanguageService:function(){return g},razorDefaults:function(){return v},razorLanguageService:function(){return f},registerHTMLLanguageService:function(){return l}});var h=i(2550),H=i(55507),O=function(m,c,b,L){function T(M){return M instanceof b?M:new b(function(z){z(M)})}return new(b||(b=Promise))(function(M,z){function oe(De){try{re(L.next(De))}catch(J){z(J)}}function se(De){try{re(L.throw(De))}catch(J){z(J)}}function re(De){De.done?M(De.value):T(De.value).then(oe,se)}re((L=L.apply(m,c||[])).next())})},P=function(m,c){var b={label:0,sent:function(){if(M[0]&1)throw M[1];return M[1]},trys:[],ops:[]},L,T,M,z;return z={next:oe(0),throw:oe(1),return:oe(2)},typeof Symbol=="function"&&(z[Symbol.iterator]=function(){return this}),z;function oe(re){return function(De){return se([re,De])}}function se(re){if(L)throw new TypeError("Generator is already executing.");for(;b;)try{if(L=1,T&&(M=re[0]&2?T.return:re[0]?T.throw||((M=T.return)&&M.call(T),0):T.next)&&!(M=M.call(T,re[1])).done)return M;switch(T=0,M&&(re=[re[0]&2,M.value]),re[0]){case 0:case 1:M=re;break;case 4:return b.label++,{value:re[1],done:!1};case 5:b.label++,T=re[1],re=[0];continue;case 7:re=b.ops.pop(),b.trys.pop();continue;default:if(M=b.trys,!(M=M.length>0&&M[M.length-1])&&(re[0]===6||re[0]===2)){b=0;continue}if(re[0]===3&&(!M||re[1]>M[0]&&re[1]0)for(var l=0,m=v;l(R.textContent=le.label||"",null));for(const R of[h.tw.CLICK,h.tw.MOUSE_DOWN,P.t.Tap])this._register((0,h.nm)(this.element,R,V=>h.zB.stop(V,!0)));for(const R of[h.tw.MOUSE_DOWN,P.t.Tap])this._register((0,h.nm)(this._label,R,V=>{V instanceof MouseEvent&&V.detail>1||(this.visible?this.hide():this.show())}));this._register((0,h.nm)(this._label,h.tw.KEY_UP,R=>{const V=new H.y(R);(V.equals(3)||V.equals(10))&&(h.zB.stop(R,!0),this.visible?this.hide():this.show())}));const j=xe(this._label);j&&this._register(j),this._register(P.o.addTarget(this._label))}get element(){return this._element}show(){this.visible||(this.visible=!0,this._onDidChangeVisibility.fire(!0))}hide(){this.visible&&(this.visible=!1,this._onDidChangeVisibility.fire(!1))}dispose(){super.dispose(),this.hide(),this.boxContainer&&(this.boxContainer.remove(),this.boxContainer=void 0),this.contents&&(this.contents.remove(),this.contents=void 0),this._label&&(this._label.remove(),this._label=void 0)}}class y extends I{constructor(Q,le){super(Q,le),this._actions=[],this._contextMenuProvider=le.contextMenuProvider,this.actions=le.actions||[],this.actionProvider=le.actionProvider,this.menuClassName=le.menuClassName||"",this.menuAsChild=!!le.menuAsChild}set menuOptions(Q){this._menuOptions=Q}get menuOptions(){return this._menuOptions}get actions(){return this.actionProvider?this.actionProvider.getActions():this._actions}set actions(Q){this._actions=Q}show(){super.show(),this.element.classList.add("active"),this._contextMenuProvider.showContextMenu({getAnchor:()=>this.element,getActions:()=>this.actions,getActionsContext:()=>this.menuOptions?this.menuOptions.context:null,getActionViewItem:Q=>this.menuOptions&&this.menuOptions.actionViewItemProvider?this.menuOptions.actionViewItemProvider(Q):void 0,getKeyBinding:Q=>this.menuOptions&&this.menuOptions.getKeyBinding?this.menuOptions.getKeyBinding(Q):void 0,getMenuClassName:()=>this.menuClassName,onHide:()=>this.onHide(),actionRunner:this.menuOptions?this.menuOptions.actionRunner:void 0,anchorAlignment:this.menuOptions?this.menuOptions.anchorAlignment:0,domForShadowRoot:this.menuAsChild?this.element:void 0})}hide(){super.hide()}onHide(){this.hide(),this.element.classList.remove("active")}}class E extends O.Y{constructor(Q,le,xe,j=Object.create(null)){super(null,Q,j),this.actionItem=null,this._onDidChangeVisibility=this._register(new G.Q5),this.menuActionsOrProvider=le,this.contextMenuProvider=xe,this.options=j,this.options.actionRunner&&(this.actionRunner=this.options.actionRunner)}render(Q){this.actionItem=Q;const le=R=>{this.element=(0,h.R3)(R,(0,h.$)("a.action-label"));let V=[];return typeof this.options.classNames=="string"?V=this.options.classNames.split(/\s+/g).filter(K=>!!K):this.options.classNames&&(V=this.options.classNames),V.find(K=>K==="icon")||V.push("codicon"),this.element.classList.add(...V),this.element.setAttribute("role","button"),this.element.setAttribute("aria-haspopup","true"),this.element.setAttribute("aria-expanded","false"),this.element.title=this._action.label||"",null},xe=Array.isArray(this.menuActionsOrProvider),j={contextMenuProvider:this.contextMenuProvider,labelRenderer:le,menuAsChild:this.options.menuAsChild,actions:xe?this.menuActionsOrProvider:void 0,actionProvider:xe?void 0:this.menuActionsOrProvider};if(this.dropdownMenu=this._register(new y(Q,j)),this._register(this.dropdownMenu.onDidChangeVisibility(R=>{var V;(V=this.element)===null||V===void 0||V.setAttribute("aria-expanded",`${R}`),this._onDidChangeVisibility.fire(R)})),this.dropdownMenu.menuOptions={actionViewItemProvider:this.options.actionViewItemProvider,actionRunner:this.actionRunner,getKeyBinding:this.options.keybindingProvider,context:this._context},this.options.anchorAlignmentProvider){const R=this;this.dropdownMenu.menuOptions=Object.assign(Object.assign({},this.dropdownMenu.menuOptions),{get anchorAlignment(){return R.options.anchorAlignmentProvider()}})}this.updateEnabled()}setActionContext(Q){super.setActionContext(Q),this.dropdownMenu&&(this.dropdownMenu.menuOptions?this.dropdownMenu.menuOptions.context=Q:this.dropdownMenu.menuOptions={context:Q})}updateEnabled(){var Q,le;const xe=!this.getAction().enabled;(Q=this.actionItem)===null||Q===void 0||Q.classList.toggle("disabled",xe),(le=this.element)===null||le===void 0||le.classList.toggle("disabled",xe)}}var p=i(66872),a=i(69323),g=i(23345),w=i(13268),s=i(96236),C=i(90689),f=i(4999),v=i(16925),r=i(5898),l=i(79504),m=i(19490),c=i(49055),b=function(Z,Q,le,xe){var j=arguments.length,R=j<3?Q:xe===null?xe=Object.getOwnPropertyDescriptor(Q,le):xe,V;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")R=Reflect.decorate(Z,Q,le,xe);else for(var K=Z.length-1;K>=0;K--)(V=Z[K])&&(R=(j<3?V(R):j>3?V(Q,le,R):V(Q,le))||R);return j>3&&R&&Object.defineProperty(Q,le,R),R},L=function(Z,Q){return function(le,xe){Q(le,xe,Z)}},T=function(Z,Q,le,xe){function j(R){return R instanceof le?R:new le(function(V){V(R)})}return new(le||(le=Promise))(function(R,V){function K(ge){try{te(xe.next(ge))}catch(ye){V(ye)}}function ie(ge){try{te(xe.throw(ge))}catch(ye){V(ye)}}function te(ge){ge.done?R(ge.value):j(ge.value).then(K,ie)}te((xe=xe.apply(Z,Q||[])).next())})};function M(Z,Q,le,xe,j,R,V){const K=Z.getActions(Q);return oe(K,le,!1,typeof xe=="string"?te=>te===xe:xe,j,R,V),z(K)}function z(Z){const Q=new a.SL;for(const[,le]of Z)for(const xe of le)Q.add(xe);return Q}function oe(Z,Q,le,xe=K=>K==="navigation",j=Number.MAX_SAFE_INTEGER,R=()=>!1,V=!1){let K,ie;Array.isArray(Q)?(K=Q,ie=Q):(K=Q.primary,ie=Q.secondary);const te=new Set;for(const[ge,ye]of Z){let ve;xe(ge)?(ve=K,ve.length>0&&V&&ve.push(new D.Z0)):(ve=ie,ve.length>0&&ve.push(new D.Z0));for(let Fe of ye){le&&(Fe=Fe instanceof s.U8&&Fe.alt?Fe.alt:Fe);const we=ve.push(Fe);Fe instanceof D.wY&&te.add({group:ge,action:Fe,index:we-1})}}for(const{group:ge,action:ye,index:ve}of te){const Fe=xe(ge)?K:ie,we=ye.actions;(we.length<=1||Fe.length+we.length-2<=j)&&R(ye,ge,Fe.length)&&Fe.splice(ve,1,...we)}if(K!==ie&&K.length>j){const ge=K.splice(j,K.length-j);ie.unshift(...ge,new D.Z0)}}let se=class extends O.g{constructor(Q,le,xe,j,R){super(void 0,Q,{icon:!!(Q.class||Q.item.icon),label:!Q.class&&!Q.item.icon,draggable:le==null?void 0:le.draggable}),this._keybindingService=xe,this._notificationService=j,this._contextKeyService=R,this._wantsAltCommand=!1,this._itemClassDispose=this._register(new a.XK),this._altKey=h._q.getInstance()}get _menuItemAction(){return this._action}get _commandAction(){return this._wantsAltCommand&&this._menuItemAction.alt||this._menuItemAction}onClick(Q){return T(this,void 0,void 0,function*(){Q.preventDefault(),Q.stopPropagation();try{yield this.actionRunner.run(this._commandAction,this._context)}catch(le){this._notificationService.error(le)}})}render(Q){super.render(Q),Q.classList.add("menu-entry"),this._updateItemClass(this._menuItemAction.item);let le=!1,xe=this._altKey.keyStatus.altKey||(g.ED||g.IJ)&&this._altKey.keyStatus.shiftKey;const j=()=>{const R=le&&xe;R!==this._wantsAltCommand&&(this._wantsAltCommand=R,this.updateLabel(),this.updateTooltip(),this.updateClass())};this._menuItemAction.alt&&this._register(this._altKey.event(R=>{xe=R.altKey||(g.ED||g.IJ)&&R.shiftKey,j()})),this._register((0,h.nm)(Q,"mouseleave",R=>{le=!1,j()})),this._register((0,h.nm)(Q,"mouseenter",R=>{le=!0,j()}))}updateLabel(){this.options.label&&this.label&&(this.label.textContent=this._commandAction.label)}updateTooltip(){if(this.label){const Q=this._keybindingService.lookupKeybinding(this._commandAction.id,this._contextKeyService),le=Q&&Q.getLabel(),xe=this._commandAction.tooltip||this._commandAction.label;let j=le?(0,w.N)("titleAndKb","{0} ({1})",xe,le):xe;if(!this._wantsAltCommand&&this._menuItemAction.alt){const R=this._menuItemAction.alt.tooltip||this._menuItemAction.alt.label,V=this._keybindingService.lookupKeybinding(this._menuItemAction.alt.id,this._contextKeyService),K=V&&V.getLabel(),ie=K?(0,w.N)("titleAndKb","{0} ({1})",R,K):R;j+=`
-[${p.xo.modifierLabels[g.OS].altKey}] ${ie}`}this.label.title=j}}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.item))}_updateItemClass(Q){var le;this._itemClassDispose.value=void 0;const{element:xe,label:j}=this;if(!xe||!j)return;const R=this._commandAction.checked&&(!((le=Q.toggled)===null||le===void 0)&&le.icon)?Q.toggled.icon:Q.icon;if(R)if(c.kS.isThemeIcon(R)){const V=c.kS.asClassNameArray(R);j.classList.add(...V),this._itemClassDispose.value=(0,a.OF)(()=>{j.classList.remove(...V)})}else R.light&&j.style.setProperty("--menu-entry-icon-light",(0,h.wY)(R.light)),R.dark&&j.style.setProperty("--menu-entry-icon-dark",(0,h.wY)(R.dark)),j.classList.add("icon"),this._itemClassDispose.value=(0,a.OF)(()=>{j.classList.remove("icon"),j.style.removeProperty("--menu-entry-icon-light"),j.style.removeProperty("--menu-entry-icon-dark")})}};se=b([L(2,r.d),L(3,l.lT),L(4,C.i6)],se);let re=class extends E{constructor(Q,le,xe){var j,R;const V=Object.assign({},le!=null?le:Object.create(null),{menuAsChild:(j=le==null?void 0:le.menuAsChild)!==null&&j!==void 0?j:!1,classNames:(R=le==null?void 0:le.classNames)!==null&&R!==void 0?R:c.kS.isThemeIcon(Q.item.icon)?c.kS.asClassName(Q.item.icon):void 0});super(Q,{getActions:()=>Q.actions},xe,V)}render(Q){if(super.render(Q),this.element){Q.classList.add("menu-entry");const{icon:le}=this._action.item;le&&!c.kS.isThemeIcon(le)&&(this.element.classList.add("icon"),le.light&&this.element.style.setProperty("--menu-entry-icon-light",(0,h.wY)(le.light)),le.dark&&this.element.style.setProperty("--menu-entry-icon-dark",(0,h.wY)(le.dark)))}}};re=b([L(2,f.i)],re);let De=class extends O.Y{constructor(Q,le,xe,j,R,V,K,ie){var te,ge,ye;super(null,Q),this._keybindingService=xe,this._notificationService=j,this._contextMenuService=R,this._menuService=V,this._instaService=K,this._storageService=ie,this._container=null,this._storageKey=`${Q.item.submenu._debugName}_lastActionId`;let ve,Fe=ie.get(this._storageKey,1);Fe&&(ve=Q.actions.find(ue=>Fe===ue.id)),ve||(ve=Q.actions[0]),this._defaultAction=this._instaService.createInstance(se,ve,void 0);const we=Object.assign({},le!=null?le:Object.create(null),{menuAsChild:(te=le==null?void 0:le.menuAsChild)!==null&&te!==void 0?te:!0,classNames:(ge=le==null?void 0:le.classNames)!==null&&ge!==void 0?ge:["codicon","codicon-chevron-down"],actionRunner:(ye=le==null?void 0:le.actionRunner)!==null&&ye!==void 0?ye:new D.Wi});this._dropdown=new E(Q,Q.actions,this._contextMenuService,we),this._dropdown.actionRunner.onDidRun(ue=>{ue.action instanceof s.U8&&this.update(ue.action)})}update(Q){this._storageService.store(this._storageKey,Q.id,1,0),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(se,Q,void 0),this._defaultAction.actionRunner=new class extends D.Wi{runAction(le,xe){return T(this,void 0,void 0,function*(){yield le.run(void 0)})}},this._container&&this._defaultAction.render((0,h.Ce)(this._container,(0,h.$)(".action-container")))}setActionContext(Q){super.setActionContext(Q),this._defaultAction.setActionContext(Q),this._dropdown.setActionContext(Q)}render(Q){this._container=Q,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");const le=(0,h.$)(".action-container");this._defaultAction.render((0,h.R3)(this._container,le)),this._register((0,h.nm)(le,h.tw.KEY_DOWN,j=>{const R=new H.y(j);R.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),R.stopPropagation())}));const xe=(0,h.$)(".dropdown-action-container");this._dropdown.render((0,h.R3)(this._container,xe)),this._register((0,h.nm)(xe,h.tw.KEY_DOWN,j=>{var R;const V=new H.y(j);V.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),(R=this._defaultAction.element)===null||R===void 0||R.focus(),V.stopPropagation())}))}focus(Q){Q?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(Q){Q?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};De=b([L(2,r.d),L(3,l.lT),L(4,f.i),L(5,s.co),L(6,v.TG),L(7,m.Uy)],De);function J(Z,Q,le){return Q instanceof s.U8?Z.createInstance(se,Q,void 0):Q instanceof s.NZ?Q.item.rememberDefaultAction?Z.createInstance(De,Q,le):Z.createInstance(re,Q,le):void 0}},54622:function(xt,Te,i){"use strict";i.d(Te,{p:function(){return H}});var h=i(16925);const H=(0,h.yh)("clipboardService")},93965:function(xt,Te,i){"use strict";i.d(Te,{KV:function(){return G},MR:function(){return p},Mt:function(){return E},O4:function(){return a},Od:function(){return D},Ui:function(){return P},xL:function(){return I}});var h=i(20855),H=i(16925),O=i(44650);const P=(0,H.yh)("configurationService");function D(g,w){const s=Object.create(null);for(let C in g)G(s,C,g[C],w);return s}function G(g,w,s,C){const f=w.split("."),v=f.pop();let r=g;for(let l=0;lconsole.error(`Conflict in default settings: ${f}`))}return g}},20855:function(xt,Te,i){"use strict";i.d(Te,{G1:function(){return v},IP:function(){return G},Uh:function(){return r}});var h=i(4348),H=i(72999),O=i(13268),P=i(2142),D=i(44650);const G={Configuration:"base.contributions.configuration"},I={properties:{},patternProperties:{}},y={properties:{},patternProperties:{}},E={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},a={properties:{},patternProperties:{}},g={properties:{},patternProperties:{}},w="vscode://schemas/settings/resourceLanguage",s=D.B.as(P.I.JSONContribution);class C{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new h.Q5,this._onDidUpdateConfiguration=new h.Q5,this.defaultValues={},this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:O.N("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},s.registerSchema(w,this.resourceLanguageSettingsSchema)}registerConfiguration(L,T=!0){this.registerConfigurations([L],T)}registerConfigurations(L,T=!0){const M=this.doRegisterConfigurations(L,T);s.registerSchema(w,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(M)}registerOverrideIdentifiers(L){for(const T of L)this.overrideIdentifiers.add(T);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(L,T){const M=[];return L.forEach(z=>{M.push(...this.validateAndRegisterProperties(z,T,z.extensionInfo)),this.configurationContributors.push(z),this.registerJSONConfiguration(z)}),M}validateAndRegisterProperties(L,T=!0,M,z=3){var oe;z=H.Jp(L.scope)?z:L.scope;let se=[],re=L.properties;if(re)for(let J in re){if(T&&c(J)){delete re[J];continue}const Z=re[J];if(this.updatePropertyDefaultValue(J,Z),v.test(J)?Z.scope=void 0:(Z.scope=H.Jp(Z.scope)?z:Z.scope,Z.restricted=H.Jp(Z.restricted)?!!(!((oe=M==null?void 0:M.restrictedConfigurations)===null||oe===void 0)&&oe.includes(J)):Z.restricted),re[J].hasOwnProperty("included")&&!re[J].included){this.excludedConfigurationProperties[J]=re[J],delete re[J];continue}else this.configurationProperties[J]=re[J];!re[J].deprecationMessage&&re[J].markdownDeprecationMessage&&(re[J].deprecationMessage=re[J].markdownDeprecationMessage),se.push(J)}let De=L.allOf;if(De)for(let J of De)se.push(...this.validateAndRegisterProperties(J,T,M,z));return se}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(L){const T=M=>{let z=M.properties;if(z)for(const se in z)this.updateSchema(se,z[se]);let oe=M.allOf;oe&&oe.forEach(T)};T(L)}updateSchema(L,T){switch(I.properties[L]=T,T.scope){case 1:y.properties[L]=T;break;case 2:E.properties[L]=T;break;case 6:p.properties[L]=T;break;case 3:a.properties[L]=T;break;case 4:g.properties[L]=T;break;case 5:g.properties[L]=T,this.resourceLanguageSettingsSchema.properties[L]=T;break}}updateOverridePropertyPatternKey(){for(const L of this.overrideIdentifiers.values()){const T=`[${L}]`,M={type:"object",description:O.N("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:O.N("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:w};this.updatePropertyDefaultValue(T,M),I.properties[T]=M,y.properties[T]=M,E.properties[T]=M,p.properties[T]=M,a.properties[T]=M,g.properties[T]=M}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(L,T){let M=this.defaultValues[L];H.o8(M)&&(M=T.default),H.o8(M)&&(M=l(T.type)),T.default=M}}const f="\\[.*\\]$",v=new RegExp(f);function r(b){return b.substring(1,b.length-1)}function l(b){switch(Array.isArray(b)?b[0]:b){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}const m=new C;D.B.add(G.Configuration,m);function c(b){return b.trim()?v.test(b)?O.N("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",b):m.getConfigurationProperties()[b]!==void 0?O.N("config.property.duplicate","Cannot register '{0}'. This property is already registered.",b):null:O.N("config.property.empty","Cannot register an empty property")}},75237:function(xt,Te,i){"use strict";i.d(Te,{c:function(){return P},d:function(){return D}});var h=i(23345),H=i(13268),O=i(90689);const P=new O.uy("isWindows",h.ED,(0,H.N)("isWindows","Whether the operating system is Windows")),D="inputFocus"},4999:function(xt,Te,i){"use strict";i.d(Te,{i:function(){return O},u:function(){return H}});var h=i(16925);const H=(0,h.yh)("contextViewService"),O=(0,h.yh)("contextMenuService")},94726:function(xt,Te,i){"use strict";i.d(Te,{S:function(){return H}});var h=i(16925);const H=(0,h.yh)("dialogService")},64441:function(xt,Te,i){"use strict";i.d(Te,{M:function(){return h}});class h{constructor(O,P=[],D=!1){this.ctor=O,this.staticArguments=P,this.supportsDelayedInstantiation=D}}},7335:function(xt,Te,i){"use strict";i.d(Te,{d:function(){return P},z:function(){return O}});var h=i(64441);const H=[];function O(D,G,I){G instanceof h.M||(G=new h.M(G,[],I)),H.push([D,G])}function P(){return H}},36916:function(xt,Te,i){"use strict";i.d(Te,{y:function(){return h}});class h{constructor(...O){this._entries=new Map;for(let[P,D]of O)this.set(P,D)}set(O,P){const D=this._entries.get(O);return this._entries.set(O,P),D}has(O){return this._entries.has(O)}get(O){return this._entries.get(O)}}},2142:function(xt,Te,i){"use strict";i.d(Te,{I:function(){return O}});var h=i(4348),H=i(44650);const O={JSONContribution:"base.contributions.json"};function P(I){return I.length>0&&I.charAt(I.length-1)==="#"?I.substring(0,I.length-1):I}class D{constructor(){this._onDidChangeSchema=new h.Q5,this.schemasById={}}registerSchema(y,E){this.schemasById[P(y)]=E,this._onDidChangeSchema.fire(y)}notifySchemaChanged(y){this._onDidChangeSchema.fire(y)}}const G=new D;H.B.add(O.JSONContribution,G)},5898:function(xt,Te,i){"use strict";i.d(Te,{d:function(){return H}});var h=i(16925);const H=(0,h.yh)("keybindingService")},86414:function(xt,Te,i){"use strict";i.d(Te,{W:function(){return G}});var h=i(86354),H=i(23345),O=i(35884),P=i(44650);class D{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(p){if(H.OS===1){if(p&&p.win)return p.win}else if(H.OS===2){if(p&&p.mac)return p.mac}else if(p&&p.linux)return p.linux;return p}registerKeybindingRule(p){const a=D.bindToCurrentPlatform(p);if(a&&a.primary){const g=(0,h.gm)(a.primary,H.OS);g&&this._registerDefaultKeybinding(g,p.id,p.args,p.weight,0,p.when)}if(a&&Array.isArray(a.secondary))for(let g=0,w=a.secondary.length;g=21&&p<=30||p>=31&&p<=56?!0:p===80||p===81||p===82||p===83||p===84||p===85||p===86||p===110||p===111||p===87||p===88||p===89||p===90||p===91||p===92}_assertNoCtrlAlt(p,a){p.ctrlKey&&p.altKey&&!p.metaKey&&D._mightProduceChar(p.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",p," for ",a)}_registerDefaultKeybinding(p,a,g,w,s,C){H.OS===1&&this._assertNoCtrlAlt(p.parts[0],a),this._coreKeybindings.push({keybinding:p.parts,command:a,commandArgs:g,when:C,weight1:w,weight2:s,extensionId:null,isBuiltinExtension:!1}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(y)),this._cachedMergedKeybindings.slice(0)}}const G=new D,I={EditorModes:"platform.keybindingsRegistry"};P.B.add(I.EditorModes,G);function y(E,p){return E.weight1!==p.weight1?E.weight1-p.weight1:E.commandp.command?1:E.weight2-p.weight2}},6629:function(xt,Te,i){"use strict";i.d(Te,{e:function(){return H}});var h=i(16925);const H=(0,h.yh)("labelService")},52329:function(xt,Te,i){"use strict";i.d(Te,{Lw:function(){return Jt},XN:function(){return jt},ls:function(){return St},ev:function(){return An},CQ:function(){return Si}});var h=i(69454),H=i(43506),O=i(96283),P=i(4348),D=i(69323),G=i(13833),I=i(62685);class y{constructor(k,Ce){this.renderer=k,this.modelProvider=Ce}get templateId(){return this.renderer.templateId}renderTemplate(k){return{data:this.renderer.renderTemplate(k),disposable:D.JT.None}}renderElement(k,Ce,Be,ot){if(Be.disposable&&Be.disposable.dispose(),!Be.data)return;const wt=this.modelProvider();if(wt.isResolved(k))return this.renderer.renderElement(wt.get(k),k,Be.data,ot);const Ut=new O.A,Yt=wt.resolve(k,Ut.token);Be.disposable={dispose:()=>Ut.cancel()},this.renderer.renderPlaceholder(k,Be.data),Yt.then(ei=>this.renderer.renderElement(ei,k,Be.data,ot))}disposeTemplate(k){k.disposable&&(k.disposable.dispose(),k.disposable=void 0),k.data&&(this.renderer.disposeTemplate(k.data),k.data=void 0)}}class E{constructor(k,Ce){this.modelProvider=k,this.accessibilityProvider=Ce}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(k){const Ce=this.modelProvider();return Ce.isResolved(k)?this.accessibilityProvider.getAriaLabel(Ce.get(k)):null}}function p(Ct,k){return Object.assign(Object.assign({},k),{accessibilityProvider:k.accessibilityProvider&&new E(Ct,k.accessibilityProvider)})}class a{constructor(k,Ce,Be,ot,wt={}){const Ut=()=>this.model,Yt=ot.map(ei=>new y(ei,Ut));this.list=new I.aV(k,Ce,Be,Yt,p(Ut,wt))}updateOptions(k){this.list.updateOptions(k)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return P.ju.map(this.list.onMouseDblClick,({element:k,index:Ce,browserEvent:Be})=>({element:k===void 0?void 0:this._model.get(k),index:Ce,browserEvent:Be}))}get onPointer(){return P.ju.map(this.list.onPointer,({element:k,index:Ce,browserEvent:Be})=>({element:k===void 0?void 0:this._model.get(k),index:Ce,browserEvent:Be}))}get onDidChangeSelection(){return P.ju.map(this.list.onDidChangeSelection,({elements:k,indexes:Ce,browserEvent:Be})=>({elements:k.map(ot=>this._model.get(ot)),indexes:Ce,browserEvent:Be}))}get model(){return this._model}set model(k){this._model=k,this.list.splice(0,this.list.length,(0,H.w6)(k.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(k=>this.model.get(k))}style(k){this.list.style(k)}dispose(){this.list.dispose()}}var g=i(86916);class w{constructor(k,Ce,Be){this.columns=k,this.getColumnSize=Be,this.templateId=w.TemplateId,this.renderedTemplates=new Set;const ot=new Map(Ce.map(wt=>[wt.templateId,wt]));this.renderers=[];for(const wt of k){const Ut=ot.get(wt.templateId);if(!Ut)throw new Error(`Table cell renderer for template id ${wt.templateId} not found.`);this.renderers.push(Ut)}}renderTemplate(k){const Ce=(0,h.R3)(k,(0,h.$)(".monaco-table-tr")),Be=[],ot=[];for(let Ut=0;Utnew C(gi,Mi)),ei={size:Yt.reduce((gi,Mi)=>gi+Mi.column.weight,0),views:Yt.map(gi=>({size:gi.column.weight,view:gi}))};this.splitview=new g.z(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:ei}),this.splitview.el.style.height=`${Be.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${Be.headerRowHeight}px`;const ri=new w(ot,wt,gi=>this.splitview.getViewSize(gi));this.list=new I.aV(k,this.domNode,s(Be),[ri],Ut),this.columnLayoutDisposable=P.ju.any(...Yt.map(gi=>gi.onDidLayout))(([gi,Mi])=>ri.layoutColumn(gi,Mi)),this.styleElement=(0,h.dS)(this.domNode),this.style({})}get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}updateOptions(k){this.list.updateOptions(k)}splice(k,Ce,Be=[]){this.list.splice(k,Ce,Be)}getHTMLElement(){return this.domNode}style(k){const Ce=[];Ce.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before {
+[${p.xo.modifierLabels[g.OS].altKey}] ${ie}`}this.label.title=j}}updateClass(){this.options.icon&&(this._commandAction!==this._menuItemAction?this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.alt.item):this._menuItemAction.alt&&this._updateItemClass(this._menuItemAction.item))}_updateItemClass(Q){var le;this._itemClassDispose.value=void 0;const{element:xe,label:j}=this;if(!xe||!j)return;const R=this._commandAction.checked&&(!((le=Q.toggled)===null||le===void 0)&&le.icon)?Q.toggled.icon:Q.icon;if(R)if(c.kS.isThemeIcon(R)){const V=c.kS.asClassNameArray(R);j.classList.add(...V),this._itemClassDispose.value=(0,a.OF)(()=>{j.classList.remove(...V)})}else R.light&&j.style.setProperty("--menu-entry-icon-light",(0,h.wY)(R.light)),R.dark&&j.style.setProperty("--menu-entry-icon-dark",(0,h.wY)(R.dark)),j.classList.add("icon"),this._itemClassDispose.value=(0,a.OF)(()=>{j.classList.remove("icon"),j.style.removeProperty("--menu-entry-icon-light"),j.style.removeProperty("--menu-entry-icon-dark")})}};se=b([L(2,r.d),L(3,l.lT),L(4,C.i6)],se);let re=class extends E{constructor(Q,le,xe){var j,R;const V=Object.assign({},le!=null?le:Object.create(null),{menuAsChild:(j=le==null?void 0:le.menuAsChild)!==null&&j!==void 0?j:!1,classNames:(R=le==null?void 0:le.classNames)!==null&&R!==void 0?R:c.kS.isThemeIcon(Q.item.icon)?c.kS.asClassName(Q.item.icon):void 0});super(Q,{getActions:()=>Q.actions},xe,V)}render(Q){if(super.render(Q),this.element){Q.classList.add("menu-entry");const{icon:le}=this._action.item;le&&!c.kS.isThemeIcon(le)&&(this.element.classList.add("icon"),le.light&&this.element.style.setProperty("--menu-entry-icon-light",(0,h.wY)(le.light)),le.dark&&this.element.style.setProperty("--menu-entry-icon-dark",(0,h.wY)(le.dark)))}}};re=b([L(2,f.i)],re);let De=class extends O.Y{constructor(Q,le,xe,j,R,V,K,ie){var te,ge,ye;super(null,Q),this._keybindingService=xe,this._notificationService=j,this._contextMenuService=R,this._menuService=V,this._instaService=K,this._storageService=ie,this._container=null,this._storageKey=`${Q.item.submenu._debugName}_lastActionId`;let ve,Fe=ie.get(this._storageKey,1);Fe&&(ve=Q.actions.find(ue=>Fe===ue.id)),ve||(ve=Q.actions[0]),this._defaultAction=this._instaService.createInstance(se,ve,void 0);const we=Object.assign({},le!=null?le:Object.create(null),{menuAsChild:(te=le==null?void 0:le.menuAsChild)!==null&&te!==void 0?te:!0,classNames:(ge=le==null?void 0:le.classNames)!==null&&ge!==void 0?ge:["codicon","codicon-chevron-down"],actionRunner:(ye=le==null?void 0:le.actionRunner)!==null&&ye!==void 0?ye:new D.Wi});this._dropdown=new E(Q,Q.actions,this._contextMenuService,we),this._dropdown.actionRunner.onDidRun(ue=>{ue.action instanceof s.U8&&this.update(ue.action)})}update(Q){this._storageService.store(this._storageKey,Q.id,1,0),this._defaultAction.dispose(),this._defaultAction=this._instaService.createInstance(se,Q,void 0),this._defaultAction.actionRunner=new class extends D.Wi{runAction(le,xe){return T(this,void 0,void 0,function*(){yield le.run(void 0)})}},this._container&&this._defaultAction.render((0,h.Ce)(this._container,(0,h.$)(".action-container")))}setActionContext(Q){super.setActionContext(Q),this._defaultAction.setActionContext(Q),this._dropdown.setActionContext(Q)}render(Q){this._container=Q,super.render(this._container),this._container.classList.add("monaco-dropdown-with-default");const le=(0,h.$)(".action-container");this._defaultAction.render((0,h.R3)(this._container,le)),this._register((0,h.nm)(le,h.tw.KEY_DOWN,j=>{const R=new H.y(j);R.equals(17)&&(this._defaultAction.element.tabIndex=-1,this._dropdown.focus(),R.stopPropagation())}));const xe=(0,h.$)(".dropdown-action-container");this._dropdown.render((0,h.R3)(this._container,xe)),this._register((0,h.nm)(xe,h.tw.KEY_DOWN,j=>{var R;const V=new H.y(j);V.equals(15)&&(this._defaultAction.element.tabIndex=0,this._dropdown.setFocusable(!1),(R=this._defaultAction.element)===null||R===void 0||R.focus(),V.stopPropagation())}))}focus(Q){Q?this._dropdown.focus():(this._defaultAction.element.tabIndex=0,this._defaultAction.element.focus())}blur(){this._defaultAction.element.tabIndex=-1,this._dropdown.blur(),this._container.blur()}setFocusable(Q){Q?this._defaultAction.element.tabIndex=0:(this._defaultAction.element.tabIndex=-1,this._dropdown.setFocusable(!1))}dispose(){this._defaultAction.dispose(),this._dropdown.dispose(),super.dispose()}};De=b([L(2,r.d),L(3,l.lT),L(4,f.i),L(5,s.co),L(6,v.TG),L(7,m.Uy)],De);function J(Z,Q,le){return Q instanceof s.U8?Z.createInstance(se,Q,void 0):Q instanceof s.NZ?Q.item.rememberDefaultAction?Z.createInstance(De,Q,le):Z.createInstance(re,Q,le):void 0}},54622:function(xt,Te,i){"use strict";i.d(Te,{p:function(){return H}});var h=i(16925);const H=(0,h.yh)("clipboardService")},93965:function(xt,Te,i){"use strict";i.d(Te,{KV:function(){return G},MR:function(){return p},Mt:function(){return E},O4:function(){return a},Od:function(){return D},Ui:function(){return P},xL:function(){return I}});var h=i(20855),H=i(16925),O=i(44650);const P=(0,H.yh)("configurationService");function D(g,w){const s=Object.create(null);for(let C in g)G(s,C,g[C],w);return s}function G(g,w,s,C){const f=w.split("."),v=f.pop();let r=g;for(let l=0;lconsole.error(`Conflict in default settings: ${f}`))}return g}},20855:function(xt,Te,i){"use strict";i.d(Te,{G1:function(){return v},IP:function(){return G},Uh:function(){return r}});var h=i(4348),H=i(72999),O=i(13268),P=i(2142),D=i(44650);const G={Configuration:"base.contributions.configuration"},I={properties:{},patternProperties:{}},y={properties:{},patternProperties:{}},E={properties:{},patternProperties:{}},p={properties:{},patternProperties:{}},a={properties:{},patternProperties:{}},g={properties:{},patternProperties:{}},w="vscode://schemas/settings/resourceLanguage",s=D.B.as(P.I.JSONContribution);class C{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new h.Q5,this._onDidUpdateConfiguration=new h.Q5,this.defaultValues={},this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:O.N("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!1,errorMessage:"Unknown editor configuration setting",allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.excludedConfigurationProperties={},s.registerSchema(w,this.resourceLanguageSettingsSchema)}registerConfiguration(L,T=!0){this.registerConfigurations([L],T)}registerConfigurations(L,T=!0){const M=this.doRegisterConfigurations(L,T);s.registerSchema(w,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire(M)}registerOverrideIdentifiers(L){for(const T of L)this.overrideIdentifiers.add(T);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(L,T){const M=[];return L.forEach(z=>{M.push(...this.validateAndRegisterProperties(z,T,z.extensionInfo)),this.configurationContributors.push(z),this.registerJSONConfiguration(z)}),M}validateAndRegisterProperties(L,T=!0,M,z=3){var oe;z=H.Jp(L.scope)?z:L.scope;let se=[],re=L.properties;if(re)for(let J in re){if(T&&c(J)){delete re[J];continue}const Z=re[J];if(this.updatePropertyDefaultValue(J,Z),v.test(J)?Z.scope=void 0:(Z.scope=H.Jp(Z.scope)?z:Z.scope,Z.restricted=H.Jp(Z.restricted)?!!(!((oe=M==null?void 0:M.restrictedConfigurations)===null||oe===void 0)&&oe.includes(J)):Z.restricted),re[J].hasOwnProperty("included")&&!re[J].included){this.excludedConfigurationProperties[J]=re[J],delete re[J];continue}else this.configurationProperties[J]=re[J];!re[J].deprecationMessage&&re[J].markdownDeprecationMessage&&(re[J].deprecationMessage=re[J].markdownDeprecationMessage),se.push(J)}let De=L.allOf;if(De)for(let J of De)se.push(...this.validateAndRegisterProperties(J,T,M,z));return se}getConfigurationProperties(){return this.configurationProperties}registerJSONConfiguration(L){const T=M=>{let z=M.properties;if(z)for(const se in z)this.updateSchema(se,z[se]);let oe=M.allOf;oe&&oe.forEach(T)};T(L)}updateSchema(L,T){switch(I.properties[L]=T,T.scope){case 1:y.properties[L]=T;break;case 2:E.properties[L]=T;break;case 6:p.properties[L]=T;break;case 3:a.properties[L]=T;break;case 4:g.properties[L]=T;break;case 5:g.properties[L]=T,this.resourceLanguageSettingsSchema.properties[L]=T;break}}updateOverridePropertyPatternKey(){for(const L of this.overrideIdentifiers.values()){const T=`[${L}]`,M={type:"object",description:O.N("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:O.N("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:w};this.updatePropertyDefaultValue(T,M),I.properties[T]=M,y.properties[T]=M,E.properties[T]=M,p.properties[T]=M,a.properties[T]=M,g.properties[T]=M}this._onDidSchemaChange.fire()}updatePropertyDefaultValue(L,T){let M=this.defaultValues[L];H.o8(M)&&(M=T.default),H.o8(M)&&(M=l(T.type)),T.default=M}}const f="\\[.*\\]$",v=new RegExp(f);function r(b){return b.substring(1,b.length-1)}function l(b){switch(Array.isArray(b)?b[0]:b){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}const m=new C;D.B.add(G.Configuration,m);function c(b){return b.trim()?v.test(b)?O.N("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",b):m.getConfigurationProperties()[b]!==void 0?O.N("config.property.duplicate","Cannot register '{0}'. This property is already registered.",b):null:O.N("config.property.empty","Cannot register an empty property")}},75237:function(xt,Te,i){"use strict";i.d(Te,{c:function(){return P},d:function(){return D}});var h=i(23345),H=i(13268),O=i(90689);const P=new O.uy("isWindows",h.ED,(0,H.N)("isWindows","Whether the operating system is Windows")),D="inputFocus"},4999:function(xt,Te,i){"use strict";i.d(Te,{i:function(){return O},u:function(){return H}});var h=i(16925);const H=(0,h.yh)("contextViewService"),O=(0,h.yh)("contextMenuService")},94726:function(xt,Te,i){"use strict";i.d(Te,{S:function(){return H}});var h=i(16925);const H=(0,h.yh)("dialogService")},64441:function(xt,Te,i){"use strict";i.d(Te,{M:function(){return h}});class h{constructor(O,P=[],D=!1){this.ctor=O,this.staticArguments=P,this.supportsDelayedInstantiation=D}}},7335:function(xt,Te,i){"use strict";i.d(Te,{d:function(){return P},z:function(){return O}});var h=i(64441);const H=[];function O(D,G,I){G instanceof h.M||(G=new h.M(G,[],I)),H.push([D,G])}function P(){return H}},36916:function(xt,Te,i){"use strict";i.d(Te,{y:function(){return h}});class h{constructor(...O){this._entries=new Map;for(let[P,D]of O)this.set(P,D)}set(O,P){const D=this._entries.get(O);return this._entries.set(O,P),D}has(O){return this._entries.has(O)}get(O){return this._entries.get(O)}}},2142:function(xt,Te,i){"use strict";i.d(Te,{I:function(){return O}});var h=i(4348),H=i(44650);const O={JSONContribution:"base.contributions.json"};function P(I){return I.length>0&&I.charAt(I.length-1)==="#"?I.substring(0,I.length-1):I}class D{constructor(){this._onDidChangeSchema=new h.Q5,this.schemasById={}}registerSchema(y,E){this.schemasById[P(y)]=E,this._onDidChangeSchema.fire(y)}notifySchemaChanged(y){this._onDidChangeSchema.fire(y)}}const G=new D;H.B.add(O.JSONContribution,G)},5898:function(xt,Te,i){"use strict";i.d(Te,{d:function(){return H}});var h=i(16925);const H=(0,h.yh)("keybindingService")},86414:function(xt,Te,i){"use strict";i.d(Te,{W:function(){return G}});var h=i(86354),H=i(23345),O=i(35884),P=i(44650);class D{constructor(){this._coreKeybindings=[],this._extensionKeybindings=[],this._cachedMergedKeybindings=null}static bindToCurrentPlatform(p){if(H.OS===1){if(p&&p.win)return p.win}else if(H.OS===2){if(p&&p.mac)return p.mac}else if(p&&p.linux)return p.linux;return p}registerKeybindingRule(p){const a=D.bindToCurrentPlatform(p);if(a&&a.primary){const g=(0,h.gm)(a.primary,H.OS);g&&this._registerDefaultKeybinding(g,p.id,p.args,p.weight,0,p.when)}if(a&&Array.isArray(a.secondary))for(let g=0,w=a.secondary.length;g=21&&p<=30||p>=31&&p<=56?!0:p===80||p===81||p===82||p===83||p===84||p===85||p===86||p===110||p===111||p===87||p===88||p===89||p===90||p===91||p===92}_assertNoCtrlAlt(p,a){p.ctrlKey&&p.altKey&&!p.metaKey&&D._mightProduceChar(p.keyCode)&&console.warn("Ctrl+Alt+ keybindings should not be used by default under Windows. Offender: ",p," for ",a)}_registerDefaultKeybinding(p,a,g,w,s,C){H.OS===1&&this._assertNoCtrlAlt(p.parts[0],a),this._coreKeybindings.push({keybinding:p.parts,command:a,commandArgs:g,when:C,weight1:w,weight2:s,extensionId:null,isBuiltinExtension:!1}),this._cachedMergedKeybindings=null}getDefaultKeybindings(){return this._cachedMergedKeybindings||(this._cachedMergedKeybindings=[].concat(this._coreKeybindings).concat(this._extensionKeybindings),this._cachedMergedKeybindings.sort(y)),this._cachedMergedKeybindings.slice(0)}}const G=new D,I={EditorModes:"platform.keybindingsRegistry"};P.B.add(I.EditorModes,G);function y(E,p){return E.weight1!==p.weight1?E.weight1-p.weight1:E.commandp.command?1:E.weight2-p.weight2}},6629:function(xt,Te,i){"use strict";i.d(Te,{e:function(){return H}});var h=i(16925);const H=(0,h.yh)("labelService")},58970:function(xt,Te,i){"use strict";i.d(Te,{Lw:function(){return Jt},XN:function(){return jt},ls:function(){return St},ev:function(){return An},CQ:function(){return Si}});var h=i(69454),H=i(43506),O=i(96283),P=i(4348),D=i(69323),G=i(13833),I=i(62685);class y{constructor(k,Ce){this.renderer=k,this.modelProvider=Ce}get templateId(){return this.renderer.templateId}renderTemplate(k){return{data:this.renderer.renderTemplate(k),disposable:D.JT.None}}renderElement(k,Ce,Be,ot){if(Be.disposable&&Be.disposable.dispose(),!Be.data)return;const wt=this.modelProvider();if(wt.isResolved(k))return this.renderer.renderElement(wt.get(k),k,Be.data,ot);const Ut=new O.A,Yt=wt.resolve(k,Ut.token);Be.disposable={dispose:()=>Ut.cancel()},this.renderer.renderPlaceholder(k,Be.data),Yt.then(ei=>this.renderer.renderElement(ei,k,Be.data,ot))}disposeTemplate(k){k.disposable&&(k.disposable.dispose(),k.disposable=void 0),k.data&&(this.renderer.disposeTemplate(k.data),k.data=void 0)}}class E{constructor(k,Ce){this.modelProvider=k,this.accessibilityProvider=Ce}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(k){const Ce=this.modelProvider();return Ce.isResolved(k)?this.accessibilityProvider.getAriaLabel(Ce.get(k)):null}}function p(Ct,k){return Object.assign(Object.assign({},k),{accessibilityProvider:k.accessibilityProvider&&new E(Ct,k.accessibilityProvider)})}class a{constructor(k,Ce,Be,ot,wt={}){const Ut=()=>this.model,Yt=ot.map(ei=>new y(ei,Ut));this.list=new I.aV(k,Ce,Be,Yt,p(Ut,wt))}updateOptions(k){this.list.updateOptions(k)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return P.ju.map(this.list.onMouseDblClick,({element:k,index:Ce,browserEvent:Be})=>({element:k===void 0?void 0:this._model.get(k),index:Ce,browserEvent:Be}))}get onPointer(){return P.ju.map(this.list.onPointer,({element:k,index:Ce,browserEvent:Be})=>({element:k===void 0?void 0:this._model.get(k),index:Ce,browserEvent:Be}))}get onDidChangeSelection(){return P.ju.map(this.list.onDidChangeSelection,({elements:k,indexes:Ce,browserEvent:Be})=>({elements:k.map(ot=>this._model.get(ot)),indexes:Ce,browserEvent:Be}))}get model(){return this._model}set model(k){this._model=k,this.list.splice(0,this.list.length,(0,H.w6)(k.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(k=>this.model.get(k))}style(k){this.list.style(k)}dispose(){this.list.dispose()}}var g=i(86916);class w{constructor(k,Ce,Be){this.columns=k,this.getColumnSize=Be,this.templateId=w.TemplateId,this.renderedTemplates=new Set;const ot=new Map(Ce.map(wt=>[wt.templateId,wt]));this.renderers=[];for(const wt of k){const Ut=ot.get(wt.templateId);if(!Ut)throw new Error(`Table cell renderer for template id ${wt.templateId} not found.`);this.renderers.push(Ut)}}renderTemplate(k){const Ce=(0,h.R3)(k,(0,h.$)(".monaco-table-tr")),Be=[],ot=[];for(let Ut=0;Utnew C(gi,Mi)),ei={size:Yt.reduce((gi,Mi)=>gi+Mi.column.weight,0),views:Yt.map(gi=>({size:gi.column.weight,view:gi}))};this.splitview=new g.z(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:ei}),this.splitview.el.style.height=`${Be.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${Be.headerRowHeight}px`;const ri=new w(ot,wt,gi=>this.splitview.getViewSize(gi));this.list=new I.aV(k,this.domNode,s(Be),[ri],Ut),this.columnLayoutDisposable=P.ju.any(...Yt.map(gi=>gi.onDidLayout))(([gi,Mi])=>ri.layoutColumn(gi,Mi)),this.styleElement=(0,h.dS)(this.domNode),this.style({})}get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}updateOptions(k){this.list.updateOptions(k)}splice(k,Ce,Be=[]){this.list.splice(k,Ce,Be)}getHTMLElement(){return this.domNode}style(k){const Ce=[];Ce.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before {
top: ${this.virtualDelegate.headerRowHeight+1}px;
height: calc(100% - ${this.virtualDelegate.headerRowHeight}px);
}`),this.styleElement.textContent=Ce.join(`
diff --git a/9596.2c25ea17.async.js b/9596.ed8f1fc2.async.js
similarity index 84%
rename from 9596.2c25ea17.async.js
rename to 9596.ed8f1fc2.async.js
index baa51934b7..97b6af1202 100644
--- a/9596.2c25ea17.async.js
+++ b/9596.ed8f1fc2.async.js
@@ -1,9 +1,9 @@
-!(function(){var Zu=Object.defineProperty,Yu=Object.defineProperties;var Qu=Object.getOwnPropertyDescriptors;var ko=Object.getOwnPropertySymbols;var Is=Object.prototype.hasOwnProperty,xs=Object.prototype.propertyIsEnumerable;var Fs=Math.pow,Ss=(c,a,t)=>a in c?Zu(c,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):c[a]=t,Ia=(c,a)=>{for(var t in a||(a={}))Is.call(a,t)&&Ss(c,t,a[t]);if(ko)for(var t of ko(a))xs.call(a,t)&&Ss(c,t,a[t]);return c},Hl=(c,a)=>Yu(c,Qu(a));var Bs=(c,a)=>{var t={};for(var e in c)Is.call(c,e)&&a.indexOf(e)<0&&(t[e]=c[e]);if(c!=null&&ko)for(var e of ko(c))a.indexOf(e)<0&&xs.call(c,e)&&(t[e]=c[e]);return t};var jl=(c,a,t)=>new Promise((e,i)=>{var l=E=>{try{d(t.next(E))}catch(f){i(f)}},s=E=>{try{d(t.throw(E))}catch(f){i(f)}},d=E=>E.done?e(E.value):Promise.resolve(E.value).then(l,s);d((t=t.apply(c,a)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[9596],{91136:function(c,a){"use strict";a.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},58339:function(c,a){"use strict";a.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},57149:function(c,a,t){"use strict";var e=t(59301),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(h,A,S)=>A in h?i(h,A,{enumerable:!0,configurable:!0,writable:!0,value:S}):h[A]=S,f=(h,A)=>{for(var S in A||(A={}))s.call(A,S)&&E(h,S,A[S]);if(l)for(var S of l(A))d.call(A,S)&&E(h,S,A[S]);return h};const b=h=>React.createElement("svg",f({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},h),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));a.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},61250:function(c,a,t){"use strict";var e=t(59301),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(h,A,S)=>A in h?i(h,A,{enumerable:!0,configurable:!0,writable:!0,value:S}):h[A]=S,f=(h,A)=>{for(var S in A||(A={}))s.call(A,S)&&E(h,S,A[S]);if(l)for(var S of l(A))d.call(A,S)&&E(h,S,A[S]);return h};const b=h=>React.createElement("svg",f({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},h),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));a.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},3932:function(c,a,t){"use strict";var e=t(59301),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(h,A,S)=>A in h?i(h,A,{enumerable:!0,configurable:!0,writable:!0,value:S}):h[A]=S,f=(h,A)=>{for(var S in A||(A={}))s.call(A,S)&&E(h,S,A[S]);if(l)for(var S of l(A))d.call(A,S)&&E(h,S,A[S]);return h};const b=h=>React.createElement("svg",f({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},h),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));a.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},64126:function(c,a,t){"use strict";var e=t(59301),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(h,A,S)=>A in h?i(h,A,{enumerable:!0,configurable:!0,writable:!0,value:S}):h[A]=S,f=(h,A)=>{for(var S in A||(A={}))s.call(A,S)&&E(h,S,A[S]);if(l)for(var S of l(A))d.call(A,S)&&E(h,S,A[S]);return h};const b=h=>React.createElement("svg",f({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},h),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));a.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},84842:function(c,a,t){"use strict";t.d(a,{Z:function(){return N}});var e=t(3113),i=t(59301),l=Object.defineProperty,s=Object.defineProperties,d=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,h=(D,Z,H)=>Z in D?l(D,Z,{enumerable:!0,configurable:!0,writable:!0,value:H}):D[Z]=H,A=(D,Z)=>{for(var H in Z||(Z={}))f.call(Z,H)&&h(D,H,Z[H]);if(E)for(var H of E(Z))b.call(Z,H)&&h(D,H,Z[H]);return D},S=(D,Z)=>s(D,d(Z)),O=(D,Z)=>{var H={};for(var U in D)f.call(D,U)&&Z.indexOf(U)<0&&(H[U]=D[U]);if(D!=null&&E)for(var U of E(D))Z.indexOf(U)<0&&b.call(D,U)&&(H[U]=D[U]);return H},V=(D,Z,H)=>new Promise((U,C)=>{var j=B=>{try{W(H.next(B))}catch(F){C(F)}},P=B=>{try{W(H.throw(B))}catch(F){C(F)}},W=B=>B.done?U(B.value):Promise.resolve(B.value).then(j,P);W((H=H.apply(D,Z)).next())});const N=D=>{var Z=D,{children:H}=Z,U=O(Z,["children"]);const[C,j]=(0,i.useState)(!1);return i.createElement(e.ZP,S(A({},U),{loading:C,onClick:P=>V(void 0,null,function*(){try{j(!0),yield U.onClick(P),j(!1)}catch(W){console.error(W),j(!1)}})}),H)}},49706:function(c,a,t){"use strict";t.d(a,{Z:function(){return Be}});var e=t(59301),i=t(78241),l=t(71418),s=t(8591),d=t(43418),E=t(95237),f=t(19842),b=t(43428),h=t(4676),A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9XvRYElUeqIJegFOmEKgiICUkgJBBCkpnMZHoyc6ad9pW9r3t/58wEsJfn+Z8z5zn9fN+711rvetdaewT/rsvi073GBEsdrIN8214WOfbCyLHnSks0SSGqFCCFlSOS/VLKNhXJbULKTVYgXwhKwWZevNX/d5ya+Ff+6OzZx9WGycRbhZs+JbKdYyPbmqZsR5Qsi7xrIS2LSAgQFuh7fdHIVQRSmZsVhsqSciARyifswL/LsuX9w8/fOfyvOs9/CeB5845bEuJ9WljidOm6tZHtEjkOkWPjuw4l2yZMJAk1UKsMVh9ZCVAqBhxJiEJzE2GEE0Z4ocSOwmEnCm9VxfDy7M77tvyzwP8pwAfMPG6JtOyLI0e8M7SEi2UTuB7SdlGOi+85+K5NyfEIXBdcrwy4YmENVsVgZQhBBKEPUYQVBNhBSDKMEGGAG8nAlvJuEfoX9+986B8G/g8Bnlt3yBQvk/m6tKxPKWElIhvjrhpk6HjmPkh4+K5L0XUpWTaJVIJpDfU01VVTP6Uaz3OMsXL5En3ZEfZkcwwNZZFBYMCLIDSgnSAkEfiIKMSNFLYMS1akflokuiTb9sjI32vxvxvwouY3HIdrXQtirvZI6XhISyFtB8qAQ8+jaFuQTvGGlQdy5klHcvji+TTV1eA5MVAdw+bgSiGBQslnZ98gj254idsfW8/azduJ/AArCkj5AXYUYGtXj0IsKRFRpInuI31djz/+94D+ewBbi1oO+zLC/SbafYVACWGA6ljFtlGuhy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fKeZNaeCcs1bwpjcuxUokqJua4sZbtvLQy+Os78szXl1D1NAM6SpUcwMctxyyWkJaIBOwfisi209193amjw/yjtlNzJ6doDDiBz+/+b6LXxl54jv/0u3D+4Jv3/jQsbXVxes2/qFz7o7NfUZUdLSX2N4+TlJUM712KvdtfprBsYG4nFQOGc/hrPcs47R3HoqdSNI0cwqrV7/EExsH6LRqIeWRsAVB0iNXO5P2BQvItWhWV0wdyjF/82aSbgkVSYb3+hxnD7NoblVbOs05Z339vNfttvsTxpp46e+x8GRBMfTwlHWPtX+jZ+fgeS+/PJzY3VUkLNm4YS1JK8n69q1sH2inoEaotmvJZOAT71/FGw47ADuVonVuPWvu3c0TT3ejogAVCFI1VTy6fZjISuM1TWfPygOwizAr20fwzIOkkvW8fcUcLGesFAbhz+y0/OYFV13w7/8XgH1X76avXbJ0167iN/r6/Hf6JdyUrMMVHuvaNpPN7SFfHKMQSWa1VnH+h9/I3FlNuOkUtfU1bHsiYvczKbbn2ri340nePH8l20ZGsL0QT3ceSz4zptUyNDrK4oXzeGGTHxxbt/jujuoXv/nd+/9rYqPZX7Lmn3rvH7Lwa3/og0d+eklP78j5c2vmntZUO7V27e5nGM2NsGtoF65dxQmHz+NDZxxBKpEkNSVFmE3w8iMOj2x5kZ78ANWJBNPqpyESJQIZUvJDk8Km1qUpFovDc2e13Mp4+vIv/uasf/i/Wf4R0vqri/mh2RfXLlow66St+fXvbu/qOW4o3z/1iMXzxOnvOIpUlYNjW2QaUvSvTbFlS462PQMUo2EaG2pIpjzT+y4UlQpDuUchH3ec6DdeUqy5+M7P/v/1j1p/aiXuv/zyxDOP7ViyYP7Ug9r6upadcPSqhYlkYm405jXteNqt8reG9LYO5NJVqt8VXlsU2Nsi6WySofvCfml38xm3nvFv+Ve8/wNgli4fKbeMnwAAAABJRU5ErkJggg==",S={tip:"tip___DIcZT",knowledgeWrapper:"knowledgeWrapper___NW_oT",fixedLoading:"fixedLoading___LsIeU",leftNode:"leftNode___LiefK",option:"option___XqgEG",serial:"serial___daV0t",row:"row___yw9GM",label:"label___yyq8y",content:"content___PzumI"},O=t(47251),V=t(50043),N=t(1041),D=t(38986),Z=t(39793),H=t(49535),U=t(18618),C=t(66067),j=t(91842),P=t(19105),W=t(59301),B=Object.defineProperty,F=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,Ce=(ye,$,pe)=>$ in ye?B(ye,$,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ye[$]=pe,de=(ye,$)=>{for(var pe in $||($={}))z.call($,pe)&&Ce(ye,pe,$[pe]);if(F)for(var pe of F($))re.call($,pe)&&Ce(ye,pe,$[pe]);return ye},M=(ye,$,pe)=>new Promise((K,R)=>{var J=L=>{try{I(pe.next(L))}catch(Ae){R(Ae)}},te=L=>{try{I(pe.throw(L))}catch(Ae){R(Ae)}},I=L=>L.done?K(L.value):Promise.resolve(L.value).then(J,te);I((pe=pe.apply(ye,$)).next())}),Be=(0,e.forwardRef)(({onUpdateNum:ye,onlyMediatorOpenStr:$},pe)=>{var K;const[R]=i.default.useForm(),[J,te]=(0,e.useState)([]),[I,L]=(0,e.useState)({}),[Ae,Ee]=(0,e.useState)(null),[ie,xe]=(0,e.useState)(!1),[oe,Ye]=(0,e.useState)([]),[qe,Ct]=(0,e.useState)(!1),[tt,Ke]=(0,e.useState)(""),[G,Y]=(0,e.useState)([]),[be,Ve]=(0,e.useState)([]),Se=(0,e.useRef)(null),{progressOpen:$e,openProgress:ke,closeProgress:it,CreateProgressModal:ft}=(0,U.Z)(),jt=i.default.useWatch("knowledge",R),st=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],St=[{id:"0",type:"\u5355\u9009\u9898",value:"SINGLE"},{id:"1",type:"\u591A\u9009\u9898",value:"MULTIPLE"},{id:"2",type:"\u5224\u65AD\u9898",value:"JUDGMENT"},{id:"3",type:"\u586B\u7A7A\u9898",value:"COMPLETION"},{id:"4",type:"\u7B80\u7B54\u9898",value:"SUBJECTIVE"}];(0,e.useEffect)(()=>{if($)return H.Z.subscribe($,Nt=>{bt(Nt.id)})},[$]),(0,e.useEffect)(()=>{Ae===!1&&ye&&ye()},[Ae]);const Ze=()=>M(void 0,null,function*(){const rt=yield(0,D.ZP)("/api/disciplines.json",{method:"get",params:{source:"new_question"}});Ve(rt.disciplines||[])}),ve=rt=>M(void 0,null,function*(){const Nt=yield(0,D.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:rt}});Y(Nt.tag_disciplines)}),Ot=()=>M(void 0,null,function*(){var rt,Nt,Xe,we;const Ne=document.createElement("div");Ne.className=S.fixedLoading,document.body.appendChild(Ne),h.render(W.createElement(l.Z,{spinning:!0}),Ne);const Tt=yield(0,D.ZP)(`/api/item_banks/${Se.current}/edit_single.json`,{method:"get"});if(Tt.id){const Ht=[];if(Tt!=null&&Tt.analysis||Ht.push(3),(Tt==null?void 0:Tt.item_type)==="SUBJECTIVE"&&!((rt=Tt==null?void 0:Tt.answer_texts)!=null&&rt.length)&&Ht.push(2),!((Nt=Tt==null?void 0:Tt.tag_disciplines)!=null&&Nt.length)){Ht.push(1);const Yt=[(Xe=Tt==null?void 0:Tt.discipline)==null?void 0:Xe.id,(we=Tt==null?void 0:Tt.sub_discipline)==null?void 0:we.id].filter(Mt=>!!Mt);R.setFieldValue("course",Yt)}Ye(Ht),Ht.length?xe(!0):nn(),L(Tt)}document.body.removeChild(Ne)}),bt=rt=>M(void 0,null,function*(){Se.current=rt,Ot(),Ze()}),gt=()=>{Ee(!0)};(0,e.useImperativeHandle)(pe,()=>({onClick:gt}));const dn=rt=>{Y([...G,de({},rt)])},Jt=(rt,Nt)=>{if(rt!=null&&rt.course){const[Xe,we]=rt.course;ve(we),Ke(new Date),R.setFieldsValue({knowledge:[]})}},nn=()=>M(void 0,null,function*(){var rt,Nt,Xe;const{analysis:we="",answer_texts:Ne="",course:Tt=[],knowledge:Ht=[]}=R.getFieldsValue()||{},Yt=new FormData;Yt.append("scene_type",5),Yt.append("item_bank_id",Se.current),Yt.append("analysis",we),Yt.append("answer_texts",[Ne]),Yt.append("sub_discipline_id",(Tt==null?void 0:Tt[1])||""),Yt.append("tag_discipline_ids",Ht==null?void 0:Ht.map(Ut=>Ut.value)),ke(),te([]),Ct(!0),xe(!1);const Mt=yield(0,C.$)(Yt);if((Mt==null?void 0:Mt.status)===0)if((Nt=(rt=Mt==null?void 0:Mt.data)==null?void 0:rt.content)!=null&&Nt.length){it(100),te((Xe=Mt==null?void 0:Mt.data)==null?void 0:Xe.content);return}else s.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");Ct(!1),it()}),Et=()=>M(void 0,null,function*(){var rt,Nt;const Xe=new FormData;if(Xe.append("scene_type",5),Xe.append("item_bank_id",Se.current),Xe.append("count",1),$e)return Promise.reject();ke();const we=yield(0,C.$)(Xe);if((we==null?void 0:we.status)===0){if((Nt=(rt=we==null?void 0:we.data)==null?void 0:rt.content)!=null&&Nt.length)return it(100),we;s.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898")}return it(),we}),xt=()=>{var rt,Nt;const Xe=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],{name:we,choices:Ne=[],item_type:Tt,tag_disciplines:Ht=[],difficulty:Yt,analysis:Mt,answer_texts:Ut,standard_answer:yt}=I,Pn=`1.\u3010${(rt=St.find(et=>et.value===Tt))==null?void 0:rt.type}\u3011${we}`;let Je="";const nt=(Nt=Ht==null?void 0:Ht.map(et=>et.name))==null?void 0:Nt.join("\u3001");return Tt==="SUBJECTIVE"?Je=(Ut==null?void 0:Ut[0])||"":Tt==="JUDGMENT"?Ne==null||Ne.forEach((et,Le)=>{et.is_answer&&(Je=Le?"\u9519\u8BEF":"\u6B63\u786E")}):Ne==null||Ne.forEach((et,Le)=>{et.is_answer&&(Je=Je+st[Le])}),W.createElement("div",{className:S.leftNode},W.createElement(j.Z,{className:"mb10",value:Pn}),Ne==null?void 0:Ne.map((et,Le)=>W.createElement("div",{key:Le,className:S.option},W.createElement("div",{className:S.serial},st[Le],"."),W.createElement(j.Z,{style:{flex:1},value:et==null?void 0:et.choice_text}))),W.createElement("div",{style:{background:"#f1f1f1",height:1}}),Tt==="COMPLETION"?yt==null?void 0:yt.map((et,Le)=>{var x,Q;return W.createElement("div",{className:S.row,style:{alignItems:"center"},key:Le},W.createElement("div",{className:S.label},"\u7B54\u6848",Le+1),W.createElement("div",{className:S.content},(et==null?void 0:et.model)===1?(x=et==null?void 0:et.answer_text)==null?void 0:x.join("\u3001"):W.createElement(P.Z,{value:(Q=et==null?void 0:et.answer_text)==null?void 0:Q.join("\u3001"),readOnly:!0})))}):W.createElement("div",{className:S.row},W.createElement("div",{className:S.label},"\u7B54\u6848"),W.createElement("div",{className:S.content},Je)),W.createElement("div",{className:S.row},W.createElement("div",{className:S.label},"\u96BE\u5EA6"),W.createElement("div",{className:S.content},Xe[Yt-1]||"")),W.createElement("div",{className:S.row},W.createElement("div",{className:S.label},"\u89E3\u6790"),W.createElement(j.Z,{style:{flex:1},value:Mt||""})),W.createElement("div",{className:S.row},W.createElement("div",{className:S.label},"\u77E5\u8BC6\u70B9"),W.createElement("div",{className:S.content},nt)))};return W.createElement(e.Fragment,null,W.createElement(d.default,{centered:!0,open:ie,title:"\u6E29\u99A8\u63D0\u793A",width:810,okText:"\u7EE7\u7EED\u6362\u9898",zIndex:1002,onCancel:()=>xe(!1),onOk:()=>R.submit(),afterClose:()=>{R.resetFields()}},W.createElement("div",{className:S.tip},"\u6211\u53D1\u73B0\u60A8\u9009\u4E2D\u7684\u8FD9\u9053\u9898\u76EE\u4E0D\u5B8C\u5584\u3002\u4E3A\u4E86\u80FD\u66F4\u7CBE\u51C6\u7684\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u5EFA\u8BAE\u60A8\u63D0\u4F9B\u66F4\u591A\u7684\u5173\u4E8E\u5F53\u524D\u9898\u76EE\u7684\u4FE1\u606F~"),W.createElement("img",{src:A,style:{marginTop:-100}}),W.createElement(i.default,{form:R,onValuesChange:Jt,layout:"vertical",colon:!1,onFinish:nn},oe.includes(1)&&W.createElement(E.Z,{align:"middle",className:"mb20"},W.createElement(i.default.Item,{label:"\u77E5\u8BC6\u70B9",name:"course",className:"mr10 mb0"},W.createElement(f.Z,{size:"large",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},style:{width:240},placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be})),W.createElement(i.default.Item,{name:"knowledge",className:"mb0 mt30"},W.createElement(N.N,{key:tt,height:300,zIndex:1003,selectvalues:jt,subId:(K=R.getFieldsValue().course)==null?void 0:K[1],knowledgeOptions:G,onAddKnowledgeFinish:dn,className:S.knowledgeWrapper}))),oe.includes(2)&&W.createElement(i.default.Item,{className:"mt20 mb10",name:"answer_texts",label:"\u53C2\u8003\u7B54\u6848",valuePropName:"defaultValue"},W.createElement(Z.Z,{placeholder:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848",height:120})),oe.includes(3)&&W.createElement(i.default.Item,{className:"mb0",name:"analysis",label:"\u9898\u76EE\u89E3\u6790",valuePropName:"defaultValue"},W.createElement(Z.Z,{placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u89E3\u6790",height:120})))),Ae&&W.createElement(O.Z,{isIntelligentAssistant:!0,setScoreShow:Ee,isshixuns:!1,ScoreShow:!!Ae,isloadings:!1,onOk:rt=>{if(!rt.length){s.ZP.warning("\u8BF7\u9009\u62E9\u8BD5\u9898");return}bt(rt[0])}}),W.createElement(b.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:qe},W.createElement(E.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},W.createElement("img",{src:t(34999),alt:"\u4EE5\u9898\u6362\u9898"}),W.createElement("span",{className:"ml10"},"\u4EE5\u9898\u6362\u9898")),W.createElement(V.Z,{stickyTop:-24,isSingleSelection:!0,hideWordFeatures:!0,dataSource:J,customRightHeadNode:!0,customLeftHeadNode:W.createElement("div",{className:"mb10 blod c-black"},"\u539F\u9898\u76EE"),customLeftContent:xt(),hideRecognition:!0,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,underpinBackgroundStyle:{minHeight:"calc(100vh - 166px)"},onCancel:()=>Ct(!1),onSuccess:()=>{Ct(!1),Ee(!1)},onExchange:Et}),W.createElement("div",{style:{height:70}})),ft(["\u9898\u76EE\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u9898\u76EE\u53D8\u6362\u4E2D"]))})},18618:function(c,a,t){"use strict";t.d(a,{Z:function(){return O}});var e=t(59301),i=t(43418),l=t(95237),s=t(93948),d="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABYCAYAAAAORCLFAAAAAXNSR0IArs4c6QAAIABJREFUeF7lfQecXFXZ/nNumT6zvWeTTSWkEEJooUgRpSMooiLfxycqTcQGIvipAf1UsNFEUAQBQTpSDCgtIQVTSAgJ6ckm2ZJt2dnd6XPL+fuec8/sZAmSbAKBv/P73Z3ZmXvv3Ps+5+1lGD5kD855cHM8P85xtRqmG1a5H5sqQqz1Q3aZ+/xy2D4/4zBOyGfN0lZe9v0Tt/fj0vZenBAf0MozFgNjAOe2XR1jy8qC7s/OPdT/12Gc/iNxyH4HYlVrctrb3b5bN7Wzj3X1agDXYOgQILgccFwgk+OoKOOY1uT89nPPmldiFnM/EtTdg4vcr0C8uC59xbIt5k3bu/Sgz2Twm4BuAJom78B1AdsG8haQywMOc5BLDPzsD5eXX7cH9/iR2HW/AMFnQXvwEwM/e7vN913b9iMQAPw+wPQBuscNnIBwPCDyQDZHnAEsXtPHzzo6fPG1p/vu/khQeDcvcr8A8cC8xKzV240fuW4AoSAQCAI+H+AzAdMEwADLliBYFmATR2SBZAbY0mWhsyuZvfRM48Tzj4i9vpv3+aHf7QMH4qXVqb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D0/9uWP5914uwmf3l0v5ZAxIn7nr/MdWSRv84vhA1eaO3PZ/Kbnv7cnN5fFwDMOP8vz4/Uk8nae+oAAAAASUVORK5CYII=",b={dotLoading:"dotLoading___C9qdK",showHide:"showHide___smgPU",progress:"progress___kIqrW"},h=t(59301);const A=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var O=()=>{const[V,N]=(0,e.useState)(0),[D,Z]=(0,e.useState)(!1),[H,U]=(0,e.useState)(!0),C=(0,e.useRef)(null);(0,e.useEffect)(()=>{if(H)return;const z=()=>{N(re=>re>=99?(clearInterval(C.current),99):re+1)};return C.current=setInterval(z,5e4/99),()=>clearInterval(C.current)},[H]);const j=()=>{N(0),Z(!0),U(!1)},P=(z=0)=>{U(!0),N(z),Z(!1)},W=z=>{const re=z/1048576;let Ce;return re<=.3?Ce=3:re<=.5?Ce=5:re<=1?Ce=10:re<=2?Ce=20:re<=3?Ce=30:re<=10?Ce=re*10:Ce=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${Ce}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},B=()=>h.createElement("span",{className:b.dotLoading},h.createElement("span",null,"."),h.createElement("span",null,"."),h.createElement("span",null,"."));return{progress:V,progressOpen:D,openProgress:j,closeProgress:P,toggleLock:()=>U(z=>!z),CreateProgressModal:(z=A,re)=>h.createElement(i.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:D,title:null,footer:null,width:500,afterClose:()=>N(0)},h.createElement(l.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},V<=30&&h.createElement(h.Fragment,null,h.createElement("img",{src:d,alt:"Step 1"}),h.createElement("div",{className:"mt20 c-light-primary"},z[0],B())),V>30&&V<60&&h.createElement(h.Fragment,null,h.createElement("img",{src:E,alt:"Step 2"}),h.createElement("div",{className:"mt20 c-light-primary"},z[1],B())),V>=60&&h.createElement(h.Fragment,null,h.createElement("img",{src:f,alt:"Step 3"}),h.createElement("div",{className:"mt20 c-light-primary"},z[2],B())),h.createElement(s.Z,{className:b.progress,status:"active",style:{width:"auto"},size:[300,8],percent:V}),!!re&&h.createElement("div",{className:"c-grey-999"},W(re))))}}},66067:function(c,a,t){"use strict";t.d(a,{$:function(){return K},Z:function(){return J}});var e=t(59301),i=t(67266),l=t(25690),s=t(54580),d=t(8591),E=t(43418),f=t(95237),b=t(43428),h=t(50043),A=t(18618),S=t(59301),O=(te,I,L)=>new Promise((Ae,Ee)=>{var ie=Ye=>{try{oe(L.next(Ye))}catch(qe){Ee(qe)}},xe=Ye=>{try{oe(L.throw(Ye))}catch(qe){Ee(qe)}},oe=Ye=>Ye.done?Ae(Ye.value):Promise.resolve(Ye.value).then(ie,xe);oe((L=L.apply(te,I)).next())});const{Dragger:V}=s.default;var D=(0,e.forwardRef)(({onUpdateNum:te},I)=>{var L;const[Ae,Ee]=(0,e.useState)([]),[ie,xe]=(0,e.useState)(!1),[oe,Ye]=(0,e.useState)([]),[qe,Ct]=(0,e.useState)(!1),{openProgress:tt,closeProgress:Ke,CreateProgressModal:G}=(0,A.Z)(),Y=()=>{xe(!0)};(0,e.useImperativeHandle)(I,()=>({onClick:Y}));const be=Ve=>O(void 0,null,function*(){const Se=Ve.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Se)==-1?(d.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):Ve.size/1024/1024>10?(d.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):(Ye([Ve]),Promise.reject())});return S.createElement(e.Fragment,null,S.createElement(E.default,{centered:!0,open:ie,title:"\u667A\u80FD\u8BC6\u9898",width:700,okText:"\u5F00\u59CB\u8BC6\u9898",afterClose:()=>{Ye([]),te()},onCancel:()=>xe(!1),onOk:()=>O(void 0,null,function*(){var Ve,Se,$e;if(!(oe!=null&&oe.length)){d.ZP.warning("\u8BF7\u4E0A\u4F20\u8BD5\u9898\u6587\u4EF6");return}const ke=new FormData;ke.append("file",oe[0]),ke.append("scene_type",0),tt(),Ct(!0),Ee([]);const it=yield K(ke);if((it==null?void 0:it.status)===0)if((Se=(Ve=it==null?void 0:it.data)==null?void 0:Ve.content)!=null&&Se.length){Ke(100),Ee(($e=it==null?void 0:it.data)==null?void 0:$e.content);return}else d.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");Ct(!1),Ke()})},S.createElement("div",{className:"mb10",style:{color:"#FA6400"}},"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u9898\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u9898"),S.createElement(V,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:oe,beforeUpload:be,onRemove:()=>Ye([]),height:200},S.createElement(f.Z,{align:"middle",justify:"center",style:{flexDirection:"column"}},S.createElement("div",{className:"iconfont icon-shangchuanwenjian2 c-light-primary font30"}),S.createElement("div",{className:"c-light-primary mb10 mt10"},"\u70B9\u51FB\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u8FD9\u91CC\u4E0A\u4F20"),S.createElement("div",{className:"c-grey-666"},"\u652F\u6301\u6269\u5C55\u540D\uFF1A.doc .docx .pdf .jpg .png...",S.createElement("br",null),"\u4E00\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6\uFF0C\u5927\u5C0F\u9650\u5236\u4E3A10MB")))),S.createElement(b.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:qe},S.createElement(f.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},S.createElement("img",{src:t(7764),alt:"\u667A\u80FD\u8BC6\u9898"}),S.createElement("span",{className:"ml10"},"\u667A\u80FD\u8BC6\u9898")),S.createElement(h.Z,{stickyTop:-24,hideWordFeatures:!0,dataSource:Ae,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>Ct(!1),onSuccess:()=>{Ct(!1),xe(!1)}}),S.createElement("div",{style:{height:70}})),G(void 0,(L=oe==null?void 0:oe[0])==null?void 0:L.size))}),Z=t(59301),H=(te,I,L)=>new Promise((Ae,Ee)=>{var ie=Ye=>{try{oe(L.next(Ye))}catch(qe){Ee(qe)}},xe=Ye=>{try{oe(L.throw(Ye))}catch(qe){Ee(qe)}},oe=Ye=>Ye.done?Ae(Ye.value):Promise.resolve(Ye.value).then(ie,xe);oe((L=L.apply(te,I)).next())});const{Dragger:U}=s.default;var j=(0,e.forwardRef)(({onUpdateNum:te,onClose:I},L)=>{var Ae;const[Ee,ie]=(0,e.useState)(!1),[xe,oe]=(0,e.useState)([]),{openProgress:Ye,closeProgress:qe,CreateProgressModal:Ct}=(0,A.Z)(),tt=()=>{ie(!0)};(0,e.useImperativeHandle)(L,()=>({onClick:tt}));const Ke=G=>H(void 0,null,function*(){const Y=G.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Y)==-1?(d.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):G.size/1024/1024>10?(d.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):(oe([G]),Promise.reject())});return Z.createElement(e.Fragment,null,Z.createElement(E.default,{centered:!0,open:Ee,title:"\u667A\u80FD\u8BC6\u5377",width:700,okText:"\u5F00\u59CB\u8BC6\u5377",afterClose:()=>{oe([]),te()},onCancel:()=>ie(!1),onOk:()=>H(void 0,null,function*(){var G,Y;if(!(xe!=null&&xe.length)){d.ZP.warning("\u8BF7\u4E0A\u4F20\u8BD5\u5377\u6587\u4EF6");return}const be=new FormData;be.append("file",xe[0]),be.append("scene_type",4),Ye();const Ve=yield K(be);if((Ve==null?void 0:Ve.status)===0)if((G=Ve==null?void 0:Ve.data)!=null&&G.examination_bank_id){l.history.replace(`/paperlibrary/see/${(Y=Ve==null?void 0:Ve.data)==null?void 0:Y.examination_bank_id}?isIntelligentAssistant=true`),qe(100),ie(!1),I();return}else d.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u5377");qe()})},Z.createElement("div",{className:"mb10",style:{color:"#FA6400"}},"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u5377\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u5377"),Z.createElement(U,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:xe,beforeUpload:Ke,onRemove:()=>oe([]),height:200},Z.createElement(f.Z,{align:"middle",justify:"center",style:{flexDirection:"column"}},Z.createElement("div",{className:"iconfont icon-shangchuanwenjian2 c-light-primary font30"}),Z.createElement("div",{className:"c-light-primary mb10 mt10"},"\u70B9\u51FB\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u8FD9\u91CC\u4E0A\u4F20"),Z.createElement("div",{className:"c-grey-666"},"\u652F\u6301\u6269\u5C55\u540D\uFF1A.doc .docx .pdf .jpg .png...",Z.createElement("br",null),"\u4E00\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6\uFF0C\u5927\u5C0F\u9650\u5236\u4E3A10MB")))),Ct(void 0,(Ae=xe==null?void 0:xe[0])==null?void 0:Ae.size))}),P=t(49706),W=t(92832),B=t(6848),F=t(43604),z=t(5871),re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9XvRYElUeqIJegFOmEKgiICUkgJBBCkpnMZHoyc6ad9pW9r3t/58wEsJfn+Z8z5zn9fN+711rvetdaewT/rsvi073GBEsdrIN8214WOfbCyLHnSks0SSGqFCCFlSOS/VLKNhXJbULKTVYgXwhKwWZevNX/d5ya+Ff+6OzZx9WGycRbhZs+JbKdYyPbmqZsR5Qsi7xrIS2LSAgQFuh7fdHIVQRSmZsVhsqSciARyifswL/LsuX9w8/fOfyvOs9/CeB5845bEuJ9WljidOm6tZHtEjkOkWPjuw4l2yZMJAk1UKsMVh9ZCVAqBhxJiEJzE2GEE0Z4ocSOwmEnCm9VxfDy7M77tvyzwP8pwAfMPG6JtOyLI0e8M7SEi2UTuB7SdlGOi+85+K5NyfEIXBdcrwy4YmENVsVgZQhBBKEPUYQVBNhBSDKMEGGAG8nAlvJuEfoX9+986B8G/g8Bnlt3yBQvk/m6tKxPKWElIhvjrhpk6HjmPkh4+K5L0XUpWTaJVIJpDfU01VVTP6Uaz3OMsXL5En3ZEfZkcwwNZZFBYMCLIDSgnSAkEfiIKMSNFLYMS1akflokuiTb9sjI32vxvxvwouY3HIdrXQtirvZI6XhISyFtB8qAQ8+jaFuQTvGGlQdy5klHcvji+TT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wAAAABJRU5ErkJggg==",Ce={tip:"tip___V6mRp"},de=t(9148),M=t(59301),k=(te,I,L)=>new Promise((Ae,Ee)=>{var ie=Ye=>{try{oe(L.next(Ye))}catch(qe){Ee(qe)}},xe=Ye=>{try{oe(L.throw(Ye))}catch(qe){Ee(qe)}},oe=Ye=>Ye.done?Ae(Ye.value):Promise.resolve(Ye.value).then(ie,xe);oe((L=L.apply(te,I)).next())}),ye=(0,e.forwardRef)(({onUpdateNum:te},I)=>{const L=`\u8BF7\u751F\u6210\u5173\u4E8E\u300APython\u7A0B\u5E8F\u8BBE\u8BA1\u300B\u7684\u8BD5\u9898\u3002\u8003\u5BDF\u77E5\u8BC6\u70B9\uFF1A\u53D8\u91CF\u5B9A\u4E49\u3001\u6570\u636E\u7C7B\u578B\u3001\u8FD0\u7B97\u7B26\u548C\u63A7\u5236\u7ED3\u6784\u3002\u6BCF\u9053\u9898\u5E94\u5305\u542B\uFF1A
+!(function(){var Zu=Object.defineProperty,Yu=Object.defineProperties;var Qu=Object.getOwnPropertyDescriptors;var ko=Object.getOwnPropertySymbols;var Is=Object.prototype.hasOwnProperty,xs=Object.prototype.propertyIsEnumerable;var Fs=Math.pow,Ss=(c,a,t)=>a in c?Zu(c,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):c[a]=t,Ia=(c,a)=>{for(var t in a||(a={}))Is.call(a,t)&&Ss(c,t,a[t]);if(ko)for(var t of ko(a))xs.call(a,t)&&Ss(c,t,a[t]);return c},Hl=(c,a)=>Yu(c,Qu(a));var Bs=(c,a)=>{var t={};for(var e in c)Is.call(c,e)&&a.indexOf(e)<0&&(t[e]=c[e]);if(c!=null&&ko)for(var e of ko(c))a.indexOf(e)<0&&xs.call(c,e)&&(t[e]=c[e]);return t};var jl=(c,a,t)=>new Promise((e,i)=>{var l=E=>{try{d(t.next(E))}catch(f){i(f)}},s=E=>{try{d(t.throw(E))}catch(f){i(f)}},d=E=>E.done?e(E.value):Promise.resolve(E.value).then(l,s);d((t=t.apply(c,a)).next())});(self.webpackChunk=self.webpackChunk||[]).push([[9596],{91136:function(c,a){"use strict";a.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},58339:function(c,a){"use strict";a.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},57149:function(c,a,t){"use strict";var e=t(59301),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(h,A,S)=>A in h?i(h,A,{enumerable:!0,configurable:!0,writable:!0,value:S}):h[A]=S,f=(h,A)=>{for(var S in A||(A={}))s.call(A,S)&&E(h,S,A[S]);if(l)for(var S of l(A))d.call(A,S)&&E(h,S,A[S]);return h};const b=h=>React.createElement("svg",f({className:"jiangxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},h),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143z",fill:"#98BDF7"}),React.createElement("path",{d:"m248.686 803.182-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#145DFF"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#98BDF7"}));a.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Im0yNDguNjg2IDgwMy4xODItNjUuODI5IDc1LjkyMlY2NTguMjg2aC03My4xNDN2MjIwLjgxOGwtNjUuODI4LTc1Ljk5NUwwIDg1MS4zODMgMTQ2LjI4NiAxMDI0IDI5Mi41NyA4NTEuNTN6IiBmaWxsPSIjMTQ1REZGIi8+PHBhdGggZD0iTTE0Ni4yODYgMCAwIDE1OC43Mmw0My44ODYgNTUuMjIzIDY1LjgyOC03NS45MjJ2MjI3LjY5M2g3My4xNDNWMTM4LjAyMWw2NS44MjkgNzUuOTIyIDQzLjg4NS01NS4yMjN6IiBmaWxsPSIjOThCREY3Ii8+PC9zdmc+"},61250:function(c,a,t){"use strict";var e=t(59301),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(h,A,S)=>A in h?i(h,A,{enumerable:!0,configurable:!0,writable:!0,value:S}):h[A]=S,f=(h,A)=>{for(var S in A||(A={}))s.call(A,S)&&E(h,S,A[S]);if(l)for(var S of l(A))d.call(A,S)&&E(h,S,A[S]);return h};const b=h=>React.createElement("svg",f({className:"shengxu_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:32,height:32},h),React.createElement("path",{d:"M365.714 73.143H1024v73.143H365.714zm0 292.571H1024v73.143H365.714zm0 292.572H1024v73.143H365.714zm0 292.571H1024V1024H365.714v-73.143zM248.686 803.182l-65.829 75.922V658.286h-73.143v220.818l-65.828-75.995L0 851.383 146.286 1024 292.57 851.53z",fill:"#98BDF7"}),React.createElement("path",{d:"M146.286 0 0 158.72l43.886 55.223 65.828-75.922v227.693h73.143V138.021l65.829 75.922 43.885-55.223z",fill:"#145DFF"}));a.Z="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiPjxwYXRoIGQ9Ik0zNjUuNzE0IDczLjE0M0gxMDI0djczLjE0M0gzNjUuNzE0em0wIDI5Mi41NzFIMTAyNHY3My4xNDNIMzY1LjcxNHptMCAyOTIuNTcySDEwMjR2NzMuMTQzSDM2NS43MTR6bTAgMjkyLjU3MUgxMDI0VjEwMjRIMzY1LjcxNHYtNzMuMTQzek0yNDguNjg2IDgwMy4xODJsLTY1LjgyOSA3NS45MjJWNjU4LjI4NmgtNzMuMTQzdjIyMC44MThsLTY1LjgyOC03NS45OTVMMCA4NTEuMzgzIDE0Ni4yODYgMTAyNCAyOTIuNTcgODUxLjUzeiIgZmlsbD0iIzk4QkRGNyIvPjxwYXRoIGQ9Ik0xNDYuMjg2IDAgMCAxNTguNzJsNDMuODg2IDU1LjIyMyA2NS44MjgtNzUuOTIydjIyNy42OTNoNzMuMTQzVjEzOC4wMjFsNjUuODI5IDc1LjkyMiA0My44ODUtNTUuMjIzeiIgZmlsbD0iIzE0NURGRiIvPjwvc3ZnPg=="},3932:function(c,a,t){"use strict";var e=t(59301),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(h,A,S)=>A in h?i(h,A,{enumerable:!0,configurable:!0,writable:!0,value:S}):h[A]=S,f=(h,A)=>{for(var S in A||(A={}))s.call(A,S)&&E(h,S,A[S]);if(l)for(var S of l(A))d.call(A,S)&&E(h,S,A[S]);return h};const b=h=>React.createElement("svg",f({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},h),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));a.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},64126:function(c,a,t){"use strict";var e=t(59301),i=Object.defineProperty,l=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,E=(h,A,S)=>A in h?i(h,A,{enumerable:!0,configurable:!0,writable:!0,value:S}):h[A]=S,f=(h,A)=>{for(var S in A||(A={}))s.call(A,S)&&E(h,S,A[S]);if(l)for(var S of l(A))d.call(A,S)&&E(h,S,A[S]);return h};const b=h=>React.createElement("svg",f({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},h),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));a.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},84842:function(c,a,t){"use strict";t.d(a,{Z:function(){return N}});var e=t(3113),i=t(59301),l=Object.defineProperty,s=Object.defineProperties,d=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,h=(D,Z,H)=>Z in D?l(D,Z,{enumerable:!0,configurable:!0,writable:!0,value:H}):D[Z]=H,A=(D,Z)=>{for(var H in Z||(Z={}))f.call(Z,H)&&h(D,H,Z[H]);if(E)for(var H of E(Z))b.call(Z,H)&&h(D,H,Z[H]);return D},S=(D,Z)=>s(D,d(Z)),O=(D,Z)=>{var H={};for(var U in D)f.call(D,U)&&Z.indexOf(U)<0&&(H[U]=D[U]);if(D!=null&&E)for(var U of E(D))Z.indexOf(U)<0&&b.call(D,U)&&(H[U]=D[U]);return H},V=(D,Z,H)=>new Promise((U,C)=>{var j=B=>{try{W(H.next(B))}catch(F){C(F)}},P=B=>{try{W(H.throw(B))}catch(F){C(F)}},W=B=>B.done?U(B.value):Promise.resolve(B.value).then(j,P);W((H=H.apply(D,Z)).next())});const N=D=>{var Z=D,{children:H}=Z,U=O(Z,["children"]);const[C,j]=(0,i.useState)(!1);return i.createElement(e.ZP,S(A({},U),{loading:C,onClick:P=>V(void 0,null,function*(){try{j(!0),yield U.onClick(P),j(!1)}catch(W){console.error(W),j(!1)}})}),H)}},49706:function(c,a,t){"use strict";t.d(a,{Z:function(){return Be}});var e=t(59301),i=t(78241),l=t(71418),s=t(8591),d=t(43418),E=t(95237),f=t(19842),b=t(43428),h=t(4676),A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWKoAI2FAH1iqBYwXvFLogF8S9XvRYElUeqIJegFOmEKgiICUkgJBBCkpnMZHoyc6ad9pW9r3t/58wEsJfn+Z8z5zn9fN+711rvetdaewT/rsvi073GB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izAr20fwzIOkkvW8fcUcLGesFAbhz+y0/OYFV13w7/8XgH1X76avXbJ0167iN/r6/Hf6JdyUrMMVHuvaNpPN7SFfHKMQSWa1VnH+h9/I3FlNuOkUtfU1bHsiYvczKbbn2ri340nePH8l20ZGsL0QT3ceSz4zptUyNDrK4oXzeGGTHxxbt/jujuoXv/nd+/9rYqPZX7Lmn3rvH7Lwa3/og0d+eklP78j5c2vmntZUO7V27e5nGM2NsGtoF65dxQmHz+NDZxxBKpEkNSVFmE3w8iMOj2x5kZ78ANWJBNPqpyESJQIZUvJDk8Km1qUpFovDc2e13Mp4+vIv/uasf/i/Wf4R0vqri/mh2RfXLlow66St+fXvbu/qOW4o3z/1iMXzxOnvOIpUlYNjW2QaUvSvTbFlS462PQMUo2EaG2pIpjzT+y4UlQpDuUchH3ec6DdeUqy5+M7P/v/1j1p/aiXuv/zyxDOP7ViyYP7Ug9r6upadcPSqhYlkYm405jXteNqt8reG9LYO5NJVqt8VXlsU2Nsi6WySofvCfml38xm3nvFv+Ve8/wNgli4fKbeMnwAAAABJRU5ErkJggg==",S={tip:"tip___DIcZT",knowledgeWrapper:"knowledgeWrapper___NW_oT",fixedLoading:"fixedLoading___LsIeU",leftNode:"leftNode___LiefK",option:"option___XqgEG",serial:"serial___daV0t",row:"row___yw9GM",label:"label___yyq8y",content:"content___PzumI"},O=t(47251),V=t(50043),N=t(1041),D=t(38986),Z=t(39793),H=t(49535),U=t(18618),C=t(66067),j=t(91842),P=t(19105),W=t(59301),B=Object.defineProperty,F=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,Ce=(ye,$,pe)=>$ in ye?B(ye,$,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ye[$]=pe,de=(ye,$)=>{for(var pe in $||($={}))z.call($,pe)&&Ce(ye,pe,$[pe]);if(F)for(var pe of F($))re.call($,pe)&&Ce(ye,pe,$[pe]);return ye},M=(ye,$,pe)=>new Promise((K,R)=>{var J=L=>{try{I(pe.next(L))}catch(Ae){R(Ae)}},te=L=>{try{I(pe.throw(L))}catch(Ae){R(Ae)}},I=L=>L.done?K(L.value):Promise.resolve(L.value).then(J,te);I((pe=pe.apply(ye,$)).next())}),Be=(0,e.forwardRef)(({onUpdateNum:ye,onlyMediatorOpenStr:$},pe)=>{var K;const[R]=i.default.useForm(),[J,te]=(0,e.useState)([]),[I,L]=(0,e.useState)({}),[Ae,Ee]=(0,e.useState)(null),[ie,xe]=(0,e.useState)(!1),[oe,Ye]=(0,e.useState)([]),[qe,Ct]=(0,e.useState)(!1),[tt,Ke]=(0,e.useState)(""),[G,Y]=(0,e.useState)([]),[be,Ve]=(0,e.useState)([]),Se=(0,e.useRef)(null),{progressOpen:$e,openProgress:ke,closeProgress:it,CreateProgressModal:ft}=(0,U.Z)(),jt=i.default.useWatch("knowledge",R),st=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],St=[{id:"0",type:"\u5355\u9009\u9898",value:"SINGLE"},{id:"1",type:"\u591A\u9009\u9898",value:"MULTIPLE"},{id:"2",type:"\u5224\u65AD\u9898",value:"JUDGMENT"},{id:"3",type:"\u586B\u7A7A\u9898",value:"COMPLETION"},{id:"4",type:"\u7B80\u7B54\u9898",value:"SUBJECTIVE"}];(0,e.useEffect)(()=>{if($)return H.Z.subscribe($,Nt=>{bt(Nt.id)})},[$]),(0,e.useEffect)(()=>{Ae===!1&&ye&&ye()},[Ae]);const Ze=()=>M(void 0,null,function*(){const rt=yield(0,D.ZP)("/api/disciplines.json",{method:"get",params:{source:"new_question"}});Ve(rt.disciplines||[])}),ve=rt=>M(void 0,null,function*(){const Nt=yield(0,D.ZP)("/api/tag_disciplines.json",{method:"get",params:{sub_discipline_id:rt}});Y(Nt.tag_disciplines)}),Ot=()=>M(void 0,null,function*(){var rt,Nt,Xe,we;const Ne=document.createElement("div");Ne.className=S.fixedLoading,document.body.appendChild(Ne),h.render(W.createElement(l.Z,{spinning:!0}),Ne);const Tt=yield(0,D.ZP)(`/api/item_banks/${Se.current}/edit_single.json`,{method:"get"});if(Tt.id){const Ht=[];if(Tt!=null&&Tt.analysis||Ht.push(3),(Tt==null?void 0:Tt.item_type)==="SUBJECTIVE"&&!((rt=Tt==null?void 0:Tt.answer_texts)!=null&&rt.length)&&Ht.push(2),!((Nt=Tt==null?void 0:Tt.tag_disciplines)!=null&&Nt.length)){Ht.push(1);const Yt=[(Xe=Tt==null?void 0:Tt.discipline)==null?void 0:Xe.id,(we=Tt==null?void 0:Tt.sub_discipline)==null?void 0:we.id].filter(Mt=>!!Mt);R.setFieldValue("course",Yt)}Ye(Ht),Ht.length?xe(!0):nn(),L(Tt)}document.body.removeChild(Ne)}),bt=rt=>M(void 0,null,function*(){Se.current=rt,Ot(),Ze()}),gt=()=>{Ee(!0)};(0,e.useImperativeHandle)(pe,()=>({onClick:gt}));const dn=rt=>{Y([...G,de({},rt)])},Jt=(rt,Nt)=>{if(rt!=null&&rt.course){const[Xe,we]=rt.course;ve(we),Ke(new Date),R.setFieldsValue({knowledge:[]})}},nn=()=>M(void 0,null,function*(){var rt,Nt,Xe;const{analysis:we="",answer_texts:Ne="",course:Tt=[],knowledge:Ht=[]}=R.getFieldsValue()||{},Yt=new FormData;Yt.append("scene_type",5),Yt.append("item_bank_id",Se.current),Yt.append("analysis",we),Yt.append("answer_texts",[Ne]),Yt.append("sub_discipline_id",(Tt==null?void 0:Tt[1])||""),Yt.append("tag_discipline_ids",Ht==null?void 0:Ht.map(Ut=>Ut.value)),ke(),te([]),Ct(!0),xe(!1);const Mt=yield(0,C.$)(Yt);if((Mt==null?void 0:Mt.status)===0)if((Nt=(rt=Mt==null?void 0:Mt.data)==null?void 0:rt.content)!=null&&Nt.length){it(100),te((Xe=Mt==null?void 0:Mt.data)==null?void 0:Xe.content);return}else s.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");Ct(!1),it()}),Et=()=>M(void 0,null,function*(){var rt,Nt;const Xe=new FormData;if(Xe.append("scene_type",5),Xe.append("item_bank_id",Se.current),Xe.append("count",1),$e)return Promise.reject();ke();const we=yield(0,C.$)(Xe);if((we==null?void 0:we.status)===0){if((Nt=(rt=we==null?void 0:we.data)==null?void 0:rt.content)!=null&&Nt.length)return it(100),we;s.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898")}return it(),we}),xt=()=>{var rt,Nt;const Xe=["\u7B80\u5355","\u9002\u4E2D","\u56F0\u96BE"],{name:we,choices:Ne=[],item_type:Tt,tag_disciplines:Ht=[],difficulty:Yt,analysis:Mt,answer_texts:Ut,standard_answer:yt}=I,Pn=`1.\u3010${(rt=St.find(et=>et.value===Tt))==null?void 0:rt.type}\u3011${we}`;let Je="";const nt=(Nt=Ht==null?void 0:Ht.map(et=>et.name))==null?void 0:Nt.join("\u3001");return Tt==="SUBJECTIVE"?Je=(Ut==null?void 0:Ut[0])||"":Tt==="JUDGMENT"?Ne==null||Ne.forEach((et,Le)=>{et.is_answer&&(Je=Le?"\u9519\u8BEF":"\u6B63\u786E")}):Ne==null||Ne.forEach((et,Le)=>{et.is_answer&&(Je=Je+st[Le])}),W.createElement("div",{className:S.leftNode},W.createElement(j.Z,{className:"mb10",value:Pn}),Ne==null?void 0:Ne.map((et,Le)=>W.createElement("div",{key:Le,className:S.option},W.createElement("div",{className:S.serial},st[Le],"."),W.createElement(j.Z,{style:{flex:1},value:et==null?void 0:et.choice_text}))),W.createElement("div",{style:{background:"#f1f1f1",height:1}}),Tt==="COMPLETION"?yt==null?void 0:yt.map((et,Le)=>{var x,Q;return W.createElement("div",{className:S.row,style:{alignItems:"center"},key:Le},W.createElement("div",{className:S.label},"\u7B54\u6848",Le+1),W.createElement("div",{className:S.content},(et==null?void 0:et.model)===1?(x=et==null?void 0:et.answer_text)==null?void 0:x.join("\u3001"):W.createElement(P.Z,{value:(Q=et==null?void 0:et.answer_text)==null?void 0:Q.join("\u3001"),readOnly:!0})))}):W.createElement("div",{className:S.row},W.createElement("div",{className:S.label},"\u7B54\u6848"),W.createElement("div",{className:S.content},Je)),W.createElement("div",{className:S.row},W.createElement("div",{className:S.label},"\u96BE\u5EA6"),W.createElement("div",{className:S.content},Xe[Yt-1]||"")),W.createElement("div",{className:S.row},W.createElement("div",{className:S.label},"\u89E3\u6790"),W.createElement(j.Z,{style:{flex:1},value:Mt||""})),W.createElement("div",{className:S.row},W.createElement("div",{className:S.label},"\u77E5\u8BC6\u70B9"),W.createElement("div",{className:S.content},nt)))};return W.createElement(e.Fragment,null,W.createElement(d.default,{centered:!0,open:ie,title:"\u6E29\u99A8\u63D0\u793A",width:810,okText:"\u7EE7\u7EED\u6362\u9898",zIndex:1002,onCancel:()=>xe(!1),onOk:()=>R.submit(),afterClose:()=>{R.resetFields()}},W.createElement("div",{className:S.tip},"\u6211\u53D1\u73B0\u60A8\u9009\u4E2D\u7684\u8FD9\u9053\u9898\u76EE\u4E0D\u5B8C\u5584\u3002\u4E3A\u4E86\u80FD\u66F4\u7CBE\u51C6\u7684\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u5EFA\u8BAE\u60A8\u63D0\u4F9B\u66F4\u591A\u7684\u5173\u4E8E\u5F53\u524D\u9898\u76EE\u7684\u4FE1\u606F~"),W.createElement("img",{src:A,style:{marginTop:-100}}),W.createElement(i.default,{form:R,onValuesChange:Jt,layout:"vertical",colon:!1,onFinish:nn},oe.includes(1)&&W.createElement(E.Z,{align:"middle",className:"mb20"},W.createElement(i.default.Item,{label:"\u77E5\u8BC6\u70B9",name:"course",className:"mr10 mb0"},W.createElement(f.Z,{size:"large",fieldNames:{label:"name",value:"id",children:"sub_disciplines"},style:{width:240},placeholder:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B",options:be})),W.createElement(i.default.Item,{name:"knowledge",className:"mb0 mt30"},W.createElement(N.N,{key:tt,height:300,zIndex:1003,selectvalues:jt,subId:(K=R.getFieldsValue().course)==null?void 0:K[1],knowledgeOptions:G,onAddKnowledgeFinish:dn,className:S.knowledgeWrapper}))),oe.includes(2)&&W.createElement(i.default.Item,{className:"mt20 mb10",name:"answer_texts",label:"\u53C2\u8003\u7B54\u6848",valuePropName:"defaultValue"},W.createElement(Z.Z,{placeholder:"\u8BF7\u8F93\u5165\u53C2\u8003\u7B54\u6848",height:120})),oe.includes(3)&&W.createElement(i.default.Item,{className:"mb0",name:"analysis",label:"\u9898\u76EE\u89E3\u6790",valuePropName:"defaultValue"},W.createElement(Z.Z,{placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u89E3\u6790",height:120})))),Ae&&W.createElement(O.Z,{isIntelligentAssistant:!0,setScoreShow:Ee,isshixuns:!1,ScoreShow:!!Ae,isloadings:!1,onOk:rt=>{if(!rt.length){s.ZP.warning("\u8BF7\u9009\u62E9\u8BD5\u9898");return}bt(rt[0])}}),W.createElement(b.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:qe},W.createElement(E.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},W.createElement("img",{src:t(34999),alt:"\u4EE5\u9898\u6362\u9898"}),W.createElement("span",{className:"ml10"},"\u4EE5\u9898\u6362\u9898")),W.createElement(V.Z,{stickyTop:-24,isSingleSelection:!0,hideWordFeatures:!0,dataSource:J,customRightHeadNode:!0,customLeftHeadNode:W.createElement("div",{className:"mb10 blod c-black"},"\u539F\u9898\u76EE"),customLeftContent:xt(),hideRecognition:!0,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,underpinBackgroundStyle:{minHeight:"calc(100vh - 166px)"},onCancel:()=>Ct(!1),onSuccess:()=>{Ct(!1),Ee(!1)},onExchange:Et}),W.createElement("div",{style:{height:70}})),ft(["\u9898\u76EE\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u9898\u76EE\u53D8\u6362\u4E2D"]))})},18618:function(c,a,t){"use strict";t.d(a,{Z:function(){return O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Hk5pHKkQ9XMgqMtVa6tgAOH8vjx08OYCjjq4ePCCF2ijD8vc4vzX/h1QJwpuM3d4+0VCdrL4bAOsfBVaGPCy1L1pHxgkB+bFmjPWGroF8qEPEb+PzPsvND33m7EM5NRT+83CenqBJZzSmM68xttRUorEJSFa8xQOI+yUScYcAoFkM8sWkIL+3lo2YY+HFyUsp7EM69d/+XROG1BGGic508Kav7Ev5FCctp8+rx0Aox8cPNf2VAxAf9Z49k5yNw3g7bualQDK7wfemy7puFk2TplgYL89psNDZEoLCyKVoVY3gvLqpKCcBcrD+Uw2PPDCEzxpQ99TjXTX4Y/H7XXy14+fUG4NWe/6wAIj7oT/8gu8CXzo1SOjcXPf9yL5Au83IpvsjeLY22AqWpkeFtoatbuTBjArBMo8wF2LhpBK8cyGrrTDgjYeB/+pXt+/4aT14bdZ56taR6fY8/64CI3+5//mZuoXTstwewbvK94DI/IKdE1pctMavJxrzZDurrLGV5DY4E2H+4gF2dY8jmQ139KsVj+Xzx9v1fWtD1+pLy33b2sxqI+K3d+U250Pdz7wiRuMn3/UuDQLpFz1ftgIIw1LXN7G7gk3tYbWT1e2H4yR33tH1NG7Nn9/ZrA0ScjB/8x9zCQijfIWHd5BWDS4t+6KpWC4FAoejl/NB+oFD0/9uWP5914uwmf3l0v5ZAxIn7nr/MdWSRv84vhA1eaO3PZ/Kbnv7cnN5fFwDMOP8vz4/Uk8nae+oAAAAASUVORK5CYII=",b={dotLoading:"dotLoading___C9qdK",showHide:"showHide___smgPU",progress:"progress___kIqrW"},h=t(59301);const A=["\u6587\u4EF6\u89E3\u6790\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u7ED3\u6784\u5316\u63D0\u53D6\u4E2D"];var O=()=>{const[V,N]=(0,e.useState)(0),[D,Z]=(0,e.useState)(!1),[H,U]=(0,e.useState)(!0),C=(0,e.useRef)(null);(0,e.useEffect)(()=>{if(H)return;const z=()=>{N(re=>re>=99?(clearInterval(C.current),99):re+1)};return C.current=setInterval(z,5e4/99),()=>clearInterval(C.current)},[H]);const j=()=>{N(0),Z(!0),U(!1)},P=(z=0)=>{U(!0),N(z),Z(!1)},W=z=>{const re=z/1048576;let Ce;return re<=.3?Ce=3:re<=.5?Ce=5:re<=1?Ce=10:re<=2?Ce=20:re<=3?Ce=30:re<=10?Ce=re*10:Ce=100,` \u9884\u8BA1\u5904\u7406\u65F6\u957F\u4E3A${Ce}\u5206\u949F\uFF0C\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3`},B=()=>h.createElement("span",{className:b.dotLoading},h.createElement("span",null,"."),h.createElement("span",null,"."),h.createElement("span",null,"."));return{progress:V,progressOpen:D,openProgress:j,closeProgress:P,toggleLock:()=>U(z=>!z),CreateProgressModal:(z=A,re)=>h.createElement(i.default,{centered:!0,closable:!1,destroyOnClose:!0,zIndex:1200,open:D,title:null,footer:null,width:500,afterClose:()=>N(0)},h.createElement(l.Z,{align:"middle",className:"mt40 mb20",style:{flexDirection:"column"}},V<=30&&h.createElement(h.Fragment,null,h.createElement("img",{src:d,alt:"Step 1"}),h.createElement("div",{className:"mt20 c-light-primary"},z[0],B())),V>30&&V<60&&h.createElement(h.Fragment,null,h.createElement("img",{src:E,alt:"Step 2"}),h.createElement("div",{className:"mt20 c-light-primary"},z[1],B())),V>=60&&h.createElement(h.Fragment,null,h.createElement("img",{src:f,alt:"Step 3"}),h.createElement("div",{className:"mt20 c-light-primary"},z[2],B())),h.createElement(s.Z,{className:b.progress,status:"active",style:{width:"auto"},size:[300,8],percent:V}),!!re&&h.createElement("div",{className:"c-grey-999"},W(re))))}}},66067:function(c,a,t){"use strict";t.d(a,{$:function(){return K},Z:function(){return J}});var e=t(59301),i=t(37873),l=t(25690),s=t(54580),d=t(8591),E=t(43418),f=t(95237),b=t(43428),h=t(50043),A=t(18618),S=t(59301),O=(te,I,L)=>new Promise((Ae,Ee)=>{var ie=Ye=>{try{oe(L.next(Ye))}catch(qe){Ee(qe)}},xe=Ye=>{try{oe(L.throw(Ye))}catch(qe){Ee(qe)}},oe=Ye=>Ye.done?Ae(Ye.value):Promise.resolve(Ye.value).then(ie,xe);oe((L=L.apply(te,I)).next())});const{Dragger:V}=s.default;var D=(0,e.forwardRef)(({onUpdateNum:te},I)=>{var L;const[Ae,Ee]=(0,e.useState)([]),[ie,xe]=(0,e.useState)(!1),[oe,Ye]=(0,e.useState)([]),[qe,Ct]=(0,e.useState)(!1),{openProgress:tt,closeProgress:Ke,CreateProgressModal:G}=(0,A.Z)(),Y=()=>{xe(!0)};(0,e.useImperativeHandle)(I,()=>({onClick:Y}));const be=Ve=>O(void 0,null,function*(){const Se=Ve.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Se)==-1?(d.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):Ve.size/1024/1024>10?(d.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):(Ye([Ve]),Promise.reject())});return S.createElement(e.Fragment,null,S.createElement(E.default,{centered:!0,open:ie,title:"\u667A\u80FD\u8BC6\u9898",width:700,okText:"\u5F00\u59CB\u8BC6\u9898",afterClose:()=>{Ye([]),te()},onCancel:()=>xe(!1),onOk:()=>O(void 0,null,function*(){var Ve,Se,$e;if(!(oe!=null&&oe.length)){d.ZP.warning("\u8BF7\u4E0A\u4F20\u8BD5\u9898\u6587\u4EF6");return}const ke=new FormData;ke.append("file",oe[0]),ke.append("scene_type",0),tt(),Ct(!0),Ee([]);const it=yield K(ke);if((it==null?void 0:it.status)===0)if((Se=(Ve=it==null?void 0:it.data)==null?void 0:Ve.content)!=null&&Se.length){Ke(100),Ee(($e=it==null?void 0:it.data)==null?void 0:$e.content);return}else d.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");Ct(!1),Ke()})},S.createElement("div",{className:"mb10",style:{color:"#FA6400"}},"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u9898\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u9898"),S.createElement(V,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:oe,beforeUpload:be,onRemove:()=>Ye([]),height:200},S.createElement(f.Z,{align:"middle",justify:"center",style:{flexDirection:"column"}},S.createElement("div",{className:"iconfont icon-shangchuanwenjian2 c-light-primary font30"}),S.createElement("div",{className:"c-light-primary mb10 mt10"},"\u70B9\u51FB\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u8FD9\u91CC\u4E0A\u4F20"),S.createElement("div",{className:"c-grey-666"},"\u652F\u6301\u6269\u5C55\u540D\uFF1A.doc .docx .pdf .jpg .png...",S.createElement("br",null),"\u4E00\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6\uFF0C\u5927\u5C0F\u9650\u5236\u4E3A10MB")))),S.createElement(b.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:qe},S.createElement(f.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},S.createElement("img",{src:t(7764),alt:"\u667A\u80FD\u8BC6\u9898"}),S.createElement("span",{className:"ml10"},"\u667A\u80FD\u8BC6\u9898")),S.createElement(h.Z,{stickyTop:-24,hideWordFeatures:!0,dataSource:Ae,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",mode:1,onCancel:()=>Ct(!1),onSuccess:()=>{Ct(!1),xe(!1)}}),S.createElement("div",{style:{height:70}})),G(void 0,(L=oe==null?void 0:oe[0])==null?void 0:L.size))}),Z=t(59301),H=(te,I,L)=>new Promise((Ae,Ee)=>{var ie=Ye=>{try{oe(L.next(Ye))}catch(qe){Ee(qe)}},xe=Ye=>{try{oe(L.throw(Ye))}catch(qe){Ee(qe)}},oe=Ye=>Ye.done?Ae(Ye.value):Promise.resolve(Ye.value).then(ie,xe);oe((L=L.apply(te,I)).next())});const{Dragger:U}=s.default;var j=(0,e.forwardRef)(({onUpdateNum:te,onClose:I},L)=>{var Ae;const[Ee,ie]=(0,e.useState)(!1),[xe,oe]=(0,e.useState)([]),{openProgress:Ye,closeProgress:qe,CreateProgressModal:Ct}=(0,A.Z)(),tt=()=>{ie(!0)};(0,e.useImperativeHandle)(L,()=>({onClick:tt}));const Ke=G=>H(void 0,null,function*(){const Y=G.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Y)==-1?(d.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u683C\u5F0F\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):G.size/1024/1024>10?(d.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),Promise.reject()):(oe([G]),Promise.reject())});return Z.createElement(e.Fragment,null,Z.createElement(E.default,{centered:!0,open:Ee,title:"\u667A\u80FD\u8BC6\u5377",width:700,okText:"\u5F00\u59CB\u8BC6\u5377",afterClose:()=>{oe([]),te()},onCancel:()=>ie(!1),onOk:()=>H(void 0,null,function*(){var G,Y;if(!(xe!=null&&xe.length)){d.ZP.warning("\u8BF7\u4E0A\u4F20\u8BD5\u5377\u6587\u4EF6");return}const be=new FormData;be.append("file",xe[0]),be.append("scene_type",4),Ye();const Ve=yield K(be);if((Ve==null?void 0:Ve.status)===0)if((G=Ve==null?void 0:Ve.data)!=null&&G.examination_bank_id){l.history.replace(`/paperlibrary/see/${(Y=Ve==null?void 0:Ve.data)==null?void 0:Y.examination_bank_id}?isIntelligentAssistant=true`),qe(100),ie(!1),I();return}else d.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u5377");qe()})},Z.createElement("div",{className:"mb10",style:{color:"#FA6400"}},"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u5377\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u5377"),Z.createElement(U,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:xe,beforeUpload:Ke,onRemove:()=>oe([]),height:200},Z.createElement(f.Z,{align:"middle",justify:"center",style:{flexDirection:"column"}},Z.createElement("div",{className:"iconfont icon-shangchuanwenjian2 c-light-primary font30"}),Z.createElement("div",{className:"c-light-primary mb10 mt10"},"\u70B9\u51FB\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u8FD9\u91CC\u4E0A\u4F20"),Z.createElement("div",{className:"c-grey-666"},"\u652F\u6301\u6269\u5C55\u540D\uFF1A.doc .docx .pdf .jpg .png...",Z.createElement("br",null),"\u4E00\u6B21\u53EA\u80FD\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6\uFF0C\u5927\u5C0F\u9650\u5236\u4E3A10MB")))),Ct(void 0,(Ae=xe==null?void 0:xe[0])==null?void 0:Ae.size))}),P=t(49706),W=t(92832),B=t(6848),F=t(43604),z=t(5871),re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAHr1JREFUaEPNmweYnVW1/n/7a6fMmcm0ZEoSUkkCSQgJCVWK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HWPtX+jZ+fgeS+/PJzY3VUkLNm4YS1JK8n69q1sH2inoEaotmvJZOAT71/FGw47ADuVonVuPWvu3c0TT3ejogAVCFI1VTy6fZjISuM1TWfPygOwizAr20fwzIOkkvW8fcUcLGesFAbhz+y0/OYFV13w7/8XgH1X76avXbJ0167iN/r6/Hf6JdyUrMMVHuvaNpPN7SFfHKMQSWa1VnH+h9/I3FlNuOkUtfU1bHsiYvczKbbn2ri340nePH8l20ZGsL0QT3ceSz4zptUyNDrK4oXzeGGTHxxbt/jujuoXv/nd+/9rYqPZX7Lmn3rvH7Lwa3/og0d+eklP78j5c2vmntZUO7V27e5nGM2NsGtoF65dxQmHz+NDZxxBKpEkNSVFmE3w8iMOj2x5kZ78ANWJBNPqpyESJQIZUvJDk8Km1qUpFovDc2e13Mp4+vIv/uasf/i/Wf4R0vqri/mh2RfXLlow66St+fXvbu/qOW4o3z/1iMXzxOnvOIpUlYNjW2QaUvSvTbFlS462PQMUo2EaG2pIpjzT+y4UlQpDuUchH3ec6DdeUqy5+M7P/v/1j1p/aiXuv/zyxDOP7ViyYP7Ug9r6upadcPSqhYlkYm405jXteNqt8reG9LYO5NJVqt8VXlsU2Nsi6WySofvCfml38xm3nvFv+Ve8/wNgli4fKbeMnwAAAABJRU5ErkJggg==",Ce={tip:"tip___V6mRp"},de=t(9148),M=t(59301),k=(te,I,L)=>new Promise((Ae,Ee)=>{var ie=Ye=>{try{oe(L.next(Ye))}catch(qe){Ee(qe)}},xe=Ye=>{try{oe(L.throw(Ye))}catch(qe){Ee(qe)}},oe=Ye=>Ye.done?Ae(Ye.value):Promise.resolve(Ye.value).then(ie,xe);oe((L=L.apply(te,I)).next())}),ye=(0,e.forwardRef)(({onUpdateNum:te},I)=>{const L=`\u8BF7\u751F\u6210\u5173\u4E8E\u300APython\u7A0B\u5E8F\u8BBE\u8BA1\u300B\u7684\u8BD5\u9898\u3002\u8003\u5BDF\u77E5\u8BC6\u70B9\uFF1A\u53D8\u91CF\u5B9A\u4E49\u3001\u6570\u636E\u7C7B\u578B\u3001\u8FD0\u7B97\u7B26\u548C\u63A7\u5236\u7ED3\u6784\u3002\u6BCF\u9053\u9898\u5E94\u5305\u542B\uFF1A
- \u9898\u5E72\uFF1A\u9898\u76EE\u63CF\u8FF0\u6E05\u6670\u660E\u786E\uFF0C\u9488\u5BF9\u8003\u5BDF\u7684\u77E5\u8BC6\u70B9\u63D0\u51FA\u95EE\u9898\u3002
- \u53C2\u8003\u7B54\u6848\uFF1A\u4E3A\u6BCF\u9053\u9898\u63D0\u4F9B\u6B63\u786E\u7684\u7B54\u6848\u3002
- \u9898\u76EE\u89E3\u6790\uFF1A\u8BE6\u7EC6\u89E3\u91CA\u89E3\u7B54\u8FC7\u7A0B\uFF0C\u5206\u6790\u9898\u76EE\u6D89\u53CA\u7684\u77E5\u8BC6\u70B9\u548C\u5E38\u89C1\u9519\u8BEF\u3002
- \u77E5\u8BC6\u70B9\uFF1A\u660E\u786E\u6307\u51FA\u8BE5\u9898\u76EE\u6D89\u53CA\u7684\u5177\u4F53\u77E5\u8BC6\u70B9\uFF08\u5982\uFF1A\u53D8\u91CF\u5B9A\u4E49\uFF09\u3002
-- \u96BE\u5EA6\uFF1A\u63D0\u4F9B\u9898\u76EE\u7684\u96BE\u5EA6\u7EA7\u522B\uFF08\u5982\uFF1A\u7B80\u5355\u3001\u9002\u4E2D\u3001\u56F0\u96BE\uFF09\uFF0C\u6839\u636E\u9898\u76EE\u5185\u5BB9\u8BBE\u5B9A\u5408\u7406\u7684\u96BE\u5EA6\u3002`,{progressOpen:Ae,openProgress:Ee,closeProgress:ie,CreateProgressModal:xe}=(0,A.Z)(),[oe,Ye]=(0,e.useState)([]),[qe,Ct]=(0,e.useState)(!1),[tt,Ke]=(0,e.useState)(L),[G,Y]=(0,e.useState)([]),[be,Ve]=(0,e.useState)(0),[Se,$e]=(0,e.useState)(0),[ke,it]=(0,e.useState)(0),[ft,jt]=(0,e.useState)(0),[st,St]=(0,e.useState)(0),[Ze,ve]=(0,e.useState)(!1),Ot=()=>{Ct(!0)};(0,e.useImperativeHandle)(I,()=>({onClick:Ot}));const bt=()=>k(void 0,null,function*(){var nn,Et,xt;if(Jt(tt)){if(tt.length>1e3){d.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{d.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!Jt(tt)&&!(G!=null&&G.length)){d.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const rt=[{name:"\u5355\u9009\u9898",num:be||0},{name:"\u591A\u9009\u9898",num:Se||0},{name:"\u5224\u65AD\u9898",num:ke||0},{name:"\u586B\u7A7A\u9898",num:ft||0},{name:"\u7B80\u7B54\u9898",num:st||0}];if(rt.reduce((Tt,Ht)=>Tt+Ht.num,0)===0){d.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}const Xe={scene_type:6,content:tt,count_arr:rt.map(Tt=>Tt.num).join(","),file:(G==null?void 0:G[0])||""};Ee(),Ye([]),ve(!0);const we=new FormData;Object.keys(Xe).forEach(Tt=>{we.append(Tt,Xe[Tt])});const Ne=yield K(we);if((Ne==null?void 0:Ne.status)===0)if((Et=(nn=Ne==null?void 0:Ne.data)==null?void 0:nn.content)!=null&&Et.length){ie(100),Ye((xt=Ne==null?void 0:Ne.data)==null?void 0:xt.content);return}else d.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");ve(!1),ie()}),gt=nn=>k(void 0,null,function*(){var Et,xt;const rt=new FormData;if(rt.append("scene_type",5),rt.append("question_data",JSON.stringify(nn)),rt.append("count",1),Ae)return Promise.reject();Ee();const Nt=yield K(rt);if((Nt==null?void 0:Nt.status)===0){if((xt=(Et=Nt==null?void 0:Nt.data)==null?void 0:Et.content)!=null&&xt.length)return ie(100),Nt;d.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898")}return ie(),Nt}),dn=nn=>k(void 0,null,function*(){const Et=nn.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Et)==-1?(d.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):nn.size/1024/1024>200?(d.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(G!=null&&G.length?E.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5355\u6B21\u51FA\u9898\u53EA\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6/\u4E00\u5F20\u56FE\u7247\uFF0C\u518D\u6B21\u4E0A\u4F20\u4F1A\u66FF\u6362\u5F53\u524D\u5DF2\u4E0A\u4F20\u7684\u5185\u5BB9\u3002",onOk:()=>Y([nn])}):Y([nn]),Promise.reject())}),Jt=nn=>(nn=nn||"",nn=String(nn),nn=nn.replace(/\s+/g,""),nn);return M.createElement(e.Fragment,null,M.createElement(E.default,{centered:!0,open:qe,title:"\u667A\u80FD\u51FA\u9898",width:814,okText:"\u5F00\u59CB\u51FA\u9898",onCancel:()=>Ct(!1),onOk:bt,afterClose:()=>{te(),Y([]),Ke(L),Ve(0),$e(0),it(0),jt(0),St(0)}},M.createElement("div",{className:Ce.tip},"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01"),M.createElement("img",{src:re,style:{marginTop:-100}}),M.createElement("div",{className:"mb10 blod"},"\u51FA\u9898\u8981\u6C42"),M.createElement(W.default.TextArea,{style:{height:160},className:"mb20",value:tt,placeholder:"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:nn=>{Ke(nn.target.value)}}),M.createElement(s.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:G,beforeUpload:dn,className:"mb20",onRemove:()=>Y([])},M.createElement(B.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},M.createElement(de.op,{style:{borderRadius:2}},M.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),M.createElement(f.Z,{align:"middle",className:"c-black mt20"},M.createElement("div",{className:"mb10 blod"},"\u51FA\u9898\u8981\u6C42"),M.createElement(f.Z,{gutter:16},M.createElement(F.Z,null,M.createElement("label",null,"\u5355\u9009\u9898"),M.createElement(z.Z,{min:0,max:10,value:be,onChange:Ve,style:{marginLeft:"8px"}})),M.createElement(F.Z,null,M.createElement("label",null,"\u591A\u9009\u9898"),M.createElement(z.Z,{min:0,max:10,value:Se,onChange:$e,style:{marginLeft:"8px"}})),M.createElement(F.Z,null,M.createElement("label",null,"\u5224\u65AD\u9898"),M.createElement(z.Z,{min:0,max:10,value:ke,onChange:it,style:{marginLeft:"8px"}})),M.createElement(F.Z,null,M.createElement("label",null,"\u586B\u7A7A\u9898"),M.createElement(z.Z,{min:0,max:10,value:ft,onChange:jt,style:{marginLeft:"8px"}})),M.createElement(F.Z,null,M.createElement("label",null,"\u7B80\u7B54\u9898"),M.createElement(z.Z,{min:0,max:10,value:st,onChange:St,style:{marginLeft:"8px"}}))))),M.createElement(b.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Ze},M.createElement(f.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},M.createElement("img",{src:t(55854),alt:"\u667A\u80FD\u51FA\u9898"}),M.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),M.createElement(h.Z,{stickyTop:-24,hideWordFeatures:!0,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",dataSource:oe,mode:1,onCancel:()=>ve(!1),onSuccess:()=>{ve(!1),Ct(!1)},headExtraNode:M.createElement(de.op,{onClick:()=>ve(!1),className:"ml20",type:"primary",shape:"default"},"\u91CD\u65B0\u751F\u6210"),onExchange:gt}),M.createElement("div",{style:{height:70}})),xe(["\u51FA\u9898\u8981\u6C42\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u667A\u80FD\u51FA\u9898\u4E2D"]))}),$=t(38986),pe=(te,I,L)=>new Promise((Ae,Ee)=>{var ie=Ye=>{try{oe(L.next(Ye))}catch(qe){Ee(qe)}},xe=Ye=>{try{oe(L.throw(Ye))}catch(qe){Ee(qe)}},oe=Ye=>Ye.done?Ae(Ye.value):Promise.resolve(Ye.value).then(ie,xe);oe((L=L.apply(te,I)).next())});const K=(...te)=>pe(void 0,[...te],function*(I={}){var L,Ae,Ee,ie;const xe=yield(0,$.ZP)("/api/intelligent_imports/recognize.json",{method:"post",body:I},!0);if((xe==null?void 0:xe.status)!==0)return xe;const oe=(L=xe==null?void 0:xe.data)==null?void 0:L.ai_question_record_id;let Ye;do if(Ye=yield(0,$.ZP)("/api/intelligent_imports/get_ai_question_record.json",{method:"get",params:{ai_question_record_id:oe}}),((Ae=Ye==null?void 0:Ye.data)==null?void 0:Ae.status)===1){console.log("\u64CD\u4F5C\u6210\u529F");break}else if(((Ee=Ye==null?void 0:Ye.data)==null?void 0:Ee.status)===0)console.log("\u8BC6\u522B\u4E2D\uFF0C\u7EE7\u7EED\u8F6E\u8BE2..."),yield new Promise(qe=>setTimeout(qe,2e3));else{console.log("\u72B6\u6001\u5F02\u5E38");break}while(((ie=Ye==null?void 0:Ye.data)==null?void 0:ie.status)===0);return Ye});var J=()=>{var te,I;const L=(0,l.useLocation)(),Ae=(0,l.useSelector)(oe=>{var Ye;return(Ye=oe==null?void 0:oe.user)==null?void 0:Ye.userInfo}),[Ee,ie]=(0,e.useState)(!1);(0,e.useEffect)(()=>{var oe,Ye,qe;if(window.self!==window.top){ie(!1);return}if((oe=L.pathname)!=null&&oe.includes("/problemset")||(Ye=L.pathname)!=null&&Ye.includes("/paperlibrary")){ie("1");return}if(((qe=L.pathname)==null?void 0:qe.slice(0,11))==="/classrooms"){ie("2");return}ie(!1)},[L==null?void 0:L.pathname]);const xe={1:[[{img:t(7764),name:"\u667A\u80FD\u8BC6\u9898",des:"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u9898\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u9898",show:!0,ref:e.createRef(),element:D},{img:t(7897),name:"\u667A\u80FD\u8BC6\u5377",des:"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u5377\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u5377",show:!0,ref:e.createRef(),element:j},{img:t(55854),name:"\u667A\u80FD\u51FA\u9898",des:"\u6839\u636E\u77E5\u8BC6\u70B9\u53CA\u4E0A\u4F20\u7684\u6559\u5B66\u6587\u6863\uFF0C\u81EA\u52A8\u751F\u6210\u5355\u9009\u3001\u591A\u9009\u3001\u5224\u65AD\u3001\u586B\u7A7A\u3001\u7B80\u7B54\u548C\u7F16\u7A0B\u9898\uFF0C\u63D0\u5347\u51FA\u9898\u6548\u7387",show:!0,ref:e.createRef(),element:ye},{img:t(34999),name:"\u4EE5\u9898\u6362\u9898",des:"\u6839\u636E\u73B0\u6709\u8BD5\u9898\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u589E\u52A0\u8BD5\u9898\u7684\u4E30\u5BCC\u5EA6",show:!0,ref:e.createRef(),element:P.Z},{img:t(29476),name:"\u4EE5\u5377\u6362\u5377",des:"\u6839\u636E\u73B0\u6709\u8BD5\u5377\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u5377\uFF0C\u589E\u52A0\u8BD5\u5377\u7684\u4E30\u5BCC\u5EA6"},{img:t(68544),name:"\u667A\u80FD\u7EA0\u9519",des:"\u81EA\u52A8\u8BC6\u522B\u8BD5\u9898\u6216\u8BD5\u5377\u7684\u9519\u522B\u5B57\u3001\u68C0\u67E5\u8BED\u53E5\u7684\u8FDE\u8D2F\u6027\u4E0E\u8BD5\u9898\u7684\u51C6\u786E\u6027\uFF0C\u53D1\u73B0\u8BD5\u9898\u6216\u8BD5\u5377\u7684\u6F5C\u5728\u9519\u8BEF"}],e.createElement("span",{style:{paddingLeft:33}}," \u5728\u8BD5\u9898\u5E93/\u8BD5\u5377\u5E93\u6A21\u5757\uFF0C\u6211\u5177\u5907\u6559\u80B2\u5927\u8BED\u8A00\u6A21\u578B\u7684\u5F3A\u5927\u751F\u6210\u80FD\u529B\uFF0C\u901A\u8FC7\u667A\u80FD\u5316\u7684\u51FA\u9898\u548C\u7EC4\u5377\u5DE5\u5177\uFF0C\u4E3A\u60A8\u63D0\u4F9B\u9AD8\u6548\u3001\u7CBE\u51C6\u3001\u4E2A\u6027\u5316\u7684\u8BD5\u9898\u751F\u6210\u670D\u52A1\uFF0C\u652F\u6301\u591A\u5B66\u79D1\u3001\u591A\u9898\u578B\u548C\u4E0D\u540C\u96BE\u6613\u5EA6\uFF0C\u6EE1\u8DB3\u60A8\u7684\u591A\u5143\u5316\u6559\u5B66\u9700\u6C42\u3002")],2:[[{img:t(91430),name:"\u667A\u80FD\u95EE\u7B54",des:"\u4E3A\u8BFE\u5802\u63D0\u4F9B\u5B9E\u65F6\u4E92\u52A8\u652F\u6301\u3002\u6559\u5E08\u53EF\u4E0A\u4F20\u95EE\u7B54\u96C6\uFF0C\u6253\u9020\u4E13\u5C5E\u667A\u80FD\u52A9\u6559\uFF0C\u5B9E\u73B0\u7CBE\u51C6\u89E3\u7B54"},{img:t(5590),name:"\u667A\u80FD\u8BC4\u9605",des:"\u81EA\u52A8\u6279\u6539\u4F5C\u4E1A\u548C\u8BD5\u5377\u7684\u4E3B\u89C2\u9898\uFF0C\u667A\u80FD\u6253\u5206\u5E76\u751F\u6210\u8BC4\u8BED\uFF0C\u4E3A\u6559\u5E08\u63D0\u5347\u8BC4\u9605\u6548\u7387"},{img:t(96511),name:"\u9519\u9898\u63A8\u9001",des:"\u6839\u636E\u5B66\u751F\u5728\u8BFE\u5802\u4F5C\u4E1A\u548C\u6D4B\u9A8C\u4E2D\u7684\u9519\u8BEF\u8BD5\u9898\uFF0C\u751F\u6210\u76F8\u5173\u77E5\u8BC6\u70B9\u7684\u65B0\u8BD5\u9898\u4F9B\u5B66\u751F\u5DE9\u56FA\u7EC3\u4E60"},{img:t(28531),name:"\u667A\u80FD\u51FA\u5377",des:"\u6839\u636E\u5DF2\u6709\u8BD5\u5377\u667A\u80FD\u751F\u6210\u65B0\u8BD5\u5377\u4F9B\u5B66\u751F\u6269\u5C55\u7EC3\u4E60\uFF0C\u4E3A\u6559\u5E08\u548C\u5B66\u751F\u63D0\u4F9B\u66F4\u4E30\u5BCC\u7684\u8BD5\u5377\u8D44\u6E90"},{img:t(22975),name:"\u7F16\u7801\u52A9\u624B",des:"\u63D0\u4F9B\u542F\u53D1\u5F0F\u52A9\u5B66\u80FD\u529B\uFF0C\u4E3A\u5B66\u751F\u63D0\u4F9B\u667A\u80FD\u5BA1\u9898\u3001\u4EE3\u7801\u8BCA\u65AD\u548CAI\u8F85\u5BFC\u529F\u80FD\uFF0C\u63D0\u4F9B\u7F16\u7A0B\u89E3\u9898\u601D\u8DEF\uFF0C\u63D0\u5347\u7F16\u7A0B\u80FD\u529B"},{img:t(79465),name:"\u6570\u5B57\u5206\u8EAB",des:"\u6839\u636E\u6559\u5E08\u5F62\u8C61\u521B\u5EFA\u865A\u62DF\u6570\u5B57\u4EBA\uFF0C\u66FF\u4EE3\u6559\u5E08\u8FDB\u884C\u6388\u8BFE\u548C\u95EE\u9898\u89E3\u7B54\uFF0C\u63D0\u5347\u8BFE\u5802\u4E92\u52A8\u4E0E\u6559\u5B66\u6548\u679C"}],e.createElement("span",{style:{paddingLeft:33}},"\u60A8\u597D\uFF0C\u6211\u662F",e.createElement("span",{className:"c-light-primary"},(te=Ae==null?void 0:Ae.course)!=null&&te.course_name?`\u300A${(I=Ae==null?void 0:Ae.course)==null?void 0:I.course_name}\u300B`:""),"\u6559\u5B66\u8BFE\u5802\u7684\u667A\u80FD\u52A9\u6559\uFF0C\u4E13\u4E3A\u63D0\u5347\u8BFE\u5802\u4E92\u52A8\u4E0E\u5B66\u4E60\u6548\u679C\u800C\u8BBE\u8BA1\u3002\u6211\u80FD\u534F\u52A9\u6559\u5E08\u5B9E\u65F6\u4E92\u52A8\u7B54\u7591\uFF0C\u8BD5\u9898\u8D44\u6E90\u751F\u6210\uFF0C\u81EA\u52A8\u6279\u6539\u4F5C\u4E1A\uFF0C\u865A\u62DF\u6570\u5B57\u4EBA\u6388\u8BFE\u7B49\uFF1B\u5E2E\u52A9\u5B66\u751F\u8BD5\u9898\u63A8\u9001\u5DE9\u56FA\u7EC3\u4E60\uFF0C\u542F\u53D1\u5F0F\u52A9\u5B66\u7B49\u3002\u786E\u4FDD\u6559\u5E08\u548C\u5B66\u751F\u5728\u6BCF\u4E00\u5802\u8BFE\u4E0A\u90FD\u80FD\u5F97\u5230\u5168\u65B9\u4F4D\u667A\u80FD\u5316\u7684\u4FDD\u969C\u3002\u8BA9\u6211\u4EEC\u4E00\u8D77\u9AD8\u6548\u5B66\u4E60\uFF0C\u8F7B\u677E\u8FDB\u6B65\uFF01")]};return e.createElement(e.Fragment,null,!!Ee&&e.createElement(i.Z,{DrawerProps:{width:1200},isIntelligentAssistant:!0,title:"\u667A\u80FD\u52A9\u6559",FetchUrl:"/api/intelligent_imports/chat.json",description:xe[Ee][1],intelligentAssistantItems:xe[Ee][0]}))}},67266:function(c,a,t){"use strict";t.d(a,{Z:function(){return Mu}});var e={};t.r(e),t.d(e,{boolean:function(){return R},booleanish:function(){return J},commaOrSpaceSeparated:function(){return Ee},commaSeparated:function(){return Ae},number:function(){return I},overloadedBoolean:function(){return te},spaceSeparated:function(){return L}});var i={};t.r(i),t.d(i,{attentionMarkers:function(){return Go},contentInitial:function(){return ro},disable:function(){return yi},document:function(){return Uo},flow:function(){return bi},flowInitial:function(){return ni},insideSpan:function(){return zo},string:function(){return io},text:function(){return li}});var l=t(59301),s=t(8591),d=t(54580),E=t(43418),f=t(92832),b=t(3113),h=t(6848),A=t(43428),S=t(95237),O=t(25690);function V(n){return n}function N(){}function D(){}function Z(){}function H(n){const r=[],o=String(n||"");let u=o.indexOf(","),p=0,g=!1;for(;!g;){u===-1&&(u=o.length,g=!0);const v=o.slice(p,u).trim();(v||!g)&&r.push(v),p=u+1,u=o.indexOf(",",p)}return r}function U(n,r){const o=r||{};return(n[n.length-1]===""?[...n,""]:n).join((o.padRight?" ":"")+","+(o.padLeft===!1?"":" ")).trim()}const C=/[$_\p{ID_Start}]/u,j=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,P=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,W=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,B=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,F={};function z(n){return n?C.test(String.fromCodePoint(n)):!1}function re(n,r){const u=(r||F).jsx?P:j;return n?u.test(String.fromCodePoint(n)):!1}function Ce(n,r){return((r||F).jsx?B:W).test(n)}const de=/[ \t\n\f\r]/g;function M(n){return typeof n=="object"?n.type==="text"?k(n.value):!1:k(n)}function k(n){return n.replace(de,"")===""}class Be{constructor(r,o,u){this.normal=o,this.property=r,u&&(this.space=u)}}Be.prototype.normal={},Be.prototype.property={},Be.prototype.space=void 0;function ye(n,r){const o={},u={};for(const p of n)Object.assign(o,p.property),Object.assign(u,p.normal);return new Be(o,u,r)}function $(n){return n.toLowerCase()}class pe{constructor(r,o){this.attribute=o,this.property=r}}pe.prototype.attribute="",pe.prototype.booleanish=!1,pe.prototype.boolean=!1,pe.prototype.commaOrSpaceSeparated=!1,pe.prototype.commaSeparated=!1,pe.prototype.defined=!1,pe.prototype.mustUseProperty=!1,pe.prototype.number=!1,pe.prototype.overloadedBoolean=!1,pe.prototype.property="",pe.prototype.spaceSeparated=!1,pe.prototype.space=void 0;let K=0;const R=ie(),J=ie(),te=ie(),I=ie(),L=ie(),Ae=ie(),Ee=ie();function ie(){return Fs(2,++K)}const xe=Object.keys(e);class oe extends pe{constructor(r,o,u,p){let g=-1;if(super(r,o),Ye(this,"space",p),typeof u=="number")for(;++g4&&o.slice(0,4)==="data"&&jt.test(r)){if(r.charAt(4)==="-"){const g=r.slice(5).replace(ft,Ze);u="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=r.slice(4);if(!ft.test(g)){let v=g.replace(it,St);v.charAt(0)!=="-"&&(v="-"+v),r="data"+v}}p=oe}return new p(u,r)}function St(n){return"-"+n.toLowerCase()}function Ze(n){return n.charAt(1).toUpperCase()}const ve={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Ot(n){const r=String(n||"").trim();return r?r.split(/[ \t\n\r\f]+/g):[]}function bt(n){return n.join(" ").trim()}var gt=t(77179);const dn=nn("end"),Jt=nn("start");function nn(n){return r;function r(o){const u=o&&o.position&&o.position[n]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function Et(n){const r=Jt(n),o=dn(n);if(r&&o)return{start:r,end:o}}function xt(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Nt(n.position):"start"in n||"end"in n?Nt(n):"line"in n||"column"in n?rt(n):""}function rt(n){return Xe(n&&n.line)+":"+Xe(n&&n.column)}function Nt(n){return rt(n&&n.start)+"-"+rt(n&&n.end)}function Xe(n){return n&&typeof n=="number"?n:1}class we extends Error{constructor(r,o,u){super(),typeof o=="string"&&(u=o,o=void 0);let p="",g={},v=!1;if(o&&("line"in o&&"column"in o?g={place:o}:"start"in o&&"end"in o?g={place:o}:"type"in o?g={ancestors:[o],place:o.position}:g=Ia({},o)),typeof r=="string"?p=r:!g.cause&&r&&(v=!0,p=r.message,g.cause=r),!g.ruleId&&!g.source&&typeof u=="string"){const _=u.indexOf(":");_===-1?g.ruleId=u:(g.source=u.slice(0,_),g.ruleId=u.slice(_+1))}if(!g.place&&g.ancestors&&g.ancestors){const _=g.ancestors[g.ancestors.length-1];_&&(g.place=_.position)}const w=g.place&&"start"in g.place?g.place.start:g.place;this.ancestors=g.ancestors||void 0,this.cause=g.cause||void 0,this.column=w?w.column:void 0,this.fatal=void 0,this.file,this.message=p,this.line=w?w.line:void 0,this.name=xt(g.place)||"1:1",this.place=g.place||void 0,this.reason=this.message,this.ruleId=g.ruleId||void 0,this.source=g.source||void 0,this.stack=v&&g.cause&&typeof g.cause.stack=="string"?g.cause.stack:"",this.actual,this.expected,this.note,this.url}}we.prototype.file="",we.prototype.name="",we.prototype.reason="",we.prototype.message="",we.prototype.stack="",we.prototype.column=void 0,we.prototype.line=void 0,we.prototype.ancestors=void 0,we.prototype.cause=void 0,we.prototype.fatal=void 0,we.prototype.place=void 0,we.prototype.ruleId=void 0,we.prototype.source=void 0;const Ne={}.hasOwnProperty,Tt=new Map,Ht=/[A-Z]/g,Yt=new Set(["table","tbody","thead","tfoot","tr"]),Mt=new Set(["td","th"]),Ut="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function yt(n,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const o=r.filePath||void 0;let u;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=Te(o,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");u=ge(o,r.jsx,r.jsxs)}const p={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:u,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?ke:$e,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},g=Lt(p,n,void 0);return g&&typeof g!="string"?g:p.create(n,p.Fragment,{children:g||void 0},void 0)}function Lt(n,r,o){if(r.type==="element")return Pn(n,r,o);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return Je(n,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return et(n,r,o);if(r.type==="mdxjsEsm")return nt(n,r);if(r.type==="root")return Le(n,r,o);if(r.type==="text")return x(n,r)}function Pn(n,r,o){const u=n.schema;let p=u;r.tagName.toLowerCase()==="svg"&&u.space==="html"&&(p=ke,n.schema=p),n.ancestors.push(r);const g=Dt(n,r.tagName,!1),v=ze(n,r);let w=At(n,r);return Yt.has(r.tagName)&&(w=w.filter(function(_){return typeof _=="string"?!M(_):!0})),Q(n,v,g,r),ee(v,w),n.ancestors.pop(),n.schema=u,n.create(r,g,v,o)}function Je(n,r){if(r.data&&r.data.estree&&n.evaluater){const u=r.data.estree.body[0];return u.type,n.evaluater.evaluateExpression(u.expression)}qt(n,r.position)}function nt(n,r){if(r.data&&r.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(r.data.estree);qt(n,r.position)}function et(n,r,o){const u=n.schema;let p=u;r.name==="svg"&&u.space==="html"&&(p=ke,n.schema=p),n.ancestors.push(r);const g=r.name===null?n.Fragment:Dt(n,r.name,!0),v=Ge(n,r),w=At(n,r);return Q(n,v,g,r),ee(v,w),n.ancestors.pop(),n.schema=u,n.create(r,g,v,o)}function Le(n,r,o){const u={};return ee(u,At(n,r)),n.create(r,n.Fragment,u,o)}function x(n,r){return r.value}function Q(n,r,o,u){typeof o!="string"&&o!==n.Fragment&&n.passNode&&(r.node=u)}function ee(n,r){if(r.length>0){const o=r.length>1?r:r[0];o&&(n.children=o)}}function ge(n,r,o){return u;function u(p,g,v,w){const ue=Array.isArray(v.children)?o:r;return w?ue(g,v,w):ue(g,v)}}function Te(n,r){return o;function o(u,p,g,v){const w=Array.isArray(g.children),_=Jt(u);return r(p,g,v,w,{columnNumber:_?_.column-1:void 0,fileName:n,lineNumber:_?_.line:void 0},void 0)}}function ze(n,r){const o={};let u,p;for(p in r.properties)if(p!=="children"&&Ne.call(r.properties,p)){const g=vt(n,p,r.properties[p]);if(g){const[v,w]=g;n.tableCellAlignToStyle&&v==="align"&&typeof w=="string"&&Mt.has(r.tagName)?u=w:o[v]=w}}if(u){const g=o.style||(o.style={});g[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return o}function Ge(n,r){const o={};for(const u of r.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&n.evaluater){const g=u.data.estree.body[0];g.type;const v=g.expression;v.type;const w=v.properties[0];w.type,Object.assign(o,n.evaluater.evaluateExpression(w.argument))}else qt(n,r.position);else{const p=u.name;let g;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&n.evaluater){const w=u.value.data.estree.body[0];w.type,g=n.evaluater.evaluateExpression(w.expression)}else qt(n,r.position);else g=u.value===null?!0:u.value;o[p]=g}return o}function At(n,r){const o=[];let u=-1;const p=n.passKeys?new Map:Tt;for(;++up?0:p+r:r=r>p?p:r,o=o>0?o:0,u.length<1e4)v=Array.from(u),v.unshift(r,o),n.splice(...v);else for(o&&n.splice(r,o);g0?($t(n,n.length,0,r),n):r}class Dn{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return rthis.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(r,o,u){const p=o||0;this.setCursor(Math.trunc(r));const g=this.right.splice(this.right.length-p,Number.POSITIVE_INFINITY);return u&&en(this.left,u),g.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),en(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),en(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r-1&&n.test(String.fromCharCode(o))}}function Rn(n,r,o,u){const p=u?u-1:Number.POSITIVE_INFINITY;let g=0;return v;function v(_){return Hn(_)?(n.enter(o),w(_)):r(_)}function w(_){return Hn(_)&&g++v))return;const Tn=r.events.length;let ua=Tn,ia,ca;for(;ua--;)if(r.events[ua][0]==="exit"&&r.events[ua][1].type==="chunkFlow"){if(ia){ca=r.events[ua][1].end;break}ia=!0}for(wt(u),pt=Tn;ptfn;){const Jn=o[Sa];r.containerState=Jn[1],Jn[0].exit.call(r,n)}o.length=fn}function Ln(){p.write([null]),g=void 0,p=void 0,r.containerState._closeFlow=void 0}}function Da(n,r,o){return Rn(n,n.attempt(this.parser.constructs.document,r,o),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Sn={partial:!0,tokenize:xn};function xn(n,r,o){return u;function u(g){return Hn(g)?Rn(n,p,"linePrefix")(g):p(g)}function p(g){return g===null||T(g)?r(g):o(g)}}const ya={resolve:Ue,tokenize:Pe},Ca={partial:!0,tokenize:De};function Ue(n){return dt(n),n}function Pe(n,r){let o;return u;function u(w){return n.enter("content"),o=n.enter("chunkContent",{contentType:"content"}),p(w)}function p(w){return w===null?g(w):T(w)?n.check(Ca,v,g)(w):(n.consume(w),p)}function g(w){return n.exit("chunkContent"),n.exit("content"),r(w)}function v(w){return n.consume(w),n.exit("chunkContent"),o.next=n.enter("chunkContent",{contentType:"content",previous:o}),o=o.next,p}}function De(n,r,o){const u=this;return p;function p(v){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),Rn(n,g,"linePrefix")}function g(v){if(v===null||T(v))return o(v);const w=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&w&&w[1].type==="linePrefix"&&w[2].sliceSerialize(w[1],!0).length>=4?r(v):n.interrupt(u.parser.constructs.flow,o,r)(v)}}const Bt={tokenize:on};function on(n){const r=this,o=n.attempt(Sn,u,n.attempt(this.parser.constructs.flowInitial,p,Rn(n,n.attempt(this.parser.constructs.flow,p,n.attempt(ya,p)),"linePrefix")));return o;function u(g){if(g===null){n.consume(g);return}return n.enter("lineEndingBlank"),n.consume(g),n.exit("lineEndingBlank"),r.currentConstruct=void 0,o}function p(g){if(g===null){n.consume(g);return}return n.enter("lineEnding"),n.consume(g),n.exit("lineEnding"),r.currentConstruct=void 0,o}}const It={resolveAll:An()},kn=tn("string"),Fn=tn("text");function tn(n){return{resolveAll:An(n==="text"?ga:void 0),tokenize:r};function r(o){const u=this,p=this.parser.constructs[n],g=o.attempt(p,v,w);return v;function v(X){return ue(X)?g(X):w(X)}function w(X){if(X===null){o.consume(X);return}return o.enter("data"),o.consume(X),_}function _(X){return ue(X)?(o.exit("data"),g(X)):(o.consume(X),_)}function ue(X){if(X===null)return!0;const he=p[X];let fe=-1;if(he)for(;++fe=3&&(ue===null||T(ue))?(n.exit("thematicBreak"),r(ue)):o(ue)}function _(ue){return ue===p?(n.consume(ue),u++,_):(n.exit("thematicBreakSequence"),Hn(ue)?Rn(n,w,"whitespace")(ue):w(ue))}}const Bn={continuation:{tokenize:mn},exit:Rt,name:"list",tokenize:ot},se={partial:!0,tokenize:_e},Oe={partial:!0,tokenize:un};function ot(n,r,o){const u=this,p=u.events[u.events.length-1];let g=p&&p[1].type==="linePrefix"?p[2].sliceSerialize(p[1],!0).length:0,v=0;return w;function w(le){const Zt=u.containerState.type||(le===42||le===43||le===45?"listUnordered":"listOrdered");if(Zt==="listUnordered"?!u.containerState.marker||le===u.containerState.marker:Fa(le)){if(u.containerState.type||(u.containerState.type=Zt,n.enter(Zt,{_container:!0})),Zt==="listUnordered")return n.enter("listItemPrefix"),le===42||le===45?n.check(Ta,o,ue)(le):ue(le);if(!u.interrupt||le===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),_(le)}return o(le)}function _(le){return Fa(le)&&++v<10?(n.consume(le),_):(!u.interrupt||v<2)&&(u.containerState.marker?le===u.containerState.marker:le===41||le===46)?(n.exit("listItemValue"),ue(le)):o(le)}function ue(le){return n.enter("listItemMarker"),n.consume(le),n.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||le,n.check(Sn,u.interrupt?o:X,n.attempt(se,fe,he))}function X(le){return u.containerState.initialBlankLine=!0,g++,fe(le)}function he(le){return Hn(le)?(n.enter("listItemPrefixWhitespace"),n.consume(le),n.exit("listItemPrefixWhitespace"),fe):o(le)}function fe(le){return u.containerState.size=g+u.sliceSerialize(n.exit("listItemPrefix"),!0).length,r(le)}}function mn(n,r,o){const u=this;return u.containerState._closeFlow=void 0,n.check(Sn,p,g);function p(w){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,Rn(n,r,"listItemIndent",u.containerState.size+1)(w)}function g(w){return u.containerState.furtherBlankLines||!Hn(w)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,v(w)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,n.attempt(Oe,r,v)(w))}function v(w){return u.containerState._closeFlow=!0,u.interrupt=void 0,Rn(n,n.attempt(Bn,r,o),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w)}}function un(n,r,o){const u=this;return Rn(n,p,"listItemIndent",u.containerState.size+1);function p(g){const v=u.events[u.events.length-1];return v&&v[1].type==="listItemIndent"&&v[2].sliceSerialize(v[1],!0).length===u.containerState.size?r(g):o(g)}}function Rt(n){n.exit(this.containerState.type)}function _e(n,r,o){const u=this;return Rn(n,p,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function p(g){const v=u.events[u.events.length-1];return!Hn(g)&&v&&v[1].type==="listItemPrefixWhitespace"?r(g):o(g)}}const ct={continuation:{tokenize:me},exit:y,name:"blockQuote",tokenize:m};function m(n,r,o){const u=this;return p;function p(v){if(v===62){const w=u.containerState;return w.open||(n.enter("blockQuote",{_container:!0}),w.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(v),n.exit("blockQuoteMarker"),g}return o(v)}function g(v){return Hn(v)?(n.enter("blockQuotePrefixWhitespace"),n.consume(v),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),r):(n.exit("blockQuotePrefix"),r(v))}}function me(n,r,o){const u=this;return p;function p(v){return Hn(v)?Rn(n,g,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):g(v)}function g(v){return n.attempt(ct,r,o)(v)}}function y(n){n.exit("blockQuote")}function ce(n,r,o,u,p,g,v,w,_){const ue=_||Number.POSITIVE_INFINITY;let X=0;return he;function he(wt){return wt===60?(n.enter(u),n.enter(p),n.enter(g),n.consume(wt),n.exit(g),fe):wt===null||wt===32||wt===41||Ma(wt)?o(wt):(n.enter(u),n.enter(v),n.enter(w),n.enter("chunkString",{contentType:"string"}),rn(wt))}function fe(wt){return wt===62?(n.enter(g),n.consume(wt),n.exit(g),n.exit(p),n.exit(u),r):(n.enter(w),n.enter("chunkString",{contentType:"string"}),le(wt))}function le(wt){return wt===62?(n.exit("chunkString"),n.exit(w),fe(wt)):wt===null||wt===60||T(wt)?o(wt):(n.consume(wt),wt===92?Zt:le)}function Zt(wt){return wt===60||wt===62||wt===92?(n.consume(wt),le):le(wt)}function rn(wt){return!X&&(wt===null||wt===41||ma(wt))?(n.exit("chunkString"),n.exit(w),n.exit(v),n.exit(u),r(wt)):X999||le===null||le===91||le===93&&!_||le===94&&!w&&"_hiddenFootnoteSupport"in v.parser.constructs?o(le):le===93?(n.exit(g),n.enter(p),n.consume(le),n.exit(p),n.exit(u),r):T(le)?(n.enter("lineEnding"),n.consume(le),n.exit("lineEnding"),X):(n.enter("chunkString",{contentType:"string"}),he(le))}function he(le){return le===null||le===91||le===93||T(le)||w++>999?(n.exit("chunkString"),X(le)):(n.consume(le),_||(_=!Hn(le)),le===92?fe:he)}function fe(le){return le===91||le===92||le===93?(n.consume(le),w++,he):he(le)}}function at(n,r,o,u,p,g){let v;return w;function w(fe){return fe===34||fe===39||fe===40?(n.enter(u),n.enter(p),n.consume(fe),n.exit(p),v=fe===40?41:fe,_):o(fe)}function _(fe){return fe===v?(n.enter(p),n.consume(fe),n.exit(p),n.exit(u),r):(n.enter(g),ue(fe))}function ue(fe){return fe===v?(n.exit(g),_(v)):fe===null?o(fe):T(fe)?(n.enter("lineEnding"),n.consume(fe),n.exit("lineEnding"),Rn(n,ue,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),X(fe))}function X(fe){return fe===v||fe===null||T(fe)?(n.exit("chunkString"),ue(fe)):(n.consume(fe),fe===92?he:X)}function he(fe){return fe===v||fe===92?(n.consume(fe),X):X(fe)}}function Re(n,r){let o;return u;function u(p){return T(p)?(n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),o=!0,u):Hn(p)?Rn(n,u,o?"linePrefix":"lineSuffix")(p):r(p)}}function Qe(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const We={name:"definition",tokenize:Kt},cn={partial:!0,tokenize:Vt};function Kt(n,r,o){const u=this;let p;return g;function g(le){return n.enter("definition"),v(le)}function v(le){return ne.call(u,n,w,o,"definitionLabel","definitionLabelMarker","definitionLabelString")(le)}function w(le){return p=Qe(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),le===58?(n.enter("definitionMarker"),n.consume(le),n.exit("definitionMarker"),_):o(le)}function _(le){return ma(le)?Re(n,ue)(le):ue(le)}function ue(le){return ce(n,X,o,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(le)}function X(le){return n.attempt(cn,he,he)(le)}function he(le){return Hn(le)?Rn(n,fe,"whitespace")(le):fe(le)}function fe(le){return le===null||T(le)?(n.exit("definition"),u.parser.defined.push(p),r(le)):o(le)}}function Vt(n,r,o){return u;function u(w){return ma(w)?Re(n,p)(w):o(w)}function p(w){return at(n,g,o,"definitionTitle","definitionTitleMarker","definitionTitleString")(w)}function g(w){return Hn(w)?Rn(n,v,"whitespace")(w):v(w)}function v(w){return w===null||T(w)?r(w):o(w)}}const Pt={name:"codeIndented",tokenize:Xt},gn={partial:!0,tokenize:hn};function Xt(n,r,o){const u=this;return p;function p(ue){return n.enter("codeIndented"),Rn(n,g,"linePrefix",5)(ue)}function g(ue){const X=u.events[u.events.length-1];return X&&X[1].type==="linePrefix"&&X[2].sliceSerialize(X[1],!0).length>=4?v(ue):o(ue)}function v(ue){return ue===null?_(ue):T(ue)?n.attempt(gn,v,_)(ue):(n.enter("codeFlowValue"),w(ue))}function w(ue){return ue===null||T(ue)?(n.exit("codeFlowValue"),v(ue)):(n.consume(ue),w)}function _(ue){return n.exit("codeIndented"),r(ue)}}function hn(n,r,o){const u=this;return p;function p(v){return u.parser.lazy[u.now().line]?o(v):T(v)?(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),p):Rn(n,g,"linePrefix",5)(v)}function g(v){const w=u.events[u.events.length-1];return w&&w[1].type==="linePrefix"&&w[2].sliceSerialize(w[1],!0).length>=4?r(v):T(v)?p(v):o(v)}}const In={name:"headingAtx",resolve:Nn,tokenize:qn};function Nn(n,r){let o=n.length-2,u=3,p,g;return n[u][1].type==="whitespace"&&(u+=2),o-2>u&&n[o][1].type==="whitespace"&&(o-=2),n[o][1].type==="atxHeadingSequence"&&(u===o-1||o-4>u&&n[o-2][1].type==="whitespace")&&(o-=u+1===o?2:4),o>u&&(p={type:"atxHeadingText",start:n[u][1].start,end:n[o][1].end},g={type:"chunkText",start:n[u][1].start,end:n[o][1].end,contentType:"text"},$t(n,u,o-u+1,[["enter",p,r],["enter",g,r],["exit",g,r],["exit",p,r]])),n}function qn(n,r,o){let u=0;return p;function p(X){return n.enter("atxHeading"),g(X)}function g(X){return n.enter("atxHeadingSequence"),v(X)}function v(X){return X===35&&u++<6?(n.consume(X),v):X===null||ma(X)?(n.exit("atxHeadingSequence"),w(X)):o(X)}function w(X){return X===35?(n.enter("atxHeadingSequence"),_(X)):X===null||T(X)?(n.exit("atxHeading"),r(X)):Hn(X)?Rn(n,w,"whitespace")(X):(n.enter("atxHeadingText"),ue(X))}function _(X){return X===35?(n.consume(X),_):(n.exit("atxHeadingSequence"),w(X))}function ue(X){return X===null||X===35||ma(X)?(n.exit("atxHeadingText"),w(X)):(n.consume(X),ue)}}const Ra={name:"setextUnderline",resolveTo:La,tokenize:rr};function La(n,r){let o=n.length,u,p,g;for(;o--;)if(n[o][0]==="enter"){if(n[o][1].type==="content"){u=o;break}n[o][1].type==="paragraph"&&(p=o)}else n[o][1].type==="content"&&n.splice(o,1),!g&&n[o][1].type==="definition"&&(g=o);const v={type:"setextHeading",start:Ia({},n[u][1].start),end:Ia({},n[n.length-1][1].end)};return n[p][1].type="setextHeadingText",g?(n.splice(p,0,["enter",v,r]),n.splice(g+1,0,["exit",n[u][1],r]),n[u][1].end=Ia({},n[g][1].end)):n[u][1]=v,n.push(["exit",v,r]),n}function rr(n,r,o){const u=this;let p;return g;function g(ue){let X=u.events.length,he;for(;X--;)if(u.events[X][1].type!=="lineEnding"&&u.events[X][1].type!=="linePrefix"&&u.events[X][1].type!=="content"){he=u.events[X][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||he)?(n.enter("setextHeadingLine"),p=ue,v(ue)):o(ue)}function v(ue){return n.enter("setextHeadingLineSequence"),w(ue)}function w(ue){return ue===p?(n.consume(ue),w):(n.exit("setextHeadingLineSequence"),Hn(ue)?Rn(n,_,"lineSuffix")(ue):_(ue))}function _(ue){return ue===null||T(ue)?(n.exit("setextHeadingLine"),r(ue)):o(ue)}}const ha=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],cr=["pre","script","style","textarea"],Ir={concrete:!0,name:"htmlFlow",resolveTo:Ka,tokenize:wn},Ha={partial:!0,tokenize:Xa},sr={partial:!0,tokenize:Qn};function Ka(n){let r=n.length;for(;r--&&!(n[r][0]==="enter"&&n[r][1].type==="htmlFlow"););return r>1&&n[r-2][1].type==="linePrefix"&&(n[r][1].start=n[r-2][1].start,n[r+1][1].start=n[r-2][1].start,n.splice(r-2,2)),n}function wn(n,r,o){const u=this;let p,g,v,w,_;return ue;function ue(Fe){return X(Fe)}function X(Fe){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(Fe),he}function he(Fe){return Fe===33?(n.consume(Fe),fe):Fe===47?(n.consume(Fe),g=!0,rn):Fe===63?(n.consume(Fe),p=3,u.interrupt?r:Ie):ta(Fe)?(n.consume(Fe),v=String.fromCharCode(Fe),bn):o(Fe)}function fe(Fe){return Fe===45?(n.consume(Fe),p=2,le):Fe===91?(n.consume(Fe),p=5,w=0,Zt):ta(Fe)?(n.consume(Fe),p=4,u.interrupt?r:Ie):o(Fe)}function le(Fe){return Fe===45?(n.consume(Fe),u.interrupt?r:Ie):o(Fe)}function Zt(Fe){const ur="CDATA[";return Fe===ur.charCodeAt(w++)?(n.consume(Fe),w===ur.length?u.interrupt?r:oa:Zt):o(Fe)}function rn(Fe){return ta(Fe)?(n.consume(Fe),v=String.fromCharCode(Fe),bn):o(Fe)}function bn(Fe){if(Fe===null||Fe===47||Fe===62||ma(Fe)){const ur=Fe===47,yr=v.toLowerCase();return!ur&&!g&&cr.includes(yr)?(p=1,u.interrupt?r(Fe):oa(Fe)):ha.includes(v.toLowerCase())?(p=6,ur?(n.consume(Fe),wt):u.interrupt?r(Fe):oa(Fe)):(p=7,u.interrupt&&!u.parser.lazy[u.now().line]?o(Fe):g?Ln(Fe):fn(Fe))}return Fe===45||Gn(Fe)?(n.consume(Fe),v+=String.fromCharCode(Fe),bn):o(Fe)}function wt(Fe){return Fe===62?(n.consume(Fe),u.interrupt?r:oa):o(Fe)}function Ln(Fe){return Hn(Fe)?(n.consume(Fe),Ln):ca(Fe)}function fn(Fe){return Fe===47?(n.consume(Fe),ca):Fe===58||Fe===95||ta(Fe)?(n.consume(Fe),Sa):Hn(Fe)?(n.consume(Fe),fn):ca(Fe)}function Sa(Fe){return Fe===45||Fe===46||Fe===58||Fe===95||Gn(Fe)?(n.consume(Fe),Sa):Jn(Fe)}function Jn(Fe){return Fe===61?(n.consume(Fe),pt):Hn(Fe)?(n.consume(Fe),Jn):fn(Fe)}function pt(Fe){return Fe===null||Fe===60||Fe===61||Fe===62||Fe===96?o(Fe):Fe===34||Fe===39?(n.consume(Fe),_=Fe,Tn):Hn(Fe)?(n.consume(Fe),pt):ua(Fe)}function Tn(Fe){return Fe===_?(n.consume(Fe),_=null,ia):Fe===null||T(Fe)?o(Fe):(n.consume(Fe),Tn)}function ua(Fe){return Fe===null||Fe===34||Fe===39||Fe===47||Fe===60||Fe===61||Fe===62||Fe===96||ma(Fe)?Jn(Fe):(n.consume(Fe),ua)}function ia(Fe){return Fe===47||Fe===62||Hn(Fe)?fn(Fe):o(Fe)}function ca(Fe){return Fe===62?(n.consume(Fe),Ya):o(Fe)}function Ya(Fe){return Fe===null||T(Fe)?oa(Fe):Hn(Fe)?(n.consume(Fe),Ya):o(Fe)}function oa(Fe){return Fe===45&&p===2?(n.consume(Fe),Pa):Fe===60&&p===1?(n.consume(Fe),Ua):Fe===62&&p===4?(n.consume(Fe),lr):Fe===63&&p===3?(n.consume(Fe),Ie):Fe===93&&p===5?(n.consume(Fe),nr):T(Fe)&&(p===6||p===7)?(n.exit("htmlFlowData"),n.check(Ha,vr,yn)(Fe)):Fe===null||T(Fe)?(n.exit("htmlFlowData"),yn(Fe)):(n.consume(Fe),oa)}function yn(Fe){return n.check(sr,_n,vr)(Fe)}function _n(Fe){return n.enter("lineEnding"),n.consume(Fe),n.exit("lineEnding"),Kn}function Kn(Fe){return Fe===null||T(Fe)?yn(Fe):(n.enter("htmlFlowData"),oa(Fe))}function Pa(Fe){return Fe===45?(n.consume(Fe),Ie):oa(Fe)}function Ua(Fe){return Fe===47?(n.consume(Fe),v="",tr):oa(Fe)}function tr(Fe){if(Fe===62){const ur=v.toLowerCase();return cr.includes(ur)?(n.consume(Fe),lr):oa(Fe)}return ta(Fe)&&v.length<8?(n.consume(Fe),v+=String.fromCharCode(Fe),tr):oa(Fe)}function nr(Fe){return Fe===93?(n.consume(Fe),Ie):oa(Fe)}function Ie(Fe){return Fe===62?(n.consume(Fe),lr):Fe===45&&p===2?(n.consume(Fe),Ie):oa(Fe)}function lr(Fe){return Fe===null||T(Fe)?(n.exit("htmlFlowData"),vr(Fe)):(n.consume(Fe),lr)}function vr(Fe){return n.exit("htmlFlow"),r(Fe)}}function Qn(n,r,o){const u=this;return p;function p(v){return T(v)?(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),g):o(v)}function g(v){return u.parser.lazy[u.now().line]?o(v):r(v)}}function Xa(n,r,o){return u;function u(p){return n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),n.attempt(Sn,r,o)}}const dr={partial:!0,tokenize:fa},Tr={concrete:!0,name:"codeFenced",tokenize:Hr};function Hr(n,r,o){const u=this,p={partial:!0,tokenize:Jn};let g=0,v=0,w;return _;function _(pt){return ue(pt)}function ue(pt){const Tn=u.events[u.events.length-1];return g=Tn&&Tn[1].type==="linePrefix"?Tn[2].sliceSerialize(Tn[1],!0).length:0,w=pt,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),X(pt)}function X(pt){return pt===w?(v++,n.consume(pt),X):v<3?o(pt):(n.exit("codeFencedFenceSequence"),Hn(pt)?Rn(n,he,"whitespace")(pt):he(pt))}function he(pt){return pt===null||T(pt)?(n.exit("codeFencedFence"),u.interrupt?r(pt):n.check(dr,rn,Sa)(pt)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),fe(pt))}function fe(pt){return pt===null||T(pt)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),he(pt)):Hn(pt)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),Rn(n,le,"whitespace")(pt)):pt===96&&pt===w?o(pt):(n.consume(pt),fe)}function le(pt){return pt===null||T(pt)?he(pt):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),Zt(pt))}function Zt(pt){return pt===null||T(pt)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),he(pt)):pt===96&&pt===w?o(pt):(n.consume(pt),Zt)}function rn(pt){return n.attempt(p,Sa,bn)(pt)}function bn(pt){return n.enter("lineEnding"),n.consume(pt),n.exit("lineEnding"),wt}function wt(pt){return g>0&&Hn(pt)?Rn(n,Ln,"linePrefix",g+1)(pt):Ln(pt)}function Ln(pt){return pt===null||T(pt)?n.check(dr,rn,Sa)(pt):(n.enter("codeFlowValue"),fn(pt))}function fn(pt){return pt===null||T(pt)?(n.exit("codeFlowValue"),Ln(pt)):(n.consume(pt),fn)}function Sa(pt){return n.exit("codeFenced"),r(pt)}function Jn(pt,Tn,ua){let ia=0;return ca;function ca(Kn){return pt.enter("lineEnding"),pt.consume(Kn),pt.exit("lineEnding"),Ya}function Ya(Kn){return pt.enter("codeFencedFence"),Hn(Kn)?Rn(pt,oa,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Kn):oa(Kn)}function oa(Kn){return Kn===w?(pt.enter("codeFencedFenceSequence"),yn(Kn)):ua(Kn)}function yn(Kn){return Kn===w?(ia++,pt.consume(Kn),yn):ia>=v?(pt.exit("codeFencedFenceSequence"),Hn(Kn)?Rn(pt,_n,"whitespace")(Kn):_n(Kn)):ua(Kn)}function _n(Kn){return Kn===null||T(Kn)?(pt.exit("codeFencedFence"),Tn(Kn)):ua(Kn)}}}function fa(n,r,o){const u=this;return p;function p(v){return v===null?o(v):(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),g)}function g(v){return u.parser.lazy[u.now().line]?o(v):r(v)}}const Ei=document.createElement("i");function pi(n){const r="&"+n+";";Ei.innerHTML=r;const o=Ei.textContent;return o.charCodeAt(o.length-1)===59&&n!=="semi"||o===r?!1:o}const Mn={name:"characterReference",tokenize:Ja};function Ja(n,r,o){const u=this;let p=0,g,v;return w;function w(he){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(he),n.exit("characterReferenceMarker"),_}function _(he){return he===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(he),n.exit("characterReferenceMarkerNumeric"),ue):(n.enter("characterReferenceValue"),g=31,v=Gn,X(he))}function ue(he){return he===88||he===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(he),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),g=6,v=na,X):(n.enter("characterReferenceValue"),g=7,v=Fa,X(he))}function X(he){if(he===59&&p){const fe=n.exit("characterReferenceValue");return v===Gn&&!pi(u.sliceSerialize(fe))?o(he):(n.enter("characterReferenceMarker"),n.consume(he),n.exit("characterReferenceMarker"),n.exit("characterReference"),r)}return v(he)&&p++1&&n[o][1].end.offset-n[o][1].start.offset>1?2:1;const he=Ia({},n[u][1].end),fe=Ia({},n[o][1].start);Er(he,-_),Er(fe,_),v={type:_>1?"strongSequence":"emphasisSequence",start:he,end:Ia({},n[u][1].end)},w={type:_>1?"strongSequence":"emphasisSequence",start:Ia({},n[o][1].start),end:fe},g={type:_>1?"strongText":"emphasisText",start:Ia({},n[u][1].end),end:Ia({},n[o][1].start)},p={type:_>1?"strong":"emphasis",start:Ia({},v.start),end:Ia({},w.end)},n[u][1].end=Ia({},v.start),n[o][1].start=Ia({},w.end),ue=[],n[u][1].end.offset-n[u][1].start.offset&&(ue=pn(ue,[["enter",n[u][1],r],["exit",n[u][1],r]])),ue=pn(ue,[["enter",p,r],["enter",v,r],["exit",v,r],["enter",g,r]]),ue=pn(ue,jr(r.parser.constructs.insideSpan.null,n.slice(u+1,o),r)),ue=pn(ue,[["exit",g,r],["enter",w,r],["exit",w,r],["exit",p,r]]),n[o][1].end.offset-n[o][1].start.offset?(X=2,ue=pn(ue,[["enter",n[o][1],r],["exit",n[o][1],r]])):X=0,$t(n,u-1,o-u+3,ue),o=u+ue.length-X-2;break}}for(o=-1;++o-1){const w=v[0];typeof w=="string"?v[0]=w.slice(u):v.shift()}g>0&&v.push(n[p].slice(0,g))}return v}function jo(n,r){let o=-1;const u=[];let p;for(;++o{Ct(!0)};(0,e.useImperativeHandle)(I,()=>({onClick:Ot}));const bt=()=>k(void 0,null,function*(){var nn,Et,xt;if(Jt(tt)){if(tt.length>1e3){d.ZP.warning("\u51FA\u9898\u8981\u6C42\u5B57\u6570\u9650\u5236\u4E3A1000\u5B57");return}}else{d.ZP.warning("\u8BF7\u5148\u8F93\u5165\u51FA\u9898\u8981\u6C42");return}if(!Jt(tt)&&!(G!=null&&G.length)){d.ZP.warning("\u8BF7\u4E0A\u4F20\u6750\u6599\u6587\u6863\u6216\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6750\u6599\u5185\u5BB9");return}const rt=[{name:"\u5355\u9009\u9898",num:be||0},{name:"\u591A\u9009\u9898",num:Se||0},{name:"\u5224\u65AD\u9898",num:ke||0},{name:"\u586B\u7A7A\u9898",num:ft||0},{name:"\u7B80\u7B54\u9898",num:st||0}];if(rt.reduce((Tt,Ht)=>Tt+Ht.num,0)===0){d.ZP.warning("\u8BF7\u8BBE\u7F6E\u51FA\u9898\u6570\u91CF");return}const Xe={scene_type:6,content:tt,count_arr:rt.map(Tt=>Tt.num).join(","),file:(G==null?void 0:G[0])||""};Ee(),Ye([]),ve(!0);const we=new FormData;Object.keys(Xe).forEach(Tt=>{we.append(Tt,Xe[Tt])});const Ne=yield K(we);if((Ne==null?void 0:Ne.status)===0)if((Et=(nn=Ne==null?void 0:Ne.data)==null?void 0:nn.content)!=null&&Et.length){ie(100),Ye((xt=Ne==null?void 0:Ne.data)==null?void 0:xt.content);return}else d.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898");ve(!1),ie()}),gt=nn=>k(void 0,null,function*(){var Et,xt;const rt=new FormData;if(rt.append("scene_type",5),rt.append("question_data",JSON.stringify(nn)),rt.append("count",1),Ae)return Promise.reject();Ee();const Nt=yield K(rt);if((Nt==null?void 0:Nt.status)===0){if((xt=(Et=Nt==null?void 0:Nt.data)==null?void 0:Et.content)!=null&&xt.length)return ie(100),Nt;d.ZP.warning("\u672A\u8BC6\u522B\u5230\u8BD5\u9898")}return ie(),Nt}),dn=nn=>k(void 0,null,function*(){const Et=nn.name.split(".").slice(-1)[0].toLowerCase();return["docx","doc","pdf","png","jpg"].indexOf(Et)==-1?(d.ZP.warning("\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"),Promise.reject()):nn.size/1024/1024>200?(d.ZP.warning("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E200M"),Promise.reject()):(G!=null&&G.length?E.default.confirm({centered:!0,icon:null,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5355\u6B21\u51FA\u9898\u53EA\u652F\u6301\u4E0A\u4F20\u4E00\u4E2A\u6587\u4EF6/\u4E00\u5F20\u56FE\u7247\uFF0C\u518D\u6B21\u4E0A\u4F20\u4F1A\u66FF\u6362\u5F53\u524D\u5DF2\u4E0A\u4F20\u7684\u5185\u5BB9\u3002",onOk:()=>Y([nn])}):Y([nn]),Promise.reject())}),Jt=nn=>(nn=nn||"",nn=String(nn),nn=nn.replace(/\s+/g,""),nn);return M.createElement(e.Fragment,null,M.createElement(E.default,{centered:!0,open:qe,title:"\u667A\u80FD\u51FA\u9898",width:814,okText:"\u5F00\u59CB\u51FA\u9898",onCancel:()=>Ct(!1),onOk:bt,afterClose:()=>{te(),Y([]),Ke(L),Ve(0),$e(0),it(0),jt(0),St(0)}},M.createElement("div",{className:Ce.tip},"\u60A8\u597D\uFF01\u6211\u662F\u60A8\u7684\u667A\u80FD\u51FA\u9898\u52A9\u624B\uFF0C\u6211\u5DF2\u5B66\u4E60\u4E86\u5E73\u53F0\u4EE5\u53CA\u4E92\u8054\u7F51\u4E0A\u6D77\u91CF\u7684\u8BD5\u9898\u77E5\u8BC6\u5E93\u3002\u53EF\u4EE5\u6839\u636E\u60A8\u7684\u8981\u6C42\u548C\u4E0A\u4F20\u7684\u6750\u6599\u7075\u6D3B\u751F\u6210\u5404\u7C7B\u8BD5\u9898\u3002\u6B22\u8FCE\u968F\u65F6\u4E0E\u6211\u4E92\u52A8\uFF0C\u8BA9\u6211\u4EEC\u4E00\u8D77\u6253\u9020\u66F4\u9AD8\u6548\u3001\u66F4\u4F18\u8D28\u7684\u8BD5\u9898\uFF01"),M.createElement("img",{src:re,style:{marginTop:-100}}),M.createElement("div",{className:"mb10 blod"},"\u51FA\u9898\u8981\u6C42"),M.createElement(W.default.TextArea,{style:{height:160},className:"mb20",value:tt,placeholder:"\u8BF7\u5148\u63D0\u4F9B\u60A8\u51FA\u9898\u4F9D\u636E\u7684\u6750\u6599\uFF0C\u53EF\u4EE5\u76F4\u63A5\u590D\u5236\u6750\u6599\u5185\u5BB9\u7C98\u8D34\u5728\u6B64\u533A\u57DF\uFF0C\u4E5F\u53EF\u70B9\u51FB\u4E0B\u65B9\u4E0A\u4F20\u6750\u6599\u6309\u94AE\u4E0A\u4F20\u672C\u5730\u6750\u6599\u6587\u6863",onChange:nn=>{Ke(nn.target.value)}}),M.createElement(s.default,{accept:".doc,.docx,.pdf,.png,.jpg",maxCount:1,fileList:G,beforeUpload:dn,className:"mb20",onRemove:()=>Y([])},M.createElement(B.Z,{title:"\u5355\u6B21\u4EC5\u652F\u6301\u4E0A\u4F201\u4E2A\u6587\u6863\u62161\u5F20\u56FE\u7247\uFF0C\u6587\u6863\u652F\u6301PDF/Word\u683C\u5F0F\uFF0C\u56FE\u7247\u652F\u63011\u5F20\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247"},M.createElement(de.op,{style:{borderRadius:2}},M.createElement("i",{className:"icon-shangchuan3 mr5"}),"\u4E0A\u4F20\u6750\u6599"))),M.createElement(f.Z,{align:"middle",className:"c-black mt20"},M.createElement("div",{className:"mb10 blod"},"\u51FA\u9898\u8981\u6C42"),M.createElement(f.Z,{gutter:16},M.createElement(F.Z,null,M.createElement("label",null,"\u5355\u9009\u9898"),M.createElement(z.Z,{min:0,max:10,value:be,onChange:Ve,style:{marginLeft:"8px"}})),M.createElement(F.Z,null,M.createElement("label",null,"\u591A\u9009\u9898"),M.createElement(z.Z,{min:0,max:10,value:Se,onChange:$e,style:{marginLeft:"8px"}})),M.createElement(F.Z,null,M.createElement("label",null,"\u5224\u65AD\u9898"),M.createElement(z.Z,{min:0,max:10,value:ke,onChange:it,style:{marginLeft:"8px"}})),M.createElement(F.Z,null,M.createElement("label",null,"\u586B\u7A7A\u9898"),M.createElement(z.Z,{min:0,max:10,value:ft,onChange:jt,style:{marginLeft:"8px"}})),M.createElement(F.Z,null,M.createElement("label",null,"\u7B80\u7B54\u9898"),M.createElement(z.Z,{min:0,max:10,value:st,onChange:St,style:{marginLeft:"8px"}}))))),M.createElement(b.Z,{placement:"bottom",height:"100%",closable:!1,className:"body-overflow-hidden",destroyOnClose:!0,open:Ze},M.createElement(f.Z,{align:"middle",style:{margin:"8px auto 24px auto",width:1200,fontWeight:600},className:"c-black font18"},M.createElement("img",{src:t(55854),alt:"\u667A\u80FD\u51FA\u9898"}),M.createElement("span",{className:"ml10"},"\u667A\u80FD\u51FA\u9898")),M.createElement(h.Z,{stickyTop:-24,hideWordFeatures:!0,isRefreshItemBank:!0,okText:"\u5BFC\u5165\u9898\u5E93",dataSource:oe,mode:1,onCancel:()=>ve(!1),onSuccess:()=>{ve(!1),Ct(!1)},headExtraNode:M.createElement(de.op,{onClick:()=>ve(!1),className:"ml20",type:"primary",shape:"default"},"\u91CD\u65B0\u751F\u6210"),onExchange:gt}),M.createElement("div",{style:{height:70}})),xe(["\u51FA\u9898\u8981\u6C42\u8BFB\u53D6\u4E2D","\u5185\u5BB9\u7406\u89E3\u5206\u6790\u4E2D","\u667A\u80FD\u51FA\u9898\u4E2D"]))}),$=t(38986),pe=(te,I,L)=>new Promise((Ae,Ee)=>{var ie=Ye=>{try{oe(L.next(Ye))}catch(qe){Ee(qe)}},xe=Ye=>{try{oe(L.throw(Ye))}catch(qe){Ee(qe)}},oe=Ye=>Ye.done?Ae(Ye.value):Promise.resolve(Ye.value).then(ie,xe);oe((L=L.apply(te,I)).next())});const K=(...te)=>pe(void 0,[...te],function*(I={}){var L,Ae,Ee,ie;const xe=yield(0,$.ZP)("/api/intelligent_imports/recognize.json",{method:"post",body:I},!0);if((xe==null?void 0:xe.status)!==0)return xe;const oe=(L=xe==null?void 0:xe.data)==null?void 0:L.ai_question_record_id;let Ye;do if(Ye=yield(0,$.ZP)("/api/intelligent_imports/get_ai_question_record.json",{method:"get",params:{ai_question_record_id:oe}}),((Ae=Ye==null?void 0:Ye.data)==null?void 0:Ae.status)===1){console.log("\u64CD\u4F5C\u6210\u529F");break}else if(((Ee=Ye==null?void 0:Ye.data)==null?void 0:Ee.status)===0)console.log("\u8BC6\u522B\u4E2D\uFF0C\u7EE7\u7EED\u8F6E\u8BE2..."),yield new Promise(qe=>setTimeout(qe,2e3));else{console.log("\u72B6\u6001\u5F02\u5E38");break}while(((ie=Ye==null?void 0:Ye.data)==null?void 0:ie.status)===0);return Ye});var J=()=>{var te,I;const L=(0,l.useLocation)(),Ae=(0,l.useSelector)(oe=>{var Ye;return(Ye=oe==null?void 0:oe.user)==null?void 0:Ye.userInfo}),[Ee,ie]=(0,e.useState)(!1);(0,e.useEffect)(()=>{var oe,Ye,qe;if(window.self!==window.top){ie(!1);return}if((oe=L.pathname)!=null&&oe.includes("/problemset")||(Ye=L.pathname)!=null&&Ye.includes("/paperlibrary")){ie("1");return}if(((qe=L.pathname)==null?void 0:qe.slice(0,11))==="/classrooms"){ie("2");return}ie(!1)},[L==null?void 0:L.pathname]);const xe={1:[[{img:t(7764),name:"\u667A\u80FD\u8BC6\u9898",des:"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u9898\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u9898",show:!0,ref:e.createRef(),element:D},{img:t(7897),name:"\u667A\u80FD\u8BC6\u5377",des:"\u6839\u636E\u7528\u6237\u4E0A\u4F20\u7684\u8BD5\u5377\u6587\u4EF6\uFF08Word\u3001PDF\u3001\u56FE\u7247\uFF09\uFF0C\u667A\u80FD\u8BC6\u522B\u5E76\u63D0\u53D6\u6587\u5B57\u3001\u4EE3\u7801\u3001\u516C\u5F0F\uFF0C\u7EC4\u5408\u63D0\u70BC\u751F\u6210\u8BD5\u5377",show:!0,ref:e.createRef(),element:j},{img:t(55854),name:"\u667A\u80FD\u51FA\u9898",des:"\u6839\u636E\u77E5\u8BC6\u70B9\u53CA\u4E0A\u4F20\u7684\u6559\u5B66\u6587\u6863\uFF0C\u81EA\u52A8\u751F\u6210\u5355\u9009\u3001\u591A\u9009\u3001\u5224\u65AD\u3001\u586B\u7A7A\u3001\u7B80\u7B54\u548C\u7F16\u7A0B\u9898\uFF0C\u63D0\u5347\u51FA\u9898\u6548\u7387",show:!0,ref:e.createRef(),element:ye},{img:t(34999),name:"\u4EE5\u9898\u6362\u9898",des:"\u6839\u636E\u73B0\u6709\u8BD5\u9898\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u9898\uFF0C\u589E\u52A0\u8BD5\u9898\u7684\u4E30\u5BCC\u5EA6",show:!0,ref:e.createRef(),element:P.Z},{img:t(29476),name:"\u4EE5\u5377\u6362\u5377",des:"\u6839\u636E\u73B0\u6709\u8BD5\u5377\u7684\u9898\u578B\u3001\u65B9\u5411\u3001\u77E5\u8BC6\u70B9\u3001\u96BE\u6613\u5EA6\uFF0C\u5FEB\u901F\u751F\u6210\u65B0\u7684\u8BD5\u5377\uFF0C\u589E\u52A0\u8BD5\u5377\u7684\u4E30\u5BCC\u5EA6"},{img:t(68544),name:"\u667A\u80FD\u7EA0\u9519",des:"\u81EA\u52A8\u8BC6\u522B\u8BD5\u9898\u6216\u8BD5\u5377\u7684\u9519\u522B\u5B57\u3001\u68C0\u67E5\u8BED\u53E5\u7684\u8FDE\u8D2F\u6027\u4E0E\u8BD5\u9898\u7684\u51C6\u786E\u6027\uFF0C\u53D1\u73B0\u8BD5\u9898\u6216\u8BD5\u5377\u7684\u6F5C\u5728\u9519\u8BEF"}],e.createElement("span",{style:{paddingLeft:33}}," \u5728\u8BD5\u9898\u5E93/\u8BD5\u5377\u5E93\u6A21\u5757\uFF0C\u6211\u5177\u5907\u6559\u80B2\u5927\u8BED\u8A00\u6A21\u578B\u7684\u5F3A\u5927\u751F\u6210\u80FD\u529B\uFF0C\u901A\u8FC7\u667A\u80FD\u5316\u7684\u51FA\u9898\u548C\u7EC4\u5377\u5DE5\u5177\uFF0C\u4E3A\u60A8\u63D0\u4F9B\u9AD8\u6548\u3001\u7CBE\u51C6\u3001\u4E2A\u6027\u5316\u7684\u8BD5\u9898\u751F\u6210\u670D\u52A1\uFF0C\u652F\u6301\u591A\u5B66\u79D1\u3001\u591A\u9898\u578B\u548C\u4E0D\u540C\u96BE\u6613\u5EA6\uFF0C\u6EE1\u8DB3\u60A8\u7684\u591A\u5143\u5316\u6559\u5B66\u9700\u6C42\u3002")],2:[[{img:t(91430),name:"\u667A\u80FD\u95EE\u7B54",des:"\u4E3A\u8BFE\u5802\u63D0\u4F9B\u5B9E\u65F6\u4E92\u52A8\u652F\u6301\u3002\u6559\u5E08\u53EF\u4E0A\u4F20\u95EE\u7B54\u96C6\uFF0C\u6253\u9020\u4E13\u5C5E\u667A\u80FD\u52A9\u6559\uFF0C\u5B9E\u73B0\u7CBE\u51C6\u89E3\u7B54"},{img:t(5590),name:"\u667A\u80FD\u8BC4\u9605",des:"\u81EA\u52A8\u6279\u6539\u4F5C\u4E1A\u548C\u8BD5\u5377\u7684\u4E3B\u89C2\u9898\uFF0C\u667A\u80FD\u6253\u5206\u5E76\u751F\u6210\u8BC4\u8BED\uFF0C\u4E3A\u6559\u5E08\u63D0\u5347\u8BC4\u9605\u6548\u7387"},{img:t(96511),name:"\u9519\u9898\u63A8\u9001",des:"\u6839\u636E\u5B66\u751F\u5728\u8BFE\u5802\u4F5C\u4E1A\u548C\u6D4B\u9A8C\u4E2D\u7684\u9519\u8BEF\u8BD5\u9898\uFF0C\u751F\u6210\u76F8\u5173\u77E5\u8BC6\u70B9\u7684\u65B0\u8BD5\u9898\u4F9B\u5B66\u751F\u5DE9\u56FA\u7EC3\u4E60"},{img:t(28531),name:"\u667A\u80FD\u51FA\u5377",des:"\u6839\u636E\u5DF2\u6709\u8BD5\u5377\u667A\u80FD\u751F\u6210\u65B0\u8BD5\u5377\u4F9B\u5B66\u751F\u6269\u5C55\u7EC3\u4E60\uFF0C\u4E3A\u6559\u5E08\u548C\u5B66\u751F\u63D0\u4F9B\u66F4\u4E30\u5BCC\u7684\u8BD5\u5377\u8D44\u6E90"},{img:t(22975),name:"\u7F16\u7801\u52A9\u624B",des:"\u63D0\u4F9B\u542F\u53D1\u5F0F\u52A9\u5B66\u80FD\u529B\uFF0C\u4E3A\u5B66\u751F\u63D0\u4F9B\u667A\u80FD\u5BA1\u9898\u3001\u4EE3\u7801\u8BCA\u65AD\u548CAI\u8F85\u5BFC\u529F\u80FD\uFF0C\u63D0\u4F9B\u7F16\u7A0B\u89E3\u9898\u601D\u8DEF\uFF0C\u63D0\u5347\u7F16\u7A0B\u80FD\u529B"},{img:t(79465),name:"\u6570\u5B57\u5206\u8EAB",des:"\u6839\u636E\u6559\u5E08\u5F62\u8C61\u521B\u5EFA\u865A\u62DF\u6570\u5B57\u4EBA\uFF0C\u66FF\u4EE3\u6559\u5E08\u8FDB\u884C\u6388\u8BFE\u548C\u95EE\u9898\u89E3\u7B54\uFF0C\u63D0\u5347\u8BFE\u5802\u4E92\u52A8\u4E0E\u6559\u5B66\u6548\u679C"}],e.createElement("span",{style:{paddingLeft:33}},"\u60A8\u597D\uFF0C\u6211\u662F",e.createElement("span",{className:"c-light-primary"},(te=Ae==null?void 0:Ae.course)!=null&&te.course_name?`\u300A${(I=Ae==null?void 0:Ae.course)==null?void 0:I.course_name}\u300B`:""),"\u6559\u5B66\u8BFE\u5802\u7684\u667A\u80FD\u52A9\u6559\uFF0C\u4E13\u4E3A\u63D0\u5347\u8BFE\u5802\u4E92\u52A8\u4E0E\u5B66\u4E60\u6548\u679C\u800C\u8BBE\u8BA1\u3002\u6211\u80FD\u534F\u52A9\u6559\u5E08\u5B9E\u65F6\u4E92\u52A8\u7B54\u7591\uFF0C\u8BD5\u9898\u8D44\u6E90\u751F\u6210\uFF0C\u81EA\u52A8\u6279\u6539\u4F5C\u4E1A\uFF0C\u865A\u62DF\u6570\u5B57\u4EBA\u6388\u8BFE\u7B49\uFF1B\u5E2E\u52A9\u5B66\u751F\u8BD5\u9898\u63A8\u9001\u5DE9\u56FA\u7EC3\u4E60\uFF0C\u542F\u53D1\u5F0F\u52A9\u5B66\u7B49\u3002\u786E\u4FDD\u6559\u5E08\u548C\u5B66\u751F\u5728\u6BCF\u4E00\u5802\u8BFE\u4E0A\u90FD\u80FD\u5F97\u5230\u5168\u65B9\u4F4D\u667A\u80FD\u5316\u7684\u4FDD\u969C\u3002\u8BA9\u6211\u4EEC\u4E00\u8D77\u9AD8\u6548\u5B66\u4E60\uFF0C\u8F7B\u677E\u8FDB\u6B65\uFF01")]};return e.createElement(e.Fragment,null,!!Ee&&e.createElement(i.Z,{DrawerProps:{width:1200},isIntelligentAssistant:!0,title:"\u667A\u80FD\u52A9\u6559",FetchUrl:"/api/intelligent_imports/chat.json",description:xe[Ee][1],intelligentAssistantItems:xe[Ee][0]}))}},37873:function(c,a,t){"use strict";t.d(a,{Z:function(){return Mu}});var e={};t.r(e),t.d(e,{boolean:function(){return R},booleanish:function(){return J},commaOrSpaceSeparated:function(){return Ee},commaSeparated:function(){return Ae},number:function(){return I},overloadedBoolean:function(){return te},spaceSeparated:function(){return L}});var i={};t.r(i),t.d(i,{attentionMarkers:function(){return Go},contentInitial:function(){return ro},disable:function(){return yi},document:function(){return Uo},flow:function(){return bi},flowInitial:function(){return ni},insideSpan:function(){return zo},string:function(){return io},text:function(){return li}});var l=t(59301),s=t(8591),d=t(54580),E=t(43418),f=t(92832),b=t(3113),h=t(6848),A=t(43428),S=t(95237),O=t(25690);function V(n){return n}function N(){}function D(){}function Z(){}function H(n){const r=[],o=String(n||"");let u=o.indexOf(","),p=0,g=!1;for(;!g;){u===-1&&(u=o.length,g=!0);const v=o.slice(p,u).trim();(v||!g)&&r.push(v),p=u+1,u=o.indexOf(",",p)}return r}function U(n,r){const o=r||{};return(n[n.length-1]===""?[...n,""]:n).join((o.padRight?" ":"")+","+(o.padLeft===!1?"":" ")).trim()}const C=/[$_\p{ID_Start}]/u,j=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,P=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,W=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,B=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,F={};function z(n){return n?C.test(String.fromCodePoint(n)):!1}function re(n,r){const u=(r||F).jsx?P:j;return n?u.test(String.fromCodePoint(n)):!1}function Ce(n,r){return((r||F).jsx?B:W).test(n)}const de=/[ \t\n\f\r]/g;function M(n){return typeof n=="object"?n.type==="text"?k(n.value):!1:k(n)}function k(n){return n.replace(de,"")===""}class Be{constructor(r,o,u){this.normal=o,this.property=r,u&&(this.space=u)}}Be.prototype.normal={},Be.prototype.property={},Be.prototype.space=void 0;function ye(n,r){const o={},u={};for(const p of n)Object.assign(o,p.property),Object.assign(u,p.normal);return new Be(o,u,r)}function $(n){return n.toLowerCase()}class pe{constructor(r,o){this.attribute=o,this.property=r}}pe.prototype.attribute="",pe.prototype.booleanish=!1,pe.prototype.boolean=!1,pe.prototype.commaOrSpaceSeparated=!1,pe.prototype.commaSeparated=!1,pe.prototype.defined=!1,pe.prototype.mustUseProperty=!1,pe.prototype.number=!1,pe.prototype.overloadedBoolean=!1,pe.prototype.property="",pe.prototype.spaceSeparated=!1,pe.prototype.space=void 0;let K=0;const R=ie(),J=ie(),te=ie(),I=ie(),L=ie(),Ae=ie(),Ee=ie();function ie(){return Fs(2,++K)}const xe=Object.keys(e);class oe extends pe{constructor(r,o,u,p){let g=-1;if(super(r,o),Ye(this,"space",p),typeof u=="number")for(;++g4&&o.slice(0,4)==="data"&&jt.test(r)){if(r.charAt(4)==="-"){const g=r.slice(5).replace(ft,Ze);u="data"+g.charAt(0).toUpperCase()+g.slice(1)}else{const g=r.slice(4);if(!ft.test(g)){let v=g.replace(it,St);v.charAt(0)!=="-"&&(v="-"+v),r="data"+v}}p=oe}return new p(u,r)}function St(n){return"-"+n.toLowerCase()}function Ze(n){return n.charAt(1).toUpperCase()}const ve={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function Ot(n){const r=String(n||"").trim();return r?r.split(/[ \t\n\r\f]+/g):[]}function bt(n){return n.join(" ").trim()}var gt=t(6526);const dn=nn("end"),Jt=nn("start");function nn(n){return r;function r(o){const u=o&&o.position&&o.position[n]||{};if(typeof u.line=="number"&&u.line>0&&typeof u.column=="number"&&u.column>0)return{line:u.line,column:u.column,offset:typeof u.offset=="number"&&u.offset>-1?u.offset:void 0}}}function Et(n){const r=Jt(n),o=dn(n);if(r&&o)return{start:r,end:o}}function xt(n){return!n||typeof n!="object"?"":"position"in n||"type"in n?Nt(n.position):"start"in n||"end"in n?Nt(n):"line"in n||"column"in n?rt(n):""}function rt(n){return Xe(n&&n.line)+":"+Xe(n&&n.column)}function Nt(n){return rt(n&&n.start)+"-"+rt(n&&n.end)}function Xe(n){return n&&typeof n=="number"?n:1}class we extends Error{constructor(r,o,u){super(),typeof o=="string"&&(u=o,o=void 0);let p="",g={},v=!1;if(o&&("line"in o&&"column"in o?g={place:o}:"start"in o&&"end"in o?g={place:o}:"type"in o?g={ancestors:[o],place:o.position}:g=Ia({},o)),typeof r=="string"?p=r:!g.cause&&r&&(v=!0,p=r.message,g.cause=r),!g.ruleId&&!g.source&&typeof u=="string"){const _=u.indexOf(":");_===-1?g.ruleId=u:(g.source=u.slice(0,_),g.ruleId=u.slice(_+1))}if(!g.place&&g.ancestors&&g.ancestors){const _=g.ancestors[g.ancestors.length-1];_&&(g.place=_.position)}const w=g.place&&"start"in g.place?g.place.start:g.place;this.ancestors=g.ancestors||void 0,this.cause=g.cause||void 0,this.column=w?w.column:void 0,this.fatal=void 0,this.file,this.message=p,this.line=w?w.line:void 0,this.name=xt(g.place)||"1:1",this.place=g.place||void 0,this.reason=this.message,this.ruleId=g.ruleId||void 0,this.source=g.source||void 0,this.stack=v&&g.cause&&typeof g.cause.stack=="string"?g.cause.stack:"",this.actual,this.expected,this.note,this.url}}we.prototype.file="",we.prototype.name="",we.prototype.reason="",we.prototype.message="",we.prototype.stack="",we.prototype.column=void 0,we.prototype.line=void 0,we.prototype.ancestors=void 0,we.prototype.cause=void 0,we.prototype.fatal=void 0,we.prototype.place=void 0,we.prototype.ruleId=void 0,we.prototype.source=void 0;const Ne={}.hasOwnProperty,Tt=new Map,Ht=/[A-Z]/g,Yt=new Set(["table","tbody","thead","tfoot","tr"]),Mt=new Set(["td","th"]),Ut="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function yt(n,r){if(!r||r.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const o=r.filePath||void 0;let u;if(r.development){if(typeof r.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");u=Te(o,r.jsxDEV)}else{if(typeof r.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof r.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");u=ge(o,r.jsx,r.jsxs)}const p={Fragment:r.Fragment,ancestors:[],components:r.components||{},create:u,elementAttributeNameCase:r.elementAttributeNameCase||"react",evaluater:r.createEvaluater?r.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:r.ignoreInvalidStyle||!1,passKeys:r.passKeys!==!1,passNode:r.passNode||!1,schema:r.space==="svg"?ke:$e,stylePropertyNameCase:r.stylePropertyNameCase||"dom",tableCellAlignToStyle:r.tableCellAlignToStyle!==!1},g=Lt(p,n,void 0);return g&&typeof g!="string"?g:p.create(n,p.Fragment,{children:g||void 0},void 0)}function Lt(n,r,o){if(r.type==="element")return Pn(n,r,o);if(r.type==="mdxFlowExpression"||r.type==="mdxTextExpression")return Je(n,r);if(r.type==="mdxJsxFlowElement"||r.type==="mdxJsxTextElement")return et(n,r,o);if(r.type==="mdxjsEsm")return nt(n,r);if(r.type==="root")return Le(n,r,o);if(r.type==="text")return x(n,r)}function Pn(n,r,o){const u=n.schema;let p=u;r.tagName.toLowerCase()==="svg"&&u.space==="html"&&(p=ke,n.schema=p),n.ancestors.push(r);const g=Dt(n,r.tagName,!1),v=ze(n,r);let w=At(n,r);return Yt.has(r.tagName)&&(w=w.filter(function(_){return typeof _=="string"?!M(_):!0})),Q(n,v,g,r),ee(v,w),n.ancestors.pop(),n.schema=u,n.create(r,g,v,o)}function Je(n,r){if(r.data&&r.data.estree&&n.evaluater){const u=r.data.estree.body[0];return u.type,n.evaluater.evaluateExpression(u.expression)}qt(n,r.position)}function nt(n,r){if(r.data&&r.data.estree&&n.evaluater)return n.evaluater.evaluateProgram(r.data.estree);qt(n,r.position)}function et(n,r,o){const u=n.schema;let p=u;r.name==="svg"&&u.space==="html"&&(p=ke,n.schema=p),n.ancestors.push(r);const g=r.name===null?n.Fragment:Dt(n,r.name,!0),v=Ge(n,r),w=At(n,r);return Q(n,v,g,r),ee(v,w),n.ancestors.pop(),n.schema=u,n.create(r,g,v,o)}function Le(n,r,o){const u={};return ee(u,At(n,r)),n.create(r,n.Fragment,u,o)}function x(n,r){return r.value}function Q(n,r,o,u){typeof o!="string"&&o!==n.Fragment&&n.passNode&&(r.node=u)}function ee(n,r){if(r.length>0){const o=r.length>1?r:r[0];o&&(n.children=o)}}function ge(n,r,o){return u;function u(p,g,v,w){const ue=Array.isArray(v.children)?o:r;return w?ue(g,v,w):ue(g,v)}}function Te(n,r){return o;function o(u,p,g,v){const w=Array.isArray(g.children),_=Jt(u);return r(p,g,v,w,{columnNumber:_?_.column-1:void 0,fileName:n,lineNumber:_?_.line:void 0},void 0)}}function ze(n,r){const o={};let u,p;for(p in r.properties)if(p!=="children"&&Ne.call(r.properties,p)){const g=vt(n,p,r.properties[p]);if(g){const[v,w]=g;n.tableCellAlignToStyle&&v==="align"&&typeof w=="string"&&Mt.has(r.tagName)?u=w:o[v]=w}}if(u){const g=o.style||(o.style={});g[n.stylePropertyNameCase==="css"?"text-align":"textAlign"]=u}return o}function Ge(n,r){const o={};for(const u of r.attributes)if(u.type==="mdxJsxExpressionAttribute")if(u.data&&u.data.estree&&n.evaluater){const g=u.data.estree.body[0];g.type;const v=g.expression;v.type;const w=v.properties[0];w.type,Object.assign(o,n.evaluater.evaluateExpression(w.argument))}else qt(n,r.position);else{const p=u.name;let g;if(u.value&&typeof u.value=="object")if(u.value.data&&u.value.data.estree&&n.evaluater){const w=u.value.data.estree.body[0];w.type,g=n.evaluater.evaluateExpression(w.expression)}else qt(n,r.position);else g=u.value===null?!0:u.value;o[p]=g}return o}function At(n,r){const o=[];let u=-1;const p=n.passKeys?new Map:Tt;for(;++up?0:p+r:r=r>p?p:r,o=o>0?o:0,u.length<1e4)v=Array.from(u),v.unshift(r,o),n.splice(...v);else for(o&&n.splice(r,o);g0?($t(n,n.length,0,r),n):r}class Dn{constructor(r){this.left=r?[...r]:[],this.right=[]}get(r){if(r<0||r>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+r+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return rthis.left.length?this.right.slice(this.right.length-u+this.left.length,this.right.length-r+this.left.length).reverse():this.left.slice(r).concat(this.right.slice(this.right.length-u+this.left.length).reverse())}splice(r,o,u){const p=o||0;this.setCursor(Math.trunc(r));const g=this.right.splice(this.right.length-p,Number.POSITIVE_INFINITY);return u&&en(this.left,u),g.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(r){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(r)}pushMany(r){this.setCursor(Number.POSITIVE_INFINITY),en(this.left,r)}unshift(r){this.setCursor(0),this.right.push(r)}unshiftMany(r){this.setCursor(0),en(this.right,r.reverse())}setCursor(r){if(!(r===this.left.length||r>this.left.length&&this.right.length===0||r<0&&this.left.length===0))if(r-1&&n.test(String.fromCharCode(o))}}function Rn(n,r,o,u){const p=u?u-1:Number.POSITIVE_INFINITY;let g=0;return v;function v(_){return Hn(_)?(n.enter(o),w(_)):r(_)}function w(_){return Hn(_)&&g++v))return;const Tn=r.events.length;let ua=Tn,ia,ca;for(;ua--;)if(r.events[ua][0]==="exit"&&r.events[ua][1].type==="chunkFlow"){if(ia){ca=r.events[ua][1].end;break}ia=!0}for(wt(u),pt=Tn;ptfn;){const Jn=o[Sa];r.containerState=Jn[1],Jn[0].exit.call(r,n)}o.length=fn}function Ln(){p.write([null]),g=void 0,p=void 0,r.containerState._closeFlow=void 0}}function Da(n,r,o){return Rn(n,n.attempt(this.parser.constructs.document,r,o),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const Sn={partial:!0,tokenize:xn};function xn(n,r,o){return u;function u(g){return Hn(g)?Rn(n,p,"linePrefix")(g):p(g)}function p(g){return g===null||T(g)?r(g):o(g)}}const ya={resolve:Ue,tokenize:Pe},Ca={partial:!0,tokenize:De};function Ue(n){return dt(n),n}function Pe(n,r){let o;return u;function u(w){return n.enter("content"),o=n.enter("chunkContent",{contentType:"content"}),p(w)}function p(w){return w===null?g(w):T(w)?n.check(Ca,v,g)(w):(n.consume(w),p)}function g(w){return n.exit("chunkContent"),n.exit("content"),r(w)}function v(w){return n.consume(w),n.exit("chunkContent"),o.next=n.enter("chunkContent",{contentType:"content",previous:o}),o=o.next,p}}function De(n,r,o){const u=this;return p;function p(v){return n.exit("chunkContent"),n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),Rn(n,g,"linePrefix")}function g(v){if(v===null||T(v))return o(v);const w=u.events[u.events.length-1];return!u.parser.constructs.disable.null.includes("codeIndented")&&w&&w[1].type==="linePrefix"&&w[2].sliceSerialize(w[1],!0).length>=4?r(v):n.interrupt(u.parser.constructs.flow,o,r)(v)}}const Bt={tokenize:on};function on(n){const r=this,o=n.attempt(Sn,u,n.attempt(this.parser.constructs.flowInitial,p,Rn(n,n.attempt(this.parser.constructs.flow,p,n.attempt(ya,p)),"linePrefix")));return o;function u(g){if(g===null){n.consume(g);return}return n.enter("lineEndingBlank"),n.consume(g),n.exit("lineEndingBlank"),r.currentConstruct=void 0,o}function p(g){if(g===null){n.consume(g);return}return n.enter("lineEnding"),n.consume(g),n.exit("lineEnding"),r.currentConstruct=void 0,o}}const It={resolveAll:An()},kn=tn("string"),Fn=tn("text");function tn(n){return{resolveAll:An(n==="text"?ga:void 0),tokenize:r};function r(o){const u=this,p=this.parser.constructs[n],g=o.attempt(p,v,w);return v;function v(X){return ue(X)?g(X):w(X)}function w(X){if(X===null){o.consume(X);return}return o.enter("data"),o.consume(X),_}function _(X){return ue(X)?(o.exit("data"),g(X)):(o.consume(X),_)}function ue(X){if(X===null)return!0;const he=p[X];let fe=-1;if(he)for(;++fe=3&&(ue===null||T(ue))?(n.exit("thematicBreak"),r(ue)):o(ue)}function _(ue){return ue===p?(n.consume(ue),u++,_):(n.exit("thematicBreakSequence"),Hn(ue)?Rn(n,w,"whitespace")(ue):w(ue))}}const Bn={continuation:{tokenize:mn},exit:Rt,name:"list",tokenize:ot},se={partial:!0,tokenize:_e},Oe={partial:!0,tokenize:un};function ot(n,r,o){const u=this,p=u.events[u.events.length-1];let g=p&&p[1].type==="linePrefix"?p[2].sliceSerialize(p[1],!0).length:0,v=0;return w;function w(le){const Zt=u.containerState.type||(le===42||le===43||le===45?"listUnordered":"listOrdered");if(Zt==="listUnordered"?!u.containerState.marker||le===u.containerState.marker:Fa(le)){if(u.containerState.type||(u.containerState.type=Zt,n.enter(Zt,{_container:!0})),Zt==="listUnordered")return n.enter("listItemPrefix"),le===42||le===45?n.check(Ta,o,ue)(le):ue(le);if(!u.interrupt||le===49)return n.enter("listItemPrefix"),n.enter("listItemValue"),_(le)}return o(le)}function _(le){return Fa(le)&&++v<10?(n.consume(le),_):(!u.interrupt||v<2)&&(u.containerState.marker?le===u.containerState.marker:le===41||le===46)?(n.exit("listItemValue"),ue(le)):o(le)}function ue(le){return n.enter("listItemMarker"),n.consume(le),n.exit("listItemMarker"),u.containerState.marker=u.containerState.marker||le,n.check(Sn,u.interrupt?o:X,n.attempt(se,fe,he))}function X(le){return u.containerState.initialBlankLine=!0,g++,fe(le)}function he(le){return Hn(le)?(n.enter("listItemPrefixWhitespace"),n.consume(le),n.exit("listItemPrefixWhitespace"),fe):o(le)}function fe(le){return u.containerState.size=g+u.sliceSerialize(n.exit("listItemPrefix"),!0).length,r(le)}}function mn(n,r,o){const u=this;return u.containerState._closeFlow=void 0,n.check(Sn,p,g);function p(w){return u.containerState.furtherBlankLines=u.containerState.furtherBlankLines||u.containerState.initialBlankLine,Rn(n,r,"listItemIndent",u.containerState.size+1)(w)}function g(w){return u.containerState.furtherBlankLines||!Hn(w)?(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,v(w)):(u.containerState.furtherBlankLines=void 0,u.containerState.initialBlankLine=void 0,n.attempt(Oe,r,v)(w))}function v(w){return u.containerState._closeFlow=!0,u.interrupt=void 0,Rn(n,n.attempt(Bn,r,o),"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w)}}function un(n,r,o){const u=this;return Rn(n,p,"listItemIndent",u.containerState.size+1);function p(g){const v=u.events[u.events.length-1];return v&&v[1].type==="listItemIndent"&&v[2].sliceSerialize(v[1],!0).length===u.containerState.size?r(g):o(g)}}function Rt(n){n.exit(this.containerState.type)}function _e(n,r,o){const u=this;return Rn(n,p,"listItemPrefixWhitespace",u.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function p(g){const v=u.events[u.events.length-1];return!Hn(g)&&v&&v[1].type==="listItemPrefixWhitespace"?r(g):o(g)}}const ct={continuation:{tokenize:me},exit:y,name:"blockQuote",tokenize:m};function m(n,r,o){const u=this;return p;function p(v){if(v===62){const w=u.containerState;return w.open||(n.enter("blockQuote",{_container:!0}),w.open=!0),n.enter("blockQuotePrefix"),n.enter("blockQuoteMarker"),n.consume(v),n.exit("blockQuoteMarker"),g}return o(v)}function g(v){return Hn(v)?(n.enter("blockQuotePrefixWhitespace"),n.consume(v),n.exit("blockQuotePrefixWhitespace"),n.exit("blockQuotePrefix"),r):(n.exit("blockQuotePrefix"),r(v))}}function me(n,r,o){const u=this;return p;function p(v){return Hn(v)?Rn(n,g,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):g(v)}function g(v){return n.attempt(ct,r,o)(v)}}function y(n){n.exit("blockQuote")}function ce(n,r,o,u,p,g,v,w,_){const ue=_||Number.POSITIVE_INFINITY;let X=0;return he;function he(wt){return wt===60?(n.enter(u),n.enter(p),n.enter(g),n.consume(wt),n.exit(g),fe):wt===null||wt===32||wt===41||Ma(wt)?o(wt):(n.enter(u),n.enter(v),n.enter(w),n.enter("chunkString",{contentType:"string"}),rn(wt))}function fe(wt){return wt===62?(n.enter(g),n.consume(wt),n.exit(g),n.exit(p),n.exit(u),r):(n.enter(w),n.enter("chunkString",{contentType:"string"}),le(wt))}function le(wt){return wt===62?(n.exit("chunkString"),n.exit(w),fe(wt)):wt===null||wt===60||T(wt)?o(wt):(n.consume(wt),wt===92?Zt:le)}function Zt(wt){return wt===60||wt===62||wt===92?(n.consume(wt),le):le(wt)}function rn(wt){return!X&&(wt===null||wt===41||ma(wt))?(n.exit("chunkString"),n.exit(w),n.exit(v),n.exit(u),r(wt)):X999||le===null||le===91||le===93&&!_||le===94&&!w&&"_hiddenFootnoteSupport"in v.parser.constructs?o(le):le===93?(n.exit(g),n.enter(p),n.consume(le),n.exit(p),n.exit(u),r):T(le)?(n.enter("lineEnding"),n.consume(le),n.exit("lineEnding"),X):(n.enter("chunkString",{contentType:"string"}),he(le))}function he(le){return le===null||le===91||le===93||T(le)||w++>999?(n.exit("chunkString"),X(le)):(n.consume(le),_||(_=!Hn(le)),le===92?fe:he)}function fe(le){return le===91||le===92||le===93?(n.consume(le),w++,he):he(le)}}function at(n,r,o,u,p,g){let v;return w;function w(fe){return fe===34||fe===39||fe===40?(n.enter(u),n.enter(p),n.consume(fe),n.exit(p),v=fe===40?41:fe,_):o(fe)}function _(fe){return fe===v?(n.enter(p),n.consume(fe),n.exit(p),n.exit(u),r):(n.enter(g),ue(fe))}function ue(fe){return fe===v?(n.exit(g),_(v)):fe===null?o(fe):T(fe)?(n.enter("lineEnding"),n.consume(fe),n.exit("lineEnding"),Rn(n,ue,"linePrefix")):(n.enter("chunkString",{contentType:"string"}),X(fe))}function X(fe){return fe===v||fe===null||T(fe)?(n.exit("chunkString"),ue(fe)):(n.consume(fe),fe===92?he:X)}function he(fe){return fe===v||fe===92?(n.consume(fe),X):X(fe)}}function Re(n,r){let o;return u;function u(p){return T(p)?(n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),o=!0,u):Hn(p)?Rn(n,u,o?"linePrefix":"lineSuffix")(p):r(p)}}function Qe(n){return n.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const We={name:"definition",tokenize:Kt},cn={partial:!0,tokenize:Vt};function Kt(n,r,o){const u=this;let p;return g;function g(le){return n.enter("definition"),v(le)}function v(le){return ne.call(u,n,w,o,"definitionLabel","definitionLabelMarker","definitionLabelString")(le)}function w(le){return p=Qe(u.sliceSerialize(u.events[u.events.length-1][1]).slice(1,-1)),le===58?(n.enter("definitionMarker"),n.consume(le),n.exit("definitionMarker"),_):o(le)}function _(le){return ma(le)?Re(n,ue)(le):ue(le)}function ue(le){return ce(n,X,o,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(le)}function X(le){return n.attempt(cn,he,he)(le)}function he(le){return Hn(le)?Rn(n,fe,"whitespace")(le):fe(le)}function fe(le){return le===null||T(le)?(n.exit("definition"),u.parser.defined.push(p),r(le)):o(le)}}function Vt(n,r,o){return u;function u(w){return ma(w)?Re(n,p)(w):o(w)}function p(w){return at(n,g,o,"definitionTitle","definitionTitleMarker","definitionTitleString")(w)}function g(w){return Hn(w)?Rn(n,v,"whitespace")(w):v(w)}function v(w){return w===null||T(w)?r(w):o(w)}}const Pt={name:"codeIndented",tokenize:Xt},gn={partial:!0,tokenize:hn};function Xt(n,r,o){const u=this;return p;function p(ue){return n.enter("codeIndented"),Rn(n,g,"linePrefix",5)(ue)}function g(ue){const X=u.events[u.events.length-1];return X&&X[1].type==="linePrefix"&&X[2].sliceSerialize(X[1],!0).length>=4?v(ue):o(ue)}function v(ue){return ue===null?_(ue):T(ue)?n.attempt(gn,v,_)(ue):(n.enter("codeFlowValue"),w(ue))}function w(ue){return ue===null||T(ue)?(n.exit("codeFlowValue"),v(ue)):(n.consume(ue),w)}function _(ue){return n.exit("codeIndented"),r(ue)}}function hn(n,r,o){const u=this;return p;function p(v){return u.parser.lazy[u.now().line]?o(v):T(v)?(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),p):Rn(n,g,"linePrefix",5)(v)}function g(v){const w=u.events[u.events.length-1];return w&&w[1].type==="linePrefix"&&w[2].sliceSerialize(w[1],!0).length>=4?r(v):T(v)?p(v):o(v)}}const In={name:"headingAtx",resolve:Nn,tokenize:qn};function Nn(n,r){let o=n.length-2,u=3,p,g;return n[u][1].type==="whitespace"&&(u+=2),o-2>u&&n[o][1].type==="whitespace"&&(o-=2),n[o][1].type==="atxHeadingSequence"&&(u===o-1||o-4>u&&n[o-2][1].type==="whitespace")&&(o-=u+1===o?2:4),o>u&&(p={type:"atxHeadingText",start:n[u][1].start,end:n[o][1].end},g={type:"chunkText",start:n[u][1].start,end:n[o][1].end,contentType:"text"},$t(n,u,o-u+1,[["enter",p,r],["enter",g,r],["exit",g,r],["exit",p,r]])),n}function qn(n,r,o){let u=0;return p;function p(X){return n.enter("atxHeading"),g(X)}function g(X){return n.enter("atxHeadingSequence"),v(X)}function v(X){return X===35&&u++<6?(n.consume(X),v):X===null||ma(X)?(n.exit("atxHeadingSequence"),w(X)):o(X)}function w(X){return X===35?(n.enter("atxHeadingSequence"),_(X)):X===null||T(X)?(n.exit("atxHeading"),r(X)):Hn(X)?Rn(n,w,"whitespace")(X):(n.enter("atxHeadingText"),ue(X))}function _(X){return X===35?(n.consume(X),_):(n.exit("atxHeadingSequence"),w(X))}function ue(X){return X===null||X===35||ma(X)?(n.exit("atxHeadingText"),w(X)):(n.consume(X),ue)}}const Ra={name:"setextUnderline",resolveTo:La,tokenize:rr};function La(n,r){let o=n.length,u,p,g;for(;o--;)if(n[o][0]==="enter"){if(n[o][1].type==="content"){u=o;break}n[o][1].type==="paragraph"&&(p=o)}else n[o][1].type==="content"&&n.splice(o,1),!g&&n[o][1].type==="definition"&&(g=o);const v={type:"setextHeading",start:Ia({},n[u][1].start),end:Ia({},n[n.length-1][1].end)};return n[p][1].type="setextHeadingText",g?(n.splice(p,0,["enter",v,r]),n.splice(g+1,0,["exit",n[u][1],r]),n[u][1].end=Ia({},n[g][1].end)):n[u][1]=v,n.push(["exit",v,r]),n}function rr(n,r,o){const u=this;let p;return g;function g(ue){let X=u.events.length,he;for(;X--;)if(u.events[X][1].type!=="lineEnding"&&u.events[X][1].type!=="linePrefix"&&u.events[X][1].type!=="content"){he=u.events[X][1].type==="paragraph";break}return!u.parser.lazy[u.now().line]&&(u.interrupt||he)?(n.enter("setextHeadingLine"),p=ue,v(ue)):o(ue)}function v(ue){return n.enter("setextHeadingLineSequence"),w(ue)}function w(ue){return ue===p?(n.consume(ue),w):(n.exit("setextHeadingLineSequence"),Hn(ue)?Rn(n,_,"lineSuffix")(ue):_(ue))}function _(ue){return ue===null||T(ue)?(n.exit("setextHeadingLine"),r(ue)):o(ue)}}const ha=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],cr=["pre","script","style","textarea"],Ir={concrete:!0,name:"htmlFlow",resolveTo:Ka,tokenize:wn},Ha={partial:!0,tokenize:Xa},sr={partial:!0,tokenize:Qn};function Ka(n){let r=n.length;for(;r--&&!(n[r][0]==="enter"&&n[r][1].type==="htmlFlow"););return r>1&&n[r-2][1].type==="linePrefix"&&(n[r][1].start=n[r-2][1].start,n[r+1][1].start=n[r-2][1].start,n.splice(r-2,2)),n}function wn(n,r,o){const u=this;let p,g,v,w,_;return ue;function ue(Fe){return X(Fe)}function X(Fe){return n.enter("htmlFlow"),n.enter("htmlFlowData"),n.consume(Fe),he}function he(Fe){return Fe===33?(n.consume(Fe),fe):Fe===47?(n.consume(Fe),g=!0,rn):Fe===63?(n.consume(Fe),p=3,u.interrupt?r:Ie):ta(Fe)?(n.consume(Fe),v=String.fromCharCode(Fe),bn):o(Fe)}function fe(Fe){return Fe===45?(n.consume(Fe),p=2,le):Fe===91?(n.consume(Fe),p=5,w=0,Zt):ta(Fe)?(n.consume(Fe),p=4,u.interrupt?r:Ie):o(Fe)}function le(Fe){return Fe===45?(n.consume(Fe),u.interrupt?r:Ie):o(Fe)}function Zt(Fe){const ur="CDATA[";return Fe===ur.charCodeAt(w++)?(n.consume(Fe),w===ur.length?u.interrupt?r:oa:Zt):o(Fe)}function rn(Fe){return ta(Fe)?(n.consume(Fe),v=String.fromCharCode(Fe),bn):o(Fe)}function bn(Fe){if(Fe===null||Fe===47||Fe===62||ma(Fe)){const ur=Fe===47,yr=v.toLowerCase();return!ur&&!g&&cr.includes(yr)?(p=1,u.interrupt?r(Fe):oa(Fe)):ha.includes(v.toLowerCase())?(p=6,ur?(n.consume(Fe),wt):u.interrupt?r(Fe):oa(Fe)):(p=7,u.interrupt&&!u.parser.lazy[u.now().line]?o(Fe):g?Ln(Fe):fn(Fe))}return Fe===45||Gn(Fe)?(n.consume(Fe),v+=String.fromCharCode(Fe),bn):o(Fe)}function wt(Fe){return Fe===62?(n.consume(Fe),u.interrupt?r:oa):o(Fe)}function Ln(Fe){return Hn(Fe)?(n.consume(Fe),Ln):ca(Fe)}function fn(Fe){return Fe===47?(n.consume(Fe),ca):Fe===58||Fe===95||ta(Fe)?(n.consume(Fe),Sa):Hn(Fe)?(n.consume(Fe),fn):ca(Fe)}function Sa(Fe){return Fe===45||Fe===46||Fe===58||Fe===95||Gn(Fe)?(n.consume(Fe),Sa):Jn(Fe)}function Jn(Fe){return Fe===61?(n.consume(Fe),pt):Hn(Fe)?(n.consume(Fe),Jn):fn(Fe)}function pt(Fe){return Fe===null||Fe===60||Fe===61||Fe===62||Fe===96?o(Fe):Fe===34||Fe===39?(n.consume(Fe),_=Fe,Tn):Hn(Fe)?(n.consume(Fe),pt):ua(Fe)}function Tn(Fe){return Fe===_?(n.consume(Fe),_=null,ia):Fe===null||T(Fe)?o(Fe):(n.consume(Fe),Tn)}function ua(Fe){return Fe===null||Fe===34||Fe===39||Fe===47||Fe===60||Fe===61||Fe===62||Fe===96||ma(Fe)?Jn(Fe):(n.consume(Fe),ua)}function ia(Fe){return Fe===47||Fe===62||Hn(Fe)?fn(Fe):o(Fe)}function ca(Fe){return Fe===62?(n.consume(Fe),Ya):o(Fe)}function Ya(Fe){return Fe===null||T(Fe)?oa(Fe):Hn(Fe)?(n.consume(Fe),Ya):o(Fe)}function oa(Fe){return Fe===45&&p===2?(n.consume(Fe),Pa):Fe===60&&p===1?(n.consume(Fe),Ua):Fe===62&&p===4?(n.consume(Fe),lr):Fe===63&&p===3?(n.consume(Fe),Ie):Fe===93&&p===5?(n.consume(Fe),nr):T(Fe)&&(p===6||p===7)?(n.exit("htmlFlowData"),n.check(Ha,vr,yn)(Fe)):Fe===null||T(Fe)?(n.exit("htmlFlowData"),yn(Fe)):(n.consume(Fe),oa)}function yn(Fe){return n.check(sr,_n,vr)(Fe)}function _n(Fe){return n.enter("lineEnding"),n.consume(Fe),n.exit("lineEnding"),Kn}function Kn(Fe){return Fe===null||T(Fe)?yn(Fe):(n.enter("htmlFlowData"),oa(Fe))}function Pa(Fe){return Fe===45?(n.consume(Fe),Ie):oa(Fe)}function Ua(Fe){return Fe===47?(n.consume(Fe),v="",tr):oa(Fe)}function tr(Fe){if(Fe===62){const ur=v.toLowerCase();return cr.includes(ur)?(n.consume(Fe),lr):oa(Fe)}return ta(Fe)&&v.length<8?(n.consume(Fe),v+=String.fromCharCode(Fe),tr):oa(Fe)}function nr(Fe){return Fe===93?(n.consume(Fe),Ie):oa(Fe)}function Ie(Fe){return Fe===62?(n.consume(Fe),lr):Fe===45&&p===2?(n.consume(Fe),Ie):oa(Fe)}function lr(Fe){return Fe===null||T(Fe)?(n.exit("htmlFlowData"),vr(Fe)):(n.consume(Fe),lr)}function vr(Fe){return n.exit("htmlFlow"),r(Fe)}}function Qn(n,r,o){const u=this;return p;function p(v){return T(v)?(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),g):o(v)}function g(v){return u.parser.lazy[u.now().line]?o(v):r(v)}}function Xa(n,r,o){return u;function u(p){return n.enter("lineEnding"),n.consume(p),n.exit("lineEnding"),n.attempt(Sn,r,o)}}const dr={partial:!0,tokenize:fa},Tr={concrete:!0,name:"codeFenced",tokenize:Hr};function Hr(n,r,o){const u=this,p={partial:!0,tokenize:Jn};let g=0,v=0,w;return _;function _(pt){return ue(pt)}function ue(pt){const Tn=u.events[u.events.length-1];return g=Tn&&Tn[1].type==="linePrefix"?Tn[2].sliceSerialize(Tn[1],!0).length:0,w=pt,n.enter("codeFenced"),n.enter("codeFencedFence"),n.enter("codeFencedFenceSequence"),X(pt)}function X(pt){return pt===w?(v++,n.consume(pt),X):v<3?o(pt):(n.exit("codeFencedFenceSequence"),Hn(pt)?Rn(n,he,"whitespace")(pt):he(pt))}function he(pt){return pt===null||T(pt)?(n.exit("codeFencedFence"),u.interrupt?r(pt):n.check(dr,rn,Sa)(pt)):(n.enter("codeFencedFenceInfo"),n.enter("chunkString",{contentType:"string"}),fe(pt))}function fe(pt){return pt===null||T(pt)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),he(pt)):Hn(pt)?(n.exit("chunkString"),n.exit("codeFencedFenceInfo"),Rn(n,le,"whitespace")(pt)):pt===96&&pt===w?o(pt):(n.consume(pt),fe)}function le(pt){return pt===null||T(pt)?he(pt):(n.enter("codeFencedFenceMeta"),n.enter("chunkString",{contentType:"string"}),Zt(pt))}function Zt(pt){return pt===null||T(pt)?(n.exit("chunkString"),n.exit("codeFencedFenceMeta"),he(pt)):pt===96&&pt===w?o(pt):(n.consume(pt),Zt)}function rn(pt){return n.attempt(p,Sa,bn)(pt)}function bn(pt){return n.enter("lineEnding"),n.consume(pt),n.exit("lineEnding"),wt}function wt(pt){return g>0&&Hn(pt)?Rn(n,Ln,"linePrefix",g+1)(pt):Ln(pt)}function Ln(pt){return pt===null||T(pt)?n.check(dr,rn,Sa)(pt):(n.enter("codeFlowValue"),fn(pt))}function fn(pt){return pt===null||T(pt)?(n.exit("codeFlowValue"),Ln(pt)):(n.consume(pt),fn)}function Sa(pt){return n.exit("codeFenced"),r(pt)}function Jn(pt,Tn,ua){let ia=0;return ca;function ca(Kn){return pt.enter("lineEnding"),pt.consume(Kn),pt.exit("lineEnding"),Ya}function Ya(Kn){return pt.enter("codeFencedFence"),Hn(Kn)?Rn(pt,oa,"linePrefix",u.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Kn):oa(Kn)}function oa(Kn){return Kn===w?(pt.enter("codeFencedFenceSequence"),yn(Kn)):ua(Kn)}function yn(Kn){return Kn===w?(ia++,pt.consume(Kn),yn):ia>=v?(pt.exit("codeFencedFenceSequence"),Hn(Kn)?Rn(pt,_n,"whitespace")(Kn):_n(Kn)):ua(Kn)}function _n(Kn){return Kn===null||T(Kn)?(pt.exit("codeFencedFence"),Tn(Kn)):ua(Kn)}}}function fa(n,r,o){const u=this;return p;function p(v){return v===null?o(v):(n.enter("lineEnding"),n.consume(v),n.exit("lineEnding"),g)}function g(v){return u.parser.lazy[u.now().line]?o(v):r(v)}}const Ei=document.createElement("i");function pi(n){const r="&"+n+";";Ei.innerHTML=r;const o=Ei.textContent;return o.charCodeAt(o.length-1)===59&&n!=="semi"||o===r?!1:o}const Mn={name:"characterReference",tokenize:Ja};function Ja(n,r,o){const u=this;let p=0,g,v;return w;function w(he){return n.enter("characterReference"),n.enter("characterReferenceMarker"),n.consume(he),n.exit("characterReferenceMarker"),_}function _(he){return he===35?(n.enter("characterReferenceMarkerNumeric"),n.consume(he),n.exit("characterReferenceMarkerNumeric"),ue):(n.enter("characterReferenceValue"),g=31,v=Gn,X(he))}function ue(he){return he===88||he===120?(n.enter("characterReferenceMarkerHexadecimal"),n.consume(he),n.exit("characterReferenceMarkerHexadecimal"),n.enter("characterReferenceValue"),g=6,v=na,X):(n.enter("characterReferenceValue"),g=7,v=Fa,X(he))}function X(he){if(he===59&&p){const fe=n.exit("characterReferenceValue");return v===Gn&&!pi(u.sliceSerialize(fe))?o(he):(n.enter("characterReferenceMarker"),n.consume(he),n.exit("characterReferenceMarker"),n.exit("characterReference"),r)}return v(he)&&p++1&&n[o][1].end.offset-n[o][1].start.offset>1?2:1;const he=Ia({},n[u][1].end),fe=Ia({},n[o][1].start);Er(he,-_),Er(fe,_),v={type:_>1?"strongSequence":"emphasisSequence",start:he,end:Ia({},n[u][1].end)},w={type:_>1?"strongSequence":"emphasisSequence",start:Ia({},n[o][1].start),end:fe},g={type:_>1?"strongText":"emphasisText",start:Ia({},n[u][1].end),end:Ia({},n[o][1].start)},p={type:_>1?"strong":"emphasis",start:Ia({},v.start),end:Ia({},w.end)},n[u][1].end=Ia({},v.start),n[o][1].start=Ia({},w.end),ue=[],n[u][1].end.offset-n[u][1].start.offset&&(ue=pn(ue,[["enter",n[u][1],r],["exit",n[u][1],r]])),ue=pn(ue,[["enter",p,r],["enter",v,r],["exit",v,r],["enter",g,r]]),ue=pn(ue,jr(r.parser.constructs.insideSpan.null,n.slice(u+1,o),r)),ue=pn(ue,[["exit",g,r],["enter",w,r],["exit",w,r],["exit",p,r]]),n[o][1].end.offset-n[o][1].start.offset?(X=2,ue=pn(ue,[["enter",n[o][1],r],["exit",n[o][1],r]])):X=0,$t(n,u-1,o-u+3,ue),o=u+ue.length-X-2;break}}for(o=-1;++o-1){const w=v[0];typeof w=="string"?v[0]=w.slice(u):v.shift()}g>0&&v.push(n[p].slice(0,g))}return v}function jo(n,r){let o=-1;const u=[];let p;for(;++o13&&o<32||o>126&&o<160||o>55295&&o<57344||o>64975&&o<65008||(o&65535)===65535||(o&65535)===65534||o>1114111?"\uFFFD":String.fromCodePoint(o)}const or=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Wr(n){return n.replace(or,Zo)}function Zo(n,r,o){if(r)return r;if(o.charCodeAt(0)===35){const p=o.charCodeAt(1),g=p===120||p===88;return Za(o.slice(g?2:1),g?16:10)}return pi(o)||n}const so={}.hasOwnProperty;function Yo(n,r,o){return typeof r!="string"&&(o=r,r=void 0),Qo(o)(pa(lo(o).document().write(Vo()(n,r,!0))))}function Qo(n){const r={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:g(kr),autolinkProtocol:ia,autolinkEmail:ia,atxHeading:g(gr),blockQuote:g(zr),characterEscape:ia,characterReference:ia,codeFenced:g(ka),codeFencedFenceInfo:v,codeFencedFenceMeta:v,codeIndented:g(ka,v),codeText:g(Or,v),codeTextData:ia,data:ia,codeFlowValue:ia,definition:g(ii),definitionDestinationString:v,definitionLabelString:v,definitionTitleString:v,emphasis:g($r),hardBreakEscape:g(Br),hardBreakTrailing:g(Br),htmlFlow:g(Wa,v),htmlFlowData:ia,htmlText:g(Wa,v),htmlTextData:ia,image:g(to),label:v,link:g(kr),listItem:g(ki),listItemValue:fe,listOrdered:g(wr,he),listUnordered:g(wr),paragraph:g(Ul),reference:Fe,referenceString:v,resourceDestinationString:v,resourceTitleString:v,setextHeading:g(gr),strong:g(zl),thematicBreak:g(Li)},exit:{atxHeading:_(),atxHeadingSequence:Jn,autolink:_(),autolinkEmail:Fr,autolinkProtocol:ar,blockQuote:_(),characterEscapeValue:ca,characterReferenceMarkerHexadecimal:yr,characterReferenceMarkerNumeric:yr,characterReferenceValue:Ur,characterReference:_r,codeFenced:_(bn),codeFencedFence:rn,codeFencedFenceInfo:le,codeFencedFenceMeta:Zt,codeFlowValue:ca,codeIndented:_(wt),codeText:_(Kn),codeTextData:ca,data:ca,definition:_(),definitionDestinationString:Sa,definitionLabelString:Ln,definitionTitleString:fn,emphasis:_(),hardBreakEscape:_(oa),hardBreakTrailing:_(oa),htmlFlow:_(yn),htmlFlowData:ca,htmlText:_(_n),htmlTextData:ca,image:_(Ua),label:nr,labelText:tr,lineEnding:Ya,link:_(Pa),listItem:_(),listOrdered:_(),listUnordered:_(),paragraph:_(),referenceString:ur,resourceDestinationString:Ie,resourceTitleString:lr,resource:vr,setextHeading:_(ua),setextHeadingLineSequence:Tn,setextHeadingText:pt,strong:_(),thematicBreak:_()}};uo(r,(n||{}).mdastExtensions||[]);const o={};return u;function u(mt){let sn={type:"root",children:[]};const $n={stack:[sn],tokenStack:[],config:r,enter:w,exit:ue,buffer:v,resume:X,data:o},da=[];let Ba=-1;for(;++Ba0){const fr=$n.tokenStack[$n.tokenStack.length-1];(fr[1]||co).call($n,void 0,fr[0])}for(sn.position={start:Kr(mt.length>0?mt[0][1].start:{line:1,column:1,offset:0}),end:Kr(mt.length>0?mt[mt.length-2][1].end:{line:1,column:1,offset:0})},Ba=-1;++Ba{const o=(p,g)=>(n.set(g,p),p),u=p=>{if(n.has(p))return n.get(p);const[g,v]=r[p];switch(g){case Oa:case Yi:return o(v,p);case ai:{const w=o([],p);for(const _ of v)w.push(u(_));return w}case Si:{const w=o({},p);for(const[_,ue]of v)w[u(_)]=u(ue);return w}case Qi:return o(new Date(v),p);case Ki:{const{source:w,flags:_}=v;return o(new RegExp(w,_),p)}case Ji:{const w=o(new Map,p);for(const[_,ue]of v)w.set(u(_),u(ue));return w}case Xi:{const w=o(new Set,p);for(const _ of v)w.add(u(_));return w}case mo:{const{name:w,message:_}=v;return o(new Ii[w](_),p)}case go:return o(BigInt(v),p);case"BigInt":return o(Object(BigInt(v)),p);case"ArrayBuffer":return o(new Uint8Array(v).buffer,v);case"DataView":{const{buffer:w}=new Uint8Array(v);return o(new DataView(w),v)}}return o(new Ii[g](v),p)};return u},xi=n=>Ko(new Map,n)(0),mi="",{toString:Wl}={},{keys:Fi}=Object,si=n=>{const r=typeof n;if(r!=="object"||!n)return[Oa,r];const o=Wl.call(n).slice(8,-1);switch(o){case"Array":return[ai,mi];case"Object":return[Si,mi];case"Date":return[Qi,mi];case"RegExp":return[Ki,mi];case"Map":return[Ji,mi];case"Set":return[Xi,mi];case"DataView":return[ai,o]}return o.includes("Array")?[ai,o]:o.includes("Error")?[mo,o]:[Si,o]},Bi=([n,r])=>n===Oa&&(r==="function"||r==="symbol"),fo=(n,r,o,u)=>{const p=(v,w)=>{const _=u.push(v)-1;return o.set(w,_),_},g=v=>{if(o.has(v))return o.get(v);let[w,_]=si(v);switch(w){case Oa:{let X=v;switch(_){case"bigint":w=go,X=v.toString();break;case"function":case"symbol":if(n)throw new TypeError("unable to serialize "+_);X=null;break;case"undefined":return p([Yi],v)}return p([w,X],v)}case ai:{if(_){let fe=v;return _==="DataView"?fe=new Uint8Array(v.buffer):_==="ArrayBuffer"&&(fe=new Uint8Array(v)),p([_,[...fe]],v)}const X=[],he=p([w,X],v);for(const fe of v)X.push(g(fe));return he}case Si:{if(_)switch(_){case"BigInt":return p([_,v.toString()],v);case"Boolean":case"Number":case"String":return p([_,v.valueOf()],v)}if(r&&"toJSON"in v)return g(v.toJSON());const X=[],he=p([w,X],v);for(const fe of Fi(v))(n||!Bi(si(v[fe])))&&X.push([g(fe),g(v[fe])]);return he}case Qi:return p([w,v.toISOString()],v);case Ki:{const{source:X,flags:he}=v;return p([w,{source:X,flags:he}],v)}case Ji:{const X=[],he=p([w,X],v);for(const[fe,le]of v)(n||!(Bi(si(fe))||Bi(si(le))))&&X.push([g(fe),g(le)]);return he}case Xi:{const X=[],he=p([w,X],v);for(const fe of v)(n||!Bi(si(fe)))&&X.push(g(fe));return he}}const{message:ue}=v;return p([w,{name:_,message:ue}],v)};return g},Eo=(n,{json:r,lossy:o}={})=>{const u=[];return fo(!(r||o),!!r,new Map,u)(n),u};var wi=typeof structuredClone=="function"?(n,r)=>r&&("json"in r||"lossy"in r)?xi(Eo(n,r)):structuredClone(n):(n,r)=>xi(Eo(n,r));function Jo(n,r){const o=encode(Jr(n||""));if(!r)return o;const u=o.indexOf(":"),p=o.indexOf("?"),g=o.indexOf("#"),v=o.indexOf("/");return u<0||v>-1&&u>v||p>-1&&u>p||g>-1&&u>g||r.test(o.slice(0,u))?o:""}function Jr(n){const r=[];let o=-1,u=0,p=0;for(;++o55295&&g<57344){const w=n.charCodeAt(o+1);g<56320&&w>56319&&w<57344?(v=String.fromCharCode(g,w),p=1):v="\uFFFD"}else v=String.fromCharCode(g);v&&(r.push(n.slice(u,o),encodeURIComponent(v)),u=o+p+1,v=""),p&&(o+=p,p=0)}return r.join("")+n.slice(u)}function Vr(n,r){const o=[{type:"text",value:"\u21A9"}];return r>1&&o.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(r)}]}),o}function Ao(n,r){return"Back to reference "+(n+1)+(r>1?"-"+r:"")}function Xo(n){const r=typeof n.options.clobberPrefix=="string"?n.options.clobberPrefix:"user-content-",o=n.options.footnoteBackContent||Vr,u=n.options.footnoteBackLabel||Ao,p=n.options.footnoteLabel||"Footnotes",g=n.options.footnoteLabelTagName||"h2",v=n.options.footnoteLabelProperties||{className:["sr-only"]},w=[];let _=-1;for(;++_0&&Zt.push({type:"text",value:" "});let Ln=typeof o=="string"?o:o(_,le);typeof Ln=="string"&&(Ln={type:"text",value:Ln}),Zt.push({type:"element",tagName:"a",properties:{href:"#"+r+"fnref-"+fe+(le>1?"-"+le:""),dataFootnoteBackref:"",ariaLabel:typeof u=="string"?u:u(_,le),className:["data-footnote-backref"]},children:Array.isArray(Ln)?Ln:[Ln]})}const bn=X[X.length-1];if(bn&&bn.type==="element"&&bn.tagName==="p"){const Ln=bn.children[bn.children.length-1];Ln&&Ln.type==="text"?Ln.value+=" ":bn.children.push({type:"text",value:" "}),bn.children.push(...Zt)}else X.push(...Zt);const wt={type:"element",tagName:"li",properties:{id:r+"fn-"+fe},children:n.wrap(X,!0)};n.patch(ue,wt),w.push(wt)}if(w.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:g,properties:Hl(Ia({},wi(v)),{id:"footnote-label"}),children:[{type:"text",value:p}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:n.wrap(w,!0)},{type:"text",value:`
@@ -51,5 +51,5 @@
`,b="/",h="*",A="",S="comment",O="declaration";c.exports=function(N,D){if(typeof N!="string")throw new TypeError("First argument must be a string");if(!N)return[];D=D||{};var Z=1,H=1;function U(M){var k=M.match(t);k&&(Z+=k.length);var Be=M.lastIndexOf(f);H=~Be?M.length-Be:H+M.length}function C(){var M={line:Z,column:H};return function(k){return k.position=new j(M),F(),k}}function j(M){this.start=M,this.end={line:Z,column:H},this.source=D.source}j.prototype.content=N;var P=[];function W(M){var k=new Error(D.source+":"+Z+":"+H+": "+M);if(k.reason=M,k.filename=D.source,k.line=Z,k.column=H,k.source=N,D.silent)P.push(k);else throw k}function B(M){var k=M.exec(N);if(k){var Be=k[0];return U(Be),N=N.slice(Be.length),k}}function F(){B(e)}function z(M){var k;for(M=M||[];k=re();)k!==!1&&M.push(k);return M}function re(){var M=C();if(!(b!=N.charAt(0)||h!=N.charAt(1))){for(var k=2;A!=N.charAt(k)&&(h!=N.charAt(k)||b!=N.charAt(k+1));)++k;if(k+=2,A===N.charAt(k-1))return W("End of comment missing");var Be=N.slice(2,k-2);return H+=2,U(Be),N=N.slice(k),H+=2,M({type:S,comment:Be})}}function Ce(){var M=C(),k=B(i);if(k){if(re(),!B(l))return W("property missing ':'");var Be=B(s),ye=M({type:O,property:V(k[0].replace(a,A)),value:Be?V(Be[0].replace(a,A)):A});return B(d),ye}}function de(){var M=[];z(M);for(var k;k=Ce();)k!==!1&&(M.push(k),z(M));return M}return F(),de()};function V(N){return N?N.replace(E,A):A}},91241:function(c){"use strict";c.exports=a;function a(t){var e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=122||e>=65&&e<=90}},21127:function(c,a,t){"use strict";var e=t(91241),i=t(22347);c.exports=l;function l(s){return e(s)||i(s)}},22347:function(c){"use strict";c.exports=a;function a(t){var e=typeof t=="string"?t.charCodeAt(0):t;return e>=48&&e<=57}},65207:function(c){"use strict";c.exports=a;function a(t){var e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}},67842:function(c){"use strict";var a,t=59;c.exports=e;function e(i){var l="&"+i+";",s;return a=a||document.createElement("i"),a.innerHTML=l,s=a.textContent,s.charCodeAt(s.length-1)===t&&i!=="semi"||s===l?!1:s}},12256:function(c,a,t){"use strict";var e=t(47854),i=t(80501),l=t(22347),s=t(65207),d=t(21127),E=t(67842);c.exports=R;var f={}.hasOwnProperty,b=String.fromCharCode,h=Function.prototype,A={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},S=9,O=10,V=12,N=32,D=38,Z=59,H=60,U=61,C=35,j=88,P=120,W=65533,B="named",F="hexadecimal",z="decimal",re={};re[F]=16,re[z]=10;var Ce={};Ce[B]=d,Ce[z]=l,Ce[F]=s;var de=1,M=2,k=3,Be=4,ye=5,$=6,pe=7,K={};K[de]="Named character references must be terminated by a semicolon",K[M]="Numeric character references must be terminated by a semicolon",K[k]="Named character references cannot be empty",K[Be]="Numeric character references cannot be empty",K[ye]="Named character references must be known",K[$]="Numeric character references cannot be disallowed",K[pe]="Numeric character references cannot be outside the permissible Unicode range";function R(L,Ae){var Ee={},ie,xe;Ae||(Ae={});for(xe in A)ie=Ae[xe],Ee[xe]=ie==null?A[xe]:ie;return(Ee.position.indent||Ee.position.start)&&(Ee.indent=Ee.position.indent||[],Ee.position=Ee.position.start),J(L,Ee)}function J(L,Ae){var Ee=Ae.additional,ie=Ae.nonTerminated,xe=Ae.text,oe=Ae.reference,Ye=Ae.warning,qe=Ae.textContext,Ct=Ae.referenceContext,tt=Ae.warningContext,Ke=Ae.position,G=Ae.indent||[],Y=L.length,be=0,Ve=-1,Se=Ke.column||1,$e=Ke.line||1,ke="",it=[],ft,jt,st,St,Ze,ve,Ot,bt,gt,dn,Jt,nn,Et,xt,rt,Nt,Xe,we,Ne;for(typeof Ee=="string"&&(Ee=Ee.charCodeAt(0)),Nt=Tt(),bt=Ye?Ht:h,be--,Y++;++be65535&&(ve-=65536,dn+=b(ve>>>10|55296),ve=56320|ve&1023),ve=dn+b(ve))):xt!==B&&bt(Be,we)),ve?(Yt(),Nt=Tt(),be=Ne-1,Se+=Ne-Et+1,it.push(ve),Xe=Tt(),Xe.offset++,oe&&oe.call(Ct,ve,{start:Nt,end:Xe},L.slice(Et-1,Ne)),Nt=Xe):(St=L.slice(Et-1,Ne),ke+=St,Se+=St.length,be=Ne-1)}else Ze===10&&($e++,Ve++,Se=0),Ze===Ze?(ke+=b(Ze),Se++):Yt();return it.join("");function Tt(){return{line:$e,column:Se,offset:be+(Ke.offset||0)}}function Ht(Mt,Ut){var yt=Tt();yt.column+=Ut,yt.offset+=Ut,Ye.call(tt,K[Mt],yt,Mt)}function Yt(){ke&&(it.push(ke),xe&&xe.call(qe,ke,{start:Nt,end:Tt()}),ke="")}}function te(L){return L>=55296&&L<=57343||L>1114111}function I(L){return L>=1&&L<=8||L===11||L>=13&&L<=31||L>=127&&L<=159||L>=64976&&L<=65007||(L&65535)===65535||(L&65535)===65534}},68398:function(c,a,t){var e=typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{};var i=function(l){var s=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,d=0,E={},f={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function U(C){return C instanceof b?new b(C.type,U(C.content),C.alias):Array.isArray(C)?C.map(U):C.replace(/&/g,"&").replace(/"+W.content+""+W.tag+">"};function h(U,C,j,P){U.lastIndex=C;var W=U.exec(j);if(W&&P&&W[1]){var B=W[1].length;W.index+=B,W[0]=W[0].slice(B)}return W}function A(U,C,j,P,W,B){for(var F in j)if(!(!j.hasOwnProperty(F)||!j[F])){var z=j[F];z=Array.isArray(z)?z:[z];for(var re=0;re=B.reach);K+=pe.value.length,pe=pe.next){var R=pe.value;if(C.length>U.length)return;if(!(R instanceof b)){var J=1,te;if(k){if(te=h($,K,U,M),!te||te.index>=U.length)break;var Ee=te.index,I=te.index+te[0].length,L=K;for(L+=pe.value.length;Ee>=L;)pe=pe.next,L+=pe.value.length;if(L-=pe.value.length,K=L,pe.value instanceof b)continue;for(var Ae=pe;Ae!==C.tail&&(LB.reach&&(B.reach=Ye);var qe=pe.prev;xe&&(qe=O(C,qe,xe),K+=xe.length),V(C,qe,J);var Ct=new b(F,de?f.tokenize(ie,de):ie,Be,ie);if(pe=O(C,qe,Ct),oe&&O(C,pe,oe),J>1){var tt={cause:F+","+re,reach:Ye};A(U,C,j,pe.prev,K,tt),B&&tt.reach>B.reach&&(B.reach=tt.reach)}}}}}}function S(){var U={value:null,prev:null,next:null},C={value:null,prev:U,next:null};U.next=C,this.head=U,this.tail=C,this.length=0}function O(U,C,j){var P=C.next,W={value:j,prev:C,next:P};return C.next=W,P.prev=W,U.length++,W}function V(U,C,j){for(var P=C.next,W=0;W4&&D.slice(0,4)===s&&d.test(N)&&(N.charAt(4)==="-"?Z=h(N):N=A(N),H=i),new H(Z,N))}function h(V){var N=V.slice(5).replace(E,O);return s+N.charAt(0).toUpperCase()+N.slice(1)}function A(V){var N=V.slice(4);return E.test(N)?V:(N=N.replace(f,S),N.charAt(0)!=="-"&&(N="-"+N),s+N)}function S(V){return"-"+V.toLowerCase()}function O(V){return V.charAt(1).toUpperCase()}},18795:function(c,a,t){"use strict";var e=t(83576),i=t(8179),l=t(59780),s=t(68244),d=t(20019),E=t(38567);c.exports=e([l,i,s,d,E])},20019:function(c,a,t){"use strict";var e=t(70167),i=t(79318),l=e.booleanish,s=e.number,d=e.spaceSeparated;c.exports=i({transform:E,properties:{ariaActiveDescendant:null,ariaAtomic:l,ariaAutoComplete:null,ariaBusy:l,ariaChecked:l,ariaColCount:s,ariaColIndex:s,ariaColSpan:s,ariaControls:d,ariaCurrent:null,ariaDescribedBy:d,ariaDetails:null,ariaDisabled:l,ariaDropEffect:d,ariaErrorMessage:null,ariaExpanded:l,ariaFlowTo:d,ariaGrabbed:l,ariaHasPopup:null,ariaHidden:l,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:d,ariaLevel:s,ariaLive:null,ariaModal:l,ariaMultiLine:l,ariaMultiSelectable:l,ariaOrientation:null,ariaOwns:d,ariaPlaceholder:null,ariaPosInSet:s,ariaPressed:l,ariaReadOnly:l,ariaRelevant:null,ariaRequired:l,ariaRoleDescription:d,ariaRowCount:s,ariaRowIndex:s,ariaRowSpan:s,ariaSelected:l,ariaSetSize:s,ariaSort:null,ariaValueMax:s,ariaValueMin:s,ariaValueNow:s,ariaValueText:null,role:null}});function E(f,b){return b==="role"?b:"aria-"+b.slice(4).toLowerCase()}},38567:function(c,a,t){"use strict";var e=t(70167),i=t(79318),l=t(85804),s=e.boolean,d=e.overloadedBoolean,E=e.booleanish,f=e.number,b=e.spaceSeparated,h=e.commaSeparated;c.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:l,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:b,accessKey:b,action:null,allow:null,allowFullScreen:s,allowPaymentRequest:s,allowUserMedia:s,alt:null,as:null,async:s,autoCapitalize:null,autoComplete:b,autoFocus:s,autoPlay:s,capture:s,charSet:null,checked:s,cite:null,className:b,cols:f,colSpan:null,content:null,contentEditable:E,controls:s,controlsList:b,coords:f|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:s,defer:s,dir:null,dirName:null,disabled:s,download:d,draggable:E,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:s,formTarget:null,headers:b,height:f,hidden:s,high:f,href:null,hrefLang:null,htmlFor:b,httpEquiv:b,id:null,imageSizes:null,imageSrcSet:h,inputMode:null,integrity:null,is:null,isMap:s,itemId:null,itemProp:b,itemRef:b,itemScope:s,itemType:b,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:s,low:f,manifest:null,max:null,maxLength:f,media:null,method:null,min:null,minLength:f,multiple:s,muted:s,name:null,nonce:null,noModule:s,noValidate:s,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:s,optimum:f,pattern:null,ping:b,placeholder:null,playsInline:s,poster:null,preload:null,readOnly:s,referrerPolicy:null,rel:b,required:s,reversed:s,rows:f,rowSpan:f,sandbox:b,scope:null,scoped:s,seamless:s,selected:s,shape:null,size:f,sizes:null,slot:null,span:f,spellCheck:E,src:null,srcDoc:null,srcLang:null,srcSet:h,start:f,step:null,style:null,tabIndex:f,target:null,title:null,translate:null,type:null,typeMustMatch:s,useMap:null,value:E,width:f,wrap:null,align:null,aLink:null,archive:b,axis:null,background:null,bgColor:null,border:f,borderColor:null,bottomMargin:f,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:s,declare:s,event:null,face:null,frame:null,frameBorder:null,hSpace:f,leftMargin:f,link:null,longDesc:null,lowSrc:null,marginHeight:f,marginWidth:f,noResize:s,noHref:s,noShade:s,noWrap:s,object:null,profile:null,prompt:null,rev:null,rightMargin:f,rules:null,scheme:null,scrolling:E,standby:null,summary:null,text:null,topMargin:f,valueType:null,version:null,vAlign:null,vLink:null,vSpace:f,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:s,disableRemotePlayback:s,prefix:null,property:null,results:f,security:null,unselectable:null}})},85804:function(c,a,t){"use strict";var e=t(56432);c.exports=i;function i(l,s){return e(l,s.toLowerCase())}},56432:function(c){"use strict";c.exports=a;function a(t,e){return e in t?t[e]:e}},79318:function(c,a,t){"use strict";var e=t(47178),i=t(44347),l=t(19095);c.exports=s;function s(d){var E=d.space,f=d.mustUseProperty||[],b=d.attributes||{},h=d.properties,A=d.transform,S={},O={},V,N;for(V in h)N=new l(V,A(b,V),h[V],E),f.indexOf(V)!==-1&&(N.mustUseProperty=!0),S[V]=N,O[e(V)]=V,O[e(N.attribute)]=V;return new i(S,O,E)}},19095:function(c,a,t){"use strict";var e=t(1969),i=t(70167);c.exports=d,d.prototype=new e,d.prototype.defined=!0;var l=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],s=l.length;function d(f,b,h,A){var S=-1,O;for(E(this,"space",A),e.call(this,f,b);++S]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}},15465:function(c){"use strict";c.exports=a,a.displayName="abnf",a.aliases=[];function a(t){(function(e){var i="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+i+"|<"+i+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}},42746:function(c){"use strict";c.exports=a,a.displayName="actionscript",a.aliases=[];function a(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<|>>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}},93281:function(c){"use strict";c.exports=a,a.displayName="ada",a.aliases=[];function a(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}},95143:function(c){"use strict";c.exports=a,a.displayName="agda",a.aliases=[];function a(t){(function(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}},65924:function(c){"use strict";c.exports=a,a.displayName="al",a.aliases=[];function a(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}},65043:function(c){"use strict";c.exports=a,a.displayName="antlr4",a.aliases=["g4"];function a(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}},43556:function(c){"use strict";c.exports=a,a.displayName="apacheconf",a.aliases=[];function a(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}},14901:function(c,a,t){"use strict";var e=t(69435);c.exports=i,i.displayName="apex",i.aliases=[];function i(l){l.register(e),function(s){var d=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,E=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return d.source});function f(h){return RegExp(h.replace(//g,function(){return E}),"i")}var b={keyword:d,punctuation:/[()\[\]{};,:.<>]/};s.languages.apex={comment:s.languages.clike.comment,string:s.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:s.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:f(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:b},{pattern:f(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:b},{pattern:f(/(?=\s*\w+\s*[;=,(){:])/.source),inside:b}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:d,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(l)}},4248:function(c){"use strict";c.exports=a,a.displayName="apl",a.aliases=[];function a(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}},17758:function(c){"use strict";c.exports=a,a.displayName="applescript",a.aliases=[];function a(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}},33335:function(c){"use strict";c.exports=a,a.displayName="aql",a.aliases=[];function a(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}},17427:function(c,a,t){"use strict";var e=t(87071);c.exports=i,i.displayName="arduino",i.aliases=["ino"];function i(l){l.register(e),l.languages.arduino=l.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),l.languages.ino=l.languages.arduino}},22956:function(c){"use strict";c.exports=a,a.displayName="arff",a.aliases=[];function a(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}},56007:function(c){"use strict";c.exports=a,a.displayName="asciidoc",a.aliases=["adoc"];function a(t){(function(e){var i={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},l=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:i,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:i.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:i,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function s(d){d=d.split(" ");for(var E={},f=0,b=d.length;f>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}},84230:function(c,a,t){"use strict";var e=t(87648);c.exports=i,i.displayName="aspnet",i.aliases=[];function i(l){l.register(e),l.languages.aspnet=l.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:l.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:l.languages.csharp}}}),l.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,l.languages.insertBefore("inside","punctuation",{directive:l.languages.aspnet.directive},l.languages.aspnet.tag.inside["attr-value"]),l.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),l.languages.insertBefore("aspnet",l.languages.javascript?"script":"tag",{"asp-script":{pattern:/(
-
+