File: C:/Users/fred/.vscode/extensions/ms-python.vscode-pylance-2026.2.1/dist/extension.bundle.js
(()=>{var e,t,r,i,n,o={69338(e){function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=69338,e.exports=t},54861(e){function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54861,e.exports=t},32538(e,t,r){"use strict";let i,n,o,a,s,l,c,d,u,m,p,h,g,f,y,v,_,b,w,k,C,S,T,x,P,A,I,F,z;r.r(t),r.d(t,{activate:()=>ut,deactivate:()=>ur}),r(46914);var D,E,N,M,R,L,O,U,j,$,q,G,W,B,V,H,K,J,Q,X,Y,Z,ee,et,er,ei,en,eo,ea,es,el,ec,ed,eu,em,ep,eh,eg,ef,ey,ev,e_,eb,ew,ek,eC,eS,eT,ex,eP,eA,eI,eF,ez,eD,eE,eN,eM,eR,eL,eO,eU,ej,e$,eq,eG,eW,eB,eV,eH,eK,eJ,eQ,eX,eY,eZ,e0,e1,e2,e4,e3,e8,e6,e5,e9,e7,te,tt,tr,ti,tn,to,ta,ts,tl,tc,td,tu,tm,tp,th,tg,tf,ty,tv,t_,tb,tw,tk,tC,tS,tT,tx,tP,tA,tI,tF,tz,tD,tE,tN,tM,tR,tL,tO,tU,tj,t$,tq,tG,tW,tB,tV,tH,tK,tJ,tQ,tX,tY,tZ,t0,t1,t2,t4,t3,t8,t6,t5,t9,t7,re,rt,rr,ri,rn,ro,ra,rs,rl,rc,rd,ru,rm,rp,rh,rg,rf,ry,rv,r_,rb,rw,rk,rC,rS,rT,rx,rP,rA,rI,rF,rz,rD,rE,rN,rM,rR,rL,rO,rU,rj,r$,rq,rG,rW,rB,rV,rH,rK,rJ,rQ,rX,rY,rZ,r0,r1,r2,r4,r3,r8,r6,r5,r9,r7,ie,it,ir,ii,io,ia,is,il,ic,id,iu,im,ip,ih,ig,iy,iv,i_,ib,iw,ik,iC,iS,iT,ix,iP,iA,iI,iF,iz,iD,iE,iN,iM,iR,iL,iO,iU,ij,i$,iq,iG,iW,iB,iV,iH,iK,iJ,iQ,iX,iY,iZ,i0,i1,i2,i4,i3,i8,i6,i5,i9,i7,ne,nt,nr,ni,nn,no,na,ns,nl,nc,nd,nu,nm,np,nh,ng,nf,ny,nv,n_,nb,nw,nk,nC,nS,nT,nx,nP,nA,nI,nF,nz,nD,nE,nN,nM,nR,nL,nO,nU,nj,n$,nq,nG,nW,nB,nV,nH,nK,nJ,nQ=r(91398),nX=r(11508),nY=r(38749);let nZ="You may install and use any number of copies of the software only with Microsoft Visual Studio, Visual Studio for Mac, Visual Studio Code, Azure DevOps, Team Foundation Server, and successor Microsoft products and services (collectively, the “Visual Studio Products and Services”) to develop and test your applications. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. You may not: work around any technical limitations in the software that only allow you to use it in certain ways; reverse engineer, decompile or disassemble the software, or otherwise attempt to derive the source code for the software, except and to the extent required by third party licensing terms governing use of certain open source components that may be included in the software; remove, minimize, block, or modify any notices of Microsoft or its suppliers in the software; use the software in any way that is against the law or to create or propagate malware; or share, publish, distribute, or lease the software (except for any distributable code, subject to the terms above), provide the software as a stand-alone offering for others to use, or transfer the software or this agreement to any third party.",n0="SEE LICENSE.txt",n1=nY.scryptSync(nZ,n0,24),n2=Buffer.from(n0);function n4(e){let t=nY.createDecipheriv("aes-192-cbc",n1,n2);return t.update(e,"hex","utf8")+t.final("utf8")}let n3="ms-python.python",n8="ms-python.vscode-pylance",n6="github.copilot",n5="Pylance",n9="python.analysis",n7="logLevel",oe=n9+"."+n7;var ot=((D={}).PYTHON_EXPERIMENTS_INIT_PERFORMANCE="PYTHON_EXPERIMENTS_INIT_PERFORMANCE",D.PYTHON_EXPERIMENTS_LSP_NOTEBOOKS="PYTHON_EXPERIMENTS_LSP_NOTEBOOKS",D.PYTHON_EXPERIMENTS_OPT_IN_OPT_OUT_SETTINGS="PYTHON_EXPERIMENTS_OPT_IN_OPT_OUT_SETTINGS",D.LANGUAGE_SERVER_READY="LANGUAGE_SERVER.READY",D.LANGUAGE_SERVER_TELEMETRY="LANGUAGE_SERVER.EVENT",D.LANGUAGE_SERVER_REQUEST="LANGUAGE_SERVER.REQUEST",D.LANGUAGE_SERVER_STARTUP_FAILURE="LANGUAGE_SERVER.STARTUP_FAILURE",D.LANGUAGE_SERVER_INVALID_CLIENT="LANGUAGE_SERVER.INVALID_CLIENT",D.LANGUAGE_SERVER_CRASH="LANGUAGE_SERVER.CRASH",D),or=r(7309);function oi(e){os(or.$b.Log,e)}function on(e){os(or.$b.Info,e)}function oo(e){os(or.$b.Warn,e)}function oa(e){os(or.$b.Error,e)}function os(e,t){if(i)try{(0,or.Rm)(i,e,t)}catch{}}function ol(){if(!i)return;let e=nQ.workspace.getConfiguration(n9);i.level=(0,or.Iz)(e.get(n7))}class oc{log(e){this._output.appendLine(e)}info(e){this._output.appendLine(e)}warn(e){this._output.appendLine(e)}error(e){this._output.appendLine(e)}constructor(e){var t,r;r=void 0,(t="_output")in this?Object.defineProperty(this,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[t]=r,this._output=e}}var od=r(96353),ou=r(86609);(N=(E=rx||(rx={})).Requests||(E.Requests={})).GetCompletionContextItems="python/getCompletionContextItems",N.GetDocumentation="python/getDocumentation",N.CheckDocumentationStatus="python/checkDocumentationStatus",N.McpPort="python/mcpPort",N.PromptLanguageModel="python/promptLanguageModel",N.CheckLanguageModel="python/checkLanguageModel",N.CheckSubscriptionStatus="python/checkSubscriptionStatus",E.Notifications||(E.Notifications={}),E.sendRequest=function(e,t,r,i){return e.sendRequest(t,r,i)},E.sendNotification=function(e,t,r){e.sendNotification(t,r)},E.onRequest=function(e,t,r){return e.onRequest(t,r)},E.onNotification=function(e,t,r){return e.onNotification(t,r)};let om="gpt-4.1";var op=r(69216);let oh="2026.2.1",og=function(e){try{return new op.SemVer(e).patch>=100}catch(e){return!1}}(oh),of=-1!==oh.indexOf("-dev"),oy=-1!==oh.indexOf("-pr."),ov=!og&&!of&&!oy;var o_=r(94383),ob=r(52135),ow=r(86496);async function ok(e,t,r=50){if(e<0||e>65535)return;let i=e,n=Math.min(i+r,65535);for(;i<=n;){if((0,ow.Lj)(t),await function(e){return new Promise(t=>{let r=ob.createServer(),i=!1,n=e=>{i||(i=!0,t(e))};r.once("error",e=>{n(!1)}),r.once("listening",()=>{r.close(()=>{n(!0)})});let o=setTimeout(()=>{r.close(),n(!1)},1e3);r.once("close",()=>{clearTimeout(o)});try{r.listen(e,"localhost")}catch(e){clearTimeout(o),n(!1)}})}(i))return i;i++}}async function oC(e=1024,t=65535,r,i=50){if(e<0||t>65535||e>t)return;let n=Math.max(1024,e),o=Math.floor(Math.random()*(Math.min(65535,t)-n+1)+n);return await ok(o,r,i)}async function oS(e,t=50){let[r,i]=function(){if("linux"===process.platform){try{let e=o_.readFileSync("/proc/sys/net/ipv4/ip_local_port_range","utf8").trim().split(/\s+/);if(2===e.length){let t=parseInt(e[0],10),r=parseInt(e[1],10);if(!isNaN(t)&&!isNaN(r)&&t>0&&r<=65535&&t<r)return[t,r]}}catch{}return[32768,60999]}return[49152,65534]}();return await oC(r,i,e,t)}function oT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ox{get isReady(){return this._copilotBundleReady&&void 0!==this._client&&this._client.isRunning()}get client(){return this._client}set client(e){var t;this.removeDisposable(this._clientStateDisposable),null==(t=this._clientStateDisposable)||t.dispose(),this._clientStateDisposable=void 0,e&&(this._clientStateDisposable=e.onDidChangeState(e=>{e.newState===od.State.Running&&e.oldState!==od.State.Running&&this.fireMcpStateChanged()}),this.addDisposable(this._clientStateDisposable)),this._client=e}get onDidChangeServerStatus(){return this._didChangeEmitter.event}fireMcpStateChanged(){this._didChangeEmitter.fire()}addDisposable(e){this._disposables.push(e)}removeDisposable(e){void 0!==e&&(0,ou.FD)(this._disposables,t=>t===e)}setCopilotReady(){this._copilotBundleReady=!0,this._didChangeEmitter.fire()}dispose(){this._disposables.forEach(e=>e.dispose())}constructor(){oT(this,"_disposables",[]),oT(this,"_didChangeEmitter",new nQ.EventEmitter),oT(this,"_client",void 0),oT(this,"_clientStateDisposable",void 0),oT(this,"_copilotBundleReady",!1),this._disposables.push(this._didChangeEmitter)}}var oP=r(56429);(R=(M=rP||(rP={})).TestSignalKinds||(M.TestSignalKinds={})).Initialization="initialization",R.DidOpenDocument="didopendocument",R.DidChangeDocument="didchangedocument",R.DidOpenNotebookDocument="didopennotebookdocument",R.DidChangeNotebookDocument="didchangenotebookdocument",R.IndexingStarted="indexingstarted",R.IndexingDone="indexingdone",R.WorkspaceIndexingDone="workspaceindexingdone",R.PthPathUpdate="pthpathupdate",R.ChildProcessStarted="childprocessstarted",R.ReanalysisRequested="reanalysisrequested",R.DiagnosticsDone="diagnosticsdone",R.PackageDiscoveryDone="packagediscoverydone",R.SourceEnumerationDone="sourceenumerationdone",R.WorkspaceDiagnosticsRefresh="workspacediagnosticsrefresh",R.IndicesReset="indicesreset",(L=M.Requests||(M.Requests={})).InExperiment="python/inExperiment",L.GetExperimentValue="python/getExperimentValue",L.IsTrustedWorkspace="python/isTrustedWorkspace",L.JupyterReferences="python/jupyterReferences",L.JupyterDocumentSymbols="python/jupyterDocumentSymbols",L.ApplyCursorMovingEdit="python/applyCursorMovingEdit",L.ClientShowMessage="python/clientShowMessage",L.GetConfigInfo="python/getConfigInfo",L.PythonEnvExtensionInstalled="python/pythonEnvExtensionInstalled",L.GetPythonEnvironments="python/getPythonEnvironments",L.UpdatePythonEnvironment="python/updatePythonEnvironment",L.AnalyzeFile="test/analyzeFile",L.GetWorkspaceConfig="test/getWorkspaceConfig",L.GetWorkspaceSettings="test/getWorkspaceSettings",L.GetWorkspaceKinds="test/getWorkspaceKinds",L.GetWorkspaceInfos="test/getWorkspaceInfos",L.GetNotebookData="test/getNotebookData",L.GetUserFiles="test/getUserFiles",L.GetOpenFiles="test/getOpenFiles",L.GetKnownFiles="test/getKnownFiles",L.GetWorkspaceInfo="test/getWorkspaceInfo",L.GetFileContent="test/getFileContent",L.GetWorkspaceFileContent="test/getWorkspaceFileContent",L.RunIndexer="test/runIndexer",L.AnalyzeWorkspace="test/analyzeWorkspace",L.GetDiagnostics="test/getDiagnostics",L.GetUserIndices="test/getUserIndices",L.Wait="test/wait",L.TestWriteFile="test/writeFile",L.StartProfiling="pylance/startProfiling",L.StopProfiling="pylance/stopProfiling",L.UpdateSetting="pylance/updateSetting",L.LoadBundle="pylance/loadBundle",(M.SyncRequests||(M.SyncRequests={})).IsTrustedWorkspace="python/isTrustedWorkspaceSync",(O=M.Notifications||(M.Notifications={})).SetStatusBarMessage="python/setStatusBarMessage",O.BeginProgress="python/beginProgress",O.ReportProgress="python/reportProgress",O.EndProgress="python/endProgress",O.PyrightBeginProgress="pyright/beginProgress",O.PyrightReportProgress="pyright/reportProgress",O.PyrightEndProgress="pyright/endProgress",O.WorkspaceTrusted="python/workspaceTrusted",O.ConfigOptionsChanged="python/configOptionsChanged",O.AskForWait="test/askForWait",O.TestSignal="test/signal",O.DidChangeConfiguration="workspace/didChangeConfiguration",O.DidChangeNotebookDocument="notebookDocument/didChange",O.DidChangeNotebookKernel="notebookDocument/didChangeKernel",O.CacheDirCreate="python/cacheDirCreate",O.CacheFileWrite="python/cacheFileWrite",O.TestAddFile="test/addFile",O.TestStartServer="test/startServer",O.TestStartServerResponse="test/startServerResponse",O.TestLog="test/logMessage",O.TestPassExtraMessagePort="test/passExtraMessagePort",O.ExecuteCommand="pylance/executeCommand",O.AddOrUpdateDistUrl="pylance/addOrUpdateDistUrl",O.RemoveDistUrl="pylance/removeDistUrl",O.PthPathsUpdated="python/pthPathsUpdated",O.Recommendation="pylance/recommendation",O.RegisterNotebookStartupCommands="pylance/registerNotebookStartupCommands",M.sendRequest=function(e,t,r,i){return e.sendRequest(t,r,i)},M.sendNotification=function(e,t,r){e.sendNotification(t,r)},M.onRequest=function(e,t,r){return e.onRequest(t,r)},M.onNotification=function(e,t,r){return e.onNotification(t,r)};var oA=r(72777);let oI=r(18721),oF=r(52420),oz=r(76463),oD=new Map([["cs",oI],["de",oF],["en-us",oz],["en",oz],["es",r(32535)],["fr",r(47011)],["it",r(94814)],["ja",r(29150)],["ko",r(14997)],["pl",r(42235)],["pt-br",r(6842)],["qps-ploc",r(39452)],["ru",r(53802)],["tr",r(49381)],["zh-cn",r(70417)],["zh-tw",r(41101)]]),oE={},oN=function(e){let t;void 0===h&&(oE=oD.get("en-us")||(console.error("Could not load default strings"),{}),t=(0,oA.Mx)(),h=(0,oA.w8)(t,oD));let r=e.split(".");return(0,oA.cv)(h,r)||(0,oA.cv)(oE,r)||oM(e)},oM=(0,oA.ED)(oN);function oR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}(j=(U=rA||(rA={})).Pytest||(U.Pytest={})).fixtureNotFound=()=>new oA.X4(oN("Pytest.fixtureNotFound")),j.addTypeAnnnotation=()=>new oA.X4(oN("Pytest.addTypeAnnotation")),j.addTypeAnnnotations=()=>oN("Pytest.addTypeAnnotations"),($=U.Refactoring||(U.Refactoring={})).moveFile=()=>new oA.X4(oN("Refactoring.moveFile")),$.moveFileLabel=()=>new oA.X4(oN("Refactoring.moveFileLabel")),$.moveFileDescription=()=>new oA.X4(oN("Refactoring.moveFileDescription")),$.moveFileNotUserFile=()=>new oA.X4(oN("Refactoring.moveFileNotUserFile")),$.moveFilePrivateSymbol=()=>new oA.X4(oN("Refactoring.moveFilePrivateSymbol")),$.moveFileImportableOnly=()=>oN("Refactoring.moveFileImportableOnly"),$.moveFileUnsupportedSymbol=()=>oN("Refactoring.moveFileUnsupportedSymbol"),$.moveFileMultipleDeclarations=()=>oN("Refactoring.moveFileMultipleDeclarations"),$.moveFileSimpleAssignmentsOnly=()=>oN("Refactoring.moveFileSimpleAssignmentsOnly"),$.moveFileExtensionMismatch=()=>new oA.X4(oN("Refactoring.moveFileExtensionMismatch")),$.moveFileMissingInfo=()=>new oA.X4(oN("Refactoring.moveFileMissingInfo")),$.moveFileSameFile=()=>oN("Refactoring.moveFileSameFile"),$.moveFileSymbolNotFound=()=>new oA.X4(oN("Refactoring.moveFileSymbolNotFound")),$.moveFileAbsentSymbol=()=>oN("Refactoring.moveFileAbsentSymbol"),$.moveFileInsertLocation=()=>new oA.X4(oN("Refactoring.moveFileInsertLocation")),$.moveFileInvalidModuleName=()=>new oA.X4(oN("Refactoring.moveFileInvalidModuleName")),(G=(q=U.CodeAction||(U.CodeAction={})).MoveSymbol||(q.MoveSymbol={})).commandTitle=()=>oN("CodeAction.MoveSymbol.commandTitle"),G.moveSymbolFailed=()=>oN("CodeAction.MoveSymbol.moveSymbolFailed"),G.moveSymbolsTo=()=>oN("CodeAction.MoveSymbol.moveSymbolsTo"),G.moveSymbolsToNewFile=()=>oN("CodeAction.MoveSymbol.moveSymbolsToNewFile"),(W=q.Extract||(q.Extract={})).method=()=>oN("CodeAction.Extract.method"),W.variable=()=>oN("CodeAction.Extract.variable"),(B=q.RemoveUnusedImport||(q.RemoveUnusedImport={})).removeUnusedImport=()=>oN("CodeAction.RemoveUnusedImport.removeUnusedImport"),B.removeAllUnusedImports=()=>oN("CodeAction.RemoveUnusedImport.removeAllUnusedImports"),(V=q.ToggleImportPath||(q.ToggleImportPath={})).convertToRelativePath=()=>oN("CodeAction.ToggleImportPath.convertToRelativePath"),V.convertAllToRelativePath=()=>oN("CodeAction.ToggleImportPath.convertAllToRelativePath"),V.convertToAbsolutePath=()=>oN("CodeAction.ToggleImportPath.convertToAbsolutePath"),V.convertAllToAbsolutePath=()=>oN("CodeAction.ToggleImportPath.convertAllToAbsolutePath"),V.convertAllFormat=()=>oN("CodeAction.ToggleImportPath.convertAllFormat"),(q.ExtraPath||(q.ExtraPath={})).addExtraPath=()=>new oA.X4(oN("CodeAction.ExtraPath.addExtraPath")),(q.AddTypeIgnore||(q.AddTypeIgnore={})).title=()=>new oA.X4(oN("CodeAction.AddTypeIgnore.title")),(H=q.AutoImport||(q.AutoImport={})).addAutoImport=()=>new oA.X4(oN("CodeAction.AutoImport.addAutoImport")),H.searchImport=()=>oN("CodeAction.AutoImport.searchImport"),(q.ChangeSpelling||(q.ChangeSpelling={})).changeSpellingTo=()=>new oA.X4(oN("CodeAction.ChangeSpelling.changeSpellingTo")),(q.FixAll||(q.FixAll={})).runFixAll=()=>oN("CodeAction.FixAll.runFixAll"),(K=q.UnresolvedImports||(q.UnresolvedImports={})).selectInterpreterTitle=()=>oN("CodeAction.UnresolvedImports.selectInterpreterTitle"),K.selectKernelTitle=()=>oN("CodeAction.UnresolvedImports.selectKernelTitle"),K.learnMoreTitle=()=>oN("CodeAction.UnresolvedImports.learnMoreTitle"),K.troubleshootMissingImports=()=>oN("CodeAction.UnresolvedImports.troubleshootMissingImports"),(J=q.ImplementAbstractClass||(q.ImplementAbstractClass={})).implementAllAbstractClasses=()=>oN("CodeAction.ImplementAbstractClass.implementAllAbstractClasses"),J.implementAllAbstractClassesWithCopilot=()=>oN("Copilot.implementAllInheritedAbstractClasseswithCopilot"),(q.InheritDecorators||(q.InheritDecorators={})).inheritAllDecorators=()=>oN("CodeAction.InheritDecorators.inheritAllDecorators"),(Q=q.GenerateDocstring||(q.GenerateDocstring={})).generateDocstring=()=>oN("DocstringTemplate.generateDocstring"),Q.generateDocstringWithCopilot=()=>oN("Copilot.generateDocstringWithCopilot"),(X=q.GenerateSymbol||(q.GenerateSymbol={})).generateClass=()=>new oA.X4(oN("CodeAction.GenerateSymbol.generateClass")),X.generateFunction=()=>new oA.X4(oN("CodeAction.GenerateSymbol.generateFunction")),X.generateMember=()=>new oA.X4(oN("CodeAction.GenerateSymbol.generateMember")),(q.ConvertLambdaToNamedFunction||(q.ConvertLambdaToNamedFunction={})).title=()=>oN("CodeAction.ConvertLambdaToNamedFunction.title"),(Y=q.ConvertFormatString||(q.ConvertFormatString={})).convertToFString=()=>oN("CodeAction.ConvertFormatString.convertToFString"),Y.convertToFormat=()=>oN("CodeAction.ConvertFormatString.convertToFormat"),(Z=q.ConvertImportStar||(q.ConvertImportStar={})).convertToExplicitImports=()=>oN("CodeAction.ConvertImportStar.convertToExplicitImports"),Z.convertAllToExplicitImports=()=>oN("CodeAction.ConvertImportStar.convertAllToExplicitImports"),(ee=q.ConvertImportToModule||(q.ConvertImportToModule={})).convertToModuleImport=()=>oN("CodeAction.ConvertImportToModule.convertToModuleImport"),ee.convertAllToModuleImport=()=>oN("CodeAction.ConvertImportToModule.convertAllToModuleImport"),(et=q.RenameShadowedStdlib||(q.RenameShadowedStdlib={})).renameModule=()=>new oA.X4(oN("CodeAction.RenameShadowedStdlib.renameModule")),et.renameShadowedImports=()=>oN("CodeAction.RenameShadowedStdlib.renameShadowedImports"),(er=q.AddTypeAnnotation||(q.AddTypeAnnotation={})).addTypeAnnotation=()=>oN("CodeAction.AddTypeAnnotation.addTypeAnnotation"),er.addAllTypeAnnotations=()=>oN("CodeAction.AddTypeAnnotation.addAllTypeAnnotations"),(q.DiagnosticRefactor||(q.DiagnosticRefactor={})).fixformattedString=()=>new oA.X4(oN("CodeAction.DiagnosticRefactor.fixformattedString")),(U.Diagnostic||(U.Diagnostic={})).importResolveRedirect=()=>new oA.X4(oN("Diagnostic.importResolveRedirect")),(ei=U.Messages||(U.Messages={})).defaultPythonEnvironmentName=()=>oN("Messages.defaultPythonEnvironmentName"),ei.windowsStoreEnvironmentName=()=>oN("Messages.windowsStoreEnvironmentName"),ei.globalEnvironmentName=()=>oN("Messages.globalEnvironmentName"),ei.singularFileAndSingularCellToAnalyze=()=>oN("Messages.singularFileAndSingularCellToAnalyze"),ei.singularFileAndPluralCellsToAnalyze=()=>new oA.X4(oN("Messages.singularFileAndPluralCellsToAnalyze")),ei.pluralFilesAndSingularCellToAnalyze=()=>new oA.X4(oN("Messages.pluralFilesAndSingularCellToAnalyze")),ei.pluralFilesAndPluralCellsToAnalyze=()=>new oA.X4(oN("Messages.pluralFilesAndPluralCellsToAnalyze")),((en=U.Commands||(U.Commands={})).ProfilingCommand||(en.ProfilingCommand={})).profilingDataSaved=()=>new oA.X4(oN("Commands.ProfilingCommand.profilingDataSaved")),(en.LoggingCommand||(en.LoggingCommand={})).loggingDataSaved=()=>new oA.X4(oN("Commands.LoggingCommand.loggingDataSaved")),en.gotoOutputCommand=()=>oN("Commands.gotoOutputCommand"),(eo=U.PerformanceTracking||(U.PerformanceTracking={})).title=()=>oN("PerformanceTracking.title"),eo.button=()=>oN("PerformanceTracking.button"),(ea=U.DocstringTemplate||(U.DocstringTemplate={})).docstringForName=()=>new oA.X4(oN("DocstringTemplate.docstringForName")),ea.description=()=>oN("DocstringTemplate.description"),ea.generateDocstring=()=>oN("DocstringTemplate.generateDocstring"),(es=U.LargeLog||(U.LargeLog={})).copyToClipboard=()=>oN("LargeLog.copyToClipboard"),es.userConsent=()=>new oA.X4(oN("LargeLog.userConsent")),es.openLink=()=>oN("LargeLog.openLink"),es.yes=()=>oN("LargeLog.yes"),es.no=()=>oN("LargeLog.no"),(el=U.documentation||(U.documentation={})).copilotSummary=()=>oN("Copilot.documentation.copilotSummary"),el.tooltip=()=>oN("Copilot.documentation.tooltip"),el.get=()=>oN("Copilot.documentation.get"),el.notAvailable=()=>oN("Copilot.documentation.notAvailable"),el.fetchFailed=()=>oN("Copilot.documentation.fetchFailed"),(rI||(rI={})).create=function(e,t){return t?new oO(t,new oU(e)):new oU(e)};class oL{registerHandlers(e,t,r){r.push(rP.onRequest(e,rP.Requests.PythonEnvExtensionInstalled,()=>({installed:!!t.extension.getPythonEnvExtension()}))),r.push(rP.onRequest(e,rP.Requests.GetPythonEnvironments,async e=>({environments:await this.getPythonEnvironments()}))),r.push(rP.onRequest(e,rP.Requests.UpdatePythonEnvironment,e=>this.updatePythonEnvironment(nQ.Uri.parse(e.uri),e.pythonPath)))}}class oO extends oL{get onDidChangeEnvironments(){return this._didChangeEmitter.event}isAvailable(){return!0}async getActivePythonEnvironment(e){try{if(e&&e.path.endsWith(".ipynb"))return await this._pythonApi.getActivePythonEnvironment(e);let t=await this._pythonEnvsApi.getEnvironment(e);return null==t?void 0:t.execInfo.run.executable}catch(t){return console.info("Failed to resolve environment using Python Environments API, falling back to Python API",t),await this._pythonApi.getActivePythonEnvironment(e)}}async getEnvironmentName(e){try{var t;if(e&&e.path.endsWith(".ipynb"))return await this._pythonApi.getEnvironmentName(e);let r=await this._pythonEnvsApi.getEnvironment(e);if(!r)return"";if(r.name)return r.name;return oq(r.environmentPath.fsPath,null!=(t=r.version)?t:"")}catch(t){return console.info("Failed to resolve environment name using Python Environments API, falling back to Python API",t),await this._pythonApi.getEnvironmentName(e)}}async getPythonEnvironments(e){var t;let r=await this._pythonEnvsApi.getEnvironments(null!=e?e:"all");return null!=(t=null==r?void 0:r.map(e=>e.execInfo.run.executable))?t:[]}async updatePythonEnvironment(e,t){let r=(await this.getPythonEnvironments()).find(e=>e===t);if(r)try{let t=await this._pythonEnvsApi.resolveEnvironment(nQ.Uri.parse(r));if(!t)return;await this._pythonEnvsApi.setEnvironment(e,t)}catch{}}getEnvironmentVariables(e){return this._pythonEnvsApi.getEnvironmentVariables(e)}registerHandlers(e,t,r){super.registerHandlers(e,t,r),r.push(this._pythonEnvsApi.onDidChangeEnvironment(t=>oj(e,t.uri))),r.push(this._pythonEnvsApi.onDidChangeEnvironmentVariables(t=>o$(e))),this._pythonApi.registerHandlers(e,t,r)}constructor(e,t){super(),oR(this,"_pythonEnvsApi",void 0),oR(this,"_pythonApi",void 0),oR(this,"_didChangeEmitter",void 0),this._pythonEnvsApi=e,this._pythonApi=t,this._didChangeEmitter=new nQ.EventEmitter,this._pythonEnvsApi.onDidChangeEnvironments(()=>this._didChangeEmitter.fire()),this._pythonEnvsApi.onDidChangeEnvironment(()=>this._didChangeEmitter.fire())}}class oU extends oL{get onDidChangeEnvironments(){return this._didChangeEmitter.event}isAvailable(){return!!this._pythonApi.environments}async getActivePythonEnvironment(e){let t=this._pythonApi.environments.getActiveEnvironmentPath(e);try{let e=await this._pythonApi.environments.resolveEnvironment(t);return null==e?void 0:e.path}catch{return t.path}}async getEnvironmentName(e){let t=this._pythonApi.environments.getActiveEnvironmentPath(e);try{let e=await this._pythonApi.environments.resolveEnvironment(t);if(!e)return t.path;let r=(null==e?void 0:e.version)?`${e.version.major}.${e.version.minor}.${e.version.micro}`:"";if(e.environment&&e.environment.name)return`${r} (${e.environment.name} ${function(e){switch(e){case"Conda":return"conda";case"VirtualEnvironment":return"venv";default:return e}}(e.environment.type)})`;return oq(t.path,r)}catch{return t.path}}getPythonEnvironments(e){var t;return Promise.resolve(null!=(t=this._pythonApi.environments.known.map(e=>e.path).filter(oP.O9))?t:[])}async updatePythonEnvironment(e,t){await this._pythonApi.environments.updateActiveEnvironmentPath(t,e)}getEnvironmentVariables(e){return Promise.resolve(this._pythonApi.environments.getEnvironmentVariables(e))}registerHandlers(e,t,r){super.registerHandlers(e,t,r),r.push(this._pythonApi.environments.onDidChangeActiveEnvironmentPath(t=>oj(e,t.resource instanceof nQ.Uri?t.resource:void 0))),r.push(this._pythonApi.environments.onDidEnvironmentVariablesChange(()=>o$(e)))}constructor(e){super(),oR(this,"_pythonApi",void 0),oR(this,"_didChangeEmitter",void 0),this._pythonApi=e,this._didChangeEmitter=new nQ.EventEmitter,this._pythonApi.environments&&this._pythonApi.environments.onDidChangeActiveEnvironmentPath(e=>this._didChangeEmitter.fire())}}function oj(e,t){var r;t&&(null==(r=t.path)?void 0:r.endsWith(".ipynb"))?rP.sendNotification(e,rP.Notifications.DidChangeNotebookKernel,{notebook:t.toString()}):o$(e)}function o$(e){rP.sendNotification(e,rP.Notifications.DidChangeConfiguration,{settings:null})}function oq(e,t){return e.includes("WindowsApps")?`${t} (${rA.Messages.windowsStoreEnvironmentName()})`:`${t} (${rA.Messages.globalEnvironmentName()})`}var oG=r(81905),oW=r(40691),oB=r(56239),oV=r(62003);(ec=rF||(rF={})).yes=oJ("Common.Yes","Yes"),ec.no=oJ("Common.No","No"),ec.help=oJ("Common.Help","Help"),ec.remindMeLater=oJ("Common.remindMeLater","Remind me later"),ec.reload=oJ("Common.reload","Reload"),ec.learnMore=oJ("Common.learnMore","Learn more"),ec.dismiss=oJ("Common.dismiss","Dismiss"),(ed=rz||(rz={})).settingsMigratedMessage=oJ("LanguageServer.settingsMigratedMessage","Settings applicable to Microsoft Language Server were copied to Pylance settings. Please check settings.json file(s) for details."),ed.settingsMigrationError=oJ("LanguageServer.settingsMigrationError","The following settings could not be migrated:"),ed.settingsNotOverridable=oJ("LanguageServer.settingsNotOverridable",'"{0}" cannot be set when a Pyrightconfig.json or pyproject.toml is being used.'),ed.missingDefaultExcludes=oJ("LanguageServer.missingDefaultExcludes",'The exclude list is missing default excludes such as "{0}". Consider adding them to avoid analyzing unnecessary files.'),ed.addDefaultExcludes=oJ("LanguageServer.addDefaultExcludes","Add default excludes such as virtual environments"),(eu=rD||(rD={})).typeCheckingRecommendation={suggestionMessage:oJ("ClientLoc.typeCheckingRecommendation.suggestionMessage","Pylance has detected type annotations in your code and recommends enabling type checking. Would you like to change this setting?")},eu.typeCheckingModeStatusItem={pickerPlaceholder:oJ("ClientLoc.typeCheckingModeStatusItem.pickerPlaceholder","Current mode: {0}. Select the type checking mode."),pickerSettingsPage:oJ("ClientLoc.typeCheckingModeStatusItem.pickerSettingsPage","view on settings page"),name:oJ("ClientLoc.typeCheckingModeStatusItem.name","Python Type Checking Mode"),textFormatted:oJ("ClientLoc.typeCheckingModeStatusItem.textFormatted","Type Checking: {0}"),textFormattedFromConfig:oJ("ClientLoc.typeCheckingModeStatusItem.textFormattedFromConfig","Type Checking: {0} (from {1})"),title:oJ("ClientLoc.typeCheckingModeStatusItem.title","Select type checking mode"),titleConfig:oJ("ClientLoc.typeCheckingModeStatusItem.titleConfig","Open config")},eu.autoImportCompletionsStatusItem={name:oJ("ClientLoc.autoImportCompletionsStatusItem.name","Python Auto-Import Completions Mode"),textFormatted:oJ("ClientLoc.autoImportCompletionsStatusItem.text","Auto-Import Completions: {0}"),titleOn:oJ("ClientLoc.autoImportCompletionsStatusItem.titleOn","Switch to on"),titleOff:oJ("ClientLoc.autoImportCompletionsStatusItem.titleOff","Switch to off")},eu.updateSettingsErrorMsgFormatted=oJ("ClientLoc.updateSettingsErrorMsgFormatted","Failed to update setting '{0}.{1}'."),eu.pylanceAndPythonStableExtensionMismatch=oJ("ClientLoc.pylanceAndPythonStableExtensionMismatch","Pylance and Python extension are using incompatible libraries. Please make sure both extensions are the latest stable versions."),eu.pylanceAndPythonPrereleaseExtensionMismatch=oJ("ClientLoc.pylanceAndPythonPrereleaseExtensionMismatch","Pylance and Python extension are using incompatible libraries. Please make sure both extensions are the latest stable versions."),eu.copilotOutputChannelName=oJ("ClientLoc.copilotOutputChannelName","Pylance Copilot Server"),eu.FindMatchingEnv={noEnvsFound:oJ("ClientLoc.FindMatchingEnv.noEnvsFound","We couldn't find an environment that has these packages installed. Would you like to install the missing package(s)?"),switchToEnv:oJ("ClientLoc.FindMatchingEnv.switchToEnv","We found '{0}' has the packages used in this file already installed. Would you like to switch to it?"),scanningCancelled:oJ("ClientLoc.FindMatchingEnv.scanningCancelled","Scanning cancelled."),scanningInProgress:oJ("ClientLoc.FindMatchingEnv.scanningInProgress","Scanning {0} ({1}/{2}) for packages used in this file.")},eu.InstallMissingPackages={title:oJ("ClientLoc.InstallMissingPkgs.title","Select package(s) to install"),placeholder:oJ("ClientLoc.InstallMissingPkgs.placeholder","Select packages to install in the current environment.")},eu.TroubleshootMissingImports={envExtensionRequired:oJ("ClientLoc.TroubleshootMissingImports.envExtensionRequired","This Quick Fix requires the Python Environments extension to be installed and enabled."),moduleNotFound:oJ("ClientLoc.TroubleshootMissingImports.moduleNotFound","The package {0} is installed, but the module {1} might not be available. It may not exist in the installed version or may be created dynamically at runtime. Try checking the package docs or updating to a compatible version."),apiNotFound:oJ("ClientLoc.TroubleshootMissingImports.apiNotFound","The Python Environments extension APIs are not available. Please make sure the extension is installed and enabled.")},(em=eu.ServerRestart||(eu.ServerRestart={})).crashMessage=oJ("ClientLoc.ServerRestart.crashMessage","Pylance has crashed."),em.restartingMessage=oJ("ClientLoc.ServerRestart.restartingMessage","Restarting Pylance using Node.js..."),em.crashRestartingMessage=oJ("ClientLoc.ServerRestart.crashRestartingMessage","Pylance has crashed. Pylance will restart when you select a Node.js executable to run Pylance."),em.selectButton=oJ("ClientLoc.ServerRestart.selectButton","Select"),em.selectNodeJsTitle=oJ("ClientLoc.ServerRestart.selectNodeJsTitle","Select Node.js executable to run Pylance"),eu.askNodeSafetyQuestion=oJ("ClientLoc.askNodeSafetyQuestion","Pylance is configured to run with {0}. Do you want to use this executable to run Pylance?"),eu.crashTooManyRestarts=oJ("ClientLoc.crashTooManyRestarts","Pylance has crashed 5 times in the last 3 minutes. Pylance will not be restarted. Please check [this link](https://aka.ms/AApf7ox) for more details."),(eh=(ep=rE||(rE={})).MoveSymbol||(ep.MoveSymbol={})).progressBarTitle=oJ("Refactoring.MoveSymbol.progressBarTitle","Move Symbol To..."),eh.newFileLabel=oJ("Refactoring.MoveSymbol.newFileLabel","Enter destination file path"),eh.newFileDetail=oJ("Refactoring.MoveSymbol.newFileDetail","Enter path or select destination file"),eh.separatorText=oJ("Refactoring.MoveSymbol.separatorText","Destination Files"),eh.quickPickPlaceHolder=oJ("Refactoring.MoveSymbol.quickPickPlaceHolder","Search destination file"),eh.quickPickTitle=oJ("Refactoring.MoveSymbol.quickPickTitle","Select destination for move"),eh.openDialogOpenLabel=oJ("Refactoring.MoveSymbol.openDialogOpenLabel","Select"),eh.openDialogTitle=oJ("Refactoring.MoveSymbol.openDialogTitle","Select new file to move the symbol to..."),(eg=ep.SearchImports||(ep.SearchImports={})).quickPickPlaceHolder=oJ("Refactoring.SearchImports.quickPickPlaceHolder","Search imports"),eg.quickPickTitle=oJ("Refactoring.SearchImports.quickPickTitle","Search imports to insert");let oH={},oK=Object.prototype.hasOwnProperty;function oJ(e,t){return()=>{let r,i;return r=a,(0,oB.iY)(r),o&&oK.call(o,e)&&(r=o),(i=r[e])||!t||(i=t),oH[e]="string"==typeof i?i:i.message,oH[e]}}async function oQ(){s=function(){try{if(null==navigator?void 0:navigator.language)return navigator.language.toLowerCase()}catch{}let e=process.env.VSCODE_NLS_CONFIG;return e?JSON.parse(e).locale:"en-us"}(),o=await oX(s),a||(a=await oX())}async function oX(e){try{let t=e?`package.nls.${e}.json`:"package.nls.json",r=nQ.Uri.joinPath(function(){if(n)return n;switch(oV.basename(__dirname)){case"tests":case"common":return nQ.Uri.file(oV.join(__dirname,"..",".."));case"src":return nQ.Uri.file(oV.join(__dirname,".."))}throw Error("Unable to determine extension root.")}(),t),i=await nQ.workspace.fs.readFile(r),o=new TextDecoder().decode(i);return JSON.parse(o)}catch(e){return e instanceof nQ.FileSystemError&&"FileNotFound"===e.code||console.log(e),{}}}class oY{get onDidChangeConfiguration(){return nQ.workspace.onDidChangeConfiguration}getSetting(e,t,r,i){let n=nQ.workspace.getConfiguration(e,r);return void 0!==i?n.get(t,i):n.get(t)}getExpandedSetting(e,t,r){var i;let n=this.getConfiguration(e,r).get(t),o=(null==(i=nQ.workspace.workspaceFolders)?void 0:i.map(e=>({workspaceName:e.name,rootUri:oW.z.parse(e.uri.toString(),{isCaseSensitive:e=>!1})})))||[];return n?(0,oG.b)(n,1===o.length?o[0].rootUri:oW.z.empty(),o):void 0}getExpandedArraySetting(e,t,r,i){var n;let o=this.getConfiguration(e,i).get(t,r),a=(null==(n=nQ.workspace.workspaceFolders)?void 0:n.map(e=>({workspaceName:e.name,rootUri:oW.z.parse(e.uri.toString(),{isCaseSensitive:e=>!1})})))||[];return o?o.map(e=>(0,oG.b)(e,1===a.length?a[0].rootUri:oW.z.empty(),a)):r}async updateSetting(e,t,r,i){await nQ.workspace.getConfiguration(e).update(t,r,i)}inspect(e,t){return nQ.workspace.getConfiguration(e).inspect(t)}getConfiguration(e,t){return nQ.workspace.getConfiguration(e,t)}async updateSettingAtExistingDocumentScope(e,t,r,i){let n,o,a=e.uri,s=e.languageId;if(!a||!s)return;let l=this.getConfiguration(t,{uri:a,languageId:s}),c=l.inspect(r);if(void 0!==c){if(void 0!==c.workspaceFolderValue?(n=nQ.ConfigurationTarget.WorkspaceFolder,o=c.workspaceFolderValue):void 0!==c.workspaceValue?(n=nQ.ConfigurationTarget.Workspace,o=c.workspaceValue):void 0!==c.globalValue&&(n=nQ.ConfigurationTarget.Global,o=c.globalValue),o&&o===i)return;try{await l.update(r,i,n)}catch(i){let e=rD.updateSettingsErrorMsgFormatted().format(t,r);console.log(e),nQ.window.showErrorMessage(e+` ${i}`)}}}}function oZ(e,t){let r=e.inspect(t);return!!r&&(void 0!==r.globalValue||void 0!==r.workspaceValue||void 0!==r.workspaceFolderValue||void 0!==r.globalLanguageValue||void 0!==r.workspaceLanguageValue||void 0!==r.workspaceFolderLanguageValue)}function o0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class o1{static get mode(){return o1._instance._mode}static get onChanged(){return o1._instance._emitter.event}_computeMode(){let e=this._config.getSetting("python","languageServer",void 0,"Pylance");return this._convertSettingToMode(e)}_convertSettingToMode(e){switch(e){case void 0:case"Pylance":case"Default":return"language-server";default:return"copilot"}}constructor(){o0(this,"_mode","language-server"),o0(this,"_config",new oY),o0(this,"_emitter",new nQ.EventEmitter),this._mode=this._computeMode(),this._config.onDidChangeConfiguration(e=>{if(e.affectsConfiguration("python.languageServer")){let e=this._computeMode();this._mode!==e&&(this._mode=e,this._emitter.fire())}})}}o0(o1,"_instance",new o1);var o2=r(28920),o4=r(92460);function o3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class o8{sendTelemetryEvent(e,t,r,i){let n="number"==typeof t?{duration:t}:t||void 0,o={};r&&Object.getOwnPropertyNames(r).forEach(t=>{if(void 0!==r[t]&&null!==r[t])try{switch(typeof r[t]){case"string":o[t]=r[t];break;case"object":o[t]="object";break;default:o[t]=r[t].toString()}}catch(r){oa(o4.format(`Failed to serialize ${t} for ${e}`,r))}}),Object.assign(o,this._sharedProperties);let a=this._getTelemetryReporter();if(i){var s;let t,r,l={errorName:i.name,errorMessage:i.message,errorStack:null!=(s=i.stack)?s:""};t=l.errorStack,r=l.errorMessage,t&&(t=t.replace(/(\s+at\s+)(.*?)(\(.*?\))/gm,"$1func $3"),r=null==r?void 0:r.replace(/(key|token|sig|secret|signature|password|passwd|pwd|android:value)[^a-zA-Z0-9]/gim,"**"),l.errorStack=t=null==(t=null==t?void 0:t.replace(/(key|token|sig|secret|signature|password|passwd|pwd|android:value)[^a-zA-Z0-9]/gim,"**"))?void 0:t.replace(/\((.*?)packages(.*?)\)/gim,"(packages$2)"),l.errorMessage=r),Object.assign(o,l),a.sendTelemetryErrorEvent(e,o,n)}else a.sendTelemetryEvent(e,o,n)}setSharedProperty(e,t){void 0===t?delete this._sharedProperties[e]:this._sharedProperties[e]=t}_getTelemetryReporter(){return this._doNotAccessDirectlyReporter||(this._doNotAccessDirectlyReporter=new o2.A("0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",[{lookup:/(errorName|errorMessage|errorStack)/g}])),this._doNotAccessDirectlyReporter}constructor(e){o3(this,"_doNotAccessDirectlyReporter",void 0),o3(this,"_sharedProperties",void 0),this._doNotAccessDirectlyReporter=e,this._sharedProperties={}}}var o6=r(99589),o5=r(19432),o9=r(89366),o7=r(92861),ae=r(93759);function at(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ar(e){return oV.join(o9.tmpdir(),"python-languageserver-cancellation",e)}function ai(e,t){return oV.join(ar(e),`cancellation-${String(t)}.tmp`)}function an(e){try{e()}catch(e){}}class ao{sendCancellation(e,t){let r=ai(this.folderName,t);return an(()=>o_.writeFileSync(r,"",{flag:"w"})),Promise.resolve()}cleanup(e){an(()=>o_.unlinkSync(ai(this.folderName,e)))}dispose(){let e=ar(this.folderName);an(()=>(function e(t){let r=o_.lstatSync(t);if(r)if(r.isDirectory()&&!r.isSymbolicLink()){for(let r of o_.readdirSync(t))e(oV.join(t,r));o_.rmdirSync(t)}else o_.unlinkSync(t)})(e))}constructor(e){at(this,"folderName",void 0),this.folderName=e;const t=ar(e);an(()=>o_.mkdirSync(t,{recursive:!0}))}}class aa{get receiver(){return o7.CancellationReceiverStrategy.Message}get sender(){return this._sender}getCommandLineArguments(){return[`--cancellationReceive=file:${this._sender.folderName}`]}dispose(){this._sender.dispose()}constructor(){at(this,"_sender",void 0);const e=(0,ae.O)(21);this._sender=new ao(e)}}var as=r(98766);class al{get elapsedTime(){return new Date().getTime()-this._started}reset(){this._started=new Date().getTime()}constructor(){var e,t;e="_started",t=new Date().getTime(),e in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}}function ac(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ad{maybeSendTelemetry(e,t,r,i,n,o){let a=Date.now(),s=new al;a>this._nextWindow&&(this._nextWindow=a+this._globalDebounce,this._eventCount=0);let l=(t,l)=>{let c=this._rareMessages.has(e)?this._debounceRareCall:this._debounceFrequentCall,d=this._lastCaptured.get(e);if(l||r()&&this._eventCount<this._globalLimit&&(!d||a-d>c)){this._lastCaptured.set(e,a),this._eventCount+=1;let r=e.replace(/\//g,"."),c={duration:s.elapsedTime};n&&(c={...c,...n(this,t)});let d={lsVersion:oh,method:r};l&&(d.failed=l),o&&(d={...d,...o(this,t)}),i(c,d)}return t};try{let e=t();if((0,oP.Qg)(e))return e.then(l).catch(e=>{throw ow.YS.is(e)||l(void 0,e),e});return l(e)}catch(e){throw ow.YS.is(e)||l(void 0,e),e}}constructor(){ac(this,"_nextWindow",0),ac(this,"_eventCount",0),ac(this,"_globalDebounce",36e5),ac(this,"_globalLimit",100),ac(this,"_lastCaptured",new Map),ac(this,"_debounceFrequentCall",3e5),ac(this,"_debounceRareCall",6e4),ac(this,"_rareMessages",new Set(["textDocument/declaration","textDocument/definition","textDocument/documentSymbol","textDocument/prepareRename","textDocument/references","textDocument/rename","workspace/symbol"]))}}var au=r(70290);let am=(async()=>{c=await Promise.resolve().then(r.bind(r,69327))})();class ap{async getSetting(e,t){let r=await this._findConfigFile(e);return r&&r.fsPath.endsWith(".toml")?await this._getSettingFromToml(r,t):r&&r.fsPath.endsWith(".json")?await this._getSettingFromJson(r,t):void 0}async findAllConfigFiles(e){let t=[];try{await this._findConfigFilesRecursive(e,t)}catch(e){}return t}async _getSettingFromToml(e,t){await am;let r=await this._fs.readFile(e),i=new TextDecoder("utf-8").decode(r);return this._parseToml(i)[t]}async _getSettingFromJson(e,t){let r=await this._fs.readFile(e),i=new TextDecoder("utf-8").decode(r);return(0,au.qg)(i)[t]}async _findConfigFile(e){let t="file"===e.scheme&&e.fsPath.endsWith(".py")?nQ.Uri.joinPath(e,".."):e,r=nQ.Uri.joinPath(t,"pyrightconfig.json");try{return await this._fs.stat(r),r}catch{}let i=nQ.Uri.joinPath(t,"pyproject.toml");try{return await this._fs.stat(i),i}catch{}}async _findConfigFilesRecursive(e,t){let r=nQ.Uri.joinPath(e,"pyrightconfig.json");try{await this._fs.stat(r),t.push(r)}catch{}let i=nQ.Uri.joinPath(e,"pyproject.toml");try{var n,o;await this._fs.stat(i);let e=await this._fs.readFile(i),r=new TextDecoder("utf-8").decode(e);await am;let a=c.parse(r);((null==a||null==(n=a.tool)?void 0:n.pyright)||(null==a||null==(o=a.tool)?void 0:o.pyrightconfig))&&t.push(i)}catch{}try{for(let[r,i]of(await this._fs.readDirectory(e)))if(i===nQ.FileType.Directory&&!this._shouldSkipDirectory(r)){let i=nQ.Uri.joinPath(e,r);await this._findConfigFilesRecursive(i,t)}}catch{}}_shouldSkipDirectory(e){return["node_modules",".git",".vscode","__pycache__",".pytest_cache",".mypy_cache",".tox",".nox","venv",".venv","env",".env","site-packages","dist","build",".eggs","*.egg-info"].includes(e)||e.startsWith(".")}_parseToml(e){try{var t;let r=c.parse(e);return(null==r||null==(t=r.tool)?void 0:t.pyright)||{}}catch(e){return{}}}constructor(e=nQ.workspace.fs){var t;t=void 0,"_fs"in this?Object.defineProperty(this,"_fs",{value:t,enumerable:!0,configurable:!0,writable:!0}):this._fs=t,this._fs=e}}function ah(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ag{get workspaceFolders(){return void 0===this._client?[]:this._externalWorkspaceFolders.map(e=>this._asProtocolWorkspaceFolder(this._client,e))}dispose(){var e;null==(e=this._configFileWatcher)||e.dispose()}setClient(e){this._client=e;let t=e.doInitialize.bind(e);e.doInitialize=async(r,i)=>{if(i.workspaceFolders)this._externalWorkspaceFolders=await this._computeAllowedWorkspaceFolders(),i.workspaceFolders=this._externalWorkspaceFolders.map(t=>this._asProtocolWorkspaceFolder(e,t));else if(i.rootUri){let t=e.protocol2CodeConverter.asUri(i.rootUri);await this._isFolderExcluded(t,"root")&&(this._externalWorkspaceFolders=[],i.rootUri=null,i.rootPath=null)}let n=l;return n&&(i=await a_(i,n.translateToDisk.bind(n))),t(r,i)}}async interceptDidChangeWorkspaceFolders(e,t){let r=await this._computeWorkspaceFolderChangeEvent();await t(r)}_setupConfigFileWatcher(){var e;let t=new nQ.RelativePattern((null==(e=nQ.workspace.workspaceFolders)?void 0:e[0])||nQ.Uri.file("."),"**/{pyrightconfig.json,pyproject.toml}");this._configFileWatcher=nQ.workspace.createFileSystemWatcher(t),this._configFileWatcher.onDidCreate(()=>{this._recomputeWorkspaceFolders()}),this._configFileWatcher.onDidDelete(()=>{this._recomputeWorkspaceFolders()}),this._configFileWatcher.onDidChange(()=>{this._recomputeWorkspaceFolders()})}_asProtocolWorkspaceFolder(e,t){return{uri:e.code2ProtocolConverter.asUri(t.uri),name:t.name}}async _recomputeWorkspaceFolders(){if(!this._client)return;let e=await this._computeWorkspaceFolderChangeEvent(),t={event:{added:e.added.map(e=>this._asProtocolWorkspaceFolder(this._client,e)),removed:e.removed.map(e=>this._asProtocolWorkspaceFolder(this._client,e))}};await this._client.sendNotification(od.DidChangeWorkspaceFoldersNotification.type,t)}async _computeWorkspaceFolderChangeEvent(){let e=await this._computeAllowedWorkspaceFolders(),t=[],r=[];for(let t of this._externalWorkspaceFolders)e.some(e=>af(e,t))||r.push(t);for(let r of e)this._externalWorkspaceFolders.some(e=>af(e,r))||t.push(r);return this._externalWorkspaceFolders=e,{added:t,removed:r}}async _isFolderExcluded(e,t){let r=await this._getExcludeSetting(e);if(!r||0===r.length)return!1;let i=function(e,t,r){let i="${workspaceFolder:",n=`${i}${e}}`,o=[];for(let e of r&&Array.isArray(r)&&0!==r.length?r.filter(e=>e&&(0,oP.Kg)(e)):[]){let r=e.lastIndexOf("/");if(r>=0){let t=e.substring(r+1);t.includes(".")&&("*.*"===t||t.startsWith("*.py"))&&(e=e.substring(0,r))}if(e.startsWith(i)){if(!e.startsWith(n))continue;let r=t,i=e.substring(n.length),a=(0,nX.Nw)(i,"/");r=r.with({path:oV.posix.join(r.path,a)}),o.push(r)}else if(oV.isAbsolute(e))o.push(nQ.Uri.file(e));else if(e.startsWith("*")){let r=t.with({path:(0,nX.Nw)(e,"/")});o.push(r)}else{let r=t.with({path:oV.posix.join(t.path,(0,nX.Nw)(e,"/"))});o.push(r)}}return o}(t,e,r),n="win32"===process.platform;return i.some(t=>{if(e.scheme!==t.scheme)return!1;let r=n?e.path.toLowerCase():e.path;return(function(e){let t=function(e=oV.sep){return"/"===e?"/":"\\\\"}("/"),r=RegExp(`[^\\w\\s${t}]`,"g"),i=`(${t}[^${t}][^${t}]*)*?`,n=e.split("/"),o="",a=!0;for(let e of n)"**"===e?o+=i:(a||(e=t+e),o+=e.replace(r,e=>"*"===e?`[^${t}]*`:"?"===e?`[^${t}]`:"\\"+e),a=!1);return new RegExp(o)})(n?t.path.toLowerCase():t.path).test(r)})}async _computeAllowedWorkspaceFolders(){let e=nQ.workspace.workspaceFolders||[],t=[];if(e.length<=1){let t=[...e];return nQ.workspace.getConfiguration("python.analysis").get("useNearestConfiguration",!1)&&1===e.length?[...t,...await this._discoverVirtualWorkspaces(e[0])]:t}for(let r of e)await this._isFolderExcluded(r.uri,r.name)||t.push(r);if(nQ.workspace.getConfiguration("python.analysis").get("useNearestConfiguration",!1))for(let e of t){let r=await this._discoverVirtualWorkspaces(e);t.push(...r)}return t}async _discoverVirtualWorkspaces(e){let t=[];try{for(let r of(await this._pyrightConfigReader.findAllConfigFiles(e.uri))){let i=nQ.Uri.joinPath(r,"..");if(i.toString()===e.uri.toString())continue;let n=i.path.split("/").pop()||"";if(await this._isFolderExcluded(i,n))continue;let o={uri:i,name:`${e.name}/${this._getRelativePath(e.uri,i)}`,index:e.index};this._virtualWorkspaceFolders.set(i.toString(),o),t.push(o)}}catch(e){}return t}_getRelativePath(e,t){let r=e.path,i=t.path;return i.startsWith(r)?i.substring(r.length).replace(/^\//,""):i}async _getExcludeSetting(e){let t=await this._pyrightConfigReader.getSetting(e,"exclude");return t||(t=nQ.workspace.getConfiguration("python.analysis",e).get("exclude"))}constructor(e){ah(this,"_pyrightConfigReader",void 0),ah(this,"_externalWorkspaceFolders",[]),ah(this,"_client",void 0),ah(this,"_configFileWatcher",void 0),ah(this,"_virtualWorkspaceFolders",new Map),this._pyrightConfigReader=null!=e?e:new ap,nQ.workspace.onDidChangeConfiguration(e=>{(e.affectsConfiguration("python.analysis.exclude")||e.affectsConfiguration("python.analysis.useNearestConfiguration"))&&this._recomputeWorkspaceFolders()}),this._setupConfigFileWatcher()}}function af(e,t){return e.name===t.name&&e.uri.toString()===t.uri.toString()}function ay(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class av{get workspaceAddon(){return this._workspaceAddon}didChange(){return this._callNext("didChange",arguments)}didOpen(){return this._callNext("didOpen",arguments)}didClose(){return this._callNext("didClose",arguments)}didSave(){return this._callNext("didSave",arguments)}willSave(){return this._callNext("willSave",arguments)}willSaveWaitUntil(){return this._callNext("willSaveWaitUntil",arguments)}async didOpenNotebook(){return this._callNotebooksNext("didOpen",arguments)}async didSaveNotebook(){return this._callNotebooksNext("didSave",arguments)}async didChangeNotebook(){return this._callNotebooksNext("didChange",arguments)}async didCloseNotebook(){return this._callNotebooksNext("didClose",arguments)}provideCompletionItem(){return this._callNextAndSendTelemetry("textDocument/completion","provideCompletionItem",arguments,(e,t)=>t?{resultLength:Array.isArray(t)?t.length:t.items.length}:{resultLength:0},(e,t)=>{var r,i,n,o;if(!t)return{};let a=Array.isArray(t)?t:(null==t?void 0:t.items)||[],s=null==(i=a[0])||null==(r=i.data)?void 0:r.moduleHash,l=null==(o=a[0])||null==(n=o.data)?void 0:n.moduleVersion;return s?{moduleHash:s,moduleVersion:l||"0"}:{}})}provideHover(){return this._callNextAndSendTelemetry("textDocument/hover","provideHover",arguments,void 0,(e,t)=>{let r,i;return t&&(t.contents.forEach(e=>{var t,n;let o="string"==typeof e.value?e.value.toString():e.toString();o&&o.includes("\x3c!--moduleHash:")&&!r&&(r=null==(t=o.match(/<!--moduleHash:(.+)-->/m))?void 0:t[1]),o&&o.includes("\x3c!--moduleVersion:")&&!i&&(i=null==(n=o.match(/<!--moduleVersion:(.+)-->/m))?void 0:n[1])}),r)?{moduleHash:parseInt(r,10),moduleVersion:i||"0"}:{}})}handleDiagnostics(e,t,r){return this._callNext("handleDiagnostics",arguments)}resolveCompletionItem(){return this._callNextAndSendTelemetry("completionItem/resolve","resolveCompletionItem",arguments)}provideSignatureHelp(){return this._callNextAndSendTelemetry("textDocument/signatureHelp","provideSignatureHelp",arguments)}provideDefinition(){return this._callNextAndSendTelemetry("textDocument/definition","provideDefinition",arguments)}provideReferences(){return this._callNextAndSendTelemetry("textDocument/references","provideReferences",arguments)}provideDocumentHighlights(){return this._callNext("provideDocumentHighlights",arguments)}provideDocumentSymbols(){return this._callNextAndSendTelemetry("textDocument/documentSymbol","provideDocumentSymbols",arguments)}provideWorkspaceSymbols(){return this._callNextAndSendTelemetry("workspace/symbol","provideWorkspaceSymbols",arguments)}provideCodeActions(){return this._callNextAndSendTelemetry("textDocument/codeAction","provideCodeActions",arguments,void 0,(e,t)=>t?{actions:t.map(e=>{var t,r;return as.Command.is(e)?`[c:${e.command}]`:`[a:${null!=(t=null==(r=e.command)?void 0:r.command)?t:e.title}]`}).join(", ")}:{})}provideCodeLenses(){return this._callNextAndSendTelemetry("textDocument/codeLens","provideCodeLenses",arguments)}resolveCodeLens(){return this._callNextAndSendTelemetry("codeLens/resolve","resolveCodeLens",arguments)}provideDocumentFormattingEdits(){return this._callNext("provideDocumentFormattingEdits",arguments)}provideDocumentRangeFormattingEdits(){return this._callNext("provideDocumentRangeFormattingEdits",arguments)}provideOnTypeFormattingEdits(){return this._callNextAndSendTelemetry("textDocument/onTypeFormatting","provideOnTypeFormattingEdits",arguments)}provideRenameEdits(){return this._callNextAndSendTelemetry("textDocument/rename","provideRenameEdits",arguments)}prepareRename(){return this._callNextAndSendTelemetry("textDocument/prepareRename","prepareRename",arguments)}provideDocumentLinks(){return this._callNext("provideDocumentLinks",arguments)}resolveDocumentLink(){return this._callNext("resolveDocumentLink",arguments)}provideDeclaration(){return this._callNextAndSendTelemetry("textDocument/declaration","provideDeclaration",arguments)}provideTypeDefinition(){return this._callNext("provideTypeDefinition",arguments)}provideImplementation(){return this._callNext("provideImplementation",arguments)}provideDocumentColors(){return this._callNext("provideDocumentColors",arguments)}provideColorPresentations(){return this._callNext("provideColorPresentations",arguments)}provideFoldingRanges(){return this._callNext("provideFoldingRanges",arguments)}provideSelectionRanges(){return this._callNext("provideSelectionRanges",arguments)}prepareCallHierarchy(){return this._callNext("prepareCallHierarchy",arguments)}provideCallHierarchyIncomingCalls(){return this._callNext("provideCallHierarchyIncomingCalls",arguments)}provideCallHierarchyOutgoingCalls(){return this._callNext("provideCallHierarchyOutgoingCalls",arguments)}provideDocumentSemanticTokens(){return this._callNext("provideDocumentSemanticTokens",arguments)}provideDocumentSemanticTokensEdits(){return this._callNext("provideDocumentSemanticTokensEdits",arguments)}provideDocumentRangeSemanticTokens(){return this._callNext("provideDocumentRangeSemanticTokens",arguments)}provideLinkedEditingRange(){return this._callNext("provideLinkedEditingRange",arguments)}async sendRequest(e,t,r,i){let n=l;if(!n)return await i(e,t,r);let o=await a_(t,n.translateToDisk.bind(n)),a=await i(e,o,r);return await a_(a,n.translateToVirtual.bind(n))}async sendNotification(e,t,r){let i=l;if(!i)return await t(e,r);let n=await a_(r,i.translateToDisk.bind(i));return await t(e,n)}async _setPythonPath(e,t){if("python"!==e.section||!this._pythonEnvironmentApi)return;let r=e.scopeUri?nQ.Uri.parse(e.scopeUri):void 0;try{t.pythonPath=await this._getPythonPath(r);let e={};try{e=r?await this._pythonEnvironmentApi.getEnvironmentVariables(r):{}}catch(e){oo(`Failed to read environment variables; PYTHONPATH will not be injected: ${e}`)}let i=e.PYTHONPATH;i&&(t._envPYTHONPATH=i);let n=await this._getEnvironmentName(r);n&&(t.pythonEnvironmentName=n)}catch(e){oo(`Failed to set Python path configuration: ${e}`)}}_configurationHook(e,t){let r=this._services.config;if("editor"===e.section){let i=r.getConfiguration(e.section,{uri:e.scopeUri?nQ.Uri.parse(e.scopeUri):void 0,languageId:"python"});t.formatOnType=i.get("formatOnType"),t.insertSpaces=i.get("insertSpaces"),t.indentSize=i.get("indentSize"),t.tabSize=i.get("tabSize")}else if("python.analysis"===e.section){let n,o=r.getConfiguration(e.section,e.scopeUri?nQ.Uri.parse(e.scopeUri):void 0);for(let e of(n=[],function e(t,r=""){for(let i of Object.keys(t)){let o=r?`${r}.${i}`:i,a=t[i];null===a||"object"!=typeof a||Array.isArray(a)?n.push(o):e(a,o)}}(o),n))if(!oZ(o,e)){var i;t.setByDefault=null!=(i=t.setByDefault)?i:[],t.setByDefault.push(e.toLowerCase())}}}async _getEnvironmentName(e){let t=function(e,t){var r,i;if(!e||!e.path.toLowerCase().endsWith(".ipynb")&&!e.path.toLowerCase().endsWith("interactive"))return;let n=t.find(t=>t.notebook.uri.toString()===e.toString());if(!n)return;let o="custom"in n.notebook.metadata?n.notebook.metadata.custom:n.notebook.metadata;if(!(null==o||null==(r=o.metadata)?void 0:r.kernelspec))return;let a=(null==(i=o.metadata.language_info)?void 0:i.version)||"";return`${o.metadata.kernelspec.display_name||o.metadata.kernelspec.name} (Python ${a})`}(e,nQ.window.visibleNotebookEditors);return void 0!==t?t:await this._pythonEnvironmentApi.getEnvironmentName(e)}async _getPythonPath(e){var t;return null!=(t=await this._pythonEnvironmentApi.getActivePythonEnvironment(e))?t:""}_callNext(e,t){return this.notebookAddon&&this.notebookAddon[e]?this.notebookAddon[e](...t):t[t.length-1](...t)}_callNotebooksNext(e,t){var r;return(null==(r=this.notebookAddon)?void 0:r.notebooks)&&this.notebookAddon.notebooks[e]?this.notebookAddon.notebooks[e](...t):t[t.length-1](...t)}_callNextAndSendTelemetry(e,t,r,i,n){let o=!1,a=[...r];return a[a.length-1]=(...e)=>(o=!0,r[r.length-1](...e)),this._lspTelemetryThrottler.maybeSendTelemetry(e,()=>this._callNext(t,a),()=>o,(e,t)=>this._telemetryService.sendTelemetryEvent(ot.LANGUAGE_SERVER_REQUEST,e,t),i,n)}constructor(e,t,r,i){ay(this,"_getClient",void 0),ay(this,"_services",void 0),ay(this,"_telemetryService",void 0),ay(this,"_pythonEnvironmentApi",void 0),ay(this,"_lspTelemetryThrottler",void 0),ay(this,"notebookAddon",void 0),ay(this,"_workspaceAddon",void 0),ay(this,"workspace",void 0),ay(this,"notebooks",void 0),this._getClient=e,this._services=t,this._telemetryService=r,this._pythonEnvironmentApi=i,this._lspTelemetryThrottler=new ad,this.workspace={configuration:async(e,t,r)=>{let i=r(e,t);if((0,oP.Qg)(i)&&(i=await i),i instanceof as.ResponseError)return i;for(let[t,r]of e.items.entries())await this._setPythonPath(r,i[t]),this._configurationHook(r,i[t]);return i},workspaceFolders:(e,t)=>this._workspaceAddon.workspaceFolders,didChangeWorkspaceFolders:async(e,t)=>await this._workspaceAddon.interceptDidChangeWorkspaceFolders(e,t)},this.notebooks={didOpen:this.didOpenNotebook.bind(this),didSave:this.didSaveNotebook.bind(this),didChange:this.didChangeNotebook.bind(this),didClose:this.didCloseNotebook.bind(this)},this.handleDiagnostics=this.handleDiagnostics.bind(this),this.didOpen=this.didOpen.bind(this),this.didSave=this.didSave.bind(this),this.didChange=this.didChange.bind(this),this.didClose=this.didClose.bind(this),this.willSave=this.willSave.bind(this),this.willSaveWaitUntil=this.willSaveWaitUntil.bind(this),this._workspaceAddon=new ag}}async function a_(e,t){if(null==e)return e;if("string"==typeof e){try{if(e.includes(":")){let r=nQ.Uri.parse(e);if(r.scheme){let i=await t(r);return i?i.toString():e}}}catch{}return e}if(Array.isArray(e))return await Promise.all(e.map(e=>a_(e,t)));if("object"==typeof e){let r={};for(let[i,n]of Object.entries(e))r[i]=await a_(n,t);return r}return e}var ab=r(99);function aw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ak{dispose(){}async didOpen(e,t){let r=this._getNotebookUriForTextDocumentUri(e.uri);if(!r)return void await t(e);let i=this._notebookDocumentMap.get(r.toString());if(!i)return void this._unlinkedTextDocumentMap.set(r.toString(),e);try{let t={cells:{structure:{array:{start:i.getCells().filter(e=>e.kind===ab.NotebookCellKind.Code).length,deleteCount:0,cells:[{kind:ab.NotebookCellKind.Code,document:e.uri.toString()}]},didOpen:[{uri:e.uri.toString(),languageId:e.languageId,version:e.version,text:e.getText()}],didClose:void 0}}},n=this._getClient();n&&rP.sendNotification(n,rP.Notifications.DidChangeNotebookDocument,{notebookDocument:{version:i.version,uri:r.toString()},change:t})}catch(e){var n;throw null==(n=this._getClient())||n.error("Sending DidChangeNotebookDocumentNotification failed",e),e}}async didChange(e,t){let r=this._getNotebookUriForTextDocumentUri(e.document.uri);if(!r)return void await t(e);let i=this._notebookDocumentMap.get(r.toString());if(i){let t=this._getClient();t&&rP.sendNotification(t,rP.Notifications.DidChangeNotebookDocument,{notebookDocument:{uri:r.toString(),version:i.version},change:{cells:{textContent:[ak._asTextContentChange(e,t.code2ProtocolConverter)]}}})}}async didClose(e,t){let r=this._getNotebookUriForTextDocumentUri(e.uri);r?this._unlinkedTextDocumentMap.delete(r.toString()):await t(e)}async didOpenNotebook(e,t,r){this._notebookDocumentMap.set(e.uri.toString(),e);let i=this._unlinkedTextDocumentMap.get(e.uri.toString());if(i){let n=[...t,{index:e.cellCount,notebook:e,kind:ab.NotebookCellKind.Code,document:i,metadata:{},outputs:[],executionSummary:void 0}];this._unlinkedTextDocumentMap.delete(e.uri.toString()),await r(e,n)}else await r(e,t)}async didCloseNotebook(e,t,r){this._notebookDocumentMap.delete(e.uri.toString()),await r(e,t)}static _asTextContentChange(e,t){let r=t.asChangeTextDocumentParams(e.document);return{document:r.textDocument,changes:r.contentChanges}}_getNotebookUriForTextDocumentUri(e){let t,r=this._getNotebookUriFromInputBoxUri(e);if(r)return nQ.window.tabGroups.all.find(e=>{e.tabs.find(e=>{if(this._isInteractiveInputTab(e)){let i=e.input.uri.toString();e.input.uri.toString().endsWith(r.path)&&(t=i)}})}),t}_getNotebookUriFromInputBoxUri(e){var t;if("vscode-interactive-input"!==e.scheme)return;let r=`${e.path.replace("InteractiveInput-","Interactive-")}.interactive`;return null==(t=nQ.workspace.notebookDocuments.find(e=>e.uri.path===r))?void 0:t.uri}_isInteractiveInputTab(e){return e&&e.input&&this._isUri(e.input.uri)&&this._isUri(e.input.inputBoxUri)}_isUri(e){return!!e&&"string"==typeof e.path&&"string"==typeof e.scheme}constructor(e){aw(this,"_getClient",void 0),aw(this,"_notebookDocumentMap",void 0),aw(this,"_unlinkedTextDocumentMap",void 0),aw(this,"notebooks",void 0),this._getClient=e,this._notebookDocumentMap=new Map,this._unlinkedTextDocumentMap=new Map,this.notebooks={didOpen:this.didOpenNotebook.bind(this),didClose:this.didCloseNotebook.bind(this)},this.didOpen=this.didOpen.bind(this),this.didChange=this.didChange.bind(this),this.didClose=this.didClose.bind(this)}}class aC extends av{constructor(e,t,r,i){super(e,t,r,i),this.notebookAddon||(this.notebookAddon=new ak(e))}}class aS extends ab.LanguageClient{constructor(e,t,r,i,n){if(super(e,t,r,i,n),i.middleware&&i.middleware.workspaceAddon)i.middleware.workspaceAddon.setClient(this);else throw Error("Workspace Addon is missing in client options middleware")}}var aT=r(27809);function ax(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class aP{dispose(){this._statusBarMessage&&this._statusBarMessage.dispose()}_beginProgress(){this._progressDeferred=(0,aT.ud)(),nQ.window.withProgress({location:nQ.ProgressLocation.Window,title:""},e=>(this._progress=e,this._progressDeferred.promise))}constructor(e){ax(this,"_client",void 0),ax(this,"_statusBarMessage",void 0),ax(this,"_progress",void 0),ax(this,"_progressDeferred",void 0),this._client=e,rP.onNotification(this._client,rP.Notifications.SetStatusBarMessage,e=>{this._statusBarMessage&&this._statusBarMessage.dispose(),this._statusBarMessage=nQ.window.setStatusBarMessage(e)}),rP.onNotification(this._client,rP.Notifications.BeginProgress,()=>{this._progressDeferred||this._beginProgress()}),rP.onNotification(this._client,rP.Notifications.ReportProgress,e=>{this._progress||this._beginProgress(),this._progress.report({message:e})}),rP.onNotification(this._client,rP.Notifications.EndProgress,e=>{this._progressDeferred&&(this._progressDeferred.resolve(),this._progressDeferred=void 0,this._progress=void 0)})}}var aA=r(31070);r(23208);var aI=r(56911),aF=r(39907);r(40049),r(17087),r(37118),r(35996);var az=r(68509),aD=r(11896),aE=r(73775),aN=r(43302);r(45968),r(92089),r(56815);var aM=r(81236),aR=r(2590);r(41935),r(18909),r(86386);var aL=r(2661),aO=r(24311),aU=r(28738),aj=r(77974);r(73930);var a$=r(8794);r(89958),r(40190);r(85356);r(40483),r(97797);var aq=r(76799),aG=r(37688);(rN||(rN={})).is=function(e){return e&&"function"==typeof e.parseNotebookOpen};var aW=r(23729),aB=r.n(aW);try{(null==(d=r(38749))?void 0:d.createHash)||(d=void 0)}catch{}let aV=(null==d?void 0:d.createHash)||aB();function aH(e){return aV("sha256").update(e).digest("hex")}function aK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let aJ="language_server/";var aQ=((ef={}).SERVER_SIDE_REQUEST="server_side_request",ef.ANALYSIS_COMPLETE="analysis_complete",ef.ANALYSIS_EXCEPTION="analysis_exception",ef.COMPLETION_ACCEPTED="completion_accepted",ef.COMPLETION_COVERAGE="completion_coverage",ef.SETTINGS="settings",ef.WORKSPACEINDEX_THRESHOLD_REACHED="workspaceindex_threshold_reached",ef.FIX_ALL="fix_all",ef.RENAME_FILES="rename_files",ef.EXECUTE_COMMAND="execute_command",ef.MCP_TOOL="mcp_tool",ef.COPILOT_HOVER="copilot_hover",ef.DOCUMENTCOLOR_SLOW="documentcolor_slow",ef.INDEX_SLOW="index_slow",ef.HOVER_SLOW="hover_slow",ef.COMPLETION_SLOW="completion_slow",ef.FORMATONTYPE_SLOW="formatontype_slow",ef.SEMANTICTOKENS_SLOW="semantictokens_slow",ef.INLAYHINTS_SLOW="inlayhints_slow",ef.WORKSPACEINDEX_SLOW="workspaceindex_slow",ef.RESOLVE_INLAYHINTS_SLOW="resolve_inlayhints_slow",ef.COMPLETION_CONTEXT_ITEMS_SLOW="completion_context_items_slow",ef.TYPECHECKING_SLOW="typechecking_slow",ef.IMPORT_METRICS="import_metrics",ef.STARTUP_METRICS="startup_metrics",ef.COMPLETION_METRICS="completion_metrics",ef.GOTODEF_INSIDE_STRING="goto_def_inside_string",ef.INSTALLED_PACKAGES="installed_packages",ef.RECOMMENDATION="recommendation",ef.COMPLETION_CONTEXT_ITEMS="completion_context_items",ef);function aX(e){return`${aJ}${e}`}aX("import_metrics"),aX("startup_metrics"),aX("completion_metrics"),aX("goto_def_inside_string"),aX("installed_packages");class aY{clone(){let e=new aY(this.EventName.substr(aJ.length),this.Exception);for(let t in this.Properties)e.Properties[t]=this.Properties[t];for(let t in this.Measurements)e.Measurements[t]=this.Measurements[t];return e}constructor(e,t){aK(this,"EventName",void 0),aK(this,"Properties",{lsVersion:oh}),aK(this,"Measurements",{}),aK(this,"Exception",void 0),this.EventName=aX(e),this.Exception=function(e){if(e){let t=(0,oB.II)(e);return(null==t?void 0:t.stack)&&(t.stack=t.stack.replace(/\s+at\s+(.*)\s+\(.*(pyright\.bundle\.js:\d+:\d+|server\.bundle\.js:\d+:\d+).*\)/g," at $1 ($2)")),(null==t?void 0:t.message)&&(t.message=t.message.replace(/open\s+'(.*[/|\\])(.*)[/|\\](.*?\.wasm)/g,"open '$2.$3")),t}}(t)}}(rM||(rM={})).is=function(e){return e&&void 0!==e.sendTelemetry},(rR||(rR={})).sendStubCompletionTelemetryForMissingTypes=function(e,t,r){if((null==t?void 0:t.items.length)===0&&(null==r?void 0:r.lastKnownModule)&&r.lastKnownModule.length>0){let t=new aY("completion_metrics");(function(e,t){for(let[r,i]of Object.entries(t))if((0,oP.Kg)(i)){let t=i.toLowerCase();t&&(e.Properties[r+"Hash"]=aH(t))}if(t.lastKnownModule){let r=t.lastKnownModule.split(".")[0].toLowerCase();r&&(e.Properties.packageHash=aH(r))}})(t,r),g&&clearTimeout(g),g=setTimeout(()=>{e.sendTelemetry(t)},2e3)}},(rL||(rL={})).CompletionTelemetry=class{update(e,t){!t||((null==e?void 0:e.items.length)?this._event.Measurements.successes+=1:this._event.Measurements.failures+=1,this._event.Measurements.total+=1,this._timer||(this._timer=setTimeout(()=>{this._event.Measurements.overallSuccesses+=this._event.Measurements.successes,this._event.Measurements.overallFailures+=this._event.Measurements.failures,this._event.Measurements.overallTotal+=this._event.Measurements.total,this._service.sendTelemetry(this._event),this._event.Measurements.successes=0,this._event.Measurements.failures=0,this._event.Measurements.total=0,this._timer&&(clearTimeout(this._timer),this._timer=void 0)},3e5)))}_initStats(e){e.Measurements.successes=0,e.Measurements.failures=0,e.Measurements.total=0,e.Measurements.overallSuccesses=0,e.Measurements.overallFailures=0,e.Measurements.overallTotal=0}constructor(e){aK(this,"_service",void 0),aK(this,"_timer",void 0),aK(this,"_event",void 0),this._service=e,this._event=new aY("completion_coverage"),this._initStats(this._event)}};class aZ{get(e){if((null==e?void 0:e.id)===void 0)return;let t=e.id>>20,r=1048575&e.id;if(t>=this._cache.length)return;let i=this._cache[t];if(!(r>=i.length))return i[r]}add(e,t){let r=e%this._cache.length,i=this._cache[r],n=i.length;return i.push(t),{id:r<<20|n}}constructor(e){var t,r;r=[],(t="_cache")in this?Object.defineProperty(this,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[t]=r;const i=Math.min(e,4096);for(let e=0;e<i;e++)this._cache.push([])}}function a0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class a1 extends aZ{static get(){return a1._instance}static toLSP(e){if(!a1._instance._supported)return e;for(let t of(a1._instance._counter++,e.items))t.data=a1._instance.add(a1._instance._counter,t.data);return e}static fromLSP(e){return a1._instance._supported&&e.data&&"id"in e.data&&(e.data=a1._instance.get(e.data)),e}onUpdateSettings(e){var t;this._supported=null!=(t=e.cacheLSPData)&&t}constructor(){super(5),a0(this,"_supported",!1),a0(this,"_counter",0)}}a0(a1,"_instance",new a1);var a2=r(80942),a4=r(9774),a3=r(34788),a8=r(60327),a6=r(29165);function a5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r(8963),r(78937);class a9{static available(){return!!a9._instance}notify(e){this._connection&&rP.sendNotification(this._connection,rP.Notifications.TestSignal,e)}onChildProcessStarted(e){this.notify({kind:rP.TestSignalKinds.ChildProcessStarted,data:e})}onReanalysisRequested(){this.notify({kind:rP.TestSignalKinds.ReanalysisRequested,data:1})}constructor(e,t){a5(this,"_console",void 0),a5(this,"_connection",void 0),a5(this,"_isTestService",void 0),this._console=e,this._connection=t,this._isTestService=!0,a9._instance=this,a9.log=e=>this._console.info(e)}}a5(a9,"_instance",void 0),a5(a9,"is",e=>e&&e._isTestService),a5(a9,"log",e=>{}),r(90930);var a7=r(97759),se=(r(94907),r(40370)),st=r(74537);function sr(e){var t;let r=(0,aF.Ji)(e);if(r)return null!=(t=sr(r))?t:r.d.name}function si(e){let t=[e.d.name.d.value],r=e;for(;r;)(r=(0,aF.Ji)(r))&&t.push(r.d.name.d.value);return t.reverse()}function sn(e){return!!(0,a$.fn)(e)||(0,aj.D4)(e)&&"typing"===e.shared.moduleName&&"Optional"===e.shared.name}function so(e){return!!(0,aj.mi)(e)||(0,aj.D4)(e)&&"typing"===e.shared.moduleName&&"Union"===e.shared.name}function sa(e,t,r,i,n){var o;let a=e.evaluator.getType(t);if(a){if(!(0,aj.FS)(a))return;return ss(e,a.priv.fileUri,r,i,n)}let s=null==(o=e.evaluator.getDeclInfoForNameNode(t))?void 0:o.decls;for(let t of null!=s?s:[])if((0,aO.D5)(t)&&!t.submoduleFallback)return ss(e,t.uri,r,i,n)}function ss(e,t,r,i,n){let o=e.getSourceFileInfo(t);if(!o)return;e.getParseResults(t);let a=e.getModuleSymbolTable(t);if(!a)return;let s=a.get(n);if(s&&sl(e,i,s,t))return{module:r,outermostName:n};if((0,a8.xX)(o))for(let n of a){let o=n[0],a=n[1];if(!((0,aq.$4)(o)||(0,aq.SW)(o)||a.isExternallyHidden())&&sl(e,i,a,t))return{module:r,outermostName:o}}}function sl(e,t,r,i){return r.getDeclarations().some(n=>{let o=e.evaluator.resolveAliasDeclaration(n,!0,{allowExternallyHiddenAccess:!0,skipFileNeededCheck:!0});return!(!o||(0,aj.D4)(t)&&!t.priv.aliasName&&!t.shared.fileUri.equals(o.uri))&&!!function(e,t,r){var i;if(t.equals(r)||!((i=e.getSourceFileInfo(t))&&i.isTypeshedFile&&!i.isThirdPartyImport))return!0;let n=e.getSourceFileInfo(r);return null!=n&&!!n.isTypeshedFile&&!!n.isThirdPartyImport&&"typing_extensions.pyi"===r.fileName}(e,o.uri,i)&&sc(t,e.evaluator.getInferredTypeOfDeclaration(r,o))})}function sc(e,t){return void 0!==t&&(!!(so(e)&&so(t))||(e=sd(e),t=sd(t),!!((0,aj.D4)(e)&&(0,aj.D4)(t)&&aj.p5.isSameGenericClass(aj.p5.cloneAsInstance(e),aj.p5.cloneAsInstance(t)))||(0,aj.J5)(e,t,{ignoreTypeFlags:!0})))}function sd(e){if((0,aj.D4)(e))switch(e.shared.fullName){case"typing.NoReturn":return aj.Xl.createNoReturn();case"typing.Never":return aj.Xl.createNever()}return e}r(40271),se.gw,r(90370),r(67240),r(83414),a6.op,(ey=rO||(rO={})).BuildError=-1,ey.IntellisenseError=-2,ey.PotentialDuplicate=-3,ey.HiddenInErrorList=-4,ey.VisibleInErrorList=-5,ey.HiddenInEditor=-6,ey.SuppressEditorToolTip=-7,ey.EditAndContinueError=-8,ey.TaskItem=-9,(ev=rU||(rU={})).Highest=100,ev.High=200,ev.Default=300,ev.Low=400,ev.Lowest=500;var su=r(61407);function sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}(e_=rj||(rj={})).ReturnSymbolName="__return__",e_.InvalidHandle=-1,(eb=e_.TypeServerVersion||(e_.TypeServerVersion={})).v0_1_0="0.1.0",eb.v0_2_0="0.2.0",eb.v0_3_0="0.3.0",eb.current="0.4.0",(ew=e_.TypeFlags||(e_.TypeFlags={}))[ew.None=0]="None",ew[ew.Instantiable=1]="Instantiable",ew[ew.Instance=2]="Instance",ew[ew.Callable=4]="Callable",ew[ew.Literal=8]="Literal",ew[ew.Interface=16]="Interface",ew[ew.Generic=32]="Generic",ew[ew.FromAlias=64]="FromAlias",ew[ew.Unpacked=128]="Unpacked",ew[ew.Optional=256]="Optional",ew[ew.Unbound=512]="Unbound",(ek=e_.DeclarationCategory||(e_.DeclarationCategory={}))[ek.Intrinsic=0]="Intrinsic",ek[ek.Variable=1]="Variable",ek[ek.Param=2]="Param",ek[ek.TypeParam=3]="TypeParam",ek[ek.TypeAlias=4]="TypeAlias",ek[ek.Function=5]="Function",ek[ek.Class=6]="Class",ek[ek.Import=7]="Import",(eC=e_.TypeKind||(e_.TypeKind={}))[eC.BuiltIn=0]="BuiltIn",eC[eC.Declared=1]="Declared",eC[eC.Function=2]="Function",eC[eC.Class=3]="Class",eC[eC.Union=4]="Union",eC[eC.Module=5]="Module",eC[eC.TypeVar=6]="TypeVar",eC[eC.Overloaded=7]="Overloaded",eC[eC.Synthesized=8]="Synthesized",eC[eC.TypeReference=9]="TypeReference",(eS=e_.DeclarationKind||(e_.DeclarationKind={}))[eS.Regular=0]="Regular",eS[eS.Synthesized=1]="Synthesized",(eT=e_.Variance||(e_.Variance={}))[eT.Auto=0]="Auto",eT[eT.Unknown=1]="Unknown",eT[eT.Invariant=2]="Invariant",eT[eT.Covariant=3]="Covariant",eT[eT.Contravariant=4]="Contravariant",(ex=e_.GetComputedTypeRequest||(e_.GetComputedTypeRequest={})).method="typeServer/getComputedType",ex.messageDirection=su.MessageDirection.clientToServer,ex.type=new su.ProtocolRequestType(ex.method),(eP=e_.GetDeclaredTypeRequest||(e_.GetDeclaredTypeRequest={})).method="typeServer/getDeclaredType",eP.messageDirection=su.MessageDirection.clientToServer,eP.type=new su.ProtocolRequestType(eP.method),(eA=e_.GetExpectedTypeRequest||(e_.GetExpectedTypeRequest={})).method="typeServer/getExpectedType",eA.messageDirection=su.MessageDirection.clientToServer,eA.type=new su.ProtocolRequestType(eA.method),(eI=e_.GetPythonSearchPathsRequest||(e_.GetPythonSearchPathsRequest={})).method="typeServer/getPythonSearchPaths",eI.messageDirection=su.MessageDirection.clientToServer,eI.type=new su.ProtocolRequestType(eI.method),(eF=e_.GetSnapshotRequest||(e_.GetSnapshotRequest={})).method="typeServer/getSnapshot",eF.messageDirection=su.MessageDirection.clientToServer,eF.type=new su.ProtocolRequestType0(eF.method),(ez=e_.GetSupportedProtocolVersionRequest||(e_.GetSupportedProtocolVersionRequest={})).method="typeServer/getSupportedProtocolVersion",ez.messageDirection=su.MessageDirection.clientToServer,ez.type=new su.ProtocolRequestType0(ez.method),(eD=e_.ResolveImportRequest||(e_.ResolveImportRequest={})).method="typeServer/resolveImport",eD.messageDirection=su.MessageDirection.clientToServer,eD.type=new su.ProtocolRequestType(eD.method),(eE=e_.SnapshotChangedNotification||(e_.SnapshotChangedNotification={})).method="typeServer/snapshotChanged",eE.messageDirection=su.MessageDirection.serverToClient,eE.type=new su.ProtocolNotificationType(eE.method);class sp{queue(e){if(this._isDisposed)return Promise.reject(Error("Throttler is disposed"));if(this._activePromise){if(this._queuedPromiseFactory=e,!this._queuedPromise){let e=()=>{if(this._queuedPromise=null,this._isDisposed)return;let e=this.queue(this._queuedPromiseFactory);return this._queuedPromiseFactory=null,e};this._queuedPromise=new Promise((t,r)=>{this._activePromise.then(e,e).then(t).catch(r)})}return new Promise((e,t)=>{this._queuedPromise.then(e,t)})}return this._activePromise=e(),new Promise((e,t)=>{this._activePromise.then(t=>{this._activePromise=null,e(t)},e=>{this._activePromise=null,t(e)})})}dispose(){this._isDisposed=!0}constructor(){sm(this,"_activePromise",void 0),sm(this,"_queuedPromise",void 0),sm(this,"_queuedPromiseFactory",void 0),sm(this,"_isDisposed",!1),this._activePromise=null,this._queuedPromise=null,this._queuedPromiseFactory=null}}class sh{trigger(e,t=this.defaultDelay){let r,i,n;this._task=e,this._cancelTimeout(),this._completionPromise||(this._completionPromise=new Promise((e,t)=>{this._doResolve=e,this._doReject=t}).then(()=>{if(this._completionPromise=null,this._doResolve=null,this._task){let e=this._task;return this._task=null,e()}}));let o=()=>{var e;this._deferred=null,null==(e=this._doResolve)||e.call(this,null)};return this._deferred=-1===t?(r=!0,queueMicrotask(()=>{r&&(r=!1,o())}),{isTriggered:()=>r,dispose:()=>{r=!1}}):(i=!0,n=setTimeout(()=>{i=!1,o()},t),{isTriggered:()=>i,dispose:()=>{clearTimeout(n),i=!1}}),this._completionPromise}isTriggered(){var e;return!!(null==(e=this._deferred)?void 0:e.isTriggered())}cancel(){if(this._cancelTimeout(),this._completionPromise){var e;null==(e=this._doReject)||e.call(this,new ow.YS),this._completionPromise=null}}dispose(){this.cancel()}_cancelTimeout(){var e;null==(e=this._deferred)||e.dispose(),this._deferred=null}constructor(e){sm(this,"defaultDelay",void 0),sm(this,"_deferred",void 0),sm(this,"_completionPromise",void 0),sm(this,"_doResolve",void 0),sm(this,"_doReject",void 0),sm(this,"_task",void 0),this.defaultDelay=e,this._deferred=null,this._completionPromise=null,this._doResolve=null,this._doReject=null,this._task=null}}class sg{trigger(e,t){return this._delayer.trigger(()=>this._throttler.queue(e),t)}isTriggered(){return this._delayer.isTriggered()}cancel(){this._delayer.cancel()}dispose(){this._delayer.dispose(),this._throttler.dispose()}constructor(e){sm(this,"_delayer",void 0),sm(this,"_throttler",void 0),this._delayer=new sh(e),this._throttler=new sp}}aI.ResponseError,a2.d9,a2.b9,r(86450),r(68936),r(25111),r(73437),r(90355),r(74469);var sf=r(41880);r(60115),r(67995),r(32549),r(26031),r(73939),r(25243),r(77398),r(64424),r(49528),aR.hu.Add,aR.hu.Subtract,aR.hu.Multiply,aR.hu.FloorDivide,aR.hu.Divide,aR.hu.Mod,aR.hu.Power,aR.hu.MatrixMultiply,aR.hu.BitwiseAnd,aR.hu.BitwiseOr,aR.hu.BitwiseXor,aR.hu.LeftShift,aR.hu.RightShift,aR.hu.Equals,aR.hu.NotEquals,aR.hu.LessThan,aR.hu.LessThanOrEqual,aR.hu.GreaterThan,aR.hu.GreaterThanOrEqual,aR.hu.And,aR.hu.Or,aR.hu.Is,aR.hu.IsNot,aR.hu.In,aR.hu.NotIn,r(94574),(r$||(r$={})).create=function(){let e=new Set;return{event:t=>(e.add(t),{dispose:()=>e.delete(t)}),fire:t=>{for(let r of e)r(t)},dispose:()=>e.clear()}},new WeakMap,r(1536),r(88051),r(47075);let sy=/Python classes: \[(.*)\]/,sv=/Python files: \[(.*)\]/,s_=/Python functions: \[(.*)\]/;class sb{async getOptions(e,t,r,i,n){var o;this._cancelSource.cancel();let a=(o=t.getModulePath(),o.combinePaths("bundled","files")).combinePaths("get_pytest_options.py"),s="default",l=["Test"],c=["test_*.py","*_test.py"],d=["test"],u=this._getExtraArgs(i);this._cancelSource=new aI.CancellationTokenSource;let m=setTimeout(()=>this._cancelSource.cancel(),n);try{let t=await e.runScript(null==i?void 0:i.pythonPath,a,u,r,this._cancelSource.token);if(!t)throw new ow.YS;t.stdout.split("\n").forEach(e=>{let t=e.trim(),r=sy.exec(t),i=sv.exec(t),n=s_.exec(t);r?l=r[1].replace(/'/g,"").split(",").map(e=>e.trim()):i?c=i[1].replace(/'/g,"").split(",").map(e=>e.trim()):n&&(d=n[1].replace(/'/g,"").split(",").map(e=>e.trim()))}),s="script"}catch(e){s=e.message}finally{clearTimeout(m)}return{message:s,classes:l,files:c,functions:d}}_getExtraArgs(e){var t;let r=[],i=null==(t=e.testing)?void 0:t.pytestArgs;return Array.isArray(i)&&r.push(...i),r}constructor(){var e,t;e="_cancelSource",t=new aI.CancellationTokenSource,e in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}}function sw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let sk=["cacheprovider.py","capture.py","doctest.py","fixtures.py","junitxml.py","legacypath.py","logging.py","monkeypatch.py","recwarn.py","tmpdir.py"];function sC(e){try{let t=/[*?[]/.test(e),r="^",i=0;for(;i<e.length;){let t=e[i];if("*"===t)r+=".*?",i++;else if("?"===t)r+=".",i++;else if("["===t){let t=e.indexOf("]",i+1);if(-1===t)r+="\\[",i++;else{let n=e.slice(i+1,t);n.startsWith("!")&&(n="^"+n.slice(1)),r+="["+n+"]",i=t+1}}else".+^${}()|\\".includes(t)?r+="\\"+t:r+=t,i++}return r+=t?"$":".*",RegExp(r)}catch{let t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return RegExp(`^${t}.*`)}}class sS{async overrideQueryOptionsForTests(e){await this.updateQueryOptions();let t=this._cachedQueryOptions;return this._cachedQueryOptions=sS._generateQueryOptionsRegexesFromOptions(e),()=>{this._cachedQueryOptions=t}}onFileDirty(e){this.cachedUserFixturesMap.delete(e),this.cachedPredefinedFixturesMap.delete(e)}onClearCache(){this.cachedUserFixturesMap.clear(),this.cachedPredefinedFixturesMap.clear()}onUpdateSettings(e){(null==e?void 0:e.hostKind)!==void 0&&(this.hostKind=e.hostKind),this.updatePythonPaths()}isTestFunction(e){var t;let r=e.nodeType===aM.ye.Function?e:(null==(t=e.parent)?void 0:t.nodeType)===aM.ye.Function?e.parent:void 0;if(!r)return!1;let i=this.getProgram().getUri(r);if(this.isTestFile(i)&&this._isTestFunction(r)){let e=r.parent?(0,aF.Ji)(r.parent):void 0;if(!e||this._isTestClass(e))return this.hasPytest()}return!1}isTestFile(e){if("conftest"===e.fileNameWithoutExtensions)return!0;let t=this._getQueryOptions(),r=e.fileName;return t.files.some(e=>e.test(r))}get fileSystem(){return this.getProgram().fileSystem}getPredefinedFixturePaths(e){return e?(this._cachedPredefinedFixturePaths||(this._cachedPredefinedFixturePaths=e?sk.map(t=>e.combinePaths(t)):[]),this._cachedPredefinedFixturePaths):[]}getSourceFileInfo(e){return this.getProgram().getSourceFileInfo(e)||(this.fileSystem.existsSync(e)&&a7.mM.some(t=>e.hasExtension(t))?(this.getProgram().addInterimFile(e),this.getProgram().getSourceFileInfo(e)):void 0)}getModuleNode(e){var t;if(this.getSourceFileInfo(e))return null==(t=this.getProgram().getParserOutput(e))?void 0:t.parseTree}updatePythonPaths(){this.cachedPytestPath=void 0,this._cachedPredefinedFixturePaths=void 0,this.cachedPredefinedFixtures=[],this.cachedPredefinedFixturesMap.clear(),this._cachedQueryOptions=void 0,this._queryPromise=void 0,this.updateQueryOptions()}async updateQueryOptions(){let e=this.getHost();this._cachedQueryOptions||this._queryPromise||(null==e?void 0:e.kind)!==this.hostKind||(this._queryPromise=this._updateQueryOptionsImpl(e)),this._queryPromise&&await this._queryPromise}async _updateQueryOptionsImpl(e){let t=this.getProgram().configOptions,r=this.getProgram().fileSystem,i=e?await this._pytestQueryEngine.getOptions(e,r,this.getProgram().rootPath,t,sS.queryTimeout):void 0,n=this.getProgram().serviceProvider.tryGet(aE.y.console);n&&n.log(`pytest configurations: ${JSON.stringify(i)}`),this._cachedQueryOptions=this._generateQueryOptionsRegexes(i)}_isTestFunction(e){return this._getQueryOptions().functions.some(t=>t.test(e.d.name.d.value))}_isTestClass(e){return this._getQueryOptions().classes.some(t=>t.test(e.d.name.d.value))}_getQueryOptions(){return this._cachedQueryOptions?this._cachedQueryOptions:this._defaultQueryOptions}static _generateQueryOptionsRegexesFromOptions(e){return{classes:e.classes.map(sC),files:e.files.map(sC),functions:e.functions.map(sC)}}_generateQueryOptionsRegexes(e){return e?sS._generateQueryOptionsRegexesFromOptions(e):this._defaultQueryOptions}constructor(e){sw(this,"getProgram",void 0),sw(this,"_defaultQueryOptions",void 0),sw(this,"_pytestQueryEngine",void 0),sw(this,"cachedPytestPath",void 0),sw(this,"cachedPredefinedFixtures",void 0),sw(this,"_cachedPredefinedFixturePaths",void 0),sw(this,"cachedUserFixturesMap",void 0),sw(this,"cachedPredefinedFixturesMap",void 0),sw(this,"hostKind",void 0),sw(this,"_cachedQueryOptions",void 0),sw(this,"_queryPromise",void 0),this.getProgram=e,this._defaultQueryOptions={classes:[/^Test.*/],files:[/^test_.*?\.py$/,/^.*?_test\.py$/],functions:[/^test.*/]},this._pytestQueryEngine=new sb,this.cachedPredefinedFixtures=[],this.cachedUserFixturesMap=new aL.Z,this.cachedPredefinedFixturesMap=new aL.Z,this.hostKind=sf.n.NoAccess}}function sT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}sw(sS,"queryTimeout",1e4),(eN=rq||(rq={})).pythonSectionName="python",eN.pythonAnalysisSectionName="python.analysis",eN.editorSectionName="editor",eN.jupyterSectionName="jupyter",eN.copilotSectionName="github.copilot.chat",(rG||(rG={})).is=function(e){return void 0!==e.createHost};class sx{getIndices(e){let t=this._indicesPerService,r=a9.available()?()=>{if(a9.log(`GlobalIndices: program ${e.id} request indices`),0===t.size)a9.log("GlobalIndices: no indices");else for(let[e,r]of t){let t=r.libraryPerExecEnv;if(0===t.size)a9.log(`GlobalIndices: ${e} no library indices`);else for(let[r,i]of t)0===i.size?a9.log(`GlobalIndices: ${e} ${r.toString()} no indices`):a9.log(`GlobalIndices: ${e} ${r.toString()} indices: ${[...i.keys()].join(",")}`)}}:()=>{},i=this._getOrAddMapData(e.id);return{setWorkspaceIndex(t,r){let n=e.getSourceFileInfo(t);n&&(null==i||i.workspace.set(n,r))},clearWorkspaceIndices(){i.workspace=new WeakMap},getSourceIndex(t){let r=e.getSourceFileInfo(t);return r?null==i?void 0:i.workspace.get(r):void 0},getLibraryIndices:e=>(r(),null==i?void 0:i.libraryPerExecEnv.get(null!=e?e:oW.z.empty()))}}cloneIndex(e,t,r,i){if(this._lastLibraryMap&&this._usable(this._lastLibraryMap,t)){let n=this._lastLibraryMap.get(r);if(this._clonable(n,i))return this.setIndex(e,t,r,n,i),!0;this._lastLibraryMap=void 0}for(let n of this._indicesPerService.values())for(let o of n.libraryPerExecEnv.values()){if(!this._usable(o,t))continue;let n=o.get(r);if(this._clonable(n,i))return this._lastLibraryMap=o,this.setIndex(e,t,r,n,i),!0}return!1}cloneOrSetIndex(e,t,r,i,n){n&&this.cloneIndex(e,t,r,n)||this.setIndex(e,t,r,i,n)}setIndex(e,t,r,i,n){var o;let a=this._getOrAddMapData(e),s=(0,ou.PD)(a.libraryPerExecEnv,null!=(o=t.root)?o:oW.z.empty(),()=>new sP(t.pythonVersion,t.pythonPlatform));i.timestamp===n?s.set(r,i):s.set(r,{...i,timestamp:n})}reset(e,t=!1,r=!1){if(r&&(this._fileCache=void 0,this._hostCache=void 0,this._persistedLibrary.clear()),t){a9.log(`GlobalIndices: reset library for service ${e}`);let t=this._indicesPerService.get(e);null==t||t.libraryPerExecEnv.clear();return}this._indicesPerService.delete(e)}setFileCache(e){this._fileCache=e}getFileCache(){return this._fileCache}setHostCache(e){this._hostCache=e}getHostCache(){return this._hostCache}setPersistLibrary(e,t){this._persistedLibrary.set(e,t)}getPersistLibrary(e){return this._persistedLibrary.get(e)}requestComplete(e){let t=this._pendingIndexing.get(e);t&&(t.resolve(),this._pendingIndexing.delete(e))}indexingStarted(e){this._pendingIndexing.has(e)||this._pendingIndexing.set(e,(0,aT.ud)())}isIndexingInProgress(e){return this._pendingIndexing.has(e)}async waitForIndexingComplete(e,t){let r=this._pendingIndexing.get(e);r&&await Promise.race([r.promise,new Promise((e,r)=>{var i;t.isCancellationRequested&&r(Error("Cancelled")),null==(i=t.onCancellationRequested)||i.call(t,()=>r(Error("Cancelled")))})]).catch(()=>{(0,ow.Lj)(t)})}_getOrAddMapData(e){return(0,ou.PD)(this._indicesPerService,e,()=>({libraryPerExecEnv:new aL.Z,workspace:new WeakMap}))}_usable(e,t){return e.pythonPlatform===t.pythonPlatform&&e.pythonVersion===t.pythonVersion}_clonable(e,t){return!!e&&(!e.timestamp||e.timestamp===t)}constructor(){sT(this,"_fileCache",void 0),sT(this,"_hostCache",void 0),sT(this,"_persistedLibrary",new Map),sT(this,"_indicesPerService",new Map),sT(this,"_lastLibraryMap",void 0),sT(this,"_pendingIndexing",new Map)}}sT(sx,"empty",{getIndices:e=>({getSourceIndex:e=>void 0,getLibraryIndices:e=>void 0})}),(eM=sx||(sx={})).is=function(e){return e instanceof eM};class sP extends aL.Z{constructor(e,t){super(),sT(this,"pythonVersion",void 0),sT(this,"pythonPlatform",void 0),this.pythonVersion=e,this.pythonPlatform=t}}function sA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class sI{enqueue(e){let t=this._list.findIndex(t=>this._equalityChecker(t,e));-1!==t&&this._list.splice(t,1),this._list.unshift(e),this._list.length>this._size&&this._list.pop()}get(e){return this._list.filter(t=>this._keyGetter(t)===e)}take(e){return this._list.slice(0,Math.max(0,Math.min(e,this._list.length)))}constructor(e,t,r=(e,t)=>e===t){sA(this,"_size",void 0),sA(this,"_keyGetter",void 0),sA(this,"_equalityChecker",void 0),sA(this,"_list",void 0),this._size=e,this._keyGetter=t,this._equalityChecker=r,this._list=[]}}function sF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class sz{getGlobalMRUQueue(e){return this._getQueue(this._globalMRUQueueMap,e)}getProgramMRUQueue(e,t){let r=this._programMRUQueueMap.get(e);return r||(r=new Map,this._programMRUQueueMap.set(e,r)),this._getQueue(r,t)}_getQueue(e,t){let r=e.get(t.name);return r||(r=new sI(t.maxSize,t.keyGetter,t.equalityChecker),e.set(t.name,r)),r}constructor(){sF(this,"_globalMRUQueueMap",new Map),sF(this,"_programMRUQueueMap",new WeakMap)}}(sz||(sz={})).is=function(e){return void 0!==e.getGlobalMRUQueue&&void 0!==e.getProgramMRUQueue};var sD=r(66641),sE=r(8745),sN=r(85917);let sM=new Map([["absl","absl-py"],["adal","adal"],["aenum","aenum"],["aiobotocore","aiobotocore"],["aioconsole","aioconsole"],["aiofiles","aiofiles"],["aiohttp","aiohttp"],["aioitertools","aioitertools"],["aiosignal","aiosignal"],["alabaster","alabaster"],["alembic","alembic"],["altair","altair"],["amqp","amqp"],["aniso8601","aniso8601"],["ansible_collections","ansible"],["ansible","ansible-core"],["ansible_test","ansible-core"],["antlr4","antlr4-python3-runtime"],["anyio","anyio"],["airflow",new Set(["apache-airflow-providers-ftp","apache-airflow-providers-sqlite","apache-airflow-providers-http","apache-airflow","apache-airflow-providers-imap","apache-airflow-providers-common-sql","apache-airflow-providers-amazon"])],["apache_beam","apache-beam"],["apispec","apispec"],["appdirs","appdirs"],["applicationinsights","applicationinsights"],["apscheduler","apscheduler"],["argcomplete","argcomplete"],["_argon2_cffi_bindings","argon2-cffi-bindings"],["argparse","argparse"],["arrow","arrow"],["asgiref","asgiref"],["asn1crypto","asn1crypto"],["astor","astor"],["astroid","astroid"],["asttokens","asttokens"],["astunparse","astunparse"],["async_generator","async-generator"],["async_timeout","async-timeout"],["asyncio","asyncio"],["asynctest","asynctest"],["atomicwrites","atomicwrites"],["attr","attrs"],["attrs","attrs"],["authlib","authlib"],["autocommand","autocommand"],["automat","automat"],["autopage","autopage"],["autopep8","autopep8"],["avro",new Set(["avro-python3","avro"])],["aws_cdk",new Set(["aws-cdk.aws-glue","aws-cdk.aws-logs-destinations"])],["psycopg2",new Set(["aws-psycopg2","psycopg2-binary"])],["aws_requests_auth","aws-requests-auth"],["samtranslator","aws-sam-translator"],["aws_xray_sdk","aws-xray-sdk"],["awscli","awscli"],["awswrangler","awswrangler"],["azure.appconfiguration","azure-appconfiguration"],["azure.batch","azure-batch"],["azure",new Set(["azure-datalake-store","azure-storage-file-share","azure-cli","azure-devops","azure-cosmosdb-nspkg","azure-cosmosdb-table","azure-kusto-data","azure-storage-file-datalake"])],["azure.cli.core","azure-cli-core"],["azure.cli.telemetry","azure-cli-telemetry"],["azure.common","azure-common"],["azure.core","azure-core"],["azure.cosmos","azure-cosmos"],["azure.data.tables","azure-data-tables"],["azure.eventgrid","azure-eventgrid"],["azure.eventhub","azure-eventhub"],["azure.graphrbac","azure-graphrbac"],["azure.identity","azure-identity"],["azure.keyvault.certificates","azure-keyvault-certificates"],["azure.keyvault.keys","azure-keyvault-keys"],["azure.keyvault.secrets","azure-keyvault-secrets"],["azure.kusto.ingest","azure-kusto-ingest"],["azure.loganalytics","azure-loganalytics"],["azure.mgmt.advisor","azure-mgmt-advisor"],["azure.mgmt.apimanagement","azure-mgmt-apimanagement"],["azure.mgmt.applicationinsights","azure-mgmt-applicationinsights"],["azure.mgmt.authorization","azure-mgmt-authorization"],["azure.mgmt.batch","azure-mgmt-batch"],["azure.mgmt.batchai","azure-mgmt-batchai"],["azure.mgmt.billing","azure-mgmt-billing"],["azure.mgmt.cdn","azure-mgmt-cdn"],["azure.mgmt.cognitiveservices","azure-mgmt-cognitiveservices"],["azure.mgmt.compute","azure-mgmt-compute"],["azure.mgmt.consumption","azure-mgmt-consumption"],["azure.mgmt.containerinstance","azure-mgmt-containerinstance"],["azure.mgmt.containerregistry","azure-mgmt-containerregistry"],["azure.mgmt.containerservice","azure-mgmt-containerservice"],["azure.mgmt.core","azure-mgmt-core"],["azure.mgmt.cosmosdb","azure-mgmt-cosmosdb"],["azure.mgmt.datafactory","azure-mgmt-datafactory"],["azure.mgmt.datalake.analytics","azure-mgmt-datalake-analytics"],["azure.mgmt.datalake.store","azure-mgmt-datalake-store"],["azure.mgmt.datamigration","azure-mgmt-datamigration"],["azure.mgmt.devtestlabs","azure-mgmt-devtestlabs"],["azure.mgmt.dns","azure-mgmt-dns"],["azure.mgmt.eventgrid","azure-mgmt-eventgrid"],["azure.mgmt.eventhub","azure-mgmt-eventhub"],["azure.mgmt.hdinsight","azure-mgmt-hdinsight"],["azure.mgmt.imagebuilder","azure-mgmt-imagebuilder"],["azure.mgmt.iotcentral","azure-mgmt-iotcentral"],["azure.mgmt.iothub","azure-mgmt-iothub"],["azure.mgmt.iothubprovisioningservices","azure-mgmt-iothubprovisioningservices"],["azure.mgmt.keyvault","azure-mgmt-keyvault"],["azure.mgmt.kusto","azure-mgmt-kusto"],["azure.mgmt.loganalytics","azure-mgmt-loganalytics"],["azure.mgmt.managedservices","azure-mgmt-managedservices"],["azure.mgmt.managementgroups","azure-mgmt-managementgroups"],["azure.mgmt.maps","azure-mgmt-maps"],["azure.mgmt.marketplaceordering","azure-mgmt-marketplaceordering"],["azure.mgmt.media","azure-mgmt-media"],["azure.mgmt.monitor","azure-mgmt-monitor"],["azure.mgmt.msi","azure-mgmt-msi"],["azure.mgmt.netapp","azure-mgmt-netapp"],["azure.mgmt.network","azure-mgmt-network"],["azure.mgmt.policyinsights","azure-mgmt-policyinsights"],["azure.mgmt.privatedns","azure-mgmt-privatedns"],["azure.mgmt.rdbms","azure-mgmt-rdbms"],["azure.mgmt.recoveryservices","azure-mgmt-recoveryservices"],["azure.mgmt.recoveryservicesbackup","azure-mgmt-recoveryservicesbackup"],["azure.mgmt.redis","azure-mgmt-redis"],["azure.mgmt.relay","azure-mgmt-relay"],["azure.mgmt.reservations","azure-mgmt-reservations"],["azure.mgmt.resource","azure-mgmt-resource"],["azure.mgmt.search","azure-mgmt-search"],["azure.mgmt.security","azure-mgmt-security"],["azure.mgmt.servicebus","azure-mgmt-servicebus"],["azure.mgmt.servicefabric","azure-mgmt-servicefabric"],["azure.mgmt.signalr","azure-mgmt-signalr"],["azure.mgmt.sql","azure-mgmt-sql"],["azure.mgmt.sqlvirtualmachine","azure-mgmt-sqlvirtualmachine"],["azure.mgmt.storage","azure-mgmt-storage"],["azure.mgmt.subscription","azure-mgmt-subscription"],["azure.mgmt.trafficmanager","azure-mgmt-trafficmanager"],["azure.mgmt.web","azure-mgmt-web"],["azure.multiapi.storage","azure-multiapi-storage"],["azure.servicebus","azure-servicebus"],["azure.storage.blob","azure-storage-blob"],["azure.storage.common","azure-storage-common"],["azure.storage.file","azure-storage-file"],["azure.storage.queue","azure-storage-queue"],["azureml","azureml-core"],["babel","babel"],["backcall","backcall"],["backoff","backoff"],["backports",new Set(["backports.functools-lru-cache","backports.csv","backports.weakref","configparser","backports.tempfile"])],["bandit","bandit"],["bcrypt","bcrypt"],["bs4","beautifulsoup4"],["bs4.builder","beautifulsoup4"],["bs4.tests","beautifulsoup4"],["billiard","billiard"],["binaryornot","binaryornot"],["bitarray","bitarray"],["bitstring","bitstring"],["black","black"],["bleach","bleach"],["blinker","blinker"],["blis","blis"],["bokeh","bokeh"],["boltons","boltons"],["boto","boto"],["boto3","boto3"],["boto3-stubs","boto3-stubs"],["botocore","botocore"],["bottle","bottle"],["brotli","brotli"],["build","build"],["cachecontrol","cachecontrol"],["cached_property","cached-property"],["cachelib","cachelib"],["cachetools","cachetools"],["cachy","cachy"],["catalogue","catalogue"],["catboost","catboost"],["cattrs","cattrs"],["celery","celery"],["cerberus","cerberus"],["certifi","certifi"],["cffi","cffi"],["cfgv","cfgv"],["cfn_clean","cfn-flip"],["cfn_flip","cfn-flip"],["cfn_tools","cfn-flip"],["cfnlint","cfn-lint"],["chardet","chardet"],["charset_normalizer","charset-normalizer"],["cheroot","cheroot"],["cherrypy","cherrypy"],["ciso8601","ciso8601"],["cleo","cleo"],["click","click"],["click_didyoumean","click-didyoumean"],["click_plugins","click-plugins"],["click_repl","click-repl"],["clickclick","clickclick"],["cliff","cliff"],["cligj","cligj"],["clikit","clikit"],["cloudpickle","cloudpickle"],["cmd2","cmd2"],["cmdstanpy","cmdstanpy"],["colorama","colorama"],["coloredlogs","coloredlogs"],["colorlog","colorlog"],["commonmark","commonmark"],["configargparse","configargparse"],["configobj","configobj"],["configparser","configparser"],["confluent_kafka","confluent-kafka"],["connexion","connexion"],["constantly","constantly"],["constructs","constructs"],["contextlib2","contextlib2"],["contourpy","contourpy"],["convertdate","convertdate"],["cookiecutter","cookiecutter"],["coverage","coverage"],["crashtest","crashtest"],["crcmod","crcmod"],["cron_descriptor","cron-descriptor"],["croniter","croniter"],["cryptography","cryptography"],["cssselect","cssselect"],["curlify","curlify"],["cycler","cycler"],["cymem","cymem"],["cython","cython"],["dask","dask"],["databricks_api","databricks-api"],["databricks_cli","databricks-cli"],["dataclasses","dataclasses"],["dataclasses_json","dataclasses-json"],["datadog","datadog"],["dateparser","dateparser"],["dateparser_data","dateparser"],["datetime","datetime"],["db_dtypes","db-dtypes"],["dbt","dbt-core"],["ddtrace","ddtrace"],["debugpy","debugpy"],["decorator","decorator"],["deepdiff","deepdiff"],["defusedxml","defusedxml"],["delta","delta-spark"],["deprecated","deprecated"],["deprecation","deprecation"],["dill","dill"],["distlib","distlib"],["distributed","distributed"],["distro","distro"],["django","django"],["corsheaders","django-cors-headers"],["django_extensions","django-extensions"],["django_filters","django-filter"],["storages","django-storages"],["rest_framework","djangorestframework"],["docker","docker"],["compose","docker-compose"],["dockerpycreds","docker-pycreds"],["docopt","docopt"],["docstring_parser","docstring-parser"],["docutils","docutils"],["dpath","dpath"],["dulwich","dulwich"],["dvc","dvc"],["dynaconf","dynaconf"],["ecdsa","ecdsa"],["elastic_transport","elastic-transport"],["elasticsearch","elasticsearch"],["elasticsearch_dsl","elasticsearch-dsl"],["email_validator","email-validator"],["emoji","emoji"],["entrypoints","entrypoints"],["enum","enum34"],["ephem","ephem"],["et_xmlfile","et-xmlfile"],["exceptiongroup","exceptiongroup"],["execnet","execnet"],["executing","executing"],["ezfnsetup","ezfnsetup"],["fabric","fabric"],["factory","factory-boy"],["faker","faker"],["fastapi","fastapi"],["fastavro","fastavro"],["fasteners","fasteners"],["fastjsonschema","fastjsonschema"],["fastparquet","fastparquet"],["feedparser","feedparser"],["filelock","filelock"],["findspark","findspark"],["fire","fire"],["flake8","flake8"],["flask","flask"],["flask_appbuilder","flask-appbuilder"],["flask_babel","flask-babel"],["flask_compress","flask-compress"],["flask_cors","flask-cors"],["flask_jwt_extended","flask-jwt-extended"],["flask_login","flask-login"],["flask_oidc","flask-oidc"],["flask_wtf","flask-wtf"],["flatbuffers","flatbuffers"],["flower","flower"],["fontTools","fonttools"],["fortnitepy","fortnitepy"],["freezegun","freezegun"],["frozendict","frozendict"],["frozenlist","frozenlist"],["fsspec","fsspec"],["ftfy","ftfy"],["funcsigs","funcsigs"],["future","future"],["libfuturize","future"],["libpasteurize","future"],["past","future"],["concurrent","futures"],["fuzzywuzzy","fuzzywuzzy"],["gast","gast"],["gcsfs","gcsfs"],["gensim","gensim"],["geographiclib","geographiclib"],["geoip2","geoip2"],["geopy","geopy"],["gevent","gevent"],["gitdb","gitdb"],["git","gitpython"],["googlesearch","google"],["google",new Set(["grpc-google-iam-v1","google-resumable-media","google-cloud-appengine-logging","google-cloud-bigquery-storage","google-cloud-audit-log","google-cloud-core","googleapis-common-protos","google-cloud-secret-manager","google-cloud-spanner","google-api-core"])],["apiclient","google-api-python-client"],["googleapiclient","google-api-python-client"],["googleapiclient.discovery_cache","google-api-python-client"],["apitools","google-apitools"],["google.auth","google-auth"],["google_auth_httplib2","google-auth-httplib2"],["google_auth_oauthlib","google-auth-oauthlib"],["google.cloud.bigquery","google-cloud-bigquery"],["google.cloud.bigtable","google-cloud-bigtable"],["google.cloud.datastore","google-cloud-datastore"],["google.cloud.dlp","google-cloud-dlp"],["google.cloud.firestore","google-cloud-firestore"],["google.cloud.kms","google-cloud-kms"],["google.cloud.language","google-cloud-language"],["google.cloud.logging","google-cloud-logging"],["google.cloud.monitoring","google-cloud-monitoring"],["google.cloud.pubsub","google-cloud-pubsub"],["google.cloud.pubsublite","google-cloud-pubsublite"],["google.cloud.storage","google-cloud-storage"],["google.cloud.videointelligence","google-cloud-videointelligence"],["google.cloud.vision","google-cloud-vision"],["google_crc32c","google-crc32c"],["pasta","google-pasta"],["graphframes","graphframes"],["graphql","graphql-core"],["graphviz","graphviz"],["great_expectations","great-expectations"],["scripts","great-expectations"],["greenlet","greenlet"],["gremlin_python","gremlinpython"],["grpc","grpcio"],["grpc_status","grpcio-status"],["grpc_tools","grpcio-tools"],["gspread","gspread"],["gspread_dataframe","gspread-dataframe"],["gslib","gsutil"],["gunicorn","gunicorn"],["h11","h11"],["h2","h2"],["h3","h3"],["h5py","h5py"],["hdfs","hdfs"],["heapdict","heapdict"],["hijri_converter","hijri-converter"],["hiredis","hiredis"],["holidays","holidays"],["holidays.countries","holidays"],["holidays.financial","holidays"],["hpack","hpack"],["html5lib","html5lib"],["httpcore","httpcore"],["httpcore._async","httpcore"],["httpcore._sync","httpcore"],["httpcore.backends","httpcore"],["httplib2","httplib2"],["httptools","httptools"],["httpx","httpx"],["httpx._transports","httpx"],["huggingface_hub","huggingface-hub"],["humanfriendly","humanfriendly"],["humanize","humanize"],["hvac","hvac"],["hyperframe","hyperframe"],["hyperlink","hyperlink"],["hyperopt","hyperopt"],["_hypothesis_ftz_detector","hypothesis"],["_hypothesis_pytestplugin","hypothesis"],["hypothesis","hypothesis"],["identify","identify"],["idna","idna"],["idna_ssl","idna-ssl"],["ijson","ijson"],["imageio","imageio"],["imageio_ffmpeg","imageio-ffmpeg"],["imagesize","imagesize"],["imblearn","imbalanced-learn"],["importlib_metadata","importlib-metadata"],["importlib_resources","importlib-resources"],["incremental","incremental"],["inflect","inflect"],["inflection","inflection"],["influxdb","influxdb"],["iniconfig","iniconfig"],["invoke","invoke"],["ipaddress","ipaddress"],["ipdb","ipdb"],["ipykernel","ipykernel"],["IPython","ipython"],["ipython_genutils","ipython-genutils"],["ipywidgets","ipywidgets"],["iso8601","iso8601"],["isodate","isodate"],["isort","isort"],["itsdangerous","itsdangerous"],["javaproperties","javaproperties"],["jaydebeapi","jaydebeapi"],["jdcal","jdcal"],["jedi","jedi"],["jeepney","jeepney"],["jellyfish","jellyfish"],["jikanpy","jikanpy"],["jinja2","jinja2"],["jinja2_time","jinja2-time"],["jira","jira"],["jmespath","jmespath"],["joblib","joblib"],["jpype","jpype1"],["jschema_to_python","jschema-to-python"],["jsondiff","jsondiff"],["jsonpatch","jsonpatch"],["jsonpath_ng","jsonpath-ng"],["jsonpickle","jsonpickle"],["jsonpointer","jsonpointer"],["jsonschema","jsonschema"],["junit_xml","junit-xml"],["jupyter","jupyter"],["jupyter_client","jupyter-client"],["jupyter_console","jupyter-console"],["jupyter_core","jupyter-core"],["jupyterlab","jupyterlab"],["jupyterlab_pygments","jupyterlab-pygments"],["jupyterlab_server","jupyterlab-server"],["jupyterlab_widgets","jupyterlab-widgets"],["kafka","kafka-python"],["kazoo","kazoo"],["keras","keras"],["keras_applications","keras-applications"],["keras_preprocessing","keras-preprocessing"],["keyring","keyring"],["kfp",new Set(["kfp","kfp-pipeline-spec"])],["kfp_server_api","kfp-server-api"],["kiwisolver","kiwisolver"],["knack","knack"],["kombu","kombu"],["korean_lunar_calendar","korean-lunar-calendar"],["kubernetes","kubernetes"],["langcodes","langcodes"],["lazy_object_proxy","lazy-object-proxy"],["clang","libclang"],["libcst","libcst"],["linkify_it","linkify-it-py"],["llvmlite","llvmlite"],["locket","locket"],["lockfile","lockfile"],["loguru","loguru"],["lunarcalendar","lunarcalendar"],["lxml","lxml"],["makefun","makefun"],["mako","mako"],["markdown","markdown"],["markupsafe","markupsafe"],["marshmallow","marshmallow"],["marshmallow_enum","marshmallow-enum"],["marshmallow_oneofschema","marshmallow-oneofschema"],["marshmallow_sqlalchemy","marshmallow-sqlalchemy"],["matplotlib","matplotlib"],["mpl_toolkits","matplotlib"],["pylab","matplotlib"],["matplotlib_inline","matplotlib-inline"],["maxminddb","maxminddb"],["mccabe","mccabe"],["mdit_py_plugins","mdit-py-plugins"],["mdurl","mdurl"],["mistune","mistune"],["mlflow","mlflow"],["mock","mock"],["monotonic","monotonic"],["more_itertools","more-itertools"],["moto","moto"],["motor","motor"],["moviepy","moviepy"],["mpmath","mpmath"],["msal","msal"],["msal_extensions","msal-extensions"],["msgpack",new Set(["msgpack-python","msgpack"])],["msrest","msrest"],["msrestazure","msrestazure"],["multi_key_dict","multi-key-dict"],["multidict","multidict"],["_multiprocess","multiprocess"],["multiprocess","multiprocess"],["munch","munch"],["murmurhash","murmurhash"],["mypy","mypy"],["mypyc","mypy"],["mypy_boto3_rds","mypy-boto3-rds"],["mypy_boto3_s3","mypy-boto3-s3"],["mypy_extensions","mypy-extensions"],["mysql","mysql-connector-python"],["mysqlx","mysql-connector-python"],["natsort","natsort"],["nbclient","nbclient"],["nbconvert","nbconvert"],["nbformat","nbformat"],["ndg","ndg-httpsclient"],["nest_asyncio","nest-asyncio"],["netaddr","netaddr"],["networkx","networkx"],["ninja","ninja"],["nltk","nltk"],["nodeenv","nodeenv"],["nose","nose"],["notebook","notebook"],["ntlm_auth","ntlm-auth"],["numba","numba"],["numexpr","numexpr"],["numpy","numpy"],["oauth2client","oauth2client"],["oauthlib","oauthlib"],["omegaconf","omegaconf"],["pydevd_plugins","omegaconf"],["onnxruntime","onnxruntime"],["openapi_spec_validator","openapi-spec-validator"],["opencensus",new Set(["opencensus","opencensus-ext-azure","opencensus-context"])],["cv2",new Set(["opencv-python","opencv-python-headless"])],["openpyxl","openpyxl"],["opensearchpy","opensearch-py"],["opt_einsum","opt-einsum"],["benchmarks","optuna"],["optuna","optuna"],["ordered_set","ordered-set"],["orderedmultidict","orderedmultidict"],["orjson","orjson"],["oscrypto","oscrypto"],["outcome","outcome"],["overrides","overrides"],["packaging","packaging"],["pandas","pandas"],["pandas_gbq","pandas-gbq"],["pandocfilters","pandocfilters"],["parameterized","parameterized"],["paramiko","paramiko"],["parse","parse"],["parsedatetime","parsedatetime"],["parso","parso"],["partd","partd"],["passlib","passlib"],["pastel","pastel"],["pathlib","pathlib"],["pathlib2","pathlib2"],["pathos","pathos"],["pathspec","pathspec"],["pathtools","pathtools"],["pathy","pathy"],["patsy","patsy"],["pbr","pbr"],["pendulum","pendulum"],["pep517","pep517"],["pexpect","pexpect"],["pg8000","pg8000"],["pgpy","pgpy"],["phonenumbers","phonenumbers"],["pickleshare","pickleshare"],["pika","pika"],["PIL","pillow"],["pip","pip"],["piptools","pip-tools"],["pipenv","pipenv"],["pkginfo","pkginfo"],["pkgutil_resolve_name","pkgutil_resolve_name"],["platformdirs","platformdirs"],["_plotly_future_","plotly"],["_plotly_utils","plotly"],["jupyterlab_plotly","plotly"],["plotly","plotly"],["pluggy","pluggy"],["ply","ply"],["poetry","poetry"],["poetry_plugin_export","poetry-plugin-export"],["polling","polling"],["portalocker","portalocker"],["portend","portend"],["pox","pox"],["pp","ppft"],["ppft","ppft"],["pre_commit","pre-commit"],["preshed","preshed"],["prettytable","prettytable"],["prison","prison"],["proglog","proglog"],["progressbar","progressbar2"],["prometheus_client","prometheus-client"],["prometheus_flask_exporter","prometheus-flask-exporter"],["promise","promise"],["prompt_toolkit","prompt-toolkit"],["proto","proto-plus"],["protobuf_to_dict","protobuf3-to-dict"],["psutil","psutil"],["ptyprocess","ptyprocess"],["pure_eval","pure-eval"],["py",new Set(["py","pytest"])],["py4j","py4j"],["pyaes","pyaes"],["pyaml","pyaml"],["pyarrow","pyarrow"],["pyasn1","pyasn1"],["pyasn1_modules","pyasn1-modules"],["pyathena","pyathena"],["pybind11","pybind11"],["pycares","pycares"],["pycodestyle","pycodestyle"],["pycountry","pycountry"],["pycparser","pycparser"],["pycron","pycron"],["Crypto",new Set(["pycryptodome","pycrypto"])],["Cryptodome","pycryptodomex"],["curl","pycurl"],["pydantic","pydantic"],["pydata_google_auth","pydata-google-auth"],["pydeequ","pydeequ"],["deprecate","pydeprecate"],["pydocstyle","pydocstyle"],["dot_parser","pydot"],["pydot","pydot"],["pydub","pydub"],["pyee","pyee"],["pyflakes","pyflakes"],["pygeohash","pygeohash"],["github","pygithub"],["pygments","pygments"],["pyhive","pyhive"],["pyhocon","pyhocon"],["jwt","pyjwt"],["pylev","pylev"],["pylint","pylint"],["pymeeus","pymeeus"],["bson","pymongo"],["gridfs","pymongo"],["pymongo","pymongo"],["pymysql","pymysql"],["nacl","pynacl"],["OpenSSL","pyopenssl"],["pyotp","pyotp"],["pypandoc","pypandoc"],["pyparsing","pyparsing"],["pypdf2","pypdf2"],["pyperclip","pyperclip"],["pyproj","pyproj"],["pyrfc3339","pyrfc3339"],["pyrogram","pyrogram"],["_pyrsistent_version","pyrsistent"],["pyrsistent","pyrsistent"],["serial","pyserial"],["pysftp","pysftp"],["socks","pysocks"],["sockshandler","pysocks"],["pyspark","pyspark"],["_pytest","pytest"],["pytest","pytest"],["pytest_asyncio","pytest-asyncio"],["pytest_cov","pytest-cov"],["pytest_forked","pytest-forked"],["pytest_html","pytest-html"],["pytest_metadata","pytest-metadata"],["pytest_mock","pytest-mock"],["pytest_rerunfailures","pytest-rerunfailures"],["ptr","pytest-runner"],["pytest_timeout","pytest-timeout"],["xdist","pytest-xdist"],["consul.__init__","python-consul"],["consul.aio","python-consul"],["consul.base","python-consul"],["consul.std","python-consul"],["consul.tornado","python-consul"],["consul.twisted","python-consul"],["daemon","python-daemon"],["dateutil","python-dateutil"],["docx","python-docx"],["dotenv","python-dotenv"],["editor","python-editor"],["gitlab","python-gitlab"],["gnupg","python-gnupg"],["python_http_client","python-http-client"],["jenkins","python-jenkins"],["jose","python-jose"],["jose.backends","python-jose"],["pythonjsonlogger","python-json-logger"],["magic","python-magic"],["multipart","python-multipart"],["slugify","python-slugify"],["snappy","python-snappy"],["python_utils","python-utils"],["openid","python3-openid"],["pytimeparse","pytimeparse"],["pytorch_lightning","pytorch-lightning"],["pytz","pytz"],["pytz_deprecation_shim","pytz-deprecation-shim"],["pytzdata","pytzdata"],["pywt","pywavelets"],["_yaml","pyyaml"],["yaml","pyyaml"],["zmq","pyzmq"],["qtconsole","qtconsole"],["qtpy","qtpy"],["querystring_parser","querystring-parser"],["rapidfuzz","rapidfuzz"],["ratelimit","ratelimit"],["ray","ray"],["readme_renderer","readme-renderer"],["redis","redis"],["rediscluster","redis-py-cluster"],["redshift_connector","redshift-connector"],["regex","regex"],["requests","requests"],["requests_aws4auth","requests-aws4auth"],["requests_file","requests-file"],["requests_mock","requests-mock"],["requests_ntlm","requests-ntlm"],["requests_oauthlib","requests-oauthlib"],["requests_toolbelt","requests-toolbelt"],["resampy","resampy"],["resolvelib","resolvelib"],["responses","responses"],["retry","retry"],["retrying","retrying"],["rfc3986","rfc3986"],["rich","rich"],["rsa","rsa"],["rtree","rtree"],["ruamel",new Set(["ruamel.yaml.clib","ruamel.yaml"])],["rx","rx"],["s3fs","s3fs"],["s3transfer","s3transfer"],["sacremoses","sacremoses"],["sagemaker","sagemaker"],["sarif_om","sarif-om"],["sasl","sasl"],["scandir","scandir"],["schema","schema"],["skimage","scikit-image"],["sklearn","scikit-learn"],["scipy","scipy"],["scp","scp"],["scramp","scramp"],["seaborn","seaborn"],["secretstorage","secretstorage"],["sekkaybot","sekkaybot"],["selenium","selenium"],["semantic_version","semantic-version"],["semver","semver"],["send2trash","send2trash"],["sendgrid","sendgrid"],["sentencepiece","sentencepiece"],["sentencepiece.__init__","sentencepiece"],["sentencepiece._version","sentencepiece"],["sentencepiece.sentencepiece_model_pb2","sentencepiece"],["sentencepiece.sentencepiece_pb2","sentencepiece"],["sentry_sdk","sentry-sdk"],["service_identity","service-identity"],["setproctitle","setproctitle"],["_distutils_hack","setuptools"],["pkg_resources","setuptools"],["setuptools","setuptools"],["setuptools_git","setuptools-git"],["setuptools_rust","setuptools-rust"],["setuptools_scm","setuptools-scm"],["sgmllib","sgmllib3k"],["sh","sh"],["shap","shap"],["shapely","shapely"],["shellingham","shellingham"],["shortuuid","shortuuid"],["simple_salesforce","simple-salesforce"],["simplejson","simplejson"],["singledispatch","singledispatch"],["six","six"],["slack",new Set(["slack-sdk","slackclient"])],["slack_sdk","slack-sdk"],["slicer","slicer"],["smart_open","smart-open"],["smdebug_rulesconfig","smdebug-rulesconfig"],["smmap","smmap"],["sniffio","sniffio"],["snowballstemmer","snowballstemmer"],["snowflake","snowflake-connector-python"],["snowflake.sqlalchemy","snowflake-sqlalchemy"],["sortedcontainers","sortedcontainers"],["soupsieve","soupsieve"],["spacy","spacy"],["spacy_legacy","spacy-legacy"],["spacy_loggers","spacy-loggers"],["com","spark-nlp"],["sparknlp","spark-nlp"],["sphinx","sphinx"],["sphinx_rtd_theme","sphinx-rtd-theme"],["sphinxcontrib.applehelp","sphinxcontrib-applehelp"],["sphinxcontrib.devhelp","sphinxcontrib-devhelp"],["sphinxcontrib.htmlhelp","sphinxcontrib-htmlhelp"],["sphinxcontrib.jsmath","sphinxcontrib-jsmath"],["sphinxcontrib.qthelp","sphinxcontrib-qthelp"],["sphinxcontrib.serializinghtml","sphinxcontrib-serializinghtml"],["sqlalchemy","sqlalchemy"],["sqlalchemy_json","sqlalchemy-json"],["sqlalchemy_jsonfield","sqlalchemy-jsonfield"],["redshift_sqlalchemy","sqlalchemy-redshift"],["sqlalchemy_redshift","sqlalchemy-redshift"],["sqlparse","sqlparse"],["srsly","srsly"],["sshtunnel","sshtunnel"],["stack_data","stack-data"],["ellipticcurve","starkbank-ecdsa"],["starlette","starlette"],["statsd","statsd"],["statsmodels","statsmodels"],["stevedore","stevedore"],["strict_rfc3339","strict-rfc3339"],["stringcase","stringcase"],["strip_hints","strip-hints"],["structlog","structlog"],["swagger_ui_bundle","swagger-ui-bundle"],["isympy","sympy"],["sympy","sympy"],["tableauserverclient","tableauserverclient"],["tabulate","tabulate"],["tblib","tblib"],["tempora","tempora"],["tenacity","tenacity"],["tensorboard","tensorboard"],["tensorboard_data_server","tensorboard-data-server"],["tensorboard_plugin_wit","tensorboard-plugin-wit"],["tensorflow_addons","tensorflow-addons"],["tensorflow_estimator","tensorflow-estimator"],["tensorflow_hub","tensorflow-hub"],["tensorflow_metadata","tensorflow-metadata"],["termcolor","termcolor"],["terminado","terminado"],["terminaltables","terminaltables"],["testpath","testpath"],["text_unidecode","text-unidecode"],["texttable","texttable"],["thinc","thinc"],["threadpoolctl","threadpoolctl"],["thrift","thrift"],["thrift_sasl","thrift-sasl"],["tifffile","tifffile"],["timezonefinder","timezonefinder"],["tinycss2","tinycss2"],["tld","tld"],["tldextract","tldextract"],["tokenizers","tokenizers"],["toml","toml"],["tomli","tomli"],["tomlkit","tomlkit"],["tlz","toolz"],["toolz","toolz"],["caffe2","torch"],["torch","torch"],["torchgen","torch"],["torchmetrics","torchmetrics"],["torchvision","torchvision"],["tornado","tornado"],["tox","tox"],["tqdm","tqdm"],["traitlets","traitlets"],["transformers","transformers"],["trio","trio"],["trio_websocket","trio-websocket"],["twilio","twilio"],["twine","twine"],["twisted","twisted"],["typed_ast","typed-ast"],["typeguard","typeguard"],["typer","typer"],["cryptography-stubs","types-cryptography"],["pytz-stubs","types-pytz"],["yaml-stubs","types-pyyaml"],["requests-stubs","types-requests"],["pkg_resources-stubs","types-setuptools"],["setuptools-stubs","types-setuptools"],["urllib3-stubs","types-urllib3"],["typing","typing"],["typing_extensions","typing-extensions"],["typing_inspect","typing-inspect"],["tzdata","tzdata"],["tzlocal","tzlocal"],["ua_parser","ua-parser"],["uamqp","uamqp"],["uc_micro","uc-micro-py"],["unicodecsv","unicodecsv"],["unidecode","unidecode"],["xmlrunner","unittest-xml-reporting"],["uritemplate","uritemplate"],["uritools","uritools"],["urlextract","urlextract"],["urllib3","urllib3"],["urllib3_secure_extra","urllib3-secure-extra"],["user_agents","user-agents"],["uvicorn","uvicorn"],["uvloop","uvloop"],["validators","validators"],["vine","vine"],["virtualenv","virtualenv"],["clonevirtualenv","virtualenv-clone"],["w3lib","w3lib"],["wandb","wandb"],["wasabi","wasabi"],["watchdog","watchdog"],["watchtower","watchtower"],["watergrid","watergrid"],["wcwidth","wcwidth"],["webencodings","webencodings"],["websocket","websocket-client"],["websockets","websockets"],["websockets.extensions","websockets"],["websockets.legacy","websockets"],["werkzeug","werkzeug"],["wheel","wheel"],["widgetsnbextension","widgetsnbextension"],["wrapt","wrapt"],["wsproto","wsproto"],["wtforms","wtforms"],["xarray","xarray"],["xgboost","xgboost"],["xlrd","xlrd"],["xlsxwriter","xlsxwriter"],["xlwt","xlwt"],["xmltodict","xmltodict"],["xxhash","xxhash"],["yamllint","yamllint"],["yapf","yapf"],["yapftests","yapf"],["yarl","yarl"],["youtubesearchpython","youtube-search-python"],["yq","yq"],["yt_dlp","yt-dlp"],["z3","z3-solver"],["zc","zc.lockfile"],["zeep","zeep"],["zict","zict"],["zipp","zipp"],["zope",new Set(["zope.event","zope.interface"])],["zstandard","zstandard"]]),sR=new Map([["azure",new Set(["azure.appconfiguration","azure.batch","azure.cli.core","azure.cli.telemetry","azure.common","azure.core","azure.cosmos","azure.data.tables","azure.eventgrid","azure.eventhub","azure.graphrbac","azure.identity","azure.keyvault.certificates","azure.keyvault.keys","azure.keyvault.secrets","azure.kusto.ingest","azure.loganalytics","azure.mgmt.advisor","azure.mgmt.apimanagement","azure.mgmt.applicationinsights","azure.mgmt.authorization","azure.mgmt.batch","azure.mgmt.batchai","azure.mgmt.billing","azure.mgmt.cdn","azure.mgmt.cognitiveservices","azure.mgmt.compute","azure.mgmt.consumption","azure.mgmt.containerinstance","azure.mgmt.containerregistry","azure.mgmt.containerservice","azure.mgmt.core","azure.mgmt.cosmosdb","azure.mgmt.datafactory","azure.mgmt.datalake.analytics","azure.mgmt.datalake.store","azure.mgmt.datamigration","azure.mgmt.devtestlabs","azure.mgmt.dns","azure.mgmt.eventgrid","azure.mgmt.eventhub","azure.mgmt.hdinsight","azure.mgmt.imagebuilder","azure.mgmt.iotcentral","azure.mgmt.iothub","azure.mgmt.iothubprovisioningservices","azure.mgmt.keyvault","azure.mgmt.kusto","azure.mgmt.loganalytics","azure.mgmt.managedservices","azure.mgmt.managementgroups","azure.mgmt.maps","azure.mgmt.marketplaceordering","azure.mgmt.media","azure.mgmt.monitor","azure.mgmt.msi","azure.mgmt.netapp","azure.mgmt.network","azure.mgmt.policyinsights","azure.mgmt.privatedns","azure.mgmt.rdbms","azure.mgmt.recoveryservices","azure.mgmt.recoveryservicesbackup","azure.mgmt.redis","azure.mgmt.relay","azure.mgmt.reservations","azure.mgmt.resource","azure.mgmt.search","azure.mgmt.security","azure.mgmt.servicebus","azure.mgmt.servicefabric","azure.mgmt.signalr","azure.mgmt.sql","azure.mgmt.sqlvirtualmachine","azure.mgmt.storage","azure.mgmt.subscription","azure.mgmt.trafficmanager","azure.mgmt.web","azure.multiapi.storage","azure.servicebus","azure.storage.blob","azure.storage.common","azure.storage.file","azure.storage.queue"])],["bs4",new Set(["bs4.builder","bs4.tests"])],["googleapiclient",new Set(["googleapiclient.discovery_cache"])],["google",new Set(["google.auth","google.cloud.bigquery","google.cloud.bigtable","google.cloud.datastore","google.cloud.dlp","google.cloud.firestore","google.cloud.kms","google.cloud.language","google.cloud.logging","google.cloud.monitoring","google.cloud.pubsub","google.cloud.pubsublite","google.cloud.storage","google.cloud.videointelligence","google.cloud.vision"])],["holidays",new Set(["holidays.countries","holidays.financial"])],["httpcore",new Set(["httpcore._async","httpcore._sync","httpcore.backends"])],["httpx",new Set(["httpx._transports"])],["consul",new Set(["consul.__init__","consul.aio","consul.base","consul.std","consul.tornado","consul.twisted"])],["jose",new Set(["jose.backends"])],["sentencepiece",new Set(["sentencepiece.__init__","sentencepiece._version","sentencepiece.sentencepiece_model_pb2","sentencepiece.sentencepiece_pb2"])],["snowflake",new Set(["snowflake.sqlalchemy"])],["sphinxcontrib",new Set(["sphinxcontrib.applehelp","sphinxcontrib.devhelp","sphinxcontrib.htmlhelp","sphinxcontrib.jsmath","sphinxcontrib.qthelp","sphinxcontrib.serializinghtml"])],["websockets",new Set(["websockets.extensions","websockets.legacy"])]]);function sL(e,t){let r=e.readFileSync(t,"utf-8"),i=/^Version:\s+(.*)/gm.exec(r);if(i)return i[1]}async function sO(e,t){let r=e.serviceProvider.tryGet(aE.y.console);try{let i=t.pathEndsWith(sD.eK),n=t.pathEndsWith(sD.Q$);if(i)return await sW(e,function e(t,r,i=new Set){if(!t.existsSync(r))return i;let n=t.readFileSync(r,"utf8");for(let o of(0,sE.parseFile)(n,!0)){let n=sG(o);if(n){i.add(n);continue}if("CommandLineFlag"===o.type&&o.args&&o.args.length>0&&"-r"===o.flag){e(t,r.getDirectory().combinePaths(o.args[0]),i);continue}}return i}(e.fileSystem,t),r);if(n){let i=e.fileSystem.readFileSync(t,"utf8"),n=sN.q(i),o=await sW(e,function(e,t){var r,i,n,o,a,s,l,c,d,u,m,p;let h,g=new Set;if(oW.z.is(t)){if(!e.existsSync(t))return g;let r=e.readFileSync(t,"utf8");h=sN.q(r)}else h=t;return(null==(r=h.project)?void 0:r.dependencies)&&h.project.dependencies.forEach(e=>s$(g,sq(e))),(null==(i=h.project)?void 0:i["optional-dependencies"])&&Object.values(h.project["optional-dependencies"]).forEach(e=>{e.forEach(e=>s$(g,sq(e)))}),(null==(o=h.tool)||null==(n=o.poetry)?void 0:n.dependencies)&&Object.keys(h.tool.poetry.dependencies).forEach(e=>s$(g,sq(e))),(null==(s=h.tool)||null==(a=s.poetry)?void 0:a.extras)&&Object.values(h.tool.poetry.extras).forEach(e=>{e.forEach(e=>s$(g,sq(e)))}),(null==(d=h.tool)||null==(c=d.flit)||null==(l=c.dependencies)?void 0:l.requires)&&h.tool.flit.dependencies.requires.forEach(e=>s$(g,sq(e))),(null==(p=h.tool)||null==(m=p.flit)||null==(u=m.extra)?void 0:u.requires)&&Object.values(h.tool.flit.extra.requires).forEach(e=>{e.forEach(e=>s$(g,sq(e)))}),g}(e.fileSystem,n),r);return o.requiredVersion=function(e){if(e)try{var t;return(null==(t=((0,oP.Kg)(e)?sN.q(e):e).project)?void 0:t["requires-python"])||void 0}catch{return}}(n),o}return}catch(e){null==r||r.log(`Failed to get direct dependencies: ${e}`);return}}function sU(e){var t,r,i;let n;if(!e||e.startsWith(".")||e.includes("__"))return;let o=(n=(i=e).indexOf("."))<0?i:i.substring(0,n);if(sR.has(o)){let i=sR.get(o)||void 0;if(!i)return;let n=e.split("."),a=e;for(let e=n.length;e>0;e--){if(i.has(a)||(t=a,sM.has(t)))return r=a,sM.get(r)||r;a=n.slice(0,e-1).join(".")}}else if(sM.has(o))return sM.get(o)||o}function sj(e,t){return!!e&&0!==e.size&&(!t||0===t.length||t.every(t=>(0,oP.Kg)(t)?e.has(t.toLowerCase()):[...t].some(t=>e.has(t.toLowerCase()))))}function s$(e,t){t&&e.add(t)}function sq(e){let t=(0,sE.parseLine)(e,!0);if(t)return sG(t)}function sG(e){if("Requirement"===e.type){switch(e.subtype){case"URL":case"Path":case"PackageURL":return sB("Path"===e.subtype?e.path:e.url);case"Package":return e.package}(0,oB.xb)(e.subtype)}if(e.args&&0!==e.args.length&&"-e"===e.flag)return sB(e.args[0])}async function sW(e,t,r,i=aI.CancellationToken.None){let n=[...t];null==r||r.log(`Dependency Discovered: ${n.join(" ,")}`);let o=n.map(e=>{var t;let r;return r="^"+((t=e).toLocaleLowerCase("en-US"),t.replace(/[^_\p{L}\p{N}]+/gu,"-").replace(/^-+|-+$/g,"")).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/-/g,"[-_]")+"(?:[-].+)?\\.dist-info$",[t,RegExp(r,"i")]}),a=await e.getSnapshot(i),s=await e.getPythonSearchPaths(a,i)||[];return function(e,t,r,i){let n=new Set,o=new Map;for(let a of t){if(!e.existsSync(a))continue;let t=e.readdirEntriesSync(a).filter(e=>e.isDirectory()&&e.name.endsWith(".dist-info")).map(e=>e.name);for(let[s,l]of null!=r?r:t.map(e=>[e.split("-")[0],RegExp("^"+e+"$")])){let r=t.find(e=>l.test(e));r&&function(e,t,r,i,n,o,a){(0,ow.Lj)(a);let s=t.combinePaths(i);if(!e.existsSync(s))return;let l=s.combinePaths("top_level.txt");if(e.existsSync(l))for(let t of e.readFileSync(l,"utf8").split(/\r\n|\r|\n/)){let e=t.trim();e&&n.add(e)}let c=s.combinePaths("RECORD");if(e.existsSync(c))for(let t of e.readFileSync(c,"utf8").split(/\r\n|\r|\n/)){let[e]=t.split(","),r=(0,nX.QC)(e).toLowerCase();if(a7.ZG.some(e=>e===r)){let t=e.split("/");1===t.length?n.add((0,nX.Qj)(t[0])):t.length>1&&n.add(t[0])}}let d=s.combinePaths("METADATA");if(e.existsSync(d)){let t=sL(e,d);if(t)return o.set(r,t)}let u=s.combinePaths("PKG-INFO");if(e.existsSync(u)){let t=sL(e,u);if(t)return o.set(r,t)}o.set(r,void 0)}(e,a,s,r,n,o,i)}}return{topLevelModules:n,distributions:o,requiredVersion:void 0}}(e.fileSystem,s,o,i)}function sB(e){let t;if(e)return((t=e.match(/#egg=([^&]+)/))?t[1]:void 0)||function(e){let t=e.match(/\/([^/]+\.whl)$/);if(!t)return;let r=t[1].split("-");return r.length>0?r[0]:void 0}(e)}let sV=["aiohttp","aioitertools","aiosignal","alembic","anyio","apache-airflow","apache-airflow-providers-amazon","apispec","arrow","asgiref","asttokens","async-timeout","attrs","autopage","awswrangler","azure-appconfiguration","azure-core","azure-cosmos","azure-data-tables","azure-eventgrid","azure-eventhub","azure-identity","azure-keyvault-certificates","azure-keyvault-keys","azure-keyvault-secrets","azure-mgmt-applicationinsights","azure-mgmt-authorization","azure-mgmt-batch","azure-mgmt-cognitiveservices","azure-mgmt-compute","azure-mgmt-consumption","azure-mgmt-containerinstance","azure-mgmt-containerregistry","azure-mgmt-containerservice","azure-mgmt-core","azure-mgmt-cosmosdb","azure-mgmt-datafactory","azure-mgmt-eventgrid","azure-mgmt-eventhub","azure-mgmt-imagebuilder","azure-mgmt-iothub","azure-mgmt-keyvault","azure-mgmt-kusto","azure-mgmt-media","azure-mgmt-monitor","azure-mgmt-msi","azure-mgmt-netapp","azure-mgmt-network","azure-mgmt-recoveryservices","azure-mgmt-redis","azure-mgmt-reservations","azure-mgmt-resource","azure-mgmt-security","azure-mgmt-servicebus","azure-mgmt-storage","azure-mgmt-subscription","azure-mgmt-web","azure-servicebus","azure-storage-blob","azure-storage-queue","backoff","bcrypt","bitarray","black","boto3-stubs","build","cachelib","cattrs","certifi","charset-normalizer","cheroot","ciso8601","click","cmd2","cmdstanpy","colorlog","constructs","contextlib2","crashtest","cryptography","dask","dataclasses-json","datadog","dbt-core","ddtrace","delta-spark","distributed","distro","django","docstring-parser","dulwich","elasticsearch","elastic-transport","exceptiongroup","faker","fastapi","fastavro","filelock","flask","Flask-JWT-Extended","freezegun","frozendict","frozenlist","ftfy","geoip2","GitPython","google-cloud-bigquery","google-cloud-bigtable","google-cloud-datastore","google-cloud-dlp","google-cloud-kms","google-cloud-language","google-cloud-logging","google-cloud-monitoring","google-cloud-pubsublite","google-cloud-videointelligence","google-cloud-vision","graphql-core","h11","hijri-converter","hiredis","holidays","httpcore","httpx","humanize","hyperframe","hyperlink","hypothesis","identify","idna","imageio","importlib-metadata","importlib-resources","incremental","inflect","inflection","iniconfig","ipykernel","iso8601","isort","itsdangerous","javaproperties","jellyfish","jikanpy","jinja2","jira","jupyter-client","jupyter-core","keyring","kiwisolver","langcodes","libcst","loguru","makefun","markupsafe","marshmallow","marshmallow-sqlalchemy","maxminddb","mdit-py-plugins","mdurl","more-itertools","msrest","multidict","mypy","mypy-boto3-rds","mypy-boto3-s3","natsort","nbclient","nbformat","ninja","numpy","omegaconf","openapi-spec-validator","opensearch-py","optuna","ordered-set","orjson","overrides","packaging","parso","pathy","pendulum","phonenumbers","pip","pip-tools","platformdirs","poetry","portalocker","prometheus-client","promise","prompt-toolkit","pure-eval","py","pyathena","pybind11","pycryptodome","pycryptodomex","pydantic","pyee","PyGithub","PyJWT","pymongo","PyNaCl","pyotp","pyparsing","pypdf2","pyproj","pyrogram","pyrsistent","pyspark","pytest","pytest-asyncio","pytest-mock","python-dotenv","python-gitlab","python-magic","pytorch-lightning","pyzmq","qtpy","rapidfuzz","ray","readme-renderer","requests-mock","resolvelib","responses","rich","rsa","rtree","rx","secretstorage","selenium","sentry-sdk","setproctitle","slackclient","slack-sdk","sniffio","soupsieve","spacy","sphinx","stack-data","starlette","structlog","sympy","tableauserverclient","tenacity","termcolor","terminado","thinc","timezonefinder","tld","tldextract","tomli","tomlkit","torch","torchmetrics","tornado","traitlets","twine","twisted","typeguard","typer","unidecode","uritemplate","uvicorn","uvloop","w3lib","wandb","websockets","werkzeug","wsproto","xarray","xgboost","xxhash","yarl","zeep","zict","zstandard"];function sH(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class sK{getKnownModuleVersion(e,t){var r;return(null==(r=this._installedPackageMap.get(e))?void 0:r.moduleVersions.get(t))||void 0}computeInstalledPackages(e){let t=(0,ou.PD)(this._installedPackageMap,e,()=>({moduleVersions:new Map,installedPackages:new Set,installedPackagesReported:!1}));return this._computeInstalledPackages(e,t.installedPackages,t.moduleVersions)}async ensureDistributionToPackageMap(e){if(this._distributionToPackageMap.has(e))return;let t=(0,ou.PD)(this._distributionToPackageMap,e,()=>({topLevelModules:new Set,distributions:new Map,requiredVersion:void 0}));this._combineDependencyInfo(await sO(e,e.rootPath.combinePaths(sD.eK)),t),this._combineDependencyInfo(await sO(e,e.rootPath.combinePaths(sD.Q$)),t),void 0===t.requiredVersion&&(t.requiredVersion=function(e,t){try{if(!e.existsSync(t))return;var r=e.readFileSync(t,"utf-8");if(!r)return;let i=r.trim();if(i)return"=="+i;return}catch{return}}(e.fileSystem,e.rootPath.combinePaths(sD.ds)))}getDirectDependencyTopLevelModules(e){var t;return null==(t=this._distributionToPackageMap.get(e))?void 0:t.topLevelModules}getDirectDependencies(e){var t;return null==(t=this._distributionToPackageMap.get(e))?void 0:t.distributions}getRequiredVersion(e){var t;return null==(t=this._distributionToPackageMap.get(e))?void 0:t.requiredVersion}reset(e,t){if("libraryUpdated"===t&&this._distributionToPackageMap.delete(e),"libraryUpdated"===t||"serviceRestarted"===t){this._packageCache.clear(),this._moduleVersionCache.clear();let t=this._installedPackageMap.get(e);t&&(t.installedPackagesReported=!1,t.installedPackages.clear(),t.moduleVersions.clear())}}report(e){let t=this._installedPackageMap.get(e);if(t)return this._sendInstalledPackagesTelemetry(e,t)}logInstalledModuleInfo(e){let t=this._installedPackageMap.get(e);if(t)for(let[r,i]of t.moduleVersions)i.length>0&&e.console.log(`Found module ${r} : ${i}`)}_combineDependencyInfo(e,t){var r;e&&(e.topLevelModules.forEach(e=>t.topLevelModules.add(e)),e.distributions.forEach((e,r)=>t.distributions.set(r,e)),t.requiredVersion=null!=(r=t.requiredVersion)?r:e.requiredVersion)}async _computeInstalledPackages(e,t,r){t.clear(),r.clear();let i=new Map,n=[],o=!0;for(;o;)try{let t=await e.getSnapshot(aG.CancellationToken.None);n=await e.getPythonSearchPaths(t,aG.CancellationToken.None)||[],o=!1}catch(e){ow.YS.is(e)?o=!0:(console.error("Failed to get Python search paths:",e),o=!1)}for(let r of n){let n=(0,ou.PD)(this._packageCache,r.key,()=>this._computeInstalledPackage(e.fileSystem,r));n.installedPackages.forEach(e=>t.add(e)),n.thirdPartyPackages.forEach((e,t)=>i.set(t,e))}for(let[t,n]of i)(0,ou.PD)(r,t,()=>{let r=t.toLowerCase();return(0,ou.PD)(this._moduleVersionCache,`${n.key}_${r}`,()=>(function(e,t,r){try{let i=e.readdirEntriesSync(r).find(e=>e.name.toLowerCase().startsWith(t)&&e.name.toLowerCase()!==t&&e.isDirectory());if(i){let t=r.combinePaths(i.name),n=e.readdirEntriesSync(t);for(let r=0;r<n.length;r++){if("METADATA"!==n[r].name&&"PKG-INFO"!==n[r].name)continue;let i=sL(e,t.combinePaths(n[r].name));if(i)return i}}}catch{}return""})(e.fileSystem,r,n))})}_computeInstalledPackage(e,t){let r=new Set,i=new Map,n=t.getPath().includes("site-packages")||t.getPath().includes("dist-packages");try{let o=(0,a4.N8)(e.readdirEntriesSync(t),e,t);for(let e of o.files){let o=e.lastExtension.toLowerCase();if(a7.ZG.some(e=>e===o)){let o=(0,a7.Hk)(t,e);o&&!o.startsWith("_")&&(r.add(o),n&&i.set(o,t))}}for(let e of o.directories){if("__pycache__"===e.fileNameWithoutExtensions||e.fileName.startsWith("_"))continue;let o=(0,a7.Hk)(t,e);o&&(r.add(o),n&&i.set(o,t))}}catch{}return{installedPackages:r,thirdPartyPackages:i}}async _sendInstalledPackagesTelemetry(e,t){var r;if(t.installedPackagesReported||0===t.installedPackages.size||ov)return;let i=new aY(aQ.INSTALLED_PACKAGES);i.Properties.packagesBitArray=this._generateInstalledPackagesBitArray(t.installedPackages);let n=e.serviceProvider.tryGet(nB.pthService);if(n){let t=await e.getSnapshot(aG.CancellationToken.None),r=await e.getPythonSearchPaths(t,aG.CancellationToken.None)||[];i.Measurements.editablePthCount=n.getCountEditablePthFiles(e.serviceProvider.fs(),r,e.configOptions.defaultExtraPaths)}null==(r=e.serviceProvider.tryGet(nB.telemetry))||r.sendTelemetry(i),t.installedPackagesReported=!0}_generateInstalledPackagesBitArray(e){let t=new Uint8Array(sV.length);return e.forEach(e=>{let r=e.toLowerCase(),i=sV.findIndex(e=>e===r);i>=0&&(t[i]=1)}),t.toString()}constructor(){sH(this,"_installedPackageMap",new WeakMap),sH(this,"_distributionToPackageMap",new WeakMap),sH(this,"_packageCache",new Map),sH(this,"_moduleVersionCache",new Map)}}(sK||(sK={})).is=function(e){return!!e&&!!e.computeInstalledPackages&&!!e.getKnownModuleVersion&&!!e.reset&&!!e.report&&!!e.logInstalledModuleInfo&&!!e.ensureDistributionToPackageMap&&!!e.getDirectDependencyTopLevelModules&&!!e.getDirectDependencies},r(55890),(rW||(rW={})).is=function(e){return e&&"function"==typeof e.getParseResults};var sJ=r(3258);(rB||(rB={})).is=function(e){return!!e&&"function"==typeof e.mapExternalCode};class sQ{mapExternalCode(e){if(e)return sQ._tyToPyrightMap.get(e)}}eR="_tyToPyrightMap",eL=new Map([["unresolved-import",sJ.y.reportMissingImports],["possibly-missing-import",sJ.y.reportMissingModuleSource],["unresolved-reference",sJ.y.reportUndefinedVariable],["possibly-unresolved-reference",sJ.y.reportUnboundVariable],["call-abstract-method",sJ.y.reportAbstractUsage],["abstract-method-in-final-class",sJ.y.reportAbstractUsage],["call-non-callable",sJ.y.reportCallIssue],["call-top-callable",sJ.y.reportCallIssue],["missing-argument",sJ.y.reportCallIssue],["too-many-positional-arguments",sJ.y.reportCallIssue],["no-matching-overload",sJ.y.reportCallIssue],["unknown-argument",sJ.y.reportCallIssue],["parameter-already-assigned",sJ.y.reportCallIssue],["positional-only-parameter-as-kwarg",sJ.y.reportCallIssue],["invalid-assignment",sJ.y.reportAssignmentType],["invalid-return-type",sJ.y.reportReturnType],["invalid-argument-type",sJ.y.reportArgumentType],["unresolved-attribute",sJ.y.reportAttributeAccessIssue],["possibly-missing-attribute",sJ.y.reportAttributeAccessIssue],["invalid-attribute-access",sJ.y.reportAttributeAccessIssue],["not-subscriptable",sJ.y.reportIndexIssue],["index-out-of-bounds",sJ.y.reportIndexIssue],["invalid-key",sJ.y.reportIndexIssue],["unsupported-operator",sJ.y.reportOperatorIssue],["invalid-type-form",sJ.y.reportInvalidTypeForm],["invalid-type-arguments",sJ.y.reportInvalidTypeArguments],["invalid-type-variable-constraints",sJ.y.reportInvalidTypeVarUse],["invalid-type-variable-bound",sJ.y.reportInvalidTypeVarUse],["invalid-type-variable-default",sJ.y.reportInvalidTypeVarUse],["invalid-legacy-type-variable",sJ.y.reportInvalidTypeVarUse],["invalid-paramspec",sJ.y.reportInvalidTypeVarUse],["invalid-overload",sJ.y.reportInconsistentOverload],["useless-overload-body",sJ.y.reportInconsistentOverload],["invalid-method-override",sJ.y.reportIncompatibleMethodOverride],["invalid-explicit-override",sJ.y.reportImplicitOverride],["deprecated",sJ.y.reportDeprecated],["conflicting-declarations",sJ.y.reportRedeclaration],["invalid-declaration",sJ.y.reportRedeclaration],["subclass-of-final-class",sJ.y.reportGeneralTypeIssues],["override-of-final-method",sJ.y.reportGeneralTypeIssues],["override-of-final-variable",sJ.y.reportGeneralTypeIssues],["type-assertion-failure",sJ.y.reportAssertTypeFailure],["redundant-cast",sJ.y.reportUnnecessaryCast],["unused-ignore-comment",sJ.y.reportUnnecessaryTypeIgnoreComment],["unused-type-ignore-comment",sJ.y.reportUnnecessaryTypeIgnoreComment],["not-iterable",sJ.y.reportGeneralTypeIssues],["invalid-context-manager",sJ.y.reportGeneralTypeIssues],["invalid-exception-caught",sJ.y.reportGeneralTypeIssues],["invalid-raise",sJ.y.reportGeneralTypeIssues],["unsupported-bool-conversion",sJ.y.reportGeneralTypeIssues],["conflicting-metaclass",sJ.y.reportGeneralTypeIssues],["cyclic-class-definition",sJ.y.reportGeneralTypeIssues],["inconsistent-mro",sJ.y.reportGeneralTypeIssues],["duplicate-base",sJ.y.reportGeneralTypeIssues],["invalid-base",sJ.y.reportGeneralTypeIssues],["unsupported-base",sJ.y.reportGeneralTypeIssues],["invalid-protocol",sJ.y.reportGeneralTypeIssues],["isinstance-against-protocol",sJ.y.reportGeneralTypeIssues],["isinstance-against-typed-dict",sJ.y.reportGeneralTypeIssues],["missing-typed-dict-key",sJ.y.reportGeneralTypeIssues],["invalid-typed-dict-statement",sJ.y.reportGeneralTypeIssues],["invalid-typed-dict-header",sJ.y.reportGeneralTypeIssues],["invalid-dataclass",sJ.y.reportGeneralTypeIssues],["invalid-dataclass-override",sJ.y.reportGeneralTypeIssues],["dataclass-field-order",sJ.y.reportGeneralTypeIssues],["invalid-frozen-dataclass-subclass",sJ.y.reportGeneralTypeIssues],["invalid-named-tuple",sJ.y.reportGeneralTypeIssues],["super-call-in-named-tuple-method",sJ.y.reportGeneralTypeIssues],["cyclic-type-alias-definition",sJ.y.reportGeneralTypeIssues],["fstring-type-annotation",sJ.y.reportGeneralTypeIssues],["byte-string-type-annotation",sJ.y.reportGeneralTypeIssues],["raw-string-type-annotation",sJ.y.reportGeneralTypeIssues],["implicit-concatenated-string-type-annotation",sJ.y.reportGeneralTypeIssues],["invalid-syntax-in-forward-annotation",sJ.y.reportGeneralTypeIssues],["escape-character-in-forward-annotation",sJ.y.reportGeneralTypeIssues],["division-by-zero",sJ.y.reportGeneralTypeIssues],["zero-stepsize-in-slice",sJ.y.reportGeneralTypeIssues],["static-assert-error",sJ.y.reportGeneralTypeIssues],["empty-body",sJ.y.reportGeneralTypeIssues],["invalid-parameter-default",sJ.y.reportGeneralTypeIssues],["invalid-await",sJ.y.reportGeneralTypeIssues],["conflicting-argument-forms",sJ.y.reportGeneralTypeIssues],["possibly-missing-implicit-call",sJ.y.reportGeneralTypeIssues],["invalid-super-argument",sJ.y.reportGeneralTypeIssues],["invalid-type-checking-constant",sJ.y.reportGeneralTypeIssues],["invalid-type-guard-definition",sJ.y.reportGeneralTypeIssues],["invalid-type-guard-call",sJ.y.reportGeneralTypeIssues],["invalid-metaclass",sJ.y.reportGeneralTypeIssues],["invalid-newtype",sJ.y.reportGeneralTypeIssues],["invalid-type-alias-type",sJ.y.reportGeneralTypeIssues],["invalid-generic-enum",sJ.y.reportGeneralTypeIssues],["invalid-generic-class",sJ.y.reportGeneralTypeIssues],["instance-layout-conflict",sJ.y.reportGeneralTypeIssues],["ambiguous-protocol-member",sJ.y.reportGeneralTypeIssues],["duplicate-kw-only",sJ.y.reportGeneralTypeIssues],["unsupported-dynamic-base",sJ.y.reportGeneralTypeIssues],["assert-type-unspellable-subtype",sJ.y.reportGeneralTypeIssues],["unavailable-implicit-super-arguments",sJ.y.reportGeneralTypeIssues],["ineffective-final",sJ.y.reportGeneralTypeIssues],["final-without-value",sJ.y.reportGeneralTypeIssues],["invalid-total-ordering",sJ.y.reportGeneralTypeIssues],["invalid-legacy-positional-parameter",sJ.y.reportGeneralTypeIssues],["unresolved-global",sJ.y.reportUndefinedVariable],["ignore-comment-unknown-rule",sJ.y.reportGeneralTypeIssues],["invalid-ignore-comment",sJ.y.reportGeneralTypeIssues]]),eR in sQ?Object.defineProperty(sQ,eR,{value:eL,enumerable:!0,configurable:!0,writable:!0}):sQ[eR]=eL,(rV||(rV={})).is=function(e){return e&&"function"==typeof e.create};class sX{get level(){return this._console.level}log(e,t){(0,or.Rm)(this._console,e,t)}constructor(e){var t,r;r=void 0,(t="_console")in this?Object.defineProperty(this,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[t]=r,this._console=e}}(eO=sX||(sX={})).is=function(e){return e instanceof eO};class sY{get name(){return process.platform}isMac(){return"darwin"===process.platform}isLinux(){return"linux"===process.platform}isWindows(){return"win32"===process.platform}is64(){return"x64"===process.arch}isWeb(){return!!process.browser}getPlatformName(){return process.platform}isOnnxSupported(){return(this.isWindows()||this.isLinux())&&this.is64()||this.isMac()}isBundle(){return oV.basename(__filename).endsWith(".bundle.js")}}(eU=sY||(sY={})).is=function(e){return e instanceof eU},r(41592);let sZ={kind:1,size:4,write:(e,t,r)=>e.setUint32(t,r,!0),read:(e,t)=>e.getUint32(t,!0)};(rK||(rK={})).create=function(e){return{params:e,memorySize:function(e){let t=0;for(let r of e)t+=r.size;return t}(e)}};var s0=((ej={})[ej.param=1]="param",ej[ej.result=2]="result",ej[ej.both=3]="both",ej);(e$=rJ||(rJ={})).Null={items:[],size:0},e$.create=function(e){return{items:e,size:function(e){let t=0;for(let r of e)t+=r.memorySize;return t}(e)}},(eq=rQ||(rQ={})).isCustom=function(e){return e&&"function"==typeof e.copy&&"number"==typeof e.size},eq.isArguments=function(e){return e&&Array.isArray(e.items)&&"number"==typeof e.size},(eG=rX||(rX={})).isCustom=function(e){return e&&"function"==typeof e.copy},eG.isArguments=function(e){return e&&Array.isArray(e)},eW=rH||(rH={}),f=[],y=new Map,v=new Map,eW.functionAt=function(e){if(e>=f.length)throw Error("Should never happen");return f[e]},eW.get=function(e){let t=y.get(e);if(void 0===t)throw Error("Should never happen");return f[t]},eW.getIndex=function(e){let t=y.get(e);if(void 0===t)throw Error("Should never happen");return t},eW.getName=function(e){let t=v.get(e);if(void 0===t)throw Error("Should never happen");return t},eW.add=function(e){let t=f.length;f.push(e),y.set(e.name,t),v.set(t,e.name)};let s1=rH;(eB=rY||(rY={})).size=1,eB.$ptr=sZ,eB.$param={kind:2,size:eB.size,write:(e,t,r)=>e.setUint8(t,r),read:(e,t)=>e.getUint8(t)};let s2=rY;(eV=rZ||(rZ={})).$ptr=sZ,eV.createTransfer=function(e,t){return{memorySize:e,copy:(r,i,n,o)=>((1===t||3===t)&&new Uint8Array(n,o,e).set(new Uint8Array(r,i,e)),1===t?void 0:{from:o,to:i,size:e})}},(eH=r0||(r0={})).size=2,eH.$ptr=sZ,eH.$param={kind:2,size:eH.size,write:(e,t,r)=>e.setUint16(t,r,!0),read:(e,t)=>e.getUint16(t,!0)},(eK=r1||(r1={})).size=4,eK.$ptr=sZ,eK.$param={kind:2,size:eK.size,write:(e,t,r)=>e.setUint32(t,r,!0),read:(e,t)=>e.getUint32(t,!0)},eK.$transfer={memorySize:eK.size,copy:(e,t,r,i)=>({from:i,to:t,size:eK.size})};let s4=r1;function s3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}(eJ=r2||(r2={})).size=8,eJ.$ptr=sZ,eJ.$param={kind:3,size:eJ.size,write:(e,t,r)=>e.setBigUint64(t,r,!0),read:(e,t)=>e.getBigUint64(t,!0)},eJ.$transfer={memorySize:eJ.size,copy:(e,t,r,i)=>({from:i,to:t,size:eJ.size})},(eQ=r4||(r4={})).size=8,eQ.$ptr=sZ,eQ.$param={kind:3,size:eQ.size,write:(e,t,r)=>e.setBigInt64(t,r,!0),read:(e,t)=>e.getBigInt64(t,!0)},(eX=r3||(r3={})).size=4,eX.$param=sZ,eX.createTransfer=function(e,t){return{memorySize:e*eX.size,copy:(e,r,i,n)=>((1===t||3===t)&&new Uint8Array(i,n,eX.size).set(new Uint8Array(e,r,eX.size)),1===t?void 0:{from:n,to:r,size:eX.size})}};class s8{[Symbol.iterator](){return this.values()}values(){let e=0,t={[Symbol.iterator]:()=>t,next:()=>e>=this.len?{done:!0,value:void 0}:{done:!1,value:this.struct.create(this.memory,this.ptr+e++*this.struct.size)}};return t}get(e){if(e<0||e>=this.len)throw new s5(ie.inval);return this.struct.create(this.memory,this.ptr+e*this.struct.size)}constructor(e,t,r,i){s3(this,"memory",void 0),s3(this,"ptr",void 0),s3(this,"len",void 0),s3(this,"struct",void 0),this.memory=e,this.ptr=t,this.len=r,this.struct=i}}class s6{get(e){if(e<0||e>=this.len)throw new s5(ie.inval);return this.memory.getUint32(this.ptr+4*e,!0)}set(e,t){if(e<0||e>=this.len)throw new s5(ie.inval);this.memory.setUint32(this.ptr+4*e,t,!0)}[Symbol.iterator](){return this.values()}values(){let e=0,t={[Symbol.iterator]:()=>t,next:()=>e>=this.len?{done:!0,value:void 0}:{done:!1,value:this.memory.getUint32(this.ptr+4*e++,!0)}};return t}constructor(e,t,r){s3(this,"memory",void 0),s3(this,"ptr",void 0),s3(this,"len",void 0),this.memory=e,this.ptr=t,this.len=r}}(eY=r8||(r8={})).$param=r1.$param,eY.$ptr=r3.$param,eY.$transfer=r1.$transfer,(r6||(r6={})).$param=r1.$param,(eZ=ie||(ie={})).success=0,eZ.toobig=1,eZ.acces=2,eZ.addrinuse=3,eZ.addrnotavail=4,eZ.afnosupport=5,eZ.again=6,eZ.already=7,eZ.badf=8,eZ.badmsg=9,eZ.busy=10,eZ.canceled=11,eZ.child=12,eZ.connaborted=13,eZ.connrefused=14,eZ.connreset=15,eZ.deadlk=16,eZ.destaddrreq=17,eZ.dom=18,eZ.dquot=19,eZ.exist=20,eZ.fault=21,eZ.fbig=22,eZ.hostunreach=23,eZ.idrm=24,eZ.ilseq=25,eZ.inprogress=26,eZ.intr=27,eZ.inval=28,eZ.io=29,eZ.isconn=30,eZ.isdir=31,eZ.loop=32,eZ.mfile=33,eZ.mlink=34,eZ.msgsize=35,eZ.multihop=36,eZ.nametoolong=37,eZ.netdown=38,eZ.netreset=39,eZ.netunreach=40,eZ.nfile=41,eZ.nobufs=42,eZ.nodev=43,eZ.noent=44,eZ.noexec=45,eZ.nolck=46,eZ.nolink=47,eZ.nomem=48,eZ.nomsg=49,eZ.noprotoopt=50,eZ.nospc=51,eZ.nosys=52,eZ.notconn=53,eZ.notdir=54,eZ.notempty=55,eZ.notrecoverable=56,eZ.notsock=57,eZ.notsup=58,eZ.notty=59,eZ.nxio=60,eZ.overflow=61,eZ.ownerdead=62,eZ.perm=63,eZ.pipe=64,eZ.proto=65,eZ.protonosupport=66,eZ.prototype=67,eZ.range=68,eZ.rofs=69,eZ.spipe=70,eZ.srch=71,eZ.stale=72,eZ.timedout=73,eZ.txtbsy=74,eZ.xdev=75,eZ.notcapable=76,eZ.toString=function(e){switch(e){case eZ.success:return"success";case eZ.toobig:return"toobig";case eZ.acces:return"acces";case eZ.addrinuse:return"addrinuse";case eZ.addrnotavail:return"addrnotavail";case eZ.afnosupport:return"afnosupport";case eZ.again:return"again";case eZ.already:return"already";case eZ.badf:return"badf";case eZ.badmsg:return"badmsg";case eZ.busy:return"busy";case eZ.canceled:return"canceled";case eZ.child:return"child";case eZ.connaborted:return"connaborted";case eZ.connrefused:return"connrefused";case eZ.connreset:return"connreset";case eZ.deadlk:return"deadlk";case eZ.destaddrreq:return"destaddrreq";case eZ.dom:return"dom";case eZ.dquot:return"dquot";case eZ.exist:return"exist";case eZ.fault:return"fault";case eZ.fbig:return"fbig";case eZ.hostunreach:return"hostunreach";case eZ.idrm:return"idrm";case eZ.ilseq:return"ilseq";case eZ.inprogress:return"inprogress";case eZ.intr:return"intr";case eZ.inval:return"inval";case eZ.io:return"io";case eZ.isconn:return"isconn";case eZ.isdir:return"isdir";case eZ.loop:return"loop";case eZ.mfile:return"mfile";case eZ.mlink:return"mlink";case eZ.msgsize:return"msgsize";case eZ.multihop:return"multihop";case eZ.nametoolong:return"nametoolong";case eZ.netdown:return"netdown";case eZ.netreset:return"netreset";case eZ.netunreach:return"netunreach";case eZ.nfile:return"nfile";case eZ.nobufs:return"nobufs";case eZ.nodev:return"nodev";case eZ.noent:return"noent";case eZ.noexec:return"noexec";case eZ.nolck:return"nolck";case eZ.nolink:return"nolink";case eZ.nomem:return"nomem";case eZ.nomsg:return"nomsg";case eZ.noprotoopt:return"noprotoopt";case eZ.nospc:return"nospc";case eZ.nosys:return"nosys";case eZ.notconn:return"notconn";case eZ.notdir:return"notdir";case eZ.notempty:return"notempty";case eZ.notrecoverable:return"notrecoverable";case eZ.notsock:return"notsock";case eZ.notsup:return"notsup";case eZ.notty:return"notty";case eZ.nxio:return"nxio";case eZ.overflow:return"overflow";case eZ.ownerdead:return"ownerdead";case eZ.perm:return"perm";case eZ.pipe:return"pipe";case eZ.proto:return"proto";case eZ.protonosupport:return"protonosupport";case eZ.prototype:return"prototype";case eZ.range:return"range";case eZ.rofs:return"rofs";case eZ.spipe:return"spipe";case eZ.srch:return"srch";case eZ.stale:return"stale";case eZ.timedout:return"timedout";case eZ.txtbsy:return"txtbsy";case eZ.xdev:return"xdev";case eZ.notcapable:return"notcapable";default:return e.toString()}};class s5 extends Error{constructor(e){super(),s3(this,"errno",void 0),this.errno=e}}var s9=it||(it={});function s7(e,t){return(e&t)===t}s9.fd_datasync=1n<<0n,s9.fd_read=1n<<1n,s9.fd_seek=1n<<2n,s9.fd_fdstat_set_flags=1n<<3n,s9.fd_sync=1n<<4n,s9.fd_tell=1n<<5n,s9.fd_write=1n<<6n,s9.fd_advise=1n<<7n,s9.fd_allocate=1n<<8n,s9.path_create_directory=1n<<9n,s9.path_create_file=1n<<10n,s9.path_link_source=1n<<11n,s9.path_link_target=1n<<12n,s9.path_open=1n<<13n,s9.fd_readdir=1n<<14n,s9.path_readlink=1n<<15n,s9.path_rename_source=1n<<16n,s9.path_rename_target=1n<<17n,s9.path_filestat_get=1n<<18n,s9.path_filestat_set_size=1n<<19n,s9.path_filestat_set_times=1n<<20n,s9.fd_filestat_get=1n<<21n,s9.fd_filestat_set_size=1n<<22n,s9.fd_filestat_set_times=1n<<23n,s9.path_symlink=1n<<24n,s9.path_remove_directory=1n<<25n,s9.path_unlink_file=1n<<26n,s9.poll_fd_readwrite=1n<<27n,s9.sock_shutdown=1n<<28n,s9.sock_accept=1n<<29n,s9.contains=s7,s9.supportFdflags=function(e,t){return t===ir.none||(ir.dsyncOn(t)?s7(e,s9.fd_datasync|s9.fd_sync):!ir.rsyncOn(t)||s7(e,s9.fd_sync))},s9.supportOflags=function(e,t){return t===io.none||(io.creatOn(t)?s7(e,s9.path_create_file):!io.truncOn(t)||s7(e,s9.path_filestat_set_size))},s9.None=0n,s9.All=s9.fd_datasync|s9.fd_read|s9.fd_seek|s9.fd_fdstat_set_flags|s9.fd_sync|s9.fd_tell|s9.fd_write|s9.fd_advise|s9.fd_allocate|s9.path_create_directory|s9.path_create_file|s9.path_link_source|s9.path_link_target|s9.path_open|s9.fd_readdir|s9.path_readlink|s9.path_rename_source|s9.path_rename_target|s9.path_filestat_get|s9.path_filestat_set_size|s9.path_filestat_set_times|s9.fd_filestat_get|s9.fd_filestat_set_size|s9.fd_filestat_set_times|s9.path_symlink|s9.path_remove_directory|s9.path_unlink_file|s9.poll_fd_readwrite|s9.sock_shutdown|s9.sock_accept,s9.ReadOnly=s9.fd_read|s9.fd_seek|s9.fd_tell|s9.path_open|s9.fd_readdir|s9.path_readlink|s9.path_filestat_get|s9.fd_filestat_get|s9.poll_fd_readwrite,s9.toString=function(e){let t=[];return(s7(e,s9.fd_datasync)&&t.push("fd_datasync"),s7(e,s9.fd_read)&&t.push("fd_read"),s7(e,s9.fd_seek)&&t.push("fd_seek"),s7(e,s9.fd_fdstat_set_flags)&&t.push("fd_fdstat_set_flags"),s7(e,s9.fd_sync)&&t.push("fd_sync"),s7(e,s9.fd_tell)&&t.push("fd_tell"),s7(e,s9.fd_write)&&t.push("fd_write"),s7(e,s9.fd_advise)&&t.push("fd_advise"),s7(e,s9.fd_allocate)&&t.push("fd_allocate"),s7(e,s9.path_create_directory)&&t.push("path_create_directory"),s7(e,s9.path_create_file)&&t.push("path_create_file"),s7(e,s9.path_link_source)&&t.push("path_link_source"),s7(e,s9.path_link_target)&&t.push("path_link_target"),s7(e,s9.path_open)&&t.push("path_open"),s7(e,s9.fd_readdir)&&t.push("fd_readdir"),s7(e,s9.path_readlink)&&t.push("path_readlink"),s7(e,s9.path_rename_source)&&t.push("path_rename_source"),s7(e,s9.path_rename_target)&&t.push("path_rename_target"),s7(e,s9.path_filestat_get)&&t.push("path_filestat_get"),s7(e,s9.path_filestat_set_size)&&t.push("path_filestat_set_size"),s7(e,s9.path_filestat_set_times)&&t.push("path_filestat_set_times"),s7(e,s9.fd_filestat_get)&&t.push("fd_filestat_get"),s7(e,s9.fd_filestat_set_size)&&t.push("fd_filestat_set_size"),s7(e,s9.fd_filestat_set_times)&&t.push("fd_filestat_set_times"),s7(e,s9.path_symlink)&&t.push("path_symlink"),s7(e,s9.path_remove_directory)&&t.push("path_remove_directory"),s7(e,s9.path_unlink_file)&&t.push("path_unlink_file"),s7(e,s9.poll_fd_readwrite)&&t.push("poll_fd_readwrite"),s7(e,s9.sock_shutdown)&&t.push("sock_shutdown"),s7(e,s9.sock_accept)&&t.push("sock_accept"),0===t.length)?"none":t.join(" | ")},(it||(it={})).$param=r2.$param,(r5||(r5={})).$param=r2.$param,function(e){function t(t){return(t&e.append)!=0}function r(t){return(t&e.dsync)!=0}function i(t){return(t&e.nonblock)!=0}function n(t){return(t&e.rsync)!=0}function o(t){return(t&e.sync)!=0}e.none=0,e.append=1,e.appendOn=t,e.dsync=2,e.dsyncOn=r,e.nonblock=4,e.nonblockOn=i,e.rsync=8,e.rsyncOn=n,e.sync=16,e.syncOn=o,e.toString=function(e){let a=[];return(t(e)&&a.push("append"),r(e)&&a.push("dsync"),i(e)&&a.push("nonblock"),n(e)&&a.push("rsync"),o(e)&&a.push("sync"),0===a.length)?"none":a.join(" | ")}}(ir||(ir={})),(ir||(ir={})).$param=r0.$param;var le=ii||(ii={});function lt(e){return(e&le.symlink_follow)!=0}le.none=0,le.symlink_follow=1,le.symlink_followOn=lt,le.toString=function(e){let t=[];return(lt(e)&&t.push("symlink_follow"),0===t.length)?"none":t.join(" | ")},(ii||(ii={})).$param=r1.$param,function(e){function t(t){return(t&e.creat)!=0}function r(t){return(t&e.directory)!=0}function i(t){return(t&e.excl)!=0}function n(t){return(t&e.trunc)!=0}e.none=0,e.creat=1,e.creatOn=t,e.creatOff=function(t){return(t&e.creat)==0},e.directory=2,e.directoryOn=r,e.excl=4,e.exclOn=i,e.trunc=8,e.truncOn=n,e.toString=function(e){let o=[];return t(e)&&o.push("creat"),r(e)&&o.push("directory"),i(e)&&o.push("excl"),n(e)&&o.push("trunc"),0===o.length&&o.push("none"),o.join(" | ")}}(io||(io={})),(io||(io={})).$param=r0.$param,(e0=ia||(ia={})).realtime=0,e0.monotonic=1,e0.process_cputime_id=2,e0.thread_cputime_id=3,e0.toString=function(e){switch(e){case e0.realtime:return"realtime";case e0.monotonic:return"monotonic";case e0.process_cputime_id:return"process_cputime_id";case e0.thread_cputime_id:return"thread_cputime_id";default:return e.toString()}},(e1=ia||(ia={})).$param=r1.$param,e1.$transfer=r1.$transfer,(is||(is={})).dir=0,(e2=il||(il={})).unknown=0,e2.block_device=1,e2.character_device=2,e2.directory=3,e2.regular_file=4,e2.socket_dgram=5,e2.socket_stream=6,e2.symbolic_link=7,e2.toString=function(e){switch(e){case e2.unknown:return"unknown";case e2.block_device:return"block_device";case e2.character_device:return"character_device";case e2.directory:return"directory";case e2.regular_file:return"regular_file";case e2.socket_dgram:return"socket_dgram";case e2.socket_stream:return"socket_stream";case e2.symbolic_link:return"symbolic_link";default:return e.toString()}},(e4=ic||(ic={})).normal=0,e4.sequential=1,e4.random=2,e4.willneed=3,e4.dontneed=4,e4.noreuse=5,e4.toString=function(e){switch(e){case e4.normal:return"normal";case e4.sequential:return"sequential";case e4.random:return"random";case e4.willneed:return"willneed";case e4.dontneed:return"dontneed";case e4.noreuse:return"noreuse";default:return e.toString()}},(e3=ic||(ic={})).$ptr=rY.$ptr,e3.$param=rY.$param,(e8=id||(id={})).$ptr=r3.$param,e8.$param=r2.$param,e8.$transfer=r2.$transfer,(e6=r9||(r9={})).$ptr=r3.$param,e6.$param=r2.$param,e6.$transfer=r2.$transfer,(e5=iu||(iu={})).size=64,e5.create=function(e,t){return{get $ptr(){return t},get dev(){return e.getBigUint64(t+0,!0)},set dev(value){e.setBigUint64(t+0,value,!0)},get ino(){return e.getBigUint64(t+8,!0)},set ino(value){e.setBigUint64(t+8,value,!0)},get filetype(){return e.getUint8(t+16)},set filetype(value){e.setUint8(t+16,value)},get nlink(){return e.getBigUint64(t+24,!0)},set nlink(value){e.setBigUint64(t+24,value,!0)},get size(){return e.getBigUint64(t+32,!0)},set size(value){e.setBigUint64(t+32,value,!0)},get atim(){return e.getBigUint64(t+40,!0)},set atim(value){e.setBigUint64(t+40,value,!0)},get mtim(){return e.getBigUint64(t+48,!0)},set mtim(value){e.setBigUint64(t+48,value,!0)},get ctim(){return e.getBigUint64(t+56,!0)},set ctim(value){e.setBigUint64(t+56,value,!0)}}},e5.createHeap=function(){return{get $ptr(){throw new s5(ie.inval)},dev:0n,ino:0n,filetype:il.unknown,nlink:0n,size:0n,atim:0n,mtim:0n,ctim:0n}},(e9=iu||(iu={})).$ptr=r3.$param,e9.$transfer=rZ.createTransfer(e9.size,s0.result),(r7||(r7={})).$param=r4.$param,(e7=im||(im={})).set=0,e7.cur=1,e7.end=2,e7.toString=function(e){switch(e){case e7.set:return"set";case e7.cur:return"cur";case e7.end:return"end";default:return e.toString()}},(im||(im={})).$param=rY.$param,(te=ip||(ip={})).size=24,te.alignment=8,te.create=function(e,t){return{get $ptr(){return t},get fs_filetype(){return e.getUint8(t+0)},set fs_filetype(value){e.setUint8(t+0,value)},get fs_flags(){return e.getUint16(t+2,!0)},set fs_flags(value){e.setUint16(t+2,value,!0)},get fs_rights_base(){return e.getBigUint64(t+8,!0)},set fs_rights_base(value){e.setBigUint64(t+8,value,!0)},get fs_rights_inheriting(){return e.getBigUint64(t+16,!0)},set fs_rights_inheriting(value){e.setBigUint64(t+16,value,!0)}}},(tt=ip||(ip={})).$ptr=r3.$param,tt.$transfer=rZ.createTransfer(tt.size,s0.result),function(e){function t(t){return(t&e.atim)!=0}function r(t){return(t&e.atim_now)!=0}function i(t){return(t&e.mtim)!=0}function n(t){return(t&e.mtim_now)!=0}e.atim=1,e.atimOn=t,e.atim_now=2,e.atim_nowOn=r,e.mtim=4,e.mtimOn=i,e.mtim_now=8,e.mtim_nowOn=n,e.toString=function(e){let o=[];return t(e)&&o.push("atim"),r(e)&&o.push("atim_now"),i(e)&&o.push("mtim"),n(e)&&o.push("mtim_now"),o.join(" | ")}}(ih||(ih={})),(ih||(ih={})).$param=r0.$param,(tr=ig||(ig={})).size=8,tr.alignment=4,tr.create=function(e,t){return e.setUint8(t,is.dir),{get $ptr(){return t},get preopentype(){return e.getUint8(t+0)},set preopentype(value){e.setUint8(t+0,value)},get len(){return e.getUint32(t+4,!0)},set len(value){e.setUint32(t+4,value,!0)}}},(ti=ig||(ig={})).$ptr=r3.$param,ti.$transfer=rZ.createTransfer(ti.size,s0.result),(tn=iy||(iy={})).size=8,tn.create=function(e,t){return{get $ptr(){return t},get buf(){return e.getUint32(t+0,!0)},set buf(value){e.setUint32(t+0,value,!0)},get buf_len(){return e.getUint32(t+4,!0)},set buf_len(value){e.setUint32(t+4,value,!0)}}},(to=iy||(iy={})).$ptr=r3.$param,to.createTransfer=function(e,t,r){let i=to.size*r;for(let n of new s8(e,t,r,to).values())i+=n.buf_len;return{memorySize:i,copy:(e,i,n,o)=>{if(i!==t)throw Error("IovecPtrParam needs to be used as an instance object");let a=new s8(new DataView(e),i,r,to),s=new s8(new DataView(n),o,r,to),l=o+to.size*r,c=[];for(let e=0;e<r;e++){let t=a.get(e),r=s.get(e);r.buf=l,r.buf_len=t.buf_len,l+=r.buf_len,c.push({from:r.buf,to:t.buf,size:r.buf_len})}return c}}},(ta=iv||(iv={})).size=8,ta.create=function(e,t){return{get $ptr(){return t},get buf(){return e.getUint32(t+0,!0)},set buf(value){e.setUint32(t+0,value,!0)},get buf_len(){return e.getUint32(t+4,!0)},set buf_len(value){e.setUint32(t+4,value,!0)}}},(ts=iv||(iv={})).$ptr=r3.$param,ts.createTransfer=function(e,t,r){let i=ts.size*r;for(let n of new s8(e,t,r,ts).values())i+=n.buf_len;return{memorySize:i,copy:(e,i,n,o)=>{if(i!==t)throw Error("CiovecPtrParam needs to be used as an instance object");let a=new s8(new DataView(e),i,r,ts),s=new s8(new DataView(n),o,r,ts),l=new Uint8Array(n),c=o+ts.size*r;for(let t=0;t<r;t++){let r=a.get(t),i=s.get(t);i.buf=c,i.buf_len=r.buf_len,l.set(new Uint8Array(e,r.buf,r.buf_len),i.buf),c+=i.buf_len}return[]}}},(tl=i_||(i_={})).size=24,tl.create=function(e,t){return{get $ptr(){return t},get d_next(){return e.getBigUint64(t+0,!0)},set d_next(value){e.setBigUint64(t+0,value,!0)},get d_ino(){return e.getBigUint64(t+8,!0)},set d_ino(value){e.setBigUint64(t+8,value,!0)},get d_namlen(){return e.getUint32(t+16,!0)},set d_namlen(value){e.setUint32(t+16,value,!0)},get d_type(){return e.getUint8(t+20)},set d_type(value){e.setUint8(t+20,value)}}},(tc=i_||(i_={})).$ptr=r3.$param,tc.createTransfer=function(e){return rZ.createTransfer(e,s0.result)},(td=ib||(ib={})).clock=0,td.fd_read=1,td.fd_write=2,(iw||(iw={})).fd_readwrite_hangup=1,(tu=ik||(ik={})).size=16,tu.alignment=8,tu.create=function(e,t){return{set nbytes(value){e.setBigUint64(t+0,value,!0)},set flags(value){e.setUint16(t+8,value,!0)}}},(tm=iC||(iC={})).size=32,tm.alignment=8,tm.create=function(e,t){return{set userdata(value){e.setBigUint64(t+0,value,!0)},set error(value){e.setUint16(t+8,value,!0)},set type(value){e.setUint8(t+10,value)},get fd_readwrite(){return ik.create(e,t+16)}}},(tp=iC||(iC={})).$ptr=r3.$param,tp.createTransfer=function(e){return rZ.createTransfer(tp.size*e,s0.result)},(iS||(iS={})).subscription_clock_abstime=1,(th=iT||(iT={})).size=32,th.alignment=8,th.create=function(e,t){return{get id(){return e.getUint32(t+0,!0)},get timeout(){return e.getBigUint64(t+8,!0)},get precision(){return e.getBigUint64(t+16,!0)},get flags(){return e.getUint16(t+24,!0)}}},(tg=ix||(ix={})).size=4,tg.alignment=4,tg.create=function(e,t){return{get file_descriptor(){return e.getUint32(t+0,!0)}}},(tf=iP||(iP={})).size=40,tf.alignment=8,tf.tag_size=1,tf.create=function(e,t){return{get type(){return e.getUint8(t+0)},get clock(){if(e.getUint8(t+0)!==ib.clock)throw new s5(ie.inval);return iT.create(e,t+8)},get fd_read(){if(e.getUint8(t+0)!==ib.fd_read)throw new s5(ie.inval);return ix.create(e,t+8)},get fd_write(){if(e.getUint8(t+0)!==ib.fd_write)throw new s5(ie.inval);return ix.create(e,t+8)}}},(ty=iA||(iA={})).size=48,ty.alignment=8,ty.create=function(e,t){return{get userdata(){return e.getBigUint64(t+0,!0)},get u(){return iP.create(e,t+8)}}},(tv=iA||(iA={})).$ptr=r3.$param,tv.createTransfer=function(e){return rZ.createTransfer(e*tv.size,s0.param)},(t_=iI||(iI={})).recv_peek=1,t_.recv_waitall=2,(iF||(iF={})).recv_data_truncated=1,(tb=iz||(iz={})).rd=1,tb.wr=2,tb.toString=function(e){let t=[];return e&tb.rd&&t.push("rd"),e&tb.wr&&t.push("wr"),t.join(" | ")},(iz||(iz={})).$param=rY.$param,(tw=iD||(iD={})).$ptr=r3.$param,tw.$len=s4.$param,tw.createTransfer=function(e,t){return rZ.createTransfer(e,t)},(tk=iE||(iE={})).name="args_sizes_get",tk.signature=rK.create([r1.$ptr,r1.$ptr]),_=rJ.create([r1.$transfer,r1.$transfer]),tk.transfers=function(){return _},s1.add(tk),(tC=iN||(iN={})).name="args_get",tC.signature=rK.create([r3.$param,r3.$param]),tC.transfers=function(e,t,r){return{size:t*r3.size+r,copy(e,i,n,o,a){let s=0+t*r3.size,l=new DataView(n);return l.setUint32(o,0,!0),l.setUint32(o+r3.size,s,!0),{copy(){let n=i[0],o=i[1],l=o-s,c=new s6(new DataView(e),n,t),d=new s6(new DataView(a),0,t);for(let e=0;e<t;e++)c.set(e,d.get(e)+l);new Uint8Array(e).set(new Uint8Array(a,s,r),o)}}}}},s1.add(tC),(tS=iM||(iM={})).name="clock_res_get",tS.signature=rK.create([ia.$param,r9.$ptr]),b=rJ.create([r9.$transfer]),tS.transfers=function(){return b},s1.add(tS),(tT=iR||(iR={})).name="clock_time_get",tT.signature=rK.create([ia.$param,r9.$param,r9.$ptr]),w=rJ.create([r9.$transfer]),tT.transfers=function(){return w},s1.add(tT),(tx=iL||(iL={})).name="environ_sizes_get",tx.signature=rK.create([r1.$ptr,r1.$ptr]),k=rJ.create([r1.$transfer,r1.$transfer]),tx.transfers=function(){return k},s1.add(tx),(tP=iO||(iO={})).name="environ_get",tP.signature=rK.create([r3.$param,r3.$param]),tP.transfers=function(e,t,r){return{size:t*r3.size+r,copy(e,i,n,o,a){let s=0+t*r3.size,l=new DataView(n);return l.setUint32(o,0,!0),l.setUint32(o+r3.size,s,!0),{copy(){let n=i[0],o=i[1],l=o-s,c=new s6(new DataView(e),n,t),d=new s6(new DataView(a),0,t);for(let e=0;e<t;e++)c.set(e,d.get(e)+l);new Uint8Array(e).set(new Uint8Array(a,s,r),o)}}}}},s1.add(tP),(tA=iU||(iU={})).name="fd_advise",tA.signature=rK.create([r8.$param,id.$param,id.$param,ic.$param]),s1.add(tA),(tI=ij||(ij={})).name="fd_allocate",tI.signature=rK.create([r8.$param,id.$param,id.$param]),s1.add(tI),(tF=i$||(i$={})).name="fd_close",tF.signature=rK.create([r8.$param]),s1.add(tF),(tz=iq||(iq={})).name="fd_datasync",tz.signature=rK.create([r8.$param]),s1.add(tz),(tD=iG||(iG={})).name="fd_fdstat_get",tD.signature=rK.create([r8.$param,ip.$ptr]),C=rJ.create([ip.$transfer]),tD.transfers=function(){return C},s1.add(tD),(tE=iW||(iW={})).name="fd_fdstat_set_flags",tE.signature=rK.create([r8.$param,ir.$param]),s1.add(tE),(tN=iB||(iB={})).name="fd_filestat_get",tN.signature=rK.create([r8.$param,iu.$ptr]),S=rJ.create([iu.$transfer]),tN.transfers=function(){return S},s1.add(tN),(tM=iV||(iV={})).name="fd_filestat_set_size",tM.signature=rK.create([r8.$param,id.$param]),s1.add(tM),(tR=iH||(iH={})).name="fd_filestat_set_times",tR.signature=rK.create([r8.$param,r9.$param,r9.$param,ih.$param]),s1.add(tR),(tL=iK||(iK={})).name="fd_pread",tL.signature=rK.create([r8.$param,iy.$ptr,r1.$param,id.$param,r1.$ptr]),tL.transfers=function(e,t,r){return rJ.create([iy.createTransfer(e,t,r),r1.$transfer])},s1.add(tL),(tO=iJ||(iJ={})).name="fd_prestat_get",tO.signature=rK.create([r8.$param,ig.$ptr]),T=rJ.create([ig.$transfer]),tO.transfers=function(){return T},s1.add(tO),(tU=iQ||(iQ={})).name="fd_prestat_dir_name",tU.signature=rK.create([r8.$param,iD.$ptr,iD.$len]),tU.transfers=function(e,t,r){return rJ.create([iD.createTransfer(r,s0.result)])},s1.add(tU),(tj=iX||(iX={})).name="fd_pwrite",tj.signature=rK.create([r8.$param,iv.$ptr,r1.$param,id.$param,r1.$ptr]),tj.transfers=function(e,t,r){return rJ.create([iv.createTransfer(e,t,r),r1.$transfer])},s1.add(tj),(t$=iY||(iY={})).name="fd_read",t$.signature=rK.create([r8.$param,iy.$ptr,r1.$param,r1.$ptr]),t$.transfers=function(e,t,r){return rJ.create([iy.createTransfer(e,t,r),r1.$transfer])},s1.add(t$),(tq=iZ||(iZ={})).name="fd_readdir",tq.signature=rK.create([r8.$param,i_.$ptr,s4.$param,r5.$param,r1.$ptr]),tq.transfers=function(e,t,r){return rJ.create([i_.createTransfer(r),r1.$transfer])},s1.add(tq),(tG=i0||(i0={})).name="fd_renumber",tG.signature=rK.create([r8.$param,r8.$param]),s1.add(tG),(tW=i1||(i1={})).name="fd_seek",tW.signature=rK.create([r8.$param,r7.$param,im.$param,r2.$ptr]),x=rJ.create([r2.$transfer]),tW.transfers=function(){return x},s1.add(tW),(tB=i2||(i2={})).name="fd_sync",tB.signature=rK.create([r8.$param]),s1.add(tB),(tV=i4||(i4={})).name="fd_tell",tV.signature=rK.create([r8.$param,r2.$ptr]),P=rJ.create([r2.$transfer]),tV.transfers=function(){return P},s1.add(tV),(tH=i3||(i3={})).name="fd_write",tH.signature=rK.create([r8.$param,iv.$ptr,r1.$param,r1.$ptr]),tH.transfers=function(e,t,r){return rJ.create([iv.createTransfer(e,t,r),r1.$transfer])},s1.add(tH),(tK=i8||(i8={})).name="path_create_directory",tK.signature=rK.create([r8.$param,iD.$ptr,iD.$len]),tK.transfers=function(e,t,r){return rJ.create([iD.createTransfer(r,s0.param)])},s1.add(tK),(tJ=i6||(i6={})).name="path_filestat_get",tJ.signature=rK.create([r8.$param,ii.$param,iD.$ptr,iD.$len,iu.$ptr]),tJ.transfers=function(e,t,r){return rJ.create([iD.createTransfer(r,s0.param),iu.$transfer])},s1.add(tJ),(tQ=i5||(i5={})).name="path_filestat_set_times",tQ.signature=rK.create([r8.$param,ii.$param,iD.$ptr,iD.$len,r9.$param,r9.$param,ih.$param]),tQ.transfers=function(e,t,r){return rJ.create([iD.createTransfer(r,s0.param)])},s1.add(tQ),(tX=i9||(i9={})).name="path_link",tX.signature=rK.create([r8.$param,ii.$param,iD.$ptr,iD.$len,r8.$param,iD.$ptr,iD.$len]),tX.transfers=function(e,t,r,i,n){return rJ.create([iD.createTransfer(r,s0.param),iD.createTransfer(n,s0.param)])},s1.add(tX),(tY=i7||(i7={})).name="path_open",tY.signature=rK.create([r8.$param,ii.$param,iD.$ptr,iD.$len,io.$param,it.$param,it.$param,ir.$param,r8.$ptr]),tY.transfers=function(e,t,r){return rJ.create([iD.createTransfer(r,s0.param),r8.$transfer])},s1.add(tY),(tZ=ne||(ne={})).name="path_readlink",tZ.signature=rK.create([r8.$param,iD.$ptr,iD.$len,rZ.$ptr,s4.$param,r1.$ptr]),tZ.transfers=function(e,t,r,i,n){return rJ.create([iD.createTransfer(r,s0.param),rZ.createTransfer(n,s0.result),r1.$transfer])},s1.add(tZ),(t0=nt||(nt={})).name="path_remove_directory",t0.signature=rK.create([r8.$param,iD.$ptr,iD.$len]),t0.transfers=function(e,t,r){return rJ.create([iD.createTransfer(r,s0.param)])},s1.add(t0),(t1=nr||(nr={})).name="path_rename",t1.signature=rK.create([r8.$param,iD.$ptr,iD.$len,r8.$param,iD.$ptr,iD.$len]),t1.transfers=function(e,t,r,i,n){return rJ.create([iD.createTransfer(r,s0.param),iD.createTransfer(n,s0.param)])},s1.add(t1),(t2=ni||(ni={})).name="path_symlink",t2.signature=rK.create([iD.$ptr,iD.$len,r8.$param,iD.$ptr,iD.$len]),t2.transfers=function(e,t,r,i,n){return rJ.create([iD.createTransfer(r,s0.param),iD.createTransfer(n,s0.param)])},s1.add(t2),(t4=nn||(nn={})).name="path_unlink_file",t4.signature=rK.create([r8.$param,iD.$ptr,iD.$len]),t4.transfers=function(e,t,r){return rJ.create([iD.createTransfer(r,s0.param)])},s1.add(t4),(t3=no||(no={})).name="poll_oneoff",t3.signature=rK.create([iA.$ptr,iC.$ptr,s4.$param,r1.$ptr]),t3.transfers=function(e,t,r,i){return rJ.create([iA.createTransfer(i),iC.createTransfer(i),r1.$transfer])},s1.add(t3),(t8=na||(na={})).name="proc_exit",t8.signature=rK.create([r6.$param]),s1.add(t8),(t6=ns||(ns={})).name="sched_yield",t6.signature=rK.create([]),s1.add(t6),(t5=nl||(nl={})).name="random_get",t5.signature=rK.create([s2.$ptr,s4.$param]),t5.transfers=function(e,t,r){return rJ.create([rZ.createTransfer(r,s0.result)])},s1.add(t5),(t9=nc||(nc={})).name="sock_accept",t9.signature=rK.create([r8.$param,ir.$param,r8.$ptr]),A=rJ.create([r8.$transfer]),t9.transfers=function(){return A},s1.add(t9),(t7=nd||(nd={})).name="sock_shutdown",t7.signature=rK.create([r8.$param,iz.$param]),s1.add(t7),(re=nu||(nu={})).name="thread-spawn",re.signature=rK.create([r1.$ptr]),I=rJ.create([r1.$transfer]),re.transfers=function(){return I},s1.add(re),(rt=nm||(nm={})).name="thread_exit",rt.signature=rK.create([r1.$param]),s1.add(rt),rr=np||(np={}),F=BigInt(Number.MAX_VALUE),rr.asNumber=function(e){if(e>F)throw new s5(ie.fbig);return Number(e)},rr.max=function(...e){return e.reduce((e,t)=>t>e?t:e)},rr.min=function(...e){return e.reduce((e,t)=>t<e?t:e)};var lr=((ri={}).character="character",ri.fileSystem="fileSystem",ri);(nh||(nh={})).is=function(e){return"fileSystem"===e.kind};let li={fd_advise(){throw new s5(ie.nosys)},fd_allocate(){throw new s5(ie.nosys)},fd_close(){throw new s5(ie.nosys)},fd_datasync(){throw new s5(ie.nosys)},fd_fdstat_get(){throw new s5(ie.nosys)},fd_fdstat_set_flags(){throw new s5(ie.nosys)},fd_filestat_get(){throw new s5(ie.nosys)},fd_filestat_set_size(){throw new s5(ie.nosys)},fd_filestat_set_times(){throw new s5(ie.nosys)},fd_pread(){throw new s5(ie.nosys)},fd_pwrite(){throw new s5(ie.nosys)},fd_read(){throw new s5(ie.nosys)},fd_readdir(){throw new s5(ie.nosys)},fd_seek(){throw new s5(ie.nosys)},fd_renumber(){throw new s5(ie.nosys)},fd_sync(){throw new s5(ie.nosys)},fd_tell(){throw new s5(ie.nosys)},fd_write(){throw new s5(ie.nosys)},path_create_directory(){throw new s5(ie.nosys)},path_filestat_get(){throw new s5(ie.nosys)},path_filestat_set_times(){throw new s5(ie.nosys)},path_link(){throw new s5(ie.nosys)},path_open(){throw new s5(ie.nosys)},path_readlink(){throw new s5(ie.nosys)},path_remove_directory(){throw new s5(ie.nosys)},path_rename(){throw new s5(ie.nosys)},path_symlink(){throw new s5(ie.nosys)},path_unlink_file(){throw new s5(ie.nosys)},fd_create_prestat_fd(){throw new s5(ie.nosys)},fd_bytesAvailable(){throw new s5(ie.nosys)}},ln={fd_allocate(){throw new s5(ie.perm)},fd_datasync(){throw new s5(ie.perm)},fd_fdstat_set_flags(){throw new s5(ie.perm)},fd_filestat_set_size(){throw new s5(ie.perm)},fd_filestat_set_times(){throw new s5(ie.perm)},fd_pwrite(){throw new s5(ie.perm)},fd_renumber(){throw new s5(ie.perm)},fd_sync(){throw new s5(ie.perm)},fd_write(){throw new s5(ie.perm)},path_create_directory(){throw new s5(ie.perm)},path_filestat_set_times(){throw new s5(ie.perm)},path_link(){throw new s5(ie.perm)},path_remove_directory(){throw new s5(ie.perm)},path_rename(){throw new s5(ie.perm)},path_symlink(){throw new s5(ie.perm)},path_unlink_file(){throw new s5(ie.nosys)}};function lo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class la{containsBaseRights(e){return(this.rights_base&e)===e}assertRights(e){if(((this.rights_base|this.rights_inheriting)&e)!==e)throw new s5(ie.perm)}assertBaseRights(e){if((this.rights_base&e)!==e)throw new s5(ie.perm)}assertInheritingRights(e){if((this.rights_inheriting&e)!==e)throw new s5(ie.perm)}assertFdflags(e){if(!it.supportFdflags(this.rights_base,e))throw new s5(ie.perm)}assertOflags(e){if(!it.supportOflags(this.rights_base,e))throw new s5(ie.perm)}assertIsDirectory(){if(this.fileType!==il.directory)throw new s5(ie.notdir)}constructor(e,t,r,i,n,o,a){lo(this,"deviceId",void 0),lo(this,"fd",void 0),lo(this,"fileType",void 0),lo(this,"rights_base",void 0),lo(this,"rights_inheriting",void 0),lo(this,"fdflags",void 0),lo(this,"inode",void 0),this.deviceId=e,this.fd=t,this.fileType=r,this.rights_base=i,this.rights_inheriting=n,this.fdflags=o,this.inode=a}}class ls{get firstRealFileDescriptor(){return this.firstReal}next(){if("init"===this.mode)throw new s5(ie.inval);return this.counter++}switchToRunning(e){if("running"===this.mode)throw new s5(ie.inval);this.mode="running",this.counter=e,this.firstReal=e}add(e){this.descriptors.set(e.fd,e)}get(e){let t=this.descriptors.get(e);if(!t)throw new s5(ie.badf);return t}has(e){return this.descriptors.has(e)}delete(e){return this.descriptors.delete(e.fd)}setRoot(e,t){this.rootDescriptors.set(e.id,t)}getRoot(e){return this.rootDescriptors.get(e.id)}entries(){return this.descriptors.entries()}keys(){return this.descriptors.keys()}values(){return this.descriptors.values()}[Symbol.iterator](){return this.entries()}constructor(){lo(this,"descriptors",new Map),lo(this,"rootDescriptors",new Map),lo(this,"mode","init"),lo(this,"counter",0),lo(this,"firstReal",3)}}function ll(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}(rn=ng||(ng={})).None=0,rn.First=1,rn.AsOld=rn.First,rn.Last=2,rn.AsNew=rn.Last;class lc{clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return null==(e=this._head)?void 0:e.value}get last(){var e;return null==(e=this._tail)?void 0:e.value}has(e){return this._map.has(e)}get(e,t=ng.None){let r=this._map.get(e);if(r)return t!==ng.None&&this.touch(r,t),r.value}set(e,t,r=ng.None){let i=this._map.get(e);if(i)i.value=t,r!==ng.None&&this.touch(i,r);else{switch(i={key:e,value:t,next:void 0,previous:void 0},r){case ng.None:this.addItemLast(i);break;case ng.First:this.addItemFirst(i);break;case ng.Last:default:this.addItemLast(i)}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){let r=this._state,i=this._head;for(;i;){if(t?e.bind(t)(i.value,i.key,this):e(i.value,i.key,this),this._state!==r)throw Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw Error("LinkedMap got modified during iteration.");if(!t)return{value:void 0,done:!0};{let e={value:t.key,done:!1};return t=t.next,e}}};return r}values(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw Error("LinkedMap got modified during iteration.");if(!t)return{value:void 0,done:!0};{let e={value:t.value,done:!1};return t=t.next,e}}};return r}entries(){let e=this._state,t=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw Error("LinkedMap got modified during iteration.");if(!t)return{value:void 0,done:!0};{let e={value:[t.key,t.value],done:!1};return t=t.next,e}}};return r}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,r=this.size;for(;t&&r>e;)this._map.delete(t.key),t=t.next,r--;this._head=t,this._size=r,t&&(t.previous=void 0),this._state++}addItemFirst(e){if(this._head||this._tail)if(this._head)e.next=this._head,this._head.previous=e;else throw Error("Invalid list");else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail)if(this._tail)e.previous=this._tail,this._tail.next=e;else throw Error("Invalid list");else this._head=e;this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let t=e.next,r=e.previous;if(!t||!r)throw Error("Invalid list");t.previous=r,r.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw Error("Invalid list");if(t===ng.First||t===ng.Last){if(t===ng.First){if(e===this._head)return;let t=e.next,r=e.previous;e===this._tail?(r.next=void 0,this._tail=r):(t.previous=r,r.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(t===ng.Last){if(e===this._tail)return;let t=e.next,r=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=r,r.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((t,r)=>{e.push([r,t])}),e}fromJSON(e){for(let[t,r]of(this.clear(),e))this.set(t,r)}constructor(){ll(this,Symbol.toStringTag,"LinkedMap"),ll(this,"_map",void 0),ll(this,"_head",void 0),ll(this,"_tail",void 0),ll(this,"_size",void 0),ll(this,"_state",void 0),this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}}class ld extends lc{get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,t=ng.AsNew){return super.get(e,t)}peek(e){return super.get(e,ng.None)}set(e,t){return super.set(e,t,ng.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}constructor(e,t=1){super(),ll(this,"_limit",void 0),ll(this,"_ratio",void 0),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}}function lu(){if(void 0===u)throw Error("No runtime abstraction layer installed");return u}(ro=lu||(lu={})).install=function(e){if(void 0===e)throw Error("No runtime abstraction layer provided");u=e},ro.isInstalled=function(){return void 0!==u};let lm=lu;function lp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let lh=it.fd_fdstat_set_flags|it.path_create_directory|it.path_create_file|it.path_link_source|it.path_link_target|it.path_open|it.fd_readdir|it.path_readlink|it.path_rename_source|it.path_rename_target|it.path_filestat_get|it.path_filestat_set_size|it.path_filestat_set_times|it.fd_filestat_get|it.fd_filestat_set_times|it.path_remove_directory|it.path_unlink_file|it.path_symlink,lg=lh&it.ReadOnly;function lf(e=!1){return e?lg:lh}let ly=it.fd_datasync|it.fd_read|it.fd_seek|it.fd_fdstat_set_flags|it.fd_sync|it.fd_tell|it.fd_write|it.fd_advise|it.fd_allocate|it.fd_filestat_get|it.fd_filestat_set_size|it.fd_filestat_set_times|it.poll_fd_readwrite,lv=ly&it.ReadOnly;function l_(e=!1){return e?lv:ly}it.ReadOnly,it.ReadOnly,lf(),l_(),l_(),lf(),it.fd_read,it.fd_seek,it.fd_tell,it.fd_advise,it.fd_filestat_get,it.poll_fd_readwrite,l_(),it.fd_read,(nf||(nf={})).create=function(e,t){return{kind:0,inode:e,refs:0,parent:t,name:void 0}},(ny||(ny={})).create=function(e,t){return{kind:1,inode:e,refs:0,parent:t,name:void 0,entries:new Map}};class lb{getRoot(){return this._root}getUri(e,t){let r=lm().path,i=void 0===t||"."===t?this._getPath(e):r.join(this._getPath(e),t);return i=r.normalize(i),this._pathMapper.toPylancePath(this._rootUri,i)}getNode(e,t){var r;let i=null!=(r=this._inodes.get(e))?r:this._deletedNodes.get(e);if(void 0===i)throw new s5(ie.noent);return this._assertNodeKind(i,t),i}getOrCreateNode(e,t,r,i){let n=this._getPathSegments(t);if(1===n.length){if("."===n[0])return e;else if(".."===n[0])if(void 0!==e.parent)return e.parent;else throw new s5(ie.noent)}let o=e;for(let e=0;e<n.length;e++)switch(o.kind){case 0:throw new s5(ie.notdir);case 1:let t=o.entries.get(n[e]);void 0===t?(e===n.length-1?(t=0===r?nf.create(lb.inodeCounter++,o):ny.create(lb.inodeCounter++,o),i&&t.refs++):t=ny.create(lb.inodeCounter++,o),o.entries.set(n[e],t),t.name=n[e],this._inodes.set(t.inode,t)):e===n.length-1&&i&&t.refs++,o=t}return o}getNodeByPath(e,t,r){let i=this._getPathSegments(t);if(1===i.length){if("."===i[0])return e;else if(".."===i[0])return e.parent}let n=e;for(let e=0;e<i.length;e++)switch(n.kind){case 0:return;case 1:if(void 0===(n=n.entries.get(i[e])))return}return void 0!==n&&this._assertNodeKind(n,r),n}existsNode(e,t){return void 0!==this.getNodeByPath(e,t)}setContent(e,t){this._contents.set(e.inode,t)}async getContent(e){let t=this._contents.get(e.inode);return void 0===t&&(t=await this._contentProvider.readFile(this.getUri(e))),await Promise.resolve(t)}getCachedStat(e){let t=this._stats.get(e);if(void 0===t)throw new s5(ie.noent);return t}deleteNode(e,t,r){if(void 0===e.parent)throw new s5(ie.badf);if(e.refs>0&&(void 0===t||0===e.kind&&void 0===r))throw new s5(ie.inval);let i=this._getName(e);e.parent.entries.delete(i),void 0!==r&&this._contents.set(e.inode,r),void 0!==t&&this._stats.set(e.inode,t),this._freeNode(e)}isNodeDeleted(e){return this._deletedNodes.has(e)}renameNode(e,t,r,i,n){this.deleteNode(e,t,r),this.getOrCreateNode(i,n,e.kind,!1)}closeNode(e){let t=this.getNode(e);if(t.refs<=0)throw new s5(ie.badf);t.refs--,0===t.refs&&(0===t.kind&&(this._contents.delete(t.inode),this._stats.delete(t.inode)),this._deletedNodes.delete(t.inode))}_assertNodeKind(e,t){if(void 0!==t){if(0===t&&0!==e.kind)throw new s5(ie.isdir);else if(1===t&&1!==e.kind)throw new s5(ie.notdir)}}_freeNode(e){if(this._inodes.delete(e.inode),this._pathCache.delete(e),e.name=void 0,e.refs>0&&this._deletedNodes.set(e.inode,e),1===e.kind)for(let t of e.entries.values())this._freeNode(t)}_getPathSegments(e){return"/"===e.charAt(0)&&(e=e.substring(1)),"/"===e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e.normalize().split("/")}_getPath(e){let t=this._pathCache.get(e);if(void 0===t){let r=[],i=e;do r.push(this._getName(i)),i=i.parent;while(void 0!==i);t=r.reverse().join("/"),this._pathCache.set(e,t)}return t}_getName(e){if(void 0!==e.name)return e.name;let t=e.parent;if(void 0===t)throw Error("The root node must always have a name");for(let[r,i]of t.entries)if(i===e)return e.name=r,r;throw new s5(ie.noent)}constructor(e,t,r){lp(this,"_contentProvider",void 0),lp(this,"_rootUri",void 0),lp(this,"_pathMapper",void 0),lp(this,"_root",void 0),lp(this,"_inodes",void 0),lp(this,"_contents",void 0),lp(this,"_stats",void 0),lp(this,"_deletedNodes",void 0),lp(this,"_pathCache",void 0),this._contentProvider=r,this._rootUri=e,this._pathMapper=t,this._root={kind:1,inode:lb.inodeCounter++,parent:void 0,refs:1,name:"/",entries:new Map},this._inodes=new Map,this._inodes.set(this._root.inode,this._root),this._contents=new Map,this._stats=new Map,this._deletedNodes=new Map,this._pathCache=new ld(256)}}function lw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}lp(lb,"inodeCounter",1n),(ra=nv||(nv={})).lock_size=4,ra.lock_index=0,ra.method_size=4,ra.method_index=ra.lock_index+ra.lock_size,ra.errno_size=2,ra.errno_index=ra.method_index+ra.method_size,ra.params_index=ra.errno_index+ra.errno_size+2,ra.header_size=ra.params_index,(n_||(n_={})).is=function(e){return e&&"startMain"===e.method},(nb||(nb={})).is=function(e){return e&&"startThread"===e.method},(nw||(nw={})).is=function(e){return e&&"workerReady"===e.method},(nk||(nk={})).is=function(e){return e&&"workerDone"===e.method},(nC||(nC={})).is=function(e){return e&&"trace"===e.method},(nS||(nS={})).is=function(e){return e&&"traceSummary"===e.method},(nT||(nT={})).is=function(e){return Array.isArray(e)&&2===e.length&&"number"==typeof e[0].byteLength&&"number"==typeof e[1].byteLength},(nx||(nx={})).create=function(){let e,t;return{promise:new Promise((r,i)=>{e=r,t=i}),resolve:e,reject:t}},(nP||(nP={})).create=function(e,t,r,i){let n=lm().TextEncoder.create(null==i?void 0:i.encoding),o=new Map;function a(e,t=ie.badf){return e instanceof s5?e.errno:t}return{args_sizes_get:(e,r,o)=>{var a;let s=0,l=0;function c(e){let t=`${e}\0`;l+=n.encode(t).byteLength,s++}for(let e of(c(t),null!=(a=i.args)?a:[]))c(e);let d=new DataView(e);return d.setUint32(r,s,!0),d.setUint32(o,l,!0),Promise.resolve(ie.success)},args_get:(e,r,o)=>{var a;let s=new DataView(e),l=new Uint8Array(e),c=r,d=o;function u(e){let t=n.encode(`${e}\0`);s.setUint32(c,d,!0),c+=4,l.set(t,d),d+=t.byteLength}for(let e of(u(t),null!=(a=i.args)?a:[]))u(e);return Promise.resolve(ie.success)},environ_sizes_get:(e,t,r)=>{var o;let a=0,s=0;for(let e of Object.entries(null!=(o=i.env)?o:{})){let t=`${e[0]}=${e[1]}\0`;s+=n.encode(t).byteLength,a++}let l=new DataView(e);return l.setUint32(t,a,!0),l.setUint32(r,s,!0),Promise.resolve(ie.success)},environ_get:(e,t,r)=>{var o;let a=new DataView(e),s=new Uint8Array(e),l=t,c=r;for(let e of Object.entries(null!=(o=i.env)?o:{})){let t=n.encode(`${e[0]}=${e[1]}\0`);a.setUint32(l,c,!0),l+=4,s.set(t,c),c+=t.byteLength}return Promise.resolve(ie.success)},fd_prestat_get:async(t,i,s)=>{try{let a=r.next();if(!0===a.done)return e.switchToRunning(i),ie.badf;let[l,c]=a.value,d=await c.fd_create_prestat_fd(i);e.add(d),e.setRoot(c,d),o.set(d.fd,l);let u=new DataView(t),m=ig.create(u,s);return m.preopentype=is.dir,m.len=n.encode(l).byteLength,ie.success}catch(e){return a(e)}},fd_prestat_dir_name:(t,r,i,s)=>{try{let a=e.get(r),l=o.get(a.fd);if(void 0===l)return Promise.resolve(ie.badf);let c=n.encode(l);if(c.byteLength!==s)return Promise.resolve(ie.badmsg);return new Uint8Array(t,i).set(c),Promise.resolve(ie.success)}catch(e){return Promise.resolve(a(e))}}}},(nA||(nA={})).create=function(){let e=lm().clock.realtime();return{now:function(t,r){switch(t){case ia.realtime:return lm().clock.realtime();case ia.monotonic:return lm().clock.monotonic();case ia.process_cputime_id:case ia.thread_cputime_id:return lm().clock.monotonic()-e;default:throw new s5(ie.inval)}}}},(nI||(nI={})).create=function(e){return{clock_res_get:(e,t,r)=>{let i=new DataView(e);switch(t){case ia.realtime:case ia.monotonic:case ia.process_cputime_id:case ia.thread_cputime_id:return i.setBigUint64(r,1n,!0),Promise.resolve(ie.success);default:return i.setBigUint64(r,0n,!0),Promise.resolve(ie.inval)}},clock_time_get:(t,r,i,n)=>{let o=e.now(r,i);return new DataView(t).setBigUint64(n,o,!0),Promise.resolve(ie.success)}}},(nF||(nF={})).create=function(e,t,r,i,n){let o=new Map,a=lm().TextEncoder.create(null==n?void 0:n.encoding),s=lm().TextDecoder.create(null==n?void 0:n.encoding),l=lm().path;async function c(e,t,i){let n,o=t,a=[];for(let t=0;t<i;t++){let t=iA.create(e,o);switch(t.u.type){case ib.clock:let i=function(e){let t,i={userdata:e.userdata,type:ib.clock,error:ie.success,fd_readwrite:{nbytes:0n,flags:0}},n=e.u.clock;if((n.flags&iS.subscription_clock_abstime)!=0){let e=r.now(ia.realtime,0n);t=BigInt(Math.max(0,np.asNumber(e-n.timeout)))}else t=n.timeout;return{event:i,timeout:t}}(t);n=i.timeout,a.push(i.event);break;case ib.fd_read:let s=await d(t);a.push(s);break;case ib.fd_write:let l=function(e){let t=e.u.fd_write.file_descriptor;try{let r=f(t);if(!r.containsBaseRights(it.poll_fd_readwrite)&&!r.containsBaseRights(it.fd_write))throw new s5(ie.perm);return{userdata:e.userdata,type:ib.fd_write,error:ie.success,fd_readwrite:{nbytes:0n,flags:0}}}catch(t){return{userdata:e.userdata,type:ib.fd_write,error:u(t),fd_readwrite:{nbytes:0n,flags:0}}}}(t);a.push(l)}o+=iA.size}return{events:a,timeout:n}}async function d(e){let t=e.u.fd_read.file_descriptor;try{let r=f(t);if(!r.containsBaseRights(it.poll_fd_readwrite)&&!r.containsBaseRights(it.fd_read))throw new s5(ie.perm);let i=await h(r).fd_bytesAvailable(r);return{userdata:e.userdata,type:ib.fd_read,error:ie.success,fd_readwrite:{nbytes:i,flags:0}}}catch(t){return{userdata:e.userdata,type:ib.fd_read,error:u(t),fd_readwrite:{nbytes:0n,flags:0}}}}function u(e,t=ie.badf){return e instanceof s5?e.errno:t}function m(e,t,r){let i=new DataView(e),n=[],o=t;for(let t=0;t<r;t++){let t=iv.create(i,o),r=new Uint8Array(t.buf_len);r.set(new Uint8Array(e,t.buf,t.buf_len)),n.push(r),o+=iv.size}return n}function p(e,t,r){let i=new DataView(e),n=[],o=t;for(let t=0;t<r;t++){let t=iy.create(i,o);n.push(new Uint8Array(e,t.buf,t.buf_len)),o+=iy.size}return n}function h(t){return e.get(t.deviceId)}function g(r,n){let o=e.get(r.deviceId);if(!l.isAbsolute(n)&&void 0!==i&&i!==o&&nh.is(o)&&(n=l.normalize(n)).startsWith("..")){let e=i.makeVirtualPath(o,n);if(void 0===e)throw new s5(ie.noent);let r=t.getRoot(i);if(void 0===r)throw new s5(ie.noent);return[i,r,e]}return[o,r,n]}function f(e){let r=t.get(e);if(void 0===r)throw new s5(ie.badf);return r}return{fd_advise:async(e,t,r,i,n)=>{try{let e=f(t);return e.assertBaseRights(it.fd_advise),await h(e).fd_advise(e,r,i,n),ie.success}catch(e){return u(e)}},fd_allocate:async(e,t,r,i)=>{try{let e=f(t);return e.assertBaseRights(it.fd_allocate),await h(e).fd_allocate(e,r,i),ie.success}catch(e){return u(e)}},fd_close:async(e,r)=>{let i=f(r);try{return await h(i).fd_close(i),ie.success}catch(e){return u(e)}finally{t.delete(i),void 0!==i.dispose&&await i.dispose()}},fd_datasync:async(e,t)=>{try{let e=f(t);return e.assertBaseRights(it.fd_datasync),await h(e).fd_datasync(e),ie.success}catch(e){return u(e)}},fd_fdstat_get:async(e,t,r)=>{try{let i=f(t);return await h(i).fd_fdstat_get(i,ip.create(new DataView(e),r)),ie.success}catch(e){return u(e)}},fd_fdstat_set_flags:async(e,t,r)=>{try{let e=f(t);return e.assertBaseRights(it.fd_fdstat_set_flags),await h(e).fd_fdstat_set_flags(e,r),ie.success}catch(e){return u(e)}},fd_filestat_get:async(e,t,r)=>{try{let i=f(t);return i.assertBaseRights(it.fd_filestat_get),await h(i).fd_filestat_get(i,iu.create(new DataView(e),r)),ie.success}catch(e){return u(e,ie.perm)}},fd_filestat_set_size:async(e,t,r)=>{try{let e=f(t);return e.assertBaseRights(it.fd_filestat_set_size),await h(e).fd_filestat_set_size(e,r),ie.success}catch(e){return u(e)}},fd_filestat_set_times:async(e,t,r,i,n)=>{try{let e=f(t);return e.assertBaseRights(it.fd_filestat_set_times),await h(e).fd_filestat_set_times(e,r,i,n),ie.success}catch(e){return u(e)}},fd_pread:async(e,t,r,i,n,o)=>{try{let a=f(t);a.assertBaseRights(it.fd_read|it.fd_seek);let s=new DataView(e),l=p(e,r,i),c=await h(a).fd_pread(a,n,l);return s.setUint32(o,c,!0),ie.success}catch(e){return u(e)}},fd_pwrite:async(e,t,r,i,n,o)=>{try{let a=f(t);a.assertBaseRights(it.fd_write|it.fd_seek);let s=new DataView(e),l=m(e,r,i),c=await h(a).fd_pwrite(a,n,l);return s.setUint32(o,c,!0),ie.success}catch(e){return u(e)}},fd_read:async(e,t,r,i,n)=>{try{let o=f(t);o.assertBaseRights(it.fd_read);let a=new DataView(e),s=p(e,r,i),l=await h(o).fd_read(o,s);return a.setUint32(n,l,!0),ie.success}catch(e){return u(e)}},fd_readdir:async(e,t,r,i,n,s)=>{try{let l=f(t);l.assertBaseRights(it.fd_readdir),l.assertIsDirectory();let c=h(l),d=new DataView(e);if(0n!==n&&!o.has(l.fd))return d.setUint32(s,0,!0),ie.success;0n===n&&o.set(l.fd,await c.fd_readdir(l));let u=o.get(l.fd);if(void 0===u)throw new s5(ie.badmsg);let m=Number(n),p=r,g=i;for(;m<u.length&&g>=i_.size;m++){let t=u[m],r=t.d_name,i=a.encode(r),n=i_.create(d,p);n.d_next=BigInt(m+1),n.d_ino=t.d_ino,n.d_type=t.d_type,n.d_namlen=i.byteLength,g-=i_.size;let o=Math.min(g,i.byteLength);new Uint8Array(e,p+i_.size,o).set(i.subarray(0,o)),p+=i_.size+o,g-=o}return m===u.length?(d.setUint32(s,p-r,!0),o.delete(l.fd)):d.setUint32(s,i,!0),ie.success}catch(e){return u(e)}},fd_seek:async(e,t,r,i,n)=>{try{let o=f(t);if(i!==im.cur||0n!==r||o.containsBaseRights(it.fd_seek)||o.containsBaseRights(it.fd_tell))o.assertBaseRights(it.fd_seek);else throw new s5(ie.perm);let a=new DataView(e),s=await h(o).fd_seek(o,r,i);return a.setBigUint64(n,BigInt(s),!0),ie.success}catch(e){return u(e)}},fd_renumber:(e,r,i)=>{try{if(r<t.firstRealFileDescriptor||i<t.firstRealFileDescriptor)return Promise.resolve(ie.notsup);if(t.has(i))return Promise.resolve(ie.badf);let e=f(r),n=e.with({fd:i});return t.delete(e),t.add(n),Promise.resolve(ie.success)}catch(e){return Promise.resolve(u(e))}},fd_sync:async(e,t)=>{try{let e=f(t);return e.assertBaseRights(it.fd_sync),await h(e).fd_sync(e),ie.success}catch(e){return u(e)}},fd_tell:async(e,t,r)=>{try{let i=f(t);i.assertBaseRights(it.fd_tell|it.fd_seek);let n=new DataView(e),o=await h(i).fd_tell(i);return n.setBigUint64(r,BigInt(o),!0),ie.success}catch(e){return u(e)}},fd_write:async(e,t,r,i,n)=>{try{let o=f(t);o.assertBaseRights(it.fd_write);let a=new DataView(e),s=m(e,r,i),l=await h(o).fd_write(o,s);return a.setUint32(n,l,!0),ie.success}catch(e){return u(e)}},path_create_directory:async(e,t,r,i)=>{try{let n=f(t);n.assertBaseRights(it.path_create_directory),n.assertIsDirectory();let[o,a,l]=g(n,s.decode(new Uint8Array(e,r,i)));return a!==n&&(a.assertBaseRights(it.path_create_directory),a.assertIsDirectory()),await o.path_create_directory(a,l),ie.success}catch(e){return u(e)}},path_filestat_get:async(e,t,r,i,n,o)=>{try{let a=f(t);a.assertBaseRights(it.path_filestat_get),a.assertIsDirectory();let[l,c,d]=g(a,s.decode(new Uint8Array(e,i,n)));return c!==a&&(c.assertBaseRights(it.path_filestat_get),c.assertIsDirectory()),await l.path_filestat_get(c,r,d,iu.create(new DataView(e),o)),ie.success}catch(e){return u(e)}},path_filestat_set_times:async(e,t,r,i,n,o,a,l)=>{try{let c=f(t);c.assertBaseRights(it.path_filestat_set_times),c.assertIsDirectory();let[d,u,m]=g(c,s.decode(new Uint8Array(e,i,n)));return u!==c&&(u.assertBaseRights(it.path_filestat_get),u.assertIsDirectory()),await d.path_filestat_set_times(u,r,m,o,a,l),ie.success}catch(e){return u(e)}},path_link:async(e,t,r,i,n,o,a,l)=>{try{let c=f(t);c.assertBaseRights(it.path_link_source),c.assertIsDirectory();let d=f(o);if(d.assertBaseRights(it.path_link_target),d.assertIsDirectory(),c.deviceId!==d.deviceId)return ie.nosys;let[u,m,p]=g(c,s.decode(new Uint8Array(e,i,n))),[h,y,v]=g(d,s.decode(new Uint8Array(e,a,l)));if(u!==h||m.deviceId!==y.deviceId)return ie.nosys;return m!==c&&(m.assertBaseRights(it.path_link_source),m.assertIsDirectory()),y!==d&&(y.assertBaseRights(it.path_link_target),y.assertIsDirectory()),await u.path_link(m,r,p,y,v),ie.success}catch(e){return u(e)}},path_open:async(e,r,i,n,o,a,l,c,d,m)=>{try{let u=f(r);u.assertBaseRights(it.path_open),u.assertFdflags(d),u.assertOflags(a);let[p,h,y]=g(u,s.decode(new Uint8Array(e,n,o)));h!==u&&(h.assertBaseRights(it.path_open),h.assertFdflags(d),h.assertOflags(a));let v=await p.path_open(h,i,y,a,l,c,d,t);return t.add(v),new DataView(e).setUint32(m,v.fd,!0),ie.success}catch(e){return u(e)}},path_readlink:async(e,t,r,i,n,o,l)=>{try{let c=f(t);c.assertBaseRights(it.path_readlink),c.assertIsDirectory();let[d,u,m]=g(c,s.decode(new Uint8Array(e,r,i)));u!==c&&(u.assertBaseRights(it.path_readlink),u.assertIsDirectory());let p=a.encode(await d.path_readlink(u,m));if(p.byteLength>o)return ie.inval;return new Uint8Array(e,n,o).set(p),new DataView(e).setUint32(l,p.byteLength,!0),ie.success}catch(e){return u(e)}},path_remove_directory:async(e,t,r,i)=>{try{let n=f(t);n.assertBaseRights(it.path_remove_directory),n.assertIsDirectory();let[o,a,l]=g(n,s.decode(new Uint8Array(e,r,i)));return a!==n&&(a.assertBaseRights(it.path_remove_directory),a.assertIsDirectory()),await o.path_remove_directory(a,l),ie.success}catch(e){return u(e)}},path_rename:async(e,t,r,i,n,o,a)=>{try{let l=f(t);l.assertBaseRights(it.path_rename_source),l.assertIsDirectory();let c=f(n);c.assertBaseRights(it.path_rename_target),c.assertIsDirectory();let[d,u,m]=g(l,s.decode(new Uint8Array(e,r,i))),[p,h,y]=g(c,s.decode(new Uint8Array(e,o,a)));if(d!==p)return ie.nosys;return u!==l&&(u.assertBaseRights(it.path_rename_source),u.assertIsDirectory()),h!==c&&(h.assertBaseRights(it.path_rename_target),h.assertIsDirectory()),await d.path_rename(u,m,h,y),ie.success}catch(e){return u(e)}},path_symlink:async(e,t,r,i,n,o)=>{try{let a=f(i);a.assertBaseRights(it.path_symlink),a.assertIsDirectory();let[l,c,d]=g(a,s.decode(new Uint8Array(e,t,r))),[u,m,p]=g(a,s.decode(new Uint8Array(e,n,o)));if(l!==u||c!==m)return ie.nosys;return c!==a&&(c.assertBaseRights(it.path_symlink),c.assertIsDirectory()),await l.path_symlink(d,c,p),ie.success}catch(e){return u(e)}},path_unlink_file:async(e,t,r,i)=>{try{let n=f(t);n.assertBaseRights(it.path_unlink_file),n.assertIsDirectory();let[o,a,l]=g(n,s.decode(new Uint8Array(e,r,i)));return a!==n&&(a.assertBaseRights(it.path_unlink_file),a.assertIsDirectory()),await o.path_unlink_file(a,l),ie.success}catch(e){return u(e)}},poll_oneoff:async(e,t,r,i,n)=>{try{let o=new DataView(e),{events:a,timeout:s}=await c(o,t,i);void 0!==s&&0n!==s&&(await new Promise(e=>{lm().timer.setTimeout(e,np.asNumber(s/1000000n))}),a=(await c(o,t,i)).events);let l=r;for(let e of a){let t=iC.create(o,l);t.userdata=e.userdata,t.type=e.type,t.error=e.error,t.fd_readwrite.nbytes=e.fd_readwrite.nbytes,t.fd_readwrite.flags=e.fd_readwrite.flags,l+=iC.size}return o.setUint32(n,a.length,!0),ie.success}catch(e){return u(e)}},proc_exit:async(e,t)=>await Promise.resolve(ie.success),sched_yield:()=>Promise.resolve(ie.success),random_get:(e,t,r)=>{let i=lm().crypto.randomGet(r);return new Uint8Array(e,t,r).set(i),Promise.resolve(ie.success)},sock_accept:(e,t,r,i)=>Promise.resolve(ie.nosys),sock_recv:(e,t,r,i,n,o,a)=>Promise.resolve(ie.nosys),sock_send:(e,t,r,i,n,o)=>Promise.resolve(ie.nosys),sock_shutdown:(e,t,r)=>Promise.resolve(ie.nosys),thread_exit:async(e,t)=>await Promise.resolve(ie.success),"thread-spawn":async(e,t)=>await Promise.resolve(ie.nosys)}},(nz||(nz={})).create=function(e,t,r,i,n){let o=nA.create();return Object.assign({},nP.create(t,"virtualRootFileSystem",i.entries(),{}),nF.create(e,t,o,r,n))},(rs=nD||(nD={})).from=function(e){switch(e){case il.directory:return ce.directory;case il.regular_file:return ce.regular_file;case il.character_device:return ce.character_device;default:return ce.unknown}},rs.to=function(e){switch(e){case ce.regular_file:return il.regular_file;case ce.directory:return il.directory;case ce.character_device:return il.character_device;default:return il.unknown}};class lk{nextInode(){return this.inodeCounter++}getRoot(){return this.root}findNode(e,t){let r,i;"string"==typeof e?(r=this.root,i=e):(r=e,i=t);let n=this.getSegmentsFromPath(i);if(1===n.length){if("."===n[0])return r;else if(".."===n[0])return r.parent}let o=r;for(let e=0;e<n.length;e++)switch(o.filetype){case il.regular_file:return;case il.directory:if(void 0===(o=o.entries.get(n[e])))return}return o}getSegmentsFromPath(e){return"/"===e.charAt(0)&&(e=e.substring(1)),"/"===e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e.normalize().split("/")}constructor(e){lw(this,"inodeCounter",void 0),lw(this,"root",void 0),this.inodeCounter=2n,this.root=e}}class lC extends la{dispose(){return this.node.refs--,Promise.resolve()}constructor(e,t,r,i,n,o,a,s){super(e,t,r,i,n,o,a),lw(this,"node",void 0),this.node=s,this.node.refs++}}class lS extends lC{with(e){return new lS(this.deviceId,e.fd,this.rights_base,this.fdflags,this.inode,this.node)}get cursor(){return this._cursor}set cursor(e){if(e<0)throw new s5(ie.inval);this._cursor=e}constructor(e,t,r,i,n,o){super(e,t,il.regular_file,r,0n,i,n,o),lw(this,"_cursor",void 0),this._cursor=0n}}class lT extends lC{with(e){return new lT(this.deviceId,e.fd,this.rights_base,this.fdflags,this.inode,this.node)}constructor(e,t,r,i,n,o){super(e,t,il.regular_file,r,0n,i,n,o)}}class lx extends lC{with(e){return new lx(this.deviceId,e.fd,this.rights_base,this.rights_inheriting,this.fdflags,this.inode,this.node)}childDirectoryRights(e,t){return this.rights_inheriting&e&~t}childFileRights(e,t){return this.rights_inheriting&e&~t}constructor(e,t,r,i,n,o,a){super(e,t,il.directory,r,i,n,o,a)}}class lP{async initialize(){let e,t=3,r=new ArrayBuffer(1024);do e=await this.service.fd_prestat_get(r,t++,0);while(e===ie.success)}getDeviceDrivers(){return Array.from(this.deviceDrivers.values())}getPreOpenDirectories(){return this.preOpens}getVirtualRootFileSystem(){return this.virtualFileSystem}async stat(e){let[t,r]=this.getFileDescriptor(e);if(void 0!==t){let e=this.deviceDrivers.get(t.deviceId);if(void 0!==e&&"fileSystem"===e.kind){let i=iu.createHeap();return await e.path_filestat_get(t,ii.none,r,i),{filetype:nD.from(i.filetype)}}}throw new s5(ie.noent)}getFileDescriptor(e){if(void 0!==this.virtualFileSystem){let[t,r]=this.virtualFileSystem.getDeviceDriver(e);return void 0!==t?[this.fileDescriptors.getRoot(t),r]:[this.fileDescriptors.getRoot(this.virtualFileSystem),e]}return void 0!==this.singleFileSystem?[this.fileDescriptors.getRoot(this.singleFileSystem),e]:[void 0,e]}getDeviceDriver(e){return void 0!==this.virtualFileSystem?this.virtualFileSystem.getDeviceDriver(e):void 0!==this.singleFileSystem?[this.singleFileSystem,e]:[void 0,e]}getMountPoint(e){if(void 0!==this.virtualFileSystem)return this.virtualFileSystem.getMountPoint(e);if(void 0!==this.singleFileSystem){let t=e.toString(),r=this.singleFileSystem.uri.toString();if(t===r||t.startsWith(r)&&"/"===t.charAt(r.length))return["/",this.singleFileSystem.uri]}return[void 0,e]}constructor(e,t){lw(this,"deviceDrivers",void 0),lw(this,"preOpens",void 0),lw(this,"fileDescriptors",void 0),lw(this,"service",void 0),lw(this,"virtualFileSystem",void 0),lw(this,"singleFileSystem",void 0),this.deviceDrivers=e.deviceDrivers,this.preOpens=e.preOpens,this.fileDescriptors=t,"virtual"===e.kind?(this.service=nz.create(e.deviceDrivers,t,e.fileSystem,e.preOpens,{}),this.virtualFileSystem=e.fileSystem):(this.service=nz.create(e.deviceDrivers,t,void 0,e.preOpens,{}),this.singleFileSystem=e.fileSystem)}}let lA=it.fd_read|it.fd_fdstat_set_flags|it.fd_write|it.fd_filestat_get|it.poll_fd_readwrite;class lI extends la{with(e){return new lI(this.deviceId,e.fd,this.rights_base,this.rights_inheriting,this.fdflags,this.inode)}constructor(e,t,r,i,n,o){super(e,t,il.character_device,r,i,n,o)}}let lF=a4.m_.parse("wasi-console://f36f1dd6-913a-417f-a53c-360730fde485");var lz=r(97532);function lD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class lE extends Error{constructor(){super("Pipe got destroyed")}}class lN{get size(){return this.fillLevel}async write(e){if(0===e.byteLength)return;if(this.fillLevel+e.byteLength<=lN._bufferSize){this.chunks.push(e),this.fillLevel+=e.byteLength,this.signalData();return}let t=Math.max(0,lN._bufferSize-e.byteLength);try{if(await this._awaitFillLevel(t),this.fillLevel>t)throw Error(`Invalid state: fillLevel should be <= ${t}`);this.chunks.push(e),this.fillLevel+=e.byteLength,this.signalData();return}catch(e){if(e instanceof lE)return;throw e}}async read(e,t){let r="max"===e?t:void 0;if(0===this.chunks.length)try{await this._awaitData()}catch(e){if(e instanceof lE)return new Uint8Array(0);throw e}if(0===this.chunks.length)throw Error("Invalid state: no bytes available after awaiting data");if(void 0===r||r>this.fillLevel){let e=new Uint8Array(this.fillLevel),t=0;for(let r of this.chunks)e.set(r,t),t+=r.byteLength;return this.chunks=[],this.fillLevel=0,this.signalSpace(),e}let i=this.chunks[0];if(i.byteLength>r){let e=i.subarray(0,r);return this.chunks[0]=i.subarray(r),this.fillLevel-=r,this.signalSpace(),e}{let e=i.byteLength;for(let t=1;t<this.chunks.length&&!(e+this.chunks[t].byteLength>r);t++)e+=this.chunks[t].byteLength;let t=new Uint8Array(e),n=0;for(;n<e;){let e=this.chunks.shift();t.set(e,n),n+=e.byteLength,this.fillLevel-=e.byteLength}return this.signalSpace(),t}}end(){}destroy(){this.chunks=[],this.fillLevel=0;let e=new lE;for(let{promise:t}of this._awaitForFillLevel)t.reject(e);for(let t of(this._awaitForFillLevel=[],this._awaitForData))t.reject(e);this._awaitForData=[]}signalSpace(){if(0===this._awaitForFillLevel.length)return;let{fillLevel:e,promise:t}=this._awaitForFillLevel[0];this.fillLevel>e||(this._awaitForFillLevel.shift(),t.resolve())}signalData(){0===this._awaitForData.length||this._awaitForData.shift().resolve()}_awaitFillLevel(e){if(0===this._awaitForFillLevel.length&&this.fillLevel<=e)return Promise.resolve();let t=nx.create();return this._awaitForFillLevel.push({fillLevel:e,promise:t}),t.promise}_awaitData(){let e=nx.create();return this._awaitForData.push(e),e.promise}constructor(){lD(this,"chunks",void 0),lD(this,"fillLevel",void 0),lD(this,"_awaitForFillLevel",void 0),lD(this,"_awaitForData",void 0),this.chunks=[],this.fillLevel=0,this._awaitForFillLevel=[],this._awaitForData=[]}}lD(lN,"_bufferSize",16384);class lM extends lN{write(e,t){return"open"!==this.streamState?Promise.reject(Error("Stream is closed")):super.write("string"==typeof e?this._encoder.encode(e):e)}read(e,t){return"closed"===this.streamState&&0===this.chunks.length?Promise.resolve(new Uint8Array(0)):void 0!==e?super.read(e,t):super.read()}end(){this.streamState="closed"}constructor(e){super(),lD(this,"_encoding",void 0),lD(this,"_encoder",void 0),lD(this,"streamState",void 0),this._encoding=null!=e?e:"utf-8",this._encoder=lm().TextEncoder.create(this._encoding),this.streamState="open"}}class lR extends lM{async write(e,t){if("open"!==this.streamState)throw Error("Stream is closed");let r=!1;try{"string"==typeof e?e.length>0&&4===e.charCodeAt(e.length-1)?(r=!0,e.length>=1&&(e=e.substring(0,e.length-1),await super.write(e,t))):await super.write(e,t):e.length>0&&4===e[e.length-1]?(r=!0,e.length>=1&&(e=e.subarray(0,e.length-1),await super.write(e))):await super.write(e)}finally{r&&(this.streamState="closed")}}constructor(e){super(e)}}class lL extends lN{get onData(){return this._onDataEvent}pause(e=!1){1===this._mode&&(void 0!==this._timer&&(this._timer.dispose(),this._timer=void 0),e&&this.emitAll()),this._mode=2}resume(){this._mode=1,this.chunks.length>0&&this.signalData()}async read(e,t){if(1===this._mode)throw Error("Cannot read from stream in flowing mode");return void 0===e?await super.read():await super.read(e,t)}end(){return 1===this._mode&&(void 0!==this._timer&&(this._timer.dispose(),this._timer=void 0),this.emitAll()),super.destroy()}signalData(){1===this._mode?void 0===this._timer&&(this._timer=lm().timer.setImmediate(()=>this.triggerData())):super.signalData()}emitAll(){if(this.chunks.length>0){for(let e of this.chunks)try{this._onData.fire(e)}catch(e){lm().console.error(`[ReadableStream]: Error while emitting data event: ${e}`)}this.chunks=[],this.fillLevel=0}}triggerData(){if(this._timer=void 0,0===this.chunks.length)return;let e=this.chunks.shift();this.fillLevel-=e.byteLength,this._onData.fire(e),this.signalSpace(),this.chunks.length>0&&1===this._mode&&(this._timer=lm().timer.setImmediate(()=>this.triggerData()))}constructor(){super(),lD(this,"_mode",void 0),lD(this,"_onData",void 0),lD(this,"_onDataEvent",void 0),lD(this,"_timer",void 0),this._mode=0,this._onData=r$.create(),this._onDataEvent=(e,t,r)=>(0===this._mode&&(this._mode=1),this._onData.event(e,t,r))}}function lO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lU(e){return 1000000n*BigInt(e)}(rl=nE||(nE={})).create=function(e,t,r,i,n){return{filetype:il.regular_file,inode:t,name:r,ctime:i,mtime:i,atime:i,refs:0,parent:e,content:n}},rl.size=function(e){return e.content instanceof Uint8Array?BigInt(e.content.length):e.content.size},(rc=nN||(nN={})).create=function(e,t,r,i){return{filetype:il.directory,inode:t,name:r,ctime:i,mtime:i,atime:i,refs:0,parent:e,entries:new Map}},rc.size=function(e){return BigInt((Math.trunc(24*e.entries.size/4096)+1)*4096)},(nM||(nM={})).create=function(e,t,r,i,n,o){return{filetype:il.character_device,inode:t,name:r,ctime:i,mtime:i,atime:i,refs:0,parent:e,readable:n,writable:o}};class lj extends lk{createDirectory(e){let t=this.paths.dirname(e),r=this.paths.basename(e),i=this.getDirectoryNode(t),n=nN.create(i,this.nextInode(),r,lU(Date.now()));i.entries.set(r,n)}createFile(e,t){let r=this.paths.dirname(e),i=this.paths.basename(e),n=this.getDirectoryNode(r),o=nE.create(n,this.nextInode(),i,lU(Date.now()),t);n.entries.set(i,o)}createReadable(e){let t=this.paths.dirname(e),r=this.paths.basename(e),i=this.getDirectoryNode(t),n=nM.create(i,this.nextInode(),r,lU(Date.now()),new lL,void 0);return i.entries.set(r,n),n.readable}createWritable(e,t){let r=this.paths.dirname(e),i=this.paths.basename(e),n=this.getDirectoryNode(r),o=nM.create(n,this.nextInode(),i,lU(Date.now()),void 0,new lM(t));return n.entries.set(i,o),o.writable}getDirectoryNode(e){let t=this.findNode(e);if(void 0===t)throw Error(`ENOENT: no such directory ${e}`);if(t.filetype!==il.directory)throw Error(`ENOTDIR: not a directory ${e}`);return t}async readFile(e,t,r){let i=await this.getContent(e);return this.read(i,t,r)}async readCharacterDevice(e,t){let r=t.reduce((e,t)=>e+t.byteLength,0),i=await e.writable.read("max",r);return this.read(i,0n,t)}async writeFile(e,t,r){let i=await this.getContent(e),[n,o]=this.write(i,t,r);return e.content=n,o}async writeCharacterDevice(e,t){let r=t.reduce((e,t)=>e+t.byteLength,0),i=new Uint8Array(r),n=0;for(let e of t)i.set(e,n),n+=e.byteLength;return await e.readable.write(i),r}async getContent(e){if(e.content instanceof Uint8Array)return await Promise.resolve(e.content);{let t=await e.content.reader();return e.content=t,t}}read(e,t,r){let i=np.asNumber(t),n=0;for(let t of r){let r=Math.min(t.length,e.byteLength-i);if(t.set(e.subarray(i,i+r)),n+=r,r<t.length)break;i+=r}return n}write(e,t,r){let i=np.asNumber(t),n=0;for(let e of r)n+=e.byteLength;if(i+n>e.byteLength){let t=new Uint8Array(i+n);t.set(e),e=t}for(let t of r)e.set(t,i),i+=t.length;return[e,n]}constructor(){super(nN.create(void 0,1n,"/",lU(Date.now()))),lO(this,"paths",lm().path),lO(this,"uri",a4.m_.parse(`wasi-memfs://${lz.A()}`))}}let l$=it.fd_readdir|it.path_filestat_get|it.fd_filestat_get|it.path_open|it.path_create_file|it.path_create_directory,lq=it.fd_read|it.fd_seek|it.fd_tell|it.fd_advise|it.fd_filestat_get|it.poll_fd_readwrite,lG=l$|lq,lW=l$&~lq,lB=lq&l$;function lV(e,t){function r(e){if(!(e instanceof lS))throw new s5(ie.badf)}function i(e){if(!(e instanceof lS)&&!(e instanceof lT))throw new s5(ie.badf);if(e instanceof lT&&void 0===e.node.writable)throw new s5(ie.perm)}function n(e){if(!(e instanceof lS)&&!(e instanceof lT))throw new s5(ie.badf);if(e instanceof lT&&void 0===e.node.readable)throw new s5(ie.perm)}function o(e){if(!(e instanceof lx))throw new s5(ie.badf)}function a(e){if(!(e instanceof lS)&&!(e instanceof lx)&&!(e instanceof lT))throw new s5(ie.badf)}function s(t,r){t.dev=e,t.ino=r.inode,t.filetype=r.filetype,t.nlink=1n,t.size=function(e){switch(e.filetype){case il.regular_file:return nE.size(e);case il.directory:return nN.size(e);case il.character_device:return 1n}}(r),t.atim=r.atime,t.ctim=r.ctime,t.mtim=r.mtime}return Object.assign({},li,ln,{kind:lr.fileSystem,uri:t.uri,id:e,joinPath(){},createStdioFileDescriptor(e=ii.none,t,r=io.none,i,n=ir.none,o){throw new s5(ie.nosys)},fd_create_prestat_fd(r){let i=t.getRoot();return Promise.resolve(new lx(e,r,l$,lG,ir.none,i.inode,i))},fd_advise:(e,t,i,n)=>(r(e),Promise.resolve()),fd_close:e=>(a(e),Promise.resolve()),fd_fdstat_get:(e,t)=>(t.fs_filetype=e.fileType,t.fs_flags=e.fdflags,t.fs_rights_base=e.rights_base,t.fs_rights_inheriting=e.rights_inheriting,Promise.resolve()),fd_filestat_get:(e,t)=>(r(e),s(t,e.node),Promise.resolve()),fd_pread:async(e,r,n)=>0===n.length?0:(i(e),e instanceof lS)?await t.readFile(e.node,r,n):await t.readCharacterDevice(e.node,n),async fd_read(e,r){if(0===r.length)return 0;i(e);let n=0;return e instanceof lS?(n=await t.readFile(e.node,e.cursor,r),e.cursor=e.cursor+BigInt(n)):n=await t.readCharacterDevice(e.node,r),n},fd_readdir(e){o(e);let t=[];for(let r of e.node.entries.values())t.push({d_ino:r.inode,d_type:r.filetype,d_name:r.name});return Promise.resolve(t)},async fd_seek(e,t,i){switch(r(e),i){case im.set:e.cursor=t;break;case im.cur:e.cursor=e.cursor+t;break;case im.end:let n=nE.size(e.node);e.cursor=np.max(0n,n-t)}return BigInt(e.cursor)},fd_renumber:(e,t)=>(a(e),Promise.resolve()),fd_tell:e=>(r(e),Promise.resolve(e.cursor)),fd_pwrite:async(e,r,i)=>(n(e),e instanceof lS?await t.writeFile(e.node,r,i):await t.writeCharacterDevice(e.node,i)),async fd_write(e,r){n(e);let i=0;return e instanceof lS?(ir.appendOn(e.fdflags)&&(e.cursor=BigInt((await t.getContent(e.node)).byteLength)),i=await t.writeFile(e.node,e.cursor,r),e.cursor=e.cursor+BigInt(i)):i=await t.writeCharacterDevice(e.node,r),i},async path_filestat_get(e,r,i,n){o(e);let a=t.findNode(e.node,i);if(void 0===a)throw new s5(ie.noent);s(n,a)},path_open(r,i,n,a,s,l,c,d){let u;o(r);let m=t.findNode(r.node,n);if(void 0===m){if(io.creatOn(a))throw new s5(ie.perm);throw new s5(ie.noent)}if(m.filetype!==il.directory&&io.directoryOn(a))throw new s5(ie.notdir);if(io.exclOn(a))throw new s5(ie.exist);if(m.filetype===il.regular_file&&(io.truncOn(a)||ir.appendOn(c)||ir.syncOn(c)))throw new s5(ie.perm);let p=(s&(it.fd_write|it.fd_datasync|it.fd_allocate|it.fd_filestat_set_size))!==0n;if(m.filetype===il.regular_file&&p)throw new s5(ie.perm);switch(m.filetype){case il.regular_file:u=new lS(e,d.next(),r.childFileRights(s,lW),c,m.inode,m);break;case il.directory:u=new lx(e,d.next(),r.childDirectoryRights(s,lB),l|lG,c,m.inode,m);break;case il.character_device:let h=r.childFileRights(s,lB)|it.fd_write;u=new lT(e,d.next(),h,c,m.inode,m)}if(void 0===u)throw new s5(ie.noent);return Promise.resolve(u)},path_readlink(e,r){if(o(e),void 0===t.findNode(e.node,r))throw new s5(ie.noent);throw new s5(ie.nolink)},fd_bytesAvailable:e=>(r(e),Promise.resolve(np.max(0n,nE.size(e.node)-e.cursor)))})}function lH(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let lK=it.fd_fdstat_set_flags|it.path_create_directory|it.path_create_file|it.path_link_source|it.path_link_target|it.path_open|it.fd_readdir|it.path_readlink|it.path_rename_source|it.path_rename_target|it.path_filestat_get|it.path_filestat_set_size|it.path_filestat_set_times|it.fd_filestat_get|it.fd_filestat_set_times|it.path_remove_directory|it.path_unlink_file|it.path_symlink,lJ=lK|(it.fd_datasync|it.fd_read|it.fd_seek|it.fd_fdstat_set_flags|it.fd_sync|it.fd_tell|it.fd_write|it.fd_advise|it.fd_allocate|it.fd_filestat_get|it.fd_filestat_set_size|it.fd_filestat_set_times|it.poll_fd_readwrite);class lQ extends la{with(e){return new lQ(this.deviceId,e.fd,this.rights_base,this.rights_inheriting,this.fdflags,this.inode)}constructor(e,t,r,i,n,o){super(e,t,il.directory,r,i,n,o)}}(nR||(nR={})).create=function(e,t,r){return{kind:0,inode:e,parent:t,name:r,entries:new Map}},(nL||(nL={})).create=function(e,t,r,i){return{kind:1,inode:e,parent:t,name:r,deviceDriver:i}};class lX{isRoot(e){return e.inode===this.root.inode}addMountPoint(e,t){if(0===e.length)throw Error("Cannot mount root");let r=lm().path;if(e.charAt(0)!==r.sep)throw Error(`Cannot mount relative path: ${e}`);let i=e.split(r.sep);i.shift();let n=this.root;for(let o=0;o<i.length;o++){if(1===n.kind)throw Error(`Cannot create virtual folder over mount point: ${r.sep}${i.slice(0,o+1).join(r.sep)}`);let a=i[o];if(o===i.length-1){let r=nL.create(lX.inodeCounter++,n,a,t);this.inodes.set(r.inode,r),n.entries.set(a,r),this.deviceDrivers.set(t,r),this.mountPoints.set(e,r)}else{let e=n.entries.get(a);void 0===e&&(e=nR.create(lX.inodeCounter++,n,a),n.entries.set(a,e),this.inodes.set(e.inode,e)),n=e}}}getNode(e){let t=this.inodes.get(e);if(void 0===t)throw new s5(ie.badf);return t}findNode(e,t){let r=lm().path;if("/"===(t=r.normalize(t)))return[this.root,t];if("."===t)return 0===e.kind?[e,void 0]:[e,t];if(".."===t)if(void 0===e.parent)return[this.root,void 0];else return[e.parent,void 0];let i=t.split(r.sep);if(""===i[0]){if(e!==this.root)throw new s5(ie.noent);i.shift()}let n=e;for(let e=0;e<i.length;e++){if(1===n.kind)return[n,r.join(...i.slice(e))];let t=i[e],o=n.entries.get(t);if(void 0===o)break;if(e===i.length-1)return 0===o.kind?[o,void 0]:[o,"."];n=o}throw new s5(ie.noent)}makeVirtualPath(e,t){let r=this.deviceDrivers.get(e);if(void 0===r)return;let i=this.getPath(r);return lm().path.join(i,t)}getDeviceDriver(e){let[t,r]=this.findNode(this.root,e);return 1===t.kind?[t.deviceDriver,r]:[void 0,e]}getMountPoint(e){let t=e.toString();for(let[e,r]of this.mountPoints){let i=r.deviceDriver.uri,n=i.toString();if(t===n||t.startsWith(n)&&("/"===n.charAt(n.length-1)||"/"===t.charAt(n.length)))return[e,i]}return[void 0,e]}getPath(e){let t=[],r=e;do t.push(r.name),r=r.parent;while(void 0!==r);return lm().path.join(...t.reverse())}constructor(e){lH(this,"deviceId",void 0),lH(this,"inodes",void 0),lH(this,"root",void 0),lH(this,"deviceDrivers",void 0),lH(this,"mountPoints",void 0),this.deviceId=e,this.inodes=new Map,this.root=nR.create(lX.inodeCounter++,void 0,"/"),this.inodes.set(this.root.inode,this.root),this.deviceDrivers=new Map,this.mountPoints=new Map}}function lY(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}lH(lX,"inodeCounter",1n);class lZ{add(e){this.devices.set(e.id,e),this.devicesByUri.set(e.uri.key,e)}has(e){return this.devices.has(e)}hasByUri(e){return this.devicesByUri.has(e.key)}get(e){let t=this.devices.get(e);if(void 0===t)throw new s5(ie.nxio);return t}getByUri(e){let t=this.devicesByUri.get(e.key);if(void 0===t)throw new s5(ie.nxio);return t}remove(e){let t=this.devices.get(e);if(void 0===t)throw new s5(ie.nxio);this.devices.delete(e),this.devicesByUri.delete(t.uri.key)}removeByUri(e){let t=e.key,r=this.devicesByUri.get(t);if(void 0===r)throw new s5(ie.nxio);this.devices.delete(r.id),this.devicesByUri.delete(t)}get size(){return this.devices.size}values(){return this.devices.values()}entries(){return this.devices.entries()}[Symbol.iterator](){return this.entries()}constructor(){lY(this,"devices",void 0),lY(this,"devicesByUri",void 0),this.devices=new Map,this.devicesByUri=new Map}}class l0{add(e){this.devices.set(e.id,e),this.devicesByUri.set(e.uri.key,e)}has(e){return!!this.nextDrivers.has(e)||this.devices.has(e)}hasByUri(e){return!!this.nextDrivers.hasByUri(e)||this.devicesByUri.has(e.key)}get(e){let t=this.devices.get(e);return void 0!==t?t:this.nextDrivers.get(e)}getByUri(e){let t=this.devicesByUri.get(e.key);return void 0!==t?t:this.nextDrivers.getByUri(e)}remove(e){let t=this.devices.get(e);if(void 0!==t){this.devices.delete(e),this.devicesByUri.delete(t.uri.key);return}this.nextDrivers.remove(e)}removeByUri(e){let t=e.key,r=this.devicesByUri.get(t);if(void 0!==r){this.devices.delete(r.id),this.devicesByUri.delete(t);return}this.nextDrivers.removeByUri(e)}get size(){return this.devices.size+this.nextDrivers.size}entries(){let e=this.devices.entries(),t=this.nextDrivers.entries(),r={[Symbol.iterator]:()=>r,next:()=>{if(void 0!==e){let t=e.next();if(!t.done)return t;e=void 0}return t.next()}};return r}values(){let e=this.devices.values(),t=this.nextDrivers.values(),r={[Symbol.iterator]:()=>r,next:()=>{if(void 0!==e){let t=e.next();if(!t.done)return t;e=void 0}return t.next()}};return r}[Symbol.iterator](){return this.entries()}constructor(e){lY(this,"nextDrivers",void 0),lY(this,"devices",void 0),lY(this,"devicesByUri",void 0),this.nextDrivers=e,this.devices=new Map,this.devicesByUri=new Map}}var l1=nO||(nO={});function l2(e){return e.fileSystem.uri}l1.isMemoryDescriptor=function(e){return"memoryFileSystem"===e.kind},l1.getMemoryKey=l2,l1.key=function(e){switch(e.kind){case"memoryFileSystem":return l2(e);case"pylanceFileSystem":return e.uri;default:throw Error(`Unknown MapDirDescriptor kind ${JSON.stringify(e,void 0,0)}`)}},l1.getDescriptors=function(e){let t=[],r=[];if(void 0===e)return{memoryFileSystems:t,pylanceFileSystems:r};for(let i of e)"memoryFileSystem"===i.kind?t.push(i):"pylanceFileSystem"===i.kind&&r.push(i);return{memoryFileSystems:t,pylanceFileSystems:r}};class l4{async getFileSystem(e){let t=e.toString(),r=this.fileSystemDeviceDrivers.get(t);if(void 0!==r)return r}async createRootFileSystem(e,t){let r,i=[],n=new Map,{memoryFileSystems:o,pylanceFileSystems:a}=nO.getDescriptors(t);if(o.length>0)for(let e of o){let t=lV(nU.nextDeviceId(),e.fileSystem);i.push(t),n.set(e.mountPoint,t)}if(a.length>0)for(let e of a){let t=e.createDriver(nU.nextDeviceId(),e.uri);i.push(t),n.set(e.mountPoint,t)}let s=!1;for(let e of n.keys())if("/"===e){if(n.size>1)throw Error("Cannot mount root directory when other directories are mounted as well.")}else s=!0;let l=new lZ;if(s){let t=new Map(Array.from(n.entries())),o=function(e,t,r){let i=1000000n*BigInt(Date.now()),n=i,o=i;function a(e){if(e.fileType!==il.directory)throw new s5(ie.badf)}function s(t,r){return new lQ(e,t,lK,lJ,0,r)}let l=new lX(e);for(let[e,t]of r)l.addMountPoint(e,t);let c=Object.assign({},li,{kind:lr.fileSystem,id:e,uri:a4.m_.parse("wasi-root://"),makeVirtualPath:(e,t)=>l.makeVirtualPath(e,t),getDeviceDriver:e=>l.getDeviceDriver(e),getMountPoint:e=>l.getMountPoint(e),joinPath(){},createStdioFileDescriptor(){throw Error("Virtual root FS can't provide stdio file descriptors")},fd_create_prestat_fd:e=>Promise.resolve(s(e,l.root.inode)),fd_close:e=>Promise.resolve(),fd_fdstat_get:(e,t)=>(t.fs_filetype=e.fileType,t.fs_flags=e.fdflags,t.fs_rights_base=e.rights_base,t.fs_rights_inheriting=e.rights_inheriting,Promise.resolve()),fd_fdstat_set_flags:(e,t)=>(e.fdflags=t,Promise.resolve()),fd_filestat_get(e,t){a(e);let r=l.getNode(e.inode);if(1===r.kind)throw new s5(ie.badf);return t.dev=e.deviceId,t.ino=e.inode,t.filetype=e.fileType,t.nlink=1n,t.size=BigInt(r.entries.size),t.atim=i,t.mtim=n,t.ctim=o,Promise.resolve()},fd_filestat_set_times:(e,t,r,o)=>(i=t,n=r,Promise.resolve()),async fd_readdir(e){a(e);let t=[],r=l.getNode(e.inode);if(1===r.kind)throw new s5(ie.badf);for(let e of r.entries.values())t.push({d_name:e.name,d_type:il.directory,d_ino:e.inode});return t},async path_filestat_get(e,r,s,d){a(e);let u=l.getNode(e.inode);if(l.isRoot(u)&&("."===s||".."===s||"/"===s))return await this.fd_filestat_get(t.getRoot(c),d);let[m,p]=l.findNode(u,s);if(1===m.kind){let e=m.deviceDriver,i=t.getRoot(e);if(void 0===i)throw new s5(ie.badf);return await e.path_filestat_get(i,r,p,d)}return d.dev=e.deviceId,d.ino=m.inode,d.filetype=il.directory,d.nlink=1n,d.size=BigInt(m.entries.size),d.atim=i,d.mtim=n,d.ctim=o,await Promise.resolve()},async path_open(e,r,i,n,o,c,d,u){a(e);let m=l.getNode(e.inode),[p,h]=l.findNode(m,i);if(1===p.kind){let e=p.deviceDriver,i=t.getRoot(e);if(void 0===i)throw new s5(ie.noent);return await e.path_open(i,r,h,n,o,c,d,u)}return s(u.next(),p.inode)}},ln);return c}(nU.nextDeviceId(),e,t);n.set("/",o),i.push(o),r={kind:"virtual",fileSystem:o,deviceDrivers:l,preOpens:n}}else r={kind:"single",fileSystem:i[0],deviceDrivers:l,preOpens:n};for(let e of i)l.add(e);return r}async getOrCreateFileSystemByDescriptor(e,t,r=3){let i=nO.key(t);if(e.hasByUri(i))return e.getByUri(i);let n=this.fileSystemDeviceDrivers.get(i.toString());if(void 0!==n)return e.add(n),n;if(nO.isMemoryDescriptor(t)&&(n=lV(nU.nextDeviceId(),t.fileSystem),3===r&&(r=1)),"pylanceFileSystem"===t.kind&&(n=t.createDriver(nU.nextDeviceId(),t.uri),3===r&&(r=2)),void 0!==n&&2===r&&this.fileSystemDeviceDrivers.set(i.toString(),n),void 0===n)throw Error(`Unable to create file system for ${JSON.stringify(t,void 0,0)}`);return e.add(n),n}parseFileSystems(){return[]}constructor(){for(const e of(lY(this,"contributionIdToUri",void 0),lY(this,"contributedFileSystems",void 0),lY(this,"fileSystemDeviceDrivers",void 0),this.contributionIdToUri=new Map,this.contributedFileSystems=new Map,this.fileSystemDeviceDrivers=new Map,this.parseFileSystems()))this.contributedFileSystems.set(e.id.toString(),e.mapDir),this.contributionIdToUri.set(e.contributionId,e.id)}}!function(e){var t;let r,i,n=1n;function o(){return n++}e.nextDeviceId=o;let a=new l4;e.getOrCreateFileSystemByDescriptor=function(e,t){return a.getOrCreateFileSystemByDescriptor(e,t)},e.createRootFileSystem=function(e,t){return a.createRootFileSystem(e,t)},e.deviceDrivers=new lZ,t=o(),r=0n,e.console=Object.assign({},li,{kind:lr.character,id:t,uri:lF,createStdioFileDescriptor:e=>new lI(t,e,lA,0n,0,r++),fd_fdstat_get:(e,t)=>(t.fs_filetype=e.fileType,t.fs_flags=e.fdflags,t.fs_rights_base=e.rights_base,t.fs_rights_inheriting=e.rights_inheriting,Promise.resolve()),fd_filestat_get(e,t){t.dev=e.deviceId,t.ino=e.inode,t.filetype=il.character_device,t.nlink=0n,t.size=101n;let r=BigInt(Date.now());return t.atim=r,t.ctim=r,t.mtim=r,Promise.resolve()},fd_write(e,t){let r;if(1===t.length)r=t[0];else{r=new Uint8Array(t.reduce((e,t)=>e+t.length,0));let e=0;for(let i of t)r.set(i,e),e=i.byteLength}return lm().console.log((void 0===i&&(i=lm().TextDecoder.create("utf-8")),i).decode(r)),Promise.resolve(r.byteLength)}}),e.deviceDrivers.add(e.console),e.createLocalDeviceDrivers=function(){return new l0(e.deviceDrivers)}}(nU||(nU={}));let l3=nU;function l8(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class l6{clear(){this.offset=0,this.cursor=0,this.content=[]}setContent(e){this.content=e.split(""),this.cursor=this.content.length}getOffset(){return this.offset}setOffset(e){this.offset=e}getLine(){return this.content.join("")}getCursor(){return this.cursor}isCursorAtEnd(){return this.cursor===this.content.length}isCursorAtBeginning(){return 0===this.cursor}insert(e){for(let t of e)this.content.splice(this.cursor,0,t),this.cursor++}del(){return this.cursor!==this.content.length&&(this.content.splice(this.cursor,1),!0)}backspace(){return 0!==this.cursor&&(this.cursor-=1,this.content.splice(this.cursor,1),!0)}moveCursorRelative(e){let t=this.cursor+e;return!(t<0)&&!(t>this.content.length)&&(this.cursor=t,!0)}moveCursorStartOfLine(){return 0!==this.cursor&&(this.cursor=0,!0)}moveCursorEndOfLine(){return this.cursor!==this.content.length&&(this.cursor=this.content.length,!0)}moveCursorWordLeft(){let e;if(0===this.cursor)return!1;if(" "===this.content[this.cursor-1])for(e=this.cursor-2;e>0;)if(" "===this.content[e])e--;else break;else e=this.cursor;if(0===e)return this.cursor=e,!0;for(;e>0;)if(" "===this.content[e]){e++;break}else e--;return this.cursor=e,!0}moveCursorWordRight(){let e;if(this.cursor===this.content.length)return!1;if(" "===this.content[this.cursor])for(e=this.cursor+1;e<this.content.length;)if(" "===this.content[e])e++;else break;else e=this.cursor;if(e===this.content.length)return this.cursor=e,!0;for(;e<this.content.length;)if(" "===this.content[e])break;else e++;return this.cursor=e,!0}constructor(){l8(this,"offset",void 0),l8(this,"cursor",void 0),l8(this,"content",void 0),this.offset=0,this.cursor=0,this.content=[]}}class l5{update(e){this.history[this.history.length-1]=e}markExecuted(){this.current!==this.history.length-1&&(this.history[this.history.length-1]=this.history[this.current]),this.history[this.history.length-1]===this.history[this.history.length-2]&&this.history.pop(),this.history.push(""),this.current=this.history.length-1}previous(){if(0!==this.current)return this.history[--this.current]}next(){if(this.current!==this.history.length-1)return this.history[++this.current]}constructor(){l8(this,"history",void 0),l8(this,"current",void 0),this.history=[""],this.current=0}}class l9{get stdio(){return{in:{kind:"terminal",terminal:this},out:{kind:"terminal",terminal:this},err:{kind:"terminal",terminal:this}}}setState(e){let t=this.state;this.state=e,t!==e&&((e===l7.free||e===l7.idle)&&(this.lineBuffer.clear(),this.lines=[],this.isStdInClosed=!1),this._onDidChangeState.fire({old:t,new:e}))}getState(){return this.state}setName(e){this.isOpen?this._onDidChangeName.fire(e):this.nameBuffer=e}open(){if(this.isOpen=!0,void 0!==this.nameBuffer&&(this._onDidChangeName.fire(this.nameBuffer),this.nameBuffer=void 0),void 0!==this.writeBuffer){for(let e of this.writeBuffer)this._onDidWrite.fire(e);this.writeBuffer=void 0}}close(){this._onDidCloseTerminal.fire()}async read(e){if(this.isStdInClosed&&0===this.lines.length)return new Uint8Array(0);let t=await this.readline();return this.encoder.encode(t)}readline(){if(void 0!==this.readlineCallback)throw Error("Already in readline mode");return this.lines.length>0?Promise.resolve(this.lines.shift()):this.isStdInClosed?Promise.resolve(""):new Promise(e=>{this.readlineCallback=e})}write(e,t){return"string"==typeof e?(this.writeString(this.replaceNewlines(e)),Promise.resolve()):(this.writeString(this.getString(e,t)),Promise.resolve(e.byteLength))}writeString(e){this.isOpen?this._onDidWrite.fire(e):(void 0===this.writeBuffer&&(this.writeBuffer=[]),this.writeBuffer.push(e))}async prompt(e){await this.write(e),this.lineBuffer.setOffset(e.length)}handleInput(e){if(this.state===l7.free)return void this._onAnyKey.fire();let t=this.lineBuffer.getCursor();switch(e){case"\x03":this.handleInterrupt();break;case"\x04":this.handleEOT(e);break;case"\x06":case"\x1b[C":this.adjustCursor(this.lineBuffer.moveCursorRelative(1),t,this.lineBuffer.getCursor());break;case"\x1bf":case"\x1b[1;5C":this.adjustCursor(this.lineBuffer.moveCursorWordRight(),t,this.lineBuffer.getCursor());break;case"\x02":case"\x1b[D":this.adjustCursor(this.lineBuffer.moveCursorRelative(-1),t,this.lineBuffer.getCursor());break;case"\x1bb":case"\x1b[1;5D":this.adjustCursor(this.lineBuffer.moveCursorWordLeft(),t,this.lineBuffer.getCursor());break;case"\x01":case"\x1b[H":this.adjustCursor(this.lineBuffer.moveCursorStartOfLine(),t,this.lineBuffer.getCursor());break;case"\x05":case"\x1b[F":this.adjustCursor(this.lineBuffer.moveCursorEndOfLine(),t,this.lineBuffer.getCursor());break;case"\x1b[A":if(void 0===this.commandHistory)this.bell();else{let e=this.commandHistory.previous();void 0!==e?(this.eraseLine(),this.lineBuffer.setContent(e),this.writeString(e)):this.bell()}break;case"\x1b[B":if(void 0===this.commandHistory)this.bell();else{let e=this.commandHistory.next();void 0!==e?(this.eraseLine(),this.lineBuffer.setContent(e),this.writeString(e)):this.bell()}break;case"\b":case"":this.lineBuffer.backspace()?this._onDidWrite.fire("\x1b[D\x1b[P"):this.bell();break;case"\x1b[3~":this.lineBuffer.del()?this._onDidWrite.fire("\x1b[P"):this.bell();break;case"\r":this.handleEnter();break;default:this.lineBuffer.insert(e),this.lineBuffer.isCursorAtEnd()||this._onDidWrite.fire("\x1b[@"),this._onDidWrite.fire(e),void 0!==this.commandHistory&&this.commandHistory.update(this.lineBuffer.getLine())}}handleInterrupt(){var e;this._onDidCtrlC.fire(),this._onDidWrite.fire("\x1b[31m^C\x1b[0m\r\n"),this.lineBuffer.clear(),this.lines.length=0,null==(e=this.readlineCallback)||e.call(this,"\n"),this.readlineCallback=void 0}handleEnter(){this._onDidWrite.fire("\r\n");let e=this.lineBuffer.getLine();if(this.lineBuffer.clear(),this.lines.push(e),void 0!==this.commandHistory&&this.commandHistory.markExecuted(),void 0!==this.readlineCallback){let e=this.lines.shift()+"\n";this.readlineCallback(e),this.readlineCallback=void 0}}handleEOT(e){this.isStdInClosed=!0;let t=this.lineBuffer.getLine();if(this.lineBuffer.clear(),t.length>0&&this.lines.push(t),void 0!==this.readlineCallback&&this.lines.length>0){let e=this.lines.shift();this.readlineCallback(e),this.readlineCallback=void 0}}adjustCursor(e,t,r){if(!e)return void this.bell();let i=t-r,n=i>0?"D":"C",o=`\x1b[${n}`.repeat(Math.abs(i));this._onDidWrite.fire(o)}eraseLine(){let e=this.lineBuffer.getCursor();this.adjustCursor(!0,e,0),this._onDidWrite.fire(`\x1b[0J`)}bell(){this._onDidWrite.fire("\x07")}replaceNewlines(e){return e.replace(l9.terminalRegExp,(e,t,r)=>t||(r?"\r\n":e))}getString(e,t){return this.replaceNewlines(this.decoder.decode(e.slice()))}constructor(e={}){l8(this,"options",void 0),l8(this,"commandHistory",void 0),l8(this,"state",void 0),l8(this,"_onDidClose",void 0),l8(this,"onDidClose",void 0),l8(this,"_onDidWrite",void 0),l8(this,"onDidWrite",void 0),l8(this,"_onDidChangeName",void 0),l8(this,"onDidChangeName",void 0),l8(this,"_onDidCtrlC",void 0),l8(this,"onDidCtrlC",void 0),l8(this,"_onAnyKey",void 0),l8(this,"onAnyKey",void 0),l8(this,"_onDidChangeState",void 0),l8(this,"onDidChangeState",void 0),l8(this,"_onDidCloseTerminal",void 0),l8(this,"onDidCloseTerminal",void 0),l8(this,"lines",void 0),l8(this,"lineBuffer",void 0),l8(this,"readlineCallback",void 0),l8(this,"isOpen",void 0),l8(this,"nameBuffer",void 0),l8(this,"writeBuffer",void 0),l8(this,"encoder",void 0),l8(this,"decoder",void 0),l8(this,"isStdInClosed",void 0),this.options=e,this.commandHistory=this.options.history?new l5:void 0,this.state=l7.busy,this._onDidClose=r$.create(),this.onDidClose=this._onDidClose.event,this._onDidWrite=r$.create(),this.onDidWrite=this._onDidWrite.event,this._onDidChangeName=r$.create(),this.onDidChangeName=this._onDidChangeName.event,this._onDidCtrlC=r$.create(),this.onDidCtrlC=this._onDidCtrlC.event,this._onAnyKey=r$.create(),this.onAnyKey=this._onAnyKey.event,this._onDidChangeState=r$.create(),this.onDidChangeState=this._onDidChangeState.event,this._onDidCloseTerminal=r$.create(),this.onDidCloseTerminal=this._onDidCloseTerminal.event,this.encoder=lm().TextEncoder.create(),this.decoder=lm().TextDecoder.create(),this.isStdInClosed=!1,this.lines=[],this.lineBuffer=new l6,this.isOpen=!1}}l8(l9,"terminalRegExp",/(\r\n)|(\n)/gm);var l7=((rd={})[rd.free=1]="free",rd[rd.idle=2]="idle",rd[rd.busy=3]="busy",rd);(ru=nq||(nq={})).none=0,ru.create=1,ru.directory=2,ru.exclusive=4,ru.truncate=8;var ce=((rm={})[rm.unknown=0]="unknown",rm[rm.directory=1]="directory",rm[rm.regular_file=2]="regular_file",rm[rm.character_device=3]="character_device",rm);async function ct(e,t){let r=new aI.CancellationTokenSource;try{var i,n;let o,a,s,l=async()=>{try{return await cr(e,e=>(o=e,Promise.resolve(!0)),r.token)}catch{return!1}};if(!await (i=l(),n=()=>r.cancel(),s=setTimeout(()=>{null==a||a(void 0),null==n||n()},t),Promise.race([i.finally(()=>clearTimeout(s)),new Promise(e=>a=e)])))return;return o}catch{return}finally{r.dispose()}}async function cr(e,t,r){let i=new AbortController,n=i.signal;(0,ow.$B)(r,()=>{i.abort()});let o=await fetch(e,{headers:{"User-Agent":"Octokit GitHub Node.js"},signal:n});if(200===o.status){let e=await o.arrayBuffer();return await t(e)}if(300===o.status){for(let e of(await o.json()).message.match(/https?:\/\/[^\s,]+/g)||[])if(await cr(e,t,r))return!0}return!1}(nj||(nj={})).is=function(e){return e&&"object"==typeof e&&"number"==typeof e.initial&&("number"==typeof e.maximum||void 0===e.maximum)&&("boolean"==typeof e.shared||void 0===e.shared)},(n$||(n$={})).create=function(e,t){return{version:"1",createPseudoterminal:e=>new l9(e),createMemoryFileSystem:()=>Promise.resolve(new lj),async createRootFileSystem(e){let t=new ls,r=new lP(await l3.createRootFileSystem(t,e),t);return await r.initialize(),r},createReadable:()=>new lL,createWritable(e){let t;if(void 0===e)return new lM;let r=lM;if("string"==typeof e){if("utf-8"!==e)throw Error(`Unsupported encoding: ${e}`);t=e}else{if(void 0!==e.encoding&&"utf-8"!==e.encoding)throw Error(`Unsupported encoding: ${e.encoding}`);t=e.encoding,e.eot&&(r=lR)}return new r(t)},async createProcess(t,r,i,n,o,a){let s,l;o instanceof WebAssembly.Memory||nj.is(o)?(s=o,l=a):l=o;let c=new e(t,r,i,n,s,l);return await c.initialize(),c},compile:t}},(nG||(nG={})).is=function(e){return void 0!==e.transformSettings},r(99508),r(21112),(nW||(nW={})).is=function(e){return e&&!!e.checkPythonEnvExtExist},(rp=nB||(nB={})).telemetry=new aA.ru("TelemetryInterface"),rp.logger=new aA.ru("LogService"),rp.platform=new aA.ru("Platform"),rp.globalIndices=new aA.ru("IndicesManager"),rp.fixtureFinder=new aA.ru("FixtureFinder"),rp.asyncFixtureFinder=new aA.ru("AsyncFixtureFinder"),rp.stringDefinitionFinder=new aA.ru("StringDefinitionFinder"),rp.asyncStringDefinitionFinder=new aA.ru("AsyncStringDefinitionFinder"),rp.typedDictKeyDefinitionFinder=new aA.ru("TypedDictKeyDefinitionFinder"),rp.asyncTypedDictKeyDefinitionFinder=new aA.ru("AsyncTypedDictKeyDefinitionFinder"),rp.bulkServiceRegistration=new aA.ru("BulkServiceRegistrationService"),rp.constructorUsageProviderFactory=new aA.ru("ConstructorUsageProviderFactory"),rp.overrideUsageProviderFactory=new aA.ru("OverrideUsageProviderFactory"),rp.typeInStringUsageProviderFactory=new aA.ru("TypeInStringUsageProviderFactory"),rp.uriMapper=new aA.ru("INotebookUriMapper"),rp.backgroundAnalysisFactory=new aA.ru("IBackgroundAnalysisFactory"),rp.hostFactory=new aA.ru("IHostFactory"),rp.hostProvider=new aA.ru("IHostProvider"),rp.settingTransformer=new aA.ru("ISettingTransformer"),rp.declarationFinder=new aA.ru("DeclarationFinder"),rp.asyncDeclarationFinder=new aA.ru("AsyncDeclarationFinder"),rp.mruQueues=new aA.ru("MRUQueues"),rp.profilingService=new aA.ru("ProfilingService"),rp.completionListConverter=new aA.ru("CompletionListConverter"),rp.packageDiscoverer=new aA.ru("IPackageDiscoverer"),rp.sandboxService=new aA.ru("IPythonSandboxService"),rp.pthService=new aA.ru("PthService"),rp.recommendationService=new aA.ru("RecommendationService"),rp.test=new aA.ru("TestService"),rp.checkTypesCallback=new aA.ru("SlowCheckTelemetryService"),rp.externalServerFactory=new aA.ru("IExternalLanguageServerFactory"),rp.pythonEnvironmentService=new aA.ru("PythonEnvironmentService"),rp.parserService=new aA.ru("ParserService"),rp.typeProviderServiceFactory=new aA.ru("TypeProviderServiceFactory"),rp.versionService=new aA.ru("PythonVersionService"),rp.asyncSymbolDefinitionProvider=new aA.yV("IAsyncSymbolDefinitionProvider"),rp.asyncSymbolUsageProviderFactory=new aA.ru("IAsyncSymbolUsageProviderFactory"),rp.messageTracker=new aA.ru("IMessageTrackerService"),rp.connectionService=new aA.ru("ConnectionService"),rp.workspaceFactory=new aA.ru("WorkspaceFactory"),rp.codeActionService=new aA.ru("CodeActionService"),rp.commandRegistry=new aA.ru("CommandRegistry"),rp.secondaryTaskRegistry=new aA.ru("SecondaryTaskRegistry"),rp.configuration=new aA.ru("ConfigurationProvider"),rp.workspaceEdit=new aA.ru("WorkspaceEditorService"),rp.uriConverter=new aA.ru("UriConverter"),rp.textDocumentTracker=new aA.ru("TextDocumentTrackerRegistry"),rp.experimentService=new aA.ru("ExperimentService"),rp.completionProviderRegistry=new aA.ru("CompletionProviderRegistry"),rp.clientCapabilities=new aA.ru("ClientCapabilities"),rp.docStringService=new aA.ru("DocStringService"),rp.asyncDocStringService=new aA.ru("AsyncDocStringService"),rp.docStringPluginService=new aA.ru("DocStringPluginService"),rp.diagnosticCodeMapper=new aA.ru("IDiagnosticCodeMapper"),aA.Be.prototype.uriMapper=function(){return this.tryGet(nB.uriMapper)},aA.Be.prototype.sandboxService=function(){return this.get(nB.sandboxService)},aA.Be.prototype.platform=function(){return this.get(nB.platform)},aA.Be.prototype.asyncDocStringService=function(){return this.get(nB.asyncDocStringService)},r(46156);var ci=r(84025),cn=r(64819);function co(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}(rg=(rh=nV||(nV={})).Source||(rh.Source={})).UnusedImports=cn.CodeActionKind.Source+".unusedImports",rg.ConvertImportFormat=cn.CodeActionKind.Source+".convertImportFormat",rg.ConvertImportStar=cn.CodeActionKind.Source+".convertImportStar",rg.ConvertImportToModule=cn.CodeActionKind.Source+".convertImportToModule",rg.RenameShadowedStdlibImports=cn.CodeActionKind.Source+".renameShadowedStdlibImports",rg.AddTypeAnnotation=cn.CodeActionKind.Source+".addTypeAnnotation",rg.FixAll=cn.CodeActionKind.SourceFixAll+".pylance",(rf=rh.RefactorExtract||(rh.RefactorExtract={})).Variable=cn.CodeActionKind.RefactorExtract+".variable",rf.Method=cn.CodeActionKind.RefactorExtract+".method",(ry=rh.RefactorMove||(rh.RefactorMove={})).ToFile=(z=cn.CodeActionKind.Refactor+".move")+".toFile",ry.ToNewFile=z+".toNewFile",nV.Source.UnusedImports,nV.Source.ConvertImportFormat,nV.Source.ConvertImportStar,nV.Source.ConvertImportToModule,nV.Source.RenameShadowedStdlibImports,nV.Source.AddTypeAnnotation,nV.Source.FixAll,nV.RefactorExtract.Variable,nV.RefactorExtract.Method,nV.RefactorMove.ToFile,nV.RefactorMove.ToNewFile,r(53720),se.gw;let ca={enforcePythonSyntax:!0,expandTypeAlias:!1,omitTypeArgsIfUnknown:!0,printUnknownWithAny:!0};class cs{getTypeString(e){if(!this._parseResults||!this._importStatements)return this._program.evaluator.printType(e,this._options);let t=this._program.evaluator.printType(e,this._options);return cs._preservedTypeStrings.has(t)?t:(this._addImplicitTypingDependenciesForType(e),(0,aj.f7)(e)||(0,aj.Pd)(e)||(0,aj.D4)(e))?this._getTypeString(e):(0,aj.mi)(e)?this._getUnionTypeString(e):this._program.evaluator.printType(e,this._options)}get _useTypeAlias(){return!!this._importAdder&&this._importAdder.options.useTypeAlias}_addImplicitTypingDependenciesForType(e){if(!this._importAdder)return;let t=new Set;if(this._collectImplicitTypingDependenciesForType(e,t,new Set),0===t.size)return;let r=this._program.serviceProvider.tryGet(nB.declarationFinder);if(r)for(let e of t){let t=r.getDefinitionFromTypingByName(e);0!==t.length&&this._importAdder.addImportInfo({fileUri:t[0].uri,nameInfo:{name:e}})}}_collectImplicitTypingDependenciesForType(e,t,r){if(!r.has(e)){if(r.add(e),(0,aj.mi)(e)){if(!this._program.configOptions.diagnosticRuleSet.pep604Printing)if(sn(e)){t.add("Optional");let r=(0,a$.Wt)(e);(0,aj.mi)(r)&&t.add("Union")}else t.add("Union");for(let i of e.priv.subtypes)this._collectImplicitTypingDependenciesForType(i,t,r);return}if((0,aj.Tn)(e)){t.add("Callable");for(let i=0;i<e.shared.parameters.length;i++)this._collectImplicitTypingDependenciesForType(aj.RK.getParamType(e,i),t,r);let i=aj.RK.getEffectiveReturnType(e);i&&this._collectImplicitTypingDependenciesForType(i,t,r);return}if((0,aj.Gl)(e)){for(let i of(t.add("Callable"),aj.OF.getOverloads(e)))this._collectImplicitTypingDependenciesForType(i,t,r);return}if((0,aj.D4)(e)){var i,n;null==(i=e.priv.typeArgs)||i.forEach(e=>{this._collectImplicitTypingDependenciesForType(e,t,r)}),null==(n=e.priv.tupleTypeArgs)||n.forEach(e=>{this._collectImplicitTypingDependenciesForType(e.type,t,r)})}}}_getUnionTypeString(e){if(this._program.configOptions.diagnosticRuleSet.pep604Printing){let t=[];return e.priv.subtypes.forEach(e=>{t.push(this.getTypeString(e))}),t.join(" | ")}return this._getTypeString(e)}_getTypeString(e){let t=this._program.serviceProvider.tryGet(nB.declarationFinder);if(t)for(let r of t.getDeclarations(e,this._token,{useTypeAlias:this._useTypeAlias})){let t=this._tryGetExistingImportInfo(e,r);return this._generateText(e,r,t)}return this._program.evaluator.printType(e,this._options)}_tryGetExistingImportInfo(e,t){var r,i;let n=sr(t.node),o=null!=(r=null==n?void 0:n.d.value)?r:(0,aU.eE)(t),a=null==(i=this._importAdder)?void 0:i.tryGetImportResult(this._importStatements,this._parseResults,this._token);if(a){for(let e of a.applyData)if(e.info.some(e=>e.name===o&&!e.alias))return}return function(e,t,r,i){var n,o,a,s,l,c,d,u,m;let p=sr(i.node),h=p&&null!=(n=e.evaluator.getType(p))?n:r,g=(0,aj.D4)(h)&&h.priv.aliasName?h.priv.aliasName:null!=(o=null==p?void 0:p.d.value)?o:(0,aU.eE)(i);for(let r of t.orderedImports)if(r.node.nodeType===aM.ye.ImportFrom&&!r.node.d.isWildcardImport)for(let t of r.node.d.imports){let r=null!=(a=t.d.alias)?a:t.d.name,i=e.evaluator.getType(r);if(i&&aj.Ab.isInstantiable(i)&&sc(h,i))return{outermostName:r.d.value}}if(g)for(let r of t.orderedImports){if(r.node.nodeType===aM.ye.ImportFrom)for(let t of r.node.d.imports){let r=sa(e,null!=(s=t.d.alias)?s:t.d.name,null!=(l=null==(c=t.d.alias)?void 0:c.d.value)?l:t.d.name.d.value,h,g);if(r)return r}if(r.node.nodeType===aM.ye.Import){let t=r.subnode;if(!t||t.d.module.d.nameParts.length<=0)continue;let i=sa(e,null!=(d=t.d.alias)?d:t.d.module.d.nameParts[t.d.module.d.nameParts.length-1],null!=(u=null==(m=t.d.alias)?void 0:m.d.value)?u:r.moduleName,h,g);if(i)return i}}}(this._program,this._importStatements,e,t)}_generateText(e,t,r){return(null==r?void 0:r.module)?`${r.module}.${this._getInsertionText(e,t,r.outermostName)}`:r?this._getInsertionText(e,t,r.outermostName):this._getTypeText(e,t)}_getTypeText(e,t){let r=this._program.evaluator.printType(e,this._options);if((0,aj.D4)(e)){let e=(0,aF.Ji)(t.node);if(e)return`${si(e).join(".")}.${r}`}return r}_getInsertionText(e,t,r){if((0,aj.D4)(e)){var i;let n=(0,aF.Ji)(t.node);if(n){let t=si(n);t[0]=r,r=`${t.join(".")}.${e.shared.name}`}if(e.priv.tupleTypeArgs&&e.priv.tupleTypeArgs.length>0){if(e.priv.tupleTypeArgs.every(e=>(0,aj.t8)(e.type)))return r;let t=e.priv.tupleTypeArgs.map(e=>{let t=this.getTypeString(e.type);return e.isUnbounded?`${t}, ...`:t});return r+`[${t.join(", ")}]`}if(!e.priv.typeArgs||0===e.priv.typeArgs.length||(null==(i=e.priv.typeArgs)?void 0:i.every(e=>(0,aj.t8)(e))))return r;let o=e.priv.typeArgs.map(e=>this.getTypeString(e));return r+`[${o.join(", ")}]`}if((0,aj.mi)(e)){if(0===e.priv.subtypes.length||e.priv.subtypes.every(e=>(0,aj.t8)(e)))return r;let t=e.priv.subtypes.map(e=>this.getTypeString(e));return sn(e)?`Optional[${t.filter(e=>"None"!==e).join(", ")}]`:r+`[${t.join(", ")}]`}return r}_getTypePrintOptions(e){return{...ca,expandTypeAlias:e}}constructor(e,t,r,i){if(co(this,"_program",void 0),co(this,"_fileUri",void 0),co(this,"_token",void 0),co(this,"_importAdder",void 0),co(this,"_parseResults",void 0),co(this,"_importStatements",void 0),co(this,"_options",void 0),this._program=e,this._fileUri=t,this._token=r,this._importAdder=i,this._options=this._getTypePrintOptions(!this._useTypeAlias),this._parseResults=this._program.getParseResults(this._fileUri),!this._parseResults)return;this._importStatements=(0,a3.AG)(this._parseResults.parserOutput.parseTree)}}co(cs,"_preservedTypeStrings",new Set(["None","..."])),(nH||(nH={})).is=function(e){return e&&!!e.sendRequest},(rv=nK||(nK={})).promptRenderer=new aA.ru("PromptRenderer"),rv.languageModelService=new aA.ru("LanguageModelService");var cl=r(42677);cl.PromptElement;class cc extends cl.PromptElement{render(e,t,r,i=ci.CancellationToken.None){var n;(0,ow.Lj)(i);let o=null==(n=this.props.uri)?void 0:n.getPath(),a=function(e,t,r=!0,i="python"){let n,o=(n=Math.max(3,...Array.from(e.matchAll(/^\s*(```+)/gm),e=>e[1].length+1)),"`".repeat(n)),a="";return t&&(a=`${function(e,t="# "){return`${t}filepath: ${e}`}(t,"# ")}
`),`${o}${i}
${a}${r?e.trim():e}
${o}`}(this.props.code,o,this.props.shouldTrim,this.props.language);return React.createElement(cl.TextChunk,null,a)}constructor(e){super(e)}}cl.PromptElement;class cd extends cl.PromptElement{render(){let{name:e}=this.props;if(!cd._regex.test(e))throw Error(`Invalid tag name: ${this.props.name}`);return React.createElement(React.Fragment,null,"<",e,">",React.createElement("br",null),React.createElement(React.Fragment,null,this.props.children,React.createElement("br",null)),"</",e,">",React.createElement("br",null))}}rb=/^[a-zA-Z_][\w.-]*$/,(r_="_regex")in cd?Object.defineProperty(cd,r_,{value:rb,enumerable:!0,configurable:!0,writable:!0}):cd[r_]=rb,cl.PromptElement,cl.PromptElement,cl.PromptElement;cl.PromptElement,cl.PromptElement,cl.PromptElement,cl.PromptElement,cl.PromptElement,cl.PromptElement;var cu=((rw={}).generateDocstring="pylance.generateDocstring",rw.implementUsingCopilot="pylance.implementUsingCopilot",rw.generateDocumentation="pylance.generateDocumentation",rw.addSummaryAsDocstringAndDismissTooltip="pylance.addSummaryAsDocstringAndDismissTooltip",rw.addSummaryAsDocstring="pylance.addSummaryAsDocstring",rw.pluginCommand="pylance.pluginCommand",rw);function cm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class cp{dispose(){this._disposables.forEach(e=>e.dispose())}async provideHover(e,t,r){if(!this._client||!nQ.workspace.getConfiguration("python.analysis").get("aiHoverSummaries",!1))return;let i=await this._checkDocumentationStatus(e,t,r);if(!i.shouldGenerate)return;if(i.cachedContent&&i.cachedContent.length>0){let r=i.cachedContent,n=!!i.shouldAddCommandLink;"ai"===i.source&&(r=this._addSparkleAndCommandLinkIfNeeded(r,i.shouldAddCommandLink,[e.uri.toString(),t,r]));let o=new nQ.MarkdownString(r);return o.supportThemeIcons=!0,o.isTrusted=n,new nQ.Hover(o,new nQ.Range(t,t))}let n=this._getCacheKey(e.uri.toString(),t),o=this._activeRequests.get(n);if(null==o?void 0:o.cancelled)return;if(o&&!this._isNewHover(e,t)){if(o.ready){let e=new nQ.MarkdownString(o.content);return e.supportThemeIcons=!0,e.isTrusted=!!o.shouldAddCommandLink,new nQ.Hover(e,new nQ.Range(t,t))}if(o.waiting){let e=new nQ.MarkdownString("$(sparkle) $(loading~spin)");return e.supportThemeIcons=!0,new nQ.Hover(e,new nQ.Range(t,t))}}let a=[e.uri.toString(),{line:t.line,character:t.character}],s=nQ.Uri.parse(`command:${cu.generateDocumentation}?${encodeURIComponent(JSON.stringify(a))}`),l=new nQ.MarkdownString(`[$(book) ${rA.documentation.get()}](${s} "${rA.documentation.tooltip()}")`);return l.supportThemeIcons=!0,l.isTrusted=!0,new nQ.Hover(l,new nQ.Range(t,t))}async _generateDocumentation(e,t){let r=this._getCacheKey(e,t);try{this._activeRequests.set(r,{position:t,cancelled:!1,waiting:!1,ready:!1});let i=nQ.Uri.parse(e),n=nQ.workspace.textDocuments.find(e=>e.uri.toString()===i.toString());if(!n)return;let o=nQ.window.visibleTextEditors.find(e=>e.document.uri.toString()===i.toString());if(!o)return;o.selection=new nQ.Selection(t,t),this._showWaiting(r),await this._showDocumentationContent(n,t);let a=await rx.sendRequest(this._client,rx.Requests.GetDocumentation,{hoverParams:this._client.code2ProtocolConverter.asTextDocumentPositionParams(n,t)},new nQ.CancellationTokenSource().token);if(!a||!a.content)return void await this._showDocumentationContent(n,t,rA.documentation.notAvailable());if(this._isRequestCancelled(n,t))return void this._activeRequests.delete(r);let s=a.content;"ai"===a.source&&(s=this._addSparkleAndCommandLinkIfNeeded(s,a.shouldAddCommandLink,[e,t,s])),await this._showDocumentationContent(n,t,s,a.shouldAddCommandLink)}catch(e){this._activeRequests.delete(r)}finally{this._activeRequests.delete(r)}}_addSparkleAndCommandLinkIfNeeded(e,t,r){e=e||rA.documentation.notAvailable();let i=`$(sparkle) ${rA.documentation.copilotSummary()}
`;if(!t)return i+e;let n=nQ.Uri.parse(`command:${cu.addSummaryAsDocstringAndDismissTooltip}?${encodeURIComponent(JSON.stringify(r))}`),o=`
[Add as docstring](${n} "Add the Copilot summary as a docstring.")`;return e+=o,e=i+e}async _checkDocumentationStatus(e,t,r){try{return await rx.sendRequest(this._client,rx.Requests.CheckDocumentationStatus,{hoverParams:this._client.code2ProtocolConverter.asTextDocumentPositionParams(e,t)},r)}catch{return{shouldGenerate:!1}}}_showWaiting(e){let t=this._activeRequests.get(e);t&&(t.waiting=!0,t.ready=!1,t.content=void 0,t.shouldAddCommandLink=!1)}_showContent(e,t,r){let i=this._activeRequests.get(e);i&&(i.waiting=!1,i.ready=!0,i.content=t,i.shouldAddCommandLink=r)}async _showDocumentationContent(e,t,r,i=!1){try{var n;let o=null==(n=nQ.window.activeTextEditor)?void 0:n.selection.active;if(!(null==o?void 0:o.isEqual(t)))return void this._cancelRequest(e,t);if(this._isRequestCancelled(e,t))return;if(await nQ.commands.executeCommand("cursorMove",{to:"right"}),await nQ.commands.executeCommand("editor.action.showHover",{focus:"noAutoFocus"}),r){let n=this._getCacheKey(e.uri.toString(),t);this._showContent(n,r,i)}this._isRequestCancelled(e,t)||(await nQ.commands.executeCommand("cursorMove",{to:"left"}),await nQ.commands.executeCommand("editor.action.showHover",{focus:"noAutoFocus"}))}catch(e){console.error("Error showing copilot content:",e)}}_isNewHover(e,t){let r=this._getCacheKey(e.uri.toString(),t);return!this._activeRequests.has(r)}_isRequestCancelled(e,t){var r;let i=this._getCacheKey(e.uri.toString(),t),n=this._activeRequests.get(i);return null!=(r=null==n?void 0:n.cancelled)&&r}_cancelRequest(e,t){let r=this._getCacheKey(e.uri.toString(),t);this._activeRequests.delete(r)}_getCacheKey(e,t){let r=nQ.Uri.parse(e);return`${r.toString()}:${t.line}:${t.character}`}_dismissTooltipAfterDocstringAdded(e,t){let r=nQ.window.activeTextEditor;if(r&&r.document.uri.toString()===nQ.Uri.parse(e).toString()){let r=this._getCacheKey(e,t);this._activeRequests.delete(r),nQ.commands.executeCommand("editor.action.hideHover")}}constructor(e){cm(this,"_client",void 0),cm(this,"_disposables",void 0),cm(this,"_activeRequests",void 0),this._client=e,this._disposables=[],this._activeRequests=new Map,this._disposables.push(nQ.commands.registerCommand(cu.generateDocumentation,async(...e)=>{if(2!==e.length)return;let t=e[0],r=new nQ.Position(e[1].line,e[1].character);await this._generateDocumentation(t,r)}),nQ.commands.registerCommand(cu.addSummaryAsDocstringAndDismissTooltip,async(...e)=>{if(3!==e.length)return;let t=e[0],r=e[1],i=e[2];try{let e=await this._client.sendRequest("workspace/executeCommand",{command:cu.pluginCommand,arguments:[cu.addSummaryAsDocstring,t,r,i]});return e&&this._dismissTooltipAfterDocstringAdded(t,r),e}catch(e){console.error("Error adding docstring:",e);return}}))}}var ch=((rk={}).createTypeStub="python.createTypeStub",rk.orderImports="python.orderImports",rk.addMissingOptionalToParam="python.addOptionalForParam",rk.removeUnusedImport="python.removeUnusedImport",rk.addImport="python.addImport",rk.changeSpelling="pylance.changeSpelling",rk.extractMethod="pylance.extractMethod",rk.extractVariable="pylance.extractVariable",rk.dumpFileDebugInfo="pyright.dumpFileDebugInfo",rk.completionAccepted="pylance.completionAccepted",rk.executedClientCommand="pylance.executedClientCommand",rk.convertImportFormat="pylance.convertImportFormat",rk.moveSymbol="pylance.moveSymbol",rk.getSourceFiles="pylance.getSourceFiles",rk.getAutoImports="pylance.getAutoImports",rk.fixAll="pylance.fixAll",rk.addFixtureTypeAnnotation="pylance.pytest.addFixtureTypeAnnotation",rk.addAllFixtureTypeAnnotations="pylance.pytest.addAllFixtureTypeAnnotations",rk.restartServer="pyright.restartserver",rk.clearPersistedIndices="pylance.indexing.clearPersistedIndices",rk.startProfiling="pylance.profiling.start",rk.stopProfiling="pylance.profiling.stop",rk.startLogging="pylance.logging.start",rk.stopLogging="pylance.logging.stop",rk.implementAllAbstractClasses="pylance.implementAllAbstractClasses",rk.implementAllAbstractClassesWithCopilot="pylance.implementAllAbstractClassesWithCopilot",rk.getAllDocstringRanges="pylance.getAllDocstringRanges",rk.runCurrentFileInSandbox="pylance.server.runCurrentFileInSandbox",rk.diagnosticRefactor="pylance.diagnosticRefactor",rk.pluginCommand="pylance.pluginCommand",rk.convertImportStar="pylance.convertImportStar",rk.convertImportToModule="pylance.convertImportToModule",rk.addTypeAnnotation="pylance.addTypeAnnotation",rk.inheritAllDecorators="pylance.inheritAllDecorators",rk.addToExtraPathsInConfig="pylance.addToExtraPathsInConfig",rk.renameShadowedStdlib="pylance.renameShadowedStdlib",rk),cg=((rC={}).reportIssue="pylance.reportIssue",rC.triggerParameterHints="pylance.triggerParameterHints",rC.runCommands="pylance.runCommands",rC.extractMethodWithRename="pylance.extractMethodWithRename",rC.extractVariableWithRename="pylance.extractVariableWithRename",rC.moveSymbolWithFileSelection="pylance.moveSymbolWithFileSelection",rC.addToExtraPaths="pylance.addToExtraPaths",rC.dumpTokens="pylance.dumpTokens",rC.dumpNodes="pylance.dumpNodes",rC.dumpTypes="pylance.dumpTypes",rC.dumpCachedTypes="pylance.dumpCachedTypes",rC.setAutoImportCompletions="pylance.setAutoImportCompletions",rC.dumpCodeFlowGraph="pylance.dumpCodeFlowGraph",rC.pythonSetInterpeter="python.setInterpreter",rC.notebookSelectKernel="_notebook.selectKernel",rC.openUri="pylance.openUri",rC.searchImports="pylance.searchImports",rC.gotoOutputChannel="pylance.gotoOutputChannel",rC.openConfig="pylance.openConfig",rC.startEditorChat="vscode.editorChat.start",rC.showTypeCheckingPicker="pylance.showTypeCheckingPicker",rC.foldDocstrings="pylance.foldDocstrings",rC.unfoldDocstrings="pylance.unfoldDocstrings",rC.runCurrentFileInSandbox="pylance.runCurrentFileInSandbox",rC.showRecommendations="pylance.showRecommendations",rC.troubleshootMissingImports="pylance.troubleshootMissingImports",rC.installMissingPackages="pylance.installMissingPackages",rC.findMatchingEnv="pylance.findMatchingEnv",rC.showReferences="pylance.showReferences",rC);async function cf(e,t,r,i){let n=e.getConfiguration("python.analysis",nQ.Uri.file(r)),o=n.get("extraPaths"),a=Array.isArray(o)?[...o]:[];a.push(i),await n.update("extraPaths",a),await t.executeCommand(ch.executedClientCommand,cg.addToExtraPaths)}function cy(e){let t=nQ.window.activeTextEditor;if(!t)return;let r=e.edits.changes,i=e.data;if(r&&i){let e,n=i.newSymbolName,o=t.document.uri.toString(),a=r[o];if(!a){let e=Object.keys(r);throw Error(`Unable to match active uri: ${o}
in extract results: ${e.join("\n")}`)}let s=a.reduce((e,t)=>t.range.start.line<e?t.range.start.line:e,a[0].range.start.line);for(let r=s;r<t.document.lineCount;r+=1){let i=t.document.lineAt(r),o=i.text.indexOf(n);if(o>=0){e=new nQ.Position(i.range.start.line,o);break}}e&&(t.selections=[new nQ.Selection(e,new nQ.Position(e.line,e.character+n.length))],t.revealRange(new nQ.Range(t.selection.start,t.selection.end),nQ.TextEditorRevealType.Default)),nQ.commands.executeCommand("editor.action.rename")}}let cv="https://aka.ms/pylancelogs";async function c_(){let e,t,i=(e="",(t=nQ.workspace.textDocuments.find(e=>e.getText().includes("Pylance")))&&(e=t.getText()),e);if(i.length>6e4){if(await nQ.commands.executeCommand("workbench.action.openLogFile","ms-python.python.Python Language Server"),await cb()){let e=await cw();if(e){let{Octokit:t}=await r.e("474").then(r.bind(r,44657)),n=new t({auth:e.accessToken});try{let e=await n.git.createBlob({owner:"Microsoft",repo:"pylance-release",content:i}),t=`Log size exceeded GitHub issue size limit.
Here is the SHA of the system-added logs:
\`\`\`
${e.data.sha}
\`\`\`
Visit this link to learn how to retrieve the logs: ${cv}.
`;await nQ.commands.executeCommand("vscode.openIssueReporter",{extensionId:n8,data:t});return}catch(e){}}}}else{let e=rA.LargeLog.copyToClipboard();nQ.env.clipboard.writeText(i),nQ.window.showInformationMessage(e),i=i.slice(-6e4)}let n=`<details>
<summary>System Added Logs</summary>
\`\`\`
${i}
\`\`\`
</details>`;await nQ.commands.executeCommand("vscode.openIssueReporter",{extensionId:n8,data:n})}async function cb(){let e=rA.LargeLog.userConsent().format({url:cv}),t=rA.LargeLog.openLink(),r=rA.LargeLog.yes(),i=rA.LargeLog.no(),n=await nQ.window.showInformationMessage(e,{modal:!0},t,r,i);return n===t&&(nQ.env.openExternal(nQ.Uri.parse("https://aka.ms/pylancelogs")),n=await nQ.window.showInformationMessage(e,{modal:!0},r,i)),n===r}async function cw(){let e="github",t=["repo","user"];try{let r=await nQ.authentication.getSession(e,t);return r||(r=await nQ.authentication.getSession(e,t,{forceNewSession:!0})),r}catch(e){return null}}class ck{showInformationMessage(e,t,...r){return nQ.window.showInformationMessage(e,t,...r)}showWarningMessage(e,t,...r){return nQ.window.showWarningMessage(e,t,...r)}showErrorMessage(e,t,...r){return nQ.window.showErrorMessage(e,t,...r)}setStatusBarMessage(e,t){return nQ.window.setStatusBarMessage(e,t)}createStatusBarItem(e,t){return nQ.window.createStatusBarItem(e,t)}withProgress(e,t){return nQ.window.withProgress(e,t)}withProgressCustomIcon(e,t){let r=new nQ.CancellationTokenSource().token,i=this.createStatusBarItem(nQ.StatusBarAlignment.Left);return i.show(),t({report:t=>{i.text=`${e} ${t.message}`}},r).then(e=>(i.dispose(),e))}createOutputChannel(e){return nQ.window.createOutputChannel(e)}createQuickPick(){return nQ.window.createQuickPick()}showQuickPick(e,t,r){return nQ.window.showQuickPick(e,t,r)}showOpenDialog(e){return nQ.window.showOpenDialog(e)}}function cC(e,t){return e.line!==t.line?e.line<t.line?-1:1:e.character!==t.character?e.character<t.character?-1:1:0}function cS(e){return{start:{line:e.start.line,character:e.start.character},end:{line:e.end.line,character:e.end.character}}}function cT(e,t,r){if(!e||0!==(0,aN.XW)(e.document.uri.toString(),t))return r;let i=e.selections.map(e=>new nQ.Range(e.start,e.end)).filter(e=>!e.isEmpty);if(i.length<=1)return r;let n=i.sort((e,t)=>{let r=cC(e.start,t.start);return 0!==r?r:cC(e.end,t.end)}),o=e.document,a=o.getText(n[0]);for(let e=0;e<n.length;e+=1){var s;let t=n[e];if(o.getText(t)!==a||e>0&&(s=n[e-1]).start.isBefore(t.end)&&t.start.isBefore(s.end))return r}return n.map(cS)}var cx=r(2543);function cP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let cA="python.analysis";class cI{activate(){this.updateStatusItem(),this.disposables.push(nQ.workspace.onDidChangeConfiguration(e=>{(e.affectsConfiguration(this._fullSettingName)||e.affectsConfiguration("python.languageServer"))&&this.debouncedUpdateStatusItem()})),this.disposables.push(nQ.window.onDidChangeActiveTextEditor(e=>{(null==e?void 0:e.document.languageId)==="python"&&this.debouncedUpdateStatusItem()}))}dispose(){var e;null==(e=this.statusItem)||e.dispose(),this.statusItem=void 0,this.debouncedUpdateStatusItem.cancel(),this.disposables.forEach(e=>e.dispose())}updateStatusItem(){var e,t,r;let i;if((i=this._appConfig.getSetting("python","languageServer"))!==n5&&"Default"!==i){null==(t=this.statusItem)||t.dispose(),this.statusItem=void 0;return}this.statusItem||(this.statusItem=this.createStatusItem());let n=null==(e=nQ.window.activeTextEditor)?void 0:e.document.uri;if(this.statusItem&&n){let e=this._appConfig.getConfiguration(cA,{uri:n,languageId:"python"}).inspect(this._settingName),t=!1,i=null==e?void 0:e.defaultValue;(null==e?void 0:e.workspaceFolderValue)!==void 0?i=e.workspaceFolderValue:(null==e?void 0:e.workspaceValue)!==void 0?i=e.workspaceValue:(null==e?void 0:e.globalValue)!==void 0?i=e.globalValue:t=!0,void 0!==i?this.updateStatusDetails(this.statusItem,i,t):(null==(r=this.statusItem)||r.dispose(),this.statusItem=void 0)}}updateStatusDetails(e,t,r){}createStatusItem(){if("createLanguageStatusItem"in nQ.languages)return nQ.languages.createLanguageStatusItem(this._fullSettingName,{language:"python"})}constructor(e){cP(this,"_settingName",void 0),cP(this,"supportedWorkspaceTypes",void 0),cP(this,"disposables",void 0),cP(this,"_appConfig",void 0),cP(this,"_fullSettingName",void 0),cP(this,"debouncedUpdateStatusItem",void 0),cP(this,"statusItem",void 0),this._settingName=e,this.supportedWorkspaceTypes={untrustedWorkspace:!0,virtualWorkspace:!0},this.disposables=[],this.debouncedUpdateStatusItem=(0,cx.debounce)(this.updateStatusItem.bind(this),500),this._fullSettingName=`${cA}.${this._settingName}`,this._appConfig=new oY}}class cF extends cI{updateStatusDetails(e,t,r){e.command=void 0,e.name=rD.autoImportCompletionsStatusItem.name(),e.text=rD.autoImportCompletionsStatusItem.textFormatted().format(`${t}`),e.severity=nQ.LanguageStatusSeverity.Information,!1===t?e.command={title:rD.autoImportCompletionsStatusItem.titleOn(),command:cg.setAutoImportCompletions,arguments:[!0]}:e.command={title:rD.autoImportCompletionsStatusItem.titleOff(),command:cg.setAutoImportCompletions,arguments:[!1]}}constructor(){super("autoImportCompletions")}}(nJ||(nJ={})).isDiagnosticProvider=function(e){return e instanceof cz};class cz{provideCodeActions(e,t,r){}onDocumentChanged(e,t){}onDocumentClosed(e){}dispose(){}constructor(){var e,t;t=void 0,(e="onRequestRecheck")in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t}}function cD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class cE{addHandler(e){if(this._handlers.push(e),nJ.isDiagnosticProvider(e)){let t=`${this._fileType}-${e.constructor.name}`,r=nQ.languages.createDiagnosticCollection(t);this._diagnosticCollections.set(e.constructor.name,r),this._disposables.push(r)}}recheckOpenDocuments(){this._checkOpenDocuments()}async provideCodeActions(e,t,r,i){if(!this._isTargetFile(e))return;let n=[];for(let i of this._handlers)if(nJ.isDiagnosticProvider(i)){let o=await i.provideCodeActions(e,t,r);o&&n.push(...o)}return n.length>0?n:void 0}dispose(){for(let e of this._disposables)e.dispose();this._diagnosticCollections.clear()}_isTargetFile(e){return(0,nX.WP)(e.fileName).toLowerCase()===this._fileName.toLowerCase()}_getDocumentSelectors(){let e=`**/${this._fileName}`;return this._fileName.endsWith(".toml")?[{language:"toml",pattern:e}]:[{language:"json",pattern:e},{language:"jsonc",pattern:e}]}_checkOpenDocuments(){nQ.workspace.textDocuments.filter(e=>this._isTargetFile(e)).forEach(e=>{this._updateDiagnostics(e)})}async _updateDiagnosticsInternal(e){for(let t of this._handlers)t.onDocumentChanged(e,this._fileType);for(let t of this._handlers)if(nJ.isDiagnosticProvider(t)){let r=this._diagnosticCollections.get(t.constructor.name);if(!r)continue;try{let i=await t.getDiagnosticsForDocument(e,this._fileType);r.set(e.uri,i)}catch(i){oa(`Error getting diagnostics from ${t.constructor.name}: ${i}`),r.set(e.uri,[])}}}_onDocumentClosed(e){for(let t of this._handlers)t.onDocumentClosed(e);for(let t of this._diagnosticCollections.values())t.delete(e)}constructor(e,t,r=[]){for(const i of(cD(this,"_fileName",void 0),cD(this,"_fileType",void 0),cD(this,"_disposables",void 0),cD(this,"_handlers",void 0),cD(this,"_diagnosticCollections",void 0),cD(this,"_updateDiagnostics",void 0),this._fileName=e,this._fileType=t,this._disposables=[],this._handlers=[],this._diagnosticCollections=new Map,this._updateDiagnostics=(0,cx.debounce)(this._updateDiagnosticsInternal.bind(this),2e3),r))this.addHandler(i);this._disposables.push(nQ.workspace.onDidChangeTextDocument(e=>{this._isTargetFile(e.document)&&this._updateDiagnostics(e.document)}),nQ.workspace.onDidOpenTextDocument(e=>{this._isTargetFile(e)&&this._updateDiagnostics(e)}),nQ.workspace.onDidCloseTextDocument(e=>{this._isTargetFile(e)&&this._onDocumentClosed(e.uri)}));const i=this._getDocumentSelectors();this._disposables.push(nQ.languages.registerCodeActionsProvider(i,this,{providedCodeActionKinds:cE.providedCodeActionKinds})),this._checkOpenDocuments()}}function cN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}cD(cE,"providedCodeActionKinds",[nQ.CodeActionKind.QuickFix]);class cM{get onDidChangeConfigInfo(){return this._emitter.event}dispose(){for(let e of this._disposables)e.dispose()}async getConfigInfo(e){return await rP.sendRequest(this._client,rP.Requests.GetConfigInfo,{workspaceUri:e.toString()})}constructor(e){cN(this,"_client",void 0),cN(this,"_disposables",void 0),cN(this,"_emitter",void 0),this._client=e,this._disposables=[],this._emitter=new nQ.EventEmitter,this._disposables.push(rP.onNotification(this._client,rP.Notifications.ConfigOptionsChanged,()=>{this._emitter.fire()}))}}var cR=((rS={}).CodeSnippet="code-snippet",rS.Trait="trait",rS);let cL=new ci.ProgressType;function cO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class cU{dispose(){this._disposable.forEach(e=>e.dispose()),this._reporter(null)}constructor(e,t,r){cO(this,"_client",void 0),cO(this,"_reporter",void 0),cO(this,"_disposable",void 0),cO(this,"token",void 0),this._client=e,this._reporter=r,this._disposable=[],this.token=(0,ae.O)(21),this._disposable.push(this._client.onProgress(t,this.token,e=>{this._reporter(e)}))}}class cj{[Symbol.asyncIterator](){return this}async next(){return this._queue.length>0?{value:this._queue.shift(),done:!1}:this._done?{value:null,done:!0}:await new Promise(e=>{this._resolve=e})}async return(){return this._requestor.dispose(),{value:null,done:!0}}async throw(e){throw this._requestor.dispose(),e}add(...e){this._queue.push(...e.map(e=>this._converter(e))),this._notify()}done(){this._requestor.dispose()}_notify(){if(this._resolve&&this._queue.length>0){let e=this._resolve;this._resolve=void 0,e({value:this._queue.shift(),done:!1})}else if(this._resolve&&this._done){let e=this._resolve;this._resolve=void 0,e({value:null,done:!0})}}constructor(e,t,r=e=>e){cO(this,"_converter",void 0),cO(this,"_requestor",void 0),cO(this,"_queue",void 0),cO(this,"_done",void 0),cO(this,"_resolve",void 0),cO(this,"token",void 0),this._converter=r,this._queue=[],this._done=!1,this._requestor=new cU(e,t,e=>{null===e?this._done=!0:this._queue.push(this._converter(e)),this._notify()}),this.token=this._requestor.token}}function c$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class cq{dispose(){for(let e of this._disposables)e.dispose()}registerContextProviders(e){if("function"!=typeof e.getContextProviderAPI)return;let t=e.getContextProviderAPI("v1");if(void 0===t)return;let r=this._selector;this._disposables.push(t.registerContextProvider({id:"pylanceTraitProvider",selector:r,resolver:{resolve:(e,t)=>this._createAsyncIterator(e,cR.Trait,t)}}),t.registerContextProvider({id:"pylanceCodeSnippetProvider",selector:r,resolver:{resolve:(e,t)=>this._createAsyncIterator(e,cR.CodeSnippet,t)}}))}_createAsyncIterator(e,t,r){let i=new cj(this._client,cL);return rx.sendRequest(this._client,rx.Requests.GetCompletionContextItems,{type:t,uri:e.documentContext.uri.toString(),version:e.documentContext.version,offset:e.documentContext.offset,timeBudget:e.timeBudget,partialResultToken:i.token},r).then(e=>{i.add(...e.items),i.done()},e=>{if(i.done(),!r.isCancellationRequested)throw e}),i}constructor(e,t){c$(this,"_client",void 0),c$(this,"_disposables",void 0),c$(this,"_selector",void 0),this._client=e,this._disposables=[],this._selector=t}}var cG=r(85855);let cW=["**/node_modules","**/__pycache__","**/.*"],cB=[["bin","activate"],["Scripts","activate"],["pyvenv.cfg"],["conda-meta"]];async function cV(e){let t=function(e){try{return(0,cG.parseTOML)(e.getText())}catch{return}}(e);if(!t)return;let r=t.body[0];if(r&&"TOMLTopLevelTable"===r.type){for(let e of r.body)if("TOMLTable"===e.type){let t=e.key.keys.map(i).join(".");if("tool.pyright"===t||"tool.pylance"===t){for(let t of e.body)if("TOMLKeyValue"===t.type){let e=t.key.keys.map(i);if(1===e.length&&"exclude"===e[0]&&"TOMLArray"===t.value.type){let e=t.value,r=e.elements.filter(e=>"TOMLValue"===e.type&&"string"===e.kind).map(e=>e.value),i=0===e.elements.length?e.range[0]+1:e.elements[e.elements.length-1].range[1];return{excludes:r,range:new nQ.Range(new nQ.Position(e.loc.start.line-1,e.loc.start.column),new nQ.Position(e.loc.end.line-1,e.loc.end.column)),insertionPointOffset:i,fileType:"pyproject.toml"}}}}}}function i(e){return"TOMLBare"===e.type?e.name:e.value}}function cH(e,t,r){let i=e.getText(),n=[],o=au.cZ(i,n,{allowTrailingComma:!0,allowEmptyContent:!0});if(!(n.length>0)&&o)for(let i of(null==o?void 0:o.children)||[]){var a,s;let n,o="";if("property"===i.type&&i.children&&(o=(null==(a=i.children[0])?void 0:a.value)||"",n=i.children[1]),o===t&&(null==n?void 0:n.type)==="array"){let t=(null==(s=n.children)?void 0:s.map(e=>e.value))||[],i=void 0===n.children||0===n.children.length?n.offset+1:n.children[n.children.length-1].offset+n.children[n.children.length-1].length;return{fileType:r,excludes:t,range:new nQ.Range(e.positionAt(n.offset),e.positionAt(n.offset+n.length)),insertionPointOffset:i}}}}function cK(e,t){return!!(e===t||e.endsWith("/**")&&t.startsWith(e.slice(0,-3)))||e.replace(/^\*\*\//,"")===t.replace(/^\*\*\//,"")}async function cJ(e,t){let r;switch(t){case"settings.json":r=cH(e,"python.analysis.exclude","settings.json");break;case"pyrightconfig.json":r=cH(e,"exclude","pyrightconfig.json");break;case"pyproject.toml":r=await cV(e)}if(!r)return{excludeProperty:void 0,missingDefaults:[]};let i=nQ.workspace.getWorkspaceFolder(e.uri),n=null==i?void 0:i.uri,{missingDefaults:o}=function(e,t){let r=[];for(let t of cW)e.some(e=>cK(e,t))||r.push(t);for(let i of function(e){if(!e)return[];let t=[];try{for(let r of o_.readdirSync(e.fsPath,{withFileTypes:!0})){if(!r.isDirectory())continue;let i=(0,nX.ej)(e.fsPath,r.name);for(let e of cB){let n=(0,nX.ej)(i,...e);try{if(o_.existsSync(n)){t.push(r.name);break}}catch{}}}}catch{}return t}(t))e.some(e=>cK(e,i)||cK(e,`**/${i}`)||cK(e,`${i}/**`))||r.push(i);return{missingDefaults:r}}(r.excludes,n);return{excludeProperty:r,missingDefaults:o}}let cQ="missingDefaultExcludes";class cX extends cz{async getDiagnosticsForDocument(e,t){let r=await cJ(e,t);if(!r.excludeProperty||0===r.missingDefaults.length)return[];let i=new nQ.Diagnostic(r.excludeProperty.range,rz.missingDefaultExcludes().format(r.missingDefaults.slice(0,3).join(", ")),nQ.DiagnosticSeverity.Information);return i.code={value:cQ,target:nQ.Uri.parse("https://aka.ms/exclude")},i.source="Pylance",[i]}async provideCodeActions(e,t,r){let i=r.diagnostics.filter(e=>("object"==typeof e.code?e.code.value:e.code)===cQ);if(0===i.length)return;let n=this._getFileType(e);if(!n)return;let o=await cJ(e,n);if(!o.excludeProperty||0===o.missingDefaults.length)return;let a=function(e,t){if(0===t.length)return;e.fileType;let r=t.map(e=>`"${e}"`),i=e.excludes.length>0?", ":"",n=e.insertionPointOffset;return{newText:i+r.join(", "),offset:n,length:0}}(o.excludeProperty,o.missingDefaults);if(!a)return;let s=new nQ.CodeAction(rz.addDefaultExcludes(),nQ.CodeActionKind.QuickFix);return s.edit=new nQ.WorkspaceEdit,s.edit.replace(e.uri,new nQ.Range(e.positionAt(a.offset),e.positionAt(a.offset+a.length)),a.newText),s.diagnostics=i,[s]}_getFileType(e){let t=e.fileName.toLowerCase();return t.endsWith("settings.json")?"settings.json":t.endsWith("pyrightconfig.json")?"pyrightconfig.json":t.endsWith("pyproject.toml")?"pyproject.toml":void 0}}function cY(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class cZ{dispose(){this._disposables.forEach(e=>e.dispose())}constructor(e,t){cY(this,"_client",void 0),cY(this,"_persistentService",void 0),cY(this,"_disposables",void 0),this._client=e,this._persistentService=t,this._disposables=[],this._disposables.push(rP.onNotification(this._client,rP.Notifications.Recommendation,e=>{if(!e.details.hasTypeAnnotations)return;let r=t.createWorkspacePersistentState("RecommendedTyping",!1);r.value||(r.updateValue(!0),nQ.window.showInformationMessage(rD.typeCheckingRecommendation.suggestionMessage(),rF.yes(),rF.no()).then(e=>{e===rF.yes()&&nQ.commands.executeCommand("workbench.action.openSettings","python.analysis.typeCheckingMode");let t={typing:e===rF.yes()?"yes":"no"};nQ.commands.executeCommand(ch.executedClientCommand,cg.showRecommendations,t)}))}))}}let c0=new Set(["python.analysis.typeshedPaths","python.analysis.extraPaths","python.analysis.autoSearchPaths","python.analysis.useLibraryCodeForTypes","python.analysis.stubPath","python.analysis.include","python.analysis.exclude","python.analysis.ignore","python.analysis.typeCheckingMode","python.analysis.diagnosticSeverityOverrides","python.analysis.venvPath","python.analysis.typeEvaluation.analyzeUnannotatedFunctions","python.analysis.typeEvaluation.strictListInference","python.analysis.typeEvaluation.strictSetInference","python.analysis.typeEvaluation.strictDictionaryInference","python.analysis.typeEvaluation.analyzeUnannotatedFunctions","python.analysis.typeEvaluation.strictParameterNoneValue","python.analysis.typeEvaluation.enableExperimentalFeatures","python.analysis.typeEvaluation.deprecateTypingAliases","python.analysis.typeEvaluation.disableBytesTypePromotions","python.analysis.typeEvaluation.enableTypeIgnoreComments","python.analysis.typeEvaluation.enableReachabilityAnalysis"]);function c1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c2 extends cz{async getDiagnosticsForDocument(e,t){if("settings.json"!==t)return[];let r=this._getWorkspaceFoldersForSettingsJson(e),i=[];for(let e of r)i.push(this._configInfoProvider.getConfigInfo(e));return(await Promise.all(i)).some(e=>this._hasConfigFile(e.configFileSource))?this._parseSettingsJson(e):[]}dispose(){this._onRequestRecheckEmitter.dispose()}_hasConfigFile(e){if(!e)return!1;let t=nQ.Uri.parse(e);if(!o_.existsSync(t.fsPath))return!1;if("pyproject.toml"!==oV.basename(t.fsPath).toLowerCase())return!0;try{let e=o_.readFileSync(t.fsPath,"utf-8");return e.includes("[tool.pyright]")||e.includes("[tool.pylance]")}catch{return!1}}_parseSettingsJson(e){let t=!e.uri.path.includes(".vscode");return(function(e){let t=e.getText(),r=[],i=au.cZ(t,r,{allowTrailingComma:!0,allowEmptyContent:!0});if(r.length>0||!i)return[];let n=[],o=(null==i?void 0:i.children)||[];for(let t=0;t<o.length;t++){let r=o[t],i="";if("property"===r.type&&r.children){var a;i=(null==(a=r.children[0])?void 0:a.value)||""}else"object"===r.type&&r.children&&(i=r.children[0].value||"");if(c0.has(i)&&r.children){let t=e.positionAt(r.children[0].offset);n.push({setting:i,line:t.line,col:t.character+1})}}return n})(e).map(e=>({message:rz.settingsNotOverridable().format(e.setting),range:new nQ.Range(new nQ.Position(e.line,e.col),new nQ.Position(e.line,e.col+e.setting.length)),code:{value:"settingsNotOverridable",target:nQ.Uri.parse("https://aka.ms/AArua4c")},severity:t?nQ.DiagnosticSeverity.Hint:nQ.DiagnosticSeverity.Warning,source:"Pylance",tags:t?[nQ.DiagnosticTag.Unnecessary]:[]}))}_getWorkspaceFoldersForSettingsJson(e){let t=nQ.workspace.workspaceFolders,r=e.uri.path,i=r.indexOf(".vscode");if(!t)return i>=0?[e.uri.with({path:r.substring(0,i)})]:[];if(i<0)return t.map(e=>e.uri);for(let r of t)if(e.uri.scheme===r.uri.scheme&&e.uri.path.startsWith(r.uri.path))return[r.uri];return[]}constructor(e){super(),c1(this,"_configInfoProvider",void 0),c1(this,"_disposables",void 0),c1(this,"_onRequestRecheckEmitter",void 0),c1(this,"onRequestRecheck",void 0),this._configInfoProvider=e,this._disposables=[],this._onRequestRecheckEmitter=new nQ.EventEmitter,this.onRequestRecheck=this._onRequestRecheckEmitter.event,this._disposables.push(this._configInfoProvider.onDidChangeConfigInfo(()=>{this._onRequestRecheckEmitter.fire("settings.json")}))}}class c4 extends cI{updateStatusItem(){let e=this._getActiveWorkspaceFolder();if(e)this.statusItem||(this.statusItem=this.createStatusItem()),this.statusItem&&this._configInfoProvider.getConfigInfo(e).then(e=>{if(this.statusItem.name=rD.typeCheckingModeStatusItem.name(),e.configFileSource){var t;let r=(null==(t=e.configFileSource)?void 0:t.endsWith("pyrightconfig.json"))?"pyrightconfig.json":"pyproject.toml";this.statusItem.command={title:rD.typeCheckingModeStatusItem.titleConfig(),command:cg.openConfig,arguments:[e.configFileSource]},this.statusItem.text=rD.typeCheckingModeStatusItem.textFormattedFromConfig().format(e.typeCheckingMode,r),this.statusItem.severity=nQ.LanguageStatusSeverity.Information}else{let t=[{label:"off"},{label:"basic"},{label:"standard"},{label:"strict"},{label:"$(gear) "+rD.typeCheckingModeStatusItem.pickerSettingsPage()}];this.statusItem.command={title:rD.typeCheckingModeStatusItem.title(),command:cg.showTypeCheckingPicker,arguments:[t,e.typeCheckingMode]},this.statusItem.text=rD.typeCheckingModeStatusItem.textFormatted().format(e.typeCheckingMode),this.statusItem.severity=nQ.LanguageStatusSeverity.Information}});else{var t;null==(t=this.statusItem)||t.dispose(),this.statusItem=void 0}}_getActiveWorkspaceFolder(){var e,t;let r=nQ.workspace.workspaceFolders,i=null==(e=nQ.window.activeTextEditor)?void 0:e.document.uri;if(i&&r&&(null==(t=nQ.window.activeTextEditor)?void 0:t.document.languageId)==="python"){for(let e of r)if(i.scheme===e.uri.scheme&&i.path.startsWith(e.uri.path))return e.uri}}constructor(e,t){var r,i;super("typeCheckingMode"),i=void 0,(r="_configInfoProvider")in this?Object.defineProperty(this,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):this[r]=i,this._configInfoProvider=t,this.disposables.push(this._configInfoProvider.onDidChangeConfigInfo(()=>{this.debouncedUpdateStatusItem()})),this.disposables.push(e.onDidChangeState(e=>{e.newState===od.State.Running&&this.updateStatusItem()}))}}var c3=r(46203);async function c8(e,t,r,i,n){if(!n||0===n.trim().length)return;let o=await c6(e,t,r,i,n);o&&await e.executeCommand(ch.addImport,r,i,o.name,o.source,o.alias)}async function c6(e,t,r,i,n){let o,a=[],s=new sg(200);a.push(s);let l=t.createQuickPick();a.push(l),l.title=rE.SearchImports.quickPickTitle(),l.placeholder=rE.SearchImports.quickPickPlaceHolder(),l.matchOnDescription=!0,l.matchOnDetail=!0,l.value=n;let c=(0,aT.ud)();a.push(l.onDidAccept(()=>{let e=l.selectedItems.length>0?l.selectedItems[0]:void 0;l.hide(),c.resolve(e)})),a.push(l.onDidChangeValue(t=>{let n=t.trim();if(0===n.length)return void c5(s,l,()=>(o=n,Promise.resolve([])));let a=n.split(" ")[0];o&&a.startsWith(o)||c5(s,l,async()=>{let t=await e.executeCommand(ch.getAutoImports,r,i,a);if(o=a,!t)return[];let n=[];return n.push(...t.map(e=>{var t,r,i,n;let o;return{label:`$(${function(e){if(!e)return"symbol-misc";switch(e){case c3.CompletionItemKind.Text:return"symbol-string";case c3.CompletionItemKind.Method:case c3.CompletionItemKind.Function:case c3.CompletionItemKind.Constructor:return"symbol-method";case c3.CompletionItemKind.Field:return"symbol-field";case c3.CompletionItemKind.Variable:return"symbol-variable";case c3.CompletionItemKind.Class:return"symbol-class";case c3.CompletionItemKind.Interface:return"symbol-interface";case c3.CompletionItemKind.Module:return"symbol-namespace";case c3.CompletionItemKind.Property:return"symbol-property";case c3.CompletionItemKind.Value:case c3.CompletionItemKind.Constant:return"symbol-constant";case c3.CompletionItemKind.Enum:return"symbol-enum";case c3.CompletionItemKind.Keyword:return"symbol-keyword";case c3.CompletionItemKind.File:return"symbol-file";case c3.CompletionItemKind.EnumMember:return"symbol-enum-member";case c3.CompletionItemKind.Struct:return"symbol-structure";case c3.CompletionItemKind.Event:return"symbol-event";case c3.CompletionItemKind.Operator:return"symbol-operator";case c3.CompletionItemKind.TypeParameter:return"symbol-parameter";default:return"symbol-misc"}}(e.kind)}) ${e.name}`,description:e.source,detail:(t=e.name,r=e.originalName,i=e.source,n=e.alias,i?(t!==r&&(t=`${t} (${r})`),o=`${t} from ${i}`):o=`module ${t}`,n&&(o=`alias ${n} of ${o}`),o),name:e.name,source:e.source,alias:e.alias}})),n})})),a.push(l.onDidHide(()=>{s.cancel(),a.forEach(e=>e.dispose()),c.completed||c.resolve(void 0)})),l.show();let d=await c.promise;if(d)return d}function c5(e,t,r){e.trigger(r).then(e=>t.items=e).catch(()=>{})}class c9{launch(e){nQ.env.openExternal(nQ.Uri.parse(e))}}var c7=((rT={}).ReloadWindow="workbench.action.reloadWindow",rT.InstallExtension="workbench.extensions.installExtension",rT.TriggerParameterHints="editor.action.triggerParameterHints",rT.GetContextKeyValue="getContextKeyValue",rT);class de{getCommands(){return nQ.commands.getCommands(!0)}executeCommand(e,...t){return nQ.commands.executeCommand(e,...t)}registerCommand(e,t,r){return nQ.commands.registerCommand(e,t,r)}}class dt{get onDidChange(){return nQ.extensions.onDidChange}getPythonExtension(){return this.getExtension(n3)}getPythonEnvExtension(){return this.getExtension("ms-python.vscode-python-envs")}getExtension(e){return nQ.extensions.getExtension(e)}}async function dr(e){if(e)return e.isActive||await e.activate(),e}function di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class dn{createGlobalPersistentState(e,t){return new da(this._context.globalState,e,t)}createWorkspacePersistentState(e,t){return new da(this._context.workspaceState,e,t)}constructor(e){di(this,"_context",void 0),this._context=e}}class da{get value(){return this.rawStorage.get(this._key,this._defaultValue)}async updateValue(e){try{await this.rawStorage.update(this._key,e)}catch(e){oa(o4.format("Error while updating storage for key:",this._key,e))}}constructor(e,t,r){di(this,"rawStorage",void 0),di(this,"_key",void 0),di(this,"_defaultValue",void 0),this.rawStorage=e,this._key=t,this._defaultValue=r}}function ds(e,t,r,i,n){e.subscriptions.push(t.registerCommand(r,i,n))}async function dl(e){n=e.extensionUri,await oQ()}async function dc(e,t,r,i,n){var o;let a,s,l,c,d,u=n.languageModelAccessInformation;e.push(rP.onRequest(t,rP.Requests.ApplyCursorMovingEdit,async e=>{var r;let i=null==(r=nQ.window.activeTextEditor)?void 0:r.document;if(nQ.window.activeTextEditor&&i&&0===(0,aN.XW)(null==i?void 0:i.uri.toString(),e.textDocument.uri)&&i.version===e.textDocument.version){let r=new nQ.WorkspaceEdit;r.set(i.uri,await t.protocol2CodeConverter.asTextEdits(e.edits)),await nQ.workspace.applyEdit(r);let n=t.protocol2CodeConverter.asPosition(e.cursorPosition),o=new nQ.Selection(n,n);nQ.window.activeTextEditor.selection=o}})),e.push(rP.onNotification(t,rP.Notifications.ExecuteCommand,e=>{nQ.commands.executeCommand(e.command,...e.args)})),e.push(rP.onRequest(t,rP.Requests.ClientShowMessage,async e=>{let t;switch(e.type){case"error":t=nQ.window.showErrorMessage;break;case"warning":t=nQ.window.showWarningMessage;break;default:t=nQ.window.showInformationMessage}let r=await t(e.message,...e.actions);if(!(null==r?void 0:r.__client__))return r;let i=(0,oP.cy)(r.args)?r.args:[];await nQ.commands.executeCommand(r.id,...i)})),e.push(rx.onRequest(t,rx.Requests.CheckLanguageModel,async(e,t)=>{try{let t="free",{modelChat:r}=await dh(["claude-sonnet-4","gemini-2.5-pro","o4-mini"],!1);r&&(t="paid");let{modelChat:i,model:n}=await dh(e.models);if(!i)return{allowed:!1,model:n,maxInputTokens:4096,subscriptionStatus:t};let o=i.maxInputTokens,a=u.canSendRequest(i);if(a)return{allowed:!0,model:n,maxInputTokens:o,subscriptionStatus:t};if(!e.okToShowConsent)return{allowed:!1,model:n,maxInputTokens:o,subscriptionStatus:t};return{allowed:void 0===a,model:n,maxInputTokens:o,subscriptionStatus:t}}catch(e){return{allowed:!1,model:om,maxInputTokens:4096,subscriptionStatus:"unknown"}}})),e.push(rx.onRequest(t,rx.Requests.PromptLanguageModel,(e,t)=>dg(u,e.models,e.prompts,t))),e.push(rP.onRequest(t,rP.Requests.UpdateSetting,async e=>{try{var t;let i=e.section,n=e.setting,o=e.value,a=null==(t=nQ.window.activeTextEditor)?void 0:t.document;if(!i||!n||!a)return;await r.config.updateSettingAtExistingDocumentScope(a,i,n,o)}catch(t){on(`Failed to update setting ${e.section}.${e.setting}: ${t}`)}}));let m=new cq(t,i);e.push(m),dr(r.extension.getExtension(n6)).then(e=>{if(void 0===e||void 0===e.exports)return;let t=e.exports;m.registerContextProviders(t)}).catch(()=>{on("Failed to register context provider with Copilot Client")}),dr(r.extension.getExtension("github.copilot-chat")).then(e=>{if(void 0===e||void 0===e.exports)return;let t=e.exports;if("function"!=typeof t.getAPI)return;let r=t.getAPI(1);void 0!==r&&m.registerContextProviders(r)}).catch(()=>{on("Failed to register context provider with Copilot Chat")});let p=new cM(t);e.push(p),l=new cE("settings.json","settings.json",[a=new cX,s=new c2(p)]),c=new cE("pyrightconfig.json","pyrightconfig.json",[a]),d=new cE("pyproject.toml","pyproject.toml",[a]),e.push(s.onRequestRecheck(e=>{"settings.json"===e&&l.recheckOpenDocuments()})),e.push(l,c,d,a,s);let h=new dn(n);e.push(new cZ(t,h));let g=new c4(t,p);e.push(g),o=r.command,e.push(o.registerCommand("pylance.registerNotebookStartupCommands",e=>{rP.sendNotification(t,rP.Notifications.RegisterNotebookStartupCommands,{commands:e})},void 0))}function dd(e,t){on(`Pylance client (${e}) started with python extension (${t})`)}function du(){var e;let t=nQ.extensions.getExtension("ms-python.vscode-pylance");return null!=(e=null==t?void 0:t.packageJSON.version)?e:"9999.0.0-dev"}function dm(e){return e.createWorkspacePersistentState("perfReport","")}async function dp(e,t){if(t){var r;let i=null==(r=t.pylance)?void 0:r.createClient({},e);i&&await i.dispose()}else e.outputChannel=nQ.window.createOutputChannel("Python Language Server",{log:!0})}async function dh(e,t=!0){let r=await nQ.lm.selectChatModels({vendor:"copilot"});for(let t of e){let e=r.find(e=>e.family===t);if(e)return{modelChat:e,model:t}}if(t){let[e]=await nQ.lm.selectChatModels({vendor:"copilot",family:om});return{modelChat:e,model:om}}return{modelChat:void 0,model:om}}async function dg(e,t,r,i){let{modelChat:n,model:o}=await dh(t);if(!n)return{responses:void 0};try{let t=e.canSendRequest(n);if(!1===t)return{responses:void 0};let o=r.map(e=>new nQ.LanguageModelChatMessage("user"===e.role?nQ.LanguageModelChatMessageRole.User:"assistant"===e.role?nQ.LanguageModelChatMessageRole.Assistant:(0,oB.xb)(e.role),e.content,e.name)),a=await n.sendRequest(o,{justification:"enable pylance AI powered features"},i),s=[];for await(let e of a.text)s.push(e);return{responses:s}}catch(a){if(a instanceof nQ.LanguageModelError&&a.code!==nQ.LanguageModelError.NotFound.name)return{responses:void 0,error:"noPermission"};if(i.isCancellationRequested)throw a;let n=t.filter(e=>e!==o);if(0===n.length)return{responses:void 0};return await dg(e,n,r,i)}}var df=r(41566);function dy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class dv{async activate(){let e=dk(this._extensionService);if(e){if(this._experimentationService){let e=Date.now();await this._experimentationService.initializePromise,0===this._experimentState.value.features.length&&(await this._experimentationService.initialFetch,this._telemetryService.sendTelemetryEvent(ot.PYTHON_EXPERIMENTS_INIT_PERFORMANCE,Date.now()-e)),this._logExperiments()}this._sendOptInOptOutTelemetry(e.packageJSON)}}inExperiment(e){return!(!this._experimentationService||this._optOutFrom.includes("All")||this._optOutFrom.includes(e))&&(this._optInto.includes("All")||this._optInto.includes(e)?(this._experimentationService.getTreatmentVariable(dw,e),!0):!0===this._experimentationService.getTreatmentVariable(dw,e))}getExperimentValue(e){if(!(!this._experimentationService||this._optOutFrom.includes("All")||this._optOutFrom.includes(e)))return this._experimentationService.getTreatmentVariable(dw,e)}_sendOptInOptOutTelemetry(e){let t=this._readEnumValues("python.experiments.optInto",e),r=this._readEnumValues("python.experiments.optOutFrom",e),i=this._optInto.filter(e=>t.includes(e)),n=this._optOutFrom.filter(e=>r.includes(e));this._telemetryService.sendTelemetryEvent(ot.PYTHON_EXPERIMENTS_OPT_IN_OPT_OUT_SETTINGS,void 0,{optedInto:i,optedOutFrom:n})}_readEnumValues(e,t){let r=t.contributes.configuration.properties[e];if(r){var i;return null!=(i=r.items.enum)?i:[]}return[]}_logExperiments(){let e=this._config.getConfiguration("telemetry"),t=!1;(e&&!1===e.get("enableTelemetry")&&(oi("Telemetry is disabled"),t=!0),e&&"off"===e.get("telemetryLevel")&&(oi("Telemetry level is off"),t=!0),t&&oi("Experiments are disabled, only manually opted experiments are active."),this._optOutFrom.includes("All"))?oi("Experiment 'All' is inactive"):this._optInto.includes("All")?oi("Experiment 'All' is active"):(this._optOutFrom.filter(e=>"All"!==e&&e.toLowerCase().startsWith("python")).forEach(e=>oi(`Experiment '${e}' is inactive`)),this._optInto.filter(e=>"All"!==e&&e.toLowerCase().startsWith("python")).forEach(e=>oi(`Experiment '${e}' is active`)),t||this._experimentState.value.features.forEach(e=>{!e.toLowerCase().startsWith("python")||this._optOutFrom.includes(e)||this._optInto.includes(e)||oi(`Experiment '${e}' is active`)}))}constructor(e,t,r,i){dy(this,"_config",void 0),dy(this,"_extensionService",void 0),dy(this,"_telemetryService",void 0),dy(this,"_persistentService",void 0),dy(this,"_optInto",void 0),dy(this,"_optOutFrom",void 0),dy(this,"_experimentState",void 0),dy(this,"_enabled",void 0),dy(this,"_experimentationService",void 0),this._config=e,this._extensionService=t,this._telemetryService=r,this._persistentService=i,this._optInto=[],this._optOutFrom=[],this._experimentState=this._persistentService.createGlobalPersistentState(db,{features:[]}),this._enabled=!1;const n=dk(this._extensionService);if(!n)return void oi("Experimentation service is not available, no Python or Pylance extension found.");const o=this._config.getConfiguration("python"),a=o.get("experiments.optInto")||[],s=o.get("experiments.optOutFrom")||[];if(this._optInto=a.filter(e=>!e.endsWith("control")),this._optOutFrom=s.filter(e=>!e.endsWith("control")),this._optOutFrom.includes("All")||!1===o.get("experiments.enabled")||(this._enabled=!0),!this._enabled)return;this._experimentationService=(0,df.getExperimentationService)(n.name,n.version,"Visual Studio Code - Insiders"===nQ.env.appName?df.TargetPopulation.Insiders:df.TargetPopulation.Public,new d_(this._telemetryService),this._experimentState.rawStorage)}}class d_{setSharedProperty(e,t){this._telemetryService.setSharedProperty(e,t)}postEvent(e,t){let r={};t.forEach((e,t)=>{r[t]=e}),this._telemetryService.sendTelemetryEvent(e,void 0,r)}constructor(e){dy(this,"_telemetryService",void 0),this._telemetryService=e}}let db="VSCode.ABExp.FeatureData",dw="vscode";function dk(e){let t=e.getPythonExtension(),r=n3;if(t||(t=e.getExtension(n8),r=n8),t)return{name:r,version:t.packageJSON.version,packageJSON:t.packageJSON}}function dC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let dS=[{scheme:"file",language:"python"},{scheme:"untitled",language:"python"},{scheme:"vscode-notebook",language:"python"},{scheme:"vscode-chat-code-block",language:"python"},{scheme:"vscode-copilot-chat-code-block",language:"python"},{scheme:"vscode-notebook-cell",language:"python"},{scheme:"vscode-interactive-input",language:"python"},{scheme:"vscode-terminal",language:"python"}];class dT{async startClient(){await this._enqueueRequestAndWaitForRun("start")}async stopClient(){await this._enqueueRequestAndWaitForRun("stop")}async restartClient(){await this._enqueueRequestAndWaitForRun("restart")}async getClient(){return(await this._lastRequest).info.client}async _enqueueRequestAndWaitForRun(e){this._lastRequest=this._createNewRequest(this._lastRequest,e),await this._lastRequest}async _createNewRequest(e,t){let r=await e;if(r.type===t)return r;if("restart"===t)if("start"!==r.type)return"stop"===r.type?r:(oa("Previous request can't be 'restart'"),{type:"stop",info:dx()});else{try{await this._stopClient(r.info)}catch{}return await this._startClient()}return"stop"===t?(oB.vA("start"===r.type),await this._stopClient(r.info)):(oB.vA("stop"===r.type),await this._startClient())}async _stopClient(e){for(;e.disposables.length>0;)e.disposables.shift().dispose();let t=e.client;return await e.stop(),t.dispose(),this._disposeClient(e),{type:"stop",info:dx()}}async _startClient(){let e=await this._createClient();return await e.start(),{type:"start",info:e}}constructor(e,t){dC(this,"_createClient",void 0),dC(this,"_disposeClient",void 0),dC(this,"_lastRequest",void 0),this._createClient=e,this._disposeClient=t,this._lastRequest=Promise.resolve({type:"stop",info:dx()})}}function dx(){return{client:void 0,start:()=>Promise.resolve(),stop:()=>Promise.resolve(),disposables:[]}}function dP(){return!!(nQ.workspace.workspaceFolders&&nQ.workspace.workspaceFolders.every(e=>"file"!==e.uri.scheme))}function dA(e){return dP()||e.getSetting("python.analysis","supportAllPythonDocuments")?[{language:"python"}]:dS}var dI=r(58833),dF=r(33925);async function dz(e,t){try{let r=function(e){let t=dN(e.platform);if(!o_.existsSync(t))return;let r=dR(e),i=oV.basename(r);if(dE(i,o_.readFileSync(t)))return t}(e);if(r)return r;let i=e.platform,n=dR(e),o=await ct(n,12e4);if(!o){null==t||t(`Error downloading node from ${n}`);return}let a=await dD(o,i);if(!a){null==t||t(`Error extracting node from ${n}`);return}let s=oV.basename(n);if(!dE(s,a)){null==t||t(`Checksum verification failed for ${n}`);return}let l=dN(i),c=oV.dirname(l);return o_.existsSync(c)||o_.mkdirSync(c,{recursive:!0}),o_.writeFileSync(l,a),o_.chmodSync(l,320),l}catch(e){null==t||t(`Error downloading node: ${e.message}`);return}}async function dD(e,t){let r=dM(t);return"win"===t?await function(e,t){let r=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),i=RegExp(`(^|/)${r}$`),n=e.file(i);if(n&&0!==n.length)return n[0].async("nodebuffer")}(await (0,dI.loadAsync)(e),r):function(e,t){let r=0;for(;r+512<=e.length&&!function(e){for(let t=0;t<e.length;t++)if(0!==e[t])return!1;return!0}(e.subarray(r,r+512));){let i=dL(e,r,100),n=parseInt(dL(e,r+124,12),8);if(r+=512,i.endsWith(t))return e.subarray(r,r+n);r+=512*Math.ceil(n/512)}}(dF.gunzipSync(e),r)}function dE(e,t){let r=dO.get(e);return!!r&&n4(r)===aH(t)}function dN(e){return oV.join(oV.join(__dirname,".cache"),"node",dM(e))}function dM(e){return"win"===e?"node.exe":"node"}function dR(e){return`https://nodejs.org/dist/${e.version}/node-${e.version}-${e.platform}-${e.arch}.${e.ext}`}function dL(e,t,r){let i=t;for(;i<t+r&&0!==e[i];)i++;return e.subarray(t,i).toString("utf8").trim()}let dO=new Map([["node-v20.18.2-darwin-arm64.tar.gz","1eef2cfe317b921cb280d2900c61ed7153b0f23ae15117769325e3f1a18294a9f297c9c9f41c5a91a95ee29e47dd99460e3f4bc18a026e8bcb674e442b89ff5204d1a1b4203328fd14175005bb090764"],["node-v20.18.2-darwin-x64.tar.gz","551e4c7e42fbf2e66f168dbda791b63f3c678dfb0204682f4f479bca0dc529eb33120421beaddce7afabad16041f6a10d9f2801704c22c1605aaebed4e8f83e0c34f396f8df9c41ba5e70febcf7cdbe0"],["node-v20.18.2-linux-arm64.tar.gz","6cced1d2f35ab82678ff811000bdcf43bd14f78fdb5c0895ec28425f34bc5dc0396bbe63adec8a422bafe2b2e9e2b2a80f75581baa21d7ff9e2da0c1689fd081496d9ab3454103f05c09a93005545982"],["node-v20.18.2-linux-armv7l.tar.gz","32b800c4e1a9deabc9aa306fe1950b22bdf0d9b8f828b1566c92eaace1714b13ce204051e3d689c0c8c99c6544ffdf60178acec956c023b0349ed508325789223710926f31350ae6a520e1c7c57e06a5"],["node-v20.18.2-linux-ppc64le.tar.gz","d9218c559df625de7ece66fd674a970d951969d01fc1cd0ab357a0711df7ba23a507b0cce17dc47a4f75248a90611376834d0e66e7fe12e34a7823f055d674173dfe195db30c70503f23d1d31d4f00cf"],["node-v20.18.2-linux-s390x.tar.gz","5631861c661b3f445e13671164a137f794ccc7e25142e03a4a090120bfa8f25862951171aa4867eb11355936c293b5fa03dad34a10d0ff502ea53b924c90e39abc7413e706c5ecfdbc5ba173b9ed8d3c"],["node-v20.18.2-linux-x64.tar.gz","30f0e1e27319d5d47c62bf37135cdfd6ca4cef3ce59fab511cec36faa36e928c607d43f9dea70a2f432cb3f8ae32dd1ed67bb89804bce4f4f54a398b35ca68270f27374964b317e4dfd89771d4959298"],["node-v20.18.2-win-arm64.zip","1e33f885848e25946a20d82de76507a77c4f946e61c31f790665c7eb075bd889a33ddc8f58da67b8d0e3c6a517c96638aa71abccd14ff67c57fd62ab61b3a182f7c57b6352bcc14a8221e74b48d1ef99"],["node-v20.18.2-win-x64.zip","476066ec20befe848bec1727dd7d56de063aa6dfe76518225615fd8bb9406b13b23c7848dd18f788a6593deae19e68527676b7d4306e287df411181827a1dc544ae2546cb8305cb226d1efb3ba2f06de"],["node-v20.18.2-win-x86.zip","52c1b1a83cb4334cd8142b90d95e77532857496814708b08a7d13f302f56cd8b4b73e0237ed9cd08fd0f0c9a3044dd035f565ee832ed0fe46cbdb922c539a3f9353a62b78c787ac8825f2ad7f233f42b"]]);var dU=r(77242),dj=r.n(dU);async function d$(e,t,r,i,n){var o,a,s,l,c;let d=e.asAbsolutePath(oV.join("dist","server.bundle.js")),u=e.asAbsolutePath(oV.join("dist","server.js")),m=o_.existsSync(u)?u:d,p={execArgv:["--nolazy","--inspect=6600"]},h=null!=(o=process.env.PYLANCE_DEBUG_EXTRA_ARGS)?o:t.getSetting("pylance.development","extraDebugArgs");h&&(p.execArgv=p.execArgv.concat(h.split(" ")));let g=i.getCommandLineArguments();if(h&&h.includes("--cpu-prof")&&(g=[]),!nQ.workspace.isTrusted)return v();let f=t.getExpandedSetting("python.analysis","nodeExecutable"),y=t.getExpandedArraySetting("python.analysis","nodeArguments",["--max-old-space-size=8192"]);if(void 0===f||0===f.trim().length){if(oZ(t.getConfiguration("python.analysis"),"nodeExecutable")||"full"!==t.getSetting("python.analysis","languageServerMode"))return v();f="auto"}if("auto"===f){let e;if(void 0===(f=await dz({version:"v20.18.2",platform:e="win32"===process.platform?"win":process.platform,arch:process.arch,ext:"win"===e?"zip":"tar.gz"},n)))return v()}else{let e,t,i,n,o,d,u,m,p,h,g,y,_,b=r.createGlobalPersistentState("safeNodePath","");if(b.value!==f&&(e=(a=f).toLowerCase(),t=oV.basename(a),n=(i=dj().sync(t,{nothrow:!0}))&&i.toLowerCase().includes(e),u=(d=null==(o=process.env.HOME||process.env.USERPROFILE||o9.homedir())?void 0:o.toLowerCase())&&e.startsWith(d),m=null==(s=process.env.ProgramFiles)?void 0:s.toLowerCase(),p=null==(l=process.env.SystemRoot)?void 0:l.toLowerCase(),h=m&&e.startsWith(m),g=p&&e.startsWith(p),_=(y=null==(c=process.env["ProgramFiles(x86)"])?void 0:c.toLowerCase())&&e.startsWith(y),!n&&!u&&!h&&!g&&!_)){let e=rD.askNodeSafetyQuestion().format(f),t=rF.yes(),r=rF.no();if(await nQ.window.showWarningMessage(e,t,r)!==t)return f=void 0,v();b.updateValue(f)}}return g=[...y,m,"--",`--clientProcessId=${process.pid}`,...g],{run:{command:f,transport:ab.TransportKind.stdio,args:g,options:{env:process.env,detached:!1,shell:!1}},debug:{command:f,transport:ab.TransportKind.stdio,args:[...p.execArgv,...g],options:{env:process.env,detached:!1,shell:!1}}};function v(){return{run:{module:d,transport:ab.TransportKind.ipc,args:g},debug:{module:m,transport:ab.TransportKind.ipc,options:p,args:g}}}}function dq(e,t,r,i,n){return new dT(()=>dH(e,t,r,i,n),e=>{var t;let r;(r=null==(t=e.client.clientOptions.connectionOptions)?void 0:t.cancellationStrategy)instanceof aa&&r.dispose(),e.disposables.forEach(e=>e.dispose())})}let dG=[];async function dW(){return(dG.push(Date.now()),dG.length<5)?{action:od.CloseAction.Restart}:dG[dG.length-1]-dG[0]<18e4?{action:od.CloseAction.DoNotRestart,message:rD.crashTooManyRestarts()}:(dG.shift(),{action:od.CloseAction.Restart})}async function dB(e,t,r){let i=t.some(e=>e.includes("JavaScript heap out of memory"));return e.sendTelemetryEvent(ot.LANGUAGE_SERVER_CRASH,void 0,{oom:i,lsversion:r}),await dW()}async function dV(e,t,r,n,o,a){var s,l,c;let d,u,m=new aa,p=[],h=r.config,g=r.persistent,f=r.pylanceVersion,y=dA(h),v=dm(g).value!==f,_={experimentationSupport:!0,trustedWorkspaceSupport:!0,autoFormatStrings:h.getSetting("python.analysis","autoFormatStrings"),resolveInlayHintEdit:o6.gte(nQ.version,"1.86.0-0"),clientVerification:JSON.stringify(nZ),autoIndent:null==(s=h.getSetting("python.analysis","autoIndent"))||s,diagnosticMode:h.getSetting("python.analysis","diagnosticMode"),allowAskingUsersPerformanceReporting:v,documentSelector:y,regularWorkspace:!dP()||void 0,supportsPullDiagnostics:!a||o6.gte(a,"2024.9.11691012"),enableColorPicker:h.getSetting("python.analysis","enableColorPicker"),serverMode:t},b={documentSelector:y,synchronize:{configurationSection:["python","editor"]},markdown:{supportHtml:!0,isTrusted:nQ.workspace.isTrusted},connectionOptions:{cancellationStrategy:m},middleware:new aC(()=>u,r,n,o),errorHandler:{error:(e,t,r)=>({action:od.ErrorAction.Continue}),closed:()=>dB(n,p,f)},revealOutputChannelOn:od.RevealOutputChannelOn.Never,initializationOptions:_},w="",k=await d$(e,h,g,m,e=>w+=`${e}
`);if("language-server"===t){let e=null==(l=r.extension.getPythonExtension())?void 0:l.exports;await dp(b,e),d=new aS("python",n5,k,b)}else b.outputChannel=nQ.window.createOutputChannel(rD.copilotOutputChannelName(),{log:!0}),d=new aS("python","Pylance Copilot",k,b);c=(u=d).outputChannel,i||(i=new or.sw(new oc(c),"Client"),nQ.workspace.onDidChangeConfiguration(e=>{e.affectsConfiguration(oe)&&ol()}),ol());let C=d.outputChannel.appendLine.bind(d.outputChannel);return d.outputChannel.appendLine=e=>{C(e),p.push(e),p.length>40&&p.shift()},k.run.command&&on(`Running with node: ${k.run.command}`),w&&oa(w),d}async function dH(e,t,r,i,n){var o,a,s,l;let c,d,u=r.extension,m=await dr(u.getPythonExtension());if(m){c=m.exports;let e=null!=(l=m.packageJSON.version)?l:"0.0.0";d=new o6.SemVer(e)}let p=await dr(u.getPythonEnvExtension()),h=nQ.workspace.getConfiguration("python").get("useEnvironmentsExtension",!1)?null==p?void 0:p.exports:void 0,g=c?new o8(c.pylance.getTelemetryReporter()):new o8,f=r.config,y=new dv(f,u,g,r.persistent);await y.activate();let v=[],_=void 0!==c?rI.create(c,h):void 0,b=await dV(e,t,r,g,_,d);n&&(n.client=b),i.setLanguageClient(b);let w=new aP(b);v.push(w),null==_||_.registerHandlers(b,r,v),v.push(b.onTelemetry(e=>{var t;let r=e.EventName||ot.LANGUAGE_SERVER_TELEMETRY,i={...e.Properties,method:null==(t=e.Properties.method)?void 0:t.replace(/\//g,".")};g.sendTelemetryEvent(r,e.Measurements,i,e.Exception)})),v.push(rP.onRequest(b,rP.Requests.InExperiment,e=>({inExperiment:y.inExperiment(e.experimentName)}))),v.push(rP.onRequest(b,rP.Requests.GetExperimentValue,e=>({value:y.getExperimentValue(e.experimentName)}))),v.push(nQ.workspace.onDidGrantWorkspaceTrust(()=>{rP.sendNotification(b,rP.Notifications.WorkspaceTrusted,{isTrusted:!0}),null==n||n.fireMcpStateChanged()})),v.push(rP.onRequest(b,rP.Requests.IsTrustedWorkspace,async()=>({isTrusted:nQ.workspace.isTrusted})));let k=r.pylanceVersion,C=new cp(b);v.push(nQ.languages.registerHoverProvider(b.protocol2CodeConverter.asDocumentSelector(null!=(o=b.clientOptions.documentSelector)?o:dA(f)),C),C),await dc(v,b,r,null!=(a=b.clientOptions.documentSelector)?a:dA(f),e),f.getSetting("python.analysis","reportExtraTelemetry")&&g.sendTelemetryEvent(ot.LANGUAGE_SERVER_READY,void 0,{lsVersion:k});let S=null!=(s=null==m?void 0:m.packageJSON.version)?s:"Unknown";return c?{client:b,start:async()=>{await dJ(),dd(k,S),await c.pylance.start(b),await dK(b,e),null==n||n.setCopilotReady()},stop:async()=>{await c.pylance.stop(b)},disposables:v}:{client:b,start:async()=>{await dJ(),dd(k,S),await b.start(),await dK(b,e),null==n||n.setCopilotReady()},stop:async()=>{await b.stop()},disposables:v}}async function dK(e,t){try{await e.sendRequest(rP.Requests.LoadBundle,{bundleUri:t.extensionUri.toString()+"/dist/copilot-server.bundle.js"})}catch(t){e.outputChannel.error(`Failed to load copilot bundle: ${t}`)}}async function dJ(){await dQ()&&on("Another instance of Pylance or Pyright has been detected. Waiting up to 10 seconds for it to cease operation.");let e=new o5.dw;for(;10>e.getDurationInSeconds();)if(await dX(500),!await dQ())return;await dQ()&&oa("The existing extension didn't exit within 10 seconds. New instance will start, but you might encounter issues.")}async function dQ(){return(await nQ.commands.getCommands()).includes("pyright.createtypestub")}async function dX(e){return await new Promise(t=>{setTimeout(()=>t(e),e)})}function dY(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class dZ{setJupyterPythonPathFunction(e){this._jupyterPythonPathFunction=e}setLanguageClient(e){this._client=e}getJupyterPythonPathFunction(){return this._jupyterPythonPathFunction}async getReferences(e,t,r,i){if(!this._client)return;let n=await rP.sendRequest(this._client,rP.Requests.JupyterReferences,this._client.code2ProtocolConverter.asReferenceParams(e,t,r),i),o=await this._client.protocol2CodeConverter.asReferences(n,i);return n&&o&&n.length===o.length&&o.forEach((e,t)=>{e.kind=n[t].kind}),o}async getDocumentSymbols(e,t){if(!this._client)return null;let r=await rP.sendRequest(this._client,rP.Requests.JupyterDocumentSymbols,this._client.code2ProtocolConverter.asDocumentSymbolParams(e),t);return null===r?null:0===r.length?[]:od.DocumentSymbol.is(r[0])?await this._client.protocol2CodeConverter.asDocumentSymbols(r,t):await this._client.protocol2CodeConverter.asSymbolInformations(r,t)}constructor(){dY(this,"_jupyterPythonPathFunction",void 0),dY(this,"_client",void 0)}}function d0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class d1{async start(){let e=await this._getManager();e&&await e.startClient()}async stop(){let e=await this._getManager();e&&await e.stopClient()}async getClient(){let e=await this._getManager();return e?await e.getClient():void 0}dispose(){let e=this._getManager();void 0!==e&&(e.then(e=>null==e?void 0:e.stopClient()),this._manager=void 0)}async _getManager(){if(!this._manager&&"copilot"===o1.mode&&await dr(this._services.extension.getExtension(n6))){let e=new dZ;this._manager=dq(this._context,"copilot",this._services,e)}return this._manager}constructor(e,t){d0(this,"_context",void 0),d0(this,"_services",void 0),d0(this,"_manager",void 0),this._context=e,this._services=t,o1.onChanged(()=>{"copilot"!==o1.mode&&this._manager?(this._manager.stopClient(),this._manager=void 0):"copilot"!==o1.mode||this._manager||this.start()})}}function d2(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class d4{isEnabled(){return!0}async start(){if("language-server"===o1.mode&&this._manager)return this._started=!0,await this._manager.startClient()}async stop(){this._started&&this._manager&&this._manager.stopClient(),this._started=!1}async getOutputChannel(){if("language-server"===o1.mode&&this._manager){let e=await this._manager.getClient();return null==e?void 0:e.outputChannel}}async getClient(){if("language-server"===o1.mode&&this._manager)return await this._manager.getClient()}constructor(e){d2(this,"_manager",void 0),d2(this,"_started",void 0),this._manager=e,this._started=!1,o1.onChanged(()=>{"language-server"!==o1.mode&&this._manager&&this._started&&(this._manager.stopClient(),this._started=!1)})}}class d3{registerJupyterPythonPathFunction(e){"language-server"===o1.mode&&this._jupyterIntegration&&this._jupyterIntegration.setJupyterPythonPathFunction(e)}async getReferences(e,t,r,i){if("language-server"===o1.mode&&this._jupyterIntegration)return await this._jupyterIntegration.getReferences(e,t,r,i)}getDocumentSymbols(e,t){return"language-server"===o1.mode&&this._jupyterIntegration?this._jupyterIntegration.getDocumentSymbols(e,t):Promise.resolve([])}constructor(e){d2(this,"_jupyterIntegration",void 0),this._jupyterIntegration=e}}class d8{get client(){return this._clientApi}get notebook(){return this._notebookApi}async languageServerFolder(){return{path:this._path,version:this._version}}async addServerBundle(e){if("language-server"===o1.mode&&this._clientApi){let t=await this._clientApi.getClient();t&&await rP.sendRequest(t,rP.Requests.LoadBundle,{bundleUri:e})}}async registerUriTranslator(e){on(`registerUriTranslator called with translator: ${e?"provided":"cleared"}`),l=e,this._manager&&this._clientApi&&await this._clientApi.getClient()&&(on("Restarting language client to apply URI translator"),await this._manager.restartClient())}constructor(e,t,r){d2(this,"_path",void 0),d2(this,"_clientApi",void 0),d2(this,"_notebookApi",void 0),d2(this,"_version",void 0),d2(this,"_manager",void 0),this._path=e,this._version=du(),this._manager=t,this._clientApi=new d4(t),this._notebookApi=new d3(r)}}function d6(e,t,r){let i=oV.join(e.extensionPath,"dist");if(!t)return new d8(i);let n=new dZ;return new d8(i,dq(e,"language-server",t,n,r),n)}async function d5(e,t,r,i,n){if("new"===t)return"*** new file ***";let o=rE.MoveSymbol.newFileLabel(),a=rE.MoveSymbol.newFileDetail(),s=await e.command.executeCommand(ch.getSourceFiles,r,i);if(!s)return;let l=[];l.push({label:o,detail:a,alwaysShow:!0},{label:rE.MoveSymbol.separatorText(),kind:nQ.QuickPickItemKind.Separator}),l.push(...s.filter(e=>e.uri!==r).map(e=>({label:e.name,description:e.folderAfterRoot,fullPath:e.uri})).sort((e,t)=>e.label.localeCompare(t.label)));let c=await e.appShell.showQuickPick(l,{canPickMany:!1,matchOnDescription:!0,matchOnDetail:!0,placeHolder:rE.MoveSymbol.quickPickPlaceHolder(),title:rE.MoveSymbol.quickPickTitle()},n);if(!c)return;if(c.fullPath)return c.fullPath;let d=await e.appShell.showOpenDialog({canSelectFiles:!0,canSelectFolders:!1,canSelectMany:!1,defaultUri:nQ.Uri.parse(r),filters:{Python:["py","pyi"]},openLabel:rE.MoveSymbol.openDialogOpenLabel(),title:rE.MoveSymbol.openDialogTitle()});if(d)return d[0].toString()}function d9(e){try{e()}catch(e){}}async function d7(e,t){let r=t.command;ds(e,r,cg.troubleshootMissingImports,async e=>{let i=e[0],n=e[1],o=e[2],a=e[3];if(!n||!o||!a)return;let s=t.extension.getPythonEnvExtension();if(!s)return void nQ.window.showWarningMessage(rD.TroubleshootMissingImports.envExtensionRequired());let l=await ue(s);if(!l)return void nQ.window.showWarningMessage(rD.TroubleshootMissingImports.apiNotFound());let c=await l.getEnvironment(nQ.Uri.parse(null!=a?a:""));if(!c)return;let d=await l.getPackages(c);if(d){let e=new Set(d.map(e=>e.name.toLowerCase())),t=sU(i);if(void 0!==t&&sj(e,[t])){let n=(0,oP.Kg)(t)?e.has(t)?[t]:[]:Array.from(t).filter(t=>e.has(t));return void 0===n||0===n.length?void 0:await nQ.window.showInformationMessage(rD.TroubleshootMissingImports.moduleNotFound().format(n[0],i),rF.learnMore(),rF.dismiss())===rF.learnMore()?void r.executeCommand(cg.openUri,["https://aka.ms/pylanceImportResolve"]):void 0}}r.executeCommand(cg.findMatchingEnv,[a,o,n,l])}),ds(e,r,cg.findMatchingEnv,async e=>{let t=e[0],i=e[1],n=e[2],o=e[3];if(!t)return;let a=function(e){let t=[];if(void 0===e)return t;for(let r of e){let e=sU(r);void 0!==e&&t.push(e)}return t}(i),s=await o.getEnvironments("all"),l=o.getPythonProject(nQ.Uri.parse(null!=t?t:"")),c=null==l?void 0:l.uri;if(!c||!a||0===a.length)return void nQ.window.showInformationMessage(rD.FindMatchingEnv.noEnvsFound());let d=await nQ.window.withProgress({location:nQ.ProgressLocation.Notification,cancellable:!0},async(e,t)=>{try{let r=s.length;for(let i=0;i<r;i++){let n=s[i];if(t.isCancellationRequested)return nQ.window.showInformationMessage(rD.FindMatchingEnv.scanningCancelled()),"cancelled";e.report({message:rD.FindMatchingEnv.scanningInProgress().format(n.displayName,(i+1).toString(),r.toString())});let l=await o.getPackages(n);if(!l)continue;let c=new Set(l.map(e=>e.name.toLowerCase()));if(sj(c,a))return n}return null}catch(e){nQ.window.showInformationMessage(rD.FindMatchingEnv.noEnvsFound());return}});if("cancelled"!==d){if(!d)return void nQ.window.showInformationMessage(rD.FindMatchingEnv.noEnvsFound(),rF.yes(),rF.no(),rF.learnMore()).then(e=>{e===rF.yes()?r.executeCommand(cg.installMissingPackages,[t,n,o]):e===rF.learnMore()&&r.executeCommand(cg.openUri,["https://aka.ms/pylanceImportResolve"])});nQ.window.showInformationMessage(rD.FindMatchingEnv.switchToEnv().format(d.displayName),rF.yes(),rF.no()).then(e=>{e===rF.yes()&&o.setEnvironment(c,d)})}}),ds(e,r,cg.installMissingPackages,async e=>{let t=e[0],r=e[1],i=e[2];if(!t||!r)return;let n=[];for(let e of r){let t=sU(e);void 0!==t&&((0,oP.Kg)(t)?n.push(t):n.push(...t))}let o=await i.getEnvironment(nQ.Uri.parse(null!=t?t:""));if(!o)return;let a=await i.getPackages(o);if(void 0!==a){let e=new Set(a.map(e=>e.name.toLowerCase()));n=n.filter(t=>!e.has(t.toLowerCase()))}let s=await nQ.window.showQuickPick(n.map(e=>({label:e,picked:!0})),{placeHolder:rD.InstallMissingPackages.placeholder(),canPickMany:!0});s&&0!==s.length&&await i.installPackages(o,s.map(e=>e.label))})}async function ue(e){return(await dr(e)).exports}async function ut(e){var t,r,i,n,o,a,s,l;let c,d,u,h,g,f,y,v,_,b,w;if(m)return m;await dl(e);let k=new dt,C=k.getPythonExtension(),S=(t=async(e,t,r)=>{if("language-server"===o1.mode){var i;let n=await (null==m||null==(i=m.client)?void 0:i.getClient());if(n)return await n.sendRequest(e,t,r)}else if("copilot"===o1.mode){let i=await (null==p?void 0:p.getClient());if(i)return await i.sendRequest(e,t,r)}},c=new ck,d=new oY,u=du(),h=new de,g=new c9,f=new dn(e),ds(e,h,cg.runCommands,(...e)=>{e.forEach(e=>{var t;h.executeCommand(e.command,...null!=(t=e.arguments)?t:[])})}),ds(e,h,cg.triggerParameterHints,e=>{nQ.workspace.getConfiguration("editor.parameterHints",{uri:nQ.Uri.parse(e),languageId:"python"}).get("enabled")&&h.executeCommand(c7.TriggerParameterHints)}),ds(e,h,cg.extractMethodWithRename,(e,t)=>{let r=cT(nQ.window.activeTextEditor,e,t);nQ.commands.executeCommand(ch.extractMethod,e,r).then(e=>{e&&cy(e)})}),ds(e,h,cg.extractVariableWithRename,(e,t)=>{let r=cT(nQ.window.activeTextEditor,e,t);nQ.commands.executeCommand(ch.extractVariable,e,r).then(e=>{e&&cy(e)})}),ds(e,h,cg.reportIssue,async e=>{"perf_autoDetect"===e&&dm(f).updateValue(u),nQ.commands.executeCommand("python.viewLanguageServerOutput").then(()=>{setTimeout(async()=>{await c_()},1e3)})}),ds(e,h,cg.addToExtraPaths,(e,t)=>{cf(d,h,e,t)}),ds(e,h,cg.dumpTokens,()=>{var e;let t=null==(e=nQ.window.activeTextEditor)?void 0:e.document.uri.toString();t&&nQ.commands.executeCommand(ch.dumpFileDebugInfo,t,"tokens")}),ds(e,h,cg.dumpNodes,()=>{var e;let t=null==(e=nQ.window.activeTextEditor)?void 0:e.document.uri.toString();t&&nQ.commands.executeCommand(ch.dumpFileDebugInfo,t,"nodes")}),ds(e,h,cg.dumpTypes,()=>{var e;let t=null==(e=nQ.window.activeTextEditor)?void 0:e.document.uri.toString();if(t){let e=nQ.window.activeTextEditor.selection.start,r=nQ.window.activeTextEditor.selection.end,i=nQ.window.activeTextEditor.document.offsetAt(e),n=nQ.window.activeTextEditor.document.offsetAt(r);nQ.commands.executeCommand(ch.dumpFileDebugInfo,t,"types",i,n)}}),ds(e,h,cg.dumpCachedTypes,()=>{var e;let t=null==(e=nQ.window.activeTextEditor)?void 0:e.document.uri.toString();if(t){let e=nQ.window.activeTextEditor.selection.start,r=nQ.window.activeTextEditor.selection.end,i=nQ.window.activeTextEditor.document.offsetAt(e),n=nQ.window.activeTextEditor.document.offsetAt(r);nQ.commands.executeCommand(ch.dumpFileDebugInfo,t,"cachedtypes",i,n)}}),ds(e,h,cg.dumpCodeFlowGraph,()=>{var e;let t=null==(e=nQ.window.activeTextEditor)?void 0:e.document.uri.toString();if(t){let e=nQ.window.activeTextEditor.selection.start,r=nQ.window.activeTextEditor.document.offsetAt(e);nQ.commands.executeCommand(ch.dumpFileDebugInfo,t,"codeflowgraph",r)}}),ds(e,h,cg.showTypeCheckingPicker,(e,t)=>{nQ.window.showQuickPick(e,{placeHolder:rD.typeCheckingModeStatusItem.pickerPlaceholder().format(t)}).then(e=>{if(e){var t;let r=null==(t=nQ.window.activeTextEditor)?void 0:t.document;r&&(["off","basic","strict","standard"].includes(e.label)?(d.updateSettingAtExistingDocumentScope(r,"python","analysis.typeCheckingMode",e.label),h.executeCommand(ch.executedClientCommand,cg.showTypeCheckingPicker,e.label)):nQ.commands.executeCommand("workbench.action.openSettings","python.analysis.typeCheckingMode"))}})}),ds(e,h,cg.openConfig,e=>{let t=nQ.Uri.parse(e);nQ.workspace.openTextDocument(t.fsPath).then(t=>{nQ.window.showTextDocument(t).then(r=>{let i=t.getText(),n=i.indexOf("typeCheckingMode");if(n>=0){let o=e.endsWith(".json")?":":"=",a=i.indexOf(o,n),s=t.positionAt(a+1),l=i.indexOf("\n",a+1),c=t.positionAt(l>=0?l:i.length-1),d=new nQ.Range(s,c);r.selection=new nQ.Selection(d.start,d.end),r.revealRange(d)}})})}),ds(e,h,cg.setAutoImportCompletions,e=>{var t;let r=null==(t=nQ.window.activeTextEditor)?void 0:t.document;r&&(d.updateSettingAtExistingDocumentScope(r,"python","analysis.autoImportCompletions",e),h.executeCommand(ch.executedClientCommand,cg.setAutoImportCompletions,e))}),ds(e,h,cg.openUri,async e=>{let t=(0,oP.cy)(e)?e[0]:e;return await nQ.env.openExternal(nQ.Uri.parse(t))}),ds(e,h,cg.searchImports,(e,t,r)=>c8(h,c,e,t,r)),y=async e=>{var t;let r=async t=>{let r=await nQ.commands.executeCommand(ch.getAllDocstringRanges,t);r&&await nQ.commands.executeCommand(e,{selectionLines:r,levels:1,direction:"down"})},i=null==(t=nQ.window.activeTextEditor)?void 0:t.document.uri.toString();i&&await r(i)},ds(e,h,cg.foldDocstrings,async()=>await y("editor.fold")),ds(e,h,cg.unfoldDocstrings,async()=>await y("editor.unfold")),ds(e,h,cg.runCurrentFileInSandbox,()=>{var e;let r=null==(e=nQ.window.activeTextEditor)?void 0:e.document.uri.toString();r&&t(as.ExecuteCommandRequest.type,{command:ch.runCurrentFileInSandbox,arguments:[r]})}),ds(e,h,cg.showReferences,(e,t,r)=>{let i=nQ.Uri.parse(e),n=new nQ.Position(t.line,t.character),o=r.map(e=>{let t=nQ.Uri.parse(e.uri.toString()),r=new nQ.Range(new nQ.Position(e.range.start.line,e.range.start.character),new nQ.Position(e.range.end.line,e.range.end.character));return new nQ.Location(t,r)});i&&n&&o&&nQ.commands.executeCommand("editor.action.peekLocations",i,n,o)}),("Default"===(_=nQ.workspace.getConfiguration("python").get("languageServer"))||"Pylance"===_)&&nQ.workspace.onDidChangeTextDocument(e=>{"python"===e.document.languageId&&e.contentChanges.forEach(t=>(function(e,t){var r;let i,n,o,a,s;if("'"!==t.text&&'"'!==t.text)return;let l=nQ.window.activeTextEditor;if(!l||l.document.uri.toString()!==e.uri.toString()||l.selections.length>1||!l.selection.isEmpty)return;let c=t.range.end,d=c.translate(0,1),u=t.text[0].repeat(3);if(!e.getText(new nQ.Range(d.with(void 0,0),d)).endsWith(u))return;let m=e.getText(new nQ.Range(new nQ.Position(0,0),new nQ.Position(c.line+1,0))),{lines:p,tokens:h}=new st._().tokenize(m),g=(0,aD.bt)(c,p);if(void 0===g||g<0)return;let f=h.getItemAt(h.getItemAtPosition(g));f.type===aR.ks.String&&(i=(f.flags&aR.IF.Triplicate)!=0,n=(f.flags&aR.IF.Unterminated)!=0,o=/^\s*$/.test(f.escapedValue),i&&o&&n&&(r=e.uri,"always"===(a=nQ.workspace.getConfiguration("editor",r).get("autoClosingQuotes"))||"languageDefined"===a||"beforeWhitespace"===a&&(0===f.start||/\s/.test(m[f.start-1])))&&((s=new nQ.SnippetString).appendPlaceholder("",0),s.appendText(u),l.insertSnippet(s,d)))})(e.document,t))}),(v=new cF).activate(),e.subscriptions.push(v),{pylanceVersion:u,config:d,command:h,appShell:c,browser:g,persistent:f,extension:new dt});if(i=S.config,!(["Visual Studio Code","Visual Studio Code - Insiders","Visual Studio Code - Exploration"].includes(nQ.env.appName)&&(ui(i,null!=(n=null==(o=require.main)?void 0:o.paths.map(e=>e+n4("f70715b752c50649525efc24a1d133eb")))?n:[])||ui(i,[(0,nX.ej)(nQ.env.appRoot,n4("9e4708daf438152c7e63cf9f3b24d92c"))])))){let t;return oa(nZ),C?(await dr(C),t=new o8(C.exports.pylance.getTelemetryReporter())):t=new o8,t.sendTelemetryEvent(ot.LANGUAGE_SERVER_INVALID_CLIENT),m=d6(e)}a=cg.moveSymbolWithFileSelection,s=async(e,t,r,i,n)=>{let o=await d5(S,r,e,i,n);o&&await S.command.executeCommand(ch.moveSymbol,e,o,t,i)},l={title:rE.MoveSymbol.progressBarTitle(),cancellationIdIndex:3},b={location:nQ.ProgressLocation.Window,cancellable:!0,title:l.title},w=S.appShell,ds(e,S.command,a,(...e)=>w.withProgress(b,async(t,r)=>{let i=e[l.cancellationIdIndex],n=[r.onCancellationRequested(()=>{i&&d9(()=>o_.writeFileSync(i,"",{flag:"w"}))})];try{let t=s(...e,r);return t&&"function"==typeof t.then&&(t=await t),t}catch(e){if(r.isCancellationRequested)return;throw e}finally{i&&d9(()=>o_.unlinkSync(i)),n.forEach(e=>e.dispose())}}),void 0),await d7(e,S);let T=await un(e,k,S.pylanceVersion);return m=d6(e,S,T),C||await (null==(r=m.client)?void 0:r.start()),p=new d1(e,S),await p.start(),m}async function ur(){var e;m&&(await (null==(e=m.client)?void 0:e.stop()),await (null==p?void 0:p.stop()))}function ui(e,t){try{let e=require.resolve(n4("bdf000de72c4f5f5d7cff4fa6dd90b95"),{paths:t}),r=require(e);if(!r[n4("0fd50b75eeecb3b44b3932921442f72c")]||!r[n4("80c3ae7905cba507debf9b326fc386ab")])return!1;return!0}catch(e){return!1}}async function un(e,t,r){let i,n,o=new ox;e.subscriptions.push(o);let a=t.getPythonExtension(),s=await dr(a),l=null==s?void 0:s.exports,c=await dr(t.getPythonEnvExtension()),d=nQ.workspace.getConfiguration("python").get("useEnvironmentsExtension",!1)?null==c?void 0:c.exports:void 0,u=void 0!==l?rI.create(l,d):void 0;return n=nQ.lm.registerMcpServerDefinitionProvider("pylanceMcp",{onDidChangeMcpServerDefinitions:o.onDidChangeServerStatus,provideMcpServerDefinitions:async e=>{try{if(!o.isReady)return[];let t=o.client,n=await oS(e);if(!n)throw Error("Failed to find an available port for MCP server");null==i||i.dispose(),o.removeDisposable(i),i=nQ.workspace.registerPortAttributesProvider({portRange:n},{providePortAttributes:(e,t)=>new nQ.PortAttributes(e.port===n?nQ.PortAutoForwardAction.Ignore:nQ.PortAutoForwardAction.Notify)}),o.addDisposable(i);let a=await (null==u?void 0:u.getActivePythonEnvironment());if(!a){let e;return t.outputChannel.appendLine("Failed to get active python environment for MCP server. MCP server disabled."),e=null==u?void 0:u.onDidChangeEnvironments(()=>{null==e||e.dispose(),o.fireMcpStateChanged()}),[]}let s=await rx.sendRequest(t,rx.Requests.McpPort,{port:n,pythonPath:a});if(!s||!s)return t.outputChannel.appendLine("Failed to get authorization header for Pylance MCP server. MCP server disabled."),[];let l=new nQ.McpHttpServerDefinition("pylance mcp server",nQ.Uri.parse(`http://localhost:${n}/stream`));return l.headers.authorization=`${s}`,l.version=of?`${r}-${Date.now()}`:r,[l]}catch(e){return oa(`Failed to provide MCP server definitions: ${e}`),[]}}}),o.addDisposable(n),o}},46914(){String.prototype.splitLines=function(e={removeEmptyEntries:!0,trim:!0}){let t=this.split(/\r?\n/g);return e&&e.trim&&(t=t.map(e=>e.trim())),e&&e.removeEmptyEntries&&(t=t.filter(e=>e.length>0)),t},String.prototype.toCommandArgument=function(){return this?!(this.indexOf(" ")>=0)||this.startsWith('"')||this.endsWith('"')?this.toString():`"${this}"`:this},String.prototype.fileToCommandArgument=function(){return this?this.toCommandArgument().replace(/\\/g,"/"):this},String.prototype.trimQuotes=function(){return this?this.replace(/(^['"])|(['"]$)/g,""):this},Promise.prototype.ignoreErrors=function(){this.catch(()=>{})},String.prototype.format||(String.prototype.format=function(){let e=arguments;return this.replace(/{(\d+)}/g,(t,r)=>void 0===e[r]?t:e[r])})},1158(e){"use strict";e.exports=require("buffer")},13200(e){"use strict";e.exports=require("child_process")},38749(e){"use strict";e.exports=require("crypto")},66261(e){"use strict";e.exports=require("events")},94383(e){"use strict";e.exports=require("fs")},9856(e){"use strict";e.exports=require("http")},2057(e){"use strict";e.exports=require("https")},52135(e){"use strict";e.exports=require("net")},89366(e){"use strict";e.exports=require("os")},62003(e){"use strict";e.exports=require("path")},69778(e){"use strict";e.exports=require("readline")},76272(e){"use strict";e.exports=require("stream")},92460(e){"use strict";e.exports=require("util")},75446(e){"use strict";e.exports=require("v8")},91398(e){"use strict";e.exports=require("vscode")},52128(e){"use strict";e.exports=require("worker_threads")},33925(e){"use strict";e.exports=require("zlib")},91943(e){"use strict";e.exports=require("fs/promises")},18721(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"Přidat všechny pozn\xe1mky typu","addTypeAnnotation":"Přidat anotaci typu"},"AddTypeIgnore":{"title":"Pokud chcete potlačit upozorněn\xed, přidejte {statement}"},"AutoImport":{"addAutoImport":"Přidat {importText}","searchImport":"Hledat dalš\xed shody importu"},"ChangeSpelling":{"changeSpellingTo":"Změnit pravopis na „{word}“"},"ConvertFormatString":{"convertToFString":"Přev\xe9st na f-string pomoc\xed Copilotu","convertToFormat":"Přev\xe9st na vol\xe1n\xed format() pomoc\xed Copilotu"},"ConvertImportStar":{"convertAllToExplicitImports":"Přev\xe9st všechny importy s hvězdičkou na explicitn\xed importy","convertToExplicitImports":"Přev\xe9st na explicitn\xed importy"},"ConvertLambdaToNamedFunction":{"title":"Přev\xe9st v\xfdraz lambda na pojmenovanou funkci pomoc\xed Copilotu"},"DiagnosticRefactor":{"fixformattedString":"Opravit „{name}“"},"ExtraPath":{"addExtraPath":"Přidat „{name}“ do extraPaths"},"Extract":{"method":"Extrahovat metodu","variable":"Extrahovat proměnnou"},"FixAll":{"runFixAll":"Spustit pylance fix all"},"GenerateSymbol":{"generateClass":"Generovat \\"{name}\\" tř\xeddy s Copilot","generateFunction":"Generovat \\"{name}\\" funkce s Copilot","generateMember":"Vygenerovat člena {name} pomoc\xed Copilotu"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Implementovat všechny zděděn\xe9 abstraktn\xed tř\xeddy"},"MoveSymbol":{"commandTitle":"Přesunout symbol","moveSymbolsTo":"Přesunout symbol do...","moveSymbolsToNewFile":"Přesunout symbol do nov\xe9ho souboru"},"RemoveUnusedImport":{"removeAllUnusedImports":"Odstranit všechny nepouž\xedvan\xe9 importy","removeUnusedImport":"Odebrat nepoužit\xfd import"},"ToggleImportPath":{"convertAllFormat":"Přev\xe9st všechny form\xe1ty importu","convertAllToAbsolutePath":"Přev\xe9st všechny importy na absolutn\xed cestu","convertAllToRelativePath":"Přev\xe9st všechny importy na relativn\xed cestu","convertToAbsolutePath":"Přev\xe9st na absolutn\xed cestu","convertToRelativePath":"Přev\xe9st na relativn\xed cestu"},"UnresolvedImports":{"learnMoreTitle":"Dalš\xed informace o řešen\xed importů","selectInterpreterTitle":"Vyberte jin\xe9ho interpreta","selectKernelTitle":"Vyberte jin\xe9 j\xe1dro (kernel) Jupyter","troubleshootMissingImports":"Odstranit pot\xedže s chyběj\xedc\xedmi importy"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"Data protokolov\xe1n\xed se uložila do um\xedstěn\xed [{filePath}]({uri}). Dalš\xed podrobnosti najdete v podokně v\xfdstupu Python Language Server."},"ProfilingCommand":{"profilingDataSaved":"Data profilace se uložila do um\xedstěn\xed [{filePath}]({uri}). Dalš\xed podrobnosti najdete v podokně v\xfdstupu „Python Language Server.“"},"gotoOutputCommand":"Zobrazit v\xfdstup"},"Copilot":{"generateDocstringWithCopilot":"Generovat Docstring pomoc\xed Copilotu","hoverSummary":{"generateSummary":"Vygenerovat souhrn Copilotu","noSummary":"Nen\xed k dispozici ž\xe1dn\xfd souhrn.","summary":"Souhrn","tooltip":"Obsah vygenerovan\xfd umělou inteligenc\xed může b\xfdt nespr\xe1vn\xfd."},"implementAllInheritedAbstractClasseswithCopilot":"Implementovat všechny zděděn\xe9 abstraktn\xed tř\xeddy pomoc\xed Copilotu"},"Diagnostic":{"importResolveRedirect":"Import {importName} se v prostřed\xed {venv} nepovedlo naj\xedt."},"DocstringTemplate":{"description":"Popis","docstringForName":"Docstring pro {name}","generateDocstring":"Generovat řetězec Docstring"},"LargeLog":{"copyToClipboard":"Protokol se zkr\xe1til kvůli limitu textu probl\xe9mu na GitHubu. Do schr\xe1nky byl zkop\xedrov\xe1n \xfapln\xfd protokol.","no":"Ž\xe1dn\xe9","openLink":"Otevř\xedt odkaz","userConsent":"R\xe1di bychom v\xe1š protokol Pylance zahrnuli do probl\xe9mu, kter\xfd hl\xe1s\xedte, ale je př\xedliš velk\xfd. Nevadilo by, kdybychom ho m\xedsto toho nahr\xe1li př\xedmo na GitHub (v probl\xe9mu bude vidět jen č\xe1st protokolu)? Dalš\xed informace najdete na tady: {url}.","yes":"Ano"},"Messages":{"defaultPythonEnvironmentName":"V\xfdchoz\xed prostřed\xed Pythonu","globalEnvironmentName":"glob\xe1ln\xed","pluralFilesAndPluralCellsToAnalyze":"{fileCount} soubory/souborů a {cellCount} buňky/buněk k anal\xfdze","pluralFilesAndSingularCellToAnalyze":"{fileCount} soubory/souborů a 1 buňka k anal\xfdze","singularFileAndPluralCellsToAnalyze":"1 soubor a {cellCount} buňky/buněk k anal\xfdze","singularFileAndSingularCellToAnalyze":"1 soubor a 1 buňka k anal\xfdze","windowsStoreEnvironmentName":"Microsoft Store"},"PerformanceTracking":{"button":"Nahl\xe1sit probl\xe9m","title":"Zjistili jsme probl\xe9m s v\xfdkonem rozš\xedřen\xed Pylance. Chcete nahl\xe1sit probl\xe9m pomoc\xed př\xedkazu Pylance: Nahl\xe1sit probl\xe9m?"},"Pytest":{"addTypeAnnotation":"Přidat pozn\xe1mku typu k n\xe1zvu {name}","addTypeAnnotations":"Přidat pozn\xe1mky typu pro všechny odkazy fixture v tomto souboru","fixtureNotFound":"„{fixture}“ nen\xed zn\xe1m\xfd testovac\xed př\xedpravek (fixture). Testovac\xed metody by měly jako parametry přij\xedmat pouze n\xe1zvy testovac\xedch př\xedpravků (fixture) nebo parametrizace (parametrization)."},"Refactoring":{"moveFile":"Chcete aktualizovat všechny odkazy na import pro {oldModuleName} na {newModuleName}?","moveFileAbsentSymbol":"Nepovedlo se naj\xedt symbol, kter\xfd se m\xe1 přesunout.","moveFileDescription":"Chcete aktualizovat všechny odkazy na import pro {oldModuleName} na {newModuleName}?","moveFileExtensionMismatch":"Pokud chcete přesunout symbol, mus\xed m\xedt zdrojov\xfd soubor ({src}) a c\xedlov\xfd soubor ({dest}) stejnou př\xedponu souboru.","moveFileImportableOnly":"Přesouvat se můžou jenom objekty, kter\xe9 se daj\xed importovat z jin\xfdch modulů, jako jsou tř\xeddy nebo funkce.","moveFileInsertLocation":"Nelze naj\xedt um\xedstěn\xed pro vložen\xed symbolu. Symbol se stejn\xfdm n\xe1zvem už může v {name} existovat.","moveFileLabel":"Chcete aktualizovat všechny odkazy na import pro {oldModuleName} na {newModuleName}?","moveFileMissingInfo":"Nelze naj\xedt informace o souboru pro {name}.","moveFileMultipleDeclarations":"Tento symbol nelze přesunout, protože je deklarov\xe1n v\xedcekr\xe1t.","moveFileNotUserFile":"Tento symbol nelze přesunout. Podporuj\xed se pouze symboly v souboru projektu nebo uživatele.","moveFilePrivateSymbol":"{name} se ned\xe1 přesunout, protože se jedn\xe1 o priv\xe1tn\xed symbol.","moveFileSameFile":"Symbol nelze přesunout do stejn\xe9ho souboru, ve kter\xe9m se pr\xe1vě nach\xe1z\xed.","moveFileSimpleAssignmentsOnly":"Tento v\xfdraz nejde přesunout. Podporuj\xed se pouze jednoduch\xe1 přiřazen\xed, např\xedklad proměnn\xe1, kter\xe9 se přiřazuje hodnota.","moveFileSymbolNotFound":"Na pozici {position} nelze naj\xedt symbol.","moveFileUnsupportedSymbol":"Tento symbol nelze přesunout. Podporuj\xed se pouze proměnn\xe9, funkce a tř\xeddy na \xfarovni modulu."}}')},52420(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"Alle Typanmerkungen hinzuf\xfcgen","addTypeAnnotation":"Typanmerkung hinzuf\xfcgen"},"AddTypeIgnore":{"title":"„{statement}“ hinzuf\xfcgen, um Warnung zu unterdr\xfccken"},"AutoImport":{"addAutoImport":"\\"{importText}\\" hinzuf\xfcgen","searchImport":"Nach zus\xe4tzlichen Import\xfcbereinstimmungen suchen"},"ChangeSpelling":{"changeSpellingTo":"Schreibweise in \\"{word}\\" \xe4ndern"},"ConvertFormatString":{"convertToFString":"Mit Copilot in eine f-Zeichenfolge konvertieren","convertToFormat":"Mit Copilot in einen format()-Aufruf konvertieren"},"ConvertImportStar":{"convertAllToExplicitImports":"Konvertieren aller Sternimporte in explizite Importe","convertToExplicitImports":"In explizite Importe konvertieren"},"ConvertLambdaToNamedFunction":{"title":"Lambdafunktion mit Copilot in eine benannte Funktion umwandeln"},"DiagnosticRefactor":{"fixformattedString":"Korrektur von „{name}“"},"ExtraPath":{"addExtraPath":"\\"{name}\\" zu extraPaths hinzuf\xfcgen"},"Extract":{"method":"Methode extrahieren","variable":"Variable extrahieren"},"FixAll":{"runFixAll":"Pylance \\"Alle korrigieren\\" ausf\xfchren"},"GenerateSymbol":{"generateClass":"Klassen-\\"{name}\\" mit Copilot generieren","generateFunction":"Funktion \\"{name}\\" mit Copilot generieren","generateMember":"Mitglied „{name}“ mit Copilot generieren"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Alle geerbten abstrakten Klassen implementieren"},"MoveSymbol":{"commandTitle":"Symbol verschieben","moveSymbolsTo":"Symbol verschieben nach...","moveSymbolsToNewFile":"Symbol in neue Datei verschieben"},"RemoveUnusedImport":{"removeAllUnusedImports":"Alle nicht verwendeten Importe entfernen","removeUnusedImport":"Nicht verwendete Importe entfernen"},"ToggleImportPath":{"convertAllFormat":"Alle Importformate konvertieren","convertAllToAbsolutePath":"Alle Importe in absoluten Pfad konvertieren","convertAllToRelativePath":"Alle Importe in relativen Pfad konvertieren","convertToAbsolutePath":"In absoluten Pfad konvertieren","convertToRelativePath":"In relativen Pfad konvertieren"},"UnresolvedImports":{"learnMoreTitle":"Weitere Informationen zum Aufl\xf6sen von Importen","selectInterpreterTitle":"Anderen Interpreter ausw\xe4hlen","selectKernelTitle":"Anderen Jupyter-kernel ausw\xe4hlen","troubleshootMissingImports":"Problembehandlung bei fehlenden Importen"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"Protokollierungsdaten wurden unter [{filePath}]({uri}) gespeichert. Weitere Informationen finden Sie im Ausgabebereich „Python-Sprachserver“."},"ProfilingCommand":{"profilingDataSaved":"Profilerstellungsdaten wurden unter [{filePath}]({uri}) gespeichert. Weitere Informationen finden Sie im Ausgabebereich „Python-Sprachserver“."},"gotoOutputCommand":"Ausgabe anzeigen"},"Copilot":{"generateDocstringWithCopilot":"Docstring mit Copilot generieren","hoverSummary":{"generateSummary":"Copilot-Zusammenfassung generieren","noSummary":"Keine Zusammenfassung verf\xfcgbar.","summary":"Zusammenfassung","tooltip":"KI-generierte Inhalte k\xf6nnen falsch sein."},"implementAllInheritedAbstractClasseswithCopilot":"Alle geerbten abstrakten Klassen mit Copilot implementieren"},"Diagnostic":{"importResolveRedirect":"Der Import \\"{importName}\\" wurde in der Umgebung \\"{venv}\\" nicht gefunden."},"DocstringTemplate":{"description":"Beschreibung","docstringForName":"Docstring f\xfcr {name}","generateDocstring":"Docstring generieren"},"LargeLog":{"copyToClipboard":"Das Protokoll wurde aufgrund der Begrenzung f\xfcr GitHub-Problemtexte gek\xfcrzt. Das vollst\xe4ndige Protokoll wurde in die Zwischenablage kopiert.","no":"Nein","openLink":"Link \xf6ffnen","userConsent":"Wir w\xfcrden Ihr Pylance-Protokoll gerne in das von Ihnen gemeldete Problem aufnehmen, es ist aber zu gro\xdf. W\xe4re es in Ordnung, wenn wir es stattdessen direkt auf GitHub hochladen (im Problem ist nur ein Teil des Protokolls zu sehen)? Weitere Informationen finden Sie unter {url}","yes":"Ja"},"Messages":{"defaultPythonEnvironmentName":"Python-Standardumgebung","globalEnvironmentName":"global","pluralFilesAndPluralCellsToAnalyze":"{fileCount} Dateien und {cellCount} Zellen zu analysieren","pluralFilesAndSingularCellToAnalyze":"{fileCount} Dateien und 1 Zeile zu analysieren","singularFileAndPluralCellsToAnalyze":"1 Datei und {cellCount} Zellen zu analysieren","singularFileAndSingularCellToAnalyze":"1 Datei und 1 Zelle zu analysieren","windowsStoreEnvironmentName":"Microsoft Store"},"PerformanceTracking":{"button":"Problem melden","title":"Wir haben ein Leistungsproblem mit Pylance erkannt. M\xf6chten Sie ein Problem mithilfe des Befehls „Pylance: Problem melden“ melden?"},"Pytest":{"addTypeAnnotation":"Typanmerkung zu {name} hinzuf\xfcgen","addTypeAnnotations":"Typanmerkungen f\xfcr alle fixture Verweise in dieser Datei hinzuf\xfcgen","fixtureNotFound":"\'{fixture}\' ist keine bekannte Test-fixture. Testmethoden d\xfcrfen nur fixture- oder parametrization Namen als Parameter empfangen."},"Refactoring":{"moveFile":"M\xf6chten Sie alle Importverweise f\xfcr \\"{oldModuleName}\\" auf \\"{newModuleName}\\" aktualisieren?","moveFileAbsentSymbol":"Es wurde kein zu verschiebendes Symbol gefunden.","moveFileDescription":"Alle Importverweise f\xfcr \\"{oldModuleName}\\" auf \\"{newModuleName}\\" aktualisieren?","moveFileExtensionMismatch":"Um ein Symbol zu verschieben, m\xfcssen die Quelldatei („{src}“) und die Zieldatei („{dest}“) dieselbe Dateierweiterung aufweisen.","moveFileImportableOnly":"Nur Objekte, die aus anderen Modulen importiert werden k\xf6nnen, z.\xa0B. Klassen oder Funktionen, d\xfcrfen verschoben werden.","moveFileInsertLocation":"Es wurde keine Position zum Einf\xfcgen des Symbols gefunden. In „{name}“ ist m\xf6glicherweise bereits ein Symbol mit diesem Namen vorhanden.","moveFileLabel":"Alle Importverweise f\xfcr \\"{oldModuleName}\\" auf \\"{newModuleName}\\" aktualisieren?","moveFileMissingInfo":"Es wurden keine Dateiinformationen f\xfcr „{name}“ gefunden.","moveFileMultipleDeclarations":"Dieses Symbol kann nicht verschoben werden, da es mehrmals deklariert ist.","moveFileNotUserFile":"Dieses Symbol kann nicht verschoben werden. Nur Symbole in einer Projekt- oder Benutzerdatei werden unterst\xfctzt.","moveFilePrivateSymbol":"„{name}“ kann nicht verschoben werden, da es sich um ein privates Symbol handelt.","moveFileSameFile":"Ein Symbol kann nicht in dieselbe Datei verschoben werden, in der es sich aktuell befindet.","moveFileSimpleAssignmentsOnly":"Dieser Ausdruck kann nicht verschoben werden. Es werden nur einfache Zuweisungen unterst\xfctzt, z.\xa0B. eine Variable, der ein Wert zugewiesen wird.","moveFileSymbolNotFound":"An Position „{position}“ wurde kein Symbol gefunden.","moveFileUnsupportedSymbol":"Dieses Symbol kann nicht verschoben werden. Nur Variablen, Funktionen und Klassen auf Modulebene werden unterst\xfctzt."}}')},76463(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeIgnore":{"title":"Add \'{statement}\' to suppress warning"},"AutoImport":{"addAutoImport":"Add \\"{importText}\\"","searchImport":"Search for additional import matches"},"ChangeSpelling":{"changeSpellingTo":"Change spelling to \\"{word}\\""},"ExtraPath":{"addExtraPath":{"message":"Add \\"{name}\\" to extraPaths","comment":"{Locked=\'extraPaths\'}"}},"Extract":{"method":"Extract method","variable":"Extract variable"},"FixAll":{"runFixAll":"Run pylance fix all"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Implement all inherited abstract classes"},"MoveSymbol":{"commandTitle":"Move symbol","moveSymbolFailed":"Move symbol","moveSymbolsTo":{"message":"Move symbol to...","comment":"{StrEnds=\'...\'}"},"moveSymbolsToNewFile":"Move symbol to new file"},"RemoveUnusedImport":{"removeAllUnusedImports":"Remove all unused imports","removeUnusedImport":"Remove unused import"},"ToggleImportPath":{"convertAllFormat":"Convert all import formats","convertAllToAbsolutePath":"Convert all imports to absolute path","convertAllToRelativePath":"Convert all imports to relative path","convertToAbsolutePath":"Convert to absolute path","convertToRelativePath":"Convert to relative path"},"UnresolvedImports":{"learnMoreTitle":"Learn more about resolving imports","selectInterpreterTitle":"Select a different interpreter","selectKernelTitle":{"message":"Select a different Jupyter kernel","comment":"{Locked=\'Jupyter\',\'kernel\'}"},"troubleshootMissingImports":"Troubleshoot missing imports"},"GenerateSymbol":{"generateClass":{"message":"Generate class \\"{name}\\" with Copilot","comment":"{Locked=\'Copilot\'}"},"generateFunction":{"message":"Generate function \\"{name}\\" with Copilot","comment":"{Locked=\'Copilot\'}"},"generateMember":{"message":"Generate member \\"{name}\\" with Copilot","comment":"{Locked=\'Copilot\'}"}},"InheritDecorators":{"inheritAllDecorators":"Inherit all decorators"},"ConvertLambdaToNamedFunction":{"title":{"message":"Convert lambda to named function with Copilot","comment":"{Locked=\'Copilot\'}"}},"ConvertFormatString":{"convertToFString":{"message":"Convert to f-string with Copilot","comment":"{Locked=\'Copilot\'}"},"convertToFormat":{"message":"Convert to format() call with Copilot","comment":"{Locked=\'Copilot\',\'format\'}"}},"ConvertImportStar":{"convertToExplicitImports":"Convert to explicit imports","convertAllToExplicitImports":"Convert all star imports to explicit imports"},"ConvertImportToModule":{"convertToModuleImport":"Convert to module import","convertAllToModuleImport":"Convert all to module imports"},"RenameShadowedStdlib":{"renameModule":{"message":"Rename \\"{oldName}\\" to \\"{newName}\\" (shadows stdlib module)","comment":"oldName is the current file name, newName is the suggested new name"},"renameShadowedImports":"Rename imported modules that shadow stdlib"},"AddTypeAnnotation":{"addTypeAnnotation":"Add type annotation","addAllTypeAnnotations":"Add all type annotations"},"DiagnosticRefactor":{"fixformattedString":{"message":"Fix \\"{name}\\"","comment":"name is diangnostic error string"}}},"Commands":{"LoggingCommand":{"loggingDataSaved":"Logging data has been saved at [{filePath}]({uri}). See `Python Language Server` output pane for more detail."},"ProfilingCommand":{"profilingDataSaved":"Profiling data has been saved at [{filePath}]({uri}). See `Python Language Server` output pane for more detail."},"gotoOutputCommand":"Show Output"},"Copilot":{"implementAllInheritedAbstractClasseswithCopilot":{"message":"Implement all inherited abstract classes with Copilot","comment":"{Locked=\'Copilot\'}"},"generateDocstringWithCopilot":{"message":"Generate Docstring with Copilot","comment":"{Locked=\'Copilot\', \'Docstring\'}"},"documentation":{"copilotSummary":{"message":"Copilot Summary","comment":"{Locked=\'Copilot\'}"},"tooltip":"Click to fetch documentation for this symbol.","get":"Get documentation","notAvailable":"No documentation available.","fetchFailed":"Failed to fetch documentation."}},"Diagnostic":{"importResolveRedirect":"Import \\"{importName}\\" could not be found in the \\"{venv}\\" environment."},"DocstringTemplate":{"description":"Description","docstringForName":{"message":"Docstring for {name}","comment":"{Locked=\'Docstring\'}"},"generateDocstring":{"message":"Generate Docstring","comment":"{Locked=\'Docstring\'}"}},"Messages":{"defaultPythonEnvironmentName":{"message":"Default Python Environment","comment":"{Locked=\'Python\'}"},"globalEnvironmentName":"global","pluralFilesAndPluralCellsToAnalyze":"{fileCount} files and {cellCount} cells to analyze","pluralFilesAndSingularCellToAnalyze":"{fileCount} files and 1 cell to analyze","singularFileAndPluralCellsToAnalyze":"1 file and {cellCount} cells to analyze","singularFileAndSingularCellToAnalyze":"1 file and 1 cell to analyze","windowsStoreEnvironmentName":"microsoft store"},"PerformanceTracking":{"button":"Report issue","title":{"message":"We have detected a performance issue with Pylance. Would you like to file an issue using the `Pylance: Report Issue` command?","comment":"{Locked=\'Pylance\'}"}},"Pytest":{"addTypeAnnotation":"Add type annotation to {name}","addTypeAnnotations":{"message":"Add type annotations for all fixture references in this file","comment":"{Locked=\'fixture\'}"},"fixtureNotFound":{"message":"\'{fixture}\' is not a known test fixture. Test methods should only receive fixture or parametrization names as parameters.","comment":"{Locked=\'fixture\',\'parametrization\'}"}},"Refactoring":{"moveFile":"Do you want to update all import references for \\"{oldModuleName}\\" to \\"{newModuleName}\\"?","moveFileAbsentSymbol":"Cannot find a symbol to move.","moveFileDescription":"Update all import references for \\"{oldModuleName}\\" to \\"{newModuleName}\\"?","moveFileExtensionMismatch":"To move a symbol, the source file (\\"{src}\\") and destination file (\\"{dest}\\") must have the same file extension.","moveFileImportableOnly":"Only objects that can be imported from other modules, such as classes or functions, are allowed to be moved.","moveFileInsertLocation":"Cannot find a location to insert the symbol. A symbol with the same name might already exist in \\"{name}\\".","moveFileLabel":"Update all import references for \\"{oldModuleName}\\" to \\"{newModuleName}\\"?","moveFileMissingInfo":"Cannot find file information for \\"{name}\\".","moveFileMultipleDeclarations":"This symbol cannot be moved because it is declared multiple times.","moveFileNotUserFile":"This symbol cannot be moved. Only symbols in a project or user file are supported.","moveFilePrivateSymbol":"\\"{name}\\" cannot be moved because it is a private symbol.","moveFileSameFile":"A symbol cannot be moved to the same file where it is currently located.","moveFileSimpleAssignmentsOnly":"This expression can\'t be moved. Only simple assignments, such as a variable being assigned a value, are supported.","moveFileSymbolNotFound":"Cannot find a symbol at position \\"{position}\\".","moveFileUnsupportedSymbol":"This symbol cannot be moved. Only variables, functions, and classes at the module level are supported.","moveFileInvalidModuleName":"\\"{name}\\" is not a valid Python module name. File names used as modules must be valid Python identifiers (cannot start with a digit or contain special characters)."},"LargeLog":{"copyToClipboard":"The log has been truncated due to the GitHub issue body limit. The full log has been copied to the clipboard.","userConsent":{"message":"We would like to include your Pylance log in the issue you\'re reporting, but it\'s too large. Would it be okay if we uploaded it to github directly instead (only a portion of the log will be visible in the issue)? For more information, visit {url}","comment":"{Locked=\'Pylance\'}"},"openLink":"Open link","yes":"Yes","no":"No"}}')},32535(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"Agregar todas las anotaciones de tipo","addTypeAnnotation":"Agregar una anotaci\xf3n de tipo"},"AddTypeIgnore":{"title":"Agregar “{statement}” para suprimir la advertencia"},"AutoImport":{"addAutoImport":"Agregar \\"{importText}\\"","searchImport":"Buscar coincidencias de importaci\xf3n adicionales"},"ChangeSpelling":{"changeSpellingTo":"Cambiar la ortograf\xeda a \\"{word}\\""},"ConvertFormatString":{"convertToFString":"Convertir a f-string con Copilot","convertToFormat":"Convertir a una llamada a format() con Copilot"},"ConvertImportStar":{"convertAllToExplicitImports":"Convertir todas las importaciones de estrellas en importaciones expl\xedcitas","convertToExplicitImports":"Convertir a importaciones expl\xedcitas"},"ConvertLambdaToNamedFunction":{"title":"Conversi\xf3n de lambda en funci\xf3n con nombre con Copilot"},"DiagnosticRefactor":{"fixformattedString":"Corregir \\"{name}\\""},"ExtraPath":{"addExtraPath":"Agregar \\"{name}\\" a extraPaths"},"Extract":{"method":"Extraer m\xe9todo","variable":"Extraer variable"},"FixAll":{"runFixAll":"Ejecutar pylance fix all"},"GenerateSymbol":{"generateClass":"Generar \\"{name}\\" de clase con Copilot","generateFunction":"Generar \\"{name}\\" de funci\xf3n con Copilot","generateMember":"Generar el miembro \\"{name}\\" con Copilot"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Implementar todas las clases abstractas heredadas"},"MoveSymbol":{"commandTitle":"Mover s\xedmbolo","moveSymbolsTo":"Mover s\xedmbolo a...","moveSymbolsToNewFile":"Mover el s\xedmbolo a un nuevo archivo"},"RemoveUnusedImport":{"removeAllUnusedImports":"Eliminar todas las importaciones no utilizadas","removeUnusedImport":"Eliminar la importaci\xf3n no utilizada"},"ToggleImportPath":{"convertAllFormat":"Convierte todos los formatos de importaci\xf3n","convertAllToAbsolutePath":"Convertir todas las importaciones en rutas absolutas","convertAllToRelativePath":"Convertir todas las importaciones en rutas relativas","convertToAbsolutePath":"Convertir a ruta absoluta","convertToRelativePath":"Convertir en ruta de acceso relativa"},"UnresolvedImports":{"learnMoreTitle":"M\xe1s informaci\xf3n sobre c\xf3mo resolver importaciones","selectInterpreterTitle":"Seleccionar otro int\xe9rprete","selectKernelTitle":"Seleccionar otro kernel de Jupyter","troubleshootMissingImports":"Soluci\xf3n de problemas de importaciones que faltan"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"Los datos de registro se han guardado en [{filePath}]({uri}). Consulte el panel de salida `Servidor de lenguaje de Python` para obtener m\xe1s detalles."},"ProfilingCommand":{"profilingDataSaved":"Los datos de generaci\xf3n de perfiles se han guardado en [{filePath}]({uri}). Consulte el panel de salida \\"Servidor de lenguaje de Python\\" para obtener m\xe1s detalles."},"gotoOutputCommand":"Mostrar salida"},"Copilot":{"generateDocstringWithCopilot":"Generar Docstring con Copilot","hoverSummary":{"generateSummary":"Generar resumen de Copilot","noSummary":"No hay resumen disponible.","summary":"Resumen","tooltip":"El contenido generado por inteligencia artificial puede ser incorrecto."},"implementAllInheritedAbstractClasseswithCopilot":"Implementaci\xf3n de todas las clases abstractas heredadas con Copilot"},"Diagnostic":{"importResolveRedirect":"No se encontraron \\"{importName}\\" de importaci\xf3n en el entorno de \\"{venv}\\"."},"DocstringTemplate":{"description":"Descripci\xf3n","docstringForName":"Docstring para {name}","generateDocstring":"Generar Docstring"},"LargeLog":{"copyToClipboard":"El registro se ha truncado debido al l\xedmite de cuerpo del problema de GitHub. El registro completo se ha copiado en el Portapapeles.","no":"No","openLink":"Abrir v\xednculo","userConsent":"Nos gustar\xeda incluir el registro de Pylance en el problema que est\xe1 informando, pero es demasiado grande. \xbfEstar\xeda bien si lo subimos directamente a GitHub en su lugar? (Solo una parte del registro ser\xe1 visible en el problema) Para obtener m\xe1s informaci\xf3n, visite {url}","yes":"S\xed"},"Messages":{"defaultPythonEnvironmentName":"Entorno de Python predeterminado","globalEnvironmentName":"global","pluralFilesAndPluralCellsToAnalyze":"{fileCount} archivos y {cellCount} celdas para analizar","pluralFilesAndSingularCellToAnalyze":"{fileCount} archivos y 1 celda para analizar","singularFileAndPluralCellsToAnalyze":"1 archivo y {cellCount} celdas para analizar","singularFileAndSingularCellToAnalyze":"1 archivo y 1 celda para analizar","windowsStoreEnvironmentName":"microsoft store"},"PerformanceTracking":{"button":"Notificar el problema","title":"Hemos detectado un problema de rendimiento con Pylance. \xbfDesea notificar un problema mediante el comando `Pylance: Report Issue`?"},"Pytest":{"addTypeAnnotation":"Agregar anotaci\xf3n de tipo a {name}","addTypeAnnotations":"Agregar anotaciones de tipo para todas las referencias de fixture en este archivo","fixtureNotFound":"\'{fixture}\' no es un fixture de prueba conocido. Los m\xe9todos de prueba solo deben recibir nombres de fixture o parametrization como par\xe1metros."},"Refactoring":{"moveFile":"\xbfDesea actualizar todas las referencias de importaci\xf3n de \\"{oldModuleName}\\" a \\"{newModuleName}\\"?","moveFileAbsentSymbol":"No se encuentra un s\xedmbolo para mover.","moveFileDescription":"\xbfActualizar todas las referencias de importaci\xf3n de \\"{oldModuleName}\\" a \\"{newModuleName}\\"?","moveFileExtensionMismatch":"Para mover un s\xedmbolo, el archivo de origen (\\"{src}\\") y el archivo de destino (\\"{dest}\\") deben tener la misma extensi\xf3n de archivo.","moveFileImportableOnly":"Solo se pueden mover los objetos que se pueden importar de otros m\xf3dulos, como clases o funciones.","moveFileInsertLocation":"No se encuentra una ubicaci\xf3n para insertar el s\xedmbolo. Es posible que ya exista un s\xedmbolo con el mismo nombre en \\"{name}\\".","moveFileLabel":"\xbfActualizar todas las referencias de importaci\xf3n de \\"{oldModuleName}\\" a \\"{newModuleName}\\"?","moveFileMissingInfo":"No se encuentra informaci\xf3n de archivo para \\"{name}\\".","moveFileMultipleDeclarations":"Este s\xedmbolo no se puede mover porque est\xe1 declarado varias veces.","moveFileNotUserFile":"No se puede mover este s\xedmbolo. Solo se admiten s\xedmbolos en un archivo de proyecto o de usuario.","moveFilePrivateSymbol":"\\"{name}\\" no se puede mover porque es un s\xedmbolo privado.","moveFileSameFile":"No se puede mover un s\xedmbolo al mismo archivo en el que se encuentra actualmente.","moveFileSimpleAssignmentsOnly":"Esta expresi\xf3n no se puede mover. Solo se admiten asignaciones simples, como una variable a la que se asigna un valor.","moveFileSymbolNotFound":"No se encuentra un s\xedmbolo en la posici\xf3n \\"{position}\\".","moveFileUnsupportedSymbol":"No se puede mover este s\xedmbolo. Solo se admiten variables, funciones y clases en el nivel de m\xf3dulo."}}')},47011(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"Ajouter toutes les annotations de type","addTypeAnnotation":"Ajouter une annotation de type"},"AddTypeIgnore":{"title":"Ajouter \xab\xa0{statement}\xa0\xbb pour supprimer l’avertissement"},"AutoImport":{"addAutoImport":"Ajouter \xab {importText} \xbb","searchImport":"Rechercher d’autres correspondances d’importation"},"ChangeSpelling":{"changeSpellingTo":"Changer l’orthographe en \xab\xa0{word}\xa0\xbb"},"ConvertFormatString":{"convertToFString":"Convertir en f-string avec Copilot","convertToFormat":"Convertir en appel de format() avec Copilot"},"ConvertImportStar":{"convertAllToExplicitImports":"Convertir toutes les importations en \xe9toile en importations explicites","convertToExplicitImports":"Convertir en importations explicites"},"ConvertLambdaToNamedFunction":{"title":"Convertir une fonction lambda en fonction nomm\xe9e avec Copilot"},"DiagnosticRefactor":{"fixformattedString":"Corriger \xab {name} \xbb"},"ExtraPath":{"addExtraPath":"Ajouter \\"{name}\\" \xe0 extraPaths"},"Extract":{"method":"M\xe9thode d\'extraction","variable":"Extraire la variable"},"FixAll":{"runFixAll":"Ex\xe9cutez pylance tout r\xe9parer"},"GenerateSymbol":{"generateClass":"G\xe9n\xe9rer des \\"{name}\\" de classe avec Copilot","generateFunction":"G\xe9n\xe9rer des \\"{name}\\" de fonction avec Copilot","generateMember":"G\xe9n\xe9rer le membre \xab\xa0{name}\xa0\xbb avec Copilot"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Impl\xe9menter toutes les classes abstraites h\xe9rit\xe9es"},"MoveSymbol":{"commandTitle":"D\xe9placer le symbole","moveSymbolsTo":"D\xe9placer le symbole vers ...","moveSymbolsToNewFile":"D\xe9placer le symbole vers un nouveau fichier"},"RemoveUnusedImport":{"removeAllUnusedImports":"Supprimer toutes les importations inutilis\xe9es","removeUnusedImport":"Supprimer l’importation inutilis\xe9e"},"ToggleImportPath":{"convertAllFormat":"Convertir tous les formats d’importation","convertAllToAbsolutePath":"Convertir toutes les importations en chemin absolu","convertAllToRelativePath":"Convertir toutes les importations en chemin d’acc\xe8s relatif","convertToAbsolutePath":"Convertir en chemin absolu","convertToRelativePath":"Convertir en chemin relatif"},"UnresolvedImports":{"learnMoreTitle":"En savoir plus sur la r\xe9solution des importations","selectInterpreterTitle":"S\xe9lectionnez un autre interpr\xe8te","selectKernelTitle":"S\xe9lectionnez un autre Jupyter kernel","troubleshootMissingImports":"R\xe9soudre les probl\xe8mes li\xe9s aux importations manquantes"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"Les donn\xe9es de journalisation ont \xe9t\xe9 enregistr\xe9es sur [{filePath}]({uri}). Pour obtenir plus d’informations, consultez le volet de sortie `Serveur de langage Python`."},"ProfilingCommand":{"profilingDataSaved":"Les donn\xe9es de profilage ont \xe9t\xe9 enregistr\xe9es sur [{filePath}]({uri}). Pour plus d’informations, consultez le volet de sortie \xab\xa0Serveur de langage Python\xa0\xbb."},"gotoOutputCommand":"Afficher la sortie"},"Copilot":{"generateDocstringWithCopilot":"G\xe9n\xe9rez une Docstring avec Copilot","hoverSummary":{"generateSummary":"G\xe9n\xe9rer un r\xe9sum\xe9 de Copilot","noSummary":"Aucun r\xe9sum\xe9 n’est disponible.","summary":"R\xe9sum\xe9","tooltip":"Il est possible que le contenu g\xe9n\xe9r\xe9 par IA soit incorrect."},"implementAllInheritedAbstractClasseswithCopilot":"Impl\xe9menter toutes les classes abstraites h\xe9rit\xe9es avec Copilot"},"Diagnostic":{"importResolveRedirect":"L\'importation \\"{importName}\\" est introuvable dans l\'environnement \\"{venv}\\"."},"DocstringTemplate":{"description":"Description","docstringForName":"Docstring pour {name}","generateDocstring":"G\xe9n\xe9rer Docstring"},"LargeLog":{"copyToClipboard":"Nous avons tronqu\xe9 le journal en raison de la limite du corps du probl\xe8me GitHub. Le journal complet a \xe9t\xe9 copi\xe9 dans le Presse-papiers.","no":"Non","openLink":"Ouvrir le lien","userConsent":"Nous aimerions inclure votre journal Pylance dans le probl\xe8me signal\xe9, mais il est trop volumineux. Serait-il acceptable de le t\xe9l\xe9charger directement sur GitHub \xe0 la place (seule une partie du journal sera visible dans le probl\xe8me)\xa0? Pour d\xe9couvrir plus d’informations, visitez {url}","yes":"Oui"},"Messages":{"defaultPythonEnvironmentName":"Environnement Python par d\xe9faut","globalEnvironmentName":"global","pluralFilesAndPluralCellsToAnalyze":"{fileCount} fichiers et {cellCount} cellules \xe0 analyser","pluralFilesAndSingularCellToAnalyze":"{fileCount}\xa0fichiers et 1\xa0cellule \xe0 analyser","singularFileAndPluralCellsToAnalyze":"1\xa0fichier et {cellCount}\xa0cellules \xe0 analyser","singularFileAndSingularCellToAnalyze":"1 fichier et 1 cellule \xe0 analyser","windowsStoreEnvironmentName":"magasin microsoft"},"PerformanceTracking":{"button":"Signaler un probl\xe8me","title":"Nous avons d\xe9tect\xe9 un probl\xe8me de performances avec Pylance. Voulez-vous signaler un probl\xe8me en utilisant la commande `Pylance\xa0: signaler un probl\xe8me`\xa0?"},"Pytest":{"addTypeAnnotation":"Ajouter une annotation de type \xe0 {name}","addTypeAnnotations":"Ajouter des annotations de type pour toutes les r\xe9f\xe9rences de fixture dans ce fichier","fixtureNotFound":"\'{fixture}\' is not a known test fixture. Test methods should only receive fixture or parametrization names as parameters."},"Refactoring":{"moveFile":"Voulez-vous mettre \xe0 jour toutes les r\xe9f\xe9rences d’importation pour \xab {oldModuleName} \xbb en \xab {newModuleName} \xbb ?","moveFileAbsentSymbol":"Symbole \xe0 d\xe9placer introuvable.","moveFileDescription":"Mettre \xe0 jour toutes les r\xe9f\xe9rences d’importation pour \xab {oldModuleName} \xbb sur \xab {newModuleName} \xbb\xa0?","moveFileExtensionMismatch":"Pour d\xe9placer un symbole, le fichier source (\xab\xa0{src}\xa0\xbb) et le fichier de destination (\xab\xa0{dest}\xa0\xbb) doivent pr\xe9senter la m\xeame extension de fichier.","moveFileImportableOnly":"Seuls les objets pouvant \xeatre import\xe9s \xe0 partir d’autres modules, tels que des classes, peuvent \xeatre d\xe9plac\xe9s.","moveFileInsertLocation":"Impossible de trouver un emplacement o\xf9 ins\xe9rer le symbole. Un symbole portant le m\xeame nom existe peut-\xeatre d\xe9j\xe0 dans \xab\xa0{name}\xa0\xbb.","moveFileLabel":"Mettre \xe0 jour toutes les r\xe9f\xe9rences d’importation pour \xab {oldModuleName} \xbb sur \xab {newModuleName} \xbb\xa0?","moveFileMissingInfo":"Impossible de trouver les informations de fichier pour \xab\xa0{name}\xa0\xbb.","moveFileMultipleDeclarations":"Impossible de d\xe9placer ce symbole, car il est d\xe9clar\xe9 plusieurs fois.","moveFileNotUserFile":"Impossible de d\xe9placer ce symbole. Seuls les symboles d’un projet ou d’un fichier utilisateur sont pris en charge.","moveFilePrivateSymbol":"\xab\xa0{name}\xa0\xbb ne peut pas \xeatre d\xe9plac\xe9, car il s’agit d’un symbole priv\xe9.","moveFileSameFile":"Un symbole ne peut pas \xeatre d\xe9plac\xe9 vers le m\xeame fichier dans lequel il est actuellement.","moveFileSimpleAssignmentsOnly":"Impossible de d\xe9placer cette expression. Seules les affectations simples, telles qu’une variable \xe0 laquelle une valeur est attribu\xe9e, sont prises en charge.","moveFileSymbolNotFound":"Symbole introuvable \xe0 la position \xab\xa0{position}\xa0\xbb.","moveFileUnsupportedSymbol":"Impossible de d\xe9placer ce symbole. Seules les variables, fonctions et classes au niveau du module sont prises en charge."}}')},94814(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"Aggiungere tutte le annotazioni di tipo","addTypeAnnotation":"Aggiungere l\'annotazione di tipo"},"AddTypeIgnore":{"title":"Aggiunger \'\'{statement}\'\' per sopprimere l\'avviso"},"AutoImport":{"addAutoImport":"Aggiungi \\"{importText}\\"","searchImport":"Cercare corrispondenze di importazione aggiuntive"},"ChangeSpelling":{"changeSpellingTo":"Cambiare ortografia in \\"{word}\\""},"ConvertFormatString":{"convertToFString":"Converti in f-string con Copilot","convertToFormat":"Converti in chiamata format() con Copilot"},"ConvertImportStar":{"convertAllToExplicitImports":"Convertire tutte le importazioni con asterisco in importazioni esplicite","convertToExplicitImports":"Convertire in importazioni esplicite"},"ConvertLambdaToNamedFunction":{"title":"Convertire lambda in funzione con nome assegnato con Copilot"},"DiagnosticRefactor":{"fixformattedString":"Correggi \\"{name}\\""},"ExtraPath":{"addExtraPath":"Aggiungi \\"{name}\\" a extraPaths"},"Extract":{"method":"Estrai il metodo","variable":"Estrarre variabile"},"FixAll":{"runFixAll":"Esegui correggi tutto di pylance"},"GenerateSymbol":{"generateClass":"Genera \\"{name}\\" di classe con Copilot","generateFunction":"Genera \\"{name}\\" di funzione con Copilot","generateMember":"Genera membro \\"{name}\\" con Copilot"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Implementare tutte le classi astratte ereditate"},"MoveSymbol":{"commandTitle":"Spostare simbolo","moveSymbolsTo":"Sposta simbolo in...","moveSymbolsToNewFile":"Spostare il simbolo in un nuovo file"},"RemoveUnusedImport":{"removeAllUnusedImports":"Rimuovere tutte le importazioni inutilizzate","removeUnusedImport":"Rimuovere importazioni inutilizzate"},"ToggleImportPath":{"convertAllFormat":"Convertire tutti i formati di importazione","convertAllToAbsolutePath":"Converte tutte le importazioni in percorso assoluto","convertAllToRelativePath":"Convertire tutte le importazioni in percorso relativo","convertToAbsolutePath":"Convertire in percorso assoluto","convertToRelativePath":"Converti in percorso relativo"},"UnresolvedImports":{"learnMoreTitle":"Altre informazioni sulla risoluzione delle importazioni","selectInterpreterTitle":"Selezionare un interprete diverso","selectKernelTitle":"Selezionare un kernel Jupyter diverso","troubleshootMissingImports":"Risoluzione dei problemi relative alle importazioni mancanti"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"I dati di registrazione sono stati salvati in [{filePath}]({uri}). Per altri dettagli, vedere il riquadro di output del server di linguaggio Python."},"ProfilingCommand":{"profilingDataSaved":"I dati di profilatura sono stati salvati in [{filePath}]({uri}). Per altri dettagli, vedere il riquadro di output del server di linguaggio Python."},"gotoOutputCommand":"Mostra output"},"Copilot":{"generateDocstringWithCopilot":"Genera Docstring con Copilot","hoverSummary":{"generateSummary":"Genera riepilogo Copilot","noSummary":"Nessun riepilogo disponibile.","summary":"Riepilogo","tooltip":"Il contenuto generato dall\'intelligenza artificiale potrebbe non essere corretto."},"implementAllInheritedAbstractClasseswithCopilot":"Implementare tutte le classi astratte ereditate con Copilot"},"Diagnostic":{"importResolveRedirect":"Impossibile trovare l’importazione \\"{importName}\\" nell\'ambiente \\"{venv}\\"."},"DocstringTemplate":{"description":"Descrizione","docstringForName":"Docstring per {name}","generateDocstring":"Genera Docstring"},"LargeLog":{"copyToClipboard":"Il log \xe8 stato troncato a causa del limite del corpo del problema di GitHub. Il log completo \xe8 stato copiato negli Appunti.","no":"No","openLink":"Apri collegamento","userConsent":"Vorremmo includere il tuo log di Pylance nel problema che stai segnalando, ma \xe8 troppo grande. Possiamo invece caricarlo direttamente su GitHub (solo una parte del log sar\xe0 visibile nel problema)? Per altre informazioni, visita {url}","yes":"S\xec"},"Messages":{"defaultPythonEnvironmentName":"Ambiente Python predefinito","globalEnvironmentName":"globale","pluralFilesAndPluralCellsToAnalyze":"{fileCount} file e {cellCount} celle da analizzare","pluralFilesAndSingularCellToAnalyze":"{fileCount} file e 1 cella da analizzare","singularFileAndPluralCellsToAnalyze":"1 file e {cellCount} celle da analizzare","singularFileAndSingularCellToAnalyze":"1 file e 1 cella da analizzare","windowsStoreEnvironmentName":"microsoft store"},"PerformanceTracking":{"button":"Segnala problema","title":"\xc8 stato rilevato un problema di prestazioni per Pylance. Segnalare un problema usando il comando \'Pylance: Report Issue\'?"},"Pytest":{"addTypeAnnotation":"Aggiungi l’annotazione di tipo a {name}","addTypeAnnotations":"Aggiungere annotazioni di tipo per tutti i riferimenti alle fixture in questo file","fixtureNotFound":"`{fixture}` non \xe8 una fixture di test nota. I metodi di test devono ricevere come parametri solo nomi di fixture o di parametrization."},"Refactoring":{"moveFile":"Aggiornare tutti i riferimenti all\'importazione per \\"{oldModuleName}\\" a \\"{newModuleName}\\"?","moveFileAbsentSymbol":"Impossibile trovare un simbolo da spostare.","moveFileDescription":"Aggiornare tutti i riferimenti all\'importazione per \\"{oldModuleName}\\" a \\"{newModuleName}\\"?","moveFileExtensionMismatch":"Per spostare un simbolo, il file di origine (\\"{src}\\") e il file di destinazione (\\"{dest}\\") devono avere la stessa estensione di file.","moveFileImportableOnly":"\xc8 possibile spostare solo gli oggetti che possono essere importati da altri moduli, ad esempio classi o funzioni.","moveFileInsertLocation":"Impossibile trovare una posizione in cui inserire il simbolo. Un simbolo con lo stesso nome potrebbe gi\xe0 esistere in \\"{name}\\".","moveFileLabel":"Aggiornare tutti i riferimenti all\'importazione per \\"{oldModuleName}\\" a \\"{newModuleName}\\"?","moveFileMissingInfo":"Impossibile trovare le informazioni sul file per \\"{name}\\".","moveFileMultipleDeclarations":"Impossibile spostare questo simbolo perch\xe9 \xe8 dichiarato pi\xf9 volte.","moveFileNotUserFile":"Impossibile spostare questo simbolo. Sono supportati solo i simboli in un progetto o in un file utente.","moveFilePrivateSymbol":"Impossibile spostare \\"{name}\\" perch\xe9 \xe8 un simbolo privato.","moveFileSameFile":"Non \xe8 possibile spostare un simbolo nello stesso file in cui si trova attualmente.","moveFileSimpleAssignmentsOnly":"Questa espressione non pu\xf2 essere spostata. Sono supportate solo le assegnazioni semplici, ad esempio una variabile a cui viene assegnato un valore.","moveFileSymbolNotFound":"Impossibile trovare un simbolo nella posizione \\"{position}\\".","moveFileUnsupportedSymbol":"Impossibile spostare questo simbolo. Sono supportate solo variabili, funzioni e classi a livello di modulo."}}')},29150(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"すべての型注釈を追加する","addTypeAnnotation":"型注釈の追加"},"AddTypeIgnore":{"title":"警告を抑制する \'{statement}\' を追加する"},"AutoImport":{"addAutoImport":"\\"{importText}\\" の追加","searchImport":"一致するその他のインポートを検索する"},"ChangeSpelling":{"changeSpellingTo":"スペルを \\"{word}\\" に変更する"},"ConvertFormatString":{"convertToFString":"Copilot を使用して f-string に変換する","convertToFormat":"Copilot を使用して format() 呼び出しに変換する"},"ConvertImportStar":{"convertAllToExplicitImports":"すべてのスター インポートを明示的なインポートに変換する","convertToExplicitImports":"明示的なインポートに変換する"},"ConvertLambdaToNamedFunction":{"title":"Copilot を使用してラムダを名前付き関数に変換する"},"DiagnosticRefactor":{"fixformattedString":"\\"{name}\\" を修正してください"},"ExtraPath":{"addExtraPath":"extraPaths に \\"{name}\\" を追加する"},"Extract":{"method":"メソッドを抽出する","variable":"変数の抽出"},"FixAll":{"runFixAll":"Pylance fix all を実行する"},"GenerateSymbol":{"generateClass":"Copilot を使用してクラス \\"{name}\\" を生成する","generateFunction":"Copilot を使用して関数 \\"{name}\\" を生成する","generateMember":"Copilot でメンバー \\"{name}\\" を生成する"},"ImplementAbstractClass":{"implementAllAbstractClasses":"継承されたすべての抽象クラスを実装します"},"MoveSymbol":{"commandTitle":"シンボルの移動","moveSymbolsTo":"シンボルを以下に移動...","moveSymbolsToNewFile":"シンボルを新しいファイルに移動する"},"RemoveUnusedImport":{"removeAllUnusedImports":"未使用のインポートをすべて削除する","removeUnusedImport":"未使用のインポートを削除する"},"ToggleImportPath":{"convertAllFormat":"すべてのインポート形式を変換する","convertAllToAbsolutePath":"すべてのインポートを絶対パスに変換する","convertAllToRelativePath":"すべてのインポートを相対パスに変換する","convertToAbsolutePath":"絶対パスに変換する","convertToRelativePath":"相対パスに変換する"},"UnresolvedImports":{"learnMoreTitle":"インポートの解決に関する詳細情報","selectInterpreterTitle":"別のインタープリターを選択する","selectKernelTitle":"別の Jupyter kernel を選択する","troubleshootMissingImports":"不足しているインポートのトラブルシューティング"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"ログ データは [{filePath}]({uri}) に保存されました。詳細については、\'Python Language Server\' 出力ウィンドウを参照してください。"},"ProfilingCommand":{"profilingDataSaved":"プロファイル データは [{filePath}]({uri}) に保存されました。詳細については、\'Python Language Server\' 出力ウィンドウを参照してください。"},"gotoOutputCommand":"出力の表示"},"Copilot":{"generateDocstringWithCopilot":"Copilot で Docstring を生成する","hoverSummary":{"generateSummary":"Copilot の要約を生成","noSummary":"利用できる要約はありません。","summary":"要約","tooltip":"AI によって生成されたコンテンツが正しくない可能性があります。"},"implementAllInheritedAbstractClasseswithCopilot":"Copilot を使用して継承されたすべての抽象クラスを実装します"},"Diagnostic":{"importResolveRedirect":"インポート \\"{importName}\\" が \\"{venv}\\" 環境に見つかりませんでした。"},"DocstringTemplate":{"description":"説明","docstringForName":"{name} の Docstring","generateDocstring":"Docstring の生成"},"LargeLog":{"copyToClipboard":"GitHub イシュー本文の上限のため、ログが切り詰められました。ログ全体はクリップボードにコピーされています。","no":"いいえ","openLink":"リンクを開く","userConsent":"報告するイシューに Pylance ログを含めたいのですが、大きすぎます。代わりに、GitHub に直接アップロードしてもよろしいですか (ログの一部のみがイシューに表示されます)?詳細については、{url} をご覧ください","yes":"はい"},"Messages":{"defaultPythonEnvironmentName":"既定の Python 環境","globalEnvironmentName":"グローバル","pluralFilesAndPluralCellsToAnalyze":"分析する {fileCount} 個のファイルと {cellCount} 個のセル","pluralFilesAndSingularCellToAnalyze":"分析する {fileCount} 個ファイルと 1 個のセル","singularFileAndPluralCellsToAnalyze":"分析する 1 個のファイルと {cellCount} 個のセル","singularFileAndSingularCellToAnalyze":"分析する 1 個のファイルと 1 個のセル","windowsStoreEnvironmentName":"Microsoft Store"},"PerformanceTracking":{"button":"問題の報告","title":"Pylance でパフォーマンスの問題が検出されました。`Pylance: Report Issue` コマンドを使用して問題を報告しますか?"},"Pytest":{"addTypeAnnotation":"型の注釈を {name} に追加する","addTypeAnnotations":"このファイル内のすべての fixture 参照の型注釈を追加します","fixtureNotFound":"\'{fixture}\' は既知のテスト fixture ではありません。テスト メソッドは、fixture 名または parametrization 名のみをパラメーターとして受け取る必要があります。"},"Refactoring":{"moveFile":"\\"{oldModuleName}\\" のすべてのインポート参照を \\"{newModuleName}\\" に更新しますか?","moveFileAbsentSymbol":"移動するシンボルが見つかりません。","moveFileDescription":"\\"{oldModuleName}\\" のすべてのインポート参照を \\"{newModuleName}\\" に更新しますか?","moveFileExtensionMismatch":"シンボルを移動するには、移動元ファイル (\\"{src}\\") と移動先ファイル (\\"{dest}\\") のファイル拡張子が同じである必要があります。","moveFileImportableOnly":"他のモジュール (クラスまたは関数など) からインポートできるオブジェクトのみを移動できます。","moveFileInsertLocation":"シンボルを挿入する場所が見つかりません。同じ名前のシンボルが既に \\"{name}\\" に存在している可能性があります。","moveFileLabel":"\\"{oldModuleName}\\" のすべてのインポート参照を \\"{newModuleName}\\" に更新しますか?","moveFileMissingInfo":"\\"{name}\\" のファイル情報が見つかりません。","moveFileMultipleDeclarations":"このシンボルは複数回宣言されているため、移動できません。","moveFileNotUserFile":"このシンボルは移動できません。プロジェクトまたはユーザー ファイル内のシンボルのみがサポートされています。","moveFilePrivateSymbol":"\\"{name}\\" はプライベート シンボルであるため、移動できません。","moveFileSameFile":"シンボルは、現在配置されているファイルと同じファイルに移動できません。","moveFileSimpleAssignmentsOnly":"この式は移動できません。値が割り当てられている変数など、単純な代入のみがサポートされています。","moveFileSymbolNotFound":"位置 \\"{position}\\" にシンボルが見つかりません。","moveFileUnsupportedSymbol":"このシンボルは移動できません。モジュール レベルの変数、関数、クラスのみがサポートされています。"}}')},14997(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"모든 형식 주석 추가","addTypeAnnotation":"형식 주석 추가"},"AddTypeIgnore":{"title":"경고를 표시하지 않으려면 \'{statement}\' 추가"},"AutoImport":{"addAutoImport":"\\"{importText}\\" 추가","searchImport":"추가 가져오기 일치 항목 검색"},"ChangeSpelling":{"changeSpellingTo":"철자를 \\"{word}\\"(으)로 변경"},"ConvertFormatString":{"convertToFString":"Copilot을 사용하여 f-string으로 변환","convertToFormat":"Copilot을 사용하여 format() 호출로 변환"},"ConvertImportStar":{"convertAllToExplicitImports":"모든 별 가져오기를 명시적 가져오기로 변환","convertToExplicitImports":"명시적 가져오기로 변환"},"ConvertLambdaToNamedFunction":{"title":"Copilot을 사용하여 람다를 명명된 함수로 변환"},"DiagnosticRefactor":{"fixformattedString":"\\"{name}\\" 수정"},"ExtraPath":{"addExtraPath":"extraPaths에 ‘{name}’ 추가"},"Extract":{"method":"메서드 추출","variable":"변수 추출"},"FixAll":{"runFixAll":"모두 Pylance 수정 실행"},"GenerateSymbol":{"generateClass":"Copilot 사용하여 클래스 \\"{name}\\" 생성","generateFunction":"Copilot 사용하여 함수 \\"{name}\\" 생성","generateMember":"Copilot을 사용하여 멤버 \\"{name}\\" 생성"},"ImplementAbstractClass":{"implementAllAbstractClasses":"상속된 추상 클래스 모두 구현"},"MoveSymbol":{"commandTitle":"기호 이동","moveSymbolsTo":"기호를 다음으로 이동...","moveSymbolsToNewFile":"기호를 새 파일로 이동"},"RemoveUnusedImport":{"removeAllUnusedImports":"사용되지 않는 가져오기 모두 제거","removeUnusedImport":"사용되지 않는 가져오기 제거"},"ToggleImportPath":{"convertAllFormat":"모든 가져오기 형식 변환","convertAllToAbsolutePath":"모든 가져오기를 절대 경로로 변환","convertAllToRelativePath":"모든 가져오기를 상대 경로로 변환","convertToAbsolutePath":"절대 경로로 변환","convertToRelativePath":"상대 경로로 변환"},"UnresolvedImports":{"learnMoreTitle":"가져오기 해결에 대해 자세히 알아보기","selectInterpreterTitle":"다른 인터프리터 선택","selectKernelTitle":"다른 Jupyter kernel 선택","troubleshootMissingImports":"누락된 가져오기 문제 해결"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"로깅 데이터가 [{filePath}]({uri})에 저장되었습니다. 자세한 내용은 \'Python 언어 서버\' 출력 창을 참조하세요."},"ProfilingCommand":{"profilingDataSaved":"프로파일링 데이터가 [{filePath}]({uri})에 저장되었습니다. 자세한 내용은 \'Python 언어 서버\' 출력 창을 참조하세요."},"gotoOutputCommand":"출력 표시"},"Copilot":{"generateDocstringWithCopilot":"Copilot 사용하여 Docstring 생성","hoverSummary":{"generateSummary":"Copilot 요약 생성","noSummary":"사용할 수 있는 요약이 없습니다.","summary":"요약","tooltip":"AI 생성 콘텐츠가 잘못되었을 수 있습니다."},"implementAllInheritedAbstractClasseswithCopilot":"Copilot을 사용하여 상속된 모든 추상 클래스 구현"},"Diagnostic":{"importResolveRedirect":"\\"{venv}\\" 환경에서 \\"{importName}\\" 가져오기를 찾을 수 없습니다."},"DocstringTemplate":{"description":"설명","docstringForName":"{name}의 Docstring","generateDocstring":"Docstring 생성"},"LargeLog":{"copyToClipboard":"GitHub 문제 본문 제한으로 인해 로그가 잘렸습니다. 전체 로그를 클립보드에 복사했습니다.","no":"아니요","openLink":"링크 열기","userConsent":"보고 중인 문제에 Pylance 로그를 포함하고 싶지만, 로그 용량이 너무 큽니다. 대신 GitHub에 직접 업로드해도 괜찮을까요(문제에는 로그의 일부만 표시됨)? 자세한 내용은 {url}을(를) 참조하세요.","yes":"예"},"Messages":{"defaultPythonEnvironmentName":"기본 Python 환경","globalEnvironmentName":"글로벌","pluralFilesAndPluralCellsToAnalyze":"분석할 파일 {fileCount}개 및 셀 {cellCount}개","pluralFilesAndSingularCellToAnalyze":"분석할 파일 {fileCount}개 및 셀 1개","singularFileAndPluralCellsToAnalyze":"분석할 파일 1개 및 셀 {cellCount}개","singularFileAndSingularCellToAnalyze":"분석할 파일 1개 및 셀 1개","windowsStoreEnvironmentName":"microsoft store"},"PerformanceTracking":{"button":"문제 보고","title":"Pylance에서 성능 문제가 발견되었습니다. \'Pylance: Report Issue\' 명령을 사용하여 문제를 제출하시겠습니까?"},"Pytest":{"addTypeAnnotation":"{name}에 형식 주석 추가","addTypeAnnotations":"이 파일의 모든 fixture 참조에 대한 형식 주석 추가","fixtureNotFound":"\'{fixture}\'은(는) 알려진 테스트 fixture가 아닙니다. 테스트 메서드는 fixture 또는 parametrization 이름만 매개 변수로 받아야 합니다."},"Refactoring":{"moveFile":"\\"{oldModuleName}\\"에 대한 모든 가져오기 참조를 \\"{newModuleName}\\"(으)로 업데이트하시겠습니까?","moveFileAbsentSymbol":"이동할 기호를 찾을 수 없습니다.","moveFileDescription":"\\"{oldModuleName}\\"에 대한 모든 가져오기 참조를 \\"{newModuleName}\\"(으)로 업데이트하시겠습니까?","moveFileExtensionMismatch":"기호를 이동하려면 원본 파일(\\"{src}\\") 및 대상 파일(\\"{dest}\\")의 파일 확장명이 같아야 합니다.","moveFileImportableOnly":"클래스 또는 함수와 같은 다른 모듈에서 가져올 수 있는 개체만 이동할 수 있습니다.","moveFileInsertLocation":"기호를 삽입할 위치를 찾을 수 없습니다. 이름이 같은 기호가 \\"{name}\\"에 이미 있을 수 있습니다.","moveFileLabel":"\\"{oldModuleName}\\"에 대한 모든 가져오기 참조를 \\"{newModuleName}\\"(으)로 업데이트하시겠습니까?","moveFileMissingInfo":"\\"{name}\\"에 대한 파일 정보를 찾을 수 없습니다.","moveFileMultipleDeclarations":"이 기호는 여러 번 선언되었으므로 이동할 수 없습니다.","moveFileNotUserFile":"이 기호를 이동할 수 없습니다. 프로젝트 또는 사용자 파일의 기호만 지원됩니다.","moveFilePrivateSymbol":"\\"{name}\\"은 프라이빗 기호이므로 이동할 수 없습니다.","moveFileSameFile":"기호는 현재 있는 동일한 파일로 이동할 수 없습니다.","moveFileSimpleAssignmentsOnly":"이 식을 이동할 수 없습니다. 값이 할당되는 변수와 같은 간단한 할당만 지원됩니다.","moveFileSymbolNotFound":"\\"{position}\\" 위치에서 기호를 찾을 수 없습니다.","moveFileUnsupportedSymbol":"이 기호를 이동할 수 없습니다. 모듈 수준의 변수, 함수, 클래스만 지원됩니다."}}')},42235(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"Dodaj wszystkie adnotacje typu","addTypeAnnotation":"Dodaj adnotację typu"},"AddTypeIgnore":{"title":"Dodaj instrukcję „{statement}”, aby pominąć ostrzeżenie"},"AutoImport":{"addAutoImport":"Dodaj element „{importText}”","searchImport":"Wyszukaj dodatkowe dopasowania import\xf3w"},"ChangeSpelling":{"changeSpellingTo":"Zmień pisownię na „{word}”"},"ConvertFormatString":{"convertToFString":"Konwertuj na ciąg f za pomocą funkcji Copilot","convertToFormat":"Konwertuj na wywołanie format() za pomocą funkcji Copilot"},"ConvertImportStar":{"convertAllToExplicitImports":"Konwertuj wszystkie importy gwiazdek na jawne importy","convertToExplicitImports":"Konwertuj na jawne importy"},"ConvertLambdaToNamedFunction":{"title":"Konwertowanie wyrażenia lambda na funkcję nazwaną za pomocą funkcji Copilot"},"DiagnosticRefactor":{"fixformattedString":"Poprawka „{name}”"},"ExtraPath":{"addExtraPath":"Dodaj nazwę „{name}” do element\xf3w extraPaths"},"Extract":{"method":"Metoda wyodrębniania","variable":"Wyodrębnij zmienną"},"FixAll":{"runFixAll":"Uruchom funkcję „Napraw wszystko” rozszerzenia Pylance"},"GenerateSymbol":{"generateClass":"Generuj \\"{name}\\" klasy za pomocą Copilot","generateFunction":"Generuj \\"{name}\\" funkcji z Copilot","generateMember":"Generuj członka „{name}” za pomocą funkcji Copilot"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Zaimplementuj wszystkie dziedziczone klasy abstrakcyjne"},"MoveSymbol":{"commandTitle":"Przenieś symbol","moveSymbolsTo":"Przenieś symbol do...","moveSymbolsToNewFile":"Przenieś symbol do nowego pliku"},"RemoveUnusedImport":{"removeAllUnusedImports":"Usuń wszystkie nieużywane importy","removeUnusedImport":"Usuń nieużywany import"},"ToggleImportPath":{"convertAllFormat":"Konwertuj wszystkie formaty importu","convertAllToAbsolutePath":"Konwertuj wszystkie importy na ścieżkę bezwzględną","convertAllToRelativePath":"Konwertuj wszystkie importy na ścieżkę względną","convertToAbsolutePath":"Konwertuj na ścieżkę bezwzględną","convertToRelativePath":"Konwertuj na ścieżkę względną"},"UnresolvedImports":{"learnMoreTitle":"Dowiedz się więcej o rozwiązywaniu import\xf3w","selectInterpreterTitle":"Wybierz inny interpreter","selectKernelTitle":"Select a different Jupyter kernel","troubleshootMissingImports":"Rozwiązywanie problem\xf3w z brakującymi importami"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"Dane rejestrowania zostały zapisane w ścieżce [{filePath}]({uri}). Zobacz okienko danych wyjściowych `Python Language Server`, aby uzyskać więcej szczeg\xf3ł\xf3w."},"ProfilingCommand":{"profilingDataSaved":"Dane profilowania zostały zapisane w ścieżce [{filePath}]({uri}). Zobacz okienko danych wyjściowych „Python Language Server”, aby uzyskać więcej szczeg\xf3ł\xf3w."},"gotoOutputCommand":"Pokaż dane wyjściowe"},"Copilot":{"generateDocstringWithCopilot":"Wygeneruj Docstring za pomocą funkcji Copilot","hoverSummary":{"generateSummary":"Generuj podsumowanie funkcji Copilot","noSummary":"Brak dostępnego podsumowania.","summary":"Podsumowanie","tooltip":"Zawartość wygenerowana przez sztuczną inteligencję może być niepoprawna."},"implementAllInheritedAbstractClasseswithCopilot":"Zaimplementuj wszystkie dziedziczone klasy abstrakcyjne za pomocą funkcji Copilot"},"Diagnostic":{"importResolveRedirect":"Nie można odnaleźć importu„{importName}” w środowisku „{venv}”."},"DocstringTemplate":{"description":"Opis","docstringForName":"Docstring for {name}","generateDocstring":"Generuj Docstring"},"LargeLog":{"copyToClipboard":"Dziennik został obcięty z powodu limitu treści usługi GitHub. Pełny dziennik został skopiowany do schowka.","no":"Nie","openLink":"Otw\xf3rz link","userConsent":"Chcemy uwzględnić dziennik usługi Pylance w zgłaszanym problemie, ale jest on zbyt duży. Czy możemy przekazać go bezpośrednio do usługi GitHub (tylko część dziennika będzie widoczna w zgłaszanym problemie)? Aby uzyskać więcej informacji, odwiedź stronę {url}","yes":"Tak"},"Messages":{"defaultPythonEnvironmentName":"Bieżące środowisko Python","globalEnvironmentName":"globalny","pluralFilesAndPluralCellsToAnalyze":"Pliki ({fileCount}) i kom\xf3rki ({cellCount}) do przeanalizowania","pluralFilesAndSingularCellToAnalyze":"1 kom\xf3rka i następująca liczba plik\xf3w do przeanalizowania: {fileCount}","singularFileAndPluralCellsToAnalyze":"1 plik i następująca liczba kom\xf3rek do przeanalizowania: {cellCount}","singularFileAndSingularCellToAnalyze":"1 plik i 1 kom\xf3rka do przeanalizowania","windowsStoreEnvironmentName":"microsoft store"},"PerformanceTracking":{"button":"Zgłoś problem","title":"Wykryliśmy problem z wydajnością usługi Pylance. Czy chcesz zgłosić problem przy użyciu polecenia `Pylance: Problem z raportem`?"},"Pytest":{"addTypeAnnotation":"Dodaj adnotację typu do elementu {name}","addTypeAnnotations":"Add type annotations for all fixture references in this file","fixtureNotFound":"\'{fixture}\' is not a known test fixture. Test methods should only receive fixture or parametrization names as parameters."},"Refactoring":{"moveFile":"Czy chcesz aktualizować wszystkie odniesienia importu dla modułu „{oldModuleName}” do modułu „{newModuleName}”?","moveFileAbsentSymbol":"Nie można odnaleźć symbolu do przeniesienia.","moveFileDescription":"Aktualizować wszystkie odniesienia importu dla modułu „{oldModuleName}” do modułu „{newModuleName}”?","moveFileExtensionMismatch":"Aby przenieść symbol, plik źr\xf3dłowy („{src}”) i plik docelowy („{dest}”) muszą mieć to samo rozszerzenie pliku.","moveFileImportableOnly":"Tylko obiekty, kt\xf3re mogą być importowane z innych moduł\xf3w, takie jak klasy lub funkcje, mogą być przenoszone.","moveFileInsertLocation":"Nie można odnaleźć lokalizacji do wstawienia symbolu. Symbol o tej samej nazwie może już istnieć w elemencie „{name}”.","moveFileLabel":"Aktualizować wszystkie odniesienia importu dla modułu „{oldModuleName}” do modułu „{newModuleName}”?","moveFileMissingInfo":"Nie można odnaleźć informacji o pliku dla „{name}”.","moveFileMultipleDeclarations":"Nie można przenieść tego symbolu, ponieważ jest on zadeklarowany wiele razy.","moveFileNotUserFile":"Nie można przenieść tego symbolu. Obsługiwane są tylko symbole w projekcie lub pliku użytkownika.","moveFilePrivateSymbol":"Nie można przenieść elementu „{name}”, ponieważ jest to symbol prywatny.","moveFileSameFile":"Nie można przenieść symbolu do tego samego pliku, w kt\xf3rym się obecnie znajduje.","moveFileSimpleAssignmentsOnly":"Nie można przenieść tego wyrażenia. Obsługiwane są tylko proste przypisania, takie jak zmienna, do kt\xf3rych jest przypisywana wartość.","moveFileSymbolNotFound":"Nie można odnaleźć symbolu na pozycji „{position}”.","moveFileUnsupportedSymbol":"Nie można przenieść tego symbolu. Obsługiwane są tylko zmienne, funkcje i klasy na poziomie modułu."}}')},6842(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"Adicionar todas as anota\xe7\xf5es de tipo","addTypeAnnotation":"Adicionar uma anota\xe7\xe3o de tipo"},"AddTypeIgnore":{"title":"Adicionar \\"{statement}\\" para suprimir o aviso"},"AutoImport":{"addAutoImport":"Adicionar \\"{importText}\\"","searchImport":"Procure correspond\xeancias de importa\xe7\xe3o adicionais"},"ChangeSpelling":{"changeSpellingTo":"Alterar a ortografia para \\"{word}\\""},"ConvertFormatString":{"convertToFString":"Converter em cadeia de caracteres-f com Copilot","convertToFormat":"Converter para a chamada de formato() com o Copilot"},"ConvertImportStar":{"convertAllToExplicitImports":"Converter todas as importa\xe7\xf5es em estrela em importa\xe7\xf5es expl\xedcitas","convertToExplicitImports":"Converter em importa\xe7\xf5es expl\xedcitas"},"ConvertLambdaToNamedFunction":{"title":"Converter lambda\xa0em fun\xe7\xe3o nomeada com Copilot"},"DiagnosticRefactor":{"fixformattedString":"Corrigir \\"{name}\\""},"ExtraPath":{"addExtraPath":"Adicionar \\"{name}\\" a extraPaths"},"Extract":{"method":"Extrair m\xe9todo","variable":"Extrair vari\xe1vel"},"FixAll":{"runFixAll":"Executar fix all do Pylance"},"GenerateSymbol":{"generateClass":"Gerar classe \\"{name}\\" com Copilot","generateFunction":"Gerar fun\xe7\xe3o \\"{name}\\" com Copilot","generateMember":"Gerar membro \\"{name}\\" com o Copilot"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Implementar todas as classes abstratas herdadas"},"MoveSymbol":{"commandTitle":"Mover s\xedmbolo","moveSymbolsTo":"Mover s\xedmbolo para...","moveSymbolsToNewFile":"Mover s\xedmbolo para novo arquivo"},"RemoveUnusedImport":{"removeAllUnusedImports":"Excluir todas as importa\xe7\xf5es n\xe3o usadas","removeUnusedImport":"Remover Importa\xe7\xf5es n\xe3o utilizadas"},"ToggleImportPath":{"convertAllFormat":"Converter todos os formatos de importa\xe7\xe3o","convertAllToAbsolutePath":"Converter todas as importa\xe7\xf5es em caminho absoluto","convertAllToRelativePath":"Converter todas as importa\xe7\xf5es em caminho relativo","convertToAbsolutePath":"Converter em caminho absoluto","convertToRelativePath":"Converter em caminho relativo"},"UnresolvedImports":{"learnMoreTitle":"Saiba mais sobre como resolver importa\xe7\xf5es","selectInterpreterTitle":"Selecionar um int\xe9rprete diferente","selectKernelTitle":"Selecionar um kernel do Jupyter diferente","troubleshootMissingImports":"Solu\xe7\xe3o de problemas de importa\xe7\xf5es faltantes"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"Os dados de registro em log foram salvos em [{filePath}]({uri}). Consulte o painel de sa\xedda `Servidor de Linguagem Python` para obter mais detalhes."},"ProfilingCommand":{"profilingDataSaved":"Os dados de cria\xe7\xe3o de perfil foram salvos em [{filePath}]({uri}). Consulte o painel de sa\xedda \\"Servidor de Linguagem Python\\" para obter mais detalhes."},"gotoOutputCommand":"Mostrar Sa\xedda"},"Copilot":{"generateDocstringWithCopilot":"Gerar Docstring com o Copilot","hoverSummary":{"generateSummary":"Gerar resumo do Copilot","noSummary":"Nenhum resumo dispon\xedvel.","summary":"Resumo","tooltip":"O conte\xfado gerado pela IA pode estar incorreto."},"implementAllInheritedAbstractClasseswithCopilot":"Implemente todas as classes abstratas herdadas com o Copilot"},"Diagnostic":{"importResolveRedirect":"N\xe3o foi poss\xedvel localizar a importa\xe7\xe3o \\"{importName}\\" no ambiente \\"{venv}\\"."},"DocstringTemplate":{"description":"Descri\xe7\xe3o","docstringForName":"Docstring para {name}","generateDocstring":"Gerar Docstring"},"LargeLog":{"copyToClipboard":"O log foi truncado devido ao limite do corpo do problema do GitHub. O log completo foi copiado para a \xe1rea de transfer\xeancia.","no":"N\xe3o","openLink":"Abrir link","userConsent":"Queremos incluir seu log do Pylance no problema que voc\xea est\xe1 relatando, mas ele \xe9 muito grande. Tudo bem se enviarmos o arquivo diretamente para o GitHub (apenas uma parte do log ficar\xe1 vis\xedvel no problema)? Para obter mais informa\xe7\xf5es, visite {url}","yes":"Sim"},"Messages":{"defaultPythonEnvironmentName":"Ambiente do Python Padr\xe3o","globalEnvironmentName":"global","pluralFilesAndPluralCellsToAnalyze":"{fileCount} arquivos e {cellCount} c\xe9lulas para analisar","pluralFilesAndSingularCellToAnalyze":"{fileCount} arquivos e 1 c\xe9lula para analisar","singularFileAndPluralCellsToAnalyze":"1 arquivo e {cellCount} c\xe9lulas para analisar","singularFileAndSingularCellToAnalyze":"1 arquivo e 1 c\xe9lula para analisar","windowsStoreEnvironmentName":"Microsoft Store"},"PerformanceTracking":{"button":"Relatar problema","title":"Detectamos um problema de desempenho com o Pylance. Deseja relatar um problema usando o comando `Pylance: Report Issue`?"},"Pytest":{"addTypeAnnotation":"Adicionar anota\xe7\xe3o de tipo a {name}","addTypeAnnotations":"Adicionar anota\xe7\xf5es de tipo para todas as refer\xeancias de fixture de teste neste arquivo","fixtureNotFound":"\'{fixture}\' n\xe3o \xe9 um fixture de teste conhecido. Os m\xe9todos de teste s\xf3 devem receber nomes de fixture ou parametrization como par\xe2metros."},"Refactoring":{"moveFile":"Deseja atualizar todas as refer\xeancias de importa\xe7\xe3o de \\"{oldModuleName}\\" para \\"{newModuleName}\\"?","moveFileAbsentSymbol":"N\xe3o \xe9 poss\xedvel encontrar um s\xedmbolo para mover.","moveFileDescription":"Atualizar todas as refer\xeancias de importa\xe7\xe3o de \\"{oldModuleName}\\" para \\"{newModuleName}\\"?","moveFileExtensionMismatch":"Para mover um s\xedmbolo, o arquivo de origem (\\"{src}\\") e o arquivo de destino (\\"{dest}\\") devem ter a mesma extens\xe3o de arquivo.","moveFileImportableOnly":"Somente objetos que podem ser importados de outros m\xf3dulos, como classes ou fun\xe7\xf5es, podem ser movidos.","moveFileInsertLocation":"N\xe3o \xe9 poss\xedvel encontrar um local para inserir o s\xedmbolo. Um s\xedmbolo com o mesmo nome pode j\xe1 existir em \\"{name}\\".","moveFileLabel":"Atualizar todas as refer\xeancias de importa\xe7\xe3o de \\"{oldModuleName}\\" para \\"{newModuleName}\\"?","moveFileMissingInfo":"N\xe3o foi poss\xedvel encontrar informa\xe7\xf5es do arquivo \\"{name}\\".","moveFileMultipleDeclarations":"Esse s\xedmbolo n\xe3o pode ser movido porque foi declarado v\xe1rias vezes.","moveFileNotUserFile":"Esse s\xedmbolo n\xe3o pode ser movido. Somente s\xedmbolos em um projeto ou arquivo de usu\xe1rio s\xe3o suportados.","moveFilePrivateSymbol":"\\"{name}\\" n\xe3o pode ser movido porque \xe9 um s\xedmbolo privado.","moveFileSameFile":"Um s\xedmbolo n\xe3o pode ser movido para o mesmo arquivo onde est\xe1 localizado atualmente.","moveFileSimpleAssignmentsOnly":"Essa express\xe3o n\xe3o pode ser movida. Somente atribui\xe7\xf5es simples, como a atribui\xe7\xe3o de um valor a uma vari\xe1vel, s\xe3o suportadas.","moveFileSymbolNotFound":"N\xe3o \xe9 poss\xedvel encontrar um s\xedmbolo na posi\xe7\xe3o \\"{position}\\".","moveFileUnsupportedSymbol":"Esse s\xedmbolo n\xe3o pode ser movido. Somente vari\xe1veis, fun\xe7\xf5es e classes no n\xedvel do m\xf3dulo s\xe3o suportadas."}}')},39452(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"[ntq5N][นั้\xc6\xf0\xf0 \xe6ll t\xffp\xeb \xe6\xf1\xf1\xf8t\xe6t\xef\xf8\xf1sẤğ倪İЂҰक्र्นั้ढूँ]","addTypeAnnotation":"[jhELI][นั้\xc6\xf0\xf0 t\xffp\xeb \xe6\xf1\xf1\xf8t\xe6t\xef\xf8\xf1Ấğ倪İЂҰक्นั้ढूँ]"},"AddTypeIgnore":{"title":"[skJKI][นั้\xc6\xf0\xf0 \'{st\xe6t\xebm\xeb\xf1t}\' t\xf8 s\xb5ppr\xebss w\xe6r\xf1\xef\xf1gẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]"},"AutoImport":{"addAutoImport":"[6EOWN][นั้\xc6\xf0\xf0 \\"{\xefmp\xf8rtT\xebxt}\\"Ấğ倪İЂҰक्นั้ढूँ]","searchImport":"[SEcEV][นั้\xa7\xeb\xe6r\xe7h f\xf8r \xe6\xf0\xf0\xeft\xef\xf8\xf1\xe6l \xefmp\xf8rt m\xe6t\xe7h\xebsẤğ倪İЂҰक्र्तिृまนั้ढूँ]"},"ChangeSpelling":{"changeSpellingTo":"[S2wV8][นั้\xc7h\xe6\xf1g\xeb sp\xebll\xef\xf1g t\xf8 \\"{w\xf8r\xf0}\\"Ấğ倪İЂҰक्र्तिृนั้ढूँ]"},"ConvertFormatString":{"convertToFString":"[J3nuQ][นั้\xc7\xf8\xf1v\xebrt t\xf8 f-str\xef\xf1g w\xefth CopilotẤğ倪İЂҰक्र्तिृนั้ढूँ]","convertToFormat":"[iUg5T][นั้\xc7\xf8\xf1v\xebrt t\xf8 format() \xe7\xe6ll w\xefth CopilotẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]"},"ConvertImportStar":{"convertAllToExplicitImports":"[Zps0O][นั้\xc7\xf8\xf1v\xebrt \xe6ll st\xe6r \xefmp\xf8rts t\xf8 \xebxpl\xef\xe7\xeft \xefmp\xf8rtsẤğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]","convertToExplicitImports":"[IHNZh][นั้\xc7\xf8\xf1v\xebrt t\xf8 \xebxpl\xef\xe7\xeft \xefmp\xf8rtsẤğ倪İЂҰक्र्तिृนั้ढूँ]"},"ConvertLambdaToNamedFunction":{"title":"[MPXvy][นั้\xc7\xf8\xf1v\xebrt l\xe6m\xfe\xf0\xe6 t\xf8 \xf1\xe6m\xeb\xf0 f\xb5\xf1\xe7t\xef\xf8\xf1 w\xefth CopilotẤğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]"},"DiagnosticRefactor":{"fixformattedString":"[ednfH][นั้F\xefx \\"{\xf1\xe6m\xeb}\\"Ấğ倪İЂนั้ढूँ]"},"ExtraPath":{"addExtraPath":"[vPbBT][นั้\xc6\xf0\xf0 \\"{\xf1\xe6m\xeb}\\" t\xf8 extraPathsẤğ倪İЂҰक्र्นั้ढूँ]"},"Extract":{"method":"[6CJmj][นั้\xcbxtr\xe6\xe7t m\xebth\xf8\xf0Ấğ倪İЂҰนั้ढूँ]","variable":"[yAhZ4][นั้\xcbxtr\xe6\xe7t v\xe6r\xef\xe6\xfel\xebẤğ倪İЂҰนั้ढूँ]"},"FixAll":{"runFixAll":"[kBeph][นั้R\xb5\xf1 p\xffl\xe6\xf1\xe7\xeb f\xefx \xe6llẤğ倪İЂҰक्นั้ढूँ]"},"GenerateSymbol":{"generateClass":"[KsMvJ][นั้G\xeb\xf1\xebr\xe6t\xeb \xe7l\xe6ss \\"{\xf1\xe6m\xeb}\\" w\xefth CopilotẤğ倪İЂҰक्र्तिृまนั้ढूँ]","generateFunction":"[bwRau][นั้G\xeb\xf1\xebr\xe6t\xeb f\xb5\xf1\xe7t\xef\xf8\xf1 \\"{\xf1\xe6m\xeb}\\" w\xefth CopilotẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]","generateMember":"[Q1THA][นั้G\xeb\xf1\xebr\xe6t\xeb m\xebm\xfe\xebr \\"{\xf1\xe6m\xeb}\\" w\xefth CopilotẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]"},"ImplementAbstractClass":{"implementAllAbstractClasses":"[jVUSx][นั้\xcfmpl\xebm\xeb\xf1t \xe6ll \xef\xf1h\xebr\xeft\xeb\xf0 \xe6\xfestr\xe6\xe7t \xe7l\xe6ss\xebsẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]"},"MoveSymbol":{"commandTitle":"[tW1Sd][นั้M\xf8v\xeb s\xffm\xfe\xf8lẤğ倪İนั้ढूँ]","moveSymbolsTo":"[jnDNO][นั้M\xf8v\xeb s\xffm\xfe\xf8l t\xf8Ấğ倪İЂҰนั้ढूँ]...","moveSymbolsToNewFile":"[i6bBJ][นั้M\xf8v\xeb s\xffm\xfe\xf8l t\xf8 \xf1\xebw f\xefl\xebẤğ倪İЂҰक्र्นั้ढूँ]"},"RemoveUnusedImport":{"removeAllUnusedImports":"[ji2Ww][นั้R\xebm\xf8v\xeb \xe6ll \xb5\xf1\xb5s\xeb\xf0 \xefmp\xf8rtsẤğ倪İЂҰक्र्นั้ढूँ]","removeUnusedImport":"[a0K5t][นั้R\xebm\xf8v\xeb \xb5\xf1\xb5s\xeb\xf0 \xefmp\xf8rtẤğ倪İЂҰक्นั้ढूँ]"},"ToggleImportPath":{"convertAllFormat":"[Xa2Zv][นั้\xc7\xf8\xf1v\xebrt \xe6ll \xefmp\xf8rt f\xf8rm\xe6tsẤğ倪İЂҰक्र्นั้ढूँ]","convertAllToAbsolutePath":"[rYYle][นั้\xc7\xf8\xf1v\xebrt \xe6ll \xefmp\xf8rts t\xf8 \xe6\xfes\xf8l\xb5t\xeb p\xe6thẤğ倪İЂҰक्र्तिृまนั้ढूँ]","convertAllToRelativePath":"[q94B6][นั้\xc7\xf8\xf1v\xebrt \xe6ll \xefmp\xf8rts t\xf8 r\xebl\xe6t\xefv\xeb p\xe6thẤğ倪İЂҰक्र्तिृまนั้ढूँ]","convertToAbsolutePath":"[kBV0h][นั้\xc7\xf8\xf1v\xebrt t\xf8 \xe6\xfes\xf8l\xb5t\xeb p\xe6thẤğ倪İЂҰक्र्นั้ढूँ]","convertToRelativePath":"[GuQt9][นั้\xc7\xf8\xf1v\xebrt t\xf8 r\xebl\xe6t\xefv\xeb p\xe6thẤğ倪İЂҰक्र्นั้ढूँ]"},"UnresolvedImports":{"learnMoreTitle":"[rCXA3][นั้\xa3\xeb\xe6r\xf1 m\xf8r\xeb \xe6\xfe\xf8\xb5t r\xebs\xf8lv\xef\xf1g \xefmp\xf8rtsẤğ倪İЂҰक्र्तिृまนั้ढूँ]","selectInterpreterTitle":"[v2LhD][นั้\xa7\xebl\xeb\xe7t \xe6 \xf0\xefff\xebr\xeb\xf1t \xef\xf1t\xebrpr\xebt\xebrẤğ倪İЂҰक्र्तिृนั้ढूँ]","selectKernelTitle":"[HutRH][นั้\xa7\xebl\xeb\xe7t \xe6 \xf0\xefff\xebr\xeb\xf1t Jupyter kernelẤğ倪İЂҰक्र्तिृนั้ढूँ]","troubleshootMissingImports":"[GMabi][นั้Tr\xf8\xb5\xfel\xebsh\xf8\xf8t m\xefss\xef\xf1g \xefmp\xf8rtsẤğ倪İЂҰक्र्तिृนั้ढूँ]"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"[kNaJm][นั้\xa3\xf8gg\xef\xf1g \xf0\xe6t\xe6 h\xe6s \xfe\xeb\xeb\xf1 s\xe6v\xeb\xf0 \xe6t [{f\xefl\xebP\xe6th}]({\xb5r\xef}). \xa7\xeb\xeb `P\xffth\xf8\xf1 \xa3\xe6\xf1g\xb5\xe6g\xeb \xa7\xebrv\xebr` \xf8\xb5tp\xb5t p\xe6\xf1\xeb f\xf8r m\xf8r\xeb \xf0\xebt\xe6\xefl.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]"},"ProfilingCommand":{"profilingDataSaved":"[CpJI3][นั้Pr\xf8f\xefl\xef\xf1g \xf0\xe6t\xe6 h\xe6s \xfe\xeb\xeb\xf1 s\xe6v\xeb\xf0 \xe6t [{f\xefl\xebP\xe6th}]({\xb5r\xef}). \xa7\xeb\xeb `P\xffth\xf8\xf1 \xa3\xe6\xf1g\xb5\xe6g\xeb \xa7\xebrv\xebr` \xf8\xb5tp\xb5t p\xe6\xf1\xeb f\xf8r m\xf8r\xeb \xf0\xebt\xe6\xefl.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]"},"gotoOutputCommand":"[xTS0O][นั้\xa7h\xf8w \xd8\xb5tp\xb5tẤğ倪İนั้ढूँ]"},"Copilot":{"generateDocstringWithCopilot":"[Rr6pM][นั้G\xeb\xf1\xebr\xe6t\xeb Docstring w\xefth CopilotẤğ倪İЂҰक्र्तिृนั้ढूँ]","hoverSummary":{"generateSummary":"[Up3tj][นั้G\xeb\xf1\xebr\xe6t\xeb Copilot s\xb5mm\xe6r\xffẤğ倪İЂҰक्र्นั้ढूँ]","noSummary":"[J4FP8][นั้\xd1\xf8 s\xb5mm\xe6r\xff \xe6v\xe6\xefl\xe6\xfel\xeb.Ấğ倪İЂҰक्นั้ढूँ]","summary":"[tpIhU][นั้\xa7\xb5mm\xe6r\xffẤğ倪นั้ढूँ]","tooltip":"[SCErI][นั้\xc6\xcf-g\xeb\xf1\xebr\xe6t\xeb\xf0 \xe7\xf8\xf1t\xeb\xf1t m\xe6\xff \xfe\xeb \xef\xf1\xe7\xf8rr\xeb\xe7t.Ấğ倪İЂҰक्र्तिृまẤนั้ढूँ]"},"implementAllInheritedAbstractClasseswithCopilot":"[jx3Bq][นั้\xcfmpl\xebm\xeb\xf1t \xe6ll \xef\xf1h\xebr\xeft\xeb\xf0 \xe6\xfestr\xe6\xe7t \xe7l\xe6ss\xebs w\xefth CopilotẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्นั้ढूँ]"},"Diagnostic":{"importResolveRedirect":"[KGYYn][นั้\xcfmp\xf8rt \\"{\xefmp\xf8rt\xd1\xe6m\xeb}\\" \xe7\xf8\xb5l\xf0 \xf1\xf8t \xfe\xeb f\xf8\xb5\xf1\xf0 \xef\xf1 th\xeb \\"{v\xeb\xf1v}\\" \xeb\xf1v\xefr\xf8\xf1m\xeb\xf1t.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまนั้ढूँ]"},"DocstringTemplate":{"description":"[ab4Nk][นั้\xd0\xebs\xe7r\xefpt\xef\xf8\xf1Ấğ倪İนั้ढूँ]","docstringForName":"[3r0Lu][นั้Docstring f\xf8r {\xf1\xe6m\xeb}Ấğ倪İЂҰक्นั้ढूँ]","generateDocstring":"[ter4G][นั้G\xeb\xf1\xebr\xe6t\xeb DocstringẤğ倪İЂҰक्นั้ढूँ]"},"LargeLog":{"copyToClipboard":"[DUe3q][นั้Th\xeb l\xf8g h\xe6s \xfe\xeb\xeb\xf1 tr\xb5\xf1\xe7\xe6t\xeb\xf0 \xf0\xb5\xeb t\xf8 th\xeb G\xeftH\xb5\xfe \xefss\xb5\xeb \xfe\xf8\xf0\xff l\xefm\xeft. Th\xeb f\xb5ll l\xf8g h\xe6s \xfe\xeb\xeb\xf1 \xe7\xf8p\xef\xeb\xf0 t\xf8 th\xeb \xe7l\xefp\xfe\xf8\xe6r\xf0.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]","no":"[DI5EC][นั้\xd1\xf8Ấนั้ढूँ]","openLink":"[naXZF][นั้\xd8p\xeb\xf1 l\xef\xf1kẤğ倪İนั้ढूँ]","userConsent":"[RGFRG][นั้W\xeb w\xf8\xb5l\xf0 l\xefk\xeb t\xf8 \xef\xf1\xe7l\xb5\xf0\xeb \xff\xf8\xb5r Pylance l\xf8g \xef\xf1 th\xeb \xefss\xb5\xeb \xff\xf8\xb5\'r\xeb r\xebp\xf8rt\xef\xf1g, \xfe\xb5t \xeft\'s t\xf8\xf8 l\xe6rg\xeb. W\xf8\xb5l\xf0 \xeft \xfe\xeb \xf8k\xe6\xff \xeff w\xeb \xb5pl\xf8\xe6\xf0\xeb\xf0 \xeft t\xf8 g\xefth\xb5\xfe \xf0\xefr\xeb\xe7tl\xff \xef\xf1st\xeb\xe6\xf0 (\xf8\xf1l\xff \xe6 p\xf8rt\xef\xf8\xf1 \xf8f th\xeb l\xf8g w\xefll \xfe\xeb v\xefs\xef\xfel\xeb \xef\xf1 th\xeb \xefss\xb5\xeb)? F\xf8r m\xf8r\xeb \xef\xf1f\xf8rm\xe6t\xef\xf8\xf1, v\xefs\xeft {\xb5rl}Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまนั้ढूँ]","yes":"[i5Ols][นั้\xdd\xebsẤนั้ढूँ]"},"Messages":{"defaultPythonEnvironmentName":"[oW2bW][นั้\xd0\xebf\xe6\xb5lt Python \xcb\xf1v\xefr\xf8\xf1m\xeb\xf1tẤğ倪İЂҰक्र्นั้ढूँ]","globalEnvironmentName":"[H7OID][นั้gl\xf8\xfe\xe6lẤğนั้ढूँ]","pluralFilesAndPluralCellsToAnalyze":"[EP1hA][นั้{f\xefl\xeb\xc7\xf8\xb5\xf1t} f\xefl\xebs \xe6\xf1\xf0 {\xe7\xebll\xc7\xf8\xb5\xf1t} \xe7\xeblls t\xf8 \xe6\xf1\xe6l\xffz\xebẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰนั้ढूँ]","pluralFilesAndSingularCellToAnalyze":"[Tg5wq][นั้{f\xefl\xeb\xc7\xf8\xb5\xf1t} f\xefl\xebs \xe6\xf1\xf0 1 \xe7\xebll t\xf8 \xe6\xf1\xe6l\xffz\xebẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]","singularFileAndPluralCellsToAnalyze":"[rwT7l][นั้1 f\xefl\xeb \xe6\xf1\xf0 {\xe7\xebll\xc7\xf8\xb5\xf1t} \xe7\xeblls t\xf8 \xe6\xf1\xe6l\xffz\xebẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]","singularFileAndSingularCellToAnalyze":"[Lt1RE][นั้1 f\xefl\xeb \xe6\xf1\xf0 1 \xe7\xebll t\xf8 \xe6\xf1\xe6l\xffz\xebẤğ倪İЂҰक्र्तिृนั้ढूँ]","windowsStoreEnvironmentName":"[0RfQa][นั้m\xef\xe7r\xf8s\xf8ft st\xf8r\xebẤğ倪İЂҰนั้ढूँ]"},"PerformanceTracking":{"button":"[PhmTE][นั้R\xebp\xf8rt \xefss\xb5\xebẤğ倪İЂนั้ढूँ]","title":"[6XFDs][นั้W\xeb h\xe6v\xeb \xf0\xebt\xeb\xe7t\xeb\xf0 \xe6 p\xebrf\xf8rm\xe6\xf1\xe7\xeb \xefss\xb5\xeb w\xefth Pylance. W\xf8\xb5l\xf0 \xff\xf8\xb5 l\xefk\xeb t\xf8 f\xefl\xeb \xe6\xf1 \xefss\xb5\xeb \xb5s\xef\xf1g th\xeb `Pylance: R\xebp\xf8rt \xcfss\xb5\xeb` \xe7\xf8mm\xe6\xf1\xf0?Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्นั้ढूँ]"},"Pytest":{"addTypeAnnotation":"[fukwx][นั้\xc6\xf0\xf0 t\xffp\xeb \xe6\xf1\xf1\xf8t\xe6t\xef\xf8\xf1 t\xf8 {\xf1\xe6m\xeb}Ấğ倪İЂҰक्र्तिृนั้ढूँ]","addTypeAnnotations":"[ci8Cb][นั้\xc6\xf0\xf0 t\xffp\xeb \xe6\xf1\xf1\xf8t\xe6t\xef\xf8\xf1s f\xf8r \xe6ll fixture r\xebf\xebr\xeb\xf1\xe7\xebs \xef\xf1 th\xefs f\xefl\xebẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्นั้ढूँ]","fixtureNotFound":"[sIWxh][นั้\'{fixture}\' \xefs \xf1\xf8t \xe6 k\xf1\xf8w\xf1 t\xebst fixture. T\xebst m\xebth\xf8\xf0s sh\xf8\xb5l\xf0 \xf8\xf1l\xff r\xeb\xe7\xeb\xefv\xeb fixture \xf8r parametrization \xf1\xe6m\xebs \xe6s p\xe6r\xe6m\xebt\xebrs.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰนั้ढूँ]"},"Refactoring":{"moveFile":"[uzRfT][นั้\xd0\xf8 \xff\xf8\xb5 w\xe6\xf1t t\xf8 \xb5p\xf0\xe6t\xeb \xe6ll \xefmp\xf8rt r\xebf\xebr\xeb\xf1\xe7\xebs f\xf8r \\"{\xf8l\xf0M\xf8\xf0\xb5l\xeb\xd1\xe6m\xeb}\\" t\xf8 \\"{\xf1\xebwM\xf8\xf0\xb5l\xeb\xd1\xe6m\xeb}\\"?Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्นั้ढूँ]","moveFileAbsentSymbol":"[3hHvF][นั้\xc7\xe6\xf1\xf1\xf8t f\xef\xf1\xf0 \xe6 s\xffm\xfe\xf8l t\xf8 m\xf8v\xeb.Ấğ倪İЂҰक्र्तिृนั้ढूँ]","moveFileDescription":"[qbSm6][นั้\xdcp\xf0\xe6t\xeb \xe6ll \xefmp\xf8rt r\xebf\xebr\xeb\xf1\xe7\xebs f\xf8r \\"{\xf8l\xf0M\xf8\xf0\xb5l\xeb\xd1\xe6m\xeb}\\" t\xf8 \\"{\xf1\xebwM\xf8\xf0\xb5l\xeb\xd1\xe6m\xeb}\\"?Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]","moveFileExtensionMismatch":"[fpltY][นั้T\xf8 m\xf8v\xeb \xe6 s\xffm\xfe\xf8l, th\xeb s\xf8\xb5r\xe7\xeb f\xefl\xeb (\\"{sr\xe7}\\") \xe6\xf1\xf0 \xf0\xebst\xef\xf1\xe6t\xef\xf8\xf1 f\xefl\xeb (\\"{\xf0\xebst}\\") m\xb5st h\xe6v\xeb th\xeb s\xe6m\xeb f\xefl\xeb \xebxt\xeb\xf1s\xef\xf8\xf1.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğนั้ढूँ]","moveFileImportableOnly":"[CFuY4][นั้\xd8\xf1l\xff \xf8\xfej\xeb\xe7ts th\xe6t \xe7\xe6\xf1 \xfe\xeb \xefmp\xf8rt\xeb\xf0 fr\xf8m \xf8th\xebr m\xf8\xf0\xb5l\xebs, s\xb5\xe7h \xe6s \xe7l\xe6ss\xebs \xf8r f\xb5\xf1\xe7t\xef\xf8\xf1s, \xe6r\xeb \xe6ll\xf8w\xeb\xf0 t\xf8 \xfe\xeb m\xf8v\xeb\xf0.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]","moveFileInsertLocation":"[BJOq2][นั้\xc7\xe6\xf1\xf1\xf8t f\xef\xf1\xf0 \xe6 l\xf8\xe7\xe6t\xef\xf8\xf1 t\xf8 \xef\xf1s\xebrt th\xeb s\xffm\xfe\xf8l. \xc6 s\xffm\xfe\xf8l w\xefth th\xeb s\xe6m\xeb \xf1\xe6m\xeb m\xefght \xe6lr\xeb\xe6\xf0\xff \xebx\xefst \xef\xf1 \\"{\xf1\xe6m\xeb}\\".Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまนั้ढूँ]","moveFileLabel":"[TMnnY][นั้\xdcp\xf0\xe6t\xeb \xe6ll \xefmp\xf8rt r\xebf\xebr\xeb\xf1\xe7\xebs f\xf8r \\"{\xf8l\xf0M\xf8\xf0\xb5l\xeb\xd1\xe6m\xeb}\\" t\xf8 \\"{\xf1\xebwM\xf8\xf0\xb5l\xeb\xd1\xe6m\xeb}\\"?Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]","moveFileMissingInfo":"[FctQ6][นั้\xc7\xe6\xf1\xf1\xf8t f\xef\xf1\xf0 f\xefl\xeb \xef\xf1f\xf8rm\xe6t\xef\xf8\xf1 f\xf8r \\"{\xf1\xe6m\xeb}\\".Ấğ倪İЂҰक्र्तिृまẤğ倪นั้ढूँ]","moveFileMultipleDeclarations":"[Icw4C][นั้Th\xefs s\xffm\xfe\xf8l \xe7\xe6\xf1\xf1\xf8t \xfe\xeb m\xf8v\xeb\xf0 \xfe\xeb\xe7\xe6\xb5s\xeb \xeft \xefs \xf0\xeb\xe7l\xe6r\xeb\xf0 m\xb5lt\xefpl\xeb t\xefm\xebs.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृนั้ढूँ]","moveFileNotUserFile":"[3KMZz][นั้Th\xefs s\xffm\xfe\xf8l \xe7\xe6\xf1\xf1\xf8t \xfe\xeb m\xf8v\xeb\xf0. \xd8\xf1l\xff s\xffm\xfe\xf8ls \xef\xf1 \xe6 pr\xf8j\xeb\xe7t \xf8r \xb5s\xebr f\xefl\xeb \xe6r\xeb s\xb5pp\xf8rt\xeb\xf0.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂนั้ढूँ]","moveFilePrivateSymbol":"[7EZBN][นั้\\"{\xf1\xe6m\xeb}\\" \xe7\xe6\xf1\xf1\xf8t \xfe\xeb m\xf8v\xeb\xf0 \xfe\xeb\xe7\xe6\xb5s\xeb \xeft \xefs \xe6 pr\xefv\xe6t\xeb s\xffm\xfe\xf8l.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्นั้ढूँ]","moveFileSameFile":"[QQSb2][นั้\xc6 s\xffm\xfe\xf8l \xe7\xe6\xf1\xf1\xf8t \xfe\xeb m\xf8v\xeb\xf0 t\xf8 th\xeb s\xe6m\xeb f\xefl\xeb wh\xebr\xeb \xeft \xefs \xe7\xb5rr\xeb\xf1tl\xff l\xf8\xe7\xe6t\xeb\xf0.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤนั้ढूँ]","moveFileSimpleAssignmentsOnly":"[4O7iP][นั้Th\xefs \xebxpr\xebss\xef\xf8\xf1 \xe7\xe6\xf1\'t \xfe\xeb m\xf8v\xeb\xf0. \xd8\xf1l\xff s\xefmpl\xeb \xe6ss\xefg\xf1m\xeb\xf1ts, s\xb5\xe7h \xe6s \xe6 v\xe6r\xef\xe6\xfel\xeb \xfe\xeb\xef\xf1g \xe6ss\xefg\xf1\xeb\xf0 \xe6 v\xe6l\xb5\xeb, \xe6r\xeb s\xb5pp\xf8rt\xeb\xf0.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]","moveFileSymbolNotFound":"[eCktQ][นั้\xc7\xe6\xf1\xf1\xf8t f\xef\xf1\xf0 \xe6 s\xffm\xfe\xf8l \xe6t p\xf8s\xeft\xef\xf8\xf1 \\"{p\xf8s\xeft\xef\xf8\xf1}\\".Ấğ倪İЂҰक्र्तिृまẤğ倪İนั้ढूँ]","moveFileUnsupportedSymbol":"[cwXih][นั้Th\xefs s\xffm\xfe\xf8l \xe7\xe6\xf1\xf1\xf8t \xfe\xeb m\xf8v\xeb\xf0. \xd8\xf1l\xff v\xe6r\xef\xe6\xfel\xebs, f\xb5\xf1\xe7t\xef\xf8\xf1s, \xe6\xf1\xf0 \xe7l\xe6ss\xebs \xe6t th\xeb m\xf8\xf0\xb5l\xeb l\xebv\xebl \xe6r\xeb s\xb5pp\xf8rt\xeb\xf0.Ấğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृまẤğ倪İЂҰक्र्तिृนั้ढूँ]"}}')},53802(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"Добавить все примечания типа","addTypeAnnotation":"Добавить заметку типа"},"AddTypeIgnore":{"title":"Добавьте \'{statement}\', чтобы подавить предупреждение"},"AutoImport":{"addAutoImport":"Добавить \\"{importText}\\"","searchImport":"Искать дополнительные совпадающие импортированные данные"},"ChangeSpelling":{"changeSpellingTo":"Изменить написание на \\"{word}\\""},"ConvertFormatString":{"convertToFString":"Преобразовать в f-строку с помощью Copilot","convertToFormat":"Преобразовать в вызов format() с помощью Copilot"},"ConvertImportStar":{"convertAllToExplicitImports":"Преобразовать все импорты со звездочкой в явные импорты","convertToExplicitImports":"Преобразовать в явные импорты"},"ConvertLambdaToNamedFunction":{"title":"Преобразование лямбда-выражения в именованную функцию с помощью Copilot"},"DiagnosticRefactor":{"fixformattedString":"Исправить \\"{name}\\""},"ExtraPath":{"addExtraPath":"Добавить \\"{name}\\" в extraPaths"},"Extract":{"method":"Извлечь метод","variable":"Извлечь переменную"},"FixAll":{"runFixAll":"Выполнить pylance fix all"},"GenerateSymbol":{"generateClass":"Создать класс \\"{name}\\" с Copilot","generateFunction":"Создать функцию \\"{name}\\" с Copilot","generateMember":"Создать участника \\"{name}\\" с помощью Copilot"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Реализовать все унаследованные абстрактные классы"},"MoveSymbol":{"commandTitle":"Переместить символ","moveSymbolsTo":"Переместить символ в...","moveSymbolsToNewFile":"Переместить символ в новый файл"},"RemoveUnusedImport":{"removeAllUnusedImports":"Удалите все неиспользуемые операции импорта","removeUnusedImport":"Удалить неиспользованные операторы импорта"},"ToggleImportPath":{"convertAllFormat":"Преобразовать все форматы импорта","convertAllToAbsolutePath":"Изменить все операторы импорта так, чтобы они использовали абсолютный путь","convertAllToRelativePath":"Изменить все операторы импорта так, чтобы они использовали относительный путь","convertToAbsolutePath":"Преобразовать в абсолютный путь","convertToRelativePath":"Преобразовать в относительный путь"},"UnresolvedImports":{"learnMoreTitle":"Подробнее о решении проблем с импортом","selectInterpreterTitle":"Выберите другой интерпретатор","selectKernelTitle":"Выберите другое Jupyter kernel","troubleshootMissingImports":"Устранение неполадок с отсутствующими импортами"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"Данные ведения журнала сохранены в [{filePath}]({uri}). Дополнительные сведения см. в области вывода \\"Языковой сервер Python\\"."},"ProfilingCommand":{"profilingDataSaved":"Данные профилирования сохранены в [{filePath}]({uri}). Дополнительные сведения см. в области вывода \\"Языковой сервер Python\\"."},"gotoOutputCommand":"Показать вывод"},"Copilot":{"generateDocstringWithCopilot":"Создание Docstring с помощью Copilot","hoverSummary":{"generateSummary":"Создать сводку Copilot","noSummary":"Нет доступных сводок.","summary":"Сводка","tooltip":"Содержимое, создаваемое\xa0ИИ, может быть некорректным."},"implementAllInheritedAbstractClasseswithCopilot":"Реализовать все унаследованные абстрактные классы с помощью Copilot"},"Diagnostic":{"importResolveRedirect":"Импорт \\"{importName}\\" не найден в среде \\"{venv}\\"."},"DocstringTemplate":{"description":"Описание","docstringForName":"Docstring для {name}","generateDocstring":"Генерировать Docstring"},"LargeLog":{"copyToClipboard":"Журнал был усечен из-за ограничения на размер текста проблемы GitHub. Полный журнал скопирован в буфер обмена.","no":"Нет","openLink":"Открыть ссылку","userConsent":"Мы хотели бы включить журнал Pylance в проблему, о которой вы сообщаете, но он слишком большой. Можно ли будет загрузить его на GitHub напрямую (в проблеме будет видна только часть журнала)? Дополнительные сведения см. на странице {url}","yes":"Да"},"Messages":{"defaultPythonEnvironmentName":"Среда Python по умолчанию","globalEnvironmentName":"глобальная","pluralFilesAndPluralCellsToAnalyze":"Файлы ({fileCount}) и ячейки ({cellCount}) для анализа","pluralFilesAndSingularCellToAnalyze":"Файлы ({fileCount}) и 1\xa0ячейка для анализа","singularFileAndPluralCellsToAnalyze":"1\xa0файл и ячейки ({cellCount}) для анализа","singularFileAndSingularCellToAnalyze":"1\xa0файл и 1\xa0ячейка для анализа","windowsStoreEnvironmentName":"microsoft store"},"PerformanceTracking":{"button":"Сообщить о проблеме","title":"Обнаружена проблема производительности с Pylance. Вы хотите отправить сообщение о проблеме с помощью команды \\"Pylance: сообщить о проблеме\\"?"},"Pytest":{"addTypeAnnotation":"Добавление заметки с типом в {name}","addTypeAnnotations":"Добавить заметки типа для всех fixture на средства в этом файле","fixtureNotFound":"\\"{fixture}\\" не является известным тестовым fixture тестирования. Методы тестирования должны получать в качестве параметров только имена fixture тестирования или parametrization."},"Refactoring":{"moveFile":"Хотите заменить все импортирующие ссылки на \\"{oldModuleName}\\" ссылками на \\"{newModuleName}\\"?","moveFileAbsentSymbol":"Не удается найти символ для перемещения.","moveFileDescription":"Заменить все ссылки на \\"{oldModuleName}\\" ссылками на \\"{newModuleName}\\"?","moveFileExtensionMismatch":"Для перемещения символа исходный файл (\\"{src}\\") и конечный файл (\\"{dest}\\") должны иметь одинаковое расширение файла.","moveFileImportableOnly":"Разрешено перемещать только объекты, которые можно импортировать из других модулей, таких как классы или функции.","moveFileInsertLocation":"Не удается найти расположение для вставки символа. Возможно, символ с таким именем уже существует в \\"{name}\\".","moveFileLabel":"Заменить все ссылки на \\"{oldModuleName}\\" ссылками на \\"{newModuleName}\\"?","moveFileMissingInfo":"Не удается найти сведения о файле для \\"{name}\\".","moveFileMultipleDeclarations":"Невозможно переместить этот символ, так как он объявлен несколько раз.","moveFileNotUserFile":"Этот символ не может быть перемещен. Поддерживаются только символы в проекте или пользовательском файле.","moveFilePrivateSymbol":"\\"{name}\\" невозможно переместить, так как это закрытый символ.","moveFileSameFile":"Символ нельзя переместить в тот же файл, где он находится в данный момент.","moveFileSimpleAssignmentsOnly":"Невозможно переместить это выражение. Поддерживаются только простые присвоения, например присвоение значения переменной.","moveFileSymbolNotFound":"Не удается найти символ в позиции \\"{position}\\".","moveFileUnsupportedSymbol":"Этот символ не может быть перемещен. Поддерживаются только переменные, функции и классы на уровне модуля."}}')},49381(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"T\xfcm t\xfcr ek a\xe7ıklamalarını ekle","addTypeAnnotation":"T\xfcr ek a\xe7ıklaması ekle"},"AddTypeIgnore":{"title":"Uyarıyı durdurmak i\xe7in \'{statement}\' deyimini ekle"},"AutoImport":{"addAutoImport":"Şunu ekle: \\"{importText}\\"","searchImport":"Ek i\xe7eri aktarma eşleşmelerini ara"},"ChangeSpelling":{"changeSpellingTo":"Yazımı \\"{word}\\" olarak değiştir"},"ConvertFormatString":{"convertToFString":"Copilot ile f-string olarak d\xf6n\xfcşt\xfcr","convertToFormat":"Copilot ile format() \xe7ağrısına d\xf6n\xfcşt\xfcr"},"ConvertImportStar":{"convertAllToExplicitImports":"T\xfcm yıldız i\xe7eri aktarmalarını a\xe7ık i\xe7eri aktarmalara d\xf6n\xfcşt\xfcr","convertToExplicitImports":"A\xe7ık i\xe7eri aktarmalara d\xf6n\xfcşt\xfcr"},"ConvertLambdaToNamedFunction":{"title":"Lambdayı Copilot ile adlandırılmış bir fonksiyona d\xf6n\xfcşt\xfcr"},"DiagnosticRefactor":{"fixformattedString":"\\"{name}\\" hatasını d\xfczelt"},"ExtraPath":{"addExtraPath":"extraPaths i\xe7ine \\"{name}\\" ekle"},"Extract":{"method":"Metodu ayıkla","variable":"Değişken ayıkla"},"FixAll":{"runFixAll":"Pylance t\xfcm\xfcn\xfc d\xfczeltmeyi \xe7alıştır"},"GenerateSymbol":{"generateClass":"Sınıf \\"{name}\\" oluştur Copilot","generateFunction":"İşlev \\"{name}\\" oluştur Copilot","generateMember":"Copilot ile \\"{name}\\" \xfcyesini oluşturun"},"ImplementAbstractClass":{"implementAllAbstractClasses":"Devralınan t\xfcm soyut sınıfları uygula"},"MoveSymbol":{"commandTitle":"Simgeyi taşı","moveSymbolsTo":"Simgeyi taşı...","moveSymbolsToNewFile":"Simgeyi yeni dosyaya taşı"},"RemoveUnusedImport":{"removeAllUnusedImports":"Kullanılmayan t\xfcm i\xe7eri aktarmaları kaldır","removeUnusedImport":"Kullanılmayan i\xe7eri aktarmaları kaldır"},"ToggleImportPath":{"convertAllFormat":"T\xfcm i\xe7eri aktarma bi\xe7imlerini d\xf6n\xfcşt\xfcr","convertAllToAbsolutePath":"T\xfcm i\xe7eri aktarmaları mutlak yola d\xf6n\xfcşt\xfcr","convertAllToRelativePath":"T\xfcm i\xe7eri aktarmaları g\xf6reli yola d\xf6n\xfcşt\xfcr","convertToAbsolutePath":"Mutlak yola d\xf6n\xfcşt\xfcr","convertToRelativePath":"G\xf6reli yola d\xf6n\xfcşt\xfcr"},"UnresolvedImports":{"learnMoreTitle":"İ\xe7eri aktarmaları \xe7\xf6z\xfcmleme hakkında daha fazla bilgi edinin","selectInterpreterTitle":"Farklı bir yorumlayıcı se\xe7in","selectKernelTitle":"Select a different Jupyter kernel","troubleshootMissingImports":"Eksik i\xe7eri aktarma sorunlarını gider"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"G\xfcnl\xfck verileri [{filePath}]({uri}) konumuna kaydedildi. Daha fazla ayrıntı i\xe7in `Python Dil Sunucusu` \xe7ıkış b\xf6lmesine bakın."},"ProfilingCommand":{"profilingDataSaved":"Profil oluşturma verileri [{filePath}]({uri}) konumuna kaydedildi. Daha fazla ayrıntı i\xe7in `Python Language Server` \xe7ıkış b\xf6lmesine bakın."},"gotoOutputCommand":"\xc7ıkışı G\xf6ster"},"Copilot":{"generateDocstringWithCopilot":"Copilot ile Docstring oluşturma","hoverSummary":{"generateSummary":"Copilot \xf6zeti oluştur","noSummary":"Kullanılabilir \xf6zet yok.","summary":"\xd6zet","tooltip":"Yapay zeka tarafından oluşturulan i\xe7erik yanlış olabilir."},"implementAllInheritedAbstractClasseswithCopilot":"Copilot ile devralınan t\xfcm soyut sınıfları uygula"},"Diagnostic":{"importResolveRedirect":"\\"{importName}\\", \\"{venv}\\" ortamında bulunamadı."},"DocstringTemplate":{"description":"A\xe7ıklama","docstringForName":"Docstring for {name}","generateDocstring":"Docstring Oluşturma"},"LargeLog":{"copyToClipboard":"GitHub sorun g\xf6vdesi sınırı nedeniyle g\xfcnl\xfck kesildi. Tam g\xfcnl\xfck panoya kopyalandı.","no":"Hayır","openLink":"Bağlantıyı a\xe7","userConsent":"Pylance g\xfcnl\xfcğ\xfcn\xfcz\xfc bildirdiğiniz soruna eklemek istiyoruz ancak g\xfcnl\xfck \xe7ok b\xfcy\xfck. Bunun yerine g\xfcnl\xfcğ\xfc doğrudan GitHub’a y\xfckleseydik olur muydu (g\xfcnl\xfcğ\xfcn yalnızca bir b\xf6l\xfcm\xfc sorunda g\xf6r\xfcn\xfcr)? Daha fazla bilgi i\xe7in {url} adresini ziyaret edin","yes":"Evet"},"Messages":{"defaultPythonEnvironmentName":"Varsayılan Python Ortamı","globalEnvironmentName":"genel","pluralFilesAndPluralCellsToAnalyze":"{fileCount} dosya ve {cellCount} h\xfccre analiz edilecek","pluralFilesAndSingularCellToAnalyze":"{fileCount} dosya ve 1 h\xfccre analiz edilecek","singularFileAndPluralCellsToAnalyze":"1 dosya ve {cellCount} h\xfccre analiz edilecek","singularFileAndSingularCellToAnalyze":"1 dosya ve 1 h\xfccre analiz edilecek","windowsStoreEnvironmentName":"microsoft store"},"PerformanceTracking":{"button":"Sorun bildir","title":"Pylance ile ilgili bir performans sorunu algılandı. \'Pylance: Sorun Bildir\' komutunu kullanarak bir sorun kaydetmek ister misiniz?"},"Pytest":{"addTypeAnnotation":"{name} i\xe7ine t\xfcr ek a\xe7ıklaması ekle","addTypeAnnotations":"Add type annotations for all fixture references in this file","fixtureNotFound":"\'{fixture}\' is not a known test fixture. Test methods should only receive fixture or parametrization names as parameters."},"Refactoring":{"moveFile":"T\xfcm i\xe7eri aktarma başvurularını \\"{oldModuleName}\\" mod\xfcl\xfcnden \\"{newModuleName}\\" mod\xfcl\xfcne g\xfcncelleştirmek istiyor musunuz?","moveFileAbsentSymbol":"Taşınacak simge bulunamıyor.","moveFileDescription":"T\xfcm i\xe7eri aktarma başvuruları \\"{oldModuleName}\\" mod\xfcl\xfcnden \\"{newModuleName}\\" mod\xfcl\xfcne g\xfcncelleştirilsin mi?","moveFileExtensionMismatch":"Bir simgeyi taşımak i\xe7in kaynak dosya (\\"{src}\\") ile hedef dosyanın (\\"{dest}\\") uzantısı aynı olmalıdır.","moveFileImportableOnly":"Yalnızca sınıflar veya işlevler gibi diğer mod\xfcllerden i\xe7eri aktarılabilen nesnelerin taşınmasına izin verilir.","moveFileInsertLocation":"Simgenin ekleneceği konum bulunamıyor. \\"{name}\\" konumunda aynı ada sahip bir simge zaten var olabilir.","moveFileLabel":"T\xfcm i\xe7eri aktarma başvuruları \\"{oldModuleName}\\" mod\xfcl\xfcnden \\"{newModuleName}\\" mod\xfcl\xfcne g\xfcncelleştirilsin mi?","moveFileMissingInfo":"\\"{name}\\" i\xe7in dosya bilgileri bulunamıyor.","moveFileMultipleDeclarations":"Birden \xe7ok kez bildirildiği i\xe7in bu simge taşınamaz.","moveFileNotUserFile":"Bu simge taşınamıyor. Yalnızca bir projedeki veya kullanıcı dosyasındaki simgeler desteklenir.","moveFilePrivateSymbol":"\xd6zel simge olduğundan \\"{name}\\" taşınamıyor.","moveFileSameFile":"Simge şu anda bulunduğu dosyaya taşınamıyor.","moveFileSimpleAssignmentsOnly":"Bu ifade taşınamıyor. Yalnızca bir değer atanan değişken gibi basit atamalar desteklenir.","moveFileSymbolNotFound":"\\"{position}\\" konumunda simge bulunamıyor.","moveFileUnsupportedSymbol":"Bu simge taşınamıyor. Yalnızca mod\xfcl d\xfczeyindeki değişkenler, işlevler ve sınıflar desteklenir."}}')},70417(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"添加所有类型注释","addTypeAnnotation":"添加类型注释"},"AddTypeIgnore":{"title":"添加 \'{statement}\' 以抑制警告"},"AutoImport":{"addAutoImport":"添加“{importText}”","searchImport":"搜索其他导入匹配项"},"ChangeSpelling":{"changeSpellingTo":"将拼写更改为“{word}”"},"ConvertFormatString":{"convertToFString":"使用 Copilot 转换为 f 字符串","convertToFormat":"通过 Copilot 转换为 format() 调用"},"ConvertImportStar":{"convertAllToExplicitImports":"将所有星号导入转换为显式导入","convertToExplicitImports":"转换为显式导入"},"ConvertLambdaToNamedFunction":{"title":"使用 Copilot 将 lambda 转换为命名函数"},"DiagnosticRefactor":{"fixformattedString":"修复“{name}”"},"ExtraPath":{"addExtraPath":"将“{name}”添加到 extraPaths"},"Extract":{"method":"提取方法","variable":"提取变量"},"FixAll":{"runFixAll":"运行 pylance fix all"},"GenerateSymbol":{"generateClass":"使用 Copilot 生成类 \\"{name}\\"","generateFunction":"使用 Copilot 生成函数 \\"{name}\\"","generateMember":"使用 Copilot 生成成员“{name}”"},"ImplementAbstractClass":{"implementAllAbstractClasses":"实现继承的所有抽象类"},"MoveSymbol":{"commandTitle":"移动符号","moveSymbolsTo":"将符号移动到...","moveSymbolsToNewFile":"将符号移动到新文件"},"RemoveUnusedImport":{"removeAllUnusedImports":"删除所有未使用的导入","removeUnusedImport":"删除未使用的导入"},"ToggleImportPath":{"convertAllFormat":"转换所有导入格式","convertAllToAbsolutePath":"将所有导入转换为绝对路径","convertAllToRelativePath":"将所有导入转换为相对路径","convertToAbsolutePath":"转换为绝对路径","convertToRelativePath":"转换为相对路径"},"UnresolvedImports":{"learnMoreTitle":"详细了解如何解析导入","selectInterpreterTitle":"选择其他解释器","selectKernelTitle":"选择其他 Jupyter kernel","troubleshootMissingImports":"排查缺少的导入问题"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"日志记录数据已保存在 [{filePath}]({uri})。有关更多详细信息,请参阅 `Python 语言服务器` 输出窗格。"},"ProfilingCommand":{"profilingDataSaved":"分析数据已保存在 [{filePath}]({uri})。有关更多详细信息,请参阅 `Python 语言服务器` 输出窗格。"},"gotoOutputCommand":"显示输出"},"Copilot":{"generateDocstringWithCopilot":"使用 Copilot 生成 Docstring","hoverSummary":{"generateSummary":"生成 Copilot 摘要","noSummary":"没有可用的摘要。","summary":"摘要","tooltip":"AI 生成的内容可能不正确。"},"implementAllInheritedAbstractClasseswithCopilot":"通过 Copilot 实现继承的所有抽象类"},"Diagnostic":{"importResolveRedirect":"在“{venv}”环境中找不到导入“{importName}”。"},"DocstringTemplate":{"description":"说明","docstringForName":"{name} 的 Docstring","generateDocstring":"生成 Docstring"},"LargeLog":{"copyToClipboard":"由于 GitHub 问题正文限制,日志已被截断。完整日志已复制到剪贴板。","no":"否","openLink":"打开链接","userConsent":"我们希望将你的 Pylance 日志包含在你所报告的问题中,但它太大了。是否可以直接将其上传到 github (问题中只有一部分日志可见)?有关详细信息,请访问 {url}","yes":"是"},"Messages":{"defaultPythonEnvironmentName":"默认 Python 环境","globalEnvironmentName":"全局","pluralFilesAndPluralCellsToAnalyze":"要分析的 {fileCount} 个文件和 {cellCount} 个单元格","pluralFilesAndSingularCellToAnalyze":"要分析的 {fileCount} 个文件和 1 个单元格","singularFileAndPluralCellsToAnalyze":"要分析的 1 个文件和 {cellCount} 个单元格","singularFileAndSingularCellToAnalyze":"要分析的 1 个文件和 1 个单元格","windowsStoreEnvironmentName":"microsoft store"},"PerformanceTracking":{"button":"报告问题","title":"我们检测到 Pylance 存在性能问题。是否要使用 `Pylance: Report Issue` 命令提交问题?"},"Pytest":{"addTypeAnnotation":"将类型批注添加到 {name}","addTypeAnnotations":"为此文件中的所有 fixture 引用添加类型注释","fixtureNotFound":"\'{fixture}\' 不是已知的测试 fixture。测试方法应只接收 fixture 或 parametrization 名称作为参数。"},"Refactoring":{"moveFile":"是否要将“{oldModuleName}”的所有导入引用更新为“{newModuleName}”?","moveFileAbsentSymbol":"找不到要移动的符号。","moveFileDescription":"是否将 “{oldModuleName}” 的所有导入引用更新为 “{newModuleName}”?","moveFileExtensionMismatch":"要移动符号,源文件(“{src}”)和目标文件(“{dest}”)必须具有相同的文件扩展名。","moveFileImportableOnly":"仅允许移动可从其他模块导入的对象,例如类或函数。","moveFileInsertLocation":"找不到要插入符号的位置。“{name}”中可能已存在同名符号。","moveFileLabel":"是否将 “{oldModuleName}” 的所有导入引用更新为 “{newModuleName}”?","moveFileMissingInfo":"找不到“{name}”的文件信息。","moveFileMultipleDeclarations":"无法移动此符号,因为已多次声明它。","moveFileNotUserFile":"无法移动此符号。仅支持项目或用户文件中的符号。","moveFilePrivateSymbol":"无法移动“{name}”,因为它是专用符号。","moveFileSameFile":"无法将符号移动到其当前所在的同一文件。","moveFileSimpleAssignmentsOnly":"无法移动此表达式。仅支持简单的赋值,例如为变量赋值。","moveFileSymbolNotFound":"在位置“{position}”处找不到符号。","moveFileUnsupportedSymbol":"无法移动此符号。仅支持模块级别的变量、函数和类。"}}')},41101(e){"use strict";e.exports=JSON.parse('{"CodeAction":{"AddTypeAnnotation":{"addAllTypeAnnotations":"新增所有類型註釋","addTypeAnnotation":"新增類型註釋"},"AddTypeIgnore":{"title":"新增 \'{statement}\' 以隱藏警告"},"AutoImport":{"addAutoImport":"新增 \\"{importText}\\"","searchImport":"搜尋其他匯入相符項目"},"ChangeSpelling":{"changeSpellingTo":"將拼字變更為 \\"{word}\\""},"ConvertFormatString":{"convertToFString":"使用 Copilot 轉換成 f-string","convertToFormat":"使用 Copilot 轉換成 format() 呼叫"},"ConvertImportStar":{"convertAllToExplicitImports":"將所有加上星號的匯入轉換為明確匯入","convertToExplicitImports":"轉換為明確匯入"},"ConvertLambdaToNamedFunction":{"title":"使用 Copilot 將 Lambda 轉換為具名函式"},"DiagnosticRefactor":{"fixformattedString":"修正 \\"{name}\\""},"ExtraPath":{"addExtraPath":"新增 \\"{name}\\" 至 extraPaths"},"Extract":{"method":"擷取方法","variable":"擷取變數"},"FixAll":{"runFixAll":"執行 pylance fix all"},"GenerateSymbol":{"generateClass":"產生具有 Copilot 的類別 \\"{name}\\"","generateFunction":"產生具有 Copilot 的函式 \\"{name}\\"","generateMember":"使用 Copilot 產生成員 \\"{name}\\""},"ImplementAbstractClass":{"implementAllAbstractClasses":"實作所有繼承的抽象類別"},"MoveSymbol":{"commandTitle":"移動符號","moveSymbolsTo":"移動符號至...","moveSymbolsToNewFile":"移動符號至新檔案"},"RemoveUnusedImport":{"removeAllUnusedImports":"移除所有未使用的匯入","removeUnusedImport":"移除未使用的匯入"},"ToggleImportPath":{"convertAllFormat":"轉換所有匯入格式","convertAllToAbsolutePath":"將所有匯入轉換為絕對路徑","convertAllToRelativePath":"將所有匯入轉換為相對路徑","convertToAbsolutePath":"轉換為絕對路徑","convertToRelativePath":"轉換成相對路徑"},"UnresolvedImports":{"learnMoreTitle":"深入了解如何解析匯入","selectInterpreterTitle":"選取其他解譯器","selectKernelTitle":"選取其他 Jupyter kernel","troubleshootMissingImports":"針對遺失匯入進行疑難排解"}},"Commands":{"LoggingCommand":{"loggingDataSaved":"記錄資料已儲存在 [{filePath}]({uri})。如需詳細資料,請參閱 [Python 語言伺服器] 輸出窗格。"},"ProfilingCommand":{"profilingDataSaved":"分析資料已儲存在 [{filePath}]({uri})。如需詳細資料,請參閱 [Python 語言伺服器] 輸出窗格。"},"gotoOutputCommand":"顯示輸出"},"Copilot":{"generateDocstringWithCopilot":"使用 Copilot 產生 Docstring","hoverSummary":{"generateSummary":"產生 Copilot 摘要","noSummary":"無可用的摘要。","summary":"摘要","tooltip":"AI 產生的內容可能不正確。"},"implementAllInheritedAbstractClasseswithCopilot":"使用 Copilot 來實作所有繼承的抽象類別"},"Diagnostic":{"importResolveRedirect":"在 \\"{venv}\\" 環境中找不到匯入 \\"{importName}\\"。"},"DocstringTemplate":{"description":"說明","docstringForName":"{name} 的 Docstring","generateDocstring":"產生 Docstring"},"LargeLog":{"copyToClipboard":"由於 GitHub 問題的本文限制,系統已截斷記錄。已將完整記錄複製到剪貼簿。","no":"否","openLink":"開啟連結","userConsent":"我們希望將您的 Pylance 記錄包含在您所回報的問題中,但檔案太大了。您是否同意我們改而直接將其上傳到 GitHub (問題中只會顯示一部份記錄)?如需詳細資訊,請瀏覽 {url}","yes":"是"},"Messages":{"defaultPythonEnvironmentName":"預設 Python 環境","globalEnvironmentName":"全域","pluralFilesAndPluralCellsToAnalyze":"{fileCount} 個檔案和 {cellCount} 個儲存格要分析","pluralFilesAndSingularCellToAnalyze":"{fileCount} 個檔案和 1 個儲存格要分析","singularFileAndPluralCellsToAnalyze":"1 個檔案和 {cellCount} 個儲存格要分析","singularFileAndSingularCellToAnalyze":"1 的檔案和 1 個儲存格要分析","windowsStoreEnvironmentName":"microsoft store"},"PerformanceTracking":{"button":"回報問題","title":"偵測到 Pylance 發生效能問題。要使用 `Pylance: Report Issue` 命令提出問題嗎?"},"Pytest":{"addTypeAnnotation":"新增型別註解至 {name}","addTypeAnnotations":"新增此檔案中所有 fixture 參考的類型註釋","fixtureNotFound":"\'{fixture}\' 不是已知的測試 fixture。測試方法應該只接收 fixture 或 parametrization 名稱作為參數。"},"Refactoring":{"moveFile":"是否要將 \\"{oldModuleName}\\" 的所有匯入參考更新為 \\"{newModuleName}\\"?","moveFileAbsentSymbol":"找不到要移動的符號。","moveFileDescription":"將 \\"{oldModuleName}\\" 的所有匯入參考更新為 \\"{newModuleName}\\"?","moveFileExtensionMismatch":"若要移動符號,來源檔案 (\\"{src}\\") 與目的檔案 (\\"{dest}\\") 必須具有相同的檔案副檔名。","moveFileImportableOnly":"=只允許移動可以從其他模組匯入的物件,例如類別或函數。","moveFileInsertLocation":"找不到要插入符號的位置。\\"{name}\\" 中可能已存在相同名稱的符號。","moveFileLabel":"將 \\"{oldModuleName}\\" 的所有匯入參考更新為 \\"{newModuleName}\\"?","moveFileMissingInfo":"找不到 \\"{name}\\" 的檔案資訊。","moveFileMultipleDeclarations":"無法移動此符號,因為它已遭多次宣告。","moveFileNotUserFile":"無法移動此符號。只支援專案或使用者檔案中的符號。","moveFilePrivateSymbol":"無法移動 \\"{name}\\",因為它是私人符號。","moveFileSameFile":"無法將符號移至其目前所在的同一個檔案中。","moveFileSimpleAssignmentsOnly":"無法移動此運算式。只支援例如為變數指派值等簡單的指派。","moveFileSymbolNotFound":"在位置 \\"{position}\\" 找不到符號。","moveFileUnsupportedSymbol":"無法移動此符號。僅支援模組層級的變數、函式和類別。"}}')}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,s),r.loaded=!0,r.exports}s.m=o,s.x=()=>{var e=s.O(void 0,["474","513"],()=>s(32538));return s.O(e)},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(r,i){if(1&i&&(r=this(r)),8&i||"object"==typeof r&&r&&(4&i&&r.__esModule||16&i&&"function"==typeof r.then))return r;var n=Object.create(null);s.r(n);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>{o[e]=()=>r[e]});return o.default=()=>r,s.d(n,o),n},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+({474:"vendor",513:"pyright"})[e]+".bundle.js",s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r=[],s.O=(e,t,i,n)=>{if(t){n=n||0;for(var o=r.length;o>0&&r[o-1][2]>n;o--)r[o]=r[o-1];r[o]=[t,i,n];return}for(var a=1/0,o=0;o<r.length;o++){for(var[t,i,n]=r[o],l=!0,c=0;c<t.length;c++)(!1&n||a>=n)&&Object.keys(s.O).every(e=>s.O[e](t[c]))?t.splice(c--,1):(l=!1,n<a&&(a=n));if(l){r.splice(o--,1);var d=i();void 0!==d&&(e=d)}}return e},s.p="",s.j="51",i=s.x,s.x=()=>(s.e("474"),s.e("513"),i()),s.b=require("url").pathToFileURL(__filename),n={51:1},s.O.require=e=>n[e],s.f.require=(e,t)=>{n[e]||(e=>{var t=e.modules,r=e.ids,i=e.runtime;for(var o in t)s.o(t,o)&&(s.m[o]=t[o]);i&&i(s);for(var a=0;a<r.length;a++)n[r[a]]=1;s.O()})(require("./"+s.u(e)))};var l=s.x();module.exports=l})();
//# sourceMappingURL=extension.bundle.js.map