From 6b50fe8f34b87447c9f9ea9bbbcaec9c9bd1e405 Mon Sep 17 00:00:00 2001 From: Piotr Date: Tue, 26 Nov 2024 09:01:10 +0100 Subject: [PATCH] version 0.13.2 --- README.md | 4 +- assets/assets/abap-tpSenF06.js | 6 + assets/assets/apex-6BKJFAkE.js | 6 + assets/assets/azcli-O9Lj4b_M.js | 6 + assets/assets/bat-A9PiRsOi.js | 6 + assets/assets/bicep-it4V5ulc.js | 7 + assets/assets/cameligo-EZF0Qhy4.js | 6 + assets/assets/clojure-ckW2oeYa.js | 6 + assets/assets/codicon-9NdTC9YB.ttf | Bin 0 -> 73504 bytes assets/assets/coffee-Y8tTqwEk.js | 6 + assets/assets/cpp-MkflAQyk.js | 6 + assets/assets/csharp-EvjsIfVH.js | 6 + assets/assets/csp-oRnIIgoX.js | 6 + assets/assets/css-Dd6BQKIm.js | 8 + assets/assets/cssMode-7jM6YvWl.js | 9 + assets/assets/cypher-642jv-SL.js | 6 + assets/assets/dart--oh5nTyy.js | 6 + assets/assets/dockerfile-LvEjKiHu.js | 6 + assets/assets/ecl-GFGZIWyi.js | 6 + assets/assets/editor.worker-sXCiTVaj.js | 8 + assets/assets/elixir-UwPN-Rlt.js | 6 + assets/assets/flow9-CgLYUr2P.js | 6 + assets/assets/freemarker2-WpdUPf-d.js | 8 + assets/assets/fsharp-OSWdaDvE.js | 6 + assets/assets/go-5tF-fl5m.js | 6 + assets/assets/graphql-Hw_-CHyi.js | 6 + assets/assets/handlebars-pBZUVpVs.js | 6 + assets/assets/hcl-MnPuh_ws.js | 6 + assets/assets/html-0GEZZorn.js | 6 + assets/assets/htmlMode-cnfT3nMH.js | 9 + assets/assets/index--ia9tQRb.css | 1 + assets/assets/index-iIKmhSVb.js | 7148 + assets/assets/ini-T6G25OpR.js | 6 + assets/assets/java-C07s_84Q.js | 6 + assets/assets/javascript-1erD-EfY.js | 6 + assets/assets/jsonMode-OBjCLnHX.js | 11 + assets/assets/julia--X05kqT1.js | 6 + assets/assets/kotlin--IhbTNF1.js | 6 + assets/assets/less-88EdC67M.js | 7 + assets/assets/lexon-MniWR1bD.js | 6 + assets/assets/liquid-u0SMaC58.js | 6 + assets/assets/lua-bYlw05oY.js | 6 + assets/assets/m3-xCaP759r.js | 6 + assets/assets/markdown-rVkZudBB.js | 6 + assets/assets/mips-SX-ofX2G.js | 6 + assets/assets/msdax-46cGZiec.js | 6 + assets/assets/mysql-cPR6LtRV.js | 6 + assets/assets/objective-c-yVw_ot58.js | 6 + assets/assets/pascal-gPd3YvqG.js | 6 + assets/assets/pascaligo-qpmQPZ0u.js | 6 + assets/assets/perl-Uj6qonV_.js | 6 + assets/assets/pgsql-FwQ7fWHR.js | 6 + assets/assets/php-ox1RFQl1.js | 6 + assets/assets/pla-ioQoEAH2.js | 6 + assets/assets/postiats-rFhTgJ-3.js | 6 + assets/assets/powerquery-SBeRwa7q.js | 6 + assets/assets/powershell-BVxa2I_X.js | 6 + assets/assets/protobuf-S72h9uI3.js | 7 + assets/assets/pug-pFYpmxCe.js | 6 + assets/assets/python-bmHfpKm4.js | 6 + assets/assets/qsharp-dJE40yG7.js | 6 + assets/assets/r-q7JnwB0_.js | 6 + assets/assets/razor-nciZwko5.js | 6 + assets/assets/redis-OCMhus96.js | 6 + assets/assets/redshift-3M8Qbba0.js | 6 + assets/assets/restructuredtext-iqrCt4Jk.js | 6 + assets/assets/ruby-nMCbZKZv.js | 6 + assets/assets/rust-rRUnz4oa.js | 6 + assets/assets/sb-POjlrAmS.js | 6 + assets/assets/scala-eSAX5k-i.js | 6 + assets/assets/scheme-MY7XLAOe.js | 6 + assets/assets/scss-Ecf6GBR7.js | 8 + assets/assets/shell-mOomC_YS.js | 6 + assets/assets/solidity-NVKViCfT.js | 6 + assets/assets/sophia-biC4I-9r.js | 6 + assets/assets/sparql-mIpgwmxk.js | 6 + assets/assets/sql-0FQhBzpL.js | 6 + assets/assets/st-kZml91n2.js | 6 + assets/assets/swift-s7cwkShL.js | 8 + assets/assets/systemverilog-rnL6ckdb.js | 6 + assets/assets/tcl-jAg7ZMBy.js | 6 + assets/assets/ts.worker-8r1FRN0z.js | 37018 ++++ assets/assets/tsMode-RKobR_xm.js | 16 + assets/assets/twig-_mSnF2--.js | 6 + assets/assets/typescript-DIvkpvLU.js | 6 + assets/assets/vb-duaPIj24.js | 6 + assets/assets/wgsl-w-NQ_iIh.js | 303 + assets/assets/xml-Q_Q4JJw2.js | 6 + assets/assets/yaml-oSdrnyKU.js | 6 + assets/index.html | 38 + assets/logdy-transparent.png | Bin 0 -> 10794 bytes assets/monacoeditorwork/ts.worker.bundle.js | 181612 +++++++++++++++++ build_across | 2 +- release | 2 +- 94 files changed, 226656 insertions(+), 4 deletions(-) create mode 100644 assets/assets/abap-tpSenF06.js create mode 100644 assets/assets/apex-6BKJFAkE.js create mode 100644 assets/assets/azcli-O9Lj4b_M.js create mode 100644 assets/assets/bat-A9PiRsOi.js create mode 100644 assets/assets/bicep-it4V5ulc.js create mode 100644 assets/assets/cameligo-EZF0Qhy4.js create mode 100644 assets/assets/clojure-ckW2oeYa.js create mode 100644 assets/assets/codicon-9NdTC9YB.ttf create mode 100644 assets/assets/coffee-Y8tTqwEk.js create mode 100644 assets/assets/cpp-MkflAQyk.js create mode 100644 assets/assets/csharp-EvjsIfVH.js create mode 100644 assets/assets/csp-oRnIIgoX.js create mode 100644 assets/assets/css-Dd6BQKIm.js create mode 100644 assets/assets/cssMode-7jM6YvWl.js create mode 100644 assets/assets/cypher-642jv-SL.js create mode 100644 assets/assets/dart--oh5nTyy.js create mode 100644 assets/assets/dockerfile-LvEjKiHu.js create mode 100644 assets/assets/ecl-GFGZIWyi.js create mode 100644 assets/assets/editor.worker-sXCiTVaj.js create mode 100644 assets/assets/elixir-UwPN-Rlt.js create mode 100644 assets/assets/flow9-CgLYUr2P.js create mode 100644 assets/assets/freemarker2-WpdUPf-d.js create mode 100644 assets/assets/fsharp-OSWdaDvE.js create mode 100644 assets/assets/go-5tF-fl5m.js create mode 100644 assets/assets/graphql-Hw_-CHyi.js create mode 100644 assets/assets/handlebars-pBZUVpVs.js create mode 100644 assets/assets/hcl-MnPuh_ws.js create mode 100644 assets/assets/html-0GEZZorn.js create mode 100644 assets/assets/htmlMode-cnfT3nMH.js create mode 100644 assets/assets/index--ia9tQRb.css create mode 100644 assets/assets/index-iIKmhSVb.js create mode 100644 assets/assets/ini-T6G25OpR.js create mode 100644 assets/assets/java-C07s_84Q.js create mode 100644 assets/assets/javascript-1erD-EfY.js create mode 100644 assets/assets/jsonMode-OBjCLnHX.js create mode 100644 assets/assets/julia--X05kqT1.js create mode 100644 assets/assets/kotlin--IhbTNF1.js create mode 100644 assets/assets/less-88EdC67M.js create mode 100644 assets/assets/lexon-MniWR1bD.js create mode 100644 assets/assets/liquid-u0SMaC58.js create mode 100644 assets/assets/lua-bYlw05oY.js create mode 100644 assets/assets/m3-xCaP759r.js create mode 100644 assets/assets/markdown-rVkZudBB.js create mode 100644 assets/assets/mips-SX-ofX2G.js create mode 100644 assets/assets/msdax-46cGZiec.js create mode 100644 assets/assets/mysql-cPR6LtRV.js create mode 100644 assets/assets/objective-c-yVw_ot58.js create mode 100644 assets/assets/pascal-gPd3YvqG.js create mode 100644 assets/assets/pascaligo-qpmQPZ0u.js create mode 100644 assets/assets/perl-Uj6qonV_.js create mode 100644 assets/assets/pgsql-FwQ7fWHR.js create mode 100644 assets/assets/php-ox1RFQl1.js create mode 100644 assets/assets/pla-ioQoEAH2.js create mode 100644 assets/assets/postiats-rFhTgJ-3.js create mode 100644 assets/assets/powerquery-SBeRwa7q.js create mode 100644 assets/assets/powershell-BVxa2I_X.js create mode 100644 assets/assets/protobuf-S72h9uI3.js create mode 100644 assets/assets/pug-pFYpmxCe.js create mode 100644 assets/assets/python-bmHfpKm4.js create mode 100644 assets/assets/qsharp-dJE40yG7.js create mode 100644 assets/assets/r-q7JnwB0_.js create mode 100644 assets/assets/razor-nciZwko5.js create mode 100644 assets/assets/redis-OCMhus96.js create mode 100644 assets/assets/redshift-3M8Qbba0.js create mode 100644 assets/assets/restructuredtext-iqrCt4Jk.js create mode 100644 assets/assets/ruby-nMCbZKZv.js create mode 100644 assets/assets/rust-rRUnz4oa.js create mode 100644 assets/assets/sb-POjlrAmS.js create mode 100644 assets/assets/scala-eSAX5k-i.js create mode 100644 assets/assets/scheme-MY7XLAOe.js create mode 100644 assets/assets/scss-Ecf6GBR7.js create mode 100644 assets/assets/shell-mOomC_YS.js create mode 100644 assets/assets/solidity-NVKViCfT.js create mode 100644 assets/assets/sophia-biC4I-9r.js create mode 100644 assets/assets/sparql-mIpgwmxk.js create mode 100644 assets/assets/sql-0FQhBzpL.js create mode 100644 assets/assets/st-kZml91n2.js create mode 100644 assets/assets/swift-s7cwkShL.js create mode 100644 assets/assets/systemverilog-rnL6ckdb.js create mode 100644 assets/assets/tcl-jAg7ZMBy.js create mode 100644 assets/assets/ts.worker-8r1FRN0z.js create mode 100644 assets/assets/tsMode-RKobR_xm.js create mode 100644 assets/assets/twig-_mSnF2--.js create mode 100644 assets/assets/typescript-DIvkpvLU.js create mode 100644 assets/assets/vb-duaPIj24.js create mode 100644 assets/assets/wgsl-w-NQ_iIh.js create mode 100644 assets/assets/xml-Q_Q4JJw2.js create mode 100644 assets/assets/yaml-oSdrnyKU.js create mode 100644 assets/index.html create mode 100644 assets/logdy-transparent.png create mode 100644 assets/monacoeditorwork/ts.worker.bundle.js diff --git a/README.md b/README.md index bd29010..82c5330 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Blog

-### Latest version: 0.13 (10 July 2024) - [Read announcement](https://logdy.dev/blog/post/logdy-new-version-announcement-v013) +### Latest version: 0.13.2 (26 November 2024) - [Read announcement](https://logdy.dev/blog/post/logdy-new-version-announcement-v013) Logdy is a single-binary that you add to your PATH so it's available just like any other tool: grep, awk, sed, jq. **No installations, no deployments, no compilations**. It works locally, so it's also secure. [Read more](https://logdy.dev/docs/what-is-logdy). @@ -70,7 +70,7 @@ $ brew install logdy Naviage to [releases](https://github.com/logdyhq/logdy-core/releases) Github page and download the latest release for your architecture. ```bash -wget https://github.com/logdyhq/logdy-core/releases/download/v0.12.0/logdy_linux_amd64; +wget https://github.com/logdyhq/logdy-core/releases/download/v0.13.2/logdy_linux_amd64; mv logdy_linux_amd64 logdy; chmod +x logdy; ``` diff --git a/assets/assets/abap-tpSenF06.js b/assets/assets/abap-tpSenF06.js new file mode 100644 index 0000000..ea9af2b --- /dev/null +++ b/assets/assets/abap-tpSenF06.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},t={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","and","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","between","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condense","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","equiv","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","find","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","in","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","insert","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","language","last","late","layout","leading","leave","left","left-justified","leftplus","leftspace","legacy","length","let","level","levels","like","line","lines","line-count","linefeed","line-selection","line-size","list","listbox","list-processing","little","llang","load","load-of-program","lob","local","locale","locator","logfile","logical","log-point","long","loop","low","lower","lpad","lpi","ltrim","mail","main","major-id","mapping","margin","mark","mask","match","matchcode","max","maximum","medium","members","memory","mesh","message","message-id","messages","messaging","method","methods","min","minimum","minor-id","mm/dd/yy","mm/dd/yyyy","mmddyy","mode","modif","modifier","modify","module","move","move-corresponding","multiply","multiply-corresponding","name","nametab","native","nested","nesting","new","new-line","new-page","new-section","next","no","no-display","no-extension","no-gap","no-gaps","no-grouping","no-heading","no-scrolling","no-sign","no-title","no-topofpage","no-zero","node","nodes","non-unicode","non-unique","not","null","number","object","objects","obligatory","occurrence","occurrences","occurs","of","off","offset","ole","on","only","open","option","optional","options","or","order","other","others","out","outer","output","output-length","overflow","overlay","pack","package","pad","padding","page","pages","parameter","parameters","parameter-table","part","partially","pattern","percentage","perform","performing","person","pf1","pf10","pf11","pf12","pf13","pf14","pf15","pf2","pf3","pf4","pf5","pf6","pf7","pf8","pf9","pf-status","pink","places","pool","pos_high","pos_low","position","pragmas","precompiled","preferred","preserving","primary","print","print-control","priority","private","procedure","process","program","property","protected","provide","public","push","pushbutton","put","queue-only","quickinfo","radiobutton","raise","raising","range","ranges","read","reader","read-only","receive","received","receiver","receiving","red","redefinition","reduce","reduced","ref","reference","refresh","regex","reject","remote","renaming","replace","replacement","replacing","report","request","requested","reserve","reset","resolution","respecting","responsible","result","results","resumable","resume","retry","return","returncode","returning","returns","right","right-justified","rightplus","rightspace","risk","rmc_communication_failure","rmc_invalid_status","rmc_system_failure","role","rollback","rows","rpad","rtrim","run","sap","sap-spool","saving","scale_preserving","scale_preserving_scientific","scan","scientific","scientific_with_leading_zero","scroll","scroll-boundary","scrolling","search","secondary","seconds","section","select","selection","selections","selection-screen","selection-set","selection-sets","selection-table","select-options","send","separate","separated","set","shared","shift","short","shortdump-id","sign_as_postfix","single","size","skip","skipping","smart","some","sort","sortable","sorted","source","specified","split","spool","spots","sql","sqlscript","stable","stamp","standard","starting","start-of-editing","start-of-selection","state","statement","statements","static","statics","statusinfo","step-loop","stop","structure","structures","style","subkey","submatches","submit","subroutine","subscreen","subtract","subtract-corresponding","suffix","sum","summary","summing","supplied","supply","suppress","switch","switchstates","symbol","syncpoints","syntax","syntax-check","syntax-trace","system-call","system-exceptions","system-exit","tab","tabbed","table","tables","tableview","tabstrip","target","task","tasks","test","testing","test-injection","test-seam","text","textpool","then","throw","time","times","timestamp","timezone","tims_is_valid","title","titlebar","title-lines","to","tokenization","tokens","top-lines","top-of-page","trace-file","trace-table","trailing","transaction","transfer","transformation","translate","transporting","trmac","truncate","truncation","try","tstmp_add_seconds","tstmp_current_utctimestamp","tstmp_is_valid","tstmp_seconds_between","type","type-pool","type-pools","types","uline","unassign","under","unicode","union","unique","unit_conversion","unix","unpack","until","unwind","up","update","upper","user","user-command","using","utf-8","valid","value","value-request","values","vary","varying","verification-message","version","via","view","visible","wait","warning","when","whenever","where","while","width","window","windows","with","with-heading","without","with-title","word","work","write","writer","xml","xsd","yellow","yes","yymmdd","zero","zone","abap_system_timezone","abap_user_timezone","access","action","adabas","adjust_numbers","allow_precision_loss","allowed","amdp","applicationuser","as_geo_json","as400","associations","balance","behavior","breakup","bulk","cds","cds_client","check_before_save","child","clients","corr","corr_spearman","cross","cycles","datn_add_days","datn_add_months","datn_days_between","dats_from_datn","dats_tims_to_tstmp","dats_to_datn","db2","db6","ddl","dense_rank","depth","deterministic","discarding","entities","entity","error","failed","finalize","first_value","fltp_to_dec","following","fractional","full","graph","grouping","hierarchy","hierarchy_ancestors","hierarchy_ancestors_aggregate","hierarchy_descendants","hierarchy_descendants_aggregate","hierarchy_siblings","incremental","indicators","lag","last_value","lead","leaves","like_regexpr","link","locale_sap","lock","locks","many","mapped","matched","measures","median","mssqlnt","multiple","nodetype","ntile","nulls","occurrences_regexpr","one","operations","oracle","orphans","over","parent","parents","partition","pcre","period","pfcg_mapping","preceding","privileged","product","projection","rank","redirected","replace_regexpr","reported","response","responses","root","row","row_number","sap_system_date","save","schema","session","sets","shortdump","siblings","spantree","start","stddev","string_agg","subtotal","sybase","tims_from_timn","tims_to_timn","to_blob","to_clob","total","trace-entry","tstmp_to_dats","tstmp_to_dst","tstmp_to_tims","tstmpl_from_utcl","tstmpl_to_utcl","unbounded","utcl_add_seconds","utcl_current","utcl_seconds_between","uuid","var","verbatim"],builtinFunctions:["abs","acos","asin","atan","bit-set","boolc","boolx","ceil","char_off","charlen","cmax","cmin","concat_lines_of","contains","contains_any_not_of","contains_any_of","cos","cosh","count","count_any_not_of","count_any_of","dbmaxlen","distance","escape","exp","find_any_not_of","find_any_of","find_end","floor","frac","from_mixed","ipow","line_exists","line_index","log","log10","matches","nmax","nmin","numofchar","repeat","rescale","reverse","round","segment","shift_left","shift_right","sign","sin","sinh","sqrt","strlen","substring","substring_after","substring_before","substring_from","substring_to","tan","tanh","to_lower","to_mixed","to_upper","trunc","utclong_add","utclong_current","utclong_diff","xsdbool","xstrlen"],typeKeywords:["b","c","d","decfloat16","decfloat34","f","i","int8","n","p","s","string","t","utclong","x","xstring","any","clike","csequence","decfloat","numeric","simple","xsequence","accp","char","clnt","cuky","curr","datn","dats","d16d","d16n","d16r","d34d","d34n","d34r","dec","df16_dec","df16_raw","df34_dec","df34_raw","fltp","geom_ewkb","int1","int2","int4","lang","lchr","lraw","numc","quan","raw","rawstring","sstring","timn","tims","unit","utcl","df16_scl","df34_scl","prec","varc","abap_bool","abap_false","abap_true","abap_undefined","me","screen","space","super","sy","syst","table_line","*sys*"],builtinMethods:["class_constructor","constructor"],derivedTypes:["%CID","%CID_REF","%CONTROL","%DATA","%ELEMENT","%FAIL","%KEY","%MSG","%PARAM","%PID","%PID_ASSOC","%PID_PARENT","%_HINTS"],cdsLanguage:["@AbapAnnotation","@AbapCatalog","@AccessControl","@API","@ClientDependent","@ClientHandling","@CompatibilityContract","@DataAging","@EndUserText","@Environment","@LanguageDependency","@MappingRole","@Metadata","@MetadataExtension","@ObjectModel","@Scope","@Semantics","$EXTENSION","$SELF"],selectors:["->","->*","=>","~","~*"],operators:[" +"," -","/","*","**","div","mod","=","#","@","+=","-=","*=","/=","**=","&&=","?=","&","&&","bit-and","bit-not","bit-or","bit-xor","m","o","z","<"," >","<=",">=","<>","><","=<","=>","bt","byte-ca","byte-cn","byte-co","byte-cs","byte-na","byte-ns","ca","cn","co","cp","cs","eq","ge","gt","le","lt","na","nb","ne","np","ns","*/","*:","--","/*","//"],symbols:/[=>))*/,{cases:{"@typeKeywords":"type","@keywords":"keyword","@cdsLanguage":"annotation","@derivedTypes":"type","@builtinFunctions":"type","@builtinMethods":"type","@operators":"key","@default":"identifier"}}],[/<[\w]+>/,"identifier"],[/##[\w|_]+/,"comment"],{include:"@whitespace"},[/[:,.]/,"delimiter"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@selectors":"tag","@operators":"key","@default":""}}],[/'/,{token:"string",bracket:"@open",next:"@stringquote"}],[/`/,{token:"string",bracket:"@open",next:"@stringping"}],[/\|/,{token:"string",bracket:"@open",next:"@stringtemplate"}],[/\d+/,"number"]],stringtemplate:[[/[^\\\|]+/,"string"],[/\\\|/,"string"],[/\|/,{token:"string",bracket:"@close",next:"@pop"}]],stringping:[[/[^\\`]+/,"string"],[/`/,{token:"string",bracket:"@close",next:"@pop"}]],stringquote:[[/[^\\']+/,"string"],[/'/,{token:"string",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/^\*.*$/,"comment"],[/\".*$/,"comment"]]}};export{e as conf,t as language}; diff --git a/assets/assets/apex-6BKJFAkE.js b/assets/assets/apex-6BKJFAkE.js new file mode 100644 index 0000000..5299929 --- /dev/null +++ b/assets/assets/apex-6BKJFAkE.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var n={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:))")}}},s=["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"],o=e=>e.charAt(0).toUpperCase()+e.substr(1),t=[];s.forEach(e=>{t.push(e),t.push(e.toUpperCase()),t.push(o(e))});var i={defaultToken:"",tokenPostfix:".apex",keywords:t,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};export{n as conf,i as language}; diff --git a/assets/assets/azcli-O9Lj4b_M.js b/assets/assets/azcli-O9Lj4b_M.js new file mode 100644 index 0000000..ee47bcc --- /dev/null +++ b/assets/assets/azcli-O9Lj4b_M.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"#"}},t={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}};export{e as conf,t as language}; diff --git a/assets/assets/bat-A9PiRsOi.js b/assets/assets/bat-A9PiRsOi.js new file mode 100644 index 0000000..6cf1745 --- /dev/null +++ b/assets/assets/bat-A9PiRsOi.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=>`\\b${e}\\b`,t="[_a-zA-Z]",o="[_a-zA-Z0-9]",r=n(`${t}${o}*`),i=["targetScope","resource","module","param","var","output","for","in","if","existing"],a=["true","false","null"],s="[ \\t\\r\\n]",c="[0-9]+",g={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:`:.,=}])' + `,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},l={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=>"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}]},o={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","assert","block","Bytes","case","Crypto","Current","else","failwith","false","for","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","record","Set","set","sender","skip","source","String","then","to","true","type","with"],typeKeywords:["int","unit","string","tz","nat","bool"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-","&&","||"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};export{e as conf,o as language}; diff --git a/assets/assets/clojure-ckW2oeYa.js b/assets/assets/clojure-ckW2oeYa.js new file mode 100644 index 0000000..0fcbbce --- /dev/null +++ b/assets/assets/clojure-ckW2oeYa.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},t={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],tokenizer:{root:[{include:"@whitespace"},[/@numbers/,"number"],[/@characters/,"string"],{include:"@string"},[/[()\[\]{}]/,"@brackets"],[/\/#"(?:\.|(?:")|[^"\n])*"\/g/,"regexp"],[/[#'@^`~]/,"meta"],[/@qualifiedSymbols/,{cases:{"^:.+$":"constant","@specialForms":"keyword","@coreSymbols":"keyword","@constants":"constant","@default":"identifier"}}]],whitespace:[[/[\s,]+/,"white"],[/;.*$/,"comment"],[/\(comment\b/,"comment","@comment"]],comment:[[/\(/,"comment","@push"],[/\)/,"comment","@pop"],[/[^()]/,"comment"]],string:[[/"/,"string","@multiLineString"]],multiLineString:[[/"/,"string","@popall"],[/@escapes/,"string.escape"],[/./,"string"]]}};export{e as conf,t as language}; diff --git a/assets/assets/codicon-9NdTC9YB.ttf b/assets/assets/codicon-9NdTC9YB.ttf new file mode 100644 index 0000000000000000000000000000000000000000..ea2309d11d3390a5cf2f8dac873808182dffc666 GIT binary patch literal 73504 zcmeFa37lJ3eLs56)!nb|)z!U{uJ&0pl4d-cXVFOGWgJgzC-FFrlQ@pEcoJu`lQ_v3 zl8~5$1Z=htLIPn}OCY7G%~nV$rNp!p!rJ^3N@<~#QYNJ>Nd5x_mr_cS_x;@?jmHV? z`?R0;-sio~>sVhM>FO@${LVSQ{TwsS7_->DEW%cwb>T&`-ES%%VvIL%bmw^&j*i#Q z+p-?t@5lEmufA#T!fo%H9A->^n6dQt_8qwMx@RtXyq~eYrx;t3_g}mBn%(bs|AjdB z`@qzG9FQ)P{t};$1AY5%y7i8qIWIhi`<-A+J$m4ltM@KEH2o#UdTwPbvg@Y3cPvPM z#$S!!(>TBT=Djyv`?g>F(N@NlujAM+7jAj^tzX^x_WK#vzQR~=5kuYi5YEK=3opFz zJRhMWEC2Y1!Xr5Pqf5T!T@hRNFU%5G+*SVgy>up(xb`_d!qG0KGl`DkkM8{;ej5wI zZ*=XvP@p_`^wM!!1ep~;{M`Fj`QeOjw76@ z?V~audjrPKe=5FXNZ;>-j!@8NY!a zY^y`s#9e2<|f9`uJiE3hKl#V%&M*(L09wukkwURGj#tjzkM z5e%a3!)%0&LiZSB<7|ShVRg2atz+w^W$adV8@rvog5AOHWQW)**29%aAHKFB`IKEi&FeS-Y~`xN^l_5^gj&q8l` zl6{eViG7)Ug?*KMjr|!k!e`mvvwvhiVola!C)iKfKeLnUU)V3$zp;O3zh=*|=efiq zT;&=!xy9o=$x}SwX`badp63N#%76I z`3&E{&)^&REZ@Y>;am9}-^S15JNSisC%=ea%y;w4`5r#cui#hltNAtjI=-LZ$Zz7e z@H_aO{5AYAKf+(jU&r6T-^lOdZ{qj!2l-q1+xWx$9sHgAUHm=#z5M3`+x&z4 zC_l!2!2W^#6Z;{%lwHPdU=4O7o97GcdUg}r$1Y+OR%QRnUd!%df5;!g_zl<?d5|B{sl49%VH)#kTO<_}lqg_?!6y z>@mKEuj4Yij{gq-UH%w}mGD*i+CTx3M{v zU|(Rr!+w`t$gbk+*?TeilkE4|C%MbISU3CM%;$@ov+uEI*w@)#vcJI0_!j#%`wsgq z`&;Owf6iaQ{)G3i*Fb00pt~CEZ`fb4zh*i1Y4&sWGd9gKEX~egN7*rcCOeyN;TNz! z1y>>s_y6yIQ6fNsECBq$G68QA2szhYd!$<8UaSvUMs-6QC=s& zZ%4ULfX7ho7XS}q&Fcl&uTb6~0KUeWHwv(=C=UqmM^N4*z&E43S%7axd5ZuzA!{xO zfG4u%K>;?2@?`?xldSo20dP##gq24C?_|x}1i(dElj;qy4JcnB0M5#qcL;#TvgVxv zEQJylDgk_#HD4(J4$PW&39x%n-Yq~nL6e>hfIqY5JpyFMHR(KnSIML%i0e&gUHwkd+lluiY_1jwn z_+=;`6yVfX4+(Ih@mmEr^%b=lfJ|Y{hXvTjQNCS(Ux{*201}5a-yuLYZu6Z2Bwd^D z5+JGDe768e*XDZ!Afs6Gy#kO{tVwhSAh%eP=mJ23u_lch0J4lV-!A~E#+n}xfP7=k zM+G41So609AoE!Bg94C#tob_vkb|uGm;fXqYyPePWFu=H6@Zjv&0_+Pm#q0A0Z2~P z{ICFIC~JO10Me8-KPmvZ%9_-d03pLjlNc*8H>pq&RE-kpSd5YtonlAlX^-2?5A>);ul% zY0sLU6@c7l%|8}^2EdwsA^=^0H9sc+t$;QEQ~>$`YkppUoq_TT0?-*)^GN|{53Kn` z0q7B|`6U5p6s-AW0q7R2`BedE8Lat~0Q3#k{9gjlJXrH-0q7vC`HTRx5!U>=0Q3^p z{Br?lD6IJn0q82M`4>^?+HLhV$Hu3fVRY%-xq-1#F|S2(4biJ zSpn!$toio>(5hJT2LjNqSo0qQplPw@KMFwSV$FXNfcC|jKNNr-#+pA8fVRb&O#$d; ztl1KPmd2VV1fZ|6=KmIe=Ej;o7Jv@Nnm-YMHpiMj6@XsHn*S^S4UaW{CIDTJHGeJu zt&cTN3PAs3&3_SqCdit<5P(j|n*S;Q?T|HpDF8i@HUCY3y&vVT1fV;z=D!Ps?fNx7 z1JEZ~^Em-%maO@_0CY^&d_e%(Ce%j(=$)*^1)zblmLvdOl(ixP&`McL7Jz=rT8aQP zRn}4kptG`;CP1FbmM#E2mbDB4Xtb z(B)aHPk^BhTV(-G{ZkR()IU`L(hghw0-X9`K!BSlR|#;U{h$CR`V9$iqRp@XC)$h% zaH7qq0C|&Js|7gGV@!Y(J;nt%(F1&zz=yUqgUX`=$jr zwQr38r}nKC;MBf#0-V~nUVu~kW(3F^-P#}kzcy=~A;75}8wEJEV^)Au-Om)@RQF8+ zoa(+=fK%PK2ym+VSpwwkZ=Ef`sqW_paH`8z0Zw(96W~;rZ33L?a;^ZUx@;HV^!yzH zobGqN0H^z1Ai(K<7YcB?-%bI39?FXZINf8H0H<>=7T|R5ZUIi`ULwHh_e%vh{eGDM zzZ_*7d=Eai!RPV04Soeax52N%=PL#H)hPE0@M}=gZvejzCH)5Q{V3@-fZvGnS^<6& zN;(hVx1ii7!0$jw*8u!Zl-CRJ*Py&XfFDLl_X7A4lm`U(Yf;jD0scCaHw*ALprmI2 z{Ea9V1o(X@4+`)%p?sMDMRi&)7eL&BwQd#QZ$){V0Dl|G+XeW;C|@DK-+_|a0PuIB zq&5KjT__I;@b{p6r2u~~%DV*k`%&I4z(0WURRa7`l=lem-$r?_0RJG$R}1i?D2YY@ z>~7W~8Ue7tS&L`{z!qmMq7eYAoVAEX0PJ(tdc6QFb=D$!0kGLwi|7TwdS@-77XUk+ zwTNB-EPB==dI5~a%bNvY<+IiU0n#GX{8@`=3cv@zS`P`p8^BsbUjTjq)*|`> z@DQ*T(HDTPfVJK(0IvaSEegPYz*cL|E%10`QHn7S#iQmxQ%G zCcu7z^7jO|g7V`6@S(8QCj{64O1cK%9?IVrfQN;(J}CfS3v2y>0K6`&^(g_i1trlP zKxB}$J}tnhul`7YQ~!TPfWH~#69Vwqu-0(_M)dfs0AGXhj|KQTlz$=s&kk#SPJms9 z@=pag(e?8JoM`z40Z#XPQh>h_n{Z;?%Db)0r;<2>stcwWUnYBLF`aYyFJ?JYKBz zT><#MSnF>E*i|UMCjfsKYth^Q;2C4B?+dUiQ7#F#)!w_Xr{ zXOUFa5b!aw6QBhF-bQvp5`f>4ornm)1IbQc&Jf^>WG55>cqQ2hJdXhXBs+oU5#Xt0 zC-6K1e3tA4Jr98QlASOG;KyVqECF~l*@>tCJBHF0fR~eZ*RT{(a+}<~H-K=4Z^Otb|pu8rD|pa_e^M4c5cf zyfbk;@y)~!5+{=^nMn2~w?v-#|7_NwgbvX5q;%>E+Ro7VYbv@s`sryKGvnSfKre|Bv{+<)PW^bi; zw)er_r%O_4b?MQ*Y~OW#50>5XVr5n3vFb?mj_UFL9sLgstRDE#s!glDG$;?I2j>T0 zGx)K=9}gvlUN-dTusnRm@Xf=Y97&998o6rZ<0C&9)kkk1eQLG7y0Q9oV>4q5V}CV1 zGyc}`Z%#-P*@^Lq9TRsdEbs*G(RoeDCBZCx2X9RlBQpy!QR6 z*{MsXZm&n{ef3TC+w0${|FW^QaeL!~jpnpFy?XlW>077YJ^i&ctJZ8<^X@fIu4QW* zYwuY5k+t7j7hShy-8JiuuKW7>UF#p5F=uveXlz*6@aP%(8AE3rI^(+=CpRA2`1I_S z*>}&LI8!=v{LDMf{P>w)IrFER+)WFcKDc>g^ZlEDyrp}~!j|`*C7m^X*6y=De%4cG zedp|l&;Hdp#dF?y&iA+O*!rnCY3|awH_Ux{o44)eZC}~;({mH&HqPCB?p^18d%L&& zg6(%~|H$@#Ja6@R51jY8^S-kqwd2wAqvyZw{HHJ2birL0eCk5?!d(}Be&-u@KDP78 ziypt|2N(TnSNE|>XwFF)h*Lzn+_&(NNQJ&*7C@%-fcz4PCm|MeAHuK3=SQ&&x0ed3z*HS4bV z(lyO%Q`e4Md+)X1xNhOP4_)_}>%Ml~cdl#h+q&<*eP7$3*njE%ukAm1{p|H$x#5}{ z9=_opZ%p5~^TrR|c;Z0g!0rQ&ANa;i?oI1%TD<9#H{Wsd4{y0|L0Z_d0RBS0Op18I z=NpG_Z<6Frd2)pJIy{+3b@9~r284#R-fDeDo)|CkAQh<9%H)hRUX&6J*VO6=4_2>7 zNU2(>PSx?RIyEBoI#MzrPS$Wza)j3=XE-iTCR9GuzxjgA{rQYtxxC_}^NRz$JYqU- z(u@_7YDDVYE$g~$r7 zabRK6=tlZYM#8fV-SLufN5-|zWt=-{LsKHMrn?Cz zn=s8p)-ioYmt|Qq(lPF>&i1VjRj}D)&;rZaM!8gPs9yT@SQs4Q~_GdXUtr^+vzlXxRP7MR6E~J?-@OJJa|8VnN>E z1{(Yn25MBI>+yVCU#ix{SQ9j>Vnp?ha4}S_?e{BA!)|=MYhq@iSj1bGpBWk-%7kwZ z_aC^SV%O`ju8FSp30;}?ZeXg3m1)mD=EH??C0Y5z}Zv^*B%us_k46QF9Xl&r3ux99Ec z{`SLr_Bh+0d~$nd%tD`lmQW|khkelb{bxAeIoCgR-apfM8#t&H5Z#W=&pX?{@P+OD zdz?KsSg^Psyn##Nei%LBIQr_SJ!*IPUH6TS+Qt3*yV~ddIdndHt{ADwQg8^rcU^yd z*VW?u;)~7;M=~Zy^-*!3;?p?KDf*rJwV%6zPhj+8`f2m+=RV%P?=p|b;klSJr=EPO zP3Ns!XAk}8M?}9_9$n-)JFM4J;-y1mnKS6_yR^Aq#UWlyXPcR+pU_?Hc3(prLLG#w4tcG zWkZo}l%xaGiB*!!FWxLk+crz`HqIqU8d_3xt|?23p+_{eXAmsd(D{zZyLkku4B8UT zS>h21jXTB53WyQaC@xcHxHWnK`=C#}q?;cmlA!~-vOo|)cm^`t#t zH>VBb?Cs}8WQouD-rNIsKkx#p;ec-+}iGV=`H8Qyr75rMDQIGbd3q_ zTRv4oBIi^!tawSQPoPuJ_7?oDvSl7Otv5)OzMHFs*AzzH96rm8#~+lppLf>WG}P|S zeUaCJDB2iX14^i+WTK0g>Qn2%F{NN)s$Qv99I3z)F&<1LQsYx#_ti>G!!t{XRDFDE zveK(2QYQ^l*Zx2=?4T9eV>)U07aOOEogbz#ucGt$%ZPD##Y63I+v zz%3?C$#BhzucA_}?`s8{TQ7;OdZ+H;X}1^l8LgmkcUi zPcANr3I@q`|7VGGxnw#kYAdI#oKwM=>5N%$>ywCdrzkRwp+BC24yc8iV5yp%z#yG0 zRZ&b<2KoGku5QXjI#0 z7+1TFd$n=DtnRtQIW(_H_N9x{;_rAv{BbQ3jYiBTOxHD^_;e(4%y~~l`hZ>WroD#W z@OF8 zZD%1idpGDdR)R{6&T=HJ7(q!KI$46QR2{2SYn6I!QhdPsAP145myUriRPbIOo59He zxMc70IqUfpuBwiWNQ2N8z%#>J2Bj3~uSF;-V3-Fb)zoAOYPS*=rYcE>YlBA<7ndW7 zqH>N?Bnby15!*GShb2i>pi-YY6rK^@gvWw--d5ASU4G9=SvS>;8nvKo>sAyWO zTh}$N>n_~`0wCfkc(&^5^k-w9;}ECE;t1F1kbmkvQrz$AO{;c34mRA88-jkXA|LSo za}*V{(m_+ryMj@GP<%19pjd^6s{}D%h7~coD^)j>j1I1;IgzN&t+6xK{BC4aR&cvf zMXuvX~8-XJqmj!!gZlU&)qm`!3u)$&&}Z0+pe_OEiwDOs?e+*EFPIP^QIeuvyXO$gg zpo;X>qSbX%&>a*EJC!TsQ&IifR;s%@Wzl8XT-41a=`!xPF$Y&wcq->cb6L8~a)ZFN zT%O7V)qE_LuLhYEr}mKVP}uA-=;J{+LQBv{29ZrP5oQ2yK<>_2@Qa^EG6Q;K2(p%i zos4FM!h!?@nI!dgN#99uz^V?9zxX?idhX`^ML$o(_K4WWArivBig)U-(m9B--1*Ek zI>Dr_`PNb2pZ7_ci1#D-MBhX?4AU@L3Jcj z>WyI{z%8Sac-X*6DaI*y!HENX1t&*pmGGB|aX5bPf+Fcip%-XkypG<60ox_f4@vrk z*QwcL$hQ>B)FP@9(WL>)l2s0sKB7i+#fsW`RCg33V#d???%p2PjN7WCMMOPw<8qo|jYA6sax}(~0GuGSFozKKgSyvoAs-To*N8TxML-VqBzF3TDj)B7w zRW~$QiC7WMv`jn})xfiGSXT51gq-*TsR6}8uWQwIXNoBY@wqN`Y>mT z{Lzco@9}nzMU9xQMIs=q6E|IIV>)g|bPzVGIkt%^gA%f&%9b@C=|mSDtSAc7$q?0Q zM4`rlsA#PcH8vBawTL1KDu~uX${TLV&UQJ)-`nl&S$}a!heHn3r|v}Qp*wqeFzcv0 zb<38~Q?TbS2GA2xtBPJh-zdtZI7How!654)Nzt*!X4#4wpfJuRBiXinl>b*RL9oF13ouqopjJ?-jj1JA3zHl8WT{uHf!45mL(e5CmXG<%I1fG*x1c=tb|t-7EYTNFN28VzbaOoP1x3zAU9%FC zxo&~OBWNM&QidL@BF8gIwtbm=S3zB?S5XfzNBYLgZ*|rx3!>gCzX6#rADG>*N-f|F+t_PS&=&#Sf$6 z+qV<8opTiMpo&-V_xIRY+u26P>`Uo0Xb{#Jo}53WI)m|3ixc~kI* z*4s)Jwg0sj#V_i-7CRqs1lNTA64dS_W-;PfnWz=hWN}gvN_fh@9T*b!$avJehxoVolp6eR#8r? zU+LAx=+nEx_d;2yQR>Tr*9ExI1yd5 z%&6^L_~IJ&iJEf>27w;S*o7`9pE6^l{o|Vx>v9}BYFe5e`Phq_&~DmF`51)_ipa7r zoUp>rtbrki0y8-=S*gM-MK6S2e}oiD>$chUBbnK?ea||grD$cqyKtc90G^?h#AQfvY4apt^R>}psQV3_5m1FHI=={!W zxow!oq#gT+UFShBFih~GkbPErYCTCHfI2vl#M^NjdO~-1tXQ;*U*_ubzakJjJp(^< zemm^X`Ll*M4NlRK7b)muDOe^$1Nh>$Ag8%Qh2P2N~8aA|oU=LKX^96q*a6#ZX@>kFcfy?Ed}^uS8wPX&r&6Yv_kLy|%;| zSJbu+uPs%!)7>DwsBO9Yo9jC|iu%T6OAGR0eIs2N??0?Cx7#R+0|!y2c~&RlnG z8j-nW{*F2);Wb;XGYo;1WNbU;UPSK+QO)~Lr`|n>Y5u*G${{sRBizd|MPEeOwtP)s zUaD9lL-G|v5}_M}&oDBfUDvC-$How5e8?FecN(9L&&R(oHXa5V!{SQ)2~rzZjPD5U zB4#%xGU*T))Gry=2&c@wbT}XOFv3qC#HZw8lyawh!CM8N)oMbftPmZ2VO(;h!1(!6 z7^kEvBX48M$+F2WgR8GkpgS>xNiy>=Mu#gC0jrHle+PFE_UbhA~w-C0!62Tn!EesvX(S6I~Mgyr>FsxRCGRLv_wi zxv1Kb=|7z}ZZFa2MZ=hzJyI}IyZu~J8>R0%=Z+Y&y=vavW8&q{%^5Kyj|qB_Ka})u z2lP*aURA6W8l!wuxFtf~8tTB%hYN^S!Oet-B)NM*nV^mX=zAcTSdY`|s3>fCGSR&S z1jfqcV`zN2Vrc!Q;Z7-sy(Rd(VP_k8u6i)yVUI(dGxB7kNBVorS#1gzHN3omVxCT* zF71pF4Lw>yKY}3e&Z2ff5>Z1HEFa(Ci8GsmqyHf&61QUchq=#*-6SZ^Ik*U zzi9UKM+|cc^f`8Dg^%;pvn(2qoftp0R1?jviRk{QJ9UrY9YV`SmT=Ew#;7)B9D9UX zLHaIozOa+aFvj9g=sQ1?Ry88FglZ#*0Pa5{(RhOmOCu~r8cLWQf`~nw0+sqGM+|3F z>f%$u__E(qNYW3hs+SwdOP(hchI8$Y99Cjmi|TW1*{)Z%h`u$qtx}imKCiE0^6oSdFVoY#VHjSenBV3FG|xoa zHvIQmMxitk+W)ooj6#O=jCTK*8gUV16|SPOBy3L7?a5Xt(VDkK<|^ zEO*Ya%C^c*ko8W9$oArHnD3CVwC>op%C?;#;Hgtq()-XUjkh!R$=|98E0|*8Ax9$i zL#Y*DM05VNo8b65)|g*B?s<3mOa7T}0yAwq@pJFE|4cYf+HHfrN^K**Txe-w7Q?GX z{>DTYDTQmcLM|q*k^gLoe4tC3Wt~x}Jnebq`9(`VOvmuH;J0;*XN28Ge!BUEg+(Z1 zupluz46Id&LeuL99oJCKp%1|;Q4R>=#N-ddsK(bKEO8B)Jz;8ymO`(?+No<8*BT@> z{4@x|@I;`&D;%7Y+qkw*E=+A)QGLD$*Vz5C5>LdWXu|XqQ`2R> zGo~00;zg5I)GK<1?M5n%ELS|b0dAA8Z(MWK!!0taibk}1cy!f$_JEOyN=_1@yC))B z3fHtj$FjYccyw8N9bIFk>3u7;5!hCvc@w(Y0|-yus3p|{ZHB-=26 zHX^=_@>;5%s-Fx~S>P#=YiHNsDcY0tT_3MiqPUWCKjy9SVm{}k{{B+aPDP_BTY5~3 z2SHqWtfP=DI(e5#QJjJ#sUe_HuY$RhCa1`;4~rSYOaoI2v?MWl_@IO28{=}OJ0r*KRK)kW zjEJF@N~g4>ot8Oxc4{u_Hr#P38H*+P+^U%W!0NNky8bP{bJ&d~5;50KNw~@|aG7aY zCay9}?)g&6cB4^u4%hHxEdTrZu1!~T2czyasV!FoHzQ58Gfz`1+VtOT5xGLpmSpL_ z)D+)2c3{^7{(q?*AJz}LX9v?)z^-renE^i3?vpeAyFF4DwTHl~|K|;mlBe~>r|-St zQNwgP4M}o1P8|_Rp4Jgpy630P+;_Vgc~$5p3;79F`u#oTIB9&{Xv3-b4Wk}W zpl~MB_yP{Z`}+dP>*?=HMZ7{ZpNUDfkvzc21brrD%}P=$2kuwHB^- zq5rgPZI>i(eWfNy8W1TLD=ckqZfZIIF1fSV8 zG_-4I&6;9yO<@UFPvEc3-^BSCVRYg@4AO~dVaqez4>JV3cyX?@r8Ix| z!20&};&(`r(&F6W(yN!RTlR^OXAgr=o8Gf$&*bFf;{5!cfyo+Jim>6tdAMGy;-~qO z0PYd$gl+l@n#_QOf}KiJpLhf_O<23I z3!J(Rg%Wx&?5Ro8N0OD&dQ=jD3-TUnc)>_Tuc~A(!0`n)PPI;I7dQuyh47eyJ zCN=PrQW6%|)Nbh$*r*1t%e5;%VwkThA#|M|HYYER+eu;tFJ&Nh$Y7Fc+%+1Ki5*hF zO0dfcZt)2zhAgO$Tqa%4_m#+fH)2k#b#07fkDI4hN=8T0Q8<#pa^U<{9V5EajOFvh zT?7qz6nrFt+y;14eGJqvXRZb%cFy-_VzI-i>mdvOQai5garJHQY+n;waSaHue9dS+ ze|ai(q-PJV`D^Pq9MIP6k@hvjuMF6I(4NubZN3BM3eoEzCjeo)Fo^^q40*gLQ^p3u zrlC--%?pN;L;wN)dl!&Y3*jE!MBcoqtFo3)N!;bq3mqOY1NAx5{Bc`uL4u7~Cr|1K6SRlX1jS2@mx| zV*?2`3O&+rR$quH87r$9iG-yW&Mz3U9z;~6>?4Z^c~7#sHy_QF^3l9iFmy$wQ@vzT zFHGrfEUHH7#2*-1*2<_7B)Ne*=vKnf!aE>r0CU{ExezUs0IQ%UlW{#0%_yp&7qYTu z#q>DcA{^R67s;Zfr1y~jDG7c>Sush97!u=v?NTd?q}pWt;8D!NJx7l||10O(YaM^< zL3mW)XF{&8|55GC*e3n9tH)@{h`ImmWxsa&UONkgBYF6>j~^H3K+mUs&xSr9IGu#U zQyM`I7G?!yh>$k|Q>Hy0UYDtsbk7_fFKOA)v6ycRrOi?~=y#4?a^?g6T%t?&JT1s* z0z!lwZ|Imt47Z2=T8ss-u| z(VnDQIAGb(0{p!a4-D&#*DH~|vCY$F)n=3|&=Htm{GZ&M+Rk-mryKdG##MYCrA_{2c4 zYSZRa-q~1kYW31$am3E$t#prVc8_NJ)&|LZ@0^p*q+)1XhZjD-VoqWnS3%Nht&7*5 z`%mVii)(byh&;j_-|<8{iwOf7{48j@l6UTiUy)8<5#O=*iYw0R_?0iw(~k%GC0ifA zq-}@N{fO$UeELneyYlkKUVI(0#&Uf)>Wwh(1h;-;i>YBr_ct{eTX%KCbsx4l%#{ygR6goTU0+#BKmIrwLSK8lGp`1r zvvK&!HX>8w66%2fQz0)@;oxJHzD;S+TTyN8R)kkjN&%D*yVU#89o>tkYb+aO8vM^ zrsz4{d5-%;;|1hv#-mX`n;qvoo6ijQ#N$1~nL?XJG5?Mf^HjRWYz#^WtoM%MWBD?{m43Saf8!eegW$~YWdckiXGqTZ6 zI{NlA75cW~UgYbbdcgO4+P#q5U8*f-EiIN8D$7-=ln+*x>(aTNyt8fkLNlcFXByOr zROc24+iAffgk&r&9qSN8_%^9ckx)7##tYlCb1$^z`21|AHITszVfNIwpXrR3cKzYv zSbn~sBN=s_r!SQo^YcW6Fn+akq%k)KC9LD8$U;_%z7W|;;K6MV3+_bJ?2H_e*7UuC z3_85X$e246euUF>Zmvlqz%&jbS123}k5tMq62RE;_pjI^1aW9Tl=z{Y6slIFvg1Q- z)|g%G*}bKVY1(`3t6=~33=O%kyAj^P8Y&}GDn+ld_r`~YdJvJb;Q?OJe$rfF7W<`` z6l{=cS{UpJewlkuWGH*C^6nFboZGY5!!z$z&dm-*-jn;YM$W{6)9yiY4q6e`J_r|b zxN?c~0_1yO0#1N-Z>Cm{BGmQsxy567zL%=ec+%t0eHU29$>=CzAO=%z@hLvqWCqQjqQtXW~?5VHh>g!*EF{Ppc_fvm=; zoeKxN-|&|X9z1vm^LHtn0?+N+a~PQx=F=3g5OeTZ@EQxP1|@_-D>ymnC(8?>G%<|F zr#_NO#XGOQQ5gqNu#T`9ISE+5yUpr+t2n*^)4)`>AXOmwtu1k zdXFMkZwKvr02xm4$|O08f(a;*p-h7lYXj91Gp38&cwHQ>B=Q`^U;qXxnSe+GrE&&3 z$|?5%y6oeVW~GuH9?n)OW)&uk;Z$N7b!bS<#43)FYJatKI-xJ>%UG^rIVRU(#M!o- zbka_#Cs6EsZ+A+K>hnAk-bvh4w_bFc_E*?TReI`b$BL+$&P~VSx}gL)k59tt$d`Ij zN;KEoQ$$2r=+U%(j&y=#+rvR(4zlh)iELFc{a+HQJ?vHH=fS;B4{vp3Dy(>&tk2N4 zt|EFvhRMGS*=L?<4}BKVk7L93rZeqfzi}9SBkUPkJ4!sOlV3>|dnn#W&r-s$Q2RS- z3(2rns+ErUd;IYA{6G2g-n{QW?H`0M0Utp<@e2%}1*ARFj|<@sow1PM3D%8lf7-zn zYf7+yfrf68)4;6RW_!#o~qarg@Iympy2s9CF{?m2XkTV zO2fm;)#&h=a1HA!>}$6Jb)W|#t(Uyt;Q|9n-^GenD2Ctw;{h^#uwbW(0H(I7#2;a zFw0P?YV@-`V{T72_#jdPZ&Bh_kjDwQ7Pml_5S%EoY1U(3~D6n zX)!GxQ==a|JT~TLvsWW0n}@b==n#bdoDFTCG_1TTqJ(SN85k>I2}0{4O}DBgC`k~B zgK982p6CrFDjdpa7;$rW!JtB)e#)0-B4FCaLvJ|V*pK`pyxc@$-EgeSjb(>pZnu*_ zs+>5=gBk5pLgzd>y{(+^@XC%`(eP;Djw3=sS zjl&2p>A2+aNJ6-hNm=jINNzNa9G^9|_Sypjb|1aP-l3P$ zehwnXCk`z-5AW{)taD_l_#|&ZpHWFL^#01!LBa z%%~3;#%$woqp=Uc+(pCdvQz!GeO|0k+~bdyg|CoNKk?NrRhc(Wj5!Ess3nn zM=YQ7M>b-R;e{TgIucDB%$W>y{eJkY>WCYh)3ItP`7W$3>O_kkp&)=f=s-BE@IDT^ zpIngRlK})8j!le1lbC{X4cm_@aT;(57+x_@Zhjl1Qdi%vpmM z6A2qmFw4}>_3WO6_t&WXzIkegJl$@AG4JhZ_|v|Qbdq?*h~{|%>FQPtD*#f{7NxW- z$MlGg_aNRMS_07Nz$3fbdY-Ui!f((jU=<_-sy~Dpj52({JLQj?7wY7(iI z)AdaU^-XJa{osCo+=r<47P?_*M z>3NfWzjGnq=oz!ep|L}L;V&F(lwt7VRRS1qq|;-B5d$GppJoUr)<^XUt4G!j zjzZT*J@K}pT#GYdIF^#&K)4RXz@jk&p1e840S&`94Zq@hkk+U0a<>tS_|SFd)p$te z$`iM{+RjlEojW9Zps50J23;g7pA=~Y6g&kCCTEEt&Jxwz(1)4yZa#T$G%|R@E z^WNdDbsNQEWpNrN$s!D$A*jEI15bPJC>EEVfI;#^L)anVxC0jgNkOS9Rx9tBo99~h zCHwbZ(tS$L*1)OYxa*un799~XJbR%skCX;+1=NR2kP_SW_xwBBK1_QSA%sY3EVv1T znKpvV6o@if%McdiV$|>jnj!=puLde<2pXl4RjLjGz9?`hmPErLGKL>3xcI}^s=@MP z2l?_5(@J#3ky9@lriCX(LmuAHIDadL4R<+UziS+*%hJw!rv75Z(|NJw!5=8+*I zyUbM7yzf|fBbI{m)YctGPL~rJuCZf|Zd$P@93ZK)%9;+Bx?j#EviE2wPR8uh?-uP34bKAT-*Ab1v*eZ72{RXnaL?a1vl-5gZ3-%FD!V}URbbS zp*jZ-I@p(}eXY~EmTZx5KY_6D>6+WIFHTr|z&?1;zT<~<{T*%E{}}T*d}dudGBg59 z+V{84MbEd+|Lt?PMK822cwy^S>-_Vd-nPxU-~!@9*n?!G?ayiR#UM#R9AZEd@U6k! zLOgPr6P?oEMU%jabnA9kz356wz6BPsW-T+LmBGHoaIBh+cAqqNLNx<7LMk*S<5b9# zW>?1jE?66#^c|Ruf-jN(hBzeUOOoyeUVvF2RxbIHx?%DY1EAOgs^z@`({>(fN>|hg zVRdlvvR8?pG&lOFhj*$PwS|R+>$Mw5w-)objAz?nt|p!f6Nk)V2nMJsM3E%b0`5IL z5<(*Xv@vcZ%>!|D-tc$0+P;fa_bkKz>}R?*tL{w|^+!?k3%Cumi#VwZ$)4OtcA4MDxo+{DT=m~derufA-r zFS~R;Y^F@R98X7vhm~}!9Mh2x82D5g@y zfR@z3y#LN{c&d#Xg;x%qcB3=HD^^^LkGSPwq$?MLpjY?{I%9J$iCE7dABVo7a%8@4!hHxS>!mEh^tAY;h&@mvv0bKvgN zkwF!=?KmyCfdwjasYrQsNA~P#U~zs#(xjLS4#XuN%XAep64RA%--RjIS4(=#!fGrm zq?MFJ0{+hkcv%EH(Ca&^bJ=A(keoHqF4(!d1Fr61$|nbiRczY_wmL?=q#9& zJ{<8AN?A3d<@t)oG1R0PZ8Z}8jajV1p7YE(qz;-M+@6w(Ae4&TChCnwoBu39X2r;Z z1Wh)~c)5`v!5{ebX48zkSN!N|mbOd9uzTA#zUvbQ6#L%<(gla`~BW{%_i`SuxK*^|v z#ai)bL~|QqIuR%8`&3)zekar1S~Jxbzd1VqdiX4QgI3l-u+QG zyv|PN5|48TAxDiw0wJa+`x>nBxqZ z)TSs;N6-KsZ7i)owiVi3g+Ggu-l0No+i7X zUgQc%(Q`Ra5p+g^)^O57dPy>pE04>u4z*un#)z2lg#AiIju;NUsFn?V89W*PV;=eb zdZ1lQgBlmn-t2WK2+$yC?O(X^kJ8W)0t>@oSa1nCAxwk?Gg380fleew5Lr6Ok~B0X z0t$dq{@E1xB8k~hs$H+!Sg>fjn(Y~}kRI(3;@MgX$HTT`>Ew{++Io8kV5B(IQj8PL z^ehbni0bbq3SD+rx82occX!!ekE+r+mh|l|r@Pw`cc(EUWG3ZZ7BFX~KqusJw5cRqjWh^4M4C!z zL?g1pUqmE$BTkz$P|`^3f@wnEOqPf|zKKPL>B0))_yrEy=yp89G16Z|9PiZ3ancGh z!$J>jNDkSJVw~WTaF~SD;Q2%h#7JThE3!3K5@R&KJY`(?#J?y)8N#N{q21lErD)HS ztHNo~4Shcj4T)GYan5Q(Ha(VjL;j&-G3uzHPcxD6R zGHMv8MuIrsL0D8r9au8c*iQhbRVs7-yKovR=cA%HW2HV44_D`moU)E8P_0lac#X-@ zrevdVn9-11k+KcL$$?|?8biHkVcOJht|Fg4tkc4B>b5YZbo1HiH4$ZY!8iAXm8q;q z-=;az<|Sf|TulG7!+&FroX$vIGG983MVk6=%$8HEWTnUnC(bfs0b~5HPanvimAvGX z{GrM8p*CY7KHlLa#B(XPkJd>b;spIW)VhNtX&JQC6+63;7EBHTt&VlVGxPY4yu&Wk)&`<#39MvNDAHj5_vT5D%OdLz-Wz$U#tV*~@ zcQTrZ+;BRMrKKa3pF5&s2{%FzF|UxqYI0A;o)VUXmC%NsGz;+<^0Z=RY!tpbISYZR z%hKW0aYisD%C zGe;s=@E$QpWwlUZmkh2K-IS{tG9oTEHle{rkf5Hz-Bhd#dk!eY(agYR+LUsjd(A3S zmNU48f<@}sG>WTO_(eMvASF7g%eG$);(h|gzM@1U689549#lPBjyUFkESrOCx=$j~o1?Th`e|#0unz<6IZ~-&T?K8yfGs5P2A&s_DjJQDL8wOXu!n;Pt1b}RKtx~^ zx)YKz5bMCeDPoZxcACO2CQveHBTk${R0#Lg?B7hg^T>)FxY&gO9fcj&pu!tkcQF4HxOH~$b4vW$gBjOG3uFh>|NspWs7I%F5TU9t2rd71-XVI z$81x_`XLjFE1V1n!*48Rv&CFmLxjdDI6gL)+nUNNnZj5qm&+G3NA5OxdZ=Mf%d3;@e?4Q#UmiaYLj99@`!|# zJ4iand^|cVNhts?dr2K^1)Bg+9b_XJG51~t86VLU&GZvUO3sKc+q%xy_h0H1-FQkZAAXzLFhK6K8 z*HCD*la#AbQa?O$IQpDtM?HVt#s;1+JK&$abwnDQ+v2&g#_Y_X1E=cdV0t>p=H;IJ zFgRszAvtsIIV9`HWD5wEJ(BWkvSTWrm<$!9mT!} zSm8Sd-3R-N8MBL{Mz2=uw;U{I!hpuEVcUF!WBetfVtQB%JgE&wrwk9PPm|a^2zHxh zDSI0?O9Pe2h>87$3ORIf>RyMt7D{)L;yLQC1a?q+ zNQVw84x2mNjF@B*(wSmuFPil0>vD-=T(Yy3!EUc7>RH%-a%>`*$ws=e@ru`##vji_ zAU|i$$fh%rgG8p`p}ws3b2$-%GN1I~Fqvy>#~mo#4|}wvWreSla%5<&H)sbRK*$Wk zK;nweRZ3~9(*9rAa%ORHu~VMJMiYaB;CK`=#3BF$*Tjbh!XGfa+PVX-h0YnS!NGV5 zgA~N&t4bAO5sVpq?|Dlwo_XR`6W!~}Cw>3mK|HJbRiBtpcg^5Fr(*6Dbx6W)?}Nk| z7dyDt1E^VADnScuv=rVct!7-qxD2MWNhIGO##X@!O4_v*9zSfq+lxz3R6BVBKk=|A zSg~BMWE6)Kuj;9>o()FHi^qml4{55NT8z_g_*V54H~h_Yw+WxZJ*Qoeq+6-c@bq&N zbR$>sa<~`v0P(Q*MdvYVgo|UDMkS1sBzVCz#u+qjtPqM|d#w_(A2n>Mq*a~BNCcuQ zQH(%E2LoDmyj;EB&cGhZ_4N;w^Dg(~@v~>5Lmw5#1_t`_uH<7U)xJ`9pbcv4?-AjF z&u5f%TA$yQ&>;mXiM~mr+UuRUUN6%j4Tq9ojd^NIKJIxLQ+QF@{Ym`74*MXqB52ng z+FxI5J5kBuxLmzAmuK=$?d(mfuuijgINd#&wujcQDPgDFs-OVR3~V}Q(#fwcXNF4N zQfbZlAv-%% zY1^%;ytCh`Vrh^R*tgYynSY!%Zp9{U|KW8SW{TMF^|b3c^AZ1RJaNWEC{tFf)fDSH z60|p=*hJ`l*)$NFQq-6(#YOb4ot!%mL4G@;@^ZwE?Gm%Doy6PWi?pUNj~Txi8V3HC z1_$0|iNoUC$&Zf_4rCWQ~9&gaCYm zIx}K*n0d95zeD9Zftj50I+-l3NTf!*>p)+;&$@2$eV{AO-Y&GkUoz7vk%a5srP4;} zl2@<#JFWv;o+CWXMZonYuSJK_XpOD~+Z{l?o8^J`Rx0lqsNe~qMH8{72=+v4;6K_0 zk2XvXg$_Of0FL`TM5iYFI;$tiv{g=f@IzcQ8v)ZGz8$cTCBM1eZ?CS}OKVe8)4zYgzSwi> zl@I7vxfncU;`q^{WB2pkSNMN_NcY0{iB0?&SfgQFi{Kb;+|be%#lOG3Nhe=$zWBfU z=imPF*7;l@bU(xs^D$}hV1#{a_#X3{R}r|d?Yi6YsORxdK91`h9>$?ajz1rqs<1bF z->TOq`ua{2wPO1FZU-(?0k0U=UGBH}zET^B#T2eOc#l4B87soJN=?F*>3aG7@m=qu zZ3kQJq3;vk<}=)b&x^H-2n2K~3LUN;9tq#)T5dv^LU}VDub=;tZ7OXNyn!HR;8LyI zg=8){xSkj3kMHu_aqn9A+}k`^`XgMw{aBql+Ae(Jw)cFoXMLBx&pj1Z^Es*WOFV09 zTt3A$x>fvf`I2oSEgIAiu(p@`tZid@W9wPe?q#)u-|V+<-rUkLi9g#G=F=VRr#beZ z_pNO`GA?1ig!N2_gPr{0qURTsCBAjQsu1I=B|G2?HvB{4#HWd@61VLW}$&l|h}X>$-1rWxP7`R_AS^j}68ll5?;2t&+x*D1O09z`tGEm3V%etl!( z#*OitH_=3ey(3Y2a=pYqhS&%pVmmUTbPLRF&^gjk(n;YqR6YFk-Q4;-7oZv62!6wH zQ&UxKUl~RRN8hvHB7*w;+^9o-N_4YCY!dorT1aaMaafD+BO-?vM%pbA<#V~&*<8FU zUCb9sAcjQCJN5u&e$U;#t%KPDXcM_&x^g1b(Uvisl-Ey^01GD!BW|VI(k7?|k7OT6 z)FM$Q-D$dRd3QCdj@L%VyHz$@>=3sW<9?ibTRYmVRHAqHLAddBHUsBeY}>R;OO7G5 z&4lhiOJ$IeYbF-!+B3SRE9S-e#*dBn#jdyYx3>1TRfjt|hO0EO?%b9?QyH{Goh=RF zxAEty?IrvN9p0D@`#UJa0vvNJ(+~>;euSs-QBHy zeF95~mM|RCqEnG*647BwaM5?*rNsRFFH87(4c<+2q zK^Qu3dAzl%c*4eVIJVkoSIN28DY|B{`;rL(Mpp#bpfpHVp?c=O|03ei#4|P37W_!& zF}|fN@U=s47$3imyJK~*Ta9<_KeWF~Wk^Q|4V;p!Me@t}w^{N%ueA#Lf#j3mFT|>D zQ)$+HAFVQcyAsO_&!(r3s-Ljm%F43wMBB$(|M+%3{+W0|r6+$Rk@%7Eqa7XZSZQOS z-E1>IE?FW0?&u5DL$wk{7~dKAd}{W_)HihG@sB+H^rLUMZ(Eyh&TDkL1kn>EQ6j*q zetdF#^2D>x?0n`6&(!$0^O=CQXIlQJrUM0$bL0xhD>yhJsUr_cAO>p#`e(@A@q66Z zWa6H?<=Y+q%H`T+{$_W_pNS9c*54msduyG%#XAHxFfkM|b)`GdSdJh-m&PtP+8Lgh zJ$I01;v;>%W1}~(&dkhMLjza)`=iAZCq_rZan#oGH_ShcUWX736%i*cxTukmfF}@O z(7=(X{#U8gN+iv?VKO6*sbt1AUh}oD{oFD86Lx1ZZN@TqAlki$(b}YpczpN7doUpR zyvg6R`~zCo6TH9KFu5}d3h{@)@L%g05e)`uIMwhdRUfuYG!)`ZAPTF3WI`*Vwq)1X zD3bG6+q$yd<&<*Cnblh?cj2UoUsu*CIf-;6noWbl;}-h5$V{nlr2@+2fow7pO_bf- zEAV_sm8-dYqXR~(*4Yqlpr->^qj>s|V|Nuhs;xU)(`3(7${8=^vb`jE3fpHlG0i?L zZ|Ms#l}GqhyT9`XTmNqYW}`s>{CECl%XhGl64&X+8x;2PFE4H(Vxp5YMdCZmB1?0? z^x-Koq)-gFq(tHXYPM&0xI3JJ_&ktY!o@MRjT{t~V++gSAOGbRAWM$Nye`q%rFPN8(ScMcwsvH@a4soAc)8YVP2m(|NJe;iqdw zl_#yw#V04@pR*=Ed*T{nm#^26ERl0KMY1M_@521_pjthmP2yDmNP)y^GJ$(9HaH$P z3fn$b6ot7ezukPh*Po6}#_u!JM^79-p`5+e9_RSn+}yA3+jn^?TWE`0Jw5Swxlq1G zb#|(v#5QGj06gr=%^7I0Z$}buE{nM*VJY;fNWPdrP+Z9(uU|4uGFtmecdpyn z{K820@#Edj-n~uz?Q|cXsUAC4#Ypr+j$e4B>Q&vn&Yl5wI(yx!beqqoh}YD^M+V;~Md=&9F1es039eaL6nGG+J!|D^x zfwC%TKMCJnCPV`Ep6(RgqX4w9^4l2ffZ-BtOn-n`d* z&b&7<^_qkK>Yy=spHuA)4+ecF{vsKAkEkCRGiU;N3+gOJczP2028Dxwvg?b-3~zFZ z2)M*sqoW1i`BjyUV~d!)l>^NpHvv=TgL3%eQSL2qFX+2e7!xA5gA7~5$kI)0Ficp} zHXjnkhs;gs=n&5f<3o^8Q49W?6LPaUE6GcZRA^zLzRmWNfT_VnB)I^#Ed@Z+Z-QEWuA5P8N`mql%2~b9RH{9d8WwC@#XU_p}q>1QUp7U z0V5&TD!(Bp$PKdW@^>>vWUZp@CC2{weDU*R6z|e`j2^>7|Me|z zWLD83h3EYjaiqjv;h-ZNV{9BW3MBRPITBe43nRmF*06|=tSq|TdQx(U3?cb1bS>n# zgI}Nl9`VT(bgR8M}f>Ch&`gOdH z>R#W5mfu3(BVYFv$_F*Z{kDp3*PPrTCFmP++iRLVWX7T^@IPBRE)ga4JMcF657YF4 zo{wBDeJv8b^e7aPWwlYOi}Yt9AR;A-fe3?*@Aer)%UeAnKcdhW9b?sI=dkbK!Bve= z9WopiNP?j~4aq~4a&sqg8`fN+Pl)(jqXfq%3+PNi zaqvk~so>{V=Ar;iGG!MJbxIA1l(iQa8pP1ECLZm6NDq;It*8hLrUz^g*ONf z{%a{);k&xq*`0uCv!YIc&;lJ!fJ!5UHe)twO#OBtck9-zif3e1m=)uKoc`z9J-5e-w3-Rec(3gax?YmpCozlIH7f}^EzNBZ9c2z;h27sn8g+P?)(ANq zy`<%SKH*34B=FXkJI4M{L@ey&h*({96bR(~Cfp{K#%t4xImFIHOuMa!-4;x#PkD~r zlZx+j@))jSyG9J-s-1Ta##6g7E-E7x-<^sda_&D0r=^Y_X0%zxCF(P>D~5I~@9d1H zdTi&9{m_$iJe95MyUN<@ufG=bOn7_o9u!`OI5DA*!sq*%Z~2YLFr%}=S&Xv++D@M! zT)!c?%KZ;9#yO5XC$vXC-}$TO>JS$nTPmEt&oP3;FG8%^tdgSggtHQu7_jw_N09l6 zb+kr4v5>M>SIy-4=%jsYBKz}GQx~V|-g6y^wu5VClQ$pS@icDDEi zBbqd0sSJ?)uOOkI9gCiJ7^SB-hG$3RCbaB9TX9rj287^xlULs5g|zw-q%q zsl(&(5?A61Y(!7*!h?*o_VHgp`Gb-uTJnBYv_!AKSNfGB(Ii$!GSiP}c}?@-fgdhJ zcMRjTFCtSpjP+wkU)$0gWSxGe_hHA|LJ5CR?+E!H!5K1X^C9l!2OmQ&wCW6%1vB-# z!VO(=UgbR8>pcFlkcQs$xSadGmkTiz(sb%3w4^3hVRTHgv@!TFoNf`2Z90#Vp51;( zQb;fSD3!61p1R2RD4Zk`4XdBk@7CGy7hVgVw(j! zZz`FmBxx&mp7bObFCI7HxD3xpFzxoadM)(zIJX#cf+w?6{0_YkQ3iFp7=icKOM3Vr z92QLcsf1MR!`A?kLJxrpThUZ)eZ> zkcp=}cb^ak{3iQ#6;BO^wT3_l=?>;0^^M^R+pax^hjF|s_ydB>E(ic3)oRDLF@Xfd zTe3DH8KX;#y&LzLJHQ1THq~-s$a{k|+*96N?yq|7d#X_b*w429vg#bZ(Z0jH?+xZ~ z%}y+Dc-4N+=^3_u8wD6(XhyWUr=9ejfzI4QKCOs#0zY32;x#t{&%+333;-0Qi9dq1 zxNFv!$x>CRk|-cxC5t7-Z_=|yA)q-same!yCG2cG6Cbra<`aRn(FgI{jHXSKXxymr zAn~|3a^Bp)MbEWklXhYfWDyq1JZ=_d4A>}KI5!A3fV7kTkfob8^XK9KdazN6D8@!0 zA*M_qJW?PUgbkyn#+_X%Bp5u*sbR5HAT}{hMRh4|ge4psWYYN%Up?|BbvZUVxxo@Z z=0121^7hFyUvG$i1-ZbZmYRw&j_pYzN2uk~mYa^d1a}y~T_GpCMb1_Lyoas8>Opov z|20XEgSSoi{#N|X#`!Tw5IX5J9u3=WNMK5+_W;tt@0aj>k?vpcPItVsywPTJ=(mz4 z-mH9n+goiYGa3(HH>~`Nb>a3`*w%&GcH@ub5JPQH{FuC#N7kU9^bV@4mj|KNa8I3b za|d2NdfI2>QA_sa+hVY~ks zbF-kONUhBv1_g2`3=q*&>|vo2TM=V$BiE7W>&SKVB`RM1V2X^+%c?w{I8o`3OiV=j zD<=};uP?;mng zg(Lgj6snrQ&Op0}P1KjqBy+Jy5uubOdgU~|Jv|{x1wfLXx~+5JJoD63^o8G6+x-e? z!aHh4Em*Cz?{6qS-o_*TA~}4-RY7ZGzj52cEBPW8do5Gbv(F*NYpt5JdV%Exbqj*~ z$babeYQCJBCi-UaymRJhK&a(_Pt9QSE!i0V*F-v2->~deRcQHgen% zQbll5F^a;@j7A3w;Js|c*xarRjqj;cXYt=~1tF#r`JBEfn+`GB4XR!E<;&3n6YP;$q z54G2}m&0*Y4%(>?ns8UkLr9B{^GqItxtj?^1C9AV{;m@I1$J+iz`Qwz!z|>zBzr7E z-B1nT(8CoHEzcsTSM)&zb_7$VW{r~vIqLx$lg{LwlmsOt`1t?e0y0pcO zB-_KI!ePNrj`%{O+6;0of!(LwJ!z6nY%yd2#yq+V=HqSUMXCpn4W=p+)waP_vqs$D zRo@wKFz-5vayw3mR&L1OHRf| zV_Y+2@F;xryxC48o}W7!q!i%=x8(m{`lKS&OVMQhZhGH4Oqa(UVtgO;WK;K!@~TLA)II+`^Z`t=LzD`>pz43 zdwEOZH32UMn7I9AvHBN%Z1B&#Y+m2jDSlH0n73kl^Z9#m^_Iy6?=+2(SX*pJ;*g>5=>j1clC&VXnO#C;brA0*0=p&-W_Ow#gkAU)3Rw8dOvSpaaP>^3y z&go%;PeJXy{chVKu{$J_`AQ{!sLky^`J`<>X+JqTdpCuBJ7$3(3_eoG=XdQY{ykS^ z%elM)$3$_-cmC1-xXs_wPx6(2`q14!keAPI(Q+HG-W{L zSkJ^?R3a1f`lz*2!(i)Z5l$yrLu~NHS6QU=qNGHj4A@s`G?+`EZjp_VD2hQ7H zEA$o$y}RVAkZI3k+N8Fo0{%&$I^~fWifAGQ7qmN#>e=_+<>XFBNe5}oN z`?}09v7h;on3B>8zJ-sL(S@?sTMm#Z<24|WthRh#%iCJs$>_u0Oq6;)oIJOV{h$ZLk!vh!M ztrc6P5z=rn&=H(AmBoH}QeHZ_dv`RJOC5A_(F7=-An979 zSx1!-F|FMx92_jzI*SnQYzj%pjE+gPwG~H687F@2Euj{7S@Mg1E8(`LE%W~U=r&v{ z9(!m<%IiSuWJWr2DW_V(!zD%#GST0O9QqGXNR|3$Y>|!7;Om)LY!s;IeI^Bf+1N zjn@VU5y537K^)yn~#cO0`OPOD^MMdtxIYtaya?{|_Zl3}ak>wKz)5G64BO`2 zUm}?=ZX4If4~vrI@L?yfRKDNo+w1gtb!WKG+3&)~V~(pMVt5I{F%mhIcfRO)uXB3a zIqQ8N;Iy_r2SAmOKaV3*`G_+ueJJb%w7Z~Pcn+ge)IKh%qd!0D^j>k)#L$w|q1Om% zt#2DWIeozwxz;p3_ui-;M~~|+9dX`W0iVoYyZo^uc)P=*eexJFcw`hI#=&rxVJ`fk z%m|qx)*gtp%#v^vX#?E1zodtabJ!n5jHdDN=v}a@xnJZw%t;I)8BKNU zye0MCcX_Y&htWtn=hHTg(<9O8J|}}du@9g@-!INLZ24hJ+uK#wuR&ckYfE*dVev7N z+GEQ6l5R#?h<5a+DUy3IQEy;}^FIk`&x;>R7_^%ytw-?DwpOLWC$7Qg%B-A|Rt(3y z$jA~mq;vfG60#`1m}9gg)hM8Wwd6zfO+T z4^Qi`D&}wr!LCE?YxhwY_(RcvA3E&X6%H`$j6U%}+B!8z*tGq^6 zAY$S(6O+Ucgf>jQj%@mlvrBFD}*d9y1v*msj!bIO1pBz3hCc>skPu83j?Sw zgY|0q0Hf%0r>x9(tFvGq$L*(3I+{qHRM+Aqe)1)%?8{SVYb0luD=3CzsK$$pg4i2} zA?(&>X{w$n)(0ON@P;2BM*Hn`4UgB0pYsMD8f3?$SMF~k2X!EyiT=mWzy-&`2&0qG zFvvnnz>wv=*?sd7>&@1Yjir&bk)?e-r#|)OH@in7kt3IuMn-yi9-}R_EUBu@3(+Ss zRYHv-N+eVj5M!&+?Yh@L`My2kSLAh(TsnT+(mF;0wY$!q?b28q{(U45ncN5e)$l%~ z@)NH>Yd<&n)cYU*5ZbSe2IF9bqdNeR_YNQ=lc%7pdRn@>!C&a zP=_lyvMSI#_!;e61=J|MT;lsHreg^R#E^#?-4XyI_7wIOMG?yW5-v-SWLEUCMvxRQ zQr;nGnTh_r*-SoB+~ekRu%)WCw@OguZsG(=sbWdKH*@2qRa-gLnktrUY@nS56;GCJ zWjOJCGTRmRx;>ARTlFQS))cQF%tfJnf^jM1IzV@Zcu3F6dLi@|0#%aW6<8|J*4R+R ziurM%z#)4>iOJ98E~bm8NuLv`m{T7reXA1D`BeD&_|4BuOcc}LfJ~W{NL>`Tp&qBK zscqHA;L^TEk{5}tm&HkowxTYD#lTbZC{ZOe=vd=c7uLxx^J3q)J?MEKIa;q@t*lI> zDl2og7fDa2mDlB(iF9>xQirmTMycYgRGje@B8EHC)6!XfpUXQZ71`m#33epZAK^H09A{+qb71p1zTB6` z;wAn%K3B{brO8;P#L;eeL}H5NHN+oPlOdY(#84lekqI1J`-Z;O=OsQSd8M98@SNN1 zvB~c4eUVcr6DKO!a4HN0+6f%x-S{AjY>ds-$J-((zchwyr!BeGrW_1aW~pY*Km~*> zA}wAckR_Eo>D*mtqf~6XmMp_UQu%t-4!0s;{$%g!>f7n43@2neQ=IFT8Uu~esjQp` zwa#_^z>bPjz}K&RF|@Cd*(r%!Ni144vN?d$(hu9M4*`tU z-J1IwZv<$EL?U9IbWWB}9w>W+NdlW|wC&2b4X!JwEe=&2^16uJ$Wk!{tPN)}3v?YrL2r>qf>eH3sXYQoW>h zcaI+`uBKKBM*Z0F9bYas2Bmce8%(ZnY|D7m84vnmV-09(T8)Xs-_cR_KKfDb3)hyH zFLpeT)u~>Cu_c(azE7Bs!NeFAcE|r;>SjdaF)WTM;x?=882((f@H3OoXTS4YYfTik z%fP@yYCp5Q{4;LhTETq||0pybQ`eE$VTY~gXX>|}L!&#sIi`J#i9xv6SG7#hE({(` z17wy6^Cc<)y0$Kkjo2V1r!y*-BIL4xvSAaj;ANf$_m;c8@eF9ww@=3aR?jJwv&o9> z#iBXnB6!M&(Q3V~8eRbj~;I@bA*9$6QXC=Wy2Ezj; z1~BquD~n2?Foa~r1sC#01c5}K6EO+}+2S1JorsYiGUbs7!9GtXJfol*)M%HZKK8uK zX4Eb|iIgVN%_P5Ys@spzX!@8w2f+jde}NxO#)U>~{)c{(p5i#1GkxUUsOO&1JD&D8 zWcSlL3=hFopOLHI)Idl!a)EqcL^m{2QUbAt4fzB+0-ZBE`WXBE`Y3*fCEiDD8E_6S z#N>u_$ij_RaKq9}1&boivnW?fVqTIJ0RB~5_Iy`N=#T*JFq8iK{{5Z(yOW2KyLWZ$ z-`}xI7yI|_+hV#{;R)b( zTkxx;GQDbu+Sc#3aNh~fTRCJ|hvH}T_i+(AB#!fk^(N^D`6z43_TmZecmmvO@0t4K zGD4gH#^pYKak6idHdOF;JK6F|dSEaHXsW3i&7x}Tf;w*uC#&js7P0kO^ z_#Ye;vT(3&I)Nq0K9{hgnLG{+cD%0@l;Au zm*;*Y-uegSpDPb~zS}$9y!AYZ;9$f{Jc&GSZ}>#vX~QSN1VGD}$}fE4_f4JF?)HDt z;q_pI`Kr%k;mkb?x5y(Vl4g@Ik)Y4*80c0R7@brY)Ya`*zh58LOfq`B>M% zyN@-Zorg{y{Zb~@zVGm8ceH)qp^-QG%9j95<1s*3b7Uj+;%+w7zsQ{Mk?}+#?m^op ze7g`PSnh_X?=6-d(QL~s5WW+lhit_X&z^=wQ1VlebPgLe_A80|6a6KU@|0HulCSO{ z58xR-7)c-S>U|S^lfH{CIXx!o*X}L4^|}k!Co~EEMtlc%Ybg{vi`I2vO2lf2ccy5m zLtU5ee<@LG;`xNC>m}7(ZfjdH5zRTVT(YkyYSZ@K_DCU@D@Mw_6*HHU{kaZ6PH&2| z*^1M;{+UCRLtK5^m`?b6%{I*Jpuggf z7%RAKZEgYV8GM5%5$=F=tf>BLhVc5dAdP+Fb5dZbKYHiR7Uu-pjXc zZPFC!N8h*Pj%!D@uGJTWmlD-1V<6-MbKsqRq~&KA0d?$#HMF&4@rBUu6Z9d;o`Cgb zOuW1#&=tq~15)bdM1~)*pSNA8!QDw?J z@!@tE8pCo5+oOyuSzY{<1aB!lY%Crp1|KnV)Xt&N!zH~l8q3CQmBA?>0xC{}?#`A7 ziG53^QcMsVhKDh*y2K*m!J3N^51Vam%Sm!AE1jAp=omZEq8)ElITuH`L+D{~KC{S1 zL3CHej&>J_nkB&wStxLBk9w|`ak55?Z0vT@V)-FEj;%~(Z2(ei;nwgil}MEnwGya9 ztTmXIq#^7`!ZrvykEvv-BU8+haw35b8x{aYwv{dBl1?llrY9?s%&1?&KNFWc90LIP zB}Up{!HPv%jf7o*lEx%$04$D~@{so9?J3?5e_E!CZ6!6bG-4i~(_T*+QHhA)G_lZY0Z*dRL92kChYut+cKf=1rx*$@>*vm8hBZ%yISyulW zlP}-kPo;dhP1Y=lG1D3*80-;=EMti;P{9I1GdYc)m7uOVGQrIRF}}AYD(MD|5nPYX z%!2=;ZG?+QQieyTWns)QLTyH+fjZ*{z&>~Jfrc|a?(BH*zJ@b4<}~iR=m*1o>^R%* zn6o3dL;p68Q%9fX=jks$r;u(r&4HkS(2NKRC(Eh7qO!c|wbr70tRZ8p^oP#AvePqF zt2>i@ZXxlSR+sJC)WhScKK<_lt%u8(_BrLA)*iQS(y13OB<%7&w_KY{>`K;C;i@tqDXjVB`Qy(Fl_!(MFo9=|=kf09icfS6Bn&4APWQEu`1)K{b%Mpo&5E=MR zzJ=XIfd5#KwZ{pzCE2sd(p+oX(+BQnTfRa@&xo5&)(+SBQ#Ni%@pRYjjAa|quHnNv zs2MCqF%XUOUm=if;E^nbqW1>do_|=C^L=~T;;s_~;IJKQmFhio&!OIbfD)zRnf_`f z4(Dm17S*@C;j=yO<%fg?0dN@k`{Z87{GYI&LRnKGJ7=^B$O4kwN;po7JaG>5bznRuE!kwth6@m2{VgX9k3ldF>UW7 zh>xV>Nt80I_@FJ?MbAQRf1{~LJ-oonTr|u`ssbsgU3fk_TIIxIk?%^qTiET z%;Imd6M8IaG`bj$fh3r87#v!tDHXvHX&*8@d5zqq-j2fLwM*4x|E_ecnm00?JzaSt zUAD_5*GSo!dJ#3)q>7&TSoba>E62UbCv79$S*vw9TSs*YCiY>Atok+Txeaud(iiyd&0{>Q);Mnpgxq4KomTi zrb7LA9u2=E1GxbKXGm*DZzTY^B3Afrln@Z+&nQ741hWvHYT4p&BTmNV1GCP|W4WOr z{uZ3>?(pwGB$XkI+QL!WQdtm<;Gww!ne7=~ghcVN6#D)oU|P|>h!qh`S=j8J+0@Lt z%!{Y%$cHSwkP09M0Ut6k5$~BZuirbcDK9d1}QJ*qA`y%=D@)1d!XX< zxZQ4hyVLFVZ1tt|%7X{yy;oRV742Fs#2iPD=&?n1?bDWJt zCmQt;*E8a^V+8yavO9CB(b71fLrE~+`*N?SCVmja_ZSApNc0u82zQA`I`50c(p8kC ziG$+=$-70|3fkobL+hFi9WDejY#_>E_0*^ zjNuAkngVd{k5909d|kKCTf?u)f+^#2`+sPq&j3MB$&#>%?brvGBHUd@mzFJpU*Vd>?PMr{2%h)`zEWtsae|g_NVxdEB))#@*4Go?`4;=O zeYSXBKL(_W5i#0wOd`9*7QLy!+H#I0wu+&0hjS!rg^U$^rBKzOdkuUnOWWNdu_EV- zR765XZvS-P@0i-=?%0oKq|!c;;+%-Nl`A zB`%N^9Q(xqvO9EQWHH5y5puGP_w+FUTah==c5c2YEog;&EG;`i8;8OUYJd&uN#`PhSf9*C6wPLfH7kb~jx)^nM2B7^yPoBEjpbelBti1vPmtO*mU@qBbVE;1-~ zP&hhl3RWHCCQ{lr5YdJbhoa`G#9)lCM=F(M`_cCH6DMwZKyfg}Haz=UBR-VqtHg)m z^;eVeD4nTfUft1#(axXy{Ys)FeG4p_4#ZQ|WwCvN=}VfXK|^Mju&137c3N}kw!@=U zl!}dXBVAH$yZ0VTw;e#pDWx0kj&#vzZ47?M`4i`_$TC+M?kc*C9d4<0SF8F35Pm!M zc5vYiw}=HW^2^TexB*S?Ck938pnb#jvkV=60#OLGqyjKplG@dS=R|fMo=B&?llSfU zH|*irB{g{O$$UC<;85d({zJNkoVH4`yEA)WsO0WwxW&E$UVAm!-kRAH_zBC}y~REI zu}+&d4S&Fk0#|ffg8U$JN>hF2oL*;wDJ>$&w~17`Z40U%b_%ja^P%_kFR&hh33)T& zjg$O@Kd*0sEFGAb#3L%~2f?S8HV||yVU(C{k`oaR<2uP6u<cZrkm{iyTLi=Oc1;vUWR zzc7Mg(g(5p@vR8y4K05j8Sd;Heqmh21Koq&{EdU`6^~7KW@vPumO5T%B;j^h`2mleQIOBpKL^rBqMj(kv&N_HWZ286^YH6yDYmfp0{iL z-Gi}-VhvoRswziMC)=X&O4Pytk<7>Kj(GA+hB&^#)`8Xsy$8M3*N;z5KXhOCZaGy$ zp1KEn*CJ9GQi$lhMem8e8vk^StX?P6DlY4iM673IZ2#DB5ru^CFvMX4)Yt*$3oh+I zw%2{iogd4K3WZ~P$5>*y8==vnH5K<_f@qOYA{o>`UYDJqau|p|No*d9@STlvwwR-GN_!uOhbg@!?`bw)~c91QR_ z=z@y!HD;EE$+l^sz!HKCQa{E~;KS-;xOL&2uotNpVO_W^p!o~@q75G&6L+tDgn#cX zYELgwz)JxUY+r*+b*1{=LXp7h5gt}!kiq=!-M?3!*8`$|LEOZ8U<#O!W(kbBy+vzu zKMoL7v|&;n*}H#C59@{oiQw7rcw~hY4z z85t$>Ds$!?(TL&R3;3r}?HQ*=G#{RK5tGqJR5#EeQS@;r#~BjXZ)NNX>6HL!H1{Ca zh~8U~QIEuXG0c>KgbOQY2a_Wn)K4mU(WrJqbY~4Ir6wX-+zA zC-SI(pQsVV^%T^=pxUZ)9h|Dbr z2nh?9zt-lM|F3KL`IcLRwTmaQHbja&5;+u7?`LNa2L^*FqGt)VZ!vKh`$tDG;xa=c z4XBw&MUDO9BYIDm$ zLu9`a-V(JQN$AZ|Ua$mpkb|;H)JLs-M;dY9XXHz=`WUj@=s%=CC>9(9FJ(aNxTF?d!}&tj(nh}cKV;_7 zlyr%Viv)HpL5iS5qaBv0<}k$q5tB%i>3J9+(trwlltqwBJfULA962Tu0=vKxl8V2T z4(1ZZqMpB!&J(c_e>r9}fz%9387e%B-UBUxo)+U4d+1$%8cKJ|v$40a!@yq5K#SOt zR+DQ1fQ{W1r8b&I$Qj&BZXu%!O27cmgKk1qSp>NgQ%;Z>8S+vCP%!OdnDiKKWZ)#C zm>FP@m7Zl+>L8RrC0>ug4b1{0o?*?~qikTZ1fW&|w82baY_cmJb09j@J%Oz{Pb`q# z3e=IA!ZA1Hl~NAIV>6e?7ajZkyb)tp-j*u!u96)_8baC%KxW!S&mpNR02wqaA0c)! zDP>-ABH6+ITxKmH3>p1Cq|t&)fbP-yG$*r+s;RhS9_4iD2&06NQplf}t0NJI2IPe; z0+Pjc8HcguO(gdi_oEFsxgg0lA)S2Uv2+w_Ee(XO0~;(jPnHf%_4&kpEvF04fy7<< zNbj1XW39w73yn@`=(%`LlK<}Q>g@+3Q^w(w&c4G5(p)9}E)lW+%U?(S#Q4da;SG(Y z8x15%|GvJjTaamLGZTgui34%L7Zsj5eHtsd*vT~`aB=R|t-#)GYThNUy3qh+(Mjzk zhVj)FOhtt!r5F=z! zRmf9gunULNg*1O3GV{d4@qZt)1pIi0Z7%=HTzB5+Q&~5j0h-WFx0O71B9r#At&ndz zr8S##v-h*3)RuN5X)A+cjOvT*yp~L-i|O>cQG=6B29WiF`6f;6g6n$I25; zWTUC7bziP(SCifOSUQuA<-3z?jal8vNET?Ah})MJ@7+*F3jGHHANx&xgcvWaQYe!D zgmdDA12RaM{^0gL_eAo919WQGM{UU7;zgVeUJh5ZP)$9HJC+a z6vajTKA|pCydp>G+nzy$ike{AO3z>+5k?%Z1Pd-+s2%*0h<=2p9fhVt4skFz8;6z1 z?T2enks8R-@lVt0$?{^HOf<B?c98>m0L@!6rt0UQg(tzrcBS=(nWZ2ab!a?zc(6pX4qJfQt5t)`% zLjt#kfBi+P*mglzv75Rb2IXh7iVz9Lp0cHys6M5dc2G<6cV4`f{#+4ki7H;*$MFz( zwB?-0Mxu?a3!h(-)gML(GYGc3nd%*Y8*31fXj6~G%(Xg3>!-?FDH4edUNWmTg zeuh;}l##r%EVX0YN&q_=ETfH5BjU8TF{lqrV6uVoB&u#2c z`>w0%?sN*BZ#r+sdTLJ3Z&ln>N<~MLw3gkUue`@OfP|FBmEs_n^w2O!=r<#c(vEaA znQ!lK4jhaZa3!?7zV3ErR9odsG@NPdzB_6~Cf`x&N~fx696@Rhv81l!bj5p(bZYci zM`8C{oI~*ORgSqB zi>yRPZ~wrqTwzxxRbrKj;VqgmQz<7Y3CCH0ZKvFo$*3qP!;ASiYUo_%FXFCgWxBwL zZ%w6AM$%2eXtD$viMUI37$vS_nJK$~x}Nno!7nM66P~TMtudQcYs|(%2(|8T(_URe z&h-^oqMQ=#y(qE1T|Jt&!BVZ78)UuhldjuZ<2Ik~uW{B^B{rXo)&&`w=Zh0OhK1p8lekt*98k90xBEz*XW4fC zXw|;mH#NSYA$rE`;Hma$spup><7he2s%;42)PxBdA$Woz;s`biKn1yd*b3-v8NmMQ z3*FR;YeuZ7fI?rjZ+BNoGDhxTeC8^NYLBGWt=?57eehEZ;_-1{LvG;eU%iJj{4Bfn zJyj|7RQ1Wvdf>C;woILTJ*san_cVGNws)S3<1sG%zLzHh6^?>B(ofU^;v`duiq%G* z@vw~a;OiUwo-t3JG#^59cwpk;*vXTzhbJhGf01lq-JHc!IZq06-WbN#fdMc4mHyFz zP&$TEbjzWSwnWoPR@HlmL1$J`F%2&vHdDWT(t^@bc<-R?+$w95{=)rXUgFUm=~Axb zG>8guB!%`vv}T_GJwLZRjZxsgi@Lz?oha4Mrd>CM z@KJW%bRUk~xN_IALRfD6cLU7oS0DWK1ChzT(ypA7?)4g7PPV_)Rd(`2p3n;i>>@`T zqy70-P5$*=clCB0J4Whq)ut(Gl5U zRVoD*r!4e}1ox!x6ImJ)WHgI|qn3Q)Cq2i1iE+mnl}9g#{!-$s`% zBDg6;9wZ&^m4eWTV4tvKae%Jk5K%;*=xIoQV6PFK-U(tZUWX^v*_J2hsr{o`AU$dz zuJ%|XW5|!ZEP!dX9_^=LiJ&Vm!*~Wj>P674H$+3+Tf zu*u3RssnNE00l78F4`X)Hxd{U(IX(_K)(@^U|?tg(?SaZgNrnVPJ@kA0oHH`Uic{S z3n(-*x1O&oJO!I3S7)4d9s@^&;WBQL-w=BjO=HG;5Cnx&f+;3O3ppqs#p4(q2?03Z zQQ3tyw`3>EPFuk)r`q#3w`mvsIpdEZ6y?lyp_hyx#u3aeV}}vMO!rYpe=_X&E+^=^ zqwd|#u{I~@&R}@BjFUZgyT{v{fc}MJRJhrH>In6p{PM@TmSbU>be(xV4c`#o2pj`^VL_Mh92yeQZSFY;`(H>gj2 zqfCJNqm?}{xGYGlS*#4(>vMA(s8zZx%^wzugJR z4|ddK`pHMAe37<-RKn>4E+>3H zMo=vuAnG&ewIy$9UrK*D6N}@B z=52&~P#K);=EkovSTLM(|1aAx+zgB_UJvP`tYbcQ?;h+O$7D9jh-MUWC$Y^JwDA%v zv%ibm<1eGtahU4SjUyf5_$FRdj0myfKk9o3Tw@)j)FoTF`+-n?I-Y5bKOO%m1KHw= z>j}0;+yvF0kAz7wN%RHYV4RFIr7Y){J}PS4E8zLK#2d(f@Ygqy-z4T;v?eklAVvsb zGIIn~^L?4`i~ra7#`!;bqvRO>OUJqSo7^173BND-78%BbAJEc^epl2Um;^NEr%Al< z$0gQ2s6QM7x{_!5Dqf{nE*If4bCLg4UNApwR_+0)Xqd=XIS8b5af-A`gE`5 zHqQ=nCVA*Y^%N7=8QpEDO+k%0h;0yjzPX%)0Ou+=rjA!|ZA7&pac(({ zh?WTEbIX52M^WLOB*w4>F1lO(!!XuN?kWa55UQ+^(cyh4bY;~-uQNIVS_RK4>}9vC zYCYnBA^Qc~&LidLcmCk*8D$qT*`BUqE}hQzX3D7~0EwBS*=(vcUo7uRW*mavD%mN* zk;XG#*6D~v+wcLaqfY~Z*Uq}_=^wi*-`?8Rb)e|bD;0W5{@gbU;s36IQs7;=g6BI?&zpnU-_oCghV2F2^S>$9i+w1VIZ;gTFEYW z3sH@VZ3Nz{X!0l{GPs8N7mUeF#zJ^Y$#dR7SmBy zSSo^!l8Fa%;5ap$QGD-_?tI$ZhYg|^Y2g88q7XqX`~sEcMkR^CZc?# ziHWa_mX5>-2^14~T6Gym)sM!B^RS5SDy5Q1uiVw0B@U*iv(2-Ut;K?!YI}EKXD(4J zlHz@5(I)1lGc6I3xy1f>{FRk>+~@@x`t@qJybdNML)~Aj*E-uvXpQYsdnf6s9>92n z5_?>w5SS5@Q)(jDQ*Cc8Al{bSt3A20rQXyqENhrHJI^@tX-)Wk^DP&*y&;YjTW?6< z5M%De-mnpxVql;lQX+k59-5&F8n;GX5Oc?9sc4Bf#VMQZPz0w?w*!IN-@6^M_M71C zgwI3o%~;R{BbH`-u+7+U(`F|n{$9F`FsQwBBbg}|4jyH_JOY4g;lxpy34bdgLUAk@ z4Ag0P5(DJUG4j|yy#fkcssS*q$+nN{}m0jML##3z7OW<)j{QAFkXx z;Z=^_vu8Hjl~O4%AvE;CNs_44yz9cK2`xp069Vsl(mb{ zCVlnmQTyKYXdnZ>kHE>!B+6|cyncSerd6~cX02XVArX0&8nPV zJ-f8H#@9;q@%h#D>4oZJYwNS~OVzuUW}D~M)|L+p4aphJg@vWTnWYOYGc8Lkvn})b zcM&~wvt_Pjy=4LP$(83FyYtM)IdcVs%6YC|Y^lP(3s<`5dDommuifNmc>gMGCFifP zPf9ENKF-lqo;l4^tF-GHWvS5;TX*q2%N@?Kcdcc)xU4H^p*%X_0 zRduT#Ra3pHPt|cK*r9f+U6>TW6JcHrsXc11+NXxqe!O5tLHih26Y2n#>O&fo@2EPa zj;j;uF7*m^Qr)fYQTM9*@RgZV52y##L+W9?W?qTk%wy`5dX;({|C!gQ*Q(d4*Q+HLspf=hcF`pcd7VT2>d;idt1`YF%AYm(`Q%in^-4 zPrX^aMZHzMO}$-xzxn~Sp`KFjQ14XlQtwtjsNSRAi#xV4|{>I3S7>O<;>)DNp4 zQPvQ z>I>@U)fd$-sDG~h7xjzkOX^>!UsC_8`m(yA{x|i@>Q~fP)W1}}s(wvfK+ep~$;byM9^zoULv{hs=L^#|$?)gP&^sjsU)R{vK0JN56?e^CFs`V;l1 z>bCkb^?#^8SAU`YQvH?sYxN)1H`F)P|Ed0y`WyAP>OZUhqW(_(y?RdlgZi)Pzp4MO z{)hUO`oGlwRNq$LQU7SPu%e1>L;Eve{*B|*WE)8%WjKawq>YS`H86}Cc?_~eqhz!i zWuwh#H!4O4iFvw=s?lxq7&W8U=rig@!`NZ$G=M)5d3v>&DL-pKYR_5o< zt)=hSwZ0tOQLYb)a$(XxOJ9-k%c~cr7Z&t$?${w`2M_ko(AT)zui1Ra>gDO>xPN4Q zIW>KCeT9lQFD)&v#`H$=3@_bW8CYFgS~mT1{0wB4r>?oWu(~k4dQLX&t<9(uV`mno z7tcq}EG^9PwRAo%Ul*oV&L_{TOwXKeuE|ACSZ>maD~U5J^Ubp})2mHNOVhKI)+|bw zSDP!5GwXBlndyb*;_UQ_Lt$ZHei2$fzc}Y_Ev>K3(K~alTtBedTwI-}=bDL`bIqCa z1DqezC4YNieswLy_NA4jMcsm%8`64Cctp3H9d6M=Gv`*8E;I*b7M50<>0sl+^po=! z=C5vT&oAn2H#ol1r1e&sPB1Rc&Mz!9XT4yHRdB93;O|Rq-xqG^_6^VW`}5AT^*+VevRQcy)v6%7*4OqtD7?m^UKRu*g?Jhwvdv`_WG=T{{@;mYkiT%SX#K$ zoRw?k8kgVY>DAQ%JvF)%S$V3%~{94f)=1t zn!)vKt<5j4GleeDlJ4dydgtaQ?KC~t%=ky8-Ph>ySOAkZ;&`R?Hl?cvT zX)f{zCIRPJ((*DRWNtX}#nfDwzQP;CA;I&@tMjX==7r_8D+8D37giQYpY<;0w^f#|uV1%59ZmckNmR7E0@7OIH{td3qFGpo7 zCSR)#-)k&N{6I-fe=Bx&fo4gZWx3IPV(HR4*RjWuFRt*3j2mn%%(MEeTnP^@EjJhC zcKX!l9HcWkH_yU5$6CR90s&gH=Y#}7x#nfJE-p{6G!s&$+vl1kDJ`$FIIT1evEe)(K4a}UIUYu*LR$g#;v3WT>n0fv|haKnE&*+z5 zT9jANTMKLHpg1p74{~7o+p)QYr87<2f1)(FHMcT-<_wd7-{o@yvO2 zDKWjp6|6VSmF(Qg(mE6F3e9nLVC~9sGj)!3Wwz_Ci|GyP91Tq8N6)derq3;{%wL5B zL5)`!C^71~v=*CRJhSwq$q;7Ah|VvbU7`$Aux9bI%-BiJudYI}bmO^xd8HY2sNP&P z=egzljQNDnk}J_CR+kpt^UX8UX9ncu=V2%!=bKj|3)7b!CJ-kDgT)TESddJ=Sn?;B ze|&!J${E&JX_M9$+3z!W!GRen-(-rr!8YsPIv0DvCeyFEFyNn*zhmDM>#J+?XRl=M z*eQ?9+_7ir?AhEMJM`02+joU^Uxhq{^&a55unybzhwl^a(|41T!^+)pAgl`1c5Qu? zdrNCUhpb?hWfz3kJ+r>RKwMv2Iy?VlVsnq9seq816;|P>Y$b(5lVQR>PL%S(^jb=n zmR6X{(v1GZT%i9UQvO+ME6t{VU>$O*&$Aa`0|!>mF;OkyY~T^&3rh@FF0v_{_sL;Y zispssxy9yM;==U2OyTL-sFdsr)62n-jZlmW7c1;};zDzd8L_n3w1k)8eo^Vum?i~@ z3qq^bIA~s&7w$H70iw!S(M(HJD0=3?`oh}$G9=We&a2T2>ub%pOlFyPwk~LLWKopG z)LvW~2#V3grL|^OzJ#$JScA;dLR=l}i7!D?&rZ)YQ!)<*mRDGdnwL{cD|6F}^H=rT zoAl2zU9=1-XEl#6PqP%xOfM!iN9NDbsFZEyG80CYE7LC~mgiX!Xw$XG^88|o|Ikh$ z!cW$6j}H3ltR zZN@bzrFml)*Ll0-3Y{qQ@G@hAPSV}Knq&>3#|N0jfSCGapEve5q70cO8#=_;S)6IE zS`?|vx!6i`uK8qI)>x!GmOj|q=8EZW>z_+JvB?{-y2BB1oi20T^1>BvxC~uhpqse` zMU+&Wx4gc3PA<~h=bN)sld>!fVQKXo62Er#%{7?Fxzzz#TjSxDxq5ECxiD+3!T=%C#q}=((_EDabS1q?^T_C(X+r#Gn(pe- zy0oxxgDXqC2@CM~g=S`Td4Z*OYxQvb9U*a#Gp?A0%>`T7!2!(^C3I0<+b^A)UO1bS z*9%5%YW2zm#Mc4j%^?1+Zf=NZlnzd$g4};`Ef;J<7%sphTwozh zZrc@J+q^`>g&Rm93$x)_LJBg$70l1(icD%d*uiKIYew-h6Tk_MTxhPHTiU$I1sKKf zCc;0`Y|@tg3sN)0o|&-b478PLR^;$}T9_+%aCid!$|-AC!s^OGy%OGRby1f7wXhni zYb*45cq_KnXV%a%gtxjhy)r+2W}(Tg7H0+m9ylr+F@(B>W@K%8&ZNiYnrrd3>DBW> z^Ajj~n@AkXO@~UM0f1LP{yUf2+?u&Co8H`DrJJ8#bT_x5qw7z4o14o*Mpn9$vxYpM)Vq;`qK$|}Y63ujhkRfzk=_2t+aV`VkAwnE(; zngQM|&0iFKks#c&7m-3JmMaxhn%O()kzcqEFmAcbe<4 zN(-~z`r->1F%IbkZ+%hL9D7Rub;B+h(AT7yL0S|E7QlG8Ed?zcBraVDc_m7LAZSx$ z66-aKA~a}`VPIUk5WS3)VO^eHk?q*!>9v`2_T_W)YyOC&$n+YJacuf)VnWITm*G6K rl+NpMJHRMHQk&hjXMOSfB5m(&okO4bXIWR5mM#co(Z5tmE71RMA`!4e literal 0 HcmV?d00001 diff --git a/assets/assets/coffee-Y8tTqwEk.js b/assets/assets/coffee-Y8tTqwEk.js new file mode 100644 index 0000000..ad811d2 --- /dev/null +++ b/assets/assets/coffee-Y8tTqwEk.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},r={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=>"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m512","__m512d","__m512i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*\\$/,"comment","@linecomment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],linecomment:[[/.*[^\\]$/,"comment","@pop"],[/[^]+/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],raw:[[/(.*)(\))(?:([^ ()\\\t"]*))(\")/,{cases:{"$3==$S2":["string.raw","string.raw.end","string.raw.end",{token:"string.raw.end",next:"@pop"}],"@default":["string.raw","string.raw","string.raw","string.raw"]}}],[/.*/,"string.raw"]],annotation:[{include:"@whitespace"},[/using|alignas/,"keyword"],[/[a-zA-Z0-9_]+/,"annotation"],[/[,:]/,"delimiter"],[/[()]/,"@brackets"],[/\]\s*\]/,{token:"annotation",next:"@pop"}]],include:[[/(\s*)(<)([^<>]*)(>)/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]],[/(\s*)(")([^"]*)(")/,["","keyword.directive.include.begin","string.include.identifier",{token:"keyword.directive.include.end",next:"@pop"}]]]}};export{e as conf,t as language}; diff --git a/assets/assets/csharp-EvjsIfVH.js b/assets/assets/csharp-EvjsIfVH.js new file mode 100644 index 0000000..4bc0a08 --- /dev/null +++ b/assets/assets/csharp-EvjsIfVH.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},t={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};export{e as conf,t as language}; diff --git a/assets/assets/csp-oRnIIgoX.js b/assets/assets/csp-oRnIIgoX.js new file mode 100644 index 0000000..663c291 --- /dev/null +++ b/assets/assets/csp-oRnIIgoX.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var t={brackets:[],autoClosingPairs:[],surroundingPairs:[]},r={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=>",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},[`[^)\r +]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}};export{e as conf,t as language}; diff --git a/assets/assets/cssMode-7jM6YvWl.js b/assets/assets/cssMode-7jM6YvWl.js new file mode 100644 index 0000000..25c7f2e --- /dev/null +++ b/assets/assets/cssMode-7jM6YvWl.js @@ -0,0 +1,9 @@ +var Le=Object.defineProperty;var je=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var k=(e,n,i)=>(je(e,typeof n!="symbol"?n+"":n,i),i);import{m as Ne}from"./index-iIKmhSVb.js";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var We=Object.defineProperty,Ue=Object.getOwnPropertyDescriptor,Oe=Object.getOwnPropertyNames,Ve=Object.prototype.hasOwnProperty,Y=(e,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of Oe(n))!Ve.call(e,t)&&t!==i&&We(e,t,{get:()=>n[t],enumerable:!(r=Ue(n,t))||r.enumerable});return e},He=(e,n,i)=>(Y(e,n,"default"),i&&Y(i,n,"default")),c={};He(c,Ne);var ze=2*60*1e3,Xe=class{constructor(e){k(this,"_defaults");k(this,"_idleCheckInterval");k(this,"_lastUsedTime");k(this,"_configChangeListener");k(this,"_worker");k(this,"_client");this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>ze&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=c.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{options:this._defaults.options,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let n;return this._getClient().then(i=>{n=i}).then(i=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(i=>n)}},Z;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(Z||(Z={}));var U;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(U||(U={}));var b;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=U.MAX_VALUE),t===Number.MAX_VALUE&&(t=U.MAX_VALUE),{line:r,character:t}}e.create=n;function i(r){var t=r;return s.objectLiteral(t)&&s.uinteger(t.line)&&s.uinteger(t.character)}e.is=i})(b||(b={}));var p;(function(e){function n(r,t,a,o){if(s.uinteger(r)&&s.uinteger(t)&&s.uinteger(a)&&s.uinteger(o))return{start:b.create(r,t),end:b.create(a,o)};if(b.is(r)&&b.is(t))return{start:r,end:t};throw new Error("Range#create called with invalid arguments["+r+", "+t+", "+a+", "+o+"]")}e.create=n;function i(r){var t=r;return s.objectLiteral(t)&&b.is(t.start)&&b.is(t.end)}e.is=i})(p||(p={}));var X;(function(e){function n(r,t){return{uri:r,range:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.range)&&(s.string(t.uri)||s.undefined(t.uri))}e.is=i})(X||(X={}));var K;(function(e){function n(r,t,a,o){return{targetUri:r,targetRange:t,targetSelectionRange:a,originSelectionRange:o}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.targetRange)&&s.string(t.targetUri)&&(p.is(t.targetSelectionRange)||s.undefined(t.targetSelectionRange))&&(p.is(t.originSelectionRange)||s.undefined(t.originSelectionRange))}e.is=i})(K||(K={}));var B;(function(e){function n(r,t,a,o){return{red:r,green:t,blue:a,alpha:o}}e.create=n;function i(r){var t=r;return s.numberRange(t.red,0,1)&&s.numberRange(t.green,0,1)&&s.numberRange(t.blue,0,1)&&s.numberRange(t.alpha,0,1)}e.is=i})(B||(B={}));var ee;(function(e){function n(r,t){return{range:r,color:t}}e.create=n;function i(r){var t=r;return p.is(t.range)&&B.is(t.color)}e.is=i})(ee||(ee={}));var te;(function(e){function n(r,t,a){return{label:r,textEdit:t,additionalTextEdits:a}}e.create=n;function i(r){var t=r;return s.string(t.label)&&(s.undefined(t.textEdit)||C.is(t))&&(s.undefined(t.additionalTextEdits)||s.typedArray(t.additionalTextEdits,C.is))}e.is=i})(te||(te={}));var P;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(P||(P={}));var re;(function(e){function n(r,t,a,o,u){var g={startLine:r,endLine:t};return s.defined(a)&&(g.startCharacter=a),s.defined(o)&&(g.endCharacter=o),s.defined(u)&&(g.kind=u),g}e.create=n;function i(r){var t=r;return s.uinteger(t.startLine)&&s.uinteger(t.startLine)&&(s.undefined(t.startCharacter)||s.uinteger(t.startCharacter))&&(s.undefined(t.endCharacter)||s.uinteger(t.endCharacter))&&(s.undefined(t.kind)||s.string(t.kind))}e.is=i})(re||(re={}));var $;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&X.is(t.location)&&s.string(t.message)}e.is=i})($||($={}));var I;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(I||(I={}));var ne;(function(e){e.Unnecessary=1,e.Deprecated=2})(ne||(ne={}));var ie;(function(e){function n(i){var r=i;return r!=null&&s.string(r.href)}e.is=n})(ie||(ie={}));var O;(function(e){function n(r,t,a,o,u,g){var d={range:r,message:t};return s.defined(a)&&(d.severity=a),s.defined(o)&&(d.code=o),s.defined(u)&&(d.source=u),s.defined(g)&&(d.relatedInformation=g),d}e.create=n;function i(r){var t,a=r;return s.defined(a)&&p.is(a.range)&&s.string(a.message)&&(s.number(a.severity)||s.undefined(a.severity))&&(s.integer(a.code)||s.string(a.code)||s.undefined(a.code))&&(s.undefined(a.codeDescription)||s.string((t=a.codeDescription)===null||t===void 0?void 0:t.href))&&(s.string(a.source)||s.undefined(a.source))&&(s.undefined(a.relatedInformation)||s.typedArray(a.relatedInformation,$.is))}e.is=i})(O||(O={}));var M;(function(e){function n(r,t){for(var a=[],o=2;o0&&(u.arguments=a),u}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.title)&&s.string(t.command)}e.is=i})(M||(M={}));var C;(function(e){function n(a,o){return{range:a,newText:o}}e.replace=n;function i(a,o){return{range:{start:a,end:a},newText:o}}e.insert=i;function r(a){return{range:a,newText:""}}e.del=r;function t(a){var o=a;return s.objectLiteral(o)&&s.string(o.newText)&&p.is(o.range)}e.is=t})(C||(C={}));var R;(function(e){function n(r,t,a){var o={label:r};return t!==void 0&&(o.needsConfirmation=t),a!==void 0&&(o.description=a),o}e.create=n;function i(r){var t=r;return t!==void 0&&s.objectLiteral(t)&&s.string(t.label)&&(s.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(s.string(t.description)||t.description===void 0)}e.is=i})(R||(R={}));var m;(function(e){function n(i){var r=i;return typeof r=="string"}e.is=n})(m||(m={}));var x;(function(e){function n(a,o,u){return{range:a,newText:o,annotationId:u}}e.replace=n;function i(a,o,u){return{range:{start:a,end:a},newText:o,annotationId:u}}e.insert=i;function r(a,o){return{range:a,newText:"",annotationId:o}}e.del=r;function t(a){var o=a;return C.is(o)&&(R.is(o.annotationId)||m.is(o.annotationId))}e.is=t})(x||(x={}));var V;(function(e){function n(r,t){return{textDocument:r,edits:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&H.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(V||(V={}));var T;(function(e){function n(r,t,a){var o={kind:"create",uri:r};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(o.options=t),a!==void 0&&(o.annotationId=a),o}e.create=n;function i(r){var t=r;return t&&t.kind==="create"&&s.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||s.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||s.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(T||(T={}));var S;(function(e){function n(r,t,a,o){var u={kind:"rename",oldUri:r,newUri:t};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(u.options=a),o!==void 0&&(u.annotationId=o),u}e.create=n;function i(r){var t=r;return t&&t.kind==="rename"&&s.string(t.oldUri)&&s.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||s.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||s.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(S||(S={}));var F;(function(e){function n(r,t,a){var o={kind:"delete",uri:r};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(o.options=t),a!==void 0&&(o.annotationId=a),o}e.create=n;function i(r){var t=r;return t&&t.kind==="delete"&&s.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||s.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||s.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(F||(F={}));var q;(function(e){function n(i){var r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(t){return s.string(t.kind)?T.is(t)||S.is(t)||F.is(t):V.is(t)}))}e.is=n})(q||(q={}));var W=function(){function e(n,i){this.edits=n,this.changeAnnotations=i}return e.prototype.insert=function(n,i,r){var t,a;if(r===void 0?t=C.insert(n,i):m.is(r)?(a=r,t=x.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=x.insert(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.replace=function(n,i,r){var t,a;if(r===void 0?t=C.replace(n,i):m.is(r)?(a=r,t=x.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=x.replace(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.delete=function(n,i){var r,t;if(i===void 0?r=C.del(n):m.is(i)?(t=i,r=x.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),t=this.changeAnnotations.manage(i),r=x.del(n,t)),this.edits.push(r),t!==void 0)return t},e.prototype.add=function(n){this.edits.push(n)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(n){if(n===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),ae=function(){function e(n){this._annotations=n===void 0?Object.create(null):n,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(n,i){var r;if(m.is(n)?r=n:(r=this.nextId(),i=n),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(i===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=i,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(n){var i=this;this._textEditChanges=Object.create(null),n!==void 0?(this._workspaceEdit=n,n.documentChanges?(this._changeAnnotations=new ae(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(V.is(r)){var t=new W(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=t}})):n.changes&&Object.keys(n.changes).forEach(function(r){var t=new W(n.changes[r]);i._textEditChanges[r]=t})):this._workspaceEdit={}}return Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(n){if(H.is(n)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i={uri:n.uri,version:n.version},r=this._textEditChanges[i.uri];if(!r){var t=[],a={textDocument:i,edits:t};this._workspaceEdit.documentChanges.push(a),r=new W(t,this._changeAnnotations),this._textEditChanges[i.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[n];if(!r){var t=[];this._workspaceEdit.changes[n]=t,r=new W(t),this._textEditChanges[n]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ae,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var t;R.is(i)||m.is(i)?t=i:r=i;var a,o;if(t===void 0?a=T.create(n,r):(o=m.is(t)?t:this._changeAnnotations.manage(t),a=T.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e.prototype.renameFile=function(n,i,r,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var a;R.is(r)||m.is(r)?a=r:t=r;var o,u;if(a===void 0?o=S.create(n,i,t):(u=m.is(a)?a:this._changeAnnotations.manage(a),o=S.create(n,i,t,u)),this._workspaceEdit.documentChanges.push(o),u!==void 0)return u},e.prototype.deleteFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var t;R.is(i)||m.is(i)?t=i:r=i;var a,o;if(t===void 0?a=F.create(n,r):(o=m.is(t)?t:this._changeAnnotations.manage(t),a=F.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e})();var oe;(function(e){function n(r){return{uri:r}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)}e.is=i})(oe||(oe={}));var se;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&s.integer(t.version)}e.is=i})(se||(se={}));var H;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&(t.version===null||s.integer(t.version))}e.is=i})(H||(H={}));var ue;(function(e){function n(r,t,a,o){return{uri:r,languageId:t,version:a,text:o}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&s.string(t.languageId)&&s.integer(t.version)&&s.string(t.text)}e.is=i})(ue||(ue={}));var L;(function(e){e.PlainText="plaintext",e.Markdown="markdown"})(L||(L={}));(function(e){function n(i){var r=i;return r===e.PlainText||r===e.Markdown}e.is=n})(L||(L={}));var Q;(function(e){function n(i){var r=i;return s.objectLiteral(i)&&L.is(r.kind)&&s.string(r.value)}e.is=n})(Q||(Q={}));var l;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(l||(l={}));var G;(function(e){e.PlainText=1,e.Snippet=2})(G||(G={}));var ce;(function(e){e.Deprecated=1})(ce||(ce={}));var de;(function(e){function n(r,t,a){return{newText:r,insert:t,replace:a}}e.create=n;function i(r){var t=r;return t&&s.string(t.newText)&&p.is(t.insert)&&p.is(t.replace)}e.is=i})(de||(de={}));var fe;(function(e){e.asIs=1,e.adjustIndentation=2})(fe||(fe={}));var ge;(function(e){function n(i){return{label:i}}e.create=n})(ge||(ge={}));var le;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(le||(le={}));var z;(function(e){function n(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=n;function i(r){var t=r;return s.string(t)||s.objectLiteral(t)&&s.string(t.language)&&s.string(t.value)}e.is=i})(z||(z={}));var he;(function(e){function n(i){var r=i;return!!r&&s.objectLiteral(r)&&(Q.is(r.contents)||z.is(r.contents)||s.typedArray(r.contents,z.is))&&(i.range===void 0||p.is(i.range))}e.is=n})(he||(he={}));var ve;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(ve||(ve={}));var pe;(function(e){function n(i,r){for(var t=[],a=2;a=0;v--){var w=g[v],E=a.offsetAt(w.range.start),f=a.offsetAt(w.range.end);if(f<=d)u=u.substring(0,E)+w.newText+u.substring(f,u.length);else throw new Error("Overlapping edit");d=E}return u}e.applyEdits=r;function t(a,o){if(a.length<=1)return a;var u=a.length/2|0,g=a.slice(0,u),d=a.slice(u);t(g,o),t(d,o);for(var v=0,w=0,E=0;v0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return b.create(0,n);for(;rn?t=a:r=a+1}var o=r-1;return b.create(o,n-i[o])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1"u"}e.undefined=r;function t(f){return f===!0||f===!1}e.boolean=t;function a(f){return n.call(f)==="[object String]"}e.string=a;function o(f){return n.call(f)==="[object Number]"}e.number=o;function u(f,y,N){return n.call(f)==="[object Number]"&&y<=f&&f<=N}e.numberRange=u;function g(f){return n.call(f)==="[object Number]"&&-2147483648<=f&&f<=2147483647}e.integer=g;function d(f){return n.call(f)==="[object Number]"&&0<=f&&f<=2147483647}e.uinteger=d;function v(f){return n.call(f)==="[object Function]"}e.func=v;function w(f){return f!==null&&typeof f=="object"}e.objectLiteral=w;function E(f,y){return Array.isArray(f)&&f.every(y)}e.typedArray=E})(s||(s={}));var $e=class{constructor(e,n,i){k(this,"_disposables",[]);k(this,"_listener",Object.create(null));this._languageId=e,this._worker=n;const r=a=>{let o=a.getLanguageId();if(o!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,o),500)}),this._doValidate(a.uri,o)},t=a=>{c.editor.setModelMarkers(a,this._languageId,[]);let o=a.uri.toString(),u=this._listener[o];u&&(u.dispose(),delete this._listener[o])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(t)),this._disposables.push(c.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{c.editor.getModels().forEach(o=>{o.getLanguageId()===this._languageId&&(t(o),r(o))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),c.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>Qe(e,a));let t=c.editor.getModel(e);t&&t.getLanguageId()===n&&c.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function qe(e){switch(e){case I.Error:return c.MarkerSeverity.Error;case I.Warning:return c.MarkerSeverity.Warning;case I.Information:return c.MarkerSeverity.Info;case I.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}function Qe(e,n){let i=typeof n.code=="number"?String(n.code):n.code;return{severity:qe(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var Ge=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),A(n))).then(a=>{if(!a)return;const o=e.getWordUntilPosition(n),u=new c.Range(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn),g=a.items.map(d=>{const v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:Ze(d.command),range:u,kind:Ye(d.kind)};return d.textEdit&&(Je(d.textEdit)?v.range={insert:_(d.textEdit.insert),replace:_(d.textEdit.replace)}:v.range=_(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(j)),d.insertTextFormat===G.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:g}})}};function A(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function Me(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function _(e){if(e)return new c.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function Je(e){return typeof e.insert<"u"&&typeof e.replace<"u"}function Ye(e){const n=c.languages.CompletionItemKind;switch(e){case l.Text:return n.Text;case l.Method:return n.Method;case l.Function:return n.Function;case l.Constructor:return n.Constructor;case l.Field:return n.Field;case l.Variable:return n.Variable;case l.Class:return n.Class;case l.Interface:return n.Interface;case l.Module:return n.Module;case l.Property:return n.Property;case l.Unit:return n.Unit;case l.Value:return n.Value;case l.Enum:return n.Enum;case l.Keyword:return n.Keyword;case l.Snippet:return n.Snippet;case l.Color:return n.Color;case l.File:return n.File;case l.Reference:return n.Reference}return n.Property}function j(e){if(e)return{range:_(e.range),text:e.newText}}function Ze(e){return e&&e.command==="editor.action.triggerSuggest"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var Ke=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),A(n))).then(t=>{if(t)return{range:_(t.range),contents:tt(t.contents)}})}};function et(e){return e&&typeof e=="object"&&typeof e.kind=="string"}function Pe(e){return typeof e=="string"?{value:e}:et(e)?e.kind==="plaintext"?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+` +`+e.value+"\n```\n"}}function tt(e){if(e)return Array.isArray(e)?e.map(Pe):[Pe(e)]}var rt=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),A(n))).then(t=>{if(t)return t.map(a=>({range:_(a.range),kind:nt(a.kind)}))})}};function nt(e){switch(e){case D.Read:return c.languages.DocumentHighlightKind.Read;case D.Write:return c.languages.DocumentHighlightKind.Write;case D.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var it=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),A(n))).then(t=>{if(t)return[Te(t)]})}};function Te(e){return{uri:c.Uri.parse(e.uri),range:_(e.range)}}var at=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),A(n))).then(a=>{if(a)return a.map(Te)})}},ot=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),A(n),i)).then(a=>st(a))}};function st(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=c.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:_(t.range),text:t.newText}})}return{edits:n}}var ut=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(r)return r.map(t=>({name:t.name,detail:"",containerName:t.containerName,kind:ct(t.kind),range:_(t.location.range),selectionRange:_(t.location.range),tags:[]}))})}};function ct(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.Array;case h.Module:return n.Module;case h.Namespace:return n.Namespace;case h.Package:return n.Package;case h.Class:return n.Class;case h.Method:return n.Method;case h.Property:return n.Property;case h.Field:return n.Field;case h.Constructor:return n.Constructor;case h.Enum:return n.Enum;case h.Interface:return n.Interface;case h.Function:return n.Function;case h.Variable:return n.Variable;case h.Constant:return n.Constant;case h.String:return n.String;case h.Number:return n.Number;case h.Boolean:return n.Boolean;case h.Array:return n.Array}return n.Function}var _t=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(r)return{links:r.map(t=>({range:_(t.range),url:t.target}))}})}},dt=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Se(n)).then(a=>{if(!(!a||a.length===0))return a.map(j)}))}},ft=class{constructor(e){k(this,"canFormatMultipleRanges",!1);this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),Me(n),Se(i)).then(o=>{if(!(!o||o.length===0))return o.map(j)}))}};function Se(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var gt=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(r)return r.map(t=>({color:t.color,range:_(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,Me(n.range))).then(t=>{if(t)return t.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=j(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(j)),o})})}},lt=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(t)return t.map(a=>{const o={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<"u"&&(o.kind=ht(a.kind)),o})})}};function ht(e){switch(e){case P.Comment:return c.languages.FoldingRangeKind.Comment;case P.Imports:return c.languages.FoldingRangeKind.Imports;case P.Region:return c.languages.FoldingRangeKind.Region}}var vt=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(A))).then(t=>{if(t)return t.map(a=>{const o=[];for(;a;)o.push({range:_(a.range)}),a=a.parent;return o})})}};function wt(e){const n=[],i=[],r=new Xe(e);n.push(r);const t=(...o)=>r.getLanguageServiceWorker(...o);function a(){const{languageId:o,modeConfiguration:u}=e;Fe(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new Ge(t,["/","-",":"]))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Ke(t))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new rt(t))),u.definitions&&i.push(c.languages.registerDefinitionProvider(o,new it(t))),u.references&&i.push(c.languages.registerReferenceProvider(o,new at(t))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new ut(t))),u.rename&&i.push(c.languages.registerRenameProvider(o,new ot(t))),u.colors&&i.push(c.languages.registerColorProvider(o,new gt(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new lt(t))),u.diagnostics&&i.push(new $e(o,t,e.onDidChange)),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new vt(t))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new dt(t))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new ft(t)))}return a(),n.push(De(i)),De(n)}function De(e){return{dispose:()=>Fe(e)}}function Fe(e){for(;e.length;)e.pop().dispose()}export{Ge as CompletionAdapter,it as DefinitionAdapter,$e as DiagnosticsAdapter,gt as DocumentColorAdapter,dt as DocumentFormattingEditProvider,rt as DocumentHighlightAdapter,_t as DocumentLinkAdapter,ft as DocumentRangeFormattingEditProvider,ut as DocumentSymbolAdapter,lt as FoldingRangeAdapter,Ke as HoverAdapter,at as ReferenceAdapter,ot as RenameAdapter,vt as SelectionRangeAdapter,Xe as WorkerManager,A as fromPosition,Me as fromRange,wt as setupMode,_ as toRange,j as toTextEdit}; diff --git a/assets/assets/cypher-642jv-SL.js b/assets/assets/cypher-642jv-SL.js new file mode 100644 index 0000000..37e781c --- /dev/null +++ b/assets/assets/cypher-642jv-SL.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},i={defaultToken:"",tokenPostfix:".cypher",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ALL","AND","AS","ASC","ASCENDING","BY","CALL","CASE","CONTAINS","CREATE","DELETE","DESC","DESCENDING","DETACH","DISTINCT","ELSE","END","ENDS","EXISTS","IN","IS","LIMIT","MANDATORY","MATCH","MERGE","NOT","ON","ON","OPTIONAL","OR","ORDER","REMOVE","RETURN","SET","SKIP","STARTS","THEN","UNION","UNWIND","WHEN","WHERE","WITH","XOR","YIELD"],builtinLiterals:["true","TRUE","false","FALSE","null","NULL"],builtinFunctions:["abs","acos","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endNode","exists","exp","floor","head","id","keys","labels","last","left","length","log","log10","lTrim","max","min","nodes","percentileCont","percentileDisc","pi","properties","radians","rand","range","relationships","replace","reverse","right","round","rTrim","sign","sin","size","split","sqrt","startNode","stDev","stDevP","substring","sum","tail","tan","timestamp","toBoolean","toFloat","toInteger","toLower","toString","toUpper","trim","type"],operators:["+","-","*","/","%","^","=","<>","<",">","<=",">=","->","<-","-->","<--"],escapes:/\\(?:[tbnrf\\"'`]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+/,octaldigits:/[0-7]+/,hexdigits:/[0-9a-fA-F]+/,tokenizer:{root:[[/[{}[\]()]/,"@brackets"],{include:"common"}],common:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/:[a-zA-Z_][\w]*/,"type.identifier"],[/[a-zA-Z_][\w]*(?=\()/,{cases:{"@builtinFunctions":"predefined.function"}}],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":"keyword","@builtinLiterals":"predefined.literal","@default":"identifier"}}],[/`/,"identifier.escape","@identifierBacktick"],[/[;,.:|]/,"delimiter"],[/[<>=%+\-*/^]+/,{cases:{"@operators":"delimiter","@default":""}}]],numbers:[[/-?(@digits)[eE](-?(@digits))?/,"number.float"],[/-?(@digits)?\.(@digits)([eE]-?(@digits))?/,"number.float"],[/-?0x(@hexdigits)/,"number.hex"],[/-?0(@octaldigits)/,"number.octal"],[/-?(@digits)/,"number"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@stringDouble"],[/'/,"string","@stringSingle"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/\/\/.*/,"comment"],[/[^/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[/*]/,"comment"]],stringDouble:[[/[^\\"]+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/"/,"string","@pop"]],stringSingle:[[/[^\\']+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/'/,"string","@pop"]],identifierBacktick:[[/[^\\`]+/,"identifier.escape"],[/@escapes/,"identifier.escape"],[/\\./,"identifier.escape.invalid"],[/`/,"identifier.escape","@pop"]]}};export{e as conf,i as language}; diff --git a/assets/assets/dart--oh5nTyy.js b/assets/assets/dart--oh5nTyy.js new file mode 100644 index 0000000..4f3b2af --- /dev/null +++ b/assets/assets/dart--oh5nTyy.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},n={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}};export{e as conf,n as language}; diff --git a/assets/assets/dockerfile-LvEjKiHu.js b/assets/assets/dockerfile-LvEjKiHu.js new file mode 100644 index 0000000..9aeb0bf --- /dev/null +++ b/assets/assets/dockerfile-LvEjKiHu.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},o={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}};export{e as conf,o as language}; diff --git a/assets/assets/ecl-GFGZIWyi.js b/assets/assets/ecl-GFGZIWyi.js new file mode 100644 index 0000000..d830b2d --- /dev/null +++ b/assets/assets/ecl-GFGZIWyi.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},o={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:["append","break","declare","demangle","end","for","getdatatype","if","inmodule","loop","mangle","onwarning","option","set","stored","uniquename"].join("|"),keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:["integer","unsigned"].join("|"),typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:["ascii","big_endian","boolean","data","decimal","ebcdic","grouped","integer","linkcounted","pattern","qstring","real","record","rule","set of","streamed","string","token","udecimal","unicode","unsigned","utf8","varstring","varunicode"].join("|"),operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]]}};export{e as conf,o as language}; diff --git a/assets/assets/editor.worker-sXCiTVaj.js b/assets/assets/editor.worker-sXCiTVaj.js new file mode 100644 index 0000000..53411b4 --- /dev/null +++ b/assets/assets/editor.worker-sXCiTVaj.js @@ -0,0 +1,8 @@ +(function(){"use strict";class or{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?me.isErrorNoTelemetry(t)?new me(t.message+` + +`+t.stack):new Error(t.message+` + +`+t.stack):t},0)}}emit(t){this.listeners.forEach(n=>{n(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const ur=new or;function St(e){cr(e)||ur.onUnexpectedError(e)}function Ct(e){if(e instanceof Error){const{name:t,message:n}=e,r=e.stacktrace||e.stack;return{$isError:!0,name:t,message:n,stack:r,noTelemetry:me.isErrorNoTelemetry(e)}}return e}const je="Canceled";function cr(e){return e instanceof hr?!0:e instanceof Error&&e.name===je&&e.message===je}class hr extends Error{constructor(){super(je),this.name=this.message}}class me extends Error{constructor(t){super(t),this.name="CodeExpectedError"}static fromError(t){if(t instanceof me)return t;const n=new me;return n.message=t.message,n.stack=t.stack,n}static isErrorNoTelemetry(t){return t.name==="CodeExpectedError"}}class ge extends Error{constructor(t){super(t||"An unexpected bug occurred."),Object.setPrototypeOf(this,ge.prototype);debugger}}function fr(e){const t=this;let n=!1,r;return function(){return n||(n=!0,r=e.apply(t,arguments)),r}}var Ee;(function(e){function t(x){return x&&typeof x=="object"&&typeof x[Symbol.iterator]=="function"}e.is=t;const n=Object.freeze([]);function r(){return n}e.empty=r;function*s(x){yield x}e.single=s;function i(x){return t(x)?x:s(x)}e.wrap=i;function l(x){return x||n}e.from=l;function o(x){return!x||x[Symbol.iterator]().next().done===!0}e.isEmpty=o;function c(x){return x[Symbol.iterator]().next().value}e.first=c;function u(x,N){for(const L of x)if(N(L))return!0;return!1}e.some=u;function f(x,N){for(const L of x)if(N(L))return L}e.find=f;function*h(x,N){for(const L of x)N(L)&&(yield L)}e.filter=h;function*d(x,N){let L=0;for(const y of x)yield N(y,L++)}e.map=d;function*m(...x){for(const N of x)for(const L of N)yield L}e.concat=m;function g(x,N,L){let y=L;for(const R of x)y=N(y,R);return y}e.reduce=g;function*b(x,N,L=x.length){for(N<0&&(N+=x.length),L<0?L+=x.length:L>x.length&&(L=x.length);N1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}else if(e)return e.dispose(),e}function dr(...e){return Pe(()=>At(e))}function Pe(e){return{dispose:fr(()=>{e()})}}class ue{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{At(this._toDispose)}finally{this._toDispose.clear()}}add(t){if(!t)return t;if(t===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?ue.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(t),t}}ue.DISABLE_DISPOSED_WARNING=!1;class De{constructor(){this._store=new ue,this._store}dispose(){this._store.dispose()}_register(t){if(t===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(t)}}De.None=Object.freeze({dispose(){}});class mr{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(t){let n=t;return this.unset=()=>n=void 0,this.isset=()=>n!==void 0,this.dispose=()=>{n&&(n(),n=void 0)},this}}class P{constructor(t){this.element=t,this.next=P.Undefined,this.prev=P.Undefined}}P.Undefined=new P(void 0);class Fe{constructor(){this._first=P.Undefined,this._last=P.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===P.Undefined}clear(){let t=this._first;for(;t!==P.Undefined;){const n=t.next;t.prev=P.Undefined,t.next=P.Undefined,t=n}this._first=P.Undefined,this._last=P.Undefined,this._size=0}unshift(t){return this._insert(t,!1)}push(t){return this._insert(t,!0)}_insert(t,n){const r=new P(t);if(this._first===P.Undefined)this._first=r,this._last=r;else if(n){const i=this._last;this._last=r,r.prev=i,i.next=r}else{const i=this._first;this._first=r,r.next=i,i.prev=r}this._size+=1;let s=!1;return()=>{s||(s=!0,this._remove(r))}}shift(){if(this._first!==P.Undefined){const t=this._first.element;return this._remove(this._first),t}}pop(){if(this._last!==P.Undefined){const t=this._last.element;return this._remove(this._last),t}}_remove(t){if(t.prev!==P.Undefined&&t.next!==P.Undefined){const n=t.prev;n.next=t.next,t.next.prev=n}else t.prev===P.Undefined&&t.next===P.Undefined?(this._first=P.Undefined,this._last=P.Undefined):t.next===P.Undefined?(this._last=this._last.prev,this._last.next=P.Undefined):t.prev===P.Undefined&&(this._first=this._first.next,this._first.prev=P.Undefined);this._size-=1}*[Symbol.iterator](){let t=this._first;for(;t!==P.Undefined;)yield t.element,t=t.next}}let gr=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function br(e,t){let n;return t.length===0?n=e:n=e.replace(/\{(\d+)\}/g,(r,s)=>{const i=s[0],l=t[i];let o=r;return typeof l=="string"?o=l:(typeof l=="number"||typeof l=="boolean"||l===void 0||l===null)&&(o=String(l)),o}),gr&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function _r(e,t,...n){return br(t,n)}function _i(e){}var Xe;const be="en";let Qe=!1,Ye=!1,Ze=!1,yt=!1,Ve,Je=be,Rt=be,xr,Y;const $=typeof self=="object"?self:typeof global=="object"?global:{};let q;typeof $.vscode<"u"&&typeof $.vscode.process<"u"?q=$.vscode.process:typeof process<"u"&&(q=process);const pr=typeof((Xe=q==null?void 0:q.versions)===null||Xe===void 0?void 0:Xe.electron)=="string"&&(q==null?void 0:q.type)==="renderer";if(typeof navigator=="object"&&!pr)Y=navigator.userAgent,Qe=Y.indexOf("Windows")>=0,Ye=Y.indexOf("Macintosh")>=0,(Y.indexOf("Macintosh")>=0||Y.indexOf("iPad")>=0||Y.indexOf("iPhone")>=0)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Ze=Y.indexOf("Linux")>=0,(Y==null?void 0:Y.indexOf("Mobi"))>=0,yt=!0,_r({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),Ve=be,Je=Ve,Rt=navigator.language;else if(typeof q=="object"){Qe=q.platform==="win32",Ye=q.platform==="darwin",Ze=q.platform==="linux",Ze&&q.env.SNAP&&q.env.SNAP_REVISION,q.env.CI||q.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Ve=be,Je=be;const e=q.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e),n=t.availableLanguages["*"];Ve=t.locale,Rt=t.osLocale,Je=n||be,xr=t._translationsConfigFile}catch{}}else console.error("Unable to resolve platform.");const Ae=Qe,vr=Ye;yt&&$.importScripts;const K=Y,wr=typeof $.postMessage=="function"&&!$.importScripts;(()=>{if(wr){const e=[];$.addEventListener("message",n=>{if(n.data&&n.data.vscodeScheduleAsyncWork)for(let r=0,s=e.length;r{const r=++t;e.push({id:r,callback:n}),$.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})();const Lr=!!(K&&K.indexOf("Chrome")>=0);K&&K.indexOf("Firefox")>=0,!Lr&&K&&K.indexOf("Safari")>=0,K&&K.indexOf("Edg/")>=0,K&&K.indexOf("Android")>=0;const Nr=$.performance&&typeof $.performance.now=="function";class Te{static create(t=!0){return new Te(t)}constructor(t){this._highResolution=Nr&&t,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?$.performance.now():Date.now()}}var Ke;(function(e){e.None=()=>De.None;function t(v,_){return f(v,()=>{},0,void 0,!0,void 0,_)}e.defer=t;function n(v){return(_,S=null,w)=>{let p=!1,M;return M=v(V=>{if(!p)return M?M.dispose():p=!0,_.call(S,V)},null,w),p&&M.dispose(),M}}e.once=n;function r(v,_,S){return u((w,p=null,M)=>v(V=>w.call(p,_(V)),null,M),S)}e.map=r;function s(v,_,S){return u((w,p=null,M)=>v(V=>{_(V),w.call(p,V)},null,M),S)}e.forEach=s;function i(v,_,S){return u((w,p=null,M)=>v(V=>_(V)&&w.call(p,V),null,M),S)}e.filter=i;function l(v){return v}e.signal=l;function o(...v){return(_,S=null,w)=>dr(...v.map(p=>p(M=>_.call(S,M),null,w)))}e.any=o;function c(v,_,S,w){let p=S;return r(v,M=>(p=_(p,M),p),w)}e.reduce=c;function u(v,_){let S;const w={onWillAddFirstListener(){S=v(p.fire,p)},onDidRemoveLastListener(){S==null||S.dispose()}},p=new ee(w);return _==null||_.add(p),p.event}function f(v,_,S=100,w=!1,p=!1,M,V){let j,Se,Ce,Oe=0,de;const fi={leakWarningThreshold:M,onWillAddFirstListener(){j=v(di=>{Oe++,Se=_(Se,di),w&&!Ce&&(Ge.fire(Se),Se=void 0),de=()=>{const mi=Se;Se=void 0,Ce=void 0,(!w||Oe>1)&&Ge.fire(mi),Oe=0},typeof S=="number"?(clearTimeout(Ce),Ce=setTimeout(de,S)):Ce===void 0&&(Ce=0,queueMicrotask(de))})},onWillRemoveListener(){p&&Oe>0&&(de==null||de())},onDidRemoveLastListener(){de=void 0,j.dispose()}},Ge=new ee(fi);return V==null||V.add(Ge),Ge.event}e.debounce=f;function h(v,_=0,S){return e.debounce(v,(w,p)=>w?(w.push(p),w):[p],_,void 0,!0,void 0,S)}e.accumulate=h;function d(v,_=(w,p)=>w===p,S){let w=!0,p;return i(v,M=>{const V=w||!_(M,p);return w=!1,p=M,V},S)}e.latch=d;function m(v,_,S){return[e.filter(v,_,S),e.filter(v,w=>!_(w),S)]}e.split=m;function g(v,_=!1,S=[]){let w=S.slice(),p=v(j=>{w?w.push(j):V.fire(j)});const M=()=>{w==null||w.forEach(j=>V.fire(j)),w=null},V=new ee({onWillAddFirstListener(){p||(p=v(j=>V.fire(j)))},onDidAddFirstListener(){w&&(_?setTimeout(M):M())},onDidRemoveLastListener(){p&&p.dispose(),p=null}});return V.event}e.buffer=g;class b{constructor(_){this.event=_,this.disposables=new ue}map(_){return new b(r(this.event,_,this.disposables))}forEach(_){return new b(s(this.event,_,this.disposables))}filter(_){return new b(i(this.event,_,this.disposables))}reduce(_,S){return new b(c(this.event,_,S,this.disposables))}latch(){return new b(d(this.event,void 0,this.disposables))}debounce(_,S=100,w=!1,p=!1,M){return new b(f(this.event,_,S,w,p,M,this.disposables))}on(_,S,w){return this.event(_,S,w)}once(_,S,w){return n(this.event)(_,S,w)}dispose(){this.disposables.dispose()}}function C(v){return new b(v)}e.chain=C;function x(v,_,S=w=>w){const w=(...j)=>V.fire(S(...j)),p=()=>v.on(_,w),M=()=>v.removeListener(_,w),V=new ee({onWillAddFirstListener:p,onDidRemoveLastListener:M});return V.event}e.fromNodeEventEmitter=x;function N(v,_,S=w=>w){const w=(...j)=>V.fire(S(...j)),p=()=>v.addEventListener(_,w),M=()=>v.removeEventListener(_,w),V=new ee({onWillAddFirstListener:p,onDidRemoveLastListener:M});return V.event}e.fromDOMEventEmitter=N;function L(v){return new Promise(_=>n(v)(_))}e.toPromise=L;function y(v,_){return _(void 0),v(S=>_(S))}e.runAndSubscribe=y;function R(v,_){let S=null;function w(M){S==null||S.dispose(),S=new ue,_(M,S)}w(void 0);const p=v(M=>w(M));return Pe(()=>{p.dispose(),S==null||S.dispose()})}e.runAndSubscribeWithStore=R;class T{constructor(_,S){this.obs=_,this._counter=0,this._hasChanged=!1;const w={onWillAddFirstListener:()=>{_.addObserver(this)},onDidRemoveLastListener:()=>{_.removeObserver(this)}};this.emitter=new ee(w),S&&S.add(this.emitter)}beginUpdate(_){this._counter++}handleChange(_,S){this._hasChanged=!0}endUpdate(_){--this._counter===0&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}function F(v,_){return new T(v,_).emitter.event}e.fromObservable=F})(Ke||(Ke={}));class _e{constructor(t){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${t}_${_e._idPool++}`,_e.all.add(this)}start(t){this._stopWatch=new Te(!0),this.listenerCount=t}stop(){if(this._stopWatch){const t=this._stopWatch.elapsed();this.durations.push(t),this.elapsedOverall+=t,this.invocationCount+=1,this._stopWatch=void 0}}}_e.all=new Set,_e._idPool=0;let Sr=-1;class Cr{constructor(t,n=Math.random().toString(18).slice(2,5)){this.threshold=t,this.name=n,this._warnCountdown=0}dispose(){var t;(t=this._stacks)===null||t===void 0||t.clear()}check(t,n){const r=this.threshold;if(r<=0||n{const i=this._stacks.get(t.value)||0;this._stacks.set(t.value,i-1)}}}class et{static create(){var t;return new et((t=new Error().stack)!==null&&t!==void 0?t:"")}constructor(t){this.value=t}print(){console.warn(this.value.split(` +`).slice(2).join(` +`))}}class Ar{constructor(t,n,r){this.callback=t,this.callbackThis=n,this.stack=r,this.subscription=new mr}invoke(t){this.callback.call(this.callbackThis,t)}}class ee{constructor(t){var n,r,s,i,l;this._disposed=!1,this._options=t,this._leakageMon=!((n=this._options)===null||n===void 0)&&n.leakWarningThreshold?new Cr((s=(r=this._options)===null||r===void 0?void 0:r.leakWarningThreshold)!==null&&s!==void 0?s:Sr):void 0,this._perfMon=!((i=this._options)===null||i===void 0)&&i._profName?new _e(this._options._profName):void 0,this._deliveryQueue=(l=this._options)===null||l===void 0?void 0:l.deliveryQueue}dispose(){var t,n,r,s;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(t=this._deliveryQueue)===null||t===void 0||t.clear(this),(r=(n=this._options)===null||n===void 0?void 0:n.onDidRemoveLastListener)===null||r===void 0||r.call(n),(s=this._leakageMon)===null||s===void 0||s.dispose())}get event(){return this._event||(this._event=(t,n,r)=>{var s,i,l;if(this._listeners||(this._listeners=new Fe),this._leakageMon&&this._listeners.size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),De.None;const o=this._listeners.isEmpty();o&&(!((s=this._options)===null||s===void 0)&&s.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this);let c,u;this._leakageMon&&this._listeners.size>=Math.ceil(this._leakageMon.threshold*.2)&&(u=et.create(),c=this._leakageMon.check(u,this._listeners.size+1));const f=new Ar(t,n,u),h=this._listeners.push(f);o&&(!((i=this._options)===null||i===void 0)&&i.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),!((l=this._options)===null||l===void 0)&&l.onDidAddListener&&this._options.onDidAddListener(this,t,n);const d=f.subscription.set(()=>{var m,g;c==null||c(),this._disposed||((g=(m=this._options)===null||m===void 0?void 0:m.onWillRemoveListener)===null||g===void 0||g.call(m,this),h(),this._options&&this._options.onDidRemoveLastListener&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this)))});return r instanceof ue?r.add(d):Array.isArray(r)&&r.push(d),d}),this._event}fire(t){var n,r,s;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Rr((n=this._options)===null||n===void 0?void 0:n.onListenerError));for(const i of this._listeners)this._deliveryQueue.push(this,i,t);(r=this._perfMon)===null||r===void 0||r.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),(s=this._perfMon)===null||s===void 0||s.stop()}}hasListeners(){return this._listeners?!this._listeners.isEmpty():!1}}class yr{constructor(t=St){this._onListenerError=t,this._queue=new Fe}get size(){return this._queue.size}push(t,n,r){this._queue.push(new kr(t,n,r))}clear(t){const n=new Fe;for(const r of this._queue)r.emitter!==t&&n.push(r);this._queue=n}deliver(){for(;this._queue.size>0;){const t=this._queue.shift();try{t.listener.invoke(t.event)}catch(n){this._onListenerError(n)}}}}class Rr extends yr{clear(t){this._queue.clear()}}class kr{constructor(t,n,r){this.emitter=t,this.listener=n,this.event=r}}function Mr(e){return typeof e=="string"}function Er(e){let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t}function tt(e){const t=[];for(const n of Er(e))typeof e[n]=="function"&&t.push(n);return t}function Pr(e,t){const n=s=>function(){const i=Array.prototype.slice.call(arguments,0);return t(s,i)},r={};for(const s of e)r[s]=n(s);return r}class Dr{constructor(t){this.fn=t,this.lastCache=void 0,this.lastArgKey=void 0}get(t){const n=JSON.stringify(t);return this.lastArgKey!==n&&(this.lastArgKey=n,this.lastCache=this.fn(t)),this.lastCache}}class kt{constructor(t){this.executor=t,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(t){this._error=t}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var Mt;function Fr(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Vr(e){return e.split(/\r\n|\r|\n/)}function Tr(e){for(let t=0,n=e.length;t=0;n--){const r=e.charCodeAt(n);if(r!==32&&r!==9)return n}return-1}function Et(e){return e>=65&&e<=90}function nt(e){return 55296<=e&&e<=56319}function Ur(e){return 56320<=e&&e<=57343}function Ir(e,t){return(e-55296<<10)+(t-56320)+65536}function qr(e,t,n){const r=e.charCodeAt(n);if(nt(r)&&n+1JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),X.cache=new Dr(e=>{function t(u){const f=new Map;for(let h=0;h!u.startsWith("_")&&u in s);i.length===0&&(i=["_default"]);let l;for(const u of i){const f=t(s[u]);l=r(l,f)}const o=t(s._common),c=n(o,l);return new X(c)}),X._locales=new kt(()=>Object.keys(X.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")));class ne{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(ne.getRawData())),this._data}static isInvisibleCharacter(t){return ne.getData().has(t)}static get codePoints(){return ne.getData()}}ne._data=void 0;const $r="$initialize";class zr{constructor(t,n,r,s){this.vsWorker=t,this.req=n,this.method=r,this.args=s,this.type=0}}class Pt{constructor(t,n,r,s){this.vsWorker=t,this.seq=n,this.res=r,this.err=s,this.type=1}}class Or{constructor(t,n,r,s){this.vsWorker=t,this.req=n,this.eventName=r,this.arg=s,this.type=2}}class Gr{constructor(t,n,r){this.vsWorker=t,this.req=n,this.event=r,this.type=3}}class jr{constructor(t,n){this.vsWorker=t,this.req=n,this.type=4}}class Xr{constructor(t){this._workerId=-1,this._handler=t,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(t){this._workerId=t}sendMessage(t,n){const r=String(++this._lastSentReq);return new Promise((s,i)=>{this._pendingReplies[r]={resolve:s,reject:i},this._send(new zr(this._workerId,r,t,n))})}listen(t,n){let r=null;const s=new ee({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new Or(this._workerId,r,t,n))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new jr(this._workerId,r)),r=null}});return s.event}handleMessage(t){!t||!t.vsWorker||this._workerId!==-1&&t.vsWorker!==this._workerId||this._handleMessage(t)}_handleMessage(t){switch(t.type){case 1:return this._handleReplyMessage(t);case 0:return this._handleRequestMessage(t);case 2:return this._handleSubscribeEventMessage(t);case 3:return this._handleEventMessage(t);case 4:return this._handleUnsubscribeEventMessage(t)}}_handleReplyMessage(t){if(!this._pendingReplies[t.seq]){console.warn("Got reply to unknown seq");return}const n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let r=t.err;t.err.$isError&&(r=new Error,r.name=t.err.name,r.message=t.err.message,r.stack=t.err.stack),n.reject(r);return}n.resolve(t.res)}_handleRequestMessage(t){const n=t.req;this._handler.handleMessage(t.method,t.args).then(s=>{this._send(new Pt(this._workerId,n,s,void 0))},s=>{s.detail instanceof Error&&(s.detail=Ct(s.detail)),this._send(new Pt(this._workerId,n,void 0,Ct(s)))})}_handleSubscribeEventMessage(t){const n=t.req,r=this._handler.handleEvent(t.eventName,t.arg)(s=>{this._send(new Gr(this._workerId,n,s))});this._pendingEvents.set(n,r)}_handleEventMessage(t){if(!this._pendingEmitters.has(t.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(t.req).fire(t.event)}_handleUnsubscribeEventMessage(t){if(!this._pendingEvents.has(t.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(t.req).dispose(),this._pendingEvents.delete(t.req)}_send(t){const n=[];if(t.type===0)for(let r=0;rfunction(){const o=Array.prototype.slice.call(arguments,0);return t(l,o)},s=l=>function(o){return n(l,o)},i={};for(const l of e){if(Ft(l)){i[l]=s(l);continue}if(Dt(l)){i[l]=n(l,void 0);continue}i[l]=r(l)}return i}class Yr{constructor(t,n){this._requestHandlerFactory=n,this._requestHandler=null,this._protocol=new Xr({sendMessage:(r,s)=>{t(r,s)},handleMessage:(r,s)=>this._handleMessage(r,s),handleEvent:(r,s)=>this._handleEvent(r,s)})}onmessage(t){this._protocol.handleMessage(t)}_handleMessage(t,n){if(t===$r)return this.initialize(n[0],n[1],n[2],n[3]);if(!this._requestHandler||typeof this._requestHandler[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._requestHandler[t].apply(this._requestHandler,n))}catch(r){return Promise.reject(r)}}_handleEvent(t,n){if(!this._requestHandler)throw new Error("Missing requestHandler");if(Ft(t)){const r=this._requestHandler[t].call(this._requestHandler,n);if(typeof r!="function")throw new Error(`Missing dynamic event ${t} on request handler.`);return r}if(Dt(t)){const r=this._requestHandler[t];if(typeof r!="function")throw new Error(`Missing event ${t} on request handler.`);return r}throw new Error(`Malformed event name ${t}`)}initialize(t,n,r,s){this._protocol.setWorkerId(t);const o=Qr(s,(c,u)=>this._protocol.sendMessage(c,u),(c,u)=>this._protocol.listen(c,u));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(o),Promise.resolve(tt(this._requestHandler))):(n&&(typeof n.baseUrl<"u"&&delete n.baseUrl,typeof n.paths<"u"&&typeof n.paths.vs<"u"&&delete n.paths.vs,typeof n.trustedTypesPolicy!==void 0&&delete n.trustedTypesPolicy,n.catchError=!0,globalThis.require.config(n)),new Promise((c,u)=>{const f=globalThis.require;f([r],h=>{if(this._requestHandler=h.create(o),!this._requestHandler){u(new Error("No RequestHandler!"));return}c(tt(this._requestHandler))},u)}))}}class re{constructor(t,n,r,s){this.originalStart=t,this.originalLength=n,this.modifiedStart=r,this.modifiedLength=s}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function Vt(e,t){return(t<<5)-t+e|0}function Zr(e,t){t=Vt(149417,t);for(let n=0,r=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new re(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class se{constructor(t,n,r=null){this.ContinueProcessingPredicate=r,this._originalSequence=t,this._modifiedSequence=n;const[s,i,l]=se._getElements(t),[o,c,u]=se._getElements(n);this._hasStrings=l&&u,this._originalStringElements=s,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=c,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const n=t.getElements();if(se._isStringArray(n)){const r=new Int32Array(n.length);for(let s=0,i=n.length;s=t&&s>=r&&this.ElementsAreEqual(n,s);)n--,s--;if(t>n||r>s){let h;return r<=s?(xe.Assert(t===n+1,"originalStart should only be one more than originalEnd"),h=[new re(t,0,r,s-r+1)]):t<=n?(xe.Assert(r===s+1,"modifiedStart should only be one more than modifiedEnd"),h=[new re(t,n-t+1,r,0)]):(xe.Assert(t===n+1,"originalStart should only be one more than originalEnd"),xe.Assert(r===s+1,"modifiedStart should only be one more than modifiedEnd"),h=[]),h}const l=[0],o=[0],c=this.ComputeRecursionPoint(t,n,r,s,l,o,i),u=l[0],f=o[0];if(c!==null)return c;if(!i[0]){const h=this.ComputeDiffRecursive(t,u,r,f,i);let d=[];return i[0]?d=[new re(u+1,n-(u+1)+1,f+1,s-(f+1)+1)]:d=this.ComputeDiffRecursive(u+1,n,f+1,s,i),this.ConcatenateChanges(h,d)}return[new re(t,n-t+1,r,s-r+1)]}WALKTRACE(t,n,r,s,i,l,o,c,u,f,h,d,m,g,b,C,x,N){let L=null,y=null,R=new Bt,T=n,F=r,v=m[0]-C[0]-s,_=-1073741824,S=this.m_forwardHistory.length-1;do{const w=v+t;w===T||w=0&&(u=this.m_forwardHistory[S],t=u[0],T=1,F=u.length-1)}while(--S>=-1);if(L=R.getReverseChanges(),N[0]){let w=m[0]+1,p=C[0]+1;if(L!==null&&L.length>0){const M=L[L.length-1];w=Math.max(w,M.getOriginalEnd()),p=Math.max(p,M.getModifiedEnd())}y=[new re(w,d-w+1,p,b-p+1)]}else{R=new Bt,T=l,F=o,v=m[0]-C[0]-c,_=1073741824,S=x?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const w=v+i;w===T||w=f[w+1]?(h=f[w+1]-1,g=h-v-c,h>_&&R.MarkNextChange(),_=h+1,R.AddOriginalElement(h+1,g+1),v=w+1-i):(h=f[w-1],g=h-v-c,h>_&&R.MarkNextChange(),_=h,R.AddModifiedElement(h+1,g+1),v=w-1-i),S>=0&&(f=this.m_reverseHistory[S],i=f[0],T=1,F=f.length-1)}while(--S>=-1);y=R.getChanges()}return this.ConcatenateChanges(L,y)}ComputeRecursionPoint(t,n,r,s,i,l,o){let c=0,u=0,f=0,h=0,d=0,m=0;t--,r--,i[0]=0,l[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const g=n-t+(s-r),b=g+1,C=new Int32Array(b),x=new Int32Array(b),N=s-r,L=n-t,y=t-r,R=n-s,F=(L-N)%2===0;C[N]=t,x[L]=n,o[0]=!1;for(let v=1;v<=g/2+1;v++){let _=0,S=0;f=this.ClipDiagonalBound(N-v,v,N,b),h=this.ClipDiagonalBound(N+v,v,N,b);for(let p=f;p<=h;p+=2){p===f||p_+S&&(_=c,S=u),!F&&Math.abs(p-L)<=v-1&&c>=x[p])return i[0]=c,l[0]=u,M<=x[p]&&1447>0&&v<=1448?this.WALKTRACE(N,f,h,y,L,d,m,R,C,x,c,n,i,u,s,l,F,o):null}const w=(_-t+(S-r)-v)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(_,w))return o[0]=!0,i[0]=_,l[0]=S,w>0&&1447>0&&v<=1448?this.WALKTRACE(N,f,h,y,L,d,m,R,C,x,c,n,i,u,s,l,F,o):(t++,r++,[new re(t,n-t+1,r,s-r+1)]);d=this.ClipDiagonalBound(L-v,v,L,b),m=this.ClipDiagonalBound(L+v,v,L,b);for(let p=d;p<=m;p+=2){p===d||p=x[p+1]?c=x[p+1]-1:c=x[p-1],u=c-(p-L)-R;const M=c;for(;c>t&&u>r&&this.ElementsAreEqual(c,u);)c--,u--;if(x[p]=c,F&&Math.abs(p-N)<=v&&c<=C[p])return i[0]=c,l[0]=u,M>=C[p]&&1447>0&&v<=1448?this.WALKTRACE(N,f,h,y,L,d,m,R,C,x,c,n,i,u,s,l,F,o):null}if(v<=1447){let p=new Int32Array(h-f+2);p[0]=N-f+1,pe.Copy2(C,f,p,1,h-f+1),this.m_forwardHistory.push(p),p=new Int32Array(m-d+2),p[0]=L-d+1,pe.Copy2(x,d,p,1,m-d+1),this.m_reverseHistory.push(p)}}return this.WALKTRACE(N,f,h,y,L,d,m,R,C,x,c,n,i,u,s,l,F,o)}PrettifyChanges(t){for(let n=0;n0,o=r.modifiedLength>0;for(;r.originalStart+r.originalLength=0;n--){const r=t[n];let s=0,i=0;if(n>0){const h=t[n-1];s=h.originalStart+h.originalLength,i=h.modifiedStart+h.modifiedLength}const l=r.originalLength>0,o=r.modifiedLength>0;let c=0,u=this._boundaryScore(r.originalStart,r.originalLength,r.modifiedStart,r.modifiedLength);for(let h=1;;h++){const d=r.originalStart-h,m=r.modifiedStart-h;if(du&&(u=b,c=h)}r.originalStart-=c,r.modifiedStart-=c;const f=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],f)){t[n-1]=f[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,r=t.length;n0&&m>c&&(c=m,u=h,f=d)}return c>0?[u,f]:null}_contiguousSequenceScore(t,n,r){let s=0;for(let i=0;i=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._OriginalIsBoundary(r-1)||this._OriginalIsBoundary(r))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const r=t+n;if(this._ModifiedIsBoundary(r-1)||this._ModifiedIsBoundary(r))return!0}return!1}_boundaryScore(t,n,r,s){const i=this._OriginalRegionIsBoundary(t,n)?1:0,l=this._ModifiedRegionIsBoundary(r,s)?1:0;return i+l}ConcatenateChanges(t,n){const r=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],r)){const s=new Array(t.length+n.length-1);return pe.Copy(t,0,s,0,t.length-1),s[t.length-1]=r[0],pe.Copy(n,1,s,t.length,n.length-1),s}else{const s=new Array(t.length+n.length);return pe.Copy(t,0,s,0,t.length),pe.Copy(n,0,s,t.length,n.length),s}}ChangesOverlap(t,n,r){if(xe.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),xe.Assert(t.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const s=t.originalStart;let i=t.originalLength;const l=t.modifiedStart;let o=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(i=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(o=n.modifiedStart+n.modifiedLength-t.modifiedStart),r[0]=new re(s,i,l,o),!0}else return r[0]=null,!1}ClipDiagonalBound(t,n,r,s){if(t>=0&&t=ts&&e<=rs||e>=ns&&e<=ss}function Ue(e,t,n,r){let s="",i=0,l=-1,o=0,c=0;for(let u=0;u<=e.length;++u){if(u2){const f=s.lastIndexOf(n);f===-1?(s="",i=0):(s=s.slice(0,f),i=s.length-1-s.lastIndexOf(n)),l=u,o=0;continue}else if(s.length!==0){s="",i=0,l=u,o=0;continue}}t&&(s+=s.length>0?`${n}..`:"..",i=2)}else s.length>0?s+=`${n}${e.slice(l+1,u)}`:s=e.slice(l+1,u),i=u-l-1;l=u,o=0}else c===ie&&o!==-1?++o:o=-1}return s}function qt(e,t){as(t,"pathObject");const n=t.dir||t.root,r=t.base||`${t.name||""}${t.ext||""}`;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const H={resolve(...e){let t="",n="",r=!1;for(let s=e.length-1;s>=-1;s--){let i;if(s>=0){if(i=e[s],B(i,"path"),i.length===0)continue}else t.length===0?i=Be():(i=Kr[`=${t}`]||Be(),(i===void 0||i.slice(0,2).toLowerCase()!==t.toLowerCase()&&i.charCodeAt(2)===z)&&(i=`${t}\\`));const l=i.length;let o=0,c="",u=!1;const f=i.charCodeAt(0);if(l===1)k(f)&&(o=1,u=!0);else if(k(f))if(u=!0,k(i.charCodeAt(1))){let h=2,d=h;for(;h2&&k(i.charCodeAt(2))&&(u=!0,o=3));if(c.length>0)if(t.length>0){if(c.toLowerCase()!==t.toLowerCase())continue}else t=c;if(r){if(t.length>0)break}else if(n=`${i.slice(o)}\\${n}`,r=u,u&&t.length>0)break}return n=Ue(n,!r,"\\",k),r?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){B(e,"path");const t=e.length;if(t===0)return".";let n=0,r,s=!1;const i=e.charCodeAt(0);if(t===1)return rt(i)?"\\":e;if(k(i))if(s=!0,k(e.charCodeAt(1))){let o=2,c=o;for(;o2&&k(e.charCodeAt(2))&&(s=!0,n=3));let l=n0&&k(e.charCodeAt(t-1))&&(l+="\\"),r===void 0?s?`\\${l}`:l:s?`${r}\\${l}`:`${r}${l}`},isAbsolute(e){B(e,"path");const t=e.length;if(t===0)return!1;const n=e.charCodeAt(0);return k(n)||t>2&&oe(n)&&e.charCodeAt(1)===ae&&k(e.charCodeAt(2))},join(...e){if(e.length===0)return".";let t,n;for(let i=0;i0&&(t===void 0?t=n=l:t+=`\\${l}`)}if(t===void 0)return".";let r=!0,s=0;if(typeof n=="string"&&k(n.charCodeAt(0))){++s;const i=n.length;i>1&&k(n.charCodeAt(1))&&(++s,i>2&&(k(n.charCodeAt(2))?++s:r=!1))}if(r){for(;s=2&&(t=`\\${t.slice(s)}`)}return H.normalize(t)},relative(e,t){if(B(e,"from"),B(t,"to"),e===t)return"";const n=H.resolve(e),r=H.resolve(t);if(n===r||(e=n.toLowerCase(),t=r.toLowerCase(),e===t))return"";let s=0;for(;ss&&e.charCodeAt(i-1)===z;)i--;const l=i-s;let o=0;for(;oo&&t.charCodeAt(c-1)===z;)c--;const u=c-o,f=lf){if(t.charCodeAt(o+d)===z)return r.slice(o+d+1);if(d===2)return r.slice(o+d)}l>f&&(e.charCodeAt(s+d)===z?h=d:d===2&&(h=3)),h===-1&&(h=0)}let m="";for(d=s+h+1;d<=i;++d)(d===i||e.charCodeAt(d)===z)&&(m+=m.length===0?"..":"\\..");return o+=h,m.length>0?`${m}${r.slice(o,c)}`:(r.charCodeAt(o)===z&&++o,r.slice(o,c))},toNamespacedPath(e){if(typeof e!="string"||e.length===0)return e;const t=H.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===z){if(t.charCodeAt(1)===z){const n=t.charCodeAt(2);if(n!==is&&n!==ie)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(oe(t.charCodeAt(0))&&t.charCodeAt(1)===ae&&t.charCodeAt(2)===z)return`\\\\?\\${t}`;return e},dirname(e){B(e,"path");const t=e.length;if(t===0)return".";let n=-1,r=0;const s=e.charCodeAt(0);if(t===1)return k(s)?e:".";if(k(s)){if(n=r=1,k(e.charCodeAt(1))){let o=2,c=o;for(;o2&&k(e.charCodeAt(2))?3:2,r=n);let i=-1,l=!0;for(let o=t-1;o>=r;--o)if(k(e.charCodeAt(o))){if(!l){i=o;break}}else l=!1;if(i===-1){if(n===-1)return".";i=n}return e.slice(0,i)},basename(e,t){t!==void 0&&B(t,"ext"),B(e,"path");let n=0,r=-1,s=!0,i;if(e.length>=2&&oe(e.charCodeAt(0))&&e.charCodeAt(1)===ae&&(n=2),t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let l=t.length-1,o=-1;for(i=e.length-1;i>=n;--i){const c=e.charCodeAt(i);if(k(c)){if(!s){n=i+1;break}}else o===-1&&(s=!1,o=i+1),l>=0&&(c===t.charCodeAt(l)?--l===-1&&(r=i):(l=-1,r=o))}return n===r?r=o:r===-1&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=n;--i)if(k(e.charCodeAt(i))){if(!s){n=i+1;break}}else r===-1&&(s=!1,r=i+1);return r===-1?"":e.slice(n,r)},extname(e){B(e,"path");let t=0,n=-1,r=0,s=-1,i=!0,l=0;e.length>=2&&e.charCodeAt(1)===ae&&oe(e.charCodeAt(0))&&(t=r=2);for(let o=e.length-1;o>=t;--o){const c=e.charCodeAt(o);if(k(c)){if(!i){r=o+1;break}continue}s===-1&&(i=!1,s=o+1),c===ie?n===-1?n=o:l!==1&&(l=1):n!==-1&&(l=-1)}return n===-1||s===-1||l===0||l===1&&n===s-1&&n===r+1?"":e.slice(n,s)},format:qt.bind(null,"\\"),parse(e){B(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.length;let r=0,s=e.charCodeAt(0);if(n===1)return k(s)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(k(s)){if(r=1,k(e.charCodeAt(1))){let h=2,d=h;for(;h0&&(t.root=e.slice(0,r));let i=-1,l=r,o=-1,c=!0,u=e.length-1,f=0;for(;u>=r;--u){if(s=e.charCodeAt(u),k(s)){if(!c){l=u+1;break}continue}o===-1&&(c=!1,o=u+1),s===ie?i===-1?i=u:f!==1&&(f=1):i!==-1&&(f=-1)}return o!==-1&&(i===-1||f===0||f===1&&i===o-1&&i===l+1?t.base=t.name=e.slice(l,o):(t.name=e.slice(l,i),t.base=e.slice(l,o),t.ext=e.slice(i,o))),l>0&&l!==r?t.dir=e.slice(0,l-1):t.dir=t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},ls=(()=>{if(le){const e=/\\/g;return()=>{const t=Be().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>Be()})(),O={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:ls();B(s,"path"),s.length!==0&&(t=`${s}/${t}`,n=s.charCodeAt(0)===I)}return t=Ue(t,!n,"/",rt),n?`/${t}`:t.length>0?t:"."},normalize(e){if(B(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===I,n=e.charCodeAt(e.length-1)===I;return e=Ue(e,!t,"/",rt),e.length===0?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return B(e,"path"),e.length>0&&e.charCodeAt(0)===I},join(...e){if(e.length===0)return".";let t;for(let n=0;n0&&(t===void 0?t=r:t+=`/${r}`)}return t===void 0?".":O.normalize(t)},relative(e,t){if(B(e,"from"),B(t,"to"),e===t||(e=O.resolve(e),t=O.resolve(t),e===t))return"";const n=1,r=e.length,s=r-n,i=1,l=t.length-i,o=so){if(t.charCodeAt(i+u)===I)return t.slice(i+u+1);if(u===0)return t.slice(i+u)}else s>o&&(e.charCodeAt(n+u)===I?c=u:u===0&&(c=0));let f="";for(u=n+c+1;u<=r;++u)(u===r||e.charCodeAt(u)===I)&&(f+=f.length===0?"..":"/..");return`${f}${t.slice(i+c)}`},toNamespacedPath(e){return e},dirname(e){if(B(e,"path"),e.length===0)return".";const t=e.charCodeAt(0)===I;let n=-1,r=!0;for(let s=e.length-1;s>=1;--s)if(e.charCodeAt(s)===I){if(!r){n=s;break}}else r=!1;return n===-1?t?"/":".":t&&n===1?"//":e.slice(0,n)},basename(e,t){t!==void 0&&B(t,"ext"),B(e,"path");let n=0,r=-1,s=!0,i;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t===e)return"";let l=t.length-1,o=-1;for(i=e.length-1;i>=0;--i){const c=e.charCodeAt(i);if(c===I){if(!s){n=i+1;break}}else o===-1&&(s=!1,o=i+1),l>=0&&(c===t.charCodeAt(l)?--l===-1&&(r=i):(l=-1,r=o))}return n===r?r=o:r===-1&&(r=e.length),e.slice(n,r)}for(i=e.length-1;i>=0;--i)if(e.charCodeAt(i)===I){if(!s){n=i+1;break}}else r===-1&&(s=!1,r=i+1);return r===-1?"":e.slice(n,r)},extname(e){B(e,"path");let t=-1,n=0,r=-1,s=!0,i=0;for(let l=e.length-1;l>=0;--l){const o=e.charCodeAt(l);if(o===I){if(!s){n=l+1;break}continue}r===-1&&(s=!1,r=l+1),o===ie?t===-1?t=l:i!==1&&(i=1):t!==-1&&(i=-1)}return t===-1||r===-1||i===0||i===1&&t===r-1&&t===n+1?"":e.slice(t,r)},format:qt.bind(null,"/"),parse(e){B(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;const n=e.charCodeAt(0)===I;let r;n?(t.root="/",r=1):r=0;let s=-1,i=0,l=-1,o=!0,c=e.length-1,u=0;for(;c>=r;--c){const f=e.charCodeAt(c);if(f===I){if(!o){i=c+1;break}continue}l===-1&&(o=!1,l=c+1),f===ie?s===-1?s=c:u!==1&&(u=1):s!==-1&&(u=-1)}if(l!==-1){const f=i===0&&n?1:i;s===-1||u===0||u===1&&s===l-1&&s===i+1?t.base=t.name=e.slice(f,l):(t.name=e.slice(f,s),t.base=e.slice(f,l),t.ext=e.slice(s,l))}return i>0?t.dir=e.slice(0,i-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};O.win32=H.win32=H,O.posix=H.posix=O,le?H.normalize:O.normalize,le?H.resolve:O.resolve,le?H.relative:O.relative,le?H.dirname:O.dirname,le?H.basename:O.basename,le?H.extname:O.extname,le?H.sep:O.sep;const os=/^\w[\w\d+.-]*$/,us=/^\//,cs=/^\/\//;function Wt(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!os.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path){if(e.authority){if(!us.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(cs.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function hs(e,t){return!e&&!t?"file":e}function fs(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==Z&&(t=Z+t):t=Z;break}return t}const D="",Z="/",ds=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class ce{static isUri(t){return t instanceof ce?!0:t?typeof t.authority=="string"&&typeof t.fragment=="string"&&typeof t.path=="string"&&typeof t.query=="string"&&typeof t.scheme=="string"&&typeof t.fsPath=="string"&&typeof t.with=="function"&&typeof t.toString=="function":!1}constructor(t,n,r,s,i,l=!1){typeof t=="object"?(this.scheme=t.scheme||D,this.authority=t.authority||D,this.path=t.path||D,this.query=t.query||D,this.fragment=t.fragment||D):(this.scheme=hs(t,l),this.authority=n||D,this.path=fs(this.scheme,r||D),this.query=s||D,this.fragment=i||D,Wt(this,l))}get fsPath(){return st(this,!1)}with(t){if(!t)return this;let{scheme:n,authority:r,path:s,query:i,fragment:l}=t;return n===void 0?n=this.scheme:n===null&&(n=D),r===void 0?r=this.authority:r===null&&(r=D),s===void 0?s=this.path:s===null&&(s=D),i===void 0?i=this.query:i===null&&(i=D),l===void 0?l=this.fragment:l===null&&(l=D),n===this.scheme&&r===this.authority&&s===this.path&&i===this.query&&l===this.fragment?this:new we(n,r,s,i,l)}static parse(t,n=!1){const r=ds.exec(t);return r?new we(r[2]||D,Ie(r[4]||D),Ie(r[5]||D),Ie(r[7]||D),Ie(r[9]||D),n):new we(D,D,D,D,D)}static file(t){let n=D;if(Ae&&(t=t.replace(/\\/g,Z)),t[0]===Z&&t[1]===Z){const r=t.indexOf(Z,2);r===-1?(n=t.substring(2),t=Z):(n=t.substring(2,r),t=t.substring(r)||Z)}return new we("file",n,t,D,D)}static from(t){const n=new we(t.scheme,t.authority,t.path,t.query,t.fragment);return Wt(n,!0),n}static joinPath(t,...n){if(!t.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let r;return Ae&&t.scheme==="file"?r=ce.file(H.join(st(t,!0),...n)).path:r=O.join(t.path,...n),t.with({path:r})}toString(t=!1){return it(this,t)}toJSON(){return this}static revive(t){if(t){if(t instanceof ce)return t;{const n=new we(t);return n._formatted=t.external,n._fsPath=t._sep===Ht?t.fsPath:null,n}}else return t}}const Ht=Ae?1:void 0;class we extends ce{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=st(this,!1)),this._fsPath}toString(t=!1){return t?it(this,!0):(this._formatted||(this._formatted=it(this,!1)),this._formatted)}toJSON(){const t={$mid:1};return this._fsPath&&(t.fsPath=this._fsPath,t._sep=Ht),this._formatted&&(t.external=this._formatted),this.path&&(t.path=this.path),this.scheme&&(t.scheme=this.scheme),this.authority&&(t.authority=this.authority),this.query&&(t.query=this.query),this.fragment&&(t.fragment=this.fragment),t}}const $t={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function zt(e,t,n){let r,s=-1;for(let i=0;i=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===45||l===46||l===95||l===126||t&&l===47||n&&l===91||n&&l===93||n&&l===58)s!==-1&&(r+=encodeURIComponent(e.substring(s,i)),s=-1),r!==void 0&&(r+=e.charAt(i));else{r===void 0&&(r=e.substr(0,i));const o=$t[l];o!==void 0?(s!==-1&&(r+=encodeURIComponent(e.substring(s,i)),s=-1),r+=o):s===-1&&(s=i)}}return s!==-1&&(r+=encodeURIComponent(e.substring(s))),r!==void 0?r:e}function ms(e){let t;for(let n=0;n1&&e.scheme==="file"?n=`//${e.authority}${e.path}`:e.path.charCodeAt(0)===47&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&e.path.charCodeAt(2)===58?t?n=e.path.substr(1):n=e.path[1].toLowerCase()+e.path.substr(2):n=e.path,Ae&&(n=n.replace(/\//g,"\\")),n}function it(e,t){const n=t?ms:zt;let r="",{scheme:s,authority:i,path:l,query:o,fragment:c}=e;if(s&&(r+=s,r+=":"),(i||s==="file")&&(r+=Z,r+=Z),i){let u=i.indexOf("@");if(u!==-1){const f=i.substr(0,u);i=i.substr(u+1),u=f.lastIndexOf(":"),u===-1?r+=n(f,!1,!1):(r+=n(f.substr(0,u),!1,!1),r+=":",r+=n(f.substr(u+1),!1,!0)),r+="@"}i=i.toLowerCase(),u=i.lastIndexOf(":"),u===-1?r+=n(i,!1,!0):(r+=n(i.substr(0,u),!1,!0),r+=i.substr(u))}if(l){if(l.length>=3&&l.charCodeAt(0)===47&&l.charCodeAt(2)===58){const u=l.charCodeAt(1);u>=65&&u<=90&&(l=`/${String.fromCharCode(u+32)}:${l.substr(3)}`)}else if(l.length>=2&&l.charCodeAt(1)===58){const u=l.charCodeAt(0);u>=65&&u<=90&&(l=`${String.fromCharCode(u+32)}:${l.substr(2)}`)}r+=n(l,!0,!1)}return o&&(r+="?",r+=n(o,!1,!1)),c&&(r+="#",r+=t?c:zt(c,!1,!1)),r}function Ot(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+Ot(e.substr(3)):e}}const Gt=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function Ie(e){return e.match(Gt)?e.replace(Gt,t=>Ot(t)):e}class W{constructor(t,n){this.lineNumber=t,this.column=n}with(t=this.lineNumber,n=this.column){return t===this.lineNumber&&n===this.column?this:new W(t,n)}delta(t=0,n=0){return this.with(this.lineNumber+t,this.column+n)}equals(t){return W.equals(this,t)}static equals(t,n){return!t&&!n?!0:!!t&&!!n&&t.lineNumber===n.lineNumber&&t.column===n.column}isBefore(t){return W.isBefore(this,t)}static isBefore(t,n){return t.lineNumberr||t===r&&n>s?(this.startLineNumber=r,this.startColumn=s,this.endLineNumber=t,this.endColumn=n):(this.startLineNumber=t,this.startColumn=n,this.endLineNumber=r,this.endColumn=s)}isEmpty(){return E.isEmpty(this)}static isEmpty(t){return t.startLineNumber===t.endLineNumber&&t.startColumn===t.endColumn}containsPosition(t){return E.containsPosition(this,t)}static containsPosition(t,n){return!(n.lineNumbert.endLineNumber||n.lineNumber===t.startLineNumber&&n.columnt.endColumn)}static strictContainsPosition(t,n){return!(n.lineNumbert.endLineNumber||n.lineNumber===t.startLineNumber&&n.column<=t.startColumn||n.lineNumber===t.endLineNumber&&n.column>=t.endColumn)}containsRange(t){return E.containsRange(this,t)}static containsRange(t,n){return!(n.startLineNumbert.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumnt.endColumn)}strictContainsRange(t){return E.strictContainsRange(this,t)}static strictContainsRange(t,n){return!(n.startLineNumbert.endLineNumber||n.endLineNumber>t.endLineNumber||n.startLineNumber===t.startLineNumber&&n.startColumn<=t.startColumn||n.endLineNumber===t.endLineNumber&&n.endColumn>=t.endColumn)}plusRange(t){return E.plusRange(this,t)}static plusRange(t,n){let r,s,i,l;return n.startLineNumbert.endLineNumber?(i=n.endLineNumber,l=n.endColumn):n.endLineNumber===t.endLineNumber?(i=n.endLineNumber,l=Math.max(n.endColumn,t.endColumn)):(i=t.endLineNumber,l=t.endColumn),new E(r,s,i,l)}intersectRanges(t){return E.intersectRanges(this,t)}static intersectRanges(t,n){let r=t.startLineNumber,s=t.startColumn,i=t.endLineNumber,l=t.endColumn;const o=n.startLineNumber,c=n.startColumn,u=n.endLineNumber,f=n.endColumn;return ru?(i=u,l=f):i===u&&(l=Math.min(l,f)),r>i||r===i&&s>l?null:new E(r,s,i,l)}equalsRange(t){return E.equalsRange(this,t)}static equalsRange(t,n){return!t&&!n?!0:!!t&&!!n&&t.startLineNumber===n.startLineNumber&&t.startColumn===n.startColumn&&t.endLineNumber===n.endLineNumber&&t.endColumn===n.endColumn}getEndPosition(){return E.getEndPosition(this)}static getEndPosition(t){return new W(t.endLineNumber,t.endColumn)}getStartPosition(){return E.getStartPosition(this)}static getStartPosition(t){return new W(t.startLineNumber,t.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(t,n){return new E(this.startLineNumber,this.startColumn,t,n)}setStartPosition(t,n){return new E(t,n,this.endLineNumber,this.endColumn)}collapseToStart(){return E.collapseToStart(this)}static collapseToStart(t){return new E(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn)}collapseToEnd(){return E.collapseToEnd(this)}static collapseToEnd(t){return new E(t.endLineNumber,t.endColumn,t.endLineNumber,t.endColumn)}delta(t){return new E(this.startLineNumber+t,this.startColumn,this.endLineNumber+t,this.endColumn)}static fromPositions(t,n=t){return new E(t.lineNumber,t.column,n.lineNumber,n.column)}static lift(t){return t?new E(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):null}static isIRange(t){return t&&typeof t.startLineNumber=="number"&&typeof t.startColumn=="number"&&typeof t.endLineNumber=="number"&&typeof t.endColumn=="number"}static areIntersectingOrTouching(t,n){return!(t.endLineNumbert.startLineNumber}toJSON(){return this}}var jt;(function(e){function t(s){return s<0}e.isLessThan=t;function n(s){return s>0}e.isGreaterThan=n;function r(s){return s===0}e.isNeitherLessOrGreaterThan=r,e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0})(jt||(jt={}));function Xt(e){return e<0?0:e>255?255:e|0}function Le(e){return e<0?0:e>4294967295?4294967295:e|0}class gs{constructor(t){this.values=t,this.prefixSum=new Uint32Array(t.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(t,n){t=Le(t);const r=this.values,s=this.prefixSum,i=n.length;return i===0?!1:(this.values=new Uint32Array(r.length+i),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t),t+i),this.values.set(n,t),t-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(t,n){return t=Le(t),n=Le(n),this.values[t]===n?!1:(this.values[t]=n,t-1=r.length)return!1;const i=r.length-t;return n>=i&&(n=i),n===0?!1:(this.values=new Uint32Array(r.length-n),this.values.set(r.subarray(0,t),0),this.values.set(r.subarray(t+n),t),this.prefixSum=new Uint32Array(this.values.length),t-1=0&&this.prefixSum.set(s.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(t){return t<0?0:(t=Le(t),this._getPrefixSum(t))}_getPrefixSum(t){if(t<=this.prefixSumValidIndex[0])return this.prefixSum[t];let n=this.prefixSumValidIndex[0]+1;n===0&&(this.prefixSum[0]=this.values[0],n++),t>=this.values.length&&(t=this.values.length-1);for(let r=n;r<=t;r++)this.prefixSum[r]=this.prefixSum[r-1]+this.values[r];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],t),this.prefixSum[t]}getIndexOf(t){t=Math.floor(t),this.getTotalSum();let n=0,r=this.values.length-1,s=0,i=0,l=0;for(;n<=r;)if(s=n+(r-n)/2|0,i=this.prefixSum[s],l=i-this.values[s],t=i)n=s+1;else break;return new bs(s,t-l)}}class bs{constructor(t,n){this.index=t,this.remainder=n,this._prefixSumIndexOfResultBrand=void 0,this.index=t,this.remainder=n}}class _s{constructor(t,n,r,s){this._uri=t,this._lines=n,this._eol=r,this._versionId=s,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(t){t.eol&&t.eol!==this._eol&&(this._eol=t.eol,this._lineStarts=null);const n=t.changes;for(const r of n)this._acceptDeleteRange(r.range),this._acceptInsertText(new W(r.range.startLineNumber,r.range.startColumn),r.text);this._versionId=t.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const t=this._eol.length,n=this._lines.length,r=new Uint32Array(n);for(let s=0;s/?";function ps(e=""){let t="(-?\\d*\\.\\d\\w*)|([^";for(const n of xs)e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}const Qt=ps();function vs(e){let t=Qt;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const Yt=new Fe;Yt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function at(e,t,n,r,s){if(s||(s=Ee.first(Yt)),n.length>s.maxLen){let u=e-s.maxLen/2;return u<0?u=0:r+=u,n=n.substring(u,e+s.maxLen/2),at(e,t,n,r,s)}const i=Date.now(),l=e-1-r;let o=-1,c=null;for(let u=1;!(Date.now()-i>=s.timeBudget);u++){const f=l-s.windowSize*u;t.lastIndex=Math.max(0,f);const h=ws(t,n,l,o);if(!h&&c||(c=h,f<=0))break;o=f}if(c){const u={word:c[0],startColumn:r+1+c.index,endColumn:r+1+c.index+c[0].length};return t.lastIndex=0,u}return null}function ws(e,t,n,r){let s;for(;s=e.exec(t);){const i=s.index||0;if(i<=n&&e.lastIndex>=n)return s;if(r>0&&i>r)return null}return null}class lt{constructor(t){const n=Xt(t);this._defaultValue=n,this._asciiMap=lt._createAsciiMap(n),this._map=new Map}static _createAsciiMap(t){const n=new Uint8Array(256);return n.fill(t),n}set(t,n){const r=Xt(n);t>=0&&t<256?this._asciiMap[t]=r:this._map.set(t,r)}get(t){return t>=0&&t<256?this._asciiMap[t]:this._map.get(t)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class Ls{constructor(t,n,r){const s=new Uint8Array(t*n);for(let i=0,l=t*n;in&&(n=c),o>r&&(r=o),u>r&&(r=u)}n++,r++;const s=new Ls(r,n,0);for(let i=0,l=t.length;i=this._maxCharCode?0:this._states.get(t,n)}}let ot=null;function Ss(){return ot===null&&(ot=new Ns([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),ot}let ye=null;function Cs(){if(ye===null){ye=new lt(0);const e=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let n=0;ns);if(s>0){const o=n.charCodeAt(s-1),c=n.charCodeAt(l);(o===40&&c===41||o===91&&c===93||o===123&&c===125)&&l--}return{range:{startLineNumber:r,startColumn:s+1,endLineNumber:r,endColumn:l+2},url:n.substring(s,l+1)}}static computeLinks(t,n=Ss()){const r=Cs(),s=[];for(let i=1,l=t.getLineCount();i<=l;i++){const o=t.getLineContent(i),c=o.length;let u=0,f=0,h=0,d=1,m=!1,g=!1,b=!1,C=!1;for(;u=0?(s+=r?1:-1,s<0?s=t.length-1:s%=t.length,t[s]):null}}ut.INSTANCE=new ut;const Zt=Object.freeze(function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}});var We;(function(e){function t(n){return n===e.None||n===e.Cancelled||n instanceof He?!0:!n||typeof n!="object"?!1:typeof n.isCancellationRequested=="boolean"&&typeof n.onCancellationRequested=="function"}e.isCancellationToken=t,e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Ke.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Zt})})(We||(We={}));class He{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Zt:(this._emitter||(this._emitter=new ee),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class ys{constructor(t){this._token=void 0,this._parentListener=void 0,this._parentListener=t&&t.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new He),this._token}cancel(){this._token?this._token instanceof He&&this._token.cancel():this._token=We.Cancelled}dispose(t=!1){var n;t&&this.cancel(),(n=this._parentListener)===null||n===void 0||n.dispose(),this._token?this._token instanceof He&&this._token.dispose():this._token=We.None}}class ct{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(t,n){this._keyCodeToStr[t]=n,this._strToKeyCode[n.toLowerCase()]=t}keyCodeToStr(t){return this._keyCodeToStr[t]}strToKeyCode(t){return this._strToKeyCode[t.toLowerCase()]||0}}const $e=new ct,ht=new ct,ft=new ct,Rs=new Array(230),ks=Object.create(null),Ms=Object.create(null);(function(){const e="",t=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[0,1,1,"Hyper",0,e,0,e,e,e],[0,1,2,"Super",0,e,0,e,e,e],[0,1,3,"Fn",0,e,0,e,e,e],[0,1,4,"FnLock",0,e,0,e,e,e],[0,1,5,"Suspend",0,e,0,e,e,e],[0,1,6,"Resume",0,e,0,e,e,e],[0,1,7,"Turbo",0,e,0,e,e,e],[0,1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[0,1,9,"WakeUp",0,e,0,e,e,e],[31,0,10,"KeyA",31,"A",65,"VK_A",e,e],[32,0,11,"KeyB",32,"B",66,"VK_B",e,e],[33,0,12,"KeyC",33,"C",67,"VK_C",e,e],[34,0,13,"KeyD",34,"D",68,"VK_D",e,e],[35,0,14,"KeyE",35,"E",69,"VK_E",e,e],[36,0,15,"KeyF",36,"F",70,"VK_F",e,e],[37,0,16,"KeyG",37,"G",71,"VK_G",e,e],[38,0,17,"KeyH",38,"H",72,"VK_H",e,e],[39,0,18,"KeyI",39,"I",73,"VK_I",e,e],[40,0,19,"KeyJ",40,"J",74,"VK_J",e,e],[41,0,20,"KeyK",41,"K",75,"VK_K",e,e],[42,0,21,"KeyL",42,"L",76,"VK_L",e,e],[43,0,22,"KeyM",43,"M",77,"VK_M",e,e],[44,0,23,"KeyN",44,"N",78,"VK_N",e,e],[45,0,24,"KeyO",45,"O",79,"VK_O",e,e],[46,0,25,"KeyP",46,"P",80,"VK_P",e,e],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[48,0,27,"KeyR",48,"R",82,"VK_R",e,e],[49,0,28,"KeyS",49,"S",83,"VK_S",e,e],[50,0,29,"KeyT",50,"T",84,"VK_T",e,e],[51,0,30,"KeyU",51,"U",85,"VK_U",e,e],[52,0,31,"KeyV",52,"V",86,"VK_V",e,e],[53,0,32,"KeyW",53,"W",87,"VK_W",e,e],[54,0,33,"KeyX",54,"X",88,"VK_X",e,e],[55,0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[22,0,36,"Digit1",22,"1",49,"VK_1",e,e],[23,0,37,"Digit2",23,"2",50,"VK_2",e,e],[24,0,38,"Digit3",24,"3",51,"VK_3",e,e],[25,0,39,"Digit4",25,"4",52,"VK_4",e,e],[26,0,40,"Digit5",26,"5",53,"VK_5",e,e],[27,0,41,"Digit6",27,"6",54,"VK_6",e,e],[28,0,42,"Digit7",28,"7",55,"VK_7",e,e],[29,0,43,"Digit8",29,"8",56,"VK_8",e,e],[30,0,44,"Digit9",30,"9",57,"VK_9",e,e],[21,0,45,"Digit0",21,"0",48,"VK_0",e,e],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[10,1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,e,0,e,e,e],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[59,1,64,"F1",59,"F1",112,"VK_F1",e,e],[60,1,65,"F2",60,"F2",113,"VK_F2",e,e],[61,1,66,"F3",61,"F3",114,"VK_F3",e,e],[62,1,67,"F4",62,"F4",115,"VK_F4",e,e],[63,1,68,"F5",63,"F5",116,"VK_F5",e,e],[64,1,69,"F6",64,"F6",117,"VK_F6",e,e],[65,1,70,"F7",65,"F7",118,"VK_F7",e,e],[66,1,71,"F8",66,"F8",119,"VK_F8",e,e],[67,1,72,"F9",67,"F9",120,"VK_F9",e,e],[68,1,73,"F10",68,"F10",121,"VK_F10",e,e],[69,1,74,"F11",69,"F11",122,"VK_F11",e,e],[70,1,75,"F12",70,"F12",123,"VK_F12",e,e],[0,1,76,"PrintScreen",0,e,0,e,e,e],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",e,e],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[14,1,80,"Home",14,"Home",36,"VK_HOME",e,e],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[13,1,83,"End",13,"End",35,"VK_END",e,e],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",e,e],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",e,e],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",e,e],[3,1,94,"NumpadEnter",3,e,0,e,e,e],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",e,e],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",e,e],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",e,e],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",e,e],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",e,e],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",e,e],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",e,e],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",e,e],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",e,e],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",e,e],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",e,e],[58,1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[0,1,108,"Power",0,e,0,e,e,e],[0,1,109,"NumpadEqual",0,e,0,e,e,e],[71,1,110,"F13",71,"F13",124,"VK_F13",e,e],[72,1,111,"F14",72,"F14",125,"VK_F14",e,e],[73,1,112,"F15",73,"F15",126,"VK_F15",e,e],[74,1,113,"F16",74,"F16",127,"VK_F16",e,e],[75,1,114,"F17",75,"F17",128,"VK_F17",e,e],[76,1,115,"F18",76,"F18",129,"VK_F18",e,e],[77,1,116,"F19",77,"F19",130,"VK_F19",e,e],[0,1,117,"F20",0,e,0,"VK_F20",e,e],[0,1,118,"F21",0,e,0,"VK_F21",e,e],[0,1,119,"F22",0,e,0,"VK_F22",e,e],[0,1,120,"F23",0,e,0,"VK_F23",e,e],[0,1,121,"F24",0,e,0,"VK_F24",e,e],[0,1,122,"Open",0,e,0,e,e,e],[0,1,123,"Help",0,e,0,e,e,e],[0,1,124,"Select",0,e,0,e,e,e],[0,1,125,"Again",0,e,0,e,e,e],[0,1,126,"Undo",0,e,0,e,e,e],[0,1,127,"Cut",0,e,0,e,e,e],[0,1,128,"Copy",0,e,0,e,e,e],[0,1,129,"Paste",0,e,0,e,e,e],[0,1,130,"Find",0,e,0,e,e,e],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",e,e],[0,1,136,"KanaMode",0,e,0,e,e,e],[0,0,137,"IntlYen",0,e,0,e,e,e],[0,1,138,"Convert",0,e,0,e,e,e],[0,1,139,"NonConvert",0,e,0,e,e,e],[0,1,140,"Lang1",0,e,0,e,e,e],[0,1,141,"Lang2",0,e,0,e,e,e],[0,1,142,"Lang3",0,e,0,e,e,e],[0,1,143,"Lang4",0,e,0,e,e,e],[0,1,144,"Lang5",0,e,0,e,e,e],[0,1,145,"Abort",0,e,0,e,e,e],[0,1,146,"Props",0,e,0,e,e,e],[0,1,147,"NumpadParenLeft",0,e,0,e,e,e],[0,1,148,"NumpadParenRight",0,e,0,e,e,e],[0,1,149,"NumpadBackspace",0,e,0,e,e,e],[0,1,150,"NumpadMemoryStore",0,e,0,e,e,e],[0,1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[0,1,152,"NumpadMemoryClear",0,e,0,e,e,e],[0,1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[0,1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",e,e],[0,1,156,"NumpadClearEntry",0,e,0,e,e,e],[5,1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[4,1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[6,1,0,e,6,"Alt",18,"VK_MENU",e,e],[57,1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[5,1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[4,1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[6,1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[57,1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[5,1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[4,1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[6,1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[57,1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[0,1,165,"BrightnessUp",0,e,0,e,e,e],[0,1,166,"BrightnessDown",0,e,0,e,e,e],[0,1,167,"MediaPlay",0,e,0,e,e,e],[0,1,168,"MediaRecord",0,e,0,e,e,e],[0,1,169,"MediaFastForward",0,e,0,e,e,e],[0,1,170,"MediaRewind",0,e,0,e,e,e],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",e,e],[0,1,174,"Eject",0,e,0,e,e,e],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[0,1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[0,1,180,"SelectTask",0,e,0,e,e,e],[0,1,181,"LaunchScreenSaver",0,e,0,e,e,e],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[0,1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[0,1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[0,1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[0,1,189,"ZoomToggle",0,e,0,e,e,e],[0,1,190,"MailReply",0,e,0,e,e,e],[0,1,191,"MailForward",0,e,0,e,e,e],[0,1,192,"MailSend",0,e,0,e,e,e],[109,1,0,e,109,"KeyInComposition",229,e,e,e],[111,1,0,e,111,"ABNT_C2",194,"VK_ABNT_C2",e,e],[91,1,0,e,91,"OEM_8",223,"VK_OEM_8",e,e],[0,1,0,e,0,e,0,"VK_KANA",e,e],[0,1,0,e,0,e,0,"VK_HANGUL",e,e],[0,1,0,e,0,e,0,"VK_JUNJA",e,e],[0,1,0,e,0,e,0,"VK_FINAL",e,e],[0,1,0,e,0,e,0,"VK_HANJA",e,e],[0,1,0,e,0,e,0,"VK_KANJI",e,e],[0,1,0,e,0,e,0,"VK_CONVERT",e,e],[0,1,0,e,0,e,0,"VK_NONCONVERT",e,e],[0,1,0,e,0,e,0,"VK_ACCEPT",e,e],[0,1,0,e,0,e,0,"VK_MODECHANGE",e,e],[0,1,0,e,0,e,0,"VK_SELECT",e,e],[0,1,0,e,0,e,0,"VK_PRINT",e,e],[0,1,0,e,0,e,0,"VK_EXECUTE",e,e],[0,1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[0,1,0,e,0,e,0,"VK_HELP",e,e],[0,1,0,e,0,e,0,"VK_APPS",e,e],[0,1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[0,1,0,e,0,e,0,"VK_PACKET",e,e],[0,1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[0,1,0,e,0,e,0,"VK_ATTN",e,e],[0,1,0,e,0,e,0,"VK_CRSEL",e,e],[0,1,0,e,0,e,0,"VK_EXSEL",e,e],[0,1,0,e,0,e,0,"VK_EREOF",e,e],[0,1,0,e,0,e,0,"VK_PLAY",e,e],[0,1,0,e,0,e,0,"VK_ZOOM",e,e],[0,1,0,e,0,e,0,"VK_NONAME",e,e],[0,1,0,e,0,e,0,"VK_PA1",e,e],[0,1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const s of t){const[i,l,o,c,u,f,h,d,m,g]=s;if(r[o]||(r[o]=!0,ks[c]=o,Ms[c.toLowerCase()]=o),!n[u]){if(n[u]=!0,!f)throw new Error(`String representation missing for key code ${u} around scan code ${c}`);$e.define(u,f),ht.define(u,m||f),ft.define(u,g||m||f)}h&&(Rs[h]=u)}})();var Jt;(function(e){function t(o){return $e.keyCodeToStr(o)}e.toString=t;function n(o){return $e.strToKeyCode(o)}e.fromString=n;function r(o){return ht.keyCodeToStr(o)}e.toUserSettingsUS=r;function s(o){return ft.keyCodeToStr(o)}e.toUserSettingsGeneral=s;function i(o){return ht.strToKeyCode(o)||ft.strToKeyCode(o)}e.fromUserSettings=i;function l(o){if(o>=93&&o<=108)return null;switch(o){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return $e.keyCodeToStr(o)}e.toElectronAccelerator=l})(Jt||(Jt={}));function Es(e,t){const n=(t&65535)<<16>>>0;return(e|n)>>>0}class G extends E{constructor(t,n,r,s){super(t,n,r,s),this.selectionStartLineNumber=t,this.selectionStartColumn=n,this.positionLineNumber=r,this.positionColumn=s}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(t){return G.selectionsEqual(this,t)}static selectionsEqual(t,n){return t.selectionStartLineNumber===n.selectionStartLineNumber&&t.selectionStartColumn===n.selectionStartColumn&&t.positionLineNumber===n.positionLineNumber&&t.positionColumn===n.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(t,n){return this.getDirection()===0?new G(this.startLineNumber,this.startColumn,t,n):new G(t,n,this.startLineNumber,this.startColumn)}getPosition(){return new W(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new W(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(t,n){return this.getDirection()===0?new G(t,n,this.endLineNumber,this.endColumn):new G(this.endLineNumber,this.endColumn,t,n)}static fromPositions(t,n=t){return new G(t.lineNumber,t.column,n.lineNumber,n.column)}static fromRange(t,n){return n===0?new G(t.startLineNumber,t.startColumn,t.endLineNumber,t.endColumn):new G(t.endLineNumber,t.endColumn,t.startLineNumber,t.startColumn)}static liftSelection(t){return new G(t.selectionStartLineNumber,t.selectionStartColumn,t.positionLineNumber,t.positionColumn)}static selectionsArrEqual(t,n){if(t&&!n||!t&&n)return!1;if(!t&&!n)return!0;if(t.length!==n.length)return!1;for(let r=0,s=t.length;r{this._tokenizationSupports.get(t)===n&&(this._tokenizationSupports.delete(t),this.handleChange([t]))})}get(t){return this._tokenizationSupports.get(t)||null}registerFactory(t,n){var r;(r=this._factories.get(t))===null||r===void 0||r.dispose();const s=new Ds(this,t,n);return this._factories.set(t,s),Pe(()=>{const i=this._factories.get(t);!i||i!==s||(this._factories.delete(t),i.dispose())})}getOrCreate(t){return dt(this,void 0,void 0,function*(){const n=this.get(t);if(n)return n;const r=this._factories.get(t);return!r||r.isResolved?null:(yield r.resolve(),this.get(t))})}isResolved(t){if(this.get(t))return!0;const r=this._factories.get(t);return!!(!r||r.isResolved)}setColorMap(t){this._colorMap=t,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class Ds extends De{get isResolved(){return this._isResolved}constructor(t,n,r){super(),this._registry=t,this._languageId=n,this._factory=r,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return dt(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return dt(this,void 0,void 0,function*(){const t=yield this._factory.tokenizationSupport;this._isResolved=!0,t&&!this._isDisposed&&this._register(this._registry.register(this._languageId,t))})}}class Fs{constructor(t,n,r){this.offset=t,this.type=n,this.language=r,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}var en;(function(e){const t=new Map;t.set(0,A.symbolMethod),t.set(1,A.symbolFunction),t.set(2,A.symbolConstructor),t.set(3,A.symbolField),t.set(4,A.symbolVariable),t.set(5,A.symbolClass),t.set(6,A.symbolStruct),t.set(7,A.symbolInterface),t.set(8,A.symbolModule),t.set(9,A.symbolProperty),t.set(10,A.symbolEvent),t.set(11,A.symbolOperator),t.set(12,A.symbolUnit),t.set(13,A.symbolValue),t.set(15,A.symbolEnum),t.set(14,A.symbolConstant),t.set(15,A.symbolEnum),t.set(16,A.symbolEnumMember),t.set(17,A.symbolKeyword),t.set(27,A.symbolSnippet),t.set(18,A.symbolText),t.set(19,A.symbolColor),t.set(20,A.symbolFile),t.set(21,A.symbolReference),t.set(22,A.symbolCustomColor),t.set(23,A.symbolFolder),t.set(24,A.symbolTypeParameter),t.set(25,A.account),t.set(26,A.issues);function n(i){let l=t.get(i);return l||(console.info("No codicon found for CompletionItemKind "+i),l=A.symbolProperty),l}e.toIcon=n;const r=new Map;r.set("method",0),r.set("function",1),r.set("constructor",2),r.set("field",3),r.set("variable",4),r.set("class",5),r.set("struct",6),r.set("interface",7),r.set("module",8),r.set("property",9),r.set("event",10),r.set("operator",11),r.set("unit",12),r.set("value",13),r.set("constant",14),r.set("enum",15),r.set("enum-member",16),r.set("enumMember",16),r.set("keyword",17),r.set("snippet",27),r.set("text",18),r.set("color",19),r.set("file",20),r.set("reference",21),r.set("customcolor",22),r.set("folder",23),r.set("type-parameter",24),r.set("typeParameter",24),r.set("account",25),r.set("issue",26);function s(i,l){let o=r.get(i);return typeof o>"u"&&!l&&(o=9),o}e.fromString=s})(en||(en={}));var tn;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(tn||(tn={}));var nn;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(nn||(nn={}));var rn;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(rn||(rn={}));var sn;(function(e){const t=new Map;t.set(0,A.symbolFile),t.set(1,A.symbolModule),t.set(2,A.symbolNamespace),t.set(3,A.symbolPackage),t.set(4,A.symbolClass),t.set(5,A.symbolMethod),t.set(6,A.symbolProperty),t.set(7,A.symbolField),t.set(8,A.symbolConstructor),t.set(9,A.symbolEnum),t.set(10,A.symbolInterface),t.set(11,A.symbolFunction),t.set(12,A.symbolVariable),t.set(13,A.symbolConstant),t.set(14,A.symbolString),t.set(15,A.symbolNumber),t.set(16,A.symbolBoolean),t.set(17,A.symbolArray),t.set(18,A.symbolObject),t.set(19,A.symbolKey),t.set(20,A.symbolNull),t.set(21,A.symbolEnumMember),t.set(22,A.symbolStruct),t.set(23,A.symbolEvent),t.set(24,A.symbolOperator),t.set(25,A.symbolTypeParameter);function n(r){let s=t.get(r);return s||(console.info("No codicon found for SymbolKind "+r),s=A.symbolProperty),s}e.toIcon=n})(sn||(sn={}));var an;(function(e){function t(n){return!n||typeof n!="object"?!1:typeof n.id=="string"&&typeof n.title=="string"}e.is=t})(an||(an={}));var ln;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(ln||(ln={})),new Ps;var on;(function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"})(on||(on={}));var un;(function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"})(un||(un={}));var cn;(function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"})(cn||(cn={}));var hn;(function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"})(hn||(hn={}));var fn;(function(e){e[e.Deprecated=1]="Deprecated"})(fn||(fn={}));var dn;(function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(dn||(dn={}));var mn;(function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"})(mn||(mn={}));var gn;(function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"})(gn||(gn={}));var bn;(function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(bn||(bn={}));var _n;(function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"})(_n||(_n={}));var xn;(function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"})(xn||(xn={}));var pn;(function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.autoClosingBrackets=5]="autoClosingBrackets",e[e.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=7]="autoClosingDelete",e[e.autoClosingOvertype=8]="autoClosingOvertype",e[e.autoClosingQuotes=9]="autoClosingQuotes",e[e.autoIndent=10]="autoIndent",e[e.automaticLayout=11]="automaticLayout",e[e.autoSurround=12]="autoSurround",e[e.bracketPairColorization=13]="bracketPairColorization",e[e.guides=14]="guides",e[e.codeLens=15]="codeLens",e[e.codeLensFontFamily=16]="codeLensFontFamily",e[e.codeLensFontSize=17]="codeLensFontSize",e[e.colorDecorators=18]="colorDecorators",e[e.colorDecoratorsLimit=19]="colorDecoratorsLimit",e[e.columnSelection=20]="columnSelection",e[e.comments=21]="comments",e[e.contextmenu=22]="contextmenu",e[e.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",e[e.cursorBlinking=24]="cursorBlinking",e[e.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",e[e.cursorStyle=26]="cursorStyle",e[e.cursorSurroundingLines=27]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",e[e.cursorWidth=29]="cursorWidth",e[e.disableLayerHinting=30]="disableLayerHinting",e[e.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",e[e.domReadOnly=32]="domReadOnly",e[e.dragAndDrop=33]="dragAndDrop",e[e.dropIntoEditor=34]="dropIntoEditor",e[e.emptySelectionClipboard=35]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",e[e.extraEditorClassName=37]="extraEditorClassName",e[e.fastScrollSensitivity=38]="fastScrollSensitivity",e[e.find=39]="find",e[e.fixedOverflowWidgets=40]="fixedOverflowWidgets",e[e.folding=41]="folding",e[e.foldingStrategy=42]="foldingStrategy",e[e.foldingHighlight=43]="foldingHighlight",e[e.foldingImportsByDefault=44]="foldingImportsByDefault",e[e.foldingMaximumRegions=45]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=47]="fontFamily",e[e.fontInfo=48]="fontInfo",e[e.fontLigatures=49]="fontLigatures",e[e.fontSize=50]="fontSize",e[e.fontWeight=51]="fontWeight",e[e.fontVariations=52]="fontVariations",e[e.formatOnPaste=53]="formatOnPaste",e[e.formatOnType=54]="formatOnType",e[e.glyphMargin=55]="glyphMargin",e[e.gotoLocation=56]="gotoLocation",e[e.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",e[e.hover=58]="hover",e[e.inDiffEditor=59]="inDiffEditor",e[e.inlineSuggest=60]="inlineSuggest",e[e.letterSpacing=61]="letterSpacing",e[e.lightbulb=62]="lightbulb",e[e.lineDecorationsWidth=63]="lineDecorationsWidth",e[e.lineHeight=64]="lineHeight",e[e.lineNumbers=65]="lineNumbers",e[e.lineNumbersMinChars=66]="lineNumbersMinChars",e[e.linkedEditing=67]="linkedEditing",e[e.links=68]="links",e[e.matchBrackets=69]="matchBrackets",e[e.minimap=70]="minimap",e[e.mouseStyle=71]="mouseStyle",e[e.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=73]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",e[e.multiCursorModifier=75]="multiCursorModifier",e[e.multiCursorPaste=76]="multiCursorPaste",e[e.multiCursorLimit=77]="multiCursorLimit",e[e.occurrencesHighlight=78]="occurrencesHighlight",e[e.overviewRulerBorder=79]="overviewRulerBorder",e[e.overviewRulerLanes=80]="overviewRulerLanes",e[e.padding=81]="padding",e[e.parameterHints=82]="parameterHints",e[e.peekWidgetDefaultFocus=83]="peekWidgetDefaultFocus",e[e.definitionLinkOpensInPeek=84]="definitionLinkOpensInPeek",e[e.quickSuggestions=85]="quickSuggestions",e[e.quickSuggestionsDelay=86]="quickSuggestionsDelay",e[e.readOnly=87]="readOnly",e[e.renameOnType=88]="renameOnType",e[e.renderControlCharacters=89]="renderControlCharacters",e[e.renderFinalNewline=90]="renderFinalNewline",e[e.renderLineHighlight=91]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=92]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=93]="renderValidationDecorations",e[e.renderWhitespace=94]="renderWhitespace",e[e.revealHorizontalRightPadding=95]="revealHorizontalRightPadding",e[e.roundedSelection=96]="roundedSelection",e[e.rulers=97]="rulers",e[e.scrollbar=98]="scrollbar",e[e.scrollBeyondLastColumn=99]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=100]="scrollBeyondLastLine",e[e.scrollPredominantAxis=101]="scrollPredominantAxis",e[e.selectionClipboard=102]="selectionClipboard",e[e.selectionHighlight=103]="selectionHighlight",e[e.selectOnLineNumbers=104]="selectOnLineNumbers",e[e.showFoldingControls=105]="showFoldingControls",e[e.showUnused=106]="showUnused",e[e.snippetSuggestions=107]="snippetSuggestions",e[e.smartSelect=108]="smartSelect",e[e.smoothScrolling=109]="smoothScrolling",e[e.stickyScroll=110]="stickyScroll",e[e.stickyTabStops=111]="stickyTabStops",e[e.stopRenderingLineAfter=112]="stopRenderingLineAfter",e[e.suggest=113]="suggest",e[e.suggestFontSize=114]="suggestFontSize",e[e.suggestLineHeight=115]="suggestLineHeight",e[e.suggestOnTriggerCharacters=116]="suggestOnTriggerCharacters",e[e.suggestSelection=117]="suggestSelection",e[e.tabCompletion=118]="tabCompletion",e[e.tabIndex=119]="tabIndex",e[e.unicodeHighlighting=120]="unicodeHighlighting",e[e.unusualLineTerminators=121]="unusualLineTerminators",e[e.useShadowDOM=122]="useShadowDOM",e[e.useTabStops=123]="useTabStops",e[e.wordBreak=124]="wordBreak",e[e.wordSeparators=125]="wordSeparators",e[e.wordWrap=126]="wordWrap",e[e.wordWrapBreakAfterCharacters=127]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=128]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=129]="wordWrapColumn",e[e.wordWrapOverride1=130]="wordWrapOverride1",e[e.wordWrapOverride2=131]="wordWrapOverride2",e[e.wrappingIndent=132]="wrappingIndent",e[e.wrappingStrategy=133]="wrappingStrategy",e[e.showDeprecated=134]="showDeprecated",e[e.inlayHints=135]="inlayHints",e[e.editorClassName=136]="editorClassName",e[e.pixelRatio=137]="pixelRatio",e[e.tabFocusMode=138]="tabFocusMode",e[e.layoutInfo=139]="layoutInfo",e[e.wrappingInfo=140]="wrappingInfo"})(pn||(pn={}));var vn;(function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"})(vn||(vn={}));var wn;(function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"})(wn||(wn={}));var Ln;(function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"})(Ln||(Ln={}));var Nn;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(Nn||(Nn={}));var Sn;(function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"})(Sn||(Sn={}));var Cn;(function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"})(Cn||(Cn={}));var mt;(function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.NumLock=78]="NumLock",e[e.ScrollLock=79]="ScrollLock",e[e.Semicolon=80]="Semicolon",e[e.Equal=81]="Equal",e[e.Comma=82]="Comma",e[e.Minus=83]="Minus",e[e.Period=84]="Period",e[e.Slash=85]="Slash",e[e.Backquote=86]="Backquote",e[e.BracketLeft=87]="BracketLeft",e[e.Backslash=88]="Backslash",e[e.BracketRight=89]="BracketRight",e[e.Quote=90]="Quote",e[e.OEM_8=91]="OEM_8",e[e.IntlBackslash=92]="IntlBackslash",e[e.Numpad0=93]="Numpad0",e[e.Numpad1=94]="Numpad1",e[e.Numpad2=95]="Numpad2",e[e.Numpad3=96]="Numpad3",e[e.Numpad4=97]="Numpad4",e[e.Numpad5=98]="Numpad5",e[e.Numpad6=99]="Numpad6",e[e.Numpad7=100]="Numpad7",e[e.Numpad8=101]="Numpad8",e[e.Numpad9=102]="Numpad9",e[e.NumpadMultiply=103]="NumpadMultiply",e[e.NumpadAdd=104]="NumpadAdd",e[e.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=106]="NumpadSubtract",e[e.NumpadDecimal=107]="NumpadDecimal",e[e.NumpadDivide=108]="NumpadDivide",e[e.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",e[e.ABNT_C1=110]="ABNT_C1",e[e.ABNT_C2=111]="ABNT_C2",e[e.AudioVolumeMute=112]="AudioVolumeMute",e[e.AudioVolumeUp=113]="AudioVolumeUp",e[e.AudioVolumeDown=114]="AudioVolumeDown",e[e.BrowserSearch=115]="BrowserSearch",e[e.BrowserHome=116]="BrowserHome",e[e.BrowserBack=117]="BrowserBack",e[e.BrowserForward=118]="BrowserForward",e[e.MediaTrackNext=119]="MediaTrackNext",e[e.MediaTrackPrevious=120]="MediaTrackPrevious",e[e.MediaStop=121]="MediaStop",e[e.MediaPlayPause=122]="MediaPlayPause",e[e.LaunchMediaPlayer=123]="LaunchMediaPlayer",e[e.LaunchMail=124]="LaunchMail",e[e.LaunchApp2=125]="LaunchApp2",e[e.Clear=126]="Clear",e[e.MAX_VALUE=127]="MAX_VALUE"})(mt||(mt={}));var gt;(function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"})(gt||(gt={}));var bt;(function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"})(bt||(bt={}));var An;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})(An||(An={}));var yn;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(yn||(yn={}));var Rn;(function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"})(Rn||(Rn={}));var kn;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(kn||(kn={}));var Mn;(function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"})(Mn||(Mn={}));var En;(function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"})(En||(En={}));var Pn;(function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"})(Pn||(Pn={}));var Dn;(function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"})(Dn||(Dn={}));var Fn;(function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"})(Fn||(Fn={}));var _t;(function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"})(_t||(_t={}));var Vn;(function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"})(Vn||(Vn={}));var Tn;(function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"})(Tn||(Tn={}));var Bn;(function(e){e[e.Deprecated=1]="Deprecated"})(Bn||(Bn={}));var Un;(function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"})(Un||(Un={}));var In;(function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"})(In||(In={}));var qn;(function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(qn||(qn={}));var Wn;(function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"})(Wn||(Wn={}));class Re{static chord(t,n){return Es(t,n)}}Re.CtrlCmd=2048,Re.Shift=1024,Re.Alt=512,Re.WinCtrl=256;function Vs(){return{editor:void 0,languages:void 0,CancellationTokenSource:ys,Emitter:ee,KeyCode:mt,KeyMod:Re,Position:W,Range:E,Selection:G,SelectionDirection:_t,MarkerSeverity:gt,MarkerTag:bt,Uri:ce,Token:Fs}}var Hn;(function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"})(Hn||(Hn={}));var $n;(function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"})($n||($n={}));var zn;(function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"})(zn||(zn={}));function Ts(e,t,n,r,s){if(r===0)return!0;const i=t.charCodeAt(r-1);if(e.get(i)!==0||i===13||i===10)return!0;if(s>0){const l=t.charCodeAt(r);if(e.get(l)!==0)return!0}return!1}function Bs(e,t,n,r,s){if(r+s===n)return!0;const i=t.charCodeAt(r+s);if(e.get(i)!==0||i===13||i===10)return!0;if(s>0){const l=t.charCodeAt(r+s-1);if(e.get(l)!==0)return!0}return!1}function Us(e,t,n,r,s){return Ts(e,t,n,r,s)&&Bs(e,t,n,r,s)}class Is{constructor(t,n){this._wordSeparators=t,this._searchRegex=n,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(t){this._searchRegex.lastIndex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(t){const n=t.length;let r;do{if(this._prevMatchStartIndex+this._prevMatchLength===n||(r=this._searchRegex.exec(t),!r))return null;const s=r.index,i=r[0].length;if(s===this._prevMatchStartIndex&&i===this._prevMatchLength){if(i===0){qr(t,n,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=s,this._prevMatchLength=i,!this._wordSeparators||Us(this._wordSeparators,t,n,s,i))return r}while(r);return null}}function qs(e,t="Unreachable"){throw new Error(t)}function xt(e){if(!e()){debugger;e(),St(new ge("Assertion Failed"))}}function On(e,t){let n=0;for(;n0){const _=N.charCodeAt(y-1);nt(_)&&y--}if(R+1=1e3){h=!0;break e}f.push(new E(C,y+1,C,R+1))}}while(d)}return{ranges:f,hasMore:h,ambiguousCharacterCount:m,invisibleCharacterCount:g,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(t,n){const r=new Gn(n);switch(r.shouldHighlightNonBasicASCII(t,null)){case 0:return null;case 2:return{kind:1};case 3:{const i=t.codePointAt(0),l=r.ambiguousCharacters.getPrimaryConfusable(i),o=X.getLocales().filter(c=>!X.getInstance(new Set([...n.allowedLocales,c])).isAmbiguous(i));return{kind:0,confusableWith:String.fromCodePoint(l),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}function Hs(e,t){return`[${Fr(e.map(r=>String.fromCodePoint(r)).join(""))}]`}class Gn{constructor(t){this.options=t,this.allowedCodePoints=new Set(t.allowedCodePoints),this.ambiguousCharacters=X.getInstance(new Set(t.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const t=new Set;if(this.options.invisibleCharacters)for(const n of ne.codePoints)jn(String.fromCodePoint(n))||t.add(n);if(this.options.ambiguousCharacters)for(const n of this.ambiguousCharacters.getConfusableCodePoints())t.add(n);for(const n of this.allowedCodePoints)t.delete(n);return t}shouldHighlightNonBasicASCII(t,n){const r=t.codePointAt(0);if(this.allowedCodePoints.has(r))return 0;if(this.options.nonBasicASCII)return 1;let s=!1,i=!1;if(n)for(const l of n){const o=l.codePointAt(0),c=Hr(l);s=s||c,!c&&!this.ambiguousCharacters.isAmbiguous(o)&&!ne.isInvisibleCharacter(o)&&(i=!0)}return!s&&i?0:this.options.invisibleCharacters&&!jn(t)&&ne.isInvisibleCharacter(r)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(r)?3:0}}function jn(e){return e===" "||e===` +`||e===" "}class Xn{constructor(t,n){this.changes=t,this.hitTimeout=n}}class ze{constructor(t,n,r){this.originalRange=t,this.modifiedRange=n,this.innerChanges=r}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class Qn{constructor(t,n){this.originalRange=t,this.modifiedRange=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class J{static joinMany(t){if(t.length===0)return[];let n=t[0];for(let r=1;r=o.startLineNumber?l=new J(l.startLineNumber,Math.max(l.endLineNumberExclusive,o.endLineNumberExclusive)):(r.push(l),l=o)}return l!==null&&r.push(l),r}constructor(t,n){if(t>n)throw new ge(`startLineNumber ${t} cannot be after endLineNumberExclusive ${n}`);this.startLineNumber=t,this.endLineNumberExclusive=n}contains(t){return this.startLineNumber<=t&&tnew Qn(new E(m.originalStartLineNumber,m.originalStartColumn,m.originalEndLineNumber,m.originalEndColumn),new E(m.modifiedStartLineNumber,m.modifiedStartColumn,m.modifiedEndLineNumber,m.modifiedEndColumn))));c&&(c.modifiedRange.endLineNumberExclusive===d.modifiedRange.startLineNumber||c.originalRange.endLineNumberExclusive===d.originalRange.startLineNumber)&&(d=new ze(c.originalRange.join(d.originalRange),c.modifiedRange.join(d.modifiedRange),c.innerChanges&&d.innerChanges?c.innerChanges.concat(d.innerChanges):void 0),o.pop()),o.push(d),c=d}return xt(()=>On(o,(u,f)=>f.originalRange.startLineNumber-u.originalRange.endLineNumberExclusive===f.modifiedRange.startLineNumber-u.modifiedRange.endLineNumberExclusive&&u.originalRange.endLineNumberExclusive(t===10?"\\n":String.fromCharCode(t))+`-(${this._lineNumbers[n]},${this._columns[n]})`).join(", ")+"]"}_assertIndex(t,n){if(t<0||t>=n.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(t){return t>0&&t===this._lineNumbers.length?this.getEndLineNumber(t-1):(this._assertIndex(t,this._lineNumbers),this._lineNumbers[t])}getEndLineNumber(t){return t===-1?this.getStartLineNumber(t+1):(this._assertIndex(t,this._lineNumbers),this._charCodes[t]===10?this._lineNumbers[t]+1:this._lineNumbers[t])}getStartColumn(t){return t>0&&t===this._columns.length?this.getEndColumn(t-1):(this._assertIndex(t,this._columns),this._columns[t])}getEndColumn(t){return t===-1?this.getStartColumn(t+1):(this._assertIndex(t,this._columns),this._charCodes[t]===10?1:this._columns[t]+1)}}class Ne{constructor(t,n,r,s,i,l,o,c){this.originalStartLineNumber=t,this.originalStartColumn=n,this.originalEndLineNumber=r,this.originalEndColumn=s,this.modifiedStartLineNumber=i,this.modifiedStartColumn=l,this.modifiedEndLineNumber=o,this.modifiedEndColumn=c}static createFromDiffChange(t,n,r){const s=n.getStartLineNumber(t.originalStart),i=n.getStartColumn(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1),o=n.getEndColumn(t.originalStart+t.originalLength-1),c=r.getStartLineNumber(t.modifiedStart),u=r.getStartColumn(t.modifiedStart),f=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1),h=r.getEndColumn(t.modifiedStart+t.modifiedLength-1);return new Ne(s,i,l,o,c,u,f,h)}}function Gs(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,s=e.length;r0&&n.originalLength<20&&n.modifiedLength>0&&n.modifiedLength<20&&i()){const m=r.createCharSequence(t,n.originalStart,n.originalStart+n.originalLength-1),g=s.createCharSequence(t,n.modifiedStart,n.modifiedStart+n.modifiedLength-1);if(m.getElements().length>0&&g.getElements().length>0){let b=Yn(m,g,i,!0).changes;o&&(b=Gs(b)),d=[];for(let C=0,x=b.length;C1&&b>1;){const C=d.charCodeAt(g-2),x=m.charCodeAt(b-2);if(C!==x)break;g--,b--}(g>1||b>1)&&this._pushTrimWhitespaceCharChange(s,i+1,1,g,l+1,1,b)}{let g=vt(d,1),b=vt(m,1);const C=d.length+1,x=m.length+1;for(;g!0;const t=Date.now();return()=>Date.now()-tn))return new U(t,n)}constructor(t,n){if(this.start=t,this.endExclusive=n,t>n)throw new ge(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(t){return new U(this.start+t,this.endExclusive+t)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(t){return this.start===t.start&&this.endExclusive===t.endExclusive}containsRange(t){return this.start<=t.start&&t.endExclusive<=this.endExclusive}join(t){return new U(Math.min(this.start,t.start),Math.max(this.endExclusive,t.endExclusive))}intersect(t){const n=Math.max(this.start,t.start),r=Math.min(this.endExclusive,t.endExclusive);if(n<=r)return new U(n,r)}}class te{static trivial(t,n){return new te([new Q(new U(0,t.length),new U(0,n.length))],!1)}static trivialTimedOut(t,n){return new te([new Q(new U(0,t.length),new U(0,n.length))],!0)}constructor(t,n){this.diffs=t,this.hitTimeout=n}}class Q{constructor(t,n){this.seq1Range=t,this.seq2Range=n}reverse(){return new Q(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(t){return new Q(this.seq1Range.join(t.seq1Range),this.seq2Range.join(t.seq2Range))}}class Me{isValid(){return!0}}Me.instance=new Me;class Xs{constructor(t){if(this.timeout=t,this.startTime=Date.now(),this.valid=!0,t<=0)throw new ge("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime0&&b>0&&l.get(g-1,b-1)===3&&(N+=o.get(g-1,b-1)),N+=s?s(g,b):1):N=-1;const L=Math.max(C,x,N);if(L===N){const y=g>0&&b>0?o.get(g-1,b-1):0;o.set(g,b,y+1),l.set(g,b,3)}else L===C?(o.set(g,b,0),l.set(g,b,1)):L===x&&(o.set(g,b,0),l.set(g,b,2));i.set(g,b,L)}const c=[];let u=t.length,f=n.length;function h(g,b){(g+1!==u||b+1!==f)&&c.push(new Q(new U(g+1,u),new U(b+1,f))),u=g,f=b}let d=t.length-1,m=n.length-1;for(;d>=0&&m>=0;)l.get(d,m)===3?(h(d,m),d--,m--):l.get(d,m)===1?d--:m--;return h(-1,-1),c.reverse(),new te(c,!1)}}function Kn(e,t,n){let r=n;return r=Zs(e,t,r),r=Js(e,t,r),r}function Ys(e,t,n){const r=[];for(const s of n){const i=r[r.length-1];if(!i){r.push(s);continue}s.seq1Range.start-i.seq1Range.endExclusive<=2||s.seq2Range.start-i.seq2Range.endExclusive<=2?r[r.length-1]=new Q(i.seq1Range.join(s.seq1Range),i.seq2Range.join(s.seq2Range)):r.push(s)}return r}function Zs(e,t,n){const r=[];n.length>0&&r.push(n[0]);for(let s=1;s0?n[r-1].seq2Range.endExclusive:-1,l=r+10?n[r-1].seq1Range.endExclusive:-1,l=r+1s&&n.getElement(e.seq2Range.start-l)===n.getElement(e.seq2Range.endExclusive-l)&&l<20;)l++;l--;let o=0;for(;e.seq2Range.start+ou&&(u=g,c=f)}return c!==0?new Q(e.seq1Range.delta(c),e.seq2Range.delta(c)):e}class Ks{compute(t,n,r=Me.instance){if(t.length===0||n.length===0)return te.trivial(t,n);function s(m,g){for(;m=this.negativeArr.length){const r=this.negativeArr;this.negativeArr=new Int32Array(r.length*2),this.negativeArr.set(r)}this.negativeArr[t]=n}else{if(t>=this.positiveArr.length){const r=this.positiveArr;this.positiveArr=new Int32Array(r.length*2),this.positiveArr.set(r)}this.positiveArr[t]=n}}}class ti{constructor(){this.positiveArr=[],this.negativeArr=[]}get(t){return t<0?(t=-t-1,this.negativeArr[t]):this.positiveArr[t]}set(t,n){t<0?(t=-t-1,this.negativeArr[t]=n):this.positiveArr[t]=n}}class ni{constructor(){this.dynamicProgrammingDiffing=new Qs,this.myersDiffingAlgorithm=new Ks}computeDiff(t,n,r){const s=r.maxComputationTimeMs===0?Me.instance:new Xs(r.maxComputationTimeMs),i=!r.ignoreTrimWhitespace,l=new Map;function o(y){let R=l.get(y);return R===void 0&&(R=l.size,l.set(y,R)),R}const c=t.map(y=>o(y.trim())),u=n.map(y=>o(y.trim())),f=new nr(c,t),h=new nr(u,n),d=f.length+h.length<1500?this.dynamicProgrammingDiffing.compute(f,h,s,(y,R)=>t[y]===n[R]?n[R].length===0?.1:1+Math.log(1+n[R].length):.99):this.myersDiffingAlgorithm.compute(f,h);let m=d.diffs,g=d.hitTimeout;m=Kn(f,h,m);const b=[],C=y=>{if(i)for(let R=0;Ry.seq1Range.start-x===y.seq2Range.start-N);const R=y.seq1Range.start-x;C(R),x=y.seq1Range.endExclusive,N=y.seq2Range.endExclusive;const T=this.refineDiff(t,n,y,s,i);T.hitTimeout&&(g=!0);for(const F of T.mappings)b.push(F)}C(t.length-x);const L=ii(b,t,n);return new Xn(L,g)}refineDiff(t,n,r,s,i){const l=new sr(t,r.seq1Range,i),o=new sr(n,r.seq2Range,i),c=l.length+o.length<500?this.dynamicProgrammingDiffing.compute(l,o,s):this.myersDiffingAlgorithm.compute(l,o,s);let u=c.diffs;return u=Kn(l,o,u),u=ri(l,o,u),u=Ys(l,o,u),{mappings:u.map(h=>new Qn(l.translateRange(h.seq1Range),o.translateRange(h.seq2Range))),hitTimeout:c.hitTimeout}}}function ri(e,t,n){const r=[];let s;function i(){if(!s)return;const o=s.s1Range.length-s.deleted;s.s2Range.length-s.added,Math.max(s.deleted,s.added)+(s.count-1)>o&&r.push(new Q(s.s1Range,s.s2Range)),s=void 0}for(const o of n){let c=function(m,g){var b,C,x,N;if(!s||!s.s1Range.containsRange(m)||!s.s2Range.containsRange(g))if(s&&!(s.s1Range.endExclusive0||t.length>0;){const r=e[0],s=t[0];let i;r&&(!s||r.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=i.seq1Range.start?n[n.length-1]=n[n.length-1].join(i):n.push(i)}return n}function ii(e,t,n){const r=[];for(const s of li(e.map(i=>ai(i,t,n)),(i,l)=>i.originalRange.overlapOrTouch(l.originalRange)||i.modifiedRange.overlapOrTouch(l.modifiedRange))){const i=s[0],l=s[s.length-1];r.push(new ze(i.originalRange.join(l.originalRange),i.modifiedRange.join(l.modifiedRange),s.map(o=>o.innerChanges[0])))}return xt(()=>On(r,(s,i)=>i.originalRange.startLineNumber-s.originalRange.endLineNumberExclusive===i.modifiedRange.startLineNumber-s.modifiedRange.endLineNumberExclusive&&s.originalRange.endLineNumberExclusive=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&(r=1),e.modifiedRange.endColumn===1&&e.originalRange.endColumn===1&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(s=-1);const i=new J(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+s),l=new J(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+s);return new ze(i,l,[e])}function*li(e,t){let n,r;for(const s of e)r!==void 0&&t(r,s)?n.push(s):(n&&(yield n),n=[s]),r=s;n&&(yield n)}class nr{constructor(t,n){this.trimmedHash=t,this.lines=n}getElement(t){return this.trimmedHash[t]}get length(){return this.trimmedHash.length}getBoundaryScore(t){const n=t===0?0:rr(this.lines[t-1]),r=t===this.lines.length?0:rr(this.lines[t]);return 1e3-(n+r)}}function rr(e){let t=0;for(;t0&&n.endExclusive>=t.length&&(n=new U(n.start-1,n.endExclusive),s=!0),this.lineRange=n;for(let i=this.lineRange.start;iString.fromCharCode(t)).join("")}getElement(t){return this.elements[t]}get length(){return this.elements.length}getBoundaryScore(t){const n=ar(t>0?this.elements[t-1]:-1),r=ar(tt?r=i:n=i+1}const s=n===0?0:this.firstCharOffsetByLineMinusOne[n-1];return new W(this.lineRange.start+n+1,t-s+1+this.offsetByLine[n])}translateRange(t){return E.fromPositions(this.translateOffset(t.start),this.translateOffset(t.endExclusive))}findWordContaining(t){if(t<0||t>=this.elements.length||!Lt(this.elements[t]))return;let n=t;for(;n>0&&Lt(this.elements[n-1]);)n--;let r=t;for(;r=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const oi={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function ir(e){return oi[e]}function ar(e){return e===10?7:e===13?6:ui(e)?5:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:e===-1?3:4}function ui(e){return e===32||e===9}const lr={smart:new zs,experimental:new ni};var he=function(e,t,n,r){function s(i){return i instanceof n?i:new n(function(l){l(i)})}return new(n||(n=Promise))(function(i,l){function o(f){try{u(r.next(f))}catch(h){l(h)}}function c(f){try{u(r.throw(f))}catch(h){l(h)}}function u(f){f.done?i(f.value):s(f.value).then(o,c)}u((r=r.apply(e,t||[])).next())})};class ci extends _s{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(t){return this._lines[t-1]}getWordAtPosition(t,n){const r=at(t.column,vs(n),this._lines[t.lineNumber-1],0);return r?new E(t.lineNumber,r.startColumn,t.lineNumber,r.endColumn):null}words(t){const n=this._lines,r=this._wordenize.bind(this);let s=0,i="",l=0,o=[];return{*[Symbol.iterator](){for(;;)if(lthis._lines.length)n=this._lines.length,r=this._lines[n-1].length+1,s=!0;else{const i=this._lines[n-1].length+1;r<1?(r=1,s=!0):r>i&&(r=i,s=!0)}return s?{lineNumber:n,column:r}:t}}class fe{constructor(t,n){this._host=t,this._models=Object.create(null),this._foreignModuleFactory=n,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(t){return this._models[t]}_getModels(){const t=[];return Object.keys(this._models).forEach(n=>t.push(this._models[n])),t}acceptNewModel(t){this._models[t.url]=new ci(ce.parse(t.url),t.lines,t.EOL,t.versionId)}acceptModelChanged(t,n){if(!this._models[t])return;this._models[t].onEvents(n)}acceptRemovedModel(t){this._models[t]&&delete this._models[t]}computeUnicodeHighlights(t,n,r){return he(this,void 0,void 0,function*(){const s=this._getModel(t);return s?Ws.computeUnicodeHighlights(s,n,r):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(t,n,r,s){return he(this,void 0,void 0,function*(){const i=this._getModel(t),l=this._getModel(n);return!i||!l?null:fe.computeDiff(i,l,r,s)})}static computeDiff(t,n,r,s){const i=s==="experimental"?lr.experimental:lr.smart,l=t.getLinesContent(),o=n.getLinesContent(),c=i.computeDiff(l,o,r);return{identical:c.changes.length>0?!1:this._modelsAreIdentical(t,n),quitEarly:c.hitTimeout,changes:c.changes.map(f=>{var h;return[f.originalRange.startLineNumber,f.originalRange.endLineNumberExclusive,f.modifiedRange.startLineNumber,f.modifiedRange.endLineNumberExclusive,(h=f.innerChanges)===null||h===void 0?void 0:h.map(d=>[d.originalRange.startLineNumber,d.originalRange.startColumn,d.originalRange.endLineNumber,d.originalRange.endColumn,d.modifiedRange.startLineNumber,d.modifiedRange.startColumn,d.modifiedRange.endLineNumber,d.modifiedRange.endColumn])]})}}static _modelsAreIdentical(t,n){const r=t.getLineCount(),s=n.getLineCount();if(r!==s)return!1;for(let i=1;i<=r;i++){const l=t.getLineContent(i),o=n.getLineContent(i);if(l!==o)return!1}return!0}computeMoreMinimalEdits(t,n,r){return he(this,void 0,void 0,function*(){const s=this._getModel(t);if(!s)return n;const i=[];let l;n=n.slice(0).sort((o,c)=>{if(o.range&&c.range)return E.compareRangesUsingStarts(o.range,c.range);const u=o.range?0:1,f=c.range?0:1;return u-f});for(let{range:o,text:c,eol:u}of n){if(typeof u=="number"&&(l=u),E.isEmpty(o)&&!c)continue;const f=s.getValueInRange(o);if(c=c.replace(/\r\n|\n|\r/g,s.eol),f===c)continue;if(Math.max(c.length,f.length)>fe._diffLimit){i.push({range:o,text:c});continue}const h=Jr(f,c,r),d=s.offsetAt(E.lift(o).getStartPosition());for(const m of h){const g=s.positionAt(d+m.originalStart),b=s.positionAt(d+m.originalStart+m.originalLength),C={text:c.substr(m.modifiedStart,m.modifiedLength),range:{startLineNumber:g.lineNumber,startColumn:g.column,endLineNumber:b.lineNumber,endColumn:b.column}};s.getValueInRange(C.range)!==C.text&&i.push(C)}}return typeof l=="number"&&i.push({eol:l,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),i})}computeLinks(t){return he(this,void 0,void 0,function*(){const n=this._getModel(t);return n?As(n):null})}textualSuggest(t,n,r,s){return he(this,void 0,void 0,function*(){const i=new Te(!0),l=new RegExp(r,s),o=new Set;e:for(const c of t){const u=this._getModel(c);if(u){for(const f of u.words(l))if(!(f===n||!isNaN(Number(f)))&&(o.add(f),o.size>fe._suggestionsLimit))break e}}return{words:Array.from(o),duration:i.elapsed()}})}computeWordRanges(t,n,r,s){return he(this,void 0,void 0,function*(){const i=this._getModel(t);if(!i)return Object.create(null);const l=new RegExp(r,s),o=Object.create(null);for(let c=n.startLineNumber;cthis._host.fhr(o,c)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(l,n),Promise.resolve(tt(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(t,n){if(!this._foreignModule||typeof this._foreignModule[t]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+t));try{return Promise.resolve(this._foreignModule[t].apply(this._foreignModule,n))}catch(r){return Promise.reject(r)}}}fe._diffLimit=1e5,fe._suggestionsLimit=1e4,typeof importScripts=="function"&&(globalThis.monaco=Vs());let Nt=!1;function hi(e){if(Nt)return;Nt=!0;const t=new Yr(n=>{globalThis.postMessage(n)},n=>new fe(n,e));globalThis.onmessage=n=>{t.onmessage(n.data)}}globalThis.onmessage=e=>{Nt||hi(null)}})(); diff --git a/assets/assets/elixir-UwPN-Rlt.js b/assets/assets/elixir-UwPN-Rlt.js new file mode 100644 index 0000000..6638fa2 --- /dev/null +++ b/assets/assets/elixir-UwPN-Rlt.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:'"',close:'"'}],autoClosingPairs:[{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["comment"]},{open:'"""',close:'"""'},{open:"`",close:"`",notIn:["string","comment"]},{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"<<",close:">>"}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},t={defaultToken:"source",tokenPostfix:".elixir",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"<<",close:">>",token:"delimiter.angle.special"}],declarationKeywords:["def","defp","defn","defnp","defguard","defguardp","defmacro","defmacrop","defdelegate","defcallback","defmacrocallback","defmodule","defprotocol","defexception","defimpl","defstruct"],operatorKeywords:["and","in","not","or","when"],namespaceKeywords:["alias","import","require","use"],otherKeywords:["after","case","catch","cond","do","else","end","fn","for","if","quote","raise","receive","rescue","super","throw","try","unless","unquote_splicing","unquote","with"],constants:["true","false","nil"],nameBuiltin:["__MODULE__","__DIR__","__ENV__","__CALLER__","__STACKTRACE__"],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:"@whitespace"},{include:"@comments"},{include:"@keywordsShorthand"},{include:"@numbers"},{include:"@identifiers"},{include:"@strings"},{include:"@atoms"},{include:"@sigils"},{include:"@attributes"},{include:"@symbols"}],whitespace:[[/\s+/,"white"]],comments:[[/(#)(.*)/,["comment.punctuation","comment"]]],keywordsShorthand:[[/(@atomName)(:)(\s+)/,["constant","constant.punctuation","white"]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:"constant.delimiter",next:"@doubleQuotedStringKeyword"}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:"constant.delimiter",next:"@singleQuotedStringKeyword"}]],doubleQuotedStringKeyword:[[/":/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringKeyword:[[/':/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],numbers:[[/0b@binary/,"number.binary"],[/0o@octal/,"number.octal"],[/0x@hex/,"number.hex"],[/@decimal\.@decimal([eE]-?@decimal)?/,"number.float"],[/@decimal/,"number"]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,["keyword.declaration","white",{cases:{unquote:"keyword","@default":"function"}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":"keyword.declaration","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@default":"function.call"}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,["type.identifier","white","operator","white","function.call"]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,["constant.punctuation","constant","white","operator","white","function.call"]],[/(\|>)(\s*)(@variableName)/,["operator","white",{cases:{"@otherKeywords":"keyword","@default":"function.call"}}]],[/(&)(\s*)(@variableName)/,["operator","white","function.call"]],[/@variableName/,{cases:{"@declarationKeywords":"keyword.declaration","@operatorKeywords":"keyword.operator","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@constants":"constant.language","@nameBuiltin":"variable.language","_.*":"comment.unused","@default":"identifier"}}],[/@moduleName/,"type.identifier"]],strings:[[/"""/,{token:"string.delimiter",next:"@doubleQuotedHeredoc"}],[/'''/,{token:"string.delimiter",next:"@singleQuotedHeredoc"}],[/"/,{token:"string.delimiter",next:"@doubleQuotedString"}],[/'/,{token:"string.delimiter",next:"@singleQuotedString"}]],doubleQuotedHeredoc:[[/"""/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedHeredoc:[[/'''/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],doubleQuotedString:[[/"/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],singleQuotedString:[[/'/,{token:"string.delimiter",next:"@pop"}],{include:"@stringContentInterpol"}],atoms:[[/(:)(@atomName)/,["constant.punctuation","constant"]],[/:"/,{token:"constant.delimiter",next:"@doubleQuotedStringAtom"}],[/:'/,{token:"constant.delimiter",next:"@singleQuotedStringAtom"}]],doubleQuotedStringAtom:[[/"/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringAtom:[[/'/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],sigils:[[/~[a-z]@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.interpol"}],[/~[A-Z]@sigilStartDelimiter/,{token:"@rematch",next:"@sigil.noInterpol"}]],sigil:[[/~([a-zA-Z])\{/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.{.}"}],[/~([a-zA-Z])\[/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.[.]"}],[/~([a-zA-Z])\(/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.(.)"}],[/~([a-zA-Z])\"}],[/~([a-zA-Z])(@sigilSymmetricDelimiter)/,{token:"@rematch",switchTo:"@sigilStart.$S2.$1.$2.$2"}]],"sigilStart.interpol.s":[[/~s@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.s":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContentInterpol"}],"sigilStart.noInterpol.S":[[/~S@sigilStartDelimiter/,{token:"string.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.S":[[/(^|[^\\])\\@sigilEndDelimiter/,"string"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"string.delimiter",next:"@pop"},"@default":"string"}}],{include:"@stringContent"}],"sigilStart.interpol.r":[[/~r@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol.r":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContentInterpol"}],"sigilStart.noInterpol.R":[[/~R@sigilStartDelimiter/,{token:"regexp.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol.R":[[/(^|[^\\])\\@sigilEndDelimiter/,"regexp"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"regexp.delimiter",next:"@pop"},"@default":"regexp"}}],{include:"@regexpContent"}],"sigilStart.interpol":[[/~([a-zA-Z])@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.interpol":[[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContentInterpol"}],"sigilStart.noInterpol":[[/~([a-zA-Z])@sigilStartDelimiter/,{token:"sigil.delimiter",switchTo:"@sigilContinue.$S2.$S3.$S4.$S5"}]],"sigilContinue.noInterpol":[[/(^|[^\\])\\@sigilEndDelimiter/,"sigil"],[/(@sigilEndDelimiter)@sigilModifiers/,{cases:{"$1==$S5":{token:"sigil.delimiter",next:"@pop"},"@default":"sigil"}}],{include:"@sigilContent"}],attributes:[[/\@(module|type)?doc (~[sS])?"""/,{token:"comment.block.documentation",next:"@doubleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?'''/,{token:"comment.block.documentation",next:"@singleQuotedHeredocDocstring"}],[/\@(module|type)?doc (~[sS])?"/,{token:"comment.block.documentation",next:"@doubleQuotedStringDocstring"}],[/\@(module|type)?doc (~[sS])?'/,{token:"comment.block.documentation",next:"@singleQuotedStringDocstring"}],[/\@(module|type)?doc false/,"comment.block.documentation"],[/\@(@variableName)/,"variable"]],doubleQuotedHeredocDocstring:[[/"""/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedHeredocDocstring:[[/'''/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],doubleQuotedStringDocstring:[[/"/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],singleQuotedStringDocstring:[[/'/,{token:"comment.block.documentation",next:"@pop"}],{include:"@docstringContent"}],symbols:[[/\?(\\.|[^\\\s])/,"number.constant"],[/&\d+/,"operator"],[/<<<|>>>/,"operator"],[/[()\[\]\{\}]|<<|>>/,"@brackets"],[/\.\.\./,"identifier"],[/=>/,"punctuation"],[/@operator/,"operator"],[/[:;,.%]/,"punctuation"]],stringContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringContent"}],stringContent:[[/./,"string"]],stringConstantContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@stringConstantContent"}],stringConstantContent:[[/./,"constant"]],regexpContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@regexpContent"}],regexpContent:[[/(\s)(#)(\s.*)$/,["white","comment.punctuation","comment"]],[/./,"regexp"]],sigilContentInterpol:[{include:"@interpolation"},{include:"@escapeChar"},{include:"@sigilContent"}],sigilContent:[[/./,"sigil"]],docstringContent:[[/./,"comment.block.documentation"]],escapeChar:[[/@escape/,"constant.character.escape"]],interpolation:[[/#{/,{token:"delimiter.bracket.embed",next:"@interpolationContinue"}]],interpolationContinue:[[/}/,{token:"delimiter.bracket.embed",next:"@pop"}],{include:"@root"}]}};export{e as conf,t as language}; diff --git a/assets/assets/flow9-CgLYUr2P.js b/assets/assets/flow9-CgLYUr2P.js new file mode 100644 index 0000000..258156f --- /dev/null +++ b/assets/assets/flow9-CgLYUr2P.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},o={defaultToken:"",tokenPostfix:".flow",keywords:["import","require","export","forbid","native","if","else","cast","unsafe","switch","default"],types:["io","mutable","bool","int","double","string","flow","void","ref","true","false","with"],operators:["=",">","<","<=",">=","==","!","!=",":=","::=","&&","||","+","-","*","/","@","&","%",":","->","\\","$","??","^"],symbols:/[@$=>](?!@symbols)/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};export{e as conf,o as language}; diff --git a/assets/assets/freemarker2-WpdUPf-d.js b/assets/assets/freemarker2-WpdUPf-d.js new file mode 100644 index 0000000..df79b51 --- /dev/null +++ b/assets/assets/freemarker2-WpdUPf-d.js @@ -0,0 +1,8 @@ +import{m as F}from"./index-iIKmhSVb.js";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var b=Object.defineProperty,x=Object.getOwnPropertyDescriptor,$=Object.getOwnPropertyNames,v=Object.prototype.hasOwnProperty,g=(t,n,_,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of $(n))!v.call(t,o)&&o!==_&&b(t,o,{get:()=>n[o],enumerable:!(e=x(n,o))||e.enumerable});return t},E=(t,n,_)=>(g(t,n,"default"),_&&g(_,n,"default")),r={};E(r,F);var d=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],s=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],a={close:">",id:"angle",open:"<"},u={close:"\\]",id:"bracket",open:"\\["},D={close:"[>\\]]",id:"auto",open:"[<\\[]"},k={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},p={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function l(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:` +\r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${s.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${s.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:r.languages.IndentAction.Indent}}]}}function A(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:` +\r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${s.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${s.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:r.languages.IndentAction.Indent}}]}}function i(t,n){const _=`_${t.id}_${n.id}`,e=c=>c.replace(/__id__/g,_),o=c=>{const f=c.source.replace(/__id__/g,_);return new RegExp(f,c.flags)};return{unicode:!0,includeLF:!1,start:e("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[e("open__id__")]:new RegExp(t.open),[e("close__id__")]:new RegExp(t.close),[e("iOpen1__id__")]:new RegExp(n.open1),[e("iOpen2__id__")]:new RegExp(n.open2),[e("iClose__id__")]:new RegExp(n.close),[e("startTag__id__")]:o(/(@open__id__)(#)/),[e("endTag__id__")]:o(/(@open__id__)(\/#)/),[e("startOrEndTag__id__")]:o(/(@open__id__)(\/?#)/),[e("closeTag1__id__")]:o(/((?:@blank)*)(@close__id__)/),[e("closeTag2__id__")]:o(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/<=|>=|\\lte|\\lt|<|\\gte|\\gt|>|&&|\\and|->|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","->"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[e("default__id__")]:[{include:e("@directive_token__id__")},{include:e("@interpolation_and_text_token__id__")}],[e("fmExpression__id__.directive")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("fmExpression__id__.interpolation")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("inParen__id__.plain")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("inParen__id__.gt")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@expression_token__id__")},{include:e("@greater_operators_token__id__")}],[e("noSpaceExpression__id__")]:[{include:e("@no_space_expression_end_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("unifiedCall__id__")]:[{include:e("@unified_call_token__id__")}],[e("singleString__id__")]:[{include:e("@string_single_token__id__")}],[e("doubleString__id__")]:[{include:e("@string_double_token__id__")}],[e("rawSingleString__id__")]:[{include:e("@string_single_raw_token__id__")}],[e("rawDoubleString__id__")]:[{include:e("@string_double_raw_token__id__")}],[e("expressionComment__id__")]:[{include:e("@expression_comment_token__id__")}],[e("noParse__id__")]:[{include:e("@no_parse_token__id__")}],[e("terseComment__id__")]:[{include:e("@terse_comment_token__id__")}],[e("directive_token__id__")]:[[o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{cases:{"@noParseTags":{token:"tag",next:e("@noParse__id__.$3")},"@default":{token:"tag"}}},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)(@)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive",next:e("@unifiedCall__id__")}]],[o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive"}]],[o(/(@open__id__)#--/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:{token:"comment",next:e("@terseComment__id__")}],[o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),t.id==="auto"?{cases:{"$1==<":{token:"@rematch",switchTo:`@default_angle_${n.id}`},"$1==[":{token:"@rematch",switchTo:`@default_bracket_${n.id}`}}}:[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag.invalid",next:e("@fmExpression__id__.directive")}]]],[e("interpolation_and_text_token__id__")]:[[o(/(@iOpen1__id__)(@iOpen2__id__)/),[{token:n.id==="bracket"?"@brackets.interpolation":"delimiter.interpolation"},{token:n.id==="bracket"?"delimiter.interpolation":"@brackets.interpolation",next:e("@fmExpression__id__.interpolation")}]],[/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/,{token:"source"}]],[e("string_single_token__id__")]:[[/[^'\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/'/,{token:"string",next:"@pop"}]],[e("string_double_token__id__")]:[[/[^"\\]/,{token:"string"}],[/@escapedChar/,{token:"string.escape"}],[/"/,{token:"string",next:"@pop"}]],[e("string_single_raw_token__id__")]:[[/[^']+/,{token:"string.raw"}],[/'/,{token:"string.raw",next:"@pop"}]],[e("string_double_raw_token__id__")]:[[/[^"]+/,{token:"string.raw"}],[/"/,{token:"string.raw",next:"@pop"}]],[e("expression_token__id__")]:[[/(r?)(['"])/,{cases:{"r'":[{token:"keyword"},{token:"string.raw",next:e("@rawSingleString__id__")}],'r"':[{token:"keyword"},{token:"string.raw",next:e("@rawDoubleString__id__")}],"'":[{token:"source"},{token:"string",next:e("@singleString__id__")}],'"':[{token:"source"},{token:"string",next:e("@doubleString__id__")}]}}],[/(?:@integer)(?:\.(?:@integer))?/,{cases:{"(?:@integer)":{token:"number"},"@default":{token:"number.float"}}}],[/(\.)(@blank*)(@specialHashKeys)/,[{token:"delimiter"},{token:""},{token:"identifier"}]],[/(?:@namedSymbols)/,{cases:{"@arrows":{token:"meta.arrow"},"@delimiters":{token:"delimiter"},"@default":{token:"operators"}}}],[/@id/,{cases:{"@keywords":{token:"keyword.$0"},"@stringOperators":{token:"operators"},"@default":{token:"identifier"}}}],[/[\[\]\(\)\{\}]/,{cases:{"\\[":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\]":{cases:{...n.id==="bracket"?{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}}:{},...t.id==="bracket"?{"$S2==directive":{token:"@brackets.directive",next:"@popall"}}:{},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\(":{token:"@brackets",next:e("@inParen__id__.gt")},"\\)":{cases:{[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}},"\\{":{cases:{"$S2==gt":{token:"@brackets",next:e("@inParen__id__.gt")},"@default":{token:"@brackets",next:e("@inParen__id__.plain")}}},"\\}":{cases:{...n.id==="bracket"?{}:{"$S2==interpolation":{token:"@brackets.interpolation",next:"@popall"}},[e("$S1==inParen__id__")]:{token:"@brackets",next:"@pop"},"@default":{token:"@brackets"}}}}}],[/\$\{/,{token:"delimiter.invalid"}]],[e("blank_and_expression_comment_token__id__")]:[[/(?:@blank)+/,{token:""}],[/[<\[][#!]--/,{token:"comment",next:e("@expressionComment__id__")}]],[e("directive_end_token__id__")]:[[/>/,t.id==="bracket"?{token:"operators"}:{token:"@brackets.directive",next:"@popall"}],[o(/(\/)(@close__id__)/),[{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]]],[e("greater_operators_token__id__")]:[[/>/,{token:"operators"}],[/>=/,{token:"operators"}]],[e("no_space_expression_end_token__id__")]:[[/(?:@blank)+/,{token:"",switchTo:e("@fmExpression__id__.directive")}]],[e("unified_call_token__id__")]:[[/(@id)((?:@blank)+)/,[{token:"tag"},{token:"",next:e("@fmExpression__id__.directive")}]],[o(/(@id)(\/?)(@close__id__)/),[{token:"tag"},{token:"delimiter.directive"},{token:"@brackets.directive",next:"@popall"}]],[/./,{token:"@rematch",next:e("@noSpaceExpression__id__")}]],[e("no_parse_token__id__")]:[[o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),{cases:{"$S2==$3":[{token:"@brackets.directive"},{token:"delimiter.directive"},{token:"tag"},{token:""},{token:"@brackets.directive",next:"@popall"}],"$S2==comment":[{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"},{token:"comment"}],"@default":[{token:"source"},{token:"source"},{token:"source"},{token:"source"},{token:"source"}]}}],[/[^<\[\-]+|[<\[\-]/,{cases:{"$S2==comment":{token:"comment"},"@default":{token:"source"}}}]],[e("expression_comment_token__id__")]:[[/--[>\]]/,{token:"comment",next:"@pop"}],[/[^\->\]]+|[>\]\-]/,{token:"comment"}]],[e("terse_comment_token__id__")]:[[o(/--(?:@close__id__)/),{token:"comment",next:"@popall"}],[/[^<\[\-]+|[<\[\-]/,{token:"comment"}]]}}}function m(t){const n=i(a,t),_=i(u,t),e=i(D,t);return{...n,..._,...e,unicode:!0,includeLF:!1,start:`default_auto_${t.id}`,ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{...n.tokenizer,..._.tokenizer,...e.tokenizer}}}var C={conf:l(a),language:i(a,k)},w={conf:l(u),language:i(u,k)},T={conf:l(a),language:i(a,p)},h={conf:l(u),language:i(u,p)},S={conf:A(),language:m(k)},P={conf:A(),language:m(p)};export{T as TagAngleInterpolationBracket,C as TagAngleInterpolationDollar,P as TagAutoInterpolationBracket,S as TagAutoInterpolationDollar,h as TagBracketInterpolationBracket,w as TagBracketInterpolationDollar}; diff --git a/assets/assets/fsharp-OSWdaDvE.js b/assets/assets/fsharp-OSWdaDvE.js new file mode 100644 index 0000000..404c250 --- /dev/null +++ b/assets/assets/fsharp-OSWdaDvE.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},n={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}};export{e as conf,n as language}; diff --git a/assets/assets/go-5tF-fl5m.js b/assets/assets/go-5tF-fl5m.js new file mode 100644 index 0000000..70328a3 --- /dev/null +++ b/assets/assets/go-5tF-fl5m.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},n={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}};export{e as conf,n as language}; diff --git a/assets/assets/graphql-Hw_-CHyi.js b/assets/assets/graphql-Hw_-CHyi.js new file mode 100644 index 0000000..63fefc1 --- /dev/null +++ b/assets/assets/graphql-Hw_-CHyi.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},n={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}};export{e as conf,n as language}; diff --git a/assets/assets/handlebars-pBZUVpVs.js b/assets/assets/handlebars-pBZUVpVs.js new file mode 100644 index 0000000..17e1a08 --- /dev/null +++ b/assets/assets/handlebars-pBZUVpVs.js @@ -0,0 +1,6 @@ +import{m as i}from"./index-iIKmhSVb.js";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var s=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,o=(t,e,a,m)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of c(e))!p.call(t,n)&&n!==a&&s(t,n,{get:()=>e[n],enumerable:!(m=d(e,n))||m.enumerable});return t},h=(t,e,a)=>(o(t,e,"default"),a&&o(a,e,"default")),r={};h(r,i);var l=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],u={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[[""],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:r.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${l.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:r.languages.IndentAction.Indent}}]},y={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{u as conf,y as language}; diff --git a/assets/assets/hcl-MnPuh_ws.js b/assets/assets/hcl-MnPuh_ws.js new file mode 100644 index 0000000..4cfdc8e --- /dev/null +++ b/assets/assets/hcl-MnPuh_ws.js @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var e={comments:{lineComment:"#",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},t={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}};export{e as conf,t as language}; diff --git a/assets/assets/html-0GEZZorn.js b/assets/assets/html-0GEZZorn.js new file mode 100644 index 0000000..03ba014 --- /dev/null +++ b/assets/assets/html-0GEZZorn.js @@ -0,0 +1,6 @@ +import{m as d}from"./index-iIKmhSVb.js";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,a=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of l(e))!c.call(t,r)&&r!==n&&p(t,r,{get:()=>e[r],enumerable:!(o=m(e,r))||o.enumerable});return t},u=(t,e,n)=>(a(t,e,"default"),n&&a(n,e,"default")),i={};u(i,d);var s=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],x={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:[""]},brackets:[[""],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${s.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${s.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*"),end:new RegExp("^\\s*")}}},y={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{x as conf,y as language}; diff --git a/assets/assets/htmlMode-cnfT3nMH.js b/assets/assets/htmlMode-cnfT3nMH.js new file mode 100644 index 0000000..ae255b8 --- /dev/null +++ b/assets/assets/htmlMode-cnfT3nMH.js @@ -0,0 +1,9 @@ +var $e=Object.defineProperty;var qe=(e,n,i)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var k=(e,n,i)=>(qe(e,typeof n!="symbol"?n+"":n,i),i);import{m as Qe}from"./index-iIKmhSVb.js";/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.37.1(20a8d5a651d057aaed7875ad1c1f2ecf13c4e773) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/var Ge=Object.defineProperty,Je=Object.getOwnPropertyDescriptor,Ye=Object.getOwnPropertyNames,Ze=Object.prototype.hasOwnProperty,Y=(e,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of Ye(n))!Ze.call(e,t)&&t!==i&&Ge(e,t,{get:()=>n[t],enumerable:!(r=Je(n,t))||r.enumerable});return e},Ke=(e,n,i)=>(Y(e,n,"default"),i&&Y(i,n,"default")),c={};Ke(c,Qe);var et=2*60*1e3,Me=class{constructor(e){k(this,"_defaults");k(this,"_idleCheckInterval");k(this,"_lastUsedTime");k(this,"_configChangeListener");k(this,"_worker");k(this,"_client");this._defaults=e,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>et&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=c.editor.createWebWorker({moduleId:"vs/language/html/htmlWorker",createData:{languageSettings:this._defaults.options,languageId:this._defaults.languageId},label:this._defaults.languageId}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...e){let n;return this._getClient().then(i=>{n=i}).then(i=>{if(this._worker)return this._worker.withSyncedResources(e)}).then(i=>n)}},Z;(function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647})(Z||(Z={}));var H;(function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647})(H||(H={}));var b;(function(e){function n(r,t){return r===Number.MAX_VALUE&&(r=H.MAX_VALUE),t===Number.MAX_VALUE&&(t=H.MAX_VALUE),{line:r,character:t}}e.create=n;function i(r){var t=r;return s.objectLiteral(t)&&s.uinteger(t.line)&&s.uinteger(t.character)}e.is=i})(b||(b={}));var p;(function(e){function n(r,t,a,o){if(s.uinteger(r)&&s.uinteger(t)&&s.uinteger(a)&&s.uinteger(o))return{start:b.create(r,t),end:b.create(a,o)};if(b.is(r)&&b.is(t))return{start:r,end:t};throw new Error("Range#create called with invalid arguments["+r+", "+t+", "+a+", "+o+"]")}e.create=n;function i(r){var t=r;return s.objectLiteral(t)&&b.is(t.start)&&b.is(t.end)}e.is=i})(p||(p={}));var X;(function(e){function n(r,t){return{uri:r,range:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.range)&&(s.string(t.uri)||s.undefined(t.uri))}e.is=i})(X||(X={}));var K;(function(e){function n(r,t,a,o){return{targetUri:r,targetRange:t,targetSelectionRange:a,originSelectionRange:o}}e.create=n;function i(r){var t=r;return s.defined(t)&&p.is(t.targetRange)&&s.string(t.targetUri)&&(p.is(t.targetSelectionRange)||s.undefined(t.targetSelectionRange))&&(p.is(t.originSelectionRange)||s.undefined(t.originSelectionRange))}e.is=i})(K||(K={}));var B;(function(e){function n(r,t,a,o){return{red:r,green:t,blue:a,alpha:o}}e.create=n;function i(r){var t=r;return s.numberRange(t.red,0,1)&&s.numberRange(t.green,0,1)&&s.numberRange(t.blue,0,1)&&s.numberRange(t.alpha,0,1)}e.is=i})(B||(B={}));var ee;(function(e){function n(r,t){return{range:r,color:t}}e.create=n;function i(r){var t=r;return p.is(t.range)&&B.is(t.color)}e.is=i})(ee||(ee={}));var te;(function(e){function n(r,t,a){return{label:r,textEdit:t,additionalTextEdits:a}}e.create=n;function i(r){var t=r;return s.string(t.label)&&(s.undefined(t.textEdit)||C.is(t))&&(s.undefined(t.additionalTextEdits)||s.typedArray(t.additionalTextEdits,C.is))}e.is=i})(te||(te={}));var R;(function(e){e.Comment="comment",e.Imports="imports",e.Region="region"})(R||(R={}));var re;(function(e){function n(r,t,a,o,u){var f={startLine:r,endLine:t};return s.defined(a)&&(f.startCharacter=a),s.defined(o)&&(f.endCharacter=o),s.defined(u)&&(f.kind=u),f}e.create=n;function i(r){var t=r;return s.uinteger(t.startLine)&&s.uinteger(t.startLine)&&(s.undefined(t.startCharacter)||s.uinteger(t.startCharacter))&&(s.undefined(t.endCharacter)||s.uinteger(t.endCharacter))&&(s.undefined(t.kind)||s.string(t.kind))}e.is=i})(re||(re={}));var $;(function(e){function n(r,t){return{location:r,message:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&X.is(t.location)&&s.string(t.message)}e.is=i})($||($={}));var I;(function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4})(I||(I={}));var ne;(function(e){e.Unnecessary=1,e.Deprecated=2})(ne||(ne={}));var ie;(function(e){function n(i){var r=i;return r!=null&&s.string(r.href)}e.is=n})(ie||(ie={}));var U;(function(e){function n(r,t,a,o,u,f){var d={range:r,message:t};return s.defined(a)&&(d.severity=a),s.defined(o)&&(d.code=o),s.defined(u)&&(d.source=u),s.defined(f)&&(d.relatedInformation=f),d}e.create=n;function i(r){var t,a=r;return s.defined(a)&&p.is(a.range)&&s.string(a.message)&&(s.number(a.severity)||s.undefined(a.severity))&&(s.integer(a.code)||s.string(a.code)||s.undefined(a.code))&&(s.undefined(a.codeDescription)||s.string((t=a.codeDescription)===null||t===void 0?void 0:t.href))&&(s.string(a.source)||s.undefined(a.source))&&(s.undefined(a.relatedInformation)||s.typedArray(a.relatedInformation,$.is))}e.is=i})(U||(U={}));var M;(function(e){function n(r,t){for(var a=[],o=2;o0&&(u.arguments=a),u}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.title)&&s.string(t.command)}e.is=i})(M||(M={}));var C;(function(e){function n(a,o){return{range:a,newText:o}}e.replace=n;function i(a,o){return{range:{start:a,end:a},newText:o}}e.insert=i;function r(a){return{range:a,newText:""}}e.del=r;function t(a){var o=a;return s.objectLiteral(o)&&s.string(o.newText)&&p.is(o.range)}e.is=t})(C||(C={}));var P;(function(e){function n(r,t,a){var o={label:r};return t!==void 0&&(o.needsConfirmation=t),a!==void 0&&(o.description=a),o}e.create=n;function i(r){var t=r;return t!==void 0&&s.objectLiteral(t)&&s.string(t.label)&&(s.boolean(t.needsConfirmation)||t.needsConfirmation===void 0)&&(s.string(t.description)||t.description===void 0)}e.is=i})(P||(P={}));var m;(function(e){function n(i){var r=i;return typeof r=="string"}e.is=n})(m||(m={}));var x;(function(e){function n(a,o,u){return{range:a,newText:o,annotationId:u}}e.replace=n;function i(a,o,u){return{range:{start:a,end:a},newText:o,annotationId:u}}e.insert=i;function r(a,o){return{range:a,newText:"",annotationId:o}}e.del=r;function t(a){var o=a;return C.is(o)&&(P.is(o.annotationId)||m.is(o.annotationId))}e.is=t})(x||(x={}));var O;(function(e){function n(r,t){return{textDocument:r,edits:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&V.is(t.textDocument)&&Array.isArray(t.edits)}e.is=i})(O||(O={}));var S;(function(e){function n(r,t,a){var o={kind:"create",uri:r};return t!==void 0&&(t.overwrite!==void 0||t.ignoreIfExists!==void 0)&&(o.options=t),a!==void 0&&(o.annotationId=a),o}e.create=n;function i(r){var t=r;return t&&t.kind==="create"&&s.string(t.uri)&&(t.options===void 0||(t.options.overwrite===void 0||s.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||s.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(S||(S={}));var T;(function(e){function n(r,t,a,o){var u={kind:"rename",oldUri:r,newUri:t};return a!==void 0&&(a.overwrite!==void 0||a.ignoreIfExists!==void 0)&&(u.options=a),o!==void 0&&(u.annotationId=o),u}e.create=n;function i(r){var t=r;return t&&t.kind==="rename"&&s.string(t.oldUri)&&s.string(t.newUri)&&(t.options===void 0||(t.options.overwrite===void 0||s.boolean(t.options.overwrite))&&(t.options.ignoreIfExists===void 0||s.boolean(t.options.ignoreIfExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(T||(T={}));var F;(function(e){function n(r,t,a){var o={kind:"delete",uri:r};return t!==void 0&&(t.recursive!==void 0||t.ignoreIfNotExists!==void 0)&&(o.options=t),a!==void 0&&(o.annotationId=a),o}e.create=n;function i(r){var t=r;return t&&t.kind==="delete"&&s.string(t.uri)&&(t.options===void 0||(t.options.recursive===void 0||s.boolean(t.options.recursive))&&(t.options.ignoreIfNotExists===void 0||s.boolean(t.options.ignoreIfNotExists)))&&(t.annotationId===void 0||m.is(t.annotationId))}e.is=i})(F||(F={}));var q;(function(e){function n(i){var r=i;return r&&(r.changes!==void 0||r.documentChanges!==void 0)&&(r.documentChanges===void 0||r.documentChanges.every(function(t){return s.string(t.kind)?S.is(t)||T.is(t)||F.is(t):O.is(t)}))}e.is=n})(q||(q={}));var W=function(){function e(n,i){this.edits=n,this.changeAnnotations=i}return e.prototype.insert=function(n,i,r){var t,a;if(r===void 0?t=C.insert(n,i):m.is(r)?(a=r,t=x.insert(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=x.insert(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.replace=function(n,i,r){var t,a;if(r===void 0?t=C.replace(n,i):m.is(r)?(a=r,t=x.replace(n,i,r)):(this.assertChangeAnnotations(this.changeAnnotations),a=this.changeAnnotations.manage(r),t=x.replace(n,i,a)),this.edits.push(t),a!==void 0)return a},e.prototype.delete=function(n,i){var r,t;if(i===void 0?r=C.del(n):m.is(i)?(t=i,r=x.del(n,i)):(this.assertChangeAnnotations(this.changeAnnotations),t=this.changeAnnotations.manage(i),r=x.del(n,t)),this.edits.push(r),t!==void 0)return t},e.prototype.add=function(n){this.edits.push(n)},e.prototype.all=function(){return this.edits},e.prototype.clear=function(){this.edits.splice(0,this.edits.length)},e.prototype.assertChangeAnnotations=function(n){if(n===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},e}(),ae=function(){function e(n){this._annotations=n===void 0?Object.create(null):n,this._counter=0,this._size=0}return e.prototype.all=function(){return this._annotations},Object.defineProperty(e.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.manage=function(n,i){var r;if(m.is(n)?r=n:(r=this.nextId(),i=n),this._annotations[r]!==void 0)throw new Error("Id "+r+" is already in use.");if(i===void 0)throw new Error("No annotation provided for id "+r);return this._annotations[r]=i,this._size++,r},e.prototype.nextId=function(){return this._counter++,this._counter.toString()},e}();(function(){function e(n){var i=this;this._textEditChanges=Object.create(null),n!==void 0?(this._workspaceEdit=n,n.documentChanges?(this._changeAnnotations=new ae(n.changeAnnotations),n.changeAnnotations=this._changeAnnotations.all(),n.documentChanges.forEach(function(r){if(O.is(r)){var t=new W(r.edits,i._changeAnnotations);i._textEditChanges[r.textDocument.uri]=t}})):n.changes&&Object.keys(n.changes).forEach(function(r){var t=new W(n.changes[r]);i._textEditChanges[r]=t})):this._workspaceEdit={}}return Object.defineProperty(e.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),e.prototype.getTextEditChange=function(n){if(V.is(n)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var i={uri:n.uri,version:n.version},r=this._textEditChanges[i.uri];if(!r){var t=[],a={textDocument:i,edits:t};this._workspaceEdit.documentChanges.push(a),r=new W(t,this._changeAnnotations),this._textEditChanges[i.uri]=r}return r}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var r=this._textEditChanges[n];if(!r){var t=[];this._workspaceEdit.changes[n]=t,r=new W(t),this._textEditChanges[n]=r}return r}},e.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new ae,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},e.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},e.prototype.createFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var t;P.is(i)||m.is(i)?t=i:r=i;var a,o;if(t===void 0?a=S.create(n,r):(o=m.is(t)?t:this._changeAnnotations.manage(t),a=S.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e.prototype.renameFile=function(n,i,r,t){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var a;P.is(r)||m.is(r)?a=r:t=r;var o,u;if(a===void 0?o=T.create(n,i,t):(u=m.is(a)?a:this._changeAnnotations.manage(a),o=T.create(n,i,t,u)),this._workspaceEdit.documentChanges.push(o),u!==void 0)return u},e.prototype.deleteFile=function(n,i,r){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var t;P.is(i)||m.is(i)?t=i:r=i;var a,o;if(t===void 0?a=F.create(n,r):(o=m.is(t)?t:this._changeAnnotations.manage(t),a=F.create(n,r,o)),this._workspaceEdit.documentChanges.push(a),o!==void 0)return o},e})();var oe;(function(e){function n(r){return{uri:r}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)}e.is=i})(oe||(oe={}));var se;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&s.integer(t.version)}e.is=i})(se||(se={}));var V;(function(e){function n(r,t){return{uri:r,version:t}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&(t.version===null||s.integer(t.version))}e.is=i})(V||(V={}));var ue;(function(e){function n(r,t,a,o){return{uri:r,languageId:t,version:a,text:o}}e.create=n;function i(r){var t=r;return s.defined(t)&&s.string(t.uri)&&s.string(t.languageId)&&s.integer(t.version)&&s.string(t.text)}e.is=i})(ue||(ue={}));var L;(function(e){e.PlainText="plaintext",e.Markdown="markdown"})(L||(L={}));(function(e){function n(i){var r=i;return r===e.PlainText||r===e.Markdown}e.is=n})(L||(L={}));var Q;(function(e){function n(i){var r=i;return s.objectLiteral(i)&&L.is(r.kind)&&s.string(r.value)}e.is=n})(Q||(Q={}));var l;(function(e){e.Text=1,e.Method=2,e.Function=3,e.Constructor=4,e.Field=5,e.Variable=6,e.Class=7,e.Interface=8,e.Module=9,e.Property=10,e.Unit=11,e.Value=12,e.Enum=13,e.Keyword=14,e.Snippet=15,e.Color=16,e.File=17,e.Reference=18,e.Folder=19,e.EnumMember=20,e.Constant=21,e.Struct=22,e.Event=23,e.Operator=24,e.TypeParameter=25})(l||(l={}));var G;(function(e){e.PlainText=1,e.Snippet=2})(G||(G={}));var ce;(function(e){e.Deprecated=1})(ce||(ce={}));var de;(function(e){function n(r,t,a){return{newText:r,insert:t,replace:a}}e.create=n;function i(r){var t=r;return t&&s.string(t.newText)&&p.is(t.insert)&&p.is(t.replace)}e.is=i})(de||(de={}));var ge;(function(e){e.asIs=1,e.adjustIndentation=2})(ge||(ge={}));var fe;(function(e){function n(i){return{label:i}}e.create=n})(fe||(fe={}));var le;(function(e){function n(i,r){return{items:i||[],isIncomplete:!!r}}e.create=n})(le||(le={}));var z;(function(e){function n(r){return r.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}e.fromPlainText=n;function i(r){var t=r;return s.string(t)||s.objectLiteral(t)&&s.string(t.language)&&s.string(t.value)}e.is=i})(z||(z={}));var he;(function(e){function n(i){var r=i;return!!r&&s.objectLiteral(r)&&(Q.is(r.contents)||z.is(r.contents)||s.typedArray(r.contents,z.is))&&(i.range===void 0||p.is(i.range))}e.is=n})(he||(he={}));var ve;(function(e){function n(i,r){return r?{label:i,documentation:r}:{label:i}}e.create=n})(ve||(ve={}));var pe;(function(e){function n(i,r){for(var t=[],a=2;a=0;v--){var w=f[v],E=a.offsetAt(w.range.start),g=a.offsetAt(w.range.end);if(g<=d)u=u.substring(0,E)+w.newText+u.substring(g,u.length);else throw new Error("Overlapping edit");d=E}return u}e.applyEdits=r;function t(a,o){if(a.length<=1)return a;var u=a.length/2|0,f=a.slice(0,u),d=a.slice(u);t(f,o),t(d,o);for(var v=0,w=0,E=0;v0&&n.push(i.length),this._lineOffsets=n}return this._lineOffsets},e.prototype.positionAt=function(n){n=Math.max(Math.min(n,this._content.length),0);var i=this.getLineOffsets(),r=0,t=i.length;if(t===0)return b.create(0,n);for(;rn?t=a:r=a+1}var o=r-1;return b.create(o,n-i[o])},e.prototype.offsetAt=function(n){var i=this.getLineOffsets();if(n.line>=i.length)return this._content.length;if(n.line<0)return 0;var r=i[n.line],t=n.line+1"u"}e.undefined=r;function t(g){return g===!0||g===!1}e.boolean=t;function a(g){return n.call(g)==="[object String]"}e.string=a;function o(g){return n.call(g)==="[object Number]"}e.number=o;function u(g,y,N){return n.call(g)==="[object Number]"&&y<=g&&g<=N}e.numberRange=u;function f(g){return n.call(g)==="[object Number]"&&-2147483648<=g&&g<=2147483647}e.integer=f;function d(g){return n.call(g)==="[object Number]"&&0<=g&&g<=2147483647}e.uinteger=d;function v(g){return n.call(g)==="[object Function]"}e.func=v;function w(g){return g!==null&&typeof g=="object"}e.objectLiteral=w;function E(g,y){return Array.isArray(g)&&g.every(y)}e.typedArray=E})(s||(s={}));var pt=class{constructor(e,n,i){k(this,"_disposables",[]);k(this,"_listener",Object.create(null));this._languageId=e,this._worker=n;const r=a=>{let o=a.getLanguageId();if(o!==this._languageId)return;let u;this._listener[a.uri.toString()]=a.onDidChangeContent(()=>{window.clearTimeout(u),u=window.setTimeout(()=>this._doValidate(a.uri,o),500)}),this._doValidate(a.uri,o)},t=a=>{c.editor.setModelMarkers(a,this._languageId,[]);let o=a.uri.toString(),u=this._listener[o];u&&(u.dispose(),delete this._listener[o])};this._disposables.push(c.editor.onDidCreateModel(r)),this._disposables.push(c.editor.onWillDisposeModel(t)),this._disposables.push(c.editor.onDidChangeModelLanguage(a=>{t(a.model),r(a.model)})),this._disposables.push(i(a=>{c.editor.getModels().forEach(o=>{o.getLanguageId()===this._languageId&&(t(o),r(o))})})),this._disposables.push({dispose:()=>{c.editor.getModels().forEach(t);for(let a in this._listener)this._listener[a].dispose()}}),c.editor.getModels().forEach(r)}dispose(){this._disposables.forEach(e=>e&&e.dispose()),this._disposables.length=0}_doValidate(e,n){this._worker(e).then(i=>i.doValidation(e.toString())).then(i=>{const r=i.map(a=>nt(e,a));let t=c.editor.getModel(e);t&&t.getLanguageId()===n&&c.editor.setModelMarkers(t,n,r)}).then(void 0,i=>{console.error(i)})}};function rt(e){switch(e){case I.Error:return c.MarkerSeverity.Error;case I.Warning:return c.MarkerSeverity.Warning;case I.Information:return c.MarkerSeverity.Info;case I.Hint:return c.MarkerSeverity.Hint;default:return c.MarkerSeverity.Info}}function nt(e,n){let i=typeof n.code=="number"?String(n.code):n.code;return{severity:rt(n.severity),startLineNumber:n.range.start.line+1,startColumn:n.range.start.character+1,endLineNumber:n.range.end.line+1,endColumn:n.range.end.character+1,message:n.message,code:i,source:n.source}}var it=class{constructor(e,n){this._worker=e,this._triggerCharacters=n}get triggerCharacters(){return this._triggerCharacters}provideCompletionItems(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doComplete(t.toString(),A(n))).then(a=>{if(!a)return;const o=e.getWordUntilPosition(n),u=new c.Range(n.lineNumber,o.startColumn,n.lineNumber,o.endColumn),f=a.items.map(d=>{const v={label:d.label,insertText:d.insertText||d.label,sortText:d.sortText,filterText:d.filterText,documentation:d.documentation,detail:d.detail,command:st(d.command),range:u,kind:ot(d.kind)};return d.textEdit&&(at(d.textEdit)?v.range={insert:_(d.textEdit.insert),replace:_(d.textEdit.replace)}:v.range=_(d.textEdit.range),v.insertText=d.textEdit.newText),d.additionalTextEdits&&(v.additionalTextEdits=d.additionalTextEdits.map(j)),d.insertTextFormat===G.Snippet&&(v.insertTextRules=c.languages.CompletionItemInsertTextRule.InsertAsSnippet),v});return{isIncomplete:a.isIncomplete,suggestions:f}})}};function A(e){if(e)return{character:e.column-1,line:e.lineNumber-1}}function Se(e){if(e)return{start:{line:e.startLineNumber-1,character:e.startColumn-1},end:{line:e.endLineNumber-1,character:e.endColumn-1}}}function _(e){if(e)return new c.Range(e.start.line+1,e.start.character+1,e.end.line+1,e.end.character+1)}function at(e){return typeof e.insert<"u"&&typeof e.replace<"u"}function ot(e){const n=c.languages.CompletionItemKind;switch(e){case l.Text:return n.Text;case l.Method:return n.Method;case l.Function:return n.Function;case l.Constructor:return n.Constructor;case l.Field:return n.Field;case l.Variable:return n.Variable;case l.Class:return n.Class;case l.Interface:return n.Interface;case l.Module:return n.Module;case l.Property:return n.Property;case l.Unit:return n.Unit;case l.Value:return n.Value;case l.Enum:return n.Enum;case l.Keyword:return n.Keyword;case l.Snippet:return n.Snippet;case l.Color:return n.Color;case l.File:return n.File;case l.Reference:return n.Reference}return n.Property}function j(e){if(e)return{range:_(e.range),text:e.newText}}function st(e){return e&&e.command==="editor.action.triggerSuggest"?{id:e.command,title:e.title,arguments:e.arguments}:void 0}var Te=class{constructor(e){this._worker=e}provideHover(e,n,i){let r=e.uri;return this._worker(r).then(t=>t.doHover(r.toString(),A(n))).then(t=>{if(t)return{range:_(t.range),contents:ct(t.contents)}})}};function ut(e){return e&&typeof e=="object"&&typeof e.kind=="string"}function Re(e){return typeof e=="string"?{value:e}:ut(e)?e.kind==="plaintext"?{value:e.value.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}:{value:e.value}:{value:"```"+e.language+` +`+e.value+"\n```\n"}}function ct(e){if(e)return Array.isArray(e)?e.map(Re):[Re(e)]}var Fe=class{constructor(e){this._worker=e}provideDocumentHighlights(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDocumentHighlights(r.toString(),A(n))).then(t=>{if(t)return t.map(a=>({range:_(a.range),kind:dt(a.kind)}))})}};function dt(e){switch(e){case D.Read:return c.languages.DocumentHighlightKind.Read;case D.Write:return c.languages.DocumentHighlightKind.Write;case D.Text:return c.languages.DocumentHighlightKind.Text}return c.languages.DocumentHighlightKind.Text}var mt=class{constructor(e){this._worker=e}provideDefinition(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.findDefinition(r.toString(),A(n))).then(t=>{if(t)return[Le(t)]})}};function Le(e){return{uri:c.Uri.parse(e.uri),range:_(e.range)}}var _t=class{constructor(e){this._worker=e}provideReferences(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.findReferences(t.toString(),A(n))).then(a=>{if(a)return a.map(Le)})}},je=class{constructor(e){this._worker=e}provideRenameEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.doRename(t.toString(),A(n),i)).then(a=>gt(a))}};function gt(e){if(!e||!e.changes)return;let n=[];for(let i in e.changes){const r=c.Uri.parse(i);for(let t of e.changes[i])n.push({resource:r,versionId:void 0,textEdit:{range:_(t.range),text:t.newText}})}return{edits:n}}var Ne=class{constructor(e){this._worker=e}provideDocumentSymbols(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentSymbols(i.toString())).then(r=>{if(r)return r.map(t=>({name:t.name,detail:"",containerName:t.containerName,kind:ft(t.kind),range:_(t.location.range),selectionRange:_(t.location.range),tags:[]}))})}};function ft(e){let n=c.languages.SymbolKind;switch(e){case h.File:return n.Array;case h.Module:return n.Module;case h.Namespace:return n.Namespace;case h.Package:return n.Package;case h.Class:return n.Class;case h.Method:return n.Method;case h.Property:return n.Property;case h.Field:return n.Field;case h.Constructor:return n.Constructor;case h.Enum:return n.Enum;case h.Interface:return n.Interface;case h.Function:return n.Function;case h.Variable:return n.Variable;case h.Constant:return n.Constant;case h.String:return n.String;case h.Number:return n.Number;case h.Boolean:return n.Boolean;case h.Array:return n.Array}return n.Function}var We=class{constructor(e){this._worker=e}provideLinks(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentLinks(i.toString())).then(r=>{if(r)return{links:r.map(t=>({range:_(t.range),url:t.target}))}})}},He=class{constructor(e){this._worker=e}provideDocumentFormattingEdits(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.format(r.toString(),null,Oe(n)).then(a=>{if(!(!a||a.length===0))return a.map(j)}))}},Ue=class{constructor(e){k(this,"canFormatMultipleRanges",!1);this._worker=e}provideDocumentRangeFormattingEdits(e,n,i,r){const t=e.uri;return this._worker(t).then(a=>a.format(t.toString(),Se(n),Oe(i)).then(o=>{if(!(!o||o.length===0))return o.map(j)}))}};function Oe(e){return{tabSize:e.tabSize,insertSpaces:e.insertSpaces}}var wt=class{constructor(e){this._worker=e}provideDocumentColors(e,n){const i=e.uri;return this._worker(i).then(r=>r.findDocumentColors(i.toString())).then(r=>{if(r)return r.map(t=>({color:t.color,range:_(t.range)}))})}provideColorPresentations(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getColorPresentations(r.toString(),n.color,Se(n.range))).then(t=>{if(t)return t.map(a=>{let o={label:a.label};return a.textEdit&&(o.textEdit=j(a.textEdit)),a.additionalTextEdits&&(o.additionalTextEdits=a.additionalTextEdits.map(j)),o})})}},Ve=class{constructor(e){this._worker=e}provideFoldingRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getFoldingRanges(r.toString(),n)).then(t=>{if(t)return t.map(a=>{const o={start:a.startLine+1,end:a.endLine+1};return typeof a.kind<"u"&&(o.kind=lt(a.kind)),o})})}};function lt(e){switch(e){case R.Comment:return c.languages.FoldingRangeKind.Comment;case R.Imports:return c.languages.FoldingRangeKind.Imports;case R.Region:return c.languages.FoldingRangeKind.Region}}var ze=class{constructor(e){this._worker=e}provideSelectionRanges(e,n,i){const r=e.uri;return this._worker(r).then(t=>t.getSelectionRanges(r.toString(),n.map(A))).then(t=>{if(t)return t.map(a=>{const o=[];for(;a;)o.push({range:_(a.range)}),a=a.parent;return o})})}},Xe=class extends it{constructor(e){super(e,[".",":","<",'"',"=","/"])}};function kt(e){const n=new Me(e),i=(...t)=>n.getLanguageServiceWorker(...t);let r=e.languageId;c.languages.registerCompletionItemProvider(r,new Xe(i)),c.languages.registerHoverProvider(r,new Te(i)),c.languages.registerDocumentHighlightProvider(r,new Fe(i)),c.languages.registerLinkProvider(r,new We(i)),c.languages.registerFoldingRangeProvider(r,new Ve(i)),c.languages.registerDocumentSymbolProvider(r,new Ne(i)),c.languages.registerSelectionRangeProvider(r,new ze(i)),c.languages.registerRenameProvider(r,new je(i)),r==="html"&&(c.languages.registerDocumentFormattingEditProvider(r,new He(i)),c.languages.registerDocumentRangeFormattingEditProvider(r,new Ue(i)))}function bt(e){const n=[],i=[],r=new Me(e);n.push(r);const t=(...o)=>r.getLanguageServiceWorker(...o);function a(){const{languageId:o,modeConfiguration:u}=e;Be(i),u.completionItems&&i.push(c.languages.registerCompletionItemProvider(o,new Xe(t))),u.hovers&&i.push(c.languages.registerHoverProvider(o,new Te(t))),u.documentHighlights&&i.push(c.languages.registerDocumentHighlightProvider(o,new Fe(t))),u.links&&i.push(c.languages.registerLinkProvider(o,new We(t))),u.documentSymbols&&i.push(c.languages.registerDocumentSymbolProvider(o,new Ne(t))),u.rename&&i.push(c.languages.registerRenameProvider(o,new je(t))),u.foldingRanges&&i.push(c.languages.registerFoldingRangeProvider(o,new Ve(t))),u.selectionRanges&&i.push(c.languages.registerSelectionRangeProvider(o,new ze(t))),u.documentFormattingEdits&&i.push(c.languages.registerDocumentFormattingEditProvider(o,new He(t))),u.documentRangeFormattingEdits&&i.push(c.languages.registerDocumentRangeFormattingEditProvider(o,new Ue(t)))}return a(),n.push(De(i)),De(n)}function De(e){return{dispose:()=>Be(e)}}function Be(e){for(;e.length;)e.pop().dispose()}export{it as CompletionAdapter,mt as DefinitionAdapter,pt as DiagnosticsAdapter,wt as DocumentColorAdapter,He as DocumentFormattingEditProvider,Fe as DocumentHighlightAdapter,We as DocumentLinkAdapter,Ue as DocumentRangeFormattingEditProvider,Ne as DocumentSymbolAdapter,Ve as FoldingRangeAdapter,Te as HoverAdapter,_t as ReferenceAdapter,je as RenameAdapter,ze as SelectionRangeAdapter,Me as WorkerManager,A as fromPosition,Se as fromRange,bt as setupMode,kt as setupMode1,_ as toRange,j as toTextEdit}; diff --git a/assets/assets/index--ia9tQRb.css b/assets/assets/index--ia9tQRb.css new file mode 100644 index 0000000..a368f92 --- /dev/null +++ b/assets/assets/index--ia9tQRb.css @@ -0,0 +1 @@ +body{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--danger: #6c2727;color:var(--font);background-color:var(--bg)}body.dark{color-scheme:light dark;--font: #efefef;--bg: #242424;--hl-bg: #373737;--hl-bg2: #3f3f3f;--hl-bg3: #595959;--bg-btn: #1a1a1a;--info: rgb(76, 94, 154)}body.light{color:#213547;--font: #303030;--bg: #f8f8f8;--hl-bg: #e0e0e0;--hl-bg2: #9d9d9d;--hl-bg3: #8c8c8c;--bg-btn: #c5c5c5;--danger: #ff8282;--info: rgb(145, 155, 186)}@media (prefers-color-scheme: light){body.light{color-scheme:light;--font: #303030;--bg: #f8f8f8;--hl-bg: #e0e0e0;--hl-bg2: #9d9d9d;--hl-bg3: #8c8c8c;--bg-btn: #c5c5c5;--info: rgb(145, 155, 186)}body.dark{color-scheme:dark;--font: #efefef;--bg: #242424;--hl-bg: #373737;--hl-bg2: #3f3f3f;--hl-bg3: #595959;--bg-btn: #1a1a1a;--info: rgb(76, 94, 154)}a:hover{color:#747bff}button{background-color:#f9f9f9}}button[disabled]{opacity:.7}a,.link-style{font-weight:500;color:#646cff;text-decoration:inherit}a:hover,.link-style:hover{color:#535bf2}body{margin:0;padding:0;min-width:320px;min-height:100vh}#app.noselect *{-webkit-user-select:none;-ms-user-select:none;user-select:none}h1{font-size:3.2em;line-height:1.1}button,.btn{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;color:var(--color);background-color:var(--bg-btn);cursor:pointer;transition:border-color .25s}.btn-danger{background:var(--danger)!important}button:hover,.btn:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}.vjs-tree-brackets{cursor:pointer}.vjs-tree-brackets:hover{color:#1890ff}.vjs-check-controller{position:absolute;left:0}.vjs-check-controller.is-checked .vjs-check-controller-inner{background-color:#1890ff;border-color:#0076e4}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-checkbox:after{transform:rotate(45deg) scaleY(1)}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-radio:after{transform:translate(-50%,-50%) scale(1)}.vjs-check-controller .vjs-check-controller-inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-check-controller .vjs-check-controller-inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-check-controller .vjs-check-controller-inner.is-radio{border-radius:100%}.vjs-check-controller .vjs-check-controller-inner.is-radio:after{border-radius:100%;height:4px;background-color:#fff;left:50%;top:50%}.vjs-check-controller .vjs-check-controller-original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-carets{position:absolute;right:0;cursor:pointer}.vjs-carets svg{transition:transform .3s}.vjs-carets:hover{color:#1890ff}.vjs-carets-close{transform:rotate(-90deg)}.vjs-tree-node{display:flex;position:relative;line-height:20px}.vjs-tree-node.has-carets{padding-left:15px}.vjs-tree-node.has-carets.has-selector,.vjs-tree-node.has-selector{padding-left:30px}.vjs-tree-node.is-highlight,.vjs-tree-node:hover{background-color:#e6f7ff}.vjs-tree-node .vjs-indent{display:flex;position:relative}.vjs-tree-node .vjs-indent-unit{width:1em}.vjs-tree-node .vjs-indent-unit.has-line{border-left:1px dashed #bfcbd9}.vjs-tree-node.dark.is-highlight,.vjs-tree-node.dark:hover{background-color:#2e4558}.vjs-node-index{position:absolute;right:100%;margin-right:4px;-webkit-user-select:none;user-select:none}.vjs-colon{white-space:pre}.vjs-comment{color:#bfcbd9}.vjs-value{word-break:break-word}.vjs-value-null,.vjs-value-undefined{color:#d55fde}.vjs-value-boolean,.vjs-value-number{color:#1d8ce0}.vjs-value-string{color:#13ce66}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px;text-align:left}.vjs-tree.is-virtual{overflow:auto}.vjs-tree.is-virtual .vjs-tree-node{white-space:nowrap}.drawer[data-v-91210c39]{right:0;top:0;height:calc(100vh - 73px);background:var(--hl-bg);z-index:999;opacity:.97;padding:0 10px 10px 0}.drawer .resize-handle[data-v-91210c39]{background:#fff;width:3px;opacity:.2;cursor:ew-resize;height:100%;float:left;margin-right:10px}.drawer h4[data-v-91210c39],.drawer h3[data-v-91210c39]{margin:2px;cursor:pointer}.drawer h4 .clipboard[data-v-91210c39],.drawer h3 .clipboard[data-v-91210c39]{visibility:hidden}.drawer h4:hover .clipboard[data-v-91210c39],.drawer h3:hover .clipboard[data-v-91210c39]{visibility:visible!important}.drawer .inner-drawer[data-v-91210c39]{padding-top:20px;height:calc(100% - 15px);overflow-y:scroll}.drawer .inner-drawer .header[data-v-91210c39]{display:flex;align-items:center;float:right}.drawer pre[data-v-91210c39]{margin:6px 0;background:var(--bg);padding:10px;white-space:pre-wrap}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace}.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-aria-container{position:absolute;left:-999em}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%;color:var(--vscode-editor-foreground);background-color:var(--vscode-editor-background)}.monaco-editor-background{background-color:var(--vscode-editor-background)}.monaco-editor .rangeHighlight{background-color:var(--vscode-editor-rangeHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-rangeHighlightBorder)}.monaco-editor.hc-black .rangeHighlight,.monaco-editor.hc-light .rangeHighlight{border-style:dotted}.monaco-editor .symbolHighlight{background-color:var(--vscode-editor-symbolHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-symbolHighlightBorder)}.monaco-editor.hc-black .symbolHighlight,.monaco-editor.hc-light .symbolHighlight{border-style:dotted}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .squiggly-error{border-bottom:4px double var(--vscode-editorError-border)}.monaco-editor .squiggly-error:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorError-background)}.monaco-editor .squiggly-warning{border-bottom:4px double var(--vscode-editorWarning-border)}.monaco-editor .squiggly-warning:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorWarning-background)}.monaco-editor .squiggly-info{border-bottom:4px double var(--vscode-editorInfo-border)}.monaco-editor .squiggly-info:before{display:block;content:"";width:100%;height:100%;background:var(--vscode-editorInfo-background)}.monaco-editor .squiggly-hint{border-bottom:2px dotted var(--vscode-editorHint-border)}.monaco-editor.showUnused .squiggly-unnecessary{border-bottom:2px dashed var(--vscode-editorUnnecessaryCode-border)}.monaco-editor.showDeprecated .squiggly-inline-deprecated{text-decoration:line-through;text-decoration-color:var(--vscode-editor-foreground, inherit)}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset}.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-scrollbarSlider-background)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent;z-index:-10}.monaco-editor .inputarea.ime-input{z-index:10;caret-color:var(--vscode-editorCursor-foreground);color:var(--vscode-editor-foreground)}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-editor .line-numbers{color:var(--vscode-editorLineNumber-foreground)}.monaco-editor .line-numbers.active-line-number{color:var(--vscode-editorLineNumber-activeForeground)}.monaco-editor .margin{background-color:var(--vscode-editorGutter-background)}.monaco-mouse-cursor-text{cursor:text}.monaco-editor .view-overlays .current-line,.monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box}.monaco-editor .lines-content .core-guide-indent{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-background) inset}.monaco-editor .lines-content .core-guide-indent-active{box-shadow:1px 0 0 0 var(--vscode-editorIndentGuide-activeBackground, --vscode-editorIndentGuide-background) inset}.mtkcontrol{color:#fff!important;background:#960000!important}.mtkoverflow{background-color:var(--vscode-button-background, --vscode-editor-background);color:var(--vscode-button-foreground, --vscode-editor-foreground);border-width:1px;border-style:solid;border-color:var(--vscode-contrastBorder);border-radius:2px;padding:4px;cursor:pointer}.mtkoverflow:hover{background-color:var(--vscode-button-hoverBackground)}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none}.monaco-editor.mac .lines-content:hover,.monaco-editor.mac .view-line:hover,.monaco-editor.mac .view-lines:hover{user-select:text;-webkit-user-select:text;-ms-user-select:text}.monaco-editor.enable-user-select{user-select:initial;-webkit-user-select:initial}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkw{color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .mtkz{display:inline-block;color:var(--vscode-editorWhitespace-foreground)!important}.monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover:hover .minimap-slider,.monaco-editor .minimap.slider-mouseover .minimap-slider.active{opacity:1}.monaco-editor .minimap-slider .minimap-slider-horizontal{background:var(--vscode-minimapSlider-background)}.monaco-editor .minimap-slider:hover .minimap-slider-horizontal{background:var(--vscode-minimapSlider-hoverBackground)}.monaco-editor .minimap-slider.active .minimap-slider-horizontal{background:var(--vscode-minimapSlider-activeBackground)}.monaco-editor .minimap-shadow-visible{box-shadow:var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.minimap.autohide{opacity:0;transition:opacity .5s}.minimap.autohide:hover{opacity:1}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0;box-shadow:1px 0 0 0 var(--vscode-editorRuler-foreground) inset}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px;box-shadow:var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .focused .selected-text{background-color:var(--vscode-editor-selectionBackground)}.monaco-editor .selected-text{background-color:var(--vscode-editor-inactiveSelectionBackground)}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor.hc-light .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-light .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-light .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-light .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-editor .blockDecorations-container{position:absolute;top:0;pointer-events:none}.monaco-editor .blockDecorations-block{position:absolute;box-sizing:border-box}.monaco-editor .mwh{position:absolute;color:var(--vscode-editorWhitespace-foreground)!important}:root{--vscode-sash-size: 4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--vscode-sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--vscode-sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--vscode-sash-size) * 2);width:calc(var(--vscode-sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--vscode-sash-size) * -.5);top:calc(var(--vscode-sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--vscode-sash-size) * -.5);bottom:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--vscode-sash-size) * -.5);left:calc(var(--vscode-sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--vscode-sash-size) * -.5);right:calc(var(--vscode-sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;background:transparent}.monaco-workbench:not(.reduce-motion) .monaco-sash:before{transition:background-color .1s ease-out}.monaco-sash.hover:before,.monaco-sash.active:before{background:var(--vscode-sash-hoverBorder)}.monaco-sash.vertical:before{width:var(--vscode-sash-hover-size);left:calc(50% - (var(--vscode-sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--vscode-sash-hover-size);top:calc(50% - (var(--vscode-sash-hover-size) / 2))}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:#0ff3}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:#00000008}.monaco-diff-editor.vs-dark .diffOverview{background:#ffffff03}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:#0000}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:#ababab66}.modified-in-monaco-diff-editor.hc-black .slider.active,.modified-in-monaco-diff-editor.hc-light .slider.active{background:none}.monaco-editor .insert-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-diff-editor .delete-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-editor.hc-black .insert-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .delete-sign,.monaco-editor.hc-light .insert-sign,.monaco-diff-editor.hc-light .insert-sign,.monaco-editor.hc-light .delete-sign,.monaco-diff-editor.hc-light .delete-sign{opacity:1}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .arrow-revert-change{z-index:10;position:absolute}.monaco-editor .arrow-revert-change:hover{cursor:pointer}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-editor .char-insert,.monaco-diff-editor .char-insert{background-color:var(--vscode-diffEditor-insertedTextBackground)}.monaco-editor .line-insert,.monaco-diff-editor .line-insert{background-color:var(--vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground)}.monaco-editor .line-insert,.monaco-editor .char-insert{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-insertedTextBorder)}.monaco-editor.hc-black .line-insert,.monaco-editor.hc-light .line-insert,.monaco-editor.hc-black .char-insert,.monaco-editor.hc-light .char-insert{border-style:dashed}.monaco-editor .line-delete,.monaco-editor .char-delete{box-sizing:border-box;border:1px solid var(--vscode-diffEditor-removedTextBorder)}.monaco-editor.hc-black .line-delete,.monaco-editor.hc-light .line-delete,.monaco-editor.hc-black .char-delete,.monaco-editor.hc-light .char-delete{border-style:dashed}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .gutter-insert,.monaco-diff-editor .gutter-insert{background-color:var(--vscode-diffEditorGutter-insertedLineBackground, --vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground)}.monaco-editor .char-delete,.monaco-diff-editor .char-delete{background-color:var(--vscode-diffEditor-removedTextBackground)}.monaco-editor .line-delete,.monaco-diff-editor .line-delete{background-color:var(--vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground)}.monaco-editor .inline-deleted-margin-view-zone,.monaco-editor .gutter-delete,.monaco-diff-editor .gutter-delete{background-color:var(--vscode-diffEditorGutter-removedLineBackground, --vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground)}.monaco-diff-editor.side-by-side .editor.modified{box-shadow:-6px 0 5px -5px var(--vscode-scrollbar-shadow);border-left:1px solid var(--vscode-diffEditor-border)}.monaco-diff-editor .diffViewport{background:var(--vscode-scrollbarSlider-background)}.monaco-diff-editor .diffViewport:hover{background:var(--vscode-scrollbarSlider-hoverBackground)}.monaco-diff-editor .diffViewport:active{background:var(--vscode-scrollbarSlider-activeBackground)}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block;color:var(--vscode-editorLineNumber-foreground)}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute;box-shadow:var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-single,.monaco-list.selection-multiple{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-select-box-dropdown-padding{--dropdown-padding-top: 1px;--dropdown-padding-bottom: 1px}.hc-black .monaco-select-box-dropdown-padding,.hc-light .monaco-select-box-dropdown-padding{--dropdown-padding-top: 3px;--dropdown-padding-bottom: 4px}.monaco-select-box-dropdown-container{display:none;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown *{margin:0}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown a:focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-select-box-dropdown-container>.select-box-details-pane>.select-box-description-markdown code{line-height:15px;font-family:var(--monaco-monospace-font)}.monaco-select-box-dropdown-container.visible{display:flex;flex-direction:column;text-align:left;width:1px;overflow:hidden;border-bottom-left-radius:3px;border-bottom-right-radius:3px}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container{flex:0 0 auto;align-self:flex-start;padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom);padding-left:1px;padding-right:1px;width:100%;overflow:hidden;box-sizing:border-box}.monaco-select-box-dropdown-container>.select-box-details-pane{padding:5px}.hc-black .monaco-select-box-dropdown-container>.select-box-dropdown-list-container{padding-top:var(--dropdown-padding-top);padding-bottom:var(--dropdown-padding-bottom)}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row{cursor:pointer}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-text{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-detail{text-overflow:ellipsis;overflow:hidden;padding-left:3.5px;white-space:nowrap;float:left;opacity:.7}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.option-decorator-right{text-overflow:ellipsis;overflow:hidden;padding-right:10px;white-space:nowrap;float:right}.monaco-select-box-dropdown-container>.select-box-dropdown-list-container .monaco-list .monaco-list-row>.visually-hidden{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control{flex:1 1 auto;align-self:flex-start;opacity:0}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div{overflow:hidden;max-height:0px}.monaco-select-box-dropdown-container>.select-box-dropdown-container-width-control>.width-control-div>.option-text-width-control{padding-left:4px;padding-right:8px;white-space:nowrap}.monaco-select-box{width:100%;cursor:pointer;border-radius:2px}.monaco-select-box-dropdown-container{font-size:13px;font-weight:400;text-transform:none}.monaco-action-bar .action-item.select-container{cursor:default}.monaco-action-bar .action-item .monaco-select-box{cursor:pointer;min-width:100px;min-height:18px;padding:2px 23px 2px 8px}.mac .monaco-action-bar .action-item .monaco-select-box{font-size:11px;border-radius:5px}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .icon,.monaco-action-bar .action-item .codicon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{display:flex;font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.6}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator{display:flex;align-items:center;cursor:default}.monaco-action-bar .action-item.action-dropdown-item>.action-dropdown-item-separator>div{width:1px}.context-view{position:absolute}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;color:inherit}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.hc-light .quick-input-widget .monaco-highlighted-label .highlight{color:#0f4a85}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:solid 1px rgba(204,204,204,.4);border-bottom-color:#bbb6;box-shadow:inset 0 -1px #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px rgb(111,195,223);box-shadow:none;color:#fff}.hc-light .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px #0F4A85;box-shadow:none;color:#292929}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:solid 1px rgba(51,51,51,.6);border-bottom-color:#4449;box-shadow:inset 0 -1px #4449;color:#ccc}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:initial}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:initial;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap;overflow:hidden}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-th,.monaco-table-td{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--vscode-sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2,.monaco-workbench:not(.reduce-motion) .monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-custom-toggle{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;user-select:none;-webkit-user-select:none}.monaco-custom-toggle:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-toggle,.hc-light .monaco-custom-toggle,.hc-black .monaco-custom-toggle:hover,.hc-light .monaco-custom-toggle:hover{background:none}.monaco-custom-toggle.monaco-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-toggle.monaco-checkbox:not(.checked):before{visibility:hidden}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;border-radius:2px;font-size:inherit}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px 6px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls,.hc-light .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls,.hc-light .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:#fdff00cc}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:#fdff00cc}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:#ffffff70}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:#ffffff70}99%{background:transparent}}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-row.disabled{cursor:default}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-workbench:not(.reduce-motion) .monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie,.monaco-tl-contents{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translate(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.monaco-tree-type-filter{position:absolute;top:0;display:flex;padding:3px;max-width:200px;z-index:100;margin:0 6px;border:1px solid var(--vscode-widget-border);border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter{transition:top .3s}.monaco-tree-type-filter.disabled{top:-40px!important}.monaco-tree-type-filter-grab{display:flex!important;align-items:center;justify-content:center;cursor:grab;margin-right:2px}.monaco-tree-type-filter-grab.grabbing{cursor:grabbing}.monaco-tree-type-filter-input{flex:1}.monaco-tree-type-filter-input .monaco-inputbox{height:23px}.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.input,.monaco-tree-type-filter-input .monaco-inputbox>.ibwrapper>.mirror{padding:2px 4px}.monaco-tree-type-filter-input .monaco-findInput>.controls{top:2px}.monaco-tree-type-filter-actionbar{margin-left:4px}.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label{padding:2px}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;border-radius:2px;text-align:center;cursor:pointer;justify-content:center;align-items:center;border:1px solid var(--vscode-button-border, transparent);line-height:18px}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled:focus,.monaco-button.disabled{opacity:.4!important;cursor:default}.monaco-text-button .codicon{margin:0 .2em;color:inherit!important}.monaco-text-button.monaco-text-button-with-short-label{flex-direction:row;flex-wrap:wrap;padding:0 4px;overflow:hidden;height:28px}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label{flex-basis:100%}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{flex-grow:1;width:0;overflow:hidden}.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label,.monaco-text-button.monaco-text-button-with-short-label>.monaco-button-label-short{display:flex;justify-content:center;align-items:center;font-weight:400;font-style:inherit;padding:4px 0}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown.disabled{cursor:default}.monaco-button-dropdown>.monaco-button:focus{outline-offset:-1px!important}.monaco-button-dropdown.disabled>.monaco-button.disabled,.monaco-button-dropdown.disabled>.monaco-button.disabled:focus,.monaco-button-dropdown.disabled>.monaco-button-dropdown-separator{opacity:.4!important}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-right-width:0!important}.monaco-button-dropdown .monaco-button-dropdown-separator{padding:4px 0;cursor:default}.monaco-button-dropdown .monaco-button-dropdown-separator>div{height:100%;width:1px}.monaco-button-dropdown>.monaco-button.monaco-dropdown-button{border:1px solid var(--vscode-button-border, transparent);border-left-width:0!important;border-radius:0 2px 2px 0}.monaco-button-dropdown>.monaco-button.monaco-text-button{border-radius:2px 0 0 2px}.monaco-description-button{display:flex;flex-direction:column;align-items:center;margin:4px 5px}.monaco-description-button .monaco-button-description{font-style:italic;font-size:11px;padding:4px 20px}.monaco-description-button .monaco-button-label,.monaco-description-button .monaco-button-description{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-label>.codicon,.monaco-description-button .monaco-button-description>.codicon{margin:0 .2em;color:inherit!important}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;transform:translateZ(0);animation-timing-function:linear}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes progress{0%{transform:translate(0) scaleX(1)}50%{transform:translate(2500%) scaleX(3)}to{transform:translate(4900%) scaleX(1)}}.quick-input-widget{position:absolute;width:600px;z-index:2550;left:50%;margin-left:-300px;-webkit-app-region:no-drag;border-radius:6px}.quick-input-titlebar{display:flex;align-items:center;border-top-left-radius:5px;border-top-right-radius:5px}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:center;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:8px 6px 6px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:25px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-message a{color:inherit}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px}.quick-input-widget.hidden-input .quick-input-list{margin-top:4px;padding-bottom:4px}.quick-input-list .monaco-list{overflow:hidden;max-height:440px;padding-bottom:5px}.quick-input-list .monaco-scrollable-element{padding:0 5px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row{border-radius:3px}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label>span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:4px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar{margin-right:4px}.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label-container.disabled{color:var(--vscode-disabledForeground)}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box;background-color:var(--vscode-editorBracketMatch-background);border:1px solid var(--vscode-editorBracketMatch-border)}@font-face{font-family:codicon;font-display:block;src:url(./codicon-9NdTC9YB.ttf) format("truetype")}.codicon[class*=codicon-]{font: 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(360deg)}}.codicon-sync.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-gear.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.monaco-editor .codicon.codicon-symbol-array,.monaco-workbench .codicon.codicon-symbol-array{color:var(--vscode-symbolIcon-arrayForeground)}.monaco-editor .codicon.codicon-symbol-boolean,.monaco-workbench .codicon.codicon-symbol-boolean{color:var(--vscode-symbolIcon-booleanForeground)}.monaco-editor .codicon.codicon-symbol-class,.monaco-workbench .codicon.codicon-symbol-class{color:var(--vscode-symbolIcon-classForeground)}.monaco-editor .codicon.codicon-symbol-method,.monaco-workbench .codicon.codicon-symbol-method{color:var(--vscode-symbolIcon-methodForeground)}.monaco-editor .codicon.codicon-symbol-color,.monaco-workbench .codicon.codicon-symbol-color{color:var(--vscode-symbolIcon-colorForeground)}.monaco-editor .codicon.codicon-symbol-constant,.monaco-workbench .codicon.codicon-symbol-constant{color:var(--vscode-symbolIcon-constantForeground)}.monaco-editor .codicon.codicon-symbol-constructor,.monaco-workbench .codicon.codicon-symbol-constructor{color:var(--vscode-symbolIcon-constructorForeground)}.monaco-editor .codicon.codicon-symbol-value,.monaco-workbench .codicon.codicon-symbol-value,.monaco-editor .codicon.codicon-symbol-enum,.monaco-workbench .codicon.codicon-symbol-enum{color:var(--vscode-symbolIcon-enumeratorForeground)}.monaco-editor .codicon.codicon-symbol-enum-member,.monaco-workbench .codicon.codicon-symbol-enum-member{color:var(--vscode-symbolIcon-enumeratorMemberForeground)}.monaco-editor .codicon.codicon-symbol-event,.monaco-workbench .codicon.codicon-symbol-event{color:var(--vscode-symbolIcon-eventForeground)}.monaco-editor .codicon.codicon-symbol-field,.monaco-workbench .codicon.codicon-symbol-field{color:var(--vscode-symbolIcon-fieldForeground)}.monaco-editor .codicon.codicon-symbol-file,.monaco-workbench .codicon.codicon-symbol-file{color:var(--vscode-symbolIcon-fileForeground)}.monaco-editor .codicon.codicon-symbol-folder,.monaco-workbench .codicon.codicon-symbol-folder{color:var(--vscode-symbolIcon-folderForeground)}.monaco-editor .codicon.codicon-symbol-function,.monaco-workbench .codicon.codicon-symbol-function{color:var(--vscode-symbolIcon-functionForeground)}.monaco-editor .codicon.codicon-symbol-interface,.monaco-workbench .codicon.codicon-symbol-interface{color:var(--vscode-symbolIcon-interfaceForeground)}.monaco-editor .codicon.codicon-symbol-key,.monaco-workbench .codicon.codicon-symbol-key{color:var(--vscode-symbolIcon-keyForeground)}.monaco-editor .codicon.codicon-symbol-keyword,.monaco-workbench .codicon.codicon-symbol-keyword{color:var(--vscode-symbolIcon-keywordForeground)}.monaco-editor .codicon.codicon-symbol-module,.monaco-workbench .codicon.codicon-symbol-module{color:var(--vscode-symbolIcon-moduleForeground)}.monaco-editor .codicon.codicon-symbol-namespace,.monaco-workbench .codicon.codicon-symbol-namespace{color:var(--vscode-symbolIcon-namespaceForeground)}.monaco-editor .codicon.codicon-symbol-null,.monaco-workbench .codicon.codicon-symbol-null{color:var(--vscode-symbolIcon-nullForeground)}.monaco-editor .codicon.codicon-symbol-number,.monaco-workbench .codicon.codicon-symbol-number{color:var(--vscode-symbolIcon-numberForeground)}.monaco-editor .codicon.codicon-symbol-object,.monaco-workbench .codicon.codicon-symbol-object{color:var(--vscode-symbolIcon-objectForeground)}.monaco-editor .codicon.codicon-symbol-operator,.monaco-workbench .codicon.codicon-symbol-operator{color:var(--vscode-symbolIcon-operatorForeground)}.monaco-editor .codicon.codicon-symbol-package,.monaco-workbench .codicon.codicon-symbol-package{color:var(--vscode-symbolIcon-packageForeground)}.monaco-editor .codicon.codicon-symbol-property,.monaco-workbench .codicon.codicon-symbol-property{color:var(--vscode-symbolIcon-propertyForeground)}.monaco-editor .codicon.codicon-symbol-reference,.monaco-workbench .codicon.codicon-symbol-reference{color:var(--vscode-symbolIcon-referenceForeground)}.monaco-editor .codicon.codicon-symbol-snippet,.monaco-workbench .codicon.codicon-symbol-snippet{color:var(--vscode-symbolIcon-snippetForeground)}.monaco-editor .codicon.codicon-symbol-string,.monaco-workbench .codicon.codicon-symbol-string{color:var(--vscode-symbolIcon-stringForeground)}.monaco-editor .codicon.codicon-symbol-struct,.monaco-workbench .codicon.codicon-symbol-struct{color:var(--vscode-symbolIcon-structForeground)}.monaco-editor .codicon.codicon-symbol-text,.monaco-workbench .codicon.codicon-symbol-text{color:var(--vscode-symbolIcon-textForeground)}.monaco-editor .codicon.codicon-symbol-type-parameter,.monaco-workbench .codicon.codicon-symbol-type-parameter{color:var(--vscode-symbolIcon-typeParameterForeground)}.monaco-editor .codicon.codicon-symbol-unit,.monaco-workbench .codicon.codicon-symbol-unit{color:var(--vscode-symbolIcon-unitForeground)}.monaco-editor .codicon.codicon-symbol-variable,.monaco-workbench .codicon.codicon-symbol-variable{color:var(--vscode-symbolIcon-variableForeground)}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px;color:var(--vscode-inputValidation-infoForeground);background-color:var(--vscode-inputValidation-infoBackground);border:1px solid var(--vscode-inputValidation-infoBorder)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message,.monaco-editor.hc-light .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;border-color:transparent;border-style:solid;z-index:1000;border-width:8px;position:absolute}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.action-widget{font-size:13px;border-radius:0;min-width:160px;max-width:500px;z-index:40;display:block;width:100%;border:1px solid var(--vscode-editorWidget-border)!important;background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground)}.context-view-block{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:-1}.context-view-pointerBlock{position:fixed;cursor:initial;left:0;top:0;width:100%;height:100%;z-index:2}.action-widget .monaco-list{user-select:none;-webkit-user-select:none;border:none!important;border-width:0!important}.action-widget .monaco-list:focus:before{outline:0!important}.action-widget .monaco-list .monaco-scrollable-element{overflow:visible}.action-widget .monaco-list .monaco-list-row{padding:0 10px;white-space:nowrap;cursor:pointer;touch-action:none;width:100%}.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled){background-color:var(--vscode-quickInputList-focusBackground)!important;color:var(--vscode-quickInputList-focusForeground);outline:1px solid var(--vscode-menu-selectionBorder, transparent);outline-offset:-1px}.action-widget .monaco-list-row.group-header{color:var(--vscode-pickerGroup-foreground)!important;font-weight:600}.action-widget .monaco-list .group-header,.action-widget .monaco-list .option-disabled,.action-widget .monaco-list .option-disabled:before,.action-widget .monaco-list .option-disabled .focused,.action-widget .monaco-list .option-disabled .focused:before{cursor:default!important;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;background-color:transparent!important;outline:0 solid!important}.action-widget .monaco-list-row.action{display:flex;gap:6px;align-items:center}.action-widget .monaco-list-row.action.option-disabled{color:var(--vscode-disabledForeground)}.action-widget .monaco-list-row.action.option-disabled .codicon{opacity:.4}.action-widget .monaco-list-row.action:not(.option-disabled) .codicon{color:inherit}.action-widget .monaco-list-row.action .title{flex:1;overflow:hidden;text-overflow:ellipsis}.action-widget .action-widget-action-bar{background-color:var(--vscode-editorHoverWidget-statusBarBackground);border-top:1px solid var(--vscode-editorHoverWidget-border)}.action-widget .action-widget-action-bar:before{display:block;content:"";width:100%}.action-widget .action-widget-action-bar .actions-container{padding:0 8px}.action-widget-action-bar .action-label{color:var(--vscode-textLink-activeForeground);font-size:12px;line-height:22px;padding:0;pointer-events:all}.action-widget-action-bar .action-item{margin-right:16px;pointer-events:none}.action-widget-action-bar .action-label:hover{background-color:transparent!important}.monaco-editor .lightBulbWidget{display:flex;align-items:center;justify-content:center}.monaco-editor .lightBulbWidget:hover{cursor:pointer}.monaco-editor .lightBulbWidget.codicon-light-bulb{color:var(--vscode-editorLightBulb-foreground)}.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix{color:var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground))}.monaco-editor .lightBulbWidget:before{position:relative;z-index:2}.monaco-editor .lightBulbWidget:after{position:absolute;top:0;left:0;content:"";display:block;width:100%;height:100%;opacity:.3;background-color:var(--vscode-editor-background);z-index:1}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize);padding-right:calc(var(--vscode-editorCodeLens-fontSize)*.5);font-feature-settings:var(--vscode-editorCodeLens-fontFeatureSettings);font-family:var(--vscode-editorCodeLens-fontFamily),var(--vscode-editorCodeLens-fontFamilyDefault)}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{user-select:none;-webkit-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important;color:var(--vscode-editorCodeLens-foreground);line-height:var(--vscode-editorCodeLens-lineHeight);font-size:var(--vscode-editorCodeLens-fontSize)}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none}.colorpicker-color-decoration,.hc-light .colorpicker-color-decoration{border:solid .1em #000;box-sizing:border-box;margin:.1em .2em 0;width:.8em;height:.8em;line-height:.8em;display:inline-block;cursor:pointer}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:solid .1em #eee}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px;position:absolute;left:8px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid rgb(255,255,255);border-radius:100%;box-shadow:0 0 2px #000c;position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(to bottom,red,#ff0 17%,#0f0 33%,#0ff,#00f 67%,#f0f 83%,red)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.71);box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;justify-content:space-between;flex-wrap:nowrap}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:baseline;font-size:13px;margin-left:20px;min-width:0;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname,.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px;align-self:center}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px;background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground)}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%;color:var(--vscode-peekViewResult-fileForeground)}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder, transparent);box-sizing:border-box}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover a:hover:not(.disabled){cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover p,.monaco-hover .code,.monaco-hover ul,.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{margin:8px 0}.monaco-hover h1,.monaco-hover h2,.monaco-hover h3,.monaco-hover h4,.monaco-hover h5,.monaco-hover h6{line-height:1.1}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0px;border-right:0px;margin:4px -8px -4px;height:1px}.monaco-hover p:first-child,.monaco-hover .code:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover p:last-child,.monaco-hover .code:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ul,.monaco-hover ol{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .info{font-style:italic;padding:0 8px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link:hover,.monaco-hover .hover-contents a.code-link{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-hover .hover-contents a.code-link>span:hover{color:var(--vscode-textLink-activeForeground)}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.monaco-editor .rendered-markdown kbd{background-color:var(--vscode-keybindingLabel-background);color:var(--vscode-keybindingLabel-foreground);border-style:solid;border-width:1px;border-radius:3px;border-color:var(--vscode-keybindingLabel-border);border-bottom-color:var(--vscode-keybindingLabel-bottomBorder);box-shadow:inset 0 -1px 0 var(--vscode-widget-shadow);vertical-align:middle;padding:1px 3px}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;user-select:text;-webkit-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground)}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{color:var(--vscode-textLink-activeForeground)}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .zone-widget .codicon.codicon-error,.markers-panel .marker-icon.error,.markers-panel .marker-icon .codicon.codicon-error,.text-search-provider-messages .providerMessage .codicon.codicon-error,.extensions-viewlet>.extensions .codicon.codicon-error,.extension-editor .codicon.codicon-error,.preferences-editor .codicon.codicon-error{color:var(--vscode-problemsErrorIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-warning,.markers-panel .marker-icon.warning,.markers-panel .marker-icon .codicon.codicon-warning,.text-search-provider-messages .providerMessage .codicon.codicon-warning,.extensions-viewlet>.extensions .codicon.codicon-warning,.extension-editor .codicon.codicon-warning,.preferences-editor .codicon.codicon-warning{color:var(--vscode-problemsWarningIcon-foreground)}.monaco-editor .zone-widget .codicon.codicon-info,.markers-panel .marker-icon.info,.markers-panel .marker-icon .codicon.codicon-info,.text-search-provider-messages .providerMessage .codicon.codicon-info,.extensions-viewlet>.extensions .codicon.codicon-info,.extension-editor .codicon.codicon-info,.preferences-editor .codicon.codicon-info{color:var(--vscode-problemsInfoIcon-foreground)}.monaco-editor .hoverHighlight{background-color:var(--vscode-editor-hoverHighlightBackground)}.monaco-editor .monaco-hover{color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .monaco-hover a{color:var(--vscode-textLink-foreground)}.monaco-editor .monaco-hover a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .monaco-hover .hover-row .actions{background-color:var(--vscode-editorHoverWidget-statusBarBackground)}.monaco-editor .monaco-hover code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .inlineSuggestionsHints.withBorder{z-index:39;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .inlineSuggestionsHints a,.monaco-editor .inlineSuggestionsHints a:hover{color:var(--vscode-foreground)}.monaco-editor .inlineSuggestionsHints .keybinding{display:flex;margin-left:4px;opacity:.6}.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key{font-size:8px;padding:2px 3px}.monaco-editor .inlineSuggestionsHints .custom-actions .action-item:nth-child(2) a{display:flex;min-width:19px;justify-content:center}.monaco-editor .inlineSuggestionStatusBarItemLabel{margin-right:2px}.monaco-toolbar{height:100%}.monaco-toolbar .toolbar-toggle-more{display:inline-block;padding:0}.monaco-editor.vs .dnd-target,.monaco-editor.hc-light .dnd-target{border-right:2px dotted black;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #AEAFAD;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.hc-light.mac.mouse-default .view-lines{cursor:default}.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines,.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.hc-light.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .findOptionsWidget{background-color:var(--vscode-editorWidget-background);color:var(--vscode-editorWidget-foreground);box-shadow:0 0 8px 2px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px));border-bottom-left-radius:4px;border-bottom-right-radius:4px}.monaco-workbench.reduce-motion .monaco-editor .find-widget{transition:transform 0ms linear}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:3px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:center center;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{color:var(--vscode-disabledForeground);cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-collapsed{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed{transition:initial}.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:"⋯";display:inline;line-height:1em;cursor:pointer}.monaco-editor .folded-background{background-color:var(--vscode-editor-foldBackground)}.monaco-editor .cldr.codicon.codicon-folding-expanded,.monaco-editor .cldr.codicon.codicon-folding-collapsed,.monaco-editor .cldr.codicon.codicon-folding-manual-expanded,.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed{color:var(--vscode-editorGutter-foldingControlForeground)!important}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetTabstopHighlightBorder, transparent)}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent)}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-widget,.monaco-editor .suggest-details{flex:0 1 auto;width:100%;border-style:solid;border-width:1px;border-color:var(--vscode-editorSuggestWidget-border);background-color:var(--vscode-editorSuggestWidget-background)}.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-light .suggest-widget,.monaco-editor.hc-light .suggest-details{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid var(--vscode-editorSuggestWidget-border);overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{user-select:none;-webkit-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:initial;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default;color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details a{color:var(--vscode-textLink-foreground)}.monaco-editor .suggest-details a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:initial;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ul,.monaco-editor .suggest-details ol{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor .inline-completion-text-to-replace{text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-decoration,.monaco-editor .ghost-text-decoration-preview,.monaco-editor .suggest-preview-text .ghost-text{color:var(--vscode-editorGhostText-foreground)!important;background-color:var(--vscode-editorGhostText-background);border:1px solid var(--vscode-editorGhostText-border)}.monaco-editor.vs .valueSetReplacement{outline:solid 2px var(--vscode-editorBracketMatch-border)}.monaco-editor .linked-editing-decoration{background-color:var(--vscode-editor-linkedEditingBackground);border-left-color:var(--vscode-editor-linkedEditingBackground)}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer;color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .focused .selectionHighlight{background-color:var(--vscode-editor-selectionHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-selectionHighlightBorder)}.monaco-editor.hc-black .focused .selectionHighlight,.monaco-editor.hc-light .focused .selectionHighlight{border-style:dotted}.monaco-editor .wordHighlight{background-color:var(--vscode-editor-wordHighlightBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightBorder)}.monaco-editor.hc-black .wordHighlight,.monaco-editor.hc-light .wordHighlight{border-style:dotted}.monaco-editor .wordHighlightStrong{background-color:var(--vscode-editor-wordHighlightStrongBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightStrongBorder)}.monaco-editor.hc-black .wordHighlightStrong,.monaco-editor.hc-light .wordHighlightStrong{border-style:dotted}.monaco-editor .wordHighlightText{background-color:var(--vscode-editor-wordHighlightTextBackground);box-sizing:border-box;border:1px solid var(--vscode-editor-wordHighlightTextBorder)}.monaco-editor.hc-black .wordHighlightText,.monaco-editor.hc-light .wordHighlightText{border-style:dotted}.monaco-editor .parameter-hints-widget{z-index:39;display:flex;flex-direction:column;line-height:1.5em;cursor:default;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.hc-black .monaco-editor .parameter-hints-widget,.hc-light .monaco-editor .parameter-hints-widget{border-width:2px}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.multiple .body:before{content:"";display:block;height:100%;position:absolute;opacity:.5;border-left:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .monaco-scrollable-element,.monaco-editor .parameter-hints-widget .body{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px;position:relative}.monaco-editor .parameter-hints-widget .signature.has-docs:after{content:"";display:block;position:absolute;left:0;width:100%;padding-top:4px;opacity:.5;border-bottom:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs a{color:var(--vscode-textLink-foreground)}.monaco-editor .parameter-hints-widget .docs a:hover{color:var(--vscode-textLink-activeForeground);cursor:pointer}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs code{font-family:var(--monaco-monospace-font);border-radius:3px;padding:0 .4em;background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source,.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{color:var(--vscode-editorHoverWidget-highlightForeground);font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit;border-radius:4px}.monaco-editor .rename-box.preview{padding:4px 4px 0}.monaco-editor .rename-box .rename-input{padding:3px;border-radius:2px}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .sticky-line{color:var(--vscode-editorLineNumber-foreground);overflow:hidden;white-space:nowrap;display:inline-block}.monaco-editor .sticky-line-number{text-align:right;float:left}.monaco-editor .sticky-line-root{background-color:inherit;overflow:hidden;white-space:nowrap;width:100%}.monaco-editor.hc-black .sticky-widget,.monaco-editor.hc-light .sticky-widget{border-bottom:1px solid var(--vscode-contrastBorder)}.monaco-editor .sticky-line-root:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-editor .sticky-widget{width:100%;box-shadow:var(--vscode-scrollbar-shadow) 0 3px 2px -2px;z-index:4;background-color:var(--vscode-editorStickyScroll-background)}.monaco-editor .sticky-widget.peek{background-color:var(--vscode-peekViewEditorStickyScroll-background)}.monaco-editor .unicode-highlight{border:1px solid var(--vscode-editorUnicodeHighlight-border);background-color:var(--vscode-editorUnicodeHighlight-background);box-sizing:border-box}.editor-banner{box-sizing:border-box;cursor:default;width:100%;font-size:12px;display:flex;overflow:visible;height:26px;background:var(--vscode-banner-background)}.editor-banner .icon-container{display:flex;flex-shrink:0;align-items:center;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-repeat:no-repeat;background-position:center center;background-size:16px;width:16px;padding:0;margin:0 6px 0 10px}.editor-banner .message-container{display:flex;align-items:center;line-height:26px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-banner .message-container p{margin-block-start:0;margin-block-end:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{width:inherit;margin:2px 8px;padding:0 12px}.editor-banner .message-actions-container a{padding:3px;margin-left:12px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner{background-color:var(--vscode-banner-background)}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-link{color:var(--vscode-textLink-foreground)}.monaco-link:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll;color:var(--vscode-editorWidget-foreground);background-color:var(--vscode-editorWidget-background);box-shadow:0 2px 8px var(--vscode-widget-shadow);border:2px solid var(--vscode-contrastBorder)}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #F6F6F6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;padding:10px;color:var(--vscode-editorHoverWidget-foreground);background-color:var(--vscode-editorHoverWidget-background);border:1px solid var(--vscode-editorHoverWidget-border)}.monaco-editor.hc-black .tokens-inspect-widget,.monaco-editor.hc-light .tokens-inspect-widget{border-width:2px}.monaco-editor .tokens-inspect-widget .tokens-inspect-separator{height:1px;border:0;background-color:var(--vscode-editorHoverWidget-border)}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}hr[data-v-bb5c0884]{opacity:.1}.drawer[data-v-bb5c0884]{position:fixed;right:0;top:0;width:900px;height:calc(100vh - 22px);background:var(--hl-bg);z-index:999;opacity:.97;padding:10px}.drawer h4[data-v-bb5c0884]{margin:2px}.drawer .settings .buttons[data-v-bb5c0884]{margin-top:10px}.drawer .settings .buttons button[data-v-bb5c0884],.drawer .column-edit button[data-v-bb5c0884]{margin-right:5px}.drawer .input[data-v-bb5c0884]{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.drawer .col-row[data-v-bb5c0884]{display:flex}.drawer .col-row .name[data-v-bb5c0884]{width:200px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.drawer .inner-drawer[data-v-bb5c0884]{margin-top:10px;height:calc(100% - 15px);overflow-y:scroll}.drawer .inner-drawer .header[data-v-bb5c0884]{width:100%;text-align:right}.drawer pre[data-v-bb5c0884]{margin:6px 0;background:var(--hl-bg2);padding:10px;white-space:pre-wrap}.btn-sm[data-v-bb5c0884]{padding:4px 6px;margin-right:4px;border-radius:4px;font-size:12px}.btn-sm.active[data-v-bb5c0884]{color:#ffffff4d}.btn-sm.grey[data-v-bb5c0884]{color:#ffffff80}.overlay[data-v-1a4b7156]{position:fixed;top:0;left:0;width:100%;height:100%;background:#000;opacity:.5;z-index:9999}.modal[data-v-1a4b7156]{position:fixed;display:flex;flex-direction:column;top:40px;left:50%;transform:translate(-50%);border:3px solid rgba(255,255,255,.1);border-radius:4px;width:900px;max-height:calc(100% - 100px);overflow-y:scroll;background:var(--hl-bg);z-index:10000;padding:20px}.modal .close[data-v-1a4b7156]{text-align:right}.input{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.err{padding:10px;margin:10px 0;background:#b53c3c}.demo .top-bar{padding-top:50px!important}.demo .layout{height:calc(100vh - 116px)!important}.demo-bar{position:fixed;display:flex;align-items:center;justify-content:center;top:0;width:100%;font-weight:600;height:40px;background:#402c6b;border-bottom:1px solid #583c93}.demo-bar span{margin-right:20px}.demo-bar button{padding:4px 8px;font-size:12px;border-radius:7px;margin-right:4px}.container{height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center}.container button{margin-left:5px}button[data-v-752ca984]{margin-right:5px}.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;right:0;height:100%;width:100%;-ms-transform-origin:0 0;-webkit-transform-origin:0 0;-webkit-transform-style:preserve-3d;transform-origin:0 0;transform-style:flat}.noUi-txt-dir-rtl.noUi-horizontal .noUi-origin{left:0;right:auto}.noUi-vertical .noUi-origin{top:-100%;width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:absolute}.noUi-touch-area{height:100%;width:100%}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;right:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;right:-6px;bottom:-17px}.noUi-txt-dir-rtl.noUi-horizontal .noUi-handle{left:-17px;right:auto}.noUi-target{background:#fafafa;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #f0f0f0,0 3px 6px -5px #bbb}.noUi-connects{border-radius:3px}.noUi-connect{background:#3fb8af}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#fff;cursor:default;box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ebebeb,0 3px 6px -3px #bbb}.noUi-active{box-shadow:inset 0 0 1px #fff,inset 0 1px 7px #ddd,0 3px 6px -3px #bbb}.noUi-handle:before,.noUi-handle:after{content:"";display:block;position:absolute;height:14px;width:1px;background:#e8e7e6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:before,.noUi-vertical .noUi-handle:after{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#b8b8b8}[disabled].noUi-target,[disabled].noUi-handle,[disabled] .noUi-handle{cursor:not-allowed}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#ccc}.noUi-marker-sub,.noUi-marker-large{background:#aaa}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translateY(-50%);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translateY(50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translateY(-50%);top:50%;right:120%}.noUi-horizontal .noUi-origin>.noUi-tooltip{-webkit-transform:translate(50%,0);transform:translate(50%);left:auto;bottom:10px}.noUi-vertical .noUi-origin>.noUi-tooltip{-webkit-transform:translate(0,-18px);transform:translateY(-18px);top:auto;right:28px}.v-popper__inner{max-width:360px!important}#slider-square{width:90%;margin:0 auto}pre{margin:6px 0;background:#1e1e1e;padding:10px;white-space:pre-wrap;word-wrap:break-word}.nofacets{text-align:center;box-sizing:border-box;overflow:hidden;padding:30px 40px 0;font-size:22px;border-top:1px solid var(--hl-bg)}.nofacets span{font-size:14px}.facet{border-top:1px solid var(--hl-bg);font-size:13px;line-height:16px;cursor:pointer;margin-top:10px}.facet .facet-toggle-vis{font-size:9px}.facet .facet-items{max-height:150px;overflow-y:scroll;border-bottom:1px solid rgba(255,255,255,.08)}.facet .facet-items:hover{max-height:200px}.facet .facet-items .facet-item{display:flex;flex-direction:row;justify-content:space-between;border-radius:2px;padding:4px}.facet .facet-items .facet-item.facet-selected{background:var(--hl-bg2);font-weight:600}.facet .facet-label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%}.facet .facet-item:hover{background-color:var(--hl-bg)}.facet .facet-header{display:flex;flex-direction:row;justify-content:space-between}.facet .facet-header .facet-title{font-weight:700}.facet .facet-val{text-align:right;width:30px}.top-bar{height:50px;display:flex;align-items:center;flex-direction:row;padding:8px}.top-bardiv{flex:1 1 auto}.top-bar .left{display:flex;align-items:center;margin-left:20px;margin-right:20px}.top-bar .left .logo img{height:40px}.top-bar .left .docs{margin-left:10px;font-size:12px;border:1px solid var(--hl-bg);padding:4px 8px;border-radius:6px;display:flex;flex-direction:row;align-items:center}.top-bar .left .docs svg{margin-left:5px}.top-bar .right{flex-grow:1;display:flex;align-items:center}.top-bar .right .searchbar{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.top-bar .right .search-error{font-family:Roboto mono,sans-serif;font-size:12px;padding:5px;background:var(--hl-bg);margin-left:10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}.top-bar .end{display:flex;align-items:center;margin:0 0 0 10px}.top-bar .end .ctrls{margin-right:5px}.top-bar .end .ctrls .ctrl-btn{padding:8px;border-radius:0}.top-bar .end .ctrls .ctrl-btn:first-child{border-top-left-radius:8px;border-bottom-left-radius:8px}.top-bar .end .ctrls .ctrl-btn:last-child{border-top-right-radius:8px;border-bottom-right-radius:8px}.layout{display:flex;height:calc(100vh - 66px);overflow:hidden}.layout .mid-col{background:#fff;width:4px;height:100%;opacity:.2;cursor:ew-resize}.layout .mid-col.freeze{width:2px!important;cursor:auto;opacity:.1}.layout .left-col{overflow:auto;overflow-x:hidden;min-width:180px;border-right:1px solid var(--hl-bg);padding-right:5px}.layout .left-col.empty{min-width:unset!important;width:20px!important}.layout .left-col .counter{text-align:center;padding-bottom:10px}.layout .right-col{padding-left:5px;overflow:scroll;width:100%;height:100%}.layout .right-col .trace-block{background:var(--info)}.layout .right-col .clickable{text-decoration:underline;font-weight:700;cursor:pointer}.layout .right-col .clickable:hover{text-decoration:none}.layout .right-col .stick{position:fixed;right:15px;bottom:10px;font-size:11px}.layout .right-col .stick.sticked{border:1px solid #646cff}.layout .right-col .table{font-family:Roboto mono,sans-serif;font-size:12px;border:none;border-collapse:separate;border-spacing:0}.layout .right-col .table .header-border{height:100%;display:inline;width:3px;cursor:ew-resize;background:#00000040;float:right}.layout .right-col .table td,.layout .right-col .table th{padding:1px 2px}.layout .right-col .table .column-name span{pointer-events:none;-webkit-user-select:none;user-select:none}.layout .right-col .table .column-name:hover .hide-icon{visibility:visible!important}.layout .right-col .table th{position:sticky;top:0;background-color:var(--hl-bg);padding:2px 0;z-index:99}.layout .right-col .table td div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;word-wrap:break-word;word-break:break-all}.layout .right-col .table tr{cursor:pointer}.layout .right-col .table tr .mark{display:block;width:10px;font-size:7px;line-height:1px;opacity:.1}.layout .right-col .table tr .mark:hover{opacity:.7}.layout .right-col .table tr .mark.active{opacity:1}.layout .right-col .table tr.row.opened{background-color:var(--hl-bg);opacity:.8}.layout .right-col .table tr.row:hover{background-color:var(--hl-bg)!important;opacity:1}.layout .right-col .table tr.row.open{font-weight:800;background-color:var(--hl-bg3)!important}.btn-sm{padding:4px 6px;margin-right:4px;border-radius:4px;font-size:12px}.kdb,kbd{margin:0;border:1px solid white;opacity:.7;font-size:12px;padding:1px;border-radius:2px}.v-popper--theme-tooltip .v-popper__inner{background:#171717!important;padding:5px 8px!important;font-size:13px}.v-popper--theme-tooltip .v-popper__arrow-container{visibility:hidden}.alert{margin-top:10px;margin-bottom:10px;padding:10px;border:1px solid var(--hl-bg4);background:var(--hl-bg3);border-radius:7px}.alert.alert-info{border:1px solid rgb(95,118,194);background:var(--info)}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-tooltip .v-popper__inner{background:#000c;color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd} diff --git a/assets/assets/index-iIKmhSVb.js b/assets/assets/index-iIKmhSVb.js new file mode 100644 index 0000000..2caf279 --- /dev/null +++ b/assets/assets/index-iIKmhSVb.js @@ -0,0 +1,7148 @@ +var Eci=Object.defineProperty;var _ci=(r,e,i)=>e in r?Eci(r,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[e]=i;var Rc=(r,e,i)=>(_ci(r,typeof e!="symbol"?e+"":e,i),i);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const c of o.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function i(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=i(a);fetch(a.href,o)}})();/** +* @vue/shared v3.4.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function XWe(r,e){const i=new Set(r.split(","));return e?n=>i.has(n.toLowerCase()):n=>i.has(n)}const Xf={},$G=[],HC=()=>{},Dci=()=>!1,t6e=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&(r.charCodeAt(2)>122||r.charCodeAt(2)<97),eGe=r=>r.startsWith("onUpdate:"),M_=Object.assign,tGe=(r,e)=>{const i=r.indexOf(e);i>-1&&r.splice(i,1)},xci=Object.prototype.hasOwnProperty,r1=(r,e)=>xci.call(r,e),j0=Array.isArray,UG=r=>uae(r)==="[object Map]",i6e=r=>uae(r)==="[object Set]",cpt=r=>uae(r)==="[object Date]",uc=r=>typeof r=="function",ng=r=>typeof r=="string",ML=r=>typeof r=="symbol",Tf=r=>r!==null&&typeof r=="object",Txt=r=>(Tf(r)||uc(r))&&uc(r.then)&&uc(r.catch),Lxt=Object.prototype.toString,uae=r=>Lxt.call(r),vci=r=>uae(r).slice(8,-1),Nxt=r=>uae(r)==="[object Object]",iGe=r=>ng(r)&&r!=="NaN"&&r[0]!=="-"&&""+parseInt(r,10)===r,W3e=XWe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),n6e=r=>{const e=Object.create(null);return i=>e[i]||(e[i]=r(i))},Cci=/-(\w)/g,yA=n6e(r=>r.replace(Cci,(e,i)=>i?i.toUpperCase():"")),bci=/\B([A-Z])/g,VR=n6e(r=>r.replace(bci,"-$1").toLowerCase()),u6e=n6e(r=>r.charAt(0).toUpperCase()+r.slice(1)),eIe=n6e(r=>r?`on${u6e(r)}`:""),zL=(r,e)=>!Object.is(r,e),G3e=(r,e)=>{for(let i=0;i{Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value:i})},NOe=r=>{const e=parseFloat(r);return isNaN(e)?r:e};let dpt;const Pxt=()=>dpt||(dpt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function P3(r){if(j0(r)){const e={};for(let i=0;i{if(i){const n=i.split(kci);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Uh(r){let e="";if(ng(r))e=r;else if(j0(r))for(let i=0;ikJ(i,e))}const Oc=r=>ng(r)?r:r==null?"":j0(r)||Tf(r)&&(r.toString===Lxt||!uc(r.toString))?JSON.stringify(r,Ixt,2):String(r),Ixt=(r,e)=>e&&e.__v_isRef?Ixt(r,e.value):UG(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((i,[n,a],o)=>(i[tIe(n,o)+" =>"]=a,i),{})}:i6e(e)?{[`Set(${e.size})`]:[...e.values()].map(i=>tIe(i))}:ML(e)?tIe(e):Tf(e)&&!j0(e)&&!Nxt(e)?String(e):e,tIe=(r,e="")=>{var i;return ML(r)?`Symbol(${(i=r.description)!=null?i:e})`:r};/** +* @vue/reactivity v3.4.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let z6;class Rxt{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=z6,!e&&z6&&(this.index=(z6.scopes||(z6.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const i=z6;try{return z6=this,e()}finally{z6=i}}}on(){z6=this}off(){z6=this.parent}stop(e){if(this._active){let i,n;for(i=0,n=this.effects.length;i=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),KR()}return this._dirtyLevel>=2}set dirty(e){this._dirtyLevel=e?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=mL,i=HI;try{return mL=!0,HI=this,this._runnings++,hpt(this),this.fn()}finally{fpt(this),this._runnings--,HI=i,mL=e}}stop(){var e;this.active&&(hpt(this),fpt(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function Pci(r){return r.value}function hpt(r){r._trackId++,r._depsLength=0}function fpt(r){if(r.deps&&r.deps.length>r._depsLength){for(let e=r._depsLength;e{const i=new Map;return i.cleanup=r,i.computed=e,i},jDe=new WeakMap,KI=Symbol(""),zOe=Symbol("");function fx(r,e,i){if(mL&&HI){let n=jDe.get(r);n||jDe.set(r,n=new Map);let a=n.get(i);a||n.set(i,a=Gxt(()=>n.delete(i))),Kxt(HI,a)}}function KS(r,e,i,n,a,o){const c=jDe.get(r);if(!c)return;let h=[];if(e==="clear")h=[...c.values()];else if(i==="length"&&j0(r)){const g=Number(n);c.forEach((_,x)=>{(x==="length"||!ML(x)&&x>=g)&&h.push(_)})}else switch(i!==void 0&&h.push(c.get(i)),e){case"add":j0(r)?iGe(i)&&h.push(c.get("length")):(h.push(c.get(KI)),UG(r)&&h.push(c.get(zOe)));break;case"delete":j0(r)||(h.push(c.get(KI)),UG(r)&&h.push(c.get(zOe)));break;case"set":UG(r)&&h.push(c.get(KI));break}uGe();for(const g of h)g&&Wxt(g,2);rGe()}function Mci(r,e){var i;return(i=jDe.get(r))==null?void 0:i.get(e)}const zci=XWe("__proto__,__v_isRef,__isVue"),Jxt=new Set(Object.getOwnPropertyNames(Symbol).filter(r=>r!=="arguments"&&r!=="caller").map(r=>Symbol[r]).filter(ML)),mpt=Ici();function Ici(){const r={};return["includes","indexOf","lastIndexOf"].forEach(e=>{r[e]=function(...i){const n=o1(this);for(let o=0,c=this.length;o{r[e]=function(...i){HR(),uGe();const n=o1(this)[e].apply(this,i);return rGe(),KR(),n}}),r}function Rci(r){const e=o1(this);return fx(e,"has",r),e.hasOwnProperty(r)}class $xt{constructor(e=!1,i=!1){this._isReadonly=e,this._shallow=i}get(e,i,n){const a=this._isReadonly,o=this._shallow;if(i==="__v_isReactive")return!a;if(i==="__v_isReadonly")return a;if(i==="__v_isShallow")return o;if(i==="__v_raw")return n===(a?o?Yci:Yxt:o?Zxt:qxt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=j0(e);if(!a){if(c&&r1(mpt,i))return Reflect.get(mpt,i,n);if(i==="hasOwnProperty")return Rci}const h=Reflect.get(e,i,n);return(ML(i)?Jxt.has(i):zci(i))||(a||fx(e,"get",i),o)?h:bp(h)?c&&iGe(i)?h:h.value:Tf(h)?a?Qxt(h):rae(h):h}}class Uxt extends $xt{constructor(e=!1){super(!1,e)}set(e,i,n,a){let o=e[i];if(!this._shallow){const g=FJ(o);if(!VDe(n)&&!FJ(n)&&(o=o1(o),n=o1(n)),!j0(e)&&bp(o)&&!bp(n))return g?!1:(o.value=n,!0)}const c=j0(e)&&iGe(i)?Number(i)r,r6e=r=>Reflect.getPrototypeOf(r);function m_e(r,e,i=!1,n=!1){r=r.__v_raw;const a=o1(r),o=o1(e);i||(zL(e,o)&&fx(a,"get",e),fx(a,"get",o));const{has:c}=r6e(a),h=n?aGe:i?lGe:Due;if(c.call(a,e))return h(r.get(e));if(c.call(a,o))return h(r.get(o));r!==a&&r.get(e)}function p_e(r,e=!1){const i=this.__v_raw,n=o1(i),a=o1(r);return e||(zL(r,a)&&fx(n,"has",r),fx(n,"has",a)),r===a?i.has(r):i.has(r)||i.has(a)}function g_e(r,e=!1){return r=r.__v_raw,!e&&fx(o1(r),"iterate",KI),Reflect.get(r,"size",r)}function ppt(r){r=o1(r);const e=o1(this);return r6e(e).has.call(e,r)||(e.add(r),KS(e,"add",r,r)),this}function gpt(r,e){e=o1(e);const i=o1(this),{has:n,get:a}=r6e(i);let o=n.call(i,r);o||(r=o1(r),o=n.call(i,r));const c=a.call(i,r);return i.set(r,e),o?zL(e,c)&&KS(i,"set",r,e):KS(i,"add",r,e),this}function Ept(r){const e=o1(this),{has:i,get:n}=r6e(e);let a=i.call(e,r);a||(r=o1(r),a=i.call(e,r)),n&&n.call(e,r);const o=e.delete(r);return a&&KS(e,"delete",r,void 0),o}function _pt(){const r=o1(this),e=r.size!==0,i=r.clear();return e&&KS(r,"clear",void 0,void 0),i}function E_e(r,e){return function(n,a){const o=this,c=o.__v_raw,h=o1(c),g=e?aGe:r?lGe:Due;return!r&&fx(h,"iterate",KI),c.forEach((_,x)=>n.call(a,g(_),g(x),o))}}function __e(r,e,i){return function(...n){const a=this.__v_raw,o=o1(a),c=UG(o),h=r==="entries"||r===Symbol.iterator&&c,g=r==="keys"&&c,_=a[r](...n),x=i?aGe:e?lGe:Due;return!e&&fx(o,"iterate",g?zOe:KI),{next(){const{value:y,done:S}=_.next();return S?{value:y,done:S}:{value:h?[x(y[0]),x(y[1])]:x(y),done:S}},[Symbol.iterator](){return this}}}}function DT(r){return function(...e){return r==="delete"?!1:r==="clear"?void 0:this}}function Kci(){const r={get(o){return m_e(this,o)},get size(){return g_e(this)},has:p_e,add:ppt,set:gpt,delete:Ept,clear:_pt,forEach:E_e(!1,!1)},e={get(o){return m_e(this,o,!1,!0)},get size(){return g_e(this)},has:p_e,add:ppt,set:gpt,delete:Ept,clear:_pt,forEach:E_e(!1,!0)},i={get(o){return m_e(this,o,!0)},get size(){return g_e(this,!0)},has(o){return p_e.call(this,o,!0)},add:DT("add"),set:DT("set"),delete:DT("delete"),clear:DT("clear"),forEach:E_e(!0,!1)},n={get(o){return m_e(this,o,!0,!0)},get size(){return g_e(this,!0)},has(o){return p_e.call(this,o,!0)},add:DT("add"),set:DT("set"),delete:DT("delete"),clear:DT("clear"),forEach:E_e(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{r[o]=__e(o,!1,!1),i[o]=__e(o,!0,!1),e[o]=__e(o,!1,!0),n[o]=__e(o,!0,!0)}),[r,i,e,n]}const[Wci,Gci,Jci,$ci]=Kci();function oGe(r,e){const i=e?r?$ci:Jci:r?Gci:Wci;return(n,a,o)=>a==="__v_isReactive"?!r:a==="__v_isReadonly"?r:a==="__v_raw"?n:Reflect.get(r1(i,a)&&a in n?i:n,a,o)}const Uci={get:oGe(!1,!1)},qci={get:oGe(!1,!0)},Zci={get:oGe(!0,!1)},qxt=new WeakMap,Zxt=new WeakMap,Yxt=new WeakMap,Yci=new WeakMap;function Qci(r){switch(r){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xci(r){return r.__v_skip||!Object.isExtensible(r)?0:Qci(vci(r))}function rae(r){return FJ(r)?r:sGe(r,!1,jci,Uci,qxt)}function edi(r){return sGe(r,!1,Hci,qci,Zxt)}function Qxt(r){return sGe(r,!0,Vci,Zci,Yxt)}function sGe(r,e,i,n,a){if(!Tf(r)||r.__v_raw&&!(e&&r.__v_isReactive))return r;const o=a.get(r);if(o)return o;const c=Xci(r);if(c===0)return r;const h=new Proxy(r,c===2?n:i);return a.set(r,h),h}function pL(r){return FJ(r)?pL(r.__v_raw):!!(r&&r.__v_isReactive)}function FJ(r){return!!(r&&r.__v_isReadonly)}function VDe(r){return!!(r&&r.__v_isShallow)}function Xxt(r){return pL(r)||FJ(r)}function o1(r){const e=r&&r.__v_raw;return e?o1(e):r}function a6e(r){return ODe(r,"__v_skip",!0),r}const Due=r=>Tf(r)?rae(r):r,lGe=r=>Tf(r)?Qxt(r):r;class e6t{constructor(e,i,n,a){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new nGe(()=>e(this._value),()=>IOe(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=n}get value(){const e=o1(this);return(!e._cacheable||e.effect.dirty)&&zL(e._value,e._value=e.effect.run())&&IOe(e,2),t6t(e),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function tdi(r,e,i=!1){let n,a;const o=uc(r);return o?(n=r,a=HC):(n=r.get,a=r.set),new e6t(n,a,o||!a,i)}function t6t(r){mL&&HI&&(r=o1(r),Kxt(HI,r.dep||(r.dep=Gxt(()=>r.dep=void 0,r instanceof e6t?r:void 0))))}function IOe(r,e=2,i){r=o1(r);const n=r.dep;n&&Wxt(n,e)}function bp(r){return!!(r&&r.__v_isRef===!0)}function Gs(r){return idi(r,!1)}function idi(r,e){return bp(r)?r:new ndi(r,e)}class ndi{constructor(e,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?e:o1(e),this._value=i?e:Due(e)}get value(){return t6t(this),this._value}set value(e){const i=this.__v_isShallow||VDe(e)||FJ(e);e=i?e:o1(e),zL(e,this._rawValue)&&(this._rawValue=e,this._value=i?e:Due(e),IOe(this,2))}}function Hu(r){return bp(r)?r.value:r}const udi={get:(r,e,i)=>Hu(Reflect.get(r,e,i)),set:(r,e,i,n)=>{const a=r[e];return bp(a)&&!bp(i)?(a.value=i,!0):Reflect.set(r,e,i,n)}};function i6t(r){return pL(r)?r:new Proxy(r,udi)}function rdi(r){const e=j0(r)?new Array(r.length):{};for(const i in r)e[i]=odi(r,i);return e}class adi{constructor(e,i,n){this._object=e,this._key=i,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Mci(o1(this._object),this._key)}}function odi(r,e,i){const n=r[e];return bp(n)?n:new adi(r,e,i)}/** +* @vue/runtime-core v3.4.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function gL(r,e,i,n){let a;try{a=n?r(...n):r()}catch(o){o6e(o,e,i)}return a}function my(r,e,i,n){if(uc(r)){const o=gL(r,e,i,n);return o&&Txt(o)&&o.catch(c=>{o6e(c,e,i)}),o}const a=[];for(let o=0;o>>1,a=z3[n],o=vue(a);oYF&&z3.splice(e,1)}function ddi(r){j0(r)?qG.push(...r):(!jT||!jT.includes(r,r.allowRecurse?EI+1:EI))&&qG.push(r),u6t()}function Dpt(r,e,i=xue?YF+1:0){for(;ivue(i)-vue(n));if(qG.length=0,jT){jT.push(...e);return}for(jT=e,EI=0;EIr.id==null?1/0:r.id,hdi=(r,e)=>{const i=vue(r)-vue(e);if(i===0){if(r.pre&&!e.pre)return-1;if(e.pre&&!r.pre)return 1}return i};function a6t(r){ROe=!1,xue=!0,z3.sort(hdi);try{for(YF=0;YFng(L)?L.trim():L)),y&&(a=i.map(NOe))}let h,g=n[h=eIe(e)]||n[h=eIe(yA(e))];!g&&o&&(g=n[h=eIe(VR(e))]),g&&my(g,r,6,a);const _=n[h+"Once"];if(_){if(!r.emitted)r.emitted={};else if(r.emitted[h])return;r.emitted[h]=!0,my(_,r,6,a)}}function o6t(r,e,i=!1){const n=e.emitsCache,a=n.get(r);if(a!==void 0)return a;const o=r.emits;let c={},h=!1;if(!uc(r)){const g=_=>{const x=o6t(_,e,!0);x&&(h=!0,M_(c,x))};!i&&e.mixins.length&&e.mixins.forEach(g),r.extends&&g(r.extends),r.mixins&&r.mixins.forEach(g)}return!o&&!h?(Tf(r)&&n.set(r,null),null):(j0(o)?o.forEach(g=>c[g]=null):M_(c,o),Tf(r)&&n.set(r,c),c)}function s6e(r,e){return!r||!t6e(e)?!1:(e=e.slice(2).replace(/Once$/,""),r1(r,e[0].toLowerCase()+e.slice(1))||r1(r,VR(e))||r1(r,e))}let Vg=null,l6e=null;function HDe(r){const e=Vg;return Vg=r,l6e=r&&r.type.__scopeId||null,e}function aae(r){l6e=r}function oae(){l6e=null}const mdi=r=>IL;function IL(r,e=Vg,i){if(!e||r._n)return r;const n=(...a)=>{n._d&&wpt(-1);const o=HDe(e);let c;try{c=r(...a)}finally{HDe(o),n._d&&wpt(1)}return c};return n._n=!0,n._c=!0,n._d=!0,n}function iIe(r){const{type:e,vnode:i,proxy:n,withProxy:a,props:o,propsOptions:[c],slots:h,attrs:g,emit:_,render:x,renderCache:y,data:S,setupState:L,ctx:R,inheritAttrs:G}=r;let ie,ue;const re=HDe(r);try{if(i.shapeFlag&4){const ye=a||n,Le=ye;ie=JF(x.call(Le,ye,y,o,L,S,R)),ue=g}else{const ye=e;ie=JF(ye.length>1?ye(o,{attrs:g,slots:h,emit:_}):ye(o,null)),ue=e.props?g:pdi(g)}}catch(ye){Lne.length=0,o6e(ye,r,1),ie=Q0(RL)}let _e=ie;if(ue&&G!==!1){const ye=Object.keys(ue),{shapeFlag:Le}=_e;ye.length&&Le&7&&(c&&ye.some(eGe)&&(ue=gdi(ue,c)),_e=AJ(_e,ue))}return i.dirs&&(_e=AJ(_e),_e.dirs=_e.dirs?_e.dirs.concat(i.dirs):i.dirs),i.transition&&(_e.transition=i.transition),ie=_e,HDe(re),ie}const pdi=r=>{let e;for(const i in r)(i==="class"||i==="style"||t6e(i))&&((e||(e={}))[i]=r[i]);return e},gdi=(r,e)=>{const i={};for(const n in r)(!eGe(n)||!(n.slice(9)in e))&&(i[n]=r[n]);return i};function Edi(r,e,i){const{props:n,children:a,component:o}=r,{props:c,children:h,patchFlag:g}=e,_=o.emitsOptions;if(e.dirs||e.transition)return!0;if(i&&g>=0){if(g&1024)return!0;if(g&16)return n?xpt(n,c,_):!!c;if(g&8){const x=e.dynamicProps;for(let y=0;yr.__isSuspense;function Cdi(r,e){e&&e.pendingBranch?j0(r)?e.effects.push(...r):e.effects.push(r):ddi(r)}const bdi=Symbol.for("v-scx"),ydi=()=>Tne(bdi);function kdi(r,e){return fGe(r,null,e)}const D_e={};function EL(r,e,i){return fGe(r,e,i)}function fGe(r,e,{immediate:i,deep:n,flush:a,once:o,onTrack:c,onTrigger:h}=Xf){if(e&&o){const st=e;e=(...Ue)=>{st(...Ue),Le()}}const g=T_,_=st=>n===!0?st:wI(st,n===!1?1:void 0);let x,y=!1,S=!1;if(bp(r)?(x=()=>r.value,y=VDe(r)):pL(r)?(x=()=>_(r),y=!0):j0(r)?(S=!0,y=r.some(st=>pL(st)||VDe(st)),x=()=>r.map(st=>{if(bp(st))return st.value;if(pL(st))return _(st);if(uc(st))return gL(st,g,2)})):uc(r)?e?x=()=>gL(r,g,2):x=()=>(L&&L(),my(r,g,3,[R])):x=HC,e&&n){const st=x;x=()=>wI(st())}let L,R=st=>{L=_e.onStop=()=>{gL(st,g,4),L=_e.onStop=void 0}},G;if(m6e)if(R=HC,e?i&&my(e,g,3,[x(),S?[]:void 0,R]):x(),a==="sync"){const st=ydi();G=st.__watcherHandles||(st.__watcherHandles=[])}else return HC;let ie=S?new Array(r.length).fill(D_e):D_e;const ue=()=>{if(!(!_e.active||!_e.dirty))if(e){const st=_e.run();(n||y||(S?st.some((Ue,Ye)=>zL(Ue,ie[Ye])):zL(st,ie)))&&(L&&L(),my(e,g,3,[st,ie===D_e?void 0:S&&ie[0]===D_e?[]:ie,R]),ie=st)}else _e.run()};ue.allowRecurse=!!e;let re;a==="sync"?re=ue:a==="post"?re=()=>q5(ue,g&&g.suspense):(ue.pre=!0,g&&(ue.id=g.uid),re=()=>hGe(ue));const _e=new nGe(x,HC,re),ye=jxt(),Le=()=>{_e.stop(),ye&&tGe(ye.effects,_e)};return e?i?ue():ie=_e.run():a==="post"?q5(_e.run.bind(_e),g&&g.suspense):_e.run(),G&&G.push(Le),Le}function Fdi(r,e,i){const n=this.proxy,a=ng(r)?r.includes(".")?c6t(n,r):()=>n[r]:r.bind(n,n);let o;uc(e)?o=e:(o=e.handler,i=e);const c=sae(this),h=fGe(a,o.bind(n),i);return c(),h}function c6t(r,e){const i=e.split(".");return()=>{let n=r;for(let a=0;a0){if(i>=e)return r;i++}if(n=n||new Set,n.has(r))return r;if(n.add(r),bp(r))wI(r.value,e,i,n);else if(j0(r))for(let a=0;a{wI(a,e,i,n)});else if(Nxt(r))for(const a in r)wI(r[a],e,i,n);return r}function Wd(r,e){if(Vg===null)return r;const i=p6e(Vg)||Vg.proxy,n=r.dirs||(r.dirs=[]);for(let a=0;a!!r.type.__asyncLoader,d6t=r=>r.type.__isKeepAlive;function Adi(r,e){h6t(r,"a",e)}function Sdi(r,e){h6t(r,"da",e)}function h6t(r,e,i=T_){const n=r.__wdc||(r.__wdc=()=>{let a=i;for(;a;){if(a.isDeactivated)return;a=a.parent}return r()});if(d6e(e,n,i),i){let a=i.parent;for(;a&&a.parent;)d6t(a.parent.vnode)&&Bdi(n,e,i,a),a=a.parent}}function Bdi(r,e,i,n){const a=d6e(e,r,n,!0);mGe(()=>{tGe(n[e],a)},i)}function d6e(r,e,i=T_,n=!1){if(i){const a=i[r]||(i[r]=[]),o=e.__weh||(e.__weh=(...c)=>{if(i.isUnmounted)return;HR();const h=sae(i),g=my(e,i,r,c);return h(),KR(),g});return n?a.unshift(o):a.push(o),o}}const s8=r=>(e,i=T_)=>(!m6e||r==="sp")&&d6e(r,(...n)=>e(...n),i),wdi=s8("bm"),E$=s8("m"),Tdi=s8("bu"),Ldi=s8("u"),Ndi=s8("bum"),mGe=s8("um"),Pdi=s8("sp"),Mdi=s8("rtg"),zdi=s8("rtc");function Idi(r,e=T_){d6e("ec",r,e)}function py(r,e,i,n){let a;const o=i&&i[n];if(j0(r)||ng(r)){a=new Array(r.length);for(let c=0,h=r.length;ce(c,h,void 0,o&&o[h]));else{const c=Object.keys(r);a=new Array(c.length);for(let h=0,g=c.length;hWDe(e)?!(e.type===RL||e.type===gd&&!f6t(e.children)):!0)?r:null}const OOe=r=>r?F6t(r)?p6e(r)||r.proxy:OOe(r.parent):null,wne=M_(Object.create(null),{$:r=>r,$el:r=>r.vnode.el,$data:r=>r.data,$props:r=>r.props,$attrs:r=>r.attrs,$slots:r=>r.slots,$refs:r=>r.refs,$parent:r=>OOe(r.parent),$root:r=>OOe(r.root),$emit:r=>r.emit,$options:r=>pGe(r),$forceUpdate:r=>r.f||(r.f=()=>{r.effect.dirty=!0,hGe(r.update)}),$nextTick:r=>r.n||(r.n=dGe.bind(r.proxy)),$watch:r=>Fdi.bind(r)}),nIe=(r,e)=>r!==Xf&&!r.__isScriptSetup&&r1(r,e),Rdi={get({_:r},e){const{ctx:i,setupState:n,data:a,props:o,accessCache:c,type:h,appContext:g}=r;let _;if(e[0]!=="$"){const L=c[e];if(L!==void 0)switch(L){case 1:return n[e];case 2:return a[e];case 4:return i[e];case 3:return o[e]}else{if(nIe(n,e))return c[e]=1,n[e];if(a!==Xf&&r1(a,e))return c[e]=2,a[e];if((_=r.propsOptions[0])&&r1(_,e))return c[e]=3,o[e];if(i!==Xf&&r1(i,e))return c[e]=4,i[e];jOe&&(c[e]=0)}}const x=wne[e];let y,S;if(x)return e==="$attrs"&&fx(r,"get",e),x(r);if((y=h.__cssModules)&&(y=y[e]))return y;if(i!==Xf&&r1(i,e))return c[e]=4,i[e];if(S=g.config.globalProperties,r1(S,e))return S[e]},set({_:r},e,i){const{data:n,setupState:a,ctx:o}=r;return nIe(a,e)?(a[e]=i,!0):n!==Xf&&r1(n,e)?(n[e]=i,!0):r1(r.props,e)||e[0]==="$"&&e.slice(1)in r?!1:(o[e]=i,!0)},has({_:{data:r,setupState:e,accessCache:i,ctx:n,appContext:a,propsOptions:o}},c){let h;return!!i[c]||r!==Xf&&r1(r,c)||nIe(e,c)||(h=o[0])&&r1(h,c)||r1(n,c)||r1(wne,c)||r1(a.config.globalProperties,c)},defineProperty(r,e,i){return i.get!=null?r._.accessCache[e]=0:r1(i,"value")&&this.set(r,e,i.value,null),Reflect.defineProperty(r,e,i)}};function Cpt(r){return j0(r)?r.reduce((e,i)=>(e[i]=null,e),{}):r}let jOe=!0;function Odi(r){const e=pGe(r),i=r.proxy,n=r.ctx;jOe=!1,e.beforeCreate&&bpt(e.beforeCreate,r,"bc");const{data:a,computed:o,methods:c,watch:h,provide:g,inject:_,created:x,beforeMount:y,mounted:S,beforeUpdate:L,updated:R,activated:G,deactivated:ie,beforeDestroy:ue,beforeUnmount:re,destroyed:_e,unmounted:ye,render:Le,renderTracked:st,renderTriggered:Ue,errorCaptured:Ye,serverPrefetch:rt,expose:Ft,inheritAttrs:Zt,components:Ot,directives:ui,filters:ei}=e;if(_&&jdi(_,n,null),c)for(const Kt in c){const jr=c[Kt];uc(jr)&&(n[Kt]=jr.bind(i))}if(a){const Kt=a.call(i,i);Tf(Kt)&&(r.data=rae(Kt))}if(jOe=!0,o)for(const Kt in o){const jr=o[Kt],Pu=uc(jr)?jr.bind(i,i):uc(jr.get)?jr.get.bind(i,i):HC,Oa=!uc(jr)&&uc(jr.set)?jr.set.bind(i):HC,Ku=gy({get:Pu,set:Oa});Object.defineProperty(n,Kt,{enumerable:!0,configurable:!0,get:()=>Ku.value,set:Pr=>Ku.value=Pr})}if(h)for(const Kt in h)m6t(h[Kt],n,i,Kt);if(g){const Kt=uc(g)?g.call(i):g;Reflect.ownKeys(Kt).forEach(jr=>{Jdi(jr,Kt[jr])})}x&&bpt(x,r,"c");function mu(Kt,jr){j0(jr)?jr.forEach(Pu=>Kt(Pu.bind(i))):jr&&Kt(jr.bind(i))}if(mu(wdi,y),mu(E$,S),mu(Tdi,L),mu(Ldi,R),mu(Adi,G),mu(Sdi,ie),mu(Idi,Ye),mu(zdi,st),mu(Mdi,Ue),mu(Ndi,re),mu(mGe,ye),mu(Pdi,rt),j0(Ft))if(Ft.length){const Kt=r.exposed||(r.exposed={});Ft.forEach(jr=>{Object.defineProperty(Kt,jr,{get:()=>i[jr],set:Pu=>i[jr]=Pu})})}else r.exposed||(r.exposed={});Le&&r.render===HC&&(r.render=Le),Zt!=null&&(r.inheritAttrs=Zt),Ot&&(r.components=Ot),ui&&(r.directives=ui)}function jdi(r,e,i=HC){j0(r)&&(r=VOe(r));for(const n in r){const a=r[n];let o;Tf(a)?"default"in a?o=Tne(a.from||n,a.default,!0):o=Tne(a.from||n):o=Tne(a),bp(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):e[n]=o}}function bpt(r,e,i){my(j0(r)?r.map(n=>n.bind(e.proxy)):r.bind(e.proxy),e,i)}function m6t(r,e,i,n){const a=n.includes(".")?c6t(i,n):()=>i[n];if(ng(r)){const o=e[r];uc(o)&&EL(a,o)}else if(uc(r))EL(a,r.bind(i));else if(Tf(r))if(j0(r))r.forEach(o=>m6t(o,e,i,n));else{const o=uc(r.handler)?r.handler.bind(i):e[r.handler];uc(o)&&EL(a,o,r)}}function pGe(r){const e=r.type,{mixins:i,extends:n}=e,{mixins:a,optionsCache:o,config:{optionMergeStrategies:c}}=r.appContext,h=o.get(e);let g;return h?g=h:!a.length&&!i&&!n?g=e:(g={},a.length&&a.forEach(_=>KDe(g,_,c,!0)),KDe(g,e,c)),Tf(e)&&o.set(e,g),g}function KDe(r,e,i,n=!1){const{mixins:a,extends:o}=e;o&&KDe(r,o,i,!0),a&&a.forEach(c=>KDe(r,c,i,!0));for(const c in e)if(!(n&&c==="expose")){const h=Vdi[c]||i&&i[c];r[c]=h?h(r[c],e[c]):e[c]}return r}const Vdi={data:ypt,props:kpt,emits:kpt,methods:ine,computed:ine,beforeCreate:wD,created:wD,beforeMount:wD,mounted:wD,beforeUpdate:wD,updated:wD,beforeDestroy:wD,beforeUnmount:wD,destroyed:wD,unmounted:wD,activated:wD,deactivated:wD,errorCaptured:wD,serverPrefetch:wD,components:ine,directives:ine,watch:Kdi,provide:ypt,inject:Hdi};function ypt(r,e){return e?r?function(){return M_(uc(r)?r.call(this,this):r,uc(e)?e.call(this,this):e)}:e:r}function Hdi(r,e){return ine(VOe(r),VOe(e))}function VOe(r){if(j0(r)){const e={};for(let i=0;i1)return i&&uc(e)?e.call(n&&n.proxy):e}}function $di(){return!!(T_||Vg||yue)}function Udi(r,e,i,n=!1){const a={},o={};ODe(o,f6e,1),r.propsDefaults=Object.create(null),g6t(r,e,a,o);for(const c in r.propsOptions[0])c in a||(a[c]=void 0);i?r.props=n?a:edi(a):r.type.props?r.props=a:r.props=o,r.attrs=o}function qdi(r,e,i,n){const{props:a,attrs:o,vnode:{patchFlag:c}}=r,h=o1(a),[g]=r.propsOptions;let _=!1;if((n||c>0)&&!(c&16)){if(c&8){const x=r.vnode.dynamicProps;for(let y=0;y{g=!0;const[S,L]=E6t(y,e,!0);M_(c,S),L&&h.push(...L)};!i&&e.mixins.length&&e.mixins.forEach(x),r.extends&&x(r.extends),r.mixins&&r.mixins.forEach(x)}if(!o&&!g)return Tf(r)&&n.set(r,$G),$G;if(j0(o))for(let x=0;x-1,L[1]=G<0||R-1||r1(L,"default"))&&h.push(y)}}}const _=[c,h];return Tf(r)&&n.set(r,_),_}function Fpt(r){return r[0]!=="$"}function Apt(r){const e=r&&r.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:r===null?"null":""}function Spt(r,e){return Apt(r)===Apt(e)}function Bpt(r,e){return j0(e)?e.findIndex(i=>Spt(i,r)):uc(e)&&Spt(e,r)?0:-1}const _6t=r=>r[0]==="_"||r==="$stable",gGe=r=>j0(r)?r.map(JF):[JF(r)],Zdi=(r,e,i)=>{if(e._n)return e;const n=IL((...a)=>gGe(e(...a)),i);return n._c=!1,n},D6t=(r,e,i)=>{const n=r._ctx;for(const a in r){if(_6t(a))continue;const o=r[a];if(uc(o))e[a]=Zdi(a,o,n);else if(o!=null){const c=gGe(o);e[a]=()=>c}}},x6t=(r,e)=>{const i=gGe(e);r.slots.default=()=>i},Ydi=(r,e)=>{if(r.vnode.shapeFlag&32){const i=e._;i?(r.slots=o1(e),ODe(e,"_",i)):D6t(e,r.slots={})}else r.slots={},e&&x6t(r,e);ODe(r.slots,f6e,1)},Qdi=(r,e,i)=>{const{vnode:n,slots:a}=r;let o=!0,c=Xf;if(n.shapeFlag&32){const h=e._;h?i&&h===1?o=!1:(M_(a,e),!i&&h===1&&delete a._):(o=!e.$stable,D6t(e,a)),c=e}else e&&(x6t(r,e),c={default:1});if(o)for(const h in a)!_6t(h)&&c[h]==null&&delete a[h]};function KOe(r,e,i,n,a=!1){if(j0(r)){r.forEach((S,L)=>KOe(S,e&&(j0(e)?e[L]:e),i,n,a));return}if(Bne(n)&&!a)return;const o=n.shapeFlag&4?p6e(n.component)||n.component.proxy:n.el,c=a?null:o,{i:h,r:g}=r,_=e&&e.r,x=h.refs===Xf?h.refs={}:h.refs,y=h.setupState;if(_!=null&&_!==g&&(ng(_)?(x[_]=null,r1(y,_)&&(y[_]=null)):bp(_)&&(_.value=null)),uc(g))gL(g,h,12,[c,x]);else{const S=ng(g),L=bp(g);if(S||L){const R=()=>{if(r.f){const G=S?r1(y,g)?y[g]:x[g]:g.value;a?j0(G)&&tGe(G,o):j0(G)?G.includes(o)||G.push(o):S?(x[g]=[o],r1(y,g)&&(y[g]=x[g])):(g.value=[o],r.k&&(x[r.k]=g.value))}else S?(x[g]=c,r1(y,g)&&(y[g]=c)):L&&(g.value=c,r.k&&(x[r.k]=c))};c?(R.id=-1,q5(R,i)):R()}}}const q5=Cdi;function Xdi(r){return e1i(r)}function e1i(r,e){const i=Pxt();i.__VUE__=!0;const{insert:n,remove:a,patchProp:o,createElement:c,createText:h,createComment:g,setText:_,setElementText:x,parentNode:y,nextSibling:S,setScopeId:L=HC,insertStaticContent:R}=r,G=(Li,Ge,Tu,an=null,Ir=null,Yr=null,eo=void 0,Mi=null,li=!!Ge.dynamicChildren)=>{if(Li===Ge)return;Li&&!kie(Li,Ge)&&(an=_o(Li),Pr(Li,Ir,Yr,!0),Li=null),Ge.patchFlag===-2&&(li=!1,Ge.dynamicChildren=null);const{type:di,ref:xt,shapeFlag:Nt}=Ge;switch(di){case h6e:ie(Li,Ge,Tu,an);break;case RL:ue(Li,Ge,Tu,an);break;case J3e:Li==null&&re(Ge,Tu,an,eo);break;case gd:Ot(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li);break;default:Nt&1?Le(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li):Nt&6?ui(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li):(Nt&64||Nt&128)&&di.process(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li,k0)}xt!=null&&Ir&&KOe(xt,Li&&Li.ref,Yr,Ge||Li,!Ge)},ie=(Li,Ge,Tu,an)=>{if(Li==null)n(Ge.el=h(Ge.children),Tu,an);else{const Ir=Ge.el=Li.el;Ge.children!==Li.children&&_(Ir,Ge.children)}},ue=(Li,Ge,Tu,an)=>{Li==null?n(Ge.el=g(Ge.children||""),Tu,an):Ge.el=Li.el},re=(Li,Ge,Tu,an)=>{[Li.el,Li.anchor]=R(Li.children,Ge,Tu,an,Li.el,Li.anchor)},_e=({el:Li,anchor:Ge},Tu,an)=>{let Ir;for(;Li&&Li!==Ge;)Ir=S(Li),n(Li,Tu,an),Li=Ir;n(Ge,Tu,an)},ye=({el:Li,anchor:Ge})=>{let Tu;for(;Li&&Li!==Ge;)Tu=S(Li),a(Li),Li=Tu;a(Ge)},Le=(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li)=>{Ge.type==="svg"?eo="svg":Ge.type==="math"&&(eo="mathml"),Li==null?st(Ge,Tu,an,Ir,Yr,eo,Mi,li):rt(Li,Ge,Ir,Yr,eo,Mi,li)},st=(Li,Ge,Tu,an,Ir,Yr,eo,Mi)=>{let li,di;const{props:xt,shapeFlag:Nt,transition:mi,dirs:ci}=Li;if(li=Li.el=c(Li.type,Yr,xt&&xt.is,xt),Nt&8?x(li,Li.children):Nt&16&&Ye(Li.children,li,null,an,Ir,uIe(Li,Yr),eo,Mi),ci&&$z(Li,null,an,"created"),Ue(li,Li,Li.scopeId,eo,an),xt){for(const Hn in xt)Hn!=="value"&&!W3e(Hn)&&o(li,Hn,null,xt[Hn],Yr,Li.children,an,Ir,Si);"value"in xt&&o(li,"value",null,xt.value,Yr),(di=xt.onVnodeBeforeMount)&&LF(di,an,Li)}ci&&$z(Li,null,an,"beforeMount");const hn=t1i(Ir,mi);hn&&mi.beforeEnter(li),n(li,Ge,Tu),((di=xt&&xt.onVnodeMounted)||hn||ci)&&q5(()=>{di&&LF(di,an,Li),hn&&mi.enter(li),ci&&$z(Li,null,an,"mounted")},Ir)},Ue=(Li,Ge,Tu,an,Ir)=>{if(Tu&&L(Li,Tu),an)for(let Yr=0;Yr{for(let di=li;di{const Mi=Ge.el=Li.el;let{patchFlag:li,dynamicChildren:di,dirs:xt}=Ge;li|=Li.patchFlag&16;const Nt=Li.props||Xf,mi=Ge.props||Xf;let ci;if(Tu&&Uz(Tu,!1),(ci=mi.onVnodeBeforeUpdate)&&LF(ci,Tu,Ge,Li),xt&&$z(Ge,Li,Tu,"beforeUpdate"),Tu&&Uz(Tu,!0),di?Ft(Li.dynamicChildren,di,Mi,Tu,an,uIe(Ge,Ir),Yr):eo||jr(Li,Ge,Mi,null,Tu,an,uIe(Ge,Ir),Yr,!1),li>0){if(li&16)Zt(Mi,Ge,Nt,mi,Tu,an,Ir);else if(li&2&&Nt.class!==mi.class&&o(Mi,"class",null,mi.class,Ir),li&4&&o(Mi,"style",Nt.style,mi.style,Ir),li&8){const hn=Ge.dynamicProps;for(let Hn=0;Hn{ci&&LF(ci,Tu,Ge,Li),xt&&$z(Ge,Li,Tu,"updated")},an)},Ft=(Li,Ge,Tu,an,Ir,Yr,eo)=>{for(let Mi=0;Mi{if(Tu!==an){if(Tu!==Xf)for(const Mi in Tu)!W3e(Mi)&&!(Mi in an)&&o(Li,Mi,Tu[Mi],null,eo,Ge.children,Ir,Yr,Si);for(const Mi in an){if(W3e(Mi))continue;const li=an[Mi],di=Tu[Mi];li!==di&&Mi!=="value"&&o(Li,Mi,di,li,eo,Ge.children,Ir,Yr,Si)}"value"in an&&o(Li,"value",Tu.value,an.value,eo)}},Ot=(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li)=>{const di=Ge.el=Li?Li.el:h(""),xt=Ge.anchor=Li?Li.anchor:h("");let{patchFlag:Nt,dynamicChildren:mi,slotScopeIds:ci}=Ge;ci&&(Mi=Mi?Mi.concat(ci):ci),Li==null?(n(di,Tu,an),n(xt,Tu,an),Ye(Ge.children||[],Tu,xt,Ir,Yr,eo,Mi,li)):Nt>0&&Nt&64&&mi&&Li.dynamicChildren?(Ft(Li.dynamicChildren,mi,Tu,Ir,Yr,eo,Mi),(Ge.key!=null||Ir&&Ge===Ir.subTree)&&v6t(Li,Ge,!0)):jr(Li,Ge,Tu,xt,Ir,Yr,eo,Mi,li)},ui=(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li)=>{Ge.slotScopeIds=Mi,Li==null?Ge.shapeFlag&512?Ir.ctx.activate(Ge,Tu,an,eo,li):ei(Ge,Tu,an,Ir,Yr,eo,li):qu(Li,Ge,li)},ei=(Li,Ge,Tu,an,Ir,Yr,eo)=>{const Mi=Li.component=l1i(Li,an,Ir);if(d6t(Li)&&(Mi.ctx.renderer=k0),c1i(Mi),Mi.asyncDep){if(Ir&&Ir.registerDep(Mi,mu),!Li.el){const li=Mi.subTree=Q0(RL);ue(null,li,Ge,Tu)}}else mu(Mi,Li,Ge,Tu,Ir,Yr,eo)},qu=(Li,Ge,Tu)=>{const an=Ge.component=Li.component;if(Edi(Li,Ge,Tu))if(an.asyncDep&&!an.asyncResolved){Kt(an,Ge,Tu);return}else an.next=Ge,cdi(an.update),an.effect.dirty=!0,an.update();else Ge.el=Li.el,an.vnode=Ge},mu=(Li,Ge,Tu,an,Ir,Yr,eo)=>{const Mi=()=>{if(Li.isMounted){let{next:xt,bu:Nt,u:mi,parent:ci,vnode:hn}=Li;{const Do=C6t(Li);if(Do){xt&&(xt.el=hn.el,Kt(Li,xt,eo)),Do.asyncDep.then(()=>{Li.isUnmounted||Mi()});return}}let Hn=xt,kr;Uz(Li,!1),xt?(xt.el=hn.el,Kt(Li,xt,eo)):xt=hn,Nt&&G3e(Nt),(kr=xt.props&&xt.props.onVnodeBeforeUpdate)&&LF(kr,ci,xt,hn),Uz(Li,!0);const na=iIe(Li),Ei=Li.subTree;Li.subTree=na,G(Ei,na,y(Ei.el),_o(Ei),Li,Ir,Yr),xt.el=na.el,Hn===null&&_di(Li,na.el),mi&&q5(mi,Ir),(kr=xt.props&&xt.props.onVnodeUpdated)&&q5(()=>LF(kr,ci,xt,hn),Ir)}else{let xt;const{el:Nt,props:mi}=Ge,{bm:ci,m:hn,parent:Hn}=Li,kr=Bne(Ge);if(Uz(Li,!1),ci&&G3e(ci),!kr&&(xt=mi&&mi.onVnodeBeforeMount)&&LF(xt,Hn,Ge),Uz(Li,!0),Nt&&qo){const na=()=>{Li.subTree=iIe(Li),qo(Nt,Li.subTree,Li,Ir,null)};kr?Ge.type.__asyncLoader().then(()=>!Li.isUnmounted&&na()):na()}else{const na=Li.subTree=iIe(Li);G(null,na,Tu,an,Li,Ir,Yr),Ge.el=na.el}if(hn&&q5(hn,Ir),!kr&&(xt=mi&&mi.onVnodeMounted)){const na=Ge;q5(()=>LF(xt,Hn,na),Ir)}(Ge.shapeFlag&256||Hn&&Bne(Hn.vnode)&&Hn.vnode.shapeFlag&256)&&Li.a&&q5(Li.a,Ir),Li.isMounted=!0,Ge=Tu=an=null}},li=Li.effect=new nGe(Mi,HC,()=>hGe(di),Li.scope),di=Li.update=()=>{li.dirty&&li.run()};di.id=Li.uid,Uz(Li,!0),di()},Kt=(Li,Ge,Tu)=>{Ge.component=Li;const an=Li.vnode.props;Li.vnode=Ge,Li.next=null,qdi(Li,Ge.props,an,Tu),Qdi(Li,Ge.children,Tu),HR(),Dpt(Li),KR()},jr=(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li=!1)=>{const di=Li&&Li.children,xt=Li?Li.shapeFlag:0,Nt=Ge.children,{patchFlag:mi,shapeFlag:ci}=Ge;if(mi>0){if(mi&128){Oa(di,Nt,Tu,an,Ir,Yr,eo,Mi,li);return}else if(mi&256){Pu(di,Nt,Tu,an,Ir,Yr,eo,Mi,li);return}}ci&8?(xt&16&&Si(di,Ir,Yr),Nt!==di&&x(Tu,Nt)):xt&16?ci&16?Oa(di,Nt,Tu,an,Ir,Yr,eo,Mi,li):Si(di,Ir,Yr,!0):(xt&8&&x(Tu,""),ci&16&&Ye(Nt,Tu,an,Ir,Yr,eo,Mi,li))},Pu=(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li)=>{Li=Li||$G,Ge=Ge||$G;const di=Li.length,xt=Ge.length,Nt=Math.min(di,xt);let mi;for(mi=0;mixt?Si(Li,Ir,Yr,!0,!1,Nt):Ye(Ge,Tu,an,Ir,Yr,eo,Mi,li,Nt)},Oa=(Li,Ge,Tu,an,Ir,Yr,eo,Mi,li)=>{let di=0;const xt=Ge.length;let Nt=Li.length-1,mi=xt-1;for(;di<=Nt&&di<=mi;){const ci=Li[di],hn=Ge[di]=li?VT(Ge[di]):JF(Ge[di]);if(kie(ci,hn))G(ci,hn,Tu,null,Ir,Yr,eo,Mi,li);else break;di++}for(;di<=Nt&&di<=mi;){const ci=Li[Nt],hn=Ge[mi]=li?VT(Ge[mi]):JF(Ge[mi]);if(kie(ci,hn))G(ci,hn,Tu,null,Ir,Yr,eo,Mi,li);else break;Nt--,mi--}if(di>Nt){if(di<=mi){const ci=mi+1,hn=cimi)for(;di<=Nt;)Pr(Li[di],Ir,Yr,!0),di++;else{const ci=di,hn=di,Hn=new Map;for(di=hn;di<=mi;di++){const e0=Ge[di]=li?VT(Ge[di]):JF(Ge[di]);e0.key!=null&&Hn.set(e0.key,di)}let kr,na=0;const Ei=mi-hn+1;let Do=!1,Pl=0;const yn=new Array(Ei);for(di=0;di=Ei){Pr(e0,Ir,Yr,!0);continue}let Fl;if(e0.key!=null)Fl=Hn.get(e0.key);else for(kr=hn;kr<=mi;kr++)if(yn[kr-hn]===0&&kie(e0,Ge[kr])){Fl=kr;break}Fl===void 0?Pr(e0,Ir,Yr,!0):(yn[Fl-hn]=di+1,Fl>=Pl?Pl=Fl:Do=!0,G(e0,Ge[Fl],Tu,null,Ir,Yr,eo,Mi,li),na++)}const xa=Do?i1i(yn):$G;for(kr=xa.length-1,di=Ei-1;di>=0;di--){const e0=hn+di,Fl=Ge[e0],Lh=e0+1{const{el:Yr,type:eo,transition:Mi,children:li,shapeFlag:di}=Li;if(di&6){Ku(Li.component.subTree,Ge,Tu,an);return}if(di&128){Li.suspense.move(Ge,Tu,an);return}if(di&64){eo.move(Li,Ge,Tu,k0);return}if(eo===gd){n(Yr,Ge,Tu);for(let Nt=0;NtMi.enter(Yr),Ir);else{const{leave:Nt,delayLeave:mi,afterLeave:ci}=Mi,hn=()=>n(Yr,Ge,Tu),Hn=()=>{Nt(Yr,()=>{hn(),ci&&ci()})};mi?mi(Yr,hn,Hn):Hn()}else n(Yr,Ge,Tu)},Pr=(Li,Ge,Tu,an=!1,Ir=!1)=>{const{type:Yr,props:eo,ref:Mi,children:li,dynamicChildren:di,shapeFlag:xt,patchFlag:Nt,dirs:mi}=Li;if(Mi!=null&&KOe(Mi,null,Tu,Li,!0),xt&256){Ge.ctx.deactivate(Li);return}const ci=xt&1&&mi,hn=!Bne(Li);let Hn;if(hn&&(Hn=eo&&eo.onVnodeBeforeUnmount)&&LF(Hn,Ge,Li),xt&6)to(Li.component,Tu,an);else{if(xt&128){Li.suspense.unmount(Tu,an);return}ci&&$z(Li,null,Ge,"beforeUnmount"),xt&64?Li.type.remove(Li,Ge,Tu,Ir,k0,an):di&&(Yr!==gd||Nt>0&&Nt&64)?Si(di,Ge,Tu,!1,!0):(Yr===gd&&Nt&384||!Ir&&xt&16)&&Si(li,Ge,Tu),an&&Vn(Li)}(hn&&(Hn=eo&&eo.onVnodeUnmounted)||ci)&&q5(()=>{Hn&&LF(Hn,Ge,Li),ci&&$z(Li,null,Ge,"unmounted")},Tu)},Vn=Li=>{const{type:Ge,el:Tu,anchor:an,transition:Ir}=Li;if(Ge===gd){mr(Tu,an);return}if(Ge===J3e){ye(Li);return}const Yr=()=>{a(Tu),Ir&&!Ir.persisted&&Ir.afterLeave&&Ir.afterLeave()};if(Li.shapeFlag&1&&Ir&&!Ir.persisted){const{leave:eo,delayLeave:Mi}=Ir,li=()=>eo(Tu,Yr);Mi?Mi(Li.el,Yr,li):li()}else Yr()},mr=(Li,Ge)=>{let Tu;for(;Li!==Ge;)Tu=S(Li),a(Li),Li=Tu;a(Ge)},to=(Li,Ge,Tu)=>{const{bum:an,scope:Ir,update:Yr,subTree:eo,um:Mi}=Li;an&&G3e(an),Ir.stop(),Yr&&(Yr.active=!1,Pr(eo,Li,Ge,Tu)),Mi&&q5(Mi,Ge),q5(()=>{Li.isUnmounted=!0},Ge),Ge&&Ge.pendingBranch&&!Ge.isUnmounted&&Li.asyncDep&&!Li.asyncResolved&&Li.suspenseId===Ge.pendingId&&(Ge.deps--,Ge.deps===0&&Ge.resolve())},Si=(Li,Ge,Tu,an=!1,Ir=!1,Yr=0)=>{for(let eo=Yr;eoLi.shapeFlag&6?_o(Li.component.subTree):Li.shapeFlag&128?Li.suspense.next():S(Li.anchor||Li.el);let P0=!1;const tl=(Li,Ge,Tu)=>{Li==null?Ge._vnode&&Pr(Ge._vnode,null,null,!0):G(Ge._vnode||null,Li,Ge,null,null,null,Tu),P0||(P0=!0,Dpt(),r6t(),P0=!1),Ge._vnode=Li},k0={p:G,um:Pr,m:Ku,r:Vn,mt:ei,mc:Ye,pc:jr,pbc:Ft,n:_o,o:r};let bo,qo;return e&&([bo,qo]=e(k0)),{render:tl,hydrate:bo,createApp:Gdi(tl,bo)}}function uIe({type:r,props:e},i){return i==="svg"&&r==="foreignObject"||i==="mathml"&&r==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:i}function Uz({effect:r,update:e},i){r.allowRecurse=e.allowRecurse=i}function t1i(r,e){return(!r||r&&!r.pendingBranch)&&e&&!e.persisted}function v6t(r,e,i=!1){const n=r.children,a=e.children;if(j0(n)&&j0(a))for(let o=0;o>1,r[i[h]]<_?o=h+1:c=h;_0&&(e[n]=i[o-1]),i[o]=n)}}for(o=i.length,c=i[o-1];o-- >0;)i[o]=c,c=e[c];return i}function C6t(r){const e=r.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:C6t(e)}const n1i=r=>r.__isTeleport,gd=Symbol.for("v-fgt"),h6e=Symbol.for("v-txt"),RL=Symbol.for("v-cmt"),J3e=Symbol.for("v-stc"),Lne=[];let oy=null;function Ou(r=!1){Lne.push(oy=r?null:[])}function u1i(){Lne.pop(),oy=Lne[Lne.length-1]||null}let kue=1;function wpt(r){kue+=r}function b6t(r){return r.dynamicChildren=kue>0?oy||$G:null,u1i(),kue>0&&oy&&oy.push(r),r}function yr(r,e,i,n,a,o){return b6t(Di(r,e,i,n,a,o,!0))}function Pg(r,e,i,n,a){return b6t(Q0(r,e,i,n,a,!0))}function WDe(r){return r?r.__v_isVNode===!0:!1}function kie(r,e){return r.type===e.type&&r.key===e.key}const f6e="__vInternal",y6t=({key:r})=>r??null,$3e=({ref:r,ref_key:e,ref_for:i})=>(typeof r=="number"&&(r=""+r),r!=null?ng(r)||bp(r)||uc(r)?{i:Vg,r,k:e,f:!!i}:r:null);function Di(r,e=null,i=null,n=0,a=null,o=r===gd?0:1,c=!1,h=!1){const g={__v_isVNode:!0,__v_skip:!0,type:r,props:e,key:e&&y6t(e),ref:e&&$3e(e),scopeId:l6e,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Vg};return h?(EGe(g,i),o&128&&r.normalize(g)):i&&(g.shapeFlag|=ng(i)?8:16),kue>0&&!c&&oy&&(g.patchFlag>0||o&6)&&g.patchFlag!==32&&oy.push(g),g}const Q0=r1i;function r1i(r,e=null,i=null,n=0,a=null,o=!1){if((!r||r===xdi)&&(r=RL),WDe(r)){const h=AJ(r,e,!0);return i&&EGe(h,i),kue>0&&!o&&oy&&(h.shapeFlag&6?oy[oy.indexOf(r)]=h:oy.push(h)),h.patchFlag|=-2,h}if(p1i(r)&&(r=r.__vccOpts),e){e=k6t(e);let{class:h,style:g}=e;h&&!ng(h)&&(e.class=Uh(h)),Tf(g)&&(Xxt(g)&&!j0(g)&&(g=M_({},g)),e.style=P3(g))}const c=ng(r)?1:vdi(r)?128:n1i(r)?64:Tf(r)?4:uc(r)?2:0;return Di(r,e,i,n,a,c,o,!0)}function k6t(r){return r?Xxt(r)||f6e in r?M_({},r):r:null}function AJ(r,e,i=!1){const{props:n,ref:a,patchFlag:o,children:c}=r,h=e?_Ge(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:r.type,props:h,key:h&&y6t(h),ref:e&&e.ref?i&&a?j0(a)?a.concat($3e(e)):[a,$3e(e)]:$3e(e):a,scopeId:r.scopeId,slotScopeIds:r.slotScopeIds,children:c,target:r.target,targetAnchor:r.targetAnchor,staticCount:r.staticCount,shapeFlag:r.shapeFlag,patchFlag:e&&r.type!==gd?o===-1?16:o|16:o,dynamicProps:r.dynamicProps,dynamicChildren:r.dynamicChildren,appContext:r.appContext,dirs:r.dirs,transition:r.transition,component:r.component,suspense:r.suspense,ssContent:r.ssContent&&AJ(r.ssContent),ssFallback:r.ssFallback&&AJ(r.ssFallback),el:r.el,anchor:r.anchor,ctx:r.ctx,ce:r.ce}}function X0(r=" ",e=0){return Q0(h6e,null,r,e)}function a1i(r,e){const i=Q0(J3e,null,r);return i.staticCount=e,i}function Dl(r="",e=!1){return e?(Ou(),Pg(RL,null,r)):Q0(RL,null,r)}function JF(r){return r==null||typeof r=="boolean"?Q0(RL):j0(r)?Q0(gd,null,r.slice()):typeof r=="object"?VT(r):Q0(h6e,null,String(r))}function VT(r){return r.el===null&&r.patchFlag!==-1||r.memo?r:AJ(r)}function EGe(r,e){let i=0;const{shapeFlag:n}=r;if(e==null)e=null;else if(j0(e))i=16;else if(typeof e=="object")if(n&65){const a=e.default;a&&(a._c&&(a._d=!1),EGe(r,a()),a._c&&(a._d=!0));return}else{i=32;const a=e._;!a&&!(f6e in e)?e._ctx=Vg:a===3&&Vg&&(Vg.slots._===1?e._=1:(e._=2,r.patchFlag|=1024))}else uc(e)?(e={default:e,_ctx:Vg},i=32):(e=String(e),n&64?(i=16,e=[X0(e)]):i=8);r.children=e,r.shapeFlag|=i}function _Ge(...r){const e={};for(let i=0;i{let a;return(a=r[i])||(a=r[i]=[]),a.push(n),o=>{a.length>1?a.forEach(c=>c(o)):a[0](o)}};GDe=e("__VUE_INSTANCE_SETTERS__",i=>T_=i),WOe=e("__VUE_SSR_SETTERS__",i=>m6e=i)}const sae=r=>{const e=T_;return GDe(r),r.scope.on(),()=>{r.scope.off(),GDe(e)}},Tpt=()=>{T_&&T_.scope.off(),GDe(null)};function F6t(r){return r.vnode.shapeFlag&4}let m6e=!1;function c1i(r,e=!1){e&&WOe(e);const{props:i,children:n}=r.vnode,a=F6t(r);Udi(r,i,a,e),Ydi(r,n);const o=a?d1i(r,e):void 0;return e&&WOe(!1),o}function d1i(r,e){const i=r.type;r.accessCache=Object.create(null),r.proxy=a6e(new Proxy(r.ctx,Rdi));const{setup:n}=i;if(n){const a=r.setupContext=n.length>1?f1i(r):null,o=sae(r);HR();const c=gL(n,r,0,[r.props,a]);if(KR(),o(),Txt(c)){if(c.then(Tpt,Tpt),e)return c.then(h=>{Lpt(r,h,e)}).catch(h=>{o6e(h,r,0)});r.asyncDep=c}else Lpt(r,c,e)}else A6t(r,e)}function Lpt(r,e,i){uc(e)?r.type.__ssrInlineRender?r.ssrRender=e:r.render=e:Tf(e)&&(r.setupState=i6t(e)),A6t(r,i)}let Npt;function A6t(r,e,i){const n=r.type;if(!r.render){if(!e&&Npt&&!n.render){const a=n.template||pGe(r).template;if(a){const{isCustomElement:o,compilerOptions:c}=r.appContext.config,{delimiters:h,compilerOptions:g}=n,_=M_(M_({isCustomElement:o,delimiters:h},c),g);n.render=Npt(a,_)}}r.render=n.render||HC}{const a=sae(r);HR();try{Odi(r)}finally{KR(),a()}}}function h1i(r){return r.attrsProxy||(r.attrsProxy=new Proxy(r.attrs,{get(e,i){return fx(r,"get","$attrs"),e[i]}}))}function f1i(r){const e=i=>{r.exposed=i||{}};return{get attrs(){return h1i(r)},slots:r.slots,emit:r.emit,expose:e}}function p6e(r){if(r.exposed)return r.exposeProxy||(r.exposeProxy=new Proxy(i6t(a6e(r.exposed)),{get(e,i){if(i in e)return e[i];if(i in wne)return wne[i](r)},has(e,i){return i in e||i in wne}}))}function m1i(r,e=!0){return uc(r)?r.displayName||r.name:r.name||e&&r.__name}function p1i(r){return uc(r)&&"__vccOpts"in r}const gy=(r,e)=>tdi(r,e,m6e);function g1i(r,e,i){const n=arguments.length;return n===2?Tf(e)&&!j0(e)?WDe(e)?Q0(r,null,[e]):Q0(r,e):Q0(r,null,e):(n>3?i=Array.prototype.slice.call(arguments,2):n===3&&WDe(i)&&(i=[i]),Q0(r,e,i))}const E1i="3.4.13";/** +* @vue/runtime-dom v3.4.13 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const _1i="http://www.w3.org/2000/svg",D1i="http://www.w3.org/1998/Math/MathML",HT=typeof document<"u"?document:null,Ppt=HT&&HT.createElement("template"),x1i={insert:(r,e,i)=>{e.insertBefore(r,i||null)},remove:r=>{const e=r.parentNode;e&&e.removeChild(r)},createElement:(r,e,i,n)=>{const a=e==="svg"?HT.createElementNS(_1i,r):e==="mathml"?HT.createElementNS(D1i,r):HT.createElement(r,i?{is:i}:void 0);return r==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:r=>HT.createTextNode(r),createComment:r=>HT.createComment(r),setText:(r,e)=>{r.nodeValue=e},setElementText:(r,e)=>{r.textContent=e},parentNode:r=>r.parentNode,nextSibling:r=>r.nextSibling,querySelector:r=>HT.querySelector(r),setScopeId(r,e){r.setAttribute(e,"")},insertStaticContent(r,e,i,n,a,o){const c=i?i.previousSibling:e.lastChild;if(a&&(a===o||a.nextSibling))for(;e.insertBefore(a.cloneNode(!0),i),!(a===o||!(a=a.nextSibling)););else{Ppt.innerHTML=n==="svg"?`${r}`:n==="mathml"?`${r}`:r;const h=Ppt.content;if(n==="svg"||n==="mathml"){const g=h.firstChild;for(;g.firstChild;)h.appendChild(g.firstChild);h.removeChild(g)}e.insertBefore(h,i)}return[c?c.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}},v1i=Symbol("_vtc");function C1i(r,e,i){const n=r[v1i];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?r.removeAttribute("class"):i?r.setAttribute("class",e):r.className=e}const b1i=Symbol("_vod"),y1i=Symbol("");function k1i(r,e,i){const n=r.style,a=n.display,o=ng(i);if(i&&!o){if(e&&!ng(e))for(const c in e)i[c]==null&&GOe(n,c,"");for(const c in i)GOe(n,c,i[c])}else if(o){if(e!==i){const c=n[y1i];c&&(i+=";"+c),n.cssText=i}}else e&&r.removeAttribute("style");b1i in r&&(n.display=a)}const Mpt=/\s*!important$/;function GOe(r,e,i){if(j0(i))i.forEach(n=>GOe(r,e,n));else if(i==null&&(i=""),e.startsWith("--"))r.setProperty(e,i);else{const n=F1i(r,e);Mpt.test(i)?r.setProperty(VR(n),i.replace(Mpt,""),"important"):r[n]=i}}const zpt=["Webkit","Moz","ms"],rIe={};function F1i(r,e){const i=rIe[e];if(i)return i;let n=yA(e);if(n!=="filter"&&n in r)return rIe[e]=n;n=u6e(n);for(let a=0;aaIe||(L1i.then(()=>aIe=0),aIe=Date.now());function P1i(r,e){const i=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=i.attached)return;my(M1i(n,i.value),e,5,[n])};return i.value=r,i.attached=N1i(),i}function M1i(r,e){if(j0(e)){const i=r.stopImmediatePropagation;return r.stopImmediatePropagation=()=>{i.call(r),r._stopped=!0},e.map(n=>a=>!a._stopped&&n&&n(a))}else return e}const jpt=r=>r.charCodeAt(0)===111&&r.charCodeAt(1)===110&&r.charCodeAt(2)>96&&r.charCodeAt(2)<123,z1i=(r,e,i,n,a,o,c,h,g)=>{const _=a==="svg";e==="class"?C1i(r,n,_):e==="style"?k1i(r,i,n):t6e(e)?eGe(e)||w1i(r,e,i,n,c):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):I1i(r,e,n,_))?S1i(r,e,n,o,c,h,g):(e==="true-value"?r._trueValue=n:e==="false-value"&&(r._falseValue=n),A1i(r,e,n,_))};function I1i(r,e,i,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in r&&jpt(e)&&uc(i));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&r.tagName==="INPUT"||e==="type"&&r.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const a=r.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return jpt(e)&&ng(i)?!1:e in r}const SJ=r=>{const e=r.props["onUpdate:modelValue"]||!1;return j0(e)?i=>G3e(e,i):e};function R1i(r){r.target.composing=!0}function Vpt(r){const e=r.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const WS=Symbol("_assign"),oA={created(r,{modifiers:{lazy:e,trim:i,number:n}},a){r[WS]=SJ(a);const o=n||a.props&&a.props.type==="number";$T(r,e?"change":"input",c=>{if(c.target.composing)return;let h=r.value;i&&(h=h.trim()),o&&(h=NOe(h)),r[WS](h)}),i&&$T(r,"change",()=>{r.value=r.value.trim()}),e||($T(r,"compositionstart",R1i),$T(r,"compositionend",Vpt),$T(r,"change",Vpt))},mounted(r,{value:e}){r.value=e??""},beforeUpdate(r,{value:e,modifiers:{lazy:i,trim:n,number:a}},o){if(r[WS]=SJ(o),r.composing)return;const c=a||r.type==="number"?NOe(r.value):r.value,h=e??"";c!==h&&(document.activeElement===r&&r.type!=="range"&&(i||n&&r.value.trim()===h)||(r.value=h))}},DGe={deep:!0,created(r,e,i){r[WS]=SJ(i),$T(r,"change",()=>{const n=r._modelValue,a=S6t(r),o=r.checked,c=r[WS];if(j0(n)){const h=zxt(n,a),g=h!==-1;if(o&&!g)c(n.concat(a));else if(!o&&g){const _=[...n];_.splice(h,1),c(_)}}else if(i6e(n)){const h=new Set(n);o?h.add(a):h.delete(a),c(h)}else c(B6t(r,o))})},mounted:Hpt,beforeUpdate(r,e,i){r[WS]=SJ(i),Hpt(r,e,i)}};function Hpt(r,{value:e,oldValue:i},n){r._modelValue=e,j0(e)?r.checked=zxt(e,n.props.value)>-1:i6e(e)?r.checked=e.has(n.props.value):e!==i&&(r.checked=kJ(e,B6t(r,!0)))}const x_e={created(r,{value:e},i){r.checked=kJ(e,i.props.value),r[WS]=SJ(i),$T(r,"change",()=>{r[WS](S6t(r))})},beforeUpdate(r,{value:e,oldValue:i},n){r[WS]=SJ(n),e!==i&&(r.checked=kJ(e,n.props.value))}};function S6t(r){return"_value"in r?r._value:r.value}function B6t(r,e){const i=e?"_trueValue":"_falseValue";return i in r?r[i]:e}const O1i=["ctrl","shift","alt","meta"],j1i={stop:r=>r.stopPropagation(),prevent:r=>r.preventDefault(),self:r=>r.target!==r.currentTarget,ctrl:r=>!r.ctrlKey,shift:r=>!r.shiftKey,alt:r=>!r.altKey,meta:r=>!r.metaKey,left:r=>"button"in r&&r.button!==0,middle:r=>"button"in r&&r.button!==1,right:r=>"button"in r&&r.button!==2,exact:(r,e)=>O1i.some(i=>r[`${i}Key`]&&!e.includes(i))},V1i=(r,e)=>{const i=r._withMods||(r._withMods={}),n=e.join(".");return i[n]||(i[n]=(a,...o)=>{for(let c=0;c{const i=r._withKeys||(r._withKeys={}),n=e.join(".");return i[n]||(i[n]=a=>{if(!("key"in a))return;const o=VR(a.key);if(e.some(c=>c===o||H1i[c]===o))return r(a)})},K1i=M_({patchProp:z1i},x1i);let Kpt;function W1i(){return Kpt||(Kpt=Xdi(K1i))}const T6t=(...r)=>{const e=W1i().createApp(...r),{mount:i}=e;return e.mount=n=>{const a=J1i(n);if(!a)return;const o=e._component;!uc(o)&&!o.render&&!o.template&&(o.template=a.innerHTML),a.innerHTML="";const c=i(a,!1,G1i(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),c},e};function G1i(r){if(r instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&r instanceof MathMLElement)return"mathml"}function J1i(r){return ng(r)?document.querySelector(r):r}const $1i=""+new URL("../logdy-transparent.png",import.meta.url).href,Wpt="logdy";let xGe=class{constructor(e){Rc(this,"lastInsertAt","");Rc(this,"sameInserts",0);Rc(this,"keys",[]);this.prefix=e}clear(){this.lastInsertAt="",this.sameInserts=0,this.keys=[]}startClearingUnknowns(){setInterval(()=>{this.clearUnknown()},10*1e3)}clearUnknown(){for(let e in localStorage)this.doesBelong(e)&&!this.keys.includes(e)&&localStorage.removeItem(e)}doesBelong(e){return e.startsWith(Wpt+"_"+this.prefix+"_")}id(e){return Wpt+"_"+this.prefix+"_"+e}load(){this.clear();for(let e in localStorage)this.doesBelong(e)&&(this.lastInsertAt=e,this.keys.push(e));return this.keys.sort().map(e=>JSON.parse(localStorage.getItem(e)))}count(){let e=0;for(let i in localStorage)this.doesBelong(i)&&e++;return e}getOne(e){let i=localStorage.getItem(this.id(e));return i?JSON.parse(i):void 0}add(e,i){let n=new Date().getTime().toString();n===this.lastInsertAt&&(n=n+"."+(++this.sameInserts).toString());let a=this.id(i||n);return e.id=a,localStorage.setItem(a,JSON.stringify(e)),this.lastInsertAt=n,this.keys.push(a),{id:n.toString()}}update(e,i){localStorage.setItem(this.id(e),JSON.stringify(i))}remove(e){let i=this.id(e);localStorage.removeItem(i);let n=this.keys.indexOf(i);this.keys.splice(n,1)}removeAll(){for(let e in this.keys)localStorage.removeItem(this.keys[e]);this.keys=[]}removeFirst(){localStorage.removeItem(this.keys[0]),this.keys.splice(0,1)}};const Gpt=new xGe("app"),UT=new xGe("logs"),_I=new xGe("layout"),ag=(r,e)=>{const i=r.__vccOpts||r;for(const[n,a]of e)i[n]=a;return i},U1i={},q1i={class:"kdb",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Z1i=Di("path",{d:"M11.0001 3.67157L13.0001 3.67157L13.0001 16.4999L16.2426 13.2574L17.6568 14.6716L12 20.3284L6.34314 14.6716L7.75735 13.2574L11.0001 16.5001L11.0001 3.67157Z",fill:"currentColor"},null,-1),Y1i=[Z1i];function Q1i(r,e){return Ou(),yr("svg",q1i,Y1i)}const X1i=ag(U1i,[["render",Q1i]]),ehi={},thi={class:"kdb",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ihi=Di("path",{d:"M17.6568 8.96219L16.2393 10.3731L12.9843 7.10285L12.9706 20.7079L10.9706 20.7059L10.9843 7.13806L7.75404 10.3532L6.34314 8.93572L12.0132 3.29211L17.6568 8.96219Z",fill:"currentColor"},null,-1),nhi=[ihi];function uhi(r,e){return Ou(),yr("svg",thi,nhi)}const rhi=ag(ehi,[["render",uhi]]),ahi={},ohi={width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},shi=Di("path",{d:"M8 11C7.44772 11 7 11.4477 7 12C7 12.5523 7.44772 13 8 13H15.9595C16.5118 13 16.9595 12.5523 16.9595 12C16.9595 11.4477 16.5118 11 15.9595 11H8Z",fill:"currentColor"},null,-1),lhi=Di("path",{d:"M8.04053 15.0665C7.48824 15.0665 7.04053 15.5142 7.04053 16.0665C7.04053 16.6188 7.48824 17.0665 8.04053 17.0665H16C16.5523 17.0665 17 16.6188 17 16.0665C17 15.5142 16.5523 15.0665 16 15.0665H8.04053Z",fill:"currentColor"},null,-1),chi=Di("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5 3C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3H5ZM7 5H5L5 19H19V5H17V6C17 7.65685 15.6569 9 14 9H10C8.34315 9 7 7.65685 7 6V5ZM9 5V6C9 6.55228 9.44772 7 10 7H14C14.5523 7 15 6.55228 15 6V5H9Z",fill:"currentColor"},null,-1),dhi=[shi,lhi,chi];function hhi(r,e){return Ou(),yr("svg",ohi,dhi)}const xT=ag(ahi,[["render",hhi]]);var fhi=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let L6t;const g6e=r=>L6t=r,N6t=Symbol();function JOe(r){return r&&typeof r=="object"&&Object.prototype.toString.call(r)==="[object Object]"&&typeof r.toJSON!="function"}var Nne;(function(r){r.direct="direct",r.patchObject="patch object",r.patchFunction="patch function"})(Nne||(Nne={}));function mhi(){const r=Oxt(!0),e=r.run(()=>Gs({}));let i=[],n=[];const a=a6e({install(o){g6e(a),a._a=o,o.provide(N6t,a),o.config.globalProperties.$pinia=a,n.forEach(c=>i.push(c)),n=[]},use(o){return!this._a&&!fhi?n.push(o):i.push(o),this},_p:i,_a:null,_e:r,_s:new Map,state:e});return a}const P6t=()=>{};function Jpt(r,e,i,n=P6t){r.push(e);const a=()=>{const o=r.indexOf(e);o>-1&&(r.splice(o,1),n())};return!i&&jxt()&&Nci(a),a}function VW(r,...e){r.slice().forEach(i=>{i(...e)})}const phi=r=>r();function $Oe(r,e){r instanceof Map&&e instanceof Map&&e.forEach((i,n)=>r.set(n,i)),r instanceof Set&&e instanceof Set&&e.forEach(r.add,r);for(const i in e){if(!e.hasOwnProperty(i))continue;const n=e[i],a=r[i];JOe(a)&&JOe(n)&&r.hasOwnProperty(i)&&!bp(n)&&!pL(n)?r[i]=$Oe(a,n):r[i]=n}return r}const ghi=Symbol();function Ehi(r){return!JOe(r)||!r.hasOwnProperty(ghi)}const{assign:BT}=Object;function _hi(r){return!!(bp(r)&&r.effect)}function Dhi(r,e,i,n){const{state:a,actions:o,getters:c}=e,h=i.state.value[r];let g;function _(){h||(i.state.value[r]=a?a():{});const x=rdi(i.state.value[r]);return BT(x,o,Object.keys(c||{}).reduce((y,S)=>(y[S]=a6e(gy(()=>{g6e(i);const L=i._s.get(r);return c[S].call(L,L)})),y),{}))}return g=M6t(r,_,e,i,n,!0),g}function M6t(r,e,i={},n,a,o){let c;const h=BT({actions:{}},i),g={deep:!0};let _,x,y=[],S=[],L;const R=n.state.value[r];!o&&!R&&(n.state.value[r]={}),Gs({});let G;function ie(Ye){let rt;_=x=!1,typeof Ye=="function"?(Ye(n.state.value[r]),rt={type:Nne.patchFunction,storeId:r,events:L}):($Oe(n.state.value[r],Ye),rt={type:Nne.patchObject,payload:Ye,storeId:r,events:L});const Ft=G=Symbol();dGe().then(()=>{G===Ft&&(_=!0)}),x=!0,VW(y,rt,n.state.value[r])}const ue=o?function(){const{state:rt}=i,Ft=rt?rt():{};this.$patch(Zt=>{BT(Zt,Ft)})}:P6t;function re(){c.stop(),y=[],S=[],n._s.delete(r)}function _e(Ye,rt){return function(){g6e(n);const Ft=Array.from(arguments),Zt=[],Ot=[];function ui(mu){Zt.push(mu)}function ei(mu){Ot.push(mu)}VW(S,{args:Ft,name:Ye,store:Le,after:ui,onError:ei});let qu;try{qu=rt.apply(this&&this.$id===r?this:Le,Ft)}catch(mu){throw VW(Ot,mu),mu}return qu instanceof Promise?qu.then(mu=>(VW(Zt,mu),mu)).catch(mu=>(VW(Ot,mu),Promise.reject(mu))):(VW(Zt,qu),qu)}}const ye={_p:n,$id:r,$onAction:Jpt.bind(null,S),$patch:ie,$reset:ue,$subscribe(Ye,rt={}){const Ft=Jpt(y,Ye,rt.detached,()=>Zt()),Zt=c.run(()=>EL(()=>n.state.value[r],Ot=>{(rt.flush==="sync"?x:_)&&Ye({storeId:r,type:Nne.direct,events:L},Ot)},BT({},g,rt)));return Ft},$dispose:re},Le=rae(ye);n._s.set(r,Le);const Ue=(n._a&&n._a.runWithContext||phi)(()=>n._e.run(()=>(c=Oxt()).run(e)));for(const Ye in Ue){const rt=Ue[Ye];if(bp(rt)&&!_hi(rt)||pL(rt))o||(R&&Ehi(rt)&&(bp(rt)?rt.value=R[Ye]:$Oe(rt,R[Ye])),n.state.value[r][Ye]=rt);else if(typeof rt=="function"){const Ft=_e(Ye,rt);Ue[Ye]=Ft,h.actions[Ye]=rt}}return BT(Le,Ue),BT(o1(Le),Ue),Object.defineProperty(Le,"$state",{get:()=>n.state.value[r],set:Ye=>{ie(rt=>{BT(rt,Ye)})}}),n._p.forEach(Ye=>{BT(Le,c.run(()=>Ye({store:Le,app:n._a,pinia:n,options:h})))}),R&&o&&i.hydrate&&i.hydrate(Le.$state,R),_=!0,x=!0,Le}function z6t(r,e,i){let n,a;const o=typeof e=="function";typeof r=="string"?(n=r,a=o?i:e):(a=r,n=r.id);function c(h,g){const _=$di();return h=h||(_?Tne(N6t,null):null),h&&g6e(h),h=L6t,h._s.has(n)||(o?M6t(n,e,a,h):Dhi(n,a,h)),h._s.get(n)}return c.$id=n,c}var $pt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xhi(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function vhi(r){if(r.__esModule)return r;var e=r.default;if(typeof e=="function"){var i=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};i.prototype=e.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(r).forEach(function(n){var a=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(i,n,a.get?a:{enumerable:!0,get:function(){return r[n]}})}),i}function Upt(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var I6t={exports:{}};const Chi={},bhi=Object.freeze(Object.defineProperty({__proto__:null,default:Chi},Symbol.toStringTag,{value:"Module"})),nS=vhi(bhi);(function(r){var e={};/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. All rights reserved. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use + this file except in compliance with the License. You may obtain a copy of the + License at http://www.apache.org/licenses/LICENSE-2.0 + + THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED + WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, + MERCHANTABLITY OR NON-INFRINGEMENT. + + See the Apache Version 2.0 License for specific language governing permissions + and limitations under the License. + ***************************************************************************** */var i=(()=>{var n=Object.defineProperty,a=Object.getOwnPropertyNames,o=(t,u)=>function(){return t&&(u=(0,t[a(t)[0]])(t=0)),u},c=(t,u)=>function(){return u||(0,t[a(t)[0]])((u={exports:{}}).exports,u),u.exports},h=(t,u)=>{for(var s in u)n(t,s,{get:u[s],enumerable:!0})},g,_,x,y=o({"src/compiler/corePublic.ts"(){g="5.3",_="5.3.3",x=(t=>(t[t.LessThan=-1]="LessThan",t[t.EqualTo=0]="EqualTo",t[t.GreaterThan=1]="GreaterThan",t))(x||{})}});function S(t){return t?t.length:0}function L(t,u){if(t)for(let s=0;s=0;s--){const d=u(t[s],s);if(d)return d}}function G(t,u){if(t!==void 0)for(let s=0;s=0;d--){const f=t[d];if(u(f,d))return f}}function Ue(t,u,s){if(t===void 0)return-1;for(let d=s??0;d=0;d--)if(u(t[d],d))return d;return-1}function rt(t,u){for(let s=0;ss(d,u[f]))}function Ot(t,u,s){for(let d=s||0;d{const p=u(f,d);if(p!==void 0){const[E,v]=p;E!==void 0&&v!==void 0&&s.set(E,v)}}),s}function tl(t,u,s){if(t.has(u))return t.get(u);const d=s();return t.set(u,d),d}function k0(t,u){return t.has(u)?!1:(t.add(u),!0)}function*bo(t){yield t}function qo(t,u,s){let d;if(t){d=[];const f=t.length;let p,E,v=0,b=0;for(;v{const[p,E]=u(f,d);s.set(p,E)}),s}function Ge(t,u){if(t)if(u){for(const s of t)if(u(s))return!0}else return t.length>0;return!1}function Tu(t,u,s){let d;for(let f=0;ft[E])}function Mi(t,u){const s=[];for(const d of t)xa(s,d,u);return s}function li(t,u,s){return t.length===0?[]:t.length===1?t.slice():s?eo(t,u,s):Mi(t,u)}function di(t,u){if(t.length===0)return _t;let s=t[0];const d=[s];for(let f=1;f0&&(f&=-2),f&2&&d(p,b)>0&&(f&=-3),p=b}return f}function Hn(t,u,s=vx){if(!t||!u)return t===u;if(t.length!==u.length)return!1;for(let d=0;d0&&H.assertGreaterThanOrEqual(s(u[p],u[p-1]),0);t:for(const E=f;fE&&H.assertGreaterThanOrEqual(s(t[f],t[f-1]),0),s(u[p],t[f])){case-1:d.push(u[p]);continue e;case 0:continue e;case 1:continue t}}return d}function Ei(t,u){return u===void 0?t:t===void 0?[u]:(t.push(u),t)}function Do(t,u){return t===void 0?u:u===void 0?t:ja(t)?ja(u)?an(t,u):Ei(t,u):ja(u)?Ei(u,t):[t,u]}function Pl(t,u){return u<0?t.length+u:u}function yn(t,u,s,d){if(u===void 0||u.length===0)return t;if(t===void 0)return u.slice(s,d);s=s===void 0?0:Pl(u,s),d=d===void 0?u.length:Pl(u,d);for(let f=s;fs(t[d],t[f])||nl(d,f))}function Lh(t,u){return t.length===0?t:t.slice().sort(u)}function*vd(t){for(let u=t.length-1;u>=0;u--)yield t[u]}function ac(t,u){const s=Yr(t);return Fl(t,s,u),s.map(d=>t[d])}function Ii(t,u,s,d){for(;s>1),b=s(t[v],v);switch(d(b,u)){case-1:p=v+1;break;case 0:return v;case 1:E=v-1;break}}return~p}function tn(t,u,s,d,f){if(t&&t.length>0){const p=t.length;if(p>0){let E=d===void 0||d<0?0:d;const v=f===void 0||E+f>p-1?p-1:E+f;let b;for(arguments.length<=2?(b=t[E],E++):b=s;E<=v;)b=u(b,t[E],E),E++;return b}}return s}function gu(t,u){return Cx.call(t,u)}function io(t,u){return Cx.call(t,u)?t[u]:void 0}function Ls(t){const u=[];for(const s in t)Cx.call(t,s)&&u.push(s);return u}function Sm(t){const u=[];do{const s=Object.getOwnPropertyNames(t);for(const d of s)xa(u,d)}while(t=Object.getPrototypeOf(t));return u}function $1(t){const u=[];for(const s in t)Cx.call(t,s)&&u.push(t[s]);return u}function rm(t,u){const s=new Array(t);for(let d=0;d100&&s>u.length>>1){const v=u.length-s;u.copyWithin(0,s),u.length=v,s=0}return E}return{enqueue:f,dequeue:p,isEmpty:d}}function roe(t,u){const s=new Map;let d=0;function*f(){for(const E of s.values())ja(E)?yield*E:yield E}const p={has(E){const v=t(E);if(!s.has(v))return!1;const b=s.get(v);if(!ja(b))return u(b,E);for(const B of b)if(u(B,E))return!0;return!1},add(E){const v=t(E);if(s.has(v)){const b=s.get(v);if(ja(b))Ft(b,E,u)||(b.push(E),d++);else{const B=b;u(B,E)||(s.set(v,[B,E]),d++)}}else s.set(v,E),d++;return this},delete(E){const v=t(E);if(!s.has(v))return!1;const b=s.get(v);if(ja(b)){for(let B=0;Bf(),[Symbol.toStringTag]:s[Symbol.toStringTag]};return p}function ja(t){return Array.isArray(t)}function qA(t){return ja(t)?t:[t]}function Wa(t){return typeof t=="string"}function $D(t){return typeof t=="number"}function rr(t,u){return t!==void 0&&u(t)?t:void 0}function No(t,u){return t!==void 0&&u(t)?t:H.fail(`Invalid cast. The supplied value ${t} did not pass the test '${H.getFunctionName(u)}'.`)}function zs(t){}function sg(){return!1}function G3(){return!0}function cv(){}function il(t){return t}function GCe(t){return t.toLowerCase()}function Jg(t){return n2e.test(t)?t.replace(n2e,GCe):t}function so(){throw new Error("Not implemented")}function Nh(t){let u;return()=>(t&&(u=t(),t=void 0),u)}function VE(t){const u=new Map;return s=>{const d=`${typeof s}:${s}`;let f=u.get(d);return f===void 0&&!u.has(d)&&(f=t(s),u.set(d,f)),f}}function cqe(t){const u=new WeakMap;return s=>{let d=u.get(s);return d===void 0&&!u.has(s)&&(d=t(s),u.set(s,d)),d}}function JCe(t,u){return(...s)=>{let d=u.get(s);return d===void 0&&!u.has(s)&&(d=t(...s),u.set(s,d)),d}}function dqe(t,u,s,d,f){if(f){const p=[];for(let E=0;Etn(p,(v,b)=>b(v),E)}else return d?p=>d(s(u(t(p)))):s?p=>s(u(t(p))):u?p=>u(t(p)):t?p=>t(p):p=>p}function vx(t,u){return t===u}function ZA(t,u){return t===u||t!==void 0&&u!==void 0&&t.toUpperCase()===u.toUpperCase()}function YA(t,u){return vx(t,u)}function hqe(t,u){return t===u?0:t===void 0?-1:u===void 0?1:tu(s,d)===-1?s:d)}function J$(t,u){return t===u?0:t===void 0?-1:u===void 0?1:(t=t.toUpperCase(),u=u.toUpperCase(),tu?1:0)}function $Ce(t,u){return t===u?0:t===void 0?-1:u===void 0?1:(t=t.toLowerCase(),u=u.toLowerCase(),tu?1:0)}function ch(t,u){return hqe(t,u)}function vN(t){return t?J$:ch}function UCe(){return moe}function qCe(t){moe!==t&&(moe=t,u2e=void 0)}function fO(t,u){return(u2e||(u2e=pqe(moe)))(t,u)}function ZCe(t,u,s,d){return t===u?0:t===void 0?-1:u===void 0?1:d(t[s],u[s])}function s2(t,u){return nl(t?1:0,u?1:0)}function CN(t,u,s){const d=Math.max(2,Math.floor(t.length*.34));let f=Math.floor(t.length*.4)+1,p;for(const E of u){const v=s(E);if(v!==void 0&&Math.abs(v.length-t.length)<=d){if(v===t||v.length<3&&v.toLowerCase()!==t.toLowerCase())continue;const b=_wt(t,v,f-.1);if(b===void 0)continue;H.assert(bs?v-s:1),k=Math.floor(u.length>s+v?s+v:u.length);f[0]=v;let T=v;for(let z=1;zs)return;const M=d;d=f,f=M}const E=d[u.length];return E>s?void 0:E}function oc(t,u){const s=t.length-u.length;return s>=0&&t.indexOf(u,s)===s}function E8(t,u){return oc(t,u)?t.slice(0,t.length-u.length):t}function YCe(t,u){return oc(t,u)?t.slice(0,t.length-u.length):void 0}function ooe(t){let u=t.length;for(let s=u-1;s>0;s--){let d=t.charCodeAt(s);if(d>=48&&d<=57)do--s,d=t.charCodeAt(s);while(s>0&&d>=48&&d<=57);else if(s>4&&(d===110||d===78)){if(--s,d=t.charCodeAt(s),d!==105&&d!==73||(--s,d=t.charCodeAt(s),d!==109&&d!==77))break;--s,d=t.charCodeAt(s)}else break;if(d!==45&&d!==46)break;u=s}return u===t.length?t:t.slice(0,u)}function mO(t,u){for(let s=0;ss===u)}function Dwt(t,u){for(let s=0;sf&&(f=E.prefix.length,d=p)}return d}function La(t,u){return t.lastIndexOf(u,0)===0}function bN(t,u){return La(t,u)?t.substr(u.length):t}function coe(t,u,s=il){return La(s(t),s(u))?t.substring(u.length):void 0}function $$({prefix:t,suffix:u},s){return s.length>=t.length+u.length&&La(s,t)&&oc(s,u)}function U$(t,u){return s=>t(s)&&u(s)}function lg(...t){return(...u)=>{let s;for(const d of t)if(s=d(...u),s)return s;return s}}function q$(t){return(...u)=>!t(...u)}function fqe(t){}function jy(t){return t===void 0?void 0:[t]}function Z$(t,u,s,d,f,p){p=p||zs;let E=0,v=0;const b=t.length,B=u.length;let k=!1;for(;E(t[t.None=0]="None",t[t.CaseSensitive=1]="CaseSensitive",t[t.CaseInsensitive=2]="CaseInsensitive",t[t.Both=3]="Both",t))(hoe||{}),UD=Array.prototype.at?(t,u)=>t==null?void 0:t.at(u):(t,u)=>{if(t&&(u=Pl(t,u),u(t[t.None=0]="None",t[t.Normal=1]="Normal",t[t.Aggressive=2]="Aggressive",t[t.VeryAggressive=3]="VeryAggressive",t))(foe||{}),pqe=(()=>{return u;function t(s,d,f){if(s===d)return 0;if(s===void 0)return-1;if(d===void 0)return 1;const p=f(s,d);return p<0?-1:p>0?1:0}function u(s){const d=new Intl.Collator(s,{usage:"sort",sensitivity:"variant"}).compare;return(f,p)=>t(f,p,d)}})()}}),poe,H,vwt=o({"src/compiler/debug.ts"(){So(),So(),poe=(t=>(t[t.Off=0]="Off",t[t.Error=1]="Error",t[t.Warning=2]="Warning",t[t.Info=3]="Info",t[t.Verbose=4]="Verbose",t))(poe||{}),(t=>{let u=0;t.currentLogLevel=2,t.isDebugging=!1;function s(Fi){return t.currentLogLevel<=Fi}t.shouldLog=s;function d(Fi,Dn){t.loggingHost&&s(Fi)&&t.loggingHost.log(Fi,Dn)}function f(Fi){d(3,Fi)}t.log=f,(Fi=>{function Dn(Da){d(1,Da)}Fi.error=Dn;function Cn(Da){d(2,Da)}Fi.warn=Cn;function tu(Da){d(3,Da)}Fi.log=tu;function sa(Da){d(4,Da)}Fi.trace=sa})(f=t.log||(t.log={}));const p={};function E(){return u}t.getAssertionLevel=E;function v(Fi){const Dn=u;if(u=Fi,Fi>Dn)for(const Cn of Ls(p)){const tu=p[Cn];tu!==void 0&&t[Cn]!==tu.assertion&&Fi>=tu.level&&(t[Cn]=tu,p[Cn]=void 0)}}t.setAssertionLevel=v;function b(Fi){return u>=Fi}t.shouldAssert=b;function B(Fi,Dn){return b(Fi)?!0:(p[Dn]={level:Fi,assertion:t[Dn]},t[Dn]=zs,!1)}function k(Fi,Dn){debugger;const Cn=new Error(Fi?`Debug Failure. ${Fi}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Cn,Dn||k),Cn}t.fail=k;function T(Fi,Dn,Cn){return k(`${Dn||"Unexpected node."}\r +Node ${He(Fi.kind)} was unexpected.`,Cn||T)}t.failBadSyntaxKind=T;function M(Fi,Dn,Cn,tu){Fi||(Dn=Dn?`False expression: ${Dn}`:"False expression.",Cn&&(Dn+=`\r +Verbose Debug Information: `+(typeof Cn=="string"?Cn:Cn())),k(Dn,tu||M))}t.assert=M;function z(Fi,Dn,Cn,tu,sa){if(Fi!==Dn){const Da=Cn?tu?`${Cn} ${tu}`:Cn:"";k(`Expected ${Fi} === ${Dn}. ${Da}`,sa||z)}}t.assertEqual=z;function j(Fi,Dn,Cn,tu){Fi>=Dn&&k(`Expected ${Fi} < ${Dn}. ${Cn||""}`,tu||j)}t.assertLessThan=j;function J(Fi,Dn,Cn){Fi>Dn&&k(`Expected ${Fi} <= ${Dn}`,Cn||J)}t.assertLessThanOrEqual=J;function K(Fi,Dn,Cn){Fi= ${Dn}`,Cn||K)}t.assertGreaterThanOrEqual=K;function Y(Fi,Dn,Cn){Fi==null&&k(Dn,Cn||Y)}t.assertIsDefined=Y;function oe(Fi,Dn,Cn){return Y(Fi,Dn,Cn||oe),Fi}t.checkDefined=oe;function se(Fi,Dn,Cn){for(const tu of Fi)Y(tu,Dn,Cn||se)}t.assertEachIsDefined=se;function ge(Fi,Dn,Cn){return se(Fi,Dn,Cn||ge),Fi}t.checkEachDefined=ge;function ae(Fi,Dn="Illegal value:",Cn){const tu=typeof Fi=="object"&&gu(Fi,"kind")&&gu(Fi,"pos")?"SyntaxKind: "+He(Fi.kind):JSON.stringify(Fi);return k(`${Dn} ${tu}`,Cn||ae)}t.assertNever=ae;function Ce(Fi,Dn,Cn,tu){B(1,"assertEachNode")&&M(Dn===void 0||ye(Fi,Dn),Cn||"Unexpected node.",()=>`Node array did not pass test '${xe(Dn)}'.`,tu||Ce)}t.assertEachNode=Ce;function ne(Fi,Dn,Cn,tu){B(1,"assertNode")&&M(Fi!==void 0&&(Dn===void 0||Dn(Fi)),Cn||"Unexpected node.",()=>`Node ${He(Fi==null?void 0:Fi.kind)} did not pass test '${xe(Dn)}'.`,tu||ne)}t.assertNode=ne;function ve(Fi,Dn,Cn,tu){B(1,"assertNotNode")&&M(Fi===void 0||Dn===void 0||!Dn(Fi),Cn||"Unexpected node.",()=>`Node ${He(Fi.kind)} should not have passed test '${xe(Dn)}'.`,tu||ve)}t.assertNotNode=ve;function Se(Fi,Dn,Cn,tu){B(1,"assertOptionalNode")&&M(Dn===void 0||Fi===void 0||Dn(Fi),Cn||"Unexpected node.",()=>`Node ${He(Fi==null?void 0:Fi.kind)} did not pass test '${xe(Dn)}'.`,tu||Se)}t.assertOptionalNode=Se;function Ne(Fi,Dn,Cn,tu){B(1,"assertOptionalToken")&&M(Dn===void 0||Fi===void 0||Fi.kind===Dn,Cn||"Unexpected node.",()=>`Node ${He(Fi==null?void 0:Fi.kind)} was not a '${He(Dn)}' token.`,tu||Ne)}t.assertOptionalToken=Ne;function pe(Fi,Dn,Cn){B(1,"assertMissingNode")&&M(Fi===void 0,Dn||"Unexpected node.",()=>`Node ${He(Fi.kind)} was unexpected'.`,Cn||pe)}t.assertMissingNode=pe;function fe(Fi){}t.type=fe;function xe(Fi){if(typeof Fi!="function")return"";if(gu(Fi,"name"))return Fi.name;{const Dn=Function.prototype.toString.call(Fi),Cn=/^function\s+([\w$]+)\s*\(/.exec(Dn);return Cn?Cn[1]:""}}t.getFunctionName=xe;function Be(Fi){return`{ name: ${Qr(Fi.escapedName)}; flags: ${Yt(Fi.flags)}; declarations: ${Kt(Fi.declarations,Dn=>He(Dn.kind))} }`}t.formatSymbol=Be;function We(Fi=0,Dn,Cn){const tu=De(Dn);if(Fi===0)return tu.length>0&&tu[0][0]===0?tu[0][1]:"0";if(Cn){const sa=[];let Da=Fi;for(const[aa,Ba]of tu){if(aa>Fi)break;aa!==0&&aa&Fi&&(sa.push(Ba),Da&=~aa)}if(Da===0)return sa.join("|")}else for(const[sa,Da]of tu)if(sa===Fi)return Da;return Fi.toString()}t.formatEnum=We;const Ae=new Map;function De(Fi){const Dn=Ae.get(Fi);if(Dn)return Dn;const Cn=[];for(const sa in Fi){const Da=Fi[sa];typeof Da=="number"&&Cn.push([Da,sa])}const tu=ac(Cn,(sa,Da)=>nl(sa[0],Da[0]));return Ae.set(Fi,tu),tu}function He(Fi){return We(Fi,eU,!1)}t.formatSyntaxKind=He;function Je(Fi){return We(Fi,fU,!1)}t.formatSnippetKind=Je;function ft(Fi){return We(Fi,dU,!1)}t.formatScriptKind=ft;function Ze(Fi){return We(Fi,tU,!0)}t.formatNodeFlags=Ze;function je(Fi){return We(Fi,iU,!0)}t.formatModifierFlags=je;function Ke(Fi){return We(Fi,hU,!0)}t.formatTransformFlags=Ke;function Gt(Fi){return We(Fi,mU,!0)}t.formatEmitFlags=Gt;function Yt(Fi){return We(Fi,oU,!0)}t.formatSymbolFlags=Yt;function Ie(Fi){return We(Fi,sU,!0)}t.formatTypeFlags=Ie;function lt(Fi){return We(Fi,cU,!0)}t.formatSignatureFlags=lt;function St(Fi){return We(Fi,lU,!0)}t.formatObjectFlags=St;function It(Fi){return We(Fi,_O,!0)}t.formatFlowFlags=It;function ti(Fi){return We(Fi,nU,!0)}t.formatRelationComparisonResult=ti;function ht(Fi){return We(Fi,qY,!0)}t.formatCheckMode=ht;function Ut(Fi){return We(Fi,ZY,!0)}t.formatSignatureCheckMode=Ut;function Ni(Fi){return We(Fi,UY,!0)}t.formatTypeFacts=Ni;let Vi=!1,xn;function $n(Fi){"__debugFlowFlags"in Fi||Object.defineProperties(Fi,{__tsDebuggerDisplay:{value(){const Dn=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",Cn=this.flags&-2048;return`${Dn}${Cn?` (${It(Cn)})`:""}`}},__debugFlowFlags:{get(){return We(this.flags,_O,!0)}},__debugToString:{value(){return Ln(this)}}})}function rn(Fi){Vi&&(typeof Object.setPrototypeOf=="function"?(xn||(xn=Object.create(Object.prototype),$n(xn)),Object.setPrototypeOf(Fi,xn)):$n(Fi))}t.attachFlowNodeDebugInfo=rn;let Pi;function ki(Fi){"__tsDebuggerDisplay"in Fi||Object.defineProperties(Fi,{__tsDebuggerDisplay:{value(Dn){return Dn=String(Dn).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${Dn}`}}})}function Yu(Fi){Vi&&(typeof Object.setPrototypeOf=="function"?(Pi||(Pi=Object.create(Array.prototype),ki(Pi)),Object.setPrototypeOf(Fi,Pi)):ki(Fi))}t.attachNodeArrayDebugInfo=Yu;function oa(){if(Vi)return;const Fi=new WeakMap,Dn=new WeakMap;Object.defineProperties(Yd.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const tu=this.flags&33554432?"TransientSymbol":"Symbol",sa=this.flags&-33554433;return`${tu} '${sc(this)}'${sa?` (${Yt(sa)})`:""}`}},__debugFlags:{get(){return Yt(this.flags)}}}),Object.defineProperties(Yd.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const tu=this.flags&67359327?`IntrinsicType ${this.intrinsicName}${this.debugIntrinsicName?` (${this.debugIntrinsicName})`:""}`:this.flags&98304?"NullableType":this.flags&384?`LiteralType ${JSON.stringify(this.value)}`:this.flags&2048?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",sa=this.flags&524288?this.objectFlags&-1344:0;return`${tu}${this.symbol?` '${sc(this.symbol)}'`:""}${sa?` (${St(sa)})`:""}`}},__debugFlags:{get(){return Ie(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?St(this.objectFlags):""}},__debugTypeToString:{value(){let tu=Fi.get(this);return tu===void 0&&(tu=this.checker.typeToString(this),Fi.set(this,tu)),tu}}}),Object.defineProperties(Yd.getSignatureConstructor().prototype,{__debugFlags:{get(){return lt(this.flags)}},__debugSignatureToString:{value(){var tu;return(tu=this.checker)==null?void 0:tu.signatureToString(this)}}});const Cn=[Yd.getNodeConstructor(),Yd.getIdentifierConstructor(),Yd.getTokenConstructor(),Yd.getSourceFileConstructor()];for(const tu of Cn)gu(tu.prototype,"__debugKind")||Object.defineProperties(tu.prototype,{__tsDebuggerDisplay:{value(){return`${al(this)?"GeneratedIdentifier":at(this)?`Identifier '${fu(this)}'`:ea(this)?`PrivateIdentifier '${fu(this)}'`:us(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:Rf(this)?`NumericLiteral ${this.text}`:QZ(this)?`BigIntLiteral ${this.text}n`:Bl(this)?"TypeParameterDeclaration":Qa(this)?"ParameterDeclaration":dc(this)?"ConstructorDeclaration":Mm(this)?"GetAccessorDeclaration":Of(this)?"SetAccessorDeclaration":xB(this)?"CallSignatureDeclaration":yV(this)?"ConstructSignatureDeclaration":pk(this)?"IndexSignatureDeclaration":iY(this)?"TypePredicateNode":Y4(this)?"TypeReferenceNode":n3(this)?"FunctionTypeNode":KP(this)?"ConstructorTypeNode":vB(this)?"TypeQueryNode":hm(this)?"TypeLiteralNode":nY(this)?"ArrayTypeNode":CB(this)?"TupleTypeNode":_ce(this)?"OptionalTypeNode":Dce(this)?"RestTypeNode":Lv(this)?"UnionTypeNode":bB(this)?"IntersectionTypeNode":yB(this)?"ConditionalTypeNode":L7(this)?"InferTypeNode":N7(this)?"ParenthesizedTypeNode":uY(this)?"ThisTypeNode":P7(this)?"TypeOperatorNode":M7(this)?"IndexedAccessTypeNode":GP(this)?"MappedTypeNode":Nv(this)?"LiteralTypeNode":WP(this)?"NamedTupleMember":iD(this)?"ImportTypeNode":He(this.kind)}${this.flags?` (${Ze(this.flags)})`:""}`}},__debugKind:{get(){return He(this.kind)}},__debugNodeFlags:{get(){return Ze(this.flags)}},__debugModifierFlags:{get(){return je(Tye(this))}},__debugTransformFlags:{get(){return Ke(this.transformFlags)}},__debugIsParseTreeNode:{get(){return MN(this)}},__debugEmitFlags:{get(){return Gt(Cs(this))}},__debugGetText:{value(sa){if(sl(this))return"";let Da=Dn.get(this);if(Da===void 0){const aa=Ja(this),Ba=aa&&zn(aa);Da=Ba?E2(Ba,aa,sa):"",Dn.set(this,Da)}return Da}}});Vi=!0}t.enableDebugInfo=oa;function Fr(Fi){const Dn=Fi&7;let Cn=Dn===0?"in out":Dn===3?"[bivariant]":Dn===2?"in":Dn===1?"out":Dn===4?"[independent]":"";return Fi&8?Cn+=" (unmeasurable)":Fi&16&&(Cn+=" (unreliable)"),Cn}t.formatVariance=Fr;class Sa{__debugToString(){var Dn;switch(this.kind){case 3:return((Dn=this.debugInfo)==null?void 0:Dn.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return re(this.sources,this.targets||Kt(this.sources,()=>"any"),(Cn,tu)=>`${Cn.__debugTypeToString()} -> ${typeof tu=="string"?tu:tu.__debugTypeToString()}`).join(", ");case 2:return re(this.sources,this.targets,(Cn,tu)=>`${Cn.__debugTypeToString()} -> ${tu().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(` +`).join(` + `)} +m2: ${this.mapper2.__debugToString().split(` +`).join(` + `)}`;default:return ae(this)}}}t.DebugTypeMapper=Sa;function bt(Fi){return t.isDebugging?Object.setPrototypeOf(Fi,Sa.prototype):Fi}t.attachDebugPrototypeIfDebug=bt;function On(Fi){return console.log(Ln(Fi))}t.printControlFlowGraph=On;function Ln(Fi){let Dn=-1;function Cn(de){return de.id||(de.id=Dn,Dn--),de.id}let tu;(de=>{de.lr="─",de.ud="│",de.dr="╭",de.dl="╮",de.ul="╯",de.ur="╰",de.udr="├",de.udl="┤",de.dlr="┬",de.ulr="┴",de.udlr="╫"})(tu||(tu={}));let sa;(de=>{de[de.None=0]="None",de[de.Up=1]="Up",de[de.Down=2]="Down",de[de.Left=4]="Left",de[de.Right=8]="Right",de[de.UpDown=3]="UpDown",de[de.LeftRight=12]="LeftRight",de[de.UpLeft=5]="UpLeft",de[de.UpRight=9]="UpRight",de[de.DownLeft=6]="DownLeft",de[de.DownRight=10]="DownRight",de[de.UpDownLeft=7]="UpDownLeft",de[de.UpDownRight=11]="UpDownRight",de[de.UpLeftRight=13]="UpLeftRight",de[de.DownLeftRight=14]="DownLeftRight",de[de.UpDownLeftRight=15]="UpDownLeftRight",de[de.NoChildren=16]="NoChildren"})(sa||(sa={}));const Da=2032,aa=882,Ba=Object.create(null),Yo=[],vo=ii(Fi,new Set);for(const de of Yo)de.text=Yi(de.flowNode,de.circular),ni(de);const Qe=_i(vo),Et=mt(Qe);return jt(vo,0),on();function Mt(de){return!!(de.flags&128)}function qt(de){return!!(de.flags&12)&&!!de.antecedents}function Xt(de){return!!(de.flags&Da)}function Pe(de){return!!(de.flags&aa)}function et(de){const Oe=[];for(const X of de.edges)X.source===de&&Oe.push(X.target);return Oe}function gt(de){const Oe=[];for(const X of de.edges)X.target===de&&Oe.push(X.source);return Oe}function ii(de,Oe){const X=Cn(de);let it=Ba[X];if(it&&Oe.has(de))return it.circular=!0,it={id:-1,flowNode:de,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},Yo.push(it),it;if(Oe.add(de),!it)if(Ba[X]=it={id:X,flowNode:de,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},Yo.push(it),qt(de))for(const Ct of de.antecedents)me(it,Ct,Oe);else Xt(de)&&me(it,de.antecedent,Oe);return Oe.delete(de),it}function me(de,Oe,X){const it=ii(Oe,X),Ct={source:de,target:it};de.edges.push(Ct),it.edges.push(Ct)}function ni(de){if(de.level!==-1)return de.level;let Oe=0;for(const X of gt(de))Oe=Math.max(Oe,ni(X)+1);return de.level=Oe}function _i(de){let Oe=0;for(const X of et(de))Oe=Math.max(Oe,_i(X));return Oe+1}function mt(de){const Oe=te(Array(de),0);for(const X of Yo)Oe[X.level]=Math.max(Oe[X.level],X.text.length);return Oe}function jt(de,Oe){if(de.lane===-1){de.lane=Oe,de.endLane=Oe;const X=et(de);for(let it=0;it0&&Oe++;const Ct=X[it];jt(Ct,Oe),Ct.endLane>de.endLane&&(Oe=Ct.endLane)}de.endLane=Oe}}function pi(de){if(de&2)return"Start";if(de&4)return"Branch";if(de&8)return"Loop";if(de&16)return"Assignment";if(de&32)return"True";if(de&64)return"False";if(de&128)return"SwitchClause";if(de&256)return"ArrayMutation";if(de&512)return"Call";if(de&1024)return"ReduceLabel";if(de&1)return"Unreachable";throw new Error}function $i(de){const Oe=zn(de);return E2(Oe,de,!1)}function Yi(de,Oe){let X=pi(de.flags);if(Oe&&(X=`${X}#${Cn(de)}`),Pe(de))de.node&&(X+=` (${$i(de.node)})`);else if(Mt(de)){const it=[];for(let Ct=de.clauseStart;CtMath.max(Qt,Ti.lane),0)+1,X=te(Array(Oe),""),it=Et.map(()=>Array(Oe)),Ct=Et.map(()=>te(Array(Oe),0));for(const Qt of Yo){it[Qt.level][Qt.lane]=Qt;const Ti=et(Qt);for(let Sn=0;Sn0&&(Iu|=1),Sn0&&(Iu|=1),Sn0?Ct[Qt-1][Ti]:0,Sn=Ti>0?Ct[Qt][Ti-1]:0;let du=Ct[Qt][Ti];du||(Ui&8&&(du|=12),Sn&2&&(du|=3),Ct[Qt][Ti]=du)}for(let Qt=0;Qt0?de.repeat(Oe):"";let X="";for(;X.length=",d.version)),R4(f.major)||s.push(R4(f.minor)?HE("<",f.version.increment("major")):R4(f.patch)?HE("<",f.version.increment("minor")):HE("<=",f.version)),!0):!1}function ywt(t,u,s){const d=r2e(u);if(!d)return!1;const{version:f,major:p,minor:E,patch:v}=d;if(R4(p))(t==="<"||t===">")&&s.push(HE("<",Bp.zero));else switch(t){case"~":s.push(HE(">=",f)),s.push(HE("<",f.increment(R4(E)?"major":"minor")));break;case"^":s.push(HE(">=",f)),s.push(HE("<",f.increment(f.major>0||R4(E)?"major":f.minor>0||R4(v)?"minor":"patch")));break;case"<":case">=":s.push(R4(E)||R4(v)?HE(t,f.with({prerelease:"0"})):HE(t,f));break;case"<=":case">":s.push(R4(E)?HE(t==="<="?"<":">=",f.increment("major").with({prerelease:"0"})):R4(v)?HE(t==="<="?"<":">=",f.increment("minor").with({prerelease:"0"})):HE(t,f));break;case"=":case void 0:R4(E)||R4(v)?(s.push(HE(">=",f.with({prerelease:"0"}))),s.push(HE("<",f.increment(R4(E)?"major":"minor").with({prerelease:"0"})))):s.push(HE("=",f));break;default:return!1}return!0}function R4(t){return t==="*"||t==="x"||t==="X"}function HE(t,u){return{operator:t,operand:u}}function kwt(t,u){if(u.length===0)return!0;for(const s of u)if(Fwt(t,s))return!0;return!1}function Fwt(t,u){for(const s of u)if(!Awt(t,s.operator,s.operand))return!1;return!0}function Awt(t,u,s){const d=t.compareTo(s);switch(u){case"<":return d<0;case"<=":return d<=0;case">":return d>0;case">=":return d>=0;case"=":return d===0;default:return H.assertNever(u)}}function Swt(t){return Kt(t,Bwt).join(" || ")||"*"}function Bwt(t){return Kt(t,wwt).join(" ")}function wwt(t){return`${t.operator}${t.operand}`}var _qe,Dqe,xqe,vqe,Cqe,a2e,goe,Bp,pO,bqe,yqe,kqe,Fqe,Aqe,Twt=o({"src/compiler/semver.ts"(){So(),_qe=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Dqe=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,xqe=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,vqe=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,Cqe=/^[a-z0-9-]+$/i,a2e=/^(0|[1-9]\d*)$/,goe=class dG{constructor(u,s=0,d=0,f="",p=""){typeof u=="string"&&({major:u,minor:s,patch:d,prerelease:f,build:p}=H.checkDefined(gqe(u),"Invalid version")),H.assert(u>=0,"Invalid argument: major"),H.assert(s>=0,"Invalid argument: minor"),H.assert(d>=0,"Invalid argument: patch");const E=f?ja(f)?f:f.split("."):_t,v=p?ja(p)?p:p.split("."):_t;H.assert(ye(E,b=>xqe.test(b)),"Invalid argument: prerelease"),H.assert(ye(v,b=>Cqe.test(b)),"Invalid argument: build"),this.major=u,this.minor=s,this.patch=d,this.prerelease=E,this.build=v}static tryParse(u){const s=gqe(u);if(!s)return;const{major:d,minor:f,patch:p,prerelease:E,build:v}=s;return new dG(d,f,p,E,v)}compareTo(u){return this===u?0:u===void 0?1:nl(this.major,u.major)||nl(this.minor,u.minor)||nl(this.patch,u.patch)||Cwt(this.prerelease,u.prerelease)}increment(u){switch(u){case"major":return new dG(this.major+1,0,0);case"minor":return new dG(this.major,this.minor+1,0);case"patch":return new dG(this.major,this.minor,this.patch+1);default:return H.assertNever(u)}}with(u){const{major:s=this.major,minor:d=this.minor,patch:f=this.patch,prerelease:p=this.prerelease,build:E=this.build}=u;return new dG(s,d,f,p,E)}toString(){let u=`${this.major}.${this.minor}.${this.patch}`;return Ge(this.prerelease)&&(u+=`-${this.prerelease.join(".")}`),Ge(this.build)&&(u+=`+${this.build.join(".")}`),u}},goe.zero=new goe(0,0,0,["0"]),Bp=goe,pO=class R6t{constructor(u){this._alternatives=u?H.checkDefined(Eqe(u),"Invalid range spec."):_t}static tryParse(u){const s=Eqe(u);if(s){const d=new R6t("");return d._alternatives=s,d}}test(u){return typeof u=="string"&&(u=new Bp(u)),kwt(u,this._alternatives)}toString(){return Swt(this._alternatives)}},bqe=/\|\|/g,yqe=/\s+/g,kqe=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Fqe=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,Aqe=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i}});function Sqe(t,u){return typeof t=="object"&&typeof t.timeOrigin=="number"&&typeof t.mark=="function"&&typeof t.measure=="function"&&typeof t.now=="function"&&typeof t.clearMarks=="function"&&typeof t.clearMeasures=="function"&&typeof u=="function"}function Lwt(){if(typeof performance=="object"&&typeof PerformanceObserver=="function"&&Sqe(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}function Nwt(){if(doe())try{const{performance:t,PerformanceObserver:u}=nS;if(Sqe(t,u))return{shouldWriteNativeEvents:!1,performance:t,PerformanceObserver:u}}catch{}}function o2e(){return Eoe}var Eoe,s2e,H0,Pwt=o({"src/compiler/performanceCore.ts"(){So(),Eoe=Lwt()||Nwt(),s2e=Eoe==null?void 0:Eoe.performance,H0=s2e?()=>s2e.now():Date.now?Date.now:()=>+new Date}}),X$,dh,Mwt=o({"src/compiler/perfLogger.ts"(){try{const t=e.TS_ETW_MODULE_PATH??"./node_modules/@microsoft/typescript-etw";X$=Upt(t)}catch{X$=void 0}dh=X$!=null&&X$.logEvent?X$:void 0}});function Bqe(t,u,s,d){return t?_oe(u,s,d):Doe}function _oe(t,u,s){let d=0;return{enter:f,exit:p};function f(){++d===1&&ul(u)}function p(){--d===0?(ul(s),wm(t,u,s)):d<0&&H.fail("enter/exit count does not match.")}}function ul(t){if(_8){const u=yN.get(t)??0;yN.set(t,u+1),D8.set(t,H0()),Vy==null||Vy.mark(t),typeof onProfilerEvent=="function"&&onProfilerEvent(t)}}function wm(t,u,s){if(_8){const d=(s!==void 0?D8.get(s):void 0)??H0(),f=(u!==void 0?D8.get(u):void 0)??l2e,p=x8.get(t)||0;x8.set(t,p+(d-f)),Vy==null||Vy.measure(t,u,s)}}function zwt(t){return yN.get(t)||0}function Iwt(t){return x8.get(t)||0}function Rwt(t){x8.forEach((u,s)=>t(s,u))}function Owt(t){D8.forEach((u,s)=>t(s))}function jwt(t){t!==void 0?x8.delete(t):x8.clear(),Vy==null||Vy.clearMeasures(t)}function Vwt(t){t!==void 0?(yN.delete(t),D8.delete(t)):(yN.clear(),D8.clear()),Vy==null||Vy.clearMarks(t)}function Hwt(){return _8}function Kwt(t=l1){var u;return _8||(_8=!0,gO||(gO=o2e()),gO&&(l2e=gO.performance.timeOrigin,(gO.shouldWriteNativeEvents||(u=t==null?void 0:t.cpuProfilingEnabled)!=null&&u.call(t)||t!=null&&t.debugMode)&&(Vy=gO.performance))),!0}function Wwt(){_8&&(D8.clear(),yN.clear(),x8.clear(),Vy=void 0,_8=!1)}var gO,Vy,Doe,_8,l2e,D8,yN,x8,Gwt=o({"src/compiler/performance.ts"(){So(),Doe={enter:zs,exit:zs},_8=!1,l2e=H0(),D8=new Map,yN=new Map,x8=new Map}}),c2e={};h(c2e,{clearMarks:()=>Vwt,clearMeasures:()=>jwt,createTimer:()=>_oe,createTimerIf:()=>Bqe,disable:()=>Wwt,enable:()=>Kwt,forEachMark:()=>Owt,forEachMeasure:()=>Rwt,getCount:()=>zwt,getDuration:()=>Iwt,isEnabled:()=>Hwt,mark:()=>ul,measure:()=>wm,nullTimer:()=>Doe});var Hy=o({"src/compiler/_namespaces/ts.performance.ts"(){Gwt()}}),Jn,EO,d2e,h2e,Jwt=o({"src/compiler/tracing.ts"(){So(),Hy(),(t=>{let u,s=0,d=0,f;const p=[];let E;const v=[];function b(Ce,ne,ve){if(H.assert(!Jn,"Tracing already started"),u===void 0)try{u=nS}catch(xe){throw new Error(`tracing requires having fs +(original error: ${xe.message||xe})`)}f=Ce,p.length=0,E===void 0&&(E=dr(ne,"legend.json")),u.existsSync(ne)||u.mkdirSync(ne,{recursive:!0});const Se=f==="build"?`.${process.pid}-${++s}`:f==="server"?`.${process.pid}`:"",Ne=dr(ne,`trace${Se}.json`),pe=dr(ne,`types${Se}.json`);v.push({configFilePath:ve,tracePath:Ne,typesPath:pe}),d=u.openSync(Ne,"w"),Jn=t;const fe={cat:"__metadata",ph:"M",ts:1e3*H0(),pid:1,tid:1};u.writeSync(d,`[ +`+[{name:"process_name",args:{name:"tsc"},...fe},{name:"thread_name",args:{name:"Main"},...fe},{name:"TracingStartedInBrowser",...fe,cat:"disabled-by-default-devtools.timeline"}].map(xe=>JSON.stringify(xe)).join(`, +`))}t.startTracing=b;function B(){H.assert(Jn,"Tracing is not in progress"),H.assert(!!p.length==(f!=="server")),u.writeSync(d,` +] +`),u.closeSync(d),Jn=void 0,p.length?ge(p):v[v.length-1].typesPath=void 0}t.stopTracing=B;function k(Ce){f!=="server"&&p.push(Ce)}t.recordType=k,(Ce=>{Ce.Parse="parse",Ce.Program="program",Ce.Bind="bind",Ce.Check="check",Ce.CheckTypes="checkTypes",Ce.Emit="emit",Ce.Session="session"})(t.Phase||(t.Phase={}));function T(Ce,ne,ve){oe("I",Ce,ne,ve,'"s":"g"')}t.instant=T;const M=[];function z(Ce,ne,ve,Se=!1){Se&&oe("B",Ce,ne,ve),M.push({phase:Ce,name:ne,args:ve,time:1e3*H0(),separateBeginAndEnd:Se})}t.push=z;function j(Ce){H.assert(M.length>0),Y(M.length-1,1e3*H0(),Ce),M.length--}t.pop=j;function J(){const Ce=1e3*H0();for(let ne=M.length-1;ne>=0;ne--)Y(ne,Ce);M.length=0}t.popAll=J;const K=1e3*10;function Y(Ce,ne,ve){const{phase:Se,name:Ne,args:pe,time:fe,separateBeginAndEnd:xe}=M[Ce];xe?(H.assert(!ve,"`results` are not supported for events with `separateBeginAndEnd`"),oe("E",Se,Ne,pe,void 0,ne)):K-fe%K<=ne-fe&&oe("X",Se,Ne,{...pe,results:ve},`"dur":${ne-fe}`,fe)}function oe(Ce,ne,ve,Se,Ne,pe=1e3*H0()){f==="server"&&ne==="checkTypes"||(ul("beginTracing"),u.writeSync(d,`, +{"pid":1,"tid":1,"ph":"${Ce}","cat":"${ne}","ts":${pe},"name":"${ve}"`),Ne&&u.writeSync(d,`,${Ne}`),Se&&u.writeSync(d,`,"args":${JSON.stringify(Se)}`),u.writeSync(d,"}"),ul("endTracing"),wm("Tracing","beginTracing","endTracing"))}function se(Ce){const ne=zn(Ce);return ne?{path:ne.path,start:ve(o0(ne,Ce.pos)),end:ve(o0(ne,Ce.end))}:void 0;function ve(Se){return{line:Se.line+1,character:Se.character+1}}}function ge(Ce){var ne,ve,Se,Ne,pe,fe,xe,Be,We,Ae,De,He,Je,ft,Ze,je,Ke,Gt,Yt;ul("beginDumpTypes");const Ie=v[v.length-1].typesPath,lt=u.openSync(Ie,"w"),St=new Map;u.writeSync(lt,"[");const It=Ce.length;for(let ti=0;tiOn.id),referenceLocation:se(bt.node)}}let rn={};if(ht.flags&16777216){const bt=ht;rn={conditionalCheckType:(fe=bt.checkType)==null?void 0:fe.id,conditionalExtendsType:(xe=bt.extendsType)==null?void 0:xe.id,conditionalTrueType:((Be=bt.resolvedTrueType)==null?void 0:Be.id)??-1,conditionalFalseType:((We=bt.resolvedFalseType)==null?void 0:We.id)??-1}}let Pi={};if(ht.flags&33554432){const bt=ht;Pi={substitutionBaseType:(Ae=bt.baseType)==null?void 0:Ae.id,constraintType:(De=bt.constraint)==null?void 0:De.id}}let ki={};if(Ut&1024){const bt=ht;ki={reverseMappedSourceType:(He=bt.source)==null?void 0:He.id,reverseMappedMappedType:(Je=bt.mappedType)==null?void 0:Je.id,reverseMappedConstraintType:(ft=bt.constraintType)==null?void 0:ft.id}}let Yu={};if(Ut&256){const bt=ht;Yu={evolvingArrayElementType:bt.elementType.id,evolvingArrayFinalType:(Ze=bt.finalArrayType)==null?void 0:Ze.id}}let oa;const Fr=ht.checker.getRecursionIdentity(ht);Fr&&(oa=St.get(Fr),oa||(oa=St.size,St.set(Fr,oa)));const Sa={id:ht.id,intrinsicName:ht.intrinsicName,symbolName:(Ni==null?void 0:Ni.escapedName)&&Qr(Ni.escapedName),recursionId:oa,isTuple:Ut&8?!0:void 0,unionTypes:ht.flags&1048576?(je=ht.types)==null?void 0:je.map(bt=>bt.id):void 0,intersectionTypes:ht.flags&2097152?ht.types.map(bt=>bt.id):void 0,aliasTypeArguments:(Ke=ht.aliasTypeArguments)==null?void 0:Ke.map(bt=>bt.id),keyofType:ht.flags&4194304?(Gt=ht.type)==null?void 0:Gt.id:void 0,...xn,...$n,...rn,...Pi,...ki,...Yu,destructuringPattern:se(ht.pattern),firstDeclaration:se((Yt=Ni==null?void 0:Ni.declarations)==null?void 0:Yt[0]),flags:H.formatTypeFlags(ht.flags).split("|"),display:Vi};u.writeSync(lt,JSON.stringify(Sa)),ti(t[t.Unknown=0]="Unknown",t[t.EndOfFileToken=1]="EndOfFileToken",t[t.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",t[t.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",t[t.NewLineTrivia=4]="NewLineTrivia",t[t.WhitespaceTrivia=5]="WhitespaceTrivia",t[t.ShebangTrivia=6]="ShebangTrivia",t[t.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",t[t.NonTextFileMarkerTrivia=8]="NonTextFileMarkerTrivia",t[t.NumericLiteral=9]="NumericLiteral",t[t.BigIntLiteral=10]="BigIntLiteral",t[t.StringLiteral=11]="StringLiteral",t[t.JsxText=12]="JsxText",t[t.JsxTextAllWhiteSpaces=13]="JsxTextAllWhiteSpaces",t[t.RegularExpressionLiteral=14]="RegularExpressionLiteral",t[t.NoSubstitutionTemplateLiteral=15]="NoSubstitutionTemplateLiteral",t[t.TemplateHead=16]="TemplateHead",t[t.TemplateMiddle=17]="TemplateMiddle",t[t.TemplateTail=18]="TemplateTail",t[t.OpenBraceToken=19]="OpenBraceToken",t[t.CloseBraceToken=20]="CloseBraceToken",t[t.OpenParenToken=21]="OpenParenToken",t[t.CloseParenToken=22]="CloseParenToken",t[t.OpenBracketToken=23]="OpenBracketToken",t[t.CloseBracketToken=24]="CloseBracketToken",t[t.DotToken=25]="DotToken",t[t.DotDotDotToken=26]="DotDotDotToken",t[t.SemicolonToken=27]="SemicolonToken",t[t.CommaToken=28]="CommaToken",t[t.QuestionDotToken=29]="QuestionDotToken",t[t.LessThanToken=30]="LessThanToken",t[t.LessThanSlashToken=31]="LessThanSlashToken",t[t.GreaterThanToken=32]="GreaterThanToken",t[t.LessThanEqualsToken=33]="LessThanEqualsToken",t[t.GreaterThanEqualsToken=34]="GreaterThanEqualsToken",t[t.EqualsEqualsToken=35]="EqualsEqualsToken",t[t.ExclamationEqualsToken=36]="ExclamationEqualsToken",t[t.EqualsEqualsEqualsToken=37]="EqualsEqualsEqualsToken",t[t.ExclamationEqualsEqualsToken=38]="ExclamationEqualsEqualsToken",t[t.EqualsGreaterThanToken=39]="EqualsGreaterThanToken",t[t.PlusToken=40]="PlusToken",t[t.MinusToken=41]="MinusToken",t[t.AsteriskToken=42]="AsteriskToken",t[t.AsteriskAsteriskToken=43]="AsteriskAsteriskToken",t[t.SlashToken=44]="SlashToken",t[t.PercentToken=45]="PercentToken",t[t.PlusPlusToken=46]="PlusPlusToken",t[t.MinusMinusToken=47]="MinusMinusToken",t[t.LessThanLessThanToken=48]="LessThanLessThanToken",t[t.GreaterThanGreaterThanToken=49]="GreaterThanGreaterThanToken",t[t.GreaterThanGreaterThanGreaterThanToken=50]="GreaterThanGreaterThanGreaterThanToken",t[t.AmpersandToken=51]="AmpersandToken",t[t.BarToken=52]="BarToken",t[t.CaretToken=53]="CaretToken",t[t.ExclamationToken=54]="ExclamationToken",t[t.TildeToken=55]="TildeToken",t[t.AmpersandAmpersandToken=56]="AmpersandAmpersandToken",t[t.BarBarToken=57]="BarBarToken",t[t.QuestionToken=58]="QuestionToken",t[t.ColonToken=59]="ColonToken",t[t.AtToken=60]="AtToken",t[t.QuestionQuestionToken=61]="QuestionQuestionToken",t[t.BacktickToken=62]="BacktickToken",t[t.HashToken=63]="HashToken",t[t.EqualsToken=64]="EqualsToken",t[t.PlusEqualsToken=65]="PlusEqualsToken",t[t.MinusEqualsToken=66]="MinusEqualsToken",t[t.AsteriskEqualsToken=67]="AsteriskEqualsToken",t[t.AsteriskAsteriskEqualsToken=68]="AsteriskAsteriskEqualsToken",t[t.SlashEqualsToken=69]="SlashEqualsToken",t[t.PercentEqualsToken=70]="PercentEqualsToken",t[t.LessThanLessThanEqualsToken=71]="LessThanLessThanEqualsToken",t[t.GreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanEqualsToken",t[t.GreaterThanGreaterThanGreaterThanEqualsToken=73]="GreaterThanGreaterThanGreaterThanEqualsToken",t[t.AmpersandEqualsToken=74]="AmpersandEqualsToken",t[t.BarEqualsToken=75]="BarEqualsToken",t[t.BarBarEqualsToken=76]="BarBarEqualsToken",t[t.AmpersandAmpersandEqualsToken=77]="AmpersandAmpersandEqualsToken",t[t.QuestionQuestionEqualsToken=78]="QuestionQuestionEqualsToken",t[t.CaretEqualsToken=79]="CaretEqualsToken",t[t.Identifier=80]="Identifier",t[t.PrivateIdentifier=81]="PrivateIdentifier",t[t.JSDocCommentTextToken=82]="JSDocCommentTextToken",t[t.BreakKeyword=83]="BreakKeyword",t[t.CaseKeyword=84]="CaseKeyword",t[t.CatchKeyword=85]="CatchKeyword",t[t.ClassKeyword=86]="ClassKeyword",t[t.ConstKeyword=87]="ConstKeyword",t[t.ContinueKeyword=88]="ContinueKeyword",t[t.DebuggerKeyword=89]="DebuggerKeyword",t[t.DefaultKeyword=90]="DefaultKeyword",t[t.DeleteKeyword=91]="DeleteKeyword",t[t.DoKeyword=92]="DoKeyword",t[t.ElseKeyword=93]="ElseKeyword",t[t.EnumKeyword=94]="EnumKeyword",t[t.ExportKeyword=95]="ExportKeyword",t[t.ExtendsKeyword=96]="ExtendsKeyword",t[t.FalseKeyword=97]="FalseKeyword",t[t.FinallyKeyword=98]="FinallyKeyword",t[t.ForKeyword=99]="ForKeyword",t[t.FunctionKeyword=100]="FunctionKeyword",t[t.IfKeyword=101]="IfKeyword",t[t.ImportKeyword=102]="ImportKeyword",t[t.InKeyword=103]="InKeyword",t[t.InstanceOfKeyword=104]="InstanceOfKeyword",t[t.NewKeyword=105]="NewKeyword",t[t.NullKeyword=106]="NullKeyword",t[t.ReturnKeyword=107]="ReturnKeyword",t[t.SuperKeyword=108]="SuperKeyword",t[t.SwitchKeyword=109]="SwitchKeyword",t[t.ThisKeyword=110]="ThisKeyword",t[t.ThrowKeyword=111]="ThrowKeyword",t[t.TrueKeyword=112]="TrueKeyword",t[t.TryKeyword=113]="TryKeyword",t[t.TypeOfKeyword=114]="TypeOfKeyword",t[t.VarKeyword=115]="VarKeyword",t[t.VoidKeyword=116]="VoidKeyword",t[t.WhileKeyword=117]="WhileKeyword",t[t.WithKeyword=118]="WithKeyword",t[t.ImplementsKeyword=119]="ImplementsKeyword",t[t.InterfaceKeyword=120]="InterfaceKeyword",t[t.LetKeyword=121]="LetKeyword",t[t.PackageKeyword=122]="PackageKeyword",t[t.PrivateKeyword=123]="PrivateKeyword",t[t.ProtectedKeyword=124]="ProtectedKeyword",t[t.PublicKeyword=125]="PublicKeyword",t[t.StaticKeyword=126]="StaticKeyword",t[t.YieldKeyword=127]="YieldKeyword",t[t.AbstractKeyword=128]="AbstractKeyword",t[t.AccessorKeyword=129]="AccessorKeyword",t[t.AsKeyword=130]="AsKeyword",t[t.AssertsKeyword=131]="AssertsKeyword",t[t.AssertKeyword=132]="AssertKeyword",t[t.AnyKeyword=133]="AnyKeyword",t[t.AsyncKeyword=134]="AsyncKeyword",t[t.AwaitKeyword=135]="AwaitKeyword",t[t.BooleanKeyword=136]="BooleanKeyword",t[t.ConstructorKeyword=137]="ConstructorKeyword",t[t.DeclareKeyword=138]="DeclareKeyword",t[t.GetKeyword=139]="GetKeyword",t[t.InferKeyword=140]="InferKeyword",t[t.IntrinsicKeyword=141]="IntrinsicKeyword",t[t.IsKeyword=142]="IsKeyword",t[t.KeyOfKeyword=143]="KeyOfKeyword",t[t.ModuleKeyword=144]="ModuleKeyword",t[t.NamespaceKeyword=145]="NamespaceKeyword",t[t.NeverKeyword=146]="NeverKeyword",t[t.OutKeyword=147]="OutKeyword",t[t.ReadonlyKeyword=148]="ReadonlyKeyword",t[t.RequireKeyword=149]="RequireKeyword",t[t.NumberKeyword=150]="NumberKeyword",t[t.ObjectKeyword=151]="ObjectKeyword",t[t.SatisfiesKeyword=152]="SatisfiesKeyword",t[t.SetKeyword=153]="SetKeyword",t[t.StringKeyword=154]="StringKeyword",t[t.SymbolKeyword=155]="SymbolKeyword",t[t.TypeKeyword=156]="TypeKeyword",t[t.UndefinedKeyword=157]="UndefinedKeyword",t[t.UniqueKeyword=158]="UniqueKeyword",t[t.UnknownKeyword=159]="UnknownKeyword",t[t.UsingKeyword=160]="UsingKeyword",t[t.FromKeyword=161]="FromKeyword",t[t.GlobalKeyword=162]="GlobalKeyword",t[t.BigIntKeyword=163]="BigIntKeyword",t[t.OverrideKeyword=164]="OverrideKeyword",t[t.OfKeyword=165]="OfKeyword",t[t.QualifiedName=166]="QualifiedName",t[t.ComputedPropertyName=167]="ComputedPropertyName",t[t.TypeParameter=168]="TypeParameter",t[t.Parameter=169]="Parameter",t[t.Decorator=170]="Decorator",t[t.PropertySignature=171]="PropertySignature",t[t.PropertyDeclaration=172]="PropertyDeclaration",t[t.MethodSignature=173]="MethodSignature",t[t.MethodDeclaration=174]="MethodDeclaration",t[t.ClassStaticBlockDeclaration=175]="ClassStaticBlockDeclaration",t[t.Constructor=176]="Constructor",t[t.GetAccessor=177]="GetAccessor",t[t.SetAccessor=178]="SetAccessor",t[t.CallSignature=179]="CallSignature",t[t.ConstructSignature=180]="ConstructSignature",t[t.IndexSignature=181]="IndexSignature",t[t.TypePredicate=182]="TypePredicate",t[t.TypeReference=183]="TypeReference",t[t.FunctionType=184]="FunctionType",t[t.ConstructorType=185]="ConstructorType",t[t.TypeQuery=186]="TypeQuery",t[t.TypeLiteral=187]="TypeLiteral",t[t.ArrayType=188]="ArrayType",t[t.TupleType=189]="TupleType",t[t.OptionalType=190]="OptionalType",t[t.RestType=191]="RestType",t[t.UnionType=192]="UnionType",t[t.IntersectionType=193]="IntersectionType",t[t.ConditionalType=194]="ConditionalType",t[t.InferType=195]="InferType",t[t.ParenthesizedType=196]="ParenthesizedType",t[t.ThisType=197]="ThisType",t[t.TypeOperator=198]="TypeOperator",t[t.IndexedAccessType=199]="IndexedAccessType",t[t.MappedType=200]="MappedType",t[t.LiteralType=201]="LiteralType",t[t.NamedTupleMember=202]="NamedTupleMember",t[t.TemplateLiteralType=203]="TemplateLiteralType",t[t.TemplateLiteralTypeSpan=204]="TemplateLiteralTypeSpan",t[t.ImportType=205]="ImportType",t[t.ObjectBindingPattern=206]="ObjectBindingPattern",t[t.ArrayBindingPattern=207]="ArrayBindingPattern",t[t.BindingElement=208]="BindingElement",t[t.ArrayLiteralExpression=209]="ArrayLiteralExpression",t[t.ObjectLiteralExpression=210]="ObjectLiteralExpression",t[t.PropertyAccessExpression=211]="PropertyAccessExpression",t[t.ElementAccessExpression=212]="ElementAccessExpression",t[t.CallExpression=213]="CallExpression",t[t.NewExpression=214]="NewExpression",t[t.TaggedTemplateExpression=215]="TaggedTemplateExpression",t[t.TypeAssertionExpression=216]="TypeAssertionExpression",t[t.ParenthesizedExpression=217]="ParenthesizedExpression",t[t.FunctionExpression=218]="FunctionExpression",t[t.ArrowFunction=219]="ArrowFunction",t[t.DeleteExpression=220]="DeleteExpression",t[t.TypeOfExpression=221]="TypeOfExpression",t[t.VoidExpression=222]="VoidExpression",t[t.AwaitExpression=223]="AwaitExpression",t[t.PrefixUnaryExpression=224]="PrefixUnaryExpression",t[t.PostfixUnaryExpression=225]="PostfixUnaryExpression",t[t.BinaryExpression=226]="BinaryExpression",t[t.ConditionalExpression=227]="ConditionalExpression",t[t.TemplateExpression=228]="TemplateExpression",t[t.YieldExpression=229]="YieldExpression",t[t.SpreadElement=230]="SpreadElement",t[t.ClassExpression=231]="ClassExpression",t[t.OmittedExpression=232]="OmittedExpression",t[t.ExpressionWithTypeArguments=233]="ExpressionWithTypeArguments",t[t.AsExpression=234]="AsExpression",t[t.NonNullExpression=235]="NonNullExpression",t[t.MetaProperty=236]="MetaProperty",t[t.SyntheticExpression=237]="SyntheticExpression",t[t.SatisfiesExpression=238]="SatisfiesExpression",t[t.TemplateSpan=239]="TemplateSpan",t[t.SemicolonClassElement=240]="SemicolonClassElement",t[t.Block=241]="Block",t[t.EmptyStatement=242]="EmptyStatement",t[t.VariableStatement=243]="VariableStatement",t[t.ExpressionStatement=244]="ExpressionStatement",t[t.IfStatement=245]="IfStatement",t[t.DoStatement=246]="DoStatement",t[t.WhileStatement=247]="WhileStatement",t[t.ForStatement=248]="ForStatement",t[t.ForInStatement=249]="ForInStatement",t[t.ForOfStatement=250]="ForOfStatement",t[t.ContinueStatement=251]="ContinueStatement",t[t.BreakStatement=252]="BreakStatement",t[t.ReturnStatement=253]="ReturnStatement",t[t.WithStatement=254]="WithStatement",t[t.SwitchStatement=255]="SwitchStatement",t[t.LabeledStatement=256]="LabeledStatement",t[t.ThrowStatement=257]="ThrowStatement",t[t.TryStatement=258]="TryStatement",t[t.DebuggerStatement=259]="DebuggerStatement",t[t.VariableDeclaration=260]="VariableDeclaration",t[t.VariableDeclarationList=261]="VariableDeclarationList",t[t.FunctionDeclaration=262]="FunctionDeclaration",t[t.ClassDeclaration=263]="ClassDeclaration",t[t.InterfaceDeclaration=264]="InterfaceDeclaration",t[t.TypeAliasDeclaration=265]="TypeAliasDeclaration",t[t.EnumDeclaration=266]="EnumDeclaration",t[t.ModuleDeclaration=267]="ModuleDeclaration",t[t.ModuleBlock=268]="ModuleBlock",t[t.CaseBlock=269]="CaseBlock",t[t.NamespaceExportDeclaration=270]="NamespaceExportDeclaration",t[t.ImportEqualsDeclaration=271]="ImportEqualsDeclaration",t[t.ImportDeclaration=272]="ImportDeclaration",t[t.ImportClause=273]="ImportClause",t[t.NamespaceImport=274]="NamespaceImport",t[t.NamedImports=275]="NamedImports",t[t.ImportSpecifier=276]="ImportSpecifier",t[t.ExportAssignment=277]="ExportAssignment",t[t.ExportDeclaration=278]="ExportDeclaration",t[t.NamedExports=279]="NamedExports",t[t.NamespaceExport=280]="NamespaceExport",t[t.ExportSpecifier=281]="ExportSpecifier",t[t.MissingDeclaration=282]="MissingDeclaration",t[t.ExternalModuleReference=283]="ExternalModuleReference",t[t.JsxElement=284]="JsxElement",t[t.JsxSelfClosingElement=285]="JsxSelfClosingElement",t[t.JsxOpeningElement=286]="JsxOpeningElement",t[t.JsxClosingElement=287]="JsxClosingElement",t[t.JsxFragment=288]="JsxFragment",t[t.JsxOpeningFragment=289]="JsxOpeningFragment",t[t.JsxClosingFragment=290]="JsxClosingFragment",t[t.JsxAttribute=291]="JsxAttribute",t[t.JsxAttributes=292]="JsxAttributes",t[t.JsxSpreadAttribute=293]="JsxSpreadAttribute",t[t.JsxExpression=294]="JsxExpression",t[t.JsxNamespacedName=295]="JsxNamespacedName",t[t.CaseClause=296]="CaseClause",t[t.DefaultClause=297]="DefaultClause",t[t.HeritageClause=298]="HeritageClause",t[t.CatchClause=299]="CatchClause",t[t.ImportAttributes=300]="ImportAttributes",t[t.ImportAttribute=301]="ImportAttribute",t[t.AssertClause=300]="AssertClause",t[t.AssertEntry=301]="AssertEntry",t[t.ImportTypeAssertionContainer=302]="ImportTypeAssertionContainer",t[t.PropertyAssignment=303]="PropertyAssignment",t[t.ShorthandPropertyAssignment=304]="ShorthandPropertyAssignment",t[t.SpreadAssignment=305]="SpreadAssignment",t[t.EnumMember=306]="EnumMember",t[t.UnparsedPrologue=307]="UnparsedPrologue",t[t.UnparsedPrepend=308]="UnparsedPrepend",t[t.UnparsedText=309]="UnparsedText",t[t.UnparsedInternalText=310]="UnparsedInternalText",t[t.UnparsedSyntheticReference=311]="UnparsedSyntheticReference",t[t.SourceFile=312]="SourceFile",t[t.Bundle=313]="Bundle",t[t.UnparsedSource=314]="UnparsedSource",t[t.InputFiles=315]="InputFiles",t[t.JSDocTypeExpression=316]="JSDocTypeExpression",t[t.JSDocNameReference=317]="JSDocNameReference",t[t.JSDocMemberName=318]="JSDocMemberName",t[t.JSDocAllType=319]="JSDocAllType",t[t.JSDocUnknownType=320]="JSDocUnknownType",t[t.JSDocNullableType=321]="JSDocNullableType",t[t.JSDocNonNullableType=322]="JSDocNonNullableType",t[t.JSDocOptionalType=323]="JSDocOptionalType",t[t.JSDocFunctionType=324]="JSDocFunctionType",t[t.JSDocVariadicType=325]="JSDocVariadicType",t[t.JSDocNamepathType=326]="JSDocNamepathType",t[t.JSDoc=327]="JSDoc",t[t.JSDocComment=327]="JSDocComment",t[t.JSDocText=328]="JSDocText",t[t.JSDocTypeLiteral=329]="JSDocTypeLiteral",t[t.JSDocSignature=330]="JSDocSignature",t[t.JSDocLink=331]="JSDocLink",t[t.JSDocLinkCode=332]="JSDocLinkCode",t[t.JSDocLinkPlain=333]="JSDocLinkPlain",t[t.JSDocTag=334]="JSDocTag",t[t.JSDocAugmentsTag=335]="JSDocAugmentsTag",t[t.JSDocImplementsTag=336]="JSDocImplementsTag",t[t.JSDocAuthorTag=337]="JSDocAuthorTag",t[t.JSDocDeprecatedTag=338]="JSDocDeprecatedTag",t[t.JSDocClassTag=339]="JSDocClassTag",t[t.JSDocPublicTag=340]="JSDocPublicTag",t[t.JSDocPrivateTag=341]="JSDocPrivateTag",t[t.JSDocProtectedTag=342]="JSDocProtectedTag",t[t.JSDocReadonlyTag=343]="JSDocReadonlyTag",t[t.JSDocOverrideTag=344]="JSDocOverrideTag",t[t.JSDocCallbackTag=345]="JSDocCallbackTag",t[t.JSDocOverloadTag=346]="JSDocOverloadTag",t[t.JSDocEnumTag=347]="JSDocEnumTag",t[t.JSDocParameterTag=348]="JSDocParameterTag",t[t.JSDocReturnTag=349]="JSDocReturnTag",t[t.JSDocThisTag=350]="JSDocThisTag",t[t.JSDocTypeTag=351]="JSDocTypeTag",t[t.JSDocTemplateTag=352]="JSDocTemplateTag",t[t.JSDocTypedefTag=353]="JSDocTypedefTag",t[t.JSDocSeeTag=354]="JSDocSeeTag",t[t.JSDocPropertyTag=355]="JSDocPropertyTag",t[t.JSDocThrowsTag=356]="JSDocThrowsTag",t[t.JSDocSatisfiesTag=357]="JSDocSatisfiesTag",t[t.SyntaxList=358]="SyntaxList",t[t.NotEmittedStatement=359]="NotEmittedStatement",t[t.PartiallyEmittedExpression=360]="PartiallyEmittedExpression",t[t.CommaListExpression=361]="CommaListExpression",t[t.SyntheticReferenceExpression=362]="SyntheticReferenceExpression",t[t.Count=363]="Count",t[t.FirstAssignment=64]="FirstAssignment",t[t.LastAssignment=79]="LastAssignment",t[t.FirstCompoundAssignment=65]="FirstCompoundAssignment",t[t.LastCompoundAssignment=79]="LastCompoundAssignment",t[t.FirstReservedWord=83]="FirstReservedWord",t[t.LastReservedWord=118]="LastReservedWord",t[t.FirstKeyword=83]="FirstKeyword",t[t.LastKeyword=165]="LastKeyword",t[t.FirstFutureReservedWord=119]="FirstFutureReservedWord",t[t.LastFutureReservedWord=127]="LastFutureReservedWord",t[t.FirstTypeNode=182]="FirstTypeNode",t[t.LastTypeNode=205]="LastTypeNode",t[t.FirstPunctuation=19]="FirstPunctuation",t[t.LastPunctuation=79]="LastPunctuation",t[t.FirstToken=0]="FirstToken",t[t.LastToken=165]="LastToken",t[t.FirstTriviaToken=2]="FirstTriviaToken",t[t.LastTriviaToken=7]="LastTriviaToken",t[t.FirstLiteralToken=9]="FirstLiteralToken",t[t.LastLiteralToken=15]="LastLiteralToken",t[t.FirstTemplateToken=15]="FirstTemplateToken",t[t.LastTemplateToken=18]="LastTemplateToken",t[t.FirstBinaryOperator=30]="FirstBinaryOperator",t[t.LastBinaryOperator=79]="LastBinaryOperator",t[t.FirstStatement=243]="FirstStatement",t[t.LastStatement=259]="LastStatement",t[t.FirstNode=166]="FirstNode",t[t.FirstJSDocNode=316]="FirstJSDocNode",t[t.LastJSDocNode=357]="LastJSDocNode",t[t.FirstJSDocTagNode=334]="FirstJSDocTagNode",t[t.LastJSDocTagNode=357]="LastJSDocTagNode",t[t.FirstContextualKeyword=128]="FirstContextualKeyword",t[t.LastContextualKeyword=165]="LastContextualKeyword",t))(eU||{}),tU=(t=>(t[t.None=0]="None",t[t.Let=1]="Let",t[t.Const=2]="Const",t[t.Using=4]="Using",t[t.AwaitUsing=6]="AwaitUsing",t[t.NestedNamespace=8]="NestedNamespace",t[t.Synthesized=16]="Synthesized",t[t.Namespace=32]="Namespace",t[t.OptionalChain=64]="OptionalChain",t[t.ExportContext=128]="ExportContext",t[t.ContainsThis=256]="ContainsThis",t[t.HasImplicitReturn=512]="HasImplicitReturn",t[t.HasExplicitReturn=1024]="HasExplicitReturn",t[t.GlobalAugmentation=2048]="GlobalAugmentation",t[t.HasAsyncFunctions=4096]="HasAsyncFunctions",t[t.DisallowInContext=8192]="DisallowInContext",t[t.YieldContext=16384]="YieldContext",t[t.DecoratorContext=32768]="DecoratorContext",t[t.AwaitContext=65536]="AwaitContext",t[t.DisallowConditionalTypesContext=131072]="DisallowConditionalTypesContext",t[t.ThisNodeHasError=262144]="ThisNodeHasError",t[t.JavaScriptFile=524288]="JavaScriptFile",t[t.ThisNodeOrAnySubNodesHasError=1048576]="ThisNodeOrAnySubNodesHasError",t[t.HasAggregatedChildData=2097152]="HasAggregatedChildData",t[t.PossiblyContainsDynamicImport=4194304]="PossiblyContainsDynamicImport",t[t.PossiblyContainsImportMeta=8388608]="PossiblyContainsImportMeta",t[t.JSDoc=16777216]="JSDoc",t[t.Ambient=33554432]="Ambient",t[t.InWithStatement=67108864]="InWithStatement",t[t.JsonFile=134217728]="JsonFile",t[t.TypeCached=268435456]="TypeCached",t[t.Deprecated=536870912]="Deprecated",t[t.BlockScoped=7]="BlockScoped",t[t.Constant=6]="Constant",t[t.ReachabilityCheckFlags=1536]="ReachabilityCheckFlags",t[t.ReachabilityAndEmitFlags=5632]="ReachabilityAndEmitFlags",t[t.ContextFlags=101441536]="ContextFlags",t[t.TypeExcludesFlags=81920]="TypeExcludesFlags",t[t.PermanentlySetIncrementalFlags=12582912]="PermanentlySetIncrementalFlags",t[t.IdentifierHasExtendedUnicodeEscape=256]="IdentifierHasExtendedUnicodeEscape",t[t.IdentifierIsInJSDocNamespace=4096]="IdentifierIsInJSDocNamespace",t))(tU||{}),iU=(t=>(t[t.None=0]="None",t[t.Public=1]="Public",t[t.Private=2]="Private",t[t.Protected=4]="Protected",t[t.Readonly=8]="Readonly",t[t.Override=16]="Override",t[t.Export=32]="Export",t[t.Abstract=64]="Abstract",t[t.Ambient=128]="Ambient",t[t.Static=256]="Static",t[t.Accessor=512]="Accessor",t[t.Async=1024]="Async",t[t.Default=2048]="Default",t[t.Const=4096]="Const",t[t.In=8192]="In",t[t.Out=16384]="Out",t[t.Decorator=32768]="Decorator",t[t.Deprecated=65536]="Deprecated",t[t.JSDocPublic=8388608]="JSDocPublic",t[t.JSDocPrivate=16777216]="JSDocPrivate",t[t.JSDocProtected=33554432]="JSDocProtected",t[t.JSDocReadonly=67108864]="JSDocReadonly",t[t.JSDocOverride=134217728]="JSDocOverride",t[t.SyntacticOrJSDocModifiers=31]="SyntacticOrJSDocModifiers",t[t.SyntacticOnlyModifiers=65504]="SyntacticOnlyModifiers",t[t.SyntacticModifiers=65535]="SyntacticModifiers",t[t.JSDocCacheOnlyModifiers=260046848]="JSDocCacheOnlyModifiers",t[t.JSDocOnlyModifiers=65536]="JSDocOnlyModifiers",t[t.NonCacheOnlyModifiers=131071]="NonCacheOnlyModifiers",t[t.HasComputedJSDocModifiers=268435456]="HasComputedJSDocModifiers",t[t.HasComputedFlags=536870912]="HasComputedFlags",t[t.AccessibilityModifier=7]="AccessibilityModifier",t[t.ParameterPropertyModifier=31]="ParameterPropertyModifier",t[t.NonPublicAccessibilityModifier=6]="NonPublicAccessibilityModifier",t[t.TypeScriptModifier=28895]="TypeScriptModifier",t[t.ExportDefault=2080]="ExportDefault",t[t.All=131071]="All",t[t.Modifier=98303]="Modifier",t))(iU||{}),xoe=(t=>(t[t.None=0]="None",t[t.IntrinsicNamedElement=1]="IntrinsicNamedElement",t[t.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",t[t.IntrinsicElement=3]="IntrinsicElement",t))(xoe||{}),nU=(t=>(t[t.Succeeded=1]="Succeeded",t[t.Failed=2]="Failed",t[t.Reported=4]="Reported",t[t.ReportsUnmeasurable=8]="ReportsUnmeasurable",t[t.ReportsUnreliable=16]="ReportsUnreliable",t[t.ReportsMask=24]="ReportsMask",t))(nU||{}),uU=(t=>(t[t.None=0]="None",t[t.Auto=1]="Auto",t[t.Loop=2]="Loop",t[t.Unique=3]="Unique",t[t.Node=4]="Node",t[t.KindMask=7]="KindMask",t[t.ReservedInNestedScopes=8]="ReservedInNestedScopes",t[t.Optimistic=16]="Optimistic",t[t.FileLevel=32]="FileLevel",t[t.AllowNameSubstitution=64]="AllowNameSubstitution",t))(uU||{}),voe=(t=>(t[t.None=0]="None",t[t.PrecedingLineBreak=1]="PrecedingLineBreak",t[t.PrecedingJSDocComment=2]="PrecedingJSDocComment",t[t.Unterminated=4]="Unterminated",t[t.ExtendedUnicodeEscape=8]="ExtendedUnicodeEscape",t[t.Scientific=16]="Scientific",t[t.Octal=32]="Octal",t[t.HexSpecifier=64]="HexSpecifier",t[t.BinarySpecifier=128]="BinarySpecifier",t[t.OctalSpecifier=256]="OctalSpecifier",t[t.ContainsSeparator=512]="ContainsSeparator",t[t.UnicodeEscape=1024]="UnicodeEscape",t[t.ContainsInvalidEscape=2048]="ContainsInvalidEscape",t[t.HexEscape=4096]="HexEscape",t[t.ContainsLeadingZero=8192]="ContainsLeadingZero",t[t.ContainsInvalidSeparator=16384]="ContainsInvalidSeparator",t[t.BinaryOrOctalSpecifier=384]="BinaryOrOctalSpecifier",t[t.WithSpecifier=448]="WithSpecifier",t[t.StringLiteralFlags=7176]="StringLiteralFlags",t[t.NumericLiteralFlags=25584]="NumericLiteralFlags",t[t.TemplateLiteralLikeFlags=7176]="TemplateLiteralLikeFlags",t[t.IsInvalid=26656]="IsInvalid",t))(voe||{}),_O=(t=>(t[t.Unreachable=1]="Unreachable",t[t.Start=2]="Start",t[t.BranchLabel=4]="BranchLabel",t[t.LoopLabel=8]="LoopLabel",t[t.Assignment=16]="Assignment",t[t.TrueCondition=32]="TrueCondition",t[t.FalseCondition=64]="FalseCondition",t[t.SwitchClause=128]="SwitchClause",t[t.ArrayMutation=256]="ArrayMutation",t[t.Call=512]="Call",t[t.ReduceLabel=1024]="ReduceLabel",t[t.Referenced=2048]="Referenced",t[t.Shared=4096]="Shared",t[t.Label=12]="Label",t[t.Condition=96]="Condition",t))(_O||{}),Coe=(t=>(t[t.ExpectError=0]="ExpectError",t[t.Ignore=1]="Ignore",t))(Coe||{}),v8=class{},rU=(t=>(t[t.RootFile=0]="RootFile",t[t.SourceFromProjectReference=1]="SourceFromProjectReference",t[t.OutputFromProjectReference=2]="OutputFromProjectReference",t[t.Import=3]="Import",t[t.ReferenceFile=4]="ReferenceFile",t[t.TypeReferenceDirective=5]="TypeReferenceDirective",t[t.LibFile=6]="LibFile",t[t.LibReferenceDirective=7]="LibReferenceDirective",t[t.AutomaticTypeDirectiveFile=8]="AutomaticTypeDirectiveFile",t))(rU||{}),boe=(t=>(t[t.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",t[t.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",t[t.ResolutionDiagnostics=2]="ResolutionDiagnostics",t))(boe||{}),yoe=(t=>(t[t.Js=0]="Js",t[t.Dts=1]="Dts",t))(yoe||{}),aU=(t=>(t[t.Not=0]="Not",t[t.SafeModules=1]="SafeModules",t[t.Completely=2]="Completely",t))(aU||{}),koe=(t=>(t[t.Success=0]="Success",t[t.DiagnosticsPresent_OutputsSkipped=1]="DiagnosticsPresent_OutputsSkipped",t[t.DiagnosticsPresent_OutputsGenerated=2]="DiagnosticsPresent_OutputsGenerated",t[t.InvalidProject_OutputsSkipped=3]="InvalidProject_OutputsSkipped",t[t.ProjectReferenceCycle_OutputsSkipped=4]="ProjectReferenceCycle_OutputsSkipped",t))(koe||{}),Foe=(t=>(t[t.Ok=0]="Ok",t[t.NeedsOverride=1]="NeedsOverride",t[t.HasInvalidOverride=2]="HasInvalidOverride",t))(Foe||{}),Aoe=(t=>(t[t.None=0]="None",t[t.Literal=1]="Literal",t[t.Subtype=2]="Subtype",t))(Aoe||{}),Soe=(t=>(t[t.None=0]="None",t[t.Signature=1]="Signature",t[t.NoConstraints=2]="NoConstraints",t[t.Completions=4]="Completions",t[t.SkipBindingPatterns=8]="SkipBindingPatterns",t))(Soe||{}),Boe=(t=>(t[t.None=0]="None",t[t.NoTruncation=1]="NoTruncation",t[t.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",t[t.GenerateNamesForShadowedTypeParams=4]="GenerateNamesForShadowedTypeParams",t[t.UseStructuralFallback=8]="UseStructuralFallback",t[t.ForbidIndexedAccessSymbolReferences=16]="ForbidIndexedAccessSymbolReferences",t[t.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",t[t.UseFullyQualifiedType=64]="UseFullyQualifiedType",t[t.UseOnlyExternalAliasing=128]="UseOnlyExternalAliasing",t[t.SuppressAnyReturnType=256]="SuppressAnyReturnType",t[t.WriteTypeParametersInQualifiedName=512]="WriteTypeParametersInQualifiedName",t[t.MultilineObjectLiterals=1024]="MultilineObjectLiterals",t[t.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",t[t.UseTypeOfFunction=4096]="UseTypeOfFunction",t[t.OmitParameterModifiers=8192]="OmitParameterModifiers",t[t.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",t[t.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",t[t.NoTypeReduction=536870912]="NoTypeReduction",t[t.OmitThisParameter=33554432]="OmitThisParameter",t[t.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",t[t.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",t[t.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",t[t.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",t[t.AllowEmptyTuple=524288]="AllowEmptyTuple",t[t.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",t[t.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",t[t.WriteComputedProps=1073741824]="WriteComputedProps",t[t.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",t[t.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",t[t.IgnoreErrors=70221824]="IgnoreErrors",t[t.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",t[t.InTypeAlias=8388608]="InTypeAlias",t[t.InInitialEntityName=16777216]="InInitialEntityName",t))(Boe||{}),woe=(t=>(t[t.None=0]="None",t[t.NoTruncation=1]="NoTruncation",t[t.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",t[t.UseStructuralFallback=8]="UseStructuralFallback",t[t.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",t[t.UseFullyQualifiedType=64]="UseFullyQualifiedType",t[t.SuppressAnyReturnType=256]="SuppressAnyReturnType",t[t.MultilineObjectLiterals=1024]="MultilineObjectLiterals",t[t.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",t[t.UseTypeOfFunction=4096]="UseTypeOfFunction",t[t.OmitParameterModifiers=8192]="OmitParameterModifiers",t[t.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",t[t.UseSingleQuotesForStringLiteralType=268435456]="UseSingleQuotesForStringLiteralType",t[t.NoTypeReduction=536870912]="NoTypeReduction",t[t.OmitThisParameter=33554432]="OmitThisParameter",t[t.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",t[t.AddUndefined=131072]="AddUndefined",t[t.WriteArrowStyleSignature=262144]="WriteArrowStyleSignature",t[t.InArrayType=524288]="InArrayType",t[t.InElementType=2097152]="InElementType",t[t.InFirstTypeArgument=4194304]="InFirstTypeArgument",t[t.InTypeAlias=8388608]="InTypeAlias",t[t.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",t))(woe||{}),Toe=(t=>(t[t.None=0]="None",t[t.WriteTypeParametersOrArguments=1]="WriteTypeParametersOrArguments",t[t.UseOnlyExternalAliasing=2]="UseOnlyExternalAliasing",t[t.AllowAnyNodeKind=4]="AllowAnyNodeKind",t[t.UseAliasDefinedOutsideCurrentScope=8]="UseAliasDefinedOutsideCurrentScope",t[t.WriteComputedProps=16]="WriteComputedProps",t[t.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",t))(Toe||{}),Loe=(t=>(t[t.Accessible=0]="Accessible",t[t.NotAccessible=1]="NotAccessible",t[t.CannotBeNamed=2]="CannotBeNamed",t))(Loe||{}),Noe=(t=>(t[t.UnionOrIntersection=0]="UnionOrIntersection",t[t.Spread=1]="Spread",t))(Noe||{}),Poe=(t=>(t[t.This=0]="This",t[t.Identifier=1]="Identifier",t[t.AssertsThis=2]="AssertsThis",t[t.AssertsIdentifier=3]="AssertsIdentifier",t))(Poe||{}),Moe=(t=>(t[t.Unknown=0]="Unknown",t[t.TypeWithConstructSignatureAndValue=1]="TypeWithConstructSignatureAndValue",t[t.VoidNullableOrNeverType=2]="VoidNullableOrNeverType",t[t.NumberLikeType=3]="NumberLikeType",t[t.BigIntLikeType=4]="BigIntLikeType",t[t.StringLikeType=5]="StringLikeType",t[t.BooleanType=6]="BooleanType",t[t.ArrayLikeType=7]="ArrayLikeType",t[t.ESSymbolType=8]="ESSymbolType",t[t.Promise=9]="Promise",t[t.TypeWithCallSignature=10]="TypeWithCallSignature",t[t.ObjectType=11]="ObjectType",t))(Moe||{}),oU=(t=>(t[t.None=0]="None",t[t.FunctionScopedVariable=1]="FunctionScopedVariable",t[t.BlockScopedVariable=2]="BlockScopedVariable",t[t.Property=4]="Property",t[t.EnumMember=8]="EnumMember",t[t.Function=16]="Function",t[t.Class=32]="Class",t[t.Interface=64]="Interface",t[t.ConstEnum=128]="ConstEnum",t[t.RegularEnum=256]="RegularEnum",t[t.ValueModule=512]="ValueModule",t[t.NamespaceModule=1024]="NamespaceModule",t[t.TypeLiteral=2048]="TypeLiteral",t[t.ObjectLiteral=4096]="ObjectLiteral",t[t.Method=8192]="Method",t[t.Constructor=16384]="Constructor",t[t.GetAccessor=32768]="GetAccessor",t[t.SetAccessor=65536]="SetAccessor",t[t.Signature=131072]="Signature",t[t.TypeParameter=262144]="TypeParameter",t[t.TypeAlias=524288]="TypeAlias",t[t.ExportValue=1048576]="ExportValue",t[t.Alias=2097152]="Alias",t[t.Prototype=4194304]="Prototype",t[t.ExportStar=8388608]="ExportStar",t[t.Optional=16777216]="Optional",t[t.Transient=33554432]="Transient",t[t.Assignment=67108864]="Assignment",t[t.ModuleExports=134217728]="ModuleExports",t[t.All=67108863]="All",t[t.Enum=384]="Enum",t[t.Variable=3]="Variable",t[t.Value=111551]="Value",t[t.Type=788968]="Type",t[t.Namespace=1920]="Namespace",t[t.Module=1536]="Module",t[t.Accessor=98304]="Accessor",t[t.FunctionScopedVariableExcludes=111550]="FunctionScopedVariableExcludes",t[t.BlockScopedVariableExcludes=111551]="BlockScopedVariableExcludes",t[t.ParameterExcludes=111551]="ParameterExcludes",t[t.PropertyExcludes=0]="PropertyExcludes",t[t.EnumMemberExcludes=900095]="EnumMemberExcludes",t[t.FunctionExcludes=110991]="FunctionExcludes",t[t.ClassExcludes=899503]="ClassExcludes",t[t.InterfaceExcludes=788872]="InterfaceExcludes",t[t.RegularEnumExcludes=899327]="RegularEnumExcludes",t[t.ConstEnumExcludes=899967]="ConstEnumExcludes",t[t.ValueModuleExcludes=110735]="ValueModuleExcludes",t[t.NamespaceModuleExcludes=0]="NamespaceModuleExcludes",t[t.MethodExcludes=103359]="MethodExcludes",t[t.GetAccessorExcludes=46015]="GetAccessorExcludes",t[t.SetAccessorExcludes=78783]="SetAccessorExcludes",t[t.AccessorExcludes=13247]="AccessorExcludes",t[t.TypeParameterExcludes=526824]="TypeParameterExcludes",t[t.TypeAliasExcludes=788968]="TypeAliasExcludes",t[t.AliasExcludes=2097152]="AliasExcludes",t[t.ModuleMember=2623475]="ModuleMember",t[t.ExportHasLocal=944]="ExportHasLocal",t[t.BlockScoped=418]="BlockScoped",t[t.PropertyOrAccessor=98308]="PropertyOrAccessor",t[t.ClassMember=106500]="ClassMember",t[t.ExportSupportsDefaultModifier=112]="ExportSupportsDefaultModifier",t[t.ExportDoesNotSupportDefaultModifier=-113]="ExportDoesNotSupportDefaultModifier",t[t.Classifiable=2885600]="Classifiable",t[t.LateBindingContainer=6256]="LateBindingContainer",t))(oU||{}),zoe=(t=>(t[t.Numeric=0]="Numeric",t[t.Literal=1]="Literal",t))(zoe||{}),Ioe=(t=>(t[t.None=0]="None",t[t.Instantiated=1]="Instantiated",t[t.SyntheticProperty=2]="SyntheticProperty",t[t.SyntheticMethod=4]="SyntheticMethod",t[t.Readonly=8]="Readonly",t[t.ReadPartial=16]="ReadPartial",t[t.WritePartial=32]="WritePartial",t[t.HasNonUniformType=64]="HasNonUniformType",t[t.HasLiteralType=128]="HasLiteralType",t[t.ContainsPublic=256]="ContainsPublic",t[t.ContainsProtected=512]="ContainsProtected",t[t.ContainsPrivate=1024]="ContainsPrivate",t[t.ContainsStatic=2048]="ContainsStatic",t[t.Late=4096]="Late",t[t.ReverseMapped=8192]="ReverseMapped",t[t.OptionalParameter=16384]="OptionalParameter",t[t.RestParameter=32768]="RestParameter",t[t.DeferredType=65536]="DeferredType",t[t.HasNeverType=131072]="HasNeverType",t[t.Mapped=262144]="Mapped",t[t.StripOptional=524288]="StripOptional",t[t.Unresolved=1048576]="Unresolved",t[t.Synthetic=6]="Synthetic",t[t.Discriminant=192]="Discriminant",t[t.Partial=48]="Partial",t))(Ioe||{}),Roe=(t=>(t.Call="__call",t.Constructor="__constructor",t.New="__new",t.Index="__index",t.ExportStar="__export",t.Global="__global",t.Missing="__missing",t.Type="__type",t.Object="__object",t.JSXAttributes="__jsxAttributes",t.Class="__class",t.Function="__function",t.Computed="__computed",t.Resolving="__resolving__",t.ExportEquals="export=",t.Default="default",t.This="this",t))(Roe||{}),Ooe=(t=>(t[t.None=0]="None",t[t.TypeChecked=1]="TypeChecked",t[t.LexicalThis=2]="LexicalThis",t[t.CaptureThis=4]="CaptureThis",t[t.CaptureNewTarget=8]="CaptureNewTarget",t[t.SuperInstance=16]="SuperInstance",t[t.SuperStatic=32]="SuperStatic",t[t.ContextChecked=64]="ContextChecked",t[t.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",t[t.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",t[t.CaptureArguments=512]="CaptureArguments",t[t.EnumValuesComputed=1024]="EnumValuesComputed",t[t.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",t[t.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",t[t.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",t[t.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",t[t.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",t[t.NeedsLoopOutParameter=65536]="NeedsLoopOutParameter",t[t.AssignmentsMarked=131072]="AssignmentsMarked",t[t.ContainsConstructorReference=262144]="ContainsConstructorReference",t[t.ConstructorReference=536870912]="ConstructorReference",t[t.ContainsClassWithPrivateIdentifiers=1048576]="ContainsClassWithPrivateIdentifiers",t[t.ContainsSuperPropertyInStaticInitializer=2097152]="ContainsSuperPropertyInStaticInitializer",t[t.InCheckIdentifier=4194304]="InCheckIdentifier",t))(Ooe||{}),sU=(t=>(t[t.Any=1]="Any",t[t.Unknown=2]="Unknown",t[t.String=4]="String",t[t.Number=8]="Number",t[t.Boolean=16]="Boolean",t[t.Enum=32]="Enum",t[t.BigInt=64]="BigInt",t[t.StringLiteral=128]="StringLiteral",t[t.NumberLiteral=256]="NumberLiteral",t[t.BooleanLiteral=512]="BooleanLiteral",t[t.EnumLiteral=1024]="EnumLiteral",t[t.BigIntLiteral=2048]="BigIntLiteral",t[t.ESSymbol=4096]="ESSymbol",t[t.UniqueESSymbol=8192]="UniqueESSymbol",t[t.Void=16384]="Void",t[t.Undefined=32768]="Undefined",t[t.Null=65536]="Null",t[t.Never=131072]="Never",t[t.TypeParameter=262144]="TypeParameter",t[t.Object=524288]="Object",t[t.Union=1048576]="Union",t[t.Intersection=2097152]="Intersection",t[t.Index=4194304]="Index",t[t.IndexedAccess=8388608]="IndexedAccess",t[t.Conditional=16777216]="Conditional",t[t.Substitution=33554432]="Substitution",t[t.NonPrimitive=67108864]="NonPrimitive",t[t.TemplateLiteral=134217728]="TemplateLiteral",t[t.StringMapping=268435456]="StringMapping",t[t.AnyOrUnknown=3]="AnyOrUnknown",t[t.Nullable=98304]="Nullable",t[t.Literal=2944]="Literal",t[t.Unit=109472]="Unit",t[t.Freshable=2976]="Freshable",t[t.StringOrNumberLiteral=384]="StringOrNumberLiteral",t[t.StringOrNumberLiteralOrUnique=8576]="StringOrNumberLiteralOrUnique",t[t.DefinitelyFalsy=117632]="DefinitelyFalsy",t[t.PossiblyFalsy=117724]="PossiblyFalsy",t[t.Intrinsic=67359327]="Intrinsic",t[t.StringLike=402653316]="StringLike",t[t.NumberLike=296]="NumberLike",t[t.BigIntLike=2112]="BigIntLike",t[t.BooleanLike=528]="BooleanLike",t[t.EnumLike=1056]="EnumLike",t[t.ESSymbolLike=12288]="ESSymbolLike",t[t.VoidLike=49152]="VoidLike",t[t.Primitive=402784252]="Primitive",t[t.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",t[t.DisjointDomains=469892092]="DisjointDomains",t[t.UnionOrIntersection=3145728]="UnionOrIntersection",t[t.StructuredType=3670016]="StructuredType",t[t.TypeVariable=8650752]="TypeVariable",t[t.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",t[t.InstantiablePrimitive=406847488]="InstantiablePrimitive",t[t.Instantiable=465829888]="Instantiable",t[t.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",t[t.ObjectFlagsType=3899393]="ObjectFlagsType",t[t.Simplifiable=25165824]="Simplifiable",t[t.Singleton=67358815]="Singleton",t[t.Narrowable=536624127]="Narrowable",t[t.IncludesMask=473694207]="IncludesMask",t[t.IncludesMissingType=262144]="IncludesMissingType",t[t.IncludesNonWideningType=4194304]="IncludesNonWideningType",t[t.IncludesWildcard=8388608]="IncludesWildcard",t[t.IncludesEmptyObject=16777216]="IncludesEmptyObject",t[t.IncludesInstantiable=33554432]="IncludesInstantiable",t[t.NotPrimitiveUnion=36323331]="NotPrimitiveUnion",t))(sU||{}),lU=(t=>(t[t.None=0]="None",t[t.Class=1]="Class",t[t.Interface=2]="Interface",t[t.Reference=4]="Reference",t[t.Tuple=8]="Tuple",t[t.Anonymous=16]="Anonymous",t[t.Mapped=32]="Mapped",t[t.Instantiated=64]="Instantiated",t[t.ObjectLiteral=128]="ObjectLiteral",t[t.EvolvingArray=256]="EvolvingArray",t[t.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",t[t.ReverseMapped=1024]="ReverseMapped",t[t.JsxAttributes=2048]="JsxAttributes",t[t.JSLiteral=4096]="JSLiteral",t[t.FreshLiteral=8192]="FreshLiteral",t[t.ArrayLiteral=16384]="ArrayLiteral",t[t.PrimitiveUnion=32768]="PrimitiveUnion",t[t.ContainsWideningType=65536]="ContainsWideningType",t[t.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",t[t.NonInferrableType=262144]="NonInferrableType",t[t.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",t[t.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",t[t.ClassOrInterface=3]="ClassOrInterface",t[t.RequiresWidening=196608]="RequiresWidening",t[t.PropagatingFlags=458752]="PropagatingFlags",t[t.InstantiatedMapped=96]="InstantiatedMapped",t[t.ObjectTypeKindMask=1343]="ObjectTypeKindMask",t[t.ContainsSpread=2097152]="ContainsSpread",t[t.ObjectRestType=4194304]="ObjectRestType",t[t.InstantiationExpressionType=8388608]="InstantiationExpressionType",t[t.IsClassInstanceClone=16777216]="IsClassInstanceClone",t[t.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",t[t.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",t[t.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",t[t.IsGenericObjectType=4194304]="IsGenericObjectType",t[t.IsGenericIndexType=8388608]="IsGenericIndexType",t[t.IsGenericType=12582912]="IsGenericType",t[t.ContainsIntersections=16777216]="ContainsIntersections",t[t.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",t[t.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",t[t.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",t[t.IsNeverIntersection=33554432]="IsNeverIntersection",t))(lU||{}),joe=(t=>(t[t.Invariant=0]="Invariant",t[t.Covariant=1]="Covariant",t[t.Contravariant=2]="Contravariant",t[t.Bivariant=3]="Bivariant",t[t.Independent=4]="Independent",t[t.VarianceMask=7]="VarianceMask",t[t.Unmeasurable=8]="Unmeasurable",t[t.Unreliable=16]="Unreliable",t[t.AllowsStructuralFallback=24]="AllowsStructuralFallback",t))(joe||{}),Voe=(t=>(t[t.Required=1]="Required",t[t.Optional=2]="Optional",t[t.Rest=4]="Rest",t[t.Variadic=8]="Variadic",t[t.Fixed=3]="Fixed",t[t.Variable=12]="Variable",t[t.NonRequired=14]="NonRequired",t[t.NonRest=11]="NonRest",t))(Voe||{}),Hoe=(t=>(t[t.None=0]="None",t[t.IncludeUndefined=1]="IncludeUndefined",t[t.NoIndexSignatures=2]="NoIndexSignatures",t[t.Writing=4]="Writing",t[t.CacheSymbol=8]="CacheSymbol",t[t.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",t[t.ExpressionPosition=32]="ExpressionPosition",t[t.ReportDeprecated=64]="ReportDeprecated",t[t.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",t[t.Contextual=256]="Contextual",t[t.Persistent=1]="Persistent",t))(Hoe||{}),Koe=(t=>(t[t.None=0]="None",t[t.StringsOnly=1]="StringsOnly",t[t.NoIndexSignatures=2]="NoIndexSignatures",t[t.NoReducibleCheck=4]="NoReducibleCheck",t))(Koe||{}),Woe=(t=>(t[t.Component=0]="Component",t[t.Function=1]="Function",t[t.Mixed=2]="Mixed",t))(Woe||{}),Goe=(t=>(t[t.Call=0]="Call",t[t.Construct=1]="Construct",t))(Goe||{}),cU=(t=>(t[t.None=0]="None",t[t.HasRestParameter=1]="HasRestParameter",t[t.HasLiteralTypes=2]="HasLiteralTypes",t[t.Abstract=4]="Abstract",t[t.IsInnerCallChain=8]="IsInnerCallChain",t[t.IsOuterCallChain=16]="IsOuterCallChain",t[t.IsUntypedSignatureInJSFile=32]="IsUntypedSignatureInJSFile",t[t.IsNonInferrable=64]="IsNonInferrable",t[t.IsSignatureCandidateForOverloadFailure=128]="IsSignatureCandidateForOverloadFailure",t[t.PropagatingFlags=167]="PropagatingFlags",t[t.CallChainFlags=24]="CallChainFlags",t))(cU||{}),Joe=(t=>(t[t.String=0]="String",t[t.Number=1]="Number",t))(Joe||{}),$oe=(t=>(t[t.Simple=0]="Simple",t[t.Array=1]="Array",t[t.Deferred=2]="Deferred",t[t.Function=3]="Function",t[t.Composite=4]="Composite",t[t.Merged=5]="Merged",t))($oe||{}),Uoe=(t=>(t[t.None=0]="None",t[t.NakedTypeVariable=1]="NakedTypeVariable",t[t.SpeculativeTuple=2]="SpeculativeTuple",t[t.SubstituteSource=4]="SubstituteSource",t[t.HomomorphicMappedType=8]="HomomorphicMappedType",t[t.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",t[t.MappedTypeConstraint=32]="MappedTypeConstraint",t[t.ContravariantConditional=64]="ContravariantConditional",t[t.ReturnType=128]="ReturnType",t[t.LiteralKeyof=256]="LiteralKeyof",t[t.NoConstraints=512]="NoConstraints",t[t.AlwaysStrict=1024]="AlwaysStrict",t[t.MaxValue=2048]="MaxValue",t[t.PriorityImpliesCombination=416]="PriorityImpliesCombination",t[t.Circularity=-1]="Circularity",t))(Uoe||{}),qoe=(t=>(t[t.None=0]="None",t[t.NoDefault=1]="NoDefault",t[t.AnyDefault=2]="AnyDefault",t[t.SkippedGenericFunction=4]="SkippedGenericFunction",t))(qoe||{}),Zoe=(t=>(t[t.False=0]="False",t[t.Unknown=1]="Unknown",t[t.Maybe=3]="Maybe",t[t.True=-1]="True",t))(Zoe||{}),Yoe=(t=>(t[t.None=0]="None",t[t.ExportsProperty=1]="ExportsProperty",t[t.ModuleExports=2]="ModuleExports",t[t.PrototypeProperty=3]="PrototypeProperty",t[t.ThisProperty=4]="ThisProperty",t[t.Property=5]="Property",t[t.Prototype=6]="Prototype",t[t.ObjectDefinePropertyValue=7]="ObjectDefinePropertyValue",t[t.ObjectDefinePropertyExports=8]="ObjectDefinePropertyExports",t[t.ObjectDefinePrototypeProperty=9]="ObjectDefinePrototypeProperty",t))(Yoe||{}),DO=(t=>(t[t.Warning=0]="Warning",t[t.Error=1]="Error",t[t.Suggestion=2]="Suggestion",t[t.Message=3]="Message",t))(DO||{}),C8=(t=>(t[t.Classic=1]="Classic",t[t.NodeJs=2]="NodeJs",t[t.Node10=2]="Node10",t[t.Node16=3]="Node16",t[t.NodeNext=99]="NodeNext",t[t.Bundler=100]="Bundler",t))(C8||{}),Qoe=(t=>(t[t.Legacy=1]="Legacy",t[t.Auto=2]="Auto",t[t.Force=3]="Force",t))(Qoe||{}),Xoe=(t=>(t[t.FixedPollingInterval=0]="FixedPollingInterval",t[t.PriorityPollingInterval=1]="PriorityPollingInterval",t[t.DynamicPriorityPolling=2]="DynamicPriorityPolling",t[t.FixedChunkSizePolling=3]="FixedChunkSizePolling",t[t.UseFsEvents=4]="UseFsEvents",t[t.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",t))(Xoe||{}),ese=(t=>(t[t.UseFsEvents=0]="UseFsEvents",t[t.FixedPollingInterval=1]="FixedPollingInterval",t[t.DynamicPriorityPolling=2]="DynamicPriorityPolling",t[t.FixedChunkSizePolling=3]="FixedChunkSizePolling",t))(ese||{}),tse=(t=>(t[t.FixedInterval=0]="FixedInterval",t[t.PriorityInterval=1]="PriorityInterval",t[t.DynamicPriority=2]="DynamicPriority",t[t.FixedChunkSize=3]="FixedChunkSize",t))(tse||{}),kN=(t=>(t[t.None=0]="None",t[t.CommonJS=1]="CommonJS",t[t.AMD=2]="AMD",t[t.UMD=3]="UMD",t[t.System=4]="System",t[t.ES2015=5]="ES2015",t[t.ES2020=6]="ES2020",t[t.ES2022=7]="ES2022",t[t.ESNext=99]="ESNext",t[t.Node16=100]="Node16",t[t.NodeNext=199]="NodeNext",t))(kN||{}),ise=(t=>(t[t.None=0]="None",t[t.Preserve=1]="Preserve",t[t.React=2]="React",t[t.ReactNative=3]="ReactNative",t[t.ReactJSX=4]="ReactJSX",t[t.ReactJSXDev=5]="ReactJSXDev",t))(ise||{}),nse=(t=>(t[t.Remove=0]="Remove",t[t.Preserve=1]="Preserve",t[t.Error=2]="Error",t))(nse||{}),use=(t=>(t[t.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",t[t.LineFeed=1]="LineFeed",t))(use||{}),dU=(t=>(t[t.Unknown=0]="Unknown",t[t.JS=1]="JS",t[t.JSX=2]="JSX",t[t.TS=3]="TS",t[t.TSX=4]="TSX",t[t.External=5]="External",t[t.JSON=6]="JSON",t[t.Deferred=7]="Deferred",t))(dU||{}),rse=(t=>(t[t.ES3=0]="ES3",t[t.ES5=1]="ES5",t[t.ES2015=2]="ES2015",t[t.ES2016=3]="ES2016",t[t.ES2017=4]="ES2017",t[t.ES2018=5]="ES2018",t[t.ES2019=6]="ES2019",t[t.ES2020=7]="ES2020",t[t.ES2021=8]="ES2021",t[t.ES2022=9]="ES2022",t[t.ESNext=99]="ESNext",t[t.JSON=100]="JSON",t[t.Latest=99]="Latest",t))(rse||{}),ase=(t=>(t[t.Standard=0]="Standard",t[t.JSX=1]="JSX",t))(ase||{}),ose=(t=>(t[t.None=0]="None",t[t.Recursive=1]="Recursive",t))(ose||{}),sse=(t=>(t[t.nullCharacter=0]="nullCharacter",t[t.maxAsciiCharacter=127]="maxAsciiCharacter",t[t.lineFeed=10]="lineFeed",t[t.carriageReturn=13]="carriageReturn",t[t.lineSeparator=8232]="lineSeparator",t[t.paragraphSeparator=8233]="paragraphSeparator",t[t.nextLine=133]="nextLine",t[t.space=32]="space",t[t.nonBreakingSpace=160]="nonBreakingSpace",t[t.enQuad=8192]="enQuad",t[t.emQuad=8193]="emQuad",t[t.enSpace=8194]="enSpace",t[t.emSpace=8195]="emSpace",t[t.threePerEmSpace=8196]="threePerEmSpace",t[t.fourPerEmSpace=8197]="fourPerEmSpace",t[t.sixPerEmSpace=8198]="sixPerEmSpace",t[t.figureSpace=8199]="figureSpace",t[t.punctuationSpace=8200]="punctuationSpace",t[t.thinSpace=8201]="thinSpace",t[t.hairSpace=8202]="hairSpace",t[t.zeroWidthSpace=8203]="zeroWidthSpace",t[t.narrowNoBreakSpace=8239]="narrowNoBreakSpace",t[t.ideographicSpace=12288]="ideographicSpace",t[t.mathematicalSpace=8287]="mathematicalSpace",t[t.ogham=5760]="ogham",t[t.replacementCharacter=65533]="replacementCharacter",t[t._=95]="_",t[t.$=36]="$",t[t._0=48]="_0",t[t._1=49]="_1",t[t._2=50]="_2",t[t._3=51]="_3",t[t._4=52]="_4",t[t._5=53]="_5",t[t._6=54]="_6",t[t._7=55]="_7",t[t._8=56]="_8",t[t._9=57]="_9",t[t.a=97]="a",t[t.b=98]="b",t[t.c=99]="c",t[t.d=100]="d",t[t.e=101]="e",t[t.f=102]="f",t[t.g=103]="g",t[t.h=104]="h",t[t.i=105]="i",t[t.j=106]="j",t[t.k=107]="k",t[t.l=108]="l",t[t.m=109]="m",t[t.n=110]="n",t[t.o=111]="o",t[t.p=112]="p",t[t.q=113]="q",t[t.r=114]="r",t[t.s=115]="s",t[t.t=116]="t",t[t.u=117]="u",t[t.v=118]="v",t[t.w=119]="w",t[t.x=120]="x",t[t.y=121]="y",t[t.z=122]="z",t[t.A=65]="A",t[t.B=66]="B",t[t.C=67]="C",t[t.D=68]="D",t[t.E=69]="E",t[t.F=70]="F",t[t.G=71]="G",t[t.H=72]="H",t[t.I=73]="I",t[t.J=74]="J",t[t.K=75]="K",t[t.L=76]="L",t[t.M=77]="M",t[t.N=78]="N",t[t.O=79]="O",t[t.P=80]="P",t[t.Q=81]="Q",t[t.R=82]="R",t[t.S=83]="S",t[t.T=84]="T",t[t.U=85]="U",t[t.V=86]="V",t[t.W=87]="W",t[t.X=88]="X",t[t.Y=89]="Y",t[t.Z=90]="Z",t[t.ampersand=38]="ampersand",t[t.asterisk=42]="asterisk",t[t.at=64]="at",t[t.backslash=92]="backslash",t[t.backtick=96]="backtick",t[t.bar=124]="bar",t[t.caret=94]="caret",t[t.closeBrace=125]="closeBrace",t[t.closeBracket=93]="closeBracket",t[t.closeParen=41]="closeParen",t[t.colon=58]="colon",t[t.comma=44]="comma",t[t.dot=46]="dot",t[t.doubleQuote=34]="doubleQuote",t[t.equals=61]="equals",t[t.exclamation=33]="exclamation",t[t.greaterThan=62]="greaterThan",t[t.hash=35]="hash",t[t.lessThan=60]="lessThan",t[t.minus=45]="minus",t[t.openBrace=123]="openBrace",t[t.openBracket=91]="openBracket",t[t.openParen=40]="openParen",t[t.percent=37]="percent",t[t.plus=43]="plus",t[t.question=63]="question",t[t.semicolon=59]="semicolon",t[t.singleQuote=39]="singleQuote",t[t.slash=47]="slash",t[t.tilde=126]="tilde",t[t.backspace=8]="backspace",t[t.formFeed=12]="formFeed",t[t.byteOrderMark=65279]="byteOrderMark",t[t.tab=9]="tab",t[t.verticalTab=11]="verticalTab",t))(sse||{}),lse=(t=>(t.Ts=".ts",t.Tsx=".tsx",t.Dts=".d.ts",t.Js=".js",t.Jsx=".jsx",t.Json=".json",t.TsBuildInfo=".tsbuildinfo",t.Mjs=".mjs",t.Mts=".mts",t.Dmts=".d.mts",t.Cjs=".cjs",t.Cts=".cts",t.Dcts=".d.cts",t))(lse||{}),hU=(t=>(t[t.None=0]="None",t[t.ContainsTypeScript=1]="ContainsTypeScript",t[t.ContainsJsx=2]="ContainsJsx",t[t.ContainsESNext=4]="ContainsESNext",t[t.ContainsES2022=8]="ContainsES2022",t[t.ContainsES2021=16]="ContainsES2021",t[t.ContainsES2020=32]="ContainsES2020",t[t.ContainsES2019=64]="ContainsES2019",t[t.ContainsES2018=128]="ContainsES2018",t[t.ContainsES2017=256]="ContainsES2017",t[t.ContainsES2016=512]="ContainsES2016",t[t.ContainsES2015=1024]="ContainsES2015",t[t.ContainsGenerator=2048]="ContainsGenerator",t[t.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",t[t.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",t[t.ContainsLexicalThis=16384]="ContainsLexicalThis",t[t.ContainsRestOrSpread=32768]="ContainsRestOrSpread",t[t.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",t[t.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",t[t.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",t[t.ContainsBindingPattern=524288]="ContainsBindingPattern",t[t.ContainsYield=1048576]="ContainsYield",t[t.ContainsAwait=2097152]="ContainsAwait",t[t.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",t[t.ContainsDynamicImport=8388608]="ContainsDynamicImport",t[t.ContainsClassFields=16777216]="ContainsClassFields",t[t.ContainsDecorators=33554432]="ContainsDecorators",t[t.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",t[t.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",t[t.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",t[t.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",t[t.HasComputedFlags=-2147483648]="HasComputedFlags",t[t.AssertTypeScript=1]="AssertTypeScript",t[t.AssertJsx=2]="AssertJsx",t[t.AssertESNext=4]="AssertESNext",t[t.AssertES2022=8]="AssertES2022",t[t.AssertES2021=16]="AssertES2021",t[t.AssertES2020=32]="AssertES2020",t[t.AssertES2019=64]="AssertES2019",t[t.AssertES2018=128]="AssertES2018",t[t.AssertES2017=256]="AssertES2017",t[t.AssertES2016=512]="AssertES2016",t[t.AssertES2015=1024]="AssertES2015",t[t.AssertGenerator=2048]="AssertGenerator",t[t.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",t[t.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",t[t.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",t[t.NodeExcludes=-2147483648]="NodeExcludes",t[t.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",t[t.FunctionExcludes=-1937940480]="FunctionExcludes",t[t.ConstructorExcludes=-1937948672]="ConstructorExcludes",t[t.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",t[t.PropertyExcludes=-2013249536]="PropertyExcludes",t[t.ClassExcludes=-2147344384]="ClassExcludes",t[t.ModuleExcludes=-1941676032]="ModuleExcludes",t[t.TypeExcludes=-2]="TypeExcludes",t[t.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",t[t.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",t[t.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",t[t.ParameterExcludes=-2147483648]="ParameterExcludes",t[t.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",t[t.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",t[t.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",t[t.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",t))(hU||{}),fU=(t=>(t[t.TabStop=0]="TabStop",t[t.Placeholder=1]="Placeholder",t[t.Choice=2]="Choice",t[t.Variable=3]="Variable",t))(fU||{}),mU=(t=>(t[t.None=0]="None",t[t.SingleLine=1]="SingleLine",t[t.MultiLine=2]="MultiLine",t[t.AdviseOnEmitNode=4]="AdviseOnEmitNode",t[t.NoSubstitution=8]="NoSubstitution",t[t.CapturesThis=16]="CapturesThis",t[t.NoLeadingSourceMap=32]="NoLeadingSourceMap",t[t.NoTrailingSourceMap=64]="NoTrailingSourceMap",t[t.NoSourceMap=96]="NoSourceMap",t[t.NoNestedSourceMaps=128]="NoNestedSourceMaps",t[t.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",t[t.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",t[t.NoTokenSourceMaps=768]="NoTokenSourceMaps",t[t.NoLeadingComments=1024]="NoLeadingComments",t[t.NoTrailingComments=2048]="NoTrailingComments",t[t.NoComments=3072]="NoComments",t[t.NoNestedComments=4096]="NoNestedComments",t[t.HelperName=8192]="HelperName",t[t.ExportName=16384]="ExportName",t[t.LocalName=32768]="LocalName",t[t.InternalName=65536]="InternalName",t[t.Indented=131072]="Indented",t[t.NoIndentation=262144]="NoIndentation",t[t.AsyncFunctionBody=524288]="AsyncFunctionBody",t[t.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",t[t.CustomPrologue=2097152]="CustomPrologue",t[t.NoHoisting=4194304]="NoHoisting",t[t.Iterator=8388608]="Iterator",t[t.NoAsciiEscaping=16777216]="NoAsciiEscaping",t))(mU||{}),cse=(t=>(t[t.None=0]="None",t[t.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",t[t.NeverApplyImportHelper=2]="NeverApplyImportHelper",t[t.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",t[t.Immutable=8]="Immutable",t[t.IndirectCall=16]="IndirectCall",t[t.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",t))(cse||{}),dse=(t=>(t[t.Extends=1]="Extends",t[t.Assign=2]="Assign",t[t.Rest=4]="Rest",t[t.Decorate=8]="Decorate",t[t.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",t[t.Metadata=16]="Metadata",t[t.Param=32]="Param",t[t.Awaiter=64]="Awaiter",t[t.Generator=128]="Generator",t[t.Values=256]="Values",t[t.Read=512]="Read",t[t.SpreadArray=1024]="SpreadArray",t[t.Await=2048]="Await",t[t.AsyncGenerator=4096]="AsyncGenerator",t[t.AsyncDelegator=8192]="AsyncDelegator",t[t.AsyncValues=16384]="AsyncValues",t[t.ExportStar=32768]="ExportStar",t[t.ImportStar=65536]="ImportStar",t[t.ImportDefault=131072]="ImportDefault",t[t.MakeTemplateObject=262144]="MakeTemplateObject",t[t.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",t[t.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",t[t.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",t[t.CreateBinding=4194304]="CreateBinding",t[t.SetFunctionName=8388608]="SetFunctionName",t[t.PropKey=16777216]="PropKey",t[t.AddDisposableResourceAndDisposeResources=33554432]="AddDisposableResourceAndDisposeResources",t[t.FirstEmitHelper=1]="FirstEmitHelper",t[t.LastEmitHelper=33554432]="LastEmitHelper",t[t.ForOfIncludes=256]="ForOfIncludes",t[t.ForAwaitOfIncludes=16384]="ForAwaitOfIncludes",t[t.AsyncGeneratorIncludes=6144]="AsyncGeneratorIncludes",t[t.AsyncDelegatorIncludes=26624]="AsyncDelegatorIncludes",t[t.SpreadIncludes=1536]="SpreadIncludes",t))(dse||{}),hse=(t=>(t[t.SourceFile=0]="SourceFile",t[t.Expression=1]="Expression",t[t.IdentifierName=2]="IdentifierName",t[t.MappedTypeParameter=3]="MappedTypeParameter",t[t.Unspecified=4]="Unspecified",t[t.EmbeddedStatement=5]="EmbeddedStatement",t[t.JsxAttributeValue=6]="JsxAttributeValue",t))(hse||{}),fse=(t=>(t[t.Parentheses=1]="Parentheses",t[t.TypeAssertions=2]="TypeAssertions",t[t.NonNullAssertions=4]="NonNullAssertions",t[t.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",t[t.Assertions=6]="Assertions",t[t.All=15]="All",t[t.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",t))(fse||{}),mse=(t=>(t[t.None=0]="None",t[t.InParameters=1]="InParameters",t[t.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",t))(mse||{}),pse=(t=>(t.Prologue="prologue",t.EmitHelpers="emitHelpers",t.NoDefaultLib="no-default-lib",t.Reference="reference",t.Type="type",t.TypeResolutionModeRequire="type-require",t.TypeResolutionModeImport="type-import",t.Lib="lib",t.Prepend="prepend",t.Text="text",t.Internal="internal",t))(pse||{}),gse=(t=>(t[t.None=0]="None",t[t.SingleLine=0]="SingleLine",t[t.MultiLine=1]="MultiLine",t[t.PreserveLines=2]="PreserveLines",t[t.LinesMask=3]="LinesMask",t[t.NotDelimited=0]="NotDelimited",t[t.BarDelimited=4]="BarDelimited",t[t.AmpersandDelimited=8]="AmpersandDelimited",t[t.CommaDelimited=16]="CommaDelimited",t[t.AsteriskDelimited=32]="AsteriskDelimited",t[t.DelimitersMask=60]="DelimitersMask",t[t.AllowTrailingComma=64]="AllowTrailingComma",t[t.Indented=128]="Indented",t[t.SpaceBetweenBraces=256]="SpaceBetweenBraces",t[t.SpaceBetweenSiblings=512]="SpaceBetweenSiblings",t[t.Braces=1024]="Braces",t[t.Parenthesis=2048]="Parenthesis",t[t.AngleBrackets=4096]="AngleBrackets",t[t.SquareBrackets=8192]="SquareBrackets",t[t.BracketsMask=15360]="BracketsMask",t[t.OptionalIfUndefined=16384]="OptionalIfUndefined",t[t.OptionalIfEmpty=32768]="OptionalIfEmpty",t[t.Optional=49152]="Optional",t[t.PreferNewLine=65536]="PreferNewLine",t[t.NoTrailingNewLine=131072]="NoTrailingNewLine",t[t.NoInterveningComments=262144]="NoInterveningComments",t[t.NoSpaceIfEmpty=524288]="NoSpaceIfEmpty",t[t.SingleElement=1048576]="SingleElement",t[t.SpaceAfterList=2097152]="SpaceAfterList",t[t.Modifiers=2359808]="Modifiers",t[t.HeritageClauses=512]="HeritageClauses",t[t.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",t[t.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",t[t.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",t[t.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",t[t.UnionTypeConstituents=516]="UnionTypeConstituents",t[t.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",t[t.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",t[t.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",t[t.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",t[t.ImportAttributes=526226]="ImportAttributes",t[t.ImportClauseEntries=526226]="ImportClauseEntries",t[t.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",t[t.CommaListElements=528]="CommaListElements",t[t.CallExpressionArguments=2576]="CallExpressionArguments",t[t.NewExpressionArguments=18960]="NewExpressionArguments",t[t.TemplateExpressionSpans=262144]="TemplateExpressionSpans",t[t.SingleLineBlockStatements=768]="SingleLineBlockStatements",t[t.MultiLineBlockStatements=129]="MultiLineBlockStatements",t[t.VariableDeclarationList=528]="VariableDeclarationList",t[t.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",t[t.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",t[t.ClassHeritageClauses=0]="ClassHeritageClauses",t[t.ClassMembers=129]="ClassMembers",t[t.InterfaceMembers=129]="InterfaceMembers",t[t.EnumMembers=145]="EnumMembers",t[t.CaseBlockClauses=129]="CaseBlockClauses",t[t.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",t[t.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",t[t.JsxElementAttributes=262656]="JsxElementAttributes",t[t.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",t[t.HeritageClauseTypes=528]="HeritageClauseTypes",t[t.SourceFileStatements=131073]="SourceFileStatements",t[t.Decorators=2146305]="Decorators",t[t.TypeArguments=53776]="TypeArguments",t[t.TypeParameters=53776]="TypeParameters",t[t.Parameters=2576]="Parameters",t[t.IndexSignatureParameters=8848]="IndexSignatureParameters",t[t.JSDocComment=33]="JSDocComment",t))(gse||{}),Ese=(t=>(t[t.None=0]="None",t[t.TripleSlashXML=1]="TripleSlashXML",t[t.SingleLine=2]="SingleLine",t[t.MultiLine=4]="MultiLine",t[t.All=7]="All",t[t.Default=7]="Default",t))(Ese||{}),xO={reference:{args:[{name:"types",optional:!0,captureSpan:!0},{name:"lib",optional:!0,captureSpan:!0},{name:"path",optional:!0,captureSpan:!0},{name:"no-default-lib",optional:!0},{name:"resolution-mode",optional:!0}],kind:1},"amd-dependency":{args:[{name:"path"},{name:"name",optional:!0}],kind:1},"amd-module":{args:[{name:"name"}],kind:1},"ts-check":{kind:2},"ts-nocheck":{kind:2},jsx:{args:[{name:"factory"}],kind:4},jsxfrag:{args:[{name:"factory"}],kind:4},jsximportsource:{args:[{name:"factory"}],kind:4},jsxruntime:{args:[{name:"factory"}],kind:4}},_se=(t=>(t[t.ParseAll=0]="ParseAll",t[t.ParseNone=1]="ParseNone",t[t.ParseForTypeErrors=2]="ParseForTypeErrors",t[t.ParseForTypeInfo=3]="ParseForTypeInfo",t))(_se||{})}});function FN(t){let u=5381;for(let s=0;s{se.isClosed=!0,Oy(u,se)}}}function v(K){const Y=[];return Y.pollingInterval=K,Y.pollIndex=0,Y.pollScheduled=!1,Y}function b(K,Y){Y.pollIndex=k(Y,Y.pollingInterval,Y.pollIndex,EU[Y.pollingInterval]),Y.length?J(Y.pollingInterval):(H.assert(Y.pollIndex===0),Y.pollScheduled=!1)}function B(K,Y){k(s,250,0,s.length),b(K,Y),!Y.pollScheduled&&s.length&&J(250)}function k(K,Y,oe,se){return Lqe(t,K,oe,se,ge);function ge(ae,Ce,ne){ne?(ae.unchangedPolls=0,K!==s&&(K[Ce]=void 0,z(ae))):ae.unchangedPolls!==CO[Y]?ae.unchangedPolls++:K===s?(ae.unchangedPolls=1,K[Ce]=void 0,M(ae,250)):Y!==2e3&&(ae.unchangedPolls++,K[Ce]=void 0,M(ae,Y===250?500:2e3))}}function T(K){switch(K){case 250:return d;case 500:return f;case 2e3:return p}}function M(K,Y){T(Y).push(K),j(Y)}function z(K){s.push(K),j(250)}function j(K){T(K).pollScheduled||J(K)}function J(K){T(K).pollScheduled=t.setTimeout(K===250?B:b,K,K===250?"pollLowPollingIntervalQueue":"pollPollingIntervalQueue",T(K))}}function qwt(t,u){const s=Bm(),d=new Map,f=T1(u);return p;function p(v,b,B,k){const T=f(v);s.add(T,b);const M=cr(T)||".",z=d.get(M)||E(cr(v)||".",M,k);return z.referenceCount++,{close:()=>{z.referenceCount===1?(z.close(),d.delete(M)):z.referenceCount--,s.remove(T,b)}}}function E(v,b,B){const k=t(v,1,(T,M,z)=>{if(!Wa(M))return;const j=Ga(M,v),J=j&&s.get(f(j));if(J)for(const K of J)K(j,1,z)},!1,500,B);return k.referenceCount=0,d.set(b,k),k}}function Zwt(t){const u=[];let s=0,d;return f;function f(v,b){const B={fileName:v,callback:b,mtime:QA(t,v)};return u.push(B),E(),{close:()=>{B.isClosed=!0,Oy(u,B)}}}function p(){d=void 0,s=Lqe(t,u,s,EU[250]),E()}function E(){!u.length||d||(d=t.setTimeout(p,2e3,"pollQueue"))}}function Nqe(t,u,s,d,f){const E=T1(u)(s),v=t.get(E);return v?v.callbacks.push(d):t.set(E,{watcher:f((b,B,k)=>{var T;return(T=t.get(E))==null?void 0:T.callbacks.slice().forEach(M=>M(b,B,k))}),callbacks:[d]}),{close:()=>{const b=t.get(E);b&&(!mO(b.callbacks,d)||b.callbacks.length||(t.delete(E),Om(b)))}}}function Ywt(t,u){const s=t.mtime.getTime(),d=u.getTime();return s!==d?(t.mtime=u,t.callback(t.fileName,Dse(s,d),u),!0):!1}function Dse(t,u){return t===0?0:u===0?2:1}function vO(t){return E2e(t)}function m2e(t){E2e=t}function Qwt({watchDirectory:t,useCaseSensitiveFileNames:u,getCurrentDirectory:s,getAccessibleSortedChildDirectories:d,fileSystemEntryExists:f,realpath:p,setTimeout:E,clearTimeout:v}){const b=new Map,B=Bm(),k=new Map;let T;const M=vN(!u),z=T1(u);return(ne,ve,Se,Ne)=>Se?j(ne,Ne,ve):t(ne,ve,Se,Ne);function j(ne,ve,Se){const Ne=z(ne);let pe=b.get(Ne);pe?pe.refCount++:(pe={watcher:t(ne,xe=>{ae(xe,ve)||(ve!=null&&ve.synchronousWatchDirectory?(J(Ne,xe),ge(ne,Ne,ve)):K(ne,Ne,xe,ve))},!1,ve),refCount:1,childWatches:_t},b.set(Ne,pe),ge(ne,Ne,ve));const fe=Se&&{dirName:ne,callback:Se};return fe&&B.add(Ne,fe),{dirName:ne,close:()=>{const xe=H.checkDefined(b.get(Ne));fe&&B.remove(Ne,fe),xe.refCount--,!xe.refCount&&(b.delete(Ne),Om(xe),xe.childWatches.forEach(dg))}}}function J(ne,ve,Se){let Ne,pe;Wa(ve)?Ne=ve:pe=ve,B.forEach((fe,xe)=>{if(!(pe&&pe.get(xe)===!0)&&(xe===ne||La(ne,xe)&&ne[xe.length]===rl))if(pe)if(Se){const Be=pe.get(xe);Be?Be.push(...Se):pe.set(xe,Se.slice())}else pe.set(xe,!0);else fe.forEach(({callback:Be})=>Be(Ne))})}function K(ne,ve,Se,Ne){const pe=b.get(ve);if(pe&&f(ne,1)){Y(ne,ve,Se,Ne);return}J(ve,Se),se(pe)}function Y(ne,ve,Se,Ne){const pe=k.get(ve);pe?pe.fileNames.push(Se):k.set(ve,{dirName:ne,options:Ne,fileNames:[Se]}),T&&(v(T),T=void 0),T=E(oe,1e3,"timerToUpdateChildWatches")}function oe(){T=void 0,vO(`sysLog:: onTimerToUpdateChildWatches:: ${k.size}`);const ne=H0(),ve=new Map;for(;!T&&k.size;){const Ne=k.entries().next();H.assert(!Ne.done);const{value:[pe,{dirName:fe,options:xe,fileNames:Be}]}=Ne;k.delete(pe);const We=ge(fe,pe,xe);J(pe,ve,We?void 0:Be)}vO(`sysLog:: invokingWatchers:: Elapsed:: ${H0()-ne}ms:: ${k.size}`),B.forEach((Ne,pe)=>{const fe=ve.get(pe);fe&&Ne.forEach(({callback:xe,dirName:Be})=>{ja(fe)?fe.forEach(xe):xe(Be)})});const Se=H0()-ne;vO(`sysLog:: Elapsed:: ${Se}ms:: onTimerToUpdateChildWatches:: ${k.size} ${T}`)}function se(ne){if(!ne)return;const ve=ne.childWatches;ne.childWatches=_t;for(const Se of ve)Se.close(),se(b.get(z(Se.dirName)))}function ge(ne,ve,Se){const Ne=b.get(ve);if(!Ne)return!1;let pe;const fe=Z$(f(ne,1)?Si(d(ne),We=>{const Ae=Ga(We,ne);return!ae(Ae,Se)&&M(Ae,Jo(p(Ae)))===0?Ae:void 0}):_t,Ne.childWatches,(We,Ae)=>M(We,Ae.dirName),xe,dg,Be);return Ne.childWatches=pe||_t,fe;function xe(We){const Ae=j(We,Se);Be(Ae)}function Be(We){(pe||(pe=[])).push(We)}}function ae(ne,ve){return Ge(bO,Se=>Ce(ne,Se))||Pqe(ne,ve,u,s)}function Ce(ne,ve){return ne.includes(ve)?!0:u?!1:z(ne).includes(ve)}}function Xwt(t){return(u,s,d)=>t(s===1?"change":"rename","",d)}function eTt(t,u,s){return(d,f,p)=>{d==="rename"?(p||(p=s(t)||H_),u(t,p!==H_?0:2,p)):u(t,1,p)}}function Pqe(t,u,s,d){return((u==null?void 0:u.excludeDirectories)||(u==null?void 0:u.excludeFiles))&&(AY(t,u==null?void 0:u.excludeFiles,s,d())||AY(t,u==null?void 0:u.excludeDirectories,s,d()))}function Mqe(t,u,s,d,f){return(p,E)=>{if(p==="rename"){const v=E?Jo(dr(t,E)):t;(!E||!Pqe(v,s,d,f))&&u(v)}}}function p2e({pollingWatchFileWorker:t,getModifiedTime:u,setTimeout:s,clearTimeout:d,fsWatchWorker:f,fileSystemEntryExists:p,useCaseSensitiveFileNames:E,getCurrentDirectory:v,fsSupportsRecursiveFsWatch:b,getAccessibleSortedChildDirectories:B,realpath:k,tscWatchFile:T,useNonPollingWatchers:M,tscWatchDirectory:z,inodeWatching:j,sysLog:J}){const K=new Map,Y=new Map,oe=new Map;let se,ge,ae,Ce,ne=!1;return{watchFile:ve,watchDirectory:xe};function ve(Je,ft,Ze,je){je=pe(je,M);const Ke=H.checkDefined(je.watchFile);switch(Ke){case 0:return Ae(Je,ft,250,void 0);case 1:return Ae(Je,ft,Ze,void 0);case 2:return Se()(Je,ft,Ze,void 0);case 3:return Ne()(Je,ft,void 0,void 0);case 4:return De(Je,0,eTt(Je,ft,u),!1,Ze,_H(je));case 5:return ae||(ae=qwt(De,E)),ae(Je,ft,Ze,_H(je));default:H.assertNever(Ke)}}function Se(){return se||(se=Uwt({getModifiedTime:u,setTimeout:s}))}function Ne(){return ge||(ge=Zwt({getModifiedTime:u,setTimeout:s}))}function pe(Je,ft){if(Je&&Je.watchFile!==void 0)return Je;switch(T){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return fe(4,1,Je);case"UseFsEventsWithFallbackDynamicPolling":return fe(4,2,Je);case"UseFsEventsOnParentDirectory":ft=!0;default:return ft?fe(5,1,Je):{watchFile:4}}}function fe(Je,ft,Ze){const je=Ze==null?void 0:Ze.fallbackPolling;return{watchFile:Je,fallbackPolling:je===void 0?ft:je}}function xe(Je,ft,Ze,je){return b?De(Je,1,Mqe(Je,ft,je,E,v),Ze,500,_H(je)):(Ce||(Ce=Qwt({useCaseSensitiveFileNames:E,getCurrentDirectory:v,fileSystemEntryExists:p,getAccessibleSortedChildDirectories:B,watchDirectory:Be,realpath:k,setTimeout:s,clearTimeout:d})),Ce(Je,ft,Ze,je))}function Be(Je,ft,Ze,je){H.assert(!Ze);const Ke=We(je),Gt=H.checkDefined(Ke.watchDirectory);switch(Gt){case 1:return Ae(Je,()=>ft(Je),500,void 0);case 2:return Se()(Je,()=>ft(Je),500,void 0);case 3:return Ne()(Je,()=>ft(Je),void 0,void 0);case 0:return De(Je,1,Mqe(Je,ft,je,E,v),Ze,500,_H(Ke));default:H.assertNever(Gt)}}function We(Je){if(Je&&Je.watchDirectory!==void 0)return Je;switch(z){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const ft=Je==null?void 0:Je.fallbackPolling;return{watchDirectory:0,fallbackPolling:ft!==void 0?ft:void 0}}}function Ae(Je,ft,Ze,je){return Nqe(K,E,Je,ft,Ke=>t(Je,Ke,Ze,je))}function De(Je,ft,Ze,je,Ke,Gt){return Nqe(je?oe:Y,E,Je,Ze,Yt=>He(Je,ft,Yt,je,Ke,Gt))}function He(Je,ft,Ze,je,Ke,Gt){let Yt,Ie;j&&(Yt=Je.substring(Je.lastIndexOf(rl)),Ie=Yt.slice(rl.length));let lt=p(Je,ft)?It():Ut();return{close:()=>{lt&&(lt.close(),lt=void 0)}};function St(Ni){lt&&(J(`sysLog:: ${Je}:: Changing watcher to ${Ni===It?"Present":"Missing"}FileSystemEntryWatcher`),lt.close(),lt=Ni())}function It(){if(ne)return J(`sysLog:: ${Je}:: Defaulting to watchFile`),ht();try{const Ni=f(Je,je,j?ti:Ze);return Ni.on("error",()=>{Ze("rename",""),St(Ut)}),Ni}catch(Ni){return ne||(ne=Ni.code==="ENOSPC"),J(`sysLog:: ${Je}:: Changing to watchFile`),ht()}}function ti(Ni,Vi){let xn;if(Vi&&oc(Vi,"~")&&(xn=Vi,Vi=Vi.slice(0,Vi.length-1)),Ni==="rename"&&(!Vi||Vi===Ie||oc(Vi,Yt))){const $n=u(Je)||H_;xn&&Ze(Ni,xn,$n),Ze(Ni,Vi,$n),j?St($n===H_?Ut:It):$n===H_&&St(Ut)}else xn&&Ze(Ni,xn),Ze(Ni,Vi)}function ht(){return ve(Je,Xwt(Ze),Ke,Gt)}function Ut(){return ve(Je,(Ni,Vi,xn)=>{Vi===0&&(xn||(xn=u(Je)||H_),xn!==H_&&(Ze("rename","",xn),St(It)))},Ke,Gt)}}}function g2e(t){const u=t.writeFile;t.writeFile=(s,d,f)=>ile(s,d,!!f,(p,E,v)=>u.call(t,p,E,v),p=>t.createDirectory(p),p=>t.directoryExists(p))}function zqe(t){l1=t}var xse,pU,H_,gU,EU,CO,bO,E2e,vse,l1,tTt=o({"src/compiler/sys.ts"(){So(),xse=(t=>(t[t.Created=0]="Created",t[t.Changed=1]="Changed",t[t.Deleted=2]="Deleted",t))(xse||{}),pU=(t=>(t[t.High=2e3]="High",t[t.Medium=500]="Medium",t[t.Low=250]="Low",t))(pU||{}),H_=new Date(0),gU={Low:32,Medium:64,High:256},EU=f2e(gU),CO=f2e(gU),bO=["/node_modules/.","/.git","/.#"],E2e=zs,vse=(t=>(t[t.File=0]="File",t[t.Directory=1]="Directory",t))(vse||{}),l1=(()=>{const t="\uFEFF";function u(){const d=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,f=nS,p=nS,E=nS;let v;try{v=nS}catch{v=void 0}let b,B="./profile.cpuprofile";const k=nS.Buffer,T=process.platform==="linux"||process.platform==="darwin",M=E.platform(),z=Ne(),j=f.realpathSync.native?process.platform==="win32"?Ke:f.realpathSync.native:f.realpathSync,J=__filename.endsWith("sys.js")?p.join(p.dirname(__dirname),"__fake__.js"):__filename,K=process.platform==="win32"||process.platform==="darwin",Y=Nh(()=>process.cwd()),{watchFile:oe,watchDirectory:se}=p2e({pollingWatchFileWorker:fe,getModifiedTime:Yt,setTimeout,clearTimeout,fsWatchWorker:xe,useCaseSensitiveFileNames:z,getCurrentDirectory:Y,fileSystemEntryExists:Je,fsSupportsRecursiveFsWatch:K,getAccessibleSortedChildDirectories:It=>De(It).directories,realpath:Gt,tscWatchFile:e.TSC_WATCHFILE,useNonPollingWatchers:!!e.TSC_NONPOLLING_WATCHER,tscWatchDirectory:e.TSC_WATCHDIRECTORY,inodeWatching:T,sysLog:vO}),ge={args:process.argv.slice(2),newLine:E.EOL,useCaseSensitiveFileNames:z,write(It){process.stdout.write(It)},getWidthOfTerminal(){return process.stdout.columns},writeOutputIsTTY(){return process.stdout.isTTY},readFile:We,writeFile:Ae,watchFile:oe,watchDirectory:se,resolvePath:It=>p.resolve(It),fileExists:ft,directoryExists:Ze,createDirectory(It){if(!ge.directoryExists(It))try{f.mkdirSync(It)}catch(ti){if(ti.code!=="EEXIST")throw ti}},getExecutingFilePath(){return J},getCurrentDirectory:Y,getDirectories:je,getEnvironmentVariable(It){return e[It]||""},readDirectory:He,getModifiedTime:Yt,setModifiedTime:Ie,deleteFile:lt,createHash:v?St:FN,createSHA256Hash:v?St:void 0,getMemoryUsage(){return $pt.gc&&$pt.gc(),process.memoryUsage().heapUsed},getFileSize(It){try{const ti=ae(It);if(ti!=null&&ti.isFile())return ti.size}catch{}return 0},exit(It){ve(()=>process.exit(It))},enableCPUProfiler:Ce,disableCPUProfiler:ve,cpuProfilingEnabled:()=>!!b||Ft(process.execArgv,"--cpu-prof")||Ft(process.execArgv,"--prof"),realpath:Gt,debugMode:!!e.NODE_INSPECTOR_IPC||!!e.VSCODE_INSPECTOR_OPTIONS||Ge(process.execArgv,It=>/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(It))||!!process.recordreplay,tryEnableSourceMapsForHost(){try{nS.install()}catch{}},setTimeout,clearTimeout,clearScreen:()=>{process.stdout.write("\x1Bc")},setBlocking:()=>{var It;const ti=(It=process.stdout)==null?void 0:It._handle;ti&&ti.setBlocking&&ti.setBlocking(!0)},bufferFrom:Se,base64decode:It=>Se(It,"base64").toString("utf8"),base64encode:It=>Se(It).toString("base64"),require:(It,ti)=>{try{const ht=fAe(ti,It,ge);return{module:Upt(ht),modulePath:ht,error:void 0}}catch(ht){return{module:void 0,modulePath:void 0,error:ht}}}};return ge;function ae(It){return f.statSync(It,{throwIfNoEntry:!1})}function Ce(It,ti){if(b)return ti(),!1;const ht=nS;if(!ht||!ht.Session)return ti(),!1;const Ut=new ht.Session;return Ut.connect(),Ut.post("Profiler.enable",()=>{Ut.post("Profiler.start",()=>{b=Ut,B=It,ti()})}),!0}function ne(It){let ti=0;const ht=new Map,Ut=U1(p.dirname(J)),Ni=`file://${KE(Ut)===1?"":"/"}${Ut}`;for(const Vi of It.nodes)if(Vi.callFrame.url){const xn=U1(Vi.callFrame.url);WE(Ni,xn,z)?Vi.callFrame.url=e7(Ni,xn,Ni,T1(z),!0):d.test(xn)||(Vi.callFrame.url=(ht.has(xn)?ht:ht.set(xn,`external${ti}.js`)).get(xn),ti++)}return It}function ve(It){if(b&&b!=="stopping"){const ti=b;return b.post("Profiler.stop",(ht,{profile:Ut})=>{var Ni;if(!ht){try{(Ni=ae(B))!=null&&Ni.isDirectory()&&(B=p.join(B,`${new Date().toISOString().replace(/:/g,"-")}+P${process.pid}.cpuprofile`))}catch{}try{f.mkdirSync(p.dirname(B),{recursive:!0})}catch{}f.writeFileSync(B,JSON.stringify(ne(Ut)))}b=void 0,ti.disconnect(),It()}),b="stopping",!0}else return It(),!1}function Se(It,ti){return k.from&&k.from!==Int8Array.from?k.from(It,ti):new k(It,ti)}function Ne(){return M==="win32"||M==="win64"?!1:!ft(pe(__filename))}function pe(It){return It.replace(/\w/g,ti=>{const ht=ti.toUpperCase();return ti===ht?ti.toLowerCase():ht})}function fe(It,ti,ht){f.watchFile(It,{persistent:!0,interval:ht},Ni);let Ut;return{close:()=>f.unwatchFile(It,Ni)};function Ni(Vi,xn){const $n=+xn.mtime==0||Ut===2;if(+Vi.mtime==0){if($n)return;Ut=2}else if($n)Ut=0;else{if(+Vi.mtime==+xn.mtime)return;Ut=1}ti(It,Ut,Vi.mtime)}}function xe(It,ti,ht){return f.watch(It,K?{persistent:!0,recursive:!!ti}:{persistent:!0},ht)}function Be(It,ti){let ht;try{ht=f.readFileSync(It)}catch{return}let Ut=ht.length;if(Ut>=2&&ht[0]===254&&ht[1]===255){Ut&=-2;for(let Ni=0;Ni=2&&ht[0]===255&&ht[1]===254?ht.toString("utf16le",2):Ut>=3&&ht[0]===239&&ht[1]===187&&ht[2]===191?ht.toString("utf8",3):ht.toString("utf8")}function We(It,ti){var ht,Ut;(ht=dh)==null||ht.logStartReadFile(It);const Ni=Be(It);return(Ut=dh)==null||Ut.logStopReadFile(),Ni}function Ae(It,ti,ht){var Ut;(Ut=dh)==null||Ut.logEvent("WriteFile: "+It),ht&&(ti=t+ti);let Ni;try{Ni=f.openSync(It,"w"),f.writeSync(Ni,ti,void 0,"utf8")}finally{Ni!==void 0&&f.closeSync(Ni)}}function De(It){var ti;(ti=dh)==null||ti.logEvent("ReadDir: "+(It||"."));try{const ht=f.readdirSync(It||".",{withFileTypes:!0}),Ut=[],Ni=[];for(const Vi of ht){const xn=typeof Vi=="string"?Vi:Vi.name;if(xn==="."||xn==="..")continue;let $n;if(typeof Vi=="string"||Vi.isSymbolicLink()){const rn=dr(It,xn);try{if($n=ae(rn),!$n)continue}catch{continue}}else $n=Vi;$n.isFile()?Ut.push(xn):$n.isDirectory()&&Ni.push(xn)}return Ut.sort(),Ni.sort(),{files:Ut,directories:Ni}}catch{return DZ}}function He(It,ti,ht,Ut,Ni){return Fle(It,ti,ht,Ut,z,process.cwd(),Ni,De,Gt)}function Je(It,ti){const ht=Error.stackTraceLimit;Error.stackTraceLimit=0;try{const Ut=ae(It);if(!Ut)return!1;switch(ti){case 0:return Ut.isFile();case 1:return Ut.isDirectory();default:return!1}}catch{return!1}finally{Error.stackTraceLimit=ht}}function ft(It){return Je(It,0)}function Ze(It){return Je(It,1)}function je(It){return De(It).directories.slice()}function Ke(It){return It.length<260?f.realpathSync.native(It):f.realpathSync(It)}function Gt(It){try{return j(It)}catch{return It}}function Yt(It){var ti;const ht=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return(ti=ae(It))==null?void 0:ti.mtime}catch{return}finally{Error.stackTraceLimit=ht}}function Ie(It,ti){try{f.utimesSync(It,ti,ti)}catch{return}}function lt(It){try{return f.unlinkSync(It)}catch{return}}function St(It){const ti=v.createHash("sha256");return ti.update(It),ti.digest("hex")}}let s;return doe()&&(s=u()),s&&g2e(s),s})(),l1&&l1.getEnvironmentVariable&&($wt(l1),H.setAssertionLevel(/^development$/i.test(l1.getEnvironmentVariable("NODE_ENV"))?1:0)),l1&&l1.debugMode&&(H.isDebugging=!0)}});function Cse(t){return t===47||t===92}function _2e(t){return _U(t)<0}function Nf(t){return _U(t)>0}function bse(t){const u=_U(t);return u>0&&u===t.length}function AN(t){return _U(t)!==0}function am(t){return/^\.\.?($|[\\/])/.test(t)}function yse(t){return!AN(t)&&!am(t)}function XA(t){return Fc(t).includes(".")}function Ml(t,u){return t.length>u.length&&oc(t,u)}function jc(t,u){for(const s of u)if(Ml(t,s))return!0;return!1}function qD(t){return t.length>0&&Cse(t.charCodeAt(t.length-1))}function Iqe(t){return t>=97&&t<=122||t>=65&&t<=90}function iTt(t,u){const s=t.charCodeAt(u);if(s===58)return u+1;if(s===37&&t.charCodeAt(u+1)===51){const d=t.charCodeAt(u+2);if(d===97||d===65)return u+3}return-1}function _U(t){if(!t)return 0;const u=t.charCodeAt(0);if(u===47||u===92){if(t.charCodeAt(1)!==u)return 1;const d=t.indexOf(u===47?rl:AO,2);return d<0?t.length:d+1}if(Iqe(u)&&t.charCodeAt(1)===58){const d=t.charCodeAt(2);if(d===47||d===92)return 3;if(t.length===2)return 2}const s=t.indexOf(x2e);if(s!==-1){const d=s+x2e.length,f=t.indexOf(rl,d);if(f!==-1){const p=t.slice(0,s),E=t.slice(d,f);if(p==="file"&&(E===""||E==="localhost")&&Iqe(t.charCodeAt(f+1))){const v=iTt(t,f+2);if(v!==-1){if(t.charCodeAt(v)===47)return~(v+1);if(v===t.length)return~v}}return~(f+1)}return~t.length}return 0}function KE(t){const u=_U(t);return u<0?~u:u}function cr(t){t=U1(t);const u=KE(t);return u===t.length?t:(t=hv(t),t.slice(0,Math.max(u,t.lastIndexOf(rl))))}function Fc(t,u,s){if(t=U1(t),KE(t)===t.length)return"";t=hv(t);const f=t.slice(Math.max(KE(t),t.lastIndexOf(rl)+1)),p=u!==void 0&&s!==void 0?SN(f,u,s):void 0;return p?f.slice(0,f.length-p.length):f}function Rqe(t,u,s){if(La(u,".")||(u="."+u),t.length>=u.length&&t.charCodeAt(t.length-u.length)===46){const d=t.slice(t.length-u.length);if(s(d,u))return d}}function nTt(t,u,s){if(typeof u=="string")return Rqe(t,u,s)||"";for(const d of u){const f=Rqe(t,d,s);if(f)return f}return""}function SN(t,u,s){if(u)return nTt(hv(t),u,s?ZA:YA);const d=Fc(t),f=d.lastIndexOf(".");return f>=0?d.substring(f):""}function uTt(t,u){const s=t.substring(0,u),d=t.substring(u).split(rl);return d.length&&!Zu(d)&&d.pop(),[s,...d]}function bd(t,u=""){return t=dr(u,t),uTt(t,KE(t))}function bx(t,u){return t.length===0?"":(t[0]&&Pd(t[0]))+t.slice(1,u).join(rl)}function U1(t){return t.includes("\\")?t.replace(Vqe,rl):t}function Wy(t){if(!Ge(t))return[];const u=[t[0]];for(let s=1;s1){if(u[u.length-1]!==".."){u.pop();continue}}else if(u[0])continue}u.push(d)}}return u}function dr(t,...u){t&&(t=U1(t));for(let s of u)s&&(s=U1(s),!t||KE(s)!==0?t=s:t=Pd(t)+s);return t}function yx(t,...u){return Jo(Ge(u)?dr(t,...u):U1(t))}function yO(t,u){return Wy(bd(t,u))}function Ga(t,u){return bx(yO(t,u))}function Jo(t){if(t=U1(t),!xU.test(t))return t;const u=t.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(u!==t&&(t=u,!xU.test(t)))return t;const s=bx(Wy(bd(t)));return s&&qD(t)?Pd(s):s}function rTt(t){return t.length===0?"":t.slice(1).join(rl)}function kse(t,u){return rTt(yO(t,u))}function K0(t,u,s){const d=Nf(t)?Jo(t):Ga(t,u);return s(d)}function hv(t){return qD(t)?t.substr(0,t.length-1):t}function Pd(t){return qD(t)?t:t+rl}function l2(t){return!AN(t)&&!am(t)?"./"+t:t}function kO(t,u,s,d){const f=s!==void 0&&d!==void 0?SN(t,s,d):SN(t);return f?t.slice(0,t.length-f.length)+(La(u,".")?u:"."+u):t}function D2e(t,u,s){if(t===u)return 0;if(t===void 0)return-1;if(u===void 0)return 1;const d=t.substring(0,KE(t)),f=u.substring(0,KE(u)),p=J$(d,f);if(p!==0)return p;const E=t.substring(d.length),v=u.substring(f.length);if(!xU.test(E)&&!xU.test(v))return s(E,v);const b=Wy(bd(t)),B=Wy(bd(u)),k=Math.min(b.length,B.length);for(let T=1;T0==KE(u)>0,"Paths must either both be absolute or both be relative");const p=Ase(t,u,(typeof s=="boolean"?s:!1)?ZA:YA,typeof s=="function"?s:il);return bx(p)}function BN(t,u,s){return Nf(t)?e7(u,t,u,s,!1):t}function FO(t,u,s){return l2(GE(cr(t),u,s))}function e7(t,u,s,d,f){const p=Ase(yx(s,t),yx(s,u),YA,d),E=p[0];if(f&&Nf(E)){const v=E.charAt(0)===rl?"file://":"file:///";p[0]=v+E}return bx(p)}function $g(t,u){for(;;){const s=u(t);if(s!==void 0)return s;const d=cr(t);if(d===t)return;t=d}}function DU(t){return oc(t,"/node_modules")}var rl,AO,x2e,Vqe,xU,aTt=o({"src/compiler/path.ts"(){So(),rl="/",AO="\\",x2e="://",Vqe=/\\/g,xU=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function P(t,u,s,d,f,p,E){return{code:t,category:u,key:s,message:d,reportsUnnecessary:f,elidedInCompatabilityPyramid:p,reportsDeprecated:E}}var F,oTt=o({"src/compiler/diagnosticInformationMap.generated.ts"(){wqe(),F={Unterminated_string_literal:P(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:P(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:P(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:P(1006,1,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:P(1007,1,"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007","The parser expected to find a '{1}' to match the '{0}' token here."),Trailing_comma_not_allowed:P(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:P(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:P(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:P(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:P(1013,1,"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013","A rest parameter or binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list:P(1014,1,"A_rest_parameter_must_be_last_in_a_parameter_list_1014","A rest parameter must be last in a parameter list."),Parameter_cannot_have_question_mark_and_initializer:P(1015,1,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:P(1016,1,"A_required_parameter_cannot_follow_an_optional_parameter_1016","A required parameter cannot follow an optional parameter."),An_index_signature_cannot_have_a_rest_parameter:P(1017,1,"An_index_signature_cannot_have_a_rest_parameter_1017","An index signature cannot have a rest parameter."),An_index_signature_parameter_cannot_have_an_accessibility_modifier:P(1018,1,"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018","An index signature parameter cannot have an accessibility modifier."),An_index_signature_parameter_cannot_have_a_question_mark:P(1019,1,"An_index_signature_parameter_cannot_have_a_question_mark_1019","An index signature parameter cannot have a question mark."),An_index_signature_parameter_cannot_have_an_initializer:P(1020,1,"An_index_signature_parameter_cannot_have_an_initializer_1020","An index signature parameter cannot have an initializer."),An_index_signature_must_have_a_type_annotation:P(1021,1,"An_index_signature_must_have_a_type_annotation_1021","An index signature must have a type annotation."),An_index_signature_parameter_must_have_a_type_annotation:P(1022,1,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:P(1024,1,"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024","'readonly' modifier can only appear on a property declaration or index signature."),An_index_signature_cannot_have_a_trailing_comma:P(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:P(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:P(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:P(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:P(1031,1,"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031","'{0}' modifier cannot appear on class elements of this kind."),super_must_be_followed_by_an_argument_list_or_member_access:P(1034,1,"super_must_be_followed_by_an_argument_list_or_member_access_1034","'super' must be followed by an argument list or member access."),Only_ambient_modules_can_use_quoted_names:P(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:P(1036,1,"Statements_are_not_allowed_in_ambient_contexts_1036","Statements are not allowed in ambient contexts."),A_declare_modifier_cannot_be_used_in_an_already_ambient_context:P(1038,1,"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038","A 'declare' modifier cannot be used in an already ambient context."),Initializers_are_not_allowed_in_ambient_contexts:P(1039,1,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:P(1040,1,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:P(1042,1,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:P(1044,1,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:P(1046,1,"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046","Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier."),A_rest_parameter_cannot_be_optional:P(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:P(1048,1,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:P(1049,1,"A_set_accessor_must_have_exactly_one_parameter_1049","A 'set' accessor must have exactly one parameter."),A_set_accessor_cannot_have_an_optional_parameter:P(1051,1,"A_set_accessor_cannot_have_an_optional_parameter_1051","A 'set' accessor cannot have an optional parameter."),A_set_accessor_parameter_cannot_have_an_initializer:P(1052,1,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:P(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:P(1054,1,"A_get_accessor_cannot_have_parameters_1054","A 'get' accessor cannot have parameters."),Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value:P(1055,1,"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055","Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value."),Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher:P(1056,1,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:P(1058,1,"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058","The return type of an async function must either be a valid promise or must not contain a callable 'then' member."),A_promise_must_have_a_then_method:P(1059,1,"A_promise_must_have_a_then_method_1059","A promise must have a 'then' method."),The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback:P(1060,1,"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060","The first parameter of the 'then' method of a promise must be a callback."),Enum_member_must_have_initializer:P(1061,1,"Enum_member_must_have_initializer_1061","Enum member must have initializer."),Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method:P(1062,1,"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062","Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method."),An_export_assignment_cannot_be_used_in_a_namespace:P(1063,1,"An_export_assignment_cannot_be_used_in_a_namespace_1063","An export assignment cannot be used in a namespace."),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0:P(1064,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064","The return type of an async function or method must be the global Promise type. Did you mean to write 'Promise<{0}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:P(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:P(1066,1,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:P(1068,1,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:P(1069,1,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:P(1070,1,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:P(1071,1,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:P(1079,1,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:P(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:P(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:P(1090,1,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:P(1091,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:P(1092,1,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:P(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:P(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:P(1095,1,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:P(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:P(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:P(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:P(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:P(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:P(1101,1,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:P(1102,1,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:P(1103,1,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:P(1104,1,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:P(1105,1,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:P(1106,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:P(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:P(1108,1,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:P(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:P(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:P(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:P(1113,1,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:P(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:P(1115,1,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:P(1116,1,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name:P(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:P(1118,1,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:P(1119,1,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:P(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:P(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:P(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:P(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:P(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:P(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:P(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:P(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:P(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:P(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:P(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:P(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:P(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:P(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:P(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:P(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:P(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:P(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:P(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:P(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:P(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:P(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:P(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:P(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:P(1147,1,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:P(1148,1,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:P(1149,1,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),_0_declarations_must_be_initialized:P(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:P(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:P(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:P(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:P(1162,1,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:P(1163,1,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:P(1164,1,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:P(1165,1,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:P(1166,1,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:P(1168,1,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:P(1169,1,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:P(1170,1,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:P(1171,1,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:P(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:P(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:P(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:P(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:P(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:P(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:P(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:P(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:P(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:P(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:P(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:P(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:P(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:P(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:P(1186,1,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:P(1187,1,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:P(1188,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:P(1189,1,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:P(1190,1,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:P(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:P(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:P(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:P(1194,1,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:P(1195,1,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:P(1196,1,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:P(1197,1,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:P(1198,1,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:P(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:P(1200,1,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:P(1202,1,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202",`Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.`),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:P(1203,1,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_0_is_enabled_requires_using_export_type:P(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:P(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:P(1207,1,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:P(1209,1,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:P(1210,1,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:P(1211,1,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:P(1212,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:P(1213,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:P(1214,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:P(1215,1,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:P(1216,1,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:P(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:P(1221,1,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:P(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:P(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:P(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:P(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:P(1226,1,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:P(1227,1,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:P(1228,1,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:P(1229,1,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:P(1230,1,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:P(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:P(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:P(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:P(1234,1,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:P(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:P(1236,1,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:P(1237,1,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:P(1238,1,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:P(1239,1,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:P(1240,1,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:P(1241,1,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:P(1242,1,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:P(1243,1,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:P(1244,1,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:P(1245,1,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:P(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:P(1247,1,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:P(1248,1,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:P(1249,1,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:P(1250,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:P(1251,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:P(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),Abstract_properties_can_only_appear_within_an_abstract_class:P(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:P(1254,1,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:P(1255,1,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:P(1257,1,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:P(1258,1,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:P(1259,1,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:P(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:P(1261,1,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:P(1262,1,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:P(1263,1,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:P(1264,1,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:P(1265,1,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:P(1266,1,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:P(1267,1,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:P(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:P(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:P(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:P(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:P(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:P(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:P(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:P(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:P(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:P(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:P(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:P(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:P(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:P(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:P(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:P(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:P(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:P(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:P(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:P(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:P(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),with_statements_are_not_allowed_in_an_async_function_block:P(1300,1,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:P(1308,1,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:P(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:P(1312,1,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:P(1313,1,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:P(1314,1,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:P(1315,1,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:P(1316,1,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:P(1317,1,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:P(1318,1,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:P(1319,1,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:P(1320,1,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:P(1321,1,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:P(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:P(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:P(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:P(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:P(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:P(1327,1,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:P(1328,1,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:P(1329,1,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:P(1330,1,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:P(1331,1,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:P(1332,1,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:P(1333,1,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:P(1334,1,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:P(1335,1,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:P(1337,1,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:P(1338,1,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:P(1339,1,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:P(1340,1,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Class_constructor_may_not_be_an_accessor:P(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:P(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:P(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:P(1345,1,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:P(1346,1,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:P(1347,1,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:P(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:P(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:P(1350,3,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:P(1351,1,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:P(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:P(1353,1,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:P(1354,1,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:P(1355,1,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:P(1356,1,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:P(1357,1,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:P(1358,1,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:P(1359,1,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Type_0_does_not_satisfy_the_expected_type_1:P(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:P(1361,1,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:P(1362,1,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:P(1363,1,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:P(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:P(1365,3,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:P(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:P(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:P(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:P(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:P(1371,1,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:P(1375,1,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:P(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:P(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:P(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:P(1379,1,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:P(1380,1,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:P(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:P(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:P(1385,1,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:P(1386,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:P(1387,1,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:P(1388,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:P(1389,1,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:P(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:P(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:P(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:P(1394,3,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:P(1395,3,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:P(1396,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:P(1397,3,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:P(1398,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:P(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:P(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:P(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:P(1402,3,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:P(1403,3,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:P(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:P(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:P(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:P(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:P(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:P(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:P(1410,3,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:P(1411,3,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:P(1412,3,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:P(1413,3,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:P(1414,3,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:P(1415,3,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:P(1416,3,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:P(1417,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:P(1418,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:P(1419,3,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:P(1420,3,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:P(1421,3,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:P(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:P(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:P(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:P(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:P(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:P(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:P(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:P(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:P(1430,3,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:P(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:P(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:P(1433,1,"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433","Neither decorators nor modifiers may be applied to 'this' parameters."),Unexpected_keyword_or_identifier:P(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:P(1435,1,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:P(1436,1,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:P(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:P(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:P(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:P(1440,1,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:P(1441,1,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:P(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:P(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:P(1444,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:P(1446,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:P(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:P(1449,3,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments:P(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional set of attributes as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:P(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_should_be_either_require_or_import:P(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:P(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:P(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:P(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:P(1457,3,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:P(1458,3,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",`File is ECMAScript module because '{0}' has field "type" with value "module"`),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:P(1459,3,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",`File is CommonJS module because '{0}' has field "type" whose value is not "module"`),File_is_CommonJS_module_because_0_does_not_have_field_type:P(1460,3,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460",`File is CommonJS module because '{0}' does not have field "type"`),File_is_CommonJS_module_because_package_json_was_not_found:P(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),resolution_mode_is_the_only_valid_key_for_type_import_attributes:P(1463,1,"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463","'resolution-mode' is the only valid key for type import attributes."),Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:P(1464,1,"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464","Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:P(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:P(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:P(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:P(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:P(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:P(1475,3,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:P(1476,3,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:P(1477,1,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:P(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:P(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479",`The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.`),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:P(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:P(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481",`To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field \`"type": "module"\` to '{1}'.`),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:P(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:P(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:P(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:P(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:P(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:P(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:P(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:P(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:P(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:P(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:P(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:P(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:P(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:P(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),Identifier_string_literal_or_number_literal_expected:P(1496,1,"Identifier_string_literal_or_number_literal_expected_1496","Identifier, string literal, or number literal expected."),The_types_of_0_are_incompatible_between_these_types:P(2200,1,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:P(2201,1,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:P(2202,1,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:P(2203,1,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:P(2204,1,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:P(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:P(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:P(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:P(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:P(2209,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:P(2210,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Add_extends_constraint:P(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:P(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:P(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:P(2301,1,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:P(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:P(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:P(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:P(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:P(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:P(2307,1,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:P(2308,1,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:P(2309,1,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:P(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:P(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:P(2312,1,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:P(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:P(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:P(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:P(2316,1,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:P(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:P(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:P(2319,1,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:P(2320,1,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:P(2321,1,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:P(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:P(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:P(2324,1,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:P(2325,1,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:P(2326,1,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:P(2327,1,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:P(2328,1,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:P(2329,1,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:P(2330,1,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:P(2331,1,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:P(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:P(2333,1,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:P(2334,1,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:P(2335,1,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:P(2336,1,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:P(2337,1,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:P(2338,1,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:P(2339,1,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:P(2340,1,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:P(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:P(2343,1,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:P(2344,1,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:P(2345,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Untyped_function_calls_may_not_accept_type_arguments:P(2347,1,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:P(2348,1,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:P(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:P(2350,1,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:P(2351,1,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:P(2352,1,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:P(2353,1,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:P(2354,1,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value:P(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:P(2356,1,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:P(2357,1,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:P(2358,1,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method:P(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359","The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:P(2362,1,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:P(2363,1,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:P(2364,1,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:P(2365,1,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:P(2366,1,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:P(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:P(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:P(2369,1,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:P(2370,1,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:P(2371,1,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:P(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:P(2373,1,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:P(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:P(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:P(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:P(2377,1,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:P(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:P(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),Overload_signatures_must_all_be_exported_or_non_exported:P(2383,1,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:P(2384,1,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:P(2385,1,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:P(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:P(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:P(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:P(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:P(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:P(2391,1,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:P(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:P(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:P(2394,1,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:P(2395,1,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:P(2396,1,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:P(2397,1,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:P(2398,1,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:P(2399,1,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:P(2400,1,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:P(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:P(2402,1,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:P(2403,1,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:P(2404,1,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:P(2405,1,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:P(2406,1,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:P(2407,1,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:P(2408,1,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:P(2409,1,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:P(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:P(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:P(2411,1,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:P(2413,1,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:P(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:P(2415,1,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:P(2416,1,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:P(2417,1,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:P(2418,1,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:P(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:P(2420,1,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:P(2422,1,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:P(2423,1,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:P(2425,1,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:P(2426,1,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:P(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:P(2428,1,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:P(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:P(2431,1,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:P(2432,1,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:P(2433,1,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:P(2434,1,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:P(2435,1,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:P(2436,1,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:P(2437,1,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:P(2438,1,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:P(2439,1,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:P(2440,1,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:P(2441,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:P(2442,1,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:P(2443,1,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:P(2444,1,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:P(2445,1,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:P(2446,1,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:P(2447,1,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:P(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:P(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:P(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:P(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:P(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:P(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:P(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:P(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:P(2458,1,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:P(2459,1,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:P(2460,1,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:P(2461,1,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:P(2462,1,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:P(2463,1,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:P(2464,1,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:P(2465,1,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:P(2466,1,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:P(2467,1,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:P(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:P(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:P(2472,1,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:P(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:P(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:P(2475,1,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:P(2476,1,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:P(2477,1,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:P(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:P(2480,1,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:P(2481,1,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:P(2483,1,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:P(2484,1,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:P(2487,1,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:P(2488,1,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:P(2489,1,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:P(2490,1,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:P(2491,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:P(2492,1,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:P(2493,1,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:P(2494,1,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:P(2495,1,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:P(2496,1,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:P(2497,1,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:P(2498,1,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:P(2499,1,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:P(2500,1,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:P(2501,1,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:P(2502,1,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:P(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:P(2504,1,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:P(2505,1,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:P(2506,1,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:P(2507,1,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:P(2508,1,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:P(2509,1,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:P(2510,1,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:P(2511,1,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:P(2512,1,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:P(2513,1,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),A_tuple_type_cannot_be_indexed_with_a_negative_value:P(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:P(2515,1,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:P(2516,1,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:P(2517,1,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:P(2518,1,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:P(2519,1,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:P(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:P(2522,1,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:P(2523,1,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:P(2524,1,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:P(2525,1,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:P(2526,1,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:P(2527,1,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:P(2528,1,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:P(2529,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:P(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:P(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:P(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:P(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:P(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:P(2536,1,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:P(2537,1,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:P(2538,1,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:P(2539,1,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:P(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:P(2542,1,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:P(2543,1,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:P(2544,1,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:P(2545,1,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:P(2547,1,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:P(2548,1,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:P(2549,1,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:P(2550,1,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:P(2551,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:P(2552,1,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:P(2553,1,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:P(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:P(2555,1,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:P(2556,1,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:P(2558,1,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:P(2559,1,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:P(2560,1,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:P(2561,1,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:P(2562,1,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:P(2563,1,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:P(2564,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:P(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:P(2566,1,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:P(2567,1,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:P(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:P(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:P(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:P(2574,1,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:P(2575,1,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:P(2576,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:P(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:P(2578,1,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:P(2580,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:P(2581,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:P(2582,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:P(2583,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:P(2584,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:P(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:P(2588,1,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:P(2589,1,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:P(2590,1,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:P(2591,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:P(2592,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:P(2593,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:P(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:P(2595,1,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:P(2596,1,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:P(2597,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:P(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:P(2602,1,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:P(2603,1,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:P(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:P(2606,1,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:P(2607,1,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:P(2608,1,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:P(2609,1,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:P(2610,1,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:P(2611,1,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:P(2612,1,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:P(2613,1,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:P(2614,1,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:P(2615,1,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:P(2616,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:P(2617,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:P(2618,1,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:P(2619,1,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:P(2620,1,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:P(2621,1,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:P(2623,1,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:P(2624,1,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:P(2625,1,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:P(2626,1,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:P(2627,1,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:P(2628,1,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:P(2629,1,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:P(2630,1,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:P(2631,1,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:P(2632,1,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:P(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:P(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:P(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:P(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:P(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:P(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),React_components_cannot_include_JSX_namespace_names:P(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:P(2649,1,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:P(2651,1,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:P(2652,1,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:P(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:P(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:P(2658,1,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:P(2659,1,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:P(2660,1,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:P(2661,1,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:P(2662,1,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:P(2663,1,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:P(2664,1,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:P(2665,1,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:P(2666,1,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:P(2667,1,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:P(2668,1,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:P(2669,1,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:P(2670,1,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:P(2671,1,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:P(2672,1,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:P(2673,1,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:P(2674,1,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:P(2675,1,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:P(2676,1,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:P(2677,1,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:P(2678,1,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:P(2679,1,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:P(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:P(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:P(2683,1,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:P(2684,1,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:P(2685,1,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:P(2686,1,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:P(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:P(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:P(2689,1,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:P(2690,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:P(2692,1,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:P(2693,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:P(2694,1,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:P(2695,1,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:P(2696,1,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:P(2697,1,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:P(2698,1,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:P(2699,1,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:P(2700,1,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:P(2701,1,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:P(2702,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:P(2703,1,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:P(2704,1,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:P(2705,1,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:P(2706,1,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:P(2707,1,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:P(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:P(2709,1,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:P(2710,1,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:P(2711,1,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:P(2712,1,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:P(2713,1,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713",`Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}["{1}"]'?`),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:P(2714,1,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:P(2715,1,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:P(2716,1,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:P(2717,1,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:P(2718,1,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:P(2719,1,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:P(2720,1,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:P(2721,1,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:P(2722,1,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:P(2723,1,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:P(2724,1,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:P(2725,1,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:P(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:P(2727,1,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:P(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:P(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:P(2730,1,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:P(2731,1,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:P(2732,1,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:P(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:P(2734,1,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:P(2735,1,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:P(2736,1,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:P(2737,1,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:P(2738,3,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:P(2739,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:P(2740,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:P(2741,1,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:P(2742,1,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:P(2743,1,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:P(2744,1,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:P(2745,1,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:P(2746,1,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:P(2747,1,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_0_is_enabled:P(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:P(2749,1,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:P(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:P(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:P(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:P(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:P(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:P(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:P(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:P(2757,1,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:P(2758,1,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:P(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:P(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:P(2761,1,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:P(2762,1,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:P(2763,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:P(2764,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:P(2765,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:P(2766,1,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:P(2767,1,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:P(2768,1,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:P(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:P(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:P(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:P(2772,1,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:P(2773,1,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:P(2774,1,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:P(2775,1,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:P(2776,1,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:P(2777,1,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:P(2778,1,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:P(2779,1,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:P(2780,1,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:P(2781,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:P(2782,3,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:P(2783,1,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:P(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:P(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:P(2786,1,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:P(2787,1,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:P(2788,1,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:P(2789,1,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:P(2790,1,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:P(2791,1,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:P(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:P(2793,1,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:P(2794,1,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:P(2795,1,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:P(2796,1,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:P(2797,1,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:P(2798,1,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:P(2799,1,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:P(2800,1,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:P(2801,1,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:P(2802,1,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:P(2803,1,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:P(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:P(2806,1,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:P(2807,1,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:P(2808,1,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses:P(2809,1,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:P(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:P(2811,1,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:P(2812,1,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:P(2813,1,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:P(2814,1,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:P(2815,1,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:P(2816,1,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:P(2817,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:P(2818,1,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:P(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:P(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:P(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:P(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:P(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2823","Import attributes are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Cannot_find_namespace_0_Did_you_mean_1:P(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:P(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:P(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:P(2836,1,"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836","Import assertions are not allowed on statements that compile to CommonJS 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:P(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:P(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:P(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types:P(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840","An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:P(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:P(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:P(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:P(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:P(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:P(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:P(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:P(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:P(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:P(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:P(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:P(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super:P(2855,1,"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855","Class field '{0}' defined by the parent class is not accessible in the child class via super."),Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:P(2856,1,"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856","Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),Import_attributes_cannot_be_used_with_type_only_imports_or_exports:P(2857,1,"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857","Import attributes cannot be used with type-only imports or exports."),Import_attribute_values_must_be_string_literal_expressions:P(2858,1,"Import_attribute_values_must_be_string_literal_expressions_2858","Import attribute values must be string literal expressions."),Excessive_complexity_comparing_types_0_and_1:P(2859,1,"Excessive_complexity_comparing_types_0_and_1_2859","Excessive complexity comparing types '{0}' and '{1}'."),The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method:P(2860,1,"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860","The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression:P(2861,1,"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861","An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),Type_0_is_generic_and_can_only_be_indexed_for_reading:P(2862,1,"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862","Type '{0}' is generic and can only be indexed for reading."),A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values:P(2863,1,"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863","A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."),A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types:P(2864,1,"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864","A class cannot implement a primitive type like '{0}'. It can only implement other named object types."),Import_declaration_0_is_using_private_name_1:P(4e3,1,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:P(4002,1,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:P(4004,1,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:P(4006,1,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:P(4008,1,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:P(4010,1,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:P(4012,1,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:P(4014,1,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:P(4016,1,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:P(4019,1,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:P(4020,1,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:P(4021,1,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:P(4022,1,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4023,1,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:P(4024,1,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:P(4025,1,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4026,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:P(4027,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:P(4028,1,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4029,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:P(4030,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:P(4031,1,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:P(4032,1,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:P(4033,1,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:P(4034,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:P(4035,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:P(4036,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:P(4037,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4038,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:P(4039,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:P(4040,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4041,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:P(4042,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:P(4043,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:P(4044,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:P(4045,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:P(4046,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:P(4047,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:P(4048,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:P(4049,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:P(4050,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:P(4051,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:P(4052,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:P(4053,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:P(4054,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:P(4055,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:P(4056,1,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:P(4057,1,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:P(4058,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:P(4059,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:P(4060,1,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4061,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:P(4062,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:P(4063,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:P(4064,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:P(4065,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:P(4066,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:P(4067,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4068,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:P(4069,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:P(4070,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4071,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:P(4072,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:P(4073,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:P(4074,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:P(4075,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4076,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:P(4077,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:P(4078,1,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:P(4081,1,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:P(4082,1,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:P(4083,1,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:P(4084,1,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:P(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:P(4090,1,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:P(4091,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:P(4092,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:P(4094,1,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4095,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:P(4096,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:P(4097,1,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4098,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:P(4099,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:P(4100,1,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:P(4101,1,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:P(4102,1,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:P(4103,1,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:P(4104,1,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:P(4105,1,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:P(4106,1,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:P(4107,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:P(4108,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:P(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:P(4110,1,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:P(4111,1,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:P(4112,1,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:P(4113,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:P(4114,1,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:P(4115,1,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:P(4116,1,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:P(4117,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:P(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:P(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:P(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:P(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:P(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:P(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:P(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:P(5001,1,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:P(5009,1,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:P(5010,1,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:P(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:P(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:P(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:P(5024,1,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:P(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:P(5033,1,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:P(5042,1,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:P(5047,1,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:P(5048,1,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:P(5051,1,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:P(5052,1,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:P(5053,1,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:P(5054,1,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:P(5055,1,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:P(5056,1,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:P(5057,1,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:P(5058,1,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:P(5059,1,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:P(5061,1,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:P(5062,1,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:P(5063,1,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:P(5064,1,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:P(5065,1,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:P(5066,1,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:P(5067,1,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:P(5068,1,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:P(5069,1,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic:P(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:P(5071,1,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:P(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:P(5073,1,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:P(5074,1,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:P(5075,1,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:P(5076,1,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:P(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:P(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:P(5079,1,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:P(5080,1,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:P(5081,1,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:P(5082,1,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:P(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:P(5085,1,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:P(5086,1,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:P(5087,1,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:P(5088,1,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:P(5089,1,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:P(5090,1,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled:P(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:P(5092,1,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:P(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:P(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later:P(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:P(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:P(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:P(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:P(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101",`Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '"ignoreDeprecations": "{2}"' to silence this error.`),Option_0_has_been_removed_Please_remove_it_from_your_configuration:P(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:P(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:P(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:P(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:P(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:P(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107",`Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '"ignoreDeprecations": "{3}"' to silence this error.`),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:P(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:P(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:P(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:P(6e3,3,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:P(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:P(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:P(6004,3,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:P(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:P(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:P(6007,3,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:P(6008,3,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:P(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:P(6010,3,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:P(6011,3,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:P(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:P(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:P(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:P(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:P(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:P(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:P(6019,3,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:P(6020,3,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:P(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:P(6024,3,"options_6024","options"),file:P(6025,3,"file_6025","file"),Examples_Colon_0:P(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:P(6027,3,"Options_Colon_6027","Options:"),Version_0:P(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:P(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:P(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:P(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:P(6034,3,"KIND_6034","KIND"),FILE:P(6035,3,"FILE_6035","FILE"),VERSION:P(6036,3,"VERSION_6036","VERSION"),LOCATION:P(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:P(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:P(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:P(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:P(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:P(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:P(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:P(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:P(6046,1,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:P(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:P(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:P(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:P(6052,3,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:P(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:P(6054,1,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:P(6055,3,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:P(6056,3,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:P(6058,3,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:P(6059,1,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:P(6060,3,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:P(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:P(6064,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:P(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:P(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:P(6070,3,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:P(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:P(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:P(6073,3,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:P(6074,3,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:P(6075,3,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:P(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:P(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:P(6078,3,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:P(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:P(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:P(6081,3,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:P(6082,1,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:P(6083,3,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:P(6084,3,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:P(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:P(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:P(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:P(6088,3,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:P(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:P(6090,3,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:P(6091,3,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:P(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:P(6093,3,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:P(6094,3,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1:P(6095,3,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095","Loading module as file / folder, candidate module location '{0}', target file types: {1}."),File_0_does_not_exist:P(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:P(6097,3,"File_0_exists_use_it_as_a_name_resolution_result_6097","File '{0}' exists - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:P(6098,3,"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098","Loading module '{0}' from 'node_modules' folder, target file types: {1}."),Found_package_json_at_0:P(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:P(6100,3,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:P(6101,3,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:P(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:P(6104,3,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:P(6105,3,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:P(6106,3,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:P(6107,3,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:P(6108,3,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:P(6109,3,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:P(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:P(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:P(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:P(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:P(6114,1,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:P(6115,3,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:P(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:P(6119,3,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:P(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:P(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:P(6122,3,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:P(6123,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:P(6124,3,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:P(6125,3,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:P(6126,3,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:P(6127,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:P(6128,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:P(6130,3,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:P(6131,1,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:P(6132,3,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:P(6133,1,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:P(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:P(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:P(6136,3,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:P(6137,1,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:P(6138,1,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:P(6139,3,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:P(6140,1,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:P(6141,3,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:P(6142,1,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:P(6144,3,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:P(6145,3,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:P(6146,3,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:P(6147,3,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:P(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:P(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:P(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:P(6151,3,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:P(6152,3,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:P(6153,3,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:P(6154,3,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:P(6155,3,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:P(6156,3,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:P(6157,3,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:P(6158,3,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:P(6159,3,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:P(6160,3,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:P(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:P(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:P(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:P(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:P(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:P(6166,3,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:P(6167,3,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:P(6168,3,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:P(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:P(6170,3,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:P(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:P(6179,3,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:P(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:P(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:P(6183,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:P(6184,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:P(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:P(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:P(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:P(6189,1,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:P(6191,3,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:P(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:P(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:P(6194,3,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:P(6195,3,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:P(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:P(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:P(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:P(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:P(6200,1,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:P(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:P(6202,1,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:P(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:P(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:P(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:P(6206,3,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:P(6207,3,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:P(6208,3,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:P(6209,3,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:P(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:P(6211,3,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:P(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:P(6213,3,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:P(6214,3,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:P(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:P(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:P(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:P(6218,3,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:P(6219,3,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:P(6220,3,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:P(6221,3,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:P(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:P(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:P(6224,3,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:P(6225,3,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:P(6226,3,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:P(6227,3,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:P(6229,1,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:P(6230,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:P(6231,1,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:P(6232,1,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:P(6233,1,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:P(6234,1,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:P(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:P(6236,1,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:P(6237,3,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:P(6238,1,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:P(6239,3,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:P(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:P(6241,3,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:P(6242,3,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:P(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:P(6244,3,"Modules_6244","Modules"),File_Management:P(6245,3,"File_Management_6245","File Management"),Emit:P(6246,3,"Emit_6246","Emit"),JavaScript_Support:P(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:P(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:P(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:P(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:P(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:P(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:P(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:P(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:P(6255,3,"Projects_6255","Projects"),Output_Formatting:P(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:P(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:P(6258,1,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_0:P(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:P(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:P(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:P(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:P(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:P(6264,3,"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264","Enable importing files with any extension, provided a declaration file is present."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:P(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:P(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:P(6270,3,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:P(6271,3,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:P(6272,3,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:P(6273,3,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:P(6274,3,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:P(6275,3,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:P(6276,3,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:P(6277,3,"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277","Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:P(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278",`There are types at '{0}', but this result could not be resolved when respecting package.json "exports". The '{1}' library may need to update its package.json or typings.`),Enable_project_compilation:P(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:P(6304,1,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:P(6305,1,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:P(6306,1,"Referenced_project_0_must_have_setting_composite_Colon_true_6306",`Referenced project '{0}' must have setting "composite": true.`),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:P(6307,1,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:P(6308,1,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:P(6309,1,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:P(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:P(6350,3,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:P(6351,3,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:P(6352,3,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:P(6353,3,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:P(6354,3,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:P(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:P(6356,3,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:P(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:P(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:P(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:P(6361,3,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:P(6362,3,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:P(6363,3,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:P(6364,3,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:P(6365,3,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:P(6367,3,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:P(6369,1,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:P(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:P(6371,3,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:P(6372,3,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:P(6373,3,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:P(6374,3,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:P(6375,3,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:P(6376,3,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:P(6377,1,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Composite_projects_may_not_disable_incremental_compilation:P(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:P(6380,3,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:P(6381,3,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:P(6382,3,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:P(6383,3,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:P(6384,3,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:P(6385,2,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:P(6386,3,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:P(6387,2,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:P(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:P(6389,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:P(6390,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:P(6391,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:P(6392,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:P(6393,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:P(6394,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:P(6395,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:P(6396,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:P(6397,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:P(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:P(6399,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:P(6400,3,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:P(6401,3,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:P(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:P(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:P(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:P(6405,3,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:P(6406,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406","Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:P(6407,3,"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407","Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."),Use_the_package_json_exports_field_when_resolving_package_imports:P(6408,3,"Use_the_package_json_exports_field_when_resolving_package_imports_6408","Use the package.json 'exports' field when resolving package imports."),Use_the_package_json_imports_field_when_resolving_imports:P(6409,3,"Use_the_package_json_imports_field_when_resolving_imports_6409","Use the package.json 'imports' field when resolving imports."),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:P(6410,3,"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410","Conditions to set in addition to the resolver-specific defaults when resolving imports."),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:P(6411,3,"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411","`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:P(6412,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412","Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),Entering_conditional_exports:P(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:P(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:P(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:P(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:P(6417,3,"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417","Searching all ancestor node_modules directories for preferred extensions: {0}."),Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0:P(6418,3,"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418","Searching all ancestor node_modules directories for fallback extensions: {0}."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:P(6500,3,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:P(6501,3,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:P(6502,3,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:P(6503,3,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:P(6504,1,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:P(6505,3,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:P(6506,3,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:P(6600,3,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:P(6601,3,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:P(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:P(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:P(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:P(6605,3,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:P(6606,3,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:P(6607,3,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:P(6608,3,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:P(6609,3,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:P(6611,3,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:P(6612,3,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:P(6613,3,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:P(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:P(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:P(6616,3,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:P(6617,3,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:P(6618,3,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:P(6619,3,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:P(6620,3,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects."),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:P(6621,3,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:P(6622,3,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:P(6623,3,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:P(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:P(6625,3,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:P(6626,3,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."),Filters_results_from_the_include_option:P(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:P(6628,3,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:P(6629,3,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_legacy_experimental_decorators:P(6630,3,"Enable_experimental_support_for_legacy_experimental_decorators_6630","Enable experimental support for legacy experimental decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:P(6631,3,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:P(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:P(6633,3,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:P(6634,3,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:P(6635,3,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:P(6636,3,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date."),Ensure_that_casing_is_correct_in_imports:P(6637,3,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:P(6638,3,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:P(6639,3,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:P(6641,3,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:P(6642,3,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:P(6643,3,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:P(6644,3,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:P(6645,3,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:P(6646,3,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:P(6647,3,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:P(6648,3,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:P(6649,3,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:P(6650,3,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:P(6651,3,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:P(6652,3,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:P(6653,3,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:P(6654,3,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:P(6655,3,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:P(6656,3,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."),Specify_what_module_code_is_generated:P(6657,3,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:P(6658,3,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:P(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:P(6660,3,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:P(6661,3,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like '__extends' in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:P(6662,3,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:P(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:P(6664,3,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:P(6665,3,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied 'any' type."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:P(6666,3,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:P(6667,3,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:P(6668,3,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when 'this' is given the type 'any'."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:P(6669,3,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:P(6670,3,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:P(6671,3,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type."),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:P(6672,3,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:P(6673,3,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:P(6674,3,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:P(6675,3,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:P(6676,3,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read."),Deprecated_setting_Use_outFile_instead:P(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:P(6678,3,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:P(6679,3,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:P(6680,3,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:P(6681,3,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:P(6682,3,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing 'const enum' declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:P(6683,3,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:P(6684,3,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode."),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:P(6685,3,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read."),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:P(6686,3,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:P(6687,3,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:P(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:P(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:P(6690,3,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:P(6691,3,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:P(6692,3,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:P(6693,3,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:P(6694,3,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:P(6695,3,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:P(6697,3,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:P(6698,3,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:P(6699,3,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account 'null' and 'undefined'."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:P(6700,3,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:P(6701,3,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have '@internal' in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:P(6702,3,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:P(6703,3,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:P(6704,3,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:P(6705,3,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:P(6706,3,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:P(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:P(6709,3,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:P(6710,3,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like './node_modules/@types'."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:P(6711,3,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:P(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:P(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:P(6714,3,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:P(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:P(6717,3,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:P(6718,3,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Default_catch_clause_variables_as_unknown_instead_of_any:P(6803,3,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting:P(6804,3,"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804","Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),one_of_Colon:P(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:P(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:P(6902,3,"type_Colon_6902","type:"),default_Colon:P(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:P(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:P(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:P(6906,3,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:P(6907,3,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:P(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:P(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:P(69010,3,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:P(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:P(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:P(6913,3,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:P(6914,3,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:P(6915,3,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:P(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:P(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:P(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:P(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:P(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:P(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:P(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:P(6923,3,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:P(6924,3,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:P(6925,3,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:P(6926,3,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:P(6927,3,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:P(6928,3,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:P(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:P(6930,3,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:P(6931,1,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),Variable_0_implicitly_has_an_1_type:P(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:P(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:P(7008,1,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:P(7009,1,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:P(7010,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:P(7011,1,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:P(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:P(7013,1,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:P(7014,1,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:P(7015,1,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:P(7016,1,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:P(7017,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:P(7018,1,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:P(7019,1,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:P(7020,1,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:P(7022,1,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:P(7023,1,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:P(7024,1,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:P(7025,1,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:P(7026,1,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:P(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:P(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:P(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:P(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:P(7031,1,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:P(7032,1,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:P(7033,1,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:P(7034,1,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:P(7035,1,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:P(7036,1,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:P(7037,3,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:P(7038,3,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:P(7039,1,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:P(7040,1,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:P(7041,1,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:P(7042,1,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:P(7043,2,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:P(7044,2,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:P(7045,2,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:P(7046,2,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:P(7047,2,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:P(7048,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:P(7049,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:P(7050,2,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:P(7051,1,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:P(7052,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:P(7053,1,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:P(7054,1,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:P(7055,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:P(7056,1,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:P(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:P(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:P(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:P(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:P(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:P(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:P(8001,1,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:P(8002,1,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:P(8003,1,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:P(8004,1,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:P(8005,1,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:P(8006,1,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:P(8008,1,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:P(8009,1,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:P(8010,1,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:P(8011,1,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:P(8012,1,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:P(8013,1,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:P(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:P(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:P(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:P(8020,1,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:P(8021,1,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:P(8022,1,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:P(8023,1,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:P(8024,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:P(8025,1,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:P(8026,1,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:P(8027,1,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:P(8028,1,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:P(8029,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:P(8030,1,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:P(8031,1,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:P(8032,1,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:P(8033,1,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:P(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:P(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:P(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:P(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:P(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:P(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:P(9005,1,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:P(9006,1,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:P(17e3,1,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:P(17001,1,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:P(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:P(17004,1,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:P(17005,1,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:P(17006,1,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:P(17007,1,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:P(17008,1,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:P(17009,1,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:P(17010,1,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:P(17011,1,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:P(17012,1,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:P(17013,1,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:P(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:P(17015,1,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:P(17016,1,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:P(17017,1,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:P(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:P(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:P(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Unicode_escape_sequence_cannot_appear_here:P(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:P(18e3,1,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:P(18002,1,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:P(18003,1,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:P(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:P(80002,2,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:P(80003,2,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:P(80004,2,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:P(80005,2,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:P(80006,2,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:P(80007,2,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:P(80008,2,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),JSDoc_typedef_may_be_converted_to_TypeScript_type:P(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:P(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:P(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:P(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:P(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:P(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:P(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:P(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:P(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:P(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:P(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:P(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:P(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:P(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:P(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:P(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:P(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:P(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:P(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:P(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:P(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:P(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:P(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:P(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:P(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:P(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:P(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:P(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:P(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:P(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:P(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:P(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:P(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:P(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:P(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:P(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:P(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:P(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:P(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:P(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:P(90055,3,"Remove_type_from_import_declaration_from_0_90055",`Remove 'type' from import declaration from "{0}"`),Remove_type_from_import_of_0_from_1:P(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:P(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:P(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:P(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:P(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:P(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:P(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:P(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:P(95005,3,"Extract_function_95005","Extract function"),Extract_constant:P(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:P(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:P(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:P(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:P(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:P(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:P(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:P(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:P(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:P(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:P(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:P(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:P(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:P(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:P(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:P(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:P(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:P(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:P(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:P(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:P(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:P(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:P(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:P(95030,3,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:P(95031,3,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:P(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:P(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:P(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:P(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:P(95036,3,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:P(95037,3,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:P(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:P(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:P(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:P(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:P(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:P(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:P(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:P(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:P(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:P(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:P(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:P(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:P(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:P(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:P(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:P(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:P(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:P(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:P(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:P(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:P(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:P(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:P(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:P(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:P(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:P(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:P(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:P(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:P(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:P(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:P(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:P(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:P(95070,3,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:P(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:P(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:P(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:P(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:P(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:P(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:P(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:P(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:P(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:P(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:P(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:P(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:P(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:P(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:P(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:P(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:P(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:P(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:P(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:P(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:P(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:P(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:P(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:P(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:P(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:P(95097,3,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:P(95098,3,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:P(95099,3,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:P(95100,3,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:P(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:P(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:P(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:P(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:P(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:P(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:P(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:P(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:P(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:P(95112,3,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:P(95113,3,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:P(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:P(95115,3,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:P(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:P(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:P(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:P(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:P(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:P(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:P(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:P(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:P(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:P(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:P(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:P(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:P(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:P(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:P(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:P(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:P(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:P(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:P(95134,3,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:P(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:P(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:P(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:P(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:P(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:P(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:P(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:P(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:P(95143,3,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:P(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:P(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:P(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:P(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:P(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:P(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:P(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:P(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:P(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:P(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:P(95154,3,"Can_only_convert_string_concatenations_and_string_literals_95154","Can only convert string concatenations and string literals"),Selection_is_not_a_valid_statement_or_statements:P(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:P(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:P(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:P(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:P(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:P(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:P(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:P(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:P(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:P(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:P(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:P(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:P(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:P(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:P(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:P(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:P(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:P(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:P(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:P(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:P(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:P(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:P(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:P(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:P(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:P(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:P(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:P(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:P(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:P(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:P(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:P(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:P(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:P(18004,1,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:P(18006,1,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:P(18007,1,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:P(18009,1,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:P(18010,1,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:P(18011,1,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:P(18012,1,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:P(18013,1,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:P(18014,1,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:P(18015,1,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:P(18016,1,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:P(18017,1,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:P(18018,1,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:P(18019,1,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:P(18024,1,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:P(18026,1,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:P(18027,1,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:P(18028,1,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:P(18029,1,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:P(18030,1,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:P(18031,1,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:P(18032,1,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:P(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:P(18034,3,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:P(18035,1,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:P(18036,1,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),await_expression_cannot_be_used_inside_a_class_static_block:P(18037,1,"await_expression_cannot_be_used_inside_a_class_static_block_18037","'await' expression cannot be used inside a class static block."),for_await_loops_cannot_be_used_inside_a_class_static_block:P(18038,1,"for_await_loops_cannot_be_used_inside_a_class_static_block_18038","'for await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:P(18039,1,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:P(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:P(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:P(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:P(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:P(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:P(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:P(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:P(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:P(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:P(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:P(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Non_abstract_class_0_does_not_implement_all_abstract_members_of_1:P(18052,1,"Non_abstract_class_0_does_not_implement_all_abstract_members_of_1_18052","Non-abstract class '{0}' does not implement all abstract members of '{1}'"),Its_type_0_is_not_a_valid_JSX_element_type:P(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:P(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block.")}}});function hh(t){return t>=80}function v2e(t){return t===32||hh(t)}function SO(t,u){if(t=2?SO(t,qqe):u===1?SO(t,$qe):SO(t,Gqe)}function sTt(t,u){return u>=2?SO(t,Zqe):u===1?SO(t,Uqe):SO(t,Jqe)}function lTt(t){const u=[];return t.forEach((s,d)=>{u[s]=d}),u}function $o(t){return eZe[t]}function c2(t){return k2e.get(t)}function t7(t){const u=[];let s=0,d=0;for(;s127&&q1(f)&&(u.push(d),d=s);break}}return u.push(d),u}function BO(t,u,s,d){return t.getPositionOfLineAndCharacter?t.getPositionOfLineAndCharacter(u,s,d):CU(J3(t),u,s,t.text,d)}function CU(t,u,s,d,f){(u<0||u>=t.length)&&(f?u=u<0?0:u>=t.length?t.length-1:u:H.fail(`Bad line number. Line: ${u}, lineStarts.length: ${t.length} , line map is correct? ${d!==void 0?Zt(t,t7(d)):"unknown"}`));const p=t[u]+s;return f?p>t[u+1]?t[u+1]:typeof d=="string"&&p>d.length?d.length:p:(u=8192&&t<=8203||t===8239||t===8287||t===12288||t===65279}function q1(t){return t===10||t===13||t===8232||t===8233}function LN(t){return t>=48&&t<=57}function Hqe(t){return LN(t)||t>=65&&t<=70||t>=97&&t<=102}function cTt(t){return t<=1114111}function bU(t){return t>=48&&t<=55}function C2e(t,u){const s=t.charCodeAt(u);switch(s){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return!0;case 35:return u===0;default:return s>127}}function ps(t,u,s,d,f){if(fg(u))return u;let p=!1;for(;;){const E=t.charCodeAt(u);switch(E){case 13:t.charCodeAt(u+1)===10&&u++;case 10:if(u++,s)return u;p=!!f;continue;case 9:case 11:case 12:case 32:u++;continue;case 47:if(d)break;if(t.charCodeAt(u+1)===47){for(u+=2;u127&&$3(E)){u++;continue}break}return u}}function NN(t,u){if(H.assert(u>=0),u===0||q1(t.charCodeAt(u-1))){const s=t.charCodeAt(u);if(u+kU=0&&s127&&$3(j)){T&&q1(j)&&(k=!0),s++;continue}break e}}return T&&(z=f(v,b,B,k,p,z)),z}function TO(t,u,s,d){return wse(!1,t,u,!1,s,d)}function LO(t,u,s,d){return wse(!1,t,u,!0,s,d)}function b2e(t,u,s,d,f){return wse(!0,t,u,!1,s,d,f)}function y2e(t,u,s,d,f){return wse(!0,t,u,!0,s,d,f)}function Kqe(t,u,s,d,f,p=[]){return p.push({kind:s,pos:t,end:u,hasTrailingNewLine:d}),p}function K_(t,u){return b2e(t,u,Kqe,void 0,void 0)}function mv(t,u){return y2e(t,u,Kqe,void 0,void 0)}function yU(t){const u=Tse.exec(t);if(u)return u[0]}function W_(t,u){return t>=65&&t<=90||t>=97&&t<=122||t===36||t===95||t>127&&vU(t,u)}function pv(t,u,s){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===36||t===95||(s===1?t===45||t===58:!1)||t>127&&sTt(t,u)}function Tm(t,u,s){let d=kx(t,0);if(!W_(d,u))return!1;for(let f=gv(d);fk,getStartPos:()=>k,getTokenEnd:()=>b,getTextPos:()=>b,getToken:()=>M,getTokenStart:()=>T,getTokenPos:()=>T,getTokenText:()=>v.substring(T,b),getTokenValue:()=>z,hasUnicodeEscape:()=>(j&1024)!==0,hasExtendedUnicodeEscape:()=>(j&8)!==0,hasPrecedingLineBreak:()=>(j&1)!==0,hasPrecedingJSDocComment:()=>(j&2)!==0,isIdentifier:()=>M===80||M>118,isReservedWord:()=>M>=83&&M<=118,isUnterminated:()=>(j&4)!==0,getCommentDirectives:()=>J,getNumericLiteralFlags:()=>j&25584,getTokenFlags:()=>j,reScanGreaterToken:Ie,reScanAsteriskEqualsToken:lt,reScanSlashToken:St,reScanTemplateToken:ht,reScanTemplateHeadOrNoSubstitutionTemplate:Ut,scanJsxIdentifier:Pi,scanJsxAttributeValue:ki,reScanJsxAttributeValue:Yu,reScanJsxToken:Ni,reScanLessThanToken:Vi,reScanHashToken:xn,reScanQuestionToken:$n,reScanInvalidIdentifier:Gt,scanJsxToken:rn,scanJsDocToken:Fr,scanJSDocCommentTextToken:oa,scan:je,getText:Fi,clearCommentDirectives:Dn,setText:Cn,setScriptTarget:sa,setLanguageVariant:Da,setScriptKind:aa,setJSDocParsingMode:Ba,setOnError:tu,resetTokenState:Yo,setTextPos:Yo,setInJSDocType:vo,tryScan:Ln,lookAhead:On,scanRange:bt};return H.isDebugging&&Object.defineProperty(se,"__debugShowCurrentPositionInText",{get:()=>{const Qe=se.getText();return Qe.slice(0,se.getTokenFullStart())+"║"+Qe.slice(se.getTokenFullStart())}}),se;function ge(Qe,Et=b,Mt,qt){if(f){const Xt=b;b=Et,f(Qe,Mt||0,qt),b=Xt}}function ae(){let Qe=b,Et=!1,Mt=!1,qt="";for(;;){const Xt=v.charCodeAt(b);if(Xt===95){j|=512,Et?(Et=!1,Mt=!0,qt+=v.substring(Qe,b)):(j|=16384,ge(Mt?F.Multiple_consecutive_numeric_separators_are_not_permitted:F.Numeric_separators_are_not_allowed_here,b,1)),b++,Qe=b;continue}if(LN(Xt)){Et=!0,Mt=!1,b++;continue}break}return v.charCodeAt(b-1)===95&&(j|=16384,ge(F.Numeric_separators_are_not_allowed_here,b-1,1)),qt+v.substring(Qe,b)}function Ce(){let Qe=b,Et;if(v.charCodeAt(b)===48)if(b++,v.charCodeAt(b)===95)j|=16896,ge(F.Numeric_separators_are_not_allowed_here,b,1),b--,Et=ae();else if(!ve())j|=8192,Et=""+ +z;else if(!z)Et="0";else{z=""+parseInt(z,8),j|=32;const et=M===41,gt=(et?"-":"")+"0o"+(+z).toString(8);return et&&Qe--,ge(F.Octal_literals_are_not_allowed_Use_the_syntax_0,Qe,b-Qe,gt),9}else Et=ae();let Mt,qt;v.charCodeAt(b)===46&&(b++,Mt=ae());let Xt=b;if(v.charCodeAt(b)===69||v.charCodeAt(b)===101){b++,j|=16,(v.charCodeAt(b)===43||v.charCodeAt(b)===45)&&b++;const et=b,gt=ae();gt?(qt=v.substring(Xt,et)+gt,Xt=b):ge(F.Digit_expected)}let Pe;if(j&512?(Pe=Et,Mt&&(Pe+="."+Mt),qt&&(Pe+=qt)):Pe=v.substring(Qe,Xt),j&8192)return ge(F.Decimals_with_leading_zeros_are_not_allowed,Qe,Xt-Qe),z=""+ +Pe,9;if(Mt!==void 0||j&16)return ne(Qe,Mt===void 0&&!!(j&16)),z=""+ +Pe,9;{z=Pe;const et=Ze();return ne(Qe),et}}function ne(Qe,Et){if(!W_(kx(v,b),t))return;const Mt=b,{length:qt}=He();qt===1&&v[Mt]==="n"?ge(Et?F.A_bigint_literal_cannot_use_exponential_notation:F.A_bigint_literal_must_be_an_integer,Qe,Mt-Qe+1):(ge(F.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,Mt,qt),b=Mt)}function ve(){const Qe=b;let Et=!0;for(;LN(v.charCodeAt(b));)bU(v.charCodeAt(b))||(Et=!1),b++;return z=v.substring(Qe,b),Et}function Se(Qe,Et){const Mt=pe(Qe,!1,Et);return Mt?parseInt(Mt,16):-1}function Ne(Qe,Et){return pe(Qe,!0,Et)}function pe(Qe,Et,Mt){let qt=[],Xt=!1,Pe=!1;for(;qt.length=65&&et<=70)et+=32;else if(!(et>=48&&et<=57||et>=97&&et<=102))break;qt.push(et),b++,Pe=!1}return qt.length=B){Mt+=v.substring(qt,b),j|=4,ge(F.Unterminated_string_literal);break}const Xt=v.charCodeAt(b);if(Xt===Et){Mt+=v.substring(qt,b),b++;break}if(Xt===92&&!Qe){Mt+=v.substring(qt,b),Mt+=Be(!0),qt=b;continue}if((Xt===10||Xt===13)&&!Qe){Mt+=v.substring(qt,b),j|=4,ge(F.Unterminated_string_literal);break}b++}return Mt}function xe(Qe){const Et=v.charCodeAt(b)===96;b++;let Mt=b,qt="",Xt;for(;;){if(b>=B){qt+=v.substring(Mt,b),j|=4,ge(F.Unterminated_template_literal),Xt=Et?15:18;break}const Pe=v.charCodeAt(b);if(Pe===96){qt+=v.substring(Mt,b),b++,Xt=Et?15:18;break}if(Pe===36&&b+1=B)return ge(F.Unexpected_end_of_text),"";const Mt=v.charCodeAt(b);switch(b++,Mt){case 48:if(b>=B||!LN(v.charCodeAt(b)))return"\0";case 49:case 50:case 51:b=B?(j|=2048,Qe&&ge(F.Unexpected_end_of_text),v.substring(Et,b)):v.charCodeAt(b)!==125?(j|=2048,Qe&&ge(F.Unterminated_Unicode_escape_sequence),v.substring(Et,b)):(b++,j|=8,y8(Xt)):(j|=2048,Qe&&ge(F.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),v.substring(Et,b))}for(;b1114111&&(ge(F.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),Mt=!0),b>=B?(ge(F.Unexpected_end_of_text),Mt=!0):v.charCodeAt(b)===125?b++:(ge(F.Unterminated_Unicode_escape_sequence),Mt=!0),Mt?"":y8(Et)}function Ae(){if(b+5=0&&pv(Mt,t)){b+=3,j|=8,Qe+=We(),Et=b;continue}if(Mt=Ae(),!(Mt>=0&&pv(Mt,t)))break;j|=1024,Qe+=v.substring(Et,b),Qe+=y8(Mt),b+=6,Et=b}else break}return Qe+=v.substring(Et,b),Qe}function Je(){const Qe=z.length;if(Qe>=2&&Qe<=12){const Et=z.charCodeAt(0);if(Et>=97&&Et<=122){const Mt=Wqe.get(z);if(Mt!==void 0)return M=Mt}}return M=80}function ft(Qe){let Et="",Mt=!1,qt=!1;for(;;){const Xt=v.charCodeAt(b);if(Xt===95){j|=512,Mt?(Mt=!1,qt=!0):ge(qt?F.Multiple_consecutive_numeric_separators_are_not_permitted:F.Numeric_separators_are_not_allowed_here,b,1),b++;continue}if(Mt=!0,!LN(Xt)||Xt-48>=Qe)break;Et+=v[b],b++,qt=!1}return v.charCodeAt(b-1)===95&&ge(F.Numeric_separators_are_not_allowed_here,b-1,1),Et}function Ze(){return v.charCodeAt(b)===110?(z+="n",j&384&&(z=AP(z)+"n"),b++,10):(z=""+(j&128?parseInt(z.slice(2),2):j&256?parseInt(z.slice(2),8):+z),9)}function je(){k=b,j=0;let Qe=!1;for(;;){if(T=b,b>=B)return M=1;const Et=kx(v,b);if(b===0){if(Et===65533)return ge(F.File_appears_to_be_binary),b=B,M=8;if(Et===35&&Sse(v,b)){if(b=Bse(v,b),u)continue;return M=6}}switch(Et){case 10:case 13:if(j|=1,u){b++;continue}else return Et===13&&b+1=0&&W_(Mt,t))return b+=3,j|=8,z=We()+He(),M=Je();const qt=Ae();return qt>=0&&W_(qt,t)?(b+=6,j|=1024,z=String.fromCharCode(qt)+He(),M=Je()):(ge(F.Invalid_character),b++,M=0);case 35:if(b!==0&&v[b+1]==="!")return ge(F.can_only_be_used_at_the_start_of_a_file),b++,M=0;const Xt=kx(v,b+1);if(Xt===92){b++;const gt=De();if(gt>=0&&W_(gt,t))return b+=3,j|=8,z="#"+We()+He(),M=81;const ii=Ae();if(ii>=0&&W_(ii,t))return b+=6,j|=1024,z="#"+String.fromCharCode(ii)+He(),M=81;b--}return W_(Xt,t)?(b++,Yt(Xt,t)):(z="#",ge(F.Invalid_character,b++,gv(Et))),M=81;default:const Pe=Yt(Et,t);if(Pe)return M=Pe;if(Ug(Et)){b+=gv(Et);continue}else if(q1(Et)){j|=1,b+=gv(Et);continue}const et=gv(Et);return ge(F.Invalid_character,b,et),b+=et,M=0}}}function Ke(){switch(oe){case 0:return!0;case 1:return!1}return Y!==3&&Y!==4?!0:oe===3?!1:Xqe.test(v.slice(k,b))}function Gt(){H.assert(M===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),b=T=k,j=0;const Qe=kx(v,b),Et=Yt(Qe,99);return Et?M=Et:(b+=gv(Qe),M)}function Yt(Qe,Et){let Mt=Qe;if(W_(Mt,Et)){for(b+=gv(Mt);b=B)return M=1;let Et=v.charCodeAt(b);if(Et===60)return v.charCodeAt(b+1)===47?(b+=2,M=31):(b++,M=30);if(Et===123)return b++,M=19;let Mt=0;for(;b0)break;$3(Et)||(Mt=b)}b++}return z=v.substring(k,b),Mt===-1?13:12}function Pi(){if(hh(M)){for(;b=B)return M=1;for(let Et=v.charCodeAt(b);b=0&&Ug(v.charCodeAt(b-1))&&!(b+1=B)return M=1;const Qe=kx(v,b);switch(b+=gv(Qe),Qe){case 9:case 11:case 12:case 32:for(;b=0&&W_(Et,t))return b+=3,j|=8,z=We()+He(),M=Je();const Mt=Ae();return Mt>=0&&W_(Mt,t)?(b+=6,j|=1024,z=String.fromCharCode(Mt)+He(),M=Je()):(b++,M=0)}if(W_(Qe,t)){let Et=Qe;for(;b=0),b=Qe,k=Qe,T=Qe,M=0,z=void 0,j=0}function vo(Qe){K+=Qe?1:-1}}function kx(t,u){return t.codePointAt(u)}function gv(t){return t>=65536?2:1}function dTt(t){if(H.assert(0<=t&&t<=1114111),t<=65535)return String.fromCharCode(t);const u=Math.floor((t-65536)/1024)+55296,s=(t-65536)%1024+56320;return String.fromCharCode(u,s)}function y8(t){return tZe(t)}var NO,Wqe,k2e,Gqe,Jqe,$qe,Uqe,qqe,Zqe,Yqe,Qqe,Xqe,eZe,kU,Tse,tZe,hTt=o({"src/compiler/scanner.ts"(){So(),NO={abstract:128,accessor:129,any:133,as:130,asserts:131,assert:132,bigint:163,boolean:136,break:83,case:84,catch:85,class:86,continue:88,const:87,constructor:137,debugger:89,declare:138,default:90,delete:91,do:92,else:93,enum:94,export:95,extends:96,false:97,finally:98,for:99,from:161,function:100,get:139,if:101,implements:119,import:102,in:103,infer:140,instanceof:104,interface:120,intrinsic:141,is:142,keyof:143,let:121,module:144,namespace:145,never:146,new:105,null:106,number:150,object:151,package:122,private:123,protected:124,public:125,override:164,out:147,readonly:148,require:149,global:162,return:107,satisfies:152,set:153,static:126,string:154,super:108,switch:109,symbol:155,this:110,throw:111,true:112,try:113,type:156,typeof:114,undefined:157,unique:158,unknown:159,using:160,var:115,void:116,while:117,with:118,yield:127,async:134,await:135,of:165},Wqe=new Map(Object.entries(NO)),k2e=new Map(Object.entries({...NO,"{":19,"}":20,"(":21,")":22,"[":23,"]":24,".":25,"...":26,";":27,",":28,"<":30,">":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,">":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62})),Gqe=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],Jqe=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],$qe=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],Uqe=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],qqe=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],Zqe=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999],Yqe=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,Qqe=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,Xqe=/@(?:see|link)/i,eZe=lTt(k2e),kU=7,Tse=/^#!.*/,tZe=String.fromCodePoint?t=>String.fromCodePoint(t):dTt}});function Md(t){return am(t)||Nf(t)}function k8(t){return mi(t,CP)}function PO(t){switch(Rs(t)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function gc(t){return t.start+t.length}function F2e(t){return t.length===0}function Lse(t,u){return u>=t.start&&u=t.pos&&u<=t.end}function A2e(t,u){return u.start>=t.start&&gc(u)<=gc(t)}function iZe(t,u){return S2e(t,u)!==void 0}function S2e(t,u){const s=w2e(t,u);return s&&s.length===0?void 0:s}function nZe(t,u){return zO(t.start,t.length,u.start,u.length)}function FU(t,u,s){return zO(t.start,t.length,u,s)}function zO(t,u,s,d){const f=t+u,p=s+d;return s<=f&&p>=t}function B2e(t,u){return u<=gc(t)&&u>=t.start}function w2e(t,u){const s=Math.max(t.start,u.start),d=Math.min(gc(t),gc(u));return s<=d?Vc(s,d):void 0}function c1(t,u){if(t<0)throw new Error("start < 0");if(u<0)throw new Error("length < 0");return{start:t,length:u}}function Vc(t,u){return c1(t,u-t)}function PN(t){return c1(t.span.start,t.newLength)}function T2e(t){return F2e(t.span)&&t.newLength===0}function IO(t,u){if(u<0)throw new Error("newLength < 0");return{span:t,newLength:u}}function L2e(t){if(t.length===0)return XO;if(t.length===1)return t[0];const u=t[0];let s=u.span.start,d=gc(u.span),f=s+u.newLength;for(let p=1;p=2&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95?"_"+t:t}function Qr(t){const u=t;return u.length>=3&&u.charCodeAt(0)===95&&u.charCodeAt(1)===95&&u.charCodeAt(2)===95?u.substr(1):u}function fu(t){return Qr(t.escapedText)}function Ev(t){const u=c2(t.escapedText);return u?rr(u,nf):void 0}function sc(t){return t.valueDeclaration&&mh(t.valueDeclaration)?fu(t.valueDeclaration.name):Qr(t.escapedName)}function aZe(t){const u=t.parent.parent;if(u){if(Y1(u))return Pse(u);switch(u.kind){case 243:if(u.declarationList&&u.declarationList.declarations[0])return Pse(u.declarationList.declarations[0]);break;case 244:let s=u.expression;switch(s.kind===226&&s.operatorToken.kind===64&&(s=s.left),s.kind){case 211:return s.name;case 212:const d=s.argumentExpression;if(at(d))return d}break;case 217:return Pse(u.expression);case 256:{if(Y1(u.statement)||Wt(u.statement))return Pse(u.statement);break}}}}function Pse(t){const u=$a(t);return u&&at(u)?u:void 0}function RO(t,u){return!!(fh(t)&&at(t.name)&&fu(t.name)===fu(u)||Gl(t)&&Ge(t.declarationList.declarations,s=>RO(s,u)))}function z2e(t){return t.name||aZe(t)}function fh(t){return!!t.name}function AU(t){switch(t.kind){case 80:return t;case 355:case 348:{const{name:s}=t;if(s.kind===166)return s.right;break}case 213:case 226:{const s=t;switch(Ql(s)){case 1:case 4:case 5:case 3:return vq(s.left);case 7:case 8:case 9:return s.arguments[1];default:return}}case 353:return z2e(t);case 347:return aZe(t);case 277:{const{expression:s}=t;return at(s)?s:void 0}case 212:const u=t;if(xq(u))return u.argumentExpression}return t.name}function $a(t){if(t!==void 0)return AU(t)||(A0(t)||J0(t)||Qd(t)?Mse(t):void 0)}function Mse(t){if(t.parent){if(Jc(t.parent)||Os(t.parent))return t.parent.name;if(eu(t.parent)&&t===t.parent.right){if(at(t.parent.left))return t.parent.left;if(M0(t.parent.left))return vq(t.parent.left)}else if(ra(t.parent)&&at(t.parent.name))return t.parent.name}else return}function Fx(t){if(a4(t))return ei(t.modifiers,p1)}function h2(t){if(Qu(t,98303))return ei(t.modifiers,Qo)}function oZe(t,u){if(t.name)if(at(t.name)){const s=t.name.escapedText;return jO(t.parent,u).filter(d=>pg(d)&&at(d.name)&&d.name.escapedText===s)}else{const s=t.parent.parameters.indexOf(t);H.assert(s>-1,"Parameters should always be in their parents' parameter list");const d=jO(t.parent,u).filter(pg);if(sgg(d)&&d.typeParameters.some(f=>f.name.escapedText===s))}function R2e(t){return sZe(t,!1)}function O2e(t){return sZe(t,!0)}function j2e(t){return!!O4(t,pg)}function V2e(t){return O4(t,wB)}function H2e(t){return jse(t,Lce)}function zse(t){return O4(t,EFe)}function lZe(t){return O4(t,Ace)}function K2e(t){return O4(t,Ace,!0)}function cZe(t){return O4(t,Sce)}function W2e(t){return O4(t,Sce,!0)}function dZe(t){return O4(t,Bce)}function G2e(t){return O4(t,Bce,!0)}function hZe(t){return O4(t,wce)}function J2e(t){return O4(t,wce,!0)}function $2e(t){return O4(t,hY,!0)}function Ise(t){return O4(t,Tce)}function U2e(t){return O4(t,Tce,!0)}function Rse(t){return O4(t,wV)}function SU(t){return O4(t,_Fe)}function q2e(t){return O4(t,fY)}function fZe(t){return O4(t,gg)}function Ose(t){return O4(t,mY)}function _v(t){const u=O4(t,QP);if(u&&u.typeExpression&&u.typeExpression.type)return u}function Dv(t){let u=O4(t,QP);return!u&&Qa(t)&&(u=Le(A8(t),s=>!!s.typeExpression)),u&&u.typeExpression&&u.typeExpression.type}function OO(t){const u=q2e(t);if(u&&u.typeExpression)return u.typeExpression.type;const s=_v(t);if(s&&s.typeExpression){const d=s.typeExpression.type;if(hm(d)){const f=Le(d.members,xB);return f&&f.type}if(n3(d)||BB(d))return d.type}}function jO(t,u){var s;if(!Sj(t))return _t;let d=(s=t.jsDoc)==null?void 0:s.jsDocCache;if(d===void 0||u){const f=z0e(t,u);H.assert(f.length<2||f[0]!==f[1]),d=Ku(f,p=>Rp(p)?p.tags:p),u||(t.jsDoc??(t.jsDoc=[]),t.jsDoc.jsDocCache=d)}return d}function xv(t){return jO(t,!1)}function mZe(t){return jO(t,!0)}function O4(t,u,s){return Le(jO(t,s),u)}function jse(t,u){return xv(t).filter(u)}function pZe(t,u){return xv(t).filter(s=>s.kind===u)}function VO(t){return typeof t=="string"?t:t==null?void 0:t.map(u=>u.kind===328?u.text:mTt(u)).join("")}function mTt(t){const u=t.kind===331?"link":t.kind===332?"linkcode":"linkplain",s=t.name?Mf(t.name):"",d=t.name&&t.text.startsWith("://")?"":" ";return`{@${u} ${s}${d}${t.text}}`}function Ax(t){if(Iv(t)){if(TB(t.parent)){const u=tP(t.parent);if(u&&S(u.tags))return Ku(u.tags,s=>gg(s)?s.typeParameters:void 0)}return _t}if(K4(t))return H.assert(t.parent.kind===327),Ku(t.parent.tags,u=>gg(u)?u.typeParameters:void 0);if(t.typeParameters||BFe(t)&&t.typeParameters)return t.typeParameters;if(Xn(t)){const u=Mq(t);if(u.length)return u;const s=Dv(t);if(s&&n3(s)&&s.typeParameters)return s.typeParameters}return _t}function S8(t){return t.constraint?t.constraint:gg(t.parent)&&t===t.parent.typeParameters[0]?t.parent.constraint:void 0}function G_(t){return t.kind===80||t.kind===81}function BU(t){return t.kind===178||t.kind===177}function wU(t){return zu(t)&&!!(t.flags&64)}function Vse(t){return G0(t)&&!!(t.flags&64)}function Gy(t){return Po(t)&&!!(t.flags&64)}function Z1(t){const u=t.kind;return!!(t.flags&64)&&(u===211||u===212||u===213||u===235)}function zN(t){return Z1(t)&&!I7(t)&&!!t.questionDotToken}function TU(t){return zN(t.parent)&&t.parent.expression===t}function IN(t){return!Z1(t.parent)||zN(t.parent)||t!==t.parent.expression}function Hse(t){return t.kind===226&&t.operatorToken.kind===61}function U3(t){return Y4(t)&&at(t.typeName)&&t.typeName.escapedText==="const"&&!t.typeArguments}function wp(t){return _c(t,8)}function LU(t){return I7(t)&&!!(t.flags&64)}function RN(t){return t.kind===252||t.kind===251}function Kse(t){return t.kind===280||t.kind===279}function Z2e(t){switch(t.kind){case 309:case 310:return!0;default:return!1}}function Wse(t){return Z2e(t)||t.kind===307||t.kind===311}function HO(t){return t.kind===355||t.kind===348}function gZe(t){return KO(t.kind)}function KO(t){return t>=166}function Gse(t){return t>=0&&t<=165}function i7(t){return Gse(t.kind)}function f2(t){return gu(t,"pos")&&gu(t,"end")}function ON(t){return 9<=t&&t<=15}function m2(t){return ON(t.kind)}function Jse(t){switch(t.kind){case 210:case 209:case 14:case 218:case 231:return!0}return!1}function Sx(t){return 15<=t&&t<=18}function Y2e(t){return Sx(t.kind)}function NU(t){const u=t.kind;return u===17||u===18}function n7(t){return Cf(t)||X1(t)}function PU(t){switch(t.kind){case 276:return t.isTypeOnly||t.parent.parent.isTypeOnly;case 274:return t.parent.isTypeOnly;case 273:case 271:return t.isTypeOnly}return!1}function Q2e(t){switch(t.kind){case 281:return t.isTypeOnly||t.parent.parent.isTypeOnly;case 278:return t.isTypeOnly&&!!t.moduleSpecifier&&!t.exportClause;case 280:return t.parent.isTypeOnly}return!1}function p2(t){return PU(t)||Q2e(t)}function $se(t){return t.kind===11||Sx(t.kind)}function X2e(t){return us(t)||at(t)}function al(t){var u;return at(t)&&((u=t.emitNode)==null?void 0:u.autoGenerate)!==void 0}function Jy(t){var u;return ea(t)&&((u=t.emitNode)==null?void 0:u.autoGenerate)!==void 0}function WO(t){const u=t.emitNode.autoGenerate.flags;return!!(u&32)&&!!(u&16)&&!!(u&8)}function mh(t){return(yo(t)||T8(t))&&ea(t.name)}function B8(t){return zu(t)&&ea(t.name)}function QD(t){switch(t){case 128:case 129:case 134:case 87:case 138:case 90:case 95:case 103:case 125:case 123:case 124:case 148:case 126:case 147:case 164:return!0}return!1}function jN(t){return!!(g7(t)&31)}function Use(t){return jN(t)||t===126||t===164||t===129}function Qo(t){return QD(t.kind)}function om(t){const u=t.kind;return u===166||u===80}function Ac(t){const u=t.kind;return u===80||u===81||u===11||u===9||u===167}function $y(t){const u=t.kind;return u===80||u===206||u===207}function xo(t){return!!t&&u7(t.kind)}function w8(t){return!!t&&(u7(t.kind)||zl(t))}function W0(t){return t&&EZe(t.kind)}function VN(t){return t.kind===112||t.kind===97}function EZe(t){switch(t){case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function u7(t){switch(t){case 173:case 179:case 330:case 180:case 181:case 184:case 324:case 185:return!0;default:return EZe(t)}}function qse(t){return ca(t)||uE(t)||ho(t)&&xo(t.parent)}function qd(t){const u=t.kind;return u===176||u===172||u===174||u===177||u===178||u===181||u===175||u===240}function gr(t){return t&&(t.kind===263||t.kind===231)}function Bx(t){return t&&(t.kind===177||t.kind===178)}function Xh(t){return yo(t)&&Xg(t)}function ebe(t){return Xn(t)&&fZ(t)?(!y2(t)||!Rx(t.expression))&&!uk(t,!0):t.parent&&gr(t.parent)&&yo(t)&&!Xg(t)}function T8(t){switch(t.kind){case 174:case 177:case 178:return!0;default:return!1}}function tbe(t){switch(t.kind){case 174:case 177:case 178:case 172:return!0;default:return!1}}function ol(t){return Qo(t)||p1(t)}function Uy(t){const u=t.kind;return u===180||u===179||u===171||u===173||u===181||u===177||u===178}function MU(t){return Uy(t)||qd(t)}function q3(t){const u=t.kind;return u===303||u===304||u===305||u===174||u===177||u===178}function Xr(t){return Ele(t.kind)}function ibe(t){switch(t.kind){case 184:case 185:return!0}return!1}function Ao(t){if(t){const u=t.kind;return u===207||u===206}return!1}function HN(t){const u=t.kind;return u===209||u===210}function zU(t){const u=t.kind;return u===208||u===232}function GO(t){switch(t.kind){case 260:case 169:case 208:return!0}return!1}function nbe(t){return ra(t)||Qa(t)||$O(t)||UO(t)}function JO(t){return Zse(t)||Yse(t)}function Zse(t){switch(t.kind){case 206:case 210:return!0}return!1}function $O(t){switch(t.kind){case 208:case 303:case 304:case 305:return!0}return!1}function Yse(t){switch(t.kind){case 207:case 209:return!0}return!1}function UO(t){switch(t.kind){case 208:case 232:case 230:case 209:case 210:case 80:case 211:case 212:return!0}return od(t,!0)}function ube(t){const u=t.kind;return u===211||u===166||u===205}function rbe(t){const u=t.kind;return u===211||u===166}function Qse(t){return g2(t)||M2(t)}function g2(t){switch(t.kind){case 286:case 285:case 213:case 214:case 215:case 170:return!0;default:return!1}}function JE(t){return t.kind===213||t.kind===214}function L8(t){const u=t.kind;return u===228||u===15}function _f(t){return _Ze(wp(t).kind)}function _Ze(t){switch(t){case 211:case 212:case 214:case 213:case 284:case 285:case 288:case 215:case 209:case 217:case 210:case 231:case 218:case 80:case 81:case 14:case 9:case 10:case 11:case 15:case 228:case 97:case 106:case 110:case 112:case 108:case 235:case 233:case 236:case 102:case 282:return!0;default:return!1}}function Xse(t){return DZe(wp(t).kind)}function DZe(t){switch(t){case 224:case 225:case 220:case 221:case 222:case 223:case 216:return!0;default:return _Ze(t)}}function abe(t){switch(t.kind){case 225:return!0;case 224:return t.operator===46||t.operator===47;default:return!1}}function obe(t){switch(t.kind){case 106:case 112:case 97:case 224:return!0;default:return m2(t)}}function Wt(t){return pTt(wp(t).kind)}function pTt(t){switch(t){case 227:case 229:case 219:case 226:case 230:case 234:case 232:case 361:case 360:case 238:return!0;default:return DZe(t)}}function qy(t){const u=t.kind;return u===216||u===234}function xZe(t){return bce(t)||oY(t)}function wx(t,u){switch(t.kind){case 248:case 249:case 250:case 246:case 247:return!0;case 256:return u&&wx(t.statement,u)}return!1}function sbe(t){return ec(t)||Gc(t)}function lbe(t){return Ge(t,sbe)}function IU(t){return!uj(t)&&!ec(t)&&!Qu(t,32)&&!L1(t)}function qO(t){return uj(t)||ec(t)||Qu(t,32)}function N8(t){return t.kind===249||t.kind===250}function RU(t){return ho(t)||Wt(t)}function e0e(t){return ho(t)}function r4(t){return Fd(t)||Wt(t)}function cbe(t){const u=t.kind;return u===268||u===267||u===80}function vZe(t){const u=t.kind;return u===268||u===267}function CZe(t){const u=t.kind;return u===80||u===267}function t0e(t){const u=t.kind;return u===275||u===274}function ZO(t){return t.kind===267||t.kind===266}function qg(t){switch(t.kind){case 219:case 226:case 208:case 213:case 179:case 263:case 231:case 175:case 176:case 185:case 180:case 212:case 266:case 306:case 277:case 278:case 281:case 262:case 218:case 184:case 177:case 80:case 273:case 271:case 276:case 181:case 264:case 345:case 347:case 324:case 348:case 355:case 330:case 353:case 329:case 291:case 292:case 293:case 200:case 174:case 173:case 267:case 202:case 280:case 270:case 274:case 214:case 15:case 9:case 210:case 169:case 211:case 303:case 172:case 171:case 178:case 304:case 312:case 305:case 11:case 265:case 187:case 168:case 260:return!0;default:return!1}}function $E(t){switch(t.kind){case 219:case 241:case 179:case 269:case 299:case 175:case 194:case 176:case 185:case 180:case 248:case 249:case 250:case 262:case 218:case 184:case 177:case 181:case 345:case 347:case 324:case 330:case 353:case 200:case 174:case 173:case 267:case 178:case 312:case 265:return!0;default:return!1}}function gTt(t){return t===219||t===208||t===263||t===231||t===175||t===176||t===266||t===306||t===281||t===262||t===218||t===177||t===273||t===271||t===276||t===264||t===291||t===174||t===173||t===267||t===270||t===274||t===280||t===169||t===303||t===172||t===171||t===178||t===304||t===265||t===168||t===260||t===353||t===345||t===355}function dbe(t){return t===262||t===282||t===263||t===264||t===265||t===266||t===267||t===272||t===271||t===278||t===277||t===270}function hbe(t){return t===252||t===251||t===259||t===246||t===244||t===242||t===249||t===250||t===248||t===245||t===256||t===253||t===255||t===257||t===258||t===243||t===247||t===254||t===359}function Y1(t){return t.kind===168?t.parent&&t.parent.kind!==352||Xn(t):gTt(t.kind)}function fbe(t){return dbe(t.kind)}function YO(t){return hbe(t.kind)}function ua(t){const u=t.kind;return hbe(u)||dbe(u)||ETt(t)}function ETt(t){return t.kind!==241||t.parent!==void 0&&(t.parent.kind===258||t.parent.kind===299)?!1:!C2(t)}function mbe(t){const u=t.kind;return hbe(u)||dbe(u)||u===241}function pbe(t){const u=t.kind;return u===283||u===166||u===80}function KN(t){const u=t.kind;return u===110||u===80||u===211||u===295}function QO(t){const u=t.kind;return u===284||u===294||u===285||u===12||u===288}function OU(t){const u=t.kind;return u===291||u===293}function gbe(t){const u=t.kind;return u===11||u===294}function Ph(t){const u=t.kind;return u===286||u===285}function jU(t){const u=t.kind;return u===296||u===297}function P8(t){return t.kind>=316&&t.kind<=357}function VU(t){return t.kind===327||t.kind===326||t.kind===328||r7(t)||M8(t)||V7(t)||Iv(t)}function M8(t){return t.kind>=334&&t.kind<=357}function XD(t){return t.kind===178}function Tx(t){return t.kind===177}function sm(t){if(!Sj(t))return!1;const{jsDoc:u}=t;return!!u&&u.length>0}function HU(t){return!!t.type}function Lx(t){return!!t.initializer}function Zy(t){switch(t.kind){case 260:case 169:case 208:case 172:case 303:case 306:return!0;default:return!1}}function i0e(t){return t.kind===291||t.kind===293||q3(t)}function KU(t){return t.kind===183||t.kind===233}function Ebe(t){let u=_be;for(const s of t){if(!s.length)continue;let d=0;for(;ds.kind===u)}function Vo(t){const u=new Map;if(t)for(const s of t)u.set(s.escapedName,s);return u}function UE(t){return(t.flags&33554432)!==0}function DTt(){var t="";const u=s=>t+=s;return{getText:()=>t,write:u,rawWrite:u,writeKeyword:u,writeOperator:u,writePunctuation:u,writeSpace:u,writeStringLiteral:u,writeLiteral:u,writeParameter:u,writeProperty:u,writeSymbol:(s,d)=>u(s),writeTrailingSemicolon:u,writeComment:u,getTextPos:()=>t.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!t.length&&$3(t.charCodeAt(t.length-1)),writeLine:()=>t+=" ",increaseIndent:zs,decreaseIndent:zs,clear:()=>t=""}}function WU(t,u){return t.configFilePath!==u.configFilePath||xbe(t,u)}function xbe(t,u){return z8(t,u,BY)}function vbe(t,u){return z8(t,u,mde)}function z8(t,u,s){return t!==u&&s.some(d=>!oZ(Yq(t,d),Yq(u,d)))}function Cbe(t,u){for(;;){const s=u(t);if(s==="quit")return;if(s!==void 0)return s;if(ca(t))return;t=t.parent}}function d1(t,u){const s=t.entries();for(const[d,f]of s){const p=u(f,d);if(p)return p}}function $_(t,u){const s=t.keys();for(const d of s){const f=u(d);if(f)return f}}function GU(t,u){t.forEach((s,d)=>{u.set(d,s)})}function WN(t){const u=sV.getText();try{return t(sV),sV.getText()}finally{sV.clear(),sV.writeKeyword(u)}}function ej(t){return t.end-t.pos}function r0e(t,u){return t.path===u.path&&!t.prepend==!u.prepend&&!t.circular==!u.circular}function bbe(t,u){return t===u||t.resolvedModule===u.resolvedModule||!!t.resolvedModule&&!!u.resolvedModule&&t.resolvedModule.isExternalLibraryImport===u.resolvedModule.isExternalLibraryImport&&t.resolvedModule.extension===u.resolvedModule.extension&&t.resolvedModule.resolvedFileName===u.resolvedModule.resolvedFileName&&t.resolvedModule.originalPath===u.resolvedModule.originalPath&&xTt(t.resolvedModule.packageId,u.resolvedModule.packageId)&&t.node10Result===u.node10Result}function a0e(t,u,s,d,f){var p;const E=(p=u.getResolvedModule(t,s,d))==null?void 0:p.node10Result,v=E?no(void 0,F.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,E,E.includes(a_+"@types/")?`@types/${WB(f)}`:f):u.typesPackageExists(f)?no(void 0,F.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,f,WB(f)):u.packageBundlesTypes(f)?no(void 0,F.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,f,s):no(void 0,F.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,s,WB(f));return v&&(v.repopulateInfo=()=>({moduleReference:s,mode:d,packageName:f===s?void 0:f})),v}function xTt(t,u){return t===u||!!t&&!!u&&t.name===u.name&&t.subModuleName===u.subModuleName&&t.version===u.version}function JU({name:t,subModuleName:u}){return u?`${t}/${u}`:t}function Nx(t){return`${JU(t)}@${t.version}`}function ybe(t,u){return t===u||t.resolvedTypeReferenceDirective===u.resolvedTypeReferenceDirective||!!t.resolvedTypeReferenceDirective&&!!u.resolvedTypeReferenceDirective&&t.resolvedTypeReferenceDirective.resolvedFileName===u.resolvedTypeReferenceDirective.resolvedFileName&&!!t.resolvedTypeReferenceDirective.primary==!!u.resolvedTypeReferenceDirective.primary&&t.resolvedTypeReferenceDirective.originalPath===u.resolvedTypeReferenceDirective.originalPath}function o0e(t,u,s,d,f,p){H.assert(t.length===s.length);for(let E=0;E=0),J3(u)[t]}function bZe(t){const u=zn(t),s=o0(u,t.pos);return`${u.fileName}(${s.line+1},${s.character+1})`}function ij(t,u){H.assert(t>=0);const s=J3(u),d=t,f=u.text;if(d+1===s.length)return f.length-1;{const p=s[d];let E=s[d+1]-1;for(H.assert(q1(f.charCodeAt(E)));p<=E&&q1(f.charCodeAt(E));)E--;return E}}function UU(t,u,s){return!(s&&s(u))&&!t.identifiers.has(u)}function Yl(t){return t===void 0?!0:t.pos===t.end&&t.pos>=0&&t.kind!==1}function j4(t){return!Yl(t)}function Fbe(t,u){return Bl(t)?u===t.expression:zl(t)?u===t.modifiers:Pm(t)?u===t.initializer:yo(t)?u===t.questionToken&&Xh(t):Jc(t)?u===t.modifiers||u===t.questionToken||u===t.exclamationToken||nj(t.modifiers,u,ol):mm(t)?u===t.equalsToken||u===t.modifiers||u===t.questionToken||u===t.exclamationToken||nj(t.modifiers,u,ol):cc(t)?u===t.exclamationToken:dc(t)?u===t.typeParameters||u===t.type||nj(t.typeParameters,u,Bl):Mm(t)?u===t.typeParameters||nj(t.typeParameters,u,Bl):Of(t)?u===t.typeParameters||u===t.type||nj(t.typeParameters,u,Bl):SV(t)?u===t.modifiers||nj(t.modifiers,u,ol):!1}function nj(t,u,s){return!t||ja(u)||!s(u)?!1:Ft(t,u)}function yZe(t,u,s){if(u===void 0||u.length===0)return t;let d=0;for(;d[`${o0(t,E.range.end).line}`,E])),d=new Map;return{getUnusedExpectations:f,markUsed:p};function f(){return ga(s.entries()).filter(([E,v])=>v.type===0&&!d.get(E)).map(([E,v])=>v)}function p(E){return s.has(`${E}`)?(d.set(`${E}`,!0),!0):!1}}function Qy(t,u,s){return Yl(t)?t.pos:P8(t)||t.kind===12?ps((u||zn(t)).text,t.pos,!1,!0):s&&sm(t)?Qy(t.jsDoc[0],u):t.kind===358&&t._children.length>0?Qy(t._children[0],u,s):ps((u||zn(t)).text,t.pos,!1,!1,pj(t))}function c0e(t,u){const s=!Yl(t)&&Op(t)?st(t.modifiers,p1):void 0;return s?ps((u||zn(t)).text,s.end):Qy(t,u)}function E2(t,u,s=!1){return GN(t.text,u,s)}function CTt(t){return!!Tn(t,bk)}function ZU(t){return!!(Gc(t)&&t.exportClause&&n_(t.exportClause)&&t.exportClause.name.escapedText==="default")}function GN(t,u,s=!1){if(Yl(u))return"";let d=t.substring(s?u.pos:ps(t,u.pos),u.end);return CTt(u)&&(d=d.split(/\r\n|\n|\r/).map(f=>f.replace(/^\s*\*/,"").trimStart()).join(` +`)),d}function Hc(t,u=!1){return E2(zn(t),t,u)}function bTt(t){return t.pos}function R8(t,u){return Hl(t,u,bTt,nl)}function Cs(t){const u=t.emitNode;return u&&u.flags||0}function Tp(t){const u=t.emitNode;return u&&u.internalFlags||0}function Sbe(t,u,s){if(u&&yTt(t,s))return E2(u,t);switch(t.kind){case 11:{const d=s&2?Q0e:s&1||Cs(t)&16777216?kv:Rj;return t.singleQuote?"'"+d(t.text,39)+"'":'"'+d(t.text,34)+'"'}case 15:case 16:case 17:case 18:{const d=s&1||Cs(t)&16777216?kv:Rj,f=t.rawText??MTt(d(t.text,96));switch(t.kind){case 15:return"`"+f+"`";case 16:return"`"+f+"${";case 17:return"}"+f+"${";case 18:return"}"+f+"`"}break}case 9:case 10:return t.text;case 14:return s&4&&t.isUnterminated?t.text+(t.text.charCodeAt(t.text.length-1)===92?" /":"/"):t.text}return H.fail(`Literal kind '${t.kind}' not accounted for.`)}function yTt(t,u){if(sl(t)||!t.parent||u&4&&t.isUnterminated)return!1;if(Rf(t)){if(t.numericLiteralFlags&26656)return!1;if(t.numericLiteralFlags&512)return!!(u&8)}return!QZ(t)}function Bbe(t){return Wa(t)?'"'+Rj(t)+'"':""+t}function wbe(t){return Fc(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function d0e(t){return(YD(t)&7)!==0||h0e(t)}function h0e(t){const u=QE(t);return u.kind===260&&u.parent.kind===299}function L1(t){return Ec(t)&&(t.name.kind===11||Zg(t))}function YU(t){return Ec(t)&&t.name.kind===11}function f0e(t){return Ec(t)&&us(t.name)}function Tbe(t){return Ec(t)||at(t)}function JN(t){return kTt(t.valueDeclaration)}function kTt(t){return!!t&&t.kind===267&&!t.body}function Lbe(t){return t.kind===312||t.kind===267||w8(t)}function Zg(t){return!!(t.flags&2048)}function _2(t){return L1(t)&&m0e(t)}function m0e(t){switch(t.parent.kind){case 312:return Bc(t.parent);case 268:return L1(t.parent.parent)&&ca(t.parent.parent.parent)&&!Bc(t.parent.parent.parent)}return!1}function p0e(t){var u;return(u=t.declarations)==null?void 0:u.find(s=>!_2(s)&&!(Ec(s)&&Zg(s)))}function FTt(t){return t===1||t===100||t===199}function a7(t,u){return Bc(t)||FTt(f1(u))&&!!t.commonJsModuleIndicator}function g0e(t,u){switch(t.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return t.isDeclarationFile?!1:U4(u,"alwaysStrict")||kFe(t.statements)?!0:Bc(t)||hg(u)?f1(u)>=5?!0:!u.noImplicitUseStrict:!1}function E0e(t){return!!(t.flags&33554432)||Qu(t,128)}function _0e(t,u){switch(t.kind){case 312:case 269:case 299:case 267:case 248:case 249:case 250:case 176:case 174:case 177:case 178:case 262:case 218:case 219:case 172:case 175:return!0;case 241:return!w8(u)}return!1}function D0e(t){switch(H.type(t),t.kind){case 345:case 353:case 330:return!0;default:return x0e(t)}}function x0e(t){switch(H.type(t),t.kind){case 179:case 180:case 173:case 181:case 184:case 185:case 324:case 263:case 231:case 264:case 265:case 352:case 262:case 174:case 176:case 177:case 178:case 218:case 219:return!0;default:return!1}}function Xy(t){switch(t.kind){case 272:case 271:return!0;default:return!1}}function Nbe(t){return Xy(t)||b2(t)}function QU(t){switch(t.kind){case 272:case 271:case 243:case 263:case 262:case 267:case 265:case 264:case 266:return!0;default:return!1}}function Pbe(t){return uj(t)||Ec(t)||iD(t)||cm(t)}function uj(t){return Xy(t)||Gc(t)}function v0e(t){return Tn(t.parent,u=>!!(Tde(u)&1))}function ZE(t){return Tn(t.parent,u=>_0e(u,u.parent))}function Mbe(t,u){let s=ZE(t);for(;s;)u(s),s=ZE(s)}function C0(t){return!t||ej(t)===0?"(Missing)":Hc(t)}function zbe(t){return t.declaration?C0(t.declaration.parameters[0].name):void 0}function rj(t){return t.kind===167&&!Nm(t.expression)}function $N(t){var u;switch(t.kind){case 80:case 81:return(u=t.emitNode)!=null&&u.autoGenerate?void 0:t.escapedText;case 11:case 9:case 15:return Al(t.text);case 167:return Nm(t.expression)?Al(t.expression.text):void 0;case 295:return b7(t);default:return H.assertNever(t)}}function O8(t){return H.checkDefined($N(t))}function Mf(t){switch(t.kind){case 110:return"this";case 81:case 80:return ej(t)===0?fu(t):Hc(t);case 166:return Mf(t.left)+"."+Mf(t.right);case 211:return at(t.name)||ea(t.name)?Mf(t.expression)+"."+Mf(t.name):H.assertNever(t.name);case 318:return Mf(t.left)+Mf(t.right);case 295:return Mf(t.namespace)+":"+Mf(t.name);default:return H.assertNever(t)}}function Su(t,u,...s){const d=zn(t);return V4(d,t,u,...s)}function j8(t,u,s,...d){const f=ps(t.text,u.pos);return zd(t,f,u.end-f,s,...d)}function V4(t,u,s,...d){const f=D2(t,u);return zd(t,f.start,f.length,s,...d)}function Z3(t,u,s,d){const f=D2(t,u);return XU(t,f.start,f.length,s,d)}function aj(t,u,s,d){const f=ps(t.text,u.pos);return XU(t,f,u.end-f,s,d)}function Ibe(t,u,s){H.assertGreaterThanOrEqual(u,0),H.assertGreaterThanOrEqual(s,0),H.assertLessThanOrEqual(u,t.length),H.assertLessThanOrEqual(u+s,t.length)}function XU(t,u,s,d,f){return Ibe(t.text,u,s),{file:t,start:u,length:s,code:d.code,category:d.category,messageText:d.next?d:d.messageText,relatedInformation:f}}function C0e(t,u,s){return{file:t,start:0,length:0,code:u.code,category:u.category,messageText:u.next?u:u.messageText,relatedInformation:s}}function Rbe(t){return typeof t.messageText=="string"?{code:t.code,category:t.category,messageText:t.messageText,next:t.next}:t.messageText}function Obe(t,u,s){return{file:t,start:u.pos,length:u.end-u.pos,code:s.code,category:s.category,messageText:s.message}}function YE(t,u){const s=ZD(t.languageVersion,!0,t.languageVariant,t.text,void 0,u);s.scan();const d=s.getTokenStart();return Vc(d,s.getTokenEnd())}function jbe(t,u){const s=ZD(t.languageVersion,!0,t.languageVariant,t.text,void 0,u);return s.scan(),s.getToken()}function ATt(t,u){const s=ps(t.text,u.pos);if(u.body&&u.body.kind===241){const{line:d}=o0(t,u.body.pos),{line:f}=o0(t,u.body.end);if(d0?u.statements[0].pos:u.end;return Vc(p,E)}case 253:case 229:{const p=ps(t.text,u.pos);return YE(t,p)}case 238:{const p=ps(t.text,u.expression.end);return YE(t,p)}case 357:{const p=ps(t.text,u.tagName.pos);return YE(t,p)}}if(s===void 0)return YE(t,u.pos);H.assert(!Rp(s));const d=Yl(s),f=d||S7(u)?s.pos:ps(t.text,s.pos);return d?(H.assert(f===s.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),H.assert(f===s.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(H.assert(f>=s.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),H.assert(f<=s.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),Vc(f,s.end)}function lm(t){return(t.externalModuleIndicator||t.commonJsModuleIndicator)!==void 0}function H4(t){return t.scriptKind===6}function x2(t){return!!(d2(t)&4096)}function eq(t){return!!(d2(t)&8&&!Pf(t,t.parent))}function oj(t){return(YD(t)&7)===6}function sj(t){return(YD(t)&7)===4}function V8(t){return(YD(t)&7)===2}function tq(t){return(YD(t)&7)===1}function ek(t){return t.kind===213&&t.expression.kind===108}function cm(t){return t.kind===213&&t.expression.kind===102}function H8(t){return JP(t)&&t.keywordToken===102&&t.name.escapedText==="meta"}function Mx(t){return iD(t)&&Nv(t.argument)&&us(t.argument.literal)}function Lp(t){return t.kind===244&&t.expression.kind===11}function lj(t){return!!(Cs(t)&2097152)}function iq(t){return lj(t)&&Xc(t)}function STt(t){return at(t.name)&&!t.initializer}function nq(t){return lj(t)&&Gl(t)&&ye(t.declarationList.declarations,STt)}function b0e(t,u){return t.kind!==12?K_(u.text,t.pos):void 0}function y0e(t,u){const s=t.kind===169||t.kind===168||t.kind===218||t.kind===219||t.kind===217||t.kind===260||t.kind===281?an(mv(u,t.pos),K_(u,t.pos)):K_(u,t.pos);return ei(s,d=>u.charCodeAt(d.pos+1)===42&&u.charCodeAt(d.pos+2)===42&&u.charCodeAt(d.pos+3)!==47)}function U_(t){if(182<=t.kind&&t.kind<=205)return!0;switch(t.kind){case 133:case 159:case 150:case 163:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return t.parent.kind!==222;case 233:return fm(t.parent)&&!Wj(t);case 168:return t.parent.kind===200||t.parent.kind===195;case 80:(t.parent.kind===166&&t.parent.right===t||t.parent.kind===211&&t.parent.name===t)&&(t=t.parent),H.assert(t.kind===80||t.kind===166||t.kind===211,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 166:case 211:case 110:{const{parent:u}=t;if(u.kind===186)return!1;if(u.kind===205)return!u.isTypeOf;if(182<=u.kind&&u.kind<=205)return!0;switch(u.kind){case 233:return fm(u.parent)&&!Wj(u);case 168:return t===u.constraint;case 352:return t===u.constraint;case 172:case 171:case 169:case 260:return t===u.type;case 262:case 218:case 219:case 176:case 174:case 173:case 177:case 178:return t===u.type;case 179:case 180:case 181:return t===u.type;case 216:return t===u.type;case 213:case 214:case 215:return Ft(u.typeArguments,t)}}}return!1}function SZe(t,u){for(;t;){if(t.kind===u)return!0;t=t.parent}return!1}function v2(t,u){return s(t);function s(d){switch(d.kind){case 253:return u(d);case 269:case 241:case 245:case 246:case 247:case 248:case 249:case 250:case 254:case 255:case 296:case 297:case 256:case 258:case 299:return uo(d,s)}}}function Vbe(t,u){return s(t);function s(d){switch(d.kind){case 229:u(d);const f=d.expression;f&&s(f);return;case 266:case 264:case 267:case 265:return;default:if(xo(d)){if(d.name&&d.name.kind===167){s(d.name.expression);return}}else U_(d)||uo(d,s)}}}function k0e(t){return t&&t.kind===188?t.elementType:t&&t.kind===183?Fa(t.typeArguments):void 0}function Hbe(t){switch(t.kind){case 264:case 263:case 231:case 187:return t.members;case 210:return t.properties}}function K8(t){if(t)switch(t.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function Kbe(t){return K8(t)||Bx(t)}function UN(t){return t.parent.kind===261&&t.parent.parent.kind===243}function Wbe(t){return Xn(t)?bs(t.parent)&&eu(t.parent.parent)&&Ql(t.parent.parent)===2||uq(t.parent):!1}function uq(t){return Xn(t)?eu(t)&&Ql(t)===1:!1}function Gbe(t){return(ra(t)?V8(t)&&at(t.name)&&UN(t):yo(t)?hP(t)&&Kc(t):Pm(t)&&hP(t))||uq(t)}function Jbe(t){switch(t.kind){case 174:case 173:case 176:case 177:case 178:case 262:case 218:return!0}return!1}function F0e(t,u){for(;;){if(u&&u(t),t.statement.kind!==256)return t.statement;t=t.statement}}function C2(t){return t&&t.kind===241&&xo(t.parent)}function Np(t){return t&&t.kind===174&&t.parent.kind===210}function rq(t){return(t.kind===174||t.kind===177||t.kind===178)&&(t.parent.kind===210||t.parent.kind===231)}function $be(t){return t&&t.kind===1}function BZe(t){return t&&t.kind===0}function W8(t,u,s,d){return L(t==null?void 0:t.properties,f=>{if(!Jc(f))return;const p=$N(f.name);return u===p||d&&d===p?s(f):void 0})}function Ube(t,u,s){return W8(t,u,d=>_h(d.initializer)?Le(d.initializer.elements,f=>us(f)&&f.text===s):void 0)}function qN(t){if(t&&t.statements.length){const u=t.statements[0].expression;return rr(u,bs)}}function aq(t,u,s){return cj(t,u,d=>_h(d.initializer)?Le(d.initializer.elements,f=>us(f)&&f.text===s):void 0)}function cj(t,u,s){return W8(qN(t),u,s)}function Lm(t){return Tn(t.parent,xo)}function qbe(t){return Tn(t.parent,W0)}function Zd(t){return Tn(t.parent,gr)}function Zbe(t){return Tn(t.parent,u=>gr(u)||xo(u)?"quit":zl(u))}function oq(t){return Tn(t.parent,w8)}function sq(t){const u=Tn(t.parent,s=>gr(s)?"quit":p1(s));return u&&gr(u.parent)?Zd(u.parent):Zd(u??t)}function ef(t,u,s){for(H.assert(t.kind!==312);;){if(t=t.parent,!t)return H.fail();switch(t.kind){case 167:if(s&&gr(t.parent.parent))return t;t=t.parent.parent;break;case 170:t.parent.kind===169&&qd(t.parent.parent)?t=t.parent.parent:qd(t.parent)&&(t=t.parent);break;case 219:if(!u)continue;case 262:case 218:case 267:case 175:case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 179:case 180:case 181:case 266:case 312:return t}}}function Ybe(t){switch(t.kind){case 219:case 262:case 218:case 172:return!0;case 241:switch(t.parent.kind){case 176:case 174:case 177:case 178:return!0;default:return!1}default:return!1}}function lq(t){at(t)&&(Wc(t.parent)||Xc(t.parent))&&t.parent.name===t&&(t=t.parent);const u=ef(t,!0,!1);return ca(u)}function Qbe(t){const u=ef(t,!1,!1);if(u)switch(u.kind){case 176:case 262:case 218:return u}}function dj(t,u){for(;;){if(t=t.parent,!t)return;switch(t.kind){case 167:t=t.parent;break;case 262:case 218:case 219:if(!u)continue;case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 175:return t;case 170:t.parent.kind===169&&qd(t.parent.parent)?t=t.parent.parent:qd(t.parent)&&(t=t.parent);break}}}function tk(t){if(t.kind===218||t.kind===219){let u=t,s=t.parent;for(;s.kind===217;)u=s,s=s.parent;if(s.kind===213&&s.expression===u)return s}}function wZe(t){return t.kind===108||tf(t)}function tf(t){const u=t.kind;return(u===211||u===212)&&t.expression.kind===108}function hj(t){const u=t.kind;return(u===211||u===212)&&t.expression.kind===110}function cq(t){var u;return!!t&&ra(t)&&((u=t.initializer)==null?void 0:u.kind)===110}function Xbe(t){return!!t&&(mm(t)||Jc(t))&&eu(t.parent.parent)&&t.parent.parent.operatorToken.kind===64&&t.parent.parent.right.kind===110}function fj(t){switch(t.kind){case 183:return t.typeName;case 233:return Xl(t.expression)?t.expression:void 0;case 80:case 166:return t}}function dq(t){switch(t.kind){case 215:return t.tag;case 286:case 285:return t.tagName;case 226:return t.right;default:return t.expression}}function hq(t,u,s,d){if(t&&fh(u)&&ea(u.name))return!1;switch(u.kind){case 263:return!0;case 231:return!t;case 172:return s!==void 0&&(t?Wc(s):gr(s)&&!T2(u)&&!ule(u));case 177:case 178:case 174:return u.body!==void 0&&s!==void 0&&(t?Wc(s):gr(s));case 169:return t?s!==void 0&&s.body!==void 0&&(s.kind===176||s.kind===174||s.kind===178)&&S2(s)!==u&&d!==void 0&&d.kind===263:!1}return!1}function ZN(t,u,s,d){return a4(u)&&hq(t,u,s,d)}function mj(t,u,s,d){return ZN(t,u,s,d)||YN(t,u,s)}function YN(t,u,s){switch(u.kind){case 263:return Ge(u.members,d=>mj(t,d,u,s));case 231:return!t&&Ge(u.members,d=>mj(t,d,u,s));case 174:case 178:case 176:return Ge(u.parameters,d=>ZN(t,d,u,s));default:return!1}}function e5(t,u){if(ZN(t,u))return!0;const s=Q_(u);return!!s&&YN(t,s,u)}function A0e(t,u,s){let d;if(Bx(u)){const{firstAccessor:f,secondAccessor:p,setAccessor:E}=lk(s.members,u),v=a4(f)?f:p&&a4(p)?p:void 0;if(!v||u!==v)return!1;d=E==null?void 0:E.parameters}else cc(u)&&(d=u.parameters);if(ZN(t,u,s))return!0;if(d){for(const f of d)if(!B2(f)&&ZN(t,f,u,s))return!0}return!1}function S0e(t){if(t.textSourceNode){switch(t.textSourceNode.kind){case 11:return S0e(t.textSourceNode);case 15:return t.text===""}return!1}return t.text===""}function G8(t){const{parent:u}=t;return u.kind===286||u.kind===285||u.kind===287?u.tagName===t:!1}function q_(t){switch(t.kind){case 108:case 106:case 112:case 97:case 14:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 234:case 216:case 238:case 235:case 217:case 218:case 231:case 219:case 222:case 220:case 221:case 224:case 225:case 226:case 227:case 230:case 228:case 232:case 284:case 285:case 288:case 229:case 223:case 236:return!0;case 233:return!fm(t.parent)&&!wB(t.parent);case 166:for(;t.parent.kind===166;)t=t.parent;return t.parent.kind===186||r7(t.parent)||YP(t.parent)||zv(t.parent)||G8(t);case 318:for(;zv(t.parent);)t=t.parent;return t.parent.kind===186||r7(t.parent)||YP(t.parent)||zv(t.parent)||G8(t);case 81:return eu(t.parent)&&t.parent.left===t&&t.parent.operatorToken.kind===103;case 80:if(t.parent.kind===186||r7(t.parent)||YP(t.parent)||zv(t.parent)||G8(t))return!0;case 9:case 10:case 11:case 15:case 110:return fq(t);default:return!1}}function fq(t){const{parent:u}=t;switch(u.kind){case 260:case 169:case 172:case 171:case 306:case 303:case 208:return u.initializer===t;case 244:case 245:case 246:case 247:case 253:case 254:case 255:case 296:case 257:return u.expression===t;case 248:const s=u;return s.initializer===t&&s.initializer.kind!==261||s.condition===t||s.incrementor===t;case 249:case 250:const d=u;return d.initializer===t&&d.initializer.kind!==261||d.expression===t;case 216:case 234:return t===u.expression;case 239:return t===u.expression;case 167:return t===u.expression;case 170:case 294:case 293:case 305:return!0;case 233:return u.expression===t&&!U_(u);case 304:return u.objectAssignmentInitializer===t;case 238:return t===u.expression;default:return q_(u)}}function mq(t){for(;t.kind===166||t.kind===80;)t=t.parent;return t.kind===186}function eye(t){return n_(t)&&!!t.parent.moduleSpecifier}function vv(t){return t.kind===271&&t.moduleReference.kind===283}function QN(t){return H.assert(vv(t)),t.moduleReference.expression}function B0e(t){return b2(t)&&vP(t.initializer).arguments[0]}function J8(t){return t.kind===271&&t.moduleReference.kind!==283}function ph(t){return Xn(t)}function TZe(t){return!Xn(t)}function Xn(t){return!!t&&!!(t.flags&524288)}function pq(t){return!!t&&!!(t.flags&134217728)}function w0e(t){return!H4(t)}function pj(t){return!!t&&!!(t.flags&16777216)}function gq(t){return Y4(t)&&at(t.typeName)&&t.typeName.escapedText==="Object"&&t.typeArguments&&t.typeArguments.length===2&&(t.typeArguments[0].kind===154||t.typeArguments[0].kind===150)}function Df(t,u){if(t.kind!==213)return!1;const{expression:s,arguments:d}=t;if(s.kind!==80||s.escapedText!=="require"||d.length!==1)return!1;const f=d[0];return!u||t0(f)}function Eq(t){return LZe(t,!1)}function b2(t){return LZe(t,!0)}function tye(t){return Os(t)&&b2(t.parent.parent)}function LZe(t,u){return ra(t)&&!!t.initializer&&Df(u?vP(t.initializer):t.initializer,!0)}function T0e(t){return Gl(t)&&t.declarationList.declarations.length>0&&ye(t.declarationList.declarations,u=>Eq(u))}function gj(t){return t===39||t===34}function _q(t,u){return E2(u,t).charCodeAt(0)===34}function XN(t){return eu(t)||M0(t)||at(t)||Po(t)}function Ej(t){return Xn(t)&&t.initializer&&eu(t.initializer)&&(t.initializer.operatorToken.kind===57||t.initializer.operatorToken.kind===61)&&t.name&&Xl(t.name)&&$8(t.name,t.initializer.left)?t.initializer.right:t.initializer}function _j(t){const u=Ej(t);return u&&Cv(u,Rx(t.name))}function BTt(t,u){return L(t.properties,s=>Jc(s)&&at(s.name)&&s.name.escapedText==="value"&&s.initializer&&Cv(s.initializer,u))}function o7(t){if(t&&t.parent&&eu(t.parent)&&t.parent.operatorToken.kind===64){const u=Rx(t.parent.left);return Cv(t.parent.right,u)||wTt(t.parent.left,t.parent.right,u)}if(t&&Po(t)&&nk(t)){const u=BTt(t.arguments[2],t.arguments[1].text==="prototype");if(u)return u}}function Cv(t,u){if(Po(t)){const s=s0(t.expression);return s.kind===218||s.kind===219?t:void 0}if(t.kind===218||t.kind===231||t.kind===219||bs(t)&&(t.properties.length===0||u))return t}function wTt(t,u,s){const d=eu(u)&&(u.operatorToken.kind===57||u.operatorToken.kind===61)&&Cv(u.right,s);if(d&&$8(t,u.left))return d}function iye(t){const u=ra(t.parent)?t.parent.name:eu(t.parent)&&t.parent.operatorToken.kind===64?t.parent.left:void 0;return u&&Cv(t.right,Rx(u))&&Xl(u)&&$8(u,t.left)}function L0e(t){if(eu(t.parent)){const u=(t.parent.operatorToken.kind===57||t.parent.operatorToken.kind===61)&&eu(t.parent.parent)?t.parent.parent:t.parent;if(u.operatorToken.kind===64&&at(u.left))return u.left}else if(ra(t.parent))return t.parent.name}function $8(t,u){return Qg(t)&&Qg(u)?W4(t)===W4(u):G_(t)&&Dq(u)&&(u.expression.kind===110||at(u.expression)&&(u.expression.escapedText==="window"||u.expression.escapedText==="self"||u.expression.escapedText==="global"))?$8(t,vj(u)):Dq(t)&&Dq(u)?Y3(t)===Y3(u)&&$8(t.expression,u.expression):!1}function Dj(t){for(;od(t,!0);)t=t.right;return t}function ik(t){return at(t)&&t.escapedText==="exports"}function N0e(t){return at(t)&&t.escapedText==="module"}function Z_(t){return(zu(t)||xj(t))&&N0e(t.expression)&&Y3(t)==="exports"}function Ql(t){const u=TTt(t);return u===5||Xn(t)?u:0}function nk(t){return S(t.arguments)===3&&zu(t.expression)&&at(t.expression.expression)&&fu(t.expression.expression)==="Object"&&fu(t.expression.name)==="defineProperty"&&Nm(t.arguments[1])&&uk(t.arguments[0],!0)}function Dq(t){return zu(t)||xj(t)}function xj(t){return G0(t)&&Nm(t.argumentExpression)}function y2(t,u){return zu(t)&&(!u&&t.expression.kind===110||at(t.name)&&uk(t.expression,!0))||xq(t,u)}function xq(t,u){return xj(t)&&(!u&&t.expression.kind===110||Xl(t.expression)||y2(t.expression,!0))}function uk(t,u){return Xl(t)||y2(t,u)}function vj(t){return zu(t)?t.name:t.argumentExpression}function TTt(t){if(Po(t)){if(!nk(t))return 0;const u=t.arguments[0];return ik(u)||Z_(u)?8:y2(u)&&Y3(u)==="prototype"?9:7}return t.operatorToken.kind!==64||!M0(t.left)||LTt(Dj(t))?0:uk(t.left.expression,!0)&&Y3(t.left)==="prototype"&&bs(P0e(t))?6:Cj(t.left)}function LTt(t){return z7(t)&&Rf(t.expression)&&t.expression.text==="0"}function vq(t){if(zu(t))return t.name;const u=s0(t.argumentExpression);return Rf(u)||t0(u)?u:t}function Y3(t){const u=vq(t);if(u){if(at(u))return u.escapedText;if(t0(u)||Rf(u))return Al(u.text)}}function Cj(t){if(t.expression.kind===110)return 4;if(Z_(t))return 2;if(uk(t.expression,!0)){if(Rx(t.expression))return 3;let u=t;for(;!at(u.expression);)u=u.expression;const s=u.expression;if((s.escapedText==="exports"||s.escapedText==="module"&&Y3(u)==="exports")&&y2(t))return 1;if(uk(t,!0)||G0(t)&&Sq(t))return 5}return 0}function P0e(t){for(;eu(t.right);)t=t.right;return t.right}function bj(t){return eu(t)&&Ql(t)===3}function nye(t){return Xn(t)&&t.parent&&t.parent.kind===244&&(!G0(t)||xj(t))&&!!_v(t.parent)}function yj(t,u){const{valueDeclaration:s}=t;(!s||!(u.flags&33554432&&!Xn(u)&&!(s.flags&33554432))&&XN(s)&&!XN(u)||s.kind!==u.kind&&Tbe(s))&&(t.valueDeclaration=u)}function uye(t){if(!t||!t.valueDeclaration)return!1;const u=t.valueDeclaration;return u.kind===262||ra(u)&&u.initializer&&xo(u.initializer)}function U8(t){var u,s;switch(t.kind){case 260:case 208:return(u=Tn(t.initializer,d=>Df(d,!0)))==null?void 0:u.arguments[0];case 272:case 278:return rr(t.moduleSpecifier,t0);case 271:return rr((s=rr(t.moduleReference,u_))==null?void 0:s.expression,t0);case 273:case 280:return rr(t.parent.moduleSpecifier,t0);case 274:case 281:return rr(t.parent.parent.moduleSpecifier,t0);case 276:return rr(t.parent.parent.parent.moduleSpecifier,t0);case 205:return Mx(t)?t.argument.literal:void 0;default:H.assertNever(t)}}function eP(t){return kj(t)||H.failBadSyntaxKind(t.parent)}function kj(t){switch(t.parent.kind){case 272:case 278:return t.parent;case 283:return t.parent.parent;case 213:return cm(t.parent)||Df(t.parent,!1)?t.parent:void 0;case 201:return H.assert(us(t)),rr(t.parent.parent,iD);default:return}}function q8(t){switch(t.kind){case 272:case 278:return t.moduleSpecifier;case 271:return t.moduleReference.kind===283?t.moduleReference.expression:void 0;case 205:return Mx(t)?t.argument.literal:void 0;case 213:return t.arguments[0];case 267:return t.name.kind===11?t.name:void 0;default:return H.assertNever(t)}}function Z8(t){switch(t.kind){case 272:return t.importClause&&rr(t.importClause.namedBindings,Gx);case 271:return t;case 278:return t.exportClause&&rr(t.exportClause,n_);default:return H.assertNever(t)}}function s7(t){return t.kind===272&&!!t.importClause&&!!t.importClause.name}function Cq(t,u){if(t.name){const s=u(t);if(s)return s}if(t.namedBindings){const s=Gx(t.namedBindings)?u(t.namedBindings):L(t.namedBindings.elements,u);if(s)return s}}function l7(t){if(t)switch(t.kind){case 169:case 174:case 173:case 304:case 303:case 172:case 171:return t.questionToken!==void 0}return!1}function Y8(t){const u=BB(t)?Ki(t.parameters):void 0,s=rr(u&&u.name,at);return!!s&&s.escapedText==="new"}function K4(t){return t.kind===353||t.kind===345||t.kind===347}function Fj(t){return K4(t)||Ip(t)}function NTt(t){return Id(t)&&eu(t.expression)&&t.expression.operatorToken.kind===64?Dj(t.expression):void 0}function NZe(t){return Id(t)&&eu(t.expression)&&Ql(t.expression)!==0&&eu(t.expression.right)&&(t.expression.right.operatorToken.kind===57||t.expression.right.operatorToken.kind===61)?t.expression.right.right:void 0}function M0e(t){switch(t.kind){case 243:const u=Q8(t);return u&&u.initializer;case 172:return t.initializer;case 303:return t.initializer}}function Q8(t){return Gl(t)?Ki(t.declarationList.declarations):void 0}function PZe(t){return Ec(t)&&t.body&&t.body.kind===267?t.body:void 0}function Aj(t){if(t.kind>=243&&t.kind<=259)return!0;switch(t.kind){case 80:case 110:case 108:case 166:case 236:case 212:case 211:case 208:case 218:case 219:case 174:case 177:case 178:return!0;default:return!1}}function Sj(t){switch(t.kind){case 219:case 226:case 241:case 252:case 179:case 296:case 263:case 231:case 175:case 176:case 185:case 180:case 251:case 259:case 246:case 212:case 242:case 1:case 266:case 306:case 277:case 278:case 281:case 244:case 249:case 250:case 248:case 262:case 218:case 184:case 177:case 80:case 245:case 272:case 271:case 181:case 264:case 324:case 330:case 256:case 174:case 173:case 267:case 202:case 270:case 210:case 169:case 217:case 211:case 303:case 172:case 171:case 253:case 240:case 178:case 304:case 305:case 255:case 257:case 258:case 265:case 168:case 260:case 243:case 247:case 254:return!0;default:return!1}}function z0e(t,u){let s;K8(t)&&Lx(t)&&sm(t.initializer)&&(s=yn(s,MZe(t,Cr(t.initializer.jsDoc))));let d=t;for(;d&&d.parent;){if(sm(d)&&(s=yn(s,MZe(t,Cr(d.jsDoc)))),d.kind===169){s=yn(s,(u?I2e:A8)(d));break}if(d.kind===168){s=yn(s,(u?O2e:R2e)(d));break}d=I0e(d)}return s||_t}function MZe(t,u){if(Rp(u)){const s=ei(u.tags,d=>zZe(t,d));return u.tags===s?[u]:s}return zZe(t,u)?[u]:void 0}function zZe(t,u){return!(QP(u)||mY(u))||!u.parent||!Rp(u.parent)||!vf(u.parent.parent)||u.parent.parent===t}function I0e(t){const u=t.parent;if(u.kind===303||u.kind===277||u.kind===172||u.kind===244&&t.kind===211||u.kind===253||PZe(u)||od(t))return u;if(u.parent&&(Q8(u.parent)===t||od(u)))return u.parent;if(u.parent&&u.parent.parent&&(Q8(u.parent.parent)||M0e(u.parent.parent)===t||NZe(u.parent.parent)))return u.parent.parent}function Bj(t){if(t.symbol)return t.symbol;if(!at(t.name))return;const u=t.name.escapedText,s=bv(t);if(!s)return;const d=Le(s.parameters,f=>f.name.kind===80&&f.name.escapedText===u);return d&&d.symbol}function bq(t){if(Rp(t.parent)&&t.parent.tags){const u=Le(t.parent.tags,K4);if(u)return u}return bv(t)}function bv(t){const u=rk(t);if(u)return Pm(u)&&u.type&&xo(u.type)?u.type:xo(u)?u:void 0}function rk(t){const u=c7(t);if(u)return NZe(u)||NTt(u)||M0e(u)||Q8(u)||PZe(u)||u}function c7(t){const u=tP(t);if(!u)return;const s=u.parent;if(s&&s.jsDoc&&u===Zu(s.jsDoc))return s}function tP(t){return Tn(t.parent,Rp)}function rye(t){const u=t.name.escapedText,{typeParameters:s}=t.parent.parent.parent;return s&&Le(s,d=>d.name.escapedText===u)}function IZe(t){return!!t.typeArguments}function aye(t){let u=t.parent;for(;;){switch(u.kind){case 226:const s=u,d=s.operatorToken.kind;return n5(d)&&s.left===t?s:void 0;case 224:case 225:const f=u,p=f.operator;return p===46||p===47?f:void 0;case 249:case 250:const E=u;return E.initializer===t?E:void 0;case 217:case 209:case 230:case 235:t=u;break;case 305:t=u.parent;break;case 304:if(u.name!==t)return;t=u.parent;break;case 303:if(u.name===t)return;t=u.parent;break;default:return}u=t.parent}}function d7(t){const u=aye(t);if(!u)return 0;switch(u.kind){case 226:const s=u.operatorToken.kind;return s===64||fP(s)?1:2;case 224:case 225:return 2;case 249:case 250:return 1}}function Y_(t){return!!aye(t)}function PTt(t){const u=s0(t.right);return u.kind===226&&Hce(u.operatorToken.kind)}function R0e(t){const u=aye(t);return!!u&&od(u,!0)&&PTt(u)}function oye(t){switch(t.kind){case 241:case 243:case 254:case 245:case 255:case 269:case 296:case 297:case 256:case 248:case 249:case 250:case 246:case 247:case 258:case 299:return!0}return!1}function sye(t){return A0(t)||J0(t)||T8(t)||Xc(t)||dc(t)}function RZe(t,u){for(;t&&t.kind===u;)t=t.parent;return t}function wj(t){return RZe(t,196)}function t5(t){return RZe(t,217)}function lye(t){let u;for(;t&&t.kind===196;)u=t,t=t.parent;return[u,t]}function O0e(t){for(;N7(t);)t=t.type;return t}function s0(t,u){return _c(t,u?17:1)}function j0e(t){return t.kind!==211&&t.kind!==212?!1:(t=t5(t.parent),t&&t.kind===220)}function k2(t,u){for(;t;){if(t===u)return!0;t=t.parent}return!1}function Q3(t){return!ca(t)&&!Ao(t)&&Y1(t.parent)&&t.parent.name===t}function iP(t){const u=t.parent;switch(t.kind){case 11:case 15:case 9:if(Ns(u))return u.parent;case 80:if(Y1(u))return u.name===t?u:void 0;if(xf(u)){const s=u.parent;return pg(s)&&s.name===u?s:void 0}else{const s=u.parent;return eu(s)&&Ql(s)!==0&&(s.left.symbol||s.symbol)&&$a(s)===t?s:void 0}case 81:return Y1(u)&&u.name===t?u:void 0;default:return}}function Tj(t){return Nm(t)&&t.parent.kind===167&&Y1(t.parent.parent)}function cye(t){const u=t.parent;switch(u.kind){case 172:case 171:case 174:case 173:case 177:case 178:case 306:case 303:case 211:return u.name===t;case 166:return u.right===t;case 208:case 276:return u.propertyName===t;case 281:case 291:case 285:case 286:case 287:return!0}return!1}function OZe(t){return t.kind===271||t.kind===270||t.kind===273&&t.name||t.kind===274||t.kind===280||t.kind===276||t.kind===281||t.kind===277&&X8(t)?!0:Xn(t)&&(eu(t)&&Ql(t)===2&&X8(t)||zu(t)&&eu(t.parent)&&t.parent.left===t&&t.parent.operatorToken.kind===64&&Lj(t.parent.right))}function V0e(t){switch(t.parent.kind){case 273:case 276:case 274:case 281:case 277:case 271:case 280:return t.parent;case 166:do t=t.parent;while(t.parent.kind===166);return V0e(t)}}function Lj(t){return Xl(t)||Qd(t)}function X8(t){const u=H0e(t);return Lj(u)}function H0e(t){return ec(t)?t.expression:t.right}function dye(t){return t.kind===304?t.name:t.kind===303?t.initializer:t.parent.right}function Yg(t){const u=F2(t);if(u&&Xn(t)){const s=V2e(t);if(s)return s.class}return u}function F2(t){const u=Nj(t.heritageClauses,96);return u&&u.types.length>0?u.types[0]:void 0}function eB(t){if(Xn(t))return H2e(t).map(u=>u.class);{const u=Nj(t.heritageClauses,119);return u==null?void 0:u.types}}function nP(t){return Dh(t)?uP(t)||_t:gr(t)&&an(jy(Yg(t)),eB(t))||_t}function uP(t){const u=Nj(t.heritageClauses,96);return u?u.types:void 0}function Nj(t,u){if(t){for(const s of t)if(s.token===u)return s}}function yv(t,u){for(;t;){if(t.kind===u)return t;t=t.parent}}function nf(t){return 83<=t&&t<=165}function K0e(t){return 19<=t&&t<=79}function yq(t){return nf(t)||K0e(t)}function kq(t){return 128<=t&&t<=165}function W0e(t){return nf(t)&&!kq(t)}function jZe(t){return 119<=t&&t<=127}function h7(t){const u=c2(t);return u!==void 0&&W0e(u)}function VZe(t){const u=c2(t);return u!==void 0&&nf(u)}function Fq(t){const u=Ev(t);return!!u&&!kq(u)}function tB(t){return 2<=t&&t<=7}function yd(t){if(!t)return 4;let u=0;switch(t.kind){case 262:case 218:case 174:t.asteriskToken&&(u|=1);case 219:Qu(t,1024)&&(u|=2);break}return t.body||(u|=4),u}function rP(t){switch(t.kind){case 262:case 218:case 219:case 174:return t.body!==void 0&&t.asteriskToken===void 0&&Qu(t,1024)}return!1}function Nm(t){return t0(t)||Rf(t)}function Aq(t){return Pv(t)&&(t.operator===40||t.operator===41)&&Rf(t.operand)}function zx(t){const u=$a(t);return!!u&&Sq(u)}function Sq(t){if(!(t.kind===167||t.kind===212))return!1;const u=G0(t)?s0(t.argumentExpression):t.expression;return!Nm(u)&&!Aq(u)}function ak(t){switch(t.kind){case 80:case 81:return t.escapedText;case 11:case 15:case 9:return Al(t.text);case 167:const u=t.expression;return Nm(u)?Al(u.text):Aq(u)?u.operator===41?$o(u.operator)+u.operand.text:u.operand.text:void 0;case 295:return b7(t);default:return H.assertNever(t)}}function Qg(t){switch(t.kind){case 80:case 11:case 15:case 9:return!0;default:return!1}}function W4(t){return G_(t)?fu(t):mg(t)?MP(t):t.text}function aP(t){return G_(t)?t.escapedText:mg(t)?b7(t):Al(t.text)}function HZe(t){return`__@${Zo(t)}@${t.escapedName}`}function Pj(t,u){return`__#${Zo(t)}@${u}`}function Mj(t){return La(t.escapedName,"__@")}function hye(t){return La(t.escapedName,"__#")}function KZe(t){return t.kind===80&&t.escapedText==="Symbol"}function fye(t){return at(t)?fu(t)==="__proto__":us(t)&&t.text==="__proto__"}function oP(t,u){switch(t=_c(t),t.kind){case 231:if(e1e(t))return!1;break;case 218:if(t.name)return!1;break;case 219:break;default:return!1}return typeof u=="function"?u(t):!0}function G0e(t){switch(t.kind){case 303:return!fye(t.name);case 304:return!!t.objectAssignmentInitializer;case 260:return at(t.name)&&!!t.initializer;case 169:return at(t.name)&&!!t.initializer&&!t.dotDotDotToken;case 208:return at(t.name)&&!!t.initializer&&!t.dotDotDotToken;case 172:return!!t.initializer;case 226:switch(t.operatorToken.kind){case 64:case 77:case 76:case 78:return at(t.left)}break;case 277:return!0}return!1}function zf(t,u){if(!G0e(t))return!1;switch(t.kind){case 303:return oP(t.initializer,u);case 304:return oP(t.objectAssignmentInitializer,u);case 260:case 169:case 208:case 172:return oP(t.initializer,u);case 226:return oP(t.right,u);case 277:return oP(t.expression,u)}}function J0e(t){return t.escapedText==="push"||t.escapedText==="unshift"}function A2(t){return QE(t).kind===169}function QE(t){for(;t.kind===208;)t=t.parent.parent;return t}function $0e(t){const u=t.kind;return u===176||u===218||u===262||u===219||u===174||u===177||u===178||u===267||u===312}function sl(t){return fg(t.pos)||fg(t.end)}function WZe(t){return Ja(t,ca)||t}function U0e(t){const u=Z0e(t),s=t.kind===214&&t.arguments!==void 0;return q0e(t.kind,u,s)}function q0e(t,u,s){switch(t){case 214:return s?0:1;case 224:case 221:case 222:case 220:case 223:case 227:case 229:return 1;case 226:switch(u){case 43:case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 1}}return 0}function sP(t){const u=Z0e(t),s=t.kind===214&&t.arguments!==void 0;return zj(t.kind,u,s)}function Z0e(t){return t.kind===226?t.operatorToken.kind:t.kind===224||t.kind===225?t.operator:t.kind}function zj(t,u,s){switch(t){case 361:return 0;case 230:return 1;case 229:return 2;case 227:return 4;case 226:switch(u){case 28:return 0;case 64:case 65:case 66:case 68:case 67:case 69:case 70:case 71:case 72:case 73:case 74:case 79:case 75:case 76:case 77:case 78:return 3;default:return Ij(u)}case 216:case 235:case 224:case 221:case 222:case 220:case 223:return 16;case 225:return 17;case 213:return 18;case 214:return s?19:18;case 215:case 211:case 212:case 236:return 19;case 234:case 238:return 11;case 110:case 108:case 80:case 81:case 106:case 112:case 97:case 9:case 10:case 11:case 209:case 210:case 218:case 219:case 231:case 14:case 15:case 228:case 217:case 232:case 284:case 285:case 288:return 20;default:return-1}}function Ij(t){switch(t){case 61:return 4;case 57:return 5;case 56:return 6;case 52:return 7;case 53:return 8;case 51:return 9;case 35:case 36:case 37:case 38:return 10;case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:return 11;case 48:case 49:case 50:return 12;case 40:case 41:return 13;case 42:case 44:case 45:return 14;case 43:return 15}return-1}function iB(t){return ei(t,u=>{switch(u.kind){case 294:return!!u.expression;case 12:return!u.containsOnlyTriviaWhiteSpaces;default:return!0}})}function nB(){let t=[];const u=[],s=new Map;let d=!1;return{add:p,lookup:f,getGlobalDiagnostics:E,getDiagnostics:v};function f(b){let B;if(b.file?B=s.get(b.file.fileName):B=t,!B)return;const k=Hl(B,b,il,Jq);if(k>=0)return B[k]}function p(b){let B;b.file?(B=s.get(b.file.fileName),B||(B=[],s.set(b.file.fileName,B),Nt(u,b.file.fileName,ch))):(d&&(d=!1,t=t.slice()),B=t),Nt(B,b,Jq)}function E(){return d=!0,t}function v(b){if(b)return s.get(b)||[];const B=Pr(u,k=>s.get(k));return t.length&&B.unshift(...t),B}}function MTt(t){return t.replace(_Ye,"\\${")}function mye(t){return!!((t.templateFlags||0)&2048)}function Y0e(t){return t&&!!(B7(t)?mye(t):mye(t.head)||Ge(t.templateSpans,u=>mye(u.literal)))}function GZe(t){return"\\u"+("0000"+t.toString(16).toUpperCase()).slice(-4)}function zTt(t,u,s){if(t.charCodeAt(0)===0){const d=s.charCodeAt(u+t.length);return d>=48&&d<=57?"\\x00":"\\0"}return CYe.get(t)||GZe(t.charCodeAt(0))}function kv(t,u){const s=u===96?vYe:u===39?xYe:DYe;return t.replace(s,zTt)}function Rj(t,u){return t=kv(t,u),yke.test(t)?t.replace(yke,s=>GZe(s.charCodeAt(0))):t}function ITt(t){return"&#x"+t.toString(16).toUpperCase()+";"}function RTt(t){return t.charCodeAt(0)===0?"�":kYe.get(t)||ITt(t.charCodeAt(0))}function Q0e(t,u){const s=u===39?yYe:bYe;return t.replace(s,RTt)}function G4(t){const u=t.length;return u>=2&&t.charCodeAt(0)===t.charCodeAt(u-1)&&OTt(t.charCodeAt(0))?t.substring(1,u-1):t}function OTt(t){return t===39||t===34||t===96}function uB(t){const u=t.charCodeAt(0);return u>=97&&u<=122||t.includes("-")}function Bq(t){const u=zP[1];for(let s=zP.length;s<=t;s++)zP.push(zP[s-1]+u);return zP[t]}function rB(){return zP[1].length}function Oj(t){var u,s,d,f,p,E=!1;function v(K){const Y=t7(K);Y.length>1?(f=f+Y.length-1,p=u.length-K.length+Cr(Y),d=p-u.length===0):d=!1}function b(K){K&&K.length&&(d&&(K=Bq(s)+K,d=!1),u+=K,v(K))}function B(K){K&&(E=!1),b(K)}function k(K){K&&(E=!0),b(K)}function T(){u="",s=0,d=!0,f=0,p=0,E=!1}function M(K){K!==void 0&&(u+=K,v(K),E=!1)}function z(K){K&&K.length&&B(K)}function j(K){(!d||K)&&(u+=t,f++,p=u.length,d=!0,E=!1)}function J(){return d?u.length:u.length+t.length}return T(),{write:B,rawWrite:M,writeLiteral:z,writeLine:j,increaseIndent:()=>{s++},decreaseIndent:()=>{s--},getIndent:()=>s,getTextPos:()=>u.length,getLine:()=>f,getColumn:()=>d?s*rB():u.length-p,getText:()=>u,isAtStartOfLine:()=>d,hasTrailingComment:()=>E,hasTrailingWhitespace:()=>!!u.length&&$3(u.charCodeAt(u.length-1)),clear:T,writeKeyword:B,writeOperator:B,writeParameter:B,writeProperty:B,writePunctuation:B,writeSpace:B,writeStringLiteral:B,writeSymbol:(K,Y)=>B(K),writeTrailingSemicolon:B,writeComment:k,getTextPosWithWriteLine:J}}function X0e(t){let u=!1;function s(){u&&(t.writeTrailingSemicolon(";"),u=!1)}return{...t,writeTrailingSemicolon(){u=!0},writeLiteral(d){s(),t.writeLiteral(d)},writeStringLiteral(d){s(),t.writeStringLiteral(d)},writeSymbol(d,f){s(),t.writeSymbol(d,f)},writePunctuation(d){s(),t.writePunctuation(d)},writeKeyword(d){s(),t.writeKeyword(d)},writeOperator(d){s(),t.writeOperator(d)},writeParameter(d){s(),t.writeParameter(d)},writeSpace(d){s(),t.writeSpace(d)},writeProperty(d){s(),t.writeProperty(d)},writeComment(d){s(),t.writeComment(d)},writeLine(){s(),t.writeLine()},increaseIndent(){s(),t.increaseIndent()},decreaseIndent(){s(),t.decreaseIndent()}}}function jj(t){return t.useCaseSensitiveFileNames?t.useCaseSensitiveFileNames():!1}function i5(t){return T1(jj(t))}function wq(t,u,s){return u.moduleName||ele(t,u.fileName,s&&s.fileName)}function JZe(t,u){return t.getCanonicalFileName(Ga(u,t.getCurrentDirectory()))}function pye(t,u,s){const d=u.getExternalModuleFileFromDeclaration(s);if(!d||d.isDeclarationFile)return;const f=q8(s);if(!(f&&t0(f)&&!am(f.text)&&!JZe(t,d.path).includes(JZe(t,Pd(t.getCommonSourceDirectory())))))return wq(t,d)}function ele(t,u,s){const d=b=>t.getCanonicalFileName(b),f=K0(s?cr(s):t.getCommonSourceDirectory(),t.getCurrentDirectory(),d),p=Ga(u,t.getCurrentDirectory()),E=e7(f,p,f,d,!1),v=Eh(E);return s?l2(v):v}function gye(t,u,s){const d=u.getCompilerOptions();let f;return d.outDir?f=Eh(Nq(t,u,d.outDir)):f=Eh(t),f+s}function Eye(t,u){return Tq(t,u.getCompilerOptions(),u.getCurrentDirectory(),u.getCommonSourceDirectory(),s=>u.getCanonicalFileName(s))}function Tq(t,u,s,d,f){const p=u.declarationDir||u.outDir,E=p?Pq(t,p,s,d,f):t,v=Vj(E);return Eh(E)+v}function Vj(t){return jc(t,[".mjs",".mts"])?".d.mts":jc(t,[".cjs",".cts"])?".d.cts":jc(t,[".json"])?".d.json.ts":".d.ts"}function _ye(t){return jc(t,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:jc(t,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:jc(t,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function b0(t){return t.outFile||t.out}function Lq(t,u){var s;if(t.paths)return t.baseUrl??H.checkDefined(t.pathsBasePath||((s=u.getCurrentDirectory)==null?void 0:s.call(u)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function tle(t,u,s){const d=t.getCompilerOptions();if(b0(d)){const f=f1(d),p=d.emitDeclarationOnly||f===2||f===4;return ei(t.getSourceFiles(),E=>(p||!Bc(E))&&f7(E,t,s))}else{const f=u===void 0?t.getSourceFiles():[u];return ei(f,p=>f7(p,t,s))}}function f7(t,u,s){const d=u.getCompilerOptions();if(d.noEmitForJsFiles&&ph(t)||t.isDeclarationFile||u.isSourceFileFromExternalLibrary(t))return!1;if(s)return!0;if(u.isSourceOfProjectReferenceRedirect(t.fileName))return!1;if(!H4(t))return!0;if(u.getResolvedProjectReferenceToRedirect(t.fileName))return!1;if(b0(d))return!0;if(!d.outDir)return!1;if(d.rootDir||d.composite&&d.configFilePath){const f=Ga(bM(d,()=>[],u.getCurrentDirectory(),u.getCanonicalFileName),u.getCurrentDirectory()),p=Pq(t.fileName,d.outDir,u.getCurrentDirectory(),f,u.getCanonicalFileName);if(fv(t.fileName,p,u.getCurrentDirectory(),!u.useCaseSensitiveFileNames())===0)return!1}return!0}function Nq(t,u,s){return Pq(t,s,u.getCurrentDirectory(),u.getCommonSourceDirectory(),d=>u.getCanonicalFileName(d))}function Pq(t,u,s,d,f){let p=Ga(t,s);return p=f(p).indexOf(f(d))===0?p.substring(d.length):p,dr(u,p)}function lP(t,u,s,d,f,p,E){t.writeFile(s,d,f,v=>{u.add(lc(F.Could_not_write_file_0_Colon_1,s,v))},p,E)}function $Ze(t,u,s){if(t.length>KE(t)&&!s(t)){const d=cr(t);$Ze(d,u,s),u(t)}}function ile(t,u,s,d,f,p){try{d(t,u,s)}catch{$Ze(cr(Jo(t)),f,p),d(t,u,s)}}function cP(t,u){const s=J3(t);return wN(s,u)}function ok(t,u){return wN(t,u)}function Q_(t){return Le(t.members,u=>dc(u)&&j4(u.body))}function dP(t){if(t&&t.parameters.length>0){const u=t.parameters.length===2&&B2(t.parameters[0]);return t.parameters[u?1:0]}}function Dye(t){const u=dP(t);return u&&u.type}function S2(t){if(t.parameters.length&&!Iv(t)){const u=t.parameters[0];if(B2(u))return u}}function B2(t){return w2(t.name)}function w2(t){return!!t&&t.kind===80&&nle(t)}function sk(t){return!!Tn(t,u=>u.kind===186?!0:u.kind===80||u.kind===166?!1:"quit")}function m7(t){if(!w2(t))return!1;for(;xf(t.parent)&&t.parent.left===t;)t=t.parent;return t.parent.kind===186}function nle(t){return t.escapedText==="this"}function lk(t,u){let s,d,f,p;return zx(u)?(s=u,u.kind===177?f=u:u.kind===178?p=u:H.fail("Accessor has wrong kind")):L(t,E=>{if(Bx(E)&&Lo(E)===Lo(u)){const v=ak(E.name),b=ak(u.name);v===b&&(s?d||(d=E):s=E,E.kind===177&&!f&&(f=E),E.kind===178&&!p&&(p=E))}}),{firstAccessor:s,secondAccessor:d,getAccessor:f,setAccessor:p}}function h1(t){if(!Xn(t)&&Xc(t))return;const u=t.type;return u||!Xn(t)?u:HO(t)?t.typeExpression&&t.typeExpression.type:Dv(t)}function xye(t){return t.type}function J4(t){return Iv(t)?t.type&&t.type.typeExpression&&t.type.typeExpression.type:t.type||(Xn(t)?OO(t):void 0)}function Mq(t){return Ku(xv(t),u=>jTt(u)?u.typeParameters:void 0)}function jTt(t){return gg(t)&&!(t.parent.kind===327&&(t.parent.tags.some(K4)||t.parent.tags.some(TB)))}function vye(t){const u=dP(t);return u&&h1(u)}function Cye(t,u,s,d){bye(t,u,s.pos,d)}function bye(t,u,s,d){d&&d.length&&s!==d[0].pos&&ok(t,s)!==ok(t,d[0].pos)&&u.writeLine()}function yye(t,u,s,d){s!==d&&ok(t,s)!==ok(t,d)&&u.writeLine()}function kye(t,u,s,d,f,p,E,v){if(d&&d.length>0){f&&s.writeSpace(" ");let b=!1;for(const B of d)b&&(s.writeSpace(" "),b=!1),v(t,u,s,B.pos,B.end,E),B.hasTrailingNewLine?s.writeLine():b=!0;b&&p&&s.writeSpace(" ")}}function Fye(t,u,s,d,f,p,E){let v,b;if(E?f.pos===0&&(v=ei(K_(t,f.pos),B)):v=K_(t,f.pos),v){const k=[];let T;for(const M of v){if(T){const z=ok(u,T.end);if(ok(u,M.pos)>=z+2)break}k.push(M),T=M}if(k.length){const M=ok(u,Cr(k).end);ok(u,ps(t,f.pos))>=M+2&&(Cye(u,s,f,v),kye(t,u,s,k,!1,!0,p,d),b={nodePos:f.pos,detachedCommentEndPos:Cr(k).end})}}return b;function B(k){return qU(t,k.pos)}}function aB(t,u,s,d,f,p){if(t.charCodeAt(d+1)===42){const E=b8(u,d),v=u.length;let b;for(let B=d,k=E.line;B0){let j=z%rB();const J=Bq((z-j)/rB());for(s.rawWrite(J);j;)s.rawWrite(" "),j--}else s.rawWrite("")}VTt(t,f,s,p,B,T),B=T}}else s.writeComment(t.substring(d,f))}function VTt(t,u,s,d,f,p){const E=Math.min(u,p-1),v=t.substring(f,E).trim();v?(s.writeComment(v),E!==u&&s.writeLine()):s.rawWrite(d)}function UZe(t,u,s){let d=0;for(;u=0&&t.kind<=165?0:(t.modifierFlagsCache&536870912||(t.modifierFlagsCache=rle(t)|536870912),s||u&&Xn(t)?(!(t.modifierFlagsCache&268435456)&&t.parent&&(t.modifierFlagsCache|=qZe(t)|268435456),ZZe(t.modifierFlagsCache)):HTt(t.modifierFlagsCache))}function gh(t){return Bye(t,!0)}function wye(t){return Bye(t,!0,!0)}function Ix(t){return Bye(t,!1)}function qZe(t){let u=0;return t.parent&&!Qa(t)&&(Xn(t)&&(K2e(t)&&(u|=8388608),W2e(t)&&(u|=16777216),G2e(t)&&(u|=33554432),J2e(t)&&(u|=67108864),$2e(t)&&(u|=134217728)),U2e(t)&&(u|=65536)),u}function HTt(t){return t&65535}function ZZe(t){return t&131071|(t&260046848)>>>23}function KTt(t){return ZZe(qZe(t))}function Tye(t){return rle(t)|KTt(t)}function rle(t){let u=Op(t)?eE(t.modifiers):0;return(t.flags&8||t.kind===80&&t.flags&4096)&&(u|=32),u}function eE(t){let u=0;if(t)for(const s of t)u|=g7(s.kind);return u}function g7(t){switch(t){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 170:return 32768}return 0}function YZe(t){return t===57||t===56}function Lye(t){return YZe(t)||t===54}function fP(t){return t===76||t===77||t===78}function ale(t){return eu(t)&&fP(t.operatorToken.kind)}function Hj(t){return YZe(t)||t===61}function Kj(t){return eu(t)&&Hj(t.operatorToken.kind)}function n5(t){return t>=64&&t<=79}function ole(t){const u=sle(t);return u&&!u.isImplements?u.class:void 0}function sle(t){if(l5(t)){if(fm(t.parent)&&gr(t.parent.parent))return{class:t.parent.parent,isImplements:t.parent.token===119};if(wB(t.parent)){const u=rk(t.parent);if(u&&gr(u))return{class:u,isImplements:!1}}}}function od(t,u){return eu(t)&&(u?t.operatorToken.kind===64:n5(t.operatorToken.kind))&&_f(t.left)}function QZe(t){return od(t.parent)&&t.parent.left===t}function u5(t){if(od(t,!0)){const u=t.left.kind;return u===210||u===209}return!1}function Wj(t){return ole(t)!==void 0}function Xl(t){return t.kind===80||Gj(t)}function dm(t){switch(t.kind){case 80:return t;case 166:do t=t.left;while(t.kind!==80);return t;case 211:do t=t.expression;while(t.kind!==80);return t}}function mP(t){return t.kind===80||t.kind===110||t.kind===108||t.kind===236||t.kind===211&&mP(t.expression)||t.kind===217&&mP(t.expression)}function Gj(t){return zu(t)&&at(t.name)&&Xl(t.expression)}function Jj(t){if(zu(t)){const u=Jj(t.expression);if(u!==void 0)return u+"."+Mf(t.name)}else if(G0(t)){const u=Jj(t.expression);if(u!==void 0&&Ac(t.argumentExpression))return u+"."+ak(t.argumentExpression)}else{if(at(t))return Qr(t.escapedText);if(mg(t))return MP(t)}}function Rx(t){return y2(t)&&Y3(t)==="prototype"}function pP(t){return t.parent.kind===166&&t.parent.right===t||t.parent.kind===211&&t.parent.name===t||t.parent.kind===236&&t.parent.name===t}function lle(t){return!!t.parent&&(zu(t.parent)&&t.parent.name===t||G0(t.parent)&&t.parent.argumentExpression===t)}function Nye(t){return xf(t.parent)&&t.parent.right===t||zu(t.parent)&&t.parent.name===t||zv(t.parent)&&t.parent.right===t}function Rq(t){return eu(t)&&t.operatorToken.kind===104}function Pye(t){return Rq(t.parent)&&t===t.parent.right}function cle(t){return t.kind===210&&t.properties.length===0}function Mye(t){return t.kind===209&&t.elements.length===0}function oB(t){if(!(!WTt(t)||!t.declarations)){for(const u of t.declarations)if(u.localSymbol)return u.localSymbol}}function WTt(t){return t&&S(t.declarations)>0&&Qu(t.declarations[0],2048)}function Oq(t){return Le(wYe,u=>Ml(t,u))}function GTt(t){const u=[],s=t.length;for(let d=0;d>6|192),u.push(f&63|128)):f<65536?(u.push(f>>12|224),u.push(f>>6&63|128),u.push(f&63|128)):f<131072?(u.push(f>>18|240),u.push(f>>12&63|128),u.push(f>>6&63|128),u.push(f&63|128)):H.assert(!1,"Unexpected code point")}return u}function zye(t){let u="";const s=GTt(t);let d=0;const f=s.length;let p,E,v,b;for(;d>2,E=(s[d]&3)<<4|s[d+1]>>4,v=(s[d+1]&15)<<2|s[d+2]>>6,b=s[d+2]&63,d+1>=f?v=b=64:d+2>=f&&(b=64),u+=fk.charAt(p)+fk.charAt(E)+fk.charAt(v)+fk.charAt(b),d+=3;return u}function JTt(t){let u="",s=0;const d=t.length;for(;s>4&3,k=(E&15)<<4|v>>2&15,T=(v&3)<<6|b&63;k===0&&v!==0?d.push(B):T===0&&b!==0?d.push(B,k):d.push(B,k,T),f+=4}return JTt(d)}function dle(t,u){const s=Wa(u)?u:u.readFile(t);if(!s)return;const d=ede(t,s);return d.error?void 0:d.config}function gP(t,u){return dle(t,u)||{}}function cg(t,u){return!u.directoryExists||u.directoryExists(t)}function r5(t){switch(t.newLine){case 0:return FYe;case 1:case void 0:return AYe}}function o4(t,u=t){return H.assert(u>=t||u===-1),{pos:t,end:u}}function jq(t,u){return o4(t.pos,u)}function Fv(t,u){return o4(u,t.end)}function a5(t){const u=Op(t)?st(t.modifiers,p1):void 0;return u&&!fg(u.end)?Fv(t,u.end):t}function tE(t){if(yo(t)||cc(t))return Fv(t,t.name.pos);const u=Op(t)?Zu(t.modifiers):void 0;return u&&!fg(u.end)?Fv(t,u.end):a5(t)}function XZe(t){return t.pos===t.end}function hle(t,u){return o4(t,t+$o(u).length)}function ck(t,u){return jye(t,t,u)}function Vq(t,u,s){return $4(EP(t,s,!1),EP(u,s,!1),s)}function Oye(t,u,s){return $4(t.end,u.end,s)}function jye(t,u,s){return $4(EP(t,s,!1),u.end,s)}function $j(t,u,s){return $4(t.end,EP(u,s,!1),s)}function fle(t,u,s,d){const f=EP(u,s,d);return TN(s,t.end,f)}function eYe(t,u,s){return TN(s,t.end,u.end)}function Vye(t,u){return!$4(t.pos,t.end,u)}function $4(t,u,s){return TN(s,t,u)===0}function EP(t,u,s){return fg(t.pos)?-1:ps(u.text,t.pos,!1,s)}function Hye(t,u,s,d){const f=ps(s.text,t,!1,d),p=$Tt(f,u,s);return TN(s,p??u,f)}function Kye(t,u,s,d){const f=ps(s.text,t,!1,d);return TN(s,t,Math.min(u,f))}function $Tt(t,u=0,s){for(;t-- >u;)if(!$3(s.text.charCodeAt(t)))return t}function mle(t){const u=Ja(t);if(u)switch(u.parent.kind){case 266:case 267:return u===u.parent.name}return!1}function _P(t){return ei(t.declarations,Uj)}function Uj(t){return ra(t)&&t.initializer!==void 0}function tYe(t){return t.watch&&gu(t,"watch")}function dg(t){t.close()}function Wl(t){return t.flags&33554432?t.links.checkFlags:0}function s4(t,u=!1){if(t.valueDeclaration){const s=u&&t.declarations&&Le(t.declarations,Of)||t.flags&32768&&Le(t.declarations,Mm)||t.valueDeclaration,d=d2(s);return t.parent&&t.parent.flags&32?d:d&-8}if(Wl(t)&6){const s=t.links.checkFlags,d=s&1024?2:s&256?1:4,f=s&2048?256:0;return d|f}return t.flags&4194304?257:0}function Q1(t,u){return t.flags&2097152?u.getAliasedSymbol(t):t}function DP(t){return t.exportSymbol?t.exportSymbol.flags|t.flags:t.flags}function Hq(t){return xP(t)===1}function E7(t){return xP(t)!==0}function xP(t){const{parent:u}=t;switch(u==null?void 0:u.kind){case 217:return xP(u);case 225:case 224:const{operator:s}=u;return s===46||s===47?2:0;case 226:const{left:d,operatorToken:f}=u;return d===t&&n5(f.kind)?f.kind===64?1:2:0;case 211:return u.name!==t?0:xP(u);case 303:{const p=xP(u.parent);return t===u.name?UTt(p):p}case 304:return t===u.objectAssignmentInitializer?0:xP(u.parent);case 209:return xP(u);default:return 0}}function UTt(t){switch(t){case 0:return 1;case 1:return 0;case 2:return 2;default:return H.assertNever(t)}}function ple(t,u){if(!t||!u||Object.keys(t).length!==Object.keys(u).length)return!1;for(const s in t)if(typeof t[s]=="object"){if(!ple(t[s],u[s]))return!1}else if(typeof t[s]!="function"&&t[s]!==u[s])return!1;return!0}function uf(t,u){t.forEach(u),t.clear()}function X3(t,u,s){const{onDeleteValue:d,onExistingValue:f}=s;t.forEach((p,E)=>{const v=u.get(E);v===void 0?(t.delete(E),d(p,E)):f&&f(p,v,E)})}function sB(t,u,s){X3(t,u,s);const{createNewValue:d}=s;u.forEach((f,p)=>{t.has(p)||t.set(p,d(p,f))})}function Wye(t){if(t.flags&32){const u=eD(t);return!!u&&Qu(u,64)}return!1}function eD(t){var u;return(u=t.declarations)==null?void 0:u.find(gr)}function Ju(t){return t.flags&3899393?t.objectFlags:0}function iYe(t,u){return!!$g(t,s=>u(s)?!0:void 0)}function Kq(t){return!!t&&!!t.declarations&&!!t.declarations[0]&&SV(t.declarations[0])}function Gye({moduleSpecifier:t}){return us(t)?t.text:Hc(t)}function gle(t){let u;return uo(t,s=>{j4(s)&&(u=s)},s=>{for(let d=s.length-1;d>=0;d--)if(j4(s[d])){u=s[d];break}}),u}function Pp(t,u,s=!0){return t.has(u)?!1:(t.set(u,s),!0)}function _7(t){return gr(t)||Dh(t)||hm(t)}function Ele(t){return t>=182&&t<=205||t===133||t===159||t===150||t===163||t===151||t===136||t===154||t===155||t===116||t===157||t===146||t===141||t===233||t===319||t===320||t===321||t===322||t===323||t===324||t===325}function M0(t){return t.kind===211||t.kind===212}function Jye(t){return t.kind===211?t.name:(H.assert(t.kind===212),t.argumentExpression)}function $ye(t){switch(t.kind){case"text":case"internal":return!0;default:return!1}}function Wq(t){return t.kind===275||t.kind===279}function vP(t){for(;M0(t);)t=t.expression;return t}function Uye(t,u){if(M0(t.parent)&&lle(t))return s(t.parent);function s(d){if(d.kind===211){const f=u(d.name);if(f!==void 0)return f}else if(d.kind===212)if(at(d.argumentExpression)||t0(d.argumentExpression)){const f=u(d.argumentExpression);if(f!==void 0)return f}else return;if(M0(d.expression))return s(d.expression);if(at(d.expression))return u(d.expression)}}function lB(t,u){for(;;){switch(t.kind){case 225:t=t.operand;continue;case 226:t=t.left;continue;case 227:t=t.condition;continue;case 215:t=t.tag;continue;case 213:if(u)return t;case 234:case 212:case 211:case 235:case 360:case 238:t=t.expression;continue}return t}}function qTt(t,u){this.flags=t,this.escapedName=u,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function ZTt(t,u){this.flags=u,(H.isDebugging||Jn)&&(this.checker=t)}function YTt(t,u){this.flags=u,H.isDebugging&&(this.checker=t)}function qye(t,u,s){this.pos=u,this.end=s,this.kind=t,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function QTt(t,u,s){this.pos=u,this.end=s,this.kind=t,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function XTt(t,u,s){this.pos=u,this.end=s,this.kind=t,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function eLt(t,u,s){this.fileName=t,this.text=u,this.skipTrivia=s||(d=>d)}function Zye(t){kke.push(t),t(Yd)}function Yye(t){Object.assign(Yd,t),L(kke,u=>u(Yd))}function X_(t,u){return t.replace(/{(\d+)}/g,(s,d)=>""+H.checkDefined(u[+d]))}function Qye(t){EZ=t}function Xye(t){!EZ&&t&&(EZ=t())}function Ya(t){return EZ&&EZ[t.key]||t.message}function cB(t,u,s,d,f,...p){s+d>u.length&&(d=u.length-s),Ibe(u,s,d);let E=Ya(f);return Ge(p)&&(E=X_(E,p)),{file:void 0,start:s,length:d,messageText:E,category:f.category,code:f.code,reportsUnnecessary:f.reportsUnnecessary,fileName:t}}function tLt(t){return t.file===void 0&&t.start!==void 0&&t.length!==void 0&&typeof t.fileName=="string"}function nYe(t,u){const s=u.fileName||"",d=u.text.length;H.assertEqual(t.fileName,s),H.assertLessThanOrEqual(t.start,d),H.assertLessThanOrEqual(t.start+t.length,d);const f={file:u,start:t.start,length:t.length,messageText:t.messageText,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary};if(t.relatedInformation){f.relatedInformation=[];for(const p of t.relatedInformation)tLt(p)&&p.fileName===s?(H.assertLessThanOrEqual(p.start,d),H.assertLessThanOrEqual(p.start+p.length,d),f.relatedInformation.push(nYe(p,u))):f.relatedInformation.push(p)}return f}function D7(t,u){const s=[];for(const d of t)s.push(nYe(d,u));return s}function zd(t,u,s,d,...f){Ibe(t.text,u,s);let p=Ya(d);return Ge(f)&&(p=X_(p,f)),{file:t,start:u,length:s,messageText:p,category:d.category,code:d.code,reportsUnnecessary:d.reportsUnnecessary,reportsDeprecated:d.reportsDeprecated}}function _le(t,...u){let s=Ya(t);return Ge(u)&&(s=X_(s,u)),s}function lc(t,...u){let s=Ya(t);return Ge(u)&&(s=X_(s,u)),{file:void 0,start:void 0,length:void 0,messageText:s,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary,reportsDeprecated:t.reportsDeprecated}}function Gq(t,u){return{file:void 0,start:void 0,length:void 0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:u}}function no(t,u,...s){let d=Ya(u);return Ge(s)&&(d=X_(d,s)),{messageText:d,category:u.category,code:u.code,next:t===void 0||Array.isArray(t)?t:[t]}}function eke(t,u){let s=t;for(;s.next;)s=s.next[0];s.next=[u]}function uYe(t){return t.file?t.file.path:void 0}function CP(t,u){return Jq(t,u)||iLt(t,u)||0}function Jq(t,u){return ch(uYe(t),uYe(u))||nl(t.start,u.start)||nl(t.length,u.length)||nl(t.code,u.code)||rYe(t.messageText,u.messageText)||0}function iLt(t,u){return!t.relatedInformation&&!u.relatedInformation?0:t.relatedInformation&&u.relatedInformation?nl(t.relatedInformation.length,u.relatedInformation.length)||L(t.relatedInformation,(s,d)=>{const f=u.relatedInformation[d];return CP(s,f)})||0:t.relatedInformation?-1:1}function rYe(t,u){if(typeof t=="string"&&typeof u=="string")return ch(t,u);if(typeof t=="string")return-1;if(typeof u=="string")return 1;let s=ch(t.messageText,u.messageText);if(s)return s;if(!t.next&&!u.next)return 0;if(!t.next)return-1;if(!u.next)return 1;const d=Math.min(t.next.length,u.next.length);for(let f=0;fu.next.length?1:0}function qj(t){return t===4||t===2||t===1||t===6?1:0}function aYe(t){if(t.transformFlags&2)return Ph(t)||j2(t)?t:uo(t,aYe)}function nLt(t){return t.isDeclarationFile?void 0:aYe(t)}function uLt(t){return(t.impliedNodeFormat===99||jc(t.fileName,[".cjs",".cts",".mjs",".mts"]))&&!t.isDeclarationFile?!0:void 0}function Zj(t){switch(tke(t)){case 3:return f=>{f.externalModuleIndicator=jV(f)||!f.isDeclarationFile||void 0};case 1:return f=>{f.externalModuleIndicator=jV(f)};case 2:const u=[jV];(t.jsx===4||t.jsx===5)&&u.push(nLt),u.push(uLt);const s=lg(...u);return f=>void(f.externalModuleIndicator=s(f))}}function Rs(t){return t.target??(t.module===100&&9||t.module===199&&99||1)}function f1(t){return typeof t.module=="number"?t.module:Rs(t)>=2?5:1}function $q(t){return t>=5&&t<=99}function m1(t){let u=t.moduleResolution;if(u===void 0)switch(f1(t)){case 1:u=2;break;case 100:u=3;break;case 199:u=99;break;default:u=1;break}return u}function tke(t){return t.moduleDetection||(f1(t)===100||f1(t)===199?3:2)}function Uq(t){switch(f1(t)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function hg(t){return!!(t.isolatedModules||t.verbatimModuleSyntax)}function Dle(t){return t.verbatimModuleSyntax||t.isolatedModules&&t.preserveValueImports}function ike(t){return t.allowUnreachableCode===!1}function nke(t){return t.allowUnusedLabels===!1}function qq(t){return!!(l4(t)&&t.declarationMap)}function XE(t){if(t.esModuleInterop!==void 0)return t.esModuleInterop;switch(f1(t)){case 100:case 199:return!0}}function x7(t){return t.allowSyntheticDefaultImports!==void 0?t.allowSyntheticDefaultImports:XE(t)||f1(t)===4||m1(t)===100}function v7(t){return t>=3&&t<=99||t===100}function Zq(t){return!!t.noDtsResolution||m1(t)!==100}function xle(t){const u=m1(t);if(!v7(u))return!1;if(t.resolvePackageJsonExports!==void 0)return t.resolvePackageJsonExports;switch(u){case 3:case 99:case 100:return!0}return!1}function oYe(t){const u=m1(t);if(!v7(u))return!1;if(t.resolvePackageJsonExports!==void 0)return t.resolvePackageJsonExports;switch(u){case 3:case 99:case 100:return!0}return!1}function L2(t){return t.resolveJsonModule!==void 0?t.resolveJsonModule:m1(t)===100}function l4(t){return!!(t.declaration||t.composite)}function dk(t){return!!(t.preserveConstEnums||hg(t))}function Yj(t){return!!(t.incremental||t.composite)}function U4(t,u){return t[u]===void 0?!!t.strict:!!t[u]}function Av(t){return t.allowJs===void 0?!!t.checkJs:t.allowJs}function Qj(t){return t.useDefineForClassFields===void 0?Rs(t)>=9:t.useDefineForClassFields}function uke(t){return t.useDefineForClassFields!==!1&&Rs(t)>=9}function rke(t,u){return z8(u,t,dde)}function ake(t,u){return z8(u,t,hde)}function oke(t,u){return z8(u,t,fde)}function Yq(t,u){return u.strictFlag?U4(t,u.name):u.allowJsFlag?Av(t):t[u.name]}function Qq(t){const u=t.jsx;return u===2||u===4||u===5}function Xq(t,u){const s=u==null?void 0:u.pragmas.get("jsximportsource"),d=ja(s)?s[s.length-1]:s;return t.jsx===4||t.jsx===5||t.jsxImportSource||d?(d==null?void 0:d.arguments.factory)||t.jsxImportSource||"react":void 0}function eZ(t,u){return t?`${t}/${u.jsx===5?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function vle(t){let u=!1;for(let s=0;sf,getSymlinkedDirectories:()=>s,getSymlinkedDirectoriesByRealpath:()=>d,setSymlinkedFile:(v,b)=>(f||(f=new Map)).set(v,b),setSymlinkedDirectory:(v,b)=>{let B=K0(v,t,u);wP(B)||(B=Pd(B),b!==!1&&!(s!=null&&s.has(B))&&(d||(d=Bm())).add(b.realPath,v),(s||(s=new Map)).set(B,b))},setSymlinksFromResolutions(v,b,B){H.assert(!p),p=!0,v(k=>E(this,k.resolvedModule)),b(k=>E(this,k.resolvedTypeReferenceDirective)),B.forEach(k=>E(this,k.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>p};function E(v,b){if(!b||!b.originalPath||!b.resolvedFileName)return;const{resolvedFileName:B,originalPath:k}=b;v.setSymlinkedFile(K0(k,t,u),B);const[T,M]=rLt(B,k,t,u)||_t;T&&M&&v.setSymlinkedDirectory(M,{real:Pd(T),realPath:Pd(K0(T,t,u))})}}function rLt(t,u,s,d){const f=bd(Ga(t,s)),p=bd(Ga(u,s));let E=!1;for(;f.length>=2&&p.length>=2&&!sYe(f[f.length-2],d)&&!sYe(p[p.length-2],d)&&d(f[f.length-1])===d(p[p.length-1]);)f.pop(),p.pop(),E=!0;return E?[bx(f),bx(p)]:void 0}function sYe(t,u){return t!==void 0&&(u(t)==="node_modules"||La(t,"@"))}function aLt(t){return Cse(t.charCodeAt(0))?t.slice(1):void 0}function ble(t,u,s){const d=coe(t,u,s);return d===void 0?void 0:aLt(d)}function lYe(t){return t.replace(Jle,oLt)}function oLt(t){return"\\"+t}function bP(t,u,s){const d=tZ(t,u,s);return!d||!d.length?void 0:`^(${d.map(E=>`(${E})`).join("|")})${s==="exclude"?"($|/)":"$"}`}function tZ(t,u,s){if(!(t===void 0||t.length===0))return Ku(t,d=>d&&cYe(d,u,s,Bke[s]))}function yle(t){return!/[.*?]/.test(t)}function kle(t,u,s){const d=t&&cYe(t,u,s,Bke[s]);return d&&`^(${d})${s==="exclude"?"($|/)":"$"}`}function cYe(t,u,s,{singleAsteriskRegexFragment:d,doubleAsteriskRegexFragment:f,replaceWildcardCharacter:p}){let E="",v=!1;const b=yO(t,u),B=Cr(b);if(s!=="exclude"&&B==="**")return;b[0]=hv(b[0]),yle(B)&&b.push("**","*");let k=0;for(let T of b){if(T==="**")E+=f;else if(s==="directories"&&(E+="(",k++),v&&(E+=rl),s!=="exclude"){let M="";T.charCodeAt(0)===42?(M+="([^./]"+d+")?",T=T.substr(1)):T.charCodeAt(0)===63&&(M+="[^./]",T=T.substr(1)),M+=T.replace(Jle,p),M!==T&&(E+=Ule),E+=M}else E+=T.replace(Jle,p);v=!0}for(;k>0;)E+=")?",k--;return E}function ske(t,u){return t==="*"?u:t==="?"?"[^/]":"\\"+t}function iZ(t,u,s,d,f){t=Jo(t),f=Jo(f);const p=dr(f,t);return{includeFilePatterns:Kt(tZ(s,p,"files"),E=>`^${E}$`),includeFilePattern:bP(s,p,"files"),includeDirectoryPattern:bP(s,p,"directories"),excludePattern:bP(u,p,"exclude"),basePaths:sLt(t,s,d)}}function Ox(t,u){return new RegExp(t,u?"":"i")}function Fle(t,u,s,d,f,p,E,v,b){t=Jo(t),p=Jo(p);const B=iZ(t,s,d,f,p),k=B.includeFilePatterns&&B.includeFilePatterns.map(Y=>Ox(Y,f)),T=B.includeDirectoryPattern&&Ox(B.includeDirectoryPattern,f),M=B.excludePattern&&Ox(B.excludePattern,f),z=k?k.map(()=>[]):[[]],j=new Map,J=T1(f);for(const Y of B.basePaths)K(Y,dr(p,Y),E);return Oa(z);function K(Y,oe,se){const ge=J(b(oe));if(j.has(ge))return;j.set(ge,!0);const{files:ae,directories:Ce}=v(Y);for(const ne of Lh(ae,ch)){const ve=dr(Y,ne),Se=dr(oe,ne);if(!(u&&!jc(ve,u))&&!(M&&M.test(Se)))if(!k)z[0].push(ve);else{const Ne=Ue(k,pe=>pe.test(Se));Ne!==-1&&z[Ne].push(ve)}}if(!(se!==void 0&&(se--,se===0)))for(const ne of Lh(Ce,ch)){const ve=dr(Y,ne),Se=dr(oe,ne);(!T||T.test(Se))&&(!M||!M.test(Se))&&K(ve,Se,se)}}}function sLt(t,u,s){const d=[t];if(u){const f=[];for(const p of u){const E=Nf(p)?p:Jo(dr(t,p));f.push(lLt(E))}f.sort(vN(!s));for(const p of f)ye(d,E=>!WE(E,p,t,!s))&&d.push(p)}return d}function lLt(t){const u=Ot(t,SYe);return u<0?XA(t)?hv(cr(t)):t:t.substring(0,t.lastIndexOf(rl,u))}function nZ(t,u){return u||uZ(t)||3}function uZ(t){switch(t.substr(t.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}function yP(t,u){const s=t&&Av(t);if(!u||u.length===0)return s?_Z:pB;const d=s?_Z:pB,f=Oa(d);return[...d,...Si(u,E=>E.scriptKind===7||s&&cLt(E.scriptKind)&&!f.includes(E.extension)?[E.extension]:void 0)]}function Xj(t,u){return!t||!L2(t)?u:u===_Z?TYe:u===pB?BYe:[...u,[".json"]]}function cLt(t){return t===1||t===2}function N2(t){return Ge(gB,u=>Ml(t,u))}function hk(t){return Ge(qle,u=>Ml(t,u))}function lke({imports:t},u=lg(N2,hk)){return G(t,({text:s})=>am(s)&&!jc(s,dV)?u(s):void 0)||!1}function Ale(t,u,s,d){if(t==="js"||u===99)return GB(s)&&f()!==2?3:2;if(t==="minimal")return 0;if(t==="index")return 1;if(!GB(s))return lke(d)?2:0;return f();function f(){let p=!1;const E=d.imports.length?d.imports.map(v=>v.text):ph(d)?dLt(d).map(v=>v.arguments[0].text):_t;for(const v of E)if(am(v)){if(jc(v,dV))continue;if(hk(v))return 3;N2(v)&&(p=!0)}return p?2:0}}function dLt(t){let u=0,s;for(const d of t.statements){if(u>3)break;T0e(d)?s=an(s,d.declarationList.declarations.map(f=>f.initializer)):Id(d)&&Df(d.expression,!0)?s=Ei(s,d.expression):u++}return s||_t}function cke(t,u,s){if(!t)return!1;const d=yP(u,s);for(const f of Oa(Xj(u,d)))if(Ml(t,f))return!0;return!1}function dYe(t){const u=t.match(/\//g);return u?u.length:0}function eV(t,u){return nl(dYe(t),dYe(u))}function Eh(t){for(const u of Qle){const s=dke(t,u);if(s!==void 0)return s}return t}function dke(t,u){return Ml(t,u)?tV(t,u):void 0}function tV(t,u){return t.substring(0,t.length-u.length)}function Sv(t,u){return kO(t,u,Qle,!1)}function dB(t){const u=t.indexOf("*");return u===-1?t:t.indexOf("*",u+1)!==-1?void 0:{prefix:t.substr(0,u),suffix:t.substr(u+1)}}function rZ(t){return Si(Ls(t),u=>dB(u))}function fg(t){return!(t>=0)}function aZ(t){return t===".ts"||t===".tsx"||t===".d.ts"||t===".cts"||t===".mts"||t===".d.mts"||t===".d.cts"||La(t,".d.")&&oc(t,".ts")}function kP(t){return aZ(t)||t===".json"}function C7(t){const u=e3(t);return u!==void 0?u:H.fail(`File ${t} has unknown extension.`)}function hYe(t){return e3(t)!==void 0}function e3(t){return Le(Qle,u=>Ml(t,u))}function iV(t,u){return t.checkJsDirective?t.checkJsDirective.enabled:u.checkJs}function Sle(t,u){const s=[];for(const d of t){if(d===u)return u;Wa(d)||s.push(d)}return loe(s,d=>d,u)}function Ble(t,u){const s=t.indexOf(u);return H.assert(s!==-1),t.slice(s)}function gs(t,...u){return u.length&&(t.relatedInformation||(t.relatedInformation=[]),H.assert(t.relatedInformation!==_t,"Diagnostic had empty array singleton for related info, but is still being constructed!"),t.relatedInformation.push(...u)),t}function hke(t,u){H.assert(t.length!==0);let s=u(t[0]),d=s;for(let f=1;fd&&(d=p)}return{min:s,max:d}}function wle(t){return{pos:Qy(t),end:t.end}}function Tle(t,u){const s=u.pos-1,d=Math.min(t.text.length,ps(t.text,u.end)+1);return{pos:s,end:d}}function FP(t,u,s){return u.skipLibCheck&&t.isDeclarationFile||u.skipDefaultLibCheck&&t.hasNoDefaultLib||s.isSourceOfProjectReferenceRedirect(t.fileName)}function oZ(t,u){return t===u||typeof t=="object"&&t!==null&&typeof u=="object"&&u!==null&&UA(t,u,oZ)}function AP(t){let u;switch(t.charCodeAt(1)){case 98:case 66:u=1;break;case 111:case 79:u=3;break;case 120:case 88:u=4;break;default:const B=t.length-1;let k=0;for(;t.charCodeAt(k)===48;)k++;return t.slice(k,B)||"0"}const s=2,d=t.length-1,f=(d-s)*u,p=new Uint16Array((f>>>4)+(f&15?1:0));for(let B=d-1,k=0;B>=s;B--,k+=u){const T=k>>>4,M=t.charCodeAt(B),j=(M<=57?M-48:10+M-(M<=70?65:97))<<(k&15);p[T]|=j;const J=j>>>16;J&&(p[T+1]|=J)}let E="",v=p.length-1,b=!0;for(;b;){let B=0;b=!1;for(let k=v;k>=0;k--){const T=B<<16|p[k],M=T/10|0;p[k]=M,B=T-M*10,M&&!b&&(v=k,b=!0)}E=B+E}return E}function P2({negative:t,base10Value:u}){return(t&&u!=="0"?"-":"")+u}function fke(t){if(sZ(t,!1))return Lle(t)}function Lle(t){const u=t.startsWith("-"),s=AP(`${u?t.slice(1):t}n`);return{negative:u,base10Value:s}}function sZ(t,u){if(t==="")return!1;const s=ZD(99,!1);let d=!0;s.setOnError(()=>d=!1),s.setText(t+"n");let f=s.scan();const p=f===41;p&&(f=s.scan());const E=s.getTokenFlags();return d&&f===10&&s.getTokenEnd()===t.length+1&&!(E&512)&&(!u||t===P2({negative:p,base10Value:AP(s.getTokenValue())}))}function Bv(t){return!!(t.flags&33554432)||mq(t)||mLt(t)||fLt(t)||!(q_(t)||hLt(t))}function hLt(t){return at(t)&&mm(t.parent)&&t.parent.name===t}function fLt(t){for(;t.kind===80||t.kind===211;)t=t.parent;if(t.kind!==167)return!1;if(Qu(t.parent,64))return!0;const u=t.parent.parent.kind;return u===264||u===187}function mLt(t){if(t.kind!==80)return!1;const u=Tn(t.parent,s=>{switch(s.kind){case 298:return!0;case 211:case 233:return!1;default:return"quit"}});return(u==null?void 0:u.token)===119||(u==null?void 0:u.parent.kind)===264}function mke(t){return Y4(t)&&at(t.typeName)}function pke(t,u=vx){if(t.length<2)return!0;const s=t[0];for(let d=1,f=t.length;dt.includes(u))}function _ke(t){if(!t.parent)return;switch(t.kind){case 168:const{parent:s}=t;return s.kind===195?void 0:s.typeParameters;case 169:return t.parent.parameters;case 204:return t.parent.templateSpans;case 239:return t.parent.templateSpans;case 170:{const{parent:d}=t;return kk(d)?d.modifiers:void 0}case 298:return t.parent.heritageClauses}const{parent:u}=t;if(M8(t))return V7(t.parent)?void 0:t.parent.tags;switch(u.kind){case 187:case 264:return Uy(t)?u.members:void 0;case 192:case 193:return u.types;case 189:case 209:case 361:case 275:case 279:return u.elements;case 210:case 292:return u.properties;case 213:case 214:return Xr(t)?u.typeArguments:u.expression===t?void 0:u.arguments;case 284:case 288:return QO(t)?u.children:void 0;case 286:case 285:return Xr(t)?u.typeArguments:void 0;case 241:case 296:case 297:case 268:return u.statements;case 269:return u.clauses;case 263:case 231:return qd(t)?u.members:void 0;case 266:return K2(t)?u.members:void 0;case 312:return u.statements}}function lZ(t){if(!t.typeParameters){if(Ge(t.parameters,u=>!h1(u)))return!0;if(t.kind!==219){const u=Ki(t.parameters);if(!(u&&B2(u)))return!0}}return!1}function TP(t){return t==="Infinity"||t==="-Infinity"||t==="NaN"}function Dke(t){return t.kind===260&&t.parent.kind===299}function Ple(t){const u=t.valueDeclaration&&QE(t.valueDeclaration);return!!u&&(Qa(u)||Dke(u))}function M2(t){return t.kind===218||t.kind===219}function z2(t){return t.replace(/\$/gm,()=>"\\$")}function t3(t){return(+t).toString()===t}function cZ(t,u,s,d,f){const p=f&&t==="new";return!p&&Tm(t,u)?q.createIdentifier(t):!d&&!p&&t3(t)&&+t>=0?q.createNumericLiteral(+t):q.createStringLiteral(t,!!s)}function LP(t){return!!(t.flags&262144&&t.isThisType)}function dZ(t){let u=0,s=0,d=0,f=0,p;(B=>{B[B.BeforeNodeModules=0]="BeforeNodeModules",B[B.NodeModules=1]="NodeModules",B[B.Scope=2]="Scope",B[B.PackageContent=3]="PackageContent"})(p||(p={}));let E=0,v=0,b=0;for(;v>=0;)switch(E=v,v=t.indexOf("/",E+1),b){case 0:t.indexOf(a_,E)===E&&(u=E,s=v,b=1);break;case 1:case 2:b===1&&t.charAt(E+1)==="@"?b=2:(d=v,b=3);break;case 3:t.indexOf(a_,E)===E?b=1:b=3;break}return f=E,b>1?{topLevelNodeModulesIndex:u,topLevelPackageNameIndex:s,packageRootIndex:d,fileNameIndex:f}:void 0}function fYe(t){var u;return t.kind===348?(u=t.typeExpression)==null?void 0:u.type:t.type}function mB(t){switch(t.kind){case 168:case 263:case 264:case 265:case 266:case 353:case 345:case 347:return!0;case 273:return t.isTypeOnly;case 276:case 281:return t.parent.parent.isTypeOnly;default:return!1}}function nV(t){return Mv(t)||Gl(t)||Xc(t)||Wc(t)||Dh(t)||mB(t)||Ec(t)&&!_2(t)&&!Zg(t)}function uV(t){if(!HO(t))return!1;const{isBracketed:u,typeExpression:s}=t;return u||!!s&&s.type.kind===323}function Mle(t,u){if(t.length===0)return!1;const s=t.charCodeAt(0);return s===35?t.length>1&&W_(t.charCodeAt(1),u):W_(s,u)}function xke(t){var u;return((u=oce(t))==null?void 0:u.kind)===0}function rV(t){return Xn(t)&&(t.type&&t.type.kind===323||A8(t).some(({isBracketed:u,typeExpression:s})=>u||!!s&&s.type.kind===323))}function NP(t){switch(t.kind){case 172:case 171:return!!t.questionToken;case 169:return!!t.questionToken||rV(t);case 355:case 348:return uV(t);default:return!1}}function vke(t){const u=t.kind;return(u===211||u===212)&&I7(t.expression)}function zle(t){return Xn(t)&&vf(t)&&sm(t)&&!!Ose(t)}function Ile(t){return H.checkDefined(hZ(t))}function hZ(t){const u=Ose(t);return u&&u.typeExpression&&u.typeExpression.type}function PP(t){return at(t)?t.escapedText:b7(t)}function aV(t){return at(t)?fu(t):MP(t)}function Cke(t){const u=t.kind;return u===80||u===295}function b7(t){return`${t.namespace.escapedText}:${fu(t.name)}`}function MP(t){return`${fu(t.namespace)}:${fu(t.name)}`}function Rle(t){return at(t)?fu(t):MP(t)}function q4(t){return!!(t.flags&8576)}function Z4(t){return t.flags&8192?t.escapedName:t.flags&384?Al(""+t.value):H.fail()}function fZ(t){return!!t&&(zu(t)||G0(t)||eu(t))}function bke(t){return t===void 0?!1:!!$B(t.attributes)}var mZ,Vx,oV,pZ,sV,gZ,Ole,jle,mYe,pYe,Vle,gYe,EYe,Hle,Kle,Wle,Gle,_Ye,DYe,xYe,vYe,CYe,yke,bYe,yYe,kYe,zP,fk,FYe,AYe,Yd,kke,EZ,Jle,SYe,$le,Ule,Fke,Ake,Ske,Bke,pB,qle,BYe,wYe,Zle,gB,_Z,TYe,lV,cV,dV,Yle,Qle,DZ,gLt=o({"src/compiler/utilities.ts"(){So(),mZ=[],Vx="tslib",oV=160,pZ=1e6,sV=DTt(),gZ=Nh(()=>new Map(Object.entries({Array:new Map(Object.entries({es2015:["find","findIndex","fill","copyWithin","entries","keys","values"],es2016:["includes"],es2019:["flat","flatMap"],es2022:["at"],es2023:["findLastIndex","findLast"]})),Iterator:new Map(Object.entries({es2015:_t})),AsyncIterator:new Map(Object.entries({es2015:_t})),Atomics:new Map(Object.entries({es2017:_t})),SharedArrayBuffer:new Map(Object.entries({es2017:_t})),AsyncIterable:new Map(Object.entries({es2018:_t})),AsyncIterableIterator:new Map(Object.entries({es2018:_t})),AsyncGenerator:new Map(Object.entries({es2018:_t})),AsyncGeneratorFunction:new Map(Object.entries({es2018:_t})),RegExp:new Map(Object.entries({es2015:["flags","sticky","unicode"],es2018:["dotAll"]})),Reflect:new Map(Object.entries({es2015:["apply","construct","defineProperty","deleteProperty","get","getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"]})),ArrayConstructor:new Map(Object.entries({es2015:["from","of"]})),ObjectConstructor:new Map(Object.entries({es2015:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],es2017:["values","entries","getOwnPropertyDescriptors"],es2019:["fromEntries"],es2022:["hasOwn"]})),NumberConstructor:new Map(Object.entries({es2015:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"]})),Math:new Map(Object.entries({es2015:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"]})),Map:new Map(Object.entries({es2015:["entries","keys","values"]})),Set:new Map(Object.entries({es2015:["entries","keys","values"]})),PromiseConstructor:new Map(Object.entries({es2015:["all","race","reject","resolve"],es2020:["allSettled"],es2021:["any"]})),Symbol:new Map(Object.entries({es2015:["for","keyFor"],es2019:["description"]})),WeakMap:new Map(Object.entries({es2015:["entries","keys","values"]})),WeakSet:new Map(Object.entries({es2015:["entries","keys","values"]})),String:new Map(Object.entries({es2015:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],es2017:["padStart","padEnd"],es2019:["trimStart","trimEnd","trimLeft","trimRight"],es2020:["matchAll"],es2021:["replaceAll"],es2022:["at"]})),StringConstructor:new Map(Object.entries({es2015:["fromCodePoint","raw"]})),DateTimeFormat:new Map(Object.entries({es2017:["formatToParts"]})),Promise:new Map(Object.entries({es2015:_t,es2018:["finally"]})),RegExpMatchArray:new Map(Object.entries({es2018:["groups"]})),RegExpExecArray:new Map(Object.entries({es2018:["groups"]})),Intl:new Map(Object.entries({es2018:["PluralRules"]})),NumberFormat:new Map(Object.entries({es2018:["formatToParts"]})),SymbolConstructor:new Map(Object.entries({es2020:["matchAll"]})),DataView:new Map(Object.entries({es2020:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"]})),BigInt:new Map(Object.entries({es2020:_t})),RelativeTimeFormat:new Map(Object.entries({es2020:["format","formatToParts","resolvedOptions"]})),Int8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8ClampedArray:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float64Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),BigInt64Array:new Map(Object.entries({es2020:_t,es2022:["at"],es2023:["findLastIndex","findLast"]})),BigUint64Array:new Map(Object.entries({es2020:_t,es2022:["at"],es2023:["findLastIndex","findLast"]})),Error:new Map(Object.entries({es2022:["cause"]}))}))),Ole=(t=>(t[t.None=0]="None",t[t.NeverAsciiEscape=1]="NeverAsciiEscape",t[t.JsxAttributeEscape=2]="JsxAttributeEscape",t[t.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",t[t.AllowNumericSeparator=8]="AllowNumericSeparator",t))(Ole||{}),jle=/^(\/\/\/\s*/,mYe=/^(\/\/\/\s*/,pYe=/^(\/\/\/\s*/,Vle=/^(\/\/\/\s*/,gYe=/^\/\/\/\s*/,EYe=/^(\/\/\/\s*/,Hle=(t=>(t[t.None=0]="None",t[t.Definite=1]="Definite",t[t.Compound=2]="Compound",t))(Hle||{}),Kle=(t=>(t[t.Normal=0]="Normal",t[t.Generator=1]="Generator",t[t.Async=2]="Async",t[t.Invalid=4]="Invalid",t[t.AsyncGenerator=3]="AsyncGenerator",t))(Kle||{}),Wle=(t=>(t[t.Left=0]="Left",t[t.Right=1]="Right",t))(Wle||{}),Gle=(t=>(t[t.Comma=0]="Comma",t[t.Spread=1]="Spread",t[t.Yield=2]="Yield",t[t.Assignment=3]="Assignment",t[t.Conditional=4]="Conditional",t[t.Coalesce=4]="Coalesce",t[t.LogicalOR=5]="LogicalOR",t[t.LogicalAND=6]="LogicalAND",t[t.BitwiseOR=7]="BitwiseOR",t[t.BitwiseXOR=8]="BitwiseXOR",t[t.BitwiseAND=9]="BitwiseAND",t[t.Equality=10]="Equality",t[t.Relational=11]="Relational",t[t.Shift=12]="Shift",t[t.Additive=13]="Additive",t[t.Multiplicative=14]="Multiplicative",t[t.Exponentiation=15]="Exponentiation",t[t.Unary=16]="Unary",t[t.Update=17]="Update",t[t.LeftHandSide=18]="LeftHandSide",t[t.Member=19]="Member",t[t.Primary=20]="Primary",t[t.Highest=20]="Highest",t[t.Lowest=0]="Lowest",t[t.Invalid=-1]="Invalid",t))(Gle||{}),_Ye=/\$\{/g,DYe=/[\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,xYe=/[\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,vYe=/\r\n|[\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,CYe=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"})),yke=/[^\u0000-\u007F]/g,bYe=/["\u0000-\u001f\u2028\u2029\u0085]/g,yYe=/['\u0000-\u001f\u2028\u2029\u0085]/g,kYe=new Map(Object.entries({'"':""","'":"'"})),zP=[""," "],fk="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",FYe=`\r +`,AYe=` +`,Yd={getNodeConstructor:()=>qye,getTokenConstructor:()=>QTt,getIdentifierConstructor:()=>XTt,getPrivateIdentifierConstructor:()=>qye,getSourceFileConstructor:()=>qye,getSymbolConstructor:()=>qTt,getTypeConstructor:()=>ZTt,getSignatureConstructor:()=>YTt,getSourceMapSourceConstructor:()=>eLt},kke=[],Jle=/[^\w\s/]/g,SYe=[42,63],$le=["node_modules","bower_components","jspm_packages"],Ule=`(?!(${$le.join("|")})(/|$))`,Fke={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${Ule}[^/.][^/]*)*?`,replaceWildcardCharacter:t=>ske(t,Fke.singleAsteriskRegexFragment)},Ake={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${Ule}[^/.][^/]*)*?`,replaceWildcardCharacter:t=>ske(t,Ake.singleAsteriskRegexFragment)},Ske={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:t=>ske(t,Ske.singleAsteriskRegexFragment)},Bke={files:Fke,directories:Ake,exclude:Ske},pB=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],qle=Oa(pB),BYe=[...pB,[".json"]],wYe=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],Zle=[[".js",".jsx"],[".mjs"],[".cjs"]],gB=Oa(Zle),_Z=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],TYe=[..._Z,[".json"]],lV=[".d.ts",".d.cts",".d.mts"],cV=[".ts",".cts",".mts",".tsx"],dV=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"],Yle=(t=>(t[t.Minimal=0]="Minimal",t[t.Index=1]="Index",t[t.JsExtension=2]="JsExtension",t[t.TsExtension=3]="TsExtension",t))(Yle||{}),Qle=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],DZ={files:_t,directories:_t}}});function wke(){let t,u,s,d,f;return{createBaseSourceFileNode:p,createBaseIdentifierNode:E,createBasePrivateIdentifierNode:v,createBaseTokenNode:b,createBaseNode:B};function p(k){return new(f||(f=Yd.getSourceFileConstructor()))(k,-1,-1)}function E(k){return new(s||(s=Yd.getIdentifierConstructor()))(k,-1,-1)}function v(k){return new(d||(d=Yd.getPrivateIdentifierConstructor()))(k,-1,-1)}function b(k){return new(u||(u=Yd.getTokenConstructor()))(k,-1,-1)}function B(k){return new(t||(t=Yd.getNodeConstructor()))(k,-1,-1)}}var ELt=o({"src/compiler/factory/baseNodeFactory.ts"(){So()}});function Tke(t){let u,s;return{getParenthesizeLeftSideOfBinaryForOperator:d,getParenthesizeRightSideOfBinaryForOperator:f,parenthesizeLeftSideOfBinary:B,parenthesizeRightSideOfBinary:k,parenthesizeExpressionOfComputedPropertyName:T,parenthesizeConditionOfConditionalExpression:M,parenthesizeBranchOfConditionalExpression:z,parenthesizeExpressionOfExportDefault:j,parenthesizeExpressionOfNew:J,parenthesizeLeftSideOfAccess:K,parenthesizeOperandOfPostfixUnary:Y,parenthesizeOperandOfPrefixUnary:oe,parenthesizeExpressionsOfCommaDelimitedList:se,parenthesizeExpressionForDisallowedComma:ge,parenthesizeExpressionOfExpressionStatement:ae,parenthesizeConciseBodyOfArrowFunction:Ce,parenthesizeCheckTypeOfConditionalType:ne,parenthesizeExtendsTypeOfConditionalType:ve,parenthesizeConstituentTypesOfUnionType:Ne,parenthesizeConstituentTypeOfUnionType:Se,parenthesizeConstituentTypesOfIntersectionType:fe,parenthesizeConstituentTypeOfIntersectionType:pe,parenthesizeOperandOfTypeOperator:xe,parenthesizeOperandOfReadonlyTypeOperator:Be,parenthesizeNonArrayTypeOfPostfixType:We,parenthesizeElementTypesOfTupleType:Ae,parenthesizeElementTypeOfTupleType:De,parenthesizeTypeOfOptionalType:Je,parenthesizeTypeArguments:je,parenthesizeLeadingTypeArgument:ft};function d(Ke){u||(u=new Map);let Gt=u.get(Ke);return Gt||(Gt=Yt=>B(Ke,Yt),u.set(Ke,Gt)),Gt}function f(Ke){s||(s=new Map);let Gt=s.get(Ke);return Gt||(Gt=Yt=>k(Ke,void 0,Yt),s.set(Ke,Gt)),Gt}function p(Ke,Gt,Yt,Ie){const lt=zj(226,Ke),St=q0e(226,Ke),It=wp(Gt);if(!Yt&&Gt.kind===219&<>3)return!0;const ti=sP(It);switch(nl(ti,lt)){case-1:return!(!Yt&&St===1&&Gt.kind===229);case 1:return!1;case 0:if(Yt)return St===1;if(eu(It)&&It.operatorToken.kind===Ke){if(E(Ke))return!1;if(Ke===40){const Ut=Ie?v(Ie):0;if(ON(Ut)&&Ut===v(It))return!1}}return U0e(It)===0}}function E(Ke){return Ke===42||Ke===52||Ke===51||Ke===53||Ke===28}function v(Ke){if(Ke=wp(Ke),ON(Ke.kind))return Ke.kind;if(Ke.kind===226&&Ke.operatorToken.kind===40){if(Ke.cachedLiteralKind!==void 0)return Ke.cachedLiteralKind;const Gt=v(Ke.left),Yt=ON(Gt)&&Gt===v(Ke.right)?Gt:0;return Ke.cachedLiteralKind=Yt,Yt}return 0}function b(Ke,Gt,Yt,Ie){return wp(Gt).kind===217?Gt:p(Ke,Gt,Yt,Ie)?t.createParenthesizedExpression(Gt):Gt}function B(Ke,Gt){return b(Ke,Gt,!0)}function k(Ke,Gt,Yt){return b(Ke,Yt,!1,Gt)}function T(Ke){return XP(Ke)?t.createParenthesizedExpression(Ke):Ke}function M(Ke){const Gt=zj(227,58),Yt=wp(Ke),Ie=sP(Yt);return nl(Ie,Gt)!==1?t.createParenthesizedExpression(Ke):Ke}function z(Ke){const Gt=wp(Ke);return XP(Gt)?t.createParenthesizedExpression(Ke):Ke}function j(Ke){const Gt=wp(Ke);let Yt=XP(Gt);if(!Yt)switch(lB(Gt,!1).kind){case 231:case 218:Yt=!0}return Yt?t.createParenthesizedExpression(Ke):Ke}function J(Ke){const Gt=lB(Ke,!0);switch(Gt.kind){case 213:return t.createParenthesizedExpression(Ke);case 214:return Gt.arguments?Ke:t.createParenthesizedExpression(Ke)}return K(Ke)}function K(Ke,Gt){const Yt=wp(Ke);return _f(Yt)&&(Yt.kind!==214||Yt.arguments)&&(Gt||!Z1(Yt))?Ke:Pt(t.createParenthesizedExpression(Ke),Ke)}function Y(Ke){return _f(Ke)?Ke:Pt(t.createParenthesizedExpression(Ke),Ke)}function oe(Ke){return Xse(Ke)?Ke:Pt(t.createParenthesizedExpression(Ke),Ke)}function se(Ke){const Gt=Pu(Ke,ge);return Pt(t.createNodeArray(Gt,Ke.hasTrailingComma),Ke)}function ge(Ke){const Gt=wp(Ke),Yt=sP(Gt),Ie=zj(226,28);return Yt>Ie?Ke:Pt(t.createParenthesizedExpression(Ke),Ke)}function ae(Ke){const Gt=wp(Ke);if(Po(Gt)){const Ie=Gt.expression,lt=wp(Ie).kind;if(lt===218||lt===219){const St=t.updateCallExpression(Gt,Pt(t.createParenthesizedExpression(Ie),Ie),Gt.typeArguments,Gt.arguments);return t.restoreOuterExpressions(Ke,St,8)}}const Yt=lB(Gt,!1).kind;return Yt===210||Yt===218?Pt(t.createParenthesizedExpression(Ke),Ke):Ke}function Ce(Ke){return!ho(Ke)&&(XP(Ke)||lB(Ke,!1).kind===210)?Pt(t.createParenthesizedExpression(Ke),Ke):Ke}function ne(Ke){switch(Ke.kind){case 184:case 185:case 194:return t.createParenthesizedType(Ke)}return Ke}function ve(Ke){switch(Ke.kind){case 194:return t.createParenthesizedType(Ke)}return Ke}function Se(Ke){switch(Ke.kind){case 192:case 193:return t.createParenthesizedType(Ke)}return ne(Ke)}function Ne(Ke){return t.createNodeArray(Pu(Ke,Se))}function pe(Ke){switch(Ke.kind){case 192:case 193:return t.createParenthesizedType(Ke)}return Se(Ke)}function fe(Ke){return t.createNodeArray(Pu(Ke,pe))}function xe(Ke){switch(Ke.kind){case 193:return t.createParenthesizedType(Ke)}return pe(Ke)}function Be(Ke){switch(Ke.kind){case 198:return t.createParenthesizedType(Ke)}return xe(Ke)}function We(Ke){switch(Ke.kind){case 195:case 198:case 186:return t.createParenthesizedType(Ke)}return xe(Ke)}function Ae(Ke){return t.createNodeArray(Pu(Ke,De))}function De(Ke){return He(Ke)?t.createParenthesizedType(Ke):Ke}function He(Ke){return SB(Ke)?Ke.postfix:WP(Ke)||n3(Ke)||KP(Ke)||P7(Ke)?He(Ke.type):yB(Ke)?He(Ke.falseType):Lv(Ke)||bB(Ke)?He(Cr(Ke.types)):L7(Ke)?!!Ke.typeParameter.constraint&&He(Ke.typeParameter.constraint):!1}function Je(Ke){return He(Ke)?t.createParenthesizedType(Ke):We(Ke)}function ft(Ke){return ibe(Ke)&&Ke.typeParameters?t.createParenthesizedType(Ke):Ke}function Ze(Ke,Gt){return Gt===0?ft(Ke):Ke}function je(Ke){if(Ge(Ke))return t.createNodeArray(Pu(Ke,Ze))}}var Xle,_Lt=o({"src/compiler/factory/parenthesizerRules.ts"(){So(),Xle={getParenthesizeLeftSideOfBinaryForOperator:t=>il,getParenthesizeRightSideOfBinaryForOperator:t=>il,parenthesizeLeftSideOfBinary:(t,u)=>u,parenthesizeRightSideOfBinary:(t,u,s)=>s,parenthesizeExpressionOfComputedPropertyName:il,parenthesizeConditionOfConditionalExpression:il,parenthesizeBranchOfConditionalExpression:il,parenthesizeExpressionOfExportDefault:il,parenthesizeExpressionOfNew:t=>No(t,_f),parenthesizeLeftSideOfAccess:t=>No(t,_f),parenthesizeOperandOfPostfixUnary:t=>No(t,_f),parenthesizeOperandOfPrefixUnary:t=>No(t,Xse),parenthesizeExpressionsOfCommaDelimitedList:t=>No(t,f2),parenthesizeExpressionForDisallowedComma:il,parenthesizeExpressionOfExpressionStatement:il,parenthesizeConciseBodyOfArrowFunction:il,parenthesizeCheckTypeOfConditionalType:il,parenthesizeExtendsTypeOfConditionalType:il,parenthesizeConstituentTypesOfUnionType:t=>No(t,f2),parenthesizeConstituentTypeOfUnionType:il,parenthesizeConstituentTypesOfIntersectionType:t=>No(t,f2),parenthesizeConstituentTypeOfIntersectionType:il,parenthesizeOperandOfTypeOperator:il,parenthesizeOperandOfReadonlyTypeOperator:il,parenthesizeNonArrayTypeOfPostfixType:il,parenthesizeElementTypesOfTupleType:t=>No(t,f2),parenthesizeElementTypeOfTupleType:il,parenthesizeTypeOfOptionalType:il,parenthesizeTypeArguments:t=>t&&No(t,f2),parenthesizeLeadingTypeArgument:il}}});function Lke(t){return{convertToFunctionBlock:u,convertToFunctionExpression:s,convertToClassExpression:d,convertToArrayAssignmentElement:f,convertToObjectAssignmentElement:p,convertToAssignmentPattern:E,convertToObjectAssignmentPattern:v,convertToArrayAssignmentPattern:b,convertToAssignmentElementTarget:B};function u(k,T){if(ho(k))return k;const M=t.createReturnStatement(k);Pt(M,k);const z=t.createBlock([M],T);return Pt(z,k),z}function s(k){var T;if(!k.body)return H.fail("Cannot convert a FunctionDeclaration without a body");const M=t.createFunctionExpression((T=h2(k))==null?void 0:T.filter(z=>!w7(z)&&!tY(z)),k.asteriskToken,k.name,k.typeParameters,k.parameters,k.type,k.body);return su(M,k),Pt(M,k),IP(k)&&CZ(M,!0),M}function d(k){var T;const M=t.createClassExpression((T=k.modifiers)==null?void 0:T.filter(z=>!w7(z)&&!tY(z)),k.name,k.typeParameters,k.heritageClauses,k.members);return su(M,k),Pt(M,k),IP(k)&&CZ(M,!0),M}function f(k){if(Os(k)){if(k.dotDotDotToken)return H.assertNode(k.name,at),su(Pt(t.createSpreadElement(k.name),k),k);const T=B(k.name);return k.initializer?su(Pt(t.createAssignment(T,k.initializer),k),k):T}return No(k,Wt)}function p(k){if(Os(k)){if(k.dotDotDotToken)return H.assertNode(k.name,at),su(Pt(t.createSpreadAssignment(k.name),k),k);if(k.propertyName){const T=B(k.name);return su(Pt(t.createPropertyAssignment(k.propertyName,k.initializer?t.createAssignment(T,k.initializer):T),k),k)}return H.assertNode(k.name,at),su(Pt(t.createShorthandPropertyAssignment(k.name,k.initializer),k),k)}return No(k,q3)}function E(k){switch(k.kind){case 207:case 209:return b(k);case 206:case 210:return v(k)}}function v(k){return Mp(k)?su(Pt(t.createObjectLiteralExpression(Kt(k.elements,p)),k),k):No(k,bs)}function b(k){return gk(k)?su(Pt(t.createArrayLiteralExpression(Kt(k.elements,f)),k),k):No(k,_h)}function B(k){return Ao(k)?E(k):No(k,Wt)}}var ece,DLt=o({"src/compiler/factory/nodeConverters.ts"(){So(),ece={convertToFunctionBlock:so,convertToFunctionExpression:so,convertToClassExpression:so,convertToArrayAssignmentElement:so,convertToObjectAssignmentElement:so,convertToAssignmentPattern:so,convertToObjectAssignmentPattern:so,convertToArrayAssignmentPattern:so,convertToAssignmentElementTarget:so}}});function LYe(t){Pke.push(t)}function hV(t,u){const s=t&8?xLt:vLt,d=Nh(()=>t&1?Xle:Tke(Y)),f=Nh(()=>t&2?ece:Lke(Y)),p=VE(N=>(W,ee)=>Me(W,N,ee)),E=VE(N=>W=>Bt(N,W)),v=VE(N=>W=>xi(W,N)),b=VE(N=>()=>oz(N)),B=VE(N=>W=>B0(N,W)),k=VE(N=>(W,ee)=>k9(N,W,ee)),T=VE(N=>(W,ee)=>y9(N,W,ee)),M=VE(N=>(W,ee)=>mb(N,W,ee)),z=VE(N=>(W,ee)=>E4(N,W,ee)),j=VE(N=>(W,ee,ke)=>dC(N,W,ee,ke)),J=VE(N=>(W,ee,ke)=>w5(N,W,ee,ke)),K=VE(N=>(W,ee,ke,dt)=>i1(N,W,ee,ke,dt)),Y={get parenthesizer(){return d()},get converters(){return f()},baseFactory:u,flags:t,createNodeArray:oe,createNumericLiteral:Ce,createBigIntLiteral:ne,createStringLiteral:Se,createStringLiteralFromNode:Ne,createRegularExpressionLiteral:pe,createLiteralLikeNode:fe,createIdentifier:We,createTempVariable:Ae,createLoopVariable:De,createUniqueName:He,getGeneratedNameForNode:Je,createPrivateIdentifier:Ze,createUniquePrivateName:Ke,getGeneratedPrivateNameForNode:Gt,createToken:Ie,createSuper:lt,createThis:St,createNull:It,createTrue:ti,createFalse:ht,createModifier:Ut,createModifiersFromModifierFlags:Ni,createQualifiedName:Vi,updateQualifiedName:xn,createComputedPropertyName:$n,updateComputedPropertyName:rn,createTypeParameterDeclaration:Pi,updateTypeParameterDeclaration:ki,createParameterDeclaration:Yu,updateParameterDeclaration:oa,createDecorator:Fr,updateDecorator:Sa,createPropertySignature:bt,updatePropertySignature:On,createPropertyDeclaration:Fi,updatePropertyDeclaration:Dn,createMethodSignature:Cn,updateMethodSignature:tu,createMethodDeclaration:sa,updateMethodDeclaration:Da,createConstructorDeclaration:Qe,updateConstructorDeclaration:Et,createGetAccessorDeclaration:qt,updateGetAccessorDeclaration:Xt,createSetAccessorDeclaration:et,updateSetAccessorDeclaration:gt,createCallSignature:me,updateCallSignature:ni,createConstructSignature:_i,updateConstructSignature:mt,createIndexSignature:jt,updateIndexSignature:pi,createClassStaticBlockDeclaration:Ba,updateClassStaticBlockDeclaration:Yo,createTemplateLiteralTypeSpan:$i,updateTemplateLiteralTypeSpan:Yi,createKeywordTypeNode:on,createTypePredicateNode:le,updateTypePredicateNode:te,createTypeReferenceNode:we,updateTypeReferenceNode:de,createFunctionTypeNode:Oe,updateFunctionTypeNode:X,createConstructorTypeNode:Ct,updateConstructorTypeNode:Ti,createTypeQueryNode:du,updateTypeQueryNode:Iu,createTypeLiteralNode:Er,updateTypeLiteralNode:er,createArrayTypeNode:da,updateArrayTypeNode:Wu,createTupleTypeNode:Ra,updateTupleTypeNode:wn,createNamedTupleMember:Rr,updateNamedTupleMember:as,createOptionalTypeNode:Bo,updateOptionalTypeNode:Fn,createRestTypeNode:xc,updateRestTypeNode:Ua,createUnionTypeNode:wl,updateUnionTypeNode:cd,createIntersectionTypeNode:vl,updateIntersectionTypeNode:oo,createConditionalTypeNode:Ho,updateConditionalTypeNode:td,createInferTypeNode:U0,updateInferTypeNode:Ko,createImportTypeNode:Tc,updateImportTypeNode:Il,createParenthesizedType:cl,updateParenthesizedType:Va,createThisTypeNode:Oi,createTypeOperatorNode:dl,updateTypeOperatorNode:Uc,createIndexedAccessTypeNode:vh,updateIndexedAccessTypeNode:of,createMappedTypeNode:q0,updateMappedTypeNode:vc,createLiteralTypeNode:$,updateLiteralTypeNode:tt,createTemplateLiteralType:wc,updateTemplateLiteralType:Kp,createObjectBindingPattern:vt,updateObjectBindingPattern:hi,createArrayBindingPattern:fn,updateArrayBindingPattern:Gu,createBindingElement:uu,updateBindingElement:wu,createArrayLiteralExpression:Mr,updateArrayLiteralExpression:ju,createObjectLiteralExpression:As,updateObjectLiteralExpression:tc,createPropertyAccessExpression:t&4?(N,W)=>Yn(S0(N,W),262144):S0,updatePropertyAccessExpression:nd,createPropertyAccessChain:t&4?(N,W,ee)=>Yn(f0(N,W,ee),262144):f0,updatePropertyAccessChain:Sd,createElementAccessExpression:nh,updateElementAccessExpression:d4,createElementAccessChain:_1,updateElementAccessChain:Ve,createCallExpression:Mn,updateCallExpression:ba,createCallChain:ko,updateCallChain:wo,createNewExpression:ic,updateNewExpression:hc,createTaggedTemplateExpression:Cl,updateTaggedTemplateExpression:Tl,createTypeAssertion:Cc,updateTypeAssertion:Ul,createParenthesizedExpression:Lc,updateParenthesizedExpression:ep,createFunctionExpression:Gm,updateFunctionExpression:Rh,createArrowFunction:h4,updateArrowFunction:l3,createDeleteExpression:l_,updateDeleteExpression:v5,createTypeOfExpression:I1,updateTypeOfExpression:c3,createVoidExpression:Kf,updateVoidExpression:f4,createAwaitExpression:Oh,updateAwaitExpression:Ee,createPrefixUnaryExpression:Bt,updatePrefixUnaryExpression:gi,createPostfixUnaryExpression:xi,updatePostfixUnaryExpression:Q,createBinaryExpression:Me,updateBinaryExpression:bi,createConditionalExpression:In,updateConditionalExpression:ir,createTemplateExpression:nr,updateTemplateExpression:fa,createTemplateHead:Jm,createTemplateMiddle:Es,createTemplateTail:tp,createNoSubstitutionTemplateLiteral:$m,createTemplateLiteralLikeNode:dd,createYieldExpression:d3,updateYieldExpression:c_,createSpreadElement:ia,updateSpreadElement:Qx,createClassExpression:Xx,updateClassExpression:vg,createOmittedExpression:rb,createExpressionWithTypeArguments:C5,updateExpressionWithTypeArguments:Xe,createAsExpression:Dt,updateAsExpression:ai,createNonNullExpression:wi,updateNonNullExpression:Qi,createSatisfiesExpression:Rn,updateSatisfiesExpression:en,createNonNullChain:bn,updateNonNullChain:Ar,createMetaProperty:Cu,updateMetaProperty:bu,createTemplateSpan:Eu,updateTemplateSpan:la,createSemicolonClassElement:m0,createBlock:a0,updateBlock:Wf,createVariableStatement:Qv,updateVariableStatement:e6,createEmptyStatement:lD,createExpressionStatement:t6,updateExpressionStatement:Kk,createIfStatement:ab,updateIfStatement:Wk,createDoStatement:Gk,updateDoStatement:rz,createWhileStatement:E9,updateWhileStatement:Sw,createForStatement:Xv,updateForStatement:_9,createForInStatement:D9,updateForInStatement:Bw,createForOfStatement:Jk,updateForOfStatement:ww,createContinueStatement:x9,updateContinueStatement:v9,createBreakStatement:$k,updateBreakStatement:ob,createReturnStatement:sb,updateReturnStatement:eC,createWithStatement:b5,updateWithStatement:lb,createSwitchStatement:hE,updateSwitchStatement:js,createLabeledStatement:Uk,updateLabeledStatement:Tw,createThrowStatement:i6,updateThrowStatement:y5,createTryStatement:d_,updateTryStatement:m4,createDebuggerStatement:Gf,createVariableDeclaration:jh,updateVariableDeclaration:gm,createVariableDeclarationList:tC,updateVariableDeclarationList:Lw,createFunctionDeclaration:C9,updateFunctionDeclaration:qk,createClassDeclaration:iC,updateClassDeclaration:Zk,createInterfaceDeclaration:nC,updateInterfaceDeclaration:Rd,createTypeAliasDeclaration:k5,updateTypeAliasDeclaration:F5,createEnumDeclaration:h3,updateEnumDeclaration:pt,createModuleDeclaration:t1,updateModuleDeclaration:p4,createModuleBlock:Ch,updateModuleBlock:Nw,createCaseBlock:A5,updateCaseBlock:uC,createNamespaceExportDeclaration:f3,updateNamespaceExportDeclaration:az,createImportEqualsDeclaration:Cg,updateImportEqualsDeclaration:Yk,createImportDeclaration:Qk,updateImportDeclaration:db,createImportClause:hb,updateImportClause:ip,createAssertClause:bg,updateAssertClause:m3,createAssertEntry:Xk,updateAssertEntry:fE,createImportTypeAssertionContainer:eF,updateImportTypeAssertionContainer:Pw,createImportAttributes:Ur,updateImportAttributes:or,createImportAttribute:mE,updateImportAttribute:yf,createNamespaceImport:Mw,updateNamespaceImport:S5,createNamespaceExport:zw,updateNamespaceExport:fb,createNamedImports:nc,updateNamedImports:bh,createImportSpecifier:cD,updateImportSpecifier:h_,createExportAssignment:p3,updateExportAssignment:Wp,createExportDeclaration:rC,updateExportDeclaration:g3,createNamedExports:f_,updateNamedExports:Rw,createExportSpecifier:pE,updateExportSpecifier:m_,createMissingDeclaration:B5,createExternalModuleReference:Ow,updateExternalModuleReference:b9,get createJSDocAllType(){return b(319)},get createJSDocUnknownType(){return b(320)},get createJSDocNonNullableType(){return T(322)},get updateJSDocNonNullableType(){return M(322)},get createJSDocNullableType(){return T(321)},get updateJSDocNullableType(){return M(321)},get createJSDocOptionalType(){return B(323)},get updateJSDocOptionalType(){return k(323)},get createJSDocVariadicType(){return B(325)},get updateJSDocVariadicType(){return k(325)},get createJSDocNamepathType(){return B(326)},get updateJSDocNamepathType(){return k(326)},createJSDocFunctionType:np,updateJSDocFunctionType:aC,createJSDocTypeLiteral:F9,updateJSDocTypeLiteral:sz,createJSDocTypeExpression:tF,updateJSDocTypeExpression:ru,createJSDocSignature:x1,updateJSDocSignature:Na,createJSDocTemplateTag:qn,updateJSDocTemplateTag:pb,createJSDocTypedefTag:oC,updateJSDocTypedefTag:Bd,createJSDocParameterTag:EE,updateJSDocParameterTag:_E,createJSDocPropertyTag:n6,updateJSDocPropertyTag:A9,createJSDocCallbackTag:dD,updateJSDocCallbackTag:sC,createJSDocOverloadTag:lC,updateJSDocOverloadTag:E3,createJSDocAugmentsTag:p_,updateJSDocAugmentsTag:iF,createJSDocImplementsTag:hD,updateJSDocImplementsTag:_b,createJSDocSeeTag:u6,updateJSDocSeeTag:gb,createJSDocNameReference:S9,updateJSDocNameReference:nF,createJSDocMemberName:Eb,updateJSDocMemberName:g4,createJSDocLink:cC,updateJSDocLink:bc,createJSDocLinkCode:hd,updateJSDocLinkCode:B9,createJSDocLinkPlain:R1,updateJSDocLinkPlain:kf,get createJSDocTypeTag(){return J(351)},get updateJSDocTypeTag(){return K(351)},get createJSDocReturnTag(){return J(349)},get updateJSDocReturnTag(){return K(349)},get createJSDocThisTag(){return J(350)},get updateJSDocThisTag(){return K(350)},get createJSDocAuthorTag(){return z(337)},get updateJSDocAuthorTag(){return j(337)},get createJSDocClassTag(){return z(339)},get updateJSDocClassTag(){return j(339)},get createJSDocPublicTag(){return z(340)},get updateJSDocPublicTag(){return j(340)},get createJSDocPrivateTag(){return z(341)},get updateJSDocPrivateTag(){return j(341)},get createJSDocProtectedTag(){return z(342)},get updateJSDocProtectedTag(){return j(342)},get createJSDocReadonlyTag(){return z(343)},get updateJSDocReadonlyTag(){return j(343)},get createJSDocOverrideTag(){return z(344)},get updateJSDocOverrideTag(){return j(344)},get createJSDocDeprecatedTag(){return z(338)},get updateJSDocDeprecatedTag(){return j(338)},get createJSDocThrowsTag(){return J(356)},get updateJSDocThrowsTag(){return K(356)},get createJSDocSatisfiesTag(){return J(357)},get updateJSDocSatisfiesTag(){return K(357)},createJSDocEnumTag:r6,updateJSDocEnumTag:jw,createJSDocUnknownTag:uF,updateJSDocUnknownTag:rp,createJSDocText:z0,updateJSDocText:Vw,createJSDocComment:rF,updateJSDocComment:hC,createJsxElement:w9,updateJsxElement:Vh,createJsxSelfClosingElement:_3,updateJsxSelfClosingElement:fD,createJsxOpeningElement:Db,updateJsxOpeningElement:Em,createJsxClosingElement:T9,updateJsxClosingElement:a6,createJsxFragment:Um,createJsxText:T5,updateJsxText:lz,createJsxOpeningFragment:L9,createJsxJsxClosingFragment:N9,updateJsxFragment:xb,createJsxAttribute:P9,updateJsxAttribute:fC,createJsxAttributes:Jf,updateJsxAttributes:D3,createJsxSpreadAttribute:M9,updateJsxSpreadAttribute:z9,createJsxExpression:Hs,updateJsxExpression:_u,createJsxNamespacedName:_m,updateJsxNamespacedName:lf,createCaseClause:vb,updateCaseClause:Hw,createDefaultClause:mC,updateDefaultClause:Cb,createHeritageClause:o6,updateHeritageClause:qm,createCatchClause:ap,updateCatchClause:s6,createPropertyAssignment:Gp,updatePropertyAssignment:op,createShorthandPropertyAssignment:bb,updateShorthandPropertyAssignment:Nc,createSpreadAssignment:_4,updateSpreadAssignment:Kw,createEnumMember:O1,updateEnumMember:pC,createSourceFile:yb,updateSourceFile:l6,createRedirectedSourceFile:aF,createBundle:x3,updateBundle:gC,createUnparsedSource:Gw,createUnparsedPrologue:O,createUnparsedPrepend:be,createUnparsedTextLike:Vt,createUnparsedSyntheticReference:ji,createInputFiles:yu,createSyntheticExpression:$r,createSyntaxList:br,createNotEmittedStatement:Ea,createPartiallyEmittedExpression:Fo,updatePartiallyEmittedExpression:Ff,createCommaListExpression:Sr,updateCommaListExpression:xE,createSyntheticReferenceExpression:gn,updateSyntheticReferenceExpression:d6,cloneNode:sF,get createComma(){return p(28)},get createAssignment(){return p(64)},get createLogicalOr(){return p(57)},get createLogicalAnd(){return p(56)},get createBitwiseOr(){return p(52)},get createBitwiseXor(){return p(53)},get createBitwiseAnd(){return p(51)},get createStrictEquality(){return p(37)},get createStrictInequality(){return p(38)},get createEquality(){return p(35)},get createInequality(){return p(36)},get createLessThan(){return p(30)},get createLessThanEquals(){return p(33)},get createGreaterThan(){return p(32)},get createGreaterThanEquals(){return p(34)},get createLeftShift(){return p(48)},get createRightShift(){return p(49)},get createUnsignedRightShift(){return p(50)},get createAdd(){return p(40)},get createSubtract(){return p(41)},get createMultiply(){return p(42)},get createDivide(){return p(44)},get createModulo(){return p(45)},get createExponent(){return p(43)},get createPrefixPlus(){return E(40)},get createPrefixMinus(){return E(41)},get createPrefixIncrement(){return E(46)},get createPrefixDecrement(){return E(47)},get createBitwiseNot(){return E(55)},get createLogicalNot(){return E(54)},get createPostfixIncrement(){return v(46)},get createPostfixDecrement(){return v(47)},createImmediatelyInvokedFunctionExpression:g_,createImmediatelyInvokedArrowFunction:P5,createVoidZero:v3,createExportDefault:Jw,createExternalModuleExport:R9,createTypeCheck:UK,createIsNotTypeCheck:dz,createMethodCall:E_,createGlobalMethodCall:_C,createFunctionBindCall:mD,createFunctionCallCall:$w,createFunctionApplyCall:__,createArraySliceCall:cte,createArrayConcatCall:vE,createObjectDefinePropertyCall:lF,createObjectGetOwnPropertyDescriptorCall:qK,createReflectGetCall:he,createReflectSetCall:Re,createPropertyDescriptor:Lt,createCallBinding:_r,createAssignmentTargetWrapper:ma,inlineExpressions:E0,getInternalName:Ks,getLocalName:x4,getExportName:Jp,getDeclarationName:h6,getNamespaceMemberName:C3,getExternalModuleOrNamespaceExportName:Od,restoreOuterExpressions:Mu,restoreEnclosingLabel:Wr,createUseStrictPrologue:Uw,copyPrologue:pD,copyStandardPrologue:qw,copyCustomPrologue:fz,ensureUseStrict:dte,liftToBlock:mz,mergeLexicalEnvironment:gD,replaceModifiers:pz,replaceDecoratorsAndModifiers:v4,replacePropertyName:Zw};return L(Pke,N=>N(Y)),Y;function oe(N,W){if(N===void 0||N===_t)N=[];else if(f2(N)){if(W===void 0||N.hasTrailingComma===W)return N.transformFlags===void 0&&NYe(N),H.attachNodeArrayDebugInfo(N),N;const dt=N.slice();return dt.pos=N.pos,dt.end=N.end,dt.hasTrailingComma=W,dt.transformFlags=N.transformFlags,H.attachNodeArrayDebugInfo(dt),dt}const ee=N.length,ke=ee>=1&&ee<=4?N.slice():N;return ke.pos=-1,ke.end=-1,ke.hasTrailingComma=!!W,ke.transformFlags=0,NYe(ke),H.attachNodeArrayDebugInfo(ke),ke}function se(N){return u.createBaseNode(N)}function ge(N){const W=se(N);return W.symbol=void 0,W.localSymbol=void 0,W}function ae(N,W){return N!==W&&(N.typeArguments=W.typeArguments),s(N,W)}function Ce(N,W=0){const ee=ge(9);return ee.text=typeof N=="number"?N+"":N,ee.numericLiteralFlags=W,W&384&&(ee.transformFlags|=1024),ee}function ne(N){const W=Yt(10);return W.text=typeof N=="string"?N:P2(N)+"n",W.transformFlags|=32,W}function ve(N,W){const ee=ge(11);return ee.text=N,ee.singleQuote=W,ee}function Se(N,W,ee){const ke=ve(N,W);return ke.hasExtendedUnicodeEscape=ee,ee&&(ke.transformFlags|=1024),ke}function Ne(N){const W=ve(W4(N),void 0);return W.textSourceNode=N,W}function pe(N){const W=Yt(14);return W.text=N,W}function fe(N,W){switch(N){case 9:return Ce(W,0);case 10:return ne(W);case 11:return Se(W,void 0);case 12:return T5(W,!1);case 13:return T5(W,!0);case 14:return pe(W);case 15:return dd(N,W,void 0,0)}}function xe(N){const W=u.createBaseIdentifierNode(80);return W.escapedText=N,W.jsDoc=void 0,W.flowNode=void 0,W.symbol=void 0,W}function Be(N,W,ee,ke){const dt=xe(Al(N));return _V(dt,{flags:W,id:vZ,prefix:ee,suffix:ke}),vZ++,dt}function We(N,W,ee){W===void 0&&N&&(W=c2(N)),W===80&&(W=void 0);const ke=xe(Al(N));return ee&&(ke.flags|=256),ke.escapedText==="await"&&(ke.transformFlags|=67108864),ke.flags&256&&(ke.transformFlags|=1024),ke}function Ae(N,W,ee,ke){let dt=1;W&&(dt|=8);const Ai=Be("",dt,ee,ke);return N&&N(Ai),Ai}function De(N){let W=2;return N&&(W|=8),Be("",W,void 0,void 0)}function He(N,W=0,ee,ke){return H.assert(!(W&7),"Argument out of range: flags"),H.assert((W&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Be(N,3|W,ee,ke)}function Je(N,W=0,ee,ke){H.assert(!(W&7),"Argument out of range: flags");const dt=N?G_(N)?Rv(!1,ee,N,ke,fu):`generated@${$s(N)}`:"";(ee||ke)&&(W|=16);const Ai=Be(dt,4|W,ee,ke);return Ai.original=N,Ai}function ft(N){const W=u.createBasePrivateIdentifierNode(81);return W.escapedText=N,W.transformFlags|=16777216,W}function Ze(N){return La(N,"#")||H.fail("First character of private identifier must be #: "+N),ft(Al(N))}function je(N,W,ee,ke){const dt=ft(Al(N));return _V(dt,{flags:W,id:vZ,prefix:ee,suffix:ke}),vZ++,dt}function Ke(N,W,ee){N&&!La(N,"#")&&H.fail("First character of private identifier must be #: "+N);const ke=8|(N?3:1);return je(N??"",ke,W,ee)}function Gt(N,W,ee){const ke=G_(N)?Rv(!0,W,N,ee,fu):`#generated@${$s(N)}`,Ai=je(ke,4|(W||ee?16:0),W,ee);return Ai.original=N,Ai}function Yt(N){return u.createBaseTokenNode(N)}function Ie(N){H.assert(N>=0&&N<=165,"Invalid token"),H.assert(N<=15||N>=18,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),H.assert(N<=9||N>=15,"Invalid token. Use 'createLiteralLikeNode' to create literals."),H.assert(N!==80,"Invalid token. Use 'createIdentifier' to create identifiers");const W=Yt(N);let ee=0;switch(N){case 134:ee=384;break;case 160:ee=4;break;case 125:case 123:case 124:case 148:case 128:case 138:case 87:case 133:case 150:case 163:case 146:case 151:case 103:case 147:case 164:case 154:case 136:case 155:case 116:case 159:case 157:ee=1;break;case 108:ee=134218752,W.flowNode=void 0;break;case 126:ee=1024;break;case 129:ee=16777216;break;case 110:ee=16384,W.flowNode=void 0;break}return ee&&(W.transformFlags|=ee),W}function lt(){return Ie(108)}function St(){return Ie(110)}function It(){return Ie(106)}function ti(){return Ie(112)}function ht(){return Ie(97)}function Ut(N){return Ie(N)}function Ni(N){const W=[];return N&32&&W.push(Ut(95)),N&128&&W.push(Ut(138)),N&2048&&W.push(Ut(90)),N&4096&&W.push(Ut(87)),N&1&&W.push(Ut(125)),N&2&&W.push(Ut(123)),N&4&&W.push(Ut(124)),N&64&&W.push(Ut(128)),N&256&&W.push(Ut(126)),N&16&&W.push(Ut(164)),N&8&&W.push(Ut(148)),N&512&&W.push(Ut(129)),N&1024&&W.push(Ut(134)),N&8192&&W.push(Ut(103)),N&16384&&W.push(Ut(147)),W.length?W:void 0}function Vi(N,W){const ee=se(166);return ee.left=N,ee.right=Pc(W),ee.transformFlags|=ou(ee.left)|fV(ee.right),ee.flowNode=void 0,ee}function xn(N,W,ee){return N.left!==W||N.right!==ee?s(Vi(W,ee),N):N}function $n(N){const W=se(167);return W.expression=d().parenthesizeExpressionOfComputedPropertyName(N),W.transformFlags|=ou(W.expression)|1024|131072,W}function rn(N,W){return N.expression!==W?s($n(W),N):N}function Pi(N,W,ee,ke){const dt=ge(168);return dt.modifiers=Ps(N),dt.name=Pc(W),dt.constraint=ee,dt.default=ke,dt.transformFlags=1,dt.expression=void 0,dt.jsDoc=void 0,dt}function ki(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.constraint!==ke||N.default!==dt?s(Pi(W,ee,ke,dt),N):N}function Yu(N,W,ee,ke,dt,Ai){const au=ge(169);return au.modifiers=Ps(N),au.dotDotDotToken=W,au.name=Pc(ee),au.questionToken=ke,au.type=dt,au.initializer=cF(Ai),w2(au.name)?au.transformFlags=1:au.transformFlags=ks(au.modifiers)|ou(au.dotDotDotToken)|Hx(au.name)|ou(au.questionToken)|ou(au.initializer)|(au.questionToken??au.type?1:0)|(au.dotDotDotToken??au.initializer?1024:0)|(eE(au.modifiers)&31?8192:0),au.jsDoc=void 0,au}function oa(N,W,ee,ke,dt,Ai,au){return N.modifiers!==W||N.dotDotDotToken!==ee||N.name!==ke||N.questionToken!==dt||N.type!==Ai||N.initializer!==au?s(Yu(W,ee,ke,dt,Ai,au),N):N}function Fr(N){const W=se(170);return W.expression=d().parenthesizeLeftSideOfAccess(N,!1),W.transformFlags|=ou(W.expression)|1|8192|33554432,W}function Sa(N,W){return N.expression!==W?s(Fr(W),N):N}function bt(N,W,ee,ke){const dt=ge(171);return dt.modifiers=Ps(N),dt.name=Pc(W),dt.type=ke,dt.questionToken=ee,dt.transformFlags=1,dt.initializer=void 0,dt.jsDoc=void 0,dt}function On(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.questionToken!==ke||N.type!==dt?Ln(bt(W,ee,ke,dt),N):N}function Ln(N,W){return N!==W&&(N.initializer=W.initializer),s(N,W)}function Fi(N,W,ee,ke,dt){const Ai=ge(172);Ai.modifiers=Ps(N),Ai.name=Pc(W),Ai.questionToken=ee&&Kx(ee)?ee:void 0,Ai.exclamationToken=ee&&bV(ee)?ee:void 0,Ai.type=ke,Ai.initializer=cF(dt);const au=Ai.flags&33554432||eE(Ai.modifiers)&128;return Ai.transformFlags=ks(Ai.modifiers)|Hx(Ai.name)|ou(Ai.initializer)|(au||Ai.questionToken||Ai.exclamationToken||Ai.type?1:0)|(Ns(Ai.name)||eE(Ai.modifiers)&256&&Ai.initializer?8192:0)|16777216,Ai.jsDoc=void 0,Ai}function Dn(N,W,ee,ke,dt,Ai){return N.modifiers!==W||N.name!==ee||N.questionToken!==(ke!==void 0&&Kx(ke)?ke:void 0)||N.exclamationToken!==(ke!==void 0&&bV(ke)?ke:void 0)||N.type!==dt||N.initializer!==Ai?s(Fi(W,ee,ke,dt,Ai),N):N}function Cn(N,W,ee,ke,dt,Ai){const au=ge(173);return au.modifiers=Ps(N),au.name=Pc(W),au.questionToken=ee,au.typeParameters=Ps(ke),au.parameters=Ps(dt),au.type=Ai,au.transformFlags=1,au.jsDoc=void 0,au.locals=void 0,au.nextContainer=void 0,au.typeArguments=void 0,au}function tu(N,W,ee,ke,dt,Ai,au){return N.modifiers!==W||N.name!==ee||N.questionToken!==ke||N.typeParameters!==dt||N.parameters!==Ai||N.type!==au?ae(Cn(W,ee,ke,dt,Ai,au),N):N}function sa(N,W,ee,ke,dt,Ai,au,Pa){const i0=ge(174);if(i0.modifiers=Ps(N),i0.asteriskToken=W,i0.name=Pc(ee),i0.questionToken=ke,i0.exclamationToken=void 0,i0.typeParameters=Ps(dt),i0.parameters=oe(Ai),i0.type=au,i0.body=Pa,!i0.body)i0.transformFlags=1;else{const Ym=eE(i0.modifiers)&1024,m6=!!i0.asteriskToken,p6=Ym&&m6;i0.transformFlags=ks(i0.modifiers)|ou(i0.asteriskToken)|Hx(i0.name)|ou(i0.questionToken)|ks(i0.typeParameters)|ks(i0.parameters)|ou(i0.type)|ou(i0.body)&-67108865|(p6?128:Ym?256:m6?2048:0)|(i0.questionToken||i0.typeParameters||i0.type?1:0)|1024}return i0.typeArguments=void 0,i0.jsDoc=void 0,i0.locals=void 0,i0.nextContainer=void 0,i0.flowNode=void 0,i0.endFlowNode=void 0,i0.returnFlowNode=void 0,i0}function Da(N,W,ee,ke,dt,Ai,au,Pa,i0){return N.modifiers!==W||N.asteriskToken!==ee||N.name!==ke||N.questionToken!==dt||N.typeParameters!==Ai||N.parameters!==au||N.type!==Pa||N.body!==i0?aa(sa(W,ee,ke,dt,Ai,au,Pa,i0),N):N}function aa(N,W){return N!==W&&(N.exclamationToken=W.exclamationToken),s(N,W)}function Ba(N){const W=ge(175);return W.body=N,W.transformFlags=ou(N)|16777216,W.modifiers=void 0,W.jsDoc=void 0,W.locals=void 0,W.nextContainer=void 0,W.endFlowNode=void 0,W.returnFlowNode=void 0,W}function Yo(N,W){return N.body!==W?vo(Ba(W),N):N}function vo(N,W){return N!==W&&(N.modifiers=W.modifiers),s(N,W)}function Qe(N,W,ee){const ke=ge(176);return ke.modifiers=Ps(N),ke.parameters=oe(W),ke.body=ee,ke.transformFlags=ks(ke.modifiers)|ks(ke.parameters)|ou(ke.body)&-67108865|1024,ke.typeParameters=void 0,ke.type=void 0,ke.typeArguments=void 0,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.endFlowNode=void 0,ke.returnFlowNode=void 0,ke}function Et(N,W,ee,ke){return N.modifiers!==W||N.parameters!==ee||N.body!==ke?Mt(Qe(W,ee,ke),N):N}function Mt(N,W){return N!==W&&(N.typeParameters=W.typeParameters,N.type=W.type),ae(N,W)}function qt(N,W,ee,ke,dt){const Ai=ge(177);return Ai.modifiers=Ps(N),Ai.name=Pc(W),Ai.parameters=oe(ee),Ai.type=ke,Ai.body=dt,Ai.body?Ai.transformFlags=ks(Ai.modifiers)|Hx(Ai.name)|ks(Ai.parameters)|ou(Ai.type)|ou(Ai.body)&-67108865|(Ai.type?1:0):Ai.transformFlags=1,Ai.typeArguments=void 0,Ai.typeParameters=void 0,Ai.jsDoc=void 0,Ai.locals=void 0,Ai.nextContainer=void 0,Ai.flowNode=void 0,Ai.endFlowNode=void 0,Ai.returnFlowNode=void 0,Ai}function Xt(N,W,ee,ke,dt,Ai){return N.modifiers!==W||N.name!==ee||N.parameters!==ke||N.type!==dt||N.body!==Ai?Pe(qt(W,ee,ke,dt,Ai),N):N}function Pe(N,W){return N!==W&&(N.typeParameters=W.typeParameters),ae(N,W)}function et(N,W,ee,ke){const dt=ge(178);return dt.modifiers=Ps(N),dt.name=Pc(W),dt.parameters=oe(ee),dt.body=ke,dt.body?dt.transformFlags=ks(dt.modifiers)|Hx(dt.name)|ks(dt.parameters)|ou(dt.body)&-67108865|(dt.type?1:0):dt.transformFlags=1,dt.typeArguments=void 0,dt.typeParameters=void 0,dt.type=void 0,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.flowNode=void 0,dt.endFlowNode=void 0,dt.returnFlowNode=void 0,dt}function gt(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.parameters!==ke||N.body!==dt?ii(et(W,ee,ke,dt),N):N}function ii(N,W){return N!==W&&(N.typeParameters=W.typeParameters,N.type=W.type),ae(N,W)}function me(N,W,ee){const ke=ge(179);return ke.typeParameters=Ps(N),ke.parameters=Ps(W),ke.type=ee,ke.transformFlags=1,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function ni(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?ae(me(W,ee,ke),N):N}function _i(N,W,ee){const ke=ge(180);return ke.typeParameters=Ps(N),ke.parameters=Ps(W),ke.type=ee,ke.transformFlags=1,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function mt(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?ae(_i(W,ee,ke),N):N}function jt(N,W,ee){const ke=ge(181);return ke.modifiers=Ps(N),ke.parameters=Ps(W),ke.type=ee,ke.transformFlags=1,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function pi(N,W,ee,ke){return N.parameters!==ee||N.type!==ke||N.modifiers!==W?ae(jt(W,ee,ke),N):N}function $i(N,W){const ee=se(204);return ee.type=N,ee.literal=W,ee.transformFlags=1,ee}function Yi(N,W,ee){return N.type!==W||N.literal!==ee?s($i(W,ee),N):N}function on(N){return Ie(N)}function le(N,W,ee){const ke=se(182);return ke.assertsModifier=N,ke.parameterName=Pc(W),ke.type=ee,ke.transformFlags=1,ke}function te(N,W,ee,ke){return N.assertsModifier!==W||N.parameterName!==ee||N.type!==ke?s(le(W,ee,ke),N):N}function we(N,W){const ee=se(183);return ee.typeName=Pc(N),ee.typeArguments=W&&d().parenthesizeTypeArguments(oe(W)),ee.transformFlags=1,ee}function de(N,W,ee){return N.typeName!==W||N.typeArguments!==ee?s(we(W,ee),N):N}function Oe(N,W,ee){const ke=ge(184);return ke.typeParameters=Ps(N),ke.parameters=Ps(W),ke.type=ee,ke.transformFlags=1,ke.modifiers=void 0,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.typeArguments=void 0,ke}function X(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?it(Oe(W,ee,ke),N):N}function it(N,W){return N!==W&&(N.modifiers=W.modifiers),ae(N,W)}function Ct(...N){return N.length===4?ct(...N):N.length===3?Qt(...N):H.fail("Incorrect number of arguments specified.")}function ct(N,W,ee,ke){const dt=ge(185);return dt.modifiers=Ps(N),dt.typeParameters=Ps(W),dt.parameters=Ps(ee),dt.type=ke,dt.transformFlags=1,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.typeArguments=void 0,dt}function Qt(N,W,ee){return ct(void 0,N,W,ee)}function Ti(...N){return N.length===5?Ui(...N):N.length===4?Sn(...N):H.fail("Incorrect number of arguments specified.")}function Ui(N,W,ee,ke,dt){return N.modifiers!==W||N.typeParameters!==ee||N.parameters!==ke||N.type!==dt?ae(Ct(W,ee,ke,dt),N):N}function Sn(N,W,ee,ke){return Ui(N,N.modifiers,W,ee,ke)}function du(N,W){const ee=se(186);return ee.exprName=N,ee.typeArguments=W&&d().parenthesizeTypeArguments(W),ee.transformFlags=1,ee}function Iu(N,W,ee){return N.exprName!==W||N.typeArguments!==ee?s(du(W,ee),N):N}function Er(N){const W=ge(187);return W.members=oe(N),W.transformFlags=1,W}function er(N,W){return N.members!==W?s(Er(W),N):N}function da(N){const W=se(188);return W.elementType=d().parenthesizeNonArrayTypeOfPostfixType(N),W.transformFlags=1,W}function Wu(N,W){return N.elementType!==W?s(da(W),N):N}function Ra(N){const W=se(189);return W.elements=oe(d().parenthesizeElementTypesOfTupleType(N)),W.transformFlags=1,W}function wn(N,W){return N.elements!==W?s(Ra(W),N):N}function Rr(N,W,ee,ke){const dt=ge(202);return dt.dotDotDotToken=N,dt.name=W,dt.questionToken=ee,dt.type=ke,dt.transformFlags=1,dt.jsDoc=void 0,dt}function as(N,W,ee,ke,dt){return N.dotDotDotToken!==W||N.name!==ee||N.questionToken!==ke||N.type!==dt?s(Rr(W,ee,ke,dt),N):N}function Bo(N){const W=se(190);return W.type=d().parenthesizeTypeOfOptionalType(N),W.transformFlags=1,W}function Fn(N,W){return N.type!==W?s(Bo(W),N):N}function xc(N){const W=se(191);return W.type=N,W.transformFlags=1,W}function Ua(N,W){return N.type!==W?s(xc(W),N):N}function l0(N,W,ee){const ke=se(N);return ke.types=Y.createNodeArray(ee(W)),ke.transformFlags=1,ke}function $l(N,W,ee){return N.types!==W?s(l0(N.kind,W,ee),N):N}function wl(N){return l0(192,N,d().parenthesizeConstituentTypesOfUnionType)}function cd(N,W){return $l(N,W,d().parenthesizeConstituentTypesOfUnionType)}function vl(N){return l0(193,N,d().parenthesizeConstituentTypesOfIntersectionType)}function oo(N,W){return $l(N,W,d().parenthesizeConstituentTypesOfIntersectionType)}function Ho(N,W,ee,ke){const dt=se(194);return dt.checkType=d().parenthesizeCheckTypeOfConditionalType(N),dt.extendsType=d().parenthesizeExtendsTypeOfConditionalType(W),dt.trueType=ee,dt.falseType=ke,dt.transformFlags=1,dt.locals=void 0,dt.nextContainer=void 0,dt}function td(N,W,ee,ke,dt){return N.checkType!==W||N.extendsType!==ee||N.trueType!==ke||N.falseType!==dt?s(Ho(W,ee,ke,dt),N):N}function U0(N){const W=se(195);return W.typeParameter=N,W.transformFlags=1,W}function Ko(N,W){return N.typeParameter!==W?s(U0(W),N):N}function wc(N,W){const ee=se(203);return ee.head=N,ee.templateSpans=oe(W),ee.transformFlags=1,ee}function Kp(N,W,ee){return N.head!==W||N.templateSpans!==ee?s(wc(W,ee),N):N}function Tc(N,W,ee,ke,dt=!1){const Ai=se(205);return Ai.argument=N,Ai.attributes=W,Ai.assertions&&Ai.assertions.assertClause&&Ai.attributes&&(Ai.assertions.assertClause=Ai.attributes),Ai.qualifier=ee,Ai.typeArguments=ke&&d().parenthesizeTypeArguments(ke),Ai.isTypeOf=dt,Ai.transformFlags=1,Ai}function Il(N,W,ee,ke,dt,Ai=N.isTypeOf){return N.argument!==W||N.attributes!==ee||N.qualifier!==ke||N.typeArguments!==dt||N.isTypeOf!==Ai?s(Tc(W,ee,ke,dt,Ai),N):N}function cl(N){const W=se(196);return W.type=N,W.transformFlags=1,W}function Va(N,W){return N.type!==W?s(cl(W),N):N}function Oi(){const N=se(197);return N.transformFlags=1,N}function dl(N,W){const ee=se(198);return ee.operator=N,ee.type=N===148?d().parenthesizeOperandOfReadonlyTypeOperator(W):d().parenthesizeOperandOfTypeOperator(W),ee.transformFlags=1,ee}function Uc(N,W){return N.type!==W?s(dl(N.operator,W),N):N}function vh(N,W){const ee=se(199);return ee.objectType=d().parenthesizeNonArrayTypeOfPostfixType(N),ee.indexType=W,ee.transformFlags=1,ee}function of(N,W,ee){return N.objectType!==W||N.indexType!==ee?s(vh(W,ee),N):N}function q0(N,W,ee,ke,dt,Ai){const au=ge(200);return au.readonlyToken=N,au.typeParameter=W,au.nameType=ee,au.questionToken=ke,au.type=dt,au.members=Ai&&oe(Ai),au.transformFlags=1,au.locals=void 0,au.nextContainer=void 0,au}function vc(N,W,ee,ke,dt,Ai,au){return N.readonlyToken!==W||N.typeParameter!==ee||N.nameType!==ke||N.questionToken!==dt||N.type!==Ai||N.members!==au?s(q0(W,ee,ke,dt,Ai,au),N):N}function $(N){const W=se(201);return W.literal=N,W.transformFlags=1,W}function tt(N,W){return N.literal!==W?s($(W),N):N}function vt(N){const W=se(206);return W.elements=oe(N),W.transformFlags|=ks(W.elements)|1024|524288,W.transformFlags&32768&&(W.transformFlags|=65664),W}function hi(N,W){return N.elements!==W?s(vt(W),N):N}function fn(N){const W=se(207);return W.elements=oe(N),W.transformFlags|=ks(W.elements)|1024|524288,W}function Gu(N,W){return N.elements!==W?s(fn(W),N):N}function uu(N,W,ee,ke){const dt=ge(208);return dt.dotDotDotToken=N,dt.propertyName=Pc(W),dt.name=Pc(ee),dt.initializer=cF(ke),dt.transformFlags|=ou(dt.dotDotDotToken)|Hx(dt.propertyName)|Hx(dt.name)|ou(dt.initializer)|(dt.dotDotDotToken?32768:0)|1024,dt.flowNode=void 0,dt}function wu(N,W,ee,ke,dt){return N.propertyName!==ee||N.dotDotDotToken!==W||N.name!==ke||N.initializer!==dt?s(uu(W,ee,ke,dt),N):N}function Mr(N,W){const ee=se(209),ke=N&&Zu(N),dt=oe(N,ke&&kd(ke)?!0:void 0);return ee.elements=d().parenthesizeExpressionsOfCommaDelimitedList(dt),ee.multiLine=W,ee.transformFlags|=ks(ee.elements),ee}function ju(N,W){return N.elements!==W?s(Mr(W,N.multiLine),N):N}function As(N,W){const ee=ge(210);return ee.properties=oe(N),ee.multiLine=W,ee.transformFlags|=ks(ee.properties),ee.jsDoc=void 0,ee}function tc(N,W){return N.properties!==W?s(As(W,N.multiLine),N):N}function id(N,W,ee){const ke=ge(211);return ke.expression=N,ke.questionDotToken=W,ke.name=ee,ke.transformFlags=ou(ke.expression)|ou(ke.questionDotToken)|(at(ke.name)?fV(ke.name):ou(ke.name)|536870912),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function S0(N,W){const ee=id(d().parenthesizeLeftSideOfAccess(N,!1),void 0,Pc(W));return VP(N)&&(ee.transformFlags|=384),ee}function nd(N,W,ee){return wU(N)?Sd(N,W,N.questionDotToken,No(ee,at)):N.expression!==W||N.name!==ee?s(S0(W,ee),N):N}function f0(N,W,ee){const ke=id(d().parenthesizeLeftSideOfAccess(N,!0),W,Pc(ee));return ke.flags|=64,ke.transformFlags|=32,ke}function Sd(N,W,ee,ke){return H.assert(!!(N.flags&64),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),N.expression!==W||N.questionDotToken!==ee||N.name!==ke?s(f0(W,ee,ke),N):N}function Ih(N,W,ee){const ke=ge(212);return ke.expression=N,ke.questionDotToken=W,ke.argumentExpression=ee,ke.transformFlags|=ou(ke.expression)|ou(ke.questionDotToken)|ou(ke.argumentExpression),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function nh(N,W){const ee=Ih(d().parenthesizeLeftSideOfAccess(N,!1),void 0,f6(W));return VP(N)&&(ee.transformFlags|=384),ee}function d4(N,W,ee){return Vse(N)?Ve(N,W,N.questionDotToken,ee):N.expression!==W||N.argumentExpression!==ee?s(nh(W,ee),N):N}function _1(N,W,ee){const ke=Ih(d().parenthesizeLeftSideOfAccess(N,!0),W,f6(ee));return ke.flags|=64,ke.transformFlags|=32,ke}function Ve(N,W,ee,ke){return H.assert(!!(N.flags&64),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),N.expression!==W||N.questionDotToken!==ee||N.argumentExpression!==ke?s(_1(W,ee,ke),N):N}function si(N,W,ee,ke){const dt=ge(213);return dt.expression=N,dt.questionDotToken=W,dt.typeArguments=ee,dt.arguments=ke,dt.transformFlags|=ou(dt.expression)|ou(dt.questionDotToken)|ks(dt.typeArguments)|ks(dt.arguments),dt.typeArguments&&(dt.transformFlags|=1),tf(dt.expression)&&(dt.transformFlags|=16384),dt}function Mn(N,W,ee){const ke=si(d().parenthesizeLeftSideOfAccess(N,!1),void 0,Ps(W),d().parenthesizeExpressionsOfCommaDelimitedList(oe(ee)));return HP(ke.expression)&&(ke.transformFlags|=8388608),ke}function ba(N,W,ee,ke){return Gy(N)?wo(N,W,N.questionDotToken,ee,ke):N.expression!==W||N.typeArguments!==ee||N.arguments!==ke?s(Mn(W,ee,ke),N):N}function ko(N,W,ee,ke){const dt=si(d().parenthesizeLeftSideOfAccess(N,!0),W,Ps(ee),d().parenthesizeExpressionsOfCommaDelimitedList(oe(ke)));return dt.flags|=64,dt.transformFlags|=32,dt}function wo(N,W,ee,ke,dt){return H.assert(!!(N.flags&64),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),N.expression!==W||N.questionDotToken!==ee||N.typeArguments!==ke||N.arguments!==dt?s(ko(W,ee,ke,dt),N):N}function ic(N,W,ee){const ke=ge(214);return ke.expression=d().parenthesizeExpressionOfNew(N),ke.typeArguments=Ps(W),ke.arguments=ee?d().parenthesizeExpressionsOfCommaDelimitedList(ee):void 0,ke.transformFlags|=ou(ke.expression)|ks(ke.typeArguments)|ks(ke.arguments)|32,ke.typeArguments&&(ke.transformFlags|=1),ke}function hc(N,W,ee,ke){return N.expression!==W||N.typeArguments!==ee||N.arguments!==ke?s(ic(W,ee,ke),N):N}function Cl(N,W,ee){const ke=se(215);return ke.tag=d().parenthesizeLeftSideOfAccess(N,!1),ke.typeArguments=Ps(W),ke.template=ee,ke.transformFlags|=ou(ke.tag)|ks(ke.typeArguments)|ou(ke.template)|1024,ke.typeArguments&&(ke.transformFlags|=1),Y0e(ke.template)&&(ke.transformFlags|=128),ke}function Tl(N,W,ee,ke){return N.tag!==W||N.typeArguments!==ee||N.template!==ke?s(Cl(W,ee,ke),N):N}function Cc(N,W){const ee=se(216);return ee.expression=d().parenthesizeOperandOfPrefixUnary(W),ee.type=N,ee.transformFlags|=ou(ee.expression)|ou(ee.type)|1,ee}function Ul(N,W,ee){return N.type!==W||N.expression!==ee?s(Cc(W,ee),N):N}function Lc(N){const W=se(217);return W.expression=N,W.transformFlags=ou(W.expression),W.jsDoc=void 0,W}function ep(N,W){return N.expression!==W?s(Lc(W),N):N}function Gm(N,W,ee,ke,dt,Ai,au){const Pa=ge(218);Pa.modifiers=Ps(N),Pa.asteriskToken=W,Pa.name=Pc(ee),Pa.typeParameters=Ps(ke),Pa.parameters=oe(dt),Pa.type=Ai,Pa.body=au;const i0=eE(Pa.modifiers)&1024,Ym=!!Pa.asteriskToken,m6=i0&&Ym;return Pa.transformFlags=ks(Pa.modifiers)|ou(Pa.asteriskToken)|Hx(Pa.name)|ks(Pa.typeParameters)|ks(Pa.parameters)|ou(Pa.type)|ou(Pa.body)&-67108865|(m6?128:i0?256:Ym?2048:0)|(Pa.typeParameters||Pa.type?1:0)|4194304,Pa.typeArguments=void 0,Pa.jsDoc=void 0,Pa.locals=void 0,Pa.nextContainer=void 0,Pa.flowNode=void 0,Pa.endFlowNode=void 0,Pa.returnFlowNode=void 0,Pa}function Rh(N,W,ee,ke,dt,Ai,au,Pa){return N.name!==ke||N.modifiers!==W||N.asteriskToken!==ee||N.typeParameters!==dt||N.parameters!==Ai||N.type!==au||N.body!==Pa?ae(Gm(W,ee,ke,dt,Ai,au,Pa),N):N}function h4(N,W,ee,ke,dt,Ai){const au=ge(219);au.modifiers=Ps(N),au.typeParameters=Ps(W),au.parameters=oe(ee),au.type=ke,au.equalsGreaterThanToken=dt??Ie(39),au.body=d().parenthesizeConciseBodyOfArrowFunction(Ai);const Pa=eE(au.modifiers)&1024;return au.transformFlags=ks(au.modifiers)|ks(au.typeParameters)|ks(au.parameters)|ou(au.type)|ou(au.equalsGreaterThanToken)|ou(au.body)&-67108865|(au.typeParameters||au.type?1:0)|(Pa?16640:0)|1024,au.typeArguments=void 0,au.jsDoc=void 0,au.locals=void 0,au.nextContainer=void 0,au.flowNode=void 0,au.endFlowNode=void 0,au.returnFlowNode=void 0,au}function l3(N,W,ee,ke,dt,Ai,au){return N.modifiers!==W||N.typeParameters!==ee||N.parameters!==ke||N.type!==dt||N.equalsGreaterThanToken!==Ai||N.body!==au?ae(h4(W,ee,ke,dt,Ai,au),N):N}function l_(N){const W=se(220);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression),W}function v5(N,W){return N.expression!==W?s(l_(W),N):N}function I1(N){const W=se(221);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression),W}function c3(N,W){return N.expression!==W?s(I1(W),N):N}function Kf(N){const W=se(222);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression),W}function f4(N,W){return N.expression!==W?s(Kf(W),N):N}function Oh(N){const W=se(223);return W.expression=d().parenthesizeOperandOfPrefixUnary(N),W.transformFlags|=ou(W.expression)|256|128|2097152,W}function Ee(N,W){return N.expression!==W?s(Oh(W),N):N}function Bt(N,W){const ee=se(224);return ee.operator=N,ee.operand=d().parenthesizeOperandOfPrefixUnary(W),ee.transformFlags|=ou(ee.operand),(N===46||N===47)&&at(ee.operand)&&!al(ee.operand)&&!uD(ee.operand)&&(ee.transformFlags|=268435456),ee}function gi(N,W){return N.operand!==W?s(Bt(N.operator,W),N):N}function xi(N,W){const ee=se(225);return ee.operator=W,ee.operand=d().parenthesizeOperandOfPostfixUnary(N),ee.transformFlags|=ou(ee.operand),at(ee.operand)&&!al(ee.operand)&&!uD(ee.operand)&&(ee.transformFlags|=268435456),ee}function Q(N,W){return N.operand!==W?s(xi(W,N.operator),N):N}function Me(N,W,ee){const ke=ge(226),dt=hte(W),Ai=dt.kind;return ke.left=d().parenthesizeLeftSideOfBinary(Ai,N),ke.operatorToken=dt,ke.right=d().parenthesizeRightSideOfBinary(Ai,ke.left,ee),ke.transformFlags|=ou(ke.left)|ou(ke.operatorToken)|ou(ke.right),Ai===61?ke.transformFlags|=32:Ai===64?bs(ke.left)?ke.transformFlags|=5248|wt(ke.left):_h(ke.left)&&(ke.transformFlags|=5120|wt(ke.left)):Ai===43||Ai===68?ke.transformFlags|=512:fP(Ai)&&(ke.transformFlags|=16),Ai===103&&ea(ke.left)&&(ke.transformFlags|=536870912),ke.jsDoc=void 0,ke}function wt(N){return OV(N)?65536:0}function bi(N,W,ee,ke){return N.left!==W||N.operatorToken!==ee||N.right!==ke?s(Me(W,ee,ke),N):N}function In(N,W,ee,ke,dt){const Ai=se(227);return Ai.condition=d().parenthesizeConditionOfConditionalExpression(N),Ai.questionToken=W??Ie(58),Ai.whenTrue=d().parenthesizeBranchOfConditionalExpression(ee),Ai.colonToken=ke??Ie(59),Ai.whenFalse=d().parenthesizeBranchOfConditionalExpression(dt),Ai.transformFlags|=ou(Ai.condition)|ou(Ai.questionToken)|ou(Ai.whenTrue)|ou(Ai.colonToken)|ou(Ai.whenFalse),Ai}function ir(N,W,ee,ke,dt,Ai){return N.condition!==W||N.questionToken!==ee||N.whenTrue!==ke||N.colonToken!==dt||N.whenFalse!==Ai?s(In(W,ee,ke,dt,Ai),N):N}function nr(N,W){const ee=se(228);return ee.head=N,ee.templateSpans=oe(W),ee.transformFlags|=ou(ee.head)|ks(ee.templateSpans)|1024,ee}function fa(N,W,ee){return N.head!==W||N.templateSpans!==ee?s(nr(W,ee),N):N}function os(N,W,ee,ke=0){H.assert(!(ke&-7177),"Unsupported template flags.");let dt;if(ee!==void 0&&ee!==W&&(dt=CLt(N,ee),typeof dt=="object"))return H.fail("Invalid raw text");if(W===void 0){if(dt===void 0)return H.fail("Arguments 'text' and 'rawText' may not both be undefined.");W=dt}else dt!==void 0&&H.assert(W===dt,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return W}function ss(N){let W=1024;return N&&(W|=128),W}function Rl(N,W,ee,ke){const dt=Yt(N);return dt.text=W,dt.rawText=ee,dt.templateFlags=ke&7176,dt.transformFlags=ss(dt.templateFlags),dt}function D1(N,W,ee,ke){const dt=ge(N);return dt.text=W,dt.rawText=ee,dt.templateFlags=ke&7176,dt.transformFlags=ss(dt.templateFlags),dt}function dd(N,W,ee,ke){return N===15?D1(N,W,ee,ke):Rl(N,W,ee,ke)}function Jm(N,W,ee){return N=os(16,N,W,ee),dd(16,N,W,ee)}function Es(N,W,ee){return N=os(16,N,W,ee),dd(17,N,W,ee)}function tp(N,W,ee){return N=os(16,N,W,ee),dd(18,N,W,ee)}function $m(N,W,ee){return N=os(16,N,W,ee),D1(15,N,W,ee)}function d3(N,W){H.assert(!N||!!W,"A `YieldExpression` with an asteriskToken must have an expression.");const ee=se(229);return ee.expression=W&&d().parenthesizeExpressionForDisallowedComma(W),ee.asteriskToken=N,ee.transformFlags|=ou(ee.expression)|ou(ee.asteriskToken)|1024|128|1048576,ee}function c_(N,W,ee){return N.expression!==ee||N.asteriskToken!==W?s(d3(W,ee),N):N}function ia(N){const W=se(230);return W.expression=d().parenthesizeExpressionForDisallowedComma(N),W.transformFlags|=ou(W.expression)|1024|32768,W}function Qx(N,W){return N.expression!==W?s(ia(W),N):N}function Xx(N,W,ee,ke,dt){const Ai=ge(231);return Ai.modifiers=Ps(N),Ai.name=Pc(W),Ai.typeParameters=Ps(ee),Ai.heritageClauses=Ps(ke),Ai.members=oe(dt),Ai.transformFlags|=ks(Ai.modifiers)|Hx(Ai.name)|ks(Ai.typeParameters)|ks(Ai.heritageClauses)|ks(Ai.members)|(Ai.typeParameters?1:0)|1024,Ai.jsDoc=void 0,Ai}function vg(N,W,ee,ke,dt,Ai){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.heritageClauses!==dt||N.members!==Ai?s(Xx(W,ee,ke,dt,Ai),N):N}function rb(){return se(232)}function C5(N,W){const ee=se(233);return ee.expression=d().parenthesizeLeftSideOfAccess(N,!1),ee.typeArguments=W&&d().parenthesizeTypeArguments(W),ee.transformFlags|=ou(ee.expression)|ks(ee.typeArguments)|1024,ee}function Xe(N,W,ee){return N.expression!==W||N.typeArguments!==ee?s(C5(W,ee),N):N}function Dt(N,W){const ee=se(234);return ee.expression=N,ee.type=W,ee.transformFlags|=ou(ee.expression)|ou(ee.type)|1,ee}function ai(N,W,ee){return N.expression!==W||N.type!==ee?s(Dt(W,ee),N):N}function wi(N){const W=se(235);return W.expression=d().parenthesizeLeftSideOfAccess(N,!1),W.transformFlags|=ou(W.expression)|1,W}function Qi(N,W){return LU(N)?Ar(N,W):N.expression!==W?s(wi(W),N):N}function Rn(N,W){const ee=se(238);return ee.expression=N,ee.type=W,ee.transformFlags|=ou(ee.expression)|ou(ee.type)|1,ee}function en(N,W,ee){return N.expression!==W||N.type!==ee?s(Rn(W,ee),N):N}function bn(N){const W=se(235);return W.flags|=64,W.expression=d().parenthesizeLeftSideOfAccess(N,!0),W.transformFlags|=ou(W.expression)|1,W}function Ar(N,W){return H.assert(!!(N.flags&64),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),N.expression!==W?s(bn(W),N):N}function Cu(N,W){const ee=se(236);switch(ee.keywordToken=N,ee.name=W,ee.transformFlags|=ou(ee.name),N){case 105:ee.transformFlags|=1024;break;case 102:ee.transformFlags|=32;break;default:return H.assertNever(N)}return ee.flowNode=void 0,ee}function bu(N,W){return N.name!==W?s(Cu(N.keywordToken,W),N):N}function Eu(N,W){const ee=se(239);return ee.expression=N,ee.literal=W,ee.transformFlags|=ou(ee.expression)|ou(ee.literal)|1024,ee}function la(N,W,ee){return N.expression!==W||N.literal!==ee?s(Eu(W,ee),N):N}function m0(){const N=se(240);return N.transformFlags|=1024,N}function a0(N,W){const ee=se(241);return ee.statements=oe(N),ee.multiLine=W,ee.transformFlags|=ks(ee.statements),ee.jsDoc=void 0,ee.locals=void 0,ee.nextContainer=void 0,ee}function Wf(N,W){return N.statements!==W?s(a0(W,N.multiLine),N):N}function Qv(N,W){const ee=se(243);return ee.modifiers=Ps(N),ee.declarationList=ja(W)?tC(W):W,ee.transformFlags|=ks(ee.modifiers)|ou(ee.declarationList),eE(ee.modifiers)&128&&(ee.transformFlags=1),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function e6(N,W,ee){return N.modifiers!==W||N.declarationList!==ee?s(Qv(W,ee),N):N}function lD(){const N=se(242);return N.jsDoc=void 0,N}function t6(N){const W=se(244);return W.expression=d().parenthesizeExpressionOfExpressionStatement(N),W.transformFlags|=ou(W.expression),W.jsDoc=void 0,W.flowNode=void 0,W}function Kk(N,W){return N.expression!==W?s(t6(W),N):N}function ab(N,W,ee){const ke=se(245);return ke.expression=N,ke.thenStatement=D_(W),ke.elseStatement=D_(ee),ke.transformFlags|=ou(ke.expression)|ou(ke.thenStatement)|ou(ke.elseStatement),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function Wk(N,W,ee,ke){return N.expression!==W||N.thenStatement!==ee||N.elseStatement!==ke?s(ab(W,ee,ke),N):N}function Gk(N,W){const ee=se(246);return ee.statement=D_(N),ee.expression=W,ee.transformFlags|=ou(ee.statement)|ou(ee.expression),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function rz(N,W,ee){return N.statement!==W||N.expression!==ee?s(Gk(W,ee),N):N}function E9(N,W){const ee=se(247);return ee.expression=N,ee.statement=D_(W),ee.transformFlags|=ou(ee.expression)|ou(ee.statement),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function Sw(N,W,ee){return N.expression!==W||N.statement!==ee?s(E9(W,ee),N):N}function Xv(N,W,ee,ke){const dt=se(248);return dt.initializer=N,dt.condition=W,dt.incrementor=ee,dt.statement=D_(ke),dt.transformFlags|=ou(dt.initializer)|ou(dt.condition)|ou(dt.incrementor)|ou(dt.statement),dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.flowNode=void 0,dt}function _9(N,W,ee,ke,dt){return N.initializer!==W||N.condition!==ee||N.incrementor!==ke||N.statement!==dt?s(Xv(W,ee,ke,dt),N):N}function D9(N,W,ee){const ke=se(249);return ke.initializer=N,ke.expression=W,ke.statement=D_(ee),ke.transformFlags|=ou(ke.initializer)|ou(ke.expression)|ou(ke.statement),ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke.flowNode=void 0,ke}function Bw(N,W,ee,ke){return N.initializer!==W||N.expression!==ee||N.statement!==ke?s(D9(W,ee,ke),N):N}function Jk(N,W,ee,ke){const dt=se(250);return dt.awaitModifier=N,dt.initializer=W,dt.expression=d().parenthesizeExpressionForDisallowedComma(ee),dt.statement=D_(ke),dt.transformFlags|=ou(dt.awaitModifier)|ou(dt.initializer)|ou(dt.expression)|ou(dt.statement)|1024,N&&(dt.transformFlags|=128),dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt.flowNode=void 0,dt}function ww(N,W,ee,ke,dt){return N.awaitModifier!==W||N.initializer!==ee||N.expression!==ke||N.statement!==dt?s(Jk(W,ee,ke,dt),N):N}function x9(N){const W=se(251);return W.label=Pc(N),W.transformFlags|=ou(W.label)|4194304,W.jsDoc=void 0,W.flowNode=void 0,W}function v9(N,W){return N.label!==W?s(x9(W),N):N}function $k(N){const W=se(252);return W.label=Pc(N),W.transformFlags|=ou(W.label)|4194304,W.jsDoc=void 0,W.flowNode=void 0,W}function ob(N,W){return N.label!==W?s($k(W),N):N}function sb(N){const W=se(253);return W.expression=N,W.transformFlags|=ou(W.expression)|128|4194304,W.jsDoc=void 0,W.flowNode=void 0,W}function eC(N,W){return N.expression!==W?s(sb(W),N):N}function b5(N,W){const ee=se(254);return ee.expression=N,ee.statement=D_(W),ee.transformFlags|=ou(ee.expression)|ou(ee.statement),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function lb(N,W,ee){return N.expression!==W||N.statement!==ee?s(b5(W,ee),N):N}function hE(N,W){const ee=se(255);return ee.expression=d().parenthesizeExpressionForDisallowedComma(N),ee.caseBlock=W,ee.transformFlags|=ou(ee.expression)|ou(ee.caseBlock),ee.jsDoc=void 0,ee.flowNode=void 0,ee.possiblyExhaustive=!1,ee}function js(N,W,ee){return N.expression!==W||N.caseBlock!==ee?s(hE(W,ee),N):N}function Uk(N,W){const ee=se(256);return ee.label=Pc(N),ee.statement=D_(W),ee.transformFlags|=ou(ee.label)|ou(ee.statement),ee.jsDoc=void 0,ee.flowNode=void 0,ee}function Tw(N,W,ee){return N.label!==W||N.statement!==ee?s(Uk(W,ee),N):N}function i6(N){const W=se(257);return W.expression=N,W.transformFlags|=ou(W.expression),W.jsDoc=void 0,W.flowNode=void 0,W}function y5(N,W){return N.expression!==W?s(i6(W),N):N}function d_(N,W,ee){const ke=se(258);return ke.tryBlock=N,ke.catchClause=W,ke.finallyBlock=ee,ke.transformFlags|=ou(ke.tryBlock)|ou(ke.catchClause)|ou(ke.finallyBlock),ke.jsDoc=void 0,ke.flowNode=void 0,ke}function m4(N,W,ee,ke){return N.tryBlock!==W||N.catchClause!==ee||N.finallyBlock!==ke?s(d_(W,ee,ke),N):N}function Gf(){const N=se(259);return N.jsDoc=void 0,N.flowNode=void 0,N}function jh(N,W,ee,ke){const dt=ge(260);return dt.name=Pc(N),dt.exclamationToken=W,dt.type=ee,dt.initializer=cF(ke),dt.transformFlags|=Hx(dt.name)|ou(dt.initializer)|(dt.exclamationToken??dt.type?1:0),dt.jsDoc=void 0,dt}function gm(N,W,ee,ke,dt){return N.name!==W||N.type!==ke||N.exclamationToken!==ee||N.initializer!==dt?s(jh(W,ee,ke,dt),N):N}function tC(N,W=0){const ee=se(261);return ee.flags|=W&7,ee.declarations=oe(N),ee.transformFlags|=ks(ee.declarations)|4194304,W&7&&(ee.transformFlags|=263168),W&4&&(ee.transformFlags|=4),ee}function Lw(N,W){return N.declarations!==W?s(tC(W,N.flags),N):N}function C9(N,W,ee,ke,dt,Ai,au){const Pa=ge(262);if(Pa.modifiers=Ps(N),Pa.asteriskToken=W,Pa.name=Pc(ee),Pa.typeParameters=Ps(ke),Pa.parameters=oe(dt),Pa.type=Ai,Pa.body=au,!Pa.body||eE(Pa.modifiers)&128)Pa.transformFlags=1;else{const i0=eE(Pa.modifiers)&1024,Ym=!!Pa.asteriskToken,m6=i0&&Ym;Pa.transformFlags=ks(Pa.modifiers)|ou(Pa.asteriskToken)|Hx(Pa.name)|ks(Pa.typeParameters)|ks(Pa.parameters)|ou(Pa.type)|ou(Pa.body)&-67108865|(m6?128:i0?256:Ym?2048:0)|(Pa.typeParameters||Pa.type?1:0)|4194304}return Pa.typeArguments=void 0,Pa.jsDoc=void 0,Pa.locals=void 0,Pa.nextContainer=void 0,Pa.endFlowNode=void 0,Pa.returnFlowNode=void 0,Pa}function qk(N,W,ee,ke,dt,Ai,au,Pa){return N.modifiers!==W||N.asteriskToken!==ee||N.name!==ke||N.typeParameters!==dt||N.parameters!==Ai||N.type!==au||N.body!==Pa?cb(C9(W,ee,ke,dt,Ai,au,Pa),N):N}function cb(N,W){return N!==W&&N.modifiers===W.modifiers&&(N.modifiers=W.modifiers),ae(N,W)}function iC(N,W,ee,ke,dt){const Ai=ge(263);return Ai.modifiers=Ps(N),Ai.name=Pc(W),Ai.typeParameters=Ps(ee),Ai.heritageClauses=Ps(ke),Ai.members=oe(dt),eE(Ai.modifiers)&128?Ai.transformFlags=1:(Ai.transformFlags|=ks(Ai.modifiers)|Hx(Ai.name)|ks(Ai.typeParameters)|ks(Ai.heritageClauses)|ks(Ai.members)|(Ai.typeParameters?1:0)|1024,Ai.transformFlags&8192&&(Ai.transformFlags|=1)),Ai.jsDoc=void 0,Ai}function Zk(N,W,ee,ke,dt,Ai){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.heritageClauses!==dt||N.members!==Ai?s(iC(W,ee,ke,dt,Ai),N):N}function nC(N,W,ee,ke,dt){const Ai=ge(264);return Ai.modifiers=Ps(N),Ai.name=Pc(W),Ai.typeParameters=Ps(ee),Ai.heritageClauses=Ps(ke),Ai.members=oe(dt),Ai.transformFlags=1,Ai.jsDoc=void 0,Ai}function Rd(N,W,ee,ke,dt,Ai){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.heritageClauses!==dt||N.members!==Ai?s(nC(W,ee,ke,dt,Ai),N):N}function k5(N,W,ee,ke){const dt=ge(265);return dt.modifiers=Ps(N),dt.name=Pc(W),dt.typeParameters=Ps(ee),dt.type=ke,dt.transformFlags=1,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt}function F5(N,W,ee,ke,dt){return N.modifiers!==W||N.name!==ee||N.typeParameters!==ke||N.type!==dt?s(k5(W,ee,ke,dt),N):N}function h3(N,W,ee){const ke=ge(266);return ke.modifiers=Ps(N),ke.name=Pc(W),ke.members=oe(ee),ke.transformFlags|=ks(ke.modifiers)|ou(ke.name)|ks(ke.members)|1,ke.transformFlags&=-67108865,ke.jsDoc=void 0,ke}function pt(N,W,ee,ke){return N.modifiers!==W||N.name!==ee||N.members!==ke?s(h3(W,ee,ke),N):N}function t1(N,W,ee,ke=0){const dt=ge(267);return dt.modifiers=Ps(N),dt.flags|=ke&2088,dt.name=W,dt.body=ee,eE(dt.modifiers)&128?dt.transformFlags=1:dt.transformFlags|=ks(dt.modifiers)|ou(dt.name)|ou(dt.body)|1,dt.transformFlags&=-67108865,dt.jsDoc=void 0,dt.locals=void 0,dt.nextContainer=void 0,dt}function p4(N,W,ee,ke){return N.modifiers!==W||N.name!==ee||N.body!==ke?s(t1(W,ee,ke,N.flags),N):N}function Ch(N){const W=se(268);return W.statements=oe(N),W.transformFlags|=ks(W.statements),W.jsDoc=void 0,W}function Nw(N,W){return N.statements!==W?s(Ch(W),N):N}function A5(N){const W=se(269);return W.clauses=oe(N),W.transformFlags|=ks(W.clauses),W.locals=void 0,W.nextContainer=void 0,W}function uC(N,W){return N.clauses!==W?s(A5(W),N):N}function f3(N){const W=ge(270);return W.name=Pc(N),W.transformFlags|=fV(W.name)|1,W.modifiers=void 0,W.jsDoc=void 0,W}function az(N,W){return N.name!==W?Vs(f3(W),N):N}function Vs(N,W){return N!==W&&(N.modifiers=W.modifiers),s(N,W)}function Cg(N,W,ee,ke){const dt=ge(271);return dt.modifiers=Ps(N),dt.name=Pc(ee),dt.isTypeOnly=W,dt.moduleReference=ke,dt.transformFlags|=ks(dt.modifiers)|fV(dt.name)|ou(dt.moduleReference),u_(dt.moduleReference)||(dt.transformFlags|=1),dt.transformFlags&=-67108865,dt.jsDoc=void 0,dt}function Yk(N,W,ee,ke,dt){return N.modifiers!==W||N.isTypeOnly!==ee||N.name!==ke||N.moduleReference!==dt?s(Cg(W,ee,ke,dt),N):N}function Qk(N,W,ee,ke){const dt=se(272);return dt.modifiers=Ps(N),dt.importClause=W,dt.moduleSpecifier=ee,dt.attributes=dt.assertClause=ke,dt.transformFlags|=ou(dt.importClause)|ou(dt.moduleSpecifier),dt.transformFlags&=-67108865,dt.jsDoc=void 0,dt}function db(N,W,ee,ke,dt){return N.modifiers!==W||N.importClause!==ee||N.moduleSpecifier!==ke||N.attributes!==dt?s(Qk(W,ee,ke,dt),N):N}function hb(N,W,ee){const ke=ge(273);return ke.isTypeOnly=N,ke.name=W,ke.namedBindings=ee,ke.transformFlags|=ou(ke.name)|ou(ke.namedBindings),N&&(ke.transformFlags|=1),ke.transformFlags&=-67108865,ke}function ip(N,W,ee,ke){return N.isTypeOnly!==W||N.name!==ee||N.namedBindings!==ke?s(hb(W,ee,ke),N):N}function bg(N,W){const ee=se(300);return ee.elements=oe(N),ee.multiLine=W,ee.token=132,ee.transformFlags|=4,ee}function m3(N,W,ee){return N.elements!==W||N.multiLine!==ee?s(bg(W,ee),N):N}function Xk(N,W){const ee=se(301);return ee.name=N,ee.value=W,ee.transformFlags|=4,ee}function fE(N,W,ee){return N.name!==W||N.value!==ee?s(Xk(W,ee),N):N}function eF(N,W){const ee=se(302);return ee.assertClause=N,ee.multiLine=W,ee}function Pw(N,W,ee){return N.assertClause!==W||N.multiLine!==ee?s(eF(W,ee),N):N}function Ur(N,W,ee){const ke=se(300);return ke.token=ee??118,ke.elements=oe(N),ke.multiLine=W,ke.transformFlags|=4,ke}function or(N,W,ee){return N.elements!==W||N.multiLine!==ee?s(Ur(W,ee,N.token),N):N}function mE(N,W){const ee=se(301);return ee.name=N,ee.value=W,ee.transformFlags|=4,ee}function yf(N,W,ee){return N.name!==W||N.value!==ee?s(mE(W,ee),N):N}function Mw(N){const W=ge(274);return W.name=N,W.transformFlags|=ou(W.name),W.transformFlags&=-67108865,W}function S5(N,W){return N.name!==W?s(Mw(W),N):N}function zw(N){const W=ge(280);return W.name=N,W.transformFlags|=ou(W.name)|32,W.transformFlags&=-67108865,W}function fb(N,W){return N.name!==W?s(zw(W),N):N}function nc(N){const W=se(275);return W.elements=oe(N),W.transformFlags|=ks(W.elements),W.transformFlags&=-67108865,W}function bh(N,W){return N.elements!==W?s(nc(W),N):N}function cD(N,W,ee){const ke=ge(276);return ke.isTypeOnly=N,ke.propertyName=W,ke.name=ee,ke.transformFlags|=ou(ke.propertyName)|ou(ke.name),ke.transformFlags&=-67108865,ke}function h_(N,W,ee,ke){return N.isTypeOnly!==W||N.propertyName!==ee||N.name!==ke?s(cD(W,ee,ke),N):N}function p3(N,W,ee){const ke=ge(277);return ke.modifiers=Ps(N),ke.isExportEquals=W,ke.expression=W?d().parenthesizeRightSideOfBinary(64,void 0,ee):d().parenthesizeExpressionOfExportDefault(ee),ke.transformFlags|=ks(ke.modifiers)|ou(ke.expression),ke.transformFlags&=-67108865,ke.jsDoc=void 0,ke}function Wp(N,W,ee){return N.modifiers!==W||N.expression!==ee?s(p3(W,N.isExportEquals,ee),N):N}function rC(N,W,ee,ke,dt){const Ai=ge(278);return Ai.modifiers=Ps(N),Ai.isTypeOnly=W,Ai.exportClause=ee,Ai.moduleSpecifier=ke,Ai.attributes=Ai.assertClause=dt,Ai.transformFlags|=ks(Ai.modifiers)|ou(Ai.exportClause)|ou(Ai.moduleSpecifier),Ai.transformFlags&=-67108865,Ai.jsDoc=void 0,Ai}function g3(N,W,ee,ke,dt,Ai){return N.modifiers!==W||N.isTypeOnly!==ee||N.exportClause!==ke||N.moduleSpecifier!==dt||N.attributes!==Ai?Iw(rC(W,ee,ke,dt,Ai),N):N}function Iw(N,W){return N!==W&&N.modifiers===W.modifiers&&(N.modifiers=W.modifiers),s(N,W)}function f_(N){const W=se(279);return W.elements=oe(N),W.transformFlags|=ks(W.elements),W.transformFlags&=-67108865,W}function Rw(N,W){return N.elements!==W?s(f_(W),N):N}function pE(N,W,ee){const ke=se(281);return ke.isTypeOnly=N,ke.propertyName=Pc(W),ke.name=Pc(ee),ke.transformFlags|=ou(ke.propertyName)|ou(ke.name),ke.transformFlags&=-67108865,ke.jsDoc=void 0,ke}function m_(N,W,ee,ke){return N.isTypeOnly!==W||N.propertyName!==ee||N.name!==ke?s(pE(W,ee,ke),N):N}function B5(){const N=ge(282);return N.jsDoc=void 0,N}function Ow(N){const W=se(283);return W.expression=N,W.transformFlags|=ou(W.expression),W.transformFlags&=-67108865,W}function b9(N,W){return N.expression!==W?s(Ow(W),N):N}function oz(N){return se(N)}function y9(N,W,ee=!1){const ke=B0(N,ee?W&&d().parenthesizeNonArrayTypeOfPostfixType(W):W);return ke.postfix=ee,ke}function B0(N,W){const ee=se(N);return ee.type=W,ee}function mb(N,W,ee){return W.type!==ee?s(y9(N,ee,W.postfix),W):W}function k9(N,W,ee){return W.type!==ee?s(B0(N,ee),W):W}function np(N,W){const ee=ge(324);return ee.parameters=Ps(N),ee.type=W,ee.transformFlags=ks(ee.parameters)|(ee.type?1:0),ee.jsDoc=void 0,ee.locals=void 0,ee.nextContainer=void 0,ee.typeArguments=void 0,ee}function aC(N,W,ee){return N.parameters!==W||N.type!==ee?s(np(W,ee),N):N}function F9(N,W=!1){const ee=ge(329);return ee.jsDocPropertyTags=Ps(N),ee.isArrayType=W,ee}function sz(N,W,ee){return N.jsDocPropertyTags!==W||N.isArrayType!==ee?s(F9(W,ee),N):N}function tF(N){const W=se(316);return W.type=N,W}function ru(N,W){return N.type!==W?s(tF(W),N):N}function x1(N,W,ee){const ke=ge(330);return ke.typeParameters=Ps(N),ke.parameters=oe(W),ke.type=ee,ke.jsDoc=void 0,ke.locals=void 0,ke.nextContainer=void 0,ke}function Na(N,W,ee,ke){return N.typeParameters!==W||N.parameters!==ee||N.type!==ke?s(x1(W,ee,ke),N):N}function sf(N){const W=tce(N.kind);return N.tagName.escapedText===Al(W)?N.tagName:We(W)}function gE(N,W,ee){const ke=se(N);return ke.tagName=W,ke.comment=ee,ke}function up(N,W,ee){const ke=ge(N);return ke.tagName=W,ke.comment=ee,ke}function qn(N,W,ee,ke){const dt=gE(352,N??We("template"),ke);return dt.constraint=W,dt.typeParameters=oe(ee),dt}function pb(N,W=sf(N),ee,ke,dt){return N.tagName!==W||N.constraint!==ee||N.typeParameters!==ke||N.comment!==dt?s(qn(W,ee,ke,dt),N):N}function oC(N,W,ee,ke){const dt=up(353,N??We("typedef"),ke);return dt.typeExpression=W,dt.fullName=ee,dt.name=jce(ee),dt.locals=void 0,dt.nextContainer=void 0,dt}function Bd(N,W=sf(N),ee,ke,dt){return N.tagName!==W||N.typeExpression!==ee||N.fullName!==ke||N.comment!==dt?s(oC(W,ee,ke,dt),N):N}function EE(N,W,ee,ke,dt,Ai){const au=up(348,N??We("param"),Ai);return au.typeExpression=ke,au.name=W,au.isNameFirst=!!dt,au.isBracketed=ee,au}function _E(N,W=sf(N),ee,ke,dt,Ai,au){return N.tagName!==W||N.name!==ee||N.isBracketed!==ke||N.typeExpression!==dt||N.isNameFirst!==Ai||N.comment!==au?s(EE(W,ee,ke,dt,Ai,au),N):N}function n6(N,W,ee,ke,dt,Ai){const au=up(355,N??We("prop"),Ai);return au.typeExpression=ke,au.name=W,au.isNameFirst=!!dt,au.isBracketed=ee,au}function A9(N,W=sf(N),ee,ke,dt,Ai,au){return N.tagName!==W||N.name!==ee||N.isBracketed!==ke||N.typeExpression!==dt||N.isNameFirst!==Ai||N.comment!==au?s(n6(W,ee,ke,dt,Ai,au),N):N}function dD(N,W,ee,ke){const dt=up(345,N??We("callback"),ke);return dt.typeExpression=W,dt.fullName=ee,dt.name=jce(ee),dt.locals=void 0,dt.nextContainer=void 0,dt}function sC(N,W=sf(N),ee,ke,dt){return N.tagName!==W||N.typeExpression!==ee||N.fullName!==ke||N.comment!==dt?s(dD(W,ee,ke,dt),N):N}function lC(N,W,ee){const ke=gE(346,N??We("overload"),ee);return ke.typeExpression=W,ke}function E3(N,W=sf(N),ee,ke){return N.tagName!==W||N.typeExpression!==ee||N.comment!==ke?s(lC(W,ee,ke),N):N}function p_(N,W,ee){const ke=gE(335,N??We("augments"),ee);return ke.class=W,ke}function iF(N,W=sf(N),ee,ke){return N.tagName!==W||N.class!==ee||N.comment!==ke?s(p_(W,ee,ke),N):N}function hD(N,W,ee){const ke=gE(336,N??We("implements"),ee);return ke.class=W,ke}function u6(N,W,ee){const ke=gE(354,N??We("see"),ee);return ke.name=W,ke}function gb(N,W,ee,ke){return N.tagName!==W||N.name!==ee||N.comment!==ke?s(u6(W,ee,ke),N):N}function S9(N){const W=se(317);return W.name=N,W}function nF(N,W){return N.name!==W?s(S9(W),N):N}function Eb(N,W){const ee=se(318);return ee.left=N,ee.right=W,ee.transformFlags|=ou(ee.left)|ou(ee.right),ee}function g4(N,W,ee){return N.left!==W||N.right!==ee?s(Eb(W,ee),N):N}function cC(N,W){const ee=se(331);return ee.name=N,ee.text=W,ee}function bc(N,W,ee){return N.name!==W?s(cC(W,ee),N):N}function hd(N,W){const ee=se(332);return ee.name=N,ee.text=W,ee}function B9(N,W,ee){return N.name!==W?s(hd(W,ee),N):N}function R1(N,W){const ee=se(333);return ee.name=N,ee.text=W,ee}function kf(N,W,ee){return N.name!==W?s(R1(W,ee),N):N}function _b(N,W=sf(N),ee,ke){return N.tagName!==W||N.class!==ee||N.comment!==ke?s(hD(W,ee,ke),N):N}function E4(N,W,ee){return gE(N,W??We(tce(N)),ee)}function dC(N,W,ee=sf(W),ke){return W.tagName!==ee||W.comment!==ke?s(E4(N,ee,ke),W):W}function w5(N,W,ee,ke){const dt=gE(N,W??We(tce(N)),ke);return dt.typeExpression=ee,dt}function i1(N,W,ee=sf(W),ke,dt){return W.tagName!==ee||W.typeExpression!==ke||W.comment!==dt?s(w5(N,ee,ke,dt),W):W}function uF(N,W){return gE(334,N,W)}function rp(N,W,ee){return N.tagName!==W||N.comment!==ee?s(uF(W,ee),N):N}function r6(N,W,ee){const ke=up(347,N??We(tce(347)),ee);return ke.typeExpression=W,ke.locals=void 0,ke.nextContainer=void 0,ke}function jw(N,W=sf(N),ee,ke){return N.tagName!==W||N.typeExpression!==ee||N.comment!==ke?s(r6(W,ee,ke),N):N}function z0(N){const W=se(328);return W.text=N,W}function Vw(N,W){return N.text!==W?s(z0(W),N):N}function rF(N,W){const ee=se(327);return ee.comment=N,ee.tags=Ps(W),ee}function hC(N,W,ee){return N.comment!==W||N.tags!==ee?s(rF(W,ee),N):N}function w9(N,W,ee){const ke=se(284);return ke.openingElement=N,ke.children=oe(W),ke.closingElement=ee,ke.transformFlags|=ou(ke.openingElement)|ks(ke.children)|ou(ke.closingElement)|2,ke}function Vh(N,W,ee,ke){return N.openingElement!==W||N.children!==ee||N.closingElement!==ke?s(w9(W,ee,ke),N):N}function _3(N,W,ee){const ke=se(285);return ke.tagName=N,ke.typeArguments=Ps(W),ke.attributes=ee,ke.transformFlags|=ou(ke.tagName)|ks(ke.typeArguments)|ou(ke.attributes)|2,ke.typeArguments&&(ke.transformFlags|=1),ke}function fD(N,W,ee,ke){return N.tagName!==W||N.typeArguments!==ee||N.attributes!==ke?s(_3(W,ee,ke),N):N}function Db(N,W,ee){const ke=se(286);return ke.tagName=N,ke.typeArguments=Ps(W),ke.attributes=ee,ke.transformFlags|=ou(ke.tagName)|ks(ke.typeArguments)|ou(ke.attributes)|2,W&&(ke.transformFlags|=1),ke}function Em(N,W,ee,ke){return N.tagName!==W||N.typeArguments!==ee||N.attributes!==ke?s(Db(W,ee,ke),N):N}function T9(N){const W=se(287);return W.tagName=N,W.transformFlags|=ou(W.tagName)|2,W}function a6(N,W){return N.tagName!==W?s(T9(W),N):N}function Um(N,W,ee){const ke=se(288);return ke.openingFragment=N,ke.children=oe(W),ke.closingFragment=ee,ke.transformFlags|=ou(ke.openingFragment)|ks(ke.children)|ou(ke.closingFragment)|2,ke}function xb(N,W,ee,ke){return N.openingFragment!==W||N.children!==ee||N.closingFragment!==ke?s(Um(W,ee,ke),N):N}function T5(N,W){const ee=se(12);return ee.text=N,ee.containsOnlyTriviaWhiteSpaces=!!W,ee.transformFlags|=2,ee}function lz(N,W,ee){return N.text!==W||N.containsOnlyTriviaWhiteSpaces!==ee?s(T5(W,ee),N):N}function L9(){const N=se(289);return N.transformFlags|=2,N}function N9(){const N=se(290);return N.transformFlags|=2,N}function P9(N,W){const ee=ge(291);return ee.name=N,ee.initializer=W,ee.transformFlags|=ou(ee.name)|ou(ee.initializer)|2,ee}function fC(N,W,ee){return N.name!==W||N.initializer!==ee?s(P9(W,ee),N):N}function Jf(N){const W=ge(292);return W.properties=oe(N),W.transformFlags|=ks(W.properties)|2,W}function D3(N,W){return N.properties!==W?s(Jf(W),N):N}function M9(N){const W=se(293);return W.expression=N,W.transformFlags|=ou(W.expression)|2,W}function z9(N,W){return N.expression!==W?s(M9(W),N):N}function Hs(N,W){const ee=se(294);return ee.dotDotDotToken=N,ee.expression=W,ee.transformFlags|=ou(ee.dotDotDotToken)|ou(ee.expression)|2,ee}function _u(N,W){return N.expression!==W?s(Hs(N.dotDotDotToken,W),N):N}function _m(N,W){const ee=se(295);return ee.namespace=N,ee.name=W,ee.transformFlags|=ou(ee.namespace)|ou(ee.name)|2,ee}function lf(N,W,ee){return N.namespace!==W||N.name!==ee?s(_m(W,ee),N):N}function vb(N,W){const ee=se(296);return ee.expression=d().parenthesizeExpressionForDisallowedComma(N),ee.statements=oe(W),ee.transformFlags|=ou(ee.expression)|ks(ee.statements),ee.jsDoc=void 0,ee}function Hw(N,W,ee){return N.expression!==W||N.statements!==ee?s(vb(W,ee),N):N}function mC(N){const W=se(297);return W.statements=oe(N),W.transformFlags=ks(W.statements),W}function Cb(N,W){return N.statements!==W?s(mC(W),N):N}function o6(N,W){const ee=se(298);switch(ee.token=N,ee.types=oe(W),ee.transformFlags|=ks(ee.types),N){case 96:ee.transformFlags|=1024;break;case 119:ee.transformFlags|=1;break;default:return H.assertNever(N)}return ee}function qm(N,W){return N.types!==W?s(o6(N.token,W),N):N}function ap(N,W){const ee=se(299);return ee.variableDeclaration=O9(N),ee.block=W,ee.transformFlags|=ou(ee.variableDeclaration)|ou(ee.block)|(N?0:64),ee.locals=void 0,ee.nextContainer=void 0,ee}function s6(N,W,ee){return N.variableDeclaration!==W||N.block!==ee?s(ap(W,ee),N):N}function Gp(N,W){const ee=ge(303);return ee.name=Pc(N),ee.initializer=d().parenthesizeExpressionForDisallowedComma(W),ee.transformFlags|=Hx(ee.name)|ou(ee.initializer),ee.modifiers=void 0,ee.questionToken=void 0,ee.exclamationToken=void 0,ee.jsDoc=void 0,ee}function op(N,W,ee){return N.name!==W||N.initializer!==ee?L5(Gp(W,ee),N):N}function L5(N,W){return N!==W&&(N.modifiers=W.modifiers,N.questionToken=W.questionToken,N.exclamationToken=W.exclamationToken),s(N,W)}function bb(N,W){const ee=ge(304);return ee.name=Pc(N),ee.objectAssignmentInitializer=W&&d().parenthesizeExpressionForDisallowedComma(W),ee.transformFlags|=fV(ee.name)|ou(ee.objectAssignmentInitializer)|1024,ee.equalsToken=void 0,ee.modifiers=void 0,ee.questionToken=void 0,ee.exclamationToken=void 0,ee.jsDoc=void 0,ee}function Nc(N,W,ee){return N.name!==W||N.objectAssignmentInitializer!==ee?cz(bb(W,ee),N):N}function cz(N,W){return N!==W&&(N.modifiers=W.modifiers,N.questionToken=W.questionToken,N.exclamationToken=W.exclamationToken,N.equalsToken=W.equalsToken),s(N,W)}function _4(N){const W=ge(305);return W.expression=d().parenthesizeExpressionForDisallowedComma(N),W.transformFlags|=ou(W.expression)|128|65536,W.jsDoc=void 0,W}function Kw(N,W){return N.expression!==W?s(_4(W),N):N}function O1(N,W){const ee=ge(306);return ee.name=Pc(N),ee.initializer=W&&d().parenthesizeExpressionForDisallowedComma(W),ee.transformFlags|=ou(ee.name)|ou(ee.initializer)|1,ee.jsDoc=void 0,ee}function pC(N,W,ee){return N.name!==W||N.initializer!==ee?s(O1(W,ee),N):N}function yb(N,W,ee){const ke=u.createBaseSourceFileNode(312);return ke.statements=oe(N),ke.endOfFileToken=W,ke.flags|=ee,ke.text="",ke.fileName="",ke.path="",ke.resolvedPath="",ke.originalFileName="",ke.languageVersion=0,ke.languageVariant=0,ke.scriptKind=0,ke.isDeclarationFile=!1,ke.hasNoDefaultLib=!1,ke.transformFlags|=ks(ke.statements)|ou(ke.endOfFileToken),ke.locals=void 0,ke.nextContainer=void 0,ke.endFlowNode=void 0,ke.nodeCount=0,ke.identifierCount=0,ke.symbolCount=0,ke.parseDiagnostics=void 0,ke.bindDiagnostics=void 0,ke.bindSuggestionDiagnostics=void 0,ke.lineMap=void 0,ke.externalModuleIndicator=void 0,ke.setExternalModuleIndicator=void 0,ke.pragmas=void 0,ke.checkJsDirective=void 0,ke.referencedFiles=void 0,ke.typeReferenceDirectives=void 0,ke.libReferenceDirectives=void 0,ke.amdDependencies=void 0,ke.commentDirectives=void 0,ke.identifiers=void 0,ke.packageJsonLocations=void 0,ke.packageJsonScope=void 0,ke.imports=void 0,ke.moduleAugmentations=void 0,ke.ambientModuleNames=void 0,ke.classifiableNames=void 0,ke.impliedNodeFormat=void 0,ke}function aF(N){const W=Object.create(N.redirectTarget);return Object.defineProperties(W,{id:{get(){return this.redirectInfo.redirectTarget.id},set(ee){this.redirectInfo.redirectTarget.id=ee}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(ee){this.redirectInfo.redirectTarget.symbol=ee}}}),W.redirectInfo=N,W}function Ww(N){const W=aF(N.redirectInfo);return W.flags|=N.flags&-17,W.fileName=N.fileName,W.path=N.path,W.resolvedPath=N.resolvedPath,W.originalFileName=N.originalFileName,W.packageJsonLocations=N.packageJsonLocations,W.packageJsonScope=N.packageJsonScope,W.emitNode=void 0,W}function D4(N){const W=u.createBaseSourceFileNode(312);W.flags|=N.flags&-17;for(const ee in N)if(!(gu(W,ee)||!gu(N,ee))){if(ee==="emitNode"){W.emitNode=void 0;continue}W[ee]=N[ee]}return W}function Ol(N){const W=N.redirectInfo?Ww(N):D4(N);return su(W,N),W}function DE(N,W,ee,ke,dt,Ai,au){const Pa=Ol(N);return Pa.statements=oe(W),Pa.isDeclarationFile=ee,Pa.referencedFiles=ke,Pa.typeReferenceDirectives=dt,Pa.hasNoDefaultLib=Ai,Pa.libReferenceDirectives=au,Pa.transformFlags=ks(Pa.statements)|ou(Pa.endOfFileToken),Pa}function l6(N,W,ee=N.isDeclarationFile,ke=N.referencedFiles,dt=N.typeReferenceDirectives,Ai=N.hasNoDefaultLib,au=N.libReferenceDirectives){return N.statements!==W||N.isDeclarationFile!==ee||N.referencedFiles!==ke||N.typeReferenceDirectives!==dt||N.hasNoDefaultLib!==Ai||N.libReferenceDirectives!==au?s(DE(N,W,ee,ke,dt,Ai,au),N):N}function x3(N,W=_t){const ee=se(313);return ee.prepends=W,ee.sourceFiles=N,ee.syntheticFileReferences=void 0,ee.syntheticTypeReferences=void 0,ee.syntheticLibReferences=void 0,ee.hasNoDefaultLib=void 0,ee}function gC(N,W,ee=_t){return N.sourceFiles!==W||N.prepends!==ee?s(x3(W,ee),N):N}function Gw(N,W,ee){const ke=se(314);return ke.prologues=N,ke.syntheticReferences=W,ke.texts=ee,ke.fileName="",ke.text="",ke.referencedFiles=_t,ke.libReferenceDirectives=_t,ke.getLineAndCharacterOfPosition=dt=>o0(ke,dt),ke}function c6(N,W){const ee=se(N);return ee.data=W,ee}function O(N){return c6(307,N)}function be(N,W){const ee=c6(308,N);return ee.texts=W,ee}function Vt(N,W){return c6(W?310:309,N)}function ji(N){const W=se(311);return W.data=N.data,W.section=N,W}function yu(){const N=se(315);return N.javascriptText="",N.declarationText="",N}function $r(N,W=!1,ee){const ke=se(237);return ke.type=N,ke.isSpread=W,ke.tupleNameSource=ee,ke}function br(N){const W=se(358);return W._children=N,W}function Ea(N){const W=se(359);return W.original=N,Pt(W,N),W}function Fo(N,W){const ee=se(360);return ee.expression=N,ee.original=W,ee.transformFlags|=ou(ee.expression)|1,Pt(ee,W),ee}function Ff(N,W){return N.expression!==W?s(Fo(W,N.original),N):N}function $f(N){if(sl(N)&&!MN(N)&&!N.original&&!N.emitNode&&!N.id){if($P(N))return N.elements;if(eu(N)&&Uke(N.operatorToken))return[N.left,N.right]}return N}function Sr(N){const W=se(361);return W.elements=oe(mr(N,$f)),W.transformFlags|=ks(W.elements),W}function xE(N,W){return N.elements!==W?s(Sr(W),N):N}function gn(N,W){const ee=se(362);return ee.expression=N,ee.thisArg=W,ee.transformFlags|=ou(ee.expression)|ou(ee.thisArg),ee}function d6(N,W,ee){return N.expression!==W||N.thisArg!==ee?s(gn(W,ee),N):N}function N5(N){const W=xe(N.escapedText);return W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N),_V(W,{...N.emitNode.autoGenerate}),W}function oF(N){const W=xe(N.escapedText);W.flags|=N.flags&-17,W.jsDoc=N.jsDoc,W.flowNode=N.flowNode,W.symbol=N.symbol,W.transformFlags=N.transformFlags,su(W,N);const ee=mk(N);return ee&&s5(W,ee),W}function EC(N){const W=ft(N.escapedText);return W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N),_V(W,{...N.emitNode.autoGenerate}),W}function I9(N){const W=ft(N.escapedText);return W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N),W}function sF(N){if(N===void 0)return N;if(ca(N))return Ol(N);if(al(N))return N5(N);if(at(N))return oF(N);if(Jy(N))return EC(N);if(ea(N))return I9(N);const W=KO(N.kind)?u.createBaseNode(N.kind):u.createBaseTokenNode(N.kind);W.flags|=N.flags&-17,W.transformFlags=N.transformFlags,su(W,N);for(const ee in N)gu(W,ee)||!gu(N,ee)||(W[ee]=N[ee]);return W}function g_(N,W,ee){return Mn(Gm(void 0,void 0,void 0,void 0,W?[W]:[],void 0,a0(N,!0)),void 0,ee?[ee]:[])}function P5(N,W,ee){return Mn(h4(void 0,void 0,W?[W]:[],void 0,void 0,a0(N,!0)),void 0,ee?[ee]:[])}function v3(){return Kf(Ce("0"))}function Jw(N){return p3(void 0,!1,N)}function R9(N){return rC(void 0,!1,f_([pE(!1,void 0,N)]))}function UK(N,W){return W==="null"?Y.createStrictEquality(N,It()):W==="undefined"?Y.createStrictEquality(N,v3()):Y.createStrictEquality(I1(N),Se(W))}function dz(N,W){return W==="null"?Y.createStrictInequality(N,It()):W==="undefined"?Y.createStrictInequality(N,v3()):Y.createStrictInequality(I1(N),Se(W))}function E_(N,W,ee){return Gy(N)?ko(f0(N,void 0,W),void 0,void 0,ee):Mn(S0(N,W),void 0,ee)}function mD(N,W,ee){return E_(N,"bind",[W,...ee])}function $w(N,W,ee){return E_(N,"call",[W,...ee])}function __(N,W,ee){return E_(N,"apply",[W,ee])}function _C(N,W,ee){return E_(We(N),W,ee)}function cte(N,W){return E_(N,"slice",W===void 0?[]:[f6(W)])}function vE(N,W){return E_(N,"concat",W)}function lF(N,W,ee){return _C("Object","defineProperty",[N,f6(W),ee])}function qK(N,W){return _C("Object","getOwnPropertyDescriptor",[N,f6(W)])}function he(N,W,ee){return _C("Reflect","get",ee?[N,W,ee]:[N,W])}function Re(N,W,ee,ke){return _C("Reflect","set",ke?[N,W,ee,ke]:[N,W,ee])}function nt(N,W,ee){return ee?(N.push(Gp(W,ee)),!0):!1}function Lt(N,W){const ee=[];nt(ee,"enumerable",f6(N.enumerable)),nt(ee,"configurable",f6(N.configurable));let ke=nt(ee,"writable",f6(N.writable));ke=nt(ee,"value",N.value)||ke;let dt=nt(ee,"get",N.get);return dt=nt(ee,"set",N.set)||dt,H.assert(!(ke&&dt),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),As(ee,!W)}function vi(N,W){switch(N.kind){case 217:return ep(N,W);case 216:return Ul(N,N.type,W);case 234:return ai(N,W,N.type);case 238:return en(N,W,N.type);case 235:return Qi(N,W);case 360:return Ff(N,W)}}function Xi(N){return vf(N)&&sl(N)&&sl(wv(N))&&sl(iE(N))&&!Ge(EB(N))&&!Ge(EV(N))}function Mu(N,W,ee=15){return N&&_Y(N,ee)&&!Xi(N)?vi(N,Mu(N.expression,W)):W}function Wr(N,W,ee){if(!W)return N;const ke=Tw(W,W.label,R2(W.statement)?Wr(N,W.statement):N);return ee&&ee(W),ke}function Nr(N,W){const ee=s0(N);switch(ee.kind){case 80:return W;case 110:case 9:case 10:case 11:return!1;case 209:return ee.elements.length!==0;case 210:return ee.properties.length>0;default:return!0}}function _r(N,W,ee,ke=!1){const dt=_c(N,15);let Ai,au;return tf(dt)?(Ai=St(),au=dt):VP(dt)?(Ai=St(),au=ee!==void 0&&ee<2?Pt(We("_super"),dt):dt):Cs(dt)&8192?(Ai=v3(),au=d().parenthesizeLeftSideOfAccess(dt,!1)):zu(dt)?Nr(dt.expression,ke)?(Ai=Ae(W),au=S0(Pt(Y.createAssignment(Ai,dt.expression),dt.expression),dt.name),Pt(au,dt)):(Ai=dt.expression,au=dt):G0(dt)?Nr(dt.expression,ke)?(Ai=Ae(W),au=nh(Pt(Y.createAssignment(Ai,dt.expression),dt.expression),dt.argumentExpression),Pt(au,dt)):(Ai=dt.expression,au=dt):(Ai=v3(),au=d().parenthesizeLeftSideOfAccess(N,!1)),{target:au,thisArg:Ai}}function ma(N,W){return S0(Lc(As([et(void 0,"value",[Yu(void 0,void 0,N,void 0,void 0,void 0)],a0([t6(W)]))])),"value")}function E0(N){return N.length>10?Sr(N):tn(N,Y.createComma)}function qs(N,W,ee,ke=0,dt){const Ai=dt?N&&AU(N):$a(N);if(Ai&&at(Ai)&&!al(Ai)){const au=ys(Pt(sF(Ai),Ai),Ai.parent);return ke|=Cs(Ai),ee||(ke|=96),W||(ke|=3072),ke&&Yn(au,ke),au}return Je(N)}function Ks(N,W,ee){return qs(N,W,ee,98304)}function x4(N,W,ee,ke){return qs(N,W,ee,32768,ke)}function Jp(N,W,ee){return qs(N,W,ee,16384)}function h6(N,W,ee){return qs(N,W,ee)}function C3(N,W,ee,ke){const dt=S0(N,sl(W)?W:sF(W));Pt(dt,W);let Ai=0;return ke||(Ai|=96),ee||(Ai|=3072),Ai&&Yn(dt,Ai),dt}function Od(N,W,ee,ke){return N&&Qu(W,32)?C3(N,qs(W),ee,ke):Jp(W,ee,ke)}function pD(N,W,ee,ke){const dt=qw(N,W,0,ee);return fz(N,W,dt,ke)}function hz(N){return us(N.expression)&&N.expression.text==="use strict"}function Uw(){return xh(t6(Se("use strict")))}function qw(N,W,ee=0,ke){H.assert(W.length===0,"Prologue directives should be at the first statement in the target statements array");let dt=!1;const Ai=N.length;for(;eePa&&Ym.splice(dt,0,...W.slice(Pa,i0)),Pa>au&&Ym.splice(ke,0,...W.slice(au,Pa)),au>Ai&&Ym.splice(ee,0,...W.slice(Ai,au)),Ai>0)if(ee===0)Ym.splice(0,0,...W.slice(0,Ai));else{const m6=new Map;for(let p6=0;p6=0;p6--){const DC=W[p6];m6.has(DC.expression.text)||Ym.unshift(DC)}}return f2(N)?Pt(oe(Ym,N.hasTrailingComma),N):N}function pz(N,W){let ee;return typeof W=="number"?ee=Ni(W):ee=W,Bl(N)?ki(N,ee,N.name,N.constraint,N.default):Qa(N)?oa(N,ee,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):KP(N)?Ui(N,ee,N.typeParameters,N.parameters,N.type):Pm(N)?On(N,ee,N.name,N.questionToken,N.type):yo(N)?Dn(N,ee,N.name,N.questionToken??N.exclamationToken,N.type,N.initializer):i3(N)?tu(N,ee,N.name,N.questionToken,N.typeParameters,N.parameters,N.type):cc(N)?Da(N,ee,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):dc(N)?Et(N,ee,N.parameters,N.body):Mm(N)?Xt(N,ee,N.name,N.parameters,N.type,N.body):Of(N)?gt(N,ee,N.name,N.parameters,N.body):pk(N)?pi(N,ee,N.parameters,N.type):A0(N)?Rh(N,ee,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):J0(N)?l3(N,ee,N.typeParameters,N.parameters,N.type,N.equalsGreaterThanToken,N.body):Qd(N)?vg(N,ee,N.name,N.typeParameters,N.heritageClauses,N.members):Gl(N)?e6(N,ee,N.declarationList):Xc(N)?qk(N,ee,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):Wc(N)?Zk(N,ee,N.name,N.typeParameters,N.heritageClauses,N.members):Dh(N)?Rd(N,ee,N.name,N.typeParameters,N.heritageClauses,N.members):Ip(N)?F5(N,ee,N.name,N.typeParameters,N.type):Mv(N)?pt(N,ee,N.name,N.members):Ec(N)?p4(N,ee,N.name,N.body):g1(N)?Yk(N,ee,N.isTypeOnly,N.name,N.moduleReference):Ad(N)?db(N,ee,N.importClause,N.moduleSpecifier,N.attributes):ec(N)?Wp(N,ee,N.expression):Gc(N)?g3(N,ee,N.isTypeOnly,N.exportClause,N.moduleSpecifier,N.attributes):H.assertNever(N)}function v4(N,W){return Qa(N)?oa(N,W,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):yo(N)?Dn(N,W,N.name,N.questionToken??N.exclamationToken,N.type,N.initializer):cc(N)?Da(N,W,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):Mm(N)?Xt(N,W,N.name,N.parameters,N.type,N.body):Of(N)?gt(N,W,N.name,N.parameters,N.body):Qd(N)?vg(N,W,N.name,N.typeParameters,N.heritageClauses,N.members):Wc(N)?Zk(N,W,N.name,N.typeParameters,N.heritageClauses,N.members):H.assertNever(N)}function Zw(N,W){switch(N.kind){case 177:return Xt(N,N.modifiers,W,N.parameters,N.type,N.body);case 178:return gt(N,N.modifiers,W,N.parameters,N.body);case 174:return Da(N,N.modifiers,N.asteriskToken,W,N.questionToken,N.typeParameters,N.parameters,N.type,N.body);case 173:return tu(N,N.modifiers,W,N.questionToken,N.typeParameters,N.parameters,N.type);case 172:return Dn(N,N.modifiers,W,N.questionToken??N.exclamationToken,N.type,N.initializer);case 171:return On(N,N.modifiers,W,N.questionToken,N.type);case 303:return op(N,W,N.initializer)}}function Ps(N){return N?oe(N):void 0}function Pc(N){return typeof N=="string"?We(N):N}function f6(N){return typeof N=="string"?Se(N):typeof N=="number"?Ce(N):typeof N=="boolean"?N?ti():ht():N}function cF(N){return N&&d().parenthesizeExpressionForDisallowedComma(N)}function hte(N){return typeof N=="number"?Ie(N):N}function D_(N){return N&&bce(N)?Pt(su(lD(),N),N):N}function O9(N){return typeof N=="string"||N&&!ra(N)?jh(N,void 0,void 0,void 0):N}}function xLt(t,u){return t!==u&&Pt(t,u),t}function vLt(t,u){return t!==u&&(su(t,u),Pt(t,u)),t}function tce(t){switch(t){case 351:return"type";case 349:return"returns";case 350:return"this";case 347:return"enum";case 337:return"author";case 339:return"class";case 340:return"public";case 341:return"private";case 342:return"protected";case 343:return"readonly";case 344:return"override";case 352:return"template";case 353:return"typedef";case 348:return"param";case 355:return"prop";case 345:return"callback";case 346:return"overload";case 335:return"augments";case 336:return"implements";default:return H.fail(`Unsupported kind: ${H.formatSyntaxKind(t)}`)}}function CLt(t,u){switch(o5||(o5=ZD(99,!1,0)),t){case 15:o5.setText("`"+u+"`");break;case 16:o5.setText("`"+u+"${");break;case 17:o5.setText("}"+u+"${");break;case 18:o5.setText("}"+u+"`");break}let s=o5.scan();if(s===20&&(s=o5.reScanTemplateToken(!1)),o5.isUnterminated())return o5.setText(void 0),Mke;let d;switch(s){case 15:case 16:case 17:case 18:d=o5.getTokenValue();break}return d===void 0||o5.scan()!==1?(o5.setText(void 0),Mke):(o5.setText(void 0),d)}function Hx(t){return t&&at(t)?fV(t):ou(t)}function fV(t){return ou(t)&-67108865}function bLt(t,u){return u|t.transformFlags&134234112}function ou(t){if(!t)return 0;const u=t.transformFlags&~Nke(t.kind);return fh(t)&&Ac(t.name)?bLt(t.name,u):u}function ks(t){return t?t.transformFlags:0}function NYe(t){let u=0;for(const s of t)u|=ou(s);t.transformFlags=u}function Nke(t){if(t>=182&&t<=205)return-2;switch(t){case 213:case 214:case 209:return-2147450880;case 267:return-1941676032;case 169:return-2147483648;case 219:return-2072174592;case 218:case 262:return-1937940480;case 261:return-2146893824;case 263:case 231:return-2147344384;case 176:return-1937948672;case 172:return-2013249536;case 174:case 177:case 178:return-2005057536;case 133:case 150:case 163:case 146:case 154:case 151:case 136:case 155:case 116:case 168:case 171:case 173:case 179:case 180:case 181:case 264:case 265:return-2;case 210:return-2147278848;case 299:return-2147418112;case 206:case 207:return-2147450880;case 216:case 238:case 234:case 360:case 217:case 108:return-2147483648;case 211:case 212:return-2147483648;default:return-2147483648}}function xZ(t){return t.flags|=16,t}function ice(t,u,s){let d,f,p,E,v,b,B,k,T,M;Wa(t)?(p="",E=t,v=t.length,b=u,B=s):(H.assert(u==="js"||u==="dts"),p=(u==="js"?t.javascriptPath:t.declarationPath)||"",b=u==="js"?t.javascriptMapPath:t.declarationMapPath,k=()=>u==="js"?t.javascriptText:t.declarationText,T=()=>u==="js"?t.javascriptMapText:t.declarationMapText,v=()=>k().length,t.buildInfo&&t.buildInfo.bundle&&(H.assert(s===void 0||typeof s=="boolean"),d=s,f=u==="js"?t.buildInfo.bundle.js:t.buildInfo.bundle.dts,M=t.oldFileOfCurrentEmit));const z=M?kLt(H.checkDefined(f)):yLt(f,d,v);return z.fileName=p,z.sourceMapPath=b,z.oldFileOfCurrentEmit=M,k&&T?(Object.defineProperty(z,"text",{get:k}),Object.defineProperty(z,"sourceMapText",{get:T})):(H.assert(!M),z.text=E??"",z.sourceMapText=B),z}function yLt(t,u,s){let d,f,p,E,v,b,B,k;for(const M of t?t.sections:_t)switch(M.kind){case"prologue":d=Ei(d,Pt(q.createUnparsedPrologue(M.data),M));break;case"emitHelpers":f=Ei(f,dce().get(M.data));break;case"no-default-lib":k=!0;break;case"reference":p=Ei(p,{pos:-1,end:-1,fileName:M.data});break;case"type":E=Ei(E,{pos:-1,end:-1,fileName:M.data});break;case"type-import":E=Ei(E,{pos:-1,end:-1,fileName:M.data,resolutionMode:99});break;case"type-require":E=Ei(E,{pos:-1,end:-1,fileName:M.data,resolutionMode:1});break;case"lib":v=Ei(v,{pos:-1,end:-1,fileName:M.data});break;case"prepend":let z;for(const j of M.texts)(!u||j.kind!=="internal")&&(z=Ei(z,Pt(q.createUnparsedTextLike(j.data,j.kind==="internal"),j)));b=yn(b,z),B=Ei(B,q.createUnparsedPrepend(M.data,z??_t));break;case"internal":if(u){B||(B=[]);break}case"text":B=Ei(B,Pt(q.createUnparsedTextLike(M.data,M.kind==="internal"),M));break;default:H.assertNever(M)}if(!B){const M=q.createUnparsedTextLike(void 0,!1);BP(M,0,typeof s=="function"?s():s),B=[M]}const T=r_.createUnparsedSource(d??_t,void 0,B);return fB(d,T),fB(B,T),fB(b,T),T.hasNoDefaultLib=k,T.helpers=f,T.referencedFiles=p||_t,T.typeReferenceDirectives=E,T.libReferenceDirectives=v||_t,T}function kLt(t){let u,s;for(const f of t.sections)switch(f.kind){case"internal":case"text":u=Ei(u,Pt(q.createUnparsedTextLike(f.data,f.kind==="internal"),f));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":s=Ei(s,Pt(q.createUnparsedSyntheticReference(f),f));break;case"prologue":case"emitHelpers":case"prepend":break;default:H.assertNever(f)}const d=q.createUnparsedSource(_t,s,u??_t);return fB(s,d),fB(u,d),d.helpers=Kt(t.sources&&t.sources.helpers,f=>dce().get(f)),d}function PYe(t,u,s,d,f,p){return Wa(t)?uce(void 0,t,s,d,void 0,u,f,p):nce(t,u,s,d,f,p)}function nce(t,u,s,d,f,p,E,v){const b=r_.createInputFiles();b.javascriptPath=u,b.javascriptMapPath=s,b.declarationPath=d,b.declarationMapPath=f,b.buildInfoPath=p;const B=new Map,k=j=>{if(j===void 0)return;let J=B.get(j);return J===void 0&&(J=t(j),B.set(j,J!==void 0?J:!1)),J!==!1?J:void 0},T=j=>{const J=k(j);return J!==void 0?J:`/* Input file ${j} was missing */\r +`};let M;return Object.defineProperties(b,{javascriptText:{get:()=>T(u)},javascriptMapText:{get:()=>k(s)},declarationText:{get:()=>T(H.checkDefined(d))},declarationMapText:{get:()=>k(f)},buildInfo:{get:()=>{if(M===void 0&&p)if(E!=null&&E.getBuildInfo)M=E.getBuildInfo(p,v.configFilePath)??!1;else{const j=k(p);M=j!==void 0?mQ(p,j)??!1:!1}return M||void 0}}}),b}function uce(t,u,s,d,f,p,E,v,b,B,k){const T=r_.createInputFiles();return T.javascriptPath=t,T.javascriptText=u,T.javascriptMapPath=s,T.javascriptMapText=d,T.declarationPath=f,T.declarationText=p,T.declarationMapPath=E,T.declarationMapText=v,T.buildInfoPath=b,T.buildInfo=B,T.oldFileOfCurrentEmit=k,T}function MYe(t,u,s){return new(IYe||(IYe=Yd.getSourceMapSourceConstructor()))(t,u,s)}function su(t,u){if(t.original!==u&&(t.original=u,u)){const s=u.emitNode;s&&(t.emitNode=FLt(s,t.emitNode))}return t}function FLt(t,u){const{flags:s,internalFlags:d,leadingComments:f,trailingComments:p,commentRange:E,sourceMapRange:v,tokenSourceMapRanges:b,constantValue:B,helpers:k,startsOnNewLine:T,snippetElement:M,classThis:z,assignedName:j}=t;if(u||(u={}),s&&(u.flags=s),d&&(u.internalFlags=d&-9),f&&(u.leadingComments=yn(f.slice(),u.leadingComments)),p&&(u.trailingComments=yn(p.slice(),u.trailingComments)),E&&(u.commentRange=E),v&&(u.sourceMapRange=v),b&&(u.tokenSourceMapRanges=ALt(b,u.tokenSourceMapRanges)),B!==void 0&&(u.constantValue=B),k)for(const J of k)u.helpers=e0(u.helpers,J);return T!==void 0&&(u.startsOnNewLine=T),M!==void 0&&(u.snippetElement=M),z&&(u.classThis=z),j&&(u.assignedName=j),u}function ALt(t,u){u||(u=[]);for(const s in t)u[s]=t[s];return u}var vZ,rce,Pke,o5,Mke,mV,zYe,q,IYe,SLt=o({"src/compiler/factory/nodeFactory.ts"(){So(),vZ=0,rce=(t=>(t[t.None=0]="None",t[t.NoParenthesizerRules=1]="NoParenthesizerRules",t[t.NoNodeConverters=2]="NoNodeConverters",t[t.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",t[t.NoOriginalNode=8]="NoOriginalNode",t))(rce||{}),Pke=[],Mke={},mV=wke(),zYe={createBaseSourceFileNode:t=>xZ(mV.createBaseSourceFileNode(t)),createBaseIdentifierNode:t=>xZ(mV.createBaseIdentifierNode(t)),createBasePrivateIdentifierNode:t=>xZ(mV.createBasePrivateIdentifierNode(t)),createBaseTokenNode:t=>xZ(mV.createBaseTokenNode(t)),createBaseNode:t=>xZ(mV.createBaseNode(t))},q=hV(4,zYe)}});function N1(t){if(t.emitNode)H.assert(!(t.emitNode.internalFlags&8),"Invalid attempt to mutate an immutable node.");else{if(MN(t)){if(t.kind===312)return t.emitNode={annotatedNodes:[t]};const u=zn(Ja(zn(t)))??H.fail("Could not determine parsed source file.");N1(u).annotatedNodes.push(t)}t.emitNode={}}return t.emitNode}function ace(t){var u,s;const d=(s=(u=zn(Ja(t)))==null?void 0:u.emitNode)==null?void 0:s.annotatedNodes;if(d)for(const f of d)f.emitNode=void 0}function pV(t){const u=N1(t);return u.flags|=3072,u.leadingComments=void 0,u.trailingComments=void 0,t}function Yn(t,u){return N1(t).flags=u,t}function t_(t,u){const s=N1(t);return s.flags=s.flags|u,t}function gV(t,u){return N1(t).internalFlags=u,t}function y7(t,u){const s=N1(t);return s.internalFlags=s.internalFlags|u,t}function wv(t){var u;return((u=t.emitNode)==null?void 0:u.sourceMapRange)??t}function Fs(t,u){return N1(t).sourceMapRange=u,t}function RYe(t,u){var s,d;return(d=(s=t.emitNode)==null?void 0:s.tokenSourceMapRanges)==null?void 0:d[u]}function zke(t,u,s){const d=N1(t),f=d.tokenSourceMapRanges??(d.tokenSourceMapRanges=[]);return f[u]=s,t}function IP(t){var u;return(u=t.emitNode)==null?void 0:u.startsOnNewLine}function CZ(t,u){return N1(t).startsOnNewLine=u,t}function iE(t){var u;return((u=t.emitNode)==null?void 0:u.commentRange)??t}function Sc(t,u){return N1(t).commentRange=u,t}function EB(t){var u;return(u=t.emitNode)==null?void 0:u.leadingComments}function Tv(t,u){return N1(t).leadingComments=u,t}function RP(t,u,s,d){return Tv(t,Ei(EB(t),{kind:u,pos:-1,end:-1,hasTrailingNewLine:d,text:s}))}function EV(t){var u;return(u=t.emitNode)==null?void 0:u.trailingComments}function k7(t,u){return N1(t).trailingComments=u,t}function bZ(t,u,s,d){return k7(t,Ei(EV(t),{kind:u,pos:-1,end:-1,hasTrailingNewLine:d,text:s}))}function Ike(t,u){Tv(t,EB(u)),k7(t,EV(u));const s=N1(u);return s.leadingComments=void 0,s.trailingComments=void 0,t}function Rke(t){var u;return(u=t.emitNode)==null?void 0:u.constantValue}function Oke(t,u){const s=N1(t);return s.constantValue=u,t}function F7(t,u){const s=N1(t);return s.helpers=Ei(s.helpers,u),t}function tD(t,u){if(Ge(u)){const s=N1(t);for(const d of u)s.helpers=e0(s.helpers,d)}return t}function OYe(t,u){var s;const d=(s=t.emitNode)==null?void 0:s.helpers;return d?mO(d,u):!1}function yZ(t){var u;return(u=t.emitNode)==null?void 0:u.helpers}function jke(t,u,s){const d=t.emitNode,f=d&&d.helpers;if(!Ge(f))return;const p=N1(u);let E=0;for(let v=0;v0&&(f[v-E]=b)}E>0&&(f.length-=E)}function oce(t){var u;return(u=t.emitNode)==null?void 0:u.snippetElement}function sce(t,u){const s=N1(t);return s.snippetElement=u,t}function lce(t){return N1(t).internalFlags|=4,t}function Vke(t,u){const s=N1(t);return s.typeNode=u,t}function Hke(t){var u;return(u=t.emitNode)==null?void 0:u.typeNode}function s5(t,u){return N1(t).identifierTypeArguments=u,t}function mk(t){var u;return(u=t.emitNode)==null?void 0:u.identifierTypeArguments}function _V(t,u){return N1(t).autoGenerate=u,t}function jYe(t){var u;return(u=t.emitNode)==null?void 0:u.autoGenerate}function Kke(t,u){return N1(t).generatedImportReference=u,t}function Wke(t){var u;return(u=t.emitNode)==null?void 0:u.generatedImportReference}var BLt=o({"src/compiler/factory/emitNode.ts"(){So()}});function Gke(t){const u=t.factory,s=Nh(()=>gV(u.createTrue(),8)),d=Nh(()=>gV(u.createFalse(),8));return{getUnscopedHelperName:f,createDecorateHelper:p,createMetadataHelper:E,createParamHelper:v,createESDecorateHelper:J,createRunInitializersHelper:K,createAssignHelper:Y,createAwaitHelper:oe,createAsyncGeneratorHelper:se,createAsyncDelegatorHelper:ge,createAsyncValuesHelper:ae,createRestHelper:Ce,createAwaiterHelper:ne,createExtendsHelper:ve,createTemplateObjectHelper:Se,createSpreadArrayHelper:Ne,createPropKeyHelper:pe,createSetFunctionNameHelper:fe,createValuesHelper:xe,createReadHelper:Be,createGeneratorHelper:We,createCreateBindingHelper:Ae,createImportStarHelper:De,createImportStarCallbackHelper:He,createImportDefaultHelper:Je,createExportStarHelper:ft,createClassPrivateFieldGetHelper:Ze,createClassPrivateFieldSetHelper:je,createClassPrivateFieldInHelper:Ke,createAddDisposableResourceHelper:Gt,createDisposeResourcesHelper:Yt};function f(Ie){return Yn(u.createIdentifier(Ie),8196)}function p(Ie,lt,St,It){t.requestEmitHelper(kZ);const ti=[];return ti.push(u.createArrayLiteralExpression(Ie,!0)),ti.push(lt),St&&(ti.push(St),It&&ti.push(It)),u.createCallExpression(f("__decorate"),void 0,ti)}function E(Ie,lt){return t.requestEmitHelper(FZ),u.createCallExpression(f("__metadata"),void 0,[u.createStringLiteral(Ie),lt])}function v(Ie,lt,St){return t.requestEmitHelper(AZ),Pt(u.createCallExpression(f("__param"),void 0,[u.createNumericLiteral(lt+""),Ie]),St)}function b(Ie){const lt=[u.createPropertyAssignment(u.createIdentifier("kind"),u.createStringLiteral("class")),u.createPropertyAssignment(u.createIdentifier("name"),Ie.name),u.createPropertyAssignment(u.createIdentifier("metadata"),Ie.metadata)];return u.createObjectLiteralExpression(lt)}function B(Ie){const lt=Ie.computed?u.createElementAccessExpression(u.createIdentifier("obj"),Ie.name):u.createPropertyAccessExpression(u.createIdentifier("obj"),Ie.name);return u.createPropertyAssignment("get",u.createArrowFunction(void 0,void 0,[u.createParameterDeclaration(void 0,void 0,u.createIdentifier("obj"))],void 0,void 0,lt))}function k(Ie){const lt=Ie.computed?u.createElementAccessExpression(u.createIdentifier("obj"),Ie.name):u.createPropertyAccessExpression(u.createIdentifier("obj"),Ie.name);return u.createPropertyAssignment("set",u.createArrowFunction(void 0,void 0,[u.createParameterDeclaration(void 0,void 0,u.createIdentifier("obj")),u.createParameterDeclaration(void 0,void 0,u.createIdentifier("value"))],void 0,void 0,u.createBlock([u.createExpressionStatement(u.createAssignment(lt,u.createIdentifier("value")))])))}function T(Ie){const lt=Ie.computed?Ie.name:at(Ie.name)?u.createStringLiteralFromNode(Ie.name):Ie.name;return u.createPropertyAssignment("has",u.createArrowFunction(void 0,void 0,[u.createParameterDeclaration(void 0,void 0,u.createIdentifier("obj"))],void 0,void 0,u.createBinaryExpression(lt,103,u.createIdentifier("obj"))))}function M(Ie,lt){const St=[];return St.push(T(Ie)),lt.get&&St.push(B(Ie)),lt.set&&St.push(k(Ie)),u.createObjectLiteralExpression(St)}function z(Ie){const lt=[u.createPropertyAssignment(u.createIdentifier("kind"),u.createStringLiteral(Ie.kind)),u.createPropertyAssignment(u.createIdentifier("name"),Ie.name.computed?Ie.name.name:u.createStringLiteralFromNode(Ie.name.name)),u.createPropertyAssignment(u.createIdentifier("static"),Ie.static?u.createTrue():u.createFalse()),u.createPropertyAssignment(u.createIdentifier("private"),Ie.private?u.createTrue():u.createFalse()),u.createPropertyAssignment(u.createIdentifier("access"),M(Ie.name,Ie.access)),u.createPropertyAssignment(u.createIdentifier("metadata"),Ie.metadata)];return u.createObjectLiteralExpression(lt)}function j(Ie){return Ie.kind==="class"?b(Ie):z(Ie)}function J(Ie,lt,St,It,ti,ht){return t.requestEmitHelper(SZ),u.createCallExpression(f("__esDecorate"),void 0,[Ie??u.createNull(),lt??u.createNull(),St,j(It),ti,ht])}function K(Ie,lt,St){return t.requestEmitHelper(BZ),u.createCallExpression(f("__runInitializers"),void 0,St?[Ie,lt,St]:[Ie,lt])}function Y(Ie){return Rs(t.getCompilerOptions())>=2?u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("Object"),"assign"),void 0,Ie):(t.requestEmitHelper(wZ),u.createCallExpression(f("__assign"),void 0,Ie))}function oe(Ie){return t.requestEmitHelper(A7),u.createCallExpression(f("__await"),void 0,[Ie])}function se(Ie,lt){return t.requestEmitHelper(A7),t.requestEmitHelper(TZ),(Ie.emitNode||(Ie.emitNode={})).flags|=1572864,u.createCallExpression(f("__asyncGenerator"),void 0,[lt?u.createThis():u.createVoidZero(),u.createIdentifier("arguments"),Ie])}function ge(Ie){return t.requestEmitHelper(A7),t.requestEmitHelper(LZ),u.createCallExpression(f("__asyncDelegator"),void 0,[Ie])}function ae(Ie){return t.requestEmitHelper(NZ),u.createCallExpression(f("__asyncValues"),void 0,[Ie])}function Ce(Ie,lt,St,It){t.requestEmitHelper(PZ);const ti=[];let ht=0;for(let Ut=0;Ut{let d="";for(let f=0;ft.name))}function OP(t,u){return Po(t)&&at(t.expression)&&(Cs(t.expression)&8192)!==0&&t.expression.escapedText===u}var hce,kZ,FZ,AZ,SZ,BZ,wZ,A7,TZ,LZ,NZ,PZ,MZ,zZ,IZ,RZ,OZ,jZ,VZ,HZ,KZ,_B,WZ,DV,GZ,JZ,$Z,UZ,qZ,ZZ,YZ,VYe,xV,vV,wLt=o({"src/compiler/factory/emitHelpers.ts"(){So(),hce=(t=>(t.Field="f",t.Method="m",t.Accessor="a",t))(hce||{}),kZ={name:"typescript:decorate",importName:"__decorate",scoped:!1,priority:2,text:` + var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + };`},FZ={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:` + var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); + };`},AZ={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:` + var __param = (this && this.__param) || function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + };`},SZ={name:"typescript:esDecorate",importName:"__esDecorate",scoped:!1,priority:2,text:` + var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { + function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } + var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; + var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; + var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); + var _, done = false; + for (var i = decorators.length - 1; i >= 0; i--) { + var context = {}; + for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; + for (var p in contextIn.access) context.access[p] = contextIn.access[p]; + context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; + var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); + if (kind === "accessor") { + if (result === void 0) continue; + if (result === null || typeof result !== "object") throw new TypeError("Object expected"); + if (_ = accept(result.get)) descriptor.get = _; + if (_ = accept(result.set)) descriptor.set = _; + if (_ = accept(result.init)) initializers.unshift(_); + } + else if (_ = accept(result)) { + if (kind === "field") initializers.unshift(_); + else descriptor[key] = _; + } + } + if (target) Object.defineProperty(target, contextIn.name, descriptor); + done = true; + };`},BZ={name:"typescript:runInitializers",importName:"__runInitializers",scoped:!1,priority:2,text:` + var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { + var useValue = arguments.length > 2; + for (var i = 0; i < initializers.length; i++) { + value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); + } + return useValue ? value : void 0; + };`},wZ={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:` + var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); + };`},A7={name:"typescript:await",importName:"__await",scoped:!1,text:` + var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }`},TZ={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[A7],text:` + var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } + function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + };`},LZ={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[A7],text:` + var __asyncDelegator = (this && this.__asyncDelegator) || function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } + };`},NZ={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:` + var __asyncValues = (this && this.__asyncValues) || function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + };`},PZ={name:"typescript:rest",importName:"__rest",scoped:!1,text:` + var __rest = (this && this.__rest) || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + };`},MZ={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:` + var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + };`},zZ={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:` + var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + + return function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + })();`},IZ={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:` + var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + };`},RZ={name:"typescript:read",importName:"__read",scoped:!1,text:` + var __read = (this && this.__read) || function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + };`},OZ={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:` + var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); + };`},jZ={name:"typescript:propKey",importName:"__propKey",scoped:!1,text:` + var __propKey = (this && this.__propKey) || function (x) { + return typeof x === "symbol" ? x : "".concat(x); + };`},VZ={name:"typescript:setFunctionName",importName:"__setFunctionName",scoped:!1,text:` + var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { + if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; + return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); + };`},HZ={name:"typescript:values",importName:"__values",scoped:!1,text:` + var __values = (this && this.__values) || function(o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + };`},KZ={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:` + var __generator = (this && this.__generator) || function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; + return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + };`},_B={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:` + var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); + }) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }));`},WZ={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:` + var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); + }) : function(o, v) { + o["default"] = v; + });`},DV={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[_B,WZ],priority:2,text:` + var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; + };`},GZ={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:` + var __importDefault = (this && this.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + };`},JZ={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[_B],priority:2,text:` + var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); + };`},$Z={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:` + var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); + return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); + };`},UZ={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:` + var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { + if (kind === "m") throw new TypeError("Private method is not writable"); + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); + return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; + };`},qZ={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:` + var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) { + if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); + return typeof state === "function" ? receiver === state : state.has(receiver); + };`},ZZ={name:"typescript:addDisposableResource",importName:"__addDisposableResource",scoped:!1,text:` + var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { + if (value !== null && value !== void 0) { + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); + var dispose; + if (async) { + if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); + dispose = value[Symbol.asyncDispose]; + } + if (dispose === void 0) { + if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); + dispose = value[Symbol.dispose]; + } + if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + env.stack.push({ value: value, dispose: dispose, async: async }); + } + else if (async) { + env.stack.push({ async: true }); + } + return value; + };`},YZ={name:"typescript:disposeResources",importName:"__disposeResources",scoped:!1,text:` + var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) { + return function (env) { + function fail(e) { + env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; + env.hasError = true; + } + function next() { + while (env.stack.length) { + var rec = env.stack.pop(); + try { + var result = rec.dispose && rec.dispose.call(rec.value); + if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + catch (e) { + fail(e); + } + } + if (env.hasError) throw env.error; + } + return next(); + }; + })(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { + var e = new Error(message); + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; + });`},xV={name:"typescript:async-super",scoped:!0,text:cce` + const ${"_superIndex"} = name => super[name];`},vV={name:"typescript:advanced-async-super",scoped:!0,text:cce` + const ${"_superIndex"} = (function (geti, seti) { + const cache = Object.create(null); + return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } }); + })(name => super[name], (name, value) => super[name] = value);`}}});function Rf(t){return t.kind===9}function QZ(t){return t.kind===10}function us(t){return t.kind===11}function S7(t){return t.kind===12}function fce(t){return t.kind===14}function B7(t){return t.kind===15}function DB(t){return t.kind===16}function $ke(t){return t.kind===17}function mce(t){return t.kind===18}function XZ(t){return t.kind===26}function Uke(t){return t.kind===28}function pce(t){return t.kind===40}function gce(t){return t.kind===41}function CV(t){return t.kind===42}function bV(t){return t.kind===54}function Kx(t){return t.kind===58}function qke(t){return t.kind===59}function eY(t){return t.kind===29}function Zke(t){return t.kind===39}function at(t){return t.kind===80}function ea(t){return t.kind===81}function w7(t){return t.kind===95}function tY(t){return t.kind===90}function jP(t){return t.kind===134}function Yke(t){return t.kind===131}function Ece(t){return t.kind===135}function Qke(t){return t.kind===148}function T7(t){return t.kind===126}function Xke(t){return t.kind===128}function eFe(t){return t.kind===164}function tFe(t){return t.kind===129}function VP(t){return t.kind===108}function HP(t){return t.kind===102}function iFe(t){return t.kind===84}function xf(t){return t.kind===166}function Ns(t){return t.kind===167}function Bl(t){return t.kind===168}function Qa(t){return t.kind===169}function p1(t){return t.kind===170}function Pm(t){return t.kind===171}function yo(t){return t.kind===172}function i3(t){return t.kind===173}function cc(t){return t.kind===174}function zl(t){return t.kind===175}function dc(t){return t.kind===176}function Mm(t){return t.kind===177}function Of(t){return t.kind===178}function xB(t){return t.kind===179}function yV(t){return t.kind===180}function pk(t){return t.kind===181}function iY(t){return t.kind===182}function Y4(t){return t.kind===183}function n3(t){return t.kind===184}function KP(t){return t.kind===185}function vB(t){return t.kind===186}function hm(t){return t.kind===187}function nY(t){return t.kind===188}function CB(t){return t.kind===189}function WP(t){return t.kind===202}function _ce(t){return t.kind===190}function Dce(t){return t.kind===191}function Lv(t){return t.kind===192}function bB(t){return t.kind===193}function yB(t){return t.kind===194}function L7(t){return t.kind===195}function N7(t){return t.kind===196}function uY(t){return t.kind===197}function P7(t){return t.kind===198}function M7(t){return t.kind===199}function GP(t){return t.kind===200}function Nv(t){return t.kind===201}function iD(t){return t.kind===205}function nFe(t){return t.kind===204}function HYe(t){return t.kind===203}function Mp(t){return t.kind===206}function gk(t){return t.kind===207}function Os(t){return t.kind===208}function _h(t){return t.kind===209}function bs(t){return t.kind===210}function zu(t){return t.kind===211}function G0(t){return t.kind===212}function Po(t){return t.kind===213}function I2(t){return t.kind===214}function Ek(t){return t.kind===215}function uFe(t){return t.kind===216}function vf(t){return t.kind===217}function A0(t){return t.kind===218}function J0(t){return t.kind===219}function rFe(t){return t.kind===220}function kB(t){return t.kind===221}function z7(t){return t.kind===222}function Wx(t){return t.kind===223}function Pv(t){return t.kind===224}function xce(t){return t.kind===225}function eu(t){return t.kind===226}function FB(t){return t.kind===227}function rY(t){return t.kind===228}function aY(t){return t.kind===229}function nE(t){return t.kind===230}function Qd(t){return t.kind===231}function kd(t){return t.kind===232}function l5(t){return t.kind===233}function kV(t){return t.kind===234}function aFe(t){return t.kind===238}function I7(t){return t.kind===235}function JP(t){return t.kind===236}function KYe(t){return t.kind===237}function oY(t){return t.kind===360}function $P(t){return t.kind===361}function UP(t){return t.kind===239}function oFe(t){return t.kind===240}function ho(t){return t.kind===241}function Gl(t){return t.kind===243}function vce(t){return t.kind===242}function Id(t){return t.kind===244}function _k(t){return t.kind===245}function WYe(t){return t.kind===246}function GYe(t){return t.kind===247}function Dk(t){return t.kind===248}function sY(t){return t.kind===249}function FV(t){return t.kind===250}function JYe(t){return t.kind===251}function $Ye(t){return t.kind===252}function zp(t){return t.kind===253}function sFe(t){return t.kind===254}function AV(t){return t.kind===255}function R2(t){return t.kind===256}function Cce(t){return t.kind===257}function xk(t){return t.kind===258}function UYe(t){return t.kind===259}function ra(t){return t.kind===260}function Fd(t){return t.kind===261}function Xc(t){return t.kind===262}function Wc(t){return t.kind===263}function Dh(t){return t.kind===264}function Ip(t){return t.kind===265}function Mv(t){return t.kind===266}function Ec(t){return t.kind===267}function uE(t){return t.kind===268}function qP(t){return t.kind===269}function SV(t){return t.kind===270}function g1(t){return t.kind===271}function Ad(t){return t.kind===272}function i_(t){return t.kind===273}function qYe(t){return t.kind===302}function lFe(t){return t.kind===300}function ZYe(t){return t.kind===301}function lY(t){return t.kind===300}function cFe(t){return t.kind===301}function Gx(t){return t.kind===274}function n_(t){return t.kind===280}function nD(t){return t.kind===275}function Cf(t){return t.kind===276}function ec(t){return t.kind===277}function Gc(t){return t.kind===278}function Q4(t){return t.kind===279}function X1(t){return t.kind===281}function YYe(t){return t.kind===282}function bce(t){return t.kind===359}function R7(t){return t.kind===362}function u_(t){return t.kind===283}function u3(t){return t.kind===284}function vk(t){return t.kind===285}function rE(t){return t.kind===286}function O2(t){return t.kind===287}function j2(t){return t.kind===288}function O7(t){return t.kind===289}function dFe(t){return t.kind===290}function aE(t){return t.kind===291}function V2(t){return t.kind===292}function j7(t){return t.kind===293}function ZP(t){return t.kind===294}function mg(t){return t.kind===295}function AB(t){return t.kind===296}function BV(t){return t.kind===297}function fm(t){return t.kind===298}function H2(t){return t.kind===299}function Jc(t){return t.kind===303}function mm(t){return t.kind===304}function c5(t){return t.kind===305}function K2(t){return t.kind===306}function hFe(t){return t.kind===308}function ca(t){return t.kind===312}function yce(t){return t.kind===313}function Ck(t){return t.kind===314}function bk(t){return t.kind===316}function YP(t){return t.kind===317}function zv(t){return t.kind===318}function fFe(t){return t.kind===331}function mFe(t){return t.kind===332}function QYe(t){return t.kind===333}function pFe(t){return t.kind===319}function gFe(t){return t.kind===320}function SB(t){return t.kind===321}function cY(t){return t.kind===322}function kce(t){return t.kind===323}function BB(t){return t.kind===324}function dY(t){return t.kind===325}function XYe(t){return t.kind===326}function Rp(t){return t.kind===327}function V7(t){return t.kind===329}function Iv(t){return t.kind===330}function wB(t){return t.kind===335}function eQe(t){return t.kind===337}function EFe(t){return t.kind===339}function Fce(t){return t.kind===345}function Ace(t){return t.kind===340}function Sce(t){return t.kind===341}function Bce(t){return t.kind===342}function wce(t){return t.kind===343}function hY(t){return t.kind===344}function TB(t){return t.kind===346}function Tce(t){return t.kind===338}function tQe(t){return t.kind===354}function wV(t){return t.kind===347}function pg(t){return t.kind===348}function fY(t){return t.kind===349}function _Fe(t){return t.kind===350}function QP(t){return t.kind===351}function gg(t){return t.kind===352}function LB(t){return t.kind===353}function iQe(t){return t.kind===334}function DFe(t){return t.kind===355}function Lce(t){return t.kind===336}function mY(t){return t.kind===357}function nQe(t){return t.kind===356}function NB(t){return t.kind===358}var TLt=o({"src/compiler/factory/nodeTests.ts"(){So()}});function TV(t){return t.createExportDeclaration(void 0,!1,t.createNamedExports([]),void 0)}function yk(t,u,s,d){if(Ns(s))return Pt(t.createElementAccessExpression(u,s.expression),d);{const f=Pt(G_(s)?t.createPropertyAccessExpression(u,s):t.createElementAccessExpression(u,s),s);return t_(f,128),f}}function xFe(t,u){const s=r_.createIdentifier(t||"React");return ys(s,Ja(u)),s}function vFe(t,u,s){if(xf(u)){const d=vFe(t,u.left,s),f=t.createIdentifier(fu(u.right));return f.escapedText=u.right.escapedText,t.createPropertyAccessExpression(d,f)}else return xFe(fu(u),s)}function Nce(t,u,s,d){return u?vFe(t,u,d):t.createPropertyAccessExpression(xFe(s,d),"createElement")}function LLt(t,u,s,d){return u?vFe(t,u,d):t.createPropertyAccessExpression(xFe(s,d),"Fragment")}function CFe(t,u,s,d,f,p){const E=[s];if(d&&E.push(d),f&&f.length>0)if(d||E.push(t.createNull()),f.length>1)for(const v of f)xh(v),E.push(v);else E.push(f[0]);return Pt(t.createCallExpression(u,void 0,E),p)}function bFe(t,u,s,d,f,p,E){const b=[LLt(t,s,d,p),t.createNull()];if(f&&f.length>0)if(f.length>1)for(const B of f)xh(B),b.push(B);else b.push(f[0]);return Pt(t.createCallExpression(Nce(t,u,d,p),void 0,b),E)}function Pce(t,u,s){if(Fd(u)){const d=Pn(u.declarations),f=t.updateVariableDeclaration(d,d.name,void 0,void 0,s);return Pt(t.createVariableStatement(void 0,t.updateVariableDeclarationList(u,[f])),u)}else{const d=Pt(t.createAssignment(u,s),u);return Pt(t.createExpressionStatement(d),u)}}function uQe(t,u,s){return ho(u)?t.updateBlock(u,Pt(t.createNodeArray([s,...u.statements]),u.statements)):t.createBlock(t.createNodeArray([u,s]),!0)}function LV(t,u){if(xf(u)){const s=LV(t,u.left),d=ys(Pt(t.cloneNode(u.right),u.right),u.right.parent);return Pt(t.createPropertyAccessExpression(s,d),u)}else return ys(Pt(t.cloneNode(u),u),u.parent)}function Mce(t,u){return at(u)?t.createStringLiteralFromNode(u):Ns(u)?ys(Pt(t.cloneNode(u.expression),u.expression),u.expression.parent):ys(Pt(t.cloneNode(u),u),u.parent)}function NLt(t,u,s,d,f){const{firstAccessor:p,getAccessor:E,setAccessor:v}=lk(u,s);if(s===p)return Pt(t.createObjectDefinePropertyCall(d,Mce(t,s.name),t.createPropertyDescriptor({enumerable:t.createFalse(),configurable:!0,get:E&&Pt(su(t.createFunctionExpression(h2(E),void 0,void 0,void 0,E.parameters,void 0,E.body),E),E),set:v&&Pt(su(t.createFunctionExpression(h2(v),void 0,void 0,void 0,v.parameters,void 0,v.body),v),v)},!f)),p)}function PLt(t,u,s){return su(Pt(t.createAssignment(yk(t,s,u.name,u.name),u.initializer),u),u)}function MLt(t,u,s){return su(Pt(t.createAssignment(yk(t,s,u.name,u.name),t.cloneNode(u.name)),u),u)}function zLt(t,u,s){return su(Pt(t.createAssignment(yk(t,s,u.name,u.name),su(Pt(t.createFunctionExpression(h2(u),u.asteriskToken,void 0,void 0,u.parameters,void 0,u.body),u),u)),u),u)}function yFe(t,u,s,d){switch(s.name&&ea(s.name)&&H.failBadSyntaxKind(s.name,"Private identifiers are not allowed in object literals."),s.kind){case 177:case 178:return NLt(t,u.properties,s,d,!!u.multiLine);case 303:return PLt(t,s,d);case 304:return MLt(t,s,d);case 174:return zLt(t,s,d)}}function pY(t,u,s,d,f){const p=u.operator;H.assert(p===46||p===47,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");const E=t.createTempVariable(d);s=t.createAssignment(E,s),Pt(s,u.operand);let v=Pv(u)?t.createPrefixUnaryExpression(p,E):t.createPostfixUnaryExpression(E,p);return Pt(v,u),f&&(v=t.createAssignment(f,v),Pt(v,u)),s=t.createComma(s,v),Pt(s,u),xce(u)&&(s=t.createComma(s,E),Pt(s,u)),s}function zce(t){return(Cs(t)&65536)!==0}function uD(t){return(Cs(t)&32768)!==0}function gY(t){return(Cs(t)&16384)!==0}function rQe(t){return us(t.expression)&&t.expression.text==="use strict"}function Ice(t){for(const u of t)if(Lp(u)){if(rQe(u))return u}else break}function kFe(t){const u=Ki(t);return u!==void 0&&Lp(u)&&rQe(u)}function NV(t){return t.kind===226&&t.operatorToken.kind===28}function XP(t){return NV(t)||$P(t)}function eM(t){return vf(t)&&Xn(t)&&!!_v(t)}function EY(t){const u=Dv(t);return H.assertIsDefined(u),u}function _Y(t,u=15){switch(t.kind){case 217:return u&16&&eM(t)?!1:(u&1)!==0;case 216:case 234:case 233:case 238:return(u&2)!==0;case 235:return(u&4)!==0;case 360:return(u&8)!==0}return!1}function _c(t,u=15){for(;_Y(t,u);)t=t.expression;return t}function FFe(t,u=15){let s=t.parent;for(;_Y(s,u);)s=s.parent,H.assert(s);return s}function aQe(t){return _c(t,6)}function xh(t){return CZ(t,!0)}function PV(t){const u=Kl(t,ca),s=u&&u.emitNode;return s&&s.externalHelpersModuleName}function AFe(t){const u=Kl(t,ca),s=u&&u.emitNode;return!!s&&(!!s.externalHelpersModuleName||!!s.externalHelpers)}function Rce(t,u,s,d,f,p,E){if(d.importHelpers&&a7(s,d)){let v;const b=f1(d);if(b>=5&&b<=99||s.impliedNodeFormat===99){const B=yZ(s);if(B){const k=[];for(const T of B)if(!T.scoped){const M=T.importName;M&&xa(k,M)}if(Ge(k)){k.sort(ch),v=t.createNamedImports(Kt(k,z=>UU(s,z)?t.createImportSpecifier(!1,void 0,t.createIdentifier(z)):t.createImportSpecifier(!1,t.createIdentifier(z),u.getUnscopedHelperName(z))));const T=Kl(s,ca),M=N1(T);M.externalHelpers=!0}}}else{const B=SFe(t,s,d,f,p||E);B&&(v=t.createNamespaceImport(B))}if(v){const B=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,v),t.createStringLiteral(Vx),void 0);return y7(B,2),B}}}function SFe(t,u,s,d,f){if(s.importHelpers&&a7(u,s)){const p=PV(u);if(p)return p;const E=f1(s);let v=(d||XE(s)&&f)&&E!==4&&(E<5||u.impliedNodeFormat===1);if(!v){const b=yZ(u);if(b){for(const B of b)if(!B.scoped){v=!0;break}}}if(v){const b=Kl(u,ca),B=N1(b);return B.externalHelpersModuleName||(B.externalHelpersModuleName=t.createUniqueName(Vx))}}}function PB(t,u,s){const d=Z8(u);if(d&&!s7(u)&&!ZU(u)){const f=d.name;return al(f)?f:t.createIdentifier(E2(s,f)||fu(f))}if(u.kind===272&&u.importClause||u.kind===278&&u.moduleSpecifier)return t.getGeneratedNameForNode(u)}function H7(t,u,s,d,f,p){const E=q8(u);if(E&&us(E))return RLt(u,d,t,f,p)||ILt(t,E,s)||t.cloneNode(E)}function ILt(t,u,s){const d=s.renamedDependencies&&s.renamedDependencies.get(u.text);return d?t.createStringLiteral(d):void 0}function MV(t,u,s,d){if(u){if(u.moduleName)return t.createStringLiteral(u.moduleName);if(!u.isDeclarationFile&&b0(d))return t.createStringLiteral(ele(s,u.fileName))}}function RLt(t,u,s,d,f){return MV(s,d.getExternalModuleFileFromDeclaration(t),u,f)}function zV(t){if(GO(t))return t.initializer;if(Jc(t)){const u=t.initializer;return od(u,!0)?u.right:void 0}if(mm(t))return t.objectAssignmentInitializer;if(od(t,!0))return t.right;if(nE(t))return zV(t.expression)}function Jx(t){if(GO(t))return t.name;if(q3(t)){switch(t.kind){case 303:return Jx(t.initializer);case 304:return t.name;case 305:return Jx(t.expression)}return}return od(t,!0)?Jx(t.left):nE(t)?Jx(t.expression):t}function DY(t){switch(t.kind){case 169:case 208:return t.dotDotDotToken;case 230:case 305:return t}}function Oce(t){const u=xY(t);return H.assert(!!u||c5(t),"Invalid property name for binding element."),u}function xY(t){switch(t.kind){case 208:if(t.propertyName){const s=t.propertyName;return ea(s)?H.failBadSyntaxKind(s):Ns(s)&&oQe(s.expression)?s.expression:s}break;case 303:if(t.name){const s=t.name;return ea(s)?H.failBadSyntaxKind(s):Ns(s)&&oQe(s.expression)?s.expression:s}break;case 305:return t.name&&ea(t.name)?H.failBadSyntaxKind(t.name):t.name}const u=Jx(t);if(u&&Ac(u))return u}function oQe(t){const u=t.kind;return u===11||u===9}function MB(t){switch(t.kind){case 206:case 207:case 209:return t.elements;case 210:return t.properties}}function jce(t){if(t){let u=t;for(;;){if(at(u)||!u.body)return at(u)?u:u.name;u=u.body}}}function sQe(t){const u=t.kind;return u===176||u===178}function BFe(t){const u=t.kind;return u===176||u===177||u===178}function Vce(t){const u=t.kind;return u===303||u===304||u===262||u===176||u===181||u===175||u===282||u===243||u===264||u===265||u===266||u===267||u===271||u===272||u===270||u===278||u===277}function wFe(t){const u=t.kind;return u===175||u===303||u===304||u===282||u===270}function TFe(t){return Kx(t)||bV(t)}function LFe(t){return at(t)||uY(t)}function NFe(t){return Qke(t)||pce(t)||gce(t)}function PFe(t){return Kx(t)||pce(t)||gce(t)}function MFe(t){return at(t)||us(t)}function lQe(t){const u=t.kind;return u===106||u===112||u===97||m2(t)||Pv(t)}function OLt(t){return t===43}function jLt(t){return t===42||t===44||t===45}function VLt(t){return OLt(t)||jLt(t)}function HLt(t){return t===40||t===41}function KLt(t){return HLt(t)||VLt(t)}function WLt(t){return t===48||t===49||t===50}function Hce(t){return WLt(t)||KLt(t)}function GLt(t){return t===30||t===33||t===32||t===34||t===104||t===103}function JLt(t){return GLt(t)||Hce(t)}function $Lt(t){return t===35||t===37||t===36||t===38}function ULt(t){return $Lt(t)||JLt(t)}function qLt(t){return t===51||t===52||t===53}function ZLt(t){return qLt(t)||ULt(t)}function YLt(t){return t===56||t===57}function QLt(t){return YLt(t)||ZLt(t)}function XLt(t){return t===61||QLt(t)||n5(t)}function eNt(t){return XLt(t)||t===28}function zFe(t){return eNt(t.kind)}function vY(t,u,s,d,f,p){const E=new hQe(t,u,s,d,f,p);return v;function v(b,B){const k={value:void 0},T=[Wce.enter],M=[b],z=[void 0];let j=0;for(;T[j]!==Wce.done;)j=T[j](E,j,T,M,z,k,B);return H.assertEqual(j,0),k.value}}function cQe(t){return t===95||t===90}function IV(t){const u=t.kind;return cQe(u)}function dQe(t){const u=t.kind;return QD(u)&&!cQe(u)}function IFe(t,u){if(u!==void 0)return u.length===0?u:Pt(t.createNodeArray([],u.hasTrailingComma),u)}function RV(t){var u;const s=t.emitNode.autoGenerate;if(s.flags&4){const d=s.id;let f=t,p=f.original;for(;p;){f=p;const E=(u=f.emitNode)==null?void 0:u.autoGenerate;if(G_(f)&&(E===void 0||E.flags&4&&E.id!==d))break;p=f.original}return f}return t}function zB(t,u){return typeof t=="object"?Rv(!1,t.prefix,t.node,t.suffix,u):typeof t=="string"?t.length>0&&t.charCodeAt(0)===35?t.slice(1):t:""}function tNt(t,u){return typeof t=="string"?t:iNt(t,H.checkDefined(u))}function iNt(t,u){return Jy(t)?u(t).slice(1):al(t)?u(t):ea(t)?t.escapedText.slice(1):fu(t)}function Rv(t,u,s,d,f){return u=zB(u,f),d=zB(d,f),s=tNt(s,f),`${t?"#":""}${u}${s}${d}`}function Kce(t,u,s,d){return t.updatePropertyDeclaration(u,s,t.getGeneratedPrivateNameForNode(u.name,void 0,"_accessor_storage"),void 0,void 0,d)}function RFe(t,u,s,d,f=t.createThis()){return t.createGetAccessorDeclaration(s,d,[],void 0,t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(f,t.getGeneratedPrivateNameForNode(u.name,void 0,"_accessor_storage")))]))}function OFe(t,u,s,d,f=t.createThis()){return t.createSetAccessorDeclaration(s,d,[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(f,t.getGeneratedPrivateNameForNode(u.name,void 0,"_accessor_storage")),t.createIdentifier("value")))]))}function CY(t){let u=t.expression;for(;;){if(u=_c(u),$P(u)){u=Cr(u.elements);continue}if(NV(u)){u=u.right;continue}if(od(u,!0)&&al(u.left))return u;break}}function nNt(t){return vf(t)&&sl(t)&&!t.emitNode}function bY(t,u){if(nNt(t))bY(t.expression,u);else if(NV(t))bY(t.left,u),bY(t.right,u);else if($P(t))for(const s of t.elements)bY(s,u);else u.push(t)}function jFe(t){const u=[];return bY(t,u),u}function OV(t){if(t.transformFlags&65536)return!0;if(t.transformFlags&128)for(const u of MB(t)){const s=Jx(u);if(s&&HN(s)&&(s.transformFlags&65536||s.transformFlags&128&&OV(s)))return!0}return!1}var Wce,hQe,uNt=o({"src/compiler/factory/utilities.ts"(){So(),(t=>{function u(k,T,M,z,j,J,K){const Y=T>0?j[T-1]:void 0;return H.assertEqual(M[T],u),j[T]=k.onEnter(z[T],Y,K),M[T]=v(k,u),T}t.enter=u;function s(k,T,M,z,j,J,K){H.assertEqual(M[T],s),H.assertIsDefined(k.onLeft),M[T]=v(k,s);const Y=k.onLeft(z[T].left,j[T],z[T]);return Y?(B(T,z,Y),b(T,M,z,j,Y)):T}t.left=s;function d(k,T,M,z,j,J,K){return H.assertEqual(M[T],d),H.assertIsDefined(k.onOperator),M[T]=v(k,d),k.onOperator(z[T].operatorToken,j[T],z[T]),T}t.operator=d;function f(k,T,M,z,j,J,K){H.assertEqual(M[T],f),H.assertIsDefined(k.onRight),M[T]=v(k,f);const Y=k.onRight(z[T].right,j[T],z[T]);return Y?(B(T,z,Y),b(T,M,z,j,Y)):T}t.right=f;function p(k,T,M,z,j,J,K){H.assertEqual(M[T],p),M[T]=v(k,p);const Y=k.onExit(z[T],j[T]);if(T>0){if(T--,k.foldState){const oe=M[T]===p?"right":"left";j[T]=k.foldState(j[T],Y,oe)}}else J.value=Y;return T}t.exit=p;function E(k,T,M,z,j,J,K){return H.assertEqual(M[T],E),T}t.done=E;function v(k,T){switch(T){case u:if(k.onLeft)return s;case s:if(k.onOperator)return d;case d:if(k.onRight)return f;case f:return p;case p:return E;case E:return E;default:H.fail("Invalid state")}}t.nextState=v;function b(k,T,M,z,j){return k++,T[k]=u,M[k]=j,z[k]=void 0,k}function B(k,T,M){if(H.shouldAssert(2))for(;k>=0;)H.assert(T[k]!==M,"Circular traversal detected."),k--}})(Wce||(Wce={})),hQe=class{constructor(t,u,s,d,f,p){this.onEnter=t,this.onLeft=u,this.onOperator=s,this.onRight=d,this.onExit=f,this.foldState=p}}}});function Pt(t,u){return u?e_(t,u.pos,u.end):t}function Op(t){const u=t.kind;return u===168||u===169||u===171||u===172||u===173||u===174||u===176||u===177||u===178||u===181||u===185||u===218||u===219||u===231||u===243||u===262||u===263||u===264||u===265||u===266||u===267||u===271||u===272||u===277||u===278}function kk(t){const u=t.kind;return u===169||u===172||u===174||u===177||u===178||u===231||u===263}var rNt=o({"src/compiler/factory/utilitiesPublic.ts"(){So()}});function Bi(t,u){return u&&t(u)}function Jr(t,u,s){if(s){if(u)return u(s);for(const d of s){const f=t(d);if(f)return f}}}function Gce(t,u){return t.charCodeAt(u+1)===42&&t.charCodeAt(u+2)===42&&t.charCodeAt(u+3)!==47}function jV(t){return L(t.statements,aNt)||oNt(t)}function aNt(t){return Op(t)&&sNt(t,95)||g1(t)&&u_(t.moduleReference)||Ad(t)||ec(t)||Gc(t)?t:void 0}function oNt(t){return t.flags&8388608?fQe(t):void 0}function fQe(t){return lNt(t)?t:uo(t,fQe)}function sNt(t,u){return Ge(t.modifiers,s=>s.kind===u)}function lNt(t){return JP(t)&&t.keywordToken===102&&t.name.escapedText==="meta"}function mQe(t,u,s){return Jr(u,s,t.typeParameters)||Jr(u,s,t.parameters)||Bi(u,t.type)}function pQe(t,u,s){return Jr(u,s,t.types)}function gQe(t,u,s){return Bi(u,t.type)}function EQe(t,u,s){return Jr(u,s,t.elements)}function _Qe(t,u,s){return Bi(u,t.expression)||Bi(u,t.questionDotToken)||Jr(u,s,t.typeArguments)||Jr(u,s,t.arguments)}function DQe(t,u,s){return Jr(u,s,t.statements)}function xQe(t,u,s){return Bi(u,t.label)}function vQe(t,u,s){return Jr(u,s,t.modifiers)||Bi(u,t.name)||Jr(u,s,t.typeParameters)||Jr(u,s,t.heritageClauses)||Jr(u,s,t.members)}function CQe(t,u,s){return Jr(u,s,t.elements)}function bQe(t,u,s){return Bi(u,t.propertyName)||Bi(u,t.name)}function yQe(t,u,s){return Bi(u,t.tagName)||Jr(u,s,t.typeArguments)||Bi(u,t.attributes)}function tM(t,u,s){return Bi(u,t.type)}function kQe(t,u,s){return Bi(u,t.tagName)||(t.isNameFirst?Bi(u,t.name)||Bi(u,t.typeExpression):Bi(u,t.typeExpression)||Bi(u,t.name))||(typeof t.comment=="string"?void 0:Jr(u,s,t.comment))}function iM(t,u,s){return Bi(u,t.tagName)||Bi(u,t.typeExpression)||(typeof t.comment=="string"?void 0:Jr(u,s,t.comment))}function VFe(t,u,s){return Bi(u,t.name)}function IB(t,u,s){return Bi(u,t.tagName)||(typeof t.comment=="string"?void 0:Jr(u,s,t.comment))}function cNt(t,u,s){return Bi(u,t.expression)}function uo(t,u,s){if(t===void 0||t.kind<=165)return;const d=MQe[t.kind];return d===void 0?void 0:d(t,u,s)}function nM(t,u,s){const d=FQe(t),f=[];for(;f.length=0;--v)d.push(p[v]),f.push(E)}else{const v=u(p,E);if(v){if(v==="skip")continue;return v}if(p.kind>=166)for(const b of FQe(p))d.push(b),f.push(p)}}}function FQe(t){const u=[];return uo(t,s,s),u;function s(d){u.unshift(d)}}function AQe(t){t.externalModuleIndicator=jV(t)}function VV(t,u,s,d=!1,f){var p,E,v,b;(p=Jn)==null||p.push(Jn.Phase.Parse,"createSourceFile",{path:t},!0),ul("beforeParse");let B;(E=dh)==null||E.logStartParseSourceFile(t);const{languageVersion:k,setExternalModuleIndicator:T,impliedNodeFormat:M,jsDocParsingMode:z}=typeof s=="object"?s:{languageVersion:s};if(k===100)B=jv.parseSourceFile(t,u,k,void 0,d,6,zs,z);else{const j=M===void 0?T:J=>(J.impliedNodeFormat=M,(T||AQe)(J));B=jv.parseSourceFile(t,u,k,void 0,d,f,j,z)}return(v=dh)==null||v.logStopParseSourceFile(),ul("afterParse"),wm("Parse","beforeParse","afterParse"),(b=Jn)==null||b.pop(),B}function K7(t,u){return jv.parseIsolatedEntityName(t,u)}function HV(t,u){return jv.parseJsonText(t,u)}function Bc(t){return t.externalModuleIndicator!==void 0}function Jce(t,u,s,d=!1){const f=Zce.updateSourceFile(t,u,s,d);return f.flags|=t.flags&12582912,f}function HFe(t,u,s){const d=jv.JSDocParser.parseIsolatedJSDocComment(t,u,s);return d&&d.jsDoc&&jv.fixupParentReferences(d.jsDoc),d}function SQe(t,u,s){return jv.JSDocParser.parseJSDocTypeExpressionForTests(t,u,s)}function Xd(t){return jc(t,lV)||Ml(t,".ts")&&Fc(t).includes(".d.")}function dNt(t,u,s,d){if(t){if(t==="import")return 99;if(t==="require")return 1;d(u,s-u,F.resolution_mode_should_be_either_require_or_import)}}function $ce(t,u){const s=[];for(const d of K_(u,0)||_t){const f=u.substring(d.pos,d.end);fNt(s,d,f)}t.pragmas=new Map;for(const d of s){if(t.pragmas.has(d.name)){const f=t.pragmas.get(d.name);f instanceof Array?f.push(d.args):t.pragmas.set(d.name,[f,d.args]);continue}t.pragmas.set(d.name,d.args)}}function Uce(t,u){t.checkJsDirective=void 0,t.referencedFiles=[],t.typeReferenceDirectives=[],t.libReferenceDirectives=[],t.amdDependencies=[],t.hasNoDefaultLib=!1,t.pragmas.forEach((s,d)=>{switch(d){case"reference":{const f=t.referencedFiles,p=t.typeReferenceDirectives,E=t.libReferenceDirectives;L(qA(s),v=>{const{types:b,lib:B,path:k,["resolution-mode"]:T}=v.arguments;if(v.arguments["no-default-lib"])t.hasNoDefaultLib=!0;else if(b){const M=dNt(T,b.pos,b.end,u);p.push({pos:b.pos,end:b.end,fileName:b.value,...M?{resolutionMode:M}:{}})}else B?E.push({pos:B.pos,end:B.end,fileName:B.value}):k?f.push({pos:k.pos,end:k.end,fileName:k.value}):u(v.range.pos,v.range.end-v.range.pos,F.Invalid_reference_directive_syntax)});break}case"amd-dependency":{t.amdDependencies=Kt(qA(s),f=>({name:f.arguments.name,path:f.arguments.path}));break}case"amd-module":{if(s instanceof Array)for(const f of s)t.moduleName&&u(f.range.pos,f.range.end-f.range.pos,F.An_AMD_module_cannot_have_multiple_name_assignments),t.moduleName=f.arguments.name;else t.moduleName=s.arguments.name;break}case"ts-nocheck":case"ts-check":{L(qA(s),f=>{(!t.checkJsDirective||f.range.pos>t.checkJsDirective.pos)&&(t.checkJsDirective={enabled:d==="ts-check",end:f.range.end,pos:f.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:H.fail("Unhandled pragma kind")}})}function hNt(t){if(Yce.has(t))return Yce.get(t);const u=new RegExp(`(\\s${t}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return Yce.set(t,u),u}function fNt(t,u,s){const d=u.kind===2&&zQe.exec(s);if(d){const p=d[1].toLowerCase(),E=xO[p];if(!E||!(E.kind&1))return;if(E.args){const v={};for(const b of E.args){const k=hNt(b.name).exec(s);if(!k&&!b.optional)return;if(k){const T=k[2]||k[3];if(b.captureSpan){const M=u.pos+k.index+k[1].length+1;v[b.name]={value:T,pos:M,end:M+T.length}}else v[b.name]=T}}t.push({name:p,args:{arguments:v,range:u}})}else t.push({name:p,args:{arguments:{},range:u}});return}const f=u.kind===2&&IQe.exec(s);if(f)return BQe(t,u,2,f);if(u.kind===3){const p=/@(\S+)(\s+.*)?$/gim;let E;for(;E=p.exec(s);)BQe(t,u,4,E)}}function BQe(t,u,s,d){if(!d)return;const f=d[1].toLowerCase(),p=xO[f];if(!p||!(p.kind&s))return;const E=d[2],v=mNt(p,E);v!=="fail"&&t.push({name:f,args:{arguments:v,range:u}})}function mNt(t,u){if(!u)return{};if(!t.args)return{};const s=u.trim().split(/\s+/),d={};for(let f=0;fnew(PQe||(PQe=Yd.getSourceFileConstructor()))(t,-1,-1),createBaseIdentifierNode:t=>new(LQe||(LQe=Yd.getIdentifierConstructor()))(t,-1,-1),createBasePrivateIdentifierNode:t=>new(NQe||(NQe=Yd.getPrivateIdentifierConstructor()))(t,-1,-1),createBaseTokenNode:t=>new(TQe||(TQe=Yd.getTokenConstructor()))(t,-1,-1),createBaseNode:t=>new(wQe||(wQe=Yd.getNodeConstructor()))(t,-1,-1)},r_=hV(1,qce),MQe={166:function(u,s,d){return Bi(s,u.left)||Bi(s,u.right)},168:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Bi(s,u.constraint)||Bi(s,u.default)||Bi(s,u.expression)},304:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Bi(s,u.questionToken)||Bi(s,u.exclamationToken)||Bi(s,u.equalsToken)||Bi(s,u.objectAssignmentInitializer)},305:function(u,s,d){return Bi(s,u.expression)},169:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.dotDotDotToken)||Bi(s,u.name)||Bi(s,u.questionToken)||Bi(s,u.type)||Bi(s,u.initializer)},172:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Bi(s,u.questionToken)||Bi(s,u.exclamationToken)||Bi(s,u.type)||Bi(s,u.initializer)},171:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Bi(s,u.questionToken)||Bi(s,u.type)||Bi(s,u.initializer)},303:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Bi(s,u.questionToken)||Bi(s,u.exclamationToken)||Bi(s,u.initializer)},260:function(u,s,d){return Bi(s,u.name)||Bi(s,u.exclamationToken)||Bi(s,u.type)||Bi(s,u.initializer)},208:function(u,s,d){return Bi(s,u.dotDotDotToken)||Bi(s,u.propertyName)||Bi(s,u.name)||Bi(s,u.initializer)},181:function(u,s,d){return Jr(s,d,u.modifiers)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)},185:function(u,s,d){return Jr(s,d,u.modifiers)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)},184:function(u,s,d){return Jr(s,d,u.modifiers)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)},179:mQe,180:mQe,174:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.asteriskToken)||Bi(s,u.name)||Bi(s,u.questionToken)||Bi(s,u.exclamationToken)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)||Bi(s,u.body)},173:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Bi(s,u.questionToken)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)},176:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)||Bi(s,u.body)},177:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)||Bi(s,u.body)},178:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)||Bi(s,u.body)},262:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.asteriskToken)||Bi(s,u.name)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)||Bi(s,u.body)},218:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.asteriskToken)||Bi(s,u.name)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)||Bi(s,u.body)},219:function(u,s,d){return Jr(s,d,u.modifiers)||Jr(s,d,u.typeParameters)||Jr(s,d,u.parameters)||Bi(s,u.type)||Bi(s,u.equalsGreaterThanToken)||Bi(s,u.body)},175:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.body)},183:function(u,s,d){return Bi(s,u.typeName)||Jr(s,d,u.typeArguments)},182:function(u,s,d){return Bi(s,u.assertsModifier)||Bi(s,u.parameterName)||Bi(s,u.type)},186:function(u,s,d){return Bi(s,u.exprName)||Jr(s,d,u.typeArguments)},187:function(u,s,d){return Jr(s,d,u.members)},188:function(u,s,d){return Bi(s,u.elementType)},189:function(u,s,d){return Jr(s,d,u.elements)},192:pQe,193:pQe,194:function(u,s,d){return Bi(s,u.checkType)||Bi(s,u.extendsType)||Bi(s,u.trueType)||Bi(s,u.falseType)},195:function(u,s,d){return Bi(s,u.typeParameter)},205:function(u,s,d){return Bi(s,u.argument)||Bi(s,u.attributes)||Bi(s,u.qualifier)||Jr(s,d,u.typeArguments)},302:function(u,s,d){return Bi(s,u.assertClause)},196:gQe,198:gQe,199:function(u,s,d){return Bi(s,u.objectType)||Bi(s,u.indexType)},200:function(u,s,d){return Bi(s,u.readonlyToken)||Bi(s,u.typeParameter)||Bi(s,u.nameType)||Bi(s,u.questionToken)||Bi(s,u.type)||Jr(s,d,u.members)},201:function(u,s,d){return Bi(s,u.literal)},202:function(u,s,d){return Bi(s,u.dotDotDotToken)||Bi(s,u.name)||Bi(s,u.questionToken)||Bi(s,u.type)},206:EQe,207:EQe,209:function(u,s,d){return Jr(s,d,u.elements)},210:function(u,s,d){return Jr(s,d,u.properties)},211:function(u,s,d){return Bi(s,u.expression)||Bi(s,u.questionDotToken)||Bi(s,u.name)},212:function(u,s,d){return Bi(s,u.expression)||Bi(s,u.questionDotToken)||Bi(s,u.argumentExpression)},213:_Qe,214:_Qe,215:function(u,s,d){return Bi(s,u.tag)||Bi(s,u.questionDotToken)||Jr(s,d,u.typeArguments)||Bi(s,u.template)},216:function(u,s,d){return Bi(s,u.type)||Bi(s,u.expression)},217:function(u,s,d){return Bi(s,u.expression)},220:function(u,s,d){return Bi(s,u.expression)},221:function(u,s,d){return Bi(s,u.expression)},222:function(u,s,d){return Bi(s,u.expression)},224:function(u,s,d){return Bi(s,u.operand)},229:function(u,s,d){return Bi(s,u.asteriskToken)||Bi(s,u.expression)},223:function(u,s,d){return Bi(s,u.expression)},225:function(u,s,d){return Bi(s,u.operand)},226:function(u,s,d){return Bi(s,u.left)||Bi(s,u.operatorToken)||Bi(s,u.right)},234:function(u,s,d){return Bi(s,u.expression)||Bi(s,u.type)},235:function(u,s,d){return Bi(s,u.expression)},238:function(u,s,d){return Bi(s,u.expression)||Bi(s,u.type)},236:function(u,s,d){return Bi(s,u.name)},227:function(u,s,d){return Bi(s,u.condition)||Bi(s,u.questionToken)||Bi(s,u.whenTrue)||Bi(s,u.colonToken)||Bi(s,u.whenFalse)},230:function(u,s,d){return Bi(s,u.expression)},241:DQe,268:DQe,312:function(u,s,d){return Jr(s,d,u.statements)||Bi(s,u.endOfFileToken)},243:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.declarationList)},261:function(u,s,d){return Jr(s,d,u.declarations)},244:function(u,s,d){return Bi(s,u.expression)},245:function(u,s,d){return Bi(s,u.expression)||Bi(s,u.thenStatement)||Bi(s,u.elseStatement)},246:function(u,s,d){return Bi(s,u.statement)||Bi(s,u.expression)},247:function(u,s,d){return Bi(s,u.expression)||Bi(s,u.statement)},248:function(u,s,d){return Bi(s,u.initializer)||Bi(s,u.condition)||Bi(s,u.incrementor)||Bi(s,u.statement)},249:function(u,s,d){return Bi(s,u.initializer)||Bi(s,u.expression)||Bi(s,u.statement)},250:function(u,s,d){return Bi(s,u.awaitModifier)||Bi(s,u.initializer)||Bi(s,u.expression)||Bi(s,u.statement)},251:xQe,252:xQe,253:function(u,s,d){return Bi(s,u.expression)},254:function(u,s,d){return Bi(s,u.expression)||Bi(s,u.statement)},255:function(u,s,d){return Bi(s,u.expression)||Bi(s,u.caseBlock)},269:function(u,s,d){return Jr(s,d,u.clauses)},296:function(u,s,d){return Bi(s,u.expression)||Jr(s,d,u.statements)},297:function(u,s,d){return Jr(s,d,u.statements)},256:function(u,s,d){return Bi(s,u.label)||Bi(s,u.statement)},257:function(u,s,d){return Bi(s,u.expression)},258:function(u,s,d){return Bi(s,u.tryBlock)||Bi(s,u.catchClause)||Bi(s,u.finallyBlock)},299:function(u,s,d){return Bi(s,u.variableDeclaration)||Bi(s,u.block)},170:function(u,s,d){return Bi(s,u.expression)},263:vQe,231:vQe,264:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Jr(s,d,u.typeParameters)||Jr(s,d,u.heritageClauses)||Jr(s,d,u.members)},265:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Jr(s,d,u.typeParameters)||Bi(s,u.type)},266:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Jr(s,d,u.members)},306:function(u,s,d){return Bi(s,u.name)||Bi(s,u.initializer)},267:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Bi(s,u.body)},271:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)||Bi(s,u.moduleReference)},272:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.importClause)||Bi(s,u.moduleSpecifier)||Bi(s,u.attributes)},273:function(u,s,d){return Bi(s,u.name)||Bi(s,u.namedBindings)},300:function(u,s,d){return Jr(s,d,u.elements)},301:function(u,s,d){return Bi(s,u.name)||Bi(s,u.value)},270:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.name)},274:function(u,s,d){return Bi(s,u.name)},280:function(u,s,d){return Bi(s,u.name)},275:CQe,279:CQe,278:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.exportClause)||Bi(s,u.moduleSpecifier)||Bi(s,u.attributes)},276:bQe,281:bQe,277:function(u,s,d){return Jr(s,d,u.modifiers)||Bi(s,u.expression)},228:function(u,s,d){return Bi(s,u.head)||Jr(s,d,u.templateSpans)},239:function(u,s,d){return Bi(s,u.expression)||Bi(s,u.literal)},203:function(u,s,d){return Bi(s,u.head)||Jr(s,d,u.templateSpans)},204:function(u,s,d){return Bi(s,u.type)||Bi(s,u.literal)},167:function(u,s,d){return Bi(s,u.expression)},298:function(u,s,d){return Jr(s,d,u.types)},233:function(u,s,d){return Bi(s,u.expression)||Jr(s,d,u.typeArguments)},283:function(u,s,d){return Bi(s,u.expression)},282:function(u,s,d){return Jr(s,d,u.modifiers)},361:function(u,s,d){return Jr(s,d,u.elements)},284:function(u,s,d){return Bi(s,u.openingElement)||Jr(s,d,u.children)||Bi(s,u.closingElement)},288:function(u,s,d){return Bi(s,u.openingFragment)||Jr(s,d,u.children)||Bi(s,u.closingFragment)},285:yQe,286:yQe,292:function(u,s,d){return Jr(s,d,u.properties)},291:function(u,s,d){return Bi(s,u.name)||Bi(s,u.initializer)},293:function(u,s,d){return Bi(s,u.expression)},294:function(u,s,d){return Bi(s,u.dotDotDotToken)||Bi(s,u.expression)},287:function(u,s,d){return Bi(s,u.tagName)},295:function(u,s,d){return Bi(s,u.namespace)||Bi(s,u.name)},190:tM,191:tM,316:tM,322:tM,321:tM,323:tM,325:tM,324:function(u,s,d){return Jr(s,d,u.parameters)||Bi(s,u.type)},327:function(u,s,d){return(typeof u.comment=="string"?void 0:Jr(s,d,u.comment))||Jr(s,d,u.tags)},354:function(u,s,d){return Bi(s,u.tagName)||Bi(s,u.name)||(typeof u.comment=="string"?void 0:Jr(s,d,u.comment))},317:function(u,s,d){return Bi(s,u.name)},318:function(u,s,d){return Bi(s,u.left)||Bi(s,u.right)},348:kQe,355:kQe,337:function(u,s,d){return Bi(s,u.tagName)||(typeof u.comment=="string"?void 0:Jr(s,d,u.comment))},336:function(u,s,d){return Bi(s,u.tagName)||Bi(s,u.class)||(typeof u.comment=="string"?void 0:Jr(s,d,u.comment))},335:function(u,s,d){return Bi(s,u.tagName)||Bi(s,u.class)||(typeof u.comment=="string"?void 0:Jr(s,d,u.comment))},352:function(u,s,d){return Bi(s,u.tagName)||Bi(s,u.constraint)||Jr(s,d,u.typeParameters)||(typeof u.comment=="string"?void 0:Jr(s,d,u.comment))},353:function(u,s,d){return Bi(s,u.tagName)||(u.typeExpression&&u.typeExpression.kind===316?Bi(s,u.typeExpression)||Bi(s,u.fullName)||(typeof u.comment=="string"?void 0:Jr(s,d,u.comment)):Bi(s,u.fullName)||Bi(s,u.typeExpression)||(typeof u.comment=="string"?void 0:Jr(s,d,u.comment)))},345:function(u,s,d){return Bi(s,u.tagName)||Bi(s,u.fullName)||Bi(s,u.typeExpression)||(typeof u.comment=="string"?void 0:Jr(s,d,u.comment))},349:iM,351:iM,350:iM,347:iM,357:iM,356:iM,346:iM,330:function(u,s,d){return L(u.typeParameters,s)||L(u.parameters,s)||Bi(s,u.type)},331:VFe,332:VFe,333:VFe,329:function(u,s,d){return L(u.jsDocPropertyTags,s)},334:IB,339:IB,340:IB,341:IB,342:IB,343:IB,338:IB,344:IB,360:cNt},(t=>{var u=ZD(99,!0),s=40960,d,f,p,E,v;function b(he){return ht++,he}var B={createBaseSourceFileNode:he=>b(new v(he,0,0)),createBaseIdentifierNode:he=>b(new p(he,0,0)),createBasePrivateIdentifierNode:he=>b(new E(he,0,0)),createBaseTokenNode:he=>b(new f(he,0,0)),createBaseNode:he=>b(new d(he,0,0))},k=hV(11,B),{createNodeArray:T,createNumericLiteral:M,createStringLiteral:z,createLiteralLikeNode:j,createIdentifier:J,createPrivateIdentifier:K,createToken:Y,createArrayLiteralExpression:oe,createObjectLiteralExpression:se,createPropertyAccessExpression:ge,createPropertyAccessChain:ae,createElementAccessExpression:Ce,createElementAccessChain:ne,createCallExpression:ve,createCallChain:Se,createNewExpression:Ne,createParenthesizedExpression:pe,createBlock:fe,createVariableStatement:xe,createExpressionStatement:Be,createIfStatement:We,createWhileStatement:Ae,createForStatement:De,createForOfStatement:He,createVariableDeclaration:Je,createVariableDeclarationList:ft}=k,Ze,je,Ke,Gt,Yt,Ie,lt,St,It,ti,ht,Ut,Ni,Vi,xn,$n,rn=!0,Pi=!1;function ki(he,Re,nt,Lt,vi=!1,Xi,Mu,Wr=0){var Nr;if(Xi=nZ(he,Xi),Xi===6){const ma=oa(he,Re,nt,Lt,vi);return GV(ma,(Nr=ma.statements[0])==null?void 0:Nr.expression,ma.parseDiagnostics,!1,void 0),ma.referencedFiles=_t,ma.typeReferenceDirectives=_t,ma.libReferenceDirectives=_t,ma.amdDependencies=_t,ma.hasNoDefaultLib=!1,ma.pragmas=Q$,ma}Fr(he,Re,nt,Lt,Xi,Wr);const _r=bt(nt,vi,Xi,Mu||AQe,Wr);return Sa(),_r}t.parseSourceFile=ki;function Yu(he,Re){Fr("",he,Re,void 0,1,0),ct();const nt=Ee(!0),Lt=X()===1&&!lt.length;return Sa(),Lt?nt:void 0}t.parseIsolatedEntityName=Yu;function oa(he,Re,nt=2,Lt,vi=!1){Fr(he,Re,nt,Lt,6,0),je=$n,ct();const Xi=de();let Mu,Wr;if(X()===1)Mu=Va([],Xi,Xi),Wr=wc();else{let ma;for(;X()!==1;){let Ks;switch(X()){case 23:Ks=dD();break;case 112:case 97:case 106:Ks=wc();break;case 41:wn(()=>ct()===9&&ct()!==59)?Ks=mE():Ks=lC();break;case 9:case 11:if(wn(()=>ct()!==59)){Ks=nr();break}default:Ks=lC();break}ma&&ja(ma)?ma.push(Ks):ma?ma=[ma,Ks]:(ma=Ks,X()!==1&&Yi(F.Unexpected_token))}const E0=ja(ma)?Oi(oe(ma),Xi):H.checkDefined(ma),qs=Be(E0);Oi(qs,Xi),Mu=Va([qs],Xi),Wr=U0(1,F.Unexpected_token)}const Nr=Cn(he,2,6,!1,Mu,Wr,je,zs);vi&&Dn(Nr),Nr.nodeCount=ht,Nr.identifierCount=Ni,Nr.identifiers=Ut,Nr.parseDiagnostics=D7(lt,Nr),St&&(Nr.jsDocDiagnostics=D7(St,Nr));const _r=Nr;return Sa(),_r}t.parseJsonText=oa;function Fr(he,Re,nt,Lt,vi,Xi){switch(d=Yd.getNodeConstructor(),f=Yd.getTokenConstructor(),p=Yd.getIdentifierConstructor(),E=Yd.getPrivateIdentifierConstructor(),v=Yd.getSourceFileConstructor(),Ze=Jo(he),Ke=Re,Gt=nt,It=Lt,Yt=vi,Ie=qj(vi),lt=[],Vi=0,Ut=new Map,Ni=0,ht=0,je=0,rn=!0,Yt){case 1:case 2:$n=524288;break;case 6:$n=134742016;break;default:$n=0;break}Pi=!1,u.setText(Ke),u.setOnError(we),u.setScriptTarget(Gt),u.setLanguageVariant(Ie),u.setScriptKind(Yt),u.setJSDocParsingMode(Xi)}function Sa(){u.clearCommentDirectives(),u.setText(""),u.setOnError(void 0),u.setScriptKind(0),u.setJSDocParsingMode(0),Ke=void 0,Gt=void 0,It=void 0,Yt=void 0,Ie=void 0,je=0,lt=void 0,St=void 0,Vi=0,Ut=void 0,xn=void 0,rn=!0}function bt(he,Re,nt,Lt,vi){const Xi=Xd(Ze);Xi&&($n|=33554432),je=$n,ct();const Mu=wo(0,Um);H.assert(X()===1);const Wr=Oe(),Nr=Ln(wc(),Wr),_r=Cn(Ze,he,nt,Xi,Mu,Nr,je,Lt);return $ce(_r,Ke),Uce(_r,ma),_r.commentDirectives=u.getCommentDirectives(),_r.nodeCount=ht,_r.identifierCount=Ni,_r.identifiers=Ut,_r.parseDiagnostics=D7(lt,_r),_r.jsDocParsingMode=vi,St&&(_r.jsDocDiagnostics=D7(St,_r)),Re&&Dn(_r),_r;function ma(E0,qs,Ks){lt.push(cB(Ze,Ke,E0,qs,Ks))}}let On=!1;function Ln(he,Re){if(!Re)return he;H.assert(!he.jsDoc);const nt=Si(y0e(he,Ke),Lt=>qK.parseJSDocComment(he,Lt.pos,Lt.end-Lt.pos));return nt.length&&(he.jsDoc=nt),On&&(On=!1,he.flags|=536870912),he}function Fi(he){const Re=It,nt=Zce.createSyntaxCursor(he);It={currentNode:ma};const Lt=[],vi=lt;lt=[];let Xi=0,Mu=Nr(he.statements,0);for(;Mu!==-1;){const E0=he.statements[Xi],qs=he.statements[Mu];yn(Lt,he.statements,Xi,Mu),Xi=_r(he.statements,Mu);const Ks=Ue(vi,Jp=>Jp.start>=E0.pos),x4=Ks>=0?Ue(vi,Jp=>Jp.start>=qs.pos,Ks):-1;Ks>=0&&yn(lt,vi,Ks,x4>=0?x4:void 0),Ra(()=>{const Jp=$n;for($n|=65536,u.resetTokenState(qs.pos),ct();X()!==1;){const h6=u.getTokenFullStart(),C3=ic(0,Um);if(Lt.push(C3),h6===u.getTokenFullStart()&&ct(),Xi>=0){const Od=he.statements[Xi];if(C3.end===Od.pos)break;C3.end>Od.pos&&(Xi=_r(he.statements,Xi+1))}}$n=Jp},2),Mu=Xi>=0?Nr(he.statements,Xi):-1}if(Xi>=0){const E0=he.statements[Xi];yn(Lt,he.statements,Xi);const qs=Ue(vi,Ks=>Ks.start>=E0.pos);qs>=0&&yn(lt,vi,qs)}return It=Re,k.updateSourceFile(he,Pt(T(Lt),he.statements));function Wr(E0){return!(E0.flags&65536)&&!!(E0.transformFlags&67108864)}function Nr(E0,qs){for(let Ks=qs;Ks118}function Bo(){return X()===80?!0:X()===127&&_i()||X()===135&&$i()?!1:X()>118}function Fn(he,Re,nt=!0){return X()===he?(nt&&ct(),!0):(Re?Yi(Re):Yi(F._0_expected,$o(he)),!1)}const xc=Object.keys(NO).filter(he=>he.length>2);function Ua(he){if(Ek(he)){le(ps(Ke,he.template.pos),he.template.end,F.Module_declaration_names_may_only_use_or_quoted_strings);return}const Re=at(he)?fu(he):void 0;if(!Re||!Tm(Re,Gt)){Yi(F._0_expected,$o(27));return}const nt=ps(Ke,he.pos);switch(Re){case"const":case"let":case"var":le(nt,he.end,F.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":l0(F.Interface_name_cannot_be_0,F.Interface_must_be_given_a_name,19);return;case"is":le(nt,u.getTokenStart(),F.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":l0(F.Namespace_name_cannot_be_0,F.Namespace_must_be_given_a_name,19);return;case"type":l0(F.Type_alias_name_cannot_be_0,F.Type_alias_must_be_given_a_name,64);return}const Lt=CN(Re,xc,vi=>vi)??$l(Re);if(Lt){le(nt,he.end,F.Unknown_keyword_or_identifier_Did_you_mean_0,Lt);return}X()!==0&&le(nt,he.end,F.Unexpected_keyword_or_identifier)}function l0(he,Re,nt){X()===nt?Yi(Re):Yi(he,u.getTokenValue())}function $l(he){for(const Re of xc)if(he.length>Re.length+2&&La(he,Re))return`${Re} ${he.slice(Re.length)}`}function wl(he,Re,nt){if(X()===60&&!u.hasPrecedingLineBreak()){Yi(F.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(X()===21){Yi(F.Cannot_start_a_function_call_in_a_type_annotation),ct();return}if(Re&&!Tc()){nt?Yi(F._0_expected,$o(27)):Yi(F.Expected_for_property_initializer);return}if(!Il()){if(nt){Yi(F._0_expected,$o(27));return}Ua(he)}}function cd(he){return X()===he?(Qt(),!0):(H.assert(yq(he)),Yi(F._0_expected,$o(he)),!1)}function vl(he,Re,nt,Lt){if(X()===Re){ct();return}const vi=Yi(F._0_expected,$o(Re));nt&&vi&&gs(vi,cB(Ze,Ke,Lt,1,F.The_parser_expected_to_find_a_1_to_match_the_0_token_here,$o(he),$o(Re)))}function oo(he){return X()===he?(ct(),!0):!1}function Ho(he){if(X()===he)return wc()}function td(he){if(X()===he)return Kp()}function U0(he,Re,nt){return Ho(he)||dl(he,!1,Re||F._0_expected,nt||$o(he))}function Ko(he){const Re=td(he);return Re||(H.assert(yq(he)),dl(he,!1,F._0_expected,$o(he)))}function wc(){const he=de(),Re=X();return ct(),Oi(Y(Re),he)}function Kp(){const he=de(),Re=X();return Qt(),Oi(Y(Re),he)}function Tc(){return X()===27?!0:X()===20||X()===1||u.hasPrecedingLineBreak()}function Il(){return Tc()?(X()===27&&ct(),!0):!1}function cl(){return Il()||Fn(27)}function Va(he,Re,nt,Lt){const vi=T(he,Lt);return e_(vi,Re,nt??u.getTokenFullStart()),vi}function Oi(he,Re,nt){return e_(he,Re,nt??u.getTokenFullStart()),$n&&(he.flags|=$n),Pi&&(Pi=!1,he.flags|=262144),he}function dl(he,Re,nt,...Lt){Re?on(u.getTokenFullStart(),0,nt,...Lt):nt&&Yi(nt,...Lt);const vi=de(),Xi=he===80?J("",void 0):Sx(he)?k.createTemplateLiteralLikeNode(he,"","",void 0):he===9?M("",void 0):he===11?z("",void 0):he===282?k.createMissingDeclaration():Y(he);return Oi(Xi,vi)}function Uc(he){let Re=Ut.get(he);return Re===void 0&&Ut.set(he,Re=he),Re}function vh(he,Re,nt){if(he){Ni++;const Wr=de(),Nr=X(),_r=Uc(u.getTokenValue()),ma=u.hasExtendedUnicodeEscape();return it(),Oi(J(_r,Nr,ma),Wr)}if(X()===81)return Yi(nt||F.Private_identifiers_are_not_allowed_outside_class_bodies),vh(!0);if(X()===0&&u.tryScan(()=>u.reScanInvalidIdentifier()===80))return vh(!0);Ni++;const Lt=X()===1,vi=u.isReservedWord(),Xi=u.getTokenText(),Mu=vi?F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:F.Identifier_expected;return dl(80,Lt,Re||Mu,Xi)}function of(he){return vh(as(),void 0,he)}function q0(he,Re){return vh(Bo(),he,Re)}function vc(he){return vh(hh(X()),he)}function $(){return(u.hasUnicodeEscape()||u.hasExtendedUnicodeEscape())&&Yi(F.Unicode_escape_sequence_cannot_appear_here),vh(hh(X()))}function tt(){return hh(X())||X()===11||X()===9}function vt(){return hh(X())||X()===11}function hi(he){if(X()===11||X()===9){const Re=nr();return Re.text=Uc(Re.text),Re}return he&&X()===23?Gu():X()===81?uu():vc()}function fn(){return hi(!0)}function Gu(){const he=de();Fn(23);const Re=Qe(t1);return Fn(24),Oi(k.createComputedPropertyName(Re),he)}function uu(){const he=de(),Re=K(Uc(u.getTokenValue()));return ct(),Oi(Re,he)}function wu(he){return X()===he&&Rr(ju)}function Mr(){return ct(),u.hasPrecedingLineBreak()?!1:S0()}function ju(){switch(X()){case 87:return ct()===94;case 95:return ct(),X()===90?wn(nd):X()===156?wn(tc):As();case 90:return nd();case 126:case 139:case 153:return ct(),S0();default:return Mr()}}function As(){return X()===60||X()!==42&&X()!==130&&X()!==19&&S0()}function tc(){return ct(),As()}function id(){return QD(X())&&Rr(ju)}function S0(){return X()===23||X()===19||X()===42||X()===26||tt()}function nd(){return ct(),X()===86||X()===100||X()===120||X()===60||X()===128&&wn(jw)||X()===134&&wn(z0)}function f0(he,Re){if(hc(he))return!0;switch(he){case 0:case 1:case 3:return!(X()===27&&Re)&&w9();case 2:return X()===84||X()===90;case 4:return wn(e6);case 5:return wn(L5)||X()===27&&!Re;case 6:return X()===23||tt();case 12:switch(X()){case 23:case 42:case 26:case 25:return!0;default:return tt()}case 18:return tt();case 9:return X()===23||X()===26||tt();case 24:return vt();case 7:return X()===19?wn(Sd):Re?Bo()&&!_1():F5()&&!_1();case 8:return Hs();case 10:return X()===28||X()===26||Hs();case 19:return X()===103||X()===87||Bo();case 15:switch(X()){case 28:case 25:return!0}case 11:return X()===26||h3();case 16:return Dt(!1);case 17:return Dt(!0);case 20:case 21:return X()===28||hE();case 22:return O();case 23:return X()===161&&wn(N9)?!1:hh(X());case 13:return hh(X())||X()===19;case 14:return!0;case 25:return!0;case 26:return H.fail("ParsingContext.Count used as a context");default:H.assertNever(he,"Non-exhaustive case in 'isListElement'.")}}function Sd(){if(H.assert(X()===19),ct()===20){const he=ct();return he===28||he===19||he===96||he===119}return!0}function Ih(){return ct(),Bo()}function nh(){return ct(),hh(X())}function d4(){return ct(),v2e(X())}function _1(){return X()===119||X()===96?wn(Ve):!1}function Ve(){return ct(),h3()}function si(){return ct(),hE()}function Mn(he){if(X()===1)return!0;switch(he){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return X()===20;case 3:return X()===20||X()===84||X()===90;case 7:return X()===19||X()===96||X()===119;case 8:return ba();case 19:return X()===32||X()===21||X()===19||X()===96||X()===119;case 11:return X()===22||X()===27;case 15:case 21:case 10:return X()===24;case 17:case 16:case 18:return X()===22||X()===24;case 20:return X()!==28;case 22:return X()===19||X()===20;case 13:return X()===32||X()===44;case 14:return X()===30&&wn(gn);default:return!1}}function ba(){return!!(Tc()||Xk(X())||X()===39)}function ko(){H.assert(Vi,"Missing parsing context");for(let he=0;he<26;he++)if(Vi&1<=0)}function c3(he){return he===6?F.An_enum_member_name_must_be_followed_by_a_or:void 0}function Kf(){const he=Va([],de());return he.isMissingList=!0,he}function f4(he){return!!he.isMissingList}function Oh(he,Re,nt,Lt){if(Fn(nt)){const vi=I1(he,Re);return Fn(Lt),vi}return Kf()}function Ee(he,Re){const nt=de();let Lt=he?vc(Re):q0(Re);for(;oo(25)&&X()!==30;)Lt=Oi(k.createQualifiedName(Lt,gi(he,!1,!0)),nt);return Lt}function Bt(he,Re){return Oi(k.createQualifiedName(he,Re),he.pos)}function gi(he,Re,nt){if(u.hasPrecedingLineBreak()&&hh(X())&&wn(r6))return dl(80,!0,F.Identifier_expected);if(X()===81){const Lt=uu();return Re?Lt:dl(80,!0,F.Identifier_expected)}return he?nt?vc():$():q0()}function xi(he){const Re=de(),nt=[];let Lt;do Lt=ir(he),nt.push(Lt);while(Lt.literal.kind===17);return Va(nt,Re)}function Q(he){const Re=de();return Oi(k.createTemplateExpression(fa(he),xi(he)),Re)}function Me(){const he=de();return Oi(k.createTemplateLiteralType(fa(!1),wt()),he)}function wt(){const he=de(),Re=[];let nt;do nt=bi(),Re.push(nt);while(nt.literal.kind===17);return Va(Re,he)}function bi(){const he=de();return Oi(k.createTemplateLiteralTypeSpan(Rd(),In(!1)),he)}function In(he){return X()===20?(du(he),os()):U0(18,F._0_expected,$o(20))}function ir(he){const Re=de();return Oi(k.createTemplateSpan(Qe(t1),In(he)),Re)}function nr(){return Rl(X())}function fa(he){!he&&u.getTokenFlags()&26656&&du(!1);const Re=Rl(X());return H.assert(Re.kind===16,"Template head has wrong token kind"),Re}function os(){const he=Rl(X());return H.assert(he.kind===17||he.kind===18,"Template fragment has wrong token kind"),he}function ss(he){const Re=he===15||he===18,nt=u.getTokenText();return nt.substring(1,nt.length-(u.isUnterminated()?0:Re?1:2))}function Rl(he){const Re=de(),nt=Sx(he)?k.createTemplateLiteralLikeNode(he,u.getTokenValue(),ss(he),u.getTokenFlags()&7176):he===9?M(u.getTokenValue(),u.getNumericLiteralFlags()):he===11?z(u.getTokenValue(),void 0,u.hasExtendedUnicodeEscape()):ON(he)?j(he,u.getTokenValue()):H.fail();return u.hasExtendedUnicodeEscape()&&(nt.hasExtendedUnicodeEscape=!0),u.isUnterminated()&&(nt.isUnterminated=!0),ct(),Oi(nt,Re)}function D1(){return Ee(!0,F.Type_expected)}function dd(){if(!u.hasPrecedingLineBreak()&&Iu()===30)return Oh(20,Rd,30,32)}function Jm(){const he=de();return Oi(k.createTypeReferenceNode(D1(),dd()),he)}function Es(he){switch(he.kind){case 183:return Yl(he.typeName);case 184:case 185:{const{parameters:Re,type:nt}=he;return f4(Re)||Es(nt)}case 196:return Es(he.type);default:return!1}}function tp(he){return ct(),Oi(k.createTypePredicateNode(void 0,he,Rd()),he.pos)}function $m(){const he=de();return ct(),Oi(k.createThisTypeNode(),he)}function d3(){const he=de();return ct(),Oi(k.createJSDocAllType(),he)}function c_(){const he=de();return ct(),Oi(k.createJSDocNonNullableType(lb(),!1),he)}function ia(){const he=de();return ct(),X()===28||X()===20||X()===22||X()===32||X()===64||X()===52?Oi(k.createJSDocUnknownType(),he):Oi(k.createJSDocNullableType(Rd(),!1),he)}function Qx(){const he=de(),Re=Oe();if(wn(Sr)){ct();const nt=bu(36),Lt=bn(59,!1);return Ln(Oi(k.createJSDocFunctionType(nt,Lt),he),Re)}return Oi(k.createTypeReferenceNode(vc(),void 0),he)}function Xx(){const he=de();let Re;return(X()===110||X()===105)&&(Re=vc(),Fn(59)),Oi(k.createParameterDeclaration(void 0,void 0,Re,void 0,vg(),void 0),he)}function vg(){u.setInJSDocType(!0);const he=de();if(oo(144)){const Lt=k.createJSDocNamepathType(void 0);e:for(;;)switch(X()){case 20:case 1:case 28:case 5:break e;default:Qt()}return u.setInJSDocType(!1),Oi(Lt,he)}const Re=oo(26);let nt=iC();return u.setInJSDocType(!1),Re&&(nt=Oi(k.createJSDocVariadicType(nt),he)),X()===64?(ct(),Oi(k.createJSDocOptionalType(nt),he)):nt}function rb(){const he=de();Fn(114);const Re=Ee(!0),nt=u.hasPrecedingLineBreak()?void 0:c6();return Oi(k.createTypeQueryNode(Re,nt),he)}function C5(){const he=de(),Re=O1(!1,!0),nt=q0();let Lt,vi;oo(96)&&(hE()||!h3()?Lt=Rd():vi=nc());const Xi=oo(64)?Rd():void 0,Mu=k.createTypeParameterDeclaration(Re,nt,Lt,Xi);return Mu.expression=vi,Oi(Mu,he)}function Xe(){if(X()===30)return Oh(19,C5,30,32)}function Dt(he){return X()===26||Hs()||QD(X())||X()===60||hE(!he)}function ai(he){const Re=_u(F.Private_identifiers_cannot_be_used_as_parameters);return ej(Re)===0&&!Ge(he)&&QD(X())&&ct(),Re}function wi(){return as()||X()===23||X()===19}function Qi(he){return en(he)}function Rn(he){return en(he,!1)}function en(he,Re=!0){const nt=de(),Lt=Oe(),vi=he?et(()=>O1(!0)):gt(()=>O1(!0));if(X()===110){const Nr=k.createParameterDeclaration(vi,void 0,vh(!0),void 0,k5(),void 0),_r=Ki(vi);return _r&&te(_r,F.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Ln(Oi(Nr,nt),Lt)}const Xi=rn;rn=!1;const Mu=Ho(26);if(!Re&&!wi())return;const Wr=Ln(Oi(k.createParameterDeclaration(vi,Mu,ai(vi),Ho(58),k5(),p4()),nt),Lt);return rn=Xi,Wr}function bn(he,Re){if(Ar(he,Re))return Mt(iC)}function Ar(he,Re){return he===39?(Fn(he),!0):oo(59)?!0:Re&&X()===39?(Yi(F._0_expected,$o(59)),ct(),!0):!1}function Cu(he,Re){const nt=_i(),Lt=$i();Da(!!(he&1)),Ba(!!(he&2));const vi=he&32?I1(17,Xx):I1(16,()=>Re?Qi(Lt):Rn(Lt));return Da(nt),Ba(Lt),vi}function bu(he){if(!Fn(21))return Kf();const Re=Cu(he,!0);return Fn(22),Re}function Eu(){oo(28)||cl()}function la(he){const Re=de(),nt=Oe();he===180&&Fn(105);const Lt=Xe(),vi=bu(4),Xi=bn(59,!0);Eu();const Mu=he===179?k.createCallSignature(Lt,vi,Xi):k.createConstructSignature(Lt,vi,Xi);return Ln(Oi(Mu,Re),nt)}function m0(){return X()===23&&wn(a0)}function a0(){if(ct(),X()===26||X()===24)return!0;if(QD(X())){if(ct(),Bo())return!0}else if(Bo())ct();else return!1;return X()===59||X()===28?!0:X()!==58?!1:(ct(),X()===59||X()===28||X()===24)}function Wf(he,Re,nt){const Lt=Oh(16,()=>Qi(!1),23,24),vi=k5();Eu();const Xi=k.createIndexSignature(nt,Lt,vi);return Ln(Oi(Xi,he),Re)}function Qv(he,Re,nt){const Lt=fn(),vi=Ho(58);let Xi;if(X()===21||X()===30){const Mu=Xe(),Wr=bu(4),Nr=bn(59,!0);Xi=k.createMethodSignature(nt,Lt,vi,Mu,Wr,Nr)}else{const Mu=k5();Xi=k.createPropertySignature(nt,Lt,vi,Mu),X()===64&&(Xi.initializer=p4())}return Eu(),Ln(Oi(Xi,he),Re)}function e6(){if(X()===21||X()===30||X()===139||X()===153)return!0;let he=!1;for(;QD(X());)he=!0,ct();return X()===23?!0:(tt()&&(he=!0,ct()),he?X()===21||X()===30||X()===58||X()===59||X()===28||Tc():!1)}function lD(){if(X()===21||X()===30)return la(179);if(X()===105&&wn(t6))return la(180);const he=de(),Re=Oe(),nt=O1(!1);return wu(139)?op(he,Re,nt,177,4):wu(153)?op(he,Re,nt,178,4):m0()?Wf(he,Re,nt):Qv(he,Re,nt)}function t6(){return ct(),X()===21||X()===30}function Kk(){return ct()===25}function ab(){switch(ct()){case 21:case 30:case 25:return!0}return!1}function Wk(){const he=de();return Oi(k.createTypeLiteralNode(Gk()),he)}function Gk(){let he;return Fn(19)?(he=wo(4,lD),Fn(20)):he=Kf(),he}function rz(){return ct(),X()===40||X()===41?ct()===148:(X()===148&&ct(),X()===23&&Ih()&&ct()===103)}function E9(){const he=de(),Re=vc();Fn(103);const nt=Rd();return Oi(k.createTypeParameterDeclaration(void 0,Re,nt,void 0),he)}function Sw(){const he=de();Fn(19);let Re;(X()===148||X()===40||X()===41)&&(Re=wc(),Re.kind!==148&&Fn(148)),Fn(23);const nt=E9(),Lt=oo(130)?Rd():void 0;Fn(24);let vi;(X()===58||X()===40||X()===41)&&(vi=wc(),vi.kind!==58&&Fn(58));const Xi=k5();cl();const Mu=wo(4,lD);return Fn(20),Oi(k.createMappedTypeNode(Re,nt,Lt,vi,Xi,Mu),he)}function Xv(){const he=de();if(oo(26))return Oi(k.createRestTypeNode(Rd()),he);const Re=Rd();if(SB(Re)&&Re.pos===Re.type.pos){const nt=k.createOptionalTypeNode(Re.type);return Pt(nt,Re),nt.flags=Re.flags,nt}return Re}function _9(){return ct()===59||X()===58&&ct()===59}function D9(){return X()===26?hh(ct())&&_9():hh(X())&&_9()}function Bw(){if(wn(D9)){const he=de(),Re=Oe(),nt=Ho(26),Lt=vc(),vi=Ho(58);Fn(59);const Xi=Xv(),Mu=k.createNamedTupleMember(nt,Lt,vi,Xi);return Ln(Oi(Mu,he),Re)}return Xv()}function Jk(){const he=de();return Oi(k.createTupleTypeNode(Oh(21,Bw,23,24)),he)}function ww(){const he=de();Fn(21);const Re=Rd();return Fn(22),Oi(k.createParenthesizedType(Re),he)}function x9(){let he;if(X()===128){const Re=de();ct();const nt=Oi(Y(128),Re);he=Va([nt],Re)}return he}function v9(){const he=de(),Re=Oe(),nt=x9(),Lt=oo(105);H.assert(!nt||Lt,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");const vi=Xe(),Xi=bu(4),Mu=bn(39,!1),Wr=Lt?k.createConstructorTypeNode(nt,vi,Xi,Mu):k.createFunctionTypeNode(vi,Xi,Mu);return Ln(Oi(Wr,he),Re)}function $k(){const he=wc();return X()===25?void 0:he}function ob(he){const Re=de();he&&ct();let nt=X()===112||X()===97||X()===106?wc():Rl(X());return he&&(nt=Oi(k.createPrefixUnaryExpression(41,nt),Re)),Oi(k.createLiteralTypeNode(nt),Re)}function sb(){return ct(),X()===102}function eC(){je|=4194304;const he=de(),Re=oo(114);Fn(102),Fn(21);const nt=Rd();let Lt;if(oo(28)){const Mu=u.getTokenStart();Fn(19);const Wr=X();if(Wr===118||Wr===132?ct():Yi(F._0_expected,$o(118)),Fn(59),Lt=EC(Wr,!0),!Fn(20)){const Nr=Zu(lt);Nr&&Nr.code===F._0_expected.code&&gs(Nr,cB(Ze,Ke,Mu,1,F.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}}Fn(22);const vi=oo(25)?D1():void 0,Xi=dd();return Oi(k.createImportTypeNode(nt,Lt,vi,Xi,Re),he)}function b5(){return ct(),X()===9||X()===10}function lb(){switch(X()){case 133:case 159:case 154:case 150:case 163:case 155:case 136:case 157:case 146:case 151:return Rr($k)||Jm();case 67:u.reScanAsteriskEqualsToken();case 42:return d3();case 61:u.reScanQuestionToken();case 58:return ia();case 100:return Qx();case 54:return c_();case 15:case 11:case 9:case 10:case 112:case 97:case 106:return ob();case 41:return wn(b5)?ob(!0):Jm();case 116:return wc();case 110:{const he=$m();return X()===142&&!u.hasPrecedingLineBreak()?tp(he):he}case 114:return wn(sb)?eC():rb();case 19:return wn(rz)?Sw():Wk();case 23:return Jk();case 21:return ww();case 102:return eC();case 131:return wn(r6)?nC():Jm();case 16:return Me();default:return Jm()}}function hE(he){switch(X()){case 133:case 159:case 154:case 150:case 163:case 136:case 148:case 155:case 158:case 116:case 157:case 106:case 110:case 114:case 146:case 19:case 23:case 30:case 52:case 51:case 105:case 11:case 9:case 10:case 112:case 97:case 151:case 42:case 58:case 54:case 26:case 140:case 102:case 131:case 15:case 16:return!0;case 100:return!he;case 41:return!he&&wn(b5);case 21:return!he&&wn(js);default:return Bo()}}function js(){return ct(),X()===22||Dt(!1)||hE()}function Uk(){const he=de();let Re=lb();for(;!u.hasPrecedingLineBreak();)switch(X()){case 54:ct(),Re=Oi(k.createJSDocNonNullableType(Re,!0),he);break;case 58:if(wn(si))return Re;ct(),Re=Oi(k.createJSDocNullableType(Re,!0),he);break;case 23:if(Fn(23),hE()){const nt=Rd();Fn(24),Re=Oi(k.createIndexedAccessTypeNode(Re,nt),he)}else Fn(24),Re=Oi(k.createArrayTypeNode(Re),he);break;default:return Re}return Re}function Tw(he){const Re=de();return Fn(he),Oi(k.createTypeOperatorNode(he,m4()),Re)}function i6(){if(oo(96)){const he=qt(Rd);if(jt()||X()!==58)return he}}function y5(){const he=de(),Re=q0(),nt=Rr(i6),Lt=k.createTypeParameterDeclaration(void 0,Re,nt);return Oi(Lt,he)}function d_(){const he=de();return Fn(140),Oi(k.createInferTypeNode(y5()),he)}function m4(){const he=X();switch(he){case 143:case 158:case 148:return Tw(he);case 140:return d_()}return Mt(Uk)}function Gf(he){if(C9()){const Re=v9();let nt;return n3(Re)?nt=he?F.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:F.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:nt=he?F.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:F.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,te(Re,nt),Re}}function jh(he,Re,nt){const Lt=de(),vi=he===52,Xi=oo(he);let Mu=Xi&&Gf(vi)||Re();if(X()===he||Xi){const Wr=[Mu];for(;oo(he);)Wr.push(Gf(vi)||Re());Mu=Oi(nt(Va(Wr,Lt)),Lt)}return Mu}function gm(){return jh(51,m4,k.createIntersectionTypeNode)}function tC(){return jh(52,gm,k.createUnionTypeNode)}function Lw(){return ct(),X()===105}function C9(){return X()===30||X()===21&&wn(cb)?!0:X()===105||X()===128&&wn(Lw)}function qk(){if(QD(X())&&O1(!1),Bo()||X()===110)return ct(),!0;if(X()===23||X()===19){const he=lt.length;return _u(),he===lt.length}return!1}function cb(){return ct(),!!(X()===22||X()===26||qk()&&(X()===59||X()===28||X()===58||X()===64||X()===22&&(ct(),X()===39)))}function iC(){const he=de(),Re=Bo()&&Rr(Zk),nt=Rd();return Re?Oi(k.createTypePredicateNode(void 0,Re,nt),he):nt}function Zk(){const he=q0();if(X()===142&&!u.hasPrecedingLineBreak())return ct(),he}function nC(){const he=de(),Re=U0(131),nt=X()===110?$m():q0(),Lt=oo(142)?Rd():void 0;return Oi(k.createTypePredicateNode(Re,nt,Lt),he)}function Rd(){if($n&81920)return Yo(81920,Rd);if(C9())return v9();const he=de(),Re=tC();if(!jt()&&!u.hasPrecedingLineBreak()&&oo(96)){const nt=qt(Rd);Fn(58);const Lt=Mt(Rd);Fn(59);const vi=Mt(Rd);return Oi(k.createConditionalTypeNode(Re,nt,Lt,vi),he)}return Re}function k5(){return oo(59)?Rd():void 0}function F5(){switch(X()){case 110:case 108:case 106:case 112:case 97:case 9:case 10:case 11:case 15:case 16:case 21:case 23:case 19:case 100:case 86:case 105:case 44:case 69:case 80:return!0;case 102:return wn(ab);default:return Bo()}}function h3(){if(F5())return!0;switch(X()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 46:case 47:case 30:case 135:case 127:case 81:case 60:return!0;default:return eF()?!0:Bo()}}function pt(){return X()!==19&&X()!==100&&X()!==86&&X()!==60&&h3()}function t1(){const he=pi();he&&aa(!1);const Re=de();let nt=Ch(!0),Lt;for(;Lt=Ho(28);)nt=Ur(nt,Lt,Ch(!0),Re);return he&&aa(!0),nt}function p4(){return oo(64)?Ch(!0):void 0}function Ch(he){if(Nw())return uC();const Re=az(he)||Qk(he);if(Re)return Re;const nt=de(),Lt=Oe(),vi=m3(0);return vi.kind===80&&X()===39?f3(nt,vi,he,Lt,void 0):_f(vi)&&n5(Ui())?Ur(vi,wc(),Ch(he),nt):bg(vi,nt,he)}function Nw(){return X()===127?_i()?!0:wn(Vw):!1}function A5(){return ct(),!u.hasPrecedingLineBreak()&&Bo()}function uC(){const he=de();return ct(),!u.hasPrecedingLineBreak()&&(X()===42||h3())?Oi(k.createYieldExpression(Ho(42),Ch(!0)),he):Oi(k.createYieldExpression(void 0,void 0),he)}function f3(he,Re,nt,Lt,vi){H.assert(X()===39,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");const Xi=k.createParameterDeclaration(void 0,void 0,Re,void 0,void 0,void 0);Oi(Xi,Re.pos);const Mu=Va([Xi],Xi.pos,Xi.end),Wr=U0(39),Nr=ip(!!vi,nt),_r=k.createArrowFunction(vi,void 0,Mu,void 0,Wr,Nr);return Ln(Oi(_r,he),Lt)}function az(he){const Re=Vs();if(Re!==0)return Re===1?hb(!0,!0):Rr(()=>Yk(he))}function Vs(){return X()===21||X()===30||X()===134?wn(Cg):X()===39?1:0}function Cg(){if(X()===134&&(ct(),u.hasPrecedingLineBreak()||X()!==21&&X()!==30))return 0;const he=X(),Re=ct();if(he===21){if(Re===22)switch(ct()){case 39:case 59:case 19:return 1;default:return 0}if(Re===23||Re===19)return 2;if(Re===26)return 1;if(QD(Re)&&Re!==134&&wn(Ih))return ct()===130?0:1;if(!Bo()&&Re!==110)return 0;switch(ct()){case 59:return 1;case 58:return ct(),X()===59||X()===28||X()===64||X()===22?1:0;case 28:case 64:case 22:return 2}return 0}else return H.assert(he===30),!Bo()&&X()!==87?0:Ie===1?wn(()=>{oo(87);const Lt=ct();if(Lt===96)switch(ct()){case 64:case 32:case 44:return!1;default:return!0}else if(Lt===28||Lt===64)return!0;return!1})?1:0:2}function Yk(he){const Re=u.getTokenStart();if(xn!=null&&xn.has(Re))return;const nt=hb(!1,he);return nt||(xn||(xn=new Set)).add(Re),nt}function Qk(he){if(X()===134&&wn(db)===1){const Re=de(),nt=Oe(),Lt=pC(),vi=m3(0);return f3(Re,vi,he,nt,Lt)}}function db(){if(X()===134){if(ct(),u.hasPrecedingLineBreak()||X()===39)return 0;const he=m3(0);if(!u.hasPrecedingLineBreak()&&he.kind===80&&X()===39)return 1}return 0}function hb(he,Re){const nt=de(),Lt=Oe(),vi=pC(),Xi=Ge(vi,jP)?2:0,Mu=Xe();let Wr;if(Fn(21)){if(he)Wr=Cu(Xi,he);else{const h6=Cu(Xi,he);if(!h6)return;Wr=h6}if(!Fn(22)&&!he)return}else{if(!he)return;Wr=Kf()}const Nr=X()===59,_r=bn(59,!1);if(_r&&!he&&Es(_r))return;let ma=_r;for(;(ma==null?void 0:ma.kind)===196;)ma=ma.type;const E0=ma&&BB(ma);if(!he&&X()!==39&&(E0||X()!==19))return;const qs=X(),Ks=U0(39),x4=qs===39||qs===19?ip(Ge(vi,jP),Re):q0();if(!Re&&Nr&&X()!==59)return;const Jp=k.createArrowFunction(vi,Mu,Wr,_r,Ks,x4);return Ln(Oi(Jp,nt),Lt)}function ip(he,Re){if(X()===19)return u6(he?2:0);if(X()!==27&&X()!==100&&X()!==86&&w9()&&!pt())return u6(16|(he?2:0));const nt=rn;rn=!1;const Lt=he?et(()=>Ch(Re)):gt(()=>Ch(Re));return rn=nt,Lt}function bg(he,Re,nt){const Lt=Ho(58);if(!Lt)return he;let vi;return Oi(k.createConditionalExpression(he,Lt,Yo(s,()=>Ch(!1)),vi=U0(59),j4(vi)?Ch(nt):dl(80,!1,F._0_expected,$o(59))),Re)}function m3(he){const Re=de(),nt=nc();return fE(he,nt,Re)}function Xk(he){return he===103||he===165}function fE(he,Re,nt){for(;;){Ui();const Lt=Ij(X());if(!(X()===43?Lt>=he:Lt>he)||X()===103&&mt())break;if(X()===130||X()===152){if(u.hasPrecedingLineBreak())break;{const Xi=X();ct(),Re=Xi===152?Pw(Re,Rd()):or(Re,Rd())}}else Re=Ur(Re,wc(),m3(Lt),nt)}return Re}function eF(){return mt()&&X()===103?!1:Ij(X())>0}function Pw(he,Re){return Oi(k.createSatisfiesExpression(he,Re),he.pos)}function Ur(he,Re,nt,Lt){return Oi(k.createBinaryExpression(he,Re,nt),Lt)}function or(he,Re){return Oi(k.createAsExpression(he,Re),he.pos)}function mE(){const he=de();return Oi(k.createPrefixUnaryExpression(X(),Ct(bh)),he)}function yf(){const he=de();return Oi(k.createDeleteExpression(Ct(bh)),he)}function Mw(){const he=de();return Oi(k.createTypeOfExpression(Ct(bh)),he)}function S5(){const he=de();return Oi(k.createVoidExpression(Ct(bh)),he)}function zw(){return X()===135?$i()?!0:wn(Vw):!1}function fb(){const he=de();return Oi(k.createAwaitExpression(Ct(bh)),he)}function nc(){if(cD()){const nt=de(),Lt=h_();return X()===43?fE(Ij(X()),Lt,nt):Lt}const he=X(),Re=bh();if(X()===43){const nt=ps(Ke,Re.pos),{end:Lt}=Re;Re.kind===216?le(nt,Lt,F.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):(H.assert(yq(he)),le(nt,Lt,F.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,$o(he)))}return Re}function bh(){switch(X()){case 40:case 41:case 55:case 54:return mE();case 91:return yf();case 114:return Mw();case 116:return S5();case 30:return Ie===1?g3(!0,void 0,void 0,!0):aC();case 135:if(zw())return fb();default:return h_()}}function cD(){switch(X()){case 40:case 41:case 55:case 54:case 91:case 114:case 116:case 135:return!1;case 30:if(Ie!==1)return!1;default:return!0}}function h_(){if(X()===46||X()===47){const Re=de();return Oi(k.createPrefixUnaryExpression(X(),Ct(p3)),Re)}else if(Ie===1&&X()===30&&wn(d4))return g3(!0);const he=p3();if(H.assert(_f(he)),(X()===46||X()===47)&&!u.hasPrecedingLineBreak()){const Re=X();return ct(),Oi(k.createPostfixUnaryExpression(he,Re),he.pos)}return he}function p3(){const he=de();let Re;return X()===102?wn(t6)?(je|=4194304,Re=wc()):wn(Kk)?(ct(),ct(),Re=Oi(k.createMetaProperty(102,vc()),he),je|=8388608):Re=Wp():Re=X()===108?rC():Wp(),up(he,Re)}function Wp(){const he=de(),Re=Bd();return Na(he,Re,!0)}function rC(){const he=de();let Re=wc();if(X()===30){const nt=de(),Lt=Rr(pb);Lt!==void 0&&(le(nt,de(),F.super_may_not_use_type_arguments),sf()||(Re=k.createExpressionWithTypeArguments(Re,Lt)))}return X()===21||X()===25||X()===23?Re:(U0(25,F.super_must_be_followed_by_an_argument_list_or_member_access),Oi(ge(Re,gi(!0,!0,!0)),he))}function g3(he,Re,nt,Lt=!1){const vi=de(),Xi=m_(he);let Mu;if(Xi.kind===286){let Wr=Rw(Xi),Nr;const _r=Wr[Wr.length-1];if((_r==null?void 0:_r.kind)===284&&!Ov(_r.openingElement.tagName,_r.closingElement.tagName)&&Ov(Xi.tagName,_r.closingElement.tagName)){const ma=_r.children.end,E0=Oi(k.createJsxElement(_r.openingElement,_r.children,Oi(k.createJsxClosingElement(Oi(J(""),ma,ma)),ma,ma)),_r.openingElement.pos,ma);Wr=Va([...Wr.slice(0,Wr.length-1),E0],Wr.pos,ma),Nr=_r.closingElement}else Nr=k9(Xi,he),Ov(Xi.tagName,Nr.tagName)||(nt&&rE(nt)&&Ov(Nr.tagName,nt.tagName)?te(Xi.tagName,F.JSX_element_0_has_no_corresponding_closing_tag,GN(Ke,Xi.tagName)):te(Nr.tagName,F.Expected_corresponding_JSX_closing_tag_for_0,GN(Ke,Xi.tagName)));Mu=Oi(k.createJsxElement(Xi,Wr,Nr),vi)}else Xi.kind===289?Mu=Oi(k.createJsxFragment(Xi,Rw(Xi),np(he)),vi):(H.assert(Xi.kind===285),Mu=Xi);if(!Lt&&he&&X()===30){const Wr=typeof Re>"u"?Mu.pos:Re,Nr=Rr(()=>g3(!0,Wr));if(Nr){const _r=dl(28,!1);return BP(_r,Nr.pos,0),le(ps(Ke,Wr),Nr.end,F.JSX_expressions_must_have_one_parent_element),Oi(k.createBinaryExpression(Mu,_r,Nr),vi)}}return Mu}function Iw(){const he=de(),Re=k.createJsxText(u.getTokenValue(),ti===13);return ti=u.scanJsxToken(),Oi(Re,he)}function f_(he,Re){switch(Re){case 1:if(O7(he))te(he,F.JSX_fragment_has_no_corresponding_closing_tag);else{const nt=he.tagName,Lt=Math.min(ps(Ke,nt.pos),nt.end);le(Lt,nt.end,F.JSX_element_0_has_no_corresponding_closing_tag,GN(Ke,he.tagName))}return;case 31:case 7:return;case 12:case 13:return Iw();case 19:return b9(!1);case 30:return g3(!1,void 0,he);default:return H.assertNever(Re)}}function Rw(he){const Re=[],nt=de(),Lt=Vi;for(Vi|=16384;;){const vi=f_(he,ti=u.reScanJsxToken());if(!vi||(Re.push(vi),rE(he)&&(vi==null?void 0:vi.kind)===284&&!Ov(vi.openingElement.tagName,vi.closingElement.tagName)&&Ov(he.tagName,vi.closingElement.tagName)))break}return Vi=Lt,Va(Re,nt)}function pE(){const he=de();return Oi(k.createJsxAttributes(wo(13,oz)),he)}function m_(he){const Re=de();if(Fn(30),X()===32)return da(),Oi(k.createJsxOpeningFragment(),Re);const nt=B5(),Lt=$n&524288?void 0:c6(),vi=pE();let Xi;return X()===32?(da(),Xi=k.createJsxOpeningElement(nt,Lt,vi)):(Fn(44),Fn(32,void 0,!1)&&(he?ct():da()),Xi=k.createJsxSelfClosingElement(nt,Lt,vi)),Oi(Xi,Re)}function B5(){const he=de(),Re=Ow();if(mg(Re))return Re;let nt=Re;for(;oo(25);)nt=Oi(ge(nt,gi(!0,!1,!1)),he);return nt}function Ow(){const he=de();er();const Re=X()===110,nt=$();return oo(59)?(er(),Oi(k.createJsxNamespacedName(nt,$()),he)):Re?Oi(k.createToken(110),he):nt}function b9(he){const Re=de();if(!Fn(19))return;let nt,Lt;return X()!==20&&(he||(nt=Ho(26)),Lt=t1()),he?Fn(20):Fn(20,void 0,!1)&&da(),Oi(k.createJsxExpression(nt,Lt),Re)}function oz(){if(X()===19)return mb();const he=de();return Oi(k.createJsxAttribute(B0(),y9()),he)}function y9(){if(X()===64){if(Wu()===11)return nr();if(X()===19)return b9(!0);if(X()===30)return g3(!0);Yi(F.or_JSX_element_expected)}}function B0(){const he=de();er();const Re=$();return oo(59)?(er(),Oi(k.createJsxNamespacedName(Re,$()),he)):Re}function mb(){const he=de();Fn(19),Fn(26);const Re=t1();return Fn(20),Oi(k.createJsxSpreadAttribute(Re),he)}function k9(he,Re){const nt=de();Fn(31);const Lt=B5();return Fn(32,void 0,!1)&&(Re||!Ov(he.tagName,Lt)?ct():da()),Oi(k.createJsxClosingElement(Lt),nt)}function np(he){const Re=de();return Fn(31),Fn(32,F.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(he?ct():da()),Oi(k.createJsxJsxClosingFragment(),Re)}function aC(){H.assert(Ie!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");const he=de();Fn(30);const Re=Rd();Fn(32);const nt=bh();return Oi(k.createTypeAssertion(Re,nt),he)}function F9(){return ct(),hh(X())||X()===23||sf()}function sz(){return X()===29&&wn(F9)}function tF(he){if(he.flags&64)return!0;if(I7(he)){let Re=he.expression;for(;I7(Re)&&!(Re.flags&64);)Re=Re.expression;if(Re.flags&64){for(;I7(he);)he.flags|=64,he=he.expression;return!0}}return!1}function ru(he,Re,nt){const Lt=gi(!0,!0,!0),vi=nt||tF(Re),Xi=vi?ae(Re,nt,Lt):ge(Re,Lt);if(vi&&ea(Xi.name)&&te(Xi.name,F.An_optional_chain_cannot_contain_private_identifiers),l5(Re)&&Re.typeArguments){const Mu=Re.typeArguments.pos-1,Wr=ps(Ke,Re.typeArguments.end)+1;le(Mu,Wr,F.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return Oi(Xi,he)}function x1(he,Re,nt){let Lt;if(X()===24)Lt=dl(80,!0,F.An_element_access_expression_should_take_an_argument);else{const Xi=Qe(t1);Nm(Xi)&&(Xi.text=Uc(Xi.text)),Lt=Xi}Fn(24);const vi=nt||tF(Re)?ne(Re,nt,Lt):Ce(Re,Lt);return Oi(vi,he)}function Na(he,Re,nt){for(;;){let Lt,vi=!1;if(nt&&sz()?(Lt=U0(29),vi=hh(X())):vi=oo(25),vi){Re=ru(he,Re,Lt);continue}if((Lt||!pi())&&oo(23)){Re=x1(he,Re,Lt);continue}if(sf()){Re=!Lt&&Re.kind===233?gE(he,Re.expression,Lt,Re.typeArguments):gE(he,Re,Lt,void 0);continue}if(!Lt){if(X()===54&&!u.hasPrecedingLineBreak()){ct(),Re=Oi(k.createNonNullExpression(Re),he);continue}const Xi=Rr(pb);if(Xi){Re=Oi(k.createExpressionWithTypeArguments(Re,Xi),he);continue}}return Re}}function sf(){return X()===15||X()===16}function gE(he,Re,nt,Lt){const vi=k.createTaggedTemplateExpression(Re,Lt,X()===15?(du(!0),nr()):Q(!0));return(nt||Re.flags&64)&&(vi.flags|=64),vi.questionDotToken=nt,Oi(vi,he)}function up(he,Re){for(;;){Re=Na(he,Re,!0);let nt;const Lt=Ho(29);if(Lt&&(nt=Rr(pb),sf())){Re=gE(he,Re,Lt,nt);continue}if(nt||X()===21){!Lt&&Re.kind===233&&(nt=Re.typeArguments,Re=Re.expression);const vi=qn(),Xi=Lt||tF(Re)?Se(Re,Lt,nt,vi):ve(Re,nt,vi);Re=Oi(Xi,he);continue}if(Lt){const vi=dl(80,!1,F.Identifier_expected);Re=Oi(ae(Re,Lt,vi),he)}break}return Re}function qn(){Fn(21);const he=I1(11,A9);return Fn(22),he}function pb(){if($n&524288||Iu()!==30)return;ct();const he=I1(20,Rd);if(Ui()===32)return ct(),he&&oC()?he:void 0}function oC(){switch(X()){case 21:case 15:case 16:return!0;case 30:case 32:case 40:case 41:return!1}return u.hasPrecedingLineBreak()||eF()||!h3()}function Bd(){switch(X()){case 15:u.getTokenFlags()&26656&&du(!1);case 9:case 10:case 11:return nr();case 110:case 108:case 106:case 112:case 97:return wc();case 21:return EE();case 23:return dD();case 19:return lC();case 134:if(!wn(z0))break;return E3();case 60:return aF();case 86:return Ww();case 100:return E3();case 105:return iF();case 44:case 69:if(Sn()===14)return nr();break;case 16:return Q(!1);case 81:return uu()}return q0(F.Expression_expected)}function EE(){const he=de(),Re=Oe();Fn(21);const nt=Qe(t1);return Fn(22),Ln(Oi(pe(nt),he),Re)}function _E(){const he=de();Fn(26);const Re=Ch(!0);return Oi(k.createSpreadElement(Re),he)}function n6(){return X()===26?_E():X()===28?Oi(k.createOmittedExpression(),de()):Ch(!0)}function A9(){return Yo(s,n6)}function dD(){const he=de(),Re=u.getTokenStart(),nt=Fn(23),Lt=u.hasPrecedingLineBreak(),vi=I1(15,n6);return vl(23,24,nt,Re),Oi(oe(vi,Lt),he)}function sC(){const he=de(),Re=Oe();if(Ho(26)){const ma=Ch(!0);return Ln(Oi(k.createSpreadAssignment(ma),he),Re)}const nt=O1(!0);if(wu(139))return op(he,Re,nt,177,0);if(wu(153))return op(he,Re,nt,178,0);const Lt=Ho(42),vi=Bo(),Xi=fn(),Mu=Ho(58),Wr=Ho(54);if(Lt||X()===21||X()===30)return ap(he,Re,nt,Lt,Xi,Mu,Wr);let Nr;if(vi&&X()!==59){const ma=Ho(64),E0=ma?Qe(()=>Ch(!0)):void 0;Nr=k.createShorthandPropertyAssignment(Xi,E0),Nr.equalsToken=ma}else{Fn(59);const ma=Qe(()=>Ch(!0));Nr=k.createPropertyAssignment(Xi,ma)}return Nr.modifiers=nt,Nr.questionToken=Mu,Nr.exclamationToken=Wr,Ln(Oi(Nr,he),Re)}function lC(){const he=de(),Re=u.getTokenStart(),nt=Fn(19),Lt=u.hasPrecedingLineBreak(),vi=I1(12,sC,!0);return vl(19,20,nt,Re),Oi(se(vi,Lt),he)}function E3(){const he=pi();aa(!1);const Re=de(),nt=Oe(),Lt=O1(!1);Fn(100);const vi=Ho(42),Xi=vi?1:0,Mu=Ge(Lt,jP)?2:0,Wr=Xi&&Mu?ii(p_):Xi?Xt(p_):Mu?et(p_):p_(),Nr=Xe(),_r=bu(Xi|Mu),ma=bn(59,!1),E0=u6(Xi|Mu);aa(he);const qs=k.createFunctionExpression(Lt,vi,Wr,Nr,_r,ma,E0);return Ln(Oi(qs,Re),nt)}function p_(){return as()?of():void 0}function iF(){const he=de();if(Fn(105),oo(25)){const Xi=vc();return Oi(k.createMetaProperty(105,Xi),he)}const Re=de();let nt=Na(Re,Bd(),!1),Lt;nt.kind===233&&(Lt=nt.typeArguments,nt=nt.expression),X()===29&&Yi(F.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,GN(Ke,nt));const vi=X()===21?qn():void 0;return Oi(Ne(nt,Lt,vi),he)}function hD(he,Re){const nt=de(),Lt=Oe(),vi=u.getTokenStart(),Xi=Fn(19,Re);if(Xi||he){const Mu=u.hasPrecedingLineBreak(),Wr=wo(1,Um);vl(19,20,Xi,vi);const Nr=Ln(Oi(fe(Wr,Mu),nt),Lt);return X()===64&&(Yi(F.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses),ct()),Nr}else{const Mu=Kf();return Ln(Oi(fe(Mu,void 0),nt),Lt)}}function u6(he,Re){const nt=_i();Da(!!(he&1));const Lt=$i();Ba(!!(he&2));const vi=rn;rn=!1;const Xi=pi();Xi&&aa(!1);const Mu=hD(!!(he&16),Re);return Xi&&aa(!0),rn=vi,Da(nt),Ba(Lt),Mu}function gb(){const he=de(),Re=Oe();return Fn(27),Ln(Oi(k.createEmptyStatement(),he),Re)}function S9(){const he=de(),Re=Oe();Fn(101);const nt=u.getTokenStart(),Lt=Fn(21),vi=Qe(t1);vl(21,22,Lt,nt);const Xi=Um(),Mu=oo(93)?Um():void 0;return Ln(Oi(We(vi,Xi,Mu),he),Re)}function nF(){const he=de(),Re=Oe();Fn(92);const nt=Um();Fn(117);const Lt=u.getTokenStart(),vi=Fn(21),Xi=Qe(t1);return vl(21,22,vi,Lt),oo(27),Ln(Oi(k.createDoStatement(nt,Xi),he),Re)}function Eb(){const he=de(),Re=Oe();Fn(117);const nt=u.getTokenStart(),Lt=Fn(21),vi=Qe(t1);vl(21,22,Lt,nt);const Xi=Um();return Ln(Oi(Ae(vi,Xi),he),Re)}function g4(){const he=de(),Re=Oe();Fn(99);const nt=Ho(135);Fn(21);let Lt;X()!==27&&(X()===115||X()===121||X()===87||X()===160&&wn(fD)||X()===135&&wn(T9)?Lt=vb(!0):Lt=Et(t1));let vi;if(nt?Fn(165):oo(165)){const Xi=Qe(()=>Ch(!0));Fn(22),vi=He(nt,Lt,Xi,Um())}else if(oo(103)){const Xi=Qe(t1);Fn(22),vi=k.createForInStatement(Lt,Xi,Um())}else{Fn(27);const Xi=X()!==27&&X()!==22?Qe(t1):void 0;Fn(27);const Mu=X()!==22?Qe(t1):void 0;Fn(22),vi=De(Lt,Xi,Mu,Um())}return Ln(Oi(vi,he),Re)}function cC(he){const Re=de(),nt=Oe();Fn(he===252?83:88);const Lt=Tc()?void 0:q0();cl();const vi=he===252?k.createBreakStatement(Lt):k.createContinueStatement(Lt);return Ln(Oi(vi,Re),nt)}function bc(){const he=de(),Re=Oe();Fn(107);const nt=Tc()?void 0:Qe(t1);return cl(),Ln(Oi(k.createReturnStatement(nt),he),Re)}function hd(){const he=de(),Re=Oe();Fn(118);const nt=u.getTokenStart(),Lt=Fn(21),vi=Qe(t1);vl(21,22,Lt,nt);const Xi=vo(67108864,Um);return Ln(Oi(k.createWithStatement(vi,Xi),he),Re)}function B9(){const he=de(),Re=Oe();Fn(84);const nt=Qe(t1);Fn(59);const Lt=wo(3,Um);return Ln(Oi(k.createCaseClause(nt,Lt),he),Re)}function R1(){const he=de();Fn(90),Fn(59);const Re=wo(3,Um);return Oi(k.createDefaultClause(Re),he)}function kf(){return X()===84?B9():R1()}function _b(){const he=de();Fn(19);const Re=wo(2,kf);return Fn(20),Oi(k.createCaseBlock(Re),he)}function E4(){const he=de(),Re=Oe();Fn(109),Fn(21);const nt=Qe(t1);Fn(22);const Lt=_b();return Ln(Oi(k.createSwitchStatement(nt,Lt),he),Re)}function dC(){const he=de(),Re=Oe();Fn(111);let nt=u.hasPrecedingLineBreak()?void 0:Qe(t1);return nt===void 0&&(Ni++,nt=Oi(J(""),de())),Il()||Ua(nt),Ln(Oi(k.createThrowStatement(nt),he),Re)}function w5(){const he=de(),Re=Oe();Fn(113);const nt=hD(!1),Lt=X()===85?i1():void 0;let vi;return(!Lt||X()===98)&&(Fn(98,F.catch_or_finally_expected),vi=hD(!1)),Ln(Oi(k.createTryStatement(nt,Lt,vi),he),Re)}function i1(){const he=de();Fn(85);let Re;oo(21)?(Re=lf(),Fn(22)):Re=void 0;const nt=hD(!1);return Oi(k.createCatchClause(Re,nt),he)}function uF(){const he=de(),Re=Oe();return Fn(89),cl(),Ln(Oi(k.createDebuggerStatement(),he),Re)}function rp(){const he=de();let Re=Oe(),nt;const Lt=X()===21,vi=Qe(t1);return at(vi)&&oo(59)?nt=k.createLabeledStatement(vi,Um()):(Il()||Ua(vi),nt=Be(vi),Lt&&(Re=!1)),Ln(Oi(nt,he),Re)}function r6(){return ct(),hh(X())&&!u.hasPrecedingLineBreak()}function jw(){return ct(),X()===86&&!u.hasPrecedingLineBreak()}function z0(){return ct(),X()===100&&!u.hasPrecedingLineBreak()}function Vw(){return ct(),(hh(X())||X()===9||X()===10||X()===11)&&!u.hasPrecedingLineBreak()}function rF(){for(;;)switch(X()){case 115:case 121:case 87:case 100:case 86:case 94:return!0;case 160:return Em();case 135:return a6();case 120:case 156:return A5();case 144:case 145:return P9();case 128:case 129:case 134:case 138:case 123:case 124:case 125:case 148:const he=X();if(ct(),u.hasPrecedingLineBreak())return!1;if(he===138&&X()===156)return!0;continue;case 162:return ct(),X()===19||X()===80||X()===95;case 102:return ct(),X()===11||X()===42||X()===19||hh(X());case 95:let Re=ct();if(Re===156&&(Re=wn(ct)),Re===64||Re===42||Re===19||Re===90||Re===130||Re===60)return!0;continue;case 126:ct();continue;default:return!1}}function hC(){return wn(rF)}function w9(){switch(X()){case 60:case 27:case 19:case 115:case 121:case 160:case 100:case 86:case 94:case 101:case 92:case 117:case 99:case 88:case 83:case 107:case 118:case 109:case 111:case 113:case 89:case 85:case 98:return!0;case 102:return hC()||wn(ab);case 87:case 95:return hC();case 134:case 138:case 120:case 144:case 145:case 156:case 162:return!0;case 129:case 125:case 123:case 124:case 126:case 148:return hC()||!wn(r6);default:return h3()}}function Vh(){return ct(),as()||X()===19||X()===23}function _3(){return wn(Vh)}function fD(){return Db(!0)}function Db(he){return ct(),he&&X()===165?!1:(as()||X()===19)&&!u.hasPrecedingLineBreak()}function Em(){return wn(Db)}function T9(he){return ct()===160?Db(he):!1}function a6(){return wn(T9)}function Um(){switch(X()){case 27:return gb();case 19:return hD(!1);case 115:return mC(de(),Oe(),void 0);case 121:if(_3())return mC(de(),Oe(),void 0);break;case 135:if(a6())return mC(de(),Oe(),void 0);break;case 160:if(Em())return mC(de(),Oe(),void 0);break;case 100:return Cb(de(),Oe(),void 0);case 86:return D4(de(),Oe(),void 0);case 101:return S9();case 92:return nF();case 117:return Eb();case 99:return g4();case 88:return cC(251);case 83:return cC(252);case 107:return bc();case 118:return hd();case 109:return E4();case 111:return dC();case 113:case 85:case 98:return w5();case 89:return uF();case 60:return T5();case 134:case 120:case 156:case 144:case 145:case 138:case 87:case 94:case 95:case 102:case 123:case 124:case 125:case 128:case 129:case 126:case 148:case 162:if(hC())return T5();break}return rp()}function xb(he){return he.kind===138}function T5(){const he=de(),Re=Oe(),nt=O1(!0);if(Ge(nt,xb)){const vi=lz(he);if(vi)return vi;for(const Xi of nt)Xi.flags|=33554432;return vo(33554432,()=>L9(he,Re,nt))}else return L9(he,Re,nt)}function lz(he){return vo(33554432,()=>{const Re=hc(Vi,he);if(Re)return Cl(Re)})}function L9(he,Re,nt){switch(X()){case 115:case 121:case 87:case 160:case 135:return mC(he,Re,nt);case 100:return Cb(he,Re,nt);case 86:return D4(he,Re,nt);case 120:return Vt(he,Re,nt);case 156:return ji(he,Re,nt);case 94:return $r(he,Re,nt);case 162:case 144:case 145:return Ff(he,Re,nt);case 102:return N5(he,Re,nt);case 95:switch(ct(),X()){case 90:case 64:return cte(he,Re,nt);case 130:return d6(he,Re,nt);default:return _C(he,Re,nt)}default:if(nt){const Lt=dl(282,!0,F.Declaration_expected);return SP(Lt,he),Lt.modifiers=nt,Lt}return}}function N9(){return ct()===11}function P9(){return ct(),!u.hasPrecedingLineBreak()&&(Bo()||X()===11)}function fC(he,Re){if(X()!==19){if(he&4){Eu();return}if(Tc()){cl();return}}return u6(he,Re)}function Jf(){const he=de();if(X()===28)return Oi(k.createOmittedExpression(),he);const Re=Ho(26),nt=_u(),Lt=p4();return Oi(k.createBindingElement(Re,void 0,nt,Lt),he)}function D3(){const he=de(),Re=Ho(26),nt=as();let Lt=fn(),vi;nt&&X()!==59?(vi=Lt,Lt=void 0):(Fn(59),vi=_u());const Xi=p4();return Oi(k.createBindingElement(Re,Lt,vi,Xi),he)}function M9(){const he=de();Fn(19);const Re=Qe(()=>I1(9,D3));return Fn(20),Oi(k.createObjectBindingPattern(Re),he)}function z9(){const he=de();Fn(23);const Re=Qe(()=>I1(10,Jf));return Fn(24),Oi(k.createArrayBindingPattern(Re),he)}function Hs(){return X()===19||X()===23||X()===81||as()}function _u(he){return X()===23?z9():X()===19?M9():of(he)}function _m(){return lf(!0)}function lf(he){const Re=de(),nt=Oe(),Lt=_u(F.Private_identifiers_are_not_allowed_in_variable_declarations);let vi;he&&Lt.kind===80&&X()===54&&!u.hasPrecedingLineBreak()&&(vi=wc());const Xi=k5(),Mu=Xk(X())?void 0:p4(),Wr=Je(Lt,vi,Xi,Mu);return Ln(Oi(Wr,Re),nt)}function vb(he){const Re=de();let nt=0;switch(X()){case 115:break;case 121:nt|=1;break;case 87:nt|=2;break;case 160:nt|=4;break;case 135:H.assert(a6()),nt|=6,ct();break;default:H.fail()}ct();let Lt;if(X()===165&&wn(Hw))Lt=Kf();else{const vi=mt();sa(he),Lt=I1(8,he?lf:_m),sa(vi)}return Oi(ft(Lt,nt),Re)}function Hw(){return Ih()&&ct()===22}function mC(he,Re,nt){const Lt=vb(!1);cl();const vi=xe(nt,Lt);return Ln(Oi(vi,he),Re)}function Cb(he,Re,nt){const Lt=$i(),vi=eE(nt);Fn(100);const Xi=Ho(42),Mu=vi&2048?p_():of(),Wr=Xi?1:0,Nr=vi&1024?2:0,_r=Xe();vi&32&&Ba(!0);const ma=bu(Wr|Nr),E0=bn(59,!1),qs=fC(Wr|Nr,F.or_expected);Ba(Lt);const Ks=k.createFunctionDeclaration(nt,Xi,Mu,_r,ma,E0,qs);return Ln(Oi(Ks,he),Re)}function o6(){if(X()===137)return Fn(137);if(X()===11&&wn(ct)===21)return Rr(()=>{const he=nr();return he.text==="constructor"?he:void 0})}function qm(he,Re,nt){return Rr(()=>{if(o6()){const Lt=Xe(),vi=bu(0),Xi=bn(59,!1),Mu=fC(0,F.or_expected),Wr=k.createConstructorDeclaration(nt,vi,Mu);return Wr.typeParameters=Lt,Wr.type=Xi,Ln(Oi(Wr,he),Re)}})}function ap(he,Re,nt,Lt,vi,Xi,Mu,Wr){const Nr=Lt?1:0,_r=Ge(nt,jP)?2:0,ma=Xe(),E0=bu(Nr|_r),qs=bn(59,!1),Ks=fC(Nr|_r,Wr),x4=k.createMethodDeclaration(nt,Lt,vi,Xi,ma,E0,qs,Ks);return x4.exclamationToken=Mu,Ln(Oi(x4,he),Re)}function s6(he,Re,nt,Lt,vi){const Xi=!vi&&!u.hasPrecedingLineBreak()?Ho(54):void 0,Mu=k5(),Wr=Yo(90112,p4);wl(Lt,Mu,Wr);const Nr=k.createPropertyDeclaration(nt,Lt,vi||Xi,Mu,Wr);return Ln(Oi(Nr,he),Re)}function Gp(he,Re,nt){const Lt=Ho(42),vi=fn(),Xi=Ho(58);return Lt||X()===21||X()===30?ap(he,Re,nt,Lt,vi,Xi,void 0,F.or_expected):s6(he,Re,nt,vi,Xi)}function op(he,Re,nt,Lt,vi){const Xi=fn(),Mu=Xe(),Wr=bu(0),Nr=bn(59,!1),_r=fC(vi),ma=Lt===177?k.createGetAccessorDeclaration(nt,Xi,Wr,Nr,_r):k.createSetAccessorDeclaration(nt,Xi,Wr,_r);return ma.typeParameters=Mu,Of(ma)&&(ma.type=Nr),Ln(Oi(ma,he),Re)}function L5(){let he;if(X()===60)return!0;for(;QD(X());){if(he=X(),Use(he))return!0;ct()}if(X()===42||(tt()&&(he=X(),ct()),X()===23))return!0;if(he!==void 0){if(!nf(he)||he===153||he===139)return!0;switch(X()){case 21:case 30:case 54:case 59:case 64:case 58:return!0;default:return Tc()}}return!1}function bb(he,Re,nt){U0(126);const Lt=Nc(),vi=Ln(Oi(k.createClassStaticBlockDeclaration(Lt),he),Re);return vi.modifiers=nt,vi}function Nc(){const he=_i(),Re=$i();Da(!1),Ba(!0);const nt=hD(!1);return Da(he),Ba(Re),nt}function cz(){if($i()&&X()===135){const he=de(),Re=q0(F.Expression_expected);ct();const nt=Na(he,Re,!0);return up(he,nt)}return p3()}function _4(){const he=de();if(!oo(60))return;const Re=Pe(cz);return Oi(k.createDecorator(Re),he)}function Kw(he,Re,nt){const Lt=de(),vi=X();if(X()===87&&Re){if(!Rr(Mr))return}else{if(nt&&X()===126&&wn(xE))return;if(he&&X()===126)return;if(!id())return}return Oi(Y(vi),Lt)}function O1(he,Re,nt){const Lt=de();let vi,Xi,Mu,Wr=!1,Nr=!1,_r=!1;if(he&&X()===60)for(;Xi=_4();)vi=Ei(vi,Xi);for(;Mu=Kw(Wr,Re,nt);)Mu.kind===126&&(Wr=!0),vi=Ei(vi,Mu),Nr=!0;if(Nr&&he&&X()===60)for(;Xi=_4();)vi=Ei(vi,Xi),_r=!0;if(_r)for(;Mu=Kw(Wr,Re,nt);)Mu.kind===126&&(Wr=!0),vi=Ei(vi,Mu);return vi&&Va(vi,Lt)}function pC(){let he;if(X()===134){const Re=de();ct();const nt=Oi(Y(134),Re);he=Va([nt],Re)}return he}function yb(){const he=de(),Re=Oe();if(X()===27)return ct(),Ln(Oi(k.createSemicolonClassElement(),he),Re);const nt=O1(!0,!0,!0);if(X()===126&&wn(xE))return bb(he,Re,nt);if(wu(139))return op(he,Re,nt,177,0);if(wu(153))return op(he,Re,nt,178,0);if(X()===137||X()===11){const Lt=qm(he,Re,nt);if(Lt)return Lt}if(m0())return Wf(he,Re,nt);if(hh(X())||X()===11||X()===9||X()===42||X()===23)if(Ge(nt,xb)){for(const vi of nt)vi.flags|=33554432;return vo(33554432,()=>Gp(he,Re,nt))}else return Gp(he,Re,nt);if(nt){const Lt=dl(80,!0,F.Declaration_expected);return s6(he,Re,nt,Lt,void 0)}return H.fail("Should not have attempted to parse class member declaration.")}function aF(){const he=de(),Re=Oe(),nt=O1(!0);if(X()===86)return Ol(he,Re,nt,231);const Lt=dl(282,!0,F.Expression_expected);return SP(Lt,he),Lt.modifiers=nt,Lt}function Ww(){return Ol(de(),Oe(),void 0,231)}function D4(he,Re,nt){return Ol(he,Re,nt,263)}function Ol(he,Re,nt,Lt){const vi=$i();Fn(86);const Xi=DE(),Mu=Xe();Ge(nt,w7)&&Ba(!0);const Wr=x3();let Nr;Fn(19)?(Nr=be(),Fn(20)):Nr=Kf(),Ba(vi);const _r=Lt===263?k.createClassDeclaration(nt,Xi,Mu,Wr,Nr):k.createClassExpression(nt,Xi,Mu,Wr,Nr);return Ln(Oi(_r,he),Re)}function DE(){return as()&&!l6()?vh(as()):void 0}function l6(){return X()===119&&wn(nh)}function x3(){if(O())return wo(22,gC)}function gC(){const he=de(),Re=X();H.assert(Re===96||Re===119),ct();const nt=I1(7,Gw);return Oi(k.createHeritageClause(Re,nt),he)}function Gw(){const he=de(),Re=p3();if(Re.kind===233)return Re;const nt=c6();return Oi(k.createExpressionWithTypeArguments(Re,nt),he)}function c6(){return X()===30?Oh(20,Rd,30,32):void 0}function O(){return X()===96||X()===119}function be(){return wo(5,yb)}function Vt(he,Re,nt){Fn(120);const Lt=q0(),vi=Xe(),Xi=x3(),Mu=Gk(),Wr=k.createInterfaceDeclaration(nt,Lt,vi,Xi,Mu);return Ln(Oi(Wr,he),Re)}function ji(he,Re,nt){Fn(156),u.hasPrecedingLineBreak()&&Yi(F.Line_break_not_permitted_here);const Lt=q0(),vi=Xe();Fn(64);const Xi=X()===141&&Rr($k)||Rd();cl();const Mu=k.createTypeAliasDeclaration(nt,Lt,vi,Xi);return Ln(Oi(Mu,he),Re)}function yu(){const he=de(),Re=Oe(),nt=fn(),Lt=Qe(p4);return Ln(Oi(k.createEnumMember(nt,Lt),he),Re)}function $r(he,Re,nt){Fn(94);const Lt=q0();let vi;Fn(19)?(vi=me(()=>I1(6,yu)),Fn(20)):vi=Kf();const Xi=k.createEnumDeclaration(nt,Lt,vi);return Ln(Oi(Xi,he),Re)}function br(){const he=de();let Re;return Fn(19)?(Re=wo(1,Um),Fn(20)):Re=Kf(),Oi(k.createModuleBlock(Re),he)}function Ea(he,Re,nt,Lt){const vi=Lt&32,Xi=Lt&8?vc():q0(),Mu=oo(25)?Ea(de(),!1,void 0,8|vi):br(),Wr=k.createModuleDeclaration(nt,Xi,Mu,Lt);return Ln(Oi(Wr,he),Re)}function Fo(he,Re,nt){let Lt=0,vi;X()===162?(vi=q0(),Lt|=2048):(vi=nr(),vi.text=Uc(vi.text));let Xi;X()===19?Xi=br():cl();const Mu=k.createModuleDeclaration(nt,vi,Xi,Lt);return Ln(Oi(Mu,he),Re)}function Ff(he,Re,nt){let Lt=0;if(X()===162)return Fo(he,Re,nt);if(oo(145))Lt|=32;else if(Fn(144),X()===11)return Fo(he,Re,nt);return Ea(he,Re,nt,Lt)}function $f(){return X()===149&&wn(Sr)}function Sr(){return ct()===21}function xE(){return ct()===19}function gn(){return ct()===44}function d6(he,Re,nt){Fn(130),Fn(145);const Lt=q0();cl();const vi=k.createNamespaceExportDeclaration(Lt);return vi.modifiers=nt,Ln(Oi(vi,he),Re)}function N5(he,Re,nt){Fn(102);const Lt=u.getTokenFullStart();let vi;Bo()&&(vi=q0());let Xi=!1;if(X()!==161&&(vi==null?void 0:vi.escapedText)==="type"&&(Bo()||I9())&&(Xi=!0,vi=Bo()?q0():void 0),vi&&!sF())return g_(he,Re,nt,vi,Xi);let Mu;(vi||X()===42||X()===19)&&(Mu=P5(vi,Lt,Xi),Fn(161));const Wr=R9(),Nr=X();let _r;(Nr===118||Nr===132)&&!u.hasPrecedingLineBreak()&&(_r=EC(Nr)),cl();const ma=k.createImportDeclaration(nt,Mu,Wr,_r);return Ln(Oi(ma,he),Re)}function oF(){const he=de(),Re=hh(X())?vc():Rl(11);Fn(59);const nt=Ch(!0);return Oi(k.createImportAttribute(Re,nt),he)}function EC(he,Re){const nt=de();Re||Fn(he);const Lt=u.getTokenStart();if(Fn(19)){const vi=u.hasPrecedingLineBreak(),Xi=I1(24,oF,!0);if(!Fn(20)){const Mu=Zu(lt);Mu&&Mu.code===F._0_expected.code&&gs(Mu,cB(Ze,Ke,Lt,1,F.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return Oi(k.createImportAttributes(Xi,vi,he),nt)}else{const vi=Va([],de(),void 0,!1);return Oi(k.createImportAttributes(vi,!1,he),nt)}}function I9(){return X()===42||X()===19}function sF(){return X()===28||X()===161}function g_(he,Re,nt,Lt,vi){Fn(64);const Xi=v3();cl();const Mu=k.createImportEqualsDeclaration(nt,vi,Lt,Xi);return Ln(Oi(Mu,he),Re)}function P5(he,Re,nt){let Lt;return(!he||oo(28))&&(Lt=X()===42?UK():dz(275)),Oi(k.createImportClause(nt,he,Lt),Re)}function v3(){return $f()?Jw():Ee(!1)}function Jw(){const he=de();Fn(149),Fn(21);const Re=R9();return Fn(22),Oi(k.createExternalModuleReference(Re),he)}function R9(){if(X()===11){const he=nr();return he.text=Uc(he.text),he}else return t1()}function UK(){const he=de();Fn(42),Fn(130);const Re=q0();return Oi(k.createNamespaceImport(Re),he)}function dz(he){const Re=de(),nt=he===275?k.createNamedImports(Oh(23,mD,19,20)):k.createNamedExports(Oh(23,E_,19,20));return Oi(nt,Re)}function E_(){const he=Oe();return Ln($w(281),he)}function mD(){return $w(276)}function $w(he){const Re=de();let nt=nf(X())&&!Bo(),Lt=u.getTokenStart(),vi=u.getTokenEnd(),Xi=!1,Mu,Wr=!0,Nr=vc();if(Nr.escapedText==="type")if(X()===130){const E0=vc();if(X()===130){const qs=vc();hh(X())?(Xi=!0,Mu=E0,Nr=ma(),Wr=!1):(Mu=Nr,Nr=qs,Wr=!1)}else hh(X())?(Mu=Nr,Wr=!1,Nr=ma()):(Xi=!0,Nr=E0)}else hh(X())&&(Xi=!0,Nr=ma());Wr&&X()===130&&(Mu=Nr,Fn(130),Nr=ma()),he===276&&nt&&le(Lt,vi,F.Identifier_expected);const _r=he===276?k.createImportSpecifier(Xi,Mu,Nr):k.createExportSpecifier(Xi,Mu,Nr);return Oi(_r,Re);function ma(){return nt=nf(X())&&!Bo(),Lt=u.getTokenStart(),vi=u.getTokenEnd(),vc()}}function __(he){return Oi(k.createNamespaceExport(vc()),he)}function _C(he,Re,nt){const Lt=$i();Ba(!0);let vi,Xi,Mu;const Wr=oo(156),Nr=de();oo(42)?(oo(130)&&(vi=__(Nr)),Fn(161),Xi=R9()):(vi=dz(279),(X()===161||X()===11&&!u.hasPrecedingLineBreak())&&(Fn(161),Xi=R9()));const _r=X();Xi&&(_r===118||_r===132)&&!u.hasPrecedingLineBreak()&&(Mu=EC(_r)),cl(),Ba(Lt);const ma=k.createExportDeclaration(nt,Wr,vi,Xi,Mu);return Ln(Oi(ma,he),Re)}function cte(he,Re,nt){const Lt=$i();Ba(!0);let vi;oo(64)?vi=!0:Fn(90);const Xi=Ch(!0);cl(),Ba(Lt);const Mu=k.createExportAssignment(nt,vi,Xi);return Ln(Oi(Mu,he),Re)}let vE;(he=>{he[he.SourceElements=0]="SourceElements",he[he.BlockStatements=1]="BlockStatements",he[he.SwitchClauses=2]="SwitchClauses",he[he.SwitchClauseStatements=3]="SwitchClauseStatements",he[he.TypeMembers=4]="TypeMembers",he[he.ClassMembers=5]="ClassMembers",he[he.EnumMembers=6]="EnumMembers",he[he.HeritageClauseElement=7]="HeritageClauseElement",he[he.VariableDeclarations=8]="VariableDeclarations",he[he.ObjectBindingElements=9]="ObjectBindingElements",he[he.ArrayBindingElements=10]="ArrayBindingElements",he[he.ArgumentExpressions=11]="ArgumentExpressions",he[he.ObjectLiteralMembers=12]="ObjectLiteralMembers",he[he.JsxAttributes=13]="JsxAttributes",he[he.JsxChildren=14]="JsxChildren",he[he.ArrayLiteralMembers=15]="ArrayLiteralMembers",he[he.Parameters=16]="Parameters",he[he.JSDocParameters=17]="JSDocParameters",he[he.RestProperties=18]="RestProperties",he[he.TypeParameters=19]="TypeParameters",he[he.TypeArguments=20]="TypeArguments",he[he.TupleElementTypes=21]="TupleElementTypes",he[he.HeritageClauses=22]="HeritageClauses",he[he.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",he[he.ImportAttributes=24]="ImportAttributes",he[he.JSDocComment=25]="JSDocComment",he[he.Count=26]="Count"})(vE||(vE={}));let lF;(he=>{he[he.False=0]="False",he[he.True=1]="True",he[he.Unknown=2]="Unknown"})(lF||(lF={}));let qK;(he=>{function Re(_r,ma,E0){Fr("file.js",_r,99,void 0,1,0),u.setText(_r,ma,E0),ti=u.scan();const qs=nt(),Ks=Cn("file.js",99,1,!1,[],Y(1),0,zs),x4=D7(lt,Ks);return St&&(Ks.jsDocDiagnostics=D7(St,Ks)),Sa(),qs?{jsDocTypeExpression:qs,diagnostics:x4}:void 0}he.parseJSDocTypeExpressionForTests=Re;function nt(_r){const ma=de(),E0=(_r?oo:Fn)(19),qs=vo(16777216,vg);(!_r||E0)&&cd(20);const Ks=k.createJSDocTypeExpression(qs);return Dn(Ks),Oi(Ks,ma)}he.parseJSDocTypeExpression=nt;function Lt(){const _r=de(),ma=oo(19),E0=de();let qs=Ee(!1);for(;X()===81;)Er(),Qt(),qs=Oi(k.createJSDocMemberName(qs,q0()),E0);ma&&cd(20);const Ks=k.createJSDocNameReference(qs);return Dn(Ks),Oi(Ks,_r)}he.parseJSDocNameReference=Lt;function vi(_r,ma,E0){Fr("",_r,99,void 0,1,0);const qs=vo(16777216,()=>Nr(ma,E0)),x4=D7(lt,{languageVariant:0,text:_r});return Sa(),qs?{jsDoc:qs,diagnostics:x4}:void 0}he.parseIsolatedJSDocComment=vi;function Xi(_r,ma,E0){const qs=ti,Ks=lt.length,x4=Pi,Jp=vo(16777216,()=>Nr(ma,E0));return ys(Jp,_r),$n&524288&&(St||(St=[]),St.push(...lt)),ti=qs,lt.length=Ks,Pi=x4,Jp}he.parseJSDocComment=Xi;let Mu;(_r=>{_r[_r.BeginningOfLine=0]="BeginningOfLine",_r[_r.SawAsterisk=1]="SawAsterisk",_r[_r.SavingComments=2]="SavingComments",_r[_r.SavingBackticks=3]="SavingBackticks"})(Mu||(Mu={}));let Wr;(_r=>{_r[_r.Property=1]="Property",_r[_r.Parameter=2]="Parameter",_r[_r.CallbackParameter=4]="CallbackParameter"})(Wr||(Wr={}));function Nr(_r=0,ma){const E0=Ke,qs=ma===void 0?E0.length:_r+ma;if(ma=qs-_r,H.assert(_r>=0),H.assert(_r<=qs),H.assert(qs<=E0.length),!Gce(E0,_r))return;let Ks,x4,Jp,h6,C3,Od=[];const pD=[],hz=Vi;Vi|=1<<25;const Uw=u.scanRange(_r+3,ma-5,qw);return Vi=hz,Uw;function qw(){let sn=1,Xu,Vu=_r-(E0.lastIndexOf(` +`,_r)+1)+4;function Vr(_0){Xu||(Xu=Vu),Od.push(_0),Vu+=_0.length}for(Qt();kb(5););kb(4)&&(sn=0,Vu=0);e:for(;;){switch(X()){case 60:dte(Od),C3||(C3=de()),hte(pz(Vu)),sn=0,Xu=void 0;break;case 4:Od.push(u.getTokenText()),sn=0,Vu=0;break;case 42:const _0=u.getTokenText();sn===1?(sn=2,Vr(_0)):(H.assert(sn===0),sn=1,Vu+=_0.length);break;case 5:H.assert(sn!==2,"whitespace shouldn't come from the scanner while saving top-level comment text");const qc=u.getTokenText();Xu!==void 0&&Vu+qc.length>Xu&&Od.push(qc.slice(Xu-Vu)),Vu+=qc.length;break;case 1:break e;case 82:sn=2,Vr(u.getTokenValue());break;case 19:sn=2;const ED=u.getTokenFullStart(),x_=u.getTokenEnd()-1,Zc=Ps(x_);if(Zc){h6||fz(Od),pD.push(Oi(k.createJSDocText(Od.join("")),h6??_r,ED)),pD.push(Zc),Od=[],h6=u.getTokenEnd();break}default:sn=2,Vr(u.getTokenText());break}sn===2?Ti(!1):Qt()}const Kr=Od.join("").trimEnd();pD.length&&Kr.length&&pD.push(Oi(k.createJSDocText(Kr),h6??_r,C3)),pD.length&&Ks&&H.assertIsDefined(C3,"having parsed tags implies that the end of the comment span should be set");const Is=Ks&&Va(Ks,x4,Jp);return Oi(k.createJSDocComment(pD.length?Va(pD,_r,C3):Kr.length?Kr:void 0,Is),_r,qs)}function fz(sn){for(;sn.length&&(sn[0]===` +`||sn[0]==="\r");)sn.shift()}function dte(sn){for(;sn.length;){const Xu=sn[sn.length-1].trimEnd();if(Xu==="")sn.pop();else if(Xu.lengthqc&&(Vr.push(M5.slice(qc-sn)),_0=2),sn+=M5.length;break;case 19:_0=2;const ZK=u.getTokenFullStart(),Xw=u.getTokenEnd()-1,fF=Ps(Xw);fF?(Kr.push(Oi(k.createJSDocText(Vr.join("")),Is??Vu,ZK)),Kr.push(fF),Vr=[],Is=u.getTokenEnd()):ED(u.getTokenText());break;case 62:_0===3?_0=2:_0=3,ED(u.getTokenText());break;case 82:_0!==3&&(_0=2),ED(u.getTokenValue());break;case 42:if(_0===0){_0=1,sn+=1;break}default:_0!==3&&(_0=2),ED(u.getTokenText());break}_0===2||_0===3?x_=Ti(_0===3):x_=Qt()}fz(Vr);const Zc=Vr.join("").trimEnd();if(Kr.length)return Zc.length&&Kr.push(Oi(k.createJSDocText(Zc),Is??Vu)),Va(Kr,Vu,u.getTokenEnd());if(Zc.length)return Zc}function Ps(sn){const Xu=Rr(Pc);if(!Xu)return;Qt(),Zm();const Vu=de();let Vr=hh(X())?Ee(!0):void 0;if(Vr)for(;X()===81;)Er(),Qt(),Vr=Oi(k.createJSDocMemberName(Vr,q0()),Vu);const Kr=[];for(;X()!==20&&X()!==4&&X()!==1;)Kr.push(u.getTokenText()),Qt();const Is=Xu==="link"?k.createJSDocLink:Xu==="linkcode"?k.createJSDocLinkCode:k.createJSDocLinkPlain;return Oi(Is(Vr,Kr.join("")),sn,u.getTokenEnd())}function Pc(){if(gD(),X()===19&&Qt()===60&&hh(Qt())){const sn=u.getTokenValue();if(f6(sn))return sn}}function f6(sn){return sn==="link"||sn==="linkcode"||sn==="linkplain"}function cF(sn,Xu,Vu,Vr){return Oi(k.createJSDocUnknownTag(Xu,v4(sn,de(),Vu,Vr)),sn)}function hte(sn){sn&&(Ks?Ks.push(sn):(Ks=[sn],x4=sn.pos),Jp=sn.end)}function D_(){return gD(),X()===19?nt():void 0}function O9(){const sn=kb(23);sn&&Zm();const Xu=kb(62),Vu=Ez();return Xu&&Ko(62),sn&&(Zm(),Ho(64)&&t1(),Fn(24)),{name:Vu,isBracketed:sn}}function N(sn){switch(sn.kind){case 151:return!0;case 188:return N(sn.elementType);default:return Y4(sn)&&at(sn.typeName)&&sn.typeName.escapedText==="Object"&&!sn.typeArguments}}function W(sn,Xu,Vu,Vr){let Kr=D_(),Is=!Kr;gD();const{name:_0,isBracketed:qc}=O9(),ED=gD();Is&&!wn(Pc)&&(Kr=D_());const x_=v4(sn,de(),Vr,ED),Zc=ee(Kr,_0,Vu,Vr);Zc&&(Kr=Zc,Is=!0);const M5=Vu===1?k.createJSDocPropertyTag(Xu,_0,qc,Kr,Is,x_):k.createJSDocParameterTag(Xu,_0,qc,Kr,Is,x_);return Oi(M5,sn)}function ee(sn,Xu,Vu,Vr){if(sn&&N(sn.type)){const Kr=de();let Is,_0;for(;Is=Rr(()=>Gn(Vu,Vr,Xu));)Is.kind===348||Is.kind===355?_0=Ei(_0,Is):Is.kind===352&&te(Is.tagName,F.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(_0){const qc=Oi(k.createJSDocTypeLiteral(_0,sn.type.kind===188),Kr);return Oi(k.createJSDocTypeExpression(qc),Kr)}}}function ke(sn,Xu,Vu,Vr){Ge(Ks,fY)&&le(Xu.pos,u.getTokenStart(),F._0_tag_already_specified,Qr(Xu.escapedText));const Kr=D_();return Oi(k.createJSDocReturnTag(Xu,Kr,v4(sn,de(),Vu,Vr)),sn)}function dt(sn,Xu,Vu,Vr){Ge(Ks,QP)&&le(Xu.pos,u.getTokenStart(),F._0_tag_already_specified,Qr(Xu.escapedText));const Kr=nt(!0),Is=Vu!==void 0&&Vr!==void 0?v4(sn,de(),Vu,Vr):void 0;return Oi(k.createJSDocTypeTag(Xu,Kr,Is),sn)}function Ai(sn,Xu,Vu,Vr){const Is=X()===23||wn(()=>Qt()===60&&hh(Qt())&&f6(u.getTokenValue()))?void 0:Lt(),_0=Vu!==void 0&&Vr!==void 0?v4(sn,de(),Vu,Vr):void 0;return Oi(k.createJSDocSeeTag(Xu,Is,_0),sn)}function au(sn,Xu,Vu,Vr){const Kr=D_(),Is=v4(sn,de(),Vu,Vr);return Oi(k.createJSDocThrowsTag(Xu,Kr,Is),sn)}function Pa(sn,Xu,Vu,Vr){const Kr=de(),Is=i0();let _0=u.getTokenFullStart();const qc=v4(sn,_0,Vu,Vr);qc||(_0=u.getTokenFullStart());const ED=typeof qc!="string"?Va(an([Oi(Is,Kr,_0)],qc),Kr):Is.text+qc;return Oi(k.createJSDocAuthorTag(Xu,ED),sn)}function i0(){const sn=[];let Xu=!1,Vu=u.getToken();for(;Vu!==1&&Vu!==4;){if(Vu===30)Xu=!0;else{if(Vu===60&&!Xu)break;if(Vu===32&&Xu){sn.push(u.getTokenText()),u.resetTokenState(u.getTokenEnd());break}}sn.push(u.getTokenText()),Vu=Qt()}return k.createJSDocText(sn.join(""))}function Ym(sn,Xu,Vu,Vr){const Kr=DC();return Oi(k.createJSDocImplementsTag(Xu,Kr,v4(sn,de(),Vu,Vr)),sn)}function m6(sn,Xu,Vu,Vr){const Kr=DC();return Oi(k.createJSDocAugmentsTag(Xu,Kr,v4(sn,de(),Vu,Vr)),sn)}function p6(sn,Xu,Vu,Vr){const Kr=nt(!1),Is=Vu!==void 0&&Vr!==void 0?v4(sn,de(),Vu,Vr):void 0;return Oi(k.createJSDocSatisfiesTag(Xu,Kr,Is),sn)}function DC(){const sn=oo(19),Xu=de(),Vu=_ge();u.setInJSDocType(!0);const Vr=c6();u.setInJSDocType(!1);const Kr=k.createExpressionWithTypeArguments(Vu,Vr),Is=Oi(Kr,Xu);return sn&&Fn(20),Is}function _ge(){const sn=de();let Xu=Fb();for(;oo(25);){const Vu=Fb();Xu=Oi(ge(Xu,Vu),sn)}return Xu}function dF(sn,Xu,Vu,Vr,Kr){return Oi(Xu(Vu,v4(sn,de(),Vr,Kr)),sn)}function gz(sn,Xu,Vu,Vr){const Kr=nt(!0);return Zm(),Oi(k.createJSDocThisTag(Xu,Kr,v4(sn,de(),Vu,Vr)),sn)}function ANe(sn,Xu,Vu,Vr){const Kr=nt(!0);return Zm(),Oi(k.createJSDocEnumTag(Xu,Kr,v4(sn,de(),Vu,Vr)),sn)}function Dge(sn,Xu,Vu,Vr){let Kr=D_();gD();const Is=fte();Zm();let _0=Zw(Vu),qc;if(!Kr||N(Kr.type)){let x_,Zc,M5,ZK=!1;for(;(x_=Rr(()=>hF(Vu)))&&x_.kind!==352;)if(ZK=!0,x_.kind===351)if(Zc){const Xw=Yi(F.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Xw&&gs(Xw,cB(Ze,Ke,0,0,F.The_tag_was_first_specified_here));break}else Zc=x_;else M5=Ei(M5,x_);if(ZK){const Xw=Kr&&Kr.type.kind===188,fF=k.createJSDocTypeLiteral(M5,Xw);Kr=Zc&&Zc.typeExpression&&!N(Zc.typeExpression.type)?Zc.typeExpression:Oi(fF,sn),qc=Kr.end}}qc=qc||_0!==void 0?de():(Is??Kr??Xu).end,_0||(_0=v4(sn,qc,Vu,Vr));const ED=k.createJSDocTypedefTag(Xu,Kr,Is,_0);return Oi(ED,sn,qc)}function fte(sn){const Xu=u.getTokenStart();if(!hh(X()))return;const Vu=Fb();if(oo(25)){const Vr=fte(!0),Kr=k.createModuleDeclaration(void 0,Vu,Vr,sn?8:void 0);return Oi(Kr,Xu)}return sn&&(Vu.flags|=4096),Vu}function SNe(sn){const Xu=de();let Vu,Vr;for(;Vu=Rr(()=>Gn(4,sn));){if(Vu.kind===352){te(Vu.tagName,F.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}Vr=Ei(Vr,Vu)}return Va(Vr||[],Xu)}function xge(sn,Xu){const Vu=SNe(Xu),Vr=Rr(()=>{if(kb(60)){const Kr=pz(Xu);if(Kr&&Kr.kind===349)return Kr}});return Oi(k.createJSDocSignature(void 0,Vu,Vr),sn)}function Yw(sn,Xu,Vu,Vr){const Kr=fte();Zm();let Is=Zw(Vu);const _0=xge(sn,Vu);Is||(Is=v4(sn,de(),Vu,Vr));const qc=Is!==void 0?de():_0.end;return Oi(k.createJSDocCallbackTag(Xu,_0,Kr,Is),sn,qc)}function vge(sn,Xu,Vu,Vr){Zm();let Kr=Zw(Vu);const Is=xge(sn,Vu);Kr||(Kr=v4(sn,de(),Vu,Vr));const _0=Kr!==void 0?de():Is.end;return Oi(k.createJSDocOverloadTag(Xu,Is,Kr),sn,_0)}function BNe(sn,Xu){for(;!at(sn)||!at(Xu);)if(!at(sn)&&!at(Xu)&&sn.right.escapedText===Xu.right.escapedText)sn=sn.left,Xu=Xu.left;else return!1;return sn.escapedText===Xu.escapedText}function hF(sn){return Gn(1,sn)}function Gn(sn,Xu,Vu){let Vr=!0,Kr=!1;for(;;)switch(Qt()){case 60:if(Vr){const Is=g6(sn,Xu);return Is&&(Is.kind===348||Is.kind===355)&&Vu&&(at(Is.name)||!BNe(Vu,Is.name.left))?!1:Is}Kr=!1;break;case 4:Vr=!0,Kr=!1;break;case 42:Kr&&(Vr=!1),Kr=!0;break;case 80:Vr=!1;break;case 1:return!1}}function g6(sn,Xu){H.assert(X()===60);const Vu=u.getTokenFullStart();Qt();const Vr=Fb(),Kr=gD();let Is;switch(Vr.escapedText){case"type":return sn===1&&dt(Vu,Vr);case"prop":case"property":Is=1;break;case"arg":case"argument":case"param":Is=6;break;case"template":return j9(Vu,Vr,Xu,Kr);default:return!1}return sn&Is?W(Vu,Vr,sn,Xu):!1}function xC(){const sn=de(),Xu=kb(23);Xu&&Zm();const Vu=Fb(F.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);let Vr;if(Xu&&(Zm(),Fn(64),Vr=vo(16777216,vg),Fn(24)),!Yl(Vu))return Oi(k.createTypeParameterDeclaration(void 0,Vu,void 0,Vr),sn)}function Qw(){const sn=de(),Xu=[];do{Zm();const Vu=xC();Vu!==void 0&&Xu.push(Vu),gD()}while(kb(28));return Va(Xu,sn)}function j9(sn,Xu,Vu,Vr){const Kr=X()===19?nt():void 0,Is=Qw();return Oi(k.createJSDocTemplateTag(Xu,Kr,Is,v4(sn,de(),Vu,Vr)),sn)}function kb(sn){return X()===sn?(Qt(),!0):!1}function Ez(){let sn=Fb();for(oo(23)&&Fn(24);oo(25);){const Xu=Fb();oo(23)&&Fn(24),sn=Bt(sn,Xu)}return sn}function Fb(sn){if(!hh(X()))return dl(80,!sn,sn||F.Identifier_expected);Ni++;const Xu=u.getTokenStart(),Vu=u.getTokenEnd(),Vr=X(),Kr=Uc(u.getTokenValue()),Is=Oi(J(Kr,Vr),Xu,Vu);return Qt(),Is}}})(qK=t.JSDocParser||(t.JSDocParser={}))})(jv||(jv={})),(t=>{function u(z,j,J,K){if(K=K||H.shouldAssert(2),k(z,j,J,K),T2e(J))return z;if(z.statements.length===0)return jv.parseSourceFile(z.fileName,j,z.languageVersion,void 0,!0,z.scriptKind,z.setExternalModuleIndicator,z.jsDocParsingMode);const Y=z;H.assert(!Y.hasBeenIncrementallyParsed),Y.hasBeenIncrementallyParsed=!0,jv.fixupParentReferences(Y);const oe=z.text,se=T(z),ge=b(z,J);k(z,j,ge,K),H.assert(ge.span.start<=J.span.start),H.assert(gc(ge.span)===gc(J.span)),H.assert(gc(PN(ge))===gc(PN(J)));const ae=PN(ge).length-ge.span.length;v(Y,ge.span.start,gc(ge.span),gc(PN(ge)),ae,oe,j,K);const Ce=jv.parseSourceFile(z.fileName,j,z.languageVersion,se,!0,z.scriptKind,z.setExternalModuleIndicator,z.jsDocParsingMode);return Ce.commentDirectives=s(z.commentDirectives,Ce.commentDirectives,ge.span.start,gc(ge.span),ae,oe,j,K),Ce.impliedNodeFormat=z.impliedNodeFormat,Ce}t.updateSourceFile=u;function s(z,j,J,K,Y,oe,se,ge){if(!z)return j;let ae,Ce=!1;for(const ve of z){const{range:Se,type:Ne}=ve;if(Se.endK){ne();const pe={range:{pos:Se.pos+Y,end:Se.end+Y},type:Ne};ae=Ei(ae,pe),ge&&H.assert(oe.substring(Se.pos,Se.end)===se.substring(pe.range.pos,pe.range.end))}}return ne(),ae;function ne(){Ce||(Ce=!0,ae?j&&ae.push(...j):ae=j)}}function d(z,j,J,K,Y,oe){j?ge(z):se(z);return;function se(ae){let Ce="";if(oe&&f(ae)&&(Ce=K.substring(ae.pos,ae.end)),ae._children&&(ae._children=void 0),e_(ae,ae.pos+J,ae.end+J),oe&&f(ae)&&H.assert(Ce===Y.substring(ae.pos,ae.end)),uo(ae,se,ge),sm(ae))for(const ne of ae.jsDoc)se(ne);E(ae,oe)}function ge(ae){ae._children=void 0,e_(ae,ae.pos+J,ae.end+J);for(const Ce of ae)se(Ce)}}function f(z){switch(z.kind){case 11:case 9:case 80:return!0}return!1}function p(z,j,J,K,Y){H.assert(z.end>=j,"Adjusting an element that was entirely before the change range"),H.assert(z.pos<=J,"Adjusting an element that was entirely after the change range"),H.assert(z.pos<=z.end);const oe=Math.min(z.pos,K),se=z.end>=J?z.end+Y:Math.min(z.end,K);H.assert(oe<=se),z.parent&&(H.assertGreaterThanOrEqual(oe,z.parent.pos),H.assertLessThanOrEqual(se,z.parent.end)),e_(z,oe,se)}function E(z,j){if(j){let J=z.pos;const K=Y=>{H.assert(Y.pos>=J),J=Y.end};if(sm(z))for(const Y of z.jsDoc)K(Y);uo(z,K),H.assert(J<=z.end)}}function v(z,j,J,K,Y,oe,se,ge){ae(z);return;function ae(ne){if(H.assert(ne.pos<=ne.end),ne.pos>J){d(ne,!1,Y,oe,se,ge);return}const ve=ne.end;if(ve>=j){if(ne.intersectsChange=!0,ne._children=void 0,p(ne,j,J,K,Y),uo(ne,ae,Ce),sm(ne))for(const Se of ne.jsDoc)ae(Se);E(ne,ge);return}H.assert(veJ){d(ne,!0,Y,oe,se,ge);return}const ve=ne.end;if(ve>=j){ne.intersectsChange=!0,ne._children=void 0,p(ne,j,J,K,Y);for(const Se of ne)ae(Se);return}H.assert(ve0&&se<=1;se++){const ge=B(z,K);H.assert(ge.pos<=K);const ae=ge.pos;K=Math.max(0,ae-1)}const Y=Vc(K,gc(j.span)),oe=j.newLength+(j.span.start-K);return IO(Y,oe)}function B(z,j){let J=z,K;if(uo(z,oe),K){const se=Y(K);se.pos>J.pos&&(J=se)}return J;function Y(se){for(;;){const ge=gle(se);if(ge)se=ge;else return se}}function oe(se){if(!Yl(se))if(se.pos<=j){if(se.pos>=J.pos&&(J=se),jj),!0}}function k(z,j,J,K){const Y=z.text;if(J&&(H.assert(Y.length-J.span.length+J.newLength===j.length),K||H.shouldAssert(3))){const oe=Y.substr(0,J.span.start),se=j.substr(0,J.span.start);H.assert(oe===se);const ge=Y.substring(gc(J.span),Y.length),ae=j.substring(gc(PN(J)),j.length);H.assert(ge===ae)}}function T(z){let j=z.statements,J=0;H.assert(J=Ce.pos&&se=Ce.pos&&se{z[z.Value=-1]="Value"})(M||(M={}))})(Zce||(Zce={})),Yce=new Map,zQe=/^\/\/\/\s*<(\S+)\s.*?\/>/im,IQe=/^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im}});function yY(t){const u=new Map,s=new Map;return L(t,d=>{u.set(d.name.toLowerCase(),d),d.shortName&&s.set(d.shortName,d.name)}),{optionsNameMap:u,shortOptionNames:s}}function RB(){return vXe||(vXe=yY(r3))}function KFe(t){return RQe(t,lc)}function RQe(t,u){const s=ga(t.type.keys()),d=(t.deprecatedKeys?s.filter(f=>!t.deprecatedKeys.has(f)):s).map(f=>`'${f}'`).join(", ");return u(F.Argument_for_0_option_must_be_Colon_1,`--${t.name}`,d)}function kY(t,u,s){return gXe(t,(u??"").trim(),s)}function WFe(t,u="",s){if(u=u.trim(),La(u,"-"))return;if(t.type==="listOrElement"&&!u.includes(","))return W7(t,u,s);if(u==="")return[];const d=u.split(",");switch(t.element.type){case"number":return Si(d,f=>W7(t.element,parseInt(f),s));case"string":return Si(d,f=>W7(t.element,f||"",s));case"boolean":case"object":return H.fail(`List of ${t.element.type} is not yet supported.`);default:return Si(d,f=>kY(t.element,f,s))}}function OQe(t){return t.name}function GFe(t,u,s,d,f){var p;if((p=u.alternateMode)!=null&&p.getOptionsNameMap().optionsNameMap.has(t.toLowerCase()))return Vv(f,d,u.alternateMode.diagnostic,t);const E=CN(t,u.optionDeclarations,OQe);return E?Vv(f,d,u.unknownDidYouMeanDiagnostic,s||t,E.name):Vv(f,d,u.unknownOptionDiagnostic,s||t)}function Qce(t,u,s){const d={};let f;const p=[],E=[];return v(u),{options:d,watchOptions:f,fileNames:p,errors:E};function v(B){let k=0;for(;kl1.readFile(z)));if(!Wa(k)){E.push(k);return}const T=[];let M=0;for(;;){for(;M=k.length)break;const z=M;if(k.charCodeAt(z)===34){for(M++;M32;)M++;T.push(k.substring(z,M))}}v(T)}}function jQe(t,u,s,d,f,p){if(d.isTSConfigOnly){const E=t[u];E==="null"?(f[d.name]=void 0,u++):d.type==="boolean"?E==="false"?(f[d.name]=W7(d,!1,p),u++):(E==="true"&&u++,p.push(lc(F.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,d.name))):(p.push(lc(F.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,d.name)),E&&!La(E,"-")&&u++)}else if(!t[u]&&d.type!=="boolean"&&p.push(lc(s.optionTypeMismatchDiagnostic,d.name,ide(d))),t[u]!=="null")switch(d.type){case"number":f[d.name]=W7(d,parseInt(t[u]),p),u++;break;case"boolean":const E=t[u];f[d.name]=W7(d,E!=="false",p),(E==="false"||E==="true")&&u++;break;case"string":f[d.name]=W7(d,t[u]||"",p),u++;break;case"list":const v=WFe(d,t[u],p);f[d.name]=v||[],v&&u++;break;case"listOrElement":H.fail("listOrElement not supported here");break;default:f[d.name]=kY(d,t[u],p),u++;break}else f[d.name]=void 0,u++;return u}function VQe(t,u){return Qce(XV,t,u)}function Xce(t,u){return JFe(RB,t,u)}function JFe(t,u,s=!1){u=u.toLowerCase();const{optionsNameMap:d,shortOptionNames:f}=t();if(s){const p=f.get(u);p!==void 0&&(u=p)}return d.get(u)}function HQe(){return bXe||(bXe=yY(TY))}function KQe(t){const{options:u,watchOptions:s,fileNames:d,errors:f}=Qce(kXe,t),p=u;return d.length===0&&d.push("."),p.clean&&p.force&&f.push(lc(F.Options_0_and_1_cannot_be_combined,"clean","force")),p.clean&&p.verbose&&f.push(lc(F.Options_0_and_1_cannot_be_combined,"clean","verbose")),p.clean&&p.watch&&f.push(lc(F.Options_0_and_1_cannot_be_combined,"clean","watch")),p.watch&&p.dry&&f.push(lc(F.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:p,watchOptions:s,projects:d,errors:f}}function WQe(t,...u){return No(lc(t,...u).messageText,Wa)}function KV(t,u,s,d,f,p){const E=uM(t,B=>s.readFile(B));if(!Wa(E)){s.onUnRecoverableConfigFileDiagnostic(E);return}const v=HV(t,E),b=s.getCurrentDirectory();return v.path=K0(t,b,T1(s.useCaseSensitiveFileNames)),v.resolvedPath=v.path,v.originalFileName=v.fileName,JV(v,s,Ga(cr(t),b),u,Ga(t,b),void 0,p,d,f)}function WV(t,u){const s=uM(t,u);return Wa(s)?ede(t,s):{config:{},error:s}}function ede(t,u){const s=HV(t,u);return{config:qQe(s,s.parseDiagnostics,void 0),error:s.parseDiagnostics.length?s.parseDiagnostics[0]:void 0}}function $Fe(t,u){const s=uM(t,u);return Wa(s)?HV(t,s):{fileName:t,parseDiagnostics:[s]}}function uM(t,u){let s;try{s=u(t)}catch(d){return lc(F.Cannot_read_file_0_Colon_1,t,d.message)}return s===void 0?lc(F.Cannot_read_file_0,t):s}function tde(t){return og(t,OQe)}function GQe(){return FXe||(FXe=yY(OB))}function JQe(){return AXe||(AXe=tde(r3))}function $Qe(){return SXe||(SXe=tde(OB))}function UQe(){return BXe||(BXe=tde(QV))}function gNt(){return oAe===void 0&&(oAe={name:void 0,type:"object",elementOptions:tde([uAe,rAe,aAe,eH,{name:"references",type:"list",element:{name:"references",type:"object"},category:F.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:F.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:F.File_Management,defaultValueDescription:F.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:F.File_Management,defaultValueDescription:F.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},UV])}),oAe}function qQe(t,u,s){var d;const f=(d=t.statements[0])==null?void 0:d.expression;if(f&&f.kind!==210){if(u.push(V4(t,f,F.The_root_value_of_a_0_file_must_be_an_object,Fc(t.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json")),_h(f)){const p=Le(f.elements,bs);if(p)return GV(t,p,u,!0,s)}return{}}return GV(t,f,u,!0,s)}function UFe(t,u){var s;return GV(t,(s=t.statements[0])==null?void 0:s.expression,u,!0,void 0)}function GV(t,u,s,d,f){if(!u)return d?{}:void 0;return v(u,f==null?void 0:f.rootOptions);function p(B,k){var T;const M=d?{}:void 0;for(const z of B.properties){if(z.kind!==303){s.push(V4(t,z,F.Property_assignment_expected));continue}z.questionToken&&s.push(V4(t,z.questionToken,F.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),b(z.name)||s.push(V4(t,z.name,F.String_literal_with_double_quotes_expected));const j=rj(z.name)?void 0:O8(z.name),J=j&&Qr(j),K=J?(T=k==null?void 0:k.elementOptions)==null?void 0:T.get(J):void 0,Y=v(z.initializer,K);typeof J<"u"&&(d&&(M[J]=Y),f==null||f.onPropertySet(J,Y,z,k,K))}return M}function E(B,k){if(!d){B.forEach(T=>v(T,k));return}return ei(B.map(T=>v(T,k)),T=>T!==void 0)}function v(B,k){switch(B.kind){case 112:return!0;case 97:return!1;case 106:return null;case 11:return b(B)||s.push(V4(t,B,F.String_literal_with_double_quotes_expected)),B.text;case 9:return Number(B.text);case 224:if(B.operator!==41||B.operand.kind!==9)break;return-Number(B.operand.text);case 210:return p(B,k);case 209:return E(B.elements,k&&k.element)}k?s.push(V4(t,B,F.Compiler_option_0_requires_a_value_of_type_1,k.name,ide(k))):s.push(V4(t,B,F.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal))}function b(B){return us(B)&&_q(B,t)}}function ide(t){return t.type==="listOrElement"?`${ide(t.element)} or Array`:t.type==="list"?"Array":Wa(t.type)?t.type:"string"}function ZQe(t,u){if(t){if($V(u))return!t.disallowNullOrUndefined;if(t.type==="list")return ja(u);if(t.type==="listOrElement")return ja(u)||ZQe(t.element,u);const s=Wa(t.type)?t.type:"string";return typeof u===s}return!1}function YQe(t,u,s){var d,f,p;const E=T1(s.useCaseSensitiveFileNames),v=Kt(ei(t.fileNames,(f=(d=t.options.configFile)==null?void 0:d.configFileSpecs)!=null&&f.validatedIncludeSpecs?_Nt(u,t.options.configFile.configFileSpecs.validatedIncludeSpecs,t.options.configFile.configFileSpecs.validatedExcludeSpecs,s):G3),T=>FO(Ga(u,s.getCurrentDirectory()),Ga(T,s.getCurrentDirectory()),E)),b=rde(t.options,{configFilePath:Ga(u,s.getCurrentDirectory()),useCaseSensitiveFileNames:s.useCaseSensitiveFileNames}),B=t.watchOptions&&DNt(t.watchOptions);return{compilerOptions:{...nde(b),showConfig:void 0,configFile:void 0,configFilePath:void 0,help:void 0,init:void 0,listFiles:void 0,listEmittedFiles:void 0,project:void 0,build:void 0,version:void 0},watchOptions:B&&nde(B),references:Kt(t.projectReferences,T=>({...T,path:T.originalPath?T.originalPath:"",originalPath:void 0})),files:S(v)?v:void 0,...(p=t.options.configFile)!=null&&p.configFileSpecs?{include:ENt(t.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:t.options.configFile.configFileSpecs.validatedExcludeSpecs}:{},compileOnSave:t.compileOnSave?!0:void 0}}function nde(t){return{...ga(t.entries()).reduce((u,s)=>({...u,[s[0]]:s[1]}),{})}}function ENt(t){if(S(t)){if(S(t)!==1)return t;if(t[0]!==PY)return t}}function _Nt(t,u,s,d){if(!u)return G3;const f=iZ(t,s,u,d.useCaseSensitiveFileNames,d.getCurrentDirectory()),p=f.excludePattern&&Ox(f.excludePattern,d.useCaseSensitiveFileNames),E=f.includeFilePattern&&Ox(f.includeFilePattern,d.useCaseSensitiveFileNames);return E?p?v=>!(E.test(v)&&!p.test(v)):v=>!E.test(v):p?v=>p.test(v):G3}function QQe(t){switch(t.type){case"string":case"number":case"boolean":case"object":return;case"list":case"listOrElement":return QQe(t.element);default:return t.type}}function ude(t,u){return d1(u,(s,d)=>{if(s===t)return d})}function rde(t,u){return XQe(t,RB(),u)}function DNt(t){return XQe(t,GQe())}function XQe(t,{optionsNameMap:u},s){const d=new Map,f=s&&T1(s.useCaseSensitiveFileNames);for(const p in t)if(gu(t,p)){if(u.has(p)&&(u.get(p).category===F.Command_line_Options||u.get(p).category===F.Output_Formatting))continue;const E=t[p],v=u.get(p.toLowerCase());if(v){H.assert(v.type!=="listOrElement");const b=QQe(v);b?v.type==="list"?d.set(p,E.map(B=>ude(B,b))):d.set(p,ude(E,b)):s&&v.isFilePath?d.set(p,FO(s.configFilePath,Ga(E,cr(s.configFilePath)),f)):d.set(p,E)}}return d}function eXe(t,u){const s=tXe(t);return f();function d(p){return Array(p+1).join(" ")}function f(){const p=[],E=d(2);return cde.forEach(v=>{if(!s.has(v.name))return;const b=s.get(v.name),B=eAe(v);b!==B?p.push(`${E}${v.name}: ${b}`):gu(LY,v.name)&&p.push(`${E}${v.name}: ${B}`)}),p.join(u)+u}}function tXe(t){const u=K$(t,LY);return rde(u)}function iXe(t,u,s){const d=tXe(t);return E();function f(v){return Array(v+1).join(" ")}function p({category:v,name:b,isCommandLineOnly:B}){const k=[F.Command_line_Options,F.Editor_Support,F.Compiler_Diagnostics,F.Backwards_Compatibility,F.Watch_and_Build_Modes,F.Output_Formatting];return!B&&v!==void 0&&(!k.includes(v)||d.has(b))}function E(){const v=new Map;v.set(F.Projects,[]),v.set(F.Language_and_Environment,[]),v.set(F.Modules,[]),v.set(F.JavaScript_Support,[]),v.set(F.Emit,[]),v.set(F.Interop_Constraints,[]),v.set(F.Type_Checking,[]),v.set(F.Completeness,[]);for(const z of r3)if(p(z)){let j=v.get(z.category);j||v.set(z.category,j=[]),j.push(z)}let b=0,B=0;const k=[];v.forEach((z,j)=>{k.length!==0&&k.push({value:""}),k.push({value:`/* ${Ya(j)} */`});for(const J of z){let K;d.has(J.name)?K=`"${J.name}": ${JSON.stringify(d.get(J.name))}${(B+=1)===d.size?"":","}`:K=`// "${J.name}": ${JSON.stringify(eAe(J))},`,k.push({value:K,description:`/* ${J.description&&Ya(J.description)||J.name} */`}),b=Math.max(K.length,b)}});const T=f(2),M=[];M.push("{"),M.push(`${T}"compilerOptions": {`),M.push(`${T}${T}/* ${Ya(F.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`),M.push("");for(const z of k){const{value:j,description:J=""}=z;M.push(j&&`${T}${T}${j}${J&&f(b-j.length+2)+J}`)}if(u.length){M.push(`${T}},`),M.push(`${T}"files": [`);for(let z=0;ztypeof Ae=="object","object"),Se=ge(ae("files"));if(Se){const Ae=ve==="no-prop"||ja(ve)&&ve.length===0,De=gu(M,"extends");if(Se.length===0&&Ae&&!De)if(u){const He=E||"tsconfig.json",Je=F.The_files_list_in_config_file_0_is_empty,ft=cj(u,"files",je=>je.initializer),Ze=Vv(u,ft,Je,He);k.push(Ze)}else ne(F.The_files_list_in_config_file_0_is_empty,E||"tsconfig.json")}let Ne=ge(ae("include"));const pe=ae("exclude");let fe=!1,xe=ge(pe);if(pe==="no-prop"&&M.compilerOptions){const Ae=M.compilerOptions.outDir,De=M.compilerOptions.declarationDir;(Ae||De)&&(xe=[Ae,De].filter(He=>!!He))}Se===void 0&&Ne===void 0&&(Ne=[PY],fe=!0);let Be,We;return Ne&&(Be=xXe(Ne,k,!0,u,"include")),xe&&(We=xXe(xe,k,!1,u,"exclude")),{filesSpecs:Se,includeSpecs:Ne,excludeSpecs:xe,validatedFilesSpec:ei(Se,Wa),validatedIncludeSpecs:Be,validatedExcludeSpecs:We,pathPatterns:void 0,isDefaultIncludeSpec:fe}}function oe(ve){const Se=aM(J,ve,z,s,b);return oXe(Se,rM(M),v)&&k.push(aXe(J,E)),Se}function se(ve){let Se;const Ne=Ce("references",pe=>typeof pe=="object","object");if(ja(Ne))for(const pe of Ne)typeof pe.path!="string"?ne(F.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(Se||(Se=[])).push({path:Ga(pe.path,ve),originalPath:pe.path,prepend:pe.prepend,circular:pe.circular});return Se}function ge(ve){return ja(ve)?ve:void 0}function ae(ve){return Ce(ve,Wa,"string")}function Ce(ve,Se,Ne){if(gu(M,ve)&&!$V(M[ve]))if(ja(M[ve])){const pe=M[ve];return!u&&!ye(pe,Se)&&k.push(lc(F.Compiler_option_0_requires_a_value_of_type_1,ve,Ne)),pe}else return ne(F.Compiler_option_0_requires_a_value_of_type_1,ve,"Array"),"not-array";return"no-prop"}function ne(ve,...Se){u||k.push(lc(ve,...Se))}}function vNt(t){return t.code===F.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}function aXe({includeSpecs:t,excludeSpecs:u},s){return lc(F.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,s||"tsconfig.json",JSON.stringify(t||[]),JSON.stringify(u||[]))}function oXe(t,u,s){return t.length===0&&u&&(!s||s.length===0)}function rM(t){return!gu(t,"files")&&!gu(t,"references")}function FY(t,u,s,d,f){const p=d.length;return oXe(t,f)?d.push(aXe(s,u)):qu(d,E=>!vNt(E)),p!==d.length}function CNt(t){return!!t.options}function sXe(t,u,s,d,f,p,E,v){var b;d=U1(d);const B=Ga(f||"",d);if(p.includes(B))return E.push(lc(F.Circularity_detected_while_resolving_configuration_Colon_0,[...p,B].join(" -> "))),{raw:t||UFe(u,E)};const k=t?bNt(t,s,d,f,E):yNt(u,s,d,f,E);if((b=k.options)!=null&&b.paths&&(k.options.pathsBasePath=d),k.extendedConfigPath){p=p.concat([B]);const M={options:{}};Wa(k.extendedConfigPath)?T(M,k.extendedConfigPath):k.extendedConfigPath.forEach(z=>T(M,z)),!k.raw.include&&M.include&&(k.raw.include=M.include),!k.raw.exclude&&M.exclude&&(k.raw.exclude=M.exclude),!k.raw.files&&M.files&&(k.raw.files=M.files),k.raw.compileOnSave===void 0&&M.compileOnSave&&(k.raw.compileOnSave=M.compileOnSave),u&&M.extendedSourceFiles&&(u.extendedSourceFiles=ga(M.extendedSourceFiles.keys())),k.options=jE(M.options,k.options),k.watchOptions=k.watchOptions&&M.watchOptions?jE(M.watchOptions,k.watchOptions):k.watchOptions||M.watchOptions}return k;function T(M,z){const j=kNt(u,z,s,p,E,v,M);if(j&&CNt(j)){const J=j.raw;let K;const Y=oe=>{J[oe]&&(M[oe]=Kt(J[oe],se=>Nf(se)?se:dr(K||(K=BN(cr(z),d,T1(s.useCaseSensitiveFileNames))),se)))};Y("include"),Y("exclude"),Y("files"),J.compileOnSave!==void 0&&(M.compileOnSave=J.compileOnSave),jE(M.options,j.options),M.watchOptions=M.watchOptions&&j.watchOptions?jE({},M.watchOptions,j.watchOptions):M.watchOptions||j.watchOptions}}}function bNt(t,u,s,d,f){gu(t,"excludes")&&f.push(lc(F.Unknown_option_excludes_Did_you_mean_exclude));const p=mXe(t.compilerOptions,s,f,d),E=pXe(t.typeAcquisition,s,f,d),v=ANt(t.watchOptions,s,f);t.compileOnSave=FNt(t,s,f);const b=t.extends||t.extends===""?lXe(t.extends,u,s,d,f):void 0;return{raw:t,options:p,watchOptions:v,typeAcquisition:E,extendedConfigPath:b}}function lXe(t,u,s,d,f,p,E,v){let b;const B=d?uXe(d,s):s;if(Wa(t))b=cXe(t,u,B,f,E,v);else if(ja(t)){b=[];for(let k=0;koe.name===z)&&(B=Ei(B,J.name))))}}function cXe(t,u,s,d,f,p){if(t=U1(t),Nf(t)||La(t,"./")||La(t,"../")){let v=Ga(t,s);if(!u.fileExists(v)&&!oc(v,".json")&&(v=`${v}.json`,!u.fileExists(v))){d.push(Vv(p,f,F.File_0_not_found,t));return}return v}const E=gAe(t,dr(s,"tsconfig.json"),u);if(E.resolvedModule)return E.resolvedModule.resolvedFileName;t===""?d.push(Vv(p,f,F.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):d.push(Vv(p,f,F.File_0_not_found,t))}function kNt(t,u,s,d,f,p,E){const v=s.useCaseSensitiveFileNames?u:Jg(u);let b,B,k;if(p&&(b=p.get(v))?{extendedResult:B,extendedConfig:k}=b:(B=$Fe(u,T=>s.readFile(T)),B.parseDiagnostics.length||(k=sXe(void 0,B,s,cr(u),Fc(u),d,f,p)),p&&p.set(v,{extendedResult:B,extendedConfig:k})),t&&((E.extendedSourceFiles??(E.extendedSourceFiles=new Set)).add(B.fileName),B.extendedSourceFiles))for(const T of B.extendedSourceFiles)E.extendedSourceFiles.add(T);if(B.parseDiagnostics.length){f.push(...B.parseDiagnostics);return}return k}function FNt(t,u,s){if(!gu(t,UV.name))return!1;const d=Fk(UV,t.compileOnSave,u,s);return typeof d=="boolean"&&d}function dXe(t,u,s){const d=[];return{options:mXe(t,u,d,s),errors:d}}function hXe(t,u,s){const d=[];return{options:pXe(t,u,d,s),errors:d}}function fXe(t){return t&&Fc(t)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function mXe(t,u,s,d){const f=fXe(d);return qFe(JQe(),t,u,f,XV,s),d&&(f.configFilePath=U1(d)),f}function sde(t){return{enable:!!t&&Fc(t)==="jsconfig.json",include:[],exclude:[]}}function pXe(t,u,s,d){const f=sde(d);return qFe(UQe(),t,u,f,nAe,s),f}function ANt(t,u,s){return qFe($Qe(),t,u,void 0,NY,s)}function qFe(t,u,s,d,f,p){if(u){for(const E in u){const v=t.get(E);v?(d||(d={}))[v.name]=Fk(v,u[E],s,p):p.push(GFe(E,f))}return d}}function Vv(t,u,s,...d){return t&&u?V4(t,u,s,...d):lc(s,...d)}function Fk(t,u,s,d,f,p,E){if(t.isCommandLineOnly){d.push(Vv(E,f==null?void 0:f.name,F.Option_0_can_only_be_specified_on_command_line,t.name));return}if(ZQe(t,u)){const v=t.type;if(v==="list"&&ja(u))return EXe(t,u,s,d,f,p,E);if(v==="listOrElement")return ja(u)?EXe(t,u,s,d,f,p,E):Fk(t.element,u,s,d,f,p,E);if(!Wa(t.type))return gXe(t,u,d,p,E);const b=W7(t,u,d,p,E);return $V(b)?b:SNt(t,s,b)}else d.push(Vv(E,p,F.Compiler_option_0_requires_a_value_of_type_1,t.name,ide(t)))}function SNt(t,u,s){return t.isFilePath&&(s=Ga(s,u),s===""&&(s=".")),s}function W7(t,u,s,d,f){var p;if($V(u))return;const E=(p=t.extraValidation)==null?void 0:p.call(t,u);if(!E)return u;s.push(Vv(f,d,...E))}function gXe(t,u,s,d,f){if($V(u))return;const p=u.toLowerCase(),E=t.type.get(p);if(E!==void 0)return W7(t,E,s,d,f);s.push(RQe(t,(v,...b)=>Vv(f,d,v,...b)))}function EXe(t,u,s,d,f,p,E){return ei(Kt(u,(v,b)=>Fk(t.element,v,s,d,f,p==null?void 0:p.elements[b],E)),v=>t.listPreserveFalsyValues?!0:!!v)}function aM(t,u,s,d,f=_t){u=Jo(u);const p=T1(d.useCaseSensitiveFileNames),E=new Map,v=new Map,b=new Map,{validatedFilesSpec:B,validatedIncludeSpecs:k,validatedExcludeSpecs:T}=t,M=yP(s,f),z=Xj(s,M);if(B)for(const Y of B){const oe=Ga(Y,u);E.set(p(oe),oe)}let j;if(k&&k.length>0)for(const Y of d.readDirectory(u,Oa(z),T,k,void 0)){if(Ml(Y,".json")){if(!j){const ge=k.filter(Ce=>oc(Ce,".json")),ae=Kt(tZ(ge,u,"files"),Ce=>`^${Ce}$`);j=ae?ae.map(Ce=>Ox(Ce,d.useCaseSensitiveFileNames)):_t}if(Ue(j,ge=>ge.test(Y))!==-1){const ge=p(Y);!E.has(ge)&&!b.has(ge)&&b.set(ge,Y)}continue}if(TNt(Y,E,v,M,p))continue;LNt(Y,v,M,p);const oe=p(Y);!E.has(oe)&&!v.has(oe)&&v.set(oe,Y)}const J=ga(E.values()),K=ga(v.values());return J.concat(K,ga(b.values()))}function ZFe(t,u,s,d,f){const{validatedFilesSpec:p,validatedIncludeSpecs:E,validatedExcludeSpecs:v}=u;if(!S(E)||!S(v))return!1;s=Jo(s);const b=T1(d);if(p){for(const B of p)if(b(Ga(B,s))===t)return!1}return DXe(t,v,d,f,s)}function _Xe(t){const u=La(t,"**/")?0:t.indexOf("/**/");return u===-1?!1:(oc(t,"/..")?t.length:t.lastIndexOf("/../"))>u}function AY(t,u,s,d){return DXe(t,ei(u,f=>!_Xe(f)),s,d)}function DXe(t,u,s,d,f){const p=bP(u,dr(Jo(d),f),"exclude"),E=p&&Ox(p,s);return E?E.test(t)?!0:!XA(t)&&E.test(Pd(t)):!1}function xXe(t,u,s,d,f){return t.filter(E=>{if(!Wa(E))return!1;const v=YFe(E,s);return v!==void 0&&u.push(p(...v)),v===void 0});function p(E,v){const b=aq(d,f,v);return Vv(d,b,E,v)}}function YFe(t,u){if(H.assert(typeof t=="string"),u&&wXe.test(t))return[F.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,t];if(_Xe(t))return[F.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,t]}function BNt({validatedIncludeSpecs:t,validatedExcludeSpecs:u},s,d){const f=bP(u,s,"exclude"),p=f&&new RegExp(f,d?"":"i"),E={};if(t!==void 0){const v=[];for(const b of t){const B=Jo(dr(s,b));if(p&&p.test(B))continue;const k=wNt(B,d);if(k){const{key:T,flags:M}=k,z=E[T];(z===void 0||zjc(t,E)?E:void 0);if(!p)return!1;for(const E of p){if(Ml(t,E)&&(E!==".ts"||!Ml(t,".d.ts")))return!1;const v=f(Sv(t,E));if(u.has(v)||s.has(v)){if(E===".d.ts"&&(Ml(t,".js")||Ml(t,".jsx")))continue;return!0}}return!1}function LNt(t,u,s,d){const f=L(s,p=>jc(t,p)?p:void 0);if(f)for(let p=f.length-1;p>=0;p--){const E=f[p];if(Ml(t,E))return;const v=d(Sv(t,E));u.delete(v)}}function QFe(t){const u={};for(const s in t)if(gu(t,s)){const d=Xce(s);d!==void 0&&(u[s]=XFe(t[s],d))}return u}function XFe(t,u){if(t===void 0)return t;switch(u.type){case"object":return"";case"string":return"";case"number":return typeof t=="number"?t:"";case"boolean":return typeof t=="boolean"?t:"";case"listOrElement":if(!ja(t))return XFe(t,u.element);case"list":const s=u.element;return ja(t)?Si(t,d=>XFe(d,s)):"";default:return d1(u.type,(d,f)=>{if(d===t)return f})}}function eAe(t){switch(t.type){case"number":return 1;case"boolean":return!0;case"string":const u=t.defaultValueDescription;return t.isFilePath?`./${u&&typeof u=="string"?u:""}`:"";case"list":return[];case"listOrElement":return eAe(t.element);case"object":return{};default:const s=Kn(t.type.keys());return s!==void 0?s:H.fail("Expected 'option.type' to have entries.")}}var UV,tAe,oM,iAe,qV,SY,OB,ZV,YV,lde,cde,r3,dde,hde,fde,BY,wY,mde,pde,gde,TY,QV,vXe,CXe,LY,XV,bXe,yXe,kXe,nAe,FXe,NY,AXe,SXe,BXe,eH,uAe,rAe,aAe,oAe,PY,wXe,TXe,NNt=o({"src/compiler/commandLineParser.ts"(){So(),UV={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},tAe=new Map(Object.entries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5})),oM=new Map(jr(tAe.entries(),([t,u])=>[""+u,t])),iAe=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["es2021","lib.es2021.d.ts"],["es2022","lib.es2022.d.ts"],["es2023","lib.es2023.d.ts"],["esnext","lib.esnext.d.ts"],["dom","lib.dom.d.ts"],["dom.iterable","lib.dom.iterable.d.ts"],["webworker","lib.webworker.d.ts"],["webworker.importscripts","lib.webworker.importscripts.d.ts"],["webworker.iterable","lib.webworker.iterable.d.ts"],["scripthost","lib.scripthost.d.ts"],["es2015.core","lib.es2015.core.d.ts"],["es2015.collection","lib.es2015.collection.d.ts"],["es2015.generator","lib.es2015.generator.d.ts"],["es2015.iterable","lib.es2015.iterable.d.ts"],["es2015.promise","lib.es2015.promise.d.ts"],["es2015.proxy","lib.es2015.proxy.d.ts"],["es2015.reflect","lib.es2015.reflect.d.ts"],["es2015.symbol","lib.es2015.symbol.d.ts"],["es2015.symbol.wellknown","lib.es2015.symbol.wellknown.d.ts"],["es2016.array.include","lib.es2016.array.include.d.ts"],["es2017.date","lib.es2017.date.d.ts"],["es2017.object","lib.es2017.object.d.ts"],["es2017.sharedmemory","lib.es2017.sharedmemory.d.ts"],["es2017.string","lib.es2017.string.d.ts"],["es2017.intl","lib.es2017.intl.d.ts"],["es2017.typedarrays","lib.es2017.typedarrays.d.ts"],["es2018.asyncgenerator","lib.es2018.asyncgenerator.d.ts"],["es2018.asynciterable","lib.es2018.asynciterable.d.ts"],["es2018.intl","lib.es2018.intl.d.ts"],["es2018.promise","lib.es2018.promise.d.ts"],["es2018.regexp","lib.es2018.regexp.d.ts"],["es2019.array","lib.es2019.array.d.ts"],["es2019.object","lib.es2019.object.d.ts"],["es2019.string","lib.es2019.string.d.ts"],["es2019.symbol","lib.es2019.symbol.d.ts"],["es2019.intl","lib.es2019.intl.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.date","lib.es2020.date.d.ts"],["es2020.promise","lib.es2020.promise.d.ts"],["es2020.sharedmemory","lib.es2020.sharedmemory.d.ts"],["es2020.string","lib.es2020.string.d.ts"],["es2020.symbol.wellknown","lib.es2020.symbol.wellknown.d.ts"],["es2020.intl","lib.es2020.intl.d.ts"],["es2020.number","lib.es2020.number.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["es2021.intl","lib.es2021.intl.d.ts"],["es2022.array","lib.es2022.array.d.ts"],["es2022.error","lib.es2022.error.d.ts"],["es2022.intl","lib.es2022.intl.d.ts"],["es2022.object","lib.es2022.object.d.ts"],["es2022.sharedmemory","lib.es2022.sharedmemory.d.ts"],["es2022.string","lib.es2022.string.d.ts"],["es2022.regexp","lib.es2022.regexp.d.ts"],["es2023.array","lib.es2023.array.d.ts"],["es2023.collection","lib.es2023.collection.d.ts"],["esnext.array","lib.es2023.array.d.ts"],["esnext.collection","lib.es2023.collection.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.disposable","lib.esnext.disposable.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2022.string.d.ts"],["esnext.promise","lib.es2021.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"],["esnext.decorators","lib.esnext.decorators.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]],qV=iAe.map(t=>t[0]),SY=new Map(iAe),OB=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:F.Watch_and_Build_Modes,description:F.Specify_how_the_TypeScript_watch_mode_works,defaultValueDescription:4},{name:"watchDirectory",type:new Map(Object.entries({usefsevents:0,fixedpollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3})),category:F.Watch_and_Build_Modes,description:F.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,defaultValueDescription:0},{name:"fallbackPolling",type:new Map(Object.entries({fixedinterval:0,priorityinterval:1,dynamicpriority:2,fixedchunksize:3})),category:F.Watch_and_Build_Modes,description:F.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:F.Watch_and_Build_Modes,description:F.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,defaultValueDescription:!1},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:YFe},category:F.Watch_and_Build_Modes,description:F.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:YFe},category:F.Watch_and_Build_Modes,description:F.Remove_a_list_of_files_from_the_watch_mode_s_processing}],ZV=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:F.Command_line_Options,description:F.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:F.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:F.Command_line_Options,description:F.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:F.Output_Formatting,description:F.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:F.Compiler_Diagnostics,description:F.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:F.Compiler_Diagnostics,description:F.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:F.Compiler_Diagnostics,description:F.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:F.Output_Formatting,description:F.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:F.Compiler_Diagnostics,description:F.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:F.Compiler_Diagnostics,description:F.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:F.Compiler_Diagnostics,description:F.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:F.FILE_OR_DIRECTORY,category:F.Compiler_Diagnostics,description:F.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:F.DIRECTORY,category:F.Compiler_Diagnostics,description:F.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:F.Projects,description:F.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:F.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,transpileOptionValue:void 0,description:F.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:F.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,transpileOptionValue:void 0,defaultValueDescription:!1,description:F.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,description:F.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,defaultValueDescription:!1,description:F.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:F.Emit,description:F.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:F.Watch_and_Build_Modes,description:F.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,defaultValueDescription:!1},{name:"locale",type:"string",category:F.Command_line_Options,isCommandLineOnly:!0,description:F.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:F.Platform_specific}],YV={name:"target",shortName:"t",type:new Map(Object.entries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,es2022:9,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:F.VERSION,showInSimplifiedHelpView:!0,category:F.Language_and_Environment,description:F.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:1},lde={name:"module",shortName:"m",type:new Map(Object.entries({none:0,commonjs:1,amd:2,system:4,umd:3,es6:5,es2015:5,es2020:6,es2022:7,esnext:99,node16:100,nodenext:199})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:F.KIND,showInSimplifiedHelpView:!0,category:F.Modules,description:F.Specify_what_module_code_is_generated,defaultValueDescription:void 0},cde=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:F.Command_line_Options,paramType:F.FILE_OR_DIRECTORY,description:F.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:F.Command_line_Options,description:F.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:F.Command_line_Options,isCommandLineOnly:!0,description:F.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:F.Command_line_Options,isCommandLineOnly:!0,description:F.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},YV,lde,{name:"lib",type:"list",element:{name:"lib",type:SY,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:F.Language_and_Environment,description:F.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",allowJsFlag:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.JavaScript_Support,description:F.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:!1},{name:"checkJs",type:"boolean",affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.JavaScript_Support,description:F.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:tAe,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,affectsSemanticDiagnostics:!0,paramType:F.KIND,showInSimplifiedHelpView:!0,category:F.Language_and_Environment,description:F.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.FILE,showInSimplifiedHelpView:!0,category:F.Emit,description:F.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.DIRECTORY,showInSimplifiedHelpView:!0,category:F.Emit,description:F.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.LOCATION,category:F.Modules,description:F.Specify_the_root_folder_within_your_source_files,defaultValueDescription:F.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:F.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:F.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:F.FILE,category:F.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:F.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Emit,defaultValueDescription:!1,description:F.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:F.Emit,description:F.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:!1},{name:"importsNotUsedAsValues",type:new Map(Object.entries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:F.Interop_Constraints,description:F.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"verbatimModuleSyntax",type:"boolean",category:F.Interop_Constraints,description:F.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,defaultValueDescription:!1},{name:"strict",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Type_Checking,description:F.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:F.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:F.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:F.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:F.false_unless_strict_is_set},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,strictFlag:!0,category:F.Type_Checking,description:F.Ensure_use_strict_is_always_emitted,defaultValueDescription:F.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:!1},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,defaultValueDescription:!1},{name:"noPropertyAccessFromIndexSignature",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!1,category:F.Type_Checking,description:F.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:!1},{name:"moduleResolution",type:new Map(Object.entries({node10:2,node:2,classic:1,node16:3,nodenext:99,bundler:100})),deprecatedKeys:new Set(["node"]),affectsSourceFile:!0,affectsModuleResolution:!0,paramType:F.STRATEGY,category:F.Modules,description:F.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:F.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:F.Modules,description:F.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:F.Modules,description:F.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:F.Modules,description:F.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:F.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:F.Modules,description:F.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:F.Modules,description:F.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Interop_Constraints,description:F.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:F.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:F.Interop_Constraints,description:F.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:F.Interop_Constraints,description:F.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:!1},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Modules,description:F.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:F.Modules,description:F.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Modules,description:F.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,defaultValueDescription:!1,transpileOptionValue:void 0},{name:"resolvePackageJsonExports",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:F.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:F.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:F.Modules,description:F.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:F.LOCATION,category:F.Emit,description:F.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:F.LOCATION,category:F.Emit,description:F.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:F.Language_and_Environment,description:F.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:"`React.createElement`"},{name:"jsxFragmentFactory",type:"string",category:F.Language_and_Environment,description:F.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment,defaultValueDescription:"React.Fragment"},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,category:F.Language_and_Environment,description:F.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:"react"},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:F.Modules,description:F.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,defaultValueDescription:!1},{name:"out",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!1,category:F.Backwards_Compatibility,paramType:F.FILE,transpileOptionValue:void 0,description:F.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:F.Completeness,description:F.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:F.Backwards_Compatibility,description:F.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:!1},{name:"newLine",type:new Map(Object.entries({crlf:0,lf:1})),affectsEmit:!0,affectsBuildInfo:!0,paramType:F.NEWLINE,category:F.Emit,description:F.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Output_Formatting,description:F.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:F.Language_and_Environment,affectsProgramStructure:!0,description:F.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:F.Modules,description:F.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:!1},{name:"stripInternal",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:F.Editor_Support,description:F.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:!1},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:F.Projects,description:F.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:F.Projects,description:F.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:F.Projects,description:F.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,transpileOptionValue:void 0,description:F.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:F.DIRECTORY,category:F.Emit,transpileOptionValue:void 0,description:F.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:F.Completeness,description:F.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Type_Checking,description:F.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:F.Interop_Constraints,description:F.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:F.JavaScript_Support,description:F.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:0},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:F.Backwards_Compatibility,description:F.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:F.Language_and_Environment,description:F.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:F.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:F.Emit,description:F.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:F.Backwards_Compatibility,description:F.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:!1},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:F.Specify_a_list_of_language_service_plugins_to_include,category:F.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsSourceFile:!0,affectsModuleResolution:!0,description:F.Control_what_method_is_used_to_detect_module_format_JS_files,category:F.Language_and_Environment,defaultValueDescription:F.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules},{name:"ignoreDeprecations",type:"string",defaultValueDescription:void 0}],r3=[...ZV,...cde],dde=r3.filter(t=>!!t.affectsSemanticDiagnostics),hde=r3.filter(t=>!!t.affectsEmit),fde=r3.filter(t=>!!t.affectsDeclarationPath),BY=r3.filter(t=>!!t.affectsModuleResolution),wY=r3.filter(t=>!!t.affectsSourceFile||!!t.affectsBindDiagnostics),mde=r3.filter(t=>!!t.affectsProgramStructure),pde=r3.filter(t=>gu(t,"transpileOptionValue")),gde=[{name:"verbose",shortName:"v",category:F.Command_line_Options,description:F.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:F.Command_line_Options,description:F.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:F.Command_line_Options,description:F.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:F.Command_line_Options,description:F.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1}],TY=[...ZV,...gde],QV=[{name:"enable",type:"boolean",defaultValueDescription:!1},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean",defaultValueDescription:!1}],CXe={diagnostic:F.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:HQe},LY={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},XV={alternateMode:CXe,getOptionsNameMap:RB,optionDeclarations:r3,unknownOptionDiagnostic:F.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:F.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:F.Compiler_option_0_expects_an_argument},yXe={diagnostic:F.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:RB},kXe={alternateMode:yXe,getOptionsNameMap:HQe,optionDeclarations:TY,unknownOptionDiagnostic:F.Unknown_build_option_0,unknownDidYouMeanDiagnostic:F.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:F.Build_option_0_requires_a_value_of_type_1},nAe={optionDeclarations:QV,unknownOptionDiagnostic:F.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:F.Unknown_type_acquisition_option_0_Did_you_mean_1},NY={getOptionsNameMap:GQe,optionDeclarations:OB,unknownOptionDiagnostic:F.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:F.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:F.Watch_option_0_requires_a_value_of_type_1},eH={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:F.File_Management,disallowNullOrUndefined:!0},uAe={name:"compilerOptions",type:"object",elementOptions:JQe(),extraKeyDiagnostics:XV},rAe={name:"watchOptions",type:"object",elementOptions:$Qe(),extraKeyDiagnostics:NY},aAe={name:"typeAcquisition",type:"object",elementOptions:UQe(),extraKeyDiagnostics:nAe},PY="**/*",wXe=/(^|\/)\*\*\/?$/,TXe=/^[^*?]*(?=\/[^/]*[*?])/}});function Aa(t,u,...s){t.trace(_le(u,...s))}function rD(t,u){return!!t.traceResolution&&u.trace!==void 0}function G7(t,u){let s;if(u&&t){const d=t.contents.packageJsonContent;typeof d.name=="string"&&typeof d.version=="string"&&(s={name:d.name,subModuleName:u.path.slice(t.packageDirectory.length+rl.length),version:d.version})}return u&&{path:u.path,extension:u.ext,packageId:s,resolvedUsingTsExtension:u.resolvedUsingTsExtension}}function Ede(t){return G7(void 0,t)}function LXe(t){if(t)return H.assert(t.packageId===void 0),{path:t.path,ext:t.extension,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function MY(t){const u=[];return t&1&&u.push("TypeScript"),t&2&&u.push("JavaScript"),t&4&&u.push("Declaration"),t&8&&u.push("JSON"),u.join(", ")}function PNt(t){const u=[];return t&1&&u.push(...cV),t&2&&u.push(...gB),t&4&&u.push(...lV),t&8&&u.push(".json"),u}function sAe(t){if(t)return H.assert(aZ(t.extension)),{fileName:t.path,packageId:t.packageId}}function NXe(t,u,s,d,f,p,E,v,b){if(!E.resultFromCache&&!E.compilerOptions.preserveSymlinks&&u&&s&&!u.originalPath&&!Md(t)){const{resolvedFileName:B,originalPath:k}=zXe(u.path,E.host,E.traceEnabled);k&&(u={...u,path:B,originalPath:k})}return PXe(u,s,d,f,p,E.resultFromCache,v,b)}function PXe(t,u,s,d,f,p,E,v){return p?E!=null&&E.isReadonly?{...p,failedLookupLocations:lAe(p.failedLookupLocations,s),affectingLocations:lAe(p.affectingLocations,d),resolutionDiagnostics:lAe(p.resolutionDiagnostics,f)}:(p.failedLookupLocations=jB(p.failedLookupLocations,s),p.affectingLocations=jB(p.affectingLocations,d),p.resolutionDiagnostics=jB(p.resolutionDiagnostics,f),p):{resolvedModule:t&&{resolvedFileName:t.path,originalPath:t.originalPath===!0?void 0:t.originalPath,extension:t.extension,isExternalLibraryImport:u,packageId:t.packageId,resolvedUsingTsExtension:!!t.resolvedUsingTsExtension},failedLookupLocations:sM(s),affectingLocations:sM(d),resolutionDiagnostics:sM(f),node10Result:v}}function sM(t){return t.length?t:void 0}function jB(t,u){return u!=null&&u.length?t!=null&&t.length?(t.push(...u),t):u:t}function lAe(t,u){return t!=null&&t.length?u.length?[...t,...u]:t.slice():sM(u)}function MXe(t,u,s,d){if(!gu(t,u)){d.traceEnabled&&Aa(d.host,F.package_json_does_not_have_a_0_field,u);return}const f=t[u];if(typeof f!==s||f===null){d.traceEnabled&&Aa(d.host,F.Expected_type_of_0_field_in_package_json_to_be_1_got_2,u,s,f===null?"null":typeof f);return}return f}function _de(t,u,s,d){const f=MXe(t,u,"string",d);if(f===void 0)return;if(!f){d.traceEnabled&&Aa(d.host,F.package_json_had_a_falsy_0_field,u);return}const p=Jo(dr(s,f));return d.traceEnabled&&Aa(d.host,F.package_json_has_0_field_1_that_references_2,u,f,p),p}function MNt(t,u,s){return _de(t,"typings",u,s)||_de(t,"types",u,s)}function zNt(t,u,s){return _de(t,"tsconfig",u,s)}function INt(t,u,s){return _de(t,"main",u,s)}function RNt(t,u){const s=MXe(t,"typesVersions","object",u);if(s!==void 0)return u.traceEnabled&&Aa(u.host,F.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),s}function ONt(t,u){const s=RNt(t,u);if(s===void 0)return;if(u.traceEnabled)for(const E in s)gu(s,E)&&!pO.tryParse(E)&&Aa(u.host,F.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,E);const d=zY(s);if(!d){u.traceEnabled&&Aa(u.host,F.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,g);return}const{version:f,paths:p}=d;if(typeof p!="object"){u.traceEnabled&&Aa(u.host,F.Expected_type_of_0_field_in_package_json_to_be_1_got_2,`typesVersions['${f}']`,"object",typeof p);return}return d}function zY(t){yAe||(yAe=new Bp(_));for(const u in t){if(!gu(t,u))continue;const s=pO.tryParse(u);if(s!==void 0&&s.test(yAe))return{version:u,paths:t[u]}}}function lM(t,u){if(t.typeRoots)return t.typeRoots;let s;if(t.configFilePath?s=cr(t.configFilePath):u.getCurrentDirectory&&(s=u.getCurrentDirectory()),s!==void 0)return jNt(s)}function jNt(t){let u;return $g(Jo(t),s=>{const d=dr(s,net);(u??(u=[])).push(d)}),u}function VNt(t,u,s){const d=typeof s.useCaseSensitiveFileNames=="function"?s.useCaseSensitiveFileNames():s.useCaseSensitiveFileNames;return fv(t,u,!d)===0}function zXe(t,u,s){const d=XNt(t,u,s),f=VNt(t,d,u);return{resolvedFileName:f?t:d,originalPath:f?void 0:t}}function IXe(t,u,s){const d=oc(t,"/node_modules/@types")||oc(t,"/node_modules/@types/")?eet(u,s):u;return dr(t,d)}function cAe(t,u,s,d,f,p,E){H.assert(typeof t=="string","Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.");const v=rD(s,d);f&&(s=f.commandLine.options);const b=u?cr(u):void 0;let B=b?p==null?void 0:p.getFromDirectoryCache(t,E,b,f):void 0;if(!B&&b&&!Md(t)&&(B=p==null?void 0:p.getFromNonRelativeNameCache(t,E,b,f)),B)return v&&(Aa(d,F.Resolving_type_reference_directive_0_containing_file_1,t,u),f&&Aa(d,F.Using_compiler_options_of_project_reference_redirect_0,f.sourceFile.fileName),Aa(d,F.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,t,b),ae(B)),B;const k=lM(s,d);v&&(u===void 0?k===void 0?Aa(d,F.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,t):Aa(d,F.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,t,k):k===void 0?Aa(d,F.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,t,u):Aa(d,F.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,t,u,k),f&&Aa(d,F.Using_compiler_options_of_project_reference_redirect_0,f.sourceFile.fileName));const T=[],M=[];let z=dAe(s);E!==void 0&&(z|=30);const j=m1(s);E===99&&3<=j&&j<=99&&(z|=32);const J=z&8?W2(s,E):[],K=[],Y={compilerOptions:s,host:d,traceEnabled:v,failedLookupLocations:T,affectingLocations:M,packageJsonInfoCache:p,features:z,conditions:J,requestContainingDirectory:b,reportDiagnostic:ve=>void K.push(ve),isConfigLookup:!1,candidateIsFromPackageJsonField:!1};let oe=Ce(),se=!0;oe||(oe=ne(),se=!1);let ge;if(oe){const{fileName:ve,packageId:Se}=oe;let Ne=ve,pe;s.preserveSymlinks||({resolvedFileName:Ne,originalPath:pe}=zXe(ve,d,v)),ge={primary:se,resolvedFileName:Ne,originalPath:pe,packageId:Se,isExternalLibraryImport:$7(ve)}}return B={resolvedTypeReferenceDirective:ge,failedLookupLocations:sM(T),affectingLocations:sM(M),resolutionDiagnostics:sM(K)},b&&p&&!p.isReadonly&&(p.getOrCreateCacheForDirectory(b,f).set(t,E,B),Md(t)||p.getOrCreateCacheForNonRelativeName(t,E,f).set(b,B)),v&&ae(B),B;function ae(ve){var Se;(Se=ve.resolvedTypeReferenceDirective)!=null&&Se.resolvedFileName?ve.resolvedTypeReferenceDirective.packageId?Aa(d,F.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,t,ve.resolvedTypeReferenceDirective.resolvedFileName,Nx(ve.resolvedTypeReferenceDirective.packageId),ve.resolvedTypeReferenceDirective.primary):Aa(d,F.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,t,ve.resolvedTypeReferenceDirective.resolvedFileName,ve.resolvedTypeReferenceDirective.primary):Aa(d,F.Type_reference_directive_0_was_not_resolved,t)}function Ce(){if(k&&k.length)return v&&Aa(d,F.Resolving_with_primary_search_path_0,k.join(", ")),G(k,ve=>{const Se=IXe(ve,t,Y),Ne=cg(ve,d);if(!Ne&&v&&Aa(d,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,ve),s.typeRoots){const pe=KB(4,Se,!Ne,Y);if(pe){const fe=iH(pe.path),xe=fe?G2(fe,!1,Y):void 0;return sAe(G7(xe,pe))}}return sAe(DAe(4,Se,!Ne,Y))});v&&Aa(d,F.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function ne(){const ve=u&&cr(u);if(ve!==void 0){let Se;if(!s.typeRoots||!oc(u,ZB))if(v&&Aa(d,F.Looking_up_in_node_modules_folder_initial_location_0,ve),Md(t)){const{path:Ne}=KXe(ve,t);Se=bde(4,Ne,!1,Y,!0)}else{const Ne=ZXe(4,t,ve,Y,void 0,void 0);Se=Ne&&Ne.value}else v&&Aa(d,F.Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder);return sAe(Se)}else v&&Aa(d,F.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}function dAe(t){let u=0;switch(m1(t)){case 3:u=30;break;case 99:u=30;break;case 100:u=30;break}return t.resolvePackageJsonExports?u|=8:t.resolvePackageJsonExports===!1&&(u&=-9),t.resolvePackageJsonImports?u|=2:t.resolvePackageJsonImports===!1&&(u&=-3),u}function W2(t,u){const s=m1(t);if(u===void 0){if(s===100)u=99;else if(s===2)return[]}const d=u===99?["import"]:["require"];return t.noDtsResolution||d.push("types"),s!==100&&d.push("node"),an(d,t.customConditions)}function Dde(t,u,s,d,f){const p=nH(f==null?void 0:f.getPackageJsonInfoCache(),d,s);return $g(u,E=>{if(Fc(E)!=="node_modules"){const v=dr(E,"node_modules"),b=dr(v,t);return G2(b,!1,p)}})}function IY(t,u){if(t.types)return t.types;const s=[];if(u.directoryExists&&u.getDirectories){const d=lM(t,u);if(d){for(const f of d)if(u.directoryExists(f))for(const p of u.getDirectories(f)){const E=Jo(p),v=dr(f,E,"package.json");if(!(u.fileExists(v)&&gP(v,u).typings===null)){const B=Fc(E);B.charCodeAt(0)!==46&&s.push(B)}}}}return s}function hAe(t){var u;if(t===null||typeof t!="object")return""+t;if(ja(t))return`[${(u=t.map(d=>hAe(d)))==null?void 0:u.join(",")}]`;let s="{";for(const d in t)gu(t,d)&&(s+=`${d}: ${hAe(t[d])}`);return s+"}"}function xde(t,u){return u.map(s=>hAe(Yq(t,s))).join("|")+`|${t.pathsBasePath}`}function vde(t,u){const s=new Map,d=new Map;let f=new Map;return t&&s.set(t,f),{getMapOfCacheRedirects:p,getOrCreateMapOfCacheRedirects:E,update:v,clear:B,getOwnMap:()=>f};function p(T){return T?b(T.commandLine.options,!1):f}function E(T){return T?b(T.commandLine.options,!0):f}function v(T){t!==T&&(t?f=b(T,!0):s.set(T,f),t=T)}function b(T,M){let z=s.get(T);if(z)return z;const j=k(T);if(z=d.get(j),!z){if(t){const J=k(t);J===j?z=f:d.has(J)||d.set(J,f)}M&&(z??(z=new Map)),z&&d.set(j,z)}return z&&s.set(T,z),z}function B(){const T=t&&u.get(t);f.clear(),s.clear(),u.clear(),d.clear(),t&&(T&&u.set(t,T),s.set(t,f))}function k(T){let M=u.get(T);return M||u.set(T,M=xde(T,BY)),M}}function HNt(t,u){let s;return{getPackageJsonInfo:d,setPackageJsonInfo:f,clear:p,entries:E,getInternalMap:v};function d(b){return s==null?void 0:s.get(K0(b,t,u))}function f(b,B){(s||(s=new Map)).set(K0(b,t,u),B)}function p(){s=void 0}function E(){const b=s==null?void 0:s.entries();return b?ga(b):[]}function v(){return s}}function RXe(t,u,s,d){const f=t.getOrCreateMapOfCacheRedirects(u);let p=f.get(s);return p||(p=d(),f.set(s,p)),p}function KNt(t,u,s,d){const f=vde(s,d);return{getFromDirectoryCache:b,getOrCreateCacheForDirectory:v,clear:p,update:E,directoryToModuleNameMap:f};function p(){f.clear()}function E(B){f.update(B)}function v(B,k){const T=K0(B,t,u);return RXe(f,k,T,()=>J7())}function b(B,k,T,M){var z,j;const J=K0(T,t,u);return(j=(z=f.getMapOfCacheRedirects(M))==null?void 0:z.get(J))==null?void 0:j.get(B,k)}}function cM(t,u){return u===void 0?t:`${u}|${t}`}function J7(){const t=new Map,u=new Map,s={get(f,p){return t.get(d(f,p))},set(f,p,E){return t.set(d(f,p),E),s},delete(f,p){return t.delete(d(f,p)),s},has(f,p){return t.has(d(f,p))},forEach(f){return t.forEach((p,E)=>{const[v,b]=u.get(E);return f(p,v,b)})},size(){return t.size}};return s;function d(f,p){const E=cM(f,p);return u.set(E,[f,p]),E}}function WNt(t){return t.resolvedModule&&(t.resolvedModule.originalPath||t.resolvedModule.resolvedFileName)}function GNt(t){return t.resolvedTypeReferenceDirective&&(t.resolvedTypeReferenceDirective.originalPath||t.resolvedTypeReferenceDirective.resolvedFileName)}function JNt(t,u,s,d,f){const p=vde(s,f);return{getFromNonRelativeNameCache:b,getOrCreateCacheForNonRelativeName:B,clear:E,update:v};function E(){p.clear()}function v(T){p.update(T)}function b(T,M,z,j){var J,K;return H.assert(!Md(T)),(K=(J=p.getMapOfCacheRedirects(j))==null?void 0:J.get(cM(T,M)))==null?void 0:K.get(z)}function B(T,M,z){return H.assert(!Md(T)),RXe(p,z,cM(T,M),k)}function k(){const T=new Map;return{get:M,set:z};function M(J){return T.get(K0(J,t,u))}function z(J,K){const Y=K0(J,t,u);if(T.has(Y))return;T.set(Y,K);const oe=d(K),se=oe&&j(Y,oe);let ge=Y;for(;ge!==se;){const ae=cr(ge);if(ae===ge||T.has(ae))break;T.set(ae,K),ge=ae}}function j(J,K){const Y=K0(cr(K),t,u);let oe=0;const se=Math.min(J.length,Y.length);for(;oed,clearAllExceptPackageJsonInfoCache:B,optionsToRedirectsKey:p};function b(){B(),d.clear()}function B(){E.clear(),v.clear()}function k(T){E.update(T),v.update(T)}}function VB(t,u,s,d,f){const p=OXe(t,u,s,d,WNt,f);return p.getOrCreateCacheForModuleName=(E,v,b)=>p.getOrCreateCacheForNonRelativeName(E,v,b),p}function RY(t,u,s,d,f){return OXe(t,u,s,d,GNt,f)}function Cde(t){return{moduleResolution:2,traceResolution:t.traceResolution}}function OY(t,u,s,d,f){return HB(t,u,Cde(s),d,f)}function jXe(t,u,s,d){const f=cr(u);return s.getFromDirectoryCache(t,d,f,void 0)}function HB(t,u,s,d,f,p,E){var v,b,B;const k=rD(s,d);p&&(s=p.commandLine.options),k&&(Aa(d,F.Resolving_module_0_from_1,t,u),p&&Aa(d,F.Using_compiler_options_of_project_reference_redirect_0,p.sourceFile.fileName));const T=cr(u);let M=f==null?void 0:f.getFromDirectoryCache(t,E,T,p);if(M)k&&Aa(d,F.Resolution_for_module_0_was_found_in_cache_from_location_1,t,T);else{let z=s.moduleResolution;if(z===void 0){switch(f1(s)){case 1:z=2;break;case 100:z=3;break;case 199:z=99;break;default:z=1;break}k&&Aa(d,F.Module_resolution_kind_is_not_specified_using_0,C8[z])}else k&&Aa(d,F.Explicitly_specified_module_resolution_kind_Colon_0,C8[z]);switch((v=dh)==null||v.logStartResolveModule(t),z){case 3:M=ZNt(t,u,s,d,f,p,E);break;case 99:M=YNt(t,u,s,d,f,p,E);break;case 2:M=pAe(t,u,s,d,f,p,E?W2(s,E):void 0);break;case 1:M=CAe(t,u,s,d,f,p);break;case 100:M=mAe(t,u,s,d,f,p,E?W2(s,E):void 0);break;default:return H.fail(`Unexpected moduleResolution: ${z}`)}M&&M.resolvedModule&&((b=dh)==null||b.logInfoEvent(`Module "${t}" resolved to "${M.resolvedModule.resolvedFileName}"`)),(B=dh)==null||B.logStopResolveModule(M&&M.resolvedModule?""+M.resolvedModule.resolvedFileName:"null"),f&&!f.isReadonly&&(f.getOrCreateCacheForDirectory(T,p).set(t,E,M),Md(t)||f.getOrCreateCacheForNonRelativeName(t,E,p).set(T,M))}return k&&(M.resolvedModule?M.resolvedModule.packageId?Aa(d,F.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,t,M.resolvedModule.resolvedFileName,Nx(M.resolvedModule.packageId)):Aa(d,F.Module_name_0_was_successfully_resolved_to_1,t,M.resolvedModule.resolvedFileName):Aa(d,F.Module_name_0_was_not_resolved,t)),M}function VXe(t,u,s,d,f){const p=$Nt(t,u,d,f);return p?p.value:Md(u)?UNt(t,u,s,d,f):qNt(t,u,d,f)}function $Nt(t,u,s,d){var f;const{baseUrl:p,paths:E,configFile:v}=d.compilerOptions;if(E&&!am(u)){d.traceEnabled&&(p&&Aa(d.host,F.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,p,u),Aa(d.host,F.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,u));const b=Lq(d.compilerOptions,d.host),B=v!=null&&v.configFileSpecs?(f=v.configFileSpecs).pathPatterns||(f.pathPatterns=rZ(E)):void 0;return vAe(t,u,b,E,B,s,!1,d)}}function UNt(t,u,s,d,f){if(!f.compilerOptions.rootDirs)return;f.traceEnabled&&Aa(f.host,F.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,u);const p=Jo(dr(s,u));let E,v;for(const b of f.compilerOptions.rootDirs){let B=Jo(b);oc(B,rl)||(B+=rl);const k=La(p,B)&&(v===void 0||v.lengthvoid oe.push(ne),isConfigLookup:v,candidateIsFromPackageJsonField:!1};j&&v7(Y)&&Aa(f,F.Resolving_in_0_mode_with_conditions_1,t&32?"ESM":"CJS",se.conditions.map(ne=>`'${ne}'`).join(", "));let ge;if(Y===2){const ne=E&5,ve=E&-6;ge=ne&&Ce(ne,se)||ve&&Ce(ve,se)||void 0}else ge=Ce(E,se);let ae;if((k=ge==null?void 0:ge.value)!=null&&k.isExternalLibraryImport&&!v&&E&5&&t&8&&!Md(u)&&!xAe(5,ge.value.resolved.extension)&&(B!=null&&B.includes("import"))){Hv(se,F.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);const ne={...se,features:se.features&-9,reportDiagnostic:zs},ve=Ce(E&5,ne);(T=ve==null?void 0:ve.value)!=null&&T.isExternalLibraryImport&&(ae=ve.value.resolved.path)}return NXe(u,(M=ge==null?void 0:ge.value)==null?void 0:M.resolved,(z=ge==null?void 0:ge.value)==null?void 0:z.isExternalLibraryImport,J,K,oe,se,p,ae);function Ce(ne,ve){const Ne=VXe(ne,u,s,(pe,fe,xe,Be)=>bde(pe,fe,xe,Be,!0),ve);if(Ne)return zm({resolved:Ne,isExternalLibraryImport:$7(Ne.path)});if(Md(u)){const{path:pe,parts:fe}=KXe(s,u),xe=bde(ne,pe,!1,ve,!0);return xe&&zm({resolved:xe,isExternalLibraryImport:Ft(fe,"node_modules")})}else{let pe;if(t&2&&La(u,"#")&&(pe=uPt(ne,u,s,ve,p,b)),!pe&&t&4&&(pe=nPt(ne,u,s,ve,p,b)),!pe){if(u.includes(":")){j&&Aa(f,F.Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1,u,MY(ne));return}j&&Aa(f,F.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,u,MY(ne)),pe=ZXe(ne,u,s,ve,p,b)}return ne&4&&(pe??(pe=iet(u,ve))),pe&&{value:pe.value&&{resolved:pe.value,isExternalLibraryImport:!0}}}}}function KXe(t,u){const s=dr(t,u),d=bd(s),f=Zu(d);return{path:f==="."||f===".."?Pd(Jo(s)):Jo(s),parts:d}}function XNt(t,u,s){if(!u.realpath)return t;const d=Jo(u.realpath(t));return s&&Aa(u,F.Resolving_real_path_for_0_result_1,t,d),d}function bde(t,u,s,d,f){if(d.traceEnabled&&Aa(d.host,F.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,u,MY(t)),!qD(u)){if(!s){const E=cr(u);cg(E,d.host)||(d.traceEnabled&&Aa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,E),s=!0)}const p=KB(t,u,s,d);if(p){const E=f?iH(p.path):void 0,v=E?G2(E,!1,d):void 0;return G7(v,p)}}if(s||cg(u,d.host)||(d.traceEnabled&&Aa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,u),s=!0),!(d.features&32))return DAe(t,u,s,d,f)}function $7(t){return t.includes(a_)}function iH(t,u){const s=Jo(t),d=s.lastIndexOf(a_);if(d===-1)return;const f=d+a_.length;let p=WXe(s,f,u);return s.charCodeAt(f)===64&&(p=WXe(s,p,u)),s.slice(0,p)}function WXe(t,u,s){const d=t.indexOf(rl,u+1);return d===-1?s?t.length:u:d}function EAe(t,u,s,d){return Ede(KB(t,u,s,d))}function KB(t,u,s,d){const f=GXe(t,u,s,d);if(f)return f;if(!(d.features&32)){const p=JXe(u,t,"",s,d);if(p)return p}}function GXe(t,u,s,d){if(!Fc(u).includes("."))return;let p=Eh(u);p===u&&(p=u.substring(0,u.lastIndexOf(".")));const E=u.substring(p.length);return d.traceEnabled&&Aa(d.host,F.File_name_0_has_a_1_extension_stripping_it,u,E),JXe(p,t,E,s,d)}function _Ae(t,u,s,d){return t&1&&jc(u,cV)||t&4&&jc(u,lV)?jY(u,s,d)!==void 0?{path:u,ext:Oq(u),resolvedUsingTsExtension:void 0}:void 0:d.isConfigLookup&&t===8&&Ml(u,".json")?jY(u,s,d)!==void 0?{path:u,ext:".json",resolvedUsingTsExtension:void 0}:void 0:GXe(t,u,s,d)}function JXe(t,u,s,d,f){if(!d){const E=cr(t);E&&(d=!cg(E,f.host))}switch(s){case".mjs":case".mts":case".d.mts":return u&1&&p(".mts",s===".mts"||s===".d.mts")||u&4&&p(".d.mts",s===".mts"||s===".d.mts")||u&2&&p(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return u&1&&p(".cts",s===".cts"||s===".d.cts")||u&4&&p(".d.cts",s===".cts"||s===".d.cts")||u&2&&p(".cjs")||void 0;case".json":return u&4&&p(".d.json.ts")||u&8&&p(".json")||void 0;case".tsx":case".jsx":return u&1&&(p(".tsx",s===".tsx")||p(".ts",s===".tsx"))||u&4&&p(".d.ts",s===".tsx")||u&2&&(p(".jsx")||p(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return u&1&&(p(".ts",s===".ts"||s===".d.ts")||p(".tsx",s===".ts"||s===".d.ts"))||u&4&&p(".d.ts",s===".ts"||s===".d.ts")||u&2&&(p(".js")||p(".jsx"))||f.isConfigLookup&&p(".json")||void 0;default:return u&4&&!Xd(t+s)&&p(`.d${s}.ts`)||void 0}function p(E,v){const b=jY(t+E,d,f);return b===void 0?void 0:{path:b,ext:E,resolvedUsingTsExtension:!f.candidateIsFromPackageJsonField&&v}}}function jY(t,u,s){var d;if(!((d=s.compilerOptions.moduleSuffixes)!=null&&d.length))return $Xe(t,u,s);const f=e3(t)??"",p=f?tV(t,f):t;return L(s.compilerOptions.moduleSuffixes,E=>$Xe(p+E+f,u,s))}function $Xe(t,u,s){var d;if(!u){if(s.host.fileExists(t))return s.traceEnabled&&Aa(s.host,F.File_0_exists_use_it_as_a_name_resolution_result,t),t;s.traceEnabled&&Aa(s.host,F.File_0_does_not_exist,t)}(d=s.failedLookupLocations)==null||d.push(t)}function DAe(t,u,s,d,f=!0){const p=f?G2(u,s,d):void 0,E=p&&p.contents.packageJsonContent,v=p&&VY(p,d);return G7(p,kde(t,u,s,d,E,v))}function yde(t,u,s,d,f){if(!f&&t.contents.resolvedEntrypoints!==void 0)return t.contents.resolvedEntrypoints;let p;const E=5|(f?2:0),v=dAe(u),b=nH(d==null?void 0:d.getPackageJsonInfoCache(),s,u);b.conditions=W2(u),b.requestContainingDirectory=t.packageDirectory;const B=kde(E,t.packageDirectory,!1,b,t.contents.packageJsonContent,VY(t,b));if(p=Ei(p,B==null?void 0:B.path),v&8&&t.contents.packageJsonContent.exports){const k=li([W2(u,99),W2(u,1)],Hn);for(const T of k){const M={...b,failedLookupLocations:[],conditions:T,host:s},z=ePt(t,t.contents.packageJsonContent.exports,M,E);if(z)for(const j of z)p=e0(p,j.path)}}return t.contents.resolvedEntrypoints=p||!1}function ePt(t,u,s,d){let f;if(ja(u))for(const E of u)p(E);else if(typeof u=="object"&&u!==null&&HY(u))for(const E in u)p(u[E]);else p(u);return f;function p(E){var v,b;if(typeof E=="string"&&La(E,"./"))if(E.includes("*")&&s.host.readDirectory){if(E.indexOf("*")!==E.lastIndexOf("*"))return!1;s.host.readDirectory(t.packageDirectory,PNt(d),void 0,[Xd(E)?E.replace("*","**/*"):kO(E.replace("*","**/*"),Vj(E))]).forEach(B=>{f=e0(f,{path:B,ext:SN(B),resolvedUsingTsExtension:void 0})})}else{const B=bd(E).slice(2);if(B.includes("..")||B.includes(".")||B.includes("node_modules"))return!1;const k=dr(t.packageDirectory,E),T=Ga(k,(b=(v=s.host).getCurrentDirectory)==null?void 0:b.call(v)),M=_Ae(d,T,!1,s);if(M)return f=e0(f,M,(z,j)=>z.path===j.path),!0}else if(Array.isArray(E)){for(const B of E)if(p(B))return!0}else if(typeof E=="object"&&E!==null)return L(Ls(E),B=>{if(B==="default"||Ft(s.conditions,B)||aH(s.conditions,B))return p(E[B]),!0})}}function nH(t,u,s){return{host:u,compilerOptions:s,traceEnabled:rD(s,u),failedLookupLocations:void 0,affectingLocations:void 0,packageJsonInfoCache:t,features:0,conditions:_t,requestContainingDirectory:void 0,reportDiagnostic:zs,isConfigLookup:!1,candidateIsFromPackageJsonField:!1}}function uH(t,u){const s=bd(t);for(s.pop();s.length>0;){const d=G2(bx(s),!1,u);if(d)return d;s.pop()}}function VY(t,u){return t.contents.versionPaths===void 0&&(t.contents.versionPaths=ONt(t.contents.packageJsonContent,u)||!1),t.contents.versionPaths||void 0}function G2(t,u,s){var d,f,p,E,v,b;const{host:B,traceEnabled:k}=s,T=dr(t,"package.json");if(u){(d=s.failedLookupLocations)==null||d.push(T);return}const M=(f=s.packageJsonInfoCache)==null?void 0:f.getPackageJsonInfo(T);if(M!==void 0){if(typeof M!="boolean")return k&&Aa(B,F.File_0_exists_according_to_earlier_cached_lookups,T),(p=s.affectingLocations)==null||p.push(T),M.packageDirectory===t?M:{packageDirectory:t,contents:M.contents};M&&k&&Aa(B,F.File_0_does_not_exist_according_to_earlier_cached_lookups,T),(E=s.failedLookupLocations)==null||E.push(T);return}const z=cg(t,B);if(z&&B.fileExists(T)){const j=gP(T,B);k&&Aa(B,F.Found_package_json_at_0,T);const J={packageDirectory:t,contents:{packageJsonContent:j,versionPaths:void 0,resolvedEntrypoints:void 0}};return s.packageJsonInfoCache&&!s.packageJsonInfoCache.isReadonly&&s.packageJsonInfoCache.setPackageJsonInfo(T,J),(v=s.affectingLocations)==null||v.push(T),J}else z&&k&&Aa(B,F.File_0_does_not_exist,T),s.packageJsonInfoCache&&!s.packageJsonInfoCache.isReadonly&&s.packageJsonInfoCache.setPackageJsonInfo(T,z),(b=s.failedLookupLocations)==null||b.push(T)}function kde(t,u,s,d,f,p){let E;f&&(d.isConfigLookup?E=zNt(f,u,d):E=t&4&&MNt(f,u,d)||t&7&&INt(f,u,d)||void 0);const v=(M,z,j,J)=>{const K=jY(z,j,J);if(K){const ae=tPt(M,K);if(ae)return Ede(ae);J.traceEnabled&&Aa(J.host,F.File_0_has_an_unsupported_extension_so_skipping_it,K)}const Y=M===4?5:M,oe=J.features,se=J.candidateIsFromPackageJsonField;J.candidateIsFromPackageJsonField=!0,(f==null?void 0:f.type)!=="module"&&(J.features&=-33);const ge=bde(Y,z,j,J,!1);return J.features=oe,J.candidateIsFromPackageJsonField=se,ge},b=E?!cg(cr(E),d.host):void 0,B=s||!cg(u,d.host),k=dr(u,d.isConfigLookup?"tsconfig":"index");if(p&&(!E||WE(u,E))){const M=GE(u,E||k,!1);d.traceEnabled&&Aa(d.host,F.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,p.version,_,M);const z=vAe(t,M,u,p.paths,void 0,v,b||B,d);if(z)return LXe(z.value)}const T=E&&LXe(v(t,E,b,d));if(T)return T;if(!(d.features&32))return KB(t,k,B,d)}function tPt(t,u,s){const d=e3(u);return d!==void 0&&xAe(t,d)?{path:u,ext:d,resolvedUsingTsExtension:s}:void 0}function xAe(t,u){return t&2&&(u===".js"||u===".jsx"||u===".mjs"||u===".cjs")||t&1&&(u===".ts"||u===".tsx"||u===".mts"||u===".cts")||t&4&&(u===".d.ts"||u===".d.mts"||u===".d.cts")||t&8&&u===".json"||!1}function rH(t){let u=t.indexOf(rl);return t[0]==="@"&&(u=t.indexOf(rl,u+1)),u===-1?{packageName:t,rest:""}:{packageName:t.slice(0,u),rest:t.slice(u+1)}}function HY(t){return ye(Ls(t),u=>La(u,"."))}function iPt(t){return!Ge(Ls(t),u=>La(u,"."))}function nPt(t,u,s,d,f,p){var E,v;const b=Ga(dr(s,"dummy"),(v=(E=d.host).getCurrentDirectory)==null?void 0:v.call(E)),B=uH(b,d);if(!B||!B.contents.packageJsonContent.exports||typeof B.contents.packageJsonContent.name!="string")return;const k=bd(u),T=bd(B.contents.packageJsonContent.name);if(!ye(T,(K,Y)=>k[Y]===K))return;const M=k.slice(T.length),z=S(M)?`.${rl}${M.join(rl)}`:".";if(Av(d.compilerOptions)&&!$7(s))return Fde(B,t,z,d,f,p);const j=t&5,J=t&-6;return Fde(B,j,z,d,f,p)||Fde(B,J,z,d,f,p)}function Fde(t,u,s,d,f,p){if(t.contents.packageJsonContent.exports){if(s==="."){let E;if(typeof t.contents.packageJsonContent.exports=="string"||Array.isArray(t.contents.packageJsonContent.exports)||typeof t.contents.packageJsonContent.exports=="object"&&iPt(t.contents.packageJsonContent.exports)?E=t.contents.packageJsonContent.exports:gu(t.contents.packageJsonContent.exports,".")&&(E=t.contents.packageJsonContent.exports["."]),E)return qXe(u,d,f,p,s,t,!1)(E,"",!1,".")}else if(HY(t.contents.packageJsonContent.exports)){if(typeof t.contents.packageJsonContent.exports!="object")return d.traceEnabled&&Aa(d.host,F.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,s,t.packageDirectory),zm(void 0);const E=UXe(u,d,f,p,s,t.contents.packageJsonContent.exports,t,!1);if(E)return E}return d.traceEnabled&&Aa(d.host,F.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,s,t.packageDirectory),zm(void 0)}}function uPt(t,u,s,d,f,p){var E,v;if(u==="#"||La(u,"#/"))return d.traceEnabled&&Aa(d.host,F.Invalid_import_specifier_0_has_no_possible_resolutions,u),zm(void 0);const b=Ga(dr(s,"dummy"),(v=(E=d.host).getCurrentDirectory)==null?void 0:v.call(E)),B=uH(b,d);if(!B)return d.traceEnabled&&Aa(d.host,F.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,b),zm(void 0);if(!B.contents.packageJsonContent.imports)return d.traceEnabled&&Aa(d.host,F.package_json_scope_0_has_no_imports_defined,B.packageDirectory),zm(void 0);const k=UXe(t,d,f,p,u,B.contents.packageJsonContent.imports,B,!0);return k||(d.traceEnabled&&Aa(d.host,F.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,u,B.packageDirectory),zm(void 0))}function Ade(t,u){const s=t.indexOf("*"),d=u.indexOf("*"),f=s===-1?t.length:s+1,p=d===-1?u.length:d+1;return f>p?-1:p>f||s===-1?1:d===-1||t.length>u.length?-1:u.length>t.length?1:0}function UXe(t,u,s,d,f,p,E,v){const b=qXe(t,u,s,d,f,E,v);if(!oc(f,rl)&&!f.includes("*")&&gu(p,f)){const T=p[f];return b(T,"",!1,f)}const B=Lh(ei(Ls(p),T=>T.includes("*")||oc(T,"/")),Ade);for(const T of B)if(u.features&16&&k(T,f)){const M=p[T],z=T.indexOf("*"),j=f.substring(T.substring(0,z).length,f.length-(T.length-1-z));return b(M,j,!0,T)}else if(oc(T,"*")&&La(f,T.substring(0,T.length-1))){const M=p[T],z=f.substring(T.length-1);return b(M,z,!0,T)}else if(La(f,T)){const M=p[T],z=f.substring(T.length);return b(M,z,!1,T)}function k(T,M){if(oc(T,"*"))return!1;const z=T.indexOf("*");return z===-1?!1:La(M,T.substring(0,z))&&oc(M,T.substring(z+1))}}function qXe(t,u,s,d,f,p,E){return v;function v(b,B,k,T){if(typeof b=="string"){if(!k&&B.length>0&&!oc(b,"/"))return u.traceEnabled&&Aa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),zm(void 0);if(!La(b,"./")){if(E&&!La(b,"../")&&!La(b,"/")&&!Nf(b)){const ae=k?b.replace(/\*/g,B):b+B;Hv(u,F.Using_0_subpath_1_with_target_2,"imports",T,ae),Hv(u,F.Resolving_module_0_from_1,ae,p.packageDirectory+"/");const Ce=tH(u.features,ae,p.packageDirectory+"/",u.compilerOptions,u.host,s,t,!1,d,u.conditions);return zm(Ce.resolvedModule?{path:Ce.resolvedModule.resolvedFileName,extension:Ce.resolvedModule.extension,packageId:Ce.resolvedModule.packageId,originalPath:Ce.resolvedModule.originalPath,resolvedUsingTsExtension:Ce.resolvedModule.resolvedUsingTsExtension}:void 0)}return u.traceEnabled&&Aa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),zm(void 0)}const K=(am(b)?bd(b).slice(1):bd(b)).slice(1);if(K.includes("..")||K.includes(".")||K.includes("node_modules"))return u.traceEnabled&&Aa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),zm(void 0);const Y=dr(p.packageDirectory,b),oe=bd(B);if(oe.includes("..")||oe.includes(".")||oe.includes("node_modules"))return u.traceEnabled&&Aa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),zm(void 0);u.traceEnabled&&Aa(u.host,F.Using_0_subpath_1_with_target_2,E?"imports":"exports",T,k?b.replace(/\*/g,B):b+B);const se=M(k?Y.replace(/\*/g,B):Y+B),ge=j(se,B,dr(p.packageDirectory,"package.json"),E);return ge||zm(G7(p,_Ae(t,se,!1,u)))}else if(typeof b=="object"&&b!==null)if(Array.isArray(b)){if(!S(b))return u.traceEnabled&&Aa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),zm(void 0);for(const J of b){const K=v(J,B,k,T);if(K)return K}}else{Hv(u,F.Entering_conditional_exports);for(const J of Ls(b))if(J==="default"||u.conditions.includes(J)||aH(u.conditions,J)){Hv(u,F.Matched_0_condition_1,E?"imports":"exports",J);const K=b[J],Y=v(K,B,k,T);if(Y)return Hv(u,F.Resolved_under_condition_0,J),Hv(u,F.Exiting_conditional_exports),Y;Hv(u,F.Failed_to_resolve_under_condition_0,J)}else Hv(u,F.Saw_non_matching_condition_0,J);Hv(u,F.Exiting_conditional_exports);return}else if(b===null)return u.traceEnabled&&Aa(u.host,F.package_json_scope_0_explicitly_maps_specifier_1_to_null,p.packageDirectory,f),zm(void 0);return u.traceEnabled&&Aa(u.host,F.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,p.packageDirectory,f),zm(void 0);function M(J){var K,Y;return J===void 0?J:Ga(J,(Y=(K=u.host).getCurrentDirectory)==null?void 0:Y.call(K))}function z(J,K){return Pd(dr(J,K))}function j(J,K,Y,oe){var se,ge,ae,Ce;if(!u.isConfigLookup&&(u.compilerOptions.declarationDir||u.compilerOptions.outDir)&&!J.includes("/node_modules/")&&(!u.compilerOptions.configFile||WE(p.packageDirectory,M(u.compilerOptions.configFile.fileName),!Sde(u)))){const ve=i5({useCaseSensitiveFileNames:()=>Sde(u)}),Se=[];if(u.compilerOptions.rootDir||u.compilerOptions.composite&&u.compilerOptions.configFilePath){const Ne=M(bM(u.compilerOptions,()=>[],((ge=(se=u.host).getCurrentDirectory)==null?void 0:ge.call(se))||"",ve));Se.push(Ne)}else if(u.requestContainingDirectory){const Ne=M(dr(u.requestContainingDirectory,"index.ts")),pe=M(bM(u.compilerOptions,()=>[Ne,M(Y)],((Ce=(ae=u.host).getCurrentDirectory)==null?void 0:Ce.call(ae))||"",ve));Se.push(pe);let fe=Pd(pe);for(;fe&&fe.length>1;){const xe=bd(fe);xe.pop();const Be=bx(xe);Se.unshift(Be),fe=Pd(Be)}}Se.length>1&&u.reportDiagnostic(lc(oe?F.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:F.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,K===""?".":K,Y));for(const Ne of Se){const pe=ne(Ne);for(const fe of pe)if(WE(fe,J,!Sde(u))){const xe=J.slice(fe.length+1),Be=dr(Ne,xe),We=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];for(const Ae of We)if(Ml(Be,Ae)){const De=_ye(Be);for(const He of De){if(!xAe(t,He))continue;const Je=kO(Be,He,Ae,!Sde(u));if(u.host.fileExists(Je))return zm(G7(p,_Ae(t,Je,!1,u)))}}}}}return;function ne(ve){var Se,Ne;const pe=u.compilerOptions.configFile?((Ne=(Se=u.host).getCurrentDirectory)==null?void 0:Ne.call(Se))||"":ve,fe=[];return u.compilerOptions.declarationDir&&fe.push(M(z(pe,u.compilerOptions.declarationDir))),u.compilerOptions.outDir&&u.compilerOptions.outDir!==u.compilerOptions.declarationDir&&fe.push(M(z(pe,u.compilerOptions.outDir))),fe}}}}function aH(t,u){if(!t.includes("types")||!La(u,"types@"))return!1;const s=pO.tryParse(u.substring(6));return s?s.test(_):!1}function ZXe(t,u,s,d,f,p){return YXe(t,u,s,d,!1,f,p)}function rPt(t,u,s){return YXe(4,t,u,s,!0,void 0,void 0)}function YXe(t,u,s,d,f,p,E){const v=d.features===0?void 0:d.features&32?99:1,b=t&5,B=t&-6;if(b){Hv(d,F.Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0,MY(b));const T=k(b);if(T)return T}if(B&&!f)return Hv(d,F.Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0,MY(B)),k(B);function k(T){return $g(U1(s),M=>{if(Fc(M)!=="node_modules"){const z=tet(p,u,v,M,E,d);return z||zm(QXe(T,u,M,d,f,p,E))}})}}function QXe(t,u,s,d,f,p,E){const v=dr(s,"node_modules"),b=cg(v,d.host);if(!b&&d.traceEnabled&&Aa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,v),!f){const B=XXe(t,u,v,b,d,p,E);if(B)return B}if(t&4){const B=dr(v,"@types");let k=b;return b&&!cg(B,d.host)&&(d.traceEnabled&&Aa(d.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,B),k=!1),XXe(4,eet(u,d),B,k,d,p,E)}}function XXe(t,u,s,d,f,p,E){var v,b;const B=Jo(dr(s,u)),{packageName:k,rest:T}=rH(u),M=dr(s,k);let z,j=G2(B,!d,f);if(T!==""&&j&&(!(f.features&8)||!gu(((v=z=G2(M,!d,f))==null?void 0:v.contents.packageJsonContent)??_t,"exports"))){const Y=KB(t,B,!d,f);if(Y)return Ede(Y);const oe=kde(t,B,!d,f,j.contents.packageJsonContent,VY(j,f));return G7(j,oe)}const J=(Y,oe,se,ge)=>{let ae=(T||!(ge.features&32))&&KB(Y,oe,se,ge)||kde(Y,oe,se,ge,j&&j.contents.packageJsonContent,j&&VY(j,ge));return!ae&&j&&(j.contents.packageJsonContent.exports===void 0||j.contents.packageJsonContent.exports===null)&&ge.features&32&&(ae=KB(Y,dr(oe,"index.js"),se,ge)),G7(j,ae)};if(T!==""&&(j=z??G2(M,!d,f)),j&&j.contents.packageJsonContent.exports&&f.features&8)return(b=Fde(j,t,dr(".",T),f,p,E))==null?void 0:b.value;const K=T!==""&&j?VY(j,f):void 0;if(K){f.traceEnabled&&Aa(f.host,F.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,K.version,_,T);const Y=d&&cg(M,f.host),oe=vAe(t,T,M,K.paths,void 0,J,!Y,f);if(oe)return oe.value}return J(t,B,!d,f)}function vAe(t,u,s,d,f,p,E,v){f||(f=rZ(d));const b=Sle(f,u);if(b){const B=Wa(b)?void 0:XCe(b,u),k=Wa(b)?b:QCe(b);return v.traceEnabled&&Aa(v.host,F.Module_name_0_matched_pattern_1,u,k),{value:L(d[k],M=>{const z=B?M.replace("*",B):M,j=Jo(dr(s,z));v.traceEnabled&&Aa(v.host,F.Trying_substitution_0_candidate_module_location_Colon_1,M,z);const J=e3(M);if(J!==void 0){const K=jY(j,E,v);if(K!==void 0)return Ede({path:K,ext:J,resolvedUsingTsExtension:void 0})}return p(t,j,E||!cg(cr(j),v.host),v)})}}}function eet(t,u){const s=WB(t);return u.traceEnabled&&s!==t&&Aa(u.host,F.Scoped_package_detected_looking_in_0,s),s}function KY(t){return`@types/${WB(t)}`}function WB(t){if(La(t,"@")){const u=t.replace(rl,wde);if(u!==t)return u.slice(1)}return t}function dM(t){const u=bN(t,"@types/");return u!==t?oH(u):t}function oH(t){return t.includes(wde)?"@"+t.replace(wde,rl):t}function tet(t,u,s,d,f,p){const E=t&&t.getFromNonRelativeNameCache(u,s,d,f);if(E)return p.traceEnabled&&Aa(p.host,F.Resolution_for_module_0_was_found_in_cache_from_location_1,u,d),p.resultFromCache=E,{value:E.resolvedModule&&{path:E.resolvedModule.resolvedFileName,originalPath:E.resolvedModule.originalPath||!0,extension:E.resolvedModule.extension,packageId:E.resolvedModule.packageId,resolvedUsingTsExtension:E.resolvedModule.resolvedUsingTsExtension}}}function CAe(t,u,s,d,f,p){const E=rD(s,d),v=[],b=[],B=cr(u),k=[],T={compilerOptions:s,host:d,traceEnabled:E,failedLookupLocations:v,affectingLocations:b,packageJsonInfoCache:f,features:0,conditions:[],requestContainingDirectory:B,reportDiagnostic:j=>void k.push(j),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},M=z(5)||z(2|(s.resolveJsonModule?8:0));return NXe(t,M&&M.value,(M==null?void 0:M.value)&&$7(M.value.path),v,b,k,T,f);function z(j){const J=VXe(j,t,B,EAe,T);if(J)return{value:J};if(Md(t)){const K=Jo(dr(B,t));return zm(EAe(j,K,!1,T))}else{const K=$g(B,Y=>{const oe=tet(f,t,void 0,Y,p,T);if(oe)return oe;const se=Jo(dr(Y,t));return zm(EAe(j,se,!1,T))});if(K)return K;if(j&5){let Y=rPt(t,B,T);return j&4&&(Y??(Y=iet(t,T))),Y}}}}function iet(t,u){if(u.compilerOptions.typeRoots)for(const s of u.compilerOptions.typeRoots){const d=IXe(s,t,u),f=cg(s,u.host);!f&&u.traceEnabled&&Aa(u.host,F.Directory_0_does_not_exist_skipping_all_lookups_in_it,s);const p=KB(4,d,!f,u);if(p){const v=iH(p.path),b=v?G2(v,!1,u):void 0;return zm(G7(b,p))}const E=DAe(4,d,!f,u);if(E)return zm(E)}}function GB(t,u){return!!t.allowImportingTsExtensions||u&&Xd(u)}function bAe(t,u,s,d,f,p){const E=rD(s,d);E&&Aa(d,F.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,u,t,f);const v=[],b=[],B=[],k={compilerOptions:s,host:d,traceEnabled:E,failedLookupLocations:v,affectingLocations:b,packageJsonInfoCache:p,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:M=>void B.push(M),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},T=QXe(4,t,f,k,!1,void 0,void 0);return PXe(T,!0,v,b,B,k.resultFromCache,void 0)}function zm(t){return t!==void 0?{value:t}:void 0}function Hv(t,u,...s){t.traceEnabled&&Aa(t.host,u,...s)}function Sde(t){return t.host.useCaseSensitiveFileNames?typeof t.host.useCaseSensitiveFileNames=="boolean"?t.host.useCaseSensitiveFileNames:t.host.useCaseSensitiveFileNames():!0}var yAe,net,Bde,a_,wde,aPt=o({"src/compiler/moduleNameResolver.ts"(){So(),net=dr("node_modules","@types"),Bde=(t=>(t[t.None=0]="None",t[t.Imports=2]="Imports",t[t.SelfName=4]="SelfName",t[t.Exports=8]="Exports",t[t.ExportsPatternTrailers=16]="ExportsPatternTrailers",t[t.AllFeatures=30]="AllFeatures",t[t.Node16Default=30]="Node16Default",t[t.NodeNextDefault=30]="NodeNextDefault",t[t.BundlerDefault=30]="BundlerDefault",t[t.EsmMode=32]="EsmMode",t))(Bde||{}),a_="/node_modules/",wde="__"}});function aD(t,u){return t.body&&!t.body.parent&&(ys(t.body,t),jx(t.body,!1)),t.body?kAe(t.body,u):1}function kAe(t,u=new Map){const s=$s(t);if(u.has(s))return u.get(s)||0;u.set(s,void 0);const d=oPt(t,u);return u.set(s,d),d}function oPt(t,u){switch(t.kind){case 264:case 265:return 0;case 266:if(x2(t))return 2;break;case 272:case 271:if(!Qu(t,32))return 0;break;case 278:const s=t;if(!s.moduleSpecifier&&s.exportClause&&s.exportClause.kind===279){let d=0;for(const f of s.exportClause.elements){const p=sPt(f,u);if(p>d&&(d=p),d===1)return d}return d}break;case 268:{let d=0;return uo(t,f=>{const p=kAe(f,u);switch(p){case 0:return;case 2:d=2;return;case 1:return d=1,!0;default:H.assertNever(p)}}),d}case 267:return aD(t,u);case 80:if(t.flags&4096)return 0}return 1}function sPt(t,u){const s=t.propertyName||t.name;let d=t.parent;for(;d;){if(ho(d)||uE(d)||ca(d)){const f=d.statements;let p;for(const E of f)if(RO(E,s)){E.parent||(ys(E,d),jx(E,!1));const v=kAe(E,u);if((p===void 0||v>p)&&(p=v),p===1)return p;E.kind===271&&(p=1)}if(p!==void 0)return p}d=d.parent}return 1}function U7(t){return H.attachFlowNodeDebugInfo(t),t}function FAe(t,u){var s,d;ul("beforeBind"),(s=dh)==null||s.logStartBindFile(""+t.fileName),ret(t,u),(d=dh)==null||d.logStopBindFile(),ul("afterBind"),wm("Bind","beforeBind","afterBind")}function lPt(){var t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge,ae,Ce=!1,ne=0,ve,Se,Ne={flags:1},pe={flags:1},fe=le();return Be;function xe(Q,Me,...wt){return V4(zn(Q)||t,Q,Me,...wt)}function Be(Q,Me){var wt,bi;t=Q,u=Me,s=Rs(u),ae=We(t,Me),Se=new Set,ne=0,ve=Yd.getSymbolConstructor(),H.attachFlowNodeDebugInfo(Ne),H.attachFlowNodeDebugInfo(pe),t.locals||((wt=Jn)==null||wt.push(Jn.Phase.Bind,"bindSourceFile",{path:t.path},!0),vt(t),(bi=Jn)==null||bi.pop(),t.symbolCount=ne,t.classifiableNames=Se,vl()),t=void 0,u=void 0,s=void 0,d=void 0,f=void 0,p=void 0,E=void 0,v=void 0,b=void 0,B=!1,k=void 0,T=void 0,M=void 0,z=void 0,j=void 0,J=void 0,K=void 0,oe=void 0,se=!1,Ce=!1,ge=0}function We(Q,Me){return U4(Me,"alwaysStrict")&&!Q.isDeclarationFile?!0:!!Q.externalModuleIndicator}function Ae(Q,Me){return ne++,new ve(Q,Me)}function De(Q,Me,wt){Q.flags|=wt,Me.symbol=Q,Q.declarations=e0(Q.declarations,Me),wt&1955&&!Q.exports&&(Q.exports=Vo()),wt&6240&&!Q.members&&(Q.members=Vo()),Q.constEnumOnlyModule&&Q.flags&304&&(Q.constEnumOnlyModule=!1),wt&111551&&yj(Q,Me)}function He(Q){if(Q.kind===277)return Q.isExportEquals?"export=":"default";const Me=$a(Q);if(Me){if(L1(Q)){const wt=W4(Me);return Zg(Q)?"__global":`"${wt}"`}if(Me.kind===167){const wt=Me.expression;if(Nm(wt))return Al(wt.text);if(Aq(wt))return $o(wt.operator)+wt.operand.text;H.fail("Only computed properties with literal names have declaration names")}if(ea(Me)){const wt=Zd(Q);if(!wt)return;const bi=wt.symbol;return Pj(bi,Me.escapedText)}return mg(Me)?b7(Me):Qg(Me)?aP(Me):void 0}switch(Q.kind){case 176:return"__constructor";case 184:case 179:case 330:return"__call";case 185:case 180:return"__new";case 181:return"__index";case 278:return"__export";case 312:return"export=";case 226:if(Ql(Q)===2)return"export=";H.fail("Unknown binary declaration kind");break;case 324:return Y8(Q)?"__new":"__call";case 169:return H.assert(Q.parent.kind===324,"Impossible parameter parent kind",()=>`parent is: ${H.formatSyntaxKind(Q.parent.kind)}, expected JSDocFunctionType`),"arg"+Q.parent.parameters.indexOf(Q)}}function Je(Q){return fh(Q)?C0(Q.name):Qr(H.checkDefined(He(Q)))}function ft(Q,Me,wt,bi,In,ir,nr){H.assert(nr||!zx(wt));const fa=Qu(wt,2048)||X1(wt)&&wt.name.escapedText==="default",os=nr?"__computed":fa&&Me?"default":He(wt);let ss;if(os===void 0)ss=Ae(0,"__missing");else if(ss=Q.get(os),bi&2885600&&Se.add(os),!ss)Q.set(os,ss=Ae(0,os)),ir&&(ss.isReplaceableByMethod=!0);else{if(ir&&!ss.isReplaceableByMethod)return ss;if(ss.flags&In){if(ss.isReplaceableByMethod)Q.set(os,ss=Ae(0,os));else if(!(bi&3&&ss.flags&67108864)){fh(wt)&&ys(wt.name,wt);let Rl=ss.flags&2?F.Cannot_redeclare_block_scoped_variable_0:F.Duplicate_identifier_0,D1=!0;(ss.flags&384||bi&384)&&(Rl=F.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,D1=!1);let dd=!1;S(ss.declarations)&&(fa||ss.declarations&&ss.declarations.length&&wt.kind===277&&!wt.isExportEquals)&&(Rl=F.A_module_cannot_have_multiple_default_exports,D1=!1,dd=!0);const Jm=[];Ip(wt)&&Yl(wt.type)&&Qu(wt,32)&&ss.flags&2887656&&Jm.push(xe(wt,F.Did_you_mean_0,`export type { ${Qr(wt.name.escapedText)} }`));const Es=$a(wt)||wt;L(ss.declarations,($m,d3)=>{const c_=$a($m)||$m,ia=D1?xe(c_,Rl,Je($m)):xe(c_,Rl);t.bindDiagnostics.push(dd?gs(ia,xe(Es,d3===0?F.Another_export_default_is_here:F.and_here)):ia),dd&&Jm.push(xe(c_,F.The_first_export_default_is_here))});const tp=D1?xe(Es,Rl,Je(wt)):xe(Es,Rl);t.bindDiagnostics.push(gs(tp,...Jm)),ss=Ae(0,os)}}}return De(ss,wt,bi),ss.parent?H.assert(ss.parent===Me,"Existing symbol parent should match new one"):ss.parent=Me,ss}function Ze(Q,Me,wt){const bi=!!(d2(Q)&32)||je(Q);if(Me&2097152)return Q.kind===281||Q.kind===271&&bi?ft(f.symbol.exports,f.symbol,Q,Me,wt):(H.assertNode(f,$E),ft(f.locals,void 0,Q,Me,wt));if(K4(Q)&&H.assert(Xn(Q)),!L1(Q)&&(bi||f.flags&128)){if(!$E(f)||!f.locals||Qu(Q,2048)&&!He(Q))return ft(f.symbol.exports,f.symbol,Q,Me,wt);const In=Me&111551?1048576:0,ir=ft(f.locals,void 0,Q,In,wt);return ir.exportSymbol=ft(f.symbol.exports,f.symbol,Q,Me,wt),Q.localSymbol=ir,ir}else return H.assertNode(f,$E),ft(f.locals,void 0,Q,Me,wt)}function je(Q){if(Q.parent&&Ec(Q)&&(Q=Q.parent),!K4(Q))return!1;if(!wV(Q)&&Q.fullName)return!0;const Me=$a(Q);return Me?!!(Gj(Me.parent)&&Ul(Me.parent)||Y1(Me.parent)&&d2(Me.parent)&32):!1}function Ke(Q,Me){const wt=f,bi=p,In=E;if(Me&1?(Q.kind!==219&&(p=f),f=E=Q,Me&32&&(f.locals=Vo(),da(f))):Me&2&&(E=Q,Me&32&&(E.locals=void 0)),Me&4){const ir=k,nr=T,fa=M,os=z,ss=K,Rl=oe,D1=se,dd=Me&16&&!Qu(Q,1024)&&!Q.asteriskToken&&!!tk(Q)||Q.kind===175;dd||(k=U7({flags:2}),Me&144&&(k.node=Q)),z=dd||Q.kind===176||Xn(Q)&&(Q.kind===262||Q.kind===218)?xn():void 0,K=void 0,T=void 0,M=void 0,oe=void 0,se=!1,lt(Q),Q.flags&=-5633,!(k.flags&1)&&Me&8&&j4(Q.body)&&(Q.flags|=512,se&&(Q.flags|=1024),Q.endFlowNode=k),Q.kind===312&&(Q.flags|=ge,Q.endFlowNode=k),z&&(ki(z,k),k=bt(z),(Q.kind===176||Q.kind===175||Xn(Q)&&(Q.kind===262||Q.kind===218))&&(Q.returnFlowNode=k)),dd||(k=ir),T=nr,M=fa,z=os,K=ss,oe=Rl,se=D1}else Me&64?(B=!1,lt(Q),H.assertNotNode(Q,at),Q.flags=B?Q.flags|256:Q.flags&-257):lt(Q);f=wt,p=bi,E=In}function Gt(Q){Yt(Q,Me=>Me.kind===262?vt(Me):void 0),Yt(Q,Me=>Me.kind!==262?vt(Me):void 0)}function Yt(Q,Me=vt){Q!==void 0&&L(Q,Me)}function Ie(Q){uo(Q,vt,Yt)}function lt(Q){const Me=Ce;if(Ce=!1,xi(Q)){Ie(Q),hi(Q),Ce=Me;return}switch(Q.kind>=243&&Q.kind<=259&&!u.allowUnreachableCode&&(Q.flowNode=k),Q.kind){case 247:aa(Q);break;case 246:Ba(Q);break;case 248:Yo(Q);break;case 249:case 250:vo(Q);break;case 245:Qe(Q);break;case 253:case 257:Et(Q);break;case 252:case 251:Xt(Q);break;case 258:Pe(Q);break;case 255:et(Q);break;case 269:gt(Q);break;case 296:ii(Q);break;case 244:me(Q);break;case 256:_i(Q);break;case 224:$i(Q);break;case 225:Yi(Q);break;case 226:if(u5(Q)){Ce=Me,on(Q);return}fe(Q);break;case 220:te(Q);break;case 227:we(Q);break;case 260:Oe(Q);break;case 211:case 212:Er(Q);break;case 213:er(Q);break;case 235:Iu(Q);break;case 353:case 345:case 347:ct(Q);break;case 312:{Gt(Q.statements),vt(Q.endOfFileToken);break}case 241:case 268:Gt(Q.statements);break;case 208:X(Q);break;case 169:it(Q);break;case 210:case 209:case 303:case 230:Ce=Me;default:Ie(Q);break}hi(Q),Ce=Me}function St(Q){switch(Q.kind){case 80:case 81:case 110:case 211:case 212:return ti(Q);case 213:return ht(Q);case 217:case 235:return St(Q.expression);case 226:return Ni(Q);case 224:return Q.operator===54&&St(Q.operand);case 221:return St(Q.expression)}return!1}function It(Q){return mP(Q)||(zu(Q)||I7(Q)||vf(Q))&&It(Q.expression)||eu(Q)&&Q.operatorToken.kind===28&&It(Q.right)||G0(Q)&&(Nm(Q.argumentExpression)||Xl(Q.argumentExpression))&&It(Q.expression)||od(Q)&&It(Q.left)}function ti(Q){return It(Q)||Z1(Q)&&ti(Q.expression)}function ht(Q){if(Q.arguments){for(const Me of Q.arguments)if(ti(Me))return!0}return!!(Q.expression.kind===211&&ti(Q.expression.expression))}function Ut(Q,Me){return kB(Q)&&Vi(Q.expression)&&t0(Me)}function Ni(Q){switch(Q.operatorToken.kind){case 64:case 76:case 77:case 78:return ti(Q.left);case 35:case 36:case 37:case 38:return Vi(Q.left)||Vi(Q.right)||Ut(Q.right,Q.left)||Ut(Q.left,Q.right)||VN(Q.right)&&St(Q.left)||VN(Q.left)&&St(Q.right);case 104:return Vi(Q.left);case 103:return St(Q.right);case 28:return St(Q.right)}return!1}function Vi(Q){switch(Q.kind){case 217:return Vi(Q.expression);case 226:switch(Q.operatorToken.kind){case 64:return Vi(Q.left);case 28:return Vi(Q.right)}}return ti(Q)}function xn(){return U7({flags:4,antecedents:void 0})}function $n(){return U7({flags:8,antecedents:void 0})}function rn(Q,Me,wt){return U7({flags:1024,target:Q,antecedents:Me,antecedent:wt})}function Pi(Q){Q.flags|=Q.flags&2048?4096:2048}function ki(Q,Me){!(Me.flags&1)&&!Ft(Q.antecedents,Me)&&((Q.antecedents||(Q.antecedents=[])).push(Me),Pi(Me))}function Yu(Q,Me,wt){return Me.flags&1?Me:wt?(wt.kind===112&&Q&64||wt.kind===97&&Q&32)&&!TU(wt)&&!Hse(wt.parent)?Ne:St(wt)?(Pi(Me),U7({flags:Q,antecedent:Me,node:wt})):Me:Q&32?Me:Ne}function oa(Q,Me,wt,bi){return Pi(Q),U7({flags:128,antecedent:Q,switchStatement:Me,clauseStart:wt,clauseEnd:bi})}function Fr(Q,Me,wt){Pi(Me);const bi=U7({flags:Q,antecedent:Me,node:wt});return K&&ki(K,bi),bi}function Sa(Q,Me){return Pi(Q),U7({flags:512,antecedent:Q,node:Me})}function bt(Q){const Me=Q.antecedents;return Me?Me.length===1?Me[0]:Q:Ne}function On(Q){const Me=Q.parent;switch(Me.kind){case 245:case 247:case 246:return Me.expression===Q;case 248:case 227:return Me.condition===Q}return!1}function Ln(Q){for(;;)if(Q.kind===217)Q=Q.expression;else if(Q.kind===224&&Q.operator===54)Q=Q.operand;else return Kj(Q)}function Fi(Q){return ale(s0(Q))}function Dn(Q){for(;vf(Q.parent)||Pv(Q.parent)&&Q.parent.operator===54;)Q=Q.parent;return!On(Q)&&!Ln(Q.parent)&&!(Z1(Q.parent)&&Q.parent.expression===Q)}function Cn(Q,Me,wt,bi){const In=j,ir=J;j=wt,J=bi,Q(Me),j=In,J=ir}function tu(Q,Me,wt){Cn(vt,Q,Me,wt),(!Q||!Fi(Q)&&!Ln(Q)&&!(Z1(Q)&&IN(Q)))&&(ki(Me,Yu(32,k,Q)),ki(wt,Yu(64,k,Q)))}function sa(Q,Me,wt){const bi=T,In=M;T=Me,M=wt,vt(Q),T=bi,M=In}function Da(Q,Me){let wt=oe;for(;wt&&Q.parent.kind===256;)wt.continueTarget=Me,wt=wt.next,Q=Q.parent;return Me}function aa(Q){const Me=Da(Q,$n()),wt=xn(),bi=xn();ki(Me,k),k=Me,tu(Q.expression,wt,bi),k=bt(wt),sa(Q.statement,bi,Me),ki(Me,k),k=bt(bi)}function Ba(Q){const Me=$n(),wt=Da(Q,xn()),bi=xn();ki(Me,k),k=Me,sa(Q.statement,bi,wt),ki(wt,k),k=bt(wt),tu(Q.expression,Me,bi),k=bt(bi)}function Yo(Q){const Me=Da(Q,$n()),wt=xn(),bi=xn();vt(Q.initializer),ki(Me,k),k=Me,tu(Q.condition,wt,bi),k=bt(wt),sa(Q.statement,bi,Me),vt(Q.incrementor),ki(Me,k),k=bt(bi)}function vo(Q){const Me=Da(Q,$n()),wt=xn();vt(Q.expression),ki(Me,k),k=Me,Q.kind===250&&vt(Q.awaitModifier),ki(wt,k),vt(Q.initializer),Q.initializer.kind!==261&&jt(Q.initializer),sa(Q.statement,wt,Me),ki(Me,k),k=bt(wt)}function Qe(Q){const Me=xn(),wt=xn(),bi=xn();tu(Q.expression,Me,wt),k=bt(Me),vt(Q.thenStatement),ki(bi,k),k=bt(wt),vt(Q.elseStatement),ki(bi,k),k=bt(bi)}function Et(Q){vt(Q.expression),Q.kind===253&&(se=!0,z&&ki(z,k)),k=Ne}function Mt(Q){for(let Me=oe;Me;Me=Me.next)if(Me.name===Q)return Me}function qt(Q,Me,wt){const bi=Q.kind===252?Me:wt;bi&&(ki(bi,k),k=Ne)}function Xt(Q){if(vt(Q.label),Q.label){const Me=Mt(Q.label.escapedText);Me&&(Me.referenced=!0,qt(Q,Me.breakTarget,Me.continueTarget))}else qt(Q,T,M)}function Pe(Q){const Me=z,wt=K,bi=xn(),In=xn();let ir=xn();if(Q.finallyBlock&&(z=In),ki(ir,k),K=ir,vt(Q.tryBlock),ki(bi,k),Q.catchClause&&(k=bt(ir),ir=xn(),ki(ir,k),K=ir,vt(Q.catchClause),ki(bi,k)),z=Me,K=wt,Q.finallyBlock){const nr=xn();nr.antecedents=an(an(bi.antecedents,ir.antecedents),In.antecedents),k=nr,vt(Q.finallyBlock),k.flags&1?k=Ne:(z&&In.antecedents&&ki(z,rn(nr,In.antecedents,k)),K&&ir.antecedents&&ki(K,rn(nr,ir.antecedents,k)),k=bi.antecedents?rn(nr,bi.antecedents,k):Ne)}else k=bt(bi)}function et(Q){const Me=xn();vt(Q.expression);const wt=T,bi=Y;T=Me,Y=k,vt(Q.caseBlock),ki(Me,k);const In=L(Q.caseBlock.clauses,ir=>ir.kind===297);Q.possiblyExhaustive=!In&&!Me.antecedents,In||ki(Me,oa(Y,Q,0,0)),T=wt,Y=bi,k=bt(Me)}function gt(Q){const Me=Q.clauses,wt=Q.parent.expression.kind===112||St(Q.parent.expression);let bi=Ne;for(let In=0;InGc(wt)||ec(wt))}function as(Q){Q.flags&33554432&&!Rr(Q)?Q.flags|=128:Q.flags&=-129}function Bo(Q){if(as(Q),L1(Q))if(Qu(Q,32)&&q0(Q,F.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),m0e(Q))Fn(Q);else{let Me;if(Q.name.kind===11){const{text:bi}=Q.name;Me=dB(bi),Me===void 0&&q0(Q.name,F.Pattern_0_can_have_at_most_one_Asterisk_character,bi)}const wt=Wu(Q,512,110735);t.patternAmbientModules=Ei(t.patternAmbientModules,Me&&!Wa(Me)?{pattern:Me,symbol:wt}:void 0)}else{const Me=Fn(Q);if(Me!==0){const{symbol:wt}=Q;wt.constEnumOnlyModule=!(wt.flags&304)&&Me===2&&wt.constEnumOnlyModule!==!1}}}function Fn(Q){const Me=aD(Q),wt=Me!==0;return Wu(Q,wt?512:1024,wt?110735:0),Me}function xc(Q){const Me=Ae(131072,He(Q));De(Me,Q,131072);const wt=Ae(2048,"__type");De(wt,Q,2048),wt.members=Vo(),wt.members.set(Me.escapedName,Me)}function Ua(Q){return wl(Q,4096,"__object")}function l0(Q){return wl(Q,4096,"__jsxAttributes")}function $l(Q,Me,wt){return Wu(Q,Me,wt)}function wl(Q,Me,wt){const bi=Ae(Me,wt);return Me&106508&&(bi.parent=f.symbol),De(bi,Q,Me),bi}function cd(Q,Me,wt){switch(E.kind){case 267:Ze(Q,Me,wt);break;case 312:if(lm(f)){Ze(Q,Me,wt);break}default:H.assertNode(E,$E),E.locals||(E.locals=Vo(),da(E)),ft(E.locals,void 0,Q,Me,wt)}}function vl(){if(!b)return;const Q=f,Me=v,wt=E,bi=d,In=k;for(const ir of b){const nr=ir.parent.parent;f=v0e(nr)||t,E=ZE(nr)||t,k=U7({flags:2}),d=ir,vt(ir.typeExpression);const fa=$a(ir);if((wV(ir)||!ir.fullName)&&fa&&Gj(fa.parent)){const os=Ul(fa.parent);if(os){Tl(t.symbol,fa.parent,os,!!Tn(fa,Rl=>zu(Rl)&&Rl.name.escapedText==="prototype"),!1);const ss=f;switch(Cj(fa.parent)){case 1:case 2:lm(t)?f=t:f=void 0;break;case 4:f=fa.parent.expression;break;case 3:f=fa.parent.expression.name;break;case 5:f=J2(t,fa.parent.expression)?t:zu(fa.parent.expression)?fa.parent.expression.name:fa.parent.expression;break;case 0:return H.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}f&&Ze(ir,524288,788968),f=ss}}else wV(ir)||!ir.fullName||ir.fullName.kind===80?(d=ir.parent,cd(ir,524288,788968)):vt(ir.fullName)}f=Q,v=Me,E=wt,d=bi,k=In}function oo(Q){if(!t.parseDiagnostics.length&&!(Q.flags&33554432)&&!(Q.flags&16777216)&&!cye(Q)){const Me=Ev(Q);if(Me===void 0)return;ae&&Me>=119&&Me<=127?t.bindDiagnostics.push(xe(Q,Ho(Q),C0(Q))):Me===135?Bc(t)&&lq(Q)?t.bindDiagnostics.push(xe(Q,F.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,C0(Q))):Q.flags&65536&&t.bindDiagnostics.push(xe(Q,F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,C0(Q))):Me===127&&Q.flags&16384&&t.bindDiagnostics.push(xe(Q,F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,C0(Q)))}}function Ho(Q){return Zd(Q)?F.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:t.externalModuleIndicator?F.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:F.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function td(Q){Q.escapedText==="#constructor"&&(t.parseDiagnostics.length||t.bindDiagnostics.push(xe(Q,F.constructor_is_a_reserved_word,C0(Q))))}function U0(Q){ae&&_f(Q.left)&&n5(Q.operatorToken.kind)&&Tc(Q,Q.left)}function Ko(Q){ae&&Q.variableDeclaration&&Tc(Q,Q.variableDeclaration.name)}function wc(Q){if(ae&&Q.expression.kind===80){const Me=D2(t,Q.expression);t.bindDiagnostics.push(zd(t,Me.start,Me.length,F.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Kp(Q){return at(Q)&&(Q.escapedText==="eval"||Q.escapedText==="arguments")}function Tc(Q,Me){if(Me&&Me.kind===80){const wt=Me;if(Kp(wt)){const bi=D2(t,Me);t.bindDiagnostics.push(zd(t,bi.start,bi.length,Il(Q),fu(wt)))}}}function Il(Q){return Zd(Q)?F.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:t.externalModuleIndicator?F.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:F.Invalid_use_of_0_in_strict_mode}function cl(Q){ae&&Tc(Q,Q.name)}function Va(Q){return Zd(Q)?F.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:t.externalModuleIndicator?F.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:F.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function Oi(Q){if(s<2&&E.kind!==312&&E.kind!==267&&!w8(E)){const Me=D2(t,Q);t.bindDiagnostics.push(zd(t,Me.start,Me.length,Va(Q)))}}function dl(Q){ae&&Tc(Q,Q.operand)}function Uc(Q){ae&&(Q.operator===46||Q.operator===47)&&Tc(Q,Q.operand)}function vh(Q){ae&&q0(Q,F.with_statements_are_not_allowed_in_strict_mode)}function of(Q){ae&&Rs(u)>=2&&(fbe(Q.statement)||Gl(Q.statement))&&q0(Q.label,F.A_label_is_not_allowed_here)}function q0(Q,Me,...wt){const bi=YE(t,Q.pos);t.bindDiagnostics.push(zd(t,bi.start,bi.length,Me,...wt))}function vc(Q,Me,wt){$(Q,Me,Me,wt)}function $(Q,Me,wt,bi){tt(Q,{pos:Qy(Me,t),end:wt.end},bi)}function tt(Q,Me,wt){const bi=zd(t,Me.pos,Me.end-Me.pos,wt);Q?t.bindDiagnostics.push(bi):t.bindSuggestionDiagnostics=Ei(t.bindSuggestionDiagnostics,{...bi,category:2})}function vt(Q){if(!Q)return;ys(Q,d),Jn&&(Q.tracingPath=t.path);const Me=ae;if(uu(Q),Q.kind>165){const wt=d;d=Q;const bi=Tde(Q);bi===0?lt(Q):Ke(Q,bi),d=wt}else{const wt=d;Q.kind===1&&(d=Q),hi(Q),d=wt}ae=Me}function hi(Q){if(sm(Q))if(Xn(Q))for(const Me of Q.jsDoc)vt(Me);else for(const Me of Q.jsDoc)ys(Me,Q),jx(Me,!1)}function fn(Q){if(!ae)for(const Me of Q){if(!Lp(Me))return;if(Gu(Me)){ae=!0;return}}}function Gu(Q){const Me=E2(t,Q.expression);return Me==='"use strict"'||Me==="'use strict'"}function uu(Q){switch(Q.kind){case 80:if(Q.flags&4096){let nr=Q.parent;for(;nr&&!K4(nr);)nr=nr.parent;cd(nr,524288,788968);break}case 110:return k&&(Wt(Q)||d.kind===304)&&(Q.flowNode=k),oo(Q);case 166:k&&mq(Q)&&(Q.flowNode=k);break;case 236:case 108:Q.flowNode=k;break;case 81:return td(Q);case 211:case 212:const Me=Q;k&&It(Me)&&(Me.flowNode=k),nye(Me)&&Mn(Me),Xn(Me)&&t.commonJsModuleIndicator&&Z_(Me)&&!WY(E,"module")&&ft(t.locals,void 0,Me.expression,134217729,111550);break;case 226:switch(Ql(Q)){case 1:Ih(Q);break;case 2:nh(Q);break;case 3:wo(Q.left,Q);break;case 6:ba(Q);break;case 4:_1(Q);break;case 5:const nr=Q.left.expression;if(Xn(Q)&&at(nr)){const fa=WY(E,nr.escapedText);if(cq(fa==null?void 0:fa.valueDeclaration)){_1(Q);break}}hc(Q);break;case 0:break;default:H.fail("Unknown binary expression special property assignment kind")}return U0(Q);case 299:return Ko(Q);case 220:return wc(Q);case 225:return dl(Q);case 224:return Uc(Q);case 254:return vh(Q);case 256:return of(Q);case 197:B=!0;return;case 182:break;case 168:return Bt(Q);case 169:return c3(Q);case 260:return I1(Q);case 208:return Q.flowNode=k,I1(Q);case 172:case 171:return wu(Q);case 303:case 304:return Oh(Q,4,0);case 306:return Oh(Q,8,900095);case 179:case 180:case 181:return Wu(Q,131072,0);case 174:case 173:return Oh(Q,8192|(Q.questionToken?16777216:0),Np(Q)?0:103359);case 262:return Kf(Q);case 176:return Wu(Q,16384,0);case 177:return Oh(Q,32768,46015);case 178:return Oh(Q,65536,78783);case 184:case 324:case 330:case 185:return xc(Q);case 187:case 329:case 200:return Mr(Q);case 339:return Qt(Q);case 210:return Ua(Q);case 218:case 219:return f4(Q);case 213:switch(Ql(Q)){case 7:return ic(Q);case 8:return Sd(Q);case 9:return ko(Q);case 0:break;default:return H.fail("Unknown call expression assignment declaration kind")}Xn(Q)&&l3(Q);break;case 231:case 263:return ae=!0,l_(Q);case 264:return cd(Q,64,788872);case 265:return cd(Q,524288,788968);case 266:return v5(Q);case 267:return Bo(Q);case 292:return l0(Q);case 291:return $l(Q,4,0);case 271:case 274:case 276:case 281:return Wu(Q,2097152,2097152);case 270:return id(Q);case 273:return nd(Q);case 278:return S0(Q);case 277:return tc(Q);case 312:return fn(Q.statements),ju();case 241:if(!w8(Q.parent))return;case 268:return fn(Q.statements);case 348:if(Q.parent.kind===330)return c3(Q);if(Q.parent.kind!==329)break;case 355:const In=Q,ir=In.isBracketed||In.typeExpression&&In.typeExpression.type.kind===323?16777220:4;return Wu(In,ir,0);case 353:case 345:case 347:return(b||(b=[])).push(Q);case 346:return vt(Q.typeExpression)}}function wu(Q){const Me=Xh(Q),wt=Me?98304:4,bi=Me?13247:0;return Oh(Q,wt|(Q.questionToken?16777216:0),bi)}function Mr(Q){return wl(Q,2048,"__type")}function ju(){if(as(t),Bc(t))As();else if(H4(t)){As();const Q=t.symbol;ft(t.symbol.exports,t.symbol,t,4,67108863),t.symbol=Q}}function As(){wl(t,512,`"${Eh(t.fileName)}"`)}function tc(Q){if(!f.symbol||!f.symbol.exports)wl(Q,111551,He(Q));else{const Me=X8(Q)?2097152:4,wt=ft(f.symbol.exports,f.symbol,Q,Me,67108863);Q.isExportEquals&&yj(wt,Q)}}function id(Q){Ge(Q.modifiers)&&t.bindDiagnostics.push(xe(Q,F.Modifiers_cannot_appear_here));const Me=ca(Q.parent)?Bc(Q.parent)?Q.parent.isDeclarationFile?void 0:F.Global_module_exports_may_only_appear_in_declaration_files:F.Global_module_exports_may_only_appear_in_module_files:F.Global_module_exports_may_only_appear_at_top_level;Me?t.bindDiagnostics.push(xe(Q,Me)):(t.symbol.globalExports=t.symbol.globalExports||Vo(),ft(t.symbol.globalExports,t.symbol,Q,2097152,2097152))}function S0(Q){!f.symbol||!f.symbol.exports?wl(Q,8388608,He(Q)):Q.exportClause?n_(Q.exportClause)&&(ys(Q.exportClause,Q),ft(f.symbol.exports,f.symbol,Q.exportClause,2097152,2097152)):ft(f.symbol.exports,f.symbol,Q,8388608,0)}function nd(Q){Q.name&&Wu(Q,2097152,2097152)}function f0(Q){return t.externalModuleIndicator&&t.externalModuleIndicator!==!0?!1:(t.commonJsModuleIndicator||(t.commonJsModuleIndicator=Q,t.externalModuleIndicator||As()),!0)}function Sd(Q){if(!f0(Q))return;const Me=h4(Q.arguments[0],void 0,(wt,bi)=>(bi&&De(bi,wt,67110400),bi));Me&&ft(Me.exports,Me,Q,1048580,0)}function Ih(Q){if(!f0(Q))return;const Me=h4(Q.left.expression,void 0,(wt,bi)=>(bi&&De(bi,wt,67110400),bi));if(Me){const bi=Lj(Q.right)&&(ik(Q.left.expression)||Z_(Q.left.expression))?2097152:1048580;ys(Q.left,Q),ft(Me.exports,Me,Q.left,bi,0)}}function nh(Q){if(!f0(Q))return;const Me=Dj(Q.right);if(cle(Me)||f===t&&J2(t,Me))return;if(bs(Me)&&ye(Me.properties,mm)){L(Me.properties,d4);return}const wt=X8(Q)?2097152:1049092,bi=ft(t.symbol.exports,t.symbol,Q,wt|67108864,0);yj(bi,Q)}function d4(Q){ft(t.symbol.exports,t.symbol,Q,69206016,0)}function _1(Q){if(H.assert(Xn(Q)),eu(Q)&&zu(Q.left)&&ea(Q.left.name)||zu(Q)&&ea(Q.name))return;const wt=ef(Q,!1,!1);switch(wt.kind){case 262:case 218:let bi=wt.symbol;if(eu(wt.parent)&&wt.parent.operatorToken.kind===64){const nr=wt.parent.left;y2(nr)&&Rx(nr.expression)&&(bi=Rh(nr.expression.expression,p))}bi&&bi.valueDeclaration&&(bi.members=bi.members||Vo(),zx(Q)?Ve(Q,bi,bi.members):ft(bi.members,bi,Q,67108868,0),De(bi,bi.valueDeclaration,32));break;case 176:case 172:case 174:case 177:case 178:case 175:const In=wt.parent,ir=Lo(wt)?In.symbol.exports:In.symbol.members;zx(Q)?Ve(Q,In.symbol,ir):ft(ir,In.symbol,Q,67108868,0,!0);break;case 312:if(zx(Q))break;wt.commonJsModuleIndicator?ft(wt.symbol.exports,wt.symbol,Q,1048580,0):Wu(Q,1,111550);break;case 267:break;default:H.failBadSyntaxKind(wt)}}function Ve(Q,Me,wt){ft(wt,Me,Q,4,0,!0,!0),si(Q,Me)}function si(Q,Me){Me&&(Me.assignmentDeclarationMembers||(Me.assignmentDeclarationMembers=new Map)).set($s(Q),Q)}function Mn(Q){Q.expression.kind===110?_1(Q):y2(Q)&&Q.parent.parent.kind===312&&(Rx(Q.expression)?wo(Q,Q.parent):Cl(Q))}function ba(Q){ys(Q.left,Q),ys(Q.right,Q),Lc(Q.left.expression,Q.left,!1,!0)}function ko(Q){const Me=Rh(Q.arguments[0].expression);Me&&Me.valueDeclaration&&De(Me,Me.valueDeclaration,32),Cc(Q,Me,!0)}function wo(Q,Me){const wt=Q.expression,bi=wt.expression;ys(bi,wt),ys(wt,Q),ys(Q,Me),Lc(bi,Q,!0,!0)}function ic(Q){let Me=Rh(Q.arguments[0]);const wt=Q.parent.parent.kind===312;Me=Tl(Me,Q.arguments[0],wt,!1,!1),Cc(Q,Me,!1)}function hc(Q){var Me;const wt=Rh(Q.left.expression,f)||Rh(Q.left.expression,E);if(!Xn(Q)&&!uye(wt))return;const bi=vP(Q.left);if(!(at(bi)&&((Me=WY(f,bi.escapedText))==null?void 0:Me.flags)&2097152))if(ys(Q.left,Q),ys(Q.right,Q),at(Q.left.expression)&&f===t&&J2(t,Q.left.expression))Ih(Q);else if(zx(Q)){wl(Q,67108868,"__computed");const In=Tl(wt,Q.left.expression,Ul(Q.left),!1,!1);si(Q,In)}else Cl(No(Q.left,uk))}function Cl(Q){H.assert(!at(Q)),ys(Q.expression,Q),Lc(Q.expression,Q,!1,!1)}function Tl(Q,Me,wt,bi,In){return(Q==null?void 0:Q.flags)&2097152||(wt&&!bi&&(Q=h4(Me,Q,(fa,os,ss)=>{if(os)return De(os,fa,67110400),os;{const Rl=ss?ss.exports:t.jsGlobalAugmentations||(t.jsGlobalAugmentations=Vo());return ft(Rl,ss,fa,67110400,110735)}})),In&&Q&&Q.valueDeclaration&&De(Q,Q.valueDeclaration,32)),Q}function Cc(Q,Me,wt){if(!Me||!ep(Me))return;const bi=wt?Me.members||(Me.members=Vo()):Me.exports||(Me.exports=Vo());let In=0,ir=0;W0(o7(Q))?(In=8192,ir=103359):Po(Q)&&nk(Q)&&(Ge(Q.arguments[2].properties,nr=>{const fa=$a(nr);return!!fa&&at(fa)&&fu(fa)==="set"})&&(In|=65540,ir|=78783),Ge(Q.arguments[2].properties,nr=>{const fa=$a(nr);return!!fa&&at(fa)&&fu(fa)==="get"})&&(In|=32772,ir|=46015)),In===0&&(In=4,ir=0),ft(bi,Me,Q,In|67108864,ir&-67108865)}function Ul(Q){return eu(Q.parent)?Gm(Q.parent).parent.kind===312:Q.parent.parent.kind===312}function Lc(Q,Me,wt,bi){let In=Rh(Q,f)||Rh(Q,E);const ir=Ul(Me);In=Tl(In,Me.expression,ir,wt,bi),Cc(Me,In,wt)}function ep(Q){if(Q.flags&1072)return!0;const Me=Q.valueDeclaration;if(Me&&Po(Me))return!!o7(Me);let wt=Me?ra(Me)?Me.initializer:eu(Me)?Me.right:zu(Me)&&eu(Me.parent)?Me.parent.right:void 0:void 0;if(wt=wt&&Dj(wt),wt){const bi=Rx(ra(Me)?Me.name:eu(Me)?Me.left:Me);return!!Cv(eu(wt)&&(wt.operatorToken.kind===57||wt.operatorToken.kind===61)?wt.right:wt,bi)}return!1}function Gm(Q){for(;eu(Q.parent);)Q=Q.parent;return Q.parent}function Rh(Q,Me=f){if(at(Q))return WY(Me,Q.escapedText);{const wt=Rh(Q.expression);return wt&&wt.exports&&wt.exports.get(Y3(Q))}}function h4(Q,Me,wt){if(J2(t,Q))return t.symbol;if(at(Q))return wt(Q,Rh(Q),Me);{const bi=h4(Q.expression,Me,wt),In=vj(Q);return ea(In)&&H.fail("unexpected PrivateIdentifier"),wt(In,bi&&bi.exports&&bi.exports.get(Y3(Q)),bi)}}function l3(Q){!t.commonJsModuleIndicator&&Df(Q,!1)&&f0(Q)}function l_(Q){if(Q.kind===263)cd(Q,32,899503);else{const In=Q.name?Q.name.escapedText:"__class";wl(Q,32,In),Q.name&&Se.add(Q.name.escapedText)}const{symbol:Me}=Q,wt=Ae(4194308,"prototype"),bi=Me.exports.get(wt.escapedName);bi&&(Q.name&&ys(Q.name,Q),t.bindDiagnostics.push(xe(bi.declarations[0],F.Duplicate_identifier_0,sc(wt)))),Me.exports.set(wt.escapedName,wt),wt.parent=Me}function v5(Q){return x2(Q)?cd(Q,128,899967):cd(Q,256,899327)}function I1(Q){if(ae&&Tc(Q,Q.name),!Ao(Q.name)){const Me=Q.kind===260?Q:Q.parent.parent;Xn(Q)&&Zq(u)&&b2(Me)&&!_v(Q)&&!(d2(Q)&32)?Wu(Q,2097152,2097152):d0e(Q)?cd(Q,2,111551):A2(Q)?Wu(Q,1,111551):Wu(Q,1,111550)}}function c3(Q){if(!(Q.kind===348&&f.kind!==330)&&(ae&&!(Q.flags&33554432)&&Tc(Q,Q.name),Ao(Q.name)?wl(Q,1,"__"+Q.parent.parameters.indexOf(Q)):Wu(Q,1,111551),Pf(Q,Q.parent))){const Me=Q.parent.parent;ft(Me.symbol.members,Me.symbol,Q,4|(Q.questionToken?16777216:0),0)}}function Kf(Q){!t.isDeclarationFile&&!(Q.flags&33554432)&&rP(Q)&&(ge|=4096),cl(Q),ae?(Oi(Q),cd(Q,16,110991)):Wu(Q,16,110991)}function f4(Q){!t.isDeclarationFile&&!(Q.flags&33554432)&&rP(Q)&&(ge|=4096),k&&(Q.flowNode=k),cl(Q);const Me=Q.name?Q.name.escapedText:"__function";return wl(Q,16,Me)}function Oh(Q,Me,wt){return!t.isDeclarationFile&&!(Q.flags&33554432)&&rP(Q)&&(ge|=4096),k&&rq(Q)&&(Q.flowNode=k),zx(Q)?wl(Q,Me,"__computed"):Wu(Q,Me,wt)}function Ee(Q){const Me=Tn(Q,wt=>wt.parent&&yB(wt.parent)&&wt.parent.extendsType===wt);return Me&&Me.parent}function Bt(Q){if(gg(Q.parent)){const Me=bq(Q.parent);Me?(H.assertNode(Me,$E),Me.locals??(Me.locals=Vo()),ft(Me.locals,void 0,Q,262144,526824)):Wu(Q,262144,526824)}else if(Q.parent.kind===195){const Me=Ee(Q.parent);Me?(H.assertNode(Me,$E),Me.locals??(Me.locals=Vo()),ft(Me.locals,void 0,Q,262144,526824)):wl(Q,262144,He(Q))}else Wu(Q,262144,526824)}function gi(Q){const Me=aD(Q);return Me===1||Me===2&&dk(u)}function xi(Q){if(!(k.flags&1))return!1;if(k===Ne&&(YO(Q)&&Q.kind!==242||Q.kind===263||Q.kind===267&&gi(Q))&&(k=pe,!u.allowUnreachableCode)){const wt=ike(u)&&!(Q.flags&33554432)&&(!Gl(Q)||!!(YD(Q.declarationList)&7)||Q.declarationList.declarations.some(bi=>!!bi.initializer));cPt(Q,(bi,In)=>$(wt,bi,In,F.Unreachable_code_detected))}return!0}}function cPt(t,u){if(ua(t)&&uet(t)&&ho(t.parent)){const{statements:s}=t.parent,d=Ble(s,t);Tu(d,uet,(f,p)=>u(d[f],d[p-1]))}else u(t,t)}function uet(t){return!Xc(t)&&!dPt(t)&&!Mv(t)&&!(Gl(t)&&!(YD(t)&7)&&t.declarationList.declarations.some(u=>!u.initializer))}function dPt(t){switch(t.kind){case 264:case 265:return!0;case 267:return aD(t)!==1;case 266:return Qu(t,4096);default:return!1}}function J2(t,u){let s=0;const d=W$();for(d.enqueue(u);!d.isEmpty()&&s<100;){if(s++,u=d.dequeue(),ik(u)||Z_(u))return!0;if(at(u)){const f=WY(t,u.escapedText);if(f&&f.valueDeclaration&&ra(f.valueDeclaration)&&f.valueDeclaration.initializer){const p=f.valueDeclaration.initializer;d.enqueue(p),od(p,!0)&&(d.enqueue(p.left),d.enqueue(p.right))}}}return!1}function Tde(t){switch(t.kind){case 231:case 263:case 266:case 210:case 187:case 329:case 292:return 1;case 264:return 65;case 267:case 265:case 200:case 181:return 33;case 312:return 37;case 177:case 178:case 174:if(rq(t))return 173;case 176:case 262:case 173:case 179:case 330:case 324:case 184:case 180:case 185:case 175:return 45;case 218:case 219:return 61;case 268:return 4;case 172:return t.initializer?4:0;case 299:case 248:case 249:case 250:case 269:return 34;case 241:return xo(t.parent)||zl(t.parent)?0:34}return 0}function WY(t,u){var s,d,f,p;const E=(d=(s=rr(t,$E))==null?void 0:s.locals)==null?void 0:d.get(u);if(E)return E.exportSymbol??E;if(ca(t)&&t.jsGlobalAugmentations&&t.jsGlobalAugmentations.has(u))return t.jsGlobalAugmentations.get(u);if(qg(t))return(p=(f=t.symbol)==null?void 0:f.exports)==null?void 0:p.get(u)}var Lde,Nde,ret,hPt=o({"src/compiler/binder.ts"(){So(),Hy(),Lde=(t=>(t[t.NonInstantiated=0]="NonInstantiated",t[t.Instantiated=1]="Instantiated",t[t.ConstEnumOnly=2]="ConstEnumOnly",t))(Lde||{}),Nde=(t=>(t[t.None=0]="None",t[t.IsContainer=1]="IsContainer",t[t.IsBlockScopedContainer=2]="IsBlockScopedContainer",t[t.IsControlFlowContainer=4]="IsControlFlowContainer",t[t.IsFunctionLike=8]="IsFunctionLike",t[t.IsFunctionExpression=16]="IsFunctionExpression",t[t.HasLocals=32]="HasLocals",t[t.IsInterface=64]="IsInterface",t[t.IsObjectLiteralOrClassExpressionMethodOrAccessor=128]="IsObjectLiteralOrClassExpressionMethodOrAccessor",t))(Nde||{}),ret=lPt()}});function AAe(t,u,s,d,f,p,E,v,b,B){return k;function k(T=()=>!0){const M=[],z=[];return{walkType:Se=>{try{return j(Se),{visitedTypes:$1(M),visitedSymbols:$1(z)}}finally{mu(M),mu(z)}},walkSymbol:Se=>{try{return ve(Se),{visitedTypes:$1(M),visitedSymbols:$1(z)}}finally{mu(M),mu(z)}}};function j(Se){if(!(!Se||M[Se.id]||(M[Se.id]=Se,ve(Se.symbol)))){if(Se.flags&524288){const pe=Se,fe=pe.objectFlags;fe&4&&J(Se),fe&32&&ge(Se),fe&3&&Ce(Se),fe&24&&ne(pe)}Se.flags&262144&&K(Se),Se.flags&3145728&&Y(Se),Se.flags&4194304&&oe(Se),Se.flags&8388608&&se(Se)}}function J(Se){j(Se.target),L(B(Se),j)}function K(Se){j(v(Se))}function Y(Se){L(Se.types,j)}function oe(Se){j(Se.type)}function se(Se){j(Se.objectType),j(Se.indexType),j(Se.constraint)}function ge(Se){j(Se.typeParameter),j(Se.constraintType),j(Se.templateType),j(Se.modifiersType)}function ae(Se){const Ne=u(Se);Ne&&j(Ne.type),L(Se.typeParameters,j);for(const pe of Se.parameters)ve(pe);j(t(Se)),j(s(Se))}function Ce(Se){ne(Se),L(Se.typeParameters,j),L(d(Se),j),j(Se.thisType)}function ne(Se){const Ne=f(Se);for(const pe of Ne.indexInfos)j(pe.keyType),j(pe.type);for(const pe of Ne.callSignatures)ae(pe);for(const pe of Ne.constructSignatures)ae(pe);for(const pe of Ne.properties)ve(pe)}function ve(Se){if(!Se)return!1;const Ne=Zo(Se);if(z[Ne])return!1;if(z[Ne]=Se,!T(Se))return!0;const pe=p(Se);return j(pe),Se.exports&&Se.exports.forEach(ve),L(Se.declarations,fe=>{if(fe.type&&fe.type.kind===186){const xe=fe.type,Be=E(b(xe.exprName));ve(Be)}}),!1}}}var fPt=o({"src/compiler/symbolWalker.ts"(){So()}});function Pde({importModuleSpecifierPreference:t,importModuleSpecifierEnding:u},s,d,f){const p=E();return{relativePreference:f!==void 0?Md(f)?0:1:t==="relative"?0:t==="non-relative"?1:t==="project-relative"?3:2,getAllowedEndingsInPreferredOrder:v=>{if((v??d.impliedNodeFormat)===99)return GB(s,d.fileName)?[3,2]:[2];if(m1(s)===1)return p===2?[2,1]:[1,2];const b=GB(s,d.fileName);switch(p){case 2:return b?[2,3,0,1]:[2,0,1];case 3:return[3,0,2,1];case 1:return b?[1,0,3,2]:[1,0,2];case 0:return b?[0,1,3,2]:[0,1,2];default:H.assertNever(p)}}};function E(){if(f!==void 0){if(N2(f))return 2;if(oc(f,"/index"))return 1}return Ale(u,d.impliedNodeFormat,s,d)}}function mPt(t,u,s,d,f,p,E={}){const v=aet(t,u,s,d,f,Pde({},t,u,p),{},E);if(v!==p)return v}function GY(t,u,s,d,f,p={}){return aet(t,u,s,d,f,Pde({},t,u),{},p)}function pPt(t,u,s,d,f,p={}){const E=SAe(u.path,d),v=pet(u.path,s,d,f,p);return G(v,b=>BAe(b,E,u,d,t,f,!0,p.overrideImportMode))}function aet(t,u,s,d,f,p,E,v={}){const b=SAe(s,f),B=pet(s,d,f,E,v);return G(B,k=>BAe(k,b,u,f,t,E,void 0,v.overrideImportMode))||det(d,b,t,f,v.overrideImportMode||u.impliedNodeFormat,p)}function gPt(t,u,s,d,f={}){return oet(t,u,s,d,f)[0]}function oet(t,u,s,d,f={}){var p;const E=$U(t);if(!E)return _t;const v=(p=s.getModuleSpecifierCache)==null?void 0:p.call(s),b=v==null?void 0:v.get(u.path,E.path,d,f);return[b==null?void 0:b.moduleSpecifiers,E,b==null?void 0:b.modulePaths,v]}function set(t,u,s,d,f,p,E={}){return cet(t,u,s,d,f,p,E,!1).moduleSpecifiers}function cet(t,u,s,d,f,p,E={},v){let b=!1;const B=_Pt(t,u);if(B)return{moduleSpecifiers:[B],computedWithoutCache:b};let[k,T,M,z]=oet(t,d,f,p,E);if(k)return{moduleSpecifiers:k,computedWithoutCache:b};if(!T)return{moduleSpecifiers:_t,computedWithoutCache:b};b=!0,M||(M=get(d.path,T.originalFileName,f));const j=EPt(M,s,d,f,p,E,v);return z==null||z.set(d.path,T.path,p,E,M,j),{moduleSpecifiers:j,computedWithoutCache:b}}function EPt(t,u,s,d,f,p={},E){const v=SAe(s.path,d),b=Pde(f,u,s),B=L(t,J=>L(d.getFileIncludeReasons().get(K0(J.path,d.getCurrentDirectory(),v.getCanonicalFileName)),K=>{if(K.kind!==3||K.file!==s.path||s.impliedNodeFormat&&s.impliedNodeFormat!==y1e(s,K.index))return;const Y=AQ(s,K.index).text;return b.relativePreference!==1||!am(Y)?Y:void 0}));if(B)return[B];const k=Ge(t,J=>J.isInNodeModules);let T,M,z,j;for(const J of t){const K=J.isInNodeModules?BAe(J,v,s,d,u,f,void 0,p.overrideImportMode):void 0;if(T=Ei(T,K),K&&J.isRedirect)return T;if(!K){const Y=det(J.path,v,u,d,p.overrideImportMode||s.impliedNodeFormat,b,J.isRedirect);if(!Y)continue;J.isRedirect?z=Ei(z,Y):yse(Y)?M=Ei(M,Y):(E||!k||J.isInNodeModules)&&(j=Ei(j,Y))}}return M!=null&&M.length?M:z!=null&&z.length?z:T!=null&&T.length?T:H.checkDefined(j)}function SAe(t,u){const s=T1(u.useCaseSensitiveFileNames?u.useCaseSensitiveFileNames():!0),d=cr(t);return{getCanonicalFileName:s,importingSourceFileName:t,sourceDirectory:d}}function det(t,u,s,d,f,{getAllowedEndingsInPreferredOrder:p,relativePreference:E},v){const{baseUrl:b,paths:B,rootDirs:k}=s;if(v&&!B)return;const{sourceDirectory:T,getCanonicalFileName:M}=u,z=p(f),j=k&&DPt(k,t,T,M,z,s)||sH(l2(GE(T,t,M)),z,s);if(!b&&!B||E===0)return v?void 0:j;const J=Ga(Lq(s,d)||b,d.getCurrentDirectory()),K=xet(t,J,M);if(!K)return v?void 0:j;const Y=B&&Eet(K,B,z,d,s);if(v)return Y;const oe=Y===void 0&&b!==void 0?sH(K,z,s):Y;if(!oe)return j;if(E===1&&!am(oe))return oe;if(E===3&&!am(oe)){const se=s.configFilePath?K0(cr(s.configFilePath),d.getCurrentDirectory(),u.getCanonicalFileName):u.getCanonicalFileName(d.getCurrentDirectory()),ge=K0(t,se,M),ae=La(T,se),Ce=La(ge,se);if(ae&&!Ce||!ae&&Ce)return oe;const ne=fet(d,cr(ge));return fet(d,T)!==ne?oe:j}return vet(oe)||JY(j)t.fileExists(dr(s,"package.json"))?!0:void 0)}function met(t,u,s,d,f){var p;const E=i5(s),v=s.getCurrentDirectory(),b=s.isSourceOfProjectReferenceRedirect(u)?s.getProjectReferenceRedirect(u):void 0,B=K0(u,v,E),k=s.redirectTargetsMap.get(B)||_t,M=[...b?[b]:_t,u,...k].map(Y=>Ga(Y,v));let z=!ye(M,wP);if(!d){const Y=L(M,oe=>!(z&&wP(oe))&&f(oe,b===oe));if(Y)return Y}const j=(p=s.getSymlinkCache)==null?void 0:p.call(s).getSymlinkedDirectoriesByRealpath(),J=Ga(u,v);return j&&$g(cr(J),Y=>{const oe=j.get(Pd(K0(Y,v,E)));if(oe)return Fse(t,Y,E)?!1:L(M,se=>{if(!Fse(se,Y,E))return;const ge=GE(Y,se,E);for(const ae of oe){const Ce=yx(ae,ge),ne=f(Ce,se===b);if(z=!0,ne)return ne}})})||(d?L(M,Y=>z&&wP(Y)?void 0:f(Y,Y===b)):void 0)}function pet(t,u,s,d,f={}){var p;const E=K0(u,s.getCurrentDirectory(),i5(s)),v=(p=s.getModuleSpecifierCache)==null?void 0:p.call(s);if(v){const B=v.get(t,E,d,f);if(B!=null&&B.modulePaths)return B.modulePaths}const b=get(t,u,s);return v&&v.setModulePaths(t,E,d,f,b),b}function get(t,u,s){const d=i5(s),f=new Map;met(t,u,s,!0,(E,v)=>{const b=$7(E);f.set(E,{path:d(E),isRedirect:v,isInNodeModules:b})});const p=[];for(let E=cr(t);f.size!==0;){const v=Pd(E);let b;f.forEach(({path:k,isRedirect:T,isInNodeModules:M},z)=>{La(k,v)&&((b||(b=[])).push({path:z,isRedirect:T,isInNodeModules:M}),f.delete(z))}),b&&(b.length>1&&b.sort(het),p.push(...b));const B=cr(E);if(B===E)break;E=B}if(f.size){const E=ga(f.values());E.length>1&&E.sort(het),p.push(...E)}return p}function _Pt(t,u){var s;const d=(s=t.declarations)==null?void 0:s.find(E=>f0e(E)&&(!_2(E)||!Md(W4(E.name))));if(d)return d.name.text;const p=Si(t.declarations,E=>{var v,b,B,k;if(!Ec(E))return;const T=J(E);if(!((v=T==null?void 0:T.parent)!=null&&v.parent&&uE(T.parent)&&L1(T.parent.parent)&&ca(T.parent.parent.parent)))return;const M=(k=(B=(b=T.parent.parent.symbol.exports)==null?void 0:b.get("export="))==null?void 0:B.valueDeclaration)==null?void 0:k.expression;if(!M)return;const z=u.getSymbolAtLocation(M);if(!z)return;if(((z==null?void 0:z.flags)&2097152?u.getAliasedSymbol(z):z)===E.symbol)return T.parent.parent;function J(K){for(;K.flags&8;)K=K.parent;return K}})[0];if(p)return p.name.text}function Eet(t,u,s,d,f){for(const E in u)for(const v of u[E]){const b=Jo(v),B=b.indexOf("*"),k=s.map(T=>({ending:T,value:sH(t,[T],f)}));if(e3(b)&&k.push({ending:void 0,value:t}),B!==-1){const T=b.substring(0,B),M=b.substring(B+1);for(const{ending:z,value:j}of k)if(j.length>=T.length+M.length&&La(j,T)&&oc(j,M)&&p({ending:z,value:j})){const J=j.substring(T.length,j.length-M.length);if(!am(J))return E.replace("*",J)}}else if(Ge(k,T=>T.ending!==0&&b===T.value)||Ge(k,T=>T.ending===0&&b===T.value&&p(T)))return E}function p({ending:E,value:v}){return E!==0||v===sH(t,[E],f,d)}}function Mde(t,u,s,d,f,p,E=0){if(typeof f=="string"){const v=Ga(dr(s,f),void 0),b=hk(u)?Eh(u)+zde(u,t):void 0;switch(E){case 0:if(fv(u,v)===0||b&&fv(b,v)===0)return{moduleFileToTry:d};break;case 1:if(WE(v,u)){const M=GE(v,u,!1);return{moduleFileToTry:Ga(dr(dr(d,f),M),void 0)}}break;case 2:const B=v.indexOf("*"),k=v.slice(0,B),T=v.slice(B+1);if(La(u,k)&&oc(u,T)){const M=u.slice(k.length,u.length-T.length);return{moduleFileToTry:d.replace("*",M)}}if(b&&La(b,k)&&oc(b,T)){const M=b.slice(k.length,b.length-T.length);return{moduleFileToTry:d.replace("*",M)}}break}}else{if(Array.isArray(f))return L(f,v=>Mde(t,u,s,d,v,p));if(typeof f=="object"&&f!==null){if(HY(f))return L(Ls(f),v=>{const b=Ga(dr(d,v),void 0),B=oc(v,"/")?1:v.includes("*")?2:0;return Mde(t,u,s,b,f[v],p,B)});for(const v of Ls(f))if(v==="default"||p.includes(v)||aH(p,v)){const b=f[v],B=Mde(t,u,s,d,b,p,E);if(B)return B}}}}function DPt(t,u,s,d,f,p){const E=_et(u,t,d);if(E===void 0)return;const v=_et(s,t,d),b=Ku(v,k=>Kt(E,T=>l2(GE(k,T,d)))),B=aoe(b,eV);if(B)return sH(B,f,p)}function BAe({path:t,isRedirect:u},{getCanonicalFileName:s,sourceDirectory:d},f,p,E,v,b,B){if(!p.fileExists||!p.readFile)return;const k=dZ(t);if(!k)return;const M=Pde(v,E,f).getAllowedEndingsInPreferredOrder();let z=t,j=!1;if(!b){let ge=k.packageRootIndex,ae;for(;;){const{moduleFileToTry:Ce,packageRootPath:ne,blockedByExports:ve,verbatimFromExports:Se}=se(ge);if(m1(E)!==1){if(ve)return;if(Se)return Ce}if(ne){z=ne,j=!0;break}if(ae||(ae=Ce),ge=t.indexOf(rl,ge+1),ge===-1){z=sH(ae,M,E,p);break}}}if(u&&!j)return;const J=p.getGlobalTypingsCacheLocation&&p.getGlobalTypingsCacheLocation(),K=s(z.substring(0,k.topLevelNodeModulesIndex));if(!(La(d,K)||J&&La(s(J),K)))return;const Y=z.substring(k.topLevelPackageNameIndex+1),oe=dM(Y);return m1(E)===1&&oe===Y?void 0:oe;function se(ge){var ae,Ce;const ne=t.substring(0,ge),ve=dr(ne,"package.json");let Se=t,Ne=!1;const pe=(Ce=(ae=p.getPackageJsonInfoCache)==null?void 0:ae.call(p))==null?void 0:Ce.getPackageJsonInfo(ve);if(typeof pe=="object"||pe===void 0&&p.fileExists(ve)){const fe=(pe==null?void 0:pe.contents.packageJsonContent)||JSON.parse(p.readFile(ve)),xe=B||f.impliedNodeFormat;if(xle(E)){const Ae=ne.substring(k.topLevelPackageNameIndex+1),De=dM(Ae),He=W2(E,xe),Je=fe.exports?Mde(E,t,ne,De,fe.exports,He):void 0;if(Je)return{...hk(Je.moduleFileToTry)?{moduleFileToTry:Eh(Je.moduleFileToTry)+zde(Je.moduleFileToTry,E)}:Je,verbatimFromExports:!0};if(fe.exports)return{moduleFileToTry:t,blockedByExports:!0}}const Be=fe.typesVersions?zY(fe.typesVersions):void 0;if(Be){const Ae=t.slice(ne.length+1),De=Eet(Ae,Be.paths,M,p,E);De===void 0?Ne=!0:Se=dr(ne,De)}const We=fe.typings||fe.types||fe.main||"index.js";if(Wa(We)&&!(Ne&&Sle(rZ(Be.paths),We))){const Ae=K0(We,ne,s),De=s(Se);if(Eh(Ae)===Eh(De))return{packageRootPath:ne,moduleFileToTry:Se};if(fe.type!=="module"&&!jc(De,dV)&&La(De,Ae)&&cr(De)===hv(Ae)&&Eh(Fc(De))==="index")return{packageRootPath:ne,moduleFileToTry:Se}}}else{const fe=s(Se.substring(k.packageRootIndex+1));if(fe==="index.d.ts"||fe==="index.js"||fe==="index.ts"||fe==="index.tsx")return{moduleFileToTry:Se,packageRootPath:ne}}return{moduleFileToTry:Se}}}function xPt(t,u){if(!t.fileExists)return;const s=Oa(yP({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]));for(const d of s){const f=u+d;if(t.fileExists(f))return f}}function _et(t,u,s){return Si(u,d=>{const f=xet(t,d,s);return f!==void 0&&vet(f)?void 0:f})}function sH(t,u,s,d){if(jc(t,[".json",".mjs",".cjs"]))return t;const f=Eh(t);if(t===f)return t;const p=u.indexOf(2),E=u.indexOf(3);if(jc(t,[".mts",".cts"])&&E!==-1&&EB===0||B===1);return b!==-1&&bJY,forEachFileNameOfModule:()=>met,getModuleSpecifier:()=>GY,getModuleSpecifiers:()=>set,getModuleSpecifiersWithCacheInfo:()=>cet,getNodeModulesPackageName:()=>pPt,tryGetJSExtensionForFile:()=>zde,tryGetModuleSpecifiersFromCache:()=>gPt,tryGetRealFileNameForNonJsDeclarationFileName:()=>Det,updateModuleSpecifier:()=>mPt});var TAe=o({"src/compiler/_namespaces/ts.moduleSpecifiers.ts"(){Cet()}});function vPt(){this.flags=0}function $s(t){return t.id||(t.id=PAe,PAe++),t.id}function Zo(t){return t.id||(t.id=NAe,NAe++),t.id}function Ide(t,u){const s=aD(t);return s===1||u&&s===2}function LAe(t){var u=[],s=l=>{u.push(l)},d,f=new Set,p,E,v=Yd.getSymbolConstructor(),b=Yd.getTypeConstructor(),B=Yd.getSignatureConstructor(),k=0,T=0,M=0,z=0,j=0,J=0,K,Y,oe=!1,se=Vo(),ge=[1],ae=t.getCompilerOptions(),Ce=Rs(ae),ne=f1(ae),ve=!!ae.experimentalDecorators,Se=Qj(ae),Ne=uke(ae),pe=x7(ae),fe=U4(ae,"strictNullChecks"),xe=U4(ae,"strictFunctionTypes"),Be=U4(ae,"strictBindCallApply"),We=U4(ae,"strictPropertyInitialization"),Ae=U4(ae,"noImplicitAny"),De=U4(ae,"noImplicitThis"),He=U4(ae,"useUnknownInCatchVariables"),Je=!!ae.keyofStringsOnly,ft=Je?1:0,Ze=ae.suppressExcessPropertyErrors?0:8192,je=ae.exactOptionalPropertyTypes,Ke=jai(),Gt=_li(),Yt=sF(),Ie=Vo(),lt=Vs(4,"undefined");lt.declarations=[];var St=Vs(1536,"globalThis",8);St.exports=Ie,St.declarations=[],Ie.set(St.escapedName,St);var It=Vs(4,"arguments"),ti=Vs(4,"require"),ht=ae.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",Ut=!ae.verbatimModuleSyntax||!!ae.importsNotUsedAsValues,Ni,Vi,xn=0,$n,rn=0;const Pi={getNodeCount:()=>tn(t.getSourceFiles(),(l,m)=>l+m.nodeCount,0),getIdentifierCount:()=>tn(t.getSourceFiles(),(l,m)=>l+m.identifierCount,0),getSymbolCount:()=>tn(t.getSourceFiles(),(l,m)=>l+m.symbolCount,T),getTypeCount:()=>k,getInstantiationCount:()=>M,getRelationCacheSizes:()=>({assignable:Gf.size,identity:gm.size,subtype:d_.size,strictSubtype:m4.size}),isUndefinedSymbol:l=>l===lt,isArgumentsSymbol:l=>l===It,isUnknownSymbol:l=>l===Xt,getMergedSymbol:Hs,getDiagnostics:z4t,getGlobalDiagnostics:P0i,getRecursionIdentity:tEe,getUnmatchedProperties:iMe,getTypeOfSymbolAtLocation:(l,m)=>{const D=Ja(m);return D?Lni(l,D):jt},getTypeOfSymbol:Gn,getSymbolsOfParameterPropertyDeclaration:(l,m)=>{const D=Ja(l,Qa);return D===void 0?H.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(H.assert(Pf(D,D.parent)),Mw(D,Al(m)))},getDeclaredTypeOfSymbol:Z0,getPropertiesOfType:n0,getPropertyOfType:(l,m)=>Uo(l,Al(m)),getPrivateIdentifierPropertyOfType:(l,m,D)=>{const C=Ja(D);if(!C)return;const A=Al(m),w=TEe(A,C);return w?VMe(l,w):void 0},getTypeOfPropertyOfType:(l,m)=>he(l,Al(m)),getIndexInfoOfType:(l,m)=>y3(l,m===0?ct:Qt),getIndexInfosOfType:yh,getIndexInfosOfIndexSymbol:XNe,getSignaturesOfType:fo,getIndexTypeOfType:(l,m)=>CC(l,m===0?ct:Qt),getIndexType:l=>y_(l),getBaseTypes:Zc,getBaseTypeOfLiteralType:yD,getWidenedType:xm,getTypeFromTypeNode:l=>{const m=Ja(l,Xr);return m?Br(m):jt},getParameterType:wg,getParameterIdentifierInfoAtPosition:uai,getPromisedTypeOfPromise:TW,getAwaitedType:l=>TF(l),getReturnTypeOfSignature:Zs,isNullableType:Yte,getNullableType:rEe,getNonNullableType:kD,getNonOptionalType:aEe,getTypeArguments:I0,typeToTypeNode:Yt.typeToTypeNode,indexInfoToIndexSignatureDeclaration:Yt.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:Yt.signatureToSignatureDeclaration,symbolToEntityName:Yt.symbolToEntityName,symbolToExpression:Yt.symbolToExpression,symbolToNode:Yt.symbolToNode,symbolToTypeParameterDeclarations:Yt.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:Yt.symbolToParameterDeclaration,typeParameterToDeclaration:Yt.typeParameterToDeclaration,getSymbolsInScope:(l,m)=>{const D=Ja(l);return D?M0i(D,m):[]},getSymbolAtLocation:l=>{const m=Ja(l);return m?Up(m,!0):void 0},getIndexInfosAtLocation:l=>{const m=Ja(l);return m?K0i(m):void 0},getShorthandAssignmentValueSymbol:l=>{const m=Ja(l);return m?W0i(m):void 0},getExportSpecifierLocalTargetSymbol:l=>{const m=Ja(l,X1);return m?G0i(m):void 0},getExportSymbolOfSymbol(l){return Hs(l.exportSymbol||l)},getTypeAtLocation:l=>{const m=Ja(l);return m?X9(m):jt},getTypeOfAssignmentPattern:l=>{const m=Ja(l,HN);return m&&r_e(m)||jt},getPropertySymbolOfDestructuringAssignment:l=>{const m=Ja(l,at);return m?J0i(m):void 0},signatureToString:(l,m,D,C)=>xE(l,Ja(m),D,C),typeToString:(l,m,D)=>gn(l,Ja(m),D),symbolToString:(l,m,D,C)=>Sr(l,Ja(m),D,C),typePredicateToString:(l,m,D)=>g_(l,Ja(m),D),writeSignature:(l,m,D,C,A)=>xE(l,Ja(m),D,C,A),writeType:(l,m,D,C)=>gn(l,Ja(m),D,C),writeSymbol:(l,m,D,C,A)=>Sr(l,Ja(m),D,C,A),writeTypePredicate:(l,m,D,C)=>g_(l,Ja(m),D,C),getAugmentedPropertiesOfType:Kze,getRootSymbols:W4t,getSymbolOfExpando:OEe,getContextualType:(l,m)=>{const D=Ja(l,Wt);if(D)return m&4?oa(D,()=>df(D,m)):df(D,m)},getContextualTypeForObjectLiteralElement:l=>{const m=Ja(l,q3);return m?AMe(m,void 0):void 0},getContextualTypeForArgumentAtIndex:(l,m)=>{const D=Ja(l,g2);return D&&FMe(D,m)},getContextualTypeForJsxAttribute:l=>{const m=Ja(l,OU);return m&&aft(m,void 0)},isContextSensitive:y4,getTypeOfPropertyOfContextualType:zb,getFullyQualifiedName:rp,getResolvedSignature:(l,m,D)=>Fr(l,m,D,0),getCandidateSignaturesForStringLiteralCompletions:ki,getResolvedSignatureForSignatureHelp:(l,m,D)=>Yu(l,()=>Fr(l,m,D,16)),getExpandedParameters:cdt,hasEffectiveRestParameter:k_,containsArgumentsReference:YNe,getConstantValue:l=>{const m=Ja(l,q4t);return m?Wze(m):void 0},isValidPropertyAccess:(l,m)=>{const D=Ja(l,ube);return!!D&&mri(D,Al(m))},isValidPropertyAccessForCompletions:(l,m,D)=>{const C=Ja(l,zu);return!!C&&zft(C,m,D)},getSignatureFromDeclaration:l=>{const m=Ja(l,xo);return m?lp(m):void 0},isImplementationOfOverload:l=>{const m=Ja(l,xo);return m?$4t(m):void 0},getImmediateAliasedSymbol:LMe,getAliasedSymbol:hd,getEmitResolver:Rd,getExportsOfModule:T5,getExportsAndPropertiesOfModule:lz,forEachExportAndPropertyOfModule:L9,getSymbolWalker:AAe(eei,b4,Zs,Zc,kg,Gn,$p,uh,dm,I0),getAmbientModules:oci,getJsxIntrinsicTagNamesAt:$ui,isOptionalParameter:l=>{const m=Ja(l,Qa);return m?iW(m):!1},tryGetMemberInModuleExports:(l,m)=>N9(Al(l),m),tryGetMemberInModuleExportsAndProperties:(l,m)=>P9(Al(l),m),tryFindAmbientModule:l=>yge(l,!0),tryFindAmbientModuleWithoutAugmentations:l=>yge(l,!1),getApparentType:Kh,getUnionType:tr,isTypeAssignableTo:fs,createAnonymousType:Ol,createSignature:b3,createSymbol:Vs,createIndexInfo:b_,getAnyType:()=>me,getStringType:()=>ct,getStringLiteralType:cf,getNumberType:()=>Qt,getNumberLiteralType:Sg,getBigIntType:()=>Ti,createPromiseType:oie,createArrayType:j1,getElementTypeOfArrayType:HPe,getBooleanType:()=>Er,getFalseType:l=>l?Ui:Sn,getTrueType:l=>l?du:Iu,getVoidType:()=>da,getUndefinedType:()=>te,getNullType:()=>it,getESSymbolType:()=>er,getNeverType:()=>Wu,getOptionalType:()=>X,getPromiseType:()=>Cte(!1),getPromiseLikeType:()=>Ydt(!1),getAsyncIterableType:()=>{const l=Pge(!1);if(l!==Va)return l},isSymbolAccessible:yu,isArrayType:F4,isTupleType:Ds,isArrayLikeType:V5,isEmptyAnonymousObjectType:bD,isTypeInvalidDueToUnionDiscriminant:MXt,getExactOptionalProperties:sii,getAllPossiblePropertiesOfTypes:zXt,getSuggestedSymbolForNonexistentProperty:WMe,getSuggestionForNonexistentProperty:GMe,getSuggestedSymbolForNonexistentJSXAttribute:Pft,getSuggestedSymbolForNonexistentSymbol:(l,m,D)=>JMe(l,Al(m),D),getSuggestionForNonexistentSymbol:(l,m,D)=>cri(l,Al(m),D),getSuggestedSymbolForNonexistentModule:NEe,getSuggestionForNonexistentExport:dri,getSuggestedSymbolForNonexistentClassMember:Nft,getBaseConstraintOfType:Hh,getDefaultFromTypeParameter:l=>l&&l.flags&262144?gF(l):void 0,resolveName(l,m,D,C){return nc(m,Al(l),D,void 0,void 0,!1,C)},getJsxNamespace:l=>Qr(iC(l)),getJsxFragmentFactory:l=>{const m=Jze(l);return m&&Qr(dm(m).escapedText)},getAccessibleSymbolChain:gC,getTypePredicateOfSignature:b4,resolveExternalModuleName:l=>{const m=Ja(l,Wt);return m&&Vh(m,m,!0)},resolveExternalModuleSymbol:Em,tryGetThisTypeAt:(l,m,D)=>{const C=Ja(l);return C&&CMe(C,m,D)},getTypeArgumentConstraint:l=>{const m=Ja(l,Xr);return m&&_oi(m)},getSuggestionDiagnostics:(l,m)=>{const D=Ja(l,ca)||H.fail("Could not determine parsed source file.");if(FP(D,ae,t))return _t;let C;try{return d=m,Vze(D),H.assert(!!(or(D).flags&1)),C=yn(C,Uk.getDiagnostics(D.fileName)),Qmt(M4t(D),(A,w,I)=>{!I8(A)&&!P4t(w,!!(A.flags&33554432))&&(C||(C=[])).push({...I,category:2})}),C||_t}finally{d=void 0}},runWithCancellationToken:(l,m)=>{try{return d=l,m(Pi)}finally{d=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:sn,isDeclarationVisible:mD,isPropertyAccessible:UMe,getTypeOnlyAliasDeclaration:E4,getMemberOverrideModifierStatus:Zsi,isTypeParameterPossiblyReferenced:Ste,typeHasCallOrConstructSignatures:a_e};function ki(l,m){const D=new Set,C=[];oa(m,()=>Fr(l,C,void 0,0));for(const A of C)D.add(A);C.length=0,Yu(m,()=>Fr(l,C,void 0,0));for(const A of C)D.add(A);return ga(D)}function Yu(l,m){if(l=Tn(l,Qse),l){const D=[],C=[];for(;l;){const w=or(l);if(D.push([w,w.resolvedSignature]),w.resolvedSignature=void 0,M2(l)){const I=Ur(_u(l)),U=I.type;C.push([I,U]),I.type=void 0}l=Tn(l.parent,Qse)}const A=m();for(const[w,I]of D)w.resolvedSignature=I;for(const[w,I]of C)w.type=I;return A}return m()}function oa(l,m){const D=Tn(l,g2);if(D){let A=l;do or(A).skipDirectInference=!0,A=A.parent;while(A&&A!==D)}oe=!0;const C=Yu(l,m);if(oe=!1,D){let A=l;do or(A).skipDirectInference=void 0,A=A.parent;while(A&&A!==D)}return C}function Fr(l,m,D,C){const A=Ja(l,g2);Ni=D;const w=A?hT(A,m,C):void 0;return Ni=void 0,w}var Sa=new Map,bt=new Map,On=new Map,Ln=new Map,Fi=new Map,Dn=new Map,Cn=new Map,tu=new Map,sa=new Map,Da=new Map,aa=new Map,Ba=new Map,Yo=new Map,vo=new Map,Qe=new Map,Et=[],Mt=new Map,qt=new Set,Xt=Vs(4,"unknown"),Pe=Vs(0,"__resolving__"),et=new Map,gt=new Map,ii=new Set,me=Nc(1,"any"),ni=Nc(1,"any",262144,"auto"),_i=Nc(1,"any",void 0,"wildcard"),mt=Nc(1,"any",void 0,"blocked string"),jt=Nc(1,"error"),pi=Nc(1,"unresolved"),$i=Nc(1,"any",65536,"non-inferrable"),Yi=Nc(1,"intrinsic"),on=Nc(2,"unknown"),le=Nc(2,"unknown",void 0,"non-null"),te=Nc(32768,"undefined"),we=fe?te:Nc(32768,"undefined",65536,"widening"),de=Nc(32768,"undefined",void 0,"missing"),Oe=je?de:te,X=Nc(32768,"undefined",void 0,"optional"),it=Nc(65536,"null"),Ct=fe?it:Nc(65536,"null",65536,"widening"),ct=Nc(4,"string"),Qt=Nc(8,"number"),Ti=Nc(64,"bigint"),Ui=Nc(512,"false",void 0,"fresh"),Sn=Nc(512,"false"),du=Nc(512,"true",void 0,"fresh"),Iu=Nc(512,"true");du.regularType=Iu,du.freshType=du,Iu.regularType=Iu,Iu.freshType=du,Ui.regularType=Sn,Ui.freshType=Ui,Sn.regularType=Sn,Sn.freshType=Ui;var Er=tr([Sn,Iu]),er=Nc(4096,"symbol"),da=Nc(16384,"void"),Wu=Nc(131072,"never"),Ra=Nc(131072,"never",262144,"silent"),wn=Nc(131072,"never",void 0,"implicit"),Rr=Nc(131072,"never",void 0,"unreachable"),as=Nc(67108864,"object"),Bo=tr([ct,Qt]),Fn=tr([ct,Qt,er]),xc=Je?ct:Fn,Ua=tr([Qt,Ti]),l0=tr([ct,Qt,Er,Ti,it,te]),$l=_F(["",""],[Qt]),wl=Ate(l=>l.flags&262144?Mti(l):l,()=>"(restrictive mapper)"),cd=Ate(l=>l.flags&262144?_i:l,()=>"(permissive mapper)"),vl=Nc(131072,"never",void 0,"unique literal"),oo=Ate(l=>l.flags&262144?vl:l,()=>"(unique literal mapper)"),Ho,td=Ate(l=>(Ho&&(l===of||l===q0||l===vc)&&Ho(!0),l),()=>"(unmeasurable reporter)"),U0=Ate(l=>(Ho&&(l===of||l===q0||l===vc)&&Ho(!1),l),()=>"(unreliable reporter)"),Ko=Ol(void 0,se,_t,_t,_t),wc=Ol(void 0,se,_t,_t,_t);wc.objectFlags|=2048;var Kp=Vs(2048,"__type");Kp.members=Vo();var Tc=Ol(Kp,se,_t,_t,_t),Il=Ol(void 0,se,_t,_t,_t),cl=fe?tr([te,it,Il]):on,Va=Ol(void 0,se,_t,_t,_t);Va.instantiations=new Map;var Oi=Ol(void 0,se,_t,_t,_t);Oi.objectFlags|=262144;var dl=Ol(void 0,se,_t,_t,_t),Uc=Ol(void 0,se,_t,_t,_t),vh=Ol(void 0,se,_t,_t,_t),of=O1(),q0=O1();q0.constraint=of;var vc=O1(),$=O1(),tt=O1();tt.constraint=$;var vt=xte(1,"<>",0,me),hi=b3(void 0,void 0,void 0,_t,me,void 0,0,0),fn=b3(void 0,void 0,void 0,_t,jt,void 0,0,0),Gu=b3(void 0,void 0,void 0,_t,me,void 0,0,0),uu=b3(void 0,void 0,void 0,_t,Ra,void 0,0,0),wu=b_(Qt,ct,!0),Mr=new Map,ju={get yieldType(){return H.fail("Not supported")},get returnType(){return H.fail("Not supported")},get nextType(){return H.fail("Not supported")}},As=G5(me,me,me),tc=G5(me,me,on),id=G5(Wu,me,te),S0={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:pei,getGlobalIterableType:Pge,getGlobalIterableIteratorType:gei,getGlobalGeneratorType:Eei,resolveIterationType:(l,m)=>TF(l,m,F.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member),mustHaveANextMethodDiagnostic:F.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:F.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:F.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},nd={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:_ei,getGlobalIterableType:oPe,getGlobalIterableIteratorType:Dei,getGlobalGeneratorType:xei,resolveIterationType:(l,m)=>l,mustHaveANextMethodDiagnostic:F.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:F.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:F.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},f0,Sd=new Map,Ih=[],nh,d4,_1,Ve,si,Mn,ba,ko,wo,ic,hc,Cl,Tl,Cc,Ul,Lc,ep,Gm,Rh,h4,l3,l_,v5,I1,c3,Kf,f4,Oh,Ee,Bt,gi,xi,Q,Me,wt,bi,In,ir,nr,fa,os,ss,Rl,D1,dd,Jm,Es,tp,$m,d3,c_,ia,Qx,Xx,vg,rb,C5=new Map,Xe=0,Dt=0,ai=0,wi=!1,Qi=0,Rn,en,bn,Ar=[],Cu=[],bu=[],Eu=0,la=[],m0=[],a0=0,Wf=cf(""),Qv=Sg(0),e6=Oge({negative:!1,base10Value:"0"}),lD=[],t6=[],Kk=[],ab=0,Wk=!1,Gk=0,rz=10,E9=[],Sw=[],Xv=[],_9=[],D9=[],Bw=[],Jk=[],ww=[],x9=[],v9=[],$k=[],ob=[],sb=[],eC=[],b5=[],lb=[],hE=[],js=nB(),Uk=nB(),Tw=Kw(),i6,y5,d_=new Map,m4=new Map,Gf=new Map,jh=new Map,gm=new Map,tC=new Map,Lw=Vo();Lw.set(lt.escapedName,lt);var C9=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",ae.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return Dli(),Pi;function qk(l){return l?Qe.get(l):void 0}function cb(l,m){return l&&Qe.set(l,m),m}function iC(l){if(l){const m=zn(l);if(m)if(O7(l)){if(m.localJsxFragmentNamespace)return m.localJsxFragmentNamespace;const D=m.pragmas.get("jsxfrag");if(D){const A=ja(D)?D[0]:D;if(m.localJsxFragmentFactory=K7(A.arguments.factory,Ce),yt(m.localJsxFragmentFactory,nC,om),m.localJsxFragmentFactory)return m.localJsxFragmentNamespace=dm(m.localJsxFragmentFactory).escapedText}const C=Jze(l);if(C)return m.localJsxFragmentFactory=C,m.localJsxFragmentNamespace=dm(C).escapedText}else{const D=Zk(m);if(D)return m.localJsxNamespace=D}}return i6||(i6="React",ae.jsxFactory?(y5=K7(ae.jsxFactory,Ce),yt(y5,nC),y5&&(i6=dm(y5).escapedText)):ae.reactNamespace&&(i6=Al(ae.reactNamespace))),y5||(y5=q.createQualifiedName(q.createIdentifier(Qr(i6)),"createElement")),i6}function Zk(l){if(l.localJsxNamespace)return l.localJsxNamespace;const m=l.pragmas.get("jsx");if(m){const D=ja(m)?m[0]:m;if(l.localJsxFactory=K7(D.arguments.factory,Ce),yt(l.localJsxFactory,nC,om),l.localJsxFactory)return l.localJsxNamespace=dm(l.localJsxFactory).escapedText}}function nC(l){return e_(l,-1,-1),un(l,nC,Eg)}function Rd(l,m){return z4t(l,m),Gt}function k5(l,m,...D){const C=l?Su(l,m,...D):lc(m,...D),A=js.lookup(C);return A||(js.add(C),C)}function F5(l,m,D,...C){const A=pt(m,D,...C);return A.skippedOn=l,A}function h3(l,m,...D){return l?Su(l,m,...D):lc(m,...D)}function pt(l,m,...D){const C=h3(l,m,...D);return js.add(C),C}function t1(l,m){l?js.add(m):Uk.add({...m,category:2})}function p4(l,m,D,...C){if(m.pos<0||m.end<0){if(!l)return;const A=zn(m);t1(l,"message"in D?zd(A,0,0,D,...C):C0e(A,D));return}t1(l,"message"in D?Su(m,D,...C):Z3(zn(m),m,D))}function Ch(l,m,D,...C){const A=pt(l,D,...C);if(m){const w=Su(l,F.Did_you_forget_to_use_await);gs(A,w)}return A}function Nw(l,m){const D=Array.isArray(l)?L(l,Ise):Ise(l);return D&&gs(m,Su(D,F.The_declaration_was_marked_as_deprecated_here)),Uk.add(m),m}function A5(l){const m=lf(l);return m&&S(l.declarations)>1?m.flags&64?Ge(l.declarations,uC):ye(l.declarations,uC):!!l.valueDeclaration&&uC(l.valueDeclaration)||S(l.declarations)&&ye(l.declarations,uC)}function uC(l){return!!(Hb(l)&536870912)}function f3(l,m,D){const C=Su(l,F._0_is_deprecated,D);return Nw(m,C)}function az(l,m,D,C){const A=D?Su(l,F.The_signature_0_of_1_is_deprecated,C,D):Su(l,F._0_is_deprecated,C);return Nw(m,A)}function Vs(l,m,D){T++;const C=new v(l|33554432,m);return C.links=new IAe,C.links.checkFlags=D||0,C}function Cg(l,m){const D=Vs(1,l);return D.links.type=m,D}function Yk(l,m){const D=Vs(4,l);return D.links.type=m,D}function Qk(l){let m=0;return l&2&&(m|=111551),l&1&&(m|=111550),l&4&&(m|=0),l&8&&(m|=900095),l&16&&(m|=110991),l&32&&(m|=899503),l&64&&(m|=788872),l&256&&(m|=899327),l&128&&(m|=899967),l&512&&(m|=110735),l&8192&&(m|=103359),l&32768&&(m|=46015),l&65536&&(m|=78783),l&262144&&(m|=526824),l&524288&&(m|=788968),l&2097152&&(m|=2097152),m}function db(l,m){m.mergeId||(m.mergeId=MAe,MAe++),E9[m.mergeId]=l}function hb(l){const m=Vs(l.flags,l.escapedName);return m.declarations=l.declarations?l.declarations.slice():[],m.parent=l.parent,l.valueDeclaration&&(m.valueDeclaration=l.valueDeclaration),l.constEnumOnlyModule&&(m.constEnumOnlyModule=!0),l.members&&(m.members=new Map(l.members)),l.exports&&(m.exports=new Map(l.exports)),db(m,l),m}function ip(l,m,D=!1){if(!(l.flags&Qk(m.flags))||(m.flags|l.flags)&67108864){if(m===l)return l;if(!(l.flags&33554432)){const A=bc(l);if(A===Xt)return m;l=hb(A)}m.flags&512&&l.flags&512&&l.constEnumOnlyModule&&!m.constEnumOnlyModule&&(l.constEnumOnlyModule=!1),l.flags|=m.flags,m.valueDeclaration&&yj(l,m.valueDeclaration),yn(l.declarations,m.declarations),m.members&&(l.members||(l.members=Vo()),fE(l.members,m.members,D)),m.exports&&(l.exports||(l.exports=Vo()),fE(l.exports,m.exports,D)),D||db(l,m)}else if(l.flags&1024)l!==St&&pt(m.declarations&&$a(m.declarations[0]),F.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,Sr(l));else{const A=!!(l.flags&384||m.flags&384),w=!!(l.flags&2||m.flags&2),I=A?F.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:w?F.Cannot_redeclare_block_scoped_variable_0:F.Duplicate_identifier_0,U=m.declarations&&zn(m.declarations[0]),Z=l.declarations&&zn(l.declarations[0]),ce=tj(U,ae.checkJs),Fe=tj(Z,ae.checkJs),Te=Sr(m);if(U&&Z&&f0&&!A&&U!==Z){const $e=fv(U.path,Z.path)===-1?U:Z,ut=$e===U?Z:U,zt=tl(f0,`${$e.path}|${ut.path}`,()=>({firstFile:$e,secondFile:ut,conflictingSymbols:new Map})),fi=tl(zt.conflictingSymbols,Te,()=>({isBlockScoped:w,firstFileLocations:[],secondFileLocations:[]}));ce||C(fi.firstFileLocations,m),Fe||C(fi.secondFileLocations,l)}else ce||bg(m,I,Te,l),Fe||bg(l,I,Te,m)}return l;function C(A,w){if(w.declarations)for(const I of w.declarations)xa(A,I)}}function bg(l,m,D,C){L(l.declarations,A=>{m3(A,m,D,C.declarations)})}function m3(l,m,D,C){const A=(Cv(l,!1)?L0e(l):$a(l))||l,w=k5(A,m,D);for(const I of C||_t){const U=(Cv(I,!1)?L0e(I):$a(I))||I;if(U===A)continue;w.relatedInformation=w.relatedInformation||[];const Z=Su(U,F._0_was_also_declared_here,D),ce=Su(U,F.and_here);S(w.relatedInformation)>=5||Ge(w.relatedInformation,Fe=>CP(Fe,ce)===0||CP(Fe,Z)===0)||gs(w,S(w.relatedInformation)?ce:Z)}}function Xk(l,m){if(!(l!=null&&l.size))return m;if(!(m!=null&&m.size))return l;const D=Vo();return fE(D,l),fE(D,m),D}function fE(l,m,D=!1){m.forEach((C,A)=>{const w=l.get(A);l.set(A,w?ip(w,C,D):Hs(C))})}function eF(l){var m,D,C;const A=l.parent;if(((m=A.symbol.declarations)==null?void 0:m[0])!==A){H.assert(A.symbol.declarations.length>1);return}if(Zg(A))fE(Ie,A.symbol.exports);else{const w=l.parent.parent.flags&33554432?void 0:F.Invalid_module_name_in_augmentation_module_0_cannot_be_found;let I=_3(l,l,w,!0);if(!I)return;if(I=Em(I),I.flags&1920)if(Ge(d4,U=>I===U.symbol)){const U=ip(A.symbol,I,!0);_1||(_1=new Map),_1.set(l.text,U)}else{if((D=I.exports)!=null&&D.get("__export")&&((C=A.symbol.exports)!=null&&C.size)){const U=LNe(I,"resolvedExports");for(const[Z,ce]of ga(A.symbol.exports.entries()))U.has(Z)&&!I.exports.has(Z)&&ip(U.get(Z),ce)}ip(I,A.symbol)}else pt(l,F.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,l.text)}}function Pw(l,m,D){m.forEach((A,w)=>{const I=l.get(w);I?L(I.declarations,C(Qr(w),D)):l.set(w,A)});function C(A,w){return I=>js.add(Su(I,w,A))}}function Ur(l){if(l.flags&33554432)return l.links;const m=Zo(l);return Sw[m]??(Sw[m]=new IAe)}function or(l){const m=$s(l);return Xv[m]||(Xv[m]=new vPt)}function mE(l){return l.kind===312&&!lm(l)}function yf(l,m,D){if(D){const C=Hs(l.get(m));if(C&&(H.assert((Wl(C)&1)===0,"Should never get an instantiated symbol here."),C.flags&D||C.flags&2097152&&R1(C)&D))return C}}function Mw(l,m){const D=l.parent,C=l.parent.parent,A=yf(D.locals,m,111551),w=yf(E6(C.symbol),m,111551);return A&&w?[A,w]:H.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function S5(l,m){const D=zn(l),C=zn(m),A=ZE(l);if(D!==C){if(ne&&(D.externalModuleIndicator||C.externalModuleIndicator)||!b0(ae)||sk(m)||l.flags&33554432||I(m,l))return!0;const Z=t.getSourceFiles();return Z.indexOf(D)<=Z.indexOf(C)}if(m.flags&16777216||sk(m)||cMe(m))return!0;if(l.pos<=m.pos&&!(yo(l)&&hj(m.parent)&&!l.initializer&&!l.exclamationToken)){if(l.kind===208){const Z=yv(m,208);return Z?Tn(Z,Os)!==Tn(l,Os)||l.posNs(Z)&&Z.parent.parent===l);if(yo(l))return!U(l,m,!1);if(Pf(l,l.parent))return!(Ne&&Zd(l)===Zd(m)&&I(m,l))}return!0}if(m.parent.kind===281||m.parent.kind===277&&m.parent.isExportEquals||m.kind===277&&m.isExportEquals)return!0;if(I(m,l))return Ne&&Zd(l)&&(yo(l)||Pf(l,l.parent))?!U(l,m,!0):!0;return!1;function w(Z,ce){switch(Z.parent.parent.kind){case 243:case 248:case 250:if(mb(ce,Z,A))return!0;break}const Fe=Z.parent.parent;return N8(Fe)&&mb(ce,Fe.expression,A)}function I(Z,ce){return!!Tn(Z,Fe=>{if(Fe===A)return"quit";if(xo(Fe))return!0;if(zl(Fe))return ce.posZ.end?!1:Tn(ce,$e=>{if($e===Z)return"quit";switch($e.kind){case 219:return!0;case 172:return Fe&&(yo(Z)&&$e.parent===Z.parent||Pf(Z,Z.parent)&&$e.parent===Z.parent.parent)?"quit":!0;case 241:switch($e.parent.kind){case 177:case 174:case 178:return!0;default:return!1}default:return!1}})===void 0}}function zw(l,m,D){const C=Rs(ae),A=m;if(Qa(D)&&A.body&&l.valueDeclaration&&l.valueDeclaration.pos>=A.body.pos&&l.valueDeclaration.end<=A.body.end&&C>=2){const U=or(A);return U.declarationRequiresScopeChange===void 0&&(U.declarationRequiresScopeChange=L(A.parameters,w)||!1),!U.declarationRequiresScopeChange}return!1;function w(U){return I(U.name)||!!U.initializer&&I(U.initializer)}function I(U){switch(U.kind){case 219:case 218:case 262:case 176:return!1;case 174:case 177:case 178:case 303:return I(U.name);case 172:return Kc(U)?!Ne:I(U.name);default:return Hse(U)||Z1(U)?C<7:Os(U)&&U.dotDotDotToken&&Mp(U.parent)?C<4:Xr(U)?!1:uo(U,I)||!1}}}function fb(l){return qy(l)&&U3(l.type)||QP(l)&&U3(l.typeExpression)}function nc(l,m,D,C,A,w,I=!1,U=!0){return bh(l,m,D,C,A,w,I,U,yf)}function bh(l,m,D,C,A,w,I,U,Z){var ce,Fe,Te;const $e=l;let ut,zt,fi,Wi,cn,nu=!1;const En=l;let Ri,Nn=!1;e:for(;l;){if(m==="const"&&fb(l))return;if(ZO(l)&&zt&&l.name===zt&&(zt=l,l=l.parent),$E(l)&&l.locals&&!mE(l)&&(ut=Z(l.locals,m,D))){let An=!0;if(xo(l)&&zt&&zt!==l.body?(D&ut.flags&788968&&zt.kind!==327&&(An=ut.flags&262144?zt===l.type||zt.kind===169||zt.kind===348||zt.kind===349||zt.kind===168:!1),D&ut.flags&3&&(zw(ut,l,zt)?An=!1:ut.flags&1&&(An=zt.kind===169||zt===l.type&&!!Tn(ut.valueDeclaration,Qa)))):l.kind===194&&(An=zt===l.trueType),An)break e;ut=void 0}switch(nu=nu||h_(l,zt),l.kind){case 312:if(!lm(l))break;Nn=!0;case 267:const An=((ce=_u(l))==null?void 0:ce.exports)||se;if(l.kind===312||Ec(l)&&l.flags&33554432&&!Zg(l)){if(ut=An.get("default")){const ro=oB(ut);if(ro&&ut.flags&D&&ro.escapedName===m)break e;ut=void 0}const hu=An.get(m);if(hu&&hu.flags===2097152&&(Sl(hu,281)||Sl(hu,280)))break}if(m!=="default"&&(ut=Z(An,m,D&2623475)))if(ca(l)&&l.commonJsModuleIndicator&&!((Fe=ut.declarations)!=null&&Fe.some(K4)))ut=void 0;else break e;break;case 266:if(ut=Z(((Te=_u(l))==null?void 0:Te.exports)||se,m,D&8)){C&&hg(ae)&&!(l.flags&33554432)&&zn(l)!==zn(ut.valueDeclaration)&&pt(En,F.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,Qr(m),ht,`${Qr(_m(l).escapedName)}.${Qr(m)}`);break e}break;case 172:if(!Lo(l)){const hu=Gp(l.parent);hu&&hu.locals&&Z(hu.locals,m,D&111551)&&(H.assertNode(l,yo),Wi=l)}break;case 263:case 231:case 264:if(ut=Z(_u(l).members||se,m,D&788968)){if(!rC(ut,l)){ut=void 0;break}if(zt&&Lo(zt)){C&&pt(En,F.Static_members_cannot_reference_class_type_parameters);return}break e}if(Qd(l)&&D&32){const hu=l.name;if(hu&&m===hu.escapedText){ut=l.symbol;break e}}break;case 233:if(zt===l.expression&&l.parent.token===96){const hu=l.parent.parent;if(gr(hu)&&(ut=Z(_u(hu).members,m,D&788968))){C&&pt(En,F.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 167:if(Ri=l.parent.parent,(gr(Ri)||Ri.kind===264)&&(ut=Z(_u(Ri).members,m,D&788968))){C&&pt(En,F.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 219:if(Rs(ae)>=2)break;case 174:case 176:case 177:case 178:case 262:if(D&3&&m==="arguments"){ut=It;break e}break;case 218:if(D&3&&m==="arguments"){ut=It;break e}if(D&16){const hu=l.name;if(hu&&m===hu.escapedText){ut=l.symbol;break e}}break;case 170:l.parent&&l.parent.kind===169&&(l=l.parent),l.parent&&(qd(l.parent)||l.parent.kind===263)&&(l=l.parent);break;case 353:case 345:case 347:const _n=tP(l);_n&&(l=_n.parent);break;case 169:zt&&(zt===l.initializer||zt===l.name&&Ao(zt))&&(cn||(cn=l));break;case 208:zt&&(zt===l.initializer||zt===l.name&&Ao(zt))&&A2(l)&&!cn&&(cn=l);break;case 195:if(D&262144){const hu=l.typeParameter.name;if(hu&&m===hu.escapedText){ut=l.typeParameter.symbol;break e}}break;case 281:zt&&zt===l.propertyName&&l.parent.parent.moduleSpecifier&&(l=l.parent.parent.parent);break}p3(l)&&(fi=l),zt=l,l=gg(l)?bq(l)||l.parent:(pg(l)||fY(l))&&bv(l)||l.parent}if(w&&ut&&(!fi||ut!==fi.symbol)&&(ut.isReferenced|=D),!ut){if(zt&&(H.assertNode(zt,ca),zt.commonJsModuleIndicator&&m==="exports"&&D&zt.symbol.flags))return zt.symbol;I||(ut=Z(Ie,m,D))}if(!ut&&$e&&Xn($e)&&$e.parent&&Df($e.parent,!1))return ti;function vn(){return Wi&&!Ne?(pt(En,En&&Wi.type&&MO(Wi.type,En.pos)?F.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:F.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,C0(Wi.name),Wp(A)),!0):!1}if(ut){if(C&&vn())return}else{C&&s(()=>{if(!En||En.parent.kind!==331&&!g3(En,m,A)&&!vn()&&!Iw(En)&&!Rw(En,m,D)&&!B5(En,m)&&!y9(En,m,D)&&!Ow(En,m,D)&&!pE(En,m,D)){let An,_n;if(A&&(_n=sri(A),_n&&pt(En,C,Wp(A),_n)),!_n&&U&&Gk{if(En&&(D&2||(D&32||D&384)&&(D&111551)===111551)){const An=ap(ut);(An.flags&2||An.flags&32||An.flags&384)&&B0(An,En)}if(ut&&Nn&&(D&111551)===111551&&!($e.flags&16777216)){const An=Hs(ut);S(An.declarations)&&ye(An.declarations,_n=>SV(_n)||ca(_n)&&!!_n.symbol.globalExports)&&p4(!ae.allowUmdGlobalAccess,En,F._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,Qr(m))}if(ut&&cn&&!nu&&(D&111551)===111551){const An=Hs(bge(ut)),_n=QE(cn);An===_u(cn)?pt(En,F.Parameter_0_cannot_reference_itself,C0(cn.name)):An.valueDeclaration&&An.valueDeclaration.pos>cn.pos&&_n.parent.locals&&Z(_n.parent.locals,An.escapedName,D)===An&&pt(En,F.Parameter_0_cannot_reference_identifier_1_declared_after_it,C0(cn.name),C0(En))}if(ut&&En&&D&111551&&ut.flags&2097152&&!(ut.flags&111551)&&!Bv(En)){const An=E4(ut,111551);if(An){const _n=An.kind===281||An.kind===278||An.kind===280?F._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:F._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,hu=Qr(m);cD(pt(En,_n,hu),An,hu)}}}),ut}function cD(l,m,D){return m?gs(l,Su(m,m.kind===281||m.kind===278||m.kind===280?F._0_was_exported_here:F._0_was_imported_here,D)):l}function h_(l,m){return l.kind!==219&&l.kind!==218?vB(l)||(W0(l)||l.kind===172&&!Lo(l))&&(!m||m!==l.name):m&&m===l.name?!1:l.asteriskToken||Qu(l,1024)?!0:!tk(l)}function p3(l){switch(l.kind){case 262:case 263:case 264:case 266:case 265:case 267:return!0;default:return!1}}function Wp(l){return Wa(l)?Qr(l):C0(l)}function rC(l,m){if(l.declarations){for(const D of l.declarations)if(D.kind===168&&(gg(D.parent)?c7(D.parent):D.parent)===m)return!(gg(D.parent)&&Le(D.parent.parent.tags,K4))}return!1}function g3(l,m,D){if(!at(l)||l.escapedText!==m||I4t(l)||sk(l))return!1;const C=ef(l,!1,!1);let A=C;for(;A;){if(gr(A.parent)){const w=_u(A.parent);if(!w)break;const I=Gn(w);if(Uo(I,m))return pt(l,F.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,Wp(D),Sr(w)),!0;if(A===C&&!Lo(A)){const U=Z0(w).thisType;if(Uo(U,m))return pt(l,F.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,Wp(D)),!0}}A=A.parent}return!1}function Iw(l){const m=f_(l);return m&&z0(m,64,!0)?(pt(l,F.Cannot_extend_an_interface_0_Did_you_mean_implements,Hc(m)),!0):!1}function f_(l){switch(l.kind){case 80:case 211:return l.parent?f_(l.parent):void 0;case 233:if(Xl(l.expression))return l.expression;default:return}}function Rw(l,m,D){const C=1920|(Xn(l)?111551:0);if(D===C){const A=bc(nc(l,m,788968&~C,void 0,void 0,!1)),w=l.parent;if(A){if(xf(w)){H.assert(w.left===l,"Should only be resolving left side of qualified name as a namespace");const I=w.right.escapedText;if(Uo(Z0(A),I))return pt(w,F.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,Qr(m),Qr(I)),!0}return pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,Qr(m)),!0}}return!1}function pE(l,m,D){if(D&788584){const C=bc(nc(l,m,111127,void 0,void 0,!1));if(C&&!(C.flags&1920))return pt(l,F._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,Qr(m)),!0}return!1}function m_(l){return l==="any"||l==="string"||l==="number"||l==="boolean"||l==="never"||l==="unknown"}function B5(l,m){return m_(m)&&l.parent.kind===281?(pt(l,F.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,m),!0):!1}function Ow(l,m,D){if(D&111551){if(m_(m)){const w=l.parent.parent;if(w&&w.parent&&fm(w)){const I=w.token,U=w.parent.kind;U===264&&I===96?pt(l,F.An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types,Qr(m)):U===263&&I===96?pt(l,F.A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values,Qr(m)):U===263&&I===119&&pt(l,F.A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types,Qr(m))}else pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,Qr(m));return!0}const C=bc(nc(l,m,788544,void 0,void 0,!1)),A=C&&R1(C);if(C&&A!==void 0&&!(A&111551)){const w=Qr(m);return oz(m)?pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later,w):b9(l,C)?pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,w,w==="K"?"P":"K"):pt(l,F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,w),!0}}return!1}function b9(l,m){const D=Tn(l.parent,C=>Ns(C)||Pm(C)?!1:hm(C)||"quit");if(D&&D.members.length===1){const C=Z0(m);return!!(C.flags&1048576)&&cie(C,384,!0)}return!1}function oz(l){switch(l){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}function y9(l,m,D){if(D&111127){if(bc(nc(l,m,1024,void 0,void 0,!1)))return pt(l,F.Cannot_use_namespace_0_as_a_value,Qr(m)),!0}else if(D&788544&&bc(nc(l,m,1536,void 0,void 0,!1)))return pt(l,F.Cannot_use_namespace_0_as_a_type,Qr(m)),!0;return!1}function B0(l,m){var D;if(H.assert(!!(l.flags&2||l.flags&32||l.flags&384)),l.flags&67108881&&l.flags&32)return;const C=(D=l.declarations)==null?void 0:D.find(A=>d0e(A)||gr(A)||A.kind===266);if(C===void 0)return H.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(C.flags&33554432)&&!S5(C,m)){let A;const w=C0($a(C));l.flags&2?A=pt(m,F.Block_scoped_variable_0_used_before_its_declaration,w):l.flags&32?A=pt(m,F.Class_0_used_before_its_declaration,w):l.flags&256&&(A=pt(m,F.Enum_0_used_before_its_declaration,w)),A&&gs(A,Su(C,F._0_is_declared_here,w))}}function mb(l,m,D){return!!m&&!!Tn(l,C=>C===m||(C===D||xo(C)&&(!tk(C)||yd(C)&3)?"quit":!1))}function k9(l){switch(l.kind){case 271:return l;case 273:return l.parent;case 274:return l.parent.parent;case 276:return l.parent.parent.parent;default:return}}function np(l){return l.declarations&&st(l.declarations,aC)}function aC(l){return l.kind===271||l.kind===270||l.kind===273&&!!l.name||l.kind===274||l.kind===280||l.kind===276||l.kind===281||l.kind===277&&X8(l)||eu(l)&&Ql(l)===2&&X8(l)||M0(l)&&eu(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===64&&F9(l.parent.right)||l.kind===304||l.kind===303&&F9(l.initializer)||l.kind===260&&b2(l)||l.kind===208&&b2(l.parent.parent)}function F9(l){return Lj(l)||A0(l)&&FE(l)}function sz(l,m){const D=hD(l);if(D){const A=vP(D.expression).arguments[0];return at(D.name)?bc(Uo(Bdt(A),D.name.escapedText)):void 0}if(ra(l)||l.moduleReference.kind===283){const A=Vh(l,B0e(l)||QN(l)),w=Em(A);return kf(l,A,w,!1),w}const C=uF(l.moduleReference,m);return tF(l,C),C}function tF(l,m){if(kf(l,void 0,m,!1)&&!l.isTypeOnly){const D=E4(_u(l)),C=D.kind===281||D.kind===278,A=C?F.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:F.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,w=C?F._0_was_exported_here:F._0_was_imported_here,I=D.kind===278?"*":Qr(D.name.escapedText);gs(pt(l.moduleReference,A),Su(D,w,I))}}function ru(l,m,D,C){const A=l.exports.get("export="),w=A?Uo(Gn(A),m,!0):l.exports.get(m),I=bc(w,C);return kf(D,w,I,!1),I}function x1(l){return ec(l)&&!l.isExportEquals||Qu(l,2048)||X1(l)||n_(l)}function Na(l){return t0(l)?_g(zn(l),l):void 0}function sf(l,m){return l===99&&m===1}function gE(l){return Na(l)===99&&oc(l.text,".json")}function up(l,m,D,C){const A=l&&Na(C);if(l&&A!==void 0){const w=sf(A,l.impliedNodeFormat);if(A===99||w)return w}if(!pe)return!1;if(!l||l.isDeclarationFile){const w=ru(m,"default",void 0,!0);return!(w&&Ge(w.declarations,x1)||ru(m,Al("__esModule"),void 0,D))}return ph(l)?typeof l.externalModuleIndicator!="object"&&!ru(m,Al("__esModule"),void 0,D):xb(m)}function qn(l,m){const D=Vh(l,l.parent.moduleSpecifier);if(D)return pb(D,l,m)}function pb(l,m,D){var C;let A;JN(l)?A=l:A=ru(l,"default",m,D);const w=(C=l.declarations)==null?void 0:C.find(ca),I=oC(m);if(!I)return A;const U=gE(I),Z=up(w,l,D,I);if(!A&&!Z&&!U)if(xb(l)&&!pe){const ce=ne>=5?"allowSyntheticDefaultImports":"esModuleInterop",Te=l.exports.get("export=").valueDeclaration,$e=pt(m.name,F.Module_0_can_only_be_default_imported_using_the_1_flag,Sr(l),ce);Te&&gs($e,Su(Te,F.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ce))}else i_(m)?Bd(l,m):lC(l,l,m,n7(m)&&m.propertyName||m.name);else if(Z||U){const ce=Em(l,D)||bc(l,D);return kf(m,l,ce,!1),ce}return kf(m,A,void 0,!1),A}function oC(l){switch(l.kind){case 273:return l.parent.moduleSpecifier;case 271:return u_(l.moduleReference)?l.moduleReference.expression:void 0;case 274:return l.parent.parent.moduleSpecifier;case 276:return l.parent.parent.parent.moduleSpecifier;case 281:return l.parent.parent.moduleSpecifier;default:return H.assertNever(l)}}function Bd(l,m){var D,C,A;if((D=l.exports)!=null&&D.has(m.symbol.escapedName))pt(m.name,F.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,Sr(l),Sr(m.symbol));else{const w=pt(m.name,F.Module_0_has_no_default_export,Sr(l)),I=(C=l.exports)==null?void 0:C.get("__export");if(I){const U=(A=I.declarations)==null?void 0:A.find(Z=>{var ce,Fe;return!!(Gc(Z)&&Z.moduleSpecifier&&((Fe=(ce=Vh(Z,Z.moduleSpecifier))==null?void 0:ce.exports)!=null&&Fe.has("default")))});U&&gs(w,Su(U,F.export_Asterisk_does_not_re_export_a_default))}}}function EE(l,m){const D=l.parent.parent.moduleSpecifier,C=Vh(l,D),A=a6(C,D,m,!1);return kf(l,C,A,!1),A}function _E(l,m){const D=l.parent.moduleSpecifier,C=D&&Vh(l,D),A=D&&a6(C,D,m,!1);return kf(l,C,A,!1),A}function n6(l,m){if(l===Xt&&m===Xt)return Xt;if(l.flags&790504)return l;const D=Vs(l.flags|m.flags,l.escapedName);return H.assert(l.declarations||m.declarations),D.declarations=li(an(l.declarations,m.declarations),vx),D.parent=l.parent||m.parent,l.valueDeclaration&&(D.valueDeclaration=l.valueDeclaration),m.members&&(D.members=new Map(m.members)),l.exports&&(D.exports=new Map(l.exports)),D}function A9(l,m,D,C){var A;if(l.flags&1536){const w=Jf(l).get(m.escapedText),I=bc(w,C),U=(A=Ur(l).typeOnlyExportStarMap)==null?void 0:A.get(m.escapedText);return kf(D,w,I,!1,U,m.escapedText),I}}function dD(l,m){if(l.flags&3){const D=l.valueDeclaration.type;if(D)return bc(Uo(Br(D),m))}}function sC(l,m,D=!1){var C;const A=B0e(l)||l.moduleSpecifier,w=Vh(l,A),I=!zu(m)&&m.propertyName||m.name;if(!at(I))return;const U=I.escapedText==="default"&&pe,Z=a6(w,A,!1,U);if(Z&&I.escapedText){if(JN(w))return w;let ce;w&&w.exports&&w.exports.get("export=")?ce=Uo(Gn(Z),I.escapedText,!0):ce=dD(Z,I.escapedText),ce=bc(ce,D);let Fe=A9(Z,I,m,D);if(Fe===void 0&&I.escapedText==="default"){const $e=(C=w.declarations)==null?void 0:C.find(ca);(gE(A)||up($e,w,D,A))&&(Fe=Em(w,D)||bc(w,D))}const Te=Fe&&ce&&Fe!==ce?n6(ce,Fe):Fe||ce;return Te||lC(w,Z,l,I),Te}}function lC(l,m,D,C){var A;const w=rp(l,D),I=C0(C),U=NEe(C,m);if(U!==void 0){const Z=Sr(U),ce=pt(C,F._0_has_no_exported_member_named_1_Did_you_mean_2,w,I,Z);U.valueDeclaration&&gs(ce,Su(U.valueDeclaration,F._0_is_declared_here,Z))}else(A=l.exports)!=null&&A.has("default")?pt(C,F.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,w,I):E3(D,C,I,l,w)}function E3(l,m,D,C,A){var w,I;const U=(I=(w=rr(C.valueDeclaration,$E))==null?void 0:w.locals)==null?void 0:I.get(m.escapedText),Z=C.exports;if(U){const ce=Z==null?void 0:Z.get("export=");if(ce)qm(ce,U)?p_(l,m,D,A):pt(m,F.Module_0_has_no_exported_member_1,A,D);else{const Fe=Z?Le(ZNe(Z),$e=>!!qm($e,U)):void 0,Te=Fe?pt(m,F.Module_0_declares_1_locally_but_it_is_exported_as_2,A,D,Sr(Fe)):pt(m,F.Module_0_declares_1_locally_but_it_is_not_exported,A,D);U.declarations&&gs(Te,...Kt(U.declarations,($e,ut)=>Su($e,ut===0?F._0_is_declared_here:F.and_here,D)))}}else pt(m,F.Module_0_has_no_exported_member_1,A,D)}function p_(l,m,D,C){if(ne>=5){const A=XE(ae)?F._0_can_only_be_imported_by_using_a_default_import:F._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;pt(m,A,D)}else if(Xn(l)){const A=XE(ae)?F._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:F._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;pt(m,A,D)}else{const A=XE(ae)?F._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:F._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;pt(m,A,D,D,C)}}function iF(l,m){if(Cf(l)&&fu(l.propertyName||l.name)==="default"){const I=oC(l),U=I&&Vh(l,I);if(U)return pb(U,l,m)}const D=Os(l)?QE(l):l.parent.parent.parent,C=hD(D),A=sC(D,C||l,m),w=l.propertyName||l.name;return C&&A&&at(w)?bc(Uo(Gn(A),w.escapedText),m):(kf(l,void 0,A,!1),A)}function hD(l){if(ra(l)&&l.initializer&&zu(l.initializer))return l.initializer}function u6(l,m){if(qg(l.parent)){const D=Em(l.parent.symbol,m);return kf(l,void 0,D,!1),D}}function gb(l,m,D){if(fu(l.propertyName||l.name)==="default"){const A=oC(l),w=A&&Vh(l,A);if(w)return pb(w,l,!!D)}const C=l.parent.parent.moduleSpecifier?sC(l.parent.parent,l,D):z0(l.propertyName||l.name,m,!1,D);return kf(l,void 0,C,!1),C}function S9(l,m){const D=ec(l)?l.expression:l.right,C=nF(D,m);return kf(l,void 0,C,!1),C}function nF(l,m){if(Qd(l))return Ic(l).symbol;if(!om(l)&&!Xl(l))return;const D=z0(l,901119,!0,m);return D||(Ic(l),or(l).resolvedSymbol)}function Eb(l,m){if(eu(l.parent)&&l.parent.left===l&&l.parent.operatorToken.kind===64)return nF(l.parent.right,m)}function g4(l,m=!1){switch(l.kind){case 271:case 260:return sz(l,m);case 273:return qn(l,m);case 274:return EE(l,m);case 280:return _E(l,m);case 276:case 208:return iF(l,m);case 281:return gb(l,901119,m);case 277:case 226:return S9(l,m);case 270:return u6(l,m);case 304:return z0(l.name,901119,!0,m);case 303:return nF(l.initializer,m);case 212:case 211:return Eb(l,m);default:return H.fail()}}function cC(l,m=901119){return l?(l.flags&(2097152|m))===2097152||!!(l.flags&2097152&&l.flags&67108864):!1}function bc(l,m){return!m&&cC(l)?hd(l):l}function hd(l){H.assert((l.flags&2097152)!==0,"Should only get Alias here.");const m=Ur(l);if(m.aliasTarget)m.aliasTarget===Pe&&(m.aliasTarget=Xt);else{m.aliasTarget=Pe;const D=np(l);if(!D)return H.fail();const C=g4(D);m.aliasTarget===Pe?m.aliasTarget=C||Xt:pt(D,F.Circular_definition_of_import_alias_0,Sr(l))}return m.aliasTarget}function B9(l){if(Ur(l).aliasTarget!==Pe)return hd(l)}function R1(l,m,D){const C=m&&E4(l),A=C&&Gc(C),w=C&&(A?Vh(C.moduleSpecifier,C.moduleSpecifier,!0):hd(C.symbol)),I=A&&w?D3(w):void 0;let U=D?0:l.flags,Z;for(;l.flags&2097152;){const ce=ap(hd(l));if(!A&&ce===w||(I==null?void 0:I.get(ce.escapedName))===ce)break;if(ce===Xt)return 67108863;if(ce===l||Z!=null&&Z.has(ce))break;ce.flags&2097152&&(Z?Z.add(ce):Z=new Set([l,ce])),U|=ce.flags,l=ce}return U}function kf(l,m,D,C,A,w){if(!l||zu(l))return!1;const I=_u(l);if(p2(l)){const Z=Ur(I);return Z.typeOnlyDeclaration=l,!0}if(A){const Z=Ur(I);return Z.typeOnlyDeclaration=A,I.escapedName!==w&&(Z.typeOnlyExportStarName=w),!0}const U=Ur(I);return _b(U,m,C)||_b(U,D,C)}function _b(l,m,D){var C;if(m&&(l.typeOnlyDeclaration===void 0||D&&l.typeOnlyDeclaration===!1)){const A=((C=m.exports)==null?void 0:C.get("export="))??m,w=A.declarations&&Le(A.declarations,p2);l.typeOnlyDeclaration=w??Ur(A).typeOnlyDeclaration??!1}return!!l.typeOnlyDeclaration}function E4(l,m){if(!(l.flags&2097152))return;const D=Ur(l);if(m===void 0)return D.typeOnlyDeclaration||void 0;if(D.typeOnlyDeclaration){const C=D.typeOnlyDeclaration.kind===278?bc(D3(D.typeOnlyDeclaration.symbol.parent).get(D.typeOnlyExportStarName||l.escapedName)):hd(D.typeOnlyDeclaration.symbol);return R1(C)&m?D.typeOnlyDeclaration:void 0}}function dC(l){if(!Ut)return;const m=_u(l),D=hd(m);D&&(D===Xt||R1(m,!0)&111551&&!IW(D))&&w5(m)}function w5(l){H.assert(Ut);const m=Ur(l);if(!m.referenced){m.referenced=!0;const D=np(l);if(!D)return H.fail();J8(D)&&R1(bc(l))&111551&&Ic(D.moduleReference)}}function i1(l){const m=Ur(l);m.constEnumReferenced||(m.constEnumReferenced=!0)}function uF(l,m){return l.kind===80&&pP(l)&&(l=l.parent),l.kind===80||l.parent.kind===166?z0(l,1920,!1,m):(H.assert(l.parent.kind===271),z0(l,901119,!1,m))}function rp(l,m){return l.parent?rp(l.parent,m)+"."+Sr(l):Sr(l,m,void 0,36)}function r6(l){for(;xf(l.parent);)l=l.parent;return l}function jw(l){let m=dm(l),D=nc(m,m.escapedText,111551,void 0,m,!0);if(D){for(;xf(m.parent);){const C=Gn(D);if(D=Uo(C,m.parent.right.escapedText),!D)return;m=m.parent}return D}}function z0(l,m,D,C,A){if(Yl(l))return;const w=1920|(Xn(l)?m&111551:0);let I;if(l.kind===80){const U=m===w||sl(l)?F.Cannot_find_namespace_0:bht(dm(l)),Z=Xn(l)&&!sl(l)?Vw(l,m):void 0;if(I=Hs(nc(A||l,l.escapedText,m,D||Z?void 0:U,l,!0,!1)),!I)return Hs(Z)}else if(l.kind===166||l.kind===211){const U=l.kind===166?l.left:l.expression,Z=l.kind===166?l.right:l.name;let ce=z0(U,w,D,!1,A);if(!ce||Yl(Z))return;if(ce===Xt)return ce;if(ce.valueDeclaration&&Xn(ce.valueDeclaration)&&m1(ae)!==100&&ra(ce.valueDeclaration)&&ce.valueDeclaration.initializer&&nmt(ce.valueDeclaration.initializer)){const Fe=ce.valueDeclaration.initializer.arguments[0],Te=Vh(Fe,Fe);if(Te){const $e=Em(Te);$e&&(ce=$e)}}if(I=Hs(yf(Jf(ce),Z.escapedText,m)),!I&&ce.flags&2097152&&(I=Hs(yf(Jf(hd(ce)),Z.escapedText,m))),!I){if(!D){const Fe=rp(ce),Te=C0(Z),$e=NEe(Z,ce);if($e){pt(Z,F._0_has_no_exported_member_named_1_Did_you_mean_2,Fe,Te,Sr($e));return}const ut=xf(l)&&r6(l);if(Ve&&m&788968&&ut&&!kB(ut.parent)&&jw(ut)){pt(ut,F._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,Mf(ut));return}if(m&1920&&xf(l.parent)){const fi=Hs(yf(Jf(ce),Z.escapedText,788968));if(fi){pt(l.parent.right,F.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,Sr(fi),Qr(l.parent.right.escapedText));return}}pt(Z,F.Namespace_0_has_no_exported_member_1,Fe,Te)}return}}else H.assertNever(l,"Unknown entity name kind.");return H.assert((Wl(I)&1)===0,"Should never get an instantiated symbol here."),!sl(l)&&om(l)&&(I.flags&2097152||l.parent.kind===277)&&kf(V0e(l),I,void 0,!0),I.flags&m||C?I:hd(I)}function Vw(l,m){if(Lge(l.parent)){const D=rF(l.parent);if(D)return nc(D,l.escapedText,m,void 0,l,!0)}}function rF(l){if(Tn(l,A=>P8(A)||A.flags&16777216?K4(A):"quit"))return;const D=c7(l);if(D&&Id(D)&&bj(D.expression)){const A=_u(D.expression.left);if(A)return hC(A)}if(D&&A0(D)&&bj(D.parent)&&Id(D.parent.parent)){const A=_u(D.parent.left);if(A)return hC(A)}if(D&&(Np(D)||Jc(D))&&eu(D.parent.parent)&&Ql(D.parent.parent)===6){const A=_u(D.parent.parent.left);if(A)return hC(A)}const C=rk(l);if(C&&xo(C)){const A=_u(C);return A&&A.valueDeclaration}}function hC(l){const m=l.parent.valueDeclaration;return m?(XN(m)?o7(m):Zy(m)?_j(m):void 0)||m:void 0}function w9(l){const m=l.valueDeclaration;if(!m||!Xn(m)||l.flags&524288||Cv(m,!1))return;const D=ra(m)?_j(m):o7(m);if(D){const C=_m(D);if(C)return tze(C,l)}}function Vh(l,m,D){const A=m1(ae)===1?F.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:F.Cannot_find_module_0_or_its_corresponding_type_declarations;return _3(l,m,D?void 0:A)}function _3(l,m,D,C=!1){return t0(m)?fD(l,m.text,D,m,C):void 0}function fD(l,m,D,C,A=!1){var w,I,U,Z,ce,Fe,Te,$e,ut,zt;if(La(m,"@types/")){const _n=F.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,hu=bN(m,"@types/");pt(C,_n,hu,m)}const fi=yge(m,!0);if(fi)return fi;const Wi=zn(l),cn=t0(l)?l:((w=Tn(l,cm))==null?void 0:w.arguments[0])||((I=Tn(l,Ad))==null?void 0:I.moduleSpecifier)||((U=Tn(l,vv))==null?void 0:U.moduleReference.expression)||((Z=Tn(l,Gc))==null?void 0:Z.moduleSpecifier)||((ce=Ec(l)?l:l.parent&&Ec(l.parent)&&l.parent.name===l?l.parent:void 0)==null?void 0:ce.name)||((Fe=Mx(l)?l:void 0)==null?void 0:Fe.argument.literal),nu=cn&&t0(cn)?_g(Wi,cn):Wi.impliedNodeFormat,En=m1(ae),Ri=(Te=t.getResolvedModule(Wi,m,nu))==null?void 0:Te.resolvedModule,Nn=Ri&&N1e(ae,Ri,Wi),vn=Ri&&(!Nn||Nn===F.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&t.getSourceFile(Ri.resolvedFileName);if(vn){if(Nn&&pt(C,Nn,m,Ri.resolvedFileName),Ri.resolvedUsingTsExtension&&Xd(m)){const _n=(($e=Tn(l,Ad))==null?void 0:$e.importClause)||Tn(l,lg(g1,Gc));(_n&&!_n.isTypeOnly||Tn(l,cm))&&pt(C,F.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,An(H.checkDefined(Oq(m))))}else if(Ri.resolvedUsingTsExtension&&!GB(ae,Wi.fileName)){const _n=((ut=Tn(l,Ad))==null?void 0:ut.importClause)||Tn(l,lg(g1,Gc));if(!(_n!=null&&_n.isTypeOnly||Tn(l,iD))){const hu=H.checkDefined(Oq(m));pt(C,F.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,hu)}}if(vn.symbol){if(Ri.isExternalLibraryImport&&!kP(Ri.extension)&&Db(!1,C,Wi,nu,Ri,m),En===3||En===99){const _n=Wi.impliedNodeFormat===1&&!Tn(l,cm)||!!Tn(l,g1),hu=Tn(l,ro=>iD(ro)||Gc(ro)||Ad(ro));if(_n&&vn.impliedNodeFormat===99&&!bke(hu))if(Tn(l,g1))pt(C,F.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead,m);else{let ro;const mo=e3(Wi.fileName);if(mo===".ts"||mo===".js"||mo===".tsx"||mo===".jsx"){const lo=Wi.packageJsonScope,ka=mo===".ts"?".mts":mo===".js"?".mjs":void 0;lo&&!lo.contents.packageJsonContent.type?ka?ro=no(void 0,F.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,ka,dr(lo.packageDirectory,"package.json")):ro=no(void 0,F.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,dr(lo.packageDirectory,"package.json")):ka?ro=no(void 0,F.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,ka):ro=no(void 0,F.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module)}js.add(Z3(zn(C),C,no(ro,F.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead,m)))}}return Hs(vn.symbol)}D&&pt(C,F.File_0_is_not_a_module,vn.fileName);return}if(d4){const _n=loe(d4,hu=>hu.pattern,m);if(_n){const hu=_1&&_1.get(m);return Hs(hu||_n.symbol)}}if(Ri&&!kP(Ri.extension)&&Nn===void 0||Nn===F.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(A){const _n=F.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;pt(C,_n,m,Ri.resolvedFileName)}else Db(Ae&&!!D,C,Wi,nu,Ri,m);return}if(D){if(Ri){const _n=t.getProjectReferenceRedirect(Ri.resolvedFileName);if(_n){pt(C,F.Output_file_0_has_not_been_built_from_source_file_1,_n,Ri.resolvedFileName);return}}if(Nn)pt(C,Nn,m,Ri.resolvedFileName);else{const _n=am(m)&&!XA(m),hu=En===3||En===99;if(!L2(ae)&&Ml(m,".json")&&En!==1&&Uq(ae))pt(C,F.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,m);else if(nu===99&&hu&&_n){const ro=Ga(m,cr(Wi.path)),mo=(zt=C9.find(([lo,ka])=>t.fileExists(ro+lo)))==null?void 0:zt[1];mo?pt(C,F.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,m+mo):pt(C,F.Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else pt(C,D,m)}}return;function An(_n){const hu=tV(m,_n);if($q(ne)||nu===99){const ro=Xd(m)&&GB(ae);return hu+(_n===".mts"||_n===".d.mts"?ro?".mts":".mjs":_n===".cts"||_n===".d.mts"?ro?".cts":".cjs":ro?".ts":".js")}return hu}}function Db(l,m,D,C,{packageId:A,resolvedFileName:w},I){let U;!Md(I)&&A&&(U=a0e(D,t,I,C,A.name)),p4(l,m,no(U,F.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,I,w))}function Em(l,m){if(l!=null&&l.exports){const D=bc(l.exports.get("export="),m),C=T9(Hs(D),Hs(l));return Hs(C)||l}}function T9(l,m){if(!l||l===Xt||l===m||m.exports.size===1||l.flags&2097152)return l;const D=Ur(l);if(D.cjsExportMerged)return D.cjsExportMerged;const C=l.flags&33554432?l:hb(l);return C.flags=C.flags|512,C.exports===void 0&&(C.exports=Vo()),m.exports.forEach((A,w)=>{w!=="export="&&C.exports.set(w,C.exports.has(w)?ip(C.exports.get(w),A):A)}),C===l&&(Ur(C).resolvedExports=void 0,Ur(C).resolvedMembers=void 0),Ur(C).cjsExportMerged=C,D.cjsExportMerged=C}function a6(l,m,D,C){var A;const w=Em(l,D);if(!D&&w){if(!C&&!(w.flags&1539)&&!Sl(w,312)){const U=ne>=5?"allowSyntheticDefaultImports":"esModuleInterop";return pt(m,F.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,U),w}const I=m.parent;if(Ad(I)&&Z8(I)||cm(I)){const U=cm(I)?I.arguments[0]:I.moduleSpecifier,Z=Gn(w),ce=tmt(Z,w,l,U);if(ce)return Um(w,ce,I);const Fe=(A=l==null?void 0:l.declarations)==null?void 0:A.find(ca),Te=Fe&&sf(Na(U),Fe.impliedNodeFormat);if(XE(ae)||Te){let $e=Dte(Z,0);if((!$e||!$e.length)&&($e=Dte(Z,1)),$e&&$e.length||Uo(Z,"default",!0)||Te){const ut=Z.flags&3670016?imt(Z,w,l,U):ize(w,w.parent);return Um(w,ut,I)}}}}return w}function Um(l,m,D){const C=Vs(l.flags,l.escapedName);C.declarations=l.declarations?l.declarations.slice():[],C.parent=l.parent,C.links.target=l,C.links.originatingImport=D,l.valueDeclaration&&(C.valueDeclaration=l.valueDeclaration),l.constEnumOnlyModule&&(C.constEnumOnlyModule=!0),l.members&&(C.members=new Map(l.members)),l.exports&&(C.exports=new Map(l.exports));const A=kg(m);return C.links.type=Ol(C,A.members,_t,_t,A.indexInfos),C}function xb(l){return l.exports.get("export=")!==void 0}function T5(l){return ZNe(D3(l))}function lz(l){const m=T5(l),D=Em(l);if(D!==l){const C=Gn(D);fC(C)&&yn(m,n0(C))}return m}function L9(l,m){D3(l).forEach((A,w)=>{pC(w)||m(A,w)});const C=Em(l);if(C!==l){const A=Gn(C);fC(A)&&PXt(A,(w,I)=>{m(w,I)})}}function N9(l,m){const D=D3(m);if(D)return D.get(l)}function P9(l,m){const D=N9(l,m);if(D)return D;const C=Em(m);if(C===m)return;const A=Gn(C);return fC(A)?Uo(A,l):void 0}function fC(l){return!(l.flags&402784252||Ju(l)&1||F4(l)||Ds(l))}function Jf(l){return l.flags&6256?LNe(l,"resolvedExports"):l.flags&1536?D3(l):l.exports||se}function D3(l){const m=Ur(l);if(!m.resolvedExports){const{exports:D,typeOnlyExportStarMap:C}=z9(l);m.resolvedExports=D,m.typeOnlyExportStarMap=C}return m.resolvedExports}function M9(l,m,D,C){m&&m.forEach((A,w)=>{if(w==="default")return;const I=l.get(w);if(!I)l.set(w,A),D&&C&&D.set(w,{specifierText:Hc(C.moduleSpecifier)});else if(D&&C&&I&&bc(I)!==bc(A)){const U=D.get(w);U.exportsWithDuplicate?U.exportsWithDuplicate.push(C):U.exportsWithDuplicate=[C]}})}function z9(l){const m=[];let D;const C=new Set;l=Em(l);const A=w(l)||se;return D&&C.forEach(I=>D.delete(I)),{exports:A,typeOnlyExportStarMap:D};function w(I,U,Z){if(!Z&&(I!=null&&I.exports)&&I.exports.forEach((Te,$e)=>C.add($e)),!(I&&I.exports&&xa(m,I)))return;const ce=new Map(I.exports),Fe=I.exports.get("__export");if(Fe){const Te=Vo(),$e=new Map;if(Fe.declarations)for(const ut of Fe.declarations){const zt=Vh(ut,ut.moduleSpecifier),fi=w(zt,ut,Z||ut.isTypeOnly);M9(Te,fi,$e,ut)}$e.forEach(({exportsWithDuplicate:ut},zt)=>{if(!(zt==="export="||!(ut&&ut.length)||ce.has(zt)))for(const fi of ut)js.add(Su(fi,F.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,$e.get(zt).specifierText,Qr(zt)))}),M9(ce,Te)}return U!=null&&U.isTypeOnly&&(D??(D=new Map),ce.forEach((Te,$e)=>D.set($e,U))),ce}}function Hs(l){let m;return l&&l.mergeId&&(m=E9[l.mergeId])?m:l}function _u(l){return Hs(l.symbol&&bge(l.symbol))}function _m(l){return qg(l)?_u(l):void 0}function lf(l){return Hs(l.parent&&bge(l.parent))}function vb(l,m){const D=zn(m),C=$s(D),A=Ur(l);let w;if(A.extendedContainersByFile&&(w=A.extendedContainersByFile.get(C)))return w;if(D&&D.imports){for(const U of D.imports){if(sl(U))continue;const Z=Vh(m,U,!0);!Z||!o6(Z,l)||(w=Ei(w,Z))}if(S(w))return(A.extendedContainersByFile||(A.extendedContainersByFile=new Map)).set(C,w),w}if(A.extendedContainers)return A.extendedContainers;const I=t.getSourceFiles();for(const U of I){if(!Bc(U))continue;const Z=_u(U);o6(Z,l)&&(w=Ei(w,Z))}return A.extendedContainers=w||_t}function Hw(l,m,D){const C=lf(l);if(C&&!(l.flags&262144)){const I=Si(C.declarations,w),U=m&&vb(l,m),Z=mC(C,D);if(m&&C.flags&x3(D)&&gC(C,m,1920,!1))return Ei(an(an([C],I),U),Z);const ce=!(C.flags&x3(D))&&C.flags&788968&&Z0(C).flags&524288&&D===111551?l6(m,Te=>d1(Te,$e=>{if($e.flags&x3(D)&&Gn($e)===Z0(C))return $e})):void 0;let Fe=ce?[ce,...I,C]:[...I,C];return Fe=Ei(Fe,Z),Fe=yn(Fe,U),Fe}const A=Si(l.declarations,I=>{if(!L1(I)&&I.parent){if(Fo(I.parent))return _u(I.parent);if(uE(I.parent)&&I.parent.parent&&Em(_u(I.parent.parent))===l)return _u(I.parent.parent)}if(Qd(I)&&eu(I.parent)&&I.parent.operatorToken.kind===64&&M0(I.parent.left)&&Xl(I.parent.left.expression))return Z_(I.parent.left)||ik(I.parent.left.expression)?_u(zn(I)):(Ic(I.parent.left.expression),or(I.parent.left.expression).resolvedSymbol)});if(!S(A))return;return Si(A,I=>o6(I,l)?I:void 0);function w(I){return C&&Cb(I,C)}}function mC(l,m){const D=!!S(l.declarations)&&Pn(l.declarations);if(m&111551&&D&&D.parent&&ra(D.parent)&&(bs(D)&&D===D.parent.initializer||hm(D)&&D===D.parent.type))return _u(D.parent)}function Cb(l,m){const D=br(l),C=D&&D.exports&&D.exports.get("export=");return C&&qm(C,m)?D:void 0}function o6(l,m){if(l===lf(m))return m;const D=l.exports&&l.exports.get("export=");if(D&&qm(D,m))return l;const C=Jf(l),A=C.get(m.escapedName);return A&&qm(A,m)?A:d1(C,w=>{if(qm(w,m))return w})}function qm(l,m){if(Hs(bc(Hs(l)))===Hs(bc(Hs(m))))return l}function ap(l){return Hs(l&&(l.flags&1048576)!==0&&l.exportSymbol||l)}function s6(l,m){return!!(l.flags&111551||l.flags&2097152&&R1(l,!m)&111551)}function Gp(l){const m=l.members;for(const D of m)if(D.kind===176&&j4(D.body))return D}function op(l){var m;const D=new b(Pi,l);return k++,D.id=k,(m=Jn)==null||m.recordType(D),D}function L5(l,m){const D=op(l);return D.symbol=m,D}function bb(l){return new b(Pi,l)}function Nc(l,m,D=0,C){cz(m,C);const A=op(l);return A.intrinsicName=m,A.debugIntrinsicName=C,A.objectFlags=D|524288|2097152|33554432|16777216,A}function cz(l,m){const D=`${l},${m??""}`;ii.has(D)&&H.fail(`Duplicate intrinsic type name ${l}${m?` (${m})`:""}; you may need to pass a name to createIntrinsicType.`),ii.add(D)}function _4(l,m){const D=L5(524288,m);return D.objectFlags=l,D.members=void 0,D.properties=void 0,D.callSignatures=void 0,D.constructSignatures=void 0,D.indexInfos=void 0,D}function Kw(){return tr(ga(jde.keys(),cf))}function O1(l){return L5(262144,l)}function pC(l){return l.charCodeAt(0)===95&&l.charCodeAt(1)===95&&l.charCodeAt(2)!==95&&l.charCodeAt(2)!==64&&l.charCodeAt(2)!==35}function yb(l){let m;return l.forEach((D,C)=>{aF(D,C)&&(m||(m=[])).push(D)}),m||_t}function aF(l,m){return!pC(m)&&s6(l)}function Ww(l){const m=yb(l),D=Age(l);return D?an(m,[D]):m}function D4(l,m,D,C,A){const w=l;return w.members=m,w.properties=_t,w.callSignatures=D,w.constructSignatures=C,w.indexInfos=A,m!==se&&(w.properties=yb(m)),w}function Ol(l,m,D,C,A){return D4(_4(16,l),m,D,C,A)}function DE(l){if(l.constructSignatures.length===0)return l;if(l.objectTypeWithoutAbstractConstructSignatures)return l.objectTypeWithoutAbstractConstructSignatures;const m=ei(l.constructSignatures,C=>!(C.flags&4));if(l.constructSignatures===m)return l;const D=Ol(l.symbol,l.members,l.callSignatures,Ge(m)?m:_t,l.indexInfos);return l.objectTypeWithoutAbstractConstructSignatures=D,D.objectTypeWithoutAbstractConstructSignatures=D,D}function l6(l,m){let D;for(let C=l;C;C=C.parent){if($E(C)&&C.locals&&!mE(C)&&(D=m(C.locals,void 0,!0,C)))return D;switch(C.kind){case 312:if(!lm(C))break;case 267:const A=_u(C);if(D=m((A==null?void 0:A.exports)||se,void 0,!0,C))return D;break;case 263:case 231:case 264:let w;if((_u(C).members||se).forEach((I,U)=>{I.flags&788968&&(w||(w=Vo())).set(U,I)}),w&&(D=m(w,void 0,!1,C)))return D;break}}return m(Ie,void 0,!0)}function x3(l){return l===111551?111551:1920}function gC(l,m,D,C,A=new Map){if(!(l&&!c6(l)))return;const w=Ur(l),I=w.accessibleChainCache||(w.accessibleChainCache=new Map),U=l6(m,(cn,nu,En,Ri)=>Ri),Z=`${C?0:1}|${U&&$s(U)}|${D}`;if(I.has(Z))return I.get(Z);const ce=Zo(l);let Fe=A.get(ce);Fe||A.set(ce,Fe=[]);const Te=l6(m,$e);return I.set(Z,Te),Te;function $e(cn,nu,En){if(!xa(Fe,cn))return;const Ri=fi(cn,nu,En);return Fe.pop(),Ri}function ut(cn,nu){return!Gw(cn,m,nu)||!!gC(cn.parent,m,x3(nu),C,A)}function zt(cn,nu,En){return(l===(nu||cn)||Hs(l)===Hs(nu||cn))&&!Ge(cn.declarations,Fo)&&(En||ut(Hs(cn),D))}function fi(cn,nu,En){return zt(cn.get(l.escapedName),void 0,nu)?[l]:d1(cn,Nn=>{if(Nn.flags&2097152&&Nn.escapedName!=="export="&&Nn.escapedName!=="default"&&!(Kq(Nn)&&m&&Bc(zn(m)))&&(!C||Ge(Nn.declarations,vv))&&(!En||!Ge(Nn.declarations,eye))&&(nu||!Sl(Nn,281))){const vn=hd(Nn),An=Wi(Nn,vn,nu);if(An)return An}if(Nn.escapedName===l.escapedName&&Nn.exportSymbol&&zt(Hs(Nn.exportSymbol),void 0,nu))return[l]})||(cn===Ie?Wi(St,St,nu):void 0)}function Wi(cn,nu,En){if(zt(cn,nu,En))return[cn];const Ri=Jf(nu),Nn=Ri&&$e(Ri,!0);if(Nn&&ut(cn,x3(D)))return[cn].concat(Nn)}}function Gw(l,m,D){let C=!1;return l6(m,A=>{let w=Hs(A.get(l.escapedName));if(!w)return!1;if(w===l)return!0;const I=w.flags&2097152&&!Sl(w,281);return w=I?hd(w):w,(I?R1(w):w.flags)&D?(C=!0,!0):!1}),C}function c6(l){if(l.declarations&&l.declarations.length){for(const m of l.declarations)switch(m.kind){case 172:case 174:case 177:case 178:continue;default:return!1}return!0}return!1}function O(l,m){return $r(l,m,788968,!1,!0).accessibility===0}function be(l,m){return $r(l,m,111551,!1,!0).accessibility===0}function Vt(l,m,D){return $r(l,m,D,!1,!1).accessibility===0}function ji(l,m,D,C,A,w){if(!S(l))return;let I,U=!1;for(const Z of l){const ce=gC(Z,m,C,!1);if(ce){I=Z;const $e=Ff(ce[0],A);if($e)return $e}if(w&&Ge(Z.declarations,Fo)){if(A){U=!0;continue}return{accessibility:0}}const Fe=Hw(Z,m,C),Te=ji(Fe,m,D,D===Z?x3(C):C,A,w);if(Te)return Te}if(U)return{accessibility:0};if(I)return{accessibility:1,errorSymbolName:Sr(D,m,C),errorModuleName:I!==D?Sr(I,m,1920):void 0}}function yu(l,m,D,C){return $r(l,m,D,C,!0)}function $r(l,m,D,C,A){if(l&&m){const w=ji([l],m,l,D,C,A);if(w)return w;const I=L(l.declarations,br);if(I){const U=br(m);if(I!==U)return{accessibility:2,errorSymbolName:Sr(l,m,D),errorModuleName:Sr(I),errorNode:Xn(m)?m:void 0}}return{accessibility:1,errorSymbolName:Sr(l,m,D)}}return{accessibility:0}}function br(l){const m=Tn(l,Ea);return m&&_u(m)}function Ea(l){return L1(l)||l.kind===312&&lm(l)}function Fo(l){return YU(l)||l.kind===312&&lm(l)}function Ff(l,m){let D;if(!ye(ei(l.declarations,w=>w.kind!==80),C))return;return{accessibility:0,aliasesToMakeVisible:D};function C(w){var I,U;if(!mD(w)){const Z=k9(w);if(Z&&!Qu(Z,32)&&mD(Z.parent))return A(w,Z);if(ra(w)&&Gl(w.parent.parent)&&!Qu(w.parent.parent,32)&&mD(w.parent.parent.parent))return A(w,w.parent.parent);if(QU(w)&&!Qu(w,32)&&mD(w.parent))return A(w,w);if(Os(w)){if(l.flags&2097152&&Xn(w)&&((I=w.parent)!=null&&I.parent)&&ra(w.parent.parent)&&((U=w.parent.parent.parent)!=null&&U.parent)&&Gl(w.parent.parent.parent.parent)&&!Qu(w.parent.parent.parent.parent,32)&&w.parent.parent.parent.parent.parent&&mD(w.parent.parent.parent.parent.parent))return A(w,w.parent.parent.parent.parent);if(l.flags&2){const ce=Tn(w,Gl);return Qu(ce,32)?!0:mD(ce.parent)?A(w,ce):!1}}return!1}return!0}function A(w,I){return m&&(or(w).isVisible=!0,D=e0(D,I)),!0}}function $f(l,m){let D;l.parent.kind===186||l.parent.kind===233&&!U_(l.parent)||l.parent.kind===167?D=1160127:l.kind===166||l.kind===211||l.parent.kind===271?D=1920:D=788968;const C=dm(l),A=nc(m,C.escapedText,D,void 0,void 0,!1);return A&&A.flags&262144&&D&788968?{accessibility:0}:!A&&w2(C)&&yu(_u(ef(C,!1,!1)),C,D,!1).accessibility===0?{accessibility:0}:A&&Ff(A,!0)||{accessibility:1,errorSymbolName:Hc(C),errorNode:C}}function Sr(l,m,D,C=4,A){let w=70221824;C&2&&(w|=128),C&1&&(w|=512),C&8&&(w|=16384),C&32&&(w|=134217728),C&16&&(w|=1073741824);const I=C&4?Yt.symbolToNode:Yt.symbolToEntityName;return A?U(A).getText():WN(U);function U(Z){const ce=I(l,D,m,w),Fe=(m==null?void 0:m.kind)===312?f1e():Z2(),Te=m&&zn(m);return Fe.writeNode(4,ce,Te,Z),Z}}function xE(l,m,D=0,C,A){return A?w(A).getText():WN(w);function w(I){let U;D&262144?U=C===1?185:184:U=C===1?180:179;const Z=Yt.signatureToSignatureDeclaration(l,U,m,EC(D)|70221824|512),ce=pH(),Fe=m&&zn(m);return ce.writeNode(4,Z,Fe,X0e(I)),I}}function gn(l,m,D=1064960,C=Oj("")){const A=ae.noErrorTruncation||D&1,w=Yt.typeToTypeNode(l,m,EC(D)|70221824|(A?1:0));if(w===void 0)return H.fail("should always get typenode");const I=l!==pi?Z2():h1e(),U=m&&zn(m);I.writeNode(4,w,U,C);const Z=C.getText(),ce=A?pZ*2:oV*2;return ce&&Z&&Z.length>=ce?Z.substr(0,ce-3)+"...":Z}function d6(l,m){let D=oF(l.symbol)?gn(l,l.symbol.valueDeclaration):gn(l),C=oF(m.symbol)?gn(m,m.symbol.valueDeclaration):gn(m);return D===C&&(D=N5(l),C=N5(m)),[D,C]}function N5(l){return gn(l,void 0,64)}function oF(l){return l&&!!l.valueDeclaration&&Wt(l.valueDeclaration)&&!y4(l.valueDeclaration)}function EC(l=0){return l&848330091}function I9(l){return!!l.symbol&&!!(l.symbol.flags&32)&&(l===C4(l.symbol)||!!(l.flags&524288)&&!!(Ju(l)&16777216))}function sF(){return{typeToTypeNode:(At,ze,Qn,Fu)=>m(ze,Qn,Fu,Dr=>C(At,Dr)),indexInfoToIndexSignatureDeclaration:(At,ze,Qn,Fu)=>m(ze,Qn,Fu,Dr=>Fe(At,Dr,void 0)),signatureToSignatureDeclaration:(At,ze,Qn,Fu,Dr)=>m(Qn,Fu,Dr,pr=>Te(At,ze,pr)),symbolToEntityName:(At,ze,Qn,Fu,Dr)=>m(Qn,Fu,Dr,pr=>ka(At,pr,ze,!1)),symbolToExpression:(At,ze,Qn,Fu,Dr)=>m(Qn,Fu,Dr,pr=>rh(At,pr,ze)),symbolToTypeParameterDeclarations:(At,ze,Qn,Fu)=>m(ze,Qn,Fu,Dr=>Nn(At,Dr)),symbolToParameterDeclaration:(At,ze,Qn,Fu)=>m(ze,Qn,Fu,Dr=>Wi(At,Dr)),typeParameterToDeclaration:(At,ze,Qn,Fu)=>m(ze,Qn,Fu,Dr=>zt(At,Dr)),symbolTableToDeclarationStatements:(At,ze,Qn,Fu,Dr)=>m(ze,Qn,Fu,pr=>Cm(At,pr,Dr)),symbolToNode:(At,ze,Qn,Fu,Dr)=>m(Qn,Fu,Dr,pr=>l(At,pr,ze))};function l(At,ze,Qn){if(ze.flags&1073741824){if(At.valueDeclaration){const Dr=$a(At.valueDeclaration);if(Dr&&Ns(Dr))return Dr}const Fu=Ur(At).nameType;if(Fu&&Fu.flags&9216)return ze.enclosingDeclaration=Fu.symbol.valueDeclaration,q.createComputedPropertyName(rh(Fu.symbol,ze,Qn))}return rh(At,ze,Qn)}function m(At,ze,Qn,Fu){H.assert(At===void 0||(At.flags&16)===0);const Dr=Qn!=null&&Qn.trackSymbol?Qn.moduleResolverHost:ze&134217728?bPt(t):void 0,pr={enclosingDeclaration:At,flags:ze||0,tracker:void 0,encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0,trackedSymbols:void 0};pr.tracker=new Vde(pr,Qn,Dr);const zr=Fu(pr);return pr.truncating&&pr.flags&1&&pr.tracker.reportTruncationError(),pr.encounteredError?void 0:zr}function D(At){return At.truncating?At.truncating:At.truncating=At.approximateLength>(At.flags&1?pZ:oV)}function C(At,ze){const Qn=ze.flags,Fu=A(At,ze);return ze.flags=Qn,Fu}function A(At,ze){var Qn,Fu;d&&d.throwIfCancellationRequested&&d.throwIfCancellationRequested();const Dr=ze.flags&8388608;if(ze.flags&=-8388609,!At){if(!(ze.flags&262144)){ze.encounteredError=!0;return}return ze.approximateLength+=3,q.createKeywordTypeNode(133)}if(ze.flags&536870912||(At=Fg(At)),At.flags&1)return At.aliasSymbol?q.createTypeReferenceNode(hu(At.aliasSymbol),Z(At.aliasTypeArguments,ze)):At===pi?RP(q.createKeywordTypeNode(133),3,"unresolved"):(ze.approximateLength+=3,q.createKeywordTypeNode(At===Yi?141:133));if(At.flags&2)return q.createKeywordTypeNode(159);if(At.flags&4)return ze.approximateLength+=6,q.createKeywordTypeNode(154);if(At.flags&8)return ze.approximateLength+=6,q.createKeywordTypeNode(150);if(At.flags&64)return ze.approximateLength+=6,q.createKeywordTypeNode(163);if(At.flags&16&&!At.aliasSymbol)return ze.approximateLength+=7,q.createKeywordTypeNode(136);if(At.flags&1056){if(At.symbol.flags&8){const pn=lf(At.symbol),sr=ro(pn,ze,788968);if(Z0(pn)===At)return sr;const qr=sc(At.symbol);return Tm(qr,0)?Gr(sr,q.createTypeReferenceNode(qr,void 0)):iD(sr)?(sr.isTypeOf=!0,q.createIndexedAccessTypeNode(sr,q.createLiteralTypeNode(q.createStringLiteral(qr)))):Y4(sr)?q.createIndexedAccessTypeNode(q.createTypeQueryNode(sr.typeName),q.createLiteralTypeNode(q.createStringLiteral(qr))):H.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}return ro(At.symbol,ze,788968)}if(At.flags&128)return ze.approximateLength+=At.value.length+2,q.createLiteralTypeNode(Yn(q.createStringLiteral(At.value,!!(ze.flags&268435456)),16777216));if(At.flags&256){const pn=At.value;return ze.approximateLength+=(""+pn).length,q.createLiteralTypeNode(pn<0?q.createPrefixUnaryExpression(41,q.createNumericLiteral(-pn)):q.createNumericLiteral(pn))}if(At.flags&2048)return ze.approximateLength+=P2(At.value).length+1,q.createLiteralTypeNode(q.createBigIntLiteral(At.value));if(At.flags&512)return ze.approximateLength+=At.intrinsicName.length,q.createLiteralTypeNode(At.intrinsicName==="true"?q.createTrue():q.createFalse());if(At.flags&8192){if(!(ze.flags&1048576)){if(be(At.symbol,ze.enclosingDeclaration))return ze.approximateLength+=6,ro(At.symbol,ze,111551);ze.tracker.reportInaccessibleUniqueSymbolError&&ze.tracker.reportInaccessibleUniqueSymbolError()}return ze.approximateLength+=13,q.createTypeOperatorNode(158,q.createKeywordTypeNode(155))}if(At.flags&16384)return ze.approximateLength+=4,q.createKeywordTypeNode(116);if(At.flags&32768)return ze.approximateLength+=9,q.createKeywordTypeNode(157);if(At.flags&65536)return ze.approximateLength+=4,q.createLiteralTypeNode(q.createNull());if(At.flags&131072)return ze.approximateLength+=5,q.createKeywordTypeNode(146);if(At.flags&4096)return ze.approximateLength+=6,q.createKeywordTypeNode(155);if(At.flags&67108864)return ze.approximateLength+=6,q.createKeywordTypeNode(151);if(LP(At))return ze.flags&4194304&&(!ze.encounteredError&&!(ze.flags&32768)&&(ze.encounteredError=!0),(Fu=(Qn=ze.tracker).reportInaccessibleThisError)==null||Fu.call(Qn)),ze.approximateLength+=4,q.createThisTypeNode();if(!Dr&&At.aliasSymbol&&(ze.flags&16384||O(At.aliasSymbol,ze.enclosingDeclaration))){const pn=Z(At.aliasTypeArguments,ze);return pC(At.aliasSymbol.escapedName)&&!(At.aliasSymbol.flags&32)?q.createTypeReferenceNode(q.createIdentifier(""),pn):S(pn)===1&&At.aliasSymbol===ko.symbol?q.createArrayTypeNode(pn[0]):ro(At.aliasSymbol,ze,788968,pn)}const pr=Ju(At);if(pr&4)return H.assert(!!(At.flags&524288)),At.node?Ci(At,mn):mn(At);if(At.flags&262144||pr&3){if(At.flags&262144&&Ft(ze.inferTypeParameters,At)){ze.approximateLength+=sc(At.symbol).length+6;let sr;const qr=uh(At);if(qr){const wa=Pdt(At,!0);wa&&vD(qr,wa)||(ze.approximateLength+=9,sr=qr&&C(qr,ze))}return q.createInferTypeNode(ut(At,ze,sr))}if(ze.flags&4&&At.flags&262144&&!O(At.symbol,ze.enclosingDeclaration)){const sr=lo(At,ze);return ze.approximateLength+=fu(sr).length,q.createTypeReferenceNode(q.createIdentifier(fu(sr)),void 0)}if(At.symbol)return ro(At.symbol,ze,788968);const pn=(At===$||At===tt)&&Y&&Y.symbol?(At===tt?"sub-":"super-")+sc(Y.symbol):"?";return q.createTypeReferenceNode(q.createIdentifier(pn),void 0)}if(At.flags&1048576&&At.origin&&(At=At.origin),At.flags&3145728){const pn=At.flags&1048576?P5(At.types):At.types;if(S(pn)===1)return C(pn[0],ze);const sr=Z(pn,ze,!0);if(sr&&sr.length>0)return At.flags&1048576?q.createUnionTypeNode(sr):q.createIntersectionTypeNode(sr);!ze.encounteredError&&!(ze.flags&262144)&&(ze.encounteredError=!0);return}if(pr&48)return H.assert(!!(At.flags&524288)),Gi(At);if(At.flags&4194304){const pn=At.type;ze.approximateLength+=6;const sr=C(pn,ze);return q.createTypeOperatorNode(143,sr)}if(At.flags&134217728){const pn=At.texts,sr=At.types,qr=q.createTemplateHead(pn[0]),wa=q.createNodeArray(Kt(sr,(cs,fd)=>q.createTemplateLiteralTypeSpan(C(cs,ze),(fdzr(pn));if(At.flags&33554432)return C(At.baseType,ze);return H.fail("Should be unreachable.");function zr(pn){const sr=C(pn.checkType,ze);if(ze.approximateLength+=15,ze.flags&4&&pn.root.isDistributive&&!(pn.checkType.flags&262144)){const bl=O1(Vs(262144,"T")),fl=lo(bl,ze),V1=q.createTypeReferenceNode(fl);ze.approximateLength+=37;const yl=q9(pn.root.checkType,bl,pn.mapper),kt=ze.inferTypeParameters;ze.inferTypeParameters=pn.root.inferTypeParameters;const $t=C(_a(pn.root.extendsType,yl),ze);ze.inferTypeParameters=kt;const zi=Ru(_a(Br(pn.root.node.trueType),yl)),Bn=Ru(_a(Br(pn.root.node.falseType),yl));return q.createConditionalTypeNode(sr,q.createInferTypeNode(q.createTypeParameterDeclaration(void 0,q.cloneNode(V1.typeName))),q.createConditionalTypeNode(q.createTypeReferenceNode(q.cloneNode(fl)),C(pn.checkType,ze),q.createConditionalTypeNode(V1,$t,zi,Bn),q.createKeywordTypeNode(146)),q.createKeywordTypeNode(146))}const qr=ze.inferTypeParameters;ze.inferTypeParameters=pn.root.inferTypeParameters;const wa=C(pn.extendsType,ze);ze.inferTypeParameters=qr;const cs=Ru(FC(pn)),fd=Ru(AC(pn));return q.createConditionalTypeNode(sr,wa,cs,fd)}function Ru(pn){var sr,qr,wa;return pn.flags&1048576?(sr=ze.visitedTypes)!=null&&sr.has(kh(pn))?(ze.flags&131072||(ze.encounteredError=!0,(wa=(qr=ze.tracker)==null?void 0:qr.reportCyclicStructureError)==null||wa.call(qr)),w(ze)):Ci(pn,cs=>C(cs,ze)):C(pn,ze)}function xu(pn){return!!Gge(pn)}function Tt(pn){return!!pn.target&&xu(pn.target)&&!xu(pn)}function oi(pn){var sr;H.assert(!!(pn.flags&524288));const qr=pn.declaration.readonlyToken?q.createToken(pn.declaration.readonlyToken.kind):void 0,wa=pn.declaration.questionToken?q.createToken(pn.declaration.questionToken.kind):void 0;let cs,fd;const bl=!XK(pn)&&!(V9(pn).flags&2)&&ze.flags&4&&!(sp(pn).flags&262144&&((sr=uh(sp(pn)))==null?void 0:sr.flags)&4194304);if(XK(pn)){if(Tt(pn)&&ze.flags&4){const zi=O1(Vs(262144,"T")),Bn=lo(zi,ze);fd=q.createTypeReferenceNode(Bn)}cs=q.createTypeOperatorNode(143,fd||C(V9(pn),ze))}else if(bl){const zi=O1(Vs(262144,"T")),Bn=lo(zi,ze);fd=q.createTypeReferenceNode(Bn),cs=fd}else cs=C(sp(pn),ze);const fl=ut(yg(pn),ze,cs),V1=pn.declaration.nameType?C(z5(pn),ze):void 0,yl=C(S6(_D(pn),!!(v_(pn)&4)),ze),kt=q.createMappedTypeNode(qr,fl,V1,wa,yl,void 0);ze.approximateLength+=10;const $t=Yn(kt,1);if(Tt(pn)&&ze.flags&4){const zi=_a(uh(Br(pn.declaration.typeParameter.constraint.type))||on,pn.mapper);return q.createConditionalTypeNode(C(V9(pn),ze),q.createInferTypeNode(q.createTypeParameterDeclaration(void 0,q.cloneNode(fd.typeName),zi.flags&2?void 0:C(zi,ze))),$t,q.createKeywordTypeNode(146))}else if(bl)return q.createConditionalTypeNode(C(sp(pn),ze),q.createInferTypeNode(q.createTypeParameterDeclaration(void 0,q.cloneNode(fd.typeName),q.createTypeOperatorNode(143,C(V9(pn),ze)))),$t,q.createKeywordTypeNode(146));return $t}function Gi(pn){var sr,qr;const wa=pn.id,cs=pn.symbol;if(cs){const bl=I9(pn)?788968:111551;if(FE(cs.valueDeclaration))return ro(cs,ze,bl);if(cs.flags&32&&!dF(cs)&&!(cs.valueDeclaration&&gr(cs.valueDeclaration)&&ze.flags&2048&&(!Wc(cs.valueDeclaration)||yu(cs,ze.enclosingDeclaration,bl,!1).accessibility!==0))||cs.flags&896||fd())return ro(cs,ze,bl);if((sr=ze.visitedTypes)!=null&&sr.has(wa)){const fl=Jw(pn);return fl?ro(fl,ze,788968):w(ze)}else return Ci(pn,Ji)}else{if(!!(Ju(pn)&8388608)){const fl=pn;if(vB(fl.node)){const V1=Y0(ze,fl.node);if(V1)return V1}return(qr=ze.visitedTypes)!=null&&qr.has(wa)?w(ze):Ci(pn,Ji)}return Ji(pn)}function fd(){var bl;const fl=!!(cs.flags&8192)&&Ge(cs.declarations,yl=>Lo(yl)),V1=!!(cs.flags&16)&&(cs.parent||L(cs.declarations,yl=>yl.parent.kind===312||yl.parent.kind===268));if(fl||V1)return(!!(ze.flags&4096)||((bl=ze.visitedTypes)==null?void 0:bl.has(wa)))&&(!(ze.flags&8)||be(cs,ze.enclosingDeclaration))}}function Ci(pn,sr){var qr,wa,cs;const fd=pn.id,bl=Ju(pn)&16&&pn.symbol&&pn.symbol.flags&32,fl=Ju(pn)&4&&pn.node?"N"+$s(pn.node):pn.flags&16777216?"N"+$s(pn.root.node):pn.symbol?(bl?"+":"")+Zo(pn.symbol):void 0;ze.visitedTypes||(ze.visitedTypes=new Set),fl&&!ze.symbolDepth&&(ze.symbolDepth=new Map);const V1=ze.enclosingDeclaration&&or(ze.enclosingDeclaration),yl=`${kh(pn)}|${ze.flags}`;V1&&(V1.serializedTypes||(V1.serializedTypes=new Map));const kt=(qr=V1==null?void 0:V1.serializedTypes)==null?void 0:qr.get(yl);if(kt)return(wa=kt.trackedSymbols)==null||wa.forEach(([Tr,qa,Ro])=>ze.tracker.trackSymbol(Tr,qa,Ro)),kt.truncating&&(ze.truncating=!0),ze.approximateLength+=kt.addedLength,lu(kt.node);let $t;if(fl){if($t=ze.symbolDepth.get(fl)||0,$t>10)return w(ze);ze.symbolDepth.set(fl,$t+1)}ze.visitedTypes.add(fd);const zi=ze.trackedSymbols;ze.trackedSymbols=void 0;const Bn=ze.approximateLength,Du=sr(pn),nn=ze.approximateLength-Bn;return!ze.reportedDiagnostic&&!ze.encounteredError&&((cs=V1==null?void 0:V1.serializedTypes)==null||cs.set(yl,{node:Du,truncating:ze.truncating,addedLength:nn,trackedSymbols:ze.trackedSymbols})),ze.visitedTypes.delete(fd),fl&&ze.symbolDepth.set(fl,$t),ze.trackedSymbols=zi,Du;function lu(Tr){return!sl(Tr)&&Ja(Tr)===Tr?Tr:Pt(q.cloneNode(un(Tr,lu,Eg,xr)),Tr)}function xr(Tr,qa,Ro,Wo,vr){return Tr&&Tr.length===0?Pt(q.createNodeArray(void 0,Tr.hasTrailingComma),Tr):kn(Tr,qa,Ro,Wo,vr)}}function Ji(pn){if(Qm(pn)||pn.containsError)return oi(pn);const sr=kg(pn);if(!sr.properties.length&&!sr.indexInfos.length){if(!sr.callSignatures.length&&!sr.constructSignatures.length)return ze.approximateLength+=2,Yn(q.createTypeLiteralNode(void 0),1);if(sr.callSignatures.length===1&&!sr.constructSignatures.length){const bl=sr.callSignatures[0];return Te(bl,184,ze)}if(sr.constructSignatures.length===1&&!sr.callSignatures.length){const bl=sr.constructSignatures[0];return Te(bl,185,ze)}}const qr=ei(sr.constructSignatures,bl=>!!(bl.flags&4));if(Ge(qr)){const bl=Kt(qr,EF);return sr.callSignatures.length+(sr.constructSignatures.length-qr.length)+sr.indexInfos.length+(ze.flags&2048?ui(sr.properties,V1=>!(V1.flags&4194304)):S(sr.properties))&&bl.push(DE(sr)),C(_s(bl),ze)}const wa=ze.flags;ze.flags|=4194304;const cs=po(sr);ze.flags=wa;const fd=q.createTypeLiteralNode(cs);return ze.approximateLength+=2,Yn(fd,ze.flags&1024?0:1),fd}function mn(pn){let sr=I0(pn);if(pn.target===ko||pn.target===wo){if(ze.flags&2){const cs=C(sr[0],ze);return q.createTypeReferenceNode(pn.target===ko?"Array":"ReadonlyArray",[cs])}const qr=C(sr[0],ze),wa=q.createArrayTypeNode(qr);return pn.target===ko?wa:q.createTypeOperatorNode(148,wa)}else if(pn.target.objectFlags&8){if(sr=Pu(sr,(qr,wa)=>S6(qr,!!(pn.target.elementFlags[wa]&2))),sr.length>0){const qr=R5(pn),wa=Z(sr.slice(0,qr),ze);if(wa){const{labeledElementDeclarations:cs}=pn.target;for(let bl=0;bl0){const V1=(pn.target.typeParameters||_t).length;fd=Z(sr.slice(wa,V1),ze)}const bl=ze.flags;ze.flags|=16;const fl=ro(pn.symbol,ze,788968,fd);return ze.flags=bl,cs?Gr(cs,fl):fl}}}function Gr(pn,sr){if(iD(pn)){let qr=pn.typeArguments,wa=pn.qualifier;wa&&(at(wa)?qr!==mk(wa)&&(wa=s5(q.cloneNode(wa),qr)):qr!==mk(wa.right)&&(wa=q.updateQualifiedName(wa,wa.left,s5(q.cloneNode(wa.right),qr)))),qr=sr.typeArguments;const cs=ku(sr);for(const fd of cs)wa=wa?q.createQualifiedName(wa,fd):fd;return q.updateImportTypeNode(pn,pn.argument,pn.attributes,wa,qr,pn.isTypeOf)}else{let qr=pn.typeArguments,wa=pn.typeName;at(wa)?qr!==mk(wa)&&(wa=s5(q.cloneNode(wa),qr)):qr!==mk(wa.right)&&(wa=q.updateQualifiedName(wa,wa.left,s5(q.cloneNode(wa.right),qr))),qr=sr.typeArguments;const cs=ku(sr);for(const fd of cs)wa=q.createQualifiedName(wa,fd);return q.updateTypeReferenceNode(pn,wa,qr)}}function ku(pn){let sr=pn.typeName;const qr=[];for(;!at(sr);)qr.unshift(sr.right),sr=sr.left;return qr.unshift(sr),qr}function po(pn){if(D(ze))return[q.createPropertySignature(void 0,"...",void 0,void 0)];const sr=[];for(const cs of pn.callSignatures)sr.push(Te(cs,179,ze));for(const cs of pn.constructSignatures)cs.flags&4||sr.push(Te(cs,180,ze));for(const cs of pn.indexInfos)sr.push(Fe(cs,ze,pn.objectFlags&1024?w(ze):void 0));const qr=pn.properties;if(!qr)return sr;let wa=0;for(const cs of qr){if(wa++,ze.flags&2048){if(cs.flags&4194304)continue;s4(cs)&6&&ze.tracker.reportPrivateInBaseOfClassExpression&&ze.tracker.reportPrivateInBaseOfClassExpression(Qr(cs.escapedName))}if(D(ze)&&wa+2!(mn.flags&32768)),0);for(const mn of Ji){const Gr=Te(mn,173,ze,{name:Ru,questionToken:xu});Qn.push(Ci(Gr))}if(Ji.length||!xu)return}let Tt;I(At,ze)?Tt=w(ze):(Dr&&(ze.reverseMappedStack||(ze.reverseMappedStack=[]),ze.reverseMappedStack.push(At)),Tt=pr?rd(ze,pr,At,zr):q.createKeywordTypeNode(133),Dr&&ze.reverseMappedStack.pop());const oi=Tg(At)?[q.createToken(148)]:void 0;oi&&(ze.approximateLength+=9);const Gi=q.createPropertySignature(oi,Ru,xu,Tt);Qn.push(Ci(Gi));function Ci(Ji){var mn;const Gr=(mn=At.declarations)==null?void 0:mn.find(ku=>ku.kind===355);if(Gr){const ku=VO(Gr.comment);ku&&Tv(Ji,[{kind:3,text:`* + * `+ku.replace(/\n/g,` + * `)+` + `,pos:-1,end:-1,hasTrailingNewLine:!0}])}else At.valueDeclaration&&Sc(Ji,At.valueDeclaration);return Ji}}function Z(At,ze,Qn){if(Ge(At)){if(D(ze))if(Qn){if(At.length>2)return[C(At[0],ze),q.createTypeReferenceNode(`... ${At.length-2} more ...`,void 0),C(At[At.length-1],ze)]}else return[q.createTypeReferenceNode("...",void 0)];const Dr=!(ze.flags&64)?Bm():void 0,pr=[];let zr=0;for(const Ru of At){if(zr++,D(ze)&&zr+2{if(!pke(xu,([Tt],[oi])=>ce(Tt,oi)))for(const[Tt,oi]of xu)pr[oi]=C(Tt,ze)}),ze.flags=Ru}return pr}}function ce(At,ze){return At===ze||!!At.symbol&&At.symbol===ze.symbol||!!At.aliasSymbol&&At.aliasSymbol===ze.aliasSymbol}function Fe(At,ze,Qn){const Fu=zbe(At)||"x",Dr=C(At.keyType,ze),pr=q.createParameterDeclaration(void 0,void 0,Fu,void 0,Dr,void 0);return Qn||(Qn=C(At.type||me,ze)),!At.type&&!(ze.flags&2097152)&&(ze.encounteredError=!0),ze.approximateLength+=Fu.length+4,q.createIndexSignature(At.isReadonly?[q.createToken(148)]:void 0,[pr],Qn)}function Te(At,ze,Qn,Fu){var Dr;const pr=Qn.flags&256;pr&&(Qn.flags&=-257),Qn.approximateLength+=3;let zr,Ru;Qn.flags&32&&At.target&&At.mapper&&At.target.typeParameters?Ru=At.target.typeParameters.map(ku=>C(_a(ku,At.mapper),Qn)):zr=At.typeParameters&&At.typeParameters.map(ku=>zt(ku,Qn));const xu=cdt(At,!0)[0];let Tt;if(Qn.enclosingDeclaration&&At.declaration&&At.declaration!==Qn.enclosingDeclaration&&!Xn(At.declaration)&&Ge(xu)){const ku=or(Qn.enclosingDeclaration).fakeScopeForSignatureDeclaration?Qn.enclosingDeclaration:void 0;H.assertOptionalNode(ku,ho);const po=(ku==null?void 0:ku.locals)??Vo();let pn;for(const sr of xu)po.has(sr.escapedName)||(pn=Ei(pn,sr.escapedName),po.set(sr.escapedName,sr));if(pn){let sr=function(){L(pn,qr=>po.delete(qr))};if(ku)Tt=sr;else{const qr=r_.createBlock(_t);or(qr).fakeScopeForSignatureDeclaration=!0,qr.locals=po;const wa=Qn.enclosingDeclaration;ys(qr,wa),Qn.enclosingDeclaration=qr,Tt=()=>{Qn.enclosingDeclaration=wa,sr()}}}}const oi=(Ge(xu,ku=>ku!==xu[xu.length-1]&&!!(Wl(ku)&32768))?At.parameters:xu).map(ku=>Wi(ku,Qn,ze===176,Fu==null?void 0:Fu.privateSymbolVisitor,Fu==null?void 0:Fu.bundledImports)),Gi=Qn.flags&33554432?void 0:$e(At,Qn);Gi&&oi.unshift(Gi);let Ci;const Ji=b4(At);if(Ji){const ku=Ji.kind===2||Ji.kind===3?q.createToken(131):void 0,po=Ji.kind===1||Ji.kind===3?Yn(q.createIdentifier(Ji.parameterName),16777216):q.createThisTypeNode(),pn=Ji.type&&C(Ji.type,Qn);Ci=q.createTypePredicateNode(ku,po,pn)}else{const ku=Zs(At);ku&&!(pr&&nt(ku))?Ci=wd(Qn,ku,At,Fu==null?void 0:Fu.privateSymbolVisitor,Fu==null?void 0:Fu.bundledImports):pr||(Ci=q.createKeywordTypeNode(133))}let mn=Fu==null?void 0:Fu.modifiers;if(ze===185&&At.flags&4){const ku=eE(mn);mn=q.createModifiersFromModifierFlags(ku|64)}const Gr=ze===179?q.createCallSignature(zr,oi,Ci):ze===180?q.createConstructSignature(zr,oi,Ci):ze===173?q.createMethodSignature(mn,(Fu==null?void 0:Fu.name)??q.createIdentifier(""),Fu==null?void 0:Fu.questionToken,zr,oi,Ci):ze===174?q.createMethodDeclaration(mn,void 0,(Fu==null?void 0:Fu.name)??q.createIdentifier(""),void 0,zr,oi,Ci,void 0):ze===176?q.createConstructorDeclaration(mn,oi,void 0):ze===177?q.createGetAccessorDeclaration(mn,(Fu==null?void 0:Fu.name)??q.createIdentifier(""),oi,Ci,void 0):ze===178?q.createSetAccessorDeclaration(mn,(Fu==null?void 0:Fu.name)??q.createIdentifier(""),oi,void 0):ze===181?q.createIndexSignature(mn,oi,Ci):ze===324?q.createJSDocFunctionType(oi,Ci):ze===184?q.createFunctionTypeNode(zr,oi,Ci??q.createTypeReferenceNode(q.createIdentifier(""))):ze===185?q.createConstructorTypeNode(mn,zr,oi,Ci??q.createTypeReferenceNode(q.createIdentifier(""))):ze===262?q.createFunctionDeclaration(mn,void 0,Fu!=null&&Fu.name?No(Fu.name,at):q.createIdentifier(""),zr,oi,Ci,void 0):ze===218?q.createFunctionExpression(mn,void 0,Fu!=null&&Fu.name?No(Fu.name,at):q.createIdentifier(""),zr,oi,Ci,q.createBlock([])):ze===219?q.createArrowFunction(mn,zr,oi,Ci,void 0,q.createBlock([])):H.assertNever(ze);if(Ru&&(Gr.typeArguments=q.createNodeArray(Ru)),((Dr=At.declaration)==null?void 0:Dr.kind)===330&&At.declaration.parent.kind===346){const ku=Hc(At.declaration.parent.parent,!0).slice(2,-2).split(/\r\n|\n|\r/).map(po=>po.replace(/^\s+/," ")).join(` +`);RP(Gr,3,ku,!0)}return Tt==null||Tt(),Gr}function $e(At,ze){if(At.thisParameter)return Wi(At.thisParameter,ze);if(At.declaration&&Xn(At.declaration)){const Qn=SU(At.declaration);if(Qn&&Qn.typeExpression)return q.createParameterDeclaration(void 0,void 0,"this",void 0,C(Br(Qn.typeExpression),ze))}}function ut(At,ze,Qn){const Fu=ze.flags;ze.flags&=-513;const Dr=q.createModifiersFromModifierFlags(jPe(At)),pr=lo(At,ze),zr=gF(At),Ru=zr&&C(zr,ze);return ze.flags=Fu,q.createTypeParameterDeclaration(Dr,pr,Qn,Ru)}function zt(At,ze,Qn=uh(At)){const Fu=Qn&&C(Qn,ze);return ut(At,ze,Fu)}function fi(At){const ze=Sl(At,169);if(ze)return ze;if(!UE(At))return Sl(At,348)}function Wi(At,ze,Qn,Fu,Dr){const pr=fi(At);let zr=Gn(At);pr&&U4t(pr)&&(zr=A6(zr));const Ru=rd(ze,zr,At,ze.enclosingDeclaration,Fu,Dr),xu=!(ze.flags&8192)&&Qn&&pr&&Op(pr)?Kt(h2(pr),q.cloneNode):void 0,oi=pr&&J_(pr)||Wl(At)&32768?q.createToken(26):void 0,Gi=cn(At,pr,ze),Ji=pr&&iW(pr)||Wl(At)&16384?q.createToken(58):void 0,mn=q.createParameterDeclaration(xu,oi,Gi,Ji,Ru,void 0);return ze.approximateLength+=sc(At).length+3,mn}function cn(At,ze,Qn){return ze&&ze.name?ze.name.kind===80?Yn(q.cloneNode(ze.name),16777216):ze.name.kind===166?Yn(q.cloneNode(ze.name.right),16777216):Fu(ze.name):sc(At);function Fu(Dr){return pr(Dr);function pr(zr){Qn.tracker.canTrackSymbol&&Ns(zr)&&TNe(zr)&&nu(zr.expression,Qn.enclosingDeclaration,Qn);let Ru=un(zr,pr,Eg,void 0,pr);return Os(Ru)&&(Ru=q.updateBindingElement(Ru,Ru.dotDotDotToken,Ru.propertyName,Ru.name,void 0)),sl(Ru)||(Ru=q.cloneNode(Ru)),Yn(Ru,16777217)}}}function nu(At,ze,Qn){if(!Qn.tracker.canTrackSymbol)return;const Fu=dm(At),Dr=nc(Fu,Fu.escapedText,1160127,void 0,void 0,!0);Dr&&Qn.tracker.trackSymbol(Dr,ze,111551)}function En(At,ze,Qn,Fu){return ze.tracker.trackSymbol(At,ze.enclosingDeclaration,Qn),Ri(At,ze,Qn,Fu)}function Ri(At,ze,Qn,Fu){let Dr;return!(At.flags&262144)&&(ze.enclosingDeclaration||ze.flags&64)&&!(ze.flags&134217728)?(Dr=H.checkDefined(zr(At,Qn,!0)),H.assert(Dr&&Dr.length>0)):Dr=[At],Dr;function zr(Ru,xu,Tt){let oi=gC(Ru,ze.enclosingDeclaration,xu,!!(ze.flags&128)),Gi;if(!oi||Gw(oi[0],ze.enclosingDeclaration,oi.length===1?xu:x3(xu))){const Ji=Hw(oi?oi[0]:Ru,ze.enclosingDeclaration,xu);if(S(Ji)){Gi=Ji.map(ku=>Ge(ku.declarations,Fo)?_n(ku,ze):void 0);const mn=Ji.map((ku,po)=>po);mn.sort(Ci);const Gr=mn.map(ku=>Ji[ku]);for(const ku of Gr){const po=zr(ku,x3(xu),!1);if(po){if(ku.exports&&ku.exports.get("export=")&&qm(ku.exports.get("export="),Ru)){oi=po;break}oi=po.concat(oi||[o6(ku,Ru)||Ru]);break}}}}if(oi)return oi;if(Tt||!(Ru.flags&6144))return!Tt&&!Fu&&L(Ru.declarations,Fo)?void 0:[Ru];function Ci(Ji,mn){const Gr=Gi[Ji],ku=Gi[mn];if(Gr&&ku){const po=am(ku);return am(Gr)===po?JY(Gr)-JY(ku):po?-1:1}return 0}}}function Nn(At,ze){let Qn;return gT(At).flags&524384&&(Qn=q.createNodeArray(Kt(sn(At),Dr=>zt(Dr,ze)))),Qn}function vn(At,ze,Qn){var Fu;H.assert(At&&0<=ze&&zey6(oi,xu.links.mapper)),Qn)}else zr=Nn(Dr,Qn)}return zr}function An(At){return M7(At.objectType)?An(At.objectType):At}function _n(At,ze,Qn){let Fu=Sl(At,312);if(!Fu){const Tt=G(At.declarations,oi=>Cb(oi,At));Tt&&(Fu=Sl(Tt,312))}if(Fu&&Fu.moduleName!==void 0)return Fu.moduleName;if(!Fu){if(ze.tracker.trackReferencedAmbientModule){const Tt=ei(At.declarations,L1);if(S(Tt))for(const oi of Tt)ze.tracker.trackReferencedAmbientModule(oi,At)}if(Ode.test(At.escapedName))return At.escapedName.substring(1,At.escapedName.length-1)}if(!ze.enclosingDeclaration||!ze.tracker.moduleResolverHost)return Ode.test(At.escapedName)?At.escapedName.substring(1,At.escapedName.length-1):zn(p0e(At)).fileName;const Dr=zn(Kl(ze.enclosingDeclaration)),pr=Qn||(Dr==null?void 0:Dr.impliedNodeFormat),zr=cM(Dr.path,pr),Ru=Ur(At);let xu=Ru.specifierCache&&Ru.specifierCache.get(zr);if(!xu){const Tt=!!b0(ae),{moduleResolverHost:oi}=ze.tracker,Gi=Tt?{...ae,baseUrl:oi.getCommonSourceDirectory()}:ae;xu=Pn(set(At,Pi,Gi,Dr,oi,{importModuleSpecifierPreference:Tt?"non-relative":"project-relative",importModuleSpecifierEnding:Tt?"minimal":pr===99?"js":void 0},{overrideImportMode:Qn})),Ru.specifierCache??(Ru.specifierCache=new Map),Ru.specifierCache.set(zr,xu)}return xu}function hu(At){const ze=q.createIdentifier(Qr(At.escapedName));return At.parent?q.createQualifiedName(hu(At.parent),ze):ze}function ro(At,ze,Qn,Fu){const Dr=En(At,ze,Qn,!(ze.flags&16384)),pr=Qn===111551;if(Ge(Dr[0].declarations,Fo)){const xu=Dr.length>1?Ru(Dr,Dr.length-1,1):void 0,Tt=Fu||vn(Dr,0,ze),oi=zn(Kl(ze.enclosingDeclaration)),Gi=$U(Dr[0]);let Ci,Ji;if((m1(ae)===3||m1(ae)===99)&&(Gi==null?void 0:Gi.impliedNodeFormat)===99&&Gi.impliedNodeFormat!==(oi==null?void 0:oi.impliedNodeFormat)&&(Ci=_n(Dr[0],ze,99),Ji=q.createImportAttributes(q.createNodeArray([q.createImportAttribute(q.createStringLiteral("resolution-mode"),q.createStringLiteral("import"))]))),Ci||(Ci=_n(Dr[0],ze)),!(ze.flags&67108864)&&m1(ae)!==1&&Ci.includes("/node_modules/")){const Gr=Ci;if(m1(ae)===3||m1(ae)===99){const ku=(oi==null?void 0:oi.impliedNodeFormat)===99?1:99;Ci=_n(Dr[0],ze,ku),Ci.includes("/node_modules/")?Ci=Gr:Ji=q.createImportAttributes(q.createNodeArray([q.createImportAttribute(q.createStringLiteral("resolution-mode"),q.createStringLiteral(ku===99?"import":"require"))]))}Ji||(ze.encounteredError=!0,ze.tracker.reportLikelyUnsafeImportRequiredError&&ze.tracker.reportLikelyUnsafeImportRequiredError(Gr))}const mn=q.createLiteralTypeNode(q.createStringLiteral(Ci));if(ze.tracker.trackExternalModuleSymbolOfImportTypeNode&&ze.tracker.trackExternalModuleSymbolOfImportTypeNode(Dr[0]),ze.approximateLength+=Ci.length+10,!xu||om(xu)){if(xu){const Gr=at(xu)?xu:xu.right;s5(Gr,void 0)}return q.createImportTypeNode(mn,Ji,xu,Tt,pr)}else{const Gr=An(xu),ku=Gr.objectType.typeName;return q.createIndexedAccessTypeNode(q.createImportTypeNode(mn,Ji,ku,Tt,pr),Gr.indexType)}}const zr=Ru(Dr,Dr.length-1,0);if(M7(zr))return zr;if(pr)return q.createTypeQueryNode(zr);{const xu=at(zr)?zr:zr.right,Tt=mk(xu);return s5(xu,void 0),q.createTypeReferenceNode(zr,Tt)}function Ru(xu,Tt,oi){const Gi=Tt===xu.length-1?Fu:vn(xu,Tt,ze),Ci=xu[Tt],Ji=xu[Tt-1];let mn;if(Tt===0)ze.flags|=16777216,mn=E_(Ci,ze),ze.approximateLength+=(mn?mn.length:0)+1,ze.flags^=16777216;else if(Ji&&Jf(Ji)){const ku=Jf(Ji);d1(ku,(po,pn)=>{if(qm(po,Ci)&&!YK(pn)&&pn!=="export=")return mn=Qr(pn),!0})}if(mn===void 0){const ku=G(Ci.declarations,$a);if(ku&&Ns(ku)&&om(ku.expression)){const po=Ru(xu,Tt-1,oi);return om(po)?q.createIndexedAccessTypeNode(q.createParenthesizedType(q.createTypeQueryNode(po)),q.createTypeQueryNode(ku.expression)):po}mn=E_(Ci,ze)}if(ze.approximateLength+=mn.length+1,!(ze.flags&16)&&Ji&&E6(Ji)&&E6(Ji).get(Ci.escapedName)&&qm(E6(Ji).get(Ci.escapedName),Ci)){const ku=Ru(xu,Tt-1,oi);return M7(ku)?q.createIndexedAccessTypeNode(ku,q.createLiteralTypeNode(q.createStringLiteral(mn))):q.createIndexedAccessTypeNode(q.createTypeReferenceNode(ku,Gi),q.createLiteralTypeNode(q.createStringLiteral(mn)))}const Gr=Yn(q.createIdentifier(mn),16777216);if(Gi&&s5(Gr,q.createNodeArray(Gi)),Gr.symbol=Ci,Tt>oi){const ku=Ru(xu,Tt-1,oi);return om(ku)?q.createQualifiedName(ku,Gr):H.fail("Impossible construct - an export of an indexed access cannot be reachable")}return Gr}}function mo(At,ze,Qn){const Fu=nc(ze.enclosingDeclaration,At,788968,void 0,At,!1);return Fu?!(Fu.flags&262144&&Fu===Qn.symbol):!1}function lo(At,ze){var Qn,Fu;if(ze.flags&4&&ze.typeParameterNames){const pr=ze.typeParameterNames.get(kh(At));if(pr)return pr}let Dr=ka(At.symbol,ze,788968,!0);if(!(Dr.kind&80))return q.createIdentifier("(Missing type parameter)");if(ze.flags&4){const pr=Dr.escapedText;let zr=((Qn=ze.typeParameterNamesByTextNextNameCount)==null?void 0:Qn.get(pr))||0,Ru=pr;for(;(Fu=ze.typeParameterNamesByText)!=null&&Fu.has(Ru)||mo(Ru,ze,At);)zr++,Ru=`${pr}_${zr}`;if(Ru!==pr){const xu=mk(Dr);Dr=q.createIdentifier(Ru),s5(Dr,xu)}(ze.typeParameterNamesByTextNextNameCount||(ze.typeParameterNamesByTextNextNameCount=new Map)).set(pr,zr),(ze.typeParameterNames||(ze.typeParameterNames=new Map)).set(kh(At),Dr),(ze.typeParameterNamesByText||(ze.typeParameterNamesByText=new Set)).add(pr)}return Dr}function ka(At,ze,Qn,Fu){const Dr=En(At,ze,Qn);return Fu&&Dr.length!==1&&!ze.encounteredError&&!(ze.flags&65536)&&(ze.encounteredError=!0),pr(Dr,Dr.length-1);function pr(zr,Ru){const xu=vn(zr,Ru,ze),Tt=zr[Ru];Ru===0&&(ze.flags|=16777216);const oi=E_(Tt,ze);Ru===0&&(ze.flags^=16777216);const Gi=Yn(q.createIdentifier(oi),16777216);return xu&&s5(Gi,q.createNodeArray(xu)),Gi.symbol=Tt,Ru>0?q.createQualifiedName(pr(zr,Ru-1),Gi):Gi}}function rh(At,ze,Qn){const Fu=En(At,ze,Qn);return Dr(Fu,Fu.length-1);function Dr(pr,zr){const Ru=vn(pr,zr,ze),xu=pr[zr];zr===0&&(ze.flags|=16777216);let Tt=E_(xu,ze);zr===0&&(ze.flags^=16777216);let oi=Tt.charCodeAt(0);if(gj(oi)&&Ge(xu.declarations,Fo))return q.createStringLiteral(_n(xu,ze));if(zr===0||Mle(Tt,Ce)){const Gi=Yn(q.createIdentifier(Tt),16777216);return Ru&&s5(Gi,q.createNodeArray(Ru)),Gi.symbol=xu,zr>0?q.createPropertyAccessExpression(Dr(pr,zr-1),Gi):Gi}else{oi===91&&(Tt=Tt.substring(1,Tt.length-1),oi=Tt.charCodeAt(0));let Gi;if(gj(oi)&&!(xu.flags&8)?Gi=q.createStringLiteral(G4(Tt).replace(/\\./g,Ci=>Ci.substring(1)),oi===39):""+ +Tt===Tt&&(Gi=q.createNumericLiteral(+Tt)),!Gi){const Ci=Yn(q.createIdentifier(Tt),16777216);Ru&&s5(Ci,q.createNodeArray(Ru)),Ci.symbol=xu,Gi=Ci}return q.createElementAccessExpression(Dr(pr,zr-1),Gi)}}}function e4(At){const ze=$a(At);return ze?Ns(ze)?!!(ya(ze.expression).flags&402653316):G0(ze)?!!(ya(ze.argumentExpression).flags&402653316):us(ze):!1}function dn(At){const ze=$a(At);return!!(ze&&us(ze)&&(ze.singleQuote||!sl(ze)&&La(Hc(ze,!1),"'")))}function Wn(At,ze){const Qn=!!S(At.declarations)&&ye(At.declarations,e4),Fu=!!S(At.declarations)&&ye(At.declarations,dn),Dr=!!(At.flags&8192),pr=Zr(At,ze,Fu,Qn,Dr);if(pr)return pr;const zr=Qr(At.escapedName);return cZ(zr,Rs(ae),Fu,Qn,Dr)}function Zr(At,ze,Qn,Fu,Dr){const pr=Ur(At).nameType;if(pr){if(pr.flags&384){const zr=""+pr.value;return!Tm(zr,Rs(ae))&&(Fu||!t3(zr))?q.createStringLiteral(zr,!!Qn):t3(zr)&&La(zr,"-")?q.createComputedPropertyName(q.createNumericLiteral(+zr)):cZ(zr,Rs(ae),Qn,Fu,Dr)}if(pr.flags&8192)return q.createComputedPropertyName(rh(pr.symbol,ze,111551))}}function Co(At){const ze={...At};return ze.typeParameterNames&&(ze.typeParameterNames=new Map(ze.typeParameterNames)),ze.typeParameterNamesByText&&(ze.typeParameterNamesByText=new Set(ze.typeParameterNamesByText)),ze.typeParameterSymbolList&&(ze.typeParameterSymbolList=new Set(ze.typeParameterSymbolList)),ze.tracker=new Vde(ze,ze.tracker.inner,ze.tracker.moduleResolverHost),ze}function Un(At,ze){return At.declarations&&Le(At.declarations,Qn=>!!h1(Qn)&&(!ze||!!Tn(Qn,Fu=>Fu===ze)))}function Ss(At,ze){return!(Ju(ze)&4)||!Y4(At)||S(At.typeArguments)>=C_(ze.target.typeParameters)}function w0(At){return or(At).fakeScopeForSignatureDeclaration?At.parent:At}function rd(At,ze,Qn,Fu,Dr,pr){if(!Lt(ze)&&Fu){const xu=Un(Qn,w0(Fu));if(xu&&!W0(xu)&&!Mm(xu)){const Tt=h1(xu);if(Ys(Tt,xu,ze)&&Ss(Tt,ze)){const oi=Y0(At,Tt,Dr,pr);if(oi)return oi}}}const zr=At.flags;ze.flags&8192&&ze.symbol===Qn&&(!At.enclosingDeclaration||Ge(Qn.declarations,xu=>zn(xu)===zn(At.enclosingDeclaration)))&&(At.flags|=1048576);const Ru=C(ze,At);return At.flags=zr,Ru}function Ys(At,ze,Qn){const Fu=Br(At);return Fu===Qn?!0:Qa(ze)&&ze.questionToken?hp(Qn,524288)===Fu:!1}function wd(At,ze,Qn,Fu,Dr){if(!Lt(ze)&&At.enclosingDeclaration){const pr=Qn.declaration&&J4(Qn.declaration),zr=w0(At.enclosingDeclaration);if(Tn(pr,Ru=>Ru===zr)&&pr){const Ru=Br(pr);if((Ru.flags&262144&&Ru.isThisType?_a(Ru,Qn.mapper):Ru)===ze&&Ss(pr,ze)){const Tt=Y0(At,pr,Fu,Dr);if(Tt)return Tt}}}return C(ze,At)}function yc(At,ze,Qn){let Fu=!1;const Dr=dm(At);if(Xn(At)&&(ik(Dr)||Z_(Dr.parent)||xf(Dr.parent)&&N0e(Dr.parent.left)&&ik(Dr.parent.right)))return Fu=!0,{introducesError:Fu,node:At};const pr=z0(Dr,67108863,!0,!0);if(pr&&(yu(pr,ze.enclosingDeclaration,67108863,!1).accessibility!==0?Fu=!0:(ze.tracker.trackSymbol(pr,ze.enclosingDeclaration,67108863),Qn==null||Qn(pr)),at(At))){const zr=Z0(pr),Ru=pr.flags&262144&&!O(zr.symbol,ze.enclosingDeclaration)?lo(zr,ze):q.cloneNode(At);return Ru.symbol=pr,{introducesError:Fu,node:Yn(su(Ru,At),16777216)}}return{introducesError:Fu,node:At}}function Y0(At,ze,Qn,Fu){d&&d.throwIfCancellationRequested&&d.throwIfCancellationRequested();let Dr=!1;const pr=zn(ze),zr=yt(ze,Ru,Xr);if(Dr)return;return zr===ze?Pt(q.cloneNode(ze),ze):zr;function Ru(xu){if(pFe(xu)||xu.kind===326)return q.createKeywordTypeNode(133);if(gFe(xu))return q.createKeywordTypeNode(159);if(SB(xu))return q.createUnionTypeNode([yt(xu.type,Ru,Xr),q.createLiteralTypeNode(q.createNull())]);if(kce(xu))return q.createUnionTypeNode([yt(xu.type,Ru,Xr),q.createKeywordTypeNode(157)]);if(cY(xu))return yt(xu.type,Ru);if(dY(xu))return q.createArrayTypeNode(yt(xu.type,Ru,Xr));if(V7(xu))return q.createTypeLiteralNode(Kt(xu.jsDocPropertyTags,Ci=>{const Ji=at(Ci.name)?Ci.name:Ci.name.right,mn=he(Br(xu),Ji.escapedText),Gr=mn&&Ci.typeExpression&&Br(Ci.typeExpression.type)!==mn?C(mn,At):void 0;return q.createPropertySignature(void 0,Ji,Ci.isBracketed||Ci.typeExpression&&kce(Ci.typeExpression.type)?q.createToken(58):void 0,Gr||Ci.typeExpression&&yt(Ci.typeExpression.type,Ru,Xr)||q.createKeywordTypeNode(133))}));if(Y4(xu)&&at(xu.typeName)&&xu.typeName.escapedText==="")return su(q.createKeywordTypeNode(133),xu);if((l5(xu)||Y4(xu))&&gq(xu))return q.createTypeLiteralNode([q.createIndexSignature(void 0,[q.createParameterDeclaration(void 0,void 0,"x",void 0,yt(xu.typeArguments[0],Ru,Xr))],yt(xu.typeArguments[1],Ru,Xr))]);if(BB(xu))if(Y8(xu)){let Ci;return q.createConstructorTypeNode(void 0,kn(xu.typeParameters,Ru,Bl),Si(xu.parameters,(Ji,mn)=>Ji.name&&at(Ji.name)&&Ji.name.escapedText==="new"?(Ci=Ji.type,void 0):q.createParameterDeclaration(void 0,Tt(Ji),oi(Ji,mn),Ji.questionToken,yt(Ji.type,Ru,Xr),void 0)),yt(Ci||xu.type,Ru,Xr)||q.createKeywordTypeNode(133))}else return q.createFunctionTypeNode(kn(xu.typeParameters,Ru,Bl),Kt(xu.parameters,(Ci,Ji)=>q.createParameterDeclaration(void 0,Tt(Ci),oi(Ci,Ji),Ci.questionToken,yt(Ci.type,Ru,Xr),void 0)),yt(xu.type,Ru,Xr)||q.createKeywordTypeNode(133));if(Y4(xu)&&pj(xu)&&(!Ss(xu,Br(xu))||Hdt(xu)||Xt===rT(xu,788968,!0)))return su(C(Br(xu),At),xu);if(Mx(xu)){const Ci=or(xu).resolvedSymbol;return pj(xu)&&Ci&&(!xu.isTypeOf&&!(Ci.flags&788968)||!(S(xu.typeArguments)>=C_(sn(Ci))))?su(C(Br(xu),At),xu):q.updateImportTypeNode(xu,q.updateLiteralTypeNode(xu.argument,Gi(xu,xu.argument.literal)),xu.attributes,xu.qualifier,kn(xu.typeArguments,Ru,Xr),xu.isTypeOf)}if(om(xu)||Xl(xu)){const{introducesError:Ci,node:Ji}=yc(xu,At,Qn);if(Dr=Dr||Ci,Ji!==xu)return Ji}return pr&&CB(xu)&&o0(pr,xu.pos).line===o0(pr,xu.end).line&&Yn(xu,1),un(xu,Ru,Eg);function Tt(Ci){return Ci.dotDotDotToken||(Ci.type&&dY(Ci.type)?q.createToken(26):void 0)}function oi(Ci,Ji){return Ci.name&&at(Ci.name)&&Ci.name.escapedText==="this"?"this":Tt(Ci)?"args":`arg${Ji}`}function Gi(Ci,Ji){if(Fu){if(At.tracker&&At.tracker.moduleResolverHost){const mn=$ze(Ci);if(mn){const ku={getCanonicalFileName:T1(!!t.useCaseSensitiveFileNames),getCurrentDirectory:()=>At.tracker.moduleResolverHost.getCurrentDirectory(),getCommonSourceDirectory:()=>At.tracker.moduleResolverHost.getCommonSourceDirectory()},po=wq(ku,mn);return q.createStringLiteral(po)}}}else if(At.tracker&&At.tracker.trackExternalModuleSymbolOfImportTypeNode){const mn=_3(Ji,Ji,void 0);mn&&At.tracker.trackExternalModuleSymbolOfImportTypeNode(mn)}return Ji}}}function Cm(At,ze,Qn){var Fu;const Dr=jd(q.createPropertyDeclaration,174,!0),pr=jd((ri,Bu,hr,ur)=>q.createPropertySignature(ri,Bu,hr,ur),173,!1),zr=ze.enclosingDeclaration;let Ru=[];const xu=new Set,Tt=[],oi=ze;ze={...oi,usedSymbolNames:new Set(oi.usedSymbolNames),remappedSymbolNames:new Map,remappedSymbolReferences:new Map((Fu=oi.remappedSymbolReferences)==null?void 0:Fu.entries()),tracker:void 0};const Gi={...oi.tracker.inner,trackSymbol:(ri,Bu,hr)=>{var ur,fr;if((ur=ze.remappedSymbolNames)!=null&&ur.has(Zo(ri)))return!1;if(yu(ri,Bu,hr,!1).accessibility===0){const Mo=Ri(ri,ze,hr);if(!(ri.flags&4)){const ao=Mo[0],ts=zn(oi.enclosingDeclaration);Ge(ao.declarations,Xs=>zn(Xs)===ts)&&fl(ao)}}else if((fr=oi.tracker.inner)!=null&&fr.trackSymbol)return oi.tracker.inner.trackSymbol(ri,Bu,hr);return!1}};ze.tracker=new Vde(ze,Gi,oi.tracker.moduleResolverHost),d1(At,(ri,Bu)=>{const hr=Qr(Bu);qf(ri,hr)});let Ci=!Qn;const Ji=At.get("export=");return Ji&&At.size>1&&Ji.flags&2097152&&(At=Vo(),At.set("export=",Ji)),cs(At),sr(Ru);function mn(ri){return!!ri&&ri.kind===80}function Gr(ri){return Gl(ri)?ei(Kt(ri.declarationList.declarations,$a),mn):ei([$a(ri)],mn)}function ku(ri){const Bu=Le(ri,ec),hr=Ue(ri,Ec);let ur=hr!==-1?ri[hr]:void 0;if(ur&&Bu&&Bu.isExportEquals&&at(Bu.expression)&&at(ur.name)&&fu(ur.name)===fu(Bu.expression)&&ur.body&&uE(ur.body)){const fr=ei(ri,ao=>!!(gh(ao)&32)),Qs=ur.name;let Mo=ur.body;if(S(fr)&&(ur=q.updateModuleDeclaration(ur,ur.modifiers,ur.name,Mo=q.updateModuleBlock(Mo,q.createNodeArray([...ur.body.statements,q.createExportDeclaration(void 0,!1,q.createNamedExports(Kt(Ku(fr,ao=>Gr(ao)),ao=>q.createExportSpecifier(!1,void 0,ao))),void 0)]))),ri=[...ri.slice(0,hr),ur,...ri.slice(hr+1)]),!Le(ri,ao=>ao!==ur&&RO(ao,Qs))){Ru=[];const ao=!Ge(Mo.statements,ts=>Qu(ts,32)||ec(ts)||Gc(ts));L(Mo.statements,ts=>{yl(ts,ao?32:0)}),ri=[...ei(ri,ts=>ts!==ur&&ts!==Bu),...Ru]}}return ri}function po(ri){const Bu=ei(ri,ur=>Gc(ur)&&!ur.moduleSpecifier&&!!ur.exportClause&&Q4(ur.exportClause));S(Bu)>1&&(ri=[...ei(ri,fr=>!Gc(fr)||!!fr.moduleSpecifier||!fr.exportClause),q.createExportDeclaration(void 0,!1,q.createNamedExports(Ku(Bu,fr=>No(fr.exportClause,Q4).elements)),void 0)]);const hr=ei(ri,ur=>Gc(ur)&&!!ur.moduleSpecifier&&!!ur.exportClause&&Q4(ur.exportClause));if(S(hr)>1){const ur=xN(hr,fr=>us(fr.moduleSpecifier)?">"+fr.moduleSpecifier.text:">");if(ur.length!==hr.length)for(const fr of ur)fr.length>1&&(ri=[...ei(ri,Qs=>!fr.includes(Qs)),q.createExportDeclaration(void 0,!1,q.createNamedExports(Ku(fr,Qs=>No(Qs.exportClause,Q4).elements)),fr[0].moduleSpecifier)])}return ri}function pn(ri){const Bu=Ue(ri,hr=>Gc(hr)&&!hr.moduleSpecifier&&!hr.attributes&&!!hr.exportClause&&Q4(hr.exportClause));if(Bu>=0){const hr=ri[Bu],ur=Si(hr.exportClause.elements,fr=>{if(!fr.propertyName){const Qs=Yr(ri),Mo=ei(Qs,ao=>RO(ri[ao],fr.name));if(S(Mo)&&ye(Mo,ao=>nV(ri[ao]))){for(const ao of Mo)ri[ao]=qr(ri[ao]);return}}return fr});S(ur)?ri[Bu]=q.updateExportDeclaration(hr,hr.modifiers,hr.isTypeOnly,q.updateNamedExports(hr.exportClause,ur),hr.moduleSpecifier,hr.attributes):dv(ri,Bu)}return ri}function sr(ri){return ri=ku(ri),ri=po(ri),ri=pn(ri),zr&&(ca(zr)&&lm(zr)||Ec(zr))&&(!Ge(ri,qO)||!lbe(ri)&&Ge(ri,IU))&&ri.push(TV(q)),ri}function qr(ri){const Bu=(gh(ri)|32)&-129;return q.replaceModifiers(ri,Bu)}function wa(ri){const Bu=gh(ri)&-33;return q.replaceModifiers(ri,Bu)}function cs(ri,Bu,hr){Bu||Tt.push(new Map),ri.forEach(ur=>{fd(ur,!1,!!hr)}),Bu||(Tt[Tt.length-1].forEach(ur=>{fd(ur,!0,!!hr)}),Tt.pop())}function fd(ri,Bu,hr){const ur=Hs(ri);if(xu.has(Zo(ur)))return;if(xu.add(Zo(ur)),!Bu||S(ri.declarations)&&Ge(ri.declarations,Qs=>!!Tn(Qs,Mo=>Mo===zr))){const Qs=ze;ze=Co(ze),bl(ri,Bu,hr),ze.reportedDiagnostic&&(oi.reportedDiagnostic=ze.reportedDiagnostic),ze.trackedSymbols&&(Qs.trackedSymbols?H.assert(ze.trackedSymbols===Qs.trackedSymbols):Qs.trackedSymbols=ze.trackedSymbols),ze=Qs}}function bl(ri,Bu,hr,ur=ri.escapedName){var fr,Qs,Mo,ao,ts,Xs;const L0=Qr(ur),Gh=ur==="default";if(Bu&&!(ze.flags&131072)&&h7(L0)&&!Gh){ze.encounteredError=!0;return}let H1=Gh&&!!(ri.flags&-113||ri.flags&16&&S(n0(Gn(ri))))&&!(ri.flags&2097152),K1=!H1&&!Bu&&h7(L0)&&!Gh;(H1||K1)&&(Bu=!0);const ml=(Bu?0:32)|(Gh&&!H1?2048:0),b1=ri.flags&1536&&ri.flags&7&&ur!=="export=",S3=b1&&Ws(Gn(ri),ri);if((ri.flags&8208||S3)&&lu(Gn(ri),ri,qf(ri,L0),ml),ri.flags&524288&&kt(ri,L0,ml),ri.flags&98311&&ur!=="export="&&!(ri.flags&4194304)&&!(ri.flags&32)&&!(ri.flags&8192)&&!S3)if(hr)T0(ri)&&(K1=!1,H1=!1);else{const y1=Gn(ri),Zf=qf(ri,L0);if(y1.symbol&&y1.symbol!==ri&&y1.symbol.flags&16&&Ge(y1.symbol.declarations,M2)&&((fr=y1.symbol.members)!=null&&fr.size||(Qs=y1.symbol.exports)!=null&&Qs.size))ze.remappedSymbolReferences||(ze.remappedSymbolReferences=new Map),ze.remappedSymbolReferences.set(Zo(y1.symbol),ri),bl(y1.symbol,Bu,hr,ur),ze.remappedSymbolReferences.delete(Zo(y1.symbol));else if(!(ri.flags&16)&&Ws(y1,ri))lu(y1,ri,Zf,ml);else{const iS=ri.flags&2?Pz(ri)?2:1:(Mo=ri.parent)!=null&&Mo.valueDeclaration&&ca((ao=ri.parent)==null?void 0:ao.valueDeclaration)?2:void 0,wE=H1||!(ri.flags&4)?Zf:PC(Zf,ri);let T6=ri.declarations&&Le(ri.declarations,jW=>ra(jW));T6&&Fd(T6.parent)&&T6.parent.declarations.length===1&&(T6=T6.parent.parent);const L6=(ts=ri.declarations)==null?void 0:ts.find(zu);if(L6&&eu(L6.parent)&&at(L6.parent.right)&&((Xs=y1.symbol)!=null&&Xs.valueDeclaration)&&ca(y1.symbol.valueDeclaration)){const jW=Zf===L6.parent.right.escapedText?void 0:L6.parent.right;yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,jW,Zf)])),0),ze.tracker.trackSymbol(y1.symbol,ze.enclosingDeclaration,111551)}else{const jW=Pt(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(wE,void 0,rd(ze,y1,ri,zr,fl,Qn))],iS)),T6);yl(jW,wE!==Zf?ml&-33:ml),wE!==Zf&&!Bu&&(yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,wE,Zf)])),0),K1=!1,H1=!1)}}}if(ri.flags&384&&nn(ri,L0,ml),ri.flags&32&&(ri.flags&4&&ri.valueDeclaration&&eu(ri.valueDeclaration.parent)&&Qd(ri.valueDeclaration.parent.right)?co(ri,qf(ri,L0),ml):Wo(ri,qf(ri,L0),ml)),(ri.flags&1536&&(!b1||Bn(ri))||S3)&&Du(ri,L0,ml),ri.flags&64&&!(ri.flags&32)&&$t(ri,L0,ml),ri.flags&2097152&&co(ri,qf(ri,L0),ml),ri.flags&4&&ri.escapedName==="export="&&T0(ri),ri.flags&8388608&&ri.declarations)for(const y1 of ri.declarations){const Zf=Vh(y1,y1.moduleSpecifier);Zf&&yl(q.createExportDeclaration(void 0,y1.isTypeOnly,void 0,q.createStringLiteral(_n(Zf,ze))),0)}H1?yl(q.createExportAssignment(void 0,!1,q.createIdentifier(qf(ri,L0))),0):K1&&yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,qf(ri,L0),L0)])),0)}function fl(ri){if(Ge(ri.declarations,A2))return;H.assertIsDefined(Tt[Tt.length-1]),PC(Qr(ri.escapedName),ri);const Bu=!!(ri.flags&2097152)&&!Ge(ri.declarations,hr=>!!Tn(hr,Gc)||n_(hr)||g1(hr)&&!u_(hr.moduleReference));Tt[Bu?0:Tt.length-1].set(Zo(ri),ri)}function V1(ri){return ca(ri)&&(lm(ri)||H4(ri))||L1(ri)&&!Zg(ri)}function yl(ri,Bu){if(Op(ri)){let hr=0;const ur=ze.enclosingDeclaration&&(K4(ze.enclosingDeclaration)?zn(ze.enclosingDeclaration):ze.enclosingDeclaration);Bu&32&&ur&&(V1(ur)||Ec(ur))&&nV(ri)&&(hr|=32),Ci&&!(hr&32)&&(!ur||!(ur.flags&33554432))&&(Mv(ri)||Gl(ri)||Xc(ri)||Wc(ri)||Ec(ri))&&(hr|=128),Bu&2048&&(Wc(ri)||Dh(ri)||Xc(ri))&&(hr|=2048),hr&&(ri=q.replaceModifiers(ri,hr|gh(ri)))}Ru.push(ri)}function kt(ri,Bu,hr){var ur;const fr=Qct(ri),Qs=Ur(ri).typeParameters,Mo=Kt(Qs,H1=>zt(H1,ze)),ao=(ur=ri.declarations)==null?void 0:ur.find(K4),ts=VO(ao?ao.comment||ao.parent.comment:void 0),Xs=ze.flags;ze.flags|=8388608;const L0=ze.enclosingDeclaration;ze.enclosingDeclaration=ao;const Gh=ao&&ao.typeExpression&&bk(ao.typeExpression)&&Y0(ze,ao.typeExpression.type,fl,Qn)||C(fr,ze);yl(Tv(q.createTypeAliasDeclaration(void 0,qf(ri,Bu),Mo,Gh),ts?[{kind:3,text:`* + * `+ts.replace(/\n/g,` + * `)+` + `,pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),hr),ze.flags=Xs,ze.enclosingDeclaration=L0}function $t(ri,Bu,hr){const ur=C4(ri),fr=sn(ri),Qs=Kt(fr,K1=>zt(K1,ze)),Mo=Zc(ur),ao=S(Mo)?_s(Mo):void 0,ts=Ku(n0(ur),K1=>SE(K1,ao)),Xs=BE(0,ur,ao,179),L0=BE(1,ur,ao,180),Gh=Kb(ur,ao),H1=S(Mo)?[q.createHeritageClause(96,Si(Mo,K1=>tS(K1,111551)))]:void 0;yl(q.createInterfaceDeclaration(void 0,qf(ri,Bu),Qs,H1,[...Gh,...L0,...Xs,...ts]),hr)}function zi(ri){const Bu=Jf(ri);return Bu?ei(ga(Bu.values()),hr=>qa(hr)&&Tm(hr.escapedName,99)):[]}function Bn(ri){return ye(zi(ri),Bu=>!(R1(bc(Bu))&111551))}function Du(ri,Bu,hr){const ur=zi(ri),fr=hO(ur,ao=>ao.parent&&ao.parent===ri?"real":"merged"),Qs=fr.get("real")||_t,Mo=fr.get("merged")||_t;if(S(Qs)){const ao=qf(ri,Bu);Tr(Qs,ao,hr,!!(ri.flags&67108880))}if(S(Mo)){const ao=zn(ze.enclosingDeclaration),ts=qf(ri,Bu),Xs=q.createModuleBlock([q.createExportDeclaration(void 0,!1,q.createNamedExports(Si(ei(Mo,L0=>L0.escapedName!=="export="),L0=>{var Gh,H1;const K1=Qr(L0.escapedName),ml=qf(L0,K1),b1=L0.declarations&&np(L0);if(ao&&(b1?ao!==zn(b1):!Ge(L0.declarations,Zf=>zn(Zf)===ao))){(H1=(Gh=ze.tracker)==null?void 0:Gh.reportNonlocalAugmentation)==null||H1.call(Gh,ao,ri,L0);return}const S3=b1&&g4(b1,!0);fl(S3||L0);const y1=S3?qf(S3,Qr(S3.escapedName)):ml;return q.createExportSpecifier(!1,K1===y1?void 0:y1,K1)})))]);yl(q.createModuleDeclaration(void 0,q.createIdentifier(ts),Xs,32),0)}}function nn(ri,Bu,hr){yl(q.createEnumDeclaration(q.createModifiersFromModifierFlags(fze(ri)?4096:0),qf(ri,Bu),Kt(ei(n0(Gn(ri)),ur=>!!(ur.flags&8)),ur=>{const fr=ur.declarations&&ur.declarations[0]&&K2(ur.declarations[0])?Wze(ur.declarations[0]):void 0;return q.createEnumMember(Qr(ur.escapedName),fr===void 0?void 0:typeof fr=="string"?q.createStringLiteral(fr):q.createNumericLiteral(fr))})),hr)}function lu(ri,Bu,hr,ur){const fr=fo(ri,0);for(const Qs of fr){const Mo=Te(Qs,262,ze,{name:q.createIdentifier(hr),privateSymbolVisitor:fl,bundledImports:Qn});yl(Pt(Mo,xr(Qs)),ur)}if(!(Bu.flags&1536&&Bu.exports&&Bu.exports.size)){const Qs=ei(n0(ri),qa);Tr(Qs,hr,ur,!0)}}function xr(ri){if(ri.declaration&&ri.declaration.parent){if(eu(ri.declaration.parent)&&Ql(ri.declaration.parent)===5)return ri.declaration.parent;if(ra(ri.declaration.parent)&&ri.declaration.parent.parent)return ri.declaration.parent.parent}return ri.declaration}function Tr(ri,Bu,hr,ur){if(S(ri)){const Qs=hO(ri,ml=>!S(ml.declarations)||Ge(ml.declarations,b1=>zn(b1)===zn(ze.enclosingDeclaration))?"local":"remote").get("local")||_t;let Mo=r_.createModuleDeclaration(void 0,q.createIdentifier(Bu),q.createModuleBlock([]),32);ys(Mo,zr),Mo.locals=Vo(ri),Mo.symbol=ri[0].parent;const ao=Ru;Ru=[];const ts=Ci;Ci=!1;const Xs={...ze,enclosingDeclaration:Mo},L0=ze;ze=Xs,cs(Vo(Qs),ur,!0),ze=L0,Ci=ts;const Gh=Ru;Ru=ao;const H1=Kt(Gh,ml=>ec(ml)&&!ml.isExportEquals&&at(ml.expression)?q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,ml.expression,q.createIdentifier("default"))])):ml),K1=ye(H1,ml=>Qu(ml,32))?Kt(H1,wa):H1;Mo=q.updateModuleDeclaration(Mo,Mo.modifiers,Mo.name,q.createModuleBlock(K1)),yl(Mo,hr)}}function qa(ri){return!!(ri.flags&2887656)||!(ri.flags&4194304||ri.escapedName==="prototype"||ri.valueDeclaration&&Lo(ri.valueDeclaration)&&gr(ri.valueDeclaration.parent))}function Ro(ri){const Bu=Si(ri,hr=>{const ur=ze.enclosingDeclaration;ze.enclosingDeclaration=hr;let fr=hr.expression;if(Xl(fr)){if(at(fr)&&fu(fr)==="")return Qs(void 0);let Mo;if({introducesError:Mo,node:fr}=yc(fr,ze,fl),Mo)return Qs(void 0)}return Qs(q.createExpressionWithTypeArguments(fr,Kt(hr.typeArguments,Mo=>Y0(ze,Mo,fl,Qn)||C(Br(Mo),ze))));function Qs(Mo){return ze.enclosingDeclaration=ur,Mo}});if(Bu.length===ri.length)return Bu}function Wo(ri,Bu,hr){var ur,fr;const Qs=(ur=ri.declarations)==null?void 0:ur.find(gr),Mo=ze.enclosingDeclaration;ze.enclosingDeclaration=Qs||Mo;const ao=sn(ri),ts=Kt(ao,TE=>zt(TE,ze)),Xs=Dm(C4(ri)),L0=Zc(Xs),Gh=Qs&&eB(Qs),H1=Gh&&Ro(Gh)||Si(ED(Xs),SD),K1=Gn(ri),ml=!!((fr=K1.symbol)!=null&&fr.valueDeclaration)&&gr(K1.symbol.valueDeclaration),b1=ml?qc(K1):me,S3=[...S(L0)?[q.createHeritageClause(96,Kt(L0,TE=>_T(TE,b1,Bu)))]:[],...S(H1)?[q.createHeritageClause(119,H1)]:[]],y1=Xsi(Xs,L0,n0(Xs)),Zf=ei(y1,TE=>{const Jz=TE.valueDeclaration;return!!Jz&&!(fh(Jz)&&ea(Jz.name))}),wE=Ge(y1,TE=>{const Jz=TE.valueDeclaration;return!!Jz&&fh(Jz)&&ea(Jz.name)})?[q.createPropertyDeclaration(void 0,q.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:_t,T6=Ku(Zf,TE=>Dr(TE,!1,L0[0])),L6=Ku(ei(n0(K1),TE=>!(TE.flags&4194304)&&TE.escapedName!=="prototype"&&!qa(TE)),TE=>Dr(TE,!0,b1)),pci=!ml&&!!ri.valueDeclaration&&Xn(ri.valueDeclaration)&&!Ge(fo(K1,1))?[q.createConstructorDeclaration(q.createModifiersFromModifierFlags(2),[],void 0)]:BE(1,K1,b1,176),gci=Kb(Xs,L0[0]);ze.enclosingDeclaration=Mo,yl(Pt(q.createClassDeclaration(void 0,Bu,ts,S3,[...gci,...L6,...pci,...T6,...wE]),ri.declarations&&ei(ri.declarations,TE=>Wc(TE)||Qd(TE))[0]),hr)}function vr(ri){return G(ri,Bu=>{if(Cf(Bu)||X1(Bu))return fu(Bu.propertyName||Bu.name);if(eu(Bu)||ec(Bu)){const hr=ec(Bu)?Bu.expression:Bu.right;if(zu(hr))return fu(hr.name)}if(aC(Bu)){const hr=$a(Bu);if(hr&&at(hr))return fu(hr)}})}function co(ri,Bu,hr){var ur,fr,Qs,Mo,ao;const ts=np(ri);if(!ts)return H.fail();const Xs=Hs(g4(ts,!0));if(!Xs)return;let L0=JN(Xs)&&vr(ri.declarations)||Qr(Xs.escapedName);L0==="export="&&pe&&(L0="default");const Gh=qf(Xs,L0);switch(fl(Xs),ts.kind){case 208:if(((fr=(ur=ts.parent)==null?void 0:ur.parent)==null?void 0:fr.kind)===260){const ml=_n(Xs.parent||Xs,ze),{propertyName:b1}=ts;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamedImports([q.createImportSpecifier(!1,b1&&at(b1)?q.createIdentifier(fu(b1)):void 0,q.createIdentifier(Bu))])),q.createStringLiteral(ml),void 0),0);break}H.failBadSyntaxKind(((Qs=ts.parent)==null?void 0:Qs.parent)||ts,"Unhandled binding element grandparent kind in declaration serialization");break;case 304:((ao=(Mo=ts.parent)==null?void 0:Mo.parent)==null?void 0:ao.kind)===226&&es(Qr(ri.escapedName),Gh);break;case 260:if(zu(ts.initializer)){const ml=ts.initializer,b1=q.createUniqueName(Bu),S3=_n(Xs.parent||Xs,ze);yl(q.createImportEqualsDeclaration(void 0,!1,b1,q.createExternalModuleReference(q.createStringLiteral(S3))),0),yl(q.createImportEqualsDeclaration(void 0,!1,q.createIdentifier(Bu),q.createQualifiedName(b1,ml.name)),hr);break}case 271:if(Xs.escapedName==="export="&&Ge(Xs.declarations,ml=>ca(ml)&&H4(ml))){T0(ri);break}const H1=!(Xs.flags&512)&&!ra(ts);yl(q.createImportEqualsDeclaration(void 0,!1,q.createIdentifier(Bu),H1?ka(Xs,ze,67108863,!1):q.createExternalModuleReference(q.createStringLiteral(_n(Xs,ze)))),H1?hr:0);break;case 270:yl(q.createNamespaceExportDeclaration(fu(ts.name)),0);break;case 273:{const ml=_n(Xs.parent||Xs,ze),b1=Qn?q.createStringLiteral(ml):ts.parent.moduleSpecifier;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,q.createIdentifier(Bu),void 0),b1,ts.parent.attributes),0);break}case 274:{const ml=_n(Xs.parent||Xs,ze),b1=Qn?q.createStringLiteral(ml):ts.parent.parent.moduleSpecifier;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamespaceImport(q.createIdentifier(Bu))),b1,ts.parent.attributes),0);break}case 280:yl(q.createExportDeclaration(void 0,!1,q.createNamespaceExport(q.createIdentifier(Bu)),q.createStringLiteral(_n(Xs,ze))),0);break;case 276:{const ml=_n(Xs.parent||Xs,ze),b1=Qn?q.createStringLiteral(ml):ts.parent.parent.parent.moduleSpecifier;yl(q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamedImports([q.createImportSpecifier(!1,Bu!==L0?q.createIdentifier(L0):void 0,q.createIdentifier(Bu))])),b1,ts.parent.parent.parent.attributes),0);break}case 281:const K1=ts.parent.parent.moduleSpecifier;es(Qr(ri.escapedName),K1?L0:Gh,K1&&t0(K1)?q.createStringLiteral(K1.text):void 0);break;case 277:T0(ri);break;case 226:case 211:case 212:ri.escapedName==="default"||ri.escapedName==="export="?T0(ri):es(Bu,Gh);break;default:return H.failBadSyntaxKind(ts,"Unhandled alias declaration kind in symbol serializer!")}}function es(ri,Bu,hr){yl(q.createExportDeclaration(void 0,!1,q.createNamedExports([q.createExportSpecifier(!1,ri!==Bu?Bu:void 0,ri)]),hr),0)}function T0(ri){var Bu;if(ri.flags&4194304)return!1;const hr=Qr(ri.escapedName),ur=hr==="export=",Qs=ur||hr==="default",Mo=ri.declarations&&np(ri),ao=Mo&&g4(Mo,!0);if(ao&&S(ao.declarations)&&Ge(ao.declarations,ts=>zn(ts)===zn(zr))){const ts=Mo&&(ec(Mo)||eu(Mo)?H0e(Mo):dye(Mo)),Xs=ts&&Xl(ts)?f0i(ts):void 0,L0=Xs&&z0(Xs,67108863,!0,!0,zr);(L0||ao)&&fl(L0||ao);const Gh=ze.tracker.disableTrackSymbol;if(ze.tracker.disableTrackSymbol=!0,Qs)Ru.push(q.createExportAssignment(void 0,ur,rh(ao,ze,67108863)));else if(Xs===ts&&Xs)es(hr,fu(Xs));else if(ts&&Qd(ts))es(hr,qf(ao,sc(ao)));else{const H1=PC(hr,ri);yl(q.createImportEqualsDeclaration(void 0,!1,q.createIdentifier(H1),ka(ao,ze,67108863,!1)),0),es(hr,H1)}return ze.tracker.disableTrackSymbol=Gh,!0}else{const ts=PC(hr,ri),Xs=xm(Gn(Hs(ri)));if(Ws(Xs,ri))lu(Xs,ri,ts,Qs?0:32);else{const L0=((Bu=ze.enclosingDeclaration)==null?void 0:Bu.kind)===267&&(!(ri.flags&98304)||ri.flags&65536)?1:2,Gh=q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ts,void 0,rd(ze,Xs,ri,zr,fl,Qn))],L0));yl(Gh,ao&&ao.flags&4&&ao.escapedName==="export="?128:hr===ts?32:0)}return Qs?(Ru.push(q.createExportAssignment(void 0,ur,q.createIdentifier(ts))),!0):hr!==ts?(es(hr,ts),!0):!1}}function Ws(ri,Bu){const hr=zn(ze.enclosingDeclaration);return Ju(ri)&48&&!S(yh(ri))&&!I9(ri)&&!!(S(ei(n0(ri),qa))||S(fo(ri,0)))&&!S(fo(ri,1))&&!Un(Bu,zr)&&!(ri.symbol&&Ge(ri.symbol.declarations,ur=>zn(ur)!==hr))&&!Ge(n0(ri),ur=>YK(ur.escapedName))&&!Ge(n0(ri),ur=>Ge(ur.declarations,fr=>zn(fr)!==hr))&&ye(n0(ri),ur=>Tm(sc(ur),Ce)?ur.flags&98304?g6(ur)===hF(ur):!0:!1)}function jd(ri,Bu,hr){return function(fr,Qs,Mo){var ao,ts,Xs,L0,Gh;const H1=s4(fr),K1=!!(H1&2);if(Qs&&fr.flags&2887656)return[];if(fr.flags&4194304||fr.escapedName==="constructor"||Mo&&Uo(Mo,fr.escapedName)&&Tg(Uo(Mo,fr.escapedName))===Tg(fr)&&(fr.flags&16777216)===(Uo(Mo,fr.escapedName).flags&16777216)&&vD(Gn(fr),he(Mo,fr.escapedName)))return[];const ml=H1&-1025|(Qs?256:0),b1=Wn(fr,ze),S3=(ao=fr.declarations)==null?void 0:ao.find(lg(yo,Bx,ra,Pm,eu,zu));if(fr.flags&98304&&hr){const y1=[];if(fr.flags&65536){const Zf=fr.declarations&&L(fr.declarations,wE=>{if(wE.kind===178)return wE;if(Po(wE)&&nk(wE))return L(wE.arguments[2].properties,T6=>{const L6=$a(T6);if(L6&&at(L6)&&fu(L6)==="set")return T6})});H.assert(!!Zf);const iS=W0(Zf)?lp(Zf).parameters[0]:void 0;y1.push(Pt(q.createSetAccessorDeclaration(q.createModifiersFromModifierFlags(ml),b1,[q.createParameterDeclaration(void 0,void 0,iS?cn(iS,fi(iS),ze):"value",void 0,K1?void 0:rd(ze,Gn(fr),fr,zr,fl,Qn))],void 0),((ts=fr.declarations)==null?void 0:ts.find(XD))||S3))}if(fr.flags&32768){const Zf=H1&2;y1.push(Pt(q.createGetAccessorDeclaration(q.createModifiersFromModifierFlags(ml),b1,[],Zf?void 0:rd(ze,Gn(fr),fr,zr,fl,Qn),void 0),((Xs=fr.declarations)==null?void 0:Xs.find(Tx))||S3))}return y1}else if(fr.flags&98311)return Pt(ri(q.createModifiersFromModifierFlags((Tg(fr)?8:0)|ml),b1,fr.flags&16777216?q.createToken(58):void 0,K1?void 0:rd(ze,hF(fr),fr,zr,fl,Qn),void 0),((L0=fr.declarations)==null?void 0:L0.find(lg(yo,ra)))||S3);if(fr.flags&8208){const y1=Gn(fr),Zf=fo(y1,0);if(ml&2)return Pt(ri(q.createModifiersFromModifierFlags((Tg(fr)?8:0)|ml),b1,fr.flags&16777216?q.createToken(58):void 0,void 0,void 0),((Gh=fr.declarations)==null?void 0:Gh.find(W0))||Zf[0]&&Zf[0].declaration||fr.declarations&&fr.declarations[0]);const iS=[];for(const wE of Zf){const T6=Te(wE,Bu,ze,{name:b1,questionToken:fr.flags&16777216?q.createToken(58):void 0,modifiers:ml?q.createModifiersFromModifierFlags(ml):void 0}),L6=wE.declaration&&bj(wE.declaration.parent)?wE.declaration.parent:wE.declaration;iS.push(Pt(T6,L6))}return iS}return H.fail(`Unhandled class member kind! ${fr.__debugFlags||fr.flags}`)}}function SE(ri,Bu){return pr(ri,!1,Bu)}function BE(ri,Bu,hr,ur){const fr=fo(Bu,ri);if(ri===1){if(!hr&&ye(fr,ao=>S(ao.parameters)===0))return[];if(hr){const ao=fo(hr,1);if(!S(ao)&&ye(fr,ts=>S(ts.parameters)===0))return[];if(ao.length===fr.length){let ts=!1;for(let Xs=0;XsC(fr,ze)),ur=rh(ri.target.symbol,ze,788968)):ri.symbol&&Vt(ri.symbol,zr,Bu)&&(ur=rh(ri.symbol,ze,788968)),ur)return q.createExpressionWithTypeArguments(ur,hr)}function SD(ri){const Bu=tS(ri,788968);if(Bu)return Bu;if(ri.symbol)return q.createExpressionWithTypeArguments(rh(ri.symbol,ze,788968),void 0)}function PC(ri,Bu){var hr,ur;const fr=Bu?Zo(Bu):void 0;if(fr&&ze.remappedSymbolNames.has(fr))return ze.remappedSymbolNames.get(fr);Bu&&(ri=yie(Bu,ri));let Qs=0;const Mo=ri;for(;(hr=ze.usedSymbolNames)!=null&&hr.has(ri);)Qs++,ri=`${Mo}_${Qs}`;return(ur=ze.usedSymbolNames)==null||ur.add(ri),fr&&ze.remappedSymbolNames.set(fr,ri),ri}function yie(ri,Bu){if(Bu==="default"||Bu==="__class"||Bu==="__function"){const hr=ze.flags;ze.flags|=16777216;const ur=E_(ri,ze);ze.flags=hr,Bu=ur.length>0&&gj(ur.charCodeAt(0))?G4(ur):ur}return Bu==="default"?Bu="_default":Bu==="export="&&(Bu="_exports"),Bu=Tm(Bu,Ce)&&!h7(Bu)?Bu:"_"+Bu.replace(/[^a-zA-Z0-9]/g,"_"),Bu}function qf(ri,Bu){const hr=Zo(ri);return ze.remappedSymbolNames.has(hr)?ze.remappedSymbolNames.get(hr):(Bu=yie(ri,Bu),ze.remappedSymbolNames.set(hr,Bu),Bu)}}}function g_(l,m,D=16384,C){return C?A(C).getText():WN(A);function A(w){const I=q.createTypePredicateNode(l.kind===2||l.kind===3?q.createToken(131):void 0,l.kind===1||l.kind===3?q.createIdentifier(l.parameterName):q.createThisTypeNode(),l.type&&Yt.typeToTypeNode(l.type,m,EC(D)|70221824|512)),U=Z2(),Z=m&&zn(m);return U.writeNode(4,I,Z,w),w}}function P5(l){const m=[];let D=0;for(let C=0;C$a(I)?I:void 0);const w=A&&$a(A);if(A&&w){if(Po(A)&&nk(A))return sc(l);if(Ns(w)&&!(Wl(l)&4096)){const I=Ur(l).nameType;if(I&&I.flags&384){const U=dz(l,m);if(U!==void 0)return U}}return C0(w)}if(A||(A=l.declarations[0]),A.parent&&A.parent.kind===260)return C0(A.parent.name);switch(A.kind){case 231:case 218:case 219:return m&&!m.encounteredError&&!(m.flags&131072)&&(m.encounteredError=!0),A.kind===231?"(Anonymous class)":"(Anonymous function)"}}const C=dz(l,m);return C!==void 0?C:sc(l)}function mD(l){if(l){const D=or(l);return D.isVisible===void 0&&(D.isVisible=!!m()),D.isVisible}return!1;function m(){switch(l.kind){case 345:case 353:case 347:return!!(l.parent&&l.parent.parent&&l.parent.parent.parent&&ca(l.parent.parent.parent));case 208:return mD(l.parent.parent);case 260:if(Ao(l.name)&&!l.name.elements.length)return!1;case 267:case 263:case 264:case 265:case 262:case 266:case 271:if(_2(l))return!0;const D=lF(l);return!(h_e(l)&32)&&!(l.kind!==271&&D.kind!==312&&D.flags&33554432)?mE(D):mD(D);case 172:case 171:case 177:case 178:case 174:case 173:if(If(l,6))return!1;case 176:case 180:case 179:case 181:case 169:case 268:case 184:case 185:case 187:case 183:case 188:case 189:case 192:case 193:case 196:case 202:return mD(l.parent);case 273:case 274:case 276:return!1;case 168:case 312:case 270:return!0;case 277:return!1;default:return!1}}}function $w(l,m){let D;l.parent&&l.parent.kind===277?D=nc(l,l.escapedText,2998271,void 0,l,!1):l.parent.kind===281&&(D=gb(l.parent,2998271));let C,A;return D&&(A=new Set,A.add(Zo(D)),w(D.declarations)),C;function w(I){L(I,U=>{const Z=k9(U)||U;if(m?or(U).isVisible=!0:(C=C||[],xa(C,Z)),J8(U)){const ce=U.moduleReference,Fe=dm(ce),Te=nc(U,Fe.escapedText,901119,void 0,void 0,!1);Te&&A&&k0(A,Zo(Te))&&w(Te.declarations)}})}}function __(l,m){const D=_C(l,m);if(D>=0){const{length:C}=lD;for(let A=D;A=ab;D--){if(cte(lD[D],Kk[D]))return-1;if(lD[D]===l&&Kk[D]===m)return D}return-1}function cte(l,m){switch(m){case 0:return!!Ur(l).type;case 5:return!!or(l).resolvedEnumType;case 2:return!!Ur(l).declaredType;case 1:return!!l.resolvedBaseConstructorType;case 3:return!!l.resolvedReturnType;case 4:return!!l.immediateBaseConstraint;case 6:return!!l.resolvedTypeArguments;case 7:return!!l.baseTypesResolved;case 8:return!!Ur(l).writeType;case 9:return or(l).parameterInitializerContainsUndefined!==void 0}return H.assertNever(m)}function vE(){return lD.pop(),Kk.pop(),t6.pop()}function lF(l){return Tn(QE(l),m=>{switch(m.kind){case 260:case 261:case 276:case 275:case 274:case 273:return!1;default:return!0}}).parent}function qK(l){const m=Z0(lf(l));return m.typeParameters?I5(m,Kt(m.typeParameters,D=>me)):m}function he(l,m){const D=Uo(l,m);return D?Gn(D):void 0}function Re(l,m){var D;let C;return he(l,m)||(C=(D=K9(l,m))==null?void 0:D.type)&&Od(C,!0,!0)}function nt(l){return l&&(l.flags&1)!==0}function Lt(l){return l===jt||!!(l.flags&1&&l.aliasSymbol)}function vi(l,m){if(m!==0)return pD(l,!1,m);const D=_u(l);return D&&Ur(D).type||pD(l,!1,m)}function Xi(l,m,D){if(l=zc(l,Z=>!(Z.flags&98304)),l.flags&131072)return Ko;if(l.flags&1048576)return hl(l,Z=>Xi(Z,m,D));let C=tr(Kt(m,O5));const A=[],w=[];for(const Z of n0(l)){const ce=bz(Z,8576);!fs(ce,C)&&!(s4(Z)&6)&&Rge(Z)?A.push(Z):w.push(ce)}if(Bb(l)||kC(C)){if(w.length&&(C=tr([C,...w])),C.flags&131072)return l;const Z=kei();return Z?uT(Z,[l,C]):jt}const I=Vo();for(const Z of A)I.set(Z.escapedName,kPe(Z,!1));const U=Ol(D,I,_t,_t,yh(l));return U.objectFlags|=4194304,U}function Mu(l){return!!(l.flags&465829888)&&jl(Hh(l)||on,32768)}function Wr(l){const m=bE(l,Mu)?hl(l,D=>D.flags&465829888?DD(D):D):l;return hp(m,524288)}function Nr(l,m){const D=_r(l);return D?B6(D,m):m}function _r(l){const m=ma(l);if(m&&Aj(m)&&m.flowNode){const D=E0(l);if(D){const C=Pt(r_.createStringLiteral(D),l),A=_f(m)?m:r_.createParenthesizedExpression(m),w=Pt(r_.createElementAccessExpression(A,C),l);return ys(C,w),ys(w,l),A!==m&&ys(A,w),w.flowNode=m.flowNode,w}}}function ma(l){const m=l.parent.parent;switch(m.kind){case 208:case 303:return _r(m);case 209:return _r(l.parent);case 260:return m.initializer;case 226:return m.right}}function E0(l){const m=l.parent;return l.kind===208&&m.kind===206?qs(l.propertyName||l.name):l.kind===303||l.kind===304?qs(l.name):""+m.elements.indexOf(l)}function qs(l){const m=O5(l);return m.flags&384?""+m.value:void 0}function Ks(l){const m=l.dotDotDotToken?32:0,D=vi(l.parent.parent,m);return D&&x4(l,D,!1)}function x4(l,m,D){if(nt(m))return m;const C=l.parent;fe&&l.flags&33554432&&A2(l)?m=kD(m):fe&&C.parent.initializer&&!dp(Pht(C.parent.initializer),65536)&&(m=hp(m,524288));let A;if(C.kind===206)if(l.dotDotDotToken){if(m=Fg(m),m.flags&2||!$te(m))return pt(l,F.Rest_types_may_only_be_created_from_object_types),jt;const w=[];for(const I of C.elements)I.dotDotDotToken||w.push(I.propertyName||I.name);A=Xi(m,w,l.symbol)}else{const w=l.propertyName||l.name,I=O5(w),U=Uf(m,I,32,w);A=Nr(l,U)}else{const w=W5(65|(l.dotDotDotToken?0:128),m,te,C),I=C.elements.indexOf(l);if(l.dotDotDotToken){const U=hl(m,Z=>Z.flags&58982400?DD(Z):Z);A=Xm(U,Ds)?hl(U,Z=>Cz(Z,I)):j1(w)}else if(V5(m)){const U=Sg(I),Z=32|(D||Mz(l)?16:0),ce=C6(m,U,Z,l.name)||jt;A=Nr(l,ce)}else A=w}return l.initializer?h1(F8(l))?fe&&!dp(SW(l,0),16777216)?Wr(A):A:gze(l,tr([Wr(A),SW(l,0)],2)):A}function Jp(l){const m=Dv(l);if(m)return Br(m)}function h6(l){const m=s0(l,!0);return m.kind===106||m.kind===80&&$p(m)===lt}function C3(l){const m=s0(l,!0);return m.kind===209&&m.elements.length===0}function Od(l,m=!1,D=!0){return fe&&D?A6(l,m):l}function pD(l,m,D){if(ra(l)&&l.parent.parent.kind===249){const I=y_(jMe(ya(l.parent.parent.expression,D)));return I.flags&4456448?E1t(I):ct}if(ra(l)&&l.parent.parent.kind===250){const I=l.parent.parent;return _ie(I)||me}if(Ao(l.parent))return Ks(l);const C=yo(l)&&!Xg(l)||Pm(l)||DFe(l),A=m&&NP(l),w=dt(l);if(h0e(l))return w?nt(w)||w===on?w:jt:He?on:me;if(w)return Od(w,C,A);if((Ae||Xn(l))&&ra(l)&&!Ao(l.name)&&!(h_e(l)&32)&&!(l.flags&33554432)){if(!(Hb(l)&6)&&(!l.initializer||h6(l.initializer)))return ni;if(l.initializer&&C3(l.initializer))return Lc}if(Qa(l)){const I=l.parent;if(I.kind===178&&eT(I)){const ce=Sl(_u(l.parent),177);if(ce){const Fe=lp(ce),Te=Zze(I);return Te&&l===Te?(H.assert(!Te.type),Gn(Fe.thisParameter)):Zs(Fe)}}const U=YXt(I,l);if(U)return U;const Z=l.symbol.escapedName==="this"?eft(I):tft(l);if(Z)return Od(Z,!1,A)}if(Zy(l)&&l.initializer){if(Xn(l)&&!Qa(l)){const U=pz(l,_u(l),_j(l));if(U)return U}const I=gze(l,SW(l,D));return Od(I,C,A)}if(yo(l)&&(Ae||Xn(l)))if(Kc(l)){const I=ei(l.parent.members,zl),U=I.length?dte(l.symbol,I):gh(l)&128?eEe(l.symbol):void 0;return U&&Od(U,!0,A)}else{const I=Gp(l.parent),U=I?mz(l.symbol,I):gh(l)&128?eEe(l.symbol):void 0;return U&&Od(U,!0,A)}if(aE(l))return du;if(Ao(l.name))return O9(l.name,!1,!0)}function hz(l){if(l.valueDeclaration&&eu(l.valueDeclaration)){const m=Ur(l);return m.isConstructorDeclaredProperty===void 0&&(m.isConstructorDeclaredProperty=!1,m.isConstructorDeclaredProperty=!!qw(l)&&ye(l.declarations,D=>eu(D)&&yEe(D)&&(D.left.kind!==212||Nm(D.left.argumentExpression))&&!v4(void 0,D,l,D))),m.isConstructorDeclaredProperty}return!1}function Uw(l){const m=l.valueDeclaration;return m&&yo(m)&&!h1(m)&&!m.initializer&&(Ae||Xn(m))}function qw(l){if(l.declarations)for(const m of l.declarations){const D=ef(m,!1,!1);if(D&&(D.kind===176||FE(D)))return D}}function fz(l){const m=zn(l.declarations[0]),D=Qr(l.escapedName),C=l.declarations.every(w=>Xn(w)&&M0(w)&&Z_(w.expression)),A=C?q.createPropertyAccessExpression(q.createPropertyAccessExpression(q.createIdentifier("module"),q.createIdentifier("exports")),D):q.createPropertyAccessExpression(q.createIdentifier("exports"),D);return C&&ys(A.expression.expression,A.expression),ys(A.expression,A),ys(A,m),A.flowNode=m.endFlowNode,B6(A,ni,te)}function dte(l,m){const D=La(l.escapedName,"__#")?q.createPrivateIdentifier(l.escapedName.split("@")[1]):Qr(l.escapedName);for(const C of m){const A=q.createPropertyAccessExpression(q.createThis(),D);ys(A.expression,A),ys(A,C),A.flowNode=C.returnFlowNode;const w=Zm(A,l);if(Ae&&(w===ni||w===Lc)&&pt(l.valueDeclaration,F.Member_0_implicitly_has_an_1_type,Sr(l),gn(w)),!Xm(w,Yte))return zW(w)}}function mz(l,m){const D=La(l.escapedName,"__#")?q.createPrivateIdentifier(l.escapedName.split("@")[1]):Qr(l.escapedName),C=q.createPropertyAccessExpression(q.createThis(),D);ys(C.expression,C),ys(C,m),C.flowNode=m.returnFlowNode;const A=Zm(C,l);return Ae&&(A===ni||A===Lc)&&pt(l.valueDeclaration,F.Member_0_implicitly_has_an_1_type,Sr(l),gn(A)),Xm(A,Yte)?void 0:zW(A)}function Zm(l,m){const D=(m==null?void 0:m.valueDeclaration)&&(!Uw(m)||gh(m.valueDeclaration)&128)&&eEe(m)||te;return B6(l,ni,D)}function gD(l,m){const D=o7(l.valueDeclaration);if(D){const U=Xn(D)?_v(D):void 0;return U&&U.typeExpression?Br(U.typeExpression):l.valueDeclaration&&pz(l.valueDeclaration,l,D)||Pb(Ic(D))}let C,A=!1,w=!1;if(hz(l)&&(C=mz(l,qw(l))),!C){let U;if(l.declarations){let Z;for(const ce of l.declarations){const Fe=eu(ce)||Po(ce)?ce:M0(ce)?eu(ce.parent)?ce.parent:ce:void 0;if(!Fe)continue;const Te=M0(Fe)?Cj(Fe):Ql(Fe);(Te===4||eu(Fe)&&yEe(Fe,Te))&&(Pc(Fe)?A=!0:w=!0),Po(Fe)||(Z=v4(Z,Fe,l,ce)),Z||(U||(U=[])).push(eu(Fe)||Po(Fe)?Zw(l,m,Fe,Te):Wu)}C=Z}if(!C){if(!S(U))return jt;let Z=A&&l.declarations?f6(U,l.declarations):void 0;if(w){const Fe=eEe(l);Fe&&((Z||(Z=[])).push(Fe),A=!0)}const ce=Ge(Z,Fe=>!!(Fe.flags&-98305))?Z:U;C=tr(ce)}}const I=xm(Od(C,!1,w&&!A));return l.valueDeclaration&&Xn(l.valueDeclaration)&&zc(I,U=>!!(U.flags&-98305))===Wu?(wC(l.valueDeclaration,me),me):I}function pz(l,m,D){var C,A;if(!Xn(l)||!D||!bs(D)||D.properties.length)return;const w=Vo();for(;eu(l)||zu(l);){const Z=_m(l);(C=Z==null?void 0:Z.exports)!=null&&C.size&&fE(w,Z.exports),l=eu(l)?l.parent:l.parent.parent}const I=_m(l);(A=I==null?void 0:I.exports)!=null&&A.size&&fE(w,I.exports);const U=Ol(m,w,_t,_t,_t);return U.objectFlags|=4096,U}function v4(l,m,D,C){var A;const w=h1(m.parent);if(w){const I=xm(Br(w));if(l)!Lt(l)&&!Lt(I)&&!vD(l,I)&&n4t(void 0,l,C,I);else return I}if((A=D.parent)!=null&&A.valueDeclaration){const I=h1(D.parent.valueDeclaration);if(I){const U=Uo(Br(I),D.escapedName);if(U)return g6(U)}}return l}function Zw(l,m,D,C){if(Po(D)){if(m)return Gn(m);const I=Ic(D.arguments[2]),U=he(I,"value");if(U)return U;const Z=he(I,"get");if(Z){const Fe=SF(Z);if(Fe)return Zs(Fe)}const ce=he(I,"set");if(ce){const Fe=SF(ce);if(Fe)return oze(Fe)}return me}if(Ps(D.left,D.right))return me;const A=C===1&&(zu(D.left)||G0(D.left))&&(Z_(D.left.expression)||at(D.left.expression)&&ik(D.left.expression)),w=m?Gn(m):A?Wh(Ic(D.right)):Pb(Ic(D.right));if(w.flags&524288&&C===2&&l.escapedName==="export="){const I=kg(w),U=Vo();GU(I.members,U);const Z=U.size;m&&!m.exports&&(m.exports=Vo()),(m||l).exports.forEach((Fe,Te)=>{var $e;const ut=U.get(Te);if(ut&&ut!==Fe&&!(Fe.flags&2097152))if(Fe.flags&111551&&ut.flags&111551){if(Fe.valueDeclaration&&ut.valueDeclaration&&zn(Fe.valueDeclaration)!==zn(ut.valueDeclaration)){const fi=Qr(Fe.escapedName),Wi=(($e=rr(ut.valueDeclaration,fh))==null?void 0:$e.name)||ut.valueDeclaration;gs(pt(Fe.valueDeclaration,F.Duplicate_identifier_0,fi),Su(Wi,F._0_was_also_declared_here,fi)),gs(pt(Wi,F.Duplicate_identifier_0,fi),Su(Fe.valueDeclaration,F._0_was_also_declared_here,fi))}const zt=Vs(Fe.flags|ut.flags,Te);zt.links.type=tr([Gn(Fe),Gn(ut)]),zt.valueDeclaration=ut.valueDeclaration,zt.declarations=an(ut.declarations,Fe.declarations),U.set(Te,zt)}else U.set(Te,ip(Fe,ut));else U.set(Te,Fe)});const ce=Ol(Z!==U.size?void 0:I.symbol,U,I.callSignatures,I.constructSignatures,I.indexInfos);if(Z===U.size&&(w.aliasSymbol&&(ce.aliasSymbol=w.aliasSymbol,ce.aliasTypeArguments=w.aliasTypeArguments),Ju(w)&4)){ce.aliasSymbol=w.symbol;const Fe=I0(w);ce.aliasTypeArguments=S(Fe)?Fe:void 0}return ce.objectFlags|=Ju(w)&4096,ce.symbol&&ce.symbol.flags&32&&w===C4(ce.symbol)&&(ce.objectFlags|=16777216),ce}return iEe(w)?(wC(D,Ul),Ul):w}function Ps(l,m){return zu(l)&&l.expression.kind===110&&nM(m,D=>v1(l,D))}function Pc(l){const m=ef(l,!1,!1);return m.kind===176||m.kind===262||m.kind===218&&!bj(m.parent)}function f6(l,m){return H.assert(l.length===m.length),l.filter((D,C)=>{const A=m[C],w=eu(A)?A:eu(A.parent)?A.parent:void 0;return w&&Pc(w)})}function cF(l,m,D){if(l.initializer){const C=Ao(l.name)?O9(l.name,!0,!1):on;return Od(gze(l,SW(l,0,C)))}return Ao(l.name)?O9(l.name,m,D):(D&&!ke(l)&&wC(l,me),m?$i:me)}function hte(l,m,D){const C=Vo();let A,w=131200;L(l.elements,U=>{const Z=U.propertyName||U.name;if(U.dotDotDotToken){A=b_(ct,me,!1);return}const ce=O5(Z);if(!q4(ce)){w|=512;return}const Fe=Z4(ce),Te=4|(U.initializer?16777216:0),$e=Vs(Te,Fe);$e.links.type=cF(U,m,D),$e.links.bindingElement=U,C.set($e.escapedName,$e)});const I=Ol(void 0,C,_t,_t,A?[A]:_t);return I.objectFlags|=w,m&&(I.pattern=l,I.objectFlags|=131072),I}function D_(l,m,D){const C=l.elements,A=Zu(C),w=A&&A.kind===208&&A.dotDotDotToken?A:void 0;if(C.length===0||C.length===1&&w)return Ce>=2?t1t(me):Ul;const I=Kt(C,Fe=>kd(Fe)?me:cF(Fe,m,D)),U=Ye(C,Fe=>!(Fe===w||kd(Fe)||Mz(Fe)),C.length-1)+1,Z=Kt(C,(Fe,Te)=>Fe===w?4:Te>=U?2:1);let ce=Ag(I,Z);return m&&(ce=zdt(ce),ce.pattern=l,ce.objectFlags|=131072),ce}function O9(l,m=!1,D=!1){return l.kind===206?hte(l,m,D):D_(l,m,D)}function N(l,m){return ee(pD(l,!0,0),l,m)}function W(l){const m=_m(l),D=fei(!1);return D&&m&&m===D}function ee(l,m,D){return l?(l.flags&4096&&W(m.parent)&&(l=FPe(m)),D&&dEe(m,l),l.flags&8192&&(Os(m)||!m.type)&&l.symbol!==_u(m)&&(l=er),xm(l)):(l=Qa(m)&&m.dotDotDotToken?Ul:me,D&&(ke(m)||wC(m,l)),l)}function ke(l){const m=QE(l),D=m.kind===169?m.parent:m;return fie(D)}function dt(l){const m=h1(l);if(m)return Br(m)}function Ai(l){let m=l.valueDeclaration;return m?(Os(m)&&(m=F8(m)),Qa(m)?$ge(m.parent):!1):!1}function au(l){const m=Ur(l);if(!m.type){const D=Pa(l);return!m.type&&!Ai(l)&&(m.type=D),D}return m.type}function Pa(l){if(l.flags&4194304)return qK(l);if(l===ti)return me;if(l.flags&134217728&&l.valueDeclaration){const C=_u(zn(l.valueDeclaration)),A=Vs(C.flags,"exports");A.declarations=C.declarations?C.declarations.slice():[],A.parent=l,A.links.target=C,C.valueDeclaration&&(A.valueDeclaration=C.valueDeclaration),C.members&&(A.members=new Map(C.members)),C.exports&&(A.exports=new Map(C.exports));const w=Vo();return w.set("exports",A),Ol(l,w,_t,_t,_t)}H.assertIsDefined(l.valueDeclaration);const m=l.valueDeclaration;if(ca(m)&&H4(m))return m.statements.length?xm(Pb(ya(m.statements[0].expression))):Ko;if(Bx(m))return DC(l);if(!__(l,0))return l.flags&512&&!(l.flags&67108864)?gz(l):Yw(l);let D;if(m.kind===277)D=ee(dt(m)||Ic(m.expression),m);else if(eu(m)||Xn(m)&&(Po(m)||(zu(m)||xq(m))&&eu(m.parent)))D=gD(l);else if(zu(m)||G0(m)||at(m)||t0(m)||Rf(m)||Wc(m)||Xc(m)||cc(m)&&!Np(m)||i3(m)||ca(m)){if(l.flags&9136)return gz(l);D=eu(m.parent)?gD(l):dt(m)||me}else if(Jc(m))D=dt(m)||Bmt(m);else if(aE(m))D=dt(m)||fft(m);else if(mm(m))D=dt(m)||Rz(m.name,0);else if(Np(m))D=dt(m)||wmt(m,0);else if(Qa(m)||yo(m)||Pm(m)||ra(m)||Os(m)||HO(m))D=N(m,!0);else if(Mv(m))D=gz(l);else if(K2(m))D=Dge(l);else return H.fail("Unhandled declaration kind! "+H.formatSyntaxKind(m.kind)+" for "+H.formatSymbol(l));return vE()?D:l.flags&512&&!(l.flags&67108864)?gz(l):Yw(l)}function i0(l){if(l)switch(l.kind){case 177:return J4(l);case 178:return vye(l);case 172:return H.assert(Xg(l)),h1(l)}}function Ym(l){const m=i0(l);return m&&Br(m)}function m6(l){const m=Zze(l);return m&&m.symbol}function p6(l){return bC(lp(l))}function DC(l){const m=Ur(l);if(!m.type){if(!__(l,0))return jt;const D=Sl(l,177),C=Sl(l,178),A=rr(Sl(l,172),Xh);let w=D&&Xn(D)&&Jp(D)||Ym(D)||Ym(C)||Ym(A)||D&&D.body&&VEe(D)||A&&A.initializer&&N(A,!0);w||(C&&!fie(C)?p4(Ae,C,F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,Sr(l)):D&&!fie(D)?p4(Ae,D,F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,Sr(l)):A&&!fie(A)&&p4(Ae,A,F.Member_0_implicitly_has_an_1_type,Sr(l),"any"),w=me),vE()||(i0(D)?pt(D,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Sr(l)):i0(C)||i0(A)?pt(C,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Sr(l)):D&&Ae&&pt(D,F._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,Sr(l)),w=me),m.type=w}return m.type}function _ge(l){const m=Ur(l);if(!m.writeType){if(!__(l,8))return jt;const D=Sl(l,178)??rr(Sl(l,172),Xh);let C=Ym(D);vE()||(i0(D)&&pt(D,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Sr(l)),C=me),m.writeType=C||DC(l)}return m.writeType}function dF(l){const m=qc(C4(l));return m.flags&8650752?m:m.flags&2097152?Le(m.types,D=>!!(D.flags&8650752)):void 0}function gz(l){let m=Ur(l);const D=m;if(!m.type){const C=l.valueDeclaration&&OEe(l.valueDeclaration,!1);if(C){const A=tze(l,C);A&&(l=A,m=A.links)}D.type=m.type=ANe(l)}return m.type}function ANe(l){const m=l.valueDeclaration;if(l.flags&1536&&JN(l))return me;if(m&&(m.kind===226||M0(m)&&m.parent.kind===226))return gD(l);if(l.flags&512&&m&&ca(m)&&m.commonJsModuleIndicator){const C=Em(l);if(C!==l){if(!__(l,0))return jt;const A=Hs(l.exports.get("export=")),w=gD(A,A===C?void 0:C);return vE()?w:Yw(l)}}const D=_4(16,l);if(l.flags&32){const C=dF(l);return C?_s([D,C]):D}else return fe&&l.flags&16777216?A6(D,!0):D}function Dge(l){const m=Ur(l);return m.type||(m.type=tdt(l))}function fte(l){const m=Ur(l);if(!m.type){if(!__(l,0))return jt;const D=hd(l),C=l.declarations&&g4(np(l),!0),A=G(C==null?void 0:C.declarations,w=>ec(w)?dt(w):void 0);if(m.type=C!=null&&C.declarations&&n_e(C.declarations)&&l.declarations.length?fz(C):n_e(l.declarations)?ni:A||(R1(D)&111551?Gn(D):jt),!vE())return Yw(C??l),m.type=jt}return m.type}function SNe(l){const m=Ur(l);return m.type||(m.type=_a(Gn(m.target),m.mapper))}function xge(l){const m=Ur(l);return m.writeType||(m.writeType=_a(hF(m.target),m.mapper))}function Yw(l){const m=l.valueDeclaration;if(m){if(h1(m))return pt(l.valueDeclaration,F._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,Sr(l)),jt;Ae&&(m.kind!==169||m.initializer)&&pt(l.valueDeclaration,F._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,Sr(l))}else if(l.flags&2097152){const D=np(l);D&&pt(D,F.Circular_definition_of_import_alias_0,Sr(l))}return me}function vge(l){const m=Ur(l);return m.type||(H.assertIsDefined(m.deferralParent),H.assertIsDefined(m.deferralConstituents),m.type=m.deferralParent.flags&1048576?tr(m.deferralConstituents):_s(m.deferralConstituents)),m.type}function BNe(l){const m=Ur(l);return!m.writeType&&m.deferralWriteConstituents&&(H.assertIsDefined(m.deferralParent),H.assertIsDefined(m.deferralConstituents),m.writeType=m.deferralParent.flags&1048576?tr(m.deferralWriteConstituents):_s(m.deferralWriteConstituents)),m.writeType}function hF(l){const m=Wl(l);return l.flags&4?m&2?m&65536?BNe(l)||vge(l):l.links.writeType||l.links.type:S6(Gn(l),!!(l.flags&16777216)):l.flags&98304?m&1?xge(l):_ge(l):Gn(l)}function Gn(l){const m=Wl(l);return m&65536?vge(l):m&1?SNe(l):m&262144?LXt(l):m&8192?Jii(l):l.flags&7?au(l):l.flags&9136?gz(l):l.flags&8?Dge(l):l.flags&98304?DC(l):l.flags&2097152?fte(l):jt}function g6(l){return S6(Gn(l),!!(l.flags&16777216))}function xC(l,m){return l!==void 0&&m!==void 0&&(Ju(l)&4)!==0&&l.target===m}function Qw(l){return Ju(l)&4?l.target:l}function j9(l,m){return D(l);function D(C){if(Ju(C)&7){const A=Qw(C);return A===m||Ge(Zc(A),D)}else if(C.flags&2097152)return Ge(C.types,D);return!1}}function kb(l,m){for(const D of m)l=e0(l,mF(_u(D)));return l}function Ez(l,m){for(;;){if(l=l.parent,l&&eu(l)){const D=Ql(l);if(D===6||D===3){const C=_u(l.left);C&&C.parent&&!Tn(C.parent.valueDeclaration,A=>l===A)&&(l=C.parent.valueDeclaration)}}if(!l)return;switch(l.kind){case 263:case 231:case 264:case 179:case 180:case 173:case 184:case 185:case 324:case 262:case 174:case 218:case 219:case 265:case 352:case 353:case 347:case 345:case 200:case 194:{const C=Ez(l,m);if(l.kind===200)return Ei(C,mF(_u(l.typeParameter)));if(l.kind===194)return an(C,A1t(l));const A=kb(C,Ax(l)),w=m&&(l.kind===263||l.kind===231||l.kind===264||FE(l))&&C4(_u(l)).thisType;return w?Ei(A,w):A}case 348:const D=Bj(l);D&&(l=D.valueDeclaration);break;case 327:{const C=Ez(l,m);return l.tags?kb(C,Ku(l.tags,A=>gg(A)?A.typeParameters:void 0)):C}}}}function Fb(l){var m;const D=l.flags&32||l.flags&16?l.valueDeclaration:(m=l.declarations)==null?void 0:m.find(C=>{if(C.kind===264)return!0;if(C.kind!==260)return!1;const A=C.initializer;return!!A&&(A.kind===218||A.kind===219)});return H.assert(!!D,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),Ez(D)}function sn(l){if(!l.declarations)return;let m;for(const D of l.declarations)(D.kind===264||D.kind===263||D.kind===231||FE(D)||Fj(D))&&(m=kb(m,Ax(D)));return m}function Xu(l){return an(Fb(l),sn(l))}function Vu(l){const m=fo(l,1);if(m.length===1){const D=m[0];if(!D.typeParameters&&D.parameters.length===1&&eh(D)){const C=rie(D.parameters[0]);return nt(C)||HPe(C)===me}}return!1}function Vr(l){if(fo(l,1).length>0)return!0;if(l.flags&8650752){const m=Hh(l);return!!m&&Vu(m)}return!1}function Kr(l){const m=eD(l.symbol);return m&&Yg(m)}function Is(l,m,D){const C=S(m),A=Xn(D);return ei(fo(l,1),w=>(A||C>=C_(w.typeParameters))&&C<=S(w.typeParameters))}function _0(l,m,D){const C=Is(l,m,D),A=Kt(m,Br);return Pu(C,w=>Ge(w.typeParameters)?nW(w,A,Xn(D)):w)}function qc(l){if(!l.resolvedBaseConstructorType){const m=eD(l.symbol),D=m&&Yg(m),C=Kr(l);if(!C)return l.resolvedBaseConstructorType=te;if(!__(l,1))return jt;const A=ya(C.expression);if(D&&C!==D&&(H.assert(!D.typeArguments),ya(D.expression)),A.flags&2621440&&kg(A),!vE())return pt(l.symbol.valueDeclaration,F._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,Sr(l.symbol)),l.resolvedBaseConstructorType=jt;if(!(A.flags&1)&&A!==Ct&&!Vr(A)){const w=pt(C.expression,F.Type_0_is_not_a_constructor_function_type,gn(A));if(A.flags&262144){const I=xz(A);let U=on;if(I){const Z=fo(I,1);Z[0]&&(U=Zs(Z[0]))}A.symbol.declarations&&gs(w,Su(A.symbol.declarations[0],F.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,Sr(A.symbol),gn(U)))}return l.resolvedBaseConstructorType=jt}l.resolvedBaseConstructorType=A}return l.resolvedBaseConstructorType}function ED(l){let m=_t;if(l.symbol.declarations)for(const D of l.symbol.declarations){const C=eB(D);if(C)for(const A of C){const w=Br(A);Lt(w)||(m===_t?m=[w]:m.push(w))}}return m}function x_(l,m){pt(l,F.Type_0_recursively_references_itself_as_a_base_type,gn(m,void 0,2))}function Zc(l){if(!l.baseTypesResolved){if(__(l,7)&&(l.objectFlags&8?l.resolvedBaseTypes=[M5(l)]:l.symbol.flags&96?(l.symbol.flags&32&&ZK(l),l.symbol.flags&64&&sXt(l)):H.fail("type must be class or interface"),!vE()&&l.symbol.declarations))for(const m of l.symbol.declarations)(m.kind===263||m.kind===264)&&x_(m,l);l.baseTypesResolved=!0}return l.resolvedBaseTypes}function M5(l){const m=Pu(l.typeParameters,(D,C)=>l.elementFlags[C]&8?Uf(D,Qt):D);return j1(tr(m||_t),l.readonly)}function ZK(l){l.resolvedBaseTypes=mZ;const m=Kh(qc(l));if(!(m.flags&2621441))return l.resolvedBaseTypes=_t;const D=Kr(l);let C;const A=m.symbol?Z0(m.symbol):void 0;if(m.symbol&&m.symbol.flags&32&&Xw(A))C=Idt(D,m.symbol);else if(m.flags&1)C=m;else{const I=_0(m,D.typeArguments,D);if(!I.length)return pt(D.expression,F.No_base_constructor_has_the_specified_number_of_type_arguments),l.resolvedBaseTypes=_t;C=Zs(I[0])}if(Lt(C))return l.resolvedBaseTypes=_t;const w=Fg(C);if(!fF(w)){const I=GNe(void 0,C),U=no(I,F.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,gn(w));return js.add(Z3(zn(D.expression),D.expression,U)),l.resolvedBaseTypes=_t}return l===w||j9(w,l)?(pt(l.symbol.valueDeclaration,F.Type_0_recursively_references_itself_as_a_base_type,gn(l,void 0,2)),l.resolvedBaseTypes=_t):(l.resolvedBaseTypes===mZ&&(l.members=void 0),l.resolvedBaseTypes=[w])}function Xw(l){const m=l.outerTypeParameters;if(m){const D=m.length-1,C=I0(l);return m[D].symbol!==C[D].symbol}return!0}function fF(l){if(l.flags&262144){const m=Hh(l);if(m)return fF(m)}return!!(l.flags&67633153&&!Qm(l)||l.flags&2097152&&ye(l.types,fF))}function sXt(l){if(l.resolvedBaseTypes=l.resolvedBaseTypes||_t,l.symbol.declarations){for(const m of l.symbol.declarations)if(m.kind===264&&uP(m))for(const D of uP(m)){const C=Fg(Br(D));Lt(C)||(fF(C)?l!==C&&!j9(C,l)?l.resolvedBaseTypes===_t?l.resolvedBaseTypes=[C]:l.resolvedBaseTypes.push(C):x_(m,l):pt(D,F.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}function lXt(l){if(!l.declarations)return!0;for(const m of l.declarations)if(m.kind===264){if(m.flags&256)return!1;const D=uP(m);if(D){for(const C of D)if(Xl(C.expression)){const A=z0(C.expression,788968,!0);if(!A||!(A.flags&64)||C4(A).thisType)return!1}}}return!0}function C4(l){let m=Ur(l);const D=m;if(!m.declaredType){const C=l.flags&32?1:2,A=tze(l,l.valueDeclaration&&Jri(l.valueDeclaration));A&&(l=A,m=A.links);const w=D.declaredType=m.declaredType=_4(C,l),I=Fb(l),U=sn(l);(I||U||C===1||!lXt(l))&&(w.objectFlags|=4,w.typeParameters=an(I,U),w.outerTypeParameters=I,w.localTypeParameters=U,w.instantiations=new Map,w.instantiations.set(cp(w.typeParameters),w),w.target=w,w.resolvedTypeArguments=w.typeParameters,w.thisType=O1(l),w.thisType.isThisType=!0,w.thisType.constraint=w)}return m.declaredType}function Qct(l){var m;const D=Ur(l);if(!D.declaredType){if(!__(l,2))return jt;const C=H.checkDefined((m=l.declarations)==null?void 0:m.find(Fj),"Type alias symbol with no valid declaration found"),A=K4(C)?C.typeExpression:C.type;let w=A?Br(A):jt;if(vE()){const I=sn(l);I&&(D.typeParameters=I,D.instantiations=new Map,D.instantiations.set(cp(I),w))}else w=jt,C.kind===347?pt(C.typeExpression.type,F.Type_alias_0_circularly_references_itself,Sr(l)):pt(fh(C)&&C.name||C,F.Type_alias_0_circularly_references_itself,Sr(l));D.declaredType=w}return D.declaredType}function Cge(l){return l.flags&1056&&l.symbol.flags&8?Z0(lf(l.symbol)):l}function Xct(l){const m=Ur(l);if(!m.declaredType){const D=[];if(l.declarations){for(const A of l.declarations)if(A.kind===266){for(const w of A.members)if(eT(w)){const I=_u(w),U=RW(w),Z=U9(U!==void 0?Ati(U,Zo(l),I):edt(I));Ur(I).declaredType=Z,D.push(Wh(Z))}}}const C=D.length?tr(D,1,l,void 0):edt(l);C.flags&1048576&&(C.flags|=1024,C.symbol=l),m.declaredType=C}return m.declaredType}function edt(l){const m=L5(32,l),D=L5(32,l);return m.regularType=m,m.freshType=D,D.regularType=m,D.freshType=D,m}function tdt(l){const m=Ur(l);if(!m.declaredType){const D=Xct(lf(l));m.declaredType||(m.declaredType=D)}return m.declaredType}function mF(l){const m=Ur(l);return m.declaredType||(m.declaredType=O1(l))}function cXt(l){const m=Ur(l);return m.declaredType||(m.declaredType=Z0(hd(l)))}function Z0(l){return idt(l)||jt}function idt(l){if(l.flags&96)return C4(l);if(l.flags&524288)return Qct(l);if(l.flags&262144)return mF(l);if(l.flags&384)return Xct(l);if(l.flags&8)return tdt(l);if(l.flags&2097152)return cXt(l)}function mte(l){switch(l.kind){case 133:case 159:case 154:case 150:case 163:case 136:case 155:case 151:case 116:case 157:case 146:case 201:return!0;case 188:return mte(l.elementType);case 183:return!l.typeArguments||l.typeArguments.every(mte)}return!1}function dXt(l){const m=S8(l);return!m||mte(m)}function ndt(l){const m=h1(l);return m?mte(m):!Lx(l)}function hXt(l){const m=J4(l),D=Ax(l);return(l.kind===176||!!m&&mte(m))&&l.parameters.every(ndt)&&D.every(dXt)}function fXt(l){if(l.declarations&&l.declarations.length===1){const m=l.declarations[0];if(m)switch(m.kind){case 172:case 171:return ndt(m);case 174:case 173:case 176:case 177:case 178:return hXt(m)}}return!1}function udt(l,m,D){const C=Vo();for(const A of l)C.set(A.escapedName,D&&fXt(A)?A:SPe(A,m));return C}function rdt(l,m){for(const D of m){if(adt(D))continue;const C=l.get(D.escapedName);(!C||C.valueDeclaration&&eu(C.valueDeclaration)&&!hz(C)&&!Zbe(C.valueDeclaration))&&(l.set(D.escapedName,D),l.set(D.escapedName,D))}}function adt(l){return!!l.valueDeclaration&&mh(l.valueDeclaration)&&Lo(l.valueDeclaration)}function wNe(l){if(!l.declaredProperties){const m=l.symbol,D=E6(m);l.declaredProperties=yb(D),l.declaredCallSignatures=_t,l.declaredConstructSignatures=_t,l.declaredIndexInfos=_t,l.declaredCallSignatures=Ab(D.get("__call")),l.declaredConstructSignatures=Ab(D.get("__new")),l.declaredIndexInfos=Ndt(m)}return l}function TNe(l){if(!Ns(l)&&!G0(l))return!1;const m=Ns(l)?l.expression:l.argumentExpression;return Xl(m)&&q4(Ns(l)?k3(l):Ic(m))}function YK(l){return l.charCodeAt(0)===95&&l.charCodeAt(1)===95&&l.charCodeAt(2)===64}function pte(l){const m=$a(l);return!!m&&TNe(m)}function eT(l){return!zx(l)||pte(l)}function mXt(l){return Sq(l)&&!TNe(l)}function pXt(l,m,D){H.assert(!!(Wl(l)&4096),"Expected a late-bound symbol."),l.flags|=D,Ur(m.symbol).lateSymbol=l,l.declarations?m.symbol.isReplaceableByMethod||l.declarations.push(m):l.declarations=[m],D&111551&&(!l.valueDeclaration||l.valueDeclaration.kind!==m.kind)&&(l.valueDeclaration=m)}function odt(l,m,D,C){H.assert(!!C.symbol,"The member is expected to have a symbol.");const A=or(C);if(!A.resolvedSymbol){A.resolvedSymbol=C.symbol;const w=eu(C)?C.left:C.name,I=G0(w)?Ic(w.argumentExpression):k3(w);if(q4(I)){const U=Z4(I),Z=C.symbol.flags;let ce=D.get(U);ce||D.set(U,ce=Vs(0,U,4096));const Fe=m&&m.get(U);if(!(l.flags&32)&&(ce.flags&Qk(Z)||Fe)){const Te=Fe?an(Fe.declarations,ce.declarations):ce.declarations,$e=!(I.flags&8192)&&Qr(U)||C0(w);L(Te,ut=>pt($a(ut)||ut,F.Property_0_was_also_declared_here,$e)),pt(w||C,F.Duplicate_property_0,$e),ce=Vs(0,U,4096)}return ce.links.nameType=I,pXt(ce,C,Z),ce.parent?H.assert(ce.parent===l,"Existing symbol parent should match new one"):ce.parent=l,A.resolvedSymbol=ce}}return A.resolvedSymbol}function LNe(l,m){var D,C,A;const w=Ur(l);if(!w[m]){const I=m==="resolvedExports",U=I?l.flags&1536?z9(l).exports:l.exports:l.members;w[m]=U||se;const Z=Vo();for(const Te of l.declarations||_t){const $e=Hbe(Te);if($e)for(const ut of $e)I===Kc(ut)&&pte(ut)&&odt(l,U,Z,ut)}const ce=(((D=l.valueDeclaration)==null?void 0:D.kind)===219||((C=l.valueDeclaration)==null?void 0:C.kind)===218)&&((A=_m(l.valueDeclaration.parent))==null?void 0:A.assignmentDeclarationMembers)||l.assignmentDeclarationMembers;if(ce){const Te=ga(ce.values());for(const $e of Te){const ut=Ql($e),zt=ut===3||eu($e)&&yEe($e,ut)||ut===9||ut===6;I===!zt&&pte($e)&&odt(l,U,Z,$e)}}let Fe=Xk(U,Z);if(l.flags&33554432&&w.cjsExportMerged&&l.declarations)for(const Te of l.declarations){const $e=Ur(Te.symbol)[m];if(!Fe){Fe=$e;continue}$e&&$e.forEach((ut,zt)=>{const fi=Fe.get(zt);if(!fi)Fe.set(zt,ut);else{if(fi===ut)return;Fe.set(zt,ip(fi,ut))}})}w[m]=Fe||se}return w[m]}function E6(l){return l.flags&6256?LNe(l,"resolvedMembers"):l.members||se}function bge(l){if(l.flags&106500&&l.escapedName==="__computed"){const m=Ur(l);if(!m.lateSymbol&&Ge(l.declarations,pte)){const D=Hs(l.parent);Ge(l.declarations,Kc)?Jf(D):E6(D)}return m.lateSymbol||(m.lateSymbol=l)}return l}function Dm(l,m,D){if(Ju(l)&4){const C=l.target,A=I0(l);return S(C.typeParameters)===S(A)?I5(C,an(A,[m||C.thisType])):l}else if(l.flags&2097152){const C=Pu(l.types,A=>Dm(A,m,D));return C!==l.types?_s(C):l}return D?Kh(l):l}function sdt(l,m,D,C){let A,w,I,U,Z;Ii(D,C,0,D.length)?(w=m.symbol?E6(m.symbol):Vo(m.declaredProperties),I=m.declaredCallSignatures,U=m.declaredConstructSignatures,Z=m.declaredIndexInfos):(A=Af(D,C),w=udt(m.declaredProperties,A,D.length===1),I=Hge(m.declaredCallSignatures,A),U=Hge(m.declaredConstructSignatures,A),Z=N1t(m.declaredIndexInfos,A));const ce=Zc(m);if(ce.length){if(m.symbol&&w===E6(m.symbol)){const Te=Vo();for(const $e of w.values())$e.flags&262144||Te.set($e.escapedName,$e);w=Te}D4(l,w,I,U,Z);const Fe=Zu(C);for(const Te of ce){const $e=Fe?Dm(_a(Te,A),Fe):Te;rdt(w,n0($e)),I=an(I,fo($e,0)),U=an(U,fo($e,1));const ut=$e!==me?yh($e):[b_(ct,me,!1)];Z=an(Z,ei(ut,zt=>!JNe(Z,zt.keyType)))}}D4(l,w,I,U,Z)}function gXt(l){sdt(l,wNe(l),_t,_t)}function EXt(l){const m=wNe(l.target),D=an(m.typeParameters,[m.thisType]),C=I0(l),A=C.length===D.length?C:an(C,[l]);sdt(l,m,D,A)}function b3(l,m,D,C,A,w,I,U){const Z=new B(Pi,U);return Z.declaration=l,Z.typeParameters=m,Z.parameters=C,Z.thisParameter=D,Z.resolvedReturnType=A,Z.resolvedTypePredicate=w,Z.minArgumentCount=I,Z.resolvedMinArgumentCount=void 0,Z.target=void 0,Z.mapper=void 0,Z.compositeSignatures=void 0,Z.compositeKind=void 0,Z}function QK(l){const m=b3(l.declaration,l.typeParameters,l.thisParameter,l.parameters,void 0,void 0,l.minArgumentCount,l.flags&167);return m.target=l.target,m.mapper=l.mapper,m.compositeSignatures=l.compositeSignatures,m.compositeKind=l.compositeKind,m}function ldt(l,m){const D=QK(l);return D.compositeSignatures=m,D.compositeKind=1048576,D.target=void 0,D.mapper=void 0,D}function _Xt(l,m){if((l.flags&24)===m)return l;l.optionalCallSignatureCache||(l.optionalCallSignatureCache={});const D=m===8?"inner":"outer";return l.optionalCallSignatureCache[D]||(l.optionalCallSignatureCache[D]=DXt(l,m))}function DXt(l,m){H.assert(m===8||m===16,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");const D=QK(l);return D.flags|=m,D}function cdt(l,m){if(eh(l)){const A=l.parameters.length-1,w=l.parameters[A].escapedName,I=Gn(l.parameters[A]);if(Ds(I))return[D(I,A,w)];if(!m&&I.flags&1048576&&ye(I.types,Ds))return Kt(I.types,U=>D(U,A,w))}return[l.parameters];function D(A,w,I){const U=I0(A),Z=C(A,I),ce=Kt(U,(Fe,Te)=>{const $e=Z&&Z[Te]?Z[Te]:zz(l,w+Te,A),ut=A.target.elementFlags[Te],zt=ut&12?32768:ut&2?16384:0,fi=Vs(1,$e,zt);return fi.links.type=ut&4?j1(Fe):Fe,fi});return an(l.parameters.slice(0,w),ce)}function C(A,w){const I=new Map;return Kt(A.target.labeledElementDeclarations,(U,Z)=>{const ce=aze(U,Z,w),Fe=I.get(ce);return Fe===void 0?(I.set(ce,1),ce):(I.set(ce,Fe+1),`${ce}_${Fe}`)})}}function xXt(l){const m=qc(l),D=fo(m,1),C=eD(l.symbol),A=!!C&&Qu(C,64);if(D.length===0)return[b3(void 0,l.localTypeParameters,void 0,_t,l,void 0,0,A?4:0)];const w=Kr(l),I=Xn(w),U=vte(w),Z=S(U),ce=[];for(const Fe of D){const Te=C_(Fe.typeParameters),$e=S(Fe.typeParameters);if(I||Z>=Te&&Z<=$e){const ut=$e?Fge(Fe,D6(U,Fe.typeParameters,Te,I)):QK(Fe);ut.typeParameters=l.localTypeParameters,ut.resolvedReturnType=l,ut.flags=A?ut.flags|4:ut.flags&-5,ce.push(ut)}}return ce}function NNe(l,m,D,C,A){for(const w of l)if(Pte(w,m,D,C,A,D?Jti:cW))return w}function vXt(l,m,D){if(m.typeParameters){if(D>0)return;for(let A=1;A1&&(D=D===void 0?C:-1);for(const A of l[C])if(!m||!NNe(m,A,!1,!1,!0)){const w=vXt(l,A,C);if(w){let I=A;if(w.length>1){let U=A.thisParameter;const Z=L(w,ce=>ce.thisParameter);if(Z){const ce=_s(Si(w,Fe=>Fe.thisParameter&&Gn(Fe.thisParameter)));U=xF(Z,ce)}I=ldt(A,w),I.thisParameter=U}(m||(m=[])).push(I)}}}if(!S(m)&&D!==-1){const C=l[D!==void 0?D:0];let A=C.slice();for(const w of l)if(w!==C){const I=w[0];if(H.assert(!!I,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),A=I.typeParameters&&Ge(A,U=>!!U.typeParameters&&!ddt(I.typeParameters,U.typeParameters))?void 0:Kt(A,U=>yXt(U,I)),!A)break}m=A}return m||_t}function ddt(l,m){if(S(l)!==S(m))return!1;if(!l||!m)return!0;const D=Af(m,l);for(let C=0;C=A?l:m,I=w===l?m:l,U=w===l?C:A,Z=k_(l)||k_(m),ce=Z&&!k_(w),Fe=new Array(U+(ce?1:0));for(let Te=0;Te=AE(w)&&Te>=AE(I),cn=Te>=C?void 0:zz(l,Te),nu=Te>=A?void 0:zz(m,Te),En=cn===nu?cn:cn?nu?void 0:cn:nu,Ri=Vs(1|(Wi&&!fi?16777216:0),En||`arg${Te}`,fi?32768:Wi?16384:0);Ri.links.type=fi?j1(zt):zt,Fe[Te]=Ri}if(ce){const Te=Vs(1,"args",32768);Te.links.type=j1(wg(I,U)),I===m&&(Te.links.type=_a(Te.links.type,D)),Fe[U]=Te}return Fe}function yXt(l,m){const D=l.typeParameters||m.typeParameters;let C;l.typeParameters&&m.typeParameters&&(C=Af(m.typeParameters,l.typeParameters));const A=l.declaration,w=bXt(l,m,C),I=CXt(l.thisParameter,m.thisParameter,C),U=Math.max(l.minArgumentCount,m.minArgumentCount),Z=b3(A,D,I,w,void 0,void 0,U,(l.flags|m.flags)&167);return Z.compositeKind=1048576,Z.compositeSignatures=an(l.compositeKind!==2097152&&l.compositeSignatures||[l],[m]),C&&(Z.mapper=l.compositeKind!==2097152&&l.mapper&&l.compositeSignatures?SC(l.mapper,C):C),Z}function hdt(l){const m=yh(l[0]);if(m){const D=[];for(const C of m){const A=C.keyType;ye(l,w=>!!y3(w,A))&&D.push(b_(A,tr(Kt(l,w=>CC(w,A))),Ge(l,w=>y3(w,A).isReadonly)))}return D}return _t}function kXt(l){const m=PNe(Kt(l.types,A=>A===si?[fn]:fo(A,0))),D=PNe(Kt(l.types,A=>fo(A,1))),C=hdt(l.types);D4(l,se,m,D,C)}function gte(l,m){return l?m?_s([l,m]):l:m}function fdt(l){const m=ui(l,C=>fo(C,1).length>0),D=Kt(l,Vu);if(m>0&&m===ui(D,C=>C)){const C=D.indexOf(!0);D[C]=!1}return D}function FXt(l,m,D,C){const A=[];for(let w=0;wU);for(let U=0;U0&&(ce=Kt(ce,Fe=>{const Te=QK(Fe);return Te.resolvedReturnType=FXt(Zs(Fe),A,w,U),Te})),D=mdt(D,ce)}m=mdt(m,fo(Z,0)),C=tn(yh(Z),(ce,Fe)=>pdt(ce,Fe,!1),C)}D4(l,se,m||_t,D||_t,C||_t)}function mdt(l,m){for(const D of m)(!l||ye(l,C=>!Pte(C,D,!1,!1,!1,cW)))&&(l=Ei(l,D));return l}function pdt(l,m,D){if(l)for(let C=0;C{var Z;!(U.flags&418)&&!(U.flags&512&&((Z=U.declarations)!=null&&Z.length)&&ye(U.declarations,L1))&&I.set(U.escapedName,U)}),D=I}let A;if(D4(l,D,_t,_t,_t),m.flags&32){const I=C4(m),U=qc(I);U.flags&11272192?(D=Vo(Ww(D)),rdt(D,n0(U))):U===me&&(A=b_(ct,me,!1))}const w=Age(D);if(w?C=XNe(w):(A&&(C=Ei(C,A)),m.flags&384&&(Z0(m).flags&32||Ge(l.properties,I=>!!(Gn(I).flags&296)))&&(C=Ei(C,wu))),D4(l,D,_t,_t,C||_t),m.flags&8208&&(l.callSignatures=Ab(m)),m.flags&32){const I=C4(m);let U=m.members?Ab(m.members.get("__constructor")):_t;m.flags&16&&(U=yn(U.slice(),Si(l.callSignatures,Z=>FE(Z.declaration)?b3(Z.declaration,Z.typeParameters,Z.thisParameter,Z.parameters,I,void 0,Z.minArgumentCount,Z.flags&167):void 0))),U.length||(U=xXt(I)),l.constructSignatures=U}}function BXt(l,m,D){return _a(l,Af([m.indexType,m.objectType],[Sg(0),Ag([D])]))}function wXt(l){const m=y3(l.source,ct),D=v_(l.mappedType),C=!(D&1),A=D&4?0:16777216,w=m?[b_(ct,fEe(m.type,l.mappedType,l.constraintType),C&&m.isReadonly)]:_t,I=Vo();for(const U of n0(l.source)){const Z=8192|(C&&Tg(U)?8:0),ce=Vs(4|U.flags&A,U.escapedName,Z);if(ce.declarations=U.declarations,ce.links.nameType=Ur(U).nameType,ce.links.propertyType=Gn(U),l.constraintType.type.flags&8388608&&l.constraintType.type.objectType.flags&262144&&l.constraintType.type.indexType.flags&262144){const Fe=l.constraintType.type.objectType,Te=BXt(l.mappedType,l.constraintType.type,Fe);ce.links.mappedType=Te,ce.links.constraintType=y_(Fe)}else ce.links.mappedType=l.mappedType,ce.links.constraintType=l.constraintType;I.set(U.escapedName,ce)}D4(l,I,_t,_t,w)}function Ete(l){if(l.flags&4194304){const m=Kh(l.type);return H5(m)?r1t(m):y_(m)}if(l.flags&16777216){if(l.root.isDistributive){const m=l.checkType,D=Ete(m);if(D!==m)return TPe(l,q9(l.root.checkType,D,l.mapper))}return l}if(l.flags&1048576)return hl(l,Ete,!0);if(l.flags&2097152){const m=l.types;return m.length===2&&m[0].flags&76&&m[1]===Tc?l:_s(Pu(l.types,Ete))}return l}function MNe(l){return Wl(l)&4096}function zNe(l,m,D,C){for(const A of n0(l))C(bz(A,m));if(l.flags&1)C(ct);else for(const A of yh(l))(!D||A.keyType.flags&134217732)&&C(A.keyType)}function TXt(l){const m=Vo();let D;D4(l,se,_t,_t,_t);const C=yg(l),A=sp(l),w=l.target||l,I=z5(w),U=!I||_dt(w),Z=_D(w),ce=Kh(V9(l)),Fe=v_(l),Te=Je?128:8576;XK(l)?zNe(ce,Te,Je,$e):yF(Ete(A),$e),D4(l,m,_t,_t,D||_t);function $e(zt){const fi=I?_a(I,lW(l.mapper,C,zt)):zt;yF(fi,Wi=>ut(zt,Wi))}function ut(zt,fi){if(q4(fi)){const Wi=Z4(fi),cn=m.get(Wi);if(cn)cn.links.nameType=tr([cn.links.nameType,fi]),cn.links.keyType=tr([cn.links.keyType,zt]);else{const nu=q4(zt)?Uo(ce,Z4(zt)):void 0,En=!!(Fe&4||!(Fe&8)&&nu&&nu.flags&16777216),Ri=!!(Fe&1||!(Fe&2)&&nu&&Tg(nu)),Nn=fe&&!En&&nu&&nu.flags&16777216,vn=nu?MNe(nu):0,An=Vs(4|(En?16777216:0),Wi,vn|262144|(Ri?8:0)|(Nn?524288:0));An.links.mappedType=l,An.links.nameType=fi,An.links.keyType=zt,nu&&(An.links.syntheticOrigin=nu,An.declarations=U?nu.declarations:void 0),m.set(Wi,An)}}else if(Sge(fi)||fi.flags&33){const Wi=fi.flags&5?ct:fi.flags&40?Qt:fi,cn=_a(Z,lW(l.mapper,C,zt)),nu=tW(ce,fi),En=!!(Fe&1||!(Fe&2)&&(nu!=null&&nu.isReadonly)),Ri=b_(Wi,cn,En);D=pdt(D,Ri,!0)}}}function LXt(l){if(!l.links.type){const m=l.links.mappedType;if(!__(l,0))return m.containsError=!0,jt;const D=_D(m.target||m),C=lW(m.mapper,yg(m),l.links.keyType),A=_a(D,C);let w=fe&&l.flags&16777216&&!jl(A,49152)?A6(A,!0):l.links.checkFlags&524288?sEe(A):A;vE()||(pt(K,F.Type_of_property_0_circularly_references_itself_in_mapped_type_1,Sr(l),gn(m)),w=jt),l.links.type=w}return l.links.type}function yg(l){return l.typeParameter||(l.typeParameter=mF(_u(l.declaration.typeParameter)))}function sp(l){return l.constraintType||(l.constraintType=uh(yg(l))||jt)}function z5(l){return l.declaration.nameType?l.nameType||(l.nameType=_a(Br(l.declaration.nameType),l.mapper)):void 0}function _D(l){return l.templateType||(l.templateType=l.declaration.type?_a(Od(Br(l.declaration.type),!0,!!(v_(l)&4)),l.mapper):jt)}function gdt(l){return S8(l.declaration.typeParameter)}function XK(l){const m=gdt(l);return m.kind===198&&m.operator===143}function V9(l){if(!l.modifiersType)if(XK(l))l.modifiersType=_a(Br(gdt(l).type),l.mapper);else{const m=vPe(l.declaration),D=sp(m),C=D&&D.flags&262144?uh(D):D;l.modifiersType=C&&C.flags&4194304?_a(C.type,l.mapper):on}return l.modifiersType}function v_(l){const m=l.declaration;return(m.readonlyToken?m.readonlyToken.kind===41?2:1:0)|(m.questionToken?m.questionToken.kind===41?8:4:0)}function Edt(l){const m=v_(l);return m&8?-1:m&4?1:0}function INe(l){const m=Edt(l),D=V9(l);return m||(Qm(D)?Edt(D):0)}function NXt(l){return!!(Ju(l)&32&&v_(l)&4)}function Qm(l){if(Ju(l)&32){const m=sp(l);if(kC(m))return!0;const D=z5(l);if(D&&kC(_a(D,Lb(yg(l),m))))return!0}return!1}function _dt(l){const m=z5(l);return!!m&&fs(m,yg(l))}function kg(l){return l.members||(l.flags&524288?l.objectFlags&4?EXt(l):l.objectFlags&3?gXt(l):l.objectFlags&1024?wXt(l):l.objectFlags&16?SXt(l):l.objectFlags&32?TXt(l):H.fail("Unhandled object type "+H.formatObjectFlags(l.objectFlags)):l.flags&1048576?kXt(l):l.flags&2097152?AXt(l):H.fail("Unhandled type "+H.formatTypeFlags(l.flags))),l}function _6(l){return l.flags&524288?kg(l).properties:_t}function vC(l,m){if(l.flags&524288){const C=kg(l).members.get(m);if(C&&s6(C))return C}}function _te(l){if(!l.resolvedProperties){const m=Vo();for(const D of l.types){for(const C of n0(D))if(!m.has(C.escapedName)){const A=KNe(l,C.escapedName);A&&m.set(C.escapedName,A)}if(l.flags&1048576&&yh(D).length===0)break}l.resolvedProperties=yb(m)}return l.resolvedProperties}function n0(l){return l=_z(l),l.flags&3145728?_te(l):_6(l)}function PXt(l,m){l=_z(l),l.flags&3670016&&kg(l).members.forEach((D,C)=>{aF(D,C)&&m(D,C)})}function MXt(l,m){return m.properties.some(C=>{const A=C.name&&(mg(C.name)?cf(aV(C.name)):O5(C.name)),w=A&&q4(A)?Z4(A):void 0,I=w===void 0?void 0:he(l,w);return!!I&&fW(I)&&!fs(X9(C),I)})}function zXt(l){const m=tr(l);if(!(m.flags&1048576))return Kze(m);const D=Vo();for(const C of l)for(const{escapedName:A}of Kze(C))if(!D.has(A)){const w=bdt(m,A);w&&D.set(A,w)}return ga(D.values())}function pF(l){return l.flags&262144?uh(l):l.flags&8388608?IXt(l):l.flags&16777216?vdt(l):Hh(l)}function uh(l){return eW(l)?xz(l):void 0}function H9(l,m=0){var D;return m<5&&!!(l&&(l.flags&262144&&Ge((D=l.symbol)==null?void 0:D.declarations,C=>Qu(C,4096))||l.flags&3145728&&Ge(l.types,C=>H9(C,m))||l.flags&8388608&&H9(l.objectType,m+1)||l.flags&16777216&&H9(vdt(l),m+1)||l.flags&33554432&&H9(l.baseType,m)||H5(l)&&Ue(yC(l),(C,A)=>!!(l.target.elementFlags[A]&8)&&H9(C,m))>=0))}function IXt(l){return eW(l)?RXt(l):void 0}function RNe(l){const m=xD(l,!1);return m!==l?m:pF(l)}function RXt(l){if(HNe(l)||Qm(l.objectType))return zge(l.objectType,l.indexType);const m=RNe(l.indexType);if(m&&m!==l.indexType){const C=C6(l.objectType,m,l.accessFlags);if(C)return C}const D=RNe(l.objectType);if(D&&D!==l.objectType)return C6(D,l.indexType,l.accessFlags)}function ONe(l){if(!l.resolvedDefaultConstraint){const m=vti(l),D=AC(l);l.resolvedDefaultConstraint=nt(m)?D:nt(D)?m:tr([m,D])}return l.resolvedDefaultConstraint}function Ddt(l){if(l.resolvedConstraintOfDistributive!==void 0)return l.resolvedConstraintOfDistributive||void 0;if(l.root.isDistributive&&l.restrictiveInstantiation!==l){const m=xD(l.checkType,!1),D=m===l.checkType?pF(m):m;if(D&&D!==l.checkType){const C=TPe(l,q9(l.root.checkType,D,l.mapper));if(!(C.flags&131072))return l.resolvedConstraintOfDistributive=C,C}}l.resolvedConstraintOfDistributive=!1}function xdt(l){return Ddt(l)||ONe(l)}function vdt(l){return eW(l)?xdt(l):void 0}function OXt(l,m){let D,C=!1;for(const A of l)if(A.flags&465829888){let w=pF(A);for(;w&&w.flags&21233664;)w=pF(w);w&&(D=Ei(D,w),m&&(D=Ei(D,A)))}else(A.flags&469892092||bD(A))&&(C=!0);if(D&&(m||C)){if(C)for(const A of l)(A.flags&469892092||bD(A))&&(D=Ei(D,A));return Tte(_s(D),!1)}}function Hh(l){if(l.flags&464781312||H5(l)){const m=jNe(l);return m!==dl&&m!==Uc?m:void 0}return l.flags&4194304?xc:void 0}function DD(l){return Hh(l)||l}function eW(l){return jNe(l)!==Uc}function jNe(l){if(l.resolvedBaseConstraint)return l.resolvedBaseConstraint;const m=[];return l.resolvedBaseConstraint=D(l);function D(w){if(!w.immediateBaseConstraint){if(!__(w,4))return Uc;let I;const U=tEe(w);if((m.length<10||m.length<50&&!Ft(m,U))&&(m.push(U),I=A(xD(w,!1)),m.pop()),!vE()){if(w.flags&262144){const Z=ePe(w);if(Z){const ce=pt(Z,F.Type_parameter_0_has_a_circular_constraint,gn(w));K&&!k2(Z,K)&&!k2(K,Z)&&gs(ce,Su(K,F.Circularity_originates_in_type_at_this_location))}}I=Uc}w.immediateBaseConstraint=I||dl}return w.immediateBaseConstraint}function C(w){const I=D(w);return I!==dl&&I!==Uc?I:void 0}function A(w){if(w.flags&262144){const I=xz(w);return w.isThisType||!I?I:C(I)}if(w.flags&3145728){const I=w.types,U=[];let Z=!1;for(const ce of I){const Fe=C(ce);Fe?(Fe!==ce&&(Z=!0),U.push(Fe)):Z=!0}return Z?w.flags&1048576&&U.length===I.length?tr(U):w.flags&2097152&&U.length?_s(U):void 0:w}if(w.flags&4194304)return xc;if(w.flags&134217728){const I=w.types,U=Si(I,C);return U.length===I.length?_F(w.texts,U):ct}if(w.flags&268435456){const I=C(w.type);return I&&I!==w.type?G9(w.symbol,I):ct}if(w.flags&8388608){if(HNe(w))return C(zge(w.objectType,w.indexType));const I=C(w.objectType),U=C(w.indexType),Z=I&&U&&C6(I,U,w.accessFlags);return Z&&C(Z)}if(w.flags&16777216){const I=xdt(w);return I&&C(I)}if(w.flags&33554432)return C(nPe(w));if(H5(w)){const I=Kt(yC(w),(U,Z)=>{const ce=U.flags&262144&&w.target.elementFlags[Z]&8&&C(U)||U;return ce!==U&&Xm(ce,Fe=>Nb(Fe)&&!H5(Fe))?ce:U});return Ag(I,w.target.elementFlags,w.target.readonly,w.target.labeledElementDeclarations)}return w}}function jXt(l,m){return l.resolvedApparentType||(l.resolvedApparentType=Dm(l,m,!0))}function VNe(l){if(l.default)l.default===vh&&(l.default=Uc);else if(l.target){const m=VNe(l.target);l.default=m?_a(m,l.mapper):dl}else{l.default=vh;const m=l.symbol&&L(l.symbol.declarations,C=>Bl(C)&&C.default),D=m?Br(m):dl;l.default===vh&&(l.default=D)}return l.default}function gF(l){const m=VNe(l);return m!==dl&&m!==Uc?m:void 0}function VXt(l){return VNe(l)!==Uc}function Cdt(l){return!!(l.symbol&&L(l.symbol.declarations,m=>Bl(m)&&m.default))}function HXt(l){return l.resolvedApparentType||(l.resolvedApparentType=KXt(l))}function KXt(l){const m=Gge(l);if(m&&!l.declaration.nameType){const D=uh(m);if(D&&Xm(D,Nb))return _a(l,q9(m,D,l.mapper))}return l}function HNe(l){let m;return!!(l.flags&8388608&&Ju(m=l.objectType)&32&&!Qm(m)&&kC(l.indexType)&&!(v_(m)&8)&&!m.declaration.nameType)}function Kh(l){const m=l.flags&465829888?Hh(l)||on:l,D=Ju(m);return D&32?HXt(m):D&4&&m!==l?Dm(m,l):m.flags&2097152?jXt(m,l):m.flags&402653316?ic:m.flags&296?hc:m.flags&2112?Fei():m.flags&528?Cl:m.flags&12288?Zdt():m.flags&67108864?Ko:m.flags&4194304?xc:m.flags&2&&!fe?Ko:m}function _z(l){return Fg(Kh(Fg(l)))}function bdt(l,m,D){var C,A,w;let I,U,Z;const ce=l.flags&1048576;let Fe,Te=4,$e=ce?0:8,ut=!1;for(const An of l.types){const _n=Kh(An);if(!(Lt(_n)||_n.flags&131072)){const hu=Uo(_n,m,D),ro=hu?s4(hu):0;if(hu){if(hu.flags&106500&&(Fe??(Fe=ce?0:16777216),ce?Fe|=hu.flags&16777216:Fe&=hu.flags),!I)I=hu;else if(hu!==I)if((gT(hu)||hu)===(gT(I)||I)&&VPe(I,hu,(lo,ka)=>lo===ka?-1:0)===-1)ut=!!I.parent&&!!S(sn(I.parent));else{U||(U=new Map,U.set(Zo(I),I));const lo=Zo(hu);U.has(lo)||U.set(lo,hu)}ce&&Tg(hu)?$e|=8:!ce&&!Tg(hu)&&($e&=-9),$e|=(ro&6?0:256)|(ro&4?512:0)|(ro&2?1024:0)|(ro&256?2048:0),RMe(hu)||(Te=2)}else if(ce){const mo=!YK(m)&&K9(_n,m);mo?($e|=32|(mo.isReadonly?8:0),Z=Ei(Z,Ds(_n)?uEe(_n)||te:mo.type)):LC(_n)&&!(Ju(_n)&2097152)?($e|=32,Z=Ei(Z,te)):$e|=16}}}if(!I||ce&&(U||$e&48)&&$e&1536&&!(U&&WXt(U.values())))return;if(!U&&!($e&16)&&!Z)if(ut){const An=(C=rr(I,UE))==null?void 0:C.links,_n=xF(I,An==null?void 0:An.type);return _n.parent=(w=(A=I.valueDeclaration)==null?void 0:A.symbol)==null?void 0:w.parent,_n.links.containingType=l,_n.links.mapper=An==null?void 0:An.mapper,_n}else return I;const zt=U?ga(U.values()):[I];let fi,Wi,cn;const nu=[];let En,Ri,Nn=!1;for(const An of zt){Ri?An.valueDeclaration&&An.valueDeclaration!==Ri&&(Nn=!0):Ri=An.valueDeclaration,fi=yn(fi,An.declarations);const _n=Gn(An);Wi||(Wi=_n,cn=Ur(An).nameType);const hu=hF(An);(En||hu!==_n)&&(En=Ei(En||nu.slice(),hu)),_n!==Wi&&($e|=64),(fW(_n)||J9(_n))&&($e|=128),_n.flags&131072&&_n!==vl&&($e|=131072),nu.push(_n)}yn(nu,Z);const vn=Vs(4|(Fe??0),m,Te|$e);return vn.links.containingType=l,!Nn&&Ri&&(vn.valueDeclaration=Ri,Ri.symbol.parent&&(vn.parent=Ri.symbol.parent)),vn.declarations=fi,vn.links.nameType=cn,nu.length>2?(vn.links.checkFlags|=65536,vn.links.deferralParent=l,vn.links.deferralConstituents=nu,vn.links.deferralWriteConstituents=En):(vn.links.type=ce?tr(nu):_s(nu),En&&(vn.links.writeType=ce?tr(En):_s(En))),vn}function ydt(l,m,D){var C,A;let w=(C=l.propertyCacheWithoutObjectFunctionPropertyAugment)!=null&&C.get(m)||!D?(A=l.propertyCache)==null?void 0:A.get(m):void 0;return w||(w=bdt(l,m,D),w&&(D?l.propertyCacheWithoutObjectFunctionPropertyAugment||(l.propertyCacheWithoutObjectFunctionPropertyAugment=Vo()):l.propertyCache||(l.propertyCache=Vo())).set(m,w)),w}function WXt(l){let m;for(const D of l){if(!D.declarations)return;if(!m){m=new Set(D.declarations);continue}if(m.forEach(C=>{Ft(D.declarations,C)||m.delete(C)}),m.size===0)return}return m}function KNe(l,m,D){const C=ydt(l,m,D);return C&&!(Wl(C)&16)?C:void 0}function Fg(l){return l.flags&1048576&&l.objectFlags&16777216?l.resolvedReducedType||(l.resolvedReducedType=GXt(l)):l.flags&2097152?(l.objectFlags&16777216||(l.objectFlags|=16777216|(Ge(_te(l),JXt)?33554432:0)),l.objectFlags&33554432?Wu:l):l}function GXt(l){const m=Pu(l.types,Fg);if(m===l.types)return l;const D=tr(m);return D.flags&1048576&&(D.resolvedReducedType=D),D}function JXt(l){return kdt(l)||Fdt(l)}function kdt(l){return!(l.flags&16777216)&&(Wl(l)&131264)===192&&!!(Gn(l).flags&131072)}function Fdt(l){return!l.valueDeclaration&&!!(Wl(l)&1024)}function WNe(l){return!!(l.flags&1048576&&l.objectFlags&16777216&&Ge(l.types,WNe)||l.flags&2097152&&$Xt(l))}function $Xt(l){const m=l.uniqueLiteralFilledInstantiation||(l.uniqueLiteralFilledInstantiation=_a(l,oo));return Fg(m)!==m}function GNe(l,m){if(m.flags&2097152&&Ju(m)&33554432){const D=Le(_te(m),kdt);if(D)return no(l,F.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,gn(m,void 0,536870912),Sr(D));const C=Le(_te(m),Fdt);if(C)return no(l,F.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,gn(m,void 0,536870912),Sr(C))}return l}function Uo(l,m,D,C){if(l=_z(l),l.flags&524288){const A=kg(l),w=A.members.get(m);if(w&&s6(w,C))return w;if(D)return;const I=A===Oi?si:A.callSignatures.length?Mn:A.constructSignatures.length?ba:void 0;if(I){const U=vC(I,m);if(U)return U}return vC(Ve,m)}if(l.flags&3145728)return KNe(l,m,D)}function Dte(l,m){if(l.flags&3670016){const D=kg(l);return m===0?D.callSignatures:D.constructSignatures}return _t}function fo(l,m){const D=Dte(_z(l),m);if(m===0&&!S(D)&&l.flags&1048576){if(l.arrayFallbackSignatures)return l.arrayFallbackSignatures;let C;if(Xm(l,A=>{var w;return!!((w=A.symbol)!=null&&w.parent)&&UXt(A.symbol.parent)&&(C?C===A.symbol.escapedName:(C=A.symbol.escapedName,!0))})){const A=hl(l,I=>y6((Adt(I.symbol.parent)?wo:ko).typeParameters[0],I.mapper)),w=j1(A,bE(l,I=>Adt(I.symbol.parent)));return l.arrayFallbackSignatures=fo(he(w,C),m)}l.arrayFallbackSignatures=D}return D}function UXt(l){return!l||!ko.symbol||!wo.symbol?!1:!!qm(l,ko.symbol)||!!qm(l,wo.symbol)}function Adt(l){return!l||!wo.symbol?!1:!!qm(l,wo.symbol)}function JNe(l,m){return Le(l,D=>D.keyType===m)}function $Ne(l,m){let D,C,A;for(const w of l)w.keyType===ct?D=w:tT(m,w.keyType)&&(C?(A||(A=[C])).push(w):C=w);return A?b_(on,_s(Kt(A,w=>w.type)),tn(A,(w,I)=>w&&I.isReadonly,!0)):C||(D&&tT(m,ct)?D:void 0)}function tT(l,m){return fs(l,m)||m===ct&&fs(l,Qt)||m===Qt&&(l===$l||!!(l.flags&128)&&t3(l.value))}function UNe(l){return l.flags&3670016?kg(l).indexInfos:_t}function yh(l){return UNe(_z(l))}function y3(l,m){return JNe(yh(l),m)}function CC(l,m){var D;return(D=y3(l,m))==null?void 0:D.type}function qNe(l,m){return yh(l).filter(D=>tT(m,D.keyType))}function tW(l,m){return $Ne(yh(l),m)}function K9(l,m){return tW(l,YK(m)?er:cf(Qr(m)))}function Sdt(l){var m;let D;for(const C of Ax(l))D=e0(D,mF(C.symbol));return D!=null&&D.length?D:Xc(l)?(m=Dz(l))==null?void 0:m.typeParameters:void 0}function ZNe(l){const m=[];return l.forEach((D,C)=>{pC(C)||m.push(D)}),m}function yge(l,m){if(Md(l))return;const D=yf(Ie,'"'+l+'"',512);return D&&m?Hs(D):D}function iW(l){if(l7(l)||uV(l)||rV(l))return!0;if(l.initializer){const D=lp(l.parent),C=l.parent.parameters.indexOf(l);return H.assert(C>=0),C>=AE(D,3)}const m=tk(l.parent);return m?!l.type&&!l.dotDotDotToken&&l.parent.parameters.indexOf(l)>=IEe(m).length:!1}function qXt(l){return yo(l)&&!Xg(l)&&l.questionToken}function xte(l,m,D,C){return{kind:l,parameterName:m,parameterIndex:D,type:C}}function C_(l){let m=0;if(l)for(let D=0;D=D&&w<=A){const I=l?l.slice():[];for(let Z=w;ZU.arguments.length&&!Wi||rV(zt)||(A=D.length)}if((l.kind===177||l.kind===178)&&eT(l)&&(!I||!w)){const ut=l.kind===177?178:177,zt=Sl(_u(l),ut);zt&&(w=m6(zt))}if(Xn(l)){const ut=SU(l);ut&&ut.typeExpression&&(w=xF(Vs(1,"this"),Br(ut.typeExpression)))}const Fe=Iv(l)?rk(l):l,Te=Fe&&dc(Fe)?C4(Hs(Fe.parent.symbol)):void 0,$e=Te?Te.localTypeParameters:Sdt(l);(n0e(l)||Xn(l)&&ZXt(l,D))&&(C|=1),(KP(l)&&Qu(l,64)||dc(l)&&Qu(l.parent,64))&&(C|=4),m.resolvedSignature=b3(l,$e,w,D,void 0,void 0,A,C)}return m.resolvedSignature}function ZXt(l,m){if(Iv(l)||!YNe(l))return!1;const D=Zu(l.parameters),C=D?A8(D):xv(l).filter(pg),A=G(C,I=>I.typeExpression&&dY(I.typeExpression.type)?I.typeExpression.type:void 0),w=Vs(3,"args",32768);return A?w.links.type=j1(Br(A.type)):(w.links.checkFlags|=65536,w.links.deferralParent=Wu,w.links.deferralConstituents=[Ul],w.links.deferralWriteConstituents=[Ul]),A&&m.pop(),m.push(w),!0}function Dz(l){if(!(Xn(l)&&W0(l)))return;const m=_v(l);return(m==null?void 0:m.typeExpression)&&SF(Br(m.typeExpression))}function YXt(l,m){const D=Dz(l);if(!D)return;const C=l.parameters.indexOf(m);return m.dotDotDotToken?yW(D,C):wg(D,C)}function QXt(l){const m=Dz(l);return m&&Zs(m)}function YNe(l){const m=or(l);return m.containsArgumentsReference===void 0&&(m.flags&512?m.containsArgumentsReference=!0:m.containsArgumentsReference=D(l.body)),m.containsArgumentsReference;function D(C){if(!C)return!1;switch(C.kind){case 80:return C.escapedText===It.escapedName&&OW(C)===It;case 172:case 174:case 177:case 178:return C.name.kind===167&&D(C.name);case 211:case 212:return D(C.expression);case 303:return D(C.initializer);default:return!$0e(C)&&!U_(C)&&!!uo(C,D)}}}function Ab(l){if(!l||!l.declarations)return _t;const m=[];for(let D=0;D0&&C.body){const A=l.declarations[D-1];if(C.parent===A.parent&&C.kind===A.kind&&C.pos===A.end)continue}if(Xn(C)&&C.jsDoc){let A=!1;for(const w of C.jsDoc)if(w.tags){for(const I of w.tags)if(TB(I)){const U=I.typeExpression;U.type===void 0&&!dc(C)&&wC(U,me),m.push(lp(U)),A=!0}}if(A)continue}m.push(!M2(C)&&!Np(C)&&Dz(C)||lp(C))}}return m}function Bdt(l){const m=Vh(l,l);if(m){const D=Em(m);if(D)return Gn(D)}return me}function bC(l){if(l.thisParameter)return Gn(l.thisParameter)}function b4(l){if(!l.resolvedTypePredicate){if(l.target){const m=b4(l.target);l.resolvedTypePredicate=m?zti(m,l.mapper):vt}else if(l.compositeSignatures)l.resolvedTypePredicate=qei(l.compositeSignatures,l.compositeKind)||vt;else{const m=l.declaration&&J4(l.declaration);let D;if(!m){const C=Dz(l.declaration);C&&l!==C&&(D=b4(C))}l.resolvedTypePredicate=m&&iY(m)?XXt(m,l):D||vt}H.assert(!!l.resolvedTypePredicate)}return l.resolvedTypePredicate===vt?void 0:l.resolvedTypePredicate}function XXt(l,m){const D=l.parameterName,C=l.type&&Br(l.type);return D.kind===197?xte(l.assertsModifier?2:0,void 0,void 0,C):xte(l.assertsModifier?3:1,D.escapedText,Ue(m.parameters,A=>A.escapedName===D.escapedText),C)}function wdt(l,m,D){return m!==2097152?tr(l,D):_s(l)}function Zs(l){if(!l.resolvedReturnType){if(!__(l,3))return jt;let m=l.target?_a(Zs(l.target),l.mapper):l.compositeSignatures?_a(wdt(Kt(l.compositeSignatures,Zs),l.compositeKind,2),l.mapper):iT(l.declaration)||(Yl(l.declaration.body)?me:VEe(l.declaration));if(l.flags&8?m=dht(m):l.flags&16&&(m=A6(m)),!vE()){if(l.declaration){const D=J4(l.declaration);if(D)pt(D,F.Return_type_annotation_circularly_references_itself);else if(Ae){const C=l.declaration,A=$a(C);A?pt(A,F._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,C0(A)):pt(C,F.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}m=me}l.resolvedReturnType=m}return l.resolvedReturnType}function iT(l){if(l.kind===176)return C4(Hs(l.parent.symbol));const m=J4(l);if(Iv(l)){const D=tP(l);if(D&&dc(D.parent)&&!m)return C4(Hs(D.parent.parent.symbol))}if(Y8(l))return Br(l.parameters[0].type);if(m)return Br(m);if(l.kind===177&&eT(l)){const D=Xn(l)&&Jp(l);if(D)return D;const C=Sl(_u(l),178),A=Ym(C);if(A)return A}return QXt(l)}function kge(l){return l.compositeSignatures&&Ge(l.compositeSignatures,kge)||!l.resolvedReturnType&&_C(l,3)>=0}function eei(l){return Tdt(l)||me}function Tdt(l){if(eh(l)){const m=Gn(l.parameters[l.parameters.length-1]),D=Ds(m)?uEe(m):m;return D&&CC(D,Qt)}}function nW(l,m,D,C){const A=QNe(l,D6(m,l.typeParameters,C_(l.typeParameters),D));if(C){const w=jft(Zs(A));if(w){const I=QK(w);I.typeParameters=C;const U=QK(A);return U.resolvedReturnType=EF(I),U}}return A}function QNe(l,m){const D=l.instantiations||(l.instantiations=new Map),C=cp(m);let A=D.get(C);return A||D.set(C,A=Fge(l,m)),A}function Fge(l,m){return oT(l,tei(l,m),!0)}function tei(l,m){return Af(l.typeParameters,m)}function uW(l){return l.typeParameters?l.erasedSignatureCache||(l.erasedSignatureCache=iei(l)):l}function iei(l){return oT(l,P1t(l.typeParameters),!0)}function nei(l){return l.typeParameters?l.canonicalSignatureCache||(l.canonicalSignatureCache=uei(l)):l}function uei(l){return nW(l,Kt(l.typeParameters,m=>m.target&&!uh(m.target)?m.target:m),Xn(l.declaration))}function rei(l){const m=l.typeParameters;if(m){if(l.baseSignatureCache)return l.baseSignatureCache;const D=P1t(m),C=Af(m,Kt(m,w=>uh(w)||on));let A=Kt(m,w=>_a(w,C)||on);for(let w=0;w{Sge(A)&&!JNe(m,A)&&m.push(b_(A,D.type?Br(D.type):me,If(D,8),D))})}return m}return _t}function Sge(l){return!!(l.flags&4108)||J9(l)||!!(l.flags&2097152)&&!yz(l)&&Ge(l.types,Sge)}function ePe(l){return Si(ei(l.symbol&&l.symbol.declarations,Bl),S8)[0]}function Pdt(l,m){var D;let C;if((D=l.symbol)!=null&&D.declarations){for(const A of l.symbol.declarations)if(A.parent.kind===195){const[w=A.parent,I]=lye(A.parent.parent);if(I.kind===183&&!m){const U=I,Z=Cze(U);if(Z){const ce=U.typeArguments.indexOf(w);if(ce()=>goi(U,Z,zt))),$e=_a(Fe,Te);$e!==l&&(C=Ei(C,$e))}}}}else if(I.kind===169&&I.dotDotDotToken||I.kind===191||I.kind===202&&I.dotDotDotToken)C=Ei(C,j1(on));else if(I.kind===204)C=Ei(C,ct);else if(I.kind===168&&I.parent.kind===200)C=Ei(C,xc);else if(I.kind===200&&I.type&&s0(I.type)===A.parent&&I.parent.kind===194&&I.parent.extendsType===I&&I.parent.checkType.kind===200&&I.parent.checkType.type){const U=I.parent.checkType,Z=Br(U.type);C=Ei(C,_a(Z,Lb(mF(_u(U.typeParameter)),U.typeParameter.constraint?Br(U.typeParameter.constraint):xc)))}}}return C&&_s(C)}function xz(l){if(!l.constraint)if(l.target){const m=uh(l.target);l.constraint=m?_a(m,l.mapper):dl}else{const m=ePe(l);if(!m)l.constraint=Pdt(l)||dl;else{let D=Br(m);D.flags&1&&!Lt(D)&&(D=m.parent.parent.kind===200?xc:on),l.constraint=D}}return l.constraint===dl?void 0:l.constraint}function Mdt(l){const m=Sl(l.symbol,168),D=gg(m.parent)?bq(m.parent):m.parent;return D&&_m(D)}function cp(l){let m="";if(l){const D=l.length;let C=0;for(;C1&&(m+=":"+w),C+=w}}return m}function W9(l,m){return l?`@${Zo(l)}`+(m?`:${cp(m)}`:""):""}function Bge(l,m){let D=0;for(const C of l)(m===void 0||!(C.flags&m))&&(D|=Ju(C));return D&458752}function nT(l,m){return Ge(m)&&l===Va?on:I5(l,m)}function I5(l,m){const D=cp(m);let C=l.instantiations.get(D);return C||(C=_4(4,l.symbol),l.instantiations.set(D,C),C.objectFlags|=m?Bge(m):0,C.target=l,C.resolvedTypeArguments=m),C}function zdt(l){const m=L5(l.flags,l.symbol);return m.objectFlags=l.objectFlags,m.target=l.target,m.resolvedTypeArguments=l.resolvedTypeArguments,m}function tPe(l,m,D,C,A){if(!C){C=$9(m);const I=aT(C);A=D?j5(I,D):I}const w=_4(4,l.symbol);return w.target=l,w.node=m,w.mapper=D,w.aliasSymbol=C,w.aliasTypeArguments=A,w}function I0(l){var m,D;if(!l.resolvedTypeArguments){if(!__(l,6))return((m=l.target.localTypeParameters)==null?void 0:m.map(()=>jt))||_t;const C=l.node,A=C?C.kind===183?an(l.target.outerTypeParameters,GEe(C,l.target.localTypeParameters)):C.kind===188?[Br(C.elementType)]:Kt(C.elements,Br):_t;vE()?l.resolvedTypeArguments=l.mapper?j5(A,l.mapper):A:(l.resolvedTypeArguments=((D=l.target.localTypeParameters)==null?void 0:D.map(()=>jt))||_t,pt(l.node||K,l.target.symbol?F.Type_arguments_for_0_circularly_reference_themselves:F.Tuple_type_arguments_circularly_reference_themselves,l.target.symbol&&Sr(l.target.symbol)))}return l.resolvedTypeArguments}function R5(l){return S(l.target.typeParameters)}function Idt(l,m){const D=Z0(Hs(m)),C=D.localTypeParameters;if(C){const A=S(l.typeArguments),w=C_(C),I=Xn(l);if(!(!Ae&&I)&&(AC.length)){const ce=I&&l5(l)&&!wB(l.parent),Fe=w===C.length?ce?F.Expected_0_type_arguments_provide_these_with_an_extends_tag:F.Generic_type_0_requires_1_type_argument_s:ce?F.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:F.Generic_type_0_requires_between_1_and_2_type_arguments,Te=gn(D,void 0,2);if(pt(l,Fe,Te,w,C.length),!I)return jt}if(l.kind===183&&n1t(l,S(l.typeArguments)!==C.length))return tPe(D,l,void 0);const Z=an(D.outerTypeParameters,D6(vte(l),C,w,I));return I5(D,Z)}return Sb(l,m)?D:jt}function uT(l,m,D,C){const A=Z0(l);if(A===Yi&&YY.has(l.escapedName)&&m&&m.length===1)return G9(l,m[0]);const w=Ur(l),I=w.typeParameters,U=cp(m)+W9(D,C);let Z=w.instantiations.get(U);return Z||w.instantiations.set(U,Z=I1t(A,Af(I,D6(m,I,C_(I),Xn(l.valueDeclaration))),D,C)),Z}function aei(l,m){if(Wl(m)&1048576){const A=vte(l),w=W9(m,A);let I=gt.get(w);return I||(I=Nc(1,"error",void 0,`alias ${w}`),I.aliasSymbol=m,I.aliasTypeArguments=A,gt.set(w,I)),I}const D=Z0(m),C=Ur(m).typeParameters;if(C){const A=S(l.typeArguments),w=C_(C);if(AC.length)return pt(l,w===C.length?F.Generic_type_0_requires_1_type_argument_s:F.Generic_type_0_requires_between_1_and_2_type_arguments,Sr(m),w,C.length),jt;const I=$9(l);let U=I&&(Rdt(m)||!Rdt(I))?I:void 0,Z;if(U)Z=aT(U);else if(KU(l)){const ce=rT(l,2097152,!0);if(ce&&ce!==Xt){const Fe=hd(ce);Fe&&Fe.flags&524288&&(U=Fe,Z=vte(l)||(C?[]:void 0))}}return uT(m,vte(l),U,Z)}return Sb(l,m)?D:jt}function Rdt(l){var m;const D=(m=l.declarations)==null?void 0:m.find(Fj);return!!(D&&Lm(D))}function oei(l){switch(l.kind){case 183:return l.typeName;case 233:const m=l.expression;if(Xl(m))return m}}function Odt(l){return l.parent?`${Odt(l.parent)}.${l.escapedName}`:l.escapedName}function wge(l){const D=(l.kind===166?l.right:l.kind===211?l.name:l).escapedText;if(D){const C=l.kind===166?wge(l.left):l.kind===211?wge(l.expression):void 0,A=C?`${Odt(C)}.${D}`:D;let w=et.get(A);return w||(et.set(A,w=Vs(524288,D,1048576)),w.parent=C,w.links.declaredType=pi),w}return Xt}function rT(l,m,D){const C=oei(l);if(!C)return Xt;const A=z0(C,m,D);return A&&A!==Xt?A:D?Xt:wge(C)}function Tge(l,m){if(m===Xt)return jt;if(m=w9(m)||m,m.flags&96)return Idt(l,m);if(m.flags&524288)return aei(l,m);const D=idt(m);if(D)return Sb(l,m)?Wh(D):jt;if(m.flags&111551&&Lge(l)){const C=sei(l,m);return C||(rT(l,788968),Gn(m))}return jt}function sei(l,m){const D=or(l);if(!D.resolvedJSDocType){const C=Gn(m);let A=C;if(m.valueDeclaration){const w=l.kind===205&&l.qualifier;C.symbol&&C.symbol!==m&&w&&(A=Tge(l,C.symbol))}D.resolvedJSDocType=A}return D.resolvedJSDocType}function iPe(l,m){if(m.flags&3||m===l||l.flags&1)return l;const D=`${kh(l)}>${kh(m)}`,C=Ba.get(D);if(C)return C;const A=op(33554432);return A.baseType=l,A.constraint=m,Ba.set(D,A),A}function nPe(l){return _s([l.constraint,l.baseType])}function jdt(l){return l.kind===189&&l.elements.length===1}function Vdt(l,m,D){return jdt(m)&&jdt(D)?Vdt(l,m.elements[0],D.elements[0]):b6(Br(m))===b6(l)?Br(D):void 0}function lei(l,m){let D,C=!0;for(;m&&!ua(m)&&m.kind!==327;){const A=m.parent;if(A.kind===169&&(C=!C),(C||l.flags&8650752)&&A.kind===194&&m===A.trueType){const w=Vdt(l,A.checkType,A.extendsType);w&&(D=Ei(D,w))}else if(l.flags&262144&&A.kind===200&&m===A.type){const w=Br(A);if(yg(w)===b6(l)){const I=Gge(w);if(I){const U=uh(I);U&&Xm(U,Nb)&&(D=Ei(D,tr([Qt,$l])))}}}m=A}return D?iPe(l,_s(D)):l}function Lge(l){return!!(l.flags&16777216)&&(l.kind===183||l.kind===205)}function Sb(l,m){return l.typeArguments?(pt(l,F.Type_0_is_not_generic,m?Sr(m):l.typeName?C0(l.typeName):$Y),!1):!0}function Hdt(l){if(at(l.typeName)){const m=l.typeArguments;switch(l.typeName.escapedText){case"String":return Sb(l),ct;case"Number":return Sb(l),Qt;case"Boolean":return Sb(l),Er;case"Void":return Sb(l),da;case"Undefined":return Sb(l),te;case"Null":return Sb(l),it;case"Function":case"function":return Sb(l),si;case"array":return(!m||!m.length)&&!Ae?Ul:void 0;case"promise":return(!m||!m.length)&&!Ae?oie(me):void 0;case"Object":if(m&&m.length===2){if(gq(l)){const D=Br(m[0]),C=Br(m[1]),A=D===ct||D===Qt?[b_(D,C,!1)]:_t;return Ol(void 0,se,_t,_t,A)}return me}return Sb(l),Ae?void 0:me}}}function cei(l){const m=Br(l.type);return fe?rEe(m,65536):m}function uPe(l){const m=or(l);if(!m.resolvedType){if(U3(l)&&qy(l.parent))return m.resolvedSymbol=Xt,m.resolvedType=Ic(l.parent.expression);let D,C;const A=788968;Lge(l)&&(C=Hdt(l),C||(D=rT(l,A,!0),D===Xt?D=rT(l,A|111551):rT(l,A),C=Tge(l,D))),C||(D=rT(l,A),C=Tge(l,D)),m.resolvedSymbol=D,m.resolvedType=C}return m.resolvedType}function vte(l){return Kt(l.typeArguments,Br)}function Kdt(l){const m=or(l);if(!m.resolvedType){const D=amt(l);m.resolvedType=Wh(xm(D))}return m.resolvedType}function Wdt(l,m){function D(A){const w=A.declarations;if(w)for(const I of w)switch(I.kind){case 263:case 264:case 266:return I}}if(!l)return m?Va:Ko;const C=Z0(l);return C.flags&524288?S(C.typeParameters)!==m?(pt(D(l),F.Global_type_0_must_have_1_type_parameter_s,sc(l),m),m?Va:Ko):C:(pt(D(l),F.Global_type_0_must_be_a_class_or_interface_type,sc(l)),m?Va:Ko)}function rPe(l,m){return vz(l,111551,m?F.Cannot_find_global_value_0:void 0)}function Gdt(l,m){return vz(l,788968,m?F.Cannot_find_global_type_0:void 0)}function Nge(l,m,D){const C=vz(l,788968,D?F.Cannot_find_global_type_0:void 0);if(C&&(Z0(C),S(Ur(C).typeParameters)!==m)){const A=C.declarations&&Le(C.declarations,Ip);pt(A,F.Global_type_0_must_have_1_type_parameter_s,sc(C),m);return}return C}function vz(l,m,D){return nc(void 0,l,m,D,l,!1,!1,!1)}function Mc(l,m,D){const C=Gdt(l,D);return C||D?Wdt(C,m):void 0}function dei(){return l_||(l_=Mc("TypedPropertyDescriptor",1,!0)||Va)}function hei(){return In||(In=Mc("TemplateStringsArray",0,!0)||Ko)}function Jdt(){return ir||(ir=Mc("ImportMeta",0,!0)||Ko)}function $dt(){if(!nr){const l=Vs(0,"ImportMetaExpression"),m=Jdt(),D=Vs(4,"meta",8);D.parent=l,D.links.type=m;const C=Vo([D]);l.members=C,nr=Ol(l,C,_t,_t,_t)}return nr}function Udt(l){return fa||(fa=Mc("ImportCallOptions",0,l))||Ko}function qdt(l){return Rh||(Rh=rPe("Symbol",l))}function fei(l){return h4||(h4=Gdt("SymbolConstructor",l))}function Zdt(){return l3||(l3=Mc("Symbol",0,!1))||Ko}function Cte(l){return v5||(v5=Mc("Promise",1,l))||Va}function Ydt(l){return I1||(I1=Mc("PromiseLike",1,l))||Va}function aPe(l){return c3||(c3=rPe("Promise",l))}function mei(l){return Kf||(Kf=Mc("PromiseConstructorLike",0,l))||Ko}function Pge(l){return Q||(Q=Mc("AsyncIterable",1,l))||Va}function pei(l){return Me||(Me=Mc("AsyncIterator",3,l))||Va}function gei(l){return wt||(wt=Mc("AsyncIterableIterator",1,l))||Va}function Eei(l){return bi||(bi=Mc("AsyncGenerator",3,l))||Va}function oPe(l){return f4||(f4=Mc("Iterable",1,l))||Va}function _ei(l){return Oh||(Oh=Mc("Iterator",3,l))||Va}function Dei(l){return Ee||(Ee=Mc("IterableIterator",1,l))||Va}function xei(l){return Bt||(Bt=Mc("Generator",3,l))||Va}function vei(l){return gi||(gi=Mc("IteratorYieldResult",1,l))||Va}function Cei(l){return xi||(xi=Mc("IteratorReturnResult",1,l))||Va}function Qdt(l){return os||(os=Mc("Disposable",0,l))||Ko}function bei(l){return ss||(ss=Mc("AsyncDisposable",0,l))||Ko}function Xdt(l,m=0){const D=vz(l,788968,void 0);return D&&Wdt(D,m)}function yei(){return Rl||(Rl=Nge("Extract",2,!0)||Xt),Rl===Xt?void 0:Rl}function kei(){return D1||(D1=Nge("Omit",2,!0)||Xt),D1===Xt?void 0:D1}function sPe(l){return dd||(dd=Nge("Awaited",1,l)||(l?Xt:void 0)),dd===Xt?void 0:dd}function Fei(){return Jm||(Jm=Mc("BigInt",0,!1))||Ko}function Aei(l){return $m??($m=Mc("ClassDecoratorContext",1,l))??Va}function Sei(l){return d3??(d3=Mc("ClassMethodDecoratorContext",2,l))??Va}function Bei(l){return c_??(c_=Mc("ClassGetterDecoratorContext",2,l))??Va}function wei(l){return ia??(ia=Mc("ClassSetterDecoratorContext",2,l))??Va}function Tei(l){return Qx??(Qx=Mc("ClassAccessorDecoratorContext",2,l))??Va}function Lei(l){return Xx??(Xx=Mc("ClassAccessorDecoratorTarget",2,l))??Va}function Nei(l){return vg??(vg=Mc("ClassAccessorDecoratorResult",2,l))??Va}function Pei(l){return rb??(rb=Mc("ClassFieldDecoratorContext",2,l))??Va}function Mei(){return Es||(Es=rPe("NaN",!1))}function zei(){return tp||(tp=Nge("Record",2,!0)||Xt),tp===Xt?void 0:tp}function rW(l,m){return l!==Va?I5(l,m):Ko}function e1t(l){return rW(dei(),[l])}function t1t(l){return rW(oPe(!0),[l])}function j1(l,m){return rW(m?wo:ko,[l])}function lPe(l){switch(l.kind){case 190:return 2;case 191:return i1t(l);case 202:return l.questionToken?2:l.dotDotDotToken?i1t(l):1;default:return 1}}function i1t(l){return Fte(l.type)?4:8}function Iei(l){const m=jei(l.parent);if(Fte(l))return m?wo:ko;const C=Kt(l.elements,lPe);return cPe(C,m,Kt(l.elements,Rei))}function Rei(l){return WP(l)||Qa(l)?l:void 0}function n1t(l,m){return!!$9(l)||u1t(l)&&(l.kind===188?x6(l.elementType):l.kind===189?Ge(l.elements,x6):m||Ge(l.typeArguments,x6))}function u1t(l){const m=l.parent;switch(m.kind){case 196:case 202:case 183:case 192:case 193:case 199:case 194:case 198:case 188:case 189:return u1t(m);case 265:return!0}return!1}function x6(l){switch(l.kind){case 183:return Lge(l)||!!(rT(l,788968).flags&524288);case 186:return!0;case 198:return l.operator!==158&&x6(l.type);case 196:case 190:case 202:case 323:case 321:case 322:case 316:return x6(l.type);case 191:return l.type.kind!==188||x6(l.type.elementType);case 192:case 193:return Ge(l.types,x6);case 199:return x6(l.objectType)||x6(l.indexType);case 194:return x6(l.checkType)||x6(l.extendsType)||x6(l.trueType)||x6(l.falseType)}return!1}function Oei(l){const m=or(l);if(!m.resolvedType){const D=Iei(l);if(D===Va)m.resolvedType=Ko;else if(!(l.kind===189&&Ge(l.elements,C=>!!(lPe(C)&8)))&&n1t(l))m.resolvedType=l.kind===189&&l.elements.length===0?D:tPe(D,l,void 0);else{const C=l.kind===188?[Br(l.elementType)]:Kt(l.elements,Br);m.resolvedType=dPe(D,C)}}return m.resolvedType}function jei(l){return P7(l)&&l.operator===148}function Ag(l,m,D=!1,C=[]){const A=cPe(m||Kt(l,w=>1),D,C);return A===Va?Ko:l.length?dPe(A,l):A}function cPe(l,m,D){if(l.length===1&&l[0]&4)return m?wo:ko;const C=Kt(l,w=>w&1?"#":w&2?"?":w&4?".":"*").join()+(m?"R":"")+(Ge(D,w=>!!w)?","+Kt(D,w=>w?$s(w):"_").join(","):"");let A=Sa.get(C);return A||Sa.set(C,A=Vei(l,m,D)),A}function Vei(l,m,D){const C=l.length,A=ui(l,Te=>!!(Te&9));let w;const I=[];let U=0;if(C){w=new Array(C);for(let Te=0;Te!!(l.elementFlags[fi]&8&&zt.flags&1179648));if(ut>=0)return bte(Kt(m,(zt,fi)=>l.elementFlags[fi]&8?zt:on))?hl(m[ut],zt=>hPe(l,Ud(m,ut,zt))):jt}const w=[],I=[],U=[];let Z=-1,ce=-1,Fe=-1;for(let ut=0;ut=1e4)return pt(K,U_(K)?F.Type_produces_a_tuple_type_that_is_too_large_to_represent:F.Expression_produces_a_tuple_type_that_is_too_large_to_represent),jt;L(Wi,(cn,nu)=>{var En;return $e(cn,zt.target.elementFlags[nu],(En=zt.target.labeledElementDeclarations)==null?void 0:En[nu])})}else $e(V5(zt)&&CC(zt,Qt)||jt,4,(C=l.labeledElementDeclarations)==null?void 0:C[ut]);else $e(zt,fi,(A=l.labeledElementDeclarations)==null?void 0:A[ut])}for(let ut=0;ut=0&&ceI[ce+zt]&8?Uf(ut,Qt):ut)),w.splice(ce+1,Fe-ce),I.splice(ce+1,Fe-ce),U.splice(ce+1,Fe-ce));const Te=cPe(I,l.readonly,U);return Te===Va?Ko:I.length?I5(Te,w):Te;function $e(ut,zt,fi){zt&1&&(Z=I.length),zt&4&&ce<0&&(ce=I.length),zt&6&&(Fe=I.length),w.push(zt&2?Od(ut,!0):ut),I.push(zt),U.push(fi)}}function Cz(l,m,D=0){const C=l.target,A=R5(l)-D;return m>C.fixedLength?Aii(l)||Ag(_t):Ag(I0(l).slice(m,A),C.elementFlags.slice(m,A),!1,C.labeledElementDeclarations&&C.labeledElementDeclarations.slice(m,A))}function r1t(l){return tr(Ei(rm(l.target.fixedLength,m=>cf(""+m)),y_(l.target.readonly?wo:ko)))}function Hei(l,m){const D=Ue(l.elementFlags,C=>!(C&m));return D>=0?D:l.elementFlags.length}function aW(l,m){return l.elementFlags.length-Ye(l.elementFlags,D=>!(D&m))-1}function fPe(l){return l.fixedLength+aW(l,3)}function yC(l){const m=I0(l),D=R5(l);return m.length===D?m:m.slice(0,D)}function Kei(l){return Od(Br(l.type),!0)}function kh(l){return l.id}function v6(l,m){return Hl(l,m,kh,nl)>=0}function mPe(l,m){const D=Hl(l,m,kh,nl);return D<0?(l.splice(~D,0,m),!0):!1}function Wei(l,m,D){const C=D.flags;if(!(C&131072))if(m|=C&473694207,C&465829888&&(m|=33554432),D===_i&&(m|=8388608),!fe&&C&98304)Ju(D)&65536||(m|=4194304);else{const A=l.length,w=A&&D.id>l[A-1].id?~A:Hl(l,D,kh,nl);w<0&&l.splice(~w,0,D)}return m}function a1t(l,m,D){let C;for(const A of D)A!==C&&(m=A.flags&1048576?a1t(l,m|(Uei(A)?1048576:0),A.types):Wei(l,m,A),C=A);return m}function Gei(l,m){var D;if(l.length<2)return l;const C=cp(l),A=Yo.get(C);if(A)return A;const w=m&&Ge(l,ce=>!!(ce.flags&524288)&&!Qm(ce)&&MPe(kg(ce))),I=l.length;let U=I,Z=0;for(;U>0;){U--;const ce=l[U];if(w||ce.flags&469499904){if(ce.flags&262144&&DD(ce).flags&1048576){CE(ce,tr(Kt(l,$e=>$e===ce?Wu:$e)),m4)&&dv(l,U);continue}const Fe=ce.flags&61603840?Le(n0(ce),$e=>Bg(Gn($e))):void 0,Te=Fe&&Wh(Gn(Fe));for(const $e of l)if(ce!==$e){if(Z===1e5&&Z/(I-U)*I>1e6){(D=Jn)==null||D.instant(Jn.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:l.map(zt=>zt.id)}),pt(K,F.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}if(Z++,Fe&&$e.flags&61603840){const ut=he($e,Fe.escapedName);if(ut&&Bg(ut)&&Wh(ut)!==Te)continue}if(CE(ce,$e,m4)&&(!(Ju(Qw(ce))&1)||!(Ju(Qw($e))&1)||BC(ce,$e))){dv(l,U);break}}}}return Yo.set(C,l),l}function Jei(l,m,D){let C=l.length;for(;C>0;){C--;const A=l[C],w=A.flags;(w&402653312&&m&4||w&256&&m&8||w&2048&&m&64||w&8192&&m&4096||D&&w&32768&&m&16384||Tb(A)&&v6(l,A.regularType))&&dv(l,C)}}function $ei(l){const m=ei(l,D=>!!(D.flags&134217728)&&J9(D));if(m.length){let D=l.length;for(;D>0;){D--;const C=l[D];C.flags&128&&Ge(m,A=>mEe(C,A))&&dv(l,D)}}}function Uei(l){return!!(l.flags&1048576&&(l.aliasSymbol||l.origin))}function o1t(l,m){for(const D of m)if(D.flags&1048576){const C=D.origin;D.aliasSymbol||C&&!(C.flags&1048576)?xa(l,D):C&&C.flags&1048576&&o1t(l,C.types)}}function pPe(l,m){const D=bb(l);return D.types=m,D}function tr(l,m=1,D,C,A){if(l.length===0)return Wu;if(l.length===1)return l[0];if(l.length===2&&!A&&(l[0].flags&1048576||l[1].flags&1048576)){const w=m===0?"N":m===2?"S":"L",I=l[0].id=2&&w[0]===te&&w[1]===de&&dv(w,1),(I&402664352||I&16384&&I&32768)&&Jei(w,I,!!(m&2)),I&128&&I&134217728&&$ei(w),m===2&&(w=Gei(w,!!(I&524288)),!w))return jt;if(w.length===0)return I&65536?I&4194304?it:Ct:I&32768?I&4194304?te:we:Wu}if(!A&&I&1048576){const Z=[];o1t(Z,l);const ce=[];for(const Te of w)Ge(Z,$e=>v6($e.types,Te))||ce.push(Te);if(!D&&Z.length===1&&ce.length===0)return Z[0];if(tn(Z,(Te,$e)=>Te+$e.types.length,0)+ce.length===w.length){for(const Te of Z)mPe(ce,Te);A=pPe(1048576,ce)}}const U=(I&36323331?0:32768)|(I&2097152?16777216:0);return EPe(w,U,D,C,A)}function qei(l,m){let D;const C=[];for(const w of l){const I=b4(w);if(I){if(I.kind!==0&&I.kind!==1||D&&!gPe(D,I))return;D=I,C.push(I.type)}else{const U=m!==2097152?Zs(w):void 0;if(U!==Ui&&U!==Sn)return}}if(!D)return;const A=wdt(C,m);return xte(D.kind,D.parameterName,D.parameterIndex,A)}function gPe(l,m){return l.kind===m.kind&&l.parameterIndex===m.parameterIndex}function EPe(l,m,D,C,A){if(l.length===0)return Wu;if(l.length===1)return l[0];const I=(A?A.flags&1048576?`|${cp(A.types)}`:A.flags&2097152?`&${cp(A.types)}`:`#${A.type.id}|${cp(l)}`:cp(l))+W9(D,C);let U=bt.get(I);return U||(U=op(1048576),U.objectFlags=m|Bge(l,98304),U.types=l,U.origin=A,U.aliasSymbol=D,U.aliasTypeArguments=C,l.length===2&&l[0].flags&512&&l[1].flags&512&&(U.flags|=16,U.intrinsicName="boolean"),bt.set(I,U)),U}function Zei(l){const m=or(l);if(!m.resolvedType){const D=$9(l);m.resolvedType=tr(Kt(l.types,Br),1,D,aT(D))}return m.resolvedType}function Yei(l,m,D){const C=D.flags;return C&2097152?l1t(l,m,D.types):(bD(D)?m&16777216||(m|=16777216,l.set(D.id.toString(),D)):(C&3?D===_i&&(m|=8388608):(fe||!(C&98304))&&(D===de&&(m|=262144,D=te),l.has(D.id.toString())||(D.flags&109472&&m&109472&&(m|=67108864),l.set(D.id.toString(),D))),m|=C&473694207),m)}function l1t(l,m,D){for(const C of D)m=Yei(l,m,Wh(C));return m}function Qei(l,m){let D=l.length;for(;D>0;){D--;const C=l[D];(C.flags&4&&m&402653312||C.flags&8&&m&256||C.flags&64&&m&2048||C.flags&4096&&m&8192||C.flags&16384&&m&32768||bD(C)&&m&470302716)&&dv(l,D)}}function Xei(l,m){for(const D of l)if(!v6(D.types,m)){const C=m.flags&128?ct:m.flags&288?Qt:m.flags&2048?Ti:m.flags&8192?er:void 0;if(!C||!v6(D.types,C))return!1}return!0}function eti(l){let m=l.length;const D=ei(l,C=>!!(C.flags&128));for(;m>0;){m--;const C=l[m];if(C.flags&134217728){for(const A of D)if(k6(A,C)){dv(l,m);break}else if(J9(C))return!0}}return!1}function c1t(l,m){for(let D=0;D!(C.flags&m))}function tti(l){let m;const D=Ue(l,I=>!!(Ju(I)&32768));if(D<0)return!1;let C=D+1;for(;C!!(ce.flags&1048576&&ce.types[0].flags&32768))){const ce=Ge(I,pW)?de:te;c1t(I,32768),Z=tr([_s(I),ce],1,m,D)}else if(ye(I,ce=>!!(ce.flags&1048576&&(ce.types[0].flags&65536||ce.types[1].flags&65536))))c1t(I,65536),Z=tr([_s(I),it],1,m,D);else{if(!bte(I))return jt;const ce=nti(I),Fe=Ge(ce,Te=>!!(Te.flags&2097152))&&_Pe(ce)>_Pe(I)?pPe(2097152,I):void 0;Z=tr(ce,1,m,D,Fe)}else Z=iti(I,m,D);Ln.set(U,Z)}return Z}function d1t(l){return tn(l,(m,D)=>D.flags&1048576?m*D.types.length:D.flags&131072?0:m,1)}function bte(l){var m;const D=d1t(l);return D>=1e5?((m=Jn)==null||m.instant(Jn.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:l.map(C=>C.id),size:D}),pt(K,F.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function nti(l){const m=d1t(l),D=[];for(let C=0;C=0;U--)if(l[U].flags&1048576){const Z=l[U].types,ce=Z.length;A[U]=Z[w%ce],w=Math.floor(w/ce)}const I=_s(A);I.flags&131072||D.push(I)}return D}function h1t(l){return!(l.flags&3145728)||l.aliasSymbol?1:l.flags&1048576&&l.origin?h1t(l.origin):_Pe(l.types)}function _Pe(l){return tn(l,(m,D)=>m+h1t(D),0)}function uti(l){const m=or(l);if(!m.resolvedType){const D=$9(l),C=Kt(l.types,Br),A=C.length===2?C.indexOf(Tc):-1,w=A>=0?C[1-A]:on,I=!!(w.flags&76||w.flags&134217728&&J9(w));m.resolvedType=_s(C,D,aT(D),I)}return m.resolvedType}function f1t(l,m){const D=op(4194304);return D.type=l,D.indexFlags=m,D}function rti(l){const m=bb(4194304);return m.type=l,m}function m1t(l,m){return m&1?l.resolvedStringIndexType||(l.resolvedStringIndexType=f1t(l,1)):l.resolvedIndexType||(l.resolvedIndexType=f1t(l,0))}function ati(l,m){const D=yg(l),C=sp(l),A=z5(l.target||l);if(!A&&!(m&2))return C;const w=[];if(XK(l)){if(kC(C))return m1t(l,m);{const Z=Kh(V9(l));zNe(Z,8576,!!(m&1),U)}}else yF(Ete(C),U);kC(C)&&yF(C,U);const I=m&2?zc(tr(w),Z=>!(Z.flags&5)):tr(w);if(I.flags&1048576&&C.flags&1048576&&cp(I.types)===cp(C.types))return C;return I;function U(Z){const ce=A?_a(A,lW(l.mapper,D,Z)):Z;w.push(ce===ct?Bo:ce)}}function oti(l){const m=yg(l);return D(z5(l)||m);function D(C){return C.flags&470810623?!0:C.flags&16777216?C.root.isDistributive&&C.checkType===m:C.flags&137363456?ye(C.types,D):C.flags&8388608?D(C.objectType)&&D(C.indexType):C.flags&33554432?D(C.baseType)&&D(C.constraint):C.flags&268435456?D(C.type):!1}}function O5(l){if(ea(l))return Wu;if(Rf(l))return Wh(ya(l));if(Ns(l))return Wh(k3(l));const m=ak(l);return m!==void 0?cf(Qr(m)):Wt(l)?Wh(ya(l)):Wu}function bz(l,m,D){if(D||!(s4(l)&6)){let C=Ur(bge(l)).nameType;if(!C){const A=$a(l.valueDeclaration);C=l.escapedName==="default"?cf("default"):A&&O5(A)||(Mj(l)?void 0:cf(sc(l)))}if(C&&C.flags&m)return C}return Wu}function p1t(l,m){return!!(l.flags&m||l.flags&2097152&&Ge(l.types,D=>p1t(D,m)))}function sti(l,m,D){const C=D&&(Ju(l)&7||l.aliasSymbol)?rti(l):void 0,A=Kt(n0(l),I=>bz(I,m)),w=Kt(yh(l),I=>I!==wu&&p1t(I.keyType,m)?I.keyType===ct&&m&8?Bo:I.keyType:Wu);return tr(an(A,w),1,void 0,void 0,C)}function g1t(l,m=0){return!!(l.flags&58982400||H5(l)||Qm(l)&&!oti(l)||l.flags&1048576&&!(m&4)&&WNe(l)||l.flags&2097152&&jl(l,465829888)&&Ge(l.types,bD))}function y_(l,m=ft){return l=Fg(l),g1t(l,m)?m1t(l,m):l.flags&1048576?_s(Kt(l.types,D=>y_(D,m))):l.flags&2097152?tr(Kt(l.types,D=>y_(D,m))):Ju(l)&32?ati(l,m):l===_i?_i:l.flags&2?Wu:l.flags&131073?xc:sti(l,(m&2?128:402653316)|(m&1?0:12584),m===ft)}function E1t(l){if(Je)return l;const m=yei();return m?uT(m,[l,ct]):ct}function lti(l){const m=E1t(y_(l));return m.flags&131072?ct:m}function cti(l){const m=or(l);if(!m.resolvedType)switch(l.operator){case 143:m.resolvedType=y_(Br(l.type));break;case 158:m.resolvedType=l.type.kind===155?FPe(wj(l.parent)):jt;break;case 148:m.resolvedType=Br(l.type);break;default:H.assertNever(l.operator)}return m.resolvedType}function dti(l){const m=or(l);return m.resolvedType||(m.resolvedType=_F([l.head.text,...Kt(l.templateSpans,D=>D.literal.text)],Kt(l.templateSpans,D=>Br(D.type)))),m.resolvedType}function _F(l,m){const D=Ue(m,ce=>!!(ce.flags&1179648));if(D>=0)return bte(m)?hl(m[D],ce=>_F(l,Ud(m,D,ce))):jt;if(Ft(m,_i))return _i;const C=[],A=[];let w=l[0];if(!Z(l,m))return ct;if(C.length===0)return cf(w);if(A.push(w),ye(A,ce=>ce==="")){if(ye(C,ce=>!!(ce.flags&4)))return ct;if(C.length===1&&J9(C[0]))return C[0]}const I=`${cp(C)}|${Kt(A,ce=>ce.length).join(",")}|${A.join("")}`;let U=Da.get(I);return U||Da.set(I,U=fti(A,C)),U;function Z(ce,Fe){for(let Te=0;TeG9(l,D)):m.flags&128?cf(_1t(l,m.value)):m.flags&134217728?_F(...mti(l,m.texts,m.types)):m.flags&268435456&&l===m.symbol?m:m.flags&268435461||kC(m)?D1t(l,m):yte(m)?D1t(l,_F(["",""],[m])):m}function _1t(l,m){switch(YY.get(l.escapedName)){case 0:return m.toUpperCase();case 1:return m.toLowerCase();case 2:return m.charAt(0).toUpperCase()+m.slice(1);case 3:return m.charAt(0).toLowerCase()+m.slice(1)}return m}function mti(l,m,D){switch(YY.get(l.escapedName)){case 0:return[m.map(C=>C.toUpperCase()),D.map(C=>G9(l,C))];case 1:return[m.map(C=>C.toLowerCase()),D.map(C=>G9(l,C))];case 2:return[m[0]===""?m:[m[0].charAt(0).toUpperCase()+m[0].slice(1),...m.slice(1)],m[0]===""?[G9(l,D[0]),...D.slice(1)]:D];case 3:return[m[0]===""?m:[m[0].charAt(0).toLowerCase()+m[0].slice(1),...m.slice(1)],m[0]===""?[G9(l,D[0]),...D.slice(1)]:D]}return[m,D]}function D1t(l,m){const D=`${Zo(l)},${kh(m)}`;let C=aa.get(D);return C||aa.set(D,C=pti(l,m)),C}function pti(l,m){const D=L5(268435456,l);return D.type=m,D}function gti(l,m,D,C,A){const w=op(8388608);return w.objectType=l,w.indexType=m,w.accessFlags=D,w.aliasSymbol=C,w.aliasTypeArguments=A,w}function oW(l){if(Ae)return!1;if(Ju(l)&4096)return!0;if(l.flags&1048576)return ye(l.types,oW);if(l.flags&2097152)return Ge(l.types,oW);if(l.flags&465829888){const m=jNe(l);return m!==l&&oW(m)}return!1}function Mge(l,m){return q4(l)?Z4(l):m&&Ac(m)?ak(m):void 0}function DPe(l,m){if(m.flags&8208){const D=Tn(l.parent,C=>!M0(C))||l.parent;return g2(D)?JE(D)&&at(l)&&Sht(D,l):ye(m.declarations,C=>!xo(C)||uC(C))}return!0}function x1t(l,m,D,C,A,w){const I=A&&A.kind===212?A:void 0,U=A&&ea(A)?void 0:Mge(D,A);if(U!==void 0){if(w&256)return zb(m,U)||me;const ce=Uo(m,U);if(ce){if(w&64&&A&&ce.declarations&&A5(ce)&&DPe(A,ce)){const Te=(I==null?void 0:I.argumentExpression)??(M7(A)?A.indexType:A);f3(Te,ce.declarations,U)}if(I){if(Xte(ce,I,Mft(I.expression,m.symbol)),Cmt(I,ce,d7(I))){pt(I.argumentExpression,F.Cannot_assign_to_0_because_it_is_a_read_only_property,Sr(ce));return}if(w&8&&(or(A).resolvedSymbol=ce),Sft(I,ce))return ni}const Fe=w&4?hF(ce):Gn(ce);return I&&d7(I)!==1?B6(I,Fe):A&&M7(A)&&pW(Fe)?tr([Fe,te]):Fe}if(Xm(m,Ds)&&t3(U)){const Fe=+U;if(A&&Xm(m,Te=>!Te.target.hasRestElement)&&!(w&16)){const Te=xPe(A);if(Ds(m)){if(Fe<0)return pt(Te,F.A_tuple_type_cannot_be_indexed_with_a_negative_value),te;pt(Te,F.Tuple_type_0_of_length_1_has_no_element_at_index_2,gn(m),R5(m),Qr(U))}else pt(Te,F.Property_0_does_not_exist_on_type_1,Qr(U),gn(m))}if(Fe>=0)return Z(y3(m,Qt)),sht(m,Fe,w&1?de:void 0)}}if(!(D.flags&98304)&&n1(D,402665900)){if(m.flags&131073)return m;const ce=tW(m,D)||y3(m,ct);if(ce){if(w&2&&ce.keyType!==Qt){I&&(w&4?pt(I,F.Type_0_is_generic_and_can_only_be_indexed_for_reading,gn(l)):pt(I,F.Type_0_cannot_be_used_to_index_type_1,gn(D),gn(l)));return}if(A&&ce.keyType===ct&&!n1(D,12)){const Fe=xPe(A);return pt(Fe,F.Type_0_cannot_be_used_as_an_index_type,gn(D)),w&1?tr([ce.type,de]):ce.type}return Z(ce),w&1&&!(m.symbol&&m.symbol.flags&384&&D.symbol&&D.flags&1024&&lf(D.symbol)===m.symbol)?tr([ce.type,de]):ce.type}if(D.flags&131072)return Wu;if(oW(m))return me;if(I&&!KEe(m)){if(LC(m)){if(Ae&&D.flags&384)return js.add(Su(I,F.Property_0_does_not_exist_on_type_1,D.value,gn(m))),te;if(D.flags&12){const Fe=Kt(m.properties,Te=>Gn(Te));return tr(Ei(Fe,te))}}if(m.symbol===St&&U!==void 0&&St.exports.has(U)&&St.exports.get(U).flags&418)pt(I,F.Property_0_does_not_exist_on_type_1,Qr(U),gn(m));else if(Ae&&!ae.suppressImplicitAnyIndexErrors&&!(w&128))if(U!==void 0&&Lft(U,m)){const Fe=gn(m);pt(I,F.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,U,Fe,Fe+"["+Hc(I.argumentExpression)+"]")}else if(CC(m,Qt))pt(I.argumentExpression,F.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{let Fe;if(U!==void 0&&(Fe=GMe(U,m)))Fe!==void 0&&pt(I.argumentExpression,F.Property_0_does_not_exist_on_type_1_Did_you_mean_2,U,gn(m),Fe);else{const Te=hri(m,I,D);if(Te!==void 0)pt(I,F.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,gn(m),Te);else{let $e;if(D.flags&1024)$e=no(void 0,F.Property_0_does_not_exist_on_type_1,"["+gn(D)+"]",gn(m));else if(D.flags&8192){const ut=rp(D.symbol,I);$e=no(void 0,F.Property_0_does_not_exist_on_type_1,"["+ut+"]",gn(m))}else D.flags&128||D.flags&256?$e=no(void 0,F.Property_0_does_not_exist_on_type_1,D.value,gn(m)):D.flags&12&&($e=no(void 0,F.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,gn(D),gn(m)));$e=no($e,F.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,gn(C),gn(m)),js.add(Z3(zn(I),I,$e))}}}return}}if(oW(m))return me;if(A){const ce=xPe(A);D.flags&384?pt(ce,F.Property_0_does_not_exist_on_type_1,""+D.value,gn(m)):D.flags&12?pt(ce,F.Type_0_has_no_matching_index_signature_for_type_1,gn(m),gn(D)):pt(ce,F.Type_0_cannot_be_used_as_an_index_type,gn(D))}if(nt(D))return D;return;function Z(ce){ce&&ce.isReadonly&&I&&(Y_(I)||j0e(I))&&pt(I,F.Index_signature_in_type_0_only_permits_reading,gn(m))}}function xPe(l){return l.kind===212?l.argumentExpression:l.kind===199?l.indexType:l.kind===167?l.expression:l}function yte(l){if(l.flags&2097152){let m=!1;for(const D of l.types)if(D.flags&101248||yte(D))m=!0;else if(!(D.flags&524288))return!1;return m}return!!(l.flags&77)||J9(l)}function J9(l){return!!(l.flags&134217728)&&ye(l.types,yte)||!!(l.flags&268435456)&&yte(l.type)}function yz(l){return!!sW(l)}function Bb(l){return!!(sW(l)&4194304)}function kC(l){return!!(sW(l)&8388608)}function sW(l){return l.flags&3145728?(l.objectFlags&2097152||(l.objectFlags|=2097152|tn(l.types,(m,D)=>m|sW(D),0)),l.objectFlags&12582912):l.flags&33554432?(l.objectFlags&2097152||(l.objectFlags|=2097152|sW(l.baseType)|sW(l.constraint)),l.objectFlags&12582912):(l.flags&58982400||Qm(l)||H5(l)?4194304:0)|(l.flags&465829888&&!J9(l)?8388608:0)}function xD(l,m){return l.flags&8388608?_ti(l,m):l.flags&16777216?Dti(l,m):l}function v1t(l,m,D){if(l.flags&1048576||l.flags&2097152&&!g1t(l)){const C=Kt(l.types,A=>xD(Uf(A,m),D));return l.flags&2097152||D?_s(C):tr(C)}}function Eti(l,m,D){if(m.flags&1048576){const C=Kt(m.types,A=>xD(Uf(l,A),D));return D?_s(C):tr(C)}}function _ti(l,m){const D=m?"simplifiedForWriting":"simplifiedForReading";if(l[D])return l[D]===Uc?l:l[D];l[D]=Uc;const C=xD(l.objectType,m),A=xD(l.indexType,m),w=Eti(C,A,m);if(w)return l[D]=w;if(!(A.flags&465829888)){const I=v1t(C,A,m);if(I)return l[D]=I}if(H5(C)&&A.flags&296){const I=Bz(C,A.flags&8?0:C.target.fixedLength,0,m);if(I)return l[D]=I}return Qm(C)&&(!z5(C)||_dt(C))?l[D]=hl(zge(C,l.indexType),I=>xD(I,m)):l[D]=l}function Dti(l,m){const D=l.checkType,C=l.extendsType,A=FC(l),w=AC(l);if(w.flags&131072&&b6(A)===b6(D)){if(D.flags&1||fs(DF(D),DF(C)))return xD(A,m);if(C1t(D,C))return Wu}else if(A.flags&131072&&b6(w)===b6(D)){if(!(D.flags&1)&&fs(DF(D),DF(C)))return Wu;if(D.flags&1||C1t(D,C))return xD(w,m)}return l}function C1t(l,m){return!!(tr([gte(l,m),Wu]).flags&131072)}function zge(l,m){const D=Af([yg(l)],[m]),C=SC(l.mapper,D);return _a(_D(l.target||l),C)}function Uf(l,m,D=0,C,A,w){return C6(l,m,D,C,A,w)||(C?jt:on)}function b1t(l,m){return Xm(l,D=>{if(D.flags&384){const C=Z4(D);if(t3(C)){const A=+C;return A>=0&&A0&&!Ge(l.elements,m=>_ce(m)||Dce(m)||WP(m)&&!!(m.questionToken||m.dotDotDotToken))}function F1t(l,m){return yz(l)||m&&Ds(l)&&Ge(yC(l),yz)}function CPe(l,m,D,C){let A,w,I=0;for(;;){if(I===1e3)return pt(K,F.Type_instantiation_is_excessively_deep_and_possibly_infinite),jt;const Z=_a(b6(l.checkType),m),ce=_a(l.extendsType,m);if(Z===jt||ce===jt)return jt;if(Z===_i||ce===_i)return _i;const Fe=k1t(l.node.checkType)&&k1t(l.node.extendsType)&&S(l.node.checkType.elements)===S(l.node.extendsType.elements),Te=F1t(Z,Fe);let $e;if(l.inferTypeParameters){const zt=Pu(l.inferTypeParameters,xti),fi=zt!==l.inferTypeParameters?Af(l.inferTypeParameters,zt):void 0,Wi=EW(zt,void 0,0);if(fi){const nu=SC(m,fi);for(let En=0;Eny6(fi,Te)),ut=Af(Fe.outerTypeParameters,$e),zt=Fe.isDistributive?y6(Fe.checkType,ut):void 0;if(!zt||zt===Fe.checkType||!(zt.flags&1179648))return l=Fe,m=ut,D=void 0,C=void 0,Fe.aliasSymbol&&I++,!0}}return!1}}function FC(l){return l.resolvedTrueType||(l.resolvedTrueType=_a(Br(l.root.node.trueType),l.mapper))}function AC(l){return l.resolvedFalseType||(l.resolvedFalseType=_a(Br(l.root.node.falseType),l.mapper))}function vti(l){return l.resolvedInferredTrueType||(l.resolvedInferredTrueType=l.combinedMapper?_a(Br(l.root.node.trueType),l.combinedMapper):FC(l))}function A1t(l){let m;return l.locals&&l.locals.forEach(D=>{D.flags&262144&&(m=Ei(m,Z0(D)))}),m}function Cti(l){return l.isDistributive&&(Ste(l.checkType,l.node.trueType)||Ste(l.checkType,l.node.falseType))}function bti(l){const m=or(l);if(!m.resolvedType){const D=Br(l.checkType),C=$9(l),A=aT(C),w=Ez(l,!0),I=A?w:ei(w,Z=>Ste(Z,l)),U={node:l,checkType:D,extendsType:Br(l.extendsType),isDistributive:!!(D.flags&262144),inferTypeParameters:A1t(l),outerTypeParameters:I,instantiations:void 0,aliasSymbol:C,aliasTypeArguments:A};m.resolvedType=CPe(U,void 0),I&&(U.instantiations=new Map,U.instantiations.set(cp(I),m.resolvedType))}return m.resolvedType}function yti(l){const m=or(l);return m.resolvedType||(m.resolvedType=mF(_u(l.typeParameter))),m.resolvedType}function S1t(l){return at(l)?[l]:Ei(S1t(l.left),l.right)}function kti(l){var m;const D=or(l);if(!D.resolvedType){if(!Mx(l))return pt(l.argument,F.String_literal_expected),D.resolvedSymbol=Xt,D.resolvedType=jt;const C=l.isTypeOf?111551:l.flags&16777216?900095:788968,A=Vh(l,l.argument.literal);if(!A)return D.resolvedSymbol=Xt,D.resolvedType=jt;const w=!!((m=A.exports)!=null&&m.get("export=")),I=Em(A,!1);if(Yl(l.qualifier))if(I.flags&C)D.resolvedType=B1t(l,D,I,C);else{const U=C===111551?F.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:F.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0;pt(l,U,l.argument.literal.text),D.resolvedSymbol=Xt,D.resolvedType=jt}else{const U=S1t(l.qualifier);let Z=I,ce;for(;ce=U.shift();){const Fe=U.length?1920:C,Te=Hs(bc(Z)),$e=l.isTypeOf||Xn(l)&&w?Uo(Gn(Te),ce.escapedText,!1,!0):void 0,zt=(l.isTypeOf?void 0:yf(Jf(Te),ce.escapedText,Fe))??$e;if(!zt)return pt(ce,F.Namespace_0_has_no_exported_member_1,rp(Z),C0(ce)),D.resolvedType=jt;or(ce).resolvedSymbol=zt,or(ce.parent).resolvedSymbol=zt,Z=zt}D.resolvedType=B1t(l,D,Z,C)}}return D.resolvedType}function B1t(l,m,D,C){const A=bc(D);return m.resolvedSymbol=A,C===111551?omt(Gn(D),l):Tge(l,A)}function w1t(l){const m=or(l);if(!m.resolvedType){const D=$9(l);if(E6(l.symbol).size===0&&!D)m.resolvedType=Tc;else{let C=_4(16,l.symbol);C.aliasSymbol=D,C.aliasTypeArguments=aT(D),V7(l)&&l.isArrayType&&(C=j1(C)),m.resolvedType=C}}return m.resolvedType}function $9(l){let m=l.parent;for(;N7(m)||bk(m)||P7(m)&&m.operator===148;)m=m.parent;return Fj(m)?_u(m):void 0}function aT(l){return l?sn(l):void 0}function Ige(l){return!!(l.flags&524288)&&!Qm(l)}function bPe(l){return CD(l)||!!(l.flags&474058748)}function yPe(l,m){if(!(l.flags&1048576))return l;if(ye(l.types,bPe))return Le(l.types,CD)||Ko;const D=Le(l.types,w=>!bPe(w));if(!D||Le(l.types,w=>w!==D&&!bPe(w)))return l;return A(D);function A(w){const I=Vo();for(const Z of n0(w))if(!(s4(Z)&6)){if(Rge(Z)){const ce=Z.flags&65536&&!(Z.flags&32768),Te=Vs(16777220,Z.escapedName,MNe(Z)|(m?8:0));Te.links.type=ce?te:Od(Gn(Z),!0),Te.declarations=Z.declarations,Te.links.nameType=Ur(Z).nameType,Te.links.syntheticOrigin=Z,I.set(Z.escapedName,Te)}}const U=Ol(w.symbol,I,_t,_t,yh(w));return U.objectFlags|=131200,U}}function wb(l,m,D,C,A){if(l.flags&1||m.flags&1)return me;if(l.flags&2||m.flags&2)return on;if(l.flags&131072)return m;if(m.flags&131072)return l;if(l=yPe(l,A),l.flags&1048576)return bte([l,m])?hl(l,ce=>wb(ce,m,D,C,A)):jt;if(m=yPe(m,A),m.flags&1048576)return bte([l,m])?hl(m,ce=>wb(l,ce,D,C,A)):jt;if(m.flags&473960444)return l;if(Bb(l)||Bb(m)){if(CD(l))return m;if(l.flags&2097152){const ce=l.types,Fe=ce[ce.length-1];if(Ige(Fe)&&Ige(m))return _s(an(ce.slice(0,ce.length-1),[wb(Fe,m,D,C,A)]))}return _s([l,m])}const w=Vo(),I=new Set,U=l===Ko?yh(m):hdt([l,m]);for(const ce of n0(m))s4(ce)&6?I.add(ce.escapedName):Rge(ce)&&w.set(ce.escapedName,kPe(ce,A));for(const ce of n0(l))if(!(I.has(ce.escapedName)||!Rge(ce)))if(w.has(ce.escapedName)){const Fe=w.get(ce.escapedName),Te=Gn(Fe);if(Fe.flags&16777216){const $e=an(ce.declarations,Fe.declarations),ut=4|ce.flags&16777216,zt=Vs(ut,ce.escapedName),fi=Gn(ce),Wi=sEe(fi),cn=sEe(Te);zt.links.type=Wi===cn?fi:tr([fi,cn],2),zt.links.leftSpread=ce,zt.links.rightSpread=Fe,zt.declarations=$e,zt.links.nameType=Ur(ce).nameType,w.set(ce.escapedName,zt)}}else w.set(ce.escapedName,kPe(ce,A));const Z=Ol(D,w,_t,_t,Pu(U,ce=>Fti(ce,A)));return Z.objectFlags|=2228352|C,Z}function Rge(l){var m;return!Ge(l.declarations,mh)&&(!(l.flags&106496)||!((m=l.declarations)!=null&&m.some(D=>gr(D.parent))))}function kPe(l,m){const D=l.flags&65536&&!(l.flags&32768);if(!D&&m===Tg(l))return l;const C=4|l.flags&16777216,A=Vs(C,l.escapedName,MNe(l)|(m?8:0));return A.links.type=D?te:Gn(l),A.declarations=l.declarations,A.links.nameType=Ur(l).nameType,A.links.syntheticOrigin=l,A}function Fti(l,m){return l.isReadonly!==m?b_(l.keyType,l.type,m,l.declaration):l}function kte(l,m,D,C){const A=L5(l,D);return A.value=m,A.regularType=C||A,A}function U9(l){if(l.flags&2976){if(!l.freshType){const m=kte(l.flags,l.value,l.symbol,l);m.freshType=m,l.freshType=m}return l.freshType}return l}function Wh(l){return l.flags&2976?l.regularType:l.flags&1048576?l.regularType||(l.regularType=hl(l,Wh)):l}function Tb(l){return!!(l.flags&2976)&&l.freshType===l}function cf(l){let m;return Fi.get(l)||(Fi.set(l,m=kte(128,l)),m)}function Sg(l){let m;return Dn.get(l)||(Dn.set(l,m=kte(256,l)),m)}function Oge(l){let m;const D=P2(l);return Cn.get(D)||(Cn.set(D,m=kte(2048,l)),m)}function Ati(l,m,D){let C;const A=`${m}${typeof l=="string"?"@":"#"}${l}`,w=1024|(typeof l=="string"?128:256);return tu.get(A)||(tu.set(A,C=kte(w,l,D)),C)}function Sti(l){if(l.literal.kind===106)return it;const m=or(l);return m.resolvedType||(m.resolvedType=Wh(ya(l.literal))),m.resolvedType}function Bti(l){const m=L5(8192,l);return m.escapedName=`__@${m.symbol.escapedName}@${Zo(m.symbol)}`,m}function FPe(l){if(Gbe(l)){const m=uq(l)?_m(l.left):_m(l);if(m){const D=Ur(m);return D.uniqueESSymbolType||(D.uniqueESSymbolType=Bti(m))}}return er}function wti(l){const m=ef(l,!1,!1),D=m&&m.parent;if(D&&(gr(D)||D.kind===264)&&!Lo(m)&&(!dc(m)||k2(l,m.body)))return C4(_u(D)).thisType;if(D&&bs(D)&&eu(D.parent)&&Ql(D.parent)===6)return C4(_m(D.parent.left).parent).thisType;const C=l.flags&16777216?bv(l):void 0;return C&&A0(C)&&eu(C.parent)&&Ql(C.parent)===3?C4(_m(C.parent.left).parent).thisType:FE(m)&&k2(l,m.body)?C4(_u(m)).thisType:(pt(l,F.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),jt)}function jge(l){const m=or(l);return m.resolvedType||(m.resolvedType=wti(l)),m.resolvedType}function T1t(l){return Br(Fte(l.type)||l.type)}function Fte(l){switch(l.kind){case 196:return Fte(l.type);case 189:if(l.elements.length===1&&(l=l.elements[0],l.kind===191||l.kind===202&&l.dotDotDotToken))return Fte(l.type);break;case 188:return l.elementType}}function Tti(l){const m=or(l);return m.resolvedType||(m.resolvedType=l.dotDotDotToken?T1t(l):Od(Br(l.type),!0,!!l.questionToken))}function Br(l){return lei(L1t(l),l)}function L1t(l){switch(l.kind){case 133:case 319:case 320:return me;case 159:return on;case 154:return ct;case 150:return Qt;case 163:return Ti;case 136:return Er;case 155:return er;case 116:return da;case 157:return te;case 106:return it;case 146:return Wu;case 151:return l.flags&524288&&!Ae?me:as;case 141:return Yi;case 197:case 110:return jge(l);case 201:return Sti(l);case 183:return uPe(l);case 182:return l.assertsModifier?da:Er;case 233:return uPe(l);case 186:return Kdt(l);case 188:case 189:return Oei(l);case 190:return Kei(l);case 192:return Zei(l);case 193:return uti(l);case 321:return cei(l);case 323:return Od(Br(l.type));case 202:return Tti(l);case 196:case 322:case 316:return Br(l.type);case 191:return T1t(l);case 325:return S0i(l);case 184:case 185:case 187:case 329:case 324:case 330:return w1t(l);case 198:return cti(l);case 199:return y1t(l);case 200:return vPe(l);case 194:return bti(l);case 195:return yti(l);case 203:return dti(l);case 205:return kti(l);case 80:case 166:case 211:const m=Up(l);return m?Z0(m):jt;default:return jt}}function Vge(l,m,D){if(l&&l.length)for(let C=0;CC.typeParameter),Kt(D,()=>on))}function SC(l,m){return l?Kge(4,l,m):m}function Pti(l,m){return l?Kge(5,l,m):m}function q9(l,m,D){return D?Kge(5,Lb(l,m),D):Lb(l,m)}function lW(l,m,D){return l?Kge(5,l,Lb(m,D)):Lb(m,D)}function Mti(l){return!l.constraint&&!ePe(l)||l.constraint===dl?l:l.restrictiveInstantiation||(l.restrictiveInstantiation=O1(l.symbol),l.restrictiveInstantiation.constraint=dl,l.restrictiveInstantiation)}function Wge(l){const m=O1(l.symbol);return m.target=l,m}function zti(l,m){return xte(l.kind,l.parameterName,l.parameterIndex,_a(l.type,m))}function oT(l,m,D){let C;if(l.typeParameters&&!D){C=Kt(l.typeParameters,Wge),m=SC(Af(l.typeParameters,C),m);for(const w of C)w.mapper=m}const A=b3(l.declaration,C,l.thisParameter&&SPe(l.thisParameter,m),Vge(l.parameters,m,SPe),void 0,void 0,l.minArgumentCount,l.flags&167);return A.target=l,A.mapper=m,A}function SPe(l,m){const D=Ur(l);if(D.type&&!TC(D.type)&&(!(l.flags&65536)||D.writeType&&!TC(D.writeType)))return l;Wl(l)&1&&(l=D.target,m=SC(D.mapper,m));const C=Vs(l.flags,l.escapedName,1|Wl(l)&53256);return C.declarations=l.declarations,C.parent=l.parent,C.links.target=l,C.links.mapper=m,l.valueDeclaration&&(C.valueDeclaration=l.valueDeclaration),D.nameType&&(C.links.nameType=D.nameType),C}function Iti(l,m,D,C){const A=l.objectFlags&4||l.objectFlags&8388608?l.node:l.symbol.declarations[0],w=or(A),I=l.objectFlags&4?w.resolvedType:l.objectFlags&64?l.target:l;let U=w.outerTypeParameters;if(!U){let Z=Ez(A,!0);if(FE(A)){const Fe=Sdt(A);Z=yn(Z,Fe)}U=Z||_t;const ce=l.objectFlags&8388612?[A]:l.symbol.declarations;U=(I.objectFlags&8388612||I.symbol.flags&8192||I.symbol.flags&2048)&&!I.aliasTypeArguments?ei(U,Fe=>Ge(ce,Te=>Ste(Fe,Te))):U,w.outerTypeParameters=U}if(U.length){const Z=SC(l.mapper,m),ce=Kt(U,zt=>y6(zt,Z)),Fe=D||l.aliasSymbol,Te=D?C:j5(l.aliasTypeArguments,m),$e=cp(ce)+W9(Fe,Te);I.instantiations||(I.instantiations=new Map,I.instantiations.set(cp(U)+W9(I.aliasSymbol,I.aliasTypeArguments),I));let ut=I.instantiations.get($e);if(!ut){const zt=Af(U,ce);ut=I.objectFlags&4?tPe(l.target,l.node,zt,Fe,Te):I.objectFlags&32?M1t(I,zt,Fe,Te):wPe(I,zt,Fe,Te),I.instantiations.set($e,ut);const fi=Ju(ut);if(ut.flags&3899393&&!(fi&524288)){const Wi=Ge(ce,TC);Ju(ut)&524288||(fi&52?ut.objectFlags|=524288|(Wi?1048576:0):ut.objectFlags|=Wi?0:524288)}}return ut}return l}function Rti(l){return!(l.parent.kind===183&&l.parent.typeArguments&&l===l.parent.typeName||l.parent.kind===205&&l.parent.typeArguments&&l===l.parent.qualifier)}function Ste(l,m){if(l.symbol&&l.symbol.declarations&&l.symbol.declarations.length===1){const C=l.symbol.declarations[0].parent;for(let A=m;A!==C;A=A.parent)if(!A||A.kind===241||A.kind===194&&uo(A.extendsType,D))return!0;return D(m)}return!0;function D(C){switch(C.kind){case 197:return!!l.isThisType;case 80:return!l.isThisType&&U_(C)&&Rti(C)&&L1t(C)===l;case 186:const A=C.exprName,w=dm(A);if(!w2(w)){const I=$p(w),U=l.symbol.declarations[0],Z=U.kind===168?U.parent:l.isThisType?U:void 0;if(I.declarations&&Z)return Ge(I.declarations,ce=>k2(ce,Z))||Ge(C.typeArguments,D)}return!0;case 174:case 173:return!C.type&&!!C.body||Ge(C.typeParameters,D)||Ge(C.parameters,D)||!!C.type&&D(C.type)}return!!uo(C,D)}}function Gge(l){const m=sp(l);if(m.flags&4194304){const D=b6(m.type);if(D.flags&262144)return D}}function M1t(l,m,D,C){const A=Gge(l);if(A){const w=_a(A,m);if(A!==w)return Rht(Fg(w),I=>{if(I.flags&61603843&&I!==_i&&!Lt(I)){if(!l.declaration.nameType){let U;if(F4(I)||I.flags&1&&_C(A,4)<0&&(U=uh(A))&&Xm(U,Nb))return jti(I,l,q9(A,I,m));if(H5(I))return Oti(I,l,A,m);if(Ds(I))return Vti(I,l,q9(A,I,m))}return wPe(l,q9(A,I,m))}return I},D,C)}return _a(sp(l),m)===_i?_i:wPe(l,m,D,C)}function BPe(l,m){return m&1?!0:m&2?!1:l}function Oti(l,m,D,C){const A=l.target.elementFlags,w=Kt(yC(l),(U,Z)=>{const ce=A[Z]&8?U:A[Z]&4?j1(U):Ag([U],[A[Z]]);return ce===D?m:M1t(m,q9(D,ce,C))}),I=BPe(l.target.readonly,v_(m));return Ag(w,Kt(w,U=>8),I)}function jti(l,m,D){const C=z1t(m,Qt,!0,D);return Lt(C)?jt:j1(C,BPe(Az(l),v_(m)))}function Vti(l,m,D){const C=l.target.elementFlags,A=Kt(yC(l),(Z,ce)=>z1t(m,cf(""+ce),!!(C[ce]&2),D)),w=v_(m),I=w&4?Kt(C,Z=>Z&1?2:Z):w&8?Kt(C,Z=>Z&2?1:Z):C,U=BPe(l.target.readonly,w);return Ft(A,jt)?jt:Ag(A,I,U,l.target.labeledElementDeclarations)}function z1t(l,m,D,C){const A=lW(C,yg(l),m),w=_a(_D(l.target||l),A),I=v_(l);return fe&&I&4&&!jl(w,49152)?A6(w,!0):fe&&I&8&&D?hp(w,524288):w}function wPe(l,m,D,C){const A=_4(l.objectFlags&-1572865|64,l.symbol);if(l.objectFlags&32){A.declaration=l.declaration;const w=yg(l),I=Wge(w);A.typeParameter=I,m=SC(Lb(w,I),m),I.mapper=m}return l.objectFlags&8388608&&(A.node=l.node),A.target=l,A.mapper=m,A.aliasSymbol=D||l.aliasSymbol,A.aliasTypeArguments=D?C:j5(l.aliasTypeArguments,m),A.objectFlags|=A.aliasTypeArguments?Bge(A.aliasTypeArguments):0,A}function TPe(l,m,D,C){const A=l.root;if(A.outerTypeParameters){const w=Kt(A.outerTypeParameters,Z=>y6(Z,m)),I=cp(w)+W9(D,C);let U=A.instantiations.get(I);if(!U){const Z=Af(A.outerTypeParameters,w),ce=A.checkType,Fe=A.isDistributive?y6(ce,Z):void 0;U=Fe&&ce!==Fe&&Fe.flags&1179648?Rht(Fg(Fe),Te=>CPe(A,q9(ce,Te,Z)),D,C):CPe(A,Z,D,C),A.instantiations.set(I,U)}return U}return l}function _a(l,m){return l&&m?I1t(l,m,void 0,void 0):l}function I1t(l,m,D,C){var A;if(!TC(l))return l;if(j===100||z>=5e6)return(A=Jn)==null||A.instant(Jn.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:l.id,instantiationDepth:j,instantiationCount:z}),pt(K,F.Type_instantiation_is_excessively_deep_and_possibly_infinite),jt;M++,z++,j++;const w=Hti(l,m,D,C);return j--,w}function Hti(l,m,D,C){const A=l.flags;if(A&262144)return y6(l,m);if(A&524288){const w=l.objectFlags;if(w&52){if(w&4&&!l.node){const I=l.resolvedTypeArguments,U=j5(I,m);return U!==I?dPe(l.target,U):l}return w&1024?Kti(l,m):Iti(l,m,D,C)}return l}if(A&3145728){const w=l.flags&1048576?l.origin:void 0,I=w&&w.flags&3145728?w.types:l.types,U=j5(I,m);if(U===I&&D===l.aliasSymbol)return l;const Z=D||l.aliasSymbol,ce=D?C:j5(l.aliasTypeArguments,m);return A&2097152||w&&w.flags&2097152?_s(U,Z,ce):tr(U,1,Z,ce)}if(A&4194304)return y_(_a(l.type,m));if(A&134217728)return _F(l.texts,j5(l.types,m));if(A&268435456)return G9(l.symbol,_a(l.type,m));if(A&8388608){const w=D||l.aliasSymbol,I=D?C:j5(l.aliasTypeArguments,m);return Uf(_a(l.objectType,m),_a(l.indexType,m),l.accessFlags,void 0,w,I)}if(A&16777216)return TPe(l,SC(l.mapper,m),D,C);if(A&33554432){const w=_a(l.baseType,m),I=_a(l.constraint,m);return w.flags&8650752&&yz(I)?iPe(w,I):I.flags&3||fs(DF(w),DF(I))?w:w.flags&8650752?iPe(w,I):_s([I,w])}return l}function Kti(l,m){const D=_a(l.mappedType,m);if(!(Ju(D)&32))return l;const C=_a(l.constraintType,m);if(!(C.flags&4194304))return l;const A=ght(_a(l.source,m),D,C);return A||l}function Jge(l){return l.flags&402915327?l:l.permissiveInstantiation||(l.permissiveInstantiation=_a(l,cd))}function DF(l){return l.flags&402915327?l:(l.restrictiveInstantiation||(l.restrictiveInstantiation=_a(l,wl),l.restrictiveInstantiation.restrictiveInstantiation=l.restrictiveInstantiation),l.restrictiveInstantiation)}function Wti(l,m){return b_(l.keyType,_a(l.type,m),l.isReadonly,l.declaration)}function y4(l){switch(H.assert(l.kind!==174||Np(l)),l.kind){case 218:case 219:case 174:case 262:return R1t(l);case 210:return Ge(l.properties,y4);case 209:return Ge(l.elements,y4);case 227:return y4(l.whenTrue)||y4(l.whenFalse);case 226:return(l.operatorToken.kind===57||l.operatorToken.kind===61)&&(y4(l.left)||y4(l.right));case 303:return y4(l.initializer);case 217:return y4(l.expression);case 292:return Ge(l.properties,y4)||rE(l.parent)&&Ge(l.parent.parent.children,y4);case 291:{const{initializer:m}=l;return!!m&&y4(m)}case 294:{const{expression:m}=l;return!!m&&y4(m)}}return!1}function R1t(l){return lZ(l)||Gti(l)}function Gti(l){return l.typeParameters||J4(l)||!l.body?!1:l.body.kind!==241?y4(l.body):!!v2(l.body,m=>!!m.expression&&y4(m.expression))}function $ge(l){return(M2(l)||Np(l))&&R1t(l)}function O1t(l){if(l.flags&524288){const m=kg(l);if(m.constructSignatures.length||m.callSignatures.length){const D=_4(16,l.symbol);return D.members=m.members,D.properties=m.properties,D.callSignatures=_t,D.constructSignatures=_t,D.indexInfos=_t,D}}else if(l.flags&2097152)return _s(Kt(l.types,O1t));return l}function vD(l,m){return CE(l,m,gm)}function cW(l,m){return CE(l,m,gm)?-1:0}function LPe(l,m){return CE(l,m,Gf)?-1:0}function Jti(l,m){return CE(l,m,d_)?-1:0}function k6(l,m){return CE(l,m,d_)}function j1t(l,m){return CE(l,m,m4)}function fs(l,m){return CE(l,m,Gf)}function BC(l,m){return l.flags&1048576?ye(l.types,D=>BC(D,m)):m.flags&1048576?Ge(m.types,D=>BC(l,D)):l.flags&2097152?Ge(l.types,D=>BC(D,m)):l.flags&58982400?BC(Hh(l)||on,m):bD(m)?!!(l.flags&67633152):m===Ve?!!(l.flags&67633152)&&!bD(l):m===si?!!(l.flags&524288)&&fMe(l):j9(l,Qw(m))||F4(m)&&!Az(m)&&BC(l,wo)}function Uge(l,m){return CE(l,m,jh)}function Bte(l,m){return Uge(l,m)||Uge(m,l)}function Fh(l,m,D,C,A,w){return k4(l,m,Gf,D,C,A,w)}function F6(l,m,D,C,A,w){return NPe(l,m,Gf,D,C,A,w,void 0)}function NPe(l,m,D,C,A,w,I,U){return CE(l,m,D)?!0:!C||!dW(A,l,m,D,w,I,U)?k4(l,m,D,C,w,I,U):!1}function V1t(l){return!!(l.flags&16777216||l.flags&2097152&&Ge(l.types,V1t))}function dW(l,m,D,C,A,w,I){if(!l||V1t(D))return!1;if(!k4(m,D,C,void 0)&&$ti(l,m,D,C,A,w,I))return!0;switch(l.kind){case 234:if(!fb(l))break;case 294:case 217:return dW(l.expression,m,D,C,A,w,I);case 226:switch(l.operatorToken.kind){case 64:case 28:return dW(l.right,m,D,C,A,w,I)}break;case 210:return tii(l,m,D,C,w,I);case 209:return Xti(l,m,D,C,w,I);case 292:return Qti(l,m,D,C,w,I);case 219:return Uti(l,m,D,C,w,I)}return!1}function $ti(l,m,D,C,A,w,I){const U=fo(m,0),Z=fo(m,1);for(const ce of[Z,U])if(Ge(ce,Fe=>{const Te=Zs(Fe);return!(Te.flags&131073)&&k4(Te,D,C,void 0)})){const Fe=I||{};Fh(m,D,l,A,w,Fe);const Te=Fe.errors[Fe.errors.length-1];return gs(Te,Su(l,ce===Z?F.Did_you_mean_to_use_new_with_this_expression:F.Did_you_mean_to_call_this_expression)),!0}return!1}function Uti(l,m,D,C,A,w){if(ho(l.body)||Ge(l.parameters,HU))return!1;const I=SF(m);if(!I)return!1;const U=fo(D,0);if(!S(U))return!1;const Z=l.body,ce=Zs(I),Fe=tr(Kt(U,Zs));if(!k4(ce,Fe,C,void 0)){const Te=Z&&dW(Z,ce,Fe,C,void 0,A,w);if(Te)return Te;const $e=w||{};if(k4(ce,Fe,C,Z,void 0,A,$e),$e.errors)return D.symbol&&S(D.symbol.declarations)&&gs($e.errors[$e.errors.length-1],Su(D.symbol.declarations[0],F.The_expected_type_comes_from_the_return_type_of_this_signature)),!(yd(l)&2)&&!he(ce,"then")&&k4(oie(ce),Fe,C,void 0)&&gs($e.errors[$e.errors.length-1],Su(l,F.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}function H1t(l,m,D){const C=C6(m,D);if(C)return C;if(m.flags&1048576){const A=Z1t(l,m);if(A)return C6(A,D)}}function K1t(l,m){Jte(l,m,!1);const D=Rz(l,1);return vW(),D}function wte(l,m,D,C,A,w){let I=!1;for(const U of l){const{errorNode:Z,innerExpression:ce,nameType:Fe,errorMessage:Te}=U;let $e=H1t(m,D,Fe);if(!$e||$e.flags&8388608)continue;let ut=C6(m,Fe);if(!ut)continue;const zt=Mge(Fe,void 0);if(!k4(ut,$e,C,void 0)){const fi=ce&&dW(ce,ut,$e,C,void 0,A,w);if(I=!0,!fi){const Wi=w||{},cn=ce?K1t(ce,ut):ut;if(je&&Zge(cn,$e)){const nu=Su(Z,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,gn(cn),gn($e));js.add(nu),Wi.errors=[nu]}else{const nu=!!(zt&&(Uo(D,zt)||Xt).flags&16777216),En=!!(zt&&(Uo(m,zt)||Xt).flags&16777216);$e=S6($e,nu),ut=S6(ut,nu&&En),k4(cn,$e,C,Z,Te,A,Wi)&&cn!==ut&&k4(ut,$e,C,Z,Te,A,Wi)}if(Wi.errors){const nu=Wi.errors[Wi.errors.length-1],En=q4(Fe)?Z4(Fe):void 0,Ri=En!==void 0?Uo(D,En):void 0;let Nn=!1;if(!Ri){const vn=tW(D,Fe);vn&&vn.declaration&&!zn(vn.declaration).hasNoDefaultLib&&(Nn=!0,gs(nu,Su(vn.declaration,F.The_expected_type_comes_from_this_index_signature)))}if(!Nn&&(Ri&&S(Ri.declarations)||D.symbol&&S(D.symbol.declarations))){const vn=Ri&&S(Ri.declarations)?Ri.declarations[0]:D.symbol.declarations[0];zn(vn).hasNoDefaultLib||gs(nu,Su(vn,F.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,En&&!(Fe.flags&8192)?Qr(En):gn(Fe),gn(D)))}}}}}return I}function qti(l,m,D,C,A,w){const I=zc(D,nEe),U=zc(D,Fe=>!nEe(Fe)),Z=U!==Wu?Tze(13,0,U,void 0):void 0;let ce=!1;for(let Fe=l.next();!Fe.done;Fe=l.next()){const{errorNode:Te,innerExpression:$e,nameType:ut,errorMessage:zt}=Fe.value;let fi=Z;const Wi=I!==Wu?H1t(m,I,ut):void 0;if(Wi&&!(Wi.flags&8388608)&&(fi=Z?tr([Z,Wi]):Wi),!fi)continue;let cn=C6(m,ut);if(!cn)continue;const nu=Mge(ut,void 0);if(!k4(cn,fi,C,void 0)){const En=$e&&dW($e,cn,fi,C,void 0,A,w);if(ce=!0,!En){const Ri=w||{},Nn=$e?K1t($e,cn):cn;if(je&&Zge(Nn,fi)){const vn=Su(Te,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,gn(Nn),gn(fi));js.add(vn),Ri.errors=[vn]}else{const vn=!!(nu&&(Uo(I,nu)||Xt).flags&16777216),An=!!(nu&&(Uo(m,nu)||Xt).flags&16777216);fi=S6(fi,vn),cn=S6(cn,vn&&An),k4(Nn,fi,C,Te,zt,A,Ri)&&Nn!==cn&&k4(cn,fi,C,Te,zt,A,Ri)}}}}return ce}function*Zti(l){if(S(l.properties))for(const m of l.properties)j7(m)||NMe(aV(m.name))||(yield{errorNode:m.name,innerExpression:m.initializer,nameType:cf(aV(m.name))})}function*Yti(l,m){if(!S(l.children))return;let D=0;for(let C=0;C1;let Wi,cn;if(oPe(!1)!==Va){const En=t1t(me);Wi=zc(ut,Ri=>fs(Ri,En)),cn=zc(ut,Ri=>!fs(Ri,En))}else Wi=zc(ut,nEe),cn=zc(ut,En=>!nEe(En));if(fi){if(Wi!==Wu){const En=Ag(SEe(ce,0)),Ri=Yti(ce,Z);I=qti(Ri,En,Wi,C,A,w)||I}else if(!CE(Uf(m,$e),ut,C)){I=!0;const En=pt(ce.openingElement.tagName,F.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Te,gn(ut));w&&w.skipLogging&&(w.errors||(w.errors=[])).push(En)}}else if(cn!==Wu){const En=zt[0],Ri=W1t(En,$e,Z);Ri&&(I=wte(function*(){yield Ri}(),m,D,C,A,w)||I)}else if(!CE(Uf(m,$e),ut,C)){I=!0;const En=pt(ce.openingElement.tagName,F.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Te,gn(ut));w&&w.skipLogging&&(w.errors||(w.errors=[])).push(En)}}return I;function Z(){if(!U){const ce=Hc(l.parent.tagName),Fe=Ute(FF(l)),Te=Fe===void 0?"children":Qr(Fe),$e=Uf(D,cf(Te)),ut=F._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;U={...ut,key:"!!ALREADY FORMATTED!!",message:_le(ut,ce,Te,gn($e))}}return U}}function*G1t(l,m){const D=S(l.elements);if(D)for(let C=0;CZ:AE(l)>Z))return C&&!(D&8)&&A(F.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1,AE(l),Z),0;l.typeParameters&&l.typeParameters!==m.typeParameters&&(m=nei(m),l=Vft(l,m,void 0,I));const Fe=vm(l),Te=FW(l),$e=FW(m);(Te||$e)&&_a(Te||$e,U);const ut=m.declaration?m.declaration.kind:0,zt=!(D&3)&&xe&&ut!==174&&ut!==173&&ut!==176;let fi=-1;const Wi=bC(l);if(Wi&&Wi!==da){const En=bC(m);if(En){const Ri=!zt&&I(Wi,En,!1)||I(En,Wi,C);if(!Ri)return C&&A(F.The_this_types_of_each_signature_are_incompatible),0;fi&=Ri}}const cn=Te||$e?Math.min(Fe,Z):Math.max(Fe,Z),nu=Te||$e?cn-1:-1;for(let En=0;En=AE(l)&&En=3&&m[0].flags&32768&&m[1].flags&65536&&Ge(m,bD)?67108864:0)}return!!(l.objectFlags&67108864)}return!1}function kz(l){return!!((l.flags&1048576?l.types[0]:l).flags&32768)}function $1t(l){return l.flags&524288&&!Qm(l)&&n0(l).length===0&&yh(l).length===1&&!!y3(l,ct)||l.flags&3145728&&ye(l.types,$1t)||!1}function zPe(l,m,D){const C=l.flags&8?lf(l):l,A=m.flags&8?lf(m):m;if(C===A)return!0;if(C.escapedName!==A.escapedName||!(C.flags&256)||!(A.flags&256))return!1;const w=Zo(C)+","+Zo(A),I=tC.get(w);if(I!==void 0&&!(!(I&4)&&I&2&&D))return!!(I&1);const U=Gn(A);for(const Z of n0(Gn(C)))if(Z.flags&8){const ce=Uo(U,Z.escapedName);if(!ce||!(ce.flags&8))return D?(D(F.Property_0_is_missing_in_type_1,sc(Z),gn(Z0(A),void 0,64)),tC.set(w,6)):tC.set(w,2),!1}return tC.set(w,1),!0}function hW(l,m,D,C){const A=l.flags,w=m.flags;return w&1||A&131072||l===_i||w&2&&!(D===m4&&A&1)?!0:w&131072?!1:!!(A&402653316&&w&4||A&128&&A&1024&&w&128&&!(w&1024)&&l.value===m.value||A&296&&w&8||A&256&&A&1024&&w&256&&!(w&1024)&&l.value===m.value||A&2112&&w&64||A&528&&w&16||A&12288&&w&4096||A&32&&w&32&&l.symbol.escapedName===m.symbol.escapedName&&zPe(l.symbol,m.symbol,C)||A&1024&&w&1024&&(A&1048576&&w&1048576&&zPe(l.symbol,m.symbol,C)||A&2944&&w&2944&&l.value===m.value&&zPe(l.symbol,m.symbol,C))||A&32768&&(!fe&&!(w&3145728)||w&49152)||A&65536&&(!fe&&!(w&3145728)||w&65536)||A&524288&&w&67108864&&!(D===m4&&bD(l)&&!(Ju(l)&8192))||(D===Gf||D===jh)&&(A&1||A&8&&(w&32||w&256&&w&1024)||A&256&&!(A&1024)&&(w&32||w&256&&w&1024&&l.value===m.value)||rii(m)))}function CE(l,m,D){if(Tb(l)&&(l=l.regularType),Tb(m)&&(m=m.regularType),l===m)return!0;if(D!==gm){if(D===jh&&!(m.flags&131072)&&hW(m,l,D)||hW(l,m,D))return!0}else if(!((l.flags|m.flags)&61865984)){if(l.flags!==m.flags)return!1;if(l.flags&67358815)return!0}if(l.flags&524288&&m.flags&524288){const C=D.get(Xge(l,m,0,D,!1));if(C!==void 0)return!!(C&1)}return l.flags&469499904||m.flags&469499904?k4(l,m,D,void 0):!1}function U1t(l,m){return Ju(l)&2048&&NMe(m.escapedName)}function Tte(l,m){for(;;){const D=Tb(l)?l.regularType:H5(l)?oii(l,m):Ju(l)&4?l.node?I5(l.target,I0(l)):WPe(l)||l:l.flags&3145728?aii(l,m):l.flags&33554432?m?l.baseType:nPe(l):l.flags&25165824?xD(l,m):l;if(D===l)return D;l=D}}function aii(l,m){const D=Fg(l);if(D!==l)return D;if(l.flags&2097152&&Ge(l.types,bD)){const C=Pu(l.types,A=>Tte(A,m));if(C!==l.types)return _s(C)}return l}function oii(l,m){const D=yC(l),C=Pu(D,A=>A.flags&25165824?xD(A,m):A);return D!==C?hPe(l.target,C):l}function k4(l,m,D,C,A,w,I){var U;let Z,ce,Fe,Te,$e,ut,zt=0,fi=0,Wi=0,cn=0,nu=!1,En=0,Ri=0,Nn,vn,An=16e6-D.size>>3;H.assert(D!==gm||!C,"no error reporting in identity checking");const _n=Un(l,m,3,!!C,A);if(vn&&lo(),nu){const kt=Xge(l,m,0,D,!1);D.set(kt,6),(U=Jn)==null||U.instant(Jn.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:l.id,targetId:m.id,depth:fi,targetDepth:Wi});const $t=An<=0?F.Excessive_complexity_comparing_types_0_and_1:F.Excessive_stack_depth_comparing_types_0_and_1,zi=pt(C||K,$t,gn(l),gn(m));I&&(I.errors||(I.errors=[])).push(zi)}else if(Z){if(w){const zi=w();zi&&(eke(zi,Z),Z=zi)}let kt;if(A&&C&&!_n&&l.symbol){const zi=Ur(l.symbol);if(zi.originatingImport&&!cm(zi.originatingImport)&&k4(Gn(zi.target),m,D,void 0)){const Du=Su(zi.originatingImport,F.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead);kt=Ei(kt,Du)}}const $t=Z3(zn(C),C,Z,kt);ce&&gs($t,...ce),I&&(I.errors||(I.errors=[])).push($t),(!I||!I.skipLogging)&&js.add($t)}return C&&I&&I.skipLogging&&_n===0&&H.assert(!!I.errors,"missed opportunity to interact with error."),_n!==0;function hu(kt){Z=kt.errorInfo,Nn=kt.lastSkippedInfo,vn=kt.incompatibleStack,En=kt.overrideNextErrorInfo,Ri=kt.skipParentCounter,ce=kt.relatedInfo}function ro(){return{errorInfo:Z,lastSkippedInfo:Nn,incompatibleStack:vn==null?void 0:vn.slice(),overrideNextErrorInfo:En,skipParentCounter:Ri,relatedInfo:ce==null?void 0:ce.slice()}}function mo(kt,...$t){En++,Nn=void 0,(vn||(vn=[])).push([kt,...$t])}function lo(){const kt=vn||[];vn=void 0;const $t=Nn;if(Nn=void 0,kt.length===1){ka(...kt[0]),$t&&dn(void 0,...$t);return}let zi="";const Bn=[];for(;kt.length;){const[Du,...nn]=kt.pop();switch(Du.code){case F.Types_of_property_0_are_incompatible.code:{zi.indexOf("new ")===0&&(zi=`(${zi})`);const lu=""+nn[0];zi.length===0?zi=`${lu}`:Tm(lu,Rs(ae))?zi=`${zi}.${lu}`:lu[0]==="["&&lu[lu.length-1]==="]"?zi=`${zi}${lu}`:zi=`${zi}[${lu}]`;break}case F.Call_signature_return_types_0_and_1_are_incompatible.code:case F.Construct_signature_return_types_0_and_1_are_incompatible.code:case F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:{if(zi.length===0){let lu=Du;Du.code===F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?lu=F.Call_signature_return_types_0_and_1_are_incompatible:Du.code===F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(lu=F.Construct_signature_return_types_0_and_1_are_incompatible),Bn.unshift([lu,nn[0],nn[1]])}else{const lu=Du.code===F.Construct_signature_return_types_0_and_1_are_incompatible.code||Du.code===F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"",xr=Du.code===F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||Du.code===F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...";zi=`${lu}${zi}(${xr})`}break}case F.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:{Bn.unshift([F.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,nn[0],nn[1]]);break}case F.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:{Bn.unshift([F.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,nn[0],nn[1],nn[2]]);break}default:return H.fail(`Unhandled Diagnostic: ${Du.code}`)}}zi?ka(zi[zi.length-1]===")"?F.The_types_returned_by_0_are_incompatible_between_these_types:F.The_types_of_0_are_incompatible_between_these_types,zi):Bn.shift();for(const[Du,...nn]of Bn){const lu=Du.elidedInCompatabilityPyramid;Du.elidedInCompatabilityPyramid=!1,ka(Du,...nn),Du.elidedInCompatabilityPyramid=lu}$t&&dn(void 0,...$t)}function ka(kt,...$t){H.assert(!!C),vn&&lo(),!kt.elidedInCompatabilityPyramid&&(Ri===0?Z=no(Z,kt,...$t):Ri--)}function rh(kt,...$t){ka(kt,...$t),Ri++}function e4(kt){H.assert(!!Z),ce?ce.push(kt):ce=[kt]}function dn(kt,$t,zi){vn&&lo();const[Bn,Du]=d6($t,zi);let nn=$t,lu=Bn;if(fW($t)&&!IPe(zi)&&(nn=yD($t),H.assert(!fs(nn,zi),"generalized source shouldn't be assignable"),lu=N5(nn)),(zi.flags&8388608&&!($t.flags&8388608)?zi.objectType.flags:zi.flags)&262144&&zi!==$&&zi!==tt){const Tr=Hh(zi);let qa;Tr&&(fs(nn,Tr)||(qa=fs($t,Tr)))?ka(F._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,qa?Bn:lu,Du,gn(Tr)):(Z=void 0,ka(F._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,Du,lu))}if(kt)kt===F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&je&&q1t($t,zi).length&&(kt=F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties);else if(D===jh)kt=F.Type_0_is_not_comparable_to_type_1;else if(Bn===Du)kt=F.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(je&&q1t($t,zi).length)kt=F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;else{if($t.flags&128&&zi.flags&1048576){const Tr=fri($t,zi);if(Tr){ka(F.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,lu,Du,gn(Tr));return}}kt=F.Type_0_is_not_assignable_to_type_1}ka(kt,lu,Du)}function Wn(kt,$t){const zi=oF(kt.symbol)?gn(kt,kt.symbol.valueDeclaration):gn(kt),Bn=oF($t.symbol)?gn($t,$t.symbol.valueDeclaration):gn($t);(ic===kt&&ct===$t||hc===kt&&Qt===$t||Cl===kt&&Er===$t||Zdt()===kt&&er===$t)&&ka(F._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,Bn,zi)}function Zr(kt,$t,zi){return Ds(kt)?kt.target.readonly&&Mte($t)?(zi&&ka(F.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,gn(kt),gn($t)),!1):Nb($t):Az(kt)&&Mte($t)?(zi&&ka(F.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,gn(kt),gn($t)),!1):Ds($t)?F4(kt):!0}function Co(kt,$t,zi){return Un(kt,$t,3,zi)}function Un(kt,$t,zi=3,Bn=!1,Du,nn=0){if(kt===$t)return-1;if(kt.flags&524288&&$t.flags&402784252)return D===jh&&!($t.flags&131072)&&hW($t,kt,D)||hW(kt,$t,D,Bn?ka:void 0)?-1:(Bn&&Ss(kt,$t,kt,$t,Du),0);const lu=Tte(kt,!1);let xr=Tte($t,!0);if(lu===xr)return-1;if(D===gm)return lu.flags!==xr.flags?0:lu.flags&67358815?-1:(w0(lu,xr),pr(lu,xr,!1,0,zi));if(lu.flags&262144&&pF(lu)===xr)return-1;if(lu.flags&470302716&&xr.flags&1048576){const Tr=xr.types,qa=Tr.length===2&&Tr[0].flags&98304?Tr[1]:Tr.length===3&&Tr[0].flags&98304&&Tr[1].flags&98304?Tr[2]:void 0;if(qa&&!(qa.flags&98304)&&(xr=Tte(qa,!0),lu===xr))return-1}if(D===jh&&!(xr.flags&131072)&&hW(xr,lu,D)||hW(lu,xr,D,Bn?ka:void 0))return-1;if(lu.flags&469499904||xr.flags&469499904){if(!(nn&2)&&LC(lu)&&Ju(lu)&8192&&Ys(lu,xr,Bn))return Bn&&dn(Du,lu,$t.aliasSymbol?$t:xr),0;const qa=(D!==jh||Bg(lu))&&!(nn&2)&&lu.flags&405405692&&lu!==Ve&&xr.flags&2621440&&Y1t(xr)&&(n0(lu).length>0||a_e(lu)),Ro=!!(Ju(lu)&2048);if(qa&&!lii(lu,xr,Ro)){if(Bn){const co=gn(kt.aliasSymbol?kt:lu),es=gn($t.aliasSymbol?$t:xr),T0=fo(lu,0),Ws=fo(lu,1);T0.length>0&&Un(Zs(T0[0]),xr,1,!1)||Ws.length>0&&Un(Zs(Ws[0]),xr,1,!1)?ka(F.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,co,es):ka(F.Type_0_has_no_properties_in_common_with_type_1,co,es)}return 0}w0(lu,xr);const vr=lu.flags&1048576&&lu.types.length<4&&!(xr.flags&1048576)||xr.flags&1048576&&xr.types.length<4&&!(lu.flags&469499904)?yc(lu,xr,Bn,nn):pr(lu,xr,Bn,nn,zi);if(vr)return vr}return Bn&&Ss(kt,$t,lu,xr,Du),0}function Ss(kt,$t,zi,Bn,Du){var nn,lu;const xr=!!WPe(kt),Tr=!!WPe($t);zi=kt.aliasSymbol||xr?kt:zi,Bn=$t.aliasSymbol||Tr?$t:Bn;let qa=En>0;if(qa&&En--,zi.flags&524288&&Bn.flags&524288){const Ro=Z;Zr(zi,Bn,!0),Z!==Ro&&(qa=!!Z)}if(zi.flags&524288&&Bn.flags&402784252)Wn(zi,Bn);else if(zi.symbol&&zi.flags&524288&&Ve===zi)ka(F.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(Ju(zi)&2048&&Bn.flags&2097152){const Ro=Bn.types,Wo=Rb(Im.IntrinsicAttributes,C),vr=Rb(Im.IntrinsicClassAttributes,C);if(!Lt(Wo)&&!Lt(vr)&&(Ft(Ro,Wo)||Ft(Ro,vr)))return}else Z=GNe(Z,$t);if(!Du&&qa){Nn=[zi,Bn];return}if(dn(Du,zi,Bn),zi.flags&262144&&((lu=(nn=zi.symbol)==null?void 0:nn.declarations)!=null&&lu[0])&&!pF(zi)){const Ro=Wge(zi);if(Ro.constraint=_a(Bn,Lb(zi,Ro)),eW(Ro)){const Wo=gn(Bn,zi.symbol.declarations[0]);e4(Su(zi.symbol.declarations[0],F.This_type_parameter_might_need_an_extends_0_constraint,Wo))}}}function w0(kt,$t){if(Jn&&kt.flags&3145728&&$t.flags&3145728){const zi=kt,Bn=$t;if(zi.objectFlags&Bn.objectFlags&32768)return;const Du=zi.types.length,nn=Bn.types.length;Du*nn>1e6&&Jn.instant(Jn.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:kt.id,sourceSize:Du,targetId:$t.id,targetSize:nn,pos:C==null?void 0:C.pos,end:C==null?void 0:C.end})}}function rd(kt,$t){return tr(tn(kt,(Bn,Du)=>{var nn;Du=Kh(Du);const lu=Du.flags&3145728?KNe(Du,$t):vC(Du,$t),xr=lu&&Gn(lu)||((nn=K9(Du,$t))==null?void 0:nn.type)||te;return Ei(Bn,xr)},void 0)||_t)}function Ys(kt,$t,zi){var Bn;if(!Zte($t)||!Ae&&Ju($t)&4096)return!1;const Du=!!(Ju(kt)&2048);if((D===Gf||D===jh)&&(Lz(Ve,$t)||!Du&&CD($t)))return!1;let nn=$t,lu;$t.flags&1048576&&(nn=lpt(kt,$t,Un)||mci($t),lu=nn.flags&1048576?nn.types:[nn]);for(const xr of n0(kt))if(wd(xr,kt.symbol)&&!U1t(kt,xr)){if(!zMe(nn,xr.escapedName,Du)){if(zi){const Tr=zc(nn,Zte);if(!C)return H.fail();if(V2(C)||Ph(C)||Ph(C.parent)){xr.valueDeclaration&&aE(xr.valueDeclaration)&&zn(C)===zn(xr.valueDeclaration.name)&&(C=xr.valueDeclaration.name);const qa=Sr(xr),Ro=Pft(qa,Tr),Wo=Ro?Sr(Ro):void 0;Wo?ka(F.Property_0_does_not_exist_on_type_1_Did_you_mean_2,qa,gn(Tr),Wo):ka(F.Property_0_does_not_exist_on_type_1,qa,gn(Tr))}else{const qa=((Bn=kt.symbol)==null?void 0:Bn.declarations)&&Ki(kt.symbol.declarations);let Ro;if(xr.valueDeclaration&&Tn(xr.valueDeclaration,Wo=>Wo===qa)&&zn(qa)===zn(C)){const Wo=xr.valueDeclaration;H.assertNode(Wo,q3);const vr=Wo.name;C=vr,at(vr)&&(Ro=GMe(vr,Tr))}Ro!==void 0?rh(F.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,Sr(xr),gn(Tr),Ro):rh(F.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,Sr(xr),gn(Tr))}}return!0}if(lu&&!Un(Gn(xr),rd(lu,xr.escapedName),3,zi))return zi&&mo(F.Types_of_property_0_are_incompatible,Sr(xr)),!0}return!1}function wd(kt,$t){return kt.valueDeclaration&&$t.valueDeclaration&&kt.valueDeclaration.parent===$t.valueDeclaration}function yc(kt,$t,zi,Bn){if(kt.flags&1048576){if($t.flags&1048576){const Du=kt.origin;if(Du&&Du.flags&2097152&&$t.aliasSymbol&&Ft(Du.types,$t))return-1;const nn=$t.origin;if(nn&&nn.flags&1048576&&kt.aliasSymbol&&Ft(nn.types,kt))return-1}return D===jh?ze(kt,$t,zi&&!(kt.flags&402784252),Bn):Fu(kt,$t,zi&&!(kt.flags&402784252),Bn)}if($t.flags&1048576)return Cm(gW(kt),$t,zi&&!(kt.flags&402784252)&&!($t.flags&402784252));if($t.flags&2097152)return At(kt,$t,zi,2);if(D===jh&&$t.flags&402784252){const Du=Pu(kt.types,nn=>nn.flags&465829888?Hh(nn)||on:nn);if(Du!==kt.types){if(kt=_s(Du),kt.flags&131072)return 0;if(!(kt.flags&2097152))return Un(kt,$t,1,!1)||Un($t,kt,1,!1)}}return ze(kt,$t,!1,1)}function Y0(kt,$t){let zi=-1;const Bn=kt.types;for(const Du of Bn){const nn=Cm(Du,$t,!1);if(!nn)return 0;zi&=nn}return zi}function Cm(kt,$t,zi){const Bn=$t.types;if($t.flags&1048576){if(v6(Bn,kt))return-1;if(D!==jh&&Ju($t)&32768&&!(kt.flags&1024)&&(kt.flags&2688||(D===d_||D===m4)&&kt.flags&256)){const nn=kt===kt.regularType?kt.freshType:kt.regularType,lu=kt.flags&128?ct:kt.flags&256?Qt:kt.flags&2048?Ti:void 0;return lu&&v6(Bn,lu)||nn&&v6(Bn,nn)?-1:0}const Du=Fht($t,kt);if(Du){const nn=Un(kt,Du,2,!1);if(nn)return nn}}for(const Du of Bn){const nn=Un(kt,Du,2,!1);if(nn)return nn}if(zi){const Du=Z1t(kt,$t,Un);Du&&Un(kt,Du,2,!0)}return 0}function At(kt,$t,zi,Bn){let Du=-1;const nn=$t.types;for(const lu of nn){const xr=Un(kt,lu,2,zi,void 0,Bn);if(!xr)return 0;Du&=xr}return Du}function ze(kt,$t,zi,Bn){const Du=kt.types;if(kt.flags&1048576&&v6(Du,$t))return-1;const nn=Du.length;for(let lu=0;lu=lu.types.length&&nn.length%lu.types.length===0){const Ro=Un(Tr,lu.types[xr%lu.types.length],3,!1,void 0,Bn);if(Ro){Du&=Ro;continue}}const qa=Un(Tr,$t,1,zi,void 0,Bn);if(!qa)return 0;Du&=qa}return Du}function Dr(kt=_t,$t=_t,zi=_t,Bn,Du){if(kt.length!==$t.length&&D===gm)return 0;const nn=kt.length<=$t.length?kt.length:$t.length;let lu=-1;for(let xr=0;xr(co|=Ws?16:8,vr(Ws)));let es;return cn===3?((nn=Jn)==null||nn.instant(Jn.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:kt.id,sourceIdStack:$e.map(Ws=>Ws.id),targetId:$t.id,targetIdStack:ut.map(Ws=>Ws.id),depth:fi,targetDepth:Wi}),es=3):((lu=Jn)==null||lu.push(Jn.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:kt.id,targetId:$t.id}),es=zr(kt,$t,zi,Bn),(xr=Jn)==null||xr.pop()),Ho&&(Ho=vr),Du&1&&fi--,Du&2&&Wi--,cn=Wo,es?(es===-1||fi===0&&Wi===0)&&T0(es===-1||es===3):(D.set(Tr,(zi?4:0)|2|co),An--,T0(!1)),es;function T0(Ws){for(let jd=Ro;jdxr!==kt)&&(nn=Un(lu,$t,1,!1,void 0,Bn))}nn&&!(Bn&2)&&$t.flags&2097152&&!Bb($t)&&kt.flags&2621440?(nn&=mn(kt,$t,zi,void 0,!1,0),nn&&LC(kt)&&Ju(kt)&8192&&(nn&=bl(kt,$t,!1,zi,0))):nn&&Ige($t)&&!Nb($t)&&kt.flags&2097152&&Kh(kt).flags&3670016&&!Ge(kt.types,lu=>lu===$t||!!(Ju(lu)&262144))&&(nn&=mn(kt,$t,zi,void 0,!0,Bn))}return nn&&hu(Du),nn}function Ru(kt,$t,zi,Bn,Du){let nn,lu,xr=!1,Tr=kt.flags;const qa=$t.flags;if(D===gm){if(Tr&3145728){let vr=Y0(kt,$t);return vr&&(vr&=Y0($t,kt)),vr}if(Tr&4194304)return Un(kt.type,$t.type,3,!1);if(Tr&8388608&&(nn=Un(kt.objectType,$t.objectType,3,!1))&&(nn&=Un(kt.indexType,$t.indexType,3,!1))||Tr&16777216&&kt.root.isDistributive===$t.root.isDistributive&&(nn=Un(kt.checkType,$t.checkType,3,!1))&&(nn&=Un(kt.extendsType,$t.extendsType,3,!1))&&(nn&=Un(FC(kt),FC($t),3,!1))&&(nn&=Un(AC(kt),AC($t),3,!1))||Tr&33554432&&(nn=Un(kt.baseType,$t.baseType,3,!1))&&(nn&=Un(kt.constraint,$t.constraint,3,!1)))return nn;if(!(Tr&524288))return 0}else if(Tr&3145728||qa&3145728){if(nn=yc(kt,$t,zi,Bn))return nn;if(!(Tr&465829888||Tr&524288&&qa&1048576||Tr&2097152&&qa&467402752))return 0}if(Tr&17301504&&kt.aliasSymbol&&kt.aliasTypeArguments&&kt.aliasSymbol===$t.aliasSymbol&&!(Yge(kt)||Yge($t))){const vr=Q1t(kt.aliasSymbol);if(vr===_t)return 1;const co=Ur(kt.aliasSymbol).typeParameters,es=C_(co),T0=D6(kt.aliasTypeArguments,co,es,Xn(kt.aliasSymbol.valueDeclaration)),Ws=D6($t.aliasTypeArguments,co,es,Xn(kt.aliasSymbol.valueDeclaration)),jd=Wo(T0,Ws,vr,Bn);if(jd!==void 0)return jd}if(oht(kt)&&!kt.target.readonly&&(nn=Un(I0(kt)[0],$t,1))||oht($t)&&($t.target.readonly||Mte(Hh(kt)||kt))&&(nn=Un(kt,I0($t)[0],2)))return nn;if(qa&262144){if(Ju(kt)&32&&!kt.declaration.nameType&&Un(y_($t),sp(kt),3)&&!(v_(kt)&4)){const vr=_D(kt),co=Uf($t,yg(kt));if(nn=Un(vr,co,3,zi))return nn}if(D===jh&&Tr&262144){let vr=uh(kt);if(vr&&eW(kt))for(;vr&&bE(vr,co=>!!(co.flags&262144));){if(nn=Un(vr,$t,1,!1))return nn;vr=uh(vr)}return 0}}else if(qa&4194304){const vr=$t.type;if(Tr&4194304&&(nn=Un(vr,kt.type,3,!1)))return nn;if(Ds(vr)){if(nn=Un(kt,r1t(vr),2,zi))return nn}else{const co=RNe(vr);if(co){if(Un(kt,y_(co,$t.indexFlags|4),2,zi)===-1)return-1}else if(Qm(vr)){const es=z5(vr),T0=sp(vr);let Ws;if(es&&XK(vr)){const jd=Kh(V9(vr)),SE=[];zNe(jd,8576,!1,BE=>void SE.push(_a(es,lW(vr.mapper,yg(vr),BE)))),Ws=tr([...SE,es])}else Ws=es||T0;if(Un(kt,Ws,2,zi)===-1)return-1}}}else if(qa&8388608){if(Tr&8388608){if((nn=Un(kt.objectType,$t.objectType,3,zi))&&(nn&=Un(kt.indexType,$t.indexType,3,zi)),nn)return nn;zi&&(lu=Z)}if(D===Gf||D===jh){const vr=$t.objectType,co=$t.indexType,es=Hh(vr)||vr,T0=Hh(co)||co;if(!Bb(es)&&!kC(T0)){const Ws=4|(es!==vr?2:0),jd=C6(es,T0,Ws);if(jd){if(zi&&lu&&hu(Du),nn=Un(kt,jd,2,zi,void 0,Bn))return nn;zi&&lu&&Z&&(Z=Ro([lu])<=Ro([Z])?lu:Z)}}}zi&&(lu=void 0)}else if(Qm($t)&&D!==gm){const vr=!!$t.declaration.nameType,co=_D($t),es=v_($t);if(!(es&8)){if(!vr&&co.flags&8388608&&co.objectType===kt&&co.indexType===yg($t))return-1;if(!Qm(kt)){const T0=vr?z5($t):sp($t),Ws=y_(kt,2),jd=es&4,SE=jd?gte(T0,Ws):void 0;if(jd?!(SE.flags&131072):Un(T0,Ws,3)){const BE=_D($t),Kb=yg($t),_T=Nz(BE,-98305);if(!vr&&_T.flags&8388608&&_T.indexType===Kb){if(nn=Un(kt,_T.objectType,2,zi))return nn}else{const tS=vr?SE||T0:SE?_s([SE,Kb]):Kb,SD=Uf(kt,tS);if(nn=Un(SD,BE,3,zi))return nn}}lu=Z,hu(Du)}}}else if(qa&16777216){if(Fz($t,ut,Wi,10))return 3;const vr=$t;if(!vr.root.inferTypeParameters&&!Cti(vr.root)&&!(kt.flags&16777216&&kt.root===vr.root)){const co=!fs(Jge(vr.checkType),Jge(vr.extendsType)),es=!co&&fs(DF(vr.checkType),DF(vr.extendsType));if((nn=co?-1:Un(kt,FC(vr),2,!1,void 0,Bn))&&(nn&=es?-1:Un(kt,AC(vr),2,!1,void 0,Bn),nn))return nn}}else if(qa&134217728){if(Tr&134217728){if(D===jh)return qii(kt,$t)?0:-1;_a(kt,td)}if(mEe(kt,$t))return-1}else if($t.flags&268435456&&!(kt.flags&268435456)&&rMe(kt,$t))return-1;if(Tr&8650752){if(!(Tr&8388608&&qa&8388608)){const vr=pF(kt)||on;if(nn=Un(vr,$t,1,!1,void 0,Bn))return nn;if(nn=Un(Dm(vr,kt),$t,1,zi&&vr!==on&&!(qa&Tr&262144),void 0,Bn))return nn;if(HNe(kt)){const co=pF(kt.indexType);if(co&&(nn=Un(Uf(kt.objectType,co),$t,1,zi)))return nn}}}else if(Tr&4194304){if(nn=Un(xc,$t,1,zi))return nn}else if(Tr&134217728&&!(qa&524288)){if(!(qa&134217728)){const vr=Hh(kt);if(vr&&vr!==kt&&(nn=Un(vr,$t,1,zi)))return nn}}else if(Tr&268435456)if(qa&268435456){if(kt.symbol!==$t.symbol)return 0;if(nn=Un(kt.type,$t.type,3,zi))return nn}else{const vr=Hh(kt);if(vr&&(nn=Un(vr,$t,1,zi)))return nn}else if(Tr&16777216){if(Fz(kt,$e,fi,10))return 3;if(qa&16777216){const co=kt.root.inferTypeParameters;let es=kt.extendsType,T0;if(co){const Ws=EW(co,void 0,0,Co);FD(Ws.inferences,$t.extendsType,es,1536),es=_a(es,Ws.mapper),T0=Ws.mapper}if(vD(es,$t.extendsType)&&(Un(kt.checkType,$t.checkType,3)||Un($t.checkType,kt.checkType,3))&&((nn=Un(_a(FC(kt),T0),FC($t),3,zi))&&(nn&=Un(AC(kt),AC($t),3,zi)),nn))return nn}else{const co=eW(kt)?Ddt(kt):void 0;if(co&&(nn=Un(co,$t,1,zi)))return nn}const vr=ONe(kt);if(vr&&(nn=Un(vr,$t,1,zi)))return nn}else{if(D!==d_&&D!==m4&&NXt($t)&&CD(kt))return-1;if(Qm($t))return Qm(kt)&&(nn=xu(kt,$t,zi))?nn:0;const vr=!!(Tr&402784252);if(D!==gm)kt=Kh(kt),Tr=kt.flags;else if(Qm(kt))return 0;if(Ju(kt)&4&&Ju($t)&4&&kt.target===$t.target&&!Ds(kt)&&!(Yge(kt)||Yge($t))){if(iEe(kt))return-1;const co=OPe(kt.target);if(co===_t)return 1;const es=Wo(I0(kt),I0($t),co,Bn);if(es!==void 0)return es}else{if(Az($t)?Xm(kt,Nb):F4($t)&&Xm(kt,co=>Ds(co)&&!co.target.readonly))return D!==gm?Un(CC(kt,Qt)||me,CC($t,Qt)||me,3,zi):0;if(H5(kt)&&Ds($t)&&!H5($t)){const co=DD(kt);if(co!==kt)return Un(co,$t,1,zi)}else if((D===d_||D===m4)&&CD($t)&&Ju($t)&8192&&!CD(kt))return 0}if(Tr&2621440&&qa&524288){const co=zi&&Z===Du.errorInfo&&!vr;if(nn=mn(kt,$t,co,void 0,!1,Bn),nn&&(nn&=ku(kt,$t,0,co,Bn),nn&&(nn&=ku(kt,$t,1,co,Bn),nn&&(nn&=bl(kt,$t,vr,co,Bn)))),xr&&nn)Z=lu||Z||Du.errorInfo;else if(nn)return nn}if(Tr&2621440&&qa&1048576){const co=Nz($t,36175872);if(co.flags&1048576){const es=Tt(kt,co);if(es)return es}}}return 0;function Ro(vr){return vr?tn(vr,(co,es)=>co+1+Ro(es.next),0):0}function Wo(vr,co,es,T0){if(nn=Dr(vr,co,es,zi,T0))return nn;if(Ge(es,jd=>!!(jd&24))){lu=void 0,hu(Du);return}const Ws=co&&cii(co,es);if(xr=!Ws,es!==_t&&!Ws){if(xr&&!(zi&&Ge(es,jd=>(jd&7)===0)))return 0;lu=Z,hu(Du)}}}function xu(kt,$t,zi){if(D===jh||(D===gm?v_(kt)===v_($t):INe(kt)<=INe($t))){let Du;const nn=sp($t),lu=_a(sp(kt),INe(kt)<0?U0:td);if(Du=Un(nn,lu,3,zi)){const xr=Af([yg(kt)],[yg($t)]);if(_a(z5(kt),xr)===_a(z5($t),xr))return Du&Un(_a(_D(kt),xr),_D($t),3,zi)}}return 0}function Tt(kt,$t){var zi;const Bn=n0(kt),Du=kht(Bn,$t);if(!Du)return 0;let nn=1;for(const Wo of Du)if(nn*=bni(g6(Wo)),nn>25)return(zi=Jn)==null||zi.instant(Jn.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:kt.id,targetId:$t.id,numCombinations:nn}),0;const lu=new Array(Du.length),xr=new Set;for(let Wo=0;WoWo[es],!1,0,fe||D===jh))continue e}xa(qa,co,vx),vr=!0}if(!vr)return 0}let Ro=-1;for(const Wo of qa)if(Ro&=mn(kt,Wo,!1,xr,!1,0),Ro&&(Ro&=ku(kt,Wo,0,!1,0),Ro&&(Ro&=ku(kt,Wo,1,!1,0),Ro&&!(Ds(kt)&&Ds(Wo))&&(Ro&=bl(kt,Wo,!1,!1,0)))),!Ro)return Ro;return Ro}function oi(kt,$t){if(!$t||kt.length===0)return kt;let zi;for(let Bn=0;Bn5?ka(F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,gn(kt),gn($t),Kt(nn.slice(0,4),lu=>Sr(lu)).join(", "),nn.length-4):ka(F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,gn(kt),gn($t),Kt(nn,lu=>Sr(lu)).join(", ")),Du&&Z&&En++)}function mn(kt,$t,zi,Bn,Du,nn){if(D===gm)return Gr(kt,$t,Bn);let lu=-1;if(Ds($t)){if(Nb(kt)){if(!$t.target.readonly&&(Az(kt)||Ds(kt)&&kt.target.readonly))return 0;const Wo=R5(kt),vr=R5($t),co=Ds(kt)?kt.target.combinedFlags&4:4,es=$t.target.combinedFlags&4,T0=Ds(kt)?kt.target.minLength:0,Ws=$t.target.minLength;if(!co&&Wo=BE?vr-1-Math.min(yie,Kb):SD,ri=$t.target.elementFlags[qf];if(ri&8&&!(PC&8))return zi&&ka(F.Source_provides_no_match_for_variadic_element_at_position_0_in_target,qf),0;if(PC&8&&!(ri&12))return zi&&ka(F.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,SD,qf),0;if(ri&1&&!(PC&1))return zi&&ka(F.Source_provides_no_match_for_required_element_at_position_0_in_target,qf),0;if(tS&&((PC&12||ri&12)&&(tS=!1),tS&&(Bn!=null&&Bn.has(""+SD))))continue;const Bu=S6(jd[SD],!!(PC&ri&2)),hr=SE[qf],ur=PC&8&&ri&4?j1(hr):S6(hr,!!(ri&2)),fr=Un(Bu,ur,3,zi,void 0,nn);if(!fr)return zi&&(vr>1||Wo>1)&&(_T&&SD>=BE&&yie>=Kb&&BE!==Wo-Kb-1?mo(F.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,BE,Wo-Kb-1,qf):mo(F.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,SD,qf)),0;lu&=fr}return lu}if($t.target.combinedFlags&12)return 0}const xr=(D===d_||D===m4)&&!LC(kt)&&!iEe(kt)&&!Ds(kt),Tr=nMe(kt,$t,xr,!1);if(Tr)return zi&&po(kt,$t)&&Ji(kt,$t,Tr,xr),0;if(LC($t)){for(const Wo of oi(n0(kt),Bn))if(!vC($t,Wo.escapedName)&&!(Gn(Wo).flags&32768))return zi&&ka(F.Property_0_does_not_exist_on_type_1,Sr(Wo),gn($t)),0}const qa=n0($t),Ro=Ds(kt)&&Ds($t);for(const Wo of oi(qa,Bn)){const vr=Wo.escapedName;if(!(Wo.flags&4194304)&&(!Ro||t3(vr)||vr==="length")&&(!Du||Wo.flags&16777216)){const co=Uo(kt,vr);if(co&&co!==Wo){const es=Ci(kt,$t,co,Wo,g6,zi,nn,D===jh);if(!es)return 0;lu&=es}}}return lu}function Gr(kt,$t,zi){if(!(kt.flags&524288&&$t.flags&524288))return 0;const Bn=oi(_6(kt),zi),Du=oi(_6($t),zi);if(Bn.length!==Du.length)return 0;let nn=-1;for(const lu of Bn){const xr=vC($t,lu.escapedName);if(!xr)return 0;const Tr=VPe(lu,xr,Un);if(!Tr)return 0;nn&=Tr}return nn}function ku(kt,$t,zi,Bn,Du){var nn,lu;if(D===gm)return wa(kt,$t,zi);if($t===Oi||kt===Oi)return-1;const xr=kt.symbol&&FE(kt.symbol.valueDeclaration),Tr=$t.symbol&&FE($t.symbol.valueDeclaration),qa=fo(kt,xr&&zi===1?0:zi),Ro=fo($t,Tr&&zi===1?0:zi);if(zi===1&&qa.length&&Ro.length){const T0=!!(qa[0].flags&4),Ws=!!(Ro[0].flags&4);if(T0&&!Ws)return Bn&&ka(F.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!yl(qa[0],Ro[0],Bn))return 0}let Wo=-1;const vr=zi===1?sr:pn,co=Ju(kt),es=Ju($t);if(co&64&&es&64&&kt.symbol===$t.symbol||co&4&&es&4&&kt.target===$t.target)for(let T0=0;T0xE(BE,void 0,262144,zi);return ka(F.Type_0_is_not_assignable_to_type_1,SE(Ws),SE(jd)),ka(F.Types_of_construct_signatures_are_incompatible),Wo}}else e:for(const T0 of Ro){const Ws=ro();let jd=Bn;for(const SE of qa){const BE=qr(SE,T0,!0,jd,Du,vr(SE,T0));if(BE){Wo&=BE,hu(Ws);continue e}jd=!1}return jd&&ka(F.Type_0_provides_no_match_for_the_signature_1,gn(kt),xE(T0,void 0,void 0,zi)),0}return Wo}function po(kt,$t){const zi=Dte(kt,0),Bn=Dte(kt,1),Du=_6(kt);return(zi.length||Bn.length)&&!Du.length?!!(fo($t,0).length&&zi.length||fo($t,1).length&&Bn.length):!0}function pn(kt,$t){return kt.parameters.length===0&&$t.parameters.length===0?(zi,Bn)=>mo(F.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,gn(zi),gn(Bn)):(zi,Bn)=>mo(F.Call_signature_return_types_0_and_1_are_incompatible,gn(zi),gn(Bn))}function sr(kt,$t){return kt.parameters.length===0&&$t.parameters.length===0?(zi,Bn)=>mo(F.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,gn(zi),gn(Bn)):(zi,Bn)=>mo(F.Construct_signature_return_types_0_and_1_are_incompatible,gn(zi),gn(Bn))}function qr(kt,$t,zi,Bn,Du,nn){const lu=D===d_?16:D===m4?24:0;return PPe(zi?uW(kt):kt,zi?uW($t):$t,lu,Bn,ka,nn,xr,td);function xr(Tr,qa,Ro){return Un(Tr,qa,3,Ro,void 0,Du)}}function wa(kt,$t,zi){const Bn=fo(kt,zi),Du=fo($t,zi);if(Bn.length!==Du.length)return 0;let nn=-1;for(let lu=0;luTr.keyType===ct);let xr=-1;for(const Tr of nn){const qa=D!==m4&&!zi&&lu&&Tr.type.flags&1?-1:Qm(kt)&&lu?Un(_D(kt),Tr.type,3,Bn):fl(kt,Tr,Bn,Du);if(!qa)return 0;xr&=qa}return xr}function fl(kt,$t,zi,Bn){const Du=tW(kt,$t.keyType);return Du?fd(Du,$t,zi,Bn):!(Bn&1)&&(D!==m4||Ju(kt)&8192)&&lEe(kt)?cs(kt,$t,zi,Bn):(zi&&ka(F.Index_signature_for_type_0_is_missing_in_type_1,gn($t.keyType),gn(kt)),0)}function V1(kt,$t){const zi=yh(kt),Bn=yh($t);if(zi.length!==Bn.length)return 0;for(const Du of Bn){const nn=y3(kt,Du.keyType);if(!(nn&&Un(nn.type,Du.type,3)&&nn.isReadonly===Du.isReadonly))return 0}return-1}function yl(kt,$t,zi){if(!kt.declaration||!$t.declaration)return!0;const Bn=p7(kt.declaration,6),Du=p7($t.declaration,6);return Du===2||Du===4&&Bn!==2||Du!==4&&!Bn?!0:(zi&&ka(F.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,v3(Bn),v3(Du)),!1)}}function IPe(l){if(l.flags&16)return!1;if(l.flags&3145728)return!!L(l.types,IPe);if(l.flags&465829888){const m=pF(l);if(m&&m!==l)return IPe(m)}return Bg(l)||!!(l.flags&134217728)||!!(l.flags&268435456)}function q1t(l,m){return Ds(l)&&Ds(m)?_t:n0(m).filter(D=>Zge(he(l,D.escapedName),Gn(D)))}function Zge(l,m){return!!l&&!!m&&jl(l,32768)&&!!pW(m)}function sii(l){return n0(l).filter(m=>pW(Gn(m)))}function Z1t(l,m,D=LPe){return lpt(l,m,D)||cci(l,m)||dci(l,m)||hci(l,m)||fci(l,m)}function RPe(l,m,D){const C=l.types,A=C.map(I=>I.flags&402784252?0:-1);for(const[I,U]of m){let Z=!1;for(let ce=0;ceA[U]),0):l;return w.flags&131072?l:w}function Y1t(l){if(l.flags&524288){const m=kg(l);return m.callSignatures.length===0&&m.constructSignatures.length===0&&m.indexInfos.length===0&&m.properties.length>0&&ye(m.properties,D=>!!(D.flags&16777216))}return l.flags&2097152?ye(l.types,Y1t):!1}function lii(l,m,D){for(const C of n0(l))if(zMe(m,C.escapedName,D))return!0;return!1}function OPe(l){return l===ko||l===wo||l.objectFlags&8?ge:X1t(l.symbol,l.typeParameters)}function Q1t(l){return X1t(l,Ur(l).typeParameters)}function X1t(l,m=_t){var D,C;const A=Ur(l);if(!A.variances){(D=Jn)==null||D.push(Jn.Phase.CheckTypes,"getVariancesWorker",{arity:m.length,id:kh(Z0(l))});const w=Wk;Wk||(Wk=!0,ab=lD.length),A.variances=_t;const I=[];for(const U of m){const Z=jPe(U);let ce=Z&16384?Z&8192?0:1:Z&8192?2:void 0;if(ce===void 0){let Fe=!1,Te=!1;const $e=Ho;Ho=fi=>fi?Te=!0:Fe=!0;const ut=Lte(l,U,of),zt=Lte(l,U,q0);ce=(fs(zt,ut)?1:0)|(fs(ut,zt)?2:0),ce===3&&fs(Lte(l,U,vc),ut)&&(ce=4),Ho=$e,(Fe||Te)&&(Fe&&(ce|=8),Te&&(ce|=16))}I.push(ce)}w||(Wk=!1,ab=0),A.variances=I,(C=Jn)==null||C.pop({variances:I.map(H.formatVariance)})}return A.variances}function Lte(l,m,D){const C=Lb(m,D),A=Z0(l);if(Lt(A))return A;const w=l.flags&524288?uT(l,j5(Ur(l).typeParameters,C)):I5(A,j5(A.typeParameters,C));return qt.add(kh(w)),w}function Yge(l){return qt.has(kh(l))}function jPe(l){var m;return tn((m=l.symbol)==null?void 0:m.declarations,(D,C)=>D|gh(C),0)&28672}function cii(l,m){for(let D=0;D!!(m.flags&262144)||Qge(m))}function fii(l,m,D,C){const A=[];let w="";const I=Z(l,0),U=Z(m,0);return`${w}${I},${U}${D}`;function Z(ce,Fe=0){let Te=""+ce.target.id;for(const $e of I0(ce)){if($e.flags&262144){if(C||dii($e)){let ut=A.indexOf($e);ut<0&&(ut=A.length,A.push($e)),Te+="="+ut;continue}w="*"}else if(Fe<4&&Qge($e)){Te+="<"+Z($e,Fe+1)+">";continue}Te+="-"+$e.id}return Te}}function Xge(l,m,D,C,A){if(C===gm&&l.id>m.id){const I=l;l=m,m=I}const w=D?":"+D:"";return Qge(l)&&Qge(m)?fii(l,m,w,A):`${l.id},${m.id}${w}`}function Nte(l,m){if(Wl(l)&6){for(const D of l.links.containingType.types){const C=Uo(D,l.escapedName),A=C&&Nte(C,m);if(A)return A}return}return m(l)}function Z9(l){return l.parent&&l.parent.flags&32?Z0(lf(l)):void 0}function eEe(l){const m=Z9(l),D=m&&Zc(m)[0];return D&&he(D,l.escapedName)}function mii(l,m){return Nte(l,D=>{const C=Z9(D);return C?j9(C,m):!1})}function pii(l,m){return!Nte(m,D=>s4(D)&4?!mii(l,Z9(D)):!1)}function eht(l,m,D){return Nte(m,C=>s4(C,D)&4?!j9(l,Z9(C)):!1)?void 0:l}function Fz(l,m,D,C=3){if(D>=C){if((Ju(l)&96)===96&&(l=tht(l)),l.flags&2097152)return Ge(l.types,U=>Fz(U,m,D,C));const A=tEe(l);let w=0,I=0;for(let U=0;U=I&&(w++,w>=C))return!0;I=Z.id}}}return!1}function tht(l){let m;for(;(Ju(l)&96)===96&&(m=V9(l))&&(m.symbol||m.flags&2097152&&Ge(m.types,D=>!!D.symbol));)l=m;return l}function iht(l,m){return(Ju(l)&96)===96&&(l=tht(l)),l.flags&2097152?Ge(l.types,D=>iht(D,m)):tEe(l)===m}function tEe(l){if(l.flags&524288&&!aMe(l)){if(Ju(l)&4&&l.node)return l.node;if(l.symbol&&!(Ju(l)&16&&l.symbol.flags&32))return l.symbol;if(Ds(l))return l.target}if(l.flags&262144)return l.symbol;if(l.flags&8388608){do l=l.objectType;while(l.flags&8388608);return l}return l.flags&16777216?l.root:l}function gii(l,m){return VPe(l,m,cW)!==0}function VPe(l,m,D){if(l===m)return-1;const C=s4(l)&6,A=s4(m)&6;if(C!==A)return 0;if(C){if(gT(l)!==gT(m))return 0}else if((l.flags&16777216)!==(m.flags&16777216))return 0;return Tg(l)!==Tg(m)?0:D(Gn(l),Gn(m))}function Eii(l,m,D){const C=vm(l),A=vm(m),w=AE(l),I=AE(m),U=k_(l),Z=k_(m);return!!(C===A&&w===I&&U===Z||D&&w<=I)}function Pte(l,m,D,C,A,w){if(l===m)return-1;if(!Eii(l,m,D)||S(l.typeParameters)!==S(m.typeParameters))return 0;if(m.typeParameters){const Z=Af(l.typeParameters,m.typeParameters);for(let ce=0;cem|(D.flags&1048576?nht(D.types):D.flags),0)}function xii(l){if(l.length===1)return l[0];const m=fe?Pu(l,C=>zc(C,A=>!(A.flags&98304))):l,D=Dii(m)?tr(m):tn(m,(C,A)=>k6(C,A)?A:C);return m===l?D:rEe(D,nht(l)&98304)}function vii(l){return tn(l,(m,D)=>k6(D,m)?D:m)}function F4(l){return!!(Ju(l)&4)&&(l.target===ko||l.target===wo)}function Az(l){return!!(Ju(l)&4)&&l.target===wo}function Nb(l){return F4(l)||Ds(l)}function Mte(l){return F4(l)&&!Az(l)||Ds(l)&&!l.target.readonly}function HPe(l){return F4(l)?I0(l)[0]:void 0}function V5(l){return F4(l)||!(l.flags&98304)&&fs(l,ep)}function KPe(l){return Mte(l)||!(l.flags&98305)&&fs(l,Ul)}function WPe(l){if(!(Ju(l)&4)||!(Ju(l.target)&3))return;if(Ju(l)&33554432)return Ju(l)&67108864?l.cachedEquivalentBaseType:void 0;l.objectFlags|=33554432;const m=l.target;if(Ju(m)&1){const A=Kr(m);if(A&&A.expression.kind!==80&&A.expression.kind!==211)return}const D=Zc(m);if(D.length!==1||E6(l.symbol).size)return;let C=S(m.typeParameters)?_a(D[0],Af(m.typeParameters,I0(l).slice(0,m.typeParameters.length))):D[0];return S(I0(l))>S(m.typeParameters)&&(C=Dm(C,Cr(I0(l)))),l.objectFlags|=67108864,l.cachedEquivalentBaseType=C}function uht(l){return fe?l===wn:l===we}function iEe(l){const m=HPe(l);return!!m&&uht(m)}function Sz(l){let m;return Ds(l)||!!Uo(l,"0")||V5(l)&&!!(m=he(l,"length"))&&Xm(m,D=>!!(D.flags&256))}function nEe(l){return V5(l)||Sz(l)}function Cii(l,m){const D=he(l,""+m);if(D)return D;if(Xm(l,Ds))return sht(l,m,ae.noUncheckedIndexedAccess?te:void 0)}function bii(l){return!(l.flags&240544)}function Bg(l){return!!(l.flags&109472)}function rht(l){const m=DD(l);return m.flags&2097152?Ge(m.types,Bg):Bg(m)}function yii(l){return l.flags&2097152&&Le(l.types,Bg)||l}function fW(l){return l.flags&16?!0:l.flags&1048576?l.flags&1024?!0:ye(l.types,Bg):Bg(l)}function yD(l){return l.flags&1056?Cge(l):l.flags&402653312?ct:l.flags&256?Qt:l.flags&2048?Ti:l.flags&512?Er:l.flags&1048576?kii(l):l}function kii(l){const m=`B${kh(l)}`;return qk(m)??cb(m,hl(l,yD))}function GPe(l){return l.flags&402653312?ct:l.flags&288?Qt:l.flags&2048?Ti:l.flags&512?Er:l.flags&1048576?hl(l,GPe):l}function Pb(l){return l.flags&1056&&Tb(l)?Cge(l):l.flags&128&&Tb(l)?ct:l.flags&256&&Tb(l)?Qt:l.flags&2048&&Tb(l)?Ti:l.flags&512&&Tb(l)?Er:l.flags&1048576?hl(l,Pb):l}function aht(l){return l.flags&8192?er:l.flags&1048576?hl(l,aht):l}function JPe(l,m){return WEe(l,m)||(l=aht(Pb(l))),Wh(l)}function Fii(l,m,D){if(l&&Bg(l)){const C=m?D?TW(m):m:void 0;l=JPe(l,C)}return l}function $Pe(l,m,D,C){if(l&&Bg(l)){const A=m?Ob(D,m,C):void 0;l=JPe(l,A)}return l}function Ds(l){return!!(Ju(l)&4&&l.target.objectFlags&8)}function H5(l){return Ds(l)&&!!(l.target.combinedFlags&8)}function oht(l){return H5(l)&&l.target.elementFlags.length===1}function uEe(l){return Bz(l,l.target.fixedLength)}function sht(l,m,D){return hl(l,C=>{const A=C,w=uEe(A);return w?D&&m>=fPe(A.target)?tr([w,D]):w:te})}function Aii(l){const m=uEe(l);return m&&j1(m)}function Bz(l,m,D=0,C=!1,A=!1){const w=R5(l)-D;if(m(D&12)===(m.target.elementFlags[C]&12))}function lht({value:l}){return l.base10Value==="0"}function cht(l){return zc(l,m=>dp(m,4194304))}function Bii(l){return hl(l,wii)}function wii(l){return l.flags&4?Wf:l.flags&8?Qv:l.flags&64?e6:l===Sn||l===Ui||l.flags&114691||l.flags&128&&l.value===""||l.flags&256&&l.value===0||l.flags&2048&&lht(l)?l:Wu}function rEe(l,m){const D=m&~l.flags&98304;return D===0?l:tr(D===32768?[l,te]:D===65536?[l,it]:[l,te,it])}function A6(l,m=!1){H.assert(fe);const D=m?Oe:te;return l===D||l.flags&1048576&&l.types[0]===D?l:tr([l,D])}function Tii(l){return Gm||(Gm=vz("NonNullable",524288,void 0)||Xt),Gm!==Xt?uT(Gm,[l]):_s([l,Ko])}function kD(l){return fe?bF(l,2097152):l}function dht(l){return fe?tr([l,X]):l}function aEe(l){return fe?EEe(l,X):l}function oEe(l,m,D){return D?IN(m)?A6(l):dht(l):l}function mW(l,m){return TU(m)?kD(l):Z1(m)?aEe(l):l}function S6(l,m){return je&&m?EEe(l,de):l}function pW(l){return l===de||!!(l.flags&1048576)&&l.types[0]===de}function sEe(l){return je?EEe(l,de):hp(l,524288)}function Lii(l,m){return(l.flags&524)!==0&&(m.flags&28)!==0}function lEe(l){const m=Ju(l);return l.flags&2097152?ye(l.types,lEe):!!(l.symbol&&l.symbol.flags&7040&&!(l.symbol.flags&32)&&!a_e(l))||!!(m&4194304)||!!(m&1024&&lEe(l.source))}function xF(l,m){const D=Vs(l.flags,l.escapedName,Wl(l)&8);D.declarations=l.declarations,D.parent=l.parent,D.links.type=m,D.links.target=l,l.valueDeclaration&&(D.valueDeclaration=l.valueDeclaration);const C=Ur(l).nameType;return C&&(D.links.nameType=C),D}function Nii(l,m){const D=Vo();for(const C of _6(l)){const A=Gn(C),w=m(A);D.set(C.escapedName,w===A?C:xF(C,w))}return D}function gW(l){if(!(LC(l)&&Ju(l)&8192))return l;const m=l.regularType;if(m)return m;const D=l,C=Nii(l,gW),A=Ol(D.symbol,C,D.callSignatures,D.constructSignatures,D.indexInfos);return A.flags=D.flags,A.objectFlags|=D.objectFlags&-8193,l.regularType=A,A}function hht(l,m,D){return{parent:l,propertyName:m,siblings:D,resolvedProperties:void 0}}function fht(l){if(!l.siblings){const m=[];for(const D of fht(l.parent))if(LC(D)){const C=vC(D,l.propertyName);C&&yF(Gn(C),A=>{m.push(A)})}l.siblings=m}return l.siblings}function Pii(l){if(!l.resolvedProperties){const m=new Map;for(const D of fht(l))if(LC(D)&&!(Ju(D)&2097152))for(const C of n0(D))m.set(C.escapedName,C);l.resolvedProperties=ga(m.values())}return l.resolvedProperties}function Mii(l,m){if(!(l.flags&4))return l;const D=Gn(l),C=m&&hht(m,l.escapedName,void 0),A=UPe(D,C);return A===D?l:xF(l,A)}function zii(l){const m=Mt.get(l.escapedName);if(m)return m;const D=xF(l,Oe);return D.flags|=16777216,Mt.set(l.escapedName,D),D}function Iii(l,m){const D=Vo();for(const A of _6(l))D.set(A.escapedName,Mii(A,m));if(m)for(const A of Pii(m))D.has(A.escapedName)||D.set(A.escapedName,zii(A));const C=Ol(l.symbol,D,_t,_t,Pu(yh(l),A=>b_(A.keyType,xm(A.type),A.isReadonly)));return C.objectFlags|=Ju(l)&266240,C}function xm(l){return UPe(l,void 0)}function UPe(l,m){if(Ju(l)&196608){if(m===void 0&&l.widened)return l.widened;let D;if(l.flags&98305)D=me;else if(LC(l))D=Iii(l,m);else if(l.flags&1048576){const C=m||hht(void 0,void 0,l.types),A=Pu(l.types,w=>w.flags&98304?w:UPe(w,C));D=tr(A,Ge(A,CD)?2:1)}else l.flags&2097152?D=_s(Pu(l.types,xm)):Nb(l)&&(D=I5(l.target,Pu(I0(l),xm)));return D&&m===void 0&&(l.widened=D),D||l}return l}function cEe(l){let m=!1;if(Ju(l)&65536){if(l.flags&1048576)if(Ge(l.types,CD))m=!0;else for(const D of l.types)cEe(D)&&(m=!0);if(Nb(l))for(const D of I0(l))cEe(D)&&(m=!0);if(LC(l))for(const D of _6(l)){const C=Gn(D);Ju(C)&65536&&(cEe(C)||pt(D.valueDeclaration,F.Object_literal_s_property_0_implicitly_has_an_1_type,Sr(D),gn(xm(C))),m=!0)}}return m}function wC(l,m,D){const C=gn(xm(m));if(Xn(l)&&!iV(zn(l),ae))return;let A;switch(l.kind){case 226:case 172:case 171:A=Ae?F.Member_0_implicitly_has_an_1_type:F.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 169:const w=l;if(at(w.name)){const I=Ev(w.name);if((xB(w.parent)||i3(w.parent)||n3(w.parent))&&w.parent.parameters.includes(w)&&(nc(w,w.name.escapedText,788968,void 0,w.name.escapedText,!0)||I&&Ele(I))){const U="arg"+w.parent.parameters.indexOf(w),Z=C0(w.name)+(w.dotDotDotToken?"[]":"");p4(Ae,l,F.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,U,Z);return}}A=l.dotDotDotToken?Ae?F.Rest_parameter_0_implicitly_has_an_any_type:F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Ae?F.Parameter_0_implicitly_has_an_1_type:F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 208:if(A=F.Binding_element_0_implicitly_has_an_1_type,!Ae)return;break;case 324:pt(l,F.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,C);return;case 330:Ae&&TB(l.parent)&&pt(l.parent.tagName,F.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,C);return;case 262:case 174:case 173:case 177:case 178:case 218:case 219:if(Ae&&!l.name){D===3?pt(l,F.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,C):pt(l,F.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,C);return}A=Ae?D===3?F._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:F._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 200:Ae&&pt(l,F.Mapped_object_type_implicitly_has_an_any_template_type);return;default:A=Ae?F.Variable_0_implicitly_has_an_1_type:F.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}p4(Ae,l,A,C0($a(l)),C)}function dEe(l,m,D){s(()=>{Ae&&Ju(m)&65536&&(!D||!wMe(l))&&(cEe(m)||wC(l,m,D))})}function qPe(l,m,D){const C=vm(l),A=vm(m),w=kW(l),I=kW(m),U=I?A-1:A,Z=w?U:Math.min(C,U),ce=bC(l);if(ce){const Fe=bC(m);Fe&&D(ce,Fe)}for(let Fe=0;Fem.typeParameter),Kt(l.inferences,(m,D)=>()=>(m.isFixed||(Vii(l),hEe(l.inferences),m.isFixed=!0),oMe(l,D))))}function jii(l){return APe(Kt(l.inferences,m=>m.typeParameter),Kt(l.inferences,(m,D)=>()=>oMe(l,D)))}function hEe(l){for(const m of l)m.isFixed||(m.inferredType=void 0)}function QPe(l,m,D){(l.intraExpressionInferenceSites??(l.intraExpressionInferenceSites=[])).push({node:m,type:D})}function Vii(l){if(l.intraExpressionInferenceSites){for(const{node:m,type:D}of l.intraExpressionInferenceSites){const C=m.kind===174?rft(m,2):df(m,2);C&&FD(l.inferences,D,C)}l.intraExpressionInferenceSites=void 0}}function XPe(l){return{typeParameter:l,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function mht(l){return{typeParameter:l.typeParameter,candidates:l.candidates&&l.candidates.slice(),contraCandidates:l.contraCandidates&&l.contraCandidates.slice(),inferredType:l.inferredType,priority:l.priority,topLevel:l.topLevel,isFixed:l.isFixed,impliedArity:l.impliedArity}}function Hii(l){const m=ei(l.inferences,mT);return m.length?YPe(Kt(m,mht),l.signature,l.flags,l.compareTypes):void 0}function eMe(l){return l&&l.mapper}function TC(l){const m=Ju(l);if(m&524288)return!!(m&1048576);const D=!!(l.flags&465829888||l.flags&524288&&!pht(l)&&(m&4&&(l.node||Ge(I0(l),TC))||m&16&&l.symbol&&l.symbol.flags&14384&&l.symbol.declarations||m&12583968)||l.flags&3145728&&!(l.flags&1024)&&!pht(l)&&Ge(l.types,TC));return l.flags&3899393&&(l.objectFlags|=524288|(D?1048576:0)),D}function pht(l){if(l.aliasSymbol&&!l.aliasTypeArguments){const m=Sl(l.aliasSymbol,265);return!!(m&&Tn(m.parent,D=>D.kind===312?!0:D.kind===267?!1:"quit"))}return!1}function _W(l,m,D=0){return!!(l===m||l.flags&3145728&&Ge(l.types,C=>_W(C,m,D))||D<3&&l.flags&16777216&&(_W(FC(l),m,D+1)||_W(AC(l),m,D+1)))}function Kii(l,m){const D=b4(l);return D?!!D.type&&_W(D.type,m):_W(Zs(l),m)}function Wii(l){const m=Vo();yF(l,C=>{if(!(C.flags&128))return;const A=Al(C.value),w=Vs(4,A);w.links.type=me,C.symbol&&(w.declarations=C.symbol.declarations,w.valueDeclaration=C.symbol.valueDeclaration),m.set(A,w)});const D=l.flags&4?[b_(ct,Ko,!1)]:_t;return Ol(void 0,m,_t,_t,D)}function ght(l,m,D){const C=l.id+","+m.id+","+D.id;if(Sd.has(C))return Sd.get(C);const A=l.id+","+(m.target||m).id;if(Ft(Ih,A))return;Ih.push(A);const w=Gii(l,m,D);return Ih.pop(),Sd.set(C,w),w}function tMe(l){return!(Ju(l)&262144)||LC(l)&&Ge(n0(l),m=>tMe(Gn(m)))||Ds(l)&&Ge(yC(l),tMe)}function Gii(l,m,D){if(!(y3(l,ct)||n0(l).length!==0&&tMe(l)))return;if(F4(l))return j1(fEe(I0(l)[0],m,D),Az(l));if(Ds(l)){const A=Kt(yC(l),I=>fEe(I,m,D)),w=v_(m)&4?Pu(l.target.elementFlags,I=>I&2?1:I):l.target.elementFlags;return Ag(A,w,l.target.readonly,l.target.labeledElementDeclarations)}const C=_4(1040,void 0);return C.source=l,C.mappedType=m,C.constraintType=D,C}function Jii(l){const m=Ur(l);return m.type||(m.type=fEe(l.links.propertyType,l.links.mappedType,l.links.constraintType)),m.type}function fEe(l,m,D){const C=Uf(D.type,yg(m)),A=_D(m),w=XPe(C);return FD([w],l,A),Eht(w)||on}function*iMe(l,m,D,C){const A=n0(m);for(const w of A)if(!adt(w)&&(D||!(w.flags&16777216||Wl(w)&48))){const I=Uo(l,w.escapedName);if(!I)yield w;else if(C){const U=Gn(w);if(U.flags&109472){const Z=Gn(I);Z.flags&1||Wh(Z)===Wh(U)||(yield w)}}}}function nMe(l,m,D,C){return Kn(iMe(l,m,D,C))}function $ii(l,m){return!(m.target.combinedFlags&8)&&m.target.minLength>l.target.minLength||!m.target.hasRestElement&&(l.target.hasRestElement||m.target.fixedLengthG9(w,A),l)===l&&rMe(l,m)}return!1}function xht(l,m){if(l===m||m.flags&5)return!0;if(m.flags&2097152)return ye(m.types,D=>D===Tc||xht(l,D));if(l.flags&128){const D=l.value;return!!(m.flags&8&&Dht(D,!1)||m.flags&64&&sZ(D,!1)||m.flags&98816&&D===m.intrinsicName||m.flags&268435456&&rMe(cf(D),m)||m.flags&134217728&&mEe(l,m))}if(l.flags&134217728){const D=l.texts;return D.length===2&&D[0]===""&&D[1]===""&&fs(l.types[0],m)}return fs(l,m)}function vht(l,m){return l.flags&128?Cht([l.value],_t,m):l.flags&134217728?Zt(l.texts,m.texts)?Kt(l.types,Yii):Cht(l.texts,l.types,m):void 0}function mEe(l,m){const D=vht(l,m);return!!D&&ye(D,(C,A)=>xht(C,m.types[A]))}function Yii(l){return l.flags&402653317?l:_F(["",""],[l])}function Cht(l,m,D){const C=l.length-1,A=l[0],w=l[C],I=D.texts,U=I.length-1,Z=I[0],ce=I[U];if(C===0&&A.length0){let nu=$e,En=ut;for(;En=zt(nu).indexOf(cn,En),!(En>=0);){if(nu++,nu===l.length)return;En=0}fi(nu,En),ut+=cn.length}else if(ut!Ft(Co,Ss)):dn,Un?ei(Wn,Ss=>!Ft(Un,Ss)):Wn]}function nu(dn,Wn,Zr){const Co=dn.length!!Nn(Un));if(!Co||Wn&&Co!==Wn)return;Wn=Co}return Wn}function An(dn,Wn,Zr){let Co=0;if(Zr&1048576){let Un;const Ss=dn.flags&1048576?dn.types:[dn],w0=new Array(Ss.length);let rd=!1;for(const Ys of Wn)if(Nn(Ys))Un=Ys,Co++;else for(let wd=0;wdw0[yc]?void 0:wd);if(Ys.length){$e(tr(Ys),Un);return}}}else for(const Un of Wn)Nn(Un)?Co++:$e(dn,Un);if(Zr&2097152?Co===1:Co>0)for(const Un of Wn)Nn(Un)&&ut(dn,Un,1)}function _n(dn,Wn,Zr){if(Zr.flags&1048576){let Co=!1;for(const Un of Zr.types)Co=_n(dn,Wn,Un)||Co;return Co}if(Zr.flags&4194304){const Co=Nn(Zr.type);if(Co&&!Co.isFixed&&!_ht(dn)){const Un=ght(dn,Wn,Zr);Un&&ut(Un,Co.typeParameter,Ju(dn)&262144?16:8)}return!0}if(Zr.flags&262144){ut(y_(dn,dn.pattern?2:0),Zr,32);const Co=pF(Zr);if(Co&&_n(dn,Wn,Co))return!0;const Un=Kt(n0(dn),Gn),Ss=Kt(yh(dn),w0=>w0!==wu?w0.type:Wu);return $e(tr(an(Un,Ss)),_D(Wn)),!0}return!1}function hu(dn,Wn){if(dn.flags&16777216)$e(dn.checkType,Wn.checkType),$e(dn.extendsType,Wn.extendsType),$e(FC(dn),FC(Wn)),$e(AC(dn),AC(Wn));else{const Zr=[FC(Wn),AC(Wn)];fi(dn,Zr,Wn.flags,A?64:0)}}function ro(dn,Wn){const Zr=vht(dn,Wn),Co=Wn.types;if(Zr||ye(Wn.texts,Un=>Un.length===0))for(let Un=0;UnY0|Cm.flags,0);if(!(yc&4)){const Y0=Ss.value;yc&296&&!Dht(Y0,!0)&&(yc&=-297),yc&2112&&!sZ(Y0,!0)&&(yc&=-2113);const Cm=tn(wd,(At,ze)=>ze.flags&yc?At.flags&4?At:ze.flags&4?Ss:At.flags&134217728?At:ze.flags&134217728&&mEe(Ss,ze)?Ss:At.flags&268435456?At:ze.flags&268435456&&Y0===_1t(ze.symbol,Y0)?Ss:At.flags&128?At:ze.flags&128&&ze.value===Y0?ze:At.flags&8?At:ze.flags&8?Sg(+Y0):At.flags&32?At:ze.flags&32?Sg(+Y0):At.flags&256?At:ze.flags&256&&ze.value===+Y0?ze:At.flags&64?At:ze.flags&64?Zii(Y0):At.flags&2048?At:ze.flags&2048&&P2(ze.value)===Y0?ze:At.flags&16?At:ze.flags&16?Y0==="true"?du:Y0==="false"?Ui:Er:At.flags&512?At:ze.flags&512&&ze.intrinsicName===Y0?ze:At.flags&32768?At:ze.flags&32768&&ze.intrinsicName===Y0?ze:At.flags&65536?At:ze.flags&65536&&ze.intrinsicName===Y0?ze:At:At,Wu);if(!(Cm.flags&131072)){$e(Cm,w0);continue}}}}$e(Ss,w0)}}function mo(dn,Wn){var Zr,Co;if(Ju(dn)&4&&Ju(Wn)&4&&(dn.target===Wn.target||F4(dn)&&F4(Wn))){nu(I0(dn),I0(Wn),OPe(dn.target));return}if(Qm(dn)&&Qm(Wn)){$e(sp(dn),sp(Wn)),$e(_D(dn),_D(Wn));const Un=z5(dn),Ss=z5(Wn);Un&&Ss&&$e(Un,Ss)}if(Ju(Wn)&32&&!Wn.declaration.nameType){const Un=sp(Wn);if(_n(dn,Wn,Un))return}if(!Uii(dn,Wn)){if(Nb(dn)){if(Ds(Wn)){const Un=R5(dn),Ss=R5(Wn),w0=I0(Wn),rd=Wn.target.elementFlags;if(Ds(dn)&&Sii(dn,Wn)){for(let yc=0;yc0){const Ss=fo(Wn,Zr),w0=Ss.length;for(let rd=0;rd1){const m=ei(l,aMe);if(m.length){const D=tr(m,2);return an(ei(l,C=>!aMe(C)),[D])}}return l}function ini(l){return l.priority&416?_s(l.contraCandidates):vii(l.contraCandidates)}function nni(l,m){const D=tni(l.candidates),C=eni(l.typeParameter)||H9(l.typeParameter),A=!C&&l.topLevel&&(l.isFixed||!Kii(m,l.typeParameter)),w=C?Pu(D,Wh):A?Pu(D,Pb):D,I=l.priority&416?tr(w,2):xii(w);return xm(I)}function oMe(l,m){const D=l.inferences[m];if(!D.inferredType){let C,A;if(l.signature){const I=D.candidates?nni(D,l.signature):void 0,U=D.contraCandidates?ini(D):void 0;if(I||U){const Z=I&&(!U||!(I.flags&131072)&&Ge(D.contraCandidates,ce=>k6(I,ce))&&ye(l.inferences,ce=>ce!==D&&uh(ce.typeParameter)!==D.typeParameter||ye(ce.candidates,Fe=>k6(Fe,I))));C=Z?I:U,A=Z?U:I}else if(l.flags&1)C=Ra;else{const Z=gF(D.typeParameter);Z&&(C=_a(Z,Pti(Nti(l,m),l.nonFixingMapper)))}}else C=Eht(D);D.inferredType=C||sMe(!!(l.flags&2));const w=uh(D.typeParameter);if(w){const I=_a(w,l.nonFixingMapper);(!C||!l.compareTypes(C,Dm(I,C)))&&(D.inferredType=A&&l.compareTypes(A,Dm(I,A))?A:I)}}return D.inferredType}function sMe(l){return l?me:on}function lMe(l){const m=[];for(let D=0;DDh(m)||Ip(m)||hm(m)))}function pEe(l,m,D,C){switch(l.kind){case 80:if(!m7(l)){const I=$p(l);return I!==Xt?`${C?$s(C):"-1"}|${kh(m)}|${kh(D)}|${Zo(I)}`:void 0}case 110:return`0|${C?$s(C):"-1"}|${kh(m)}|${kh(D)}`;case 235:case 217:return pEe(l.expression,m,D,C);case 166:const A=pEe(l.left,m,D,C);return A&&A+"."+l.right.escapedText;case 211:case 212:const w=vF(l);if(w!==void 0){const I=pEe(l.expression,m,D,C);return I&&I+"."+w}break;case 206:case 207:case 262:case 218:case 219:case 174:return`${$s(l)}#${kh(m)}`}}function v1(l,m){switch(m.kind){case 217:case 235:return v1(l,m.expression);case 226:return od(m)&&v1(l,m.left)||eu(m)&&m.operatorToken.kind===28&&v1(l,m.right)}switch(l.kind){case 236:return m.kind===236&&l.keywordToken===m.keywordToken&&l.name.escapedText===m.name.escapedText;case 80:case 81:return m7(l)?m.kind===110:m.kind===80&&$p(l)===$p(m)||(ra(m)||Os(m))&&ap($p(l))===_u(m);case 110:return m.kind===110;case 108:return m.kind===108;case 235:case 217:return v1(l.expression,m);case 211:case 212:const D=vF(l),C=M0(m)?vF(m):void 0;return D!==void 0&&C!==void 0&&C===D&&v1(l.expression,m.expression);case 166:return M0(m)&&l.right.escapedText===vF(m)&&v1(l.left,m.expression);case 226:return eu(l)&&l.operatorToken.kind===28&&v1(l.right,m)}return!1}function vF(l){if(zu(l))return l.name.escapedText;if(G0(l))return uni(l);if(Os(l)){const m=E0(l);return m?Al(m):void 0}if(Qa(l))return""+l.parent.parameters.indexOf(l)}function dMe(l){return l.flags&8192?l.escapedName:l.flags&384?Al(""+l.value):void 0}function uni(l){return Nm(l.argumentExpression)?Al(l.argumentExpression.text):Xl(l.argumentExpression)?rni(l.argumentExpression):void 0}function rni(l){const m=z0(l,111551,!0);if(!m||!(Pz(m)||m.flags&8))return;const D=m.valueDeclaration;if(D===void 0)return;const C=dt(D);if(C){const A=dMe(C);if(A!==void 0)return A}if(Zy(D)&&S5(D,l)){const A=Ej(D);if(A)return dMe(C1(A));if(K2(D))return O8(D.name)}}function yht(l,m){for(;M0(l);)if(l=l.expression,v1(l,m))return!0;return!1}function CF(l,m){for(;Z1(l);)if(l=l.expression,v1(l,m))return!0;return!1}function wz(l,m){if(l&&l.flags&1048576){const D=ydt(l,m);if(D&&Wl(D)&2)return D.links.isDiscriminantProperty===void 0&&(D.links.isDiscriminantProperty=(D.links.checkFlags&192)===192&&!yz(Gn(D))),!!D.links.isDiscriminantProperty}return!1}function kht(l,m){let D;for(const C of l)if(wz(m,C.escapedName)){if(D){D.push(C);continue}D=[C]}return D}function ani(l,m){const D=new Map;let C=0;for(const A of l)if(A.flags&61603840){const w=he(A,m);if(w){if(!fW(w))return;let I=!1;yF(w,U=>{const Z=kh(Wh(U)),ce=D.get(Z);ce?ce!==on&&(D.set(Z,on),I=!0):D.set(Z,A)}),I||C++}}return C>=10&&C*2>=l.length?D:void 0}function zte(l){const m=l.types;if(!(m.length<10||Ju(l)&32768||ui(m,D=>!!(D.flags&59506688))<10)){if(l.keyPropertyName===void 0){const D=L(m,A=>A.flags&59506688?L(n0(A),w=>Bg(Gn(w))?w.escapedName:void 0):void 0),C=D&&ani(m,D);l.keyPropertyName=C?D:"",l.constituentMap=C}return l.keyPropertyName.length?l.keyPropertyName:void 0}}function Ite(l,m){var D;const C=(D=l.constituentMap)==null?void 0:D.get(kh(Wh(m)));return C!==on?C:void 0}function Fht(l,m){const D=zte(l),C=D&&he(m,D);return C&&Ite(l,C)}function oni(l,m){const D=zte(l),C=D&&Le(m.properties,w=>w.symbol&&w.kind===303&&w.symbol.escapedName===D&&Gte(w.initializer)),A=C&&hie(C.initializer);return A&&Ite(l,A)}function Aht(l,m){return v1(l,m)||yht(l,m)}function Sht(l,m){if(l.arguments){for(const D of l.arguments)if(Aht(m,D)||CF(D,m))return!0}return!!(l.expression.kind===211&&Aht(m,l.expression.expression))}function hMe(l){return(!l.id||l.id<0)&&(l.id=zAe,zAe++),l.id}function sni(l,m){if(!(l.flags&1048576))return fs(l,m);for(const D of l.types)if(fs(D,m))return!0;return!1}function lni(l,m){if(l===m)return l;if(m.flags&131072)return m;const D=`A${kh(l)},${kh(m)}`;return qk(D)??cb(D,cni(l,m))}function cni(l,m){const D=zc(l,A=>sni(m,A)),C=m.flags&512&&Tb(m)?hl(D,U9):D;return fs(m,C)?C:l}function fMe(l){const m=kg(l);return!!(m.callSignatures.length||m.constructSignatures.length||m.members.get("bind")&&k6(l,si))}function Tz(l,m){return mMe(l,m)&m}function dp(l,m){return Tz(l,m)!==0}function mMe(l,m){l.flags&467927040&&(l=Hh(l)||on);const D=l.flags;if(D&268435460)return fe?16317953:16776705;if(D&134217856){const C=D&128&&l.value==="";return fe?C?12123649:7929345:C?12582401:16776705}if(D&40)return fe?16317698:16776450;if(D&256){const C=l.value===0;return fe?C?12123394:7929090:C?12582146:16776450}if(D&64)return fe?16317188:16775940;if(D&2048){const C=lht(l);return fe?C?12122884:7928580:C?12581636:16775940}return D&16?fe?16316168:16774920:D&528?fe?l===Ui||l===Sn?12121864:7927560:l===Ui||l===Sn?12580616:16774920:D&524288?m&(fe?83427327:83886079)?Ju(l)&16&&CD(l)?fe?83427327:83886079:fMe(l)?fe?7880640:16728e3:fe?7888800:16736160:0:D&16384?9830144:D&32768?26607360:D&65536?42917664:D&12288?fe?7925520:16772880:D&67108864?fe?7888800:16736160:D&131072?0:D&1048576?tn(l.types,(C,A)=>C|mMe(A,m),0):D&2097152?dni(l,m):83886079}function dni(l,m){const D=jl(l,402784252);let C=0,A=134217727;for(const w of l.types)if(!(D&&w.flags&524288)){const I=mMe(w,m);C|=I,A&=I}return C&8256|A&134209471}function hp(l,m){return zc(l,D=>dp(D,m))}function bF(l,m){const D=Bht(hp(fe&&l.flags&2?cl:l,m));if(fe)switch(m){case 524288:return hl(D,C=>dp(C,65536)?_s([C,dp(C,131072)&&!jl(D,65536)?tr([Ko,it]):Ko]):C);case 1048576:return hl(D,C=>dp(C,131072)?_s([C,dp(C,65536)&&!jl(D,32768)?tr([Ko,te]):Ko]):C);case 2097152:case 4194304:return hl(D,C=>dp(C,262144)?Tii(C):C)}return D}function Bht(l){return l===cl?on:l}function pMe(l,m){return m?tr([Wr(l),C1(m)]):l}function wht(l,m){var D;const C=O5(m);if(!q4(C))return jt;const A=Z4(C);return he(l,A)||DW((D=K9(l,A))==null?void 0:D.type)||jt}function Tht(l,m){return Xm(l,Sz)&&Cii(l,m)||DW(W5(65,l,te,void 0))||jt}function DW(l){return l&&(ae.noUncheckedIndexedAccess?tr([l,de]):l)}function Lht(l){return j1(W5(65,l,te,void 0)||jt)}function hni(l){return l.parent.kind===209&&gMe(l.parent)||l.parent.kind===303&&gMe(l.parent.parent)?pMe(Rte(l),l.right):C1(l.right)}function gMe(l){return l.parent.kind===226&&l.parent.left===l||l.parent.kind===250&&l.parent.initializer===l}function fni(l,m){return Tht(Rte(l),l.elements.indexOf(m))}function mni(l){return Lht(Rte(l.parent))}function Nht(l){return wht(Rte(l.parent),l.name)}function pni(l){return pMe(Nht(l),l.objectAssignmentInitializer)}function Rte(l){const{parent:m}=l;switch(m.kind){case 249:return ct;case 250:return _ie(m)||jt;case 226:return hni(m);case 220:return te;case 209:return fni(m,l);case 230:return mni(m);case 303:return Nht(m);case 304:return pni(m)}return jt}function gni(l){const m=l.parent,D=Mht(m.parent),C=m.kind===206?wht(D,l.propertyName||l.name):l.dotDotDotToken?Lht(D):Tht(D,m.elements.indexOf(l));return pMe(C,l.initializer)}function Pht(l){return or(l).resolvedType||C1(l)}function Eni(l){return l.initializer?Pht(l.initializer):l.parent.parent.kind===249?ct:l.parent.parent.kind===250&&_ie(l.parent.parent)||jt}function Mht(l){return l.kind===260?Eni(l):gni(l)}function _ni(l){return l.kind===260&&l.initializer&&C3(l.initializer)||l.kind!==208&&l.parent.kind===226&&C3(l.parent.right)}function Mb(l){switch(l.kind){case 217:return Mb(l.expression);case 226:switch(l.operatorToken.kind){case 64:case 76:case 77:case 78:return Mb(l.left);case 28:return Mb(l.right)}}return l}function zht(l){const{parent:m}=l;return m.kind===217||m.kind===226&&m.operatorToken.kind===64&&m.left===l||m.kind===226&&m.operatorToken.kind===28&&m.right===l?zht(m):l}function Dni(l){return l.kind===296?Wh(C1(l.expression)):Wu}function gEe(l){const m=or(l);if(!m.switchTypes){m.switchTypes=[];for(const D of l.caseBlock.clauses)m.switchTypes.push(Dni(D))}return m.switchTypes}function Iht(l){if(Ge(l.caseBlock.clauses,D=>D.kind===296&&!t0(D.expression)))return;const m=[];for(const D of l.caseBlock.clauses){const C=D.kind===296?D.expression.text:void 0;m.push(C&&!Ft(m,C)?C:void 0)}return m}function xni(l,m){return l.flags&1048576?!L(l.types,D=>!Ft(m,D)):Ft(m,l)}function Lz(l,m){return!!(l===m||l.flags&131072||m.flags&1048576&&vni(l,m))}function vni(l,m){if(l.flags&1048576){for(const D of l.types)if(!v6(m.types,D))return!1;return!0}return l.flags&1056&&Cge(l)===m?!0:v6(m.types,l)}function yF(l,m){return l.flags&1048576?L(l.types,m):m(l)}function bE(l,m){return l.flags&1048576?Ge(l.types,m):m(l)}function Xm(l,m){return l.flags&1048576?ye(l.types,m):m(l)}function Cni(l,m){return l.flags&3145728?ye(l.types,m):m(l)}function zc(l,m){if(l.flags&1048576){const D=l.types,C=ei(D,m);if(C===D)return l;const A=l.origin;let w;if(A&&A.flags&1048576){const I=A.types,U=ei(I,Z=>!!(Z.flags&1048576)||m(Z));if(I.length-U.length===D.length-C.length){if(U.length===1)return U[0];w=pPe(1048576,U)}}return EPe(C,l.objectFlags&16809984,void 0,void 0,w)}return l.flags&131072||m(l)?l:Wu}function EEe(l,m){return zc(l,D=>D!==m)}function bni(l){return l.flags&1048576?l.types.length:1}function hl(l,m,D){if(l.flags&131072)return l;if(!(l.flags&1048576))return m(l);const C=l.origin,A=C&&C.flags&1048576?C.types:l.types;let w,I=!1;for(const U of A){const Z=U.flags&1048576?hl(U,m,D):m(U);I||(I=U!==Z),Z&&(w?w.push(Z):w=[Z])}return I?w&&tr(w,D?0:1):l}function Rht(l,m,D,C){return l.flags&1048576&&D?tr(Kt(l.types,m),1,D,C):hl(l,m)}function Nz(l,m){return zc(l,D=>(D.flags&m)!==0)}function Oht(l,m){return jl(l,134217804)&&jl(m,402655616)?hl(l,D=>D.flags&4?Nz(m,402653316):J9(D)&&!jl(m,402653188)?Nz(m,128):D.flags&8?Nz(m,264):D.flags&64?Nz(m,2112):D):l}function sT(l){return l.flags===0}function kF(l){return l.flags===0?l.type:l}function lT(l,m){return m?{flags:0,type:l.flags&131072?Ra:l}:l}function yni(l){const m=_4(256);return m.elementType=l,m}function EMe(l){return Et[l.id]||(Et[l.id]=yni(l))}function jht(l,m){const D=gW(yD(hie(m)));return Lz(D,l.elementType)?l:EMe(tr([l.elementType,D]))}function kni(l){return l.flags&131072?Lc:j1(l.flags&1048576?tr(l.types,2):l)}function Fni(l){return l.finalArrayType||(l.finalArrayType=kni(l.elementType))}function Ote(l){return Ju(l)&256?Fni(l):l}function Ani(l){return Ju(l)&256?l.elementType:Wu}function Sni(l){let m=!1;for(const D of l)if(!(D.flags&131072)){if(!(Ju(D)&256))return!1;m=!0}return m}function Vht(l){const m=zht(l),D=m.parent,C=zu(D)&&(D.name.escapedText==="length"||D.parent.kind===213&&at(D.name)&&J0e(D.name)),A=D.kind===212&&D.expression===m&&D.parent.kind===226&&D.parent.operatorToken.kind===64&&D.parent.left===D&&!Y_(D.parent)&&n1(C1(D.argumentExpression),296);return C||A}function Bni(l){return(ra(l)||yo(l)||Pm(l)||Qa(l))&&!!(h1(l)||Xn(l)&&Lx(l)&&l.initializer&&M2(l.initializer)&&J4(l.initializer))}function _Ee(l,m){if(l=bc(l),l.flags&8752)return Gn(l);if(l.flags&7){if(Wl(l)&262144){const C=l.links.syntheticOrigin;if(C&&_Ee(C))return Gn(l)}const D=l.valueDeclaration;if(D){if(Bni(D))return Gn(l);if(ra(D)&&D.parent.parent.kind===250){const C=D.parent.parent,A=jte(C.expression,void 0);if(A){const w=C.awaitModifier?15:13;return W5(w,A,te,void 0)}}m&&gs(m,Su(D,F._0_needs_an_explicit_type_annotation,Sr(l)))}}}function jte(l,m){if(!(l.flags&67108864))switch(l.kind){case 80:const D=ap($p(l));return _Ee(D,m);case 110:return Uni(l);case 108:return bMe(l);case 211:{const C=jte(l.expression,m);if(C){const A=l.name;let w;if(ea(A)){if(!C.symbol)return;w=Uo(C,Pj(C.symbol,A.escapedText))}else w=Uo(C,A.escapedText);return w&&_Ee(w,m)}return}case 217:return jte(l.expression,m)}}function Vte(l){const m=or(l);let D=m.effectsSignature;if(D===void 0){let C;if(eu(l)){const I=cT(l.right);C=mze(I)}else l.parent.kind===244?C=jte(l.expression,void 0):l.expression.kind!==108&&(Z1(l)?C=yE(mW(ya(l.expression),l.expression),l.expression):C=cT(l.expression));const A=fo(C&&Kh(C)||on,0),w=A.length===1&&!A[0].typeParameters?A[0]:Ge(A,Hht)?hT(l):void 0;D=m.effectsSignature=w&&Hht(w)?w:fn}return D===fn?void 0:D}function Hht(l){return!!(b4(l)||l.declaration&&(iT(l.declaration)||on).flags&131072)}function wni(l,m){if(l.kind===1||l.kind===3)return m.arguments[l.parameterIndex];const D=s0(m.expression);return M0(D)?s0(D.expression):void 0}function Tni(l){const m=Tn(l,qse),D=zn(l),C=YE(D,m.statements.pos);js.add(zd(D,C.start,C.length,F.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}function Hte(l){const m=DEe(l,!1);return Rn=l,en=m,m}function Kte(l){const m=s0(l,!0);return m.kind===97||m.kind===226&&(m.operatorToken.kind===56&&(Kte(m.left)||Kte(m.right))||m.operatorToken.kind===57&&Kte(m.left)&&Kte(m.right))}function DEe(l,m){for(;;){if(l===Rn)return en;const D=l.flags;if(D&4096){if(!m){const C=hMe(l),A=v9[C];return A!==void 0?A:v9[C]=DEe(l,!0)}m=!1}if(D&368)l=l.antecedent;else if(D&512){const C=Vte(l.node);if(C){const A=b4(C);if(A&&A.kind===3&&!A.type){const w=l.node.arguments[A.parameterIndex];if(w&&Kte(w))return!1}if(Zs(C).flags&131072)return!1}l=l.antecedent}else{if(D&4)return Ge(l.antecedents,C=>DEe(C,!1));if(D&8){const C=l.antecedents;if(C===void 0||C.length===0)return!1;l=C[0]}else if(D&128){if(l.clauseStart===l.clauseEnd&&_mt(l.switchStatement))return!1;l=l.antecedent}else if(D&1024){Rn=void 0;const C=l.target,A=C.antecedents;C.antecedents=l.antecedents;const w=DEe(l.antecedent,!1);return C.antecedents=A,w}else return!(D&1)}}}function xEe(l,m){for(;;){const D=l.flags;if(D&4096){if(!m){const C=hMe(l),A=$k[C];return A!==void 0?A:$k[C]=xEe(l,!0)}m=!1}if(D&496)l=l.antecedent;else if(D&512){if(l.node.expression.kind===108)return!0;l=l.antecedent}else{if(D&4)return ye(l.antecedents,C=>xEe(C,!1));if(D&8)l=l.antecedents[0];else if(D&1024){const C=l.target,A=C.antecedents;C.antecedents=l.antecedents;const w=xEe(l.antecedent,!1);return C.antecedents=A,w}else return!!(D&1)}}}function Kht(l){switch(l.kind){case 110:return!0;case 80:if(!m7(l)){const m=$p(l);return Pz(m)||Ple(m)&&!vEe(m)}break;case 211:case 212:return Kht(l.expression)&&Tg(or(l).resolvedSymbol||Xt)}return!1}function B6(l,m,D=m,C,A=(w=>(w=rr(l,Aj))==null?void 0:w.flowNode)()){let w,I=!1,U=0;if(wi)return jt;if(!A)return m;Qi++;const Z=ai,ce=kF($e(A));ai=Z;const Fe=Ju(ce)&256&&Vht(l)?Lc:Ote(ce);if(Fe===Rr||l.parent&&l.parent.kind===235&&!(Fe.flags&131072)&&hp(Fe,2097152).flags&131072)return m;return Fe===le?on:Fe;function Te(){return I?w:(I=!0,w=pEe(l,m,D,C))}function $e(Tt){var oi;if(U===2e3)return(oi=Jn)==null||oi.instant(Jn.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:Tt.id}),wi=!0,Tni(l),jt;U++;let Gi;for(;;){const Ci=Tt.flags;if(Ci&4096){for(let mn=Z;mn=0&&Gi.parameterIndex!(mn.flags&163840)):oi.kind===221&&CF(oi.expression,l)&&(Ci=w0(Ci,Tt.switchStatement,Tt.clauseStart,Tt.clauseEnd,mn=>!(mn.flags&131072||mn.flags&128&&mn.value==="undefined"))));const Ji=_n(oi,Ci);Ji&&(Ci=mo(Ci,Ji,Tt.switchStatement,Tt.clauseStart,Tt.clauseEnd))}return lT(Ci,sT(Gi))}function Ri(Tt){const oi=[];let Gi=!1,Ci=!1,Ji;for(const mn of Tt.antecedents){if(!Ji&&mn.flags&128&&mn.clauseStart===mn.clauseEnd){Ji=mn;continue}const Gr=$e(mn),ku=kF(Gr);if(ku===m&&m===D)return ku;xa(oi,ku),Lz(ku,D)||(Gi=!0),sT(Gr)&&(Ci=!0)}if(Ji){const mn=$e(Ji),Gr=kF(mn);if(!(Gr.flags&131072)&&!Ft(oi,Gr)&&!_mt(Ji.switchStatement)){if(Gr===m&&m===D)return Gr;oi.push(Gr),Lz(Gr,D)||(Gi=!0),sT(mn)&&(Ci=!0)}}return lT(vn(oi,Gi?2:1),Ci)}function Nn(Tt){const oi=hMe(Tt),Gi=_9[oi]||(_9[oi]=new Map),Ci=Te();if(!Ci)return m;const Ji=Gi.get(Ci);if(Ji)return Ji;for(let pn=Xe;pn{const pn=Re(po,Ci)||on;return!(pn.flags&131072)&&!(ku.flags&131072)&&Bte(ku,pn)})}function ro(Tt,oi,Gi,Ci,Ji){if((Gi===37||Gi===38)&&Tt.flags&1048576){const mn=zte(Tt);if(mn&&mn===vF(oi)){const Gr=Ite(Tt,C1(Ci));if(Gr)return Gi===(Ji?37:38)?Gr:Bg(he(Gr,mn)||on)?EEe(Tt,Gr):Tt}}return hu(Tt,oi,mn=>Co(mn,Gi,Ci,Ji))}function mo(Tt,oi,Gi,Ci,Ji){if(CiIte(Tt,ku)||on));if(Gr!==on)return Gr}return hu(Tt,oi,mn=>rd(mn,Gi,Ci,Ji))}function lo(Tt,oi,Gi){if(v1(l,oi))return bF(Tt,Gi?4194304:8388608);fe&&Gi&&CF(oi,l)&&(Tt=bF(Tt,2097152));const Ci=_n(oi,Tt);return Ci?hu(Tt,Ci,Ji=>hp(Ji,Gi?4194304:8388608)):Tt}function ka(Tt,oi,Gi){const Ci=Uo(Tt,oi);return Ci?!!(Ci.flags&16777216||Wl(Ci)&48)||Gi:!!K9(Tt,oi)||!Gi}function rh(Tt,oi,Gi){const Ci=Z4(oi);if(bE(Tt,mn=>ka(mn,Ci,!0)))return zc(Tt,mn=>ka(mn,Ci,Gi));if(Gi){const mn=zei();if(mn)return _s([Tt,uT(mn,[oi,on])])}return Tt}function e4(Tt,oi,Gi,Ci,Ji){return Ji=Ji!==(Gi.kind===112)!=(Ci!==38&&Ci!==36),Ru(Tt,oi,Ji)}function dn(Tt,oi,Gi){switch(oi.operatorToken.kind){case 64:case 76:case 77:case 78:return lo(Ru(Tt,oi.right,Gi),oi.left,Gi);case 35:case 36:case 37:case 38:const Ci=oi.operatorToken.kind,Ji=Mb(oi.left),mn=Mb(oi.right);if(Ji.kind===221&&t0(mn))return Un(Tt,Ji,Ci,mn,Gi);if(mn.kind===221&&t0(Ji))return Un(Tt,mn,Ci,Ji,Gi);if(v1(l,Ji))return Co(Tt,Ci,mn,Gi);if(v1(l,mn))return Co(Tt,Ci,Ji,Gi);fe&&(CF(Ji,l)?Tt=Zr(Tt,Ci,mn,Gi):CF(mn,l)&&(Tt=Zr(Tt,Ci,Ji,Gi)));const Gr=_n(Ji,Tt);if(Gr)return ro(Tt,Gr,Ci,mn,Gi);const ku=_n(mn,Tt);if(ku)return ro(Tt,ku,Ci,Ji,Gi);if(Cm(Ji))return At(Tt,Ci,mn,Gi);if(Cm(mn))return At(Tt,Ci,Ji,Gi);if(VN(mn)&&!M0(Ji))return e4(Tt,Ji,mn,Ci,Gi);if(VN(Ji)&&!M0(mn))return e4(Tt,mn,Ji,Ci,Gi);break;case 104:return ze(Tt,oi,Gi);case 103:if(ea(oi.left))return Wn(Tt,oi,Gi);const po=Mb(oi.right);if(pW(Tt)&&M0(l)&&v1(l.expression,po)){const pn=C1(oi.left);if(q4(pn)&&vF(l)===Z4(pn))return hp(Tt,Gi?524288:65536)}if(v1(l,po)){const pn=C1(oi.left);if(q4(pn))return rh(Tt,pn,Gi)}break;case 28:return Ru(Tt,oi.right,Gi);case 56:return Gi?Ru(Ru(Tt,oi.left,!0),oi.right,!0):tr([Ru(Tt,oi.left,!1),Ru(Tt,oi.right,!1)]);case 57:return Gi?tr([Ru(Tt,oi.left,!0),Ru(Tt,oi.right,!0)]):Ru(Ru(Tt,oi.left,!1),oi.right,!1)}return Tt}function Wn(Tt,oi,Gi){const Ci=Mb(oi.right);if(!v1(l,Ci))return Tt;H.assertNode(oi.left,ea);const Ji=LEe(oi.left);if(Ji===void 0)return Tt;const mn=Ji.parent,Gr=Kc(H.checkDefined(Ji.valueDeclaration,"should always have a declaration"))?Gn(mn):Z0(mn);return Fu(Tt,Gr,Gi,!0)}function Zr(Tt,oi,Gi,Ci){const Ji=oi===35||oi===37,mn=oi===35||oi===36?98304:32768,Gr=C1(Gi);return Ji!==Ci&&Xm(Gr,po=>!!(po.flags&mn))||Ji===Ci&&Xm(Gr,po=>!(po.flags&(3|mn)))?bF(Tt,2097152):Tt}function Co(Tt,oi,Gi,Ci){if(Tt.flags&1)return Tt;(oi===36||oi===38)&&(Ci=!Ci);const Ji=C1(Gi),mn=oi===35||oi===36;if(Ji.flags&98304){if(!fe)return Tt;const Gr=mn?Ci?262144:2097152:Ji.flags&65536?Ci?131072:1048576:Ci?65536:524288;return bF(Tt,Gr)}if(Ci){if(!mn&&(Tt.flags&2||bE(Tt,bD))){if(Ji.flags&469893116||bD(Ji))return Ji;if(Ji.flags&524288)return as}const Gr=zc(Tt,ku=>Bte(ku,Ji)||mn&&Lii(ku,Ji));return Oht(Gr,Ji)}return Bg(Ji)?zc(Tt,Gr=>!(rht(Gr)&&Bte(Gr,Ji))):Tt}function Un(Tt,oi,Gi,Ci,Ji){(Gi===36||Gi===38)&&(Ji=!Ji);const mn=Mb(oi.expression);if(!v1(l,mn)){fe&&CF(mn,l)&&Ji===(Ci.text!=="undefined")&&(Tt=bF(Tt,2097152));const Gr=_n(mn,Tt);return Gr?hu(Tt,Gr,ku=>Ss(ku,Ci,Ji)):Tt}return Ss(Tt,Ci,Ji)}function Ss(Tt,oi,Gi){return Gi?Ys(Tt,oi.text):bF(Tt,jde.get(oi.text)||32768)}function w0(Tt,oi,Gi,Ci,Ji){return Gi!==Ci&&ye(gEe(oi).slice(Gi,Ci),Ji)?hp(Tt,2097152):Tt}function rd(Tt,oi,Gi,Ci){const Ji=gEe(oi);if(!Ji.length)return Tt;const mn=Ji.slice(Gi,Ci),Gr=Gi===Ci||Ft(mn,Wu);if(Tt.flags&2&&!Gr){let sr;for(let qr=0;qrBte(ku,sr)),ku);if(!Gr)return po;const pn=zc(Tt,sr=>!(rht(sr)&&Ft(Ji,Wh(yii(sr)))));return po.flags&131072?pn:tr([po,pn])}function Ys(Tt,oi){switch(oi){case"string":return wd(Tt,ct,1);case"number":return wd(Tt,Qt,2);case"bigint":return wd(Tt,Ti,4);case"boolean":return wd(Tt,Er,8);case"symbol":return wd(Tt,er,16);case"object":return Tt.flags&1?Tt:tr([wd(Tt,as,32),wd(Tt,it,131072)]);case"function":return Tt.flags&1?Tt:wd(Tt,si,64);case"undefined":return wd(Tt,te,65536)}return wd(Tt,as,128)}function wd(Tt,oi,Gi){return hl(Tt,Ci=>CE(Ci,oi,m4)?dp(Ci,Gi)?Ci:Wu:k6(oi,Ci)?oi:dp(Ci,Gi)?_s([Ci,oi]):Wu)}function yc(Tt,oi,Gi,Ci){const Ji=Iht(oi);if(!Ji)return Tt;const mn=Ue(oi.caseBlock.clauses,po=>po.kind===297);if(Gi===Ci||mn>=Gi&&mnTz(pn,po)===po)}const ku=Ji.slice(Gi,Ci);return tr(Kt(ku,po=>po?Ys(Tt,po):Wu))}function Y0(Tt,oi,Gi,Ci){const Ji=Ue(oi.caseBlock.clauses,ku=>ku.kind===297),mn=Gi===Ci||Ji>=Gi&&Jiku.kind===296?Ru(Tt,ku.expression,!0):Wu))}function Cm(Tt){return(zu(Tt)&&fu(Tt.name)==="constructor"||G0(Tt)&&t0(Tt.argumentExpression)&&Tt.argumentExpression.text==="constructor")&&v1(l,Tt.expression)}function At(Tt,oi,Gi,Ci){if(Ci?oi!==35&&oi!==37:oi!==36&&oi!==38)return Tt;const Ji=C1(Gi);if(!Gze(Ji)&&!Vr(Ji))return Tt;const mn=Uo(Ji,"prototype");if(!mn)return Tt;const Gr=Gn(mn),ku=nt(Gr)?void 0:Gr;if(!ku||ku===Ve||ku===si)return Tt;if(nt(Tt))return ku;return zc(Tt,pn=>po(pn,ku));function po(pn,sr){return pn.flags&524288&&Ju(pn)&1||sr.flags&524288&&Ju(sr)&1?pn.symbol===sr.symbol:k6(pn,sr)}}function ze(Tt,oi,Gi){const Ci=Mb(oi.left);if(!v1(l,Ci))return Gi&&fe&&CF(Ci,l)?bF(Tt,2097152):Tt;const Ji=oi.right,mn=C1(Ji);if(!BC(mn,Ve))return Tt;const Gr=Vte(oi),ku=Gr&&b4(Gr);if(ku&&ku.kind===1&&ku.parameterIndex===0)return Fu(Tt,ku.type,Gi,!0);if(!BC(mn,si))return Tt;const po=hl(mn,Qn);return nt(Tt)&&(po===Ve||po===si)||!Gi&&!(po.flags&524288&&!bD(po))?Tt:Fu(Tt,po,Gi,!0)}function Qn(Tt){const oi=he(Tt,"prototype");if(oi&&!nt(oi))return oi;const Gi=fo(Tt,1);return Gi.length?tr(Kt(Gi,Ci=>Zs(uW(Ci)))):Ko}function Fu(Tt,oi,Gi,Ci){const Ji=Tt.flags&1048576?`N${kh(Tt)},${kh(oi)},${(Gi?1:0)|(Ci?2:0)}`:void 0;return qk(Ji)??cb(Ji,Dr(Tt,oi,Gi,Ci))}function Dr(Tt,oi,Gi,Ci){if(!Gi){if(Ci)return zc(Tt,po=>!BC(po,oi));const ku=Fu(Tt,oi,!0,!1);return zc(Tt,po=>!Lz(po,ku))}if(Tt.flags&3)return oi;const Ji=Ci?BC:k6,mn=Tt.flags&1048576?zte(Tt):void 0,Gr=hl(oi,ku=>{const po=mn&&he(ku,mn),pn=po&&Ite(Tt,po),sr=hl(pn||Tt,Ci?qr=>BC(qr,ku)?qr:BC(ku,qr)?ku:Wu:qr=>j1t(qr,ku)?qr:j1t(ku,qr)?ku:k6(qr,ku)?qr:k6(ku,qr)?ku:Wu);return sr.flags&131072?hl(Tt,qr=>jl(qr,465829888)&&Ji(ku,Hh(qr)||on)?_s([qr,ku]):Wu):sr});return Gr.flags&131072?k6(oi,Tt)?oi:fs(Tt,oi)?Tt:fs(oi,Tt)?oi:_s([Tt,oi]):Gr}function pr(Tt,oi,Gi){if(Sht(oi,l)){const Ci=Gi||!Gy(oi)?Vte(oi):void 0,Ji=Ci&&b4(Ci);if(Ji&&(Ji.kind===0||Ji.kind===1))return zr(Tt,Ji,oi,Gi)}if(pW(Tt)&&M0(l)&&zu(oi.expression)){const Ci=oi.expression;if(v1(l.expression,Mb(Ci.expression))&&at(Ci.name)&&Ci.name.escapedText==="hasOwnProperty"&&oi.arguments.length===1){const Ji=oi.arguments[0];if(t0(Ji)&&vF(l)===Al(Ji.text))return hp(Tt,Gi?524288:65536)}}return Tt}function zr(Tt,oi,Gi,Ci){if(oi.type&&!(nt(Tt)&&(oi.type===Ve||oi.type===si))){const Ji=wni(oi,Gi);if(Ji){if(v1(l,Ji))return Fu(Tt,oi.type,Ci,!1);fe&&CF(Ji,l)&&(Ci&&!dp(oi.type,65536)||!Ci&&Xm(oi.type,Yte))&&(Tt=bF(Tt,2097152));const mn=_n(Ji,Tt);if(mn)return hu(Tt,mn,Gr=>Fu(Gr,oi.type,Ci,!1))}}return Tt}function Ru(Tt,oi,Gi){if(TU(oi)||eu(oi.parent)&&(oi.parent.operatorToken.kind===61||oi.parent.operatorToken.kind===78)&&oi.parent.left===oi)return xu(Tt,oi,Gi);switch(oi.kind){case 80:if(!v1(l,oi)&&J<5){const Ci=$p(oi);if(Pz(Ci)){const Ji=Ci.valueDeclaration;if(Ji&&ra(Ji)&&!Ji.type&&Ji.initializer&&Kht(l)){J++;const mn=Ru(Tt,Ji.initializer,Gi);return J--,mn}}}case 110:case 108:case 211:case 212:return lo(Tt,oi,Gi);case 213:return pr(Tt,oi,Gi);case 217:case 235:return Ru(Tt,oi.expression,Gi);case 226:return dn(Tt,oi,Gi);case 224:if(oi.operator===54)return Ru(Tt,oi.operand,!Gi);break}return Tt}function xu(Tt,oi,Gi){if(v1(l,oi))return bF(Tt,Gi?2097152:262144);const Ci=_n(oi,Tt);return Ci?hu(Tt,Ci,Ji=>hp(Ji,Gi?2097152:262144)):Tt}}function Lni(l,m){if(l=ap(l),(m.kind===80||m.kind===81)&&(pP(m)&&(m=m.parent),q_(m)&&(!Y_(m)||E7(m)))){const D=aEe(E7(m)&&m.kind===211?wEe(m,void 0,!0):C1(m));if(ap(or(m).resolvedSymbol)===l)return D}return Q3(m)&&XD(m.parent)&&i0(m.parent)?_ge(m.parent.symbol):lle(m)&&E7(m.parent)?hF(l):g6(l)}function xW(l){return Tn(l.parent,m=>xo(m)&&!tk(m)||m.kind===268||m.kind===312||m.kind===172)}function vEe(l){if(!l.valueDeclaration)return!1;const m=QE(l.valueDeclaration).parent,D=or(m);return D.flags&131072||(D.flags|=131072,Nni(m)||Wht(m)),l.isAssigned||!1}function Nni(l){return!!Tn(l.parent,m=>(xo(m)||H2(m))&&!!(or(m).flags&131072))}function Wht(l){if(l.kind===80){if(Y_(l)){const m=$p(l);Ple(m)&&(m.isAssigned=!0)}}else uo(l,Wht)}function Pz(l){return l.flags&3&&(IMe(l)&6)!==0}function Pni(l){const m=or(l);if(m.parameterInitializerContainsUndefined===void 0){if(!__(l,9))return Yw(l.symbol),!0;const D=!!dp(SW(l,0),16777216);if(!vE())return Yw(l.symbol),!0;m.parameterInitializerContainsUndefined=D}return m.parameterInitializerContainsUndefined}function Mni(l,m){return fe&&m.kind===169&&m.initializer&&dp(l,16777216)&&!Pni(m)?hp(l,524288):l}function zni(l,m){const D=m.parent;return D.kind===211||D.kind===166||D.kind===213&&D.expression===m||D.kind===212&&D.expression===m&&!(bE(l,Jht)&&kC(C1(D.argumentExpression)))}function Ght(l){return l.flags&2097152?Ge(l.types,Ght):!!(l.flags&465829888&&DD(l).flags&1146880)}function Jht(l){return l.flags&2097152?Ge(l.types,Jht):!!(l.flags&465829888&&!jl(DD(l),98304))}function Ini(l,m){const D=(at(l)||zu(l)||G0(l))&&!((rE(l.parent)||vk(l.parent))&&l.parent.tagName===l)&&(m&&m&32?df(l,8):df(l,void 0));return D&&!yz(D)}function _Me(l,m,D){return!(D&&D&2)&&bE(l,Ght)&&(zni(l,m)||Ini(m,D))?hl(l,DD):l}function $ht(l){return!!Tn(l,m=>{const D=m.parent;return D===void 0?"quit":ec(D)?D.expression===m&&Xl(m):X1(D)?D.name===m||D.propertyName===m:!1})}function CEe(l,m){if(Ut&&cC(l,111551)&&!sk(m)){const D=hd(l);R1(l,!0)&1160127&&(hg(ae)||dk(ae)&&$ht(m)||!IW(ap(D))?w5(l):i1(l))}}function Rni(l,m){var D;const C=Gn(l),A=l.valueDeclaration;if(A){if(Os(A)&&!A.initializer&&!A.dotDotDotToken&&A.parent.elements.length>=2){const w=A.parent.parent;if(w.kind===260&&Hb(A)&6||w.kind===169){const I=or(w);if(!(I.flags&4194304)){I.flags|=4194304;const U=vi(w,0),Z=U&&hl(U,DD);if(I.flags&=-4194305,Z&&Z.flags&1048576&&!(w.kind===169&&vEe(l))){const ce=A.parent,Fe=B6(ce,Z,Z,void 0,m.flowNode);return Fe.flags&131072?Wu:x4(A,Fe,!0)}}}}if(Qa(A)&&!A.type&&!A.initializer&&!A.dotDotDotToken){const w=A.parent;if(w.parameters.length>=2&&$ge(w)){const I=CW(w);if(I&&I.parameters.length===1&&eh(I)){const U=_z(_a(Gn(I.parameters[0]),(D=Ib(w))==null?void 0:D.nonFixingMapper));if(U.flags&1048576&&Xm(U,Ds)&&!vEe(l)){const Z=B6(w,U,U,void 0,m.flowNode),ce=w.parameters.indexOf(A)-(S2(w)?1:0);return Uf(Z,Sg(ce))}}}}}return C}function Oni(l,m){if(m7(l))return Wte(l);const D=$p(l);if(D===Xt)return jt;if(D===It){if(wft(l))return pt(l,F.arguments_cannot_be_referenced_in_property_initializers),jt;const Ri=Lm(l);return Ce<2&&(Ri.kind===219?pt(l,F.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):Qu(Ri,1024)&&pt(l,F.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),or(Ri).flags|=512,Gn(D)}Vni(l)&&CEe(D,l);const C=ap(D),A=Oze(C,l);A5(A)&&DPe(l,A)&&A.declarations&&f3(l,A.declarations,l.escapedText);let w=C.valueDeclaration;if(w&&C.flags&32&&gr(w)&&w.name!==l){let Ri=ef(l,!1,!1);for(;Ri.kind!==312&&Ri.parent!==w;)Ri=ef(Ri,!1,!1);Ri.kind!==312&&(or(w).flags|=262144,or(Ri).flags|=262144,or(l).flags|=536870912)}Wni(l,D);let I=Rni(C,l);const U=d7(l);if(U){if(!(C.flags&3)&&!(Xn(l)&&C.flags&512)){const Ri=C.flags&384?F.Cannot_assign_to_0_because_it_is_an_enum:C.flags&32?F.Cannot_assign_to_0_because_it_is_a_class:C.flags&1536?F.Cannot_assign_to_0_because_it_is_a_namespace:C.flags&16?F.Cannot_assign_to_0_because_it_is_a_function:C.flags&2097152?F.Cannot_assign_to_0_because_it_is_an_import:F.Cannot_assign_to_0_because_it_is_not_a_variable;return pt(l,Ri,Sr(D)),jt}if(Tg(C))return C.flags&3?pt(l,F.Cannot_assign_to_0_because_it_is_a_constant,Sr(D)):pt(l,F.Cannot_assign_to_0_because_it_is_a_read_only_property,Sr(D)),jt}const Z=C.flags&2097152;if(C.flags&3){if(U===1)return R0e(l)?yD(I):I}else if(Z)w=np(D);else return I;if(!w)return I;I=_Me(I,l,m);const ce=QE(w).kind===169,Fe=xW(w);let Te=xW(l);const $e=Te!==Fe,ut=l.parent&&l.parent.parent&&c5(l.parent)&&gMe(l.parent.parent),zt=D.flags&134217728,fi=I===ni||I===Lc,Wi=fi&&l.parent.kind===235;for(;Te!==Fe&&(Te.kind===218||Te.kind===219||rq(Te))&&(Pz(C)&&I!==Lc||ce&&!vEe(C));)Te=xW(Te);const cn=ce||Z||$e||ut||zt||jni(l,w)||I!==ni&&I!==Lc&&(!fe||(I.flags&16387)!==0||sk(l)||cMe(l)||l.parent.kind===281)||l.parent.kind===235||w.kind===260&&w.exclamationToken||w.flags&33554432,nu=Wi?te:cn?ce?Mni(I,w):I:fi?te:A6(I),En=Wi?kD(B6(l,I,nu,Te)):B6(l,I,nu,Te);if(!Vht(l)&&(I===ni||I===Lc)){if(En===ni||En===Lc)return Ae&&(pt($a(w),F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,Sr(D),gn(En)),pt(l,F.Variable_0_implicitly_has_an_1_type,Sr(D),gn(En))),zW(En)}else if(!cn&&!kz(I)&&kz(En))return pt(l,F.Variable_0_is_used_before_being_assigned,Sr(D)),I;return U?yD(En):En}function jni(l,m){if(Os(m)){const D=Tn(l,Os);return D&&QE(D)===QE(m)}}function Vni(l){var m;const D=l.parent;if(D){if(zu(D)&&D.expression===l||X1(D)&&D.isTypeOnly)return!1;const C=(m=D.parent)==null?void 0:m.parent;if(C&&Gc(C)&&C.isTypeOnly)return!1}return!0}function Hni(l,m){return!!Tn(l,D=>D===m?"quit":xo(D)||D.parent&&yo(D.parent)&&!Kc(D.parent)&&D.parent.initializer===D)}function Kni(l,m){return Tn(l,D=>D===m?"quit":D===m.initializer||D===m.condition||D===m.incrementor||D===m.statement)}function DMe(l){return Tn(l,m=>!m||$0e(m)?"quit":wx(m,!1))}function Wni(l,m){if(Ce>=2||!(m.flags&34)||!m.valueDeclaration||ca(m.valueDeclaration)||m.valueDeclaration.parent.kind===299)return;const D=ZE(m.valueDeclaration),C=Hni(l,D),A=DMe(D);if(A){if(C){let w=!0;if(Dk(D)){const I=yv(m.valueDeclaration,261);if(I&&I.parent===D){const U=Kni(l.parent,D);if(U){const Z=or(U);Z.flags|=8192;const ce=Z.capturedBlockScopeBindings||(Z.capturedBlockScopeBindings=[]);xa(ce,m),U===D.initializer&&(w=!1)}}}w&&(or(A).flags|=4096)}if(Dk(D)){const w=yv(m.valueDeclaration,261);w&&w.parent===D&&Jni(l,D)&&(or(m.valueDeclaration).flags|=65536)}or(m.valueDeclaration).flags|=32768}C&&(or(m.valueDeclaration).flags|=16384)}function Gni(l,m){const D=or(l);return!!D&&Ft(D.capturedBlockScopeBindings,_u(m))}function Jni(l,m){let D=l;for(;D.parent.kind===217;)D=D.parent;let C=!1;if(Y_(D))C=!0;else if(D.parent.kind===224||D.parent.kind===225){const A=D.parent;C=A.operator===46||A.operator===47}return C?!!Tn(D,A=>A===m?"quit":A===m.statement):!1}function xMe(l,m){if(or(l).flags|=2,m.kind===172||m.kind===176){const D=m.parent;or(D).flags|=4}else or(m).flags|=4}function Uht(l){return ek(l)?l:xo(l)?void 0:uo(l,Uht)}function vMe(l){const m=_u(l),D=Z0(m);return qc(D)===Ct}function qht(l,m,D){const C=m.parent;F2(C)&&!vMe(C)&&Aj(l)&&l.flowNode&&!xEe(l.flowNode,!1)&&pt(l,D)}function $ni(l,m){yo(m)&&Kc(m)&&ve&&m.initializer&&MO(m.initializer,l.pos)&&a4(m.parent)&&pt(l,F.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function Wte(l){const m=sk(l);let D=ef(l,!0,!0),C=!1,A=!1;for(D.kind===176&&qht(l,D,F.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);;){if(D.kind===219&&(D=ef(D,!1,!A),C=!0),D.kind===167){D=ef(D,!C,!1),A=!0;continue}break}if($ni(l,D),A)pt(l,F.this_cannot_be_referenced_in_a_computed_property_name);else switch(D.kind){case 267:pt(l,F.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 266:pt(l,F.this_cannot_be_referenced_in_current_location);break;case 176:Zht(l,D)&&pt(l,F.this_cannot_be_referenced_in_constructor_arguments);break}!m&&C&&Ce<2&&xMe(l,D);const w=CMe(l,!0,D);if(De){const I=Gn(St);if(w===I&&C)pt(l,F.The_containing_arrow_function_captures_the_global_value_of_this);else if(!w){const U=pt(l,F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!ca(D)){const Z=CMe(D);Z&&Z!==I&&gs(U,Su(D,F.An_outer_value_of_this_is_shadowed_by_this_container))}}}return w||me}function CMe(l,m=!0,D=ef(l,!1,!1)){const C=Xn(l);if(xo(D)&&(!kMe(l)||S2(D))){let A=p6(D)||C&&Zni(D);if(!A){const w=qni(D);if(C&&w){const I=ya(w).symbol;I&&I.members&&I.flags&16&&(A=Z0(I).thisType)}else FE(D)&&(A=Z0(Hs(D.symbol)).thisType);A||(A=eft(D))}if(A)return B6(l,A)}if(gr(D.parent)){const A=_u(D.parent),w=Lo(D)?Gn(A):Z0(A).thisType;return B6(l,w)}if(ca(D))if(D.commonJsModuleIndicator){const A=_u(D);return A&&Gn(A)}else{if(D.externalModuleIndicator)return te;if(m)return Gn(St)}}function Uni(l){const m=ef(l,!1,!1);if(xo(m)){const D=lp(m);if(D.thisParameter)return _Ee(D.thisParameter)}if(gr(m.parent)){const D=_u(m.parent);return Lo(m)?Gn(D):Z0(D).thisType}}function qni(l){if(l.kind===218&&eu(l.parent)&&Ql(l.parent)===3)return l.parent.left.expression.expression;if(l.kind===174&&l.parent.kind===210&&eu(l.parent.parent)&&Ql(l.parent.parent)===6)return l.parent.parent.left.expression;if(l.kind===218&&l.parent.kind===303&&l.parent.parent.kind===210&&eu(l.parent.parent.parent)&&Ql(l.parent.parent.parent)===6)return l.parent.parent.parent.left.expression;if(l.kind===218&&Jc(l.parent)&&at(l.parent.name)&&(l.parent.name.escapedText==="value"||l.parent.name.escapedText==="get"||l.parent.name.escapedText==="set")&&bs(l.parent.parent)&&Po(l.parent.parent.parent)&&l.parent.parent.parent.arguments[2]===l.parent.parent&&Ql(l.parent.parent.parent)===9)return l.parent.parent.parent.arguments[0].expression;if(cc(l)&&at(l.name)&&(l.name.escapedText==="value"||l.name.escapedText==="get"||l.name.escapedText==="set")&&bs(l.parent)&&Po(l.parent.parent)&&l.parent.parent.arguments[2]===l.parent&&Ql(l.parent.parent)===9)return l.parent.parent.arguments[0].expression}function Zni(l){const m=SU(l);if(m&&m.typeExpression)return Br(m.typeExpression);const D=Dz(l);if(D)return bC(D)}function Zht(l,m){return!!Tn(l,D=>W0(D)?"quit":D.kind===169&&D.parent===m)}function bMe(l){const m=l.parent.kind===213&&l.parent.expression===l,D=dj(l,!0);let C=D,A=!1,w=!1;if(!m){for(;C&&C.kind===219;)Qu(C,1024)&&(w=!0),C=dj(C,!0),A=Ce<2;C&&Qu(C,1024)&&(w=!0)}let I=0;if(!C||!Fe(C)){const Te=Tn(l,$e=>$e===C?"quit":$e.kind===167);return Te&&Te.kind===167?pt(l,F.super_cannot_be_referenced_in_a_computed_property_name):m?pt(l,F.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!C||!C.parent||!(gr(C.parent)||C.parent.kind===210)?pt(l,F.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):pt(l,F.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),jt}if(!m&&D.kind===176&&qht(l,C,F.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),Lo(C)||m?(I=32,!m&&Ce>=2&&Ce<=8&&(yo(C)||zl(C))&&Mbe(l.parent,Te=>{(!ca(Te)||lm(Te))&&(or(Te).flags|=2097152)})):I=16,or(l).flags|=I,C.kind===174&&w&&(tf(l.parent)&&Y_(l.parent)?or(C).flags|=256:or(C).flags|=128),A&&xMe(l.parent,C),C.parent.kind===210)return Ce<2?(pt(l,F.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),jt):me;const U=C.parent;if(!F2(U))return pt(l,F.super_can_only_be_referenced_in_a_derived_class),jt;if(vMe(U))return m?jt:Ct;const Z=Z0(_u(U)),ce=Z&&Zc(Z)[0];if(!ce)return jt;if(C.kind===176&&Zht(l,C))return pt(l,F.super_cannot_be_referenced_in_constructor_arguments),jt;return I===32?qc(Z):Dm(ce,Z.thisType);function Fe(Te){return m?Te.kind===176:gr(Te.parent)||Te.parent.kind===210?Lo(Te)?Te.kind===174||Te.kind===173||Te.kind===177||Te.kind===178||Te.kind===172||Te.kind===175:Te.kind===174||Te.kind===173||Te.kind===177||Te.kind===178||Te.kind===172||Te.kind===171||Te.kind===176:!1}}function Yht(l){return(l.kind===174||l.kind===177||l.kind===178)&&l.parent.kind===210?l.parent:l.kind===218&&l.parent.kind===303?l.parent.parent:void 0}function Qht(l){return Ju(l)&4&&l.target===Cc?I0(l)[0]:void 0}function Yni(l){return hl(l,m=>m.flags&2097152?L(m.types,Qht):Qht(m))}function Xht(l,m){let D=l,C=m;for(;C;){const A=Yni(C);if(A)return A;if(D.parent.kind!==303)break;D=D.parent.parent,C=NC(D,void 0)}}function eft(l){if(l.kind===219)return;if($ge(l)){const D=CW(l);if(D){const C=D.thisParameter;if(C)return Gn(C)}}const m=Xn(l);if(De||m){const D=Yht(l);if(D){const A=NC(D,void 0),w=Xht(D,A);return w?_a(w,eMe(Ib(D))):xm(A?kD(A):Ic(D))}const C=t5(l.parent);if(od(C)){const A=C.left;if(M0(A)){const{expression:w}=A;if(m&&at(w)){const I=zn(C);if(I.commonJsModuleIndicator&&$p(w)===I.symbol)return}return xm(Ic(w))}}}}function tft(l){const m=l.parent;if(!$ge(m))return;const D=tk(m);if(D&&D.arguments){const A=IEe(D),w=m.parameters.indexOf(l);if(l.dotDotDotToken)return YMe(A,w,A.length,me,void 0,0);const I=or(D),U=I.resolvedSignature;I.resolvedSignature=hi;const Z=w0)return O9(D.name,!0,!1)}}function tui(l,m){const D=Lm(l);if(D){let C=bEe(D,m);if(C){const A=yd(D);if(A&1){const w=(A&2)!==0;C.flags&1048576&&(C=zc(C,U=>!!Ob(1,U,w)));const I=Ob(1,C,(A&2)!==0);if(!I)return;C=I}if(A&2){const w=hl(C,K5);return w&&tr([w,mmt(w)])}return C}}}function iui(l,m){const D=df(l,m);if(D){const C=K5(D);return C&&tr([C,mmt(C)])}}function nui(l,m){const D=Lm(l);if(D){const C=yd(D);let A=bEe(D,m);if(A){const w=(C&2)!==0;return!l.asteriskToken&&A.flags&1048576&&(A=zc(A,I=>!!Ob(1,I,w))),l.asteriskToken?A:Ob(0,A,w)}}}function kMe(l){let m=!1;for(;l.parent&&!xo(l.parent);){if(Qa(l.parent)&&(m||l.parent.initializer===l))return!0;Os(l.parent)&&l.parent.initializer===l&&(m=!0),l=l.parent}return!1}function ift(l,m){const D=!!(yd(m)&2),C=bEe(m,void 0);if(C)return Ob(l,C,D)||void 0}function bEe(l,m){const D=iT(l);if(D)return D;const C=wMe(l);if(C&&!kge(C)){const w=Zs(C),I=yd(l);return I&1?zc(w,U=>!!(U.flags&58998787)||Dze(U,I,void 0)):I&2?zc(w,U=>!!(U.flags&58998787)||!!Oz(U)):w}const A=tk(l);if(A)return df(A,m)}function nft(l,m){const C=IEe(l).indexOf(m);return C===-1?void 0:FMe(l,C)}function FMe(l,m){if(cm(l))return m===0?ct:m===1?Udt(!1):me;const D=or(l).resolvedSignature===Gu?Gu:hT(l);if(Ph(l)&&m===0)return AEe(D,l);const C=D.parameters.length-1;return eh(D)&&m>=C?Uf(Gn(D.parameters[C]),Sg(m-C),256):wg(D,m)}function uui(l){const m=cze(l);return m?EF(m):void 0}function rui(l,m){if(l.parent.kind===215)return nft(l.parent,m)}function aui(l,m){const D=l.parent,{left:C,operatorToken:A,right:w}=D;switch(A.kind){case 64:case 77:case 76:case 78:return l===w?sui(D):void 0;case 57:case 61:const I=df(D,m);return l===w&&(I&&I.pattern||!I&&!iye(D))?C1(C):I;case 56:case 28:return l===w?df(D,m):void 0;default:return}}function oui(l){if(qg(l)&&l.symbol)return l.symbol;if(at(l))return $p(l);if(zu(l)){const D=C1(l.expression);return ea(l.name)?m(D,l.name):Uo(D,l.name.escapedText)}if(G0(l)){const D=Ic(l.argumentExpression);if(!q4(D))return;const C=C1(l.expression);return Uo(C,Z4(D))}return;function m(D,C){const A=TEe(C.escapedText,C);return A&&VMe(D,A)}}function sui(l){var m,D;const C=Ql(l);switch(C){case 0:case 4:const A=oui(l.left),w=A&&A.valueDeclaration;if(w&&(yo(w)||Pm(w))){const Z=h1(w);return Z&&_a(Br(Z),Ur(A).mapper)||(yo(w)?w.initializer&&C1(l.left):void 0)}return C===0?C1(l.left):uft(l);case 5:if(yEe(l,C))return uft(l);if(!qg(l.left)||!l.left.symbol)return C1(l.left);{const Z=l.left.symbol.valueDeclaration;if(!Z)return;const ce=No(l.left,M0),Fe=h1(Z);if(Fe)return Br(Fe);if(at(ce.expression)){const Te=ce.expression,$e=nc(Te,Te.escapedText,111551,void 0,Te.escapedText,!0);if($e){const ut=$e.valueDeclaration&&h1($e.valueDeclaration);if(ut){const zt=Y3(ce);if(zt!==void 0)return zb(Br(ut),zt)}return}}return Xn(Z)||Z===l.left?void 0:C1(l.left)}case 1:case 6:case 3:case 2:let I;C!==2&&(I=qg(l.left)?(m=l.left.symbol)==null?void 0:m.valueDeclaration:void 0),I||(I=(D=l.symbol)==null?void 0:D.valueDeclaration);const U=I&&h1(I);return U?Br(U):void 0;case 7:case 8:case 9:return H.fail("Does not apply");default:return H.assertNever(C)}}function yEe(l,m=Ql(l)){if(m===4)return!0;if(!Xn(l)||m!==5||!at(l.left.expression))return!1;const D=l.left.expression.escapedText,C=nc(l.left,D,111551,void 0,void 0,!0,!0);return cq(C==null?void 0:C.valueDeclaration)}function uft(l){if(!l.symbol)return C1(l.left);if(l.symbol.valueDeclaration){const A=h1(l.symbol.valueDeclaration);if(A){const w=Br(A);if(w)return w}}const m=No(l.left,M0);if(!Np(ef(m.expression,!1,!1)))return;const D=Wte(m.expression),C=Y3(m);return C!==void 0&&zb(D,C)||void 0}function lui(l){return!!(Wl(l)&262144&&!l.links.type&&_C(l,0)>=0)}function zb(l,m,D){return hl(l,C=>{var A;if(Qm(C)&&!C.declaration.nameType){const w=sp(C),I=Hh(w)||w,U=D||cf(Qr(m));if(fs(U,I))return zge(C,U)}else if(C.flags&3670016){const w=Uo(C,m);if(w)return lui(w)?void 0:S6(Gn(w),!!(w&&w.flags&16777216));if(Ds(C)&&t3(m)&&+m>=0){const I=Bz(C,C.target.fixedLength,0,!1,!0);if(I)return I}return(A=$Ne(UNe(C),D||cf(Qr(m))))==null?void 0:A.type}},!0)}function rft(l,m){if(H.assert(Np(l)),!(l.flags&67108864))return AMe(l,m)}function AMe(l,m){const D=l.parent,C=Jc(l)&&yMe(l,m);if(C)return C;const A=NC(D,m);if(A){if(eT(l)){const w=_u(l);return zb(A,w.escapedName,Ur(w).nameType)}if(zx(l)){const w=$a(l);if(w&&Ns(w)){const I=ya(w.expression),U=q4(I)&&zb(A,Z4(I));if(U)return U}}if(l.name){const w=O5(l.name);return hl(A,I=>{var U;return(U=$Ne(UNe(I),w))==null?void 0:U.type},!0)}}}function cui(l){let m,D;for(let C=0;C{if(Ds(w)){if((C===void 0||mA)?D-m:0,U=I>0&&w.target.hasRestElement?aW(w.target,3):0;return I>0&&I<=U?I0(w)[R5(w)-I]:Bz(w,C===void 0?w.target.fixedLength:Math.min(w.target.fixedLength,C),D===void 0||A===void 0?U:Math.min(U,D-A),!1,!0)}return(!C||mV5(Z)?Uf(Z,Sg(I)):Z,!0))}function fui(l,m){const D=l.parent;return OU(D)?df(l,m):u3(D)?hui(D,l,m):void 0}function aft(l,m){if(aE(l)){const D=NC(l.parent,m);return!D||nt(D)?void 0:zb(D,PP(l.name))}else return df(l.parent,m)}function Gte(l){switch(l.kind){case 11:case 9:case 10:case 15:case 228:case 112:case 97:case 106:case 80:case 157:return!0;case 211:case 217:return Gte(l.expression);case 294:return!l.expression||Gte(l.expression)}return!1}function mui(l,m){return oni(m,l)||RPe(m,an(Kt(ei(l.properties,D=>D.symbol?D.kind===303?Gte(D.initializer)&&wz(m,D.symbol.escapedName):D.kind===304?wz(m,D.symbol.escapedName):!1:!1),D=>[()=>hie(D.kind===303?D.initializer:D.name),D.symbol.escapedName]),Kt(ei(n0(m),D=>{var C;return!!(D.flags&16777216)&&!!((C=l==null?void 0:l.symbol)!=null&&C.members)&&!l.symbol.members.has(D.escapedName)&&wz(m,D.escapedName)}),D=>[()=>te,D.escapedName])),fs)}function pui(l,m){const D=Ute(FF(l));return RPe(m,an(Kt(ei(l.properties,C=>!!C.symbol&&C.kind===291&&wz(m,C.symbol.escapedName)&&(!C.initializer||Gte(C.initializer))),C=>[C.initializer?()=>hie(C.initializer):()=>du,C.symbol.escapedName]),Kt(ei(n0(m),C=>{var A;if(!(C.flags&16777216)||!((A=l==null?void 0:l.symbol)!=null&&A.members))return!1;const w=l.parent.parent;return C.escapedName===D&&u3(w)&&iB(w.children).length?!1:!l.symbol.members.has(C.escapedName)&&wz(m,C.escapedName)}),C=>[()=>te,C.escapedName])),fs)}function NC(l,m){const D=Np(l)?rft(l,m):df(l,m),C=kEe(D,l,m);if(C&&!(m&&m&2&&C.flags&8650752)){const A=hl(C,w=>Ju(w)&32?w:Kh(w),!0);return A.flags&1048576&&bs(l)?mui(l,A):A.flags&1048576&&V2(l)?pui(l,A):A}}function kEe(l,m,D){if(l&&jl(l,465829888)){const C=Ib(m);if(C&&D&1&&Ge(C.inferences,Zai))return FEe(l,C.nonFixingMapper);if(C!=null&&C.returnMapper){const A=FEe(l,C.returnMapper);return A.flags&1048576&&v6(A.types,Sn)&&v6(A.types,Iu)?zc(A,w=>w!==Sn&&w!==Iu):A}}return l}function FEe(l,m){return l.flags&465829888?_a(l,m):l.flags&1048576?tr(Kt(l.types,D=>FEe(D,m)),0):l.flags&2097152?_s(Kt(l.types,D=>FEe(D,m))):l}function df(l,m){var D;if(l.flags&67108864)return;const C=sft(l,!m);if(C>=0)return Cu[C];const{parent:A}=l;switch(A.kind){case 260:case 169:case 172:case 171:case 208:return eui(l,m);case 219:case 253:return tui(l,m);case 229:return nui(A,m);case 223:return iui(A,m);case 213:case 214:return nft(A,l);case 170:return uui(A);case 216:case 234:return U3(A.type)?df(A,m):Br(A.type);case 226:return aui(l,m);case 303:case 304:return AMe(A,m);case 305:return df(A.parent,m);case 209:{const w=A,I=NC(w,m),U=R8(w.elements,l),Z=(D=or(w)).spreadIndices??(D.spreadIndices=cui(w.elements));return SMe(I,U,w.elements.length,Z.first,Z.last)}case 227:return dui(l,m);case 239:return H.assert(A.parent.kind===228),rui(A.parent,l);case 217:{if(Xn(A)){if(zle(A))return Br(Ile(A));const w=_v(A);if(w&&!U3(w.typeExpression.type))return Br(w.typeExpression.type)}return df(A,m)}case 235:return df(A,m);case 238:return Br(A.type);case 277:return dt(A);case 294:return fui(A,m);case 291:case 293:return aft(A,m);case 286:case 285:return _ui(A,m)}}function oft(l){Jte(l,df(l,void 0),!0)}function Jte(l,m,D){Ar[Eu]=l,Cu[Eu]=m,bu[Eu]=D,Eu++}function vW(){Eu--}function sft(l,m){for(let D=Eu-1;D>=0;D--)if(l===Ar[D]&&(m||!bu[D]))return D;return-1}function gui(l,m){la[a0]=l,m0[a0]=m,a0++}function Eui(){a0--}function Ib(l){for(let m=a0-1;m>=0;m--)if(k2(l,la[m]))return m0[m]}function _ui(l,m){if(rE(l)&&m!==4){const D=sft(l.parent,!m);if(D>=0)return Cu[D]}return FMe(l,0)}function AEe(l,m){return Wft(m)!==0?Dui(l,m):Cui(l,m)}function Dui(l,m){let D=sze(l,on);D=lft(m,FF(m),D);const C=Rb(Im.IntrinsicAttributes,m);return Lt(C)||(D=gte(C,D)),D}function xui(l,m){if(l.compositeSignatures){const C=[];for(const A of l.compositeSignatures){const w=Zs(A);if(nt(w))return w;const I=he(w,m);if(!I)return;C.push(I)}return _s(C)}const D=Zs(l);return nt(D)?D:he(D,m)}function vui(l){if(Y9(l.tagName)){const D=_ft(l),C=REe(l,D);return EF(C)}const m=Ic(l.tagName);if(m.flags&128){const D=Eft(m,l);if(!D)return jt;const C=REe(l,D);return EF(C)}return m}function lft(l,m,D){const C=Hui(m);if(C){const A=vui(l),w=vft(C,Xn(l),A,D);if(w)return w}return D}function Cui(l,m){const D=FF(m),C=Wui(D);let A=C===void 0?sze(l,on):C===""?Zs(l):xui(l,C);if(!A)return C&&S(m.attributes.properties)&&pt(m,F.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,Qr(C)),on;if(A=lft(m,D,A),nt(A))return A;{let w=A;const I=Rb(Im.IntrinsicClassAttributes,m);if(!Lt(I)){const Z=sn(I.symbol),ce=Zs(l);let Fe;if(Z){const Te=D6([ce],Z,C_(Z),Xn(m));Fe=_a(I,Af(Z,Te))}else Fe=I;w=gte(Fe,w)}const U=Rb(Im.IntrinsicAttributes,m);return Lt(U)||(w=gte(U,w)),w}}function bui(l){return U4(ae,"noImplicitAny")?tn(l,(m,D)=>m===D||!m?m:ddt(m.typeParameters,D.typeParameters)?Fui(m,D):void 0):void 0}function yui(l,m,D){if(!l||!m)return l||m;const C=tr([Gn(l),_a(Gn(m),D)]);return xF(l,C)}function kui(l,m,D){const C=vm(l),A=vm(m),w=C>=A?l:m,I=w===l?m:l,U=w===l?C:A,Z=k_(l)||k_(m),ce=Z&&!k_(w),Fe=new Array(U+(ce?1:0));for(let Te=0;Te=AE(w)&&Te>=AE(I),cn=Te>=C?void 0:zz(l,Te),nu=Te>=A?void 0:zz(m,Te),En=cn===nu?cn:cn?nu?void 0:cn:nu,Ri=Vs(1|(Wi&&!fi?16777216:0),En||`arg${Te}`);Ri.links.type=fi?j1(zt):zt,Fe[Te]=Ri}if(ce){const Te=Vs(1,"args");Te.links.type=j1(wg(I,U)),I===m&&(Te.links.type=_a(Te.links.type,D)),Fe[U]=Te}return Fe}function Fui(l,m){const D=l.typeParameters||m.typeParameters;let C;l.typeParameters&&m.typeParameters&&(C=Af(m.typeParameters,l.typeParameters));const A=l.declaration,w=kui(l,m,C),I=yui(l.thisParameter,m.thisParameter,C),U=Math.max(l.minArgumentCount,m.minArgumentCount),Z=b3(A,D,I,w,void 0,void 0,U,(l.flags|m.flags)&167);return Z.compositeKind=2097152,Z.compositeSignatures=an(l.compositeKind===2097152&&l.compositeSignatures||[l],[m]),C&&(Z.mapper=l.compositeKind===2097152&&l.mapper&&l.compositeSignatures?SC(l.mapper,C):C),Z}function BMe(l,m){const D=fo(l,0),C=ei(D,A=>!Aui(A,m));return C.length===1?C[0]:bui(C)}function Aui(l,m){let D=0;for(;DI[ut]&8?C6($e,Qt)||me:$e),2):fe?wn:we,Z))}function dft(l){if(!(Ju(l)&4))return l;let m=l.literalType;return m||(m=l.literalType=zdt(l),m.objectFlags|=147456),m}function Tui(l){switch(l.kind){case 167:return Lui(l);case 80:return t3(l.escapedText);case 9:case 11:return t3(l.text);default:return!1}}function Lui(l){return n1(k3(l),296)}function k3(l){const m=or(l.expression);if(!m.resolvedType){if((hm(l.parent.parent)||gr(l.parent.parent)||Dh(l.parent.parent))&&eu(l.expression)&&l.expression.operatorToken.kind===103&&l.parent.kind!==177&&l.parent.kind!==178)return m.resolvedType=jt;if(m.resolvedType=ya(l.expression),yo(l.parent)&&!Kc(l.parent)&&Qd(l.parent.parent)){const D=ZE(l.parent.parent),C=DMe(D);C&&(or(C).flags|=4096,or(l).flags|=32768,or(l.parent.parent).flags|=32768)}(m.resolvedType.flags&98304||!n1(m.resolvedType,402665900)&&!fs(m.resolvedType,Fn))&&pt(l,F.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return m.resolvedType}function Nui(l){var m;const D=(m=l.declarations)==null?void 0:m[0];return t3(l.escapedName)||D&&fh(D)&&Tui(D.name)}function hft(l){var m;const D=(m=l.declarations)==null?void 0:m[0];return Mj(l)||D&&fh(D)&&Ns(D.name)&&n1(k3(D.name),4096)}function TMe(l,m,D,C){const A=[];for(let I=m;I0&&(U=wb(U,Nn(),l.symbol,fi,Fe),I=[],w=Vo(),cn=!1,nu=!1,En=!1);const hu=Fg(ya(vn.expression,m&2));if($te(hu)){const ro=yPe(hu,Fe);if(A&&mft(ro,A,vn),Ri=I.length,Lt(U))continue;U=wb(U,ro,l.symbol,fi,Fe)}else pt(vn,F.Spread_types_may_only_be_created_from_object_types),U=jt;continue}else H.assert(vn.kind===177||vn.kind===178),Q9(vn);_n&&!(_n.flags&8576)?fs(_n,Fn)&&(fs(_n,Qt)?nu=!0:fs(_n,er)?En=!0:cn=!0,C&&(Wi=!0)):w.set(An.escapedName,An),I.push(An)}if(vW(),ce){const vn=Tn(Z.pattern.parent,_n=>_n.kind===260||_n.kind===226||_n.kind===169);if(Tn(l,_n=>_n===vn||_n.kind===305).kind!==305)for(const _n of n0(Z))!w.get(_n.escapedName)&&!Uo(U,_n.escapedName)&&(_n.flags&16777216||pt(_n.valueDeclaration||((D=rr(_n,UE))==null?void 0:D.links.bindingElement),F.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),w.set(_n.escapedName,_n),I.push(_n))}if(Lt(U))return jt;if(U!==Ko)return I.length>0&&(U=wb(U,Nn(),l.symbol,fi,Fe),I=[],w=Vo(),cn=!1,nu=!1),hl(U,vn=>vn===Ko?Nn():vn);return Nn();function Nn(){const vn=[];cn&&vn.push(TMe(l,Ri,I,ct)),nu&&vn.push(TMe(l,Ri,I,Qt)),En&&vn.push(TMe(l,Ri,I,er));const An=Ol(l.symbol,w,_t,_t,vn);return An.objectFlags|=fi|128|131072,zt&&(An.objectFlags|=4096),Wi&&(An.objectFlags|=512),C&&(An.pattern=l),An}}function $te(l){const m=cht(hl(l,DD));return!!(m.flags&126615553||m.flags&3145728&&ye(m.types,$te))}function Mui(l){MMe(l)}function zui(l,m){return Q9(l),qte(l)||me}function Iui(l){MMe(l.openingElement),Y9(l.closingElement.tagName)?BEe(l.closingElement):ya(l.closingElement.tagName),SEe(l)}function Rui(l,m){return Q9(l),qte(l)||me}function Oui(l){MMe(l.openingFragment);const m=zn(l);return Qq(ae)&&(ae.jsxFactory||m.pragmas.has("jsx"))&&!ae.jsxFragmentFactory&&!m.pragmas.has("jsxfrag")&&pt(l,ae.jsxFactory?F.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:F.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),SEe(l),qte(l)||me}function NMe(l){return l.includes("-")}function Y9(l){return at(l)&&uB(l.escapedText)||mg(l)}function fft(l,m){return l.initializer?Rz(l.initializer,m):du}function jui(l,m=0){const D=l.attributes,C=df(D,0),A=fe?Vo():void 0;let w=Vo(),I=wc,U=!1,Z,ce=!1,Fe=2048;const Te=Ute(FF(l));for(const zt of D.properties){const fi=zt.symbol;if(aE(zt)){const Wi=fft(zt,m);Fe|=Ju(Wi)&458752;const cn=Vs(4|fi.flags,fi.escapedName);if(cn.declarations=fi.declarations,cn.parent=fi.parent,fi.valueDeclaration&&(cn.valueDeclaration=fi.valueDeclaration),cn.links.type=Wi,cn.links.target=fi,w.set(cn.escapedName,cn),A==null||A.set(cn.escapedName,cn),PP(zt.name)===Te&&(ce=!0),C){const nu=Uo(C,fi.escapedName);nu&&nu.declarations&&A5(nu)&&at(zt.name)&&f3(zt.name,nu.declarations,zt.name.escapedText)}if(C&&m&2&&!(m&4)&&y4(zt)){const nu=Ib(D);H.assert(nu);const En=zt.initializer.expression;QPe(nu,En,Wi)}}else{H.assert(zt.kind===293),w.size>0&&(I=wb(I,ut(),D.symbol,Fe,!1),w=Vo());const Wi=Fg(ya(zt.expression,m&2));nt(Wi)&&(U=!0),$te(Wi)?(I=wb(I,Wi,D.symbol,Fe,!1),A&&mft(Wi,A,zt)):(pt(zt.expression,F.Spread_types_may_only_be_created_from_object_types),Z=Z?_s([Z,Wi]):Wi)}}U||w.size>0&&(I=wb(I,ut(),D.symbol,Fe,!1));const $e=l.parent.kind===284?l.parent:void 0;if($e&&$e.openingElement===l&&iB($e.children).length>0){const zt=SEe($e,m);if(!U&&Te&&Te!==""){ce&&pt(D,F._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,Qr(Te));const fi=NC(l.attributes,void 0),Wi=fi&&zb(fi,Te),cn=Vs(4,Te);cn.links.type=zt.length===1?zt[0]:Wi&&bE(Wi,Sz)?Ag(zt):j1(tr(zt)),cn.valueDeclaration=q.createPropertySignature(void 0,Qr(Te),void 0,void 0),ys(cn.valueDeclaration,D),cn.valueDeclaration.symbol=cn;const nu=Vo();nu.set(Te,cn),I=wb(I,Ol(D.symbol,nu,_t,_t,_t),D.symbol,Fe,!1)}}if(U)return me;if(Z&&I!==wc)return _s([Z,I]);return Z||(I===wc?ut():I);function ut(){Fe|=Ze;const zt=Ol(D.symbol,w,_t,_t,_t);return zt.objectFlags|=Fe|128|131072,zt}}function SEe(l,m){const D=[];for(const C of l.children)if(C.kind===12)C.containsOnlyTriviaWhiteSpaces||D.push(ct);else{if(C.kind===294&&!C.expression)continue;D.push(Rz(C,m))}return D}function mft(l,m,D){for(const C of n0(l))if(!(C.flags&16777216)){const A=m.get(C.escapedName);if(A){const w=pt(A.valueDeclaration,F._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,Qr(A.escapedName));gs(w,Su(D,F.This_spread_always_overwrites_this_property))}}}function Vui(l,m){return jui(l.parent,m)}function Rb(l,m){const D=FF(m),C=D&&Jf(D),A=C&&yf(C,l,788968);return A?Z0(A):jt}function BEe(l){const m=or(l);if(!m.resolvedSymbol){const D=Rb(Im.IntrinsicElements,l);if(Lt(D))return Ae&&pt(l,F.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,Qr(Im.IntrinsicElements)),m.resolvedSymbol=Xt;{if(!at(l.tagName)&&!mg(l.tagName))return H.fail();const C=mg(l.tagName)?b7(l.tagName):l.tagName.escapedText,A=Uo(D,C);if(A)return m.jsxFlags|=1,m.resolvedSymbol=A;const w=j4t(D,cf(Qr(C)));return w?(m.jsxFlags|=2,m.resolvedSymbol=w):Re(D,C)?(m.jsxFlags|=2,m.resolvedSymbol=D.symbol):(pt(l,F.Property_0_does_not_exist_on_type_1,Rle(l.tagName),"JSX."+Im.IntrinsicElements),m.resolvedSymbol=Xt)}}return m.resolvedSymbol}function PMe(l){const m=l&&zn(l),D=m&&or(m);if(D&&D.jsxImplicitImportContainer===!1)return;if(D&&D.jsxImplicitImportContainer)return D.jsxImplicitImportContainer;const C=eZ(Xq(ae,m),ae);if(!C)return;const w=m1(ae)===1?F.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:F.Cannot_find_module_0_or_its_corresponding_type_declarations,I=fD(l,C,w,l),U=I&&I!==Xt?Hs(bc(I)):void 0;return D&&(D.jsxImplicitImportContainer=U||!1),U}function FF(l){const m=l&&or(l);if(m&&m.jsxNamespace)return m.jsxNamespace;if(!m||m.jsxNamespace!==!1){let C=PMe(l);if(!C||C===Xt){const A=iC(l);C=nc(l,A,1920,void 0,A,!1)}if(C){const A=bc(yf(Jf(bc(C)),Im.JSX,1920));if(A&&A!==Xt)return m&&(m.jsxNamespace=A),A}m&&(m.jsxNamespace=!1)}const D=bc(vz(Im.JSX,1920,void 0));if(D!==Xt)return D}function pft(l,m){const D=m&&yf(m.exports,l,788968),C=D&&Z0(D),A=C&&n0(C);if(A){if(A.length===0)return"";if(A.length===1)return A[0].escapedName;A.length>1&&D.declarations&&pt(D.declarations[0],F.The_global_type_JSX_0_may_not_have_more_than_one_property,Qr(l))}}function Hui(l){return l&&yf(l.exports,Im.LibraryManagedAttributes,788968)}function Kui(l){return l&&yf(l.exports,Im.ElementType,788968)}function Wui(l){return pft(Im.ElementAttributesPropertyNameContainer,l)}function Ute(l){return pft(Im.ElementChildrenAttributeNameContainer,l)}function gft(l,m){if(l.flags&4)return[hi];if(l.flags&128){const A=Eft(l,m);return A?[REe(m,A)]:(pt(m,F.Property_0_does_not_exist_on_type_1,l.value,"JSX."+Im.IntrinsicElements),_t)}const D=Kh(l);let C=fo(D,1);return C.length===0&&(C=fo(D,0)),C.length===0&&D.flags&1048576&&(C=PNe(Kt(D.types,A=>gft(A,m)))),C}function Eft(l,m){const D=Rb(Im.IntrinsicElements,m);if(!Lt(D)){const C=l.value,A=Uo(D,Al(C));if(A)return Gn(A);const w=CC(D,ct);return w||void 0}return me}function Gui(l,m,D){if(l===1){const A=xft(D);A&&k4(m,A,Gf,D.tagName,F.Its_return_type_0_is_not_a_valid_JSX_element,C)}else if(l===0){const A=Dft(D);A&&k4(m,A,Gf,D.tagName,F.Its_instance_type_0_is_not_a_valid_JSX_element,C)}else{const A=xft(D),w=Dft(D);if(!A||!w)return;const I=tr([A,w]);k4(m,I,Gf,D.tagName,F.Its_element_type_0_is_not_a_valid_JSX_element,C)}function C(){const A=Hc(D.tagName);return no(void 0,F._0_cannot_be_used_as_a_JSX_component,A)}}function _ft(l){var m;H.assert(Y9(l.tagName));const D=or(l);if(!D.resolvedJsxElementAttributesType){const C=BEe(l);if(D.jsxFlags&1)return D.resolvedJsxElementAttributesType=Gn(C)||jt;if(D.jsxFlags&2){const A=mg(l.tagName)?b7(l.tagName):l.tagName.escapedText;return D.resolvedJsxElementAttributesType=((m=K9(Rb(Im.IntrinsicElements,l),A))==null?void 0:m.type)||jt}else return D.resolvedJsxElementAttributesType=jt}return D.resolvedJsxElementAttributesType}function Dft(l){const m=Rb(Im.ElementClass,l);if(!Lt(m))return m}function qte(l){return Rb(Im.Element,l)}function xft(l){const m=qte(l);if(m)return tr([m,it])}function Jui(l){const m=FF(l);if(!m)return;const D=Kui(m);if(!D)return;const C=vft(D,Xn(l));if(!(!C||Lt(C)))return C}function vft(l,m,...D){const C=Z0(l);if(l.flags&524288){const A=Ur(l).typeParameters;if(S(A)>=D.length){const w=D6(D,A,D.length,m);return S(w)===0?C:uT(l,w)}}if(S(C.typeParameters)>=D.length){const A=D6(D,C.typeParameters,D.length,m);return I5(C,A)}}function $ui(l){const m=Rb(Im.IntrinsicElements,l);return m?n0(m):_t}function Uui(l){(ae.jsx||0)===0&&pt(l,F.Cannot_use_JSX_unless_the_jsx_flag_is_provided),qte(l)===void 0&&Ae&&pt(l,F.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function MMe(l){const m=Ph(l);if(m&&Oli(l),Uui(l),!PMe(l)){const D=js&&ae.jsx===2?F.Cannot_find_name_0:void 0,C=iC(l),A=m?l.tagName:l;let w;if(O7(l)&&C==="null"||(w=nc(A,C,111551,D,C,!0)),w&&(w.isReferenced=67108863,Ut&&w.flags&2097152&&!E4(w)&&w5(w)),O7(l)){const I=zn(l),U=Zk(I);U&&nc(A,U,111551,D,U,!0)}}if(m){const D=l,C=hT(D);jEe(C,l);const A=Jui(D);if(A!==void 0){const w=D.tagName,I=Y9(w)?cf(Rle(w)):ya(w);k4(I,A,Gf,w,F.Its_type_0_is_not_a_valid_JSX_element_type,()=>{const U=Hc(w);return no(void 0,F._0_cannot_be_used_as_a_JSX_component,U)})}else Gui(Wft(D),Zs(C),D)}}function zMe(l,m,D){if(l.flags&524288){if(vC(l,m)||K9(l,m)||YK(m)&&y3(l,ct)||D&&NMe(m))return!0}else if(l.flags&3145728&&Zte(l)){for(const C of l.types)if(zMe(C,m,D))return!0}return!1}function Zte(l){return!!(l.flags&524288&&!(Ju(l)&512)||l.flags&67108864||l.flags&1048576&&Ge(l.types,Zte)||l.flags&2097152&&ye(l.types,Zte))}function qui(l,m){if(Vli(l),l.expression){const D=ya(l.expression,m);return l.dotDotDotToken&&D!==me&&!F4(D)&&pt(l,F.JSX_spread_child_must_be_an_array_type),D}else return jt}function IMe(l){return l.valueDeclaration?Hb(l.valueDeclaration):0}function RMe(l){if(l.flags&8192||Wl(l)&4)return!0;if(Xn(l.valueDeclaration)){const m=l.valueDeclaration.parent;return m&&eu(m)&&Ql(m)===3}}function OMe(l,m,D,C,A,w=!0){const I=w?l.kind===166?l.right:l.kind===205?l:l.kind===208&&l.propertyName?l.propertyName:l.name:void 0;return Cft(l,m,D,C,A,I)}function Cft(l,m,D,C,A,w){var I;const U=s4(A,D);if(m){if(Ce<2&&bft(A))return w&&pt(w,F.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(U&64)return w&&pt(w,F.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,Sr(A),gn(Z9(A))),!1;if(!(U&256)&&((I=A.declarations)!=null&&I.some(ebe)))return w&&pt(w,F.Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super,Sr(A)),!1}if(U&64&&bft(A)&&(hj(l)||Xbe(l)||Mp(l.parent)&&cq(l.parent.parent))){const ce=eD(lf(A));if(ce&&R0i(l))return w&&pt(w,F.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,Sr(A),W4(ce.name)),!1}if(!(U&6))return!0;if(U&2){const ce=eD(lf(A));return Hze(l,ce)?!0:(w&&pt(w,F.Property_0_is_private_and_only_accessible_within_class_1,Sr(A),gn(Z9(A))),!1)}if(m)return!0;let Z=R4t(l,ce=>{const Fe=Z0(_u(ce));return eht(Fe,A,D)});return!Z&&(Z=Zui(l),Z=Z&&eht(Z,A,D),U&256||!Z)?(w&&pt(w,F.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,Sr(A),gn(Z9(A)||C)),!1):U&256?!0:(C.flags&262144&&(C=C.isThisType?uh(C):Hh(C)),!C||!j9(C,Z)?(w&&pt(w,F.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,Sr(A),gn(Z),gn(C)),!1):!0)}function Zui(l){const m=Yui(l);let D=(m==null?void 0:m.type)&&Br(m.type);if(D&&D.flags&262144&&(D=uh(D)),D&&Ju(D)&7)return Qw(D)}function Yui(l){const m=ef(l,!1,!1);return m&&xo(m)?S2(m):void 0}function bft(l){return!!Nte(l,m=>!(m.flags&8192))}function cT(l){return yE(ya(l),l)}function Yte(l){return dp(l,50331648)}function jMe(l){return Yte(l)?kD(l):l}function Qui(l,m){const D=Xl(l)?Mf(l):void 0;if(l.kind===106){pt(l,F.The_value_0_cannot_be_used_here,"null");return}if(D!==void 0&&D.length<100){if(at(l)&&D==="undefined"){pt(l,F.The_value_0_cannot_be_used_here,"undefined");return}pt(l,m&16777216?m&33554432?F._0_is_possibly_null_or_undefined:F._0_is_possibly_undefined:F._0_is_possibly_null,D)}else pt(l,m&16777216?m&33554432?F.Object_is_possibly_null_or_undefined:F.Object_is_possibly_undefined:F.Object_is_possibly_null)}function Xui(l,m){pt(l,m&16777216?m&33554432?F.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:F.Cannot_invoke_an_object_which_is_possibly_undefined:F.Cannot_invoke_an_object_which_is_possibly_null)}function yft(l,m,D){if(fe&&l.flags&2){if(Xl(m)){const A=Mf(m);if(A.length<100)return pt(m,F._0_is_of_type_unknown,A),jt}return pt(m,F.Object_is_of_type_unknown),jt}const C=Tz(l,50331648);if(C&50331648){D(m,C);const A=kD(l);return A.flags&229376?jt:A}return l}function yE(l,m){return yft(l,m,Qui)}function kft(l,m){const D=yE(l,m);if(D.flags&16384){if(Xl(m)){const C=Mf(m);if(at(m)&&C==="undefined")return pt(m,F.The_value_0_cannot_be_used_here,C),D;if(C.length<100)return pt(m,F._0_is_possibly_undefined,C),D}pt(m,F.Object_is_possibly_undefined)}return D}function wEe(l,m,D){return l.flags&64?eri(l,m):HMe(l,l.expression,cT(l.expression),l.name,m,D)}function eri(l,m){const D=ya(l.expression),C=mW(D,l.expression);return oEe(HMe(l,l.expression,yE(C,l.expression),l.name,m),l,C!==D)}function Fft(l,m){const D=mq(l)&&w2(l.left)?yE(Wte(l.left),l.left):cT(l.left);return HMe(l,l.left,D,l.right,m)}function Aft(l){for(;l.parent.kind===217;)l=l.parent;return JE(l.parent)&&l.parent.expression===l}function TEe(l,m){for(let D=sq(m);D;D=Zd(D)){const{symbol:C}=D,A=Pj(C,l),w=C.members&&C.members.get(A)||C.exports&&C.exports.get(A);if(w)return w}}function tri(l){if(!Zd(l))return qi(l,F.Private_identifiers_are_not_allowed_outside_class_bodies);if(!sY(l.parent)){if(!q_(l))return qi(l,F.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);const m=eu(l.parent)&&l.parent.operatorToken.kind===103;if(!LEe(l)&&!m)return qi(l,F.Cannot_find_name_0,fu(l))}return!1}function iri(l){tri(l);const m=LEe(l);return m&&Xte(m,void 0,!1),me}function LEe(l){if(!q_(l))return;const m=or(l);return m.resolvedSymbol===void 0&&(m.resolvedSymbol=TEe(l.escapedText,l)),m.resolvedSymbol}function VMe(l,m){return Uo(l,m.escapedName)}function nri(l,m,D){let C;const A=n0(l);A&&L(A,I=>{const U=I.valueDeclaration;if(U&&fh(U)&&ea(U.name)&&U.name.escapedText===m.escapedText)return C=I,!0});const w=Wp(m);if(C){const I=H.checkDefined(C.valueDeclaration),U=H.checkDefined(Zd(I));if(D!=null&&D.valueDeclaration){const Z=D.valueDeclaration,ce=Zd(Z);if(H.assert(!!ce),Tn(ce,Fe=>U===Fe)){const Fe=pt(m,F.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,w,gn(l));return gs(Fe,Su(Z,F.The_shadowing_declaration_of_0_is_defined_here,w),Su(I,F.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,w)),!0}}return pt(m,F.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,w,Wp(U.name||$Y)),!0}return!1}function Sft(l,m){return(hz(m)||hj(l)&&Uw(m))&&ef(l,!0,!1)===qw(m)}function HMe(l,m,D,C,A,w){const I=or(m).resolvedSymbol,U=d7(l),Z=Kh(U!==0||Aft(l)?xm(D):D),ce=nt(Z)||Z===Ra;let Fe;if(ea(C)){Ce<99&&(U!==0&&ud(l,1048576),U!==1&&ud(l,524288));const $e=TEe(C.escapedText,C);if(U&&$e&&$e.valueDeclaration&&cc($e.valueDeclaration)&&qi(C,F.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,fu(C)),ce){if($e)return Lt(Z)?jt:Z;if(sq(C)===void 0)return qi(C,F.Private_identifiers_are_not_allowed_outside_class_bodies),me}if(Fe=$e&&VMe(D,$e),Fe===void 0){if(nri(D,C,$e))return jt;const ut=sq(C);ut&&tj(zn(ut),ae.checkJs)&&qi(C,F.Private_field_0_must_be_declared_in_an_enclosing_class,fu(C))}else Fe.flags&65536&&!(Fe.flags&32768)&&U!==1&&pt(l,F.Private_accessor_was_defined_without_a_getter)}else{if(ce)return at(m)&&I&&CEe(I,l),Lt(Z)?jt:Z;Fe=Uo(Z,C.escapedText,KEe(Z),l.kind===166)}at(m)&&I&&(hg(ae)||!(Fe&&(IW(Fe)||Fe.flags&8&&l.parent.kind===306))||dk(ae)&&$ht(l))&&CEe(I,l);let Te;if(Fe){const $e=Oze(Fe,C);if(A5($e)&&DPe(l,$e)&&$e.declarations&&f3(C,$e.declarations,C.escapedText),uri(Fe,l,C),Xte(Fe,l,Mft(m,I)),or(l).resolvedSymbol=Fe,OMe(l,m.kind===108,E7(l),Z,Fe),Cmt(l,Fe,U))return pt(C,F.Cannot_assign_to_0_because_it_is_a_read_only_property,fu(C)),jt;Te=Sft(l,Fe)?ni:w||Hq(l)?hF(Fe):Gn(Fe)}else{const $e=!ea(C)&&(U===0||!Bb(D)||LP(D))?K9(Z,C.escapedText):void 0;if(!($e&&$e.type)){const ut=KMe(l,D.symbol,!0);return!ut&&oW(D)?me:D.symbol===St?(St.exports.has(C.escapedText)&&St.exports.get(C.escapedText).flags&418?pt(C,F.Property_0_does_not_exist_on_type_1,Qr(C.escapedText),gn(D)):Ae&&pt(C,F.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,gn(D)),me):(C.escapedText&&!Iw(l)&&Tft(C,LP(D)?Z:D,ut),jt)}$e.isReadonly&&(Y_(l)||j0e(l))&&pt(l,F.Index_signature_in_type_0_only_permits_reading,gn(Z)),Te=ae.noUncheckedIndexedAccess&&!Y_(l)?tr([$e.type,de]):$e.type,ae.noPropertyAccessFromIndexSignature&&zu(l)&&pt(C,F.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,Qr(C.escapedText)),$e.declaration&&uC($e.declaration)&&f3(C,[$e.declaration],C.escapedText)}return Bft(l,Fe,Te,C,A)}function KMe(l,m,D){var C;const A=zn(l);if(A&&ae.checkJs===void 0&&A.checkJsDirective===void 0&&(A.scriptKind===1||A.scriptKind===2)){const w=L(m==null?void 0:m.declarations,zn),I=!(m!=null&&m.valueDeclaration)||!gr(m.valueDeclaration)||((C=m.valueDeclaration.heritageClauses)==null?void 0:C.length)||e5(!1,m.valueDeclaration);return!(A!==w&&w&&mE(w))&&!(D&&m&&m.flags&32&&I)&&!(l&&D&&zu(l)&&l.expression.kind===110&&I)}return!1}function Bft(l,m,D,C,A){const w=d7(l);if(w===1)return S6(D,!!(m&&m.flags&16777216));if(m&&!(m.flags&98311)&&!(m.flags&8192&&D.flags&1048576)&&!n_e(m.declarations))return D;if(D===ni)return Zm(l,m);D=_Me(D,l,A);let I=!1;if(fe&&We&&M0(l)&&l.expression.kind===110){const Z=m&&m.valueDeclaration;if(Z&&k4t(Z)&&!Lo(Z)){const ce=xW(l);ce.kind===176&&ce.parent===Z.parent&&!(Z.flags&33554432)&&(I=!0)}}else fe&&m&&m.valueDeclaration&&zu(m.valueDeclaration)&&Cj(m.valueDeclaration)&&xW(l)===xW(m.valueDeclaration)&&(I=!0);const U=B6(l,D,I?A6(D):D);return I&&!kz(D)&&kz(U)?(pt(C,F.Property_0_is_used_before_being_assigned,Sr(m)),D):w?yD(U):U}function uri(l,m,D){const{valueDeclaration:C}=l;if(!C||zn(m).isDeclarationFile)return;let A;const w=fu(D);wft(m)&&!qXt(C)&&!(M0(m)&&M0(m.expression))&&!S5(C,D)&&!(cc(C)&&h_e(C)&256)&&(Se||!rri(l))?A=pt(D,F.Property_0_is_used_before_its_initialization,w):C.kind===263&&m.parent.kind!==183&&!(C.flags&33554432)&&!S5(C,D)&&(A=pt(D,F.Class_0_used_before_its_declaration,w)),A&&gs(A,Su(C,F._0_is_declared_here,w))}function wft(l){return!!Tn(l,m=>{switch(m.kind){case 172:return!0;case 303:case 174:case 177:case 178:case 305:case 167:case 239:case 294:case 291:case 292:case 293:case 286:case 233:case 298:return!1;case 219:case 244:return ho(m.parent)&&zl(m.parent.parent)?!0:"quit";default:return q_(m)?!1:"quit"}})}function rri(l){if(!(l.parent.flags&32))return!1;let m=Gn(l.parent);for(;;){if(m=m.symbol&&ari(m),!m)return!1;const D=Uo(m,l.escapedName);if(D&&D.valueDeclaration)return!0}}function ari(l){const m=Zc(l);if(m.length!==0)return _s(m)}function Tft(l,m,D){let C,A;if(!ea(l)&&m.flags&1048576&&!(m.flags&402784252)){for(const I of m.types)if(!Uo(I,l.escapedText)&&!K9(I,l.escapedText)){C=no(C,F.Property_0_does_not_exist_on_type_1,C0(l),gn(I));break}}if(Lft(l.escapedText,m)){const I=C0(l),U=gn(m);C=no(C,F.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,I,U,U+"."+I)}else{const I=TW(m);if(I&&Uo(I,l.escapedText))C=no(C,F.Property_0_does_not_exist_on_type_1,C0(l),gn(m)),A=Su(l,F.Did_you_forget_to_use_await);else{const U=C0(l),Z=gn(m),ce=lri(U,m);if(ce!==void 0)C=no(C,F.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later,U,Z,ce);else{const Fe=WMe(l,m);if(Fe!==void 0){const Te=sc(Fe),$e=D?F.Property_0_may_not_exist_on_type_1_Did_you_mean_2:F.Property_0_does_not_exist_on_type_1_Did_you_mean_2;C=no(C,$e,U,Z,Te),A=Fe.valueDeclaration&&Su(Fe.valueDeclaration,F._0_is_declared_here,Te)}else{const Te=ori(m)?F.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:F.Property_0_does_not_exist_on_type_1;C=no(GNe(C,m),Te,U,Z)}}}}const w=Z3(zn(l),l,C);A&&gs(w,A),t1(!D||C.code!==F.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,w)}function ori(l){return ae.lib&&!ae.lib.includes("dom")&&Cni(l,m=>m.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(Qr(m.symbol.escapedName)))&&CD(l)}function Lft(l,m){const D=m.symbol&&Uo(Gn(m.symbol),l);return D!==void 0&&!!D.valueDeclaration&&Lo(D.valueDeclaration)}function sri(l){const m=Wp(l),C=gZ().get(m);return C&&Ia(C.keys())}function lri(l,m){const D=Kh(m).symbol;if(!D)return;const C=sc(D),w=gZ().get(C);if(w){for(const[I,U]of w)if(Ft(U,l))return I}}function Nft(l,m){return Qte(l,n0(m),106500)}function WMe(l,m){let D=n0(m);if(typeof l!="string"){const C=l.parent;zu(C)&&(D=ei(D,A=>zft(C,m,A))),l=fu(l)}return Qte(l,D,111551)}function Pft(l,m){const D=Wa(l)?l:fu(l),C=n0(m);return(D==="for"?Le(C,w=>sc(w)==="htmlFor"):D==="class"?Le(C,w=>sc(w)==="className"):void 0)??Qte(D,C,111551)}function GMe(l,m){const D=WMe(l,m);return D&&sc(D)}function JMe(l,m,D){return H.assert(m!==void 0,"outername should always be defined"),bh(l,m,D,void 0,m,!1,!1,!0,(A,w,I)=>{H.assertEqual(m,w,"name should equal outerName");const U=yf(A,w,I);if(U)return U;let Z;return A===Ie?Z=Si(["string","number","boolean","object","bigint","symbol"],Fe=>A.has(Fe.charAt(0).toUpperCase()+Fe.slice(1))?Vs(524288,Fe):void 0).concat(ga(A.values())):Z=ga(A.values()),Qte(Qr(w),Z,I)})}function cri(l,m,D){const C=JMe(l,m,D);return C&&sc(C)}function NEe(l,m){return m.exports&&Qte(fu(l),T5(m),2623475)}function dri(l,m){const D=NEe(l,m);return D&&sc(D)}function hri(l,m,D){function C(I){const U=vC(l,I);if(U){const Z=SF(Gn(U));return!!Z&&AE(Z)>=1&&fs(D,wg(Z,0))}return!1}const A=Y_(m)?"set":"get";if(!C(A))return;let w=Jj(m.expression);return w===void 0?w=A:w+="."+A,w}function fri(l,m){const D=m.types.filter(C=>!!(C.flags&128));return CN(l.value,D,C=>C.value)}function Qte(l,m,D){return CN(l,m,C);function C(A){const w=sc(A);if(!La(w,'"')){if(A.flags&D)return w;if(A.flags&2097152){const I=B9(A);if(I&&I.flags&D)return w}}}}function Xte(l,m,D){const C=l&&l.flags&106500&&l.valueDeclaration;if(!C)return;const A=If(C,2),w=l.valueDeclaration&&fh(l.valueDeclaration)&&ea(l.valueDeclaration.name);if(!(!A&&!w)&&!(m&&Hq(m)&&!(l.flags&65536))){if(D){const I=Tn(m,W0);if(I&&I.symbol===l)return}(Wl(l)&1?Ur(l).target:l).isReferenced=67108863}}function Mft(l,m){return l.kind===110||!!m&&Xl(l)&&m===$p(dm(l))}function mri(l,m){switch(l.kind){case 211:return $Me(l,l.expression.kind===108,m,xm(ya(l.expression)));case 166:return $Me(l,!1,m,xm(ya(l.left)));case 205:return $Me(l,!1,m,Br(l))}}function zft(l,m,D){return UMe(l,l.kind===211&&l.expression.kind===108,!1,m,D)}function $Me(l,m,D,C){if(nt(C))return!0;const A=Uo(C,D);return!!A&&UMe(l,m,!1,C,A)}function UMe(l,m,D,C,A){if(nt(C))return!0;if(A.valueDeclaration&&mh(A.valueDeclaration)){const w=Zd(A.valueDeclaration);return!Z1(l)&&!!Tn(l,I=>I===w)}return Cft(l,m,D,C,A)}function pri(l){const m=l.initializer;if(m.kind===261){const D=m.declarations[0];if(D&&!Ao(D.name))return _u(D)}else if(m.kind===80)return $p(m)}function gri(l){return yh(l).length===1&&!!y3(l,Qt)}function Eri(l){const m=s0(l);if(m.kind===80){const D=$p(m);if(D.flags&3){let C=l,A=l.parent;for(;A;){if(A.kind===249&&C===A.statement&&pri(A)===D&&gri(C1(A.expression)))return!0;C=A,A=A.parent}}}return!1}function _ri(l,m){return l.flags&64?Dri(l,m):Ift(l,cT(l.expression),m)}function Dri(l,m){const D=ya(l.expression),C=mW(D,l.expression);return oEe(Ift(l,yE(C,l.expression),m),l,C!==D)}function Ift(l,m,D){const C=d7(l)!==0||Aft(l)?xm(m):m,A=l.argumentExpression,w=ya(A);if(Lt(C)||C===Ra)return C;if(KEe(C)&&!t0(A))return pt(A,F.A_const_enum_member_can_only_be_accessed_using_a_string_literal),jt;const I=Eri(A)?Qt:w,U=Y_(l)?4|(Bb(C)&&!LP(C)?2:0):32,Z=C6(C,I,U,l)||jt;return Kmt(Bft(l,or(l).resolvedSymbol,Z,A,D),l)}function Rft(l){return JE(l)||Ek(l)||Ph(l)}function AF(l){return Rft(l)&&L(l.typeArguments,ls),l.kind===215?ya(l.template):Ph(l)?ya(l.attributes):eu(l)?ya(l.left):JE(l)&&L(l.arguments,m=>{ya(m)}),hi}function kE(l){return AF(l),fn}function xri(l,m,D){let C,A,w=0,I,U=-1,Z;H.assert(!m.length);for(const ce of l){const Fe=ce.declaration&&_u(ce.declaration),Te=ce.declaration&&ce.declaration.parent;!A||Fe===A?C&&Te===C?I=I+1:(C=Te,I=w):(I=w=m.length,C=Te),A=Fe,Rde(ce)?(U++,Z=U,w++):Z=I,m.splice(Z,0,D?_Xt(ce,D):ce)}}function PEe(l){return!!l&&(l.kind===230||l.kind===237&&l.isSpread)}function MEe(l){return Ue(l,PEe)}function Oft(l){return!!(l.flags&16384)}function vri(l){return!!(l.flags&49155)}function zEe(l,m,D,C=!1){let A,w=!1,I=vm(D),U=AE(D);if(l.kind===215)if(A=m.length,l.template.kind===228){const Z=Cr(l.template.templateSpans);w=Yl(Z.literal)||!!Z.literal.isUnterminated}else{const Z=l.template;H.assert(Z.kind===15),w=!!Z.isUnterminated}else if(l.kind===170)A=Jft(l,D);else if(l.kind===226)A=1;else if(Ph(l)){if(w=l.attributes.end===l.end,w)return!0;A=U===0?m.length:1,I=m.length===0?I:1,U=Math.min(U,1)}else if(l.arguments){A=C?m.length+1:m.length,w=l.arguments.end===l.end;const Z=MEe(m);if(Z>=0)return Z>=AE(D)&&(k_(D)||ZI)return!1;if(w||A>=U)return!0;for(let Z=A;Z=C&&m.length<=D}function SF(l){return bW(l,0,!1)}function jft(l){return bW(l,0,!1)||bW(l,1,!1)}function bW(l,m,D){if(l.flags&524288){const C=kg(l);if(D||C.properties.length===0&&C.indexInfos.length===0){if(m===0&&C.callSignatures.length===1&&C.constructSignatures.length===0)return C.callSignatures[0];if(m===1&&C.constructSignatures.length===1&&C.callSignatures.length===0)return C.constructSignatures[0]}}}function Vft(l,m,D,C){const A=EW(l.typeParameters,l,0,C),w=kW(m),I=D&&(w&&w.flags&262144?D.nonFixingMapper:D.mapper),U=I?oT(m,I):m;return qPe(U,l,(Z,ce)=>{FD(A.inferences,Z,ce)}),D||ZPe(m,l,(Z,ce)=>{FD(A.inferences,Z,ce,128)}),nW(l,lMe(A),Xn(m.declaration))}function Cri(l,m,D,C){const A=AEe(m,l),w=fT(l.attributes,A,C,D);return FD(C.inferences,w,A),lMe(C)}function Hft(l){if(!l)return da;const m=ya(l);return Pye(l)?m:zN(l.parent)?kD(m):Z1(l.parent)?aEe(m):m}function ZMe(l,m,D,C,A){if(Ph(l))return Cri(l,m,C,A);if(l.kind!==170&&l.kind!==226){const Z=ye(m.typeParameters,Fe=>!!gF(Fe)),ce=df(l,Z?8:0);if(ce){const Fe=Zs(m);if(TC(Fe)){const Te=Ib(l);if(!(!Z&&df(l,8)!==ce)){const fi=eMe(Rii(Te,1)),Wi=_a(ce,fi),cn=SF(Wi),nu=cn&&cn.typeParameters?EF(QNe(cn,cn.typeParameters)):Wi;FD(A.inferences,nu,Fe,128)}const ut=EW(m.typeParameters,m,A.flags),zt=_a(ce,Te&&Te.returnMapper);FD(ut.inferences,zt,Fe),A.returnMapper=Ge(ut.inferences,mT)?eMe(Hii(ut)):void 0}}}const w=FW(m),I=w?Math.min(vm(m)-1,D.length):D.length;if(w&&w.flags&262144){const Z=Le(A.inferences,ce=>ce.typeParameter===w);Z&&(Z.impliedArity=Ue(D,PEe,I)<0?D.length-I:void 0)}const U=bC(m);if(U&&TC(U)){const Z=Gft(l);FD(A.inferences,Hft(Z),U)}for(let Z=0;Z=D-1){const Fe=l[D-1];if(PEe(Fe)){const Te=Fe.kind===237?Fe.type:fT(Fe.expression,C,A,w);return V5(Te)?Kft(Te):j1(W5(33,Te,te,Fe.kind===230?Fe.expression:Fe),I)}}const U=[],Z=[],ce=[];for(let Fe=m;Feno(void 0,F.Type_0_does_not_satisfy_the_constraint_1):void 0,Te=C||F.Type_0_does_not_satisfy_the_constraint_1;U||(U=Af(w,I));const $e=I[Z];if(!Fh($e,Dm(_a(ce,U),$e),D?m[Z]:void 0,Te,Fe))return}}return I}function Wft(l){if(Y9(l.tagName))return 2;const m=Kh(ya(l.tagName));return S(fo(m,1))?0:S(fo(m,0))?1:2}function bri(l,m,D,C,A,w,I){const U=AEe(m,l),Z=fT(l.attributes,U,void 0,C),ce=C&4?gW(Z):Z;return Fe()&&NPe(ce,U,D,A?l.tagName:void 0,l.attributes,void 0,w,I);function Fe(){var Te;if(PMe(l))return!0;const $e=(rE(l)||vk(l))&&!(Y9(l.tagName)||mg(l.tagName))?ya(l.tagName):void 0;if(!$e)return!0;const ut=fo($e,0);if(!S(ut))return!0;const zt=Z4t(l);if(!zt)return!0;const fi=z0(zt,111551,!0,!1,l);if(!fi)return!0;const Wi=Gn(fi),cn=fo(Wi,0);if(!S(cn))return!0;let nu=!1,En=0;for(const Nn of cn){const vn=wg(Nn,0),An=fo(vn,0);if(S(An))for(const _n of An){if(nu=!0,k_(_n))return!0;const hu=vm(_n);hu>En&&(En=hu)}}if(!nu)return!0;let Ri=1/0;for(const Nn of ut){const vn=AE(Nn);vn{A.push(w.expression)}),A}if(l.kind===170)return yri(l);if(l.kind===226)return[l.left];if(Ph(l))return l.attributes.properties.length>0||rE(l)&&l.parent.children.length>0?[l.attributes]:_t;const m=l.arguments||_t,D=MEe(m);if(D>=0){const C=m.slice(0,D);for(let A=D;A{var ce;const Fe=I.target.elementFlags[Z],Te=tie(w,Fe&4?j1(U):U,!!(Fe&12),(ce=I.target.labeledElementDeclarations)==null?void 0:ce[Z]);C.push(Te)}):C.push(w)}return C}return m}function yri(l){const m=l.expression,D=cze(l);if(D){const C=[];for(const A of D.parameters){const w=Gn(A);C.push(tie(m,w))}return C}return H.fail()}function Jft(l,m){return ae.experimentalDecorators?kri(l,m):2}function kri(l,m){switch(l.parent.kind){case 263:case 231:return 1;case 172:return Xg(l.parent)?3:2;case 174:case 177:case 178:return Ce===0||m.parameters.length<=2?2:3;case 169:return 3;default:return H.fail()}}function $ft(l,m){let D,C;const A=zn(l);if(zu(l.expression)){const w=D2(A,l.expression.name);D=w.start,C=m?w.length:l.end-D}else{const w=D2(A,l.expression);D=w.start,C=m?w.length:l.end-D}return{start:D,length:C,sourceFile:A}}function iie(l,m,...D){if(Po(l)){const{sourceFile:C,start:A,length:w}=$ft(l);return"message"in m?zd(C,A,w,m,...D):C0e(C,m)}else return"message"in m?Su(l,m,...D):Z3(zn(l),l,m)}function Fri(l){if(!Po(l)||!at(l.expression))return!1;const m=nc(l.expression,l.expression.escapedText,111551,void 0,void 0,!1),D=m==null?void 0:m.valueDeclaration;if(!D||!Qa(D)||!M2(D.parent)||!I2(D.parent.parent)||!at(D.parent.parent.expression))return!1;const C=aPe(!1);return C?Up(D.parent.parent.expression,!0)===C:!1}function Uft(l,m,D,C){var A;const w=MEe(D);if(w>-1)return Su(D[w],F.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);let I=Number.POSITIVE_INFINITY,U=Number.NEGATIVE_INFINITY,Z=Number.NEGATIVE_INFINITY,ce=Number.POSITIVE_INFINITY,Fe;for(const fi of m){const Wi=AE(fi),cn=vm(fi);WiZ&&(Z=Wi),D.lengthA?I=Math.min(I,Z):ce1&&(En=vn($e,d_,zt,Ri)),En||(En=vn($e,Gf,zt,Ri)),En)return En;if(En=Sri(l,$e,ut,!!D,C),or(l).resolvedSignature=En,Fe)if(!w&&ce&&(w=F.The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method),Wi)if(Wi.length===1||Wi.length>3){const An=Wi[Wi.length-1];let _n;Wi.length>3&&(_n=no(_n,F.The_last_overload_gave_the_following_error),_n=no(_n,F.No_overload_matches_this_call)),w&&(_n=no(_n,w));const hu=eie(l,ut,An,Gf,0,!0,()=>_n);if(hu)for(const ro of hu)An.declaration&&Wi.length>3&&gs(ro,Su(An.declaration,F.The_last_overload_is_declared_here)),Nn(An,ro),js.add(ro);else H.fail("No error for last overload signature")}else{const An=[];let _n=0,hu=Number.MAX_VALUE,ro=0,mo=0;for(const dn of Wi){const Zr=eie(l,ut,dn,Gf,0,!0,()=>no(void 0,F.Overload_0_of_1_2_gave_the_following_error,mo+1,$e.length,xE(dn)));Zr?(Zr.length<=hu&&(hu=Zr.length,ro=mo),_n=Math.max(_n,Zr.length),An.push(Zr)):H.fail("No error for 3 or fewer overload signatures"),mo++}const lo=_n>1?An[ro]:Oa(An);H.assert(lo.length>0,"No errors reported for 3 or fewer overload signatures");let ka=no(Kt(lo,Rbe),F.No_overload_matches_this_call);w&&(ka=no(ka,w));const rh=[...Ku(lo,dn=>dn.relatedInformation)];let e4;if(ye(lo,dn=>dn.start===lo[0].start&&dn.length===lo[0].length&&dn.file===lo[0].file)){const{file:dn,start:Wn,length:Zr}=lo[0];e4={file:dn,start:Wn,length:Zr,code:ka.code,category:ka.category,messageText:ka,relatedInformation:rh}}else e4=Z3(zn(l),l,ka,rh);Nn(Wi[0],e4),js.add(e4)}else if(cn)js.add(Uft(l,[cn],ut,w));else if(nu)QMe(nu,l.typeArguments,!0,w);else{const An=ei(m,_n=>qMe(_n,Te));An.length===0?js.add(Ari(l,m,Te,w)):js.add(Uft(l,An,ut,w))}return En;function Nn(An,_n){var hu,ro;const mo=Wi,lo=cn,ka=nu,rh=((ro=(hu=An.declaration)==null?void 0:hu.symbol)==null?void 0:ro.declarations)||_t,dn=rh.length>1?Le(rh,Wn=>W0(Wn)&&j4(Wn.body)):void 0;if(dn){const Wn=lp(dn),Zr=!Wn.typeParameters;vn([Wn],Gf,Zr)&&gs(_n,Su(dn,F.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}Wi=mo,cn=lo,nu=ka}function vn(An,_n,hu,ro=!1){if(Wi=void 0,cn=void 0,nu=void 0,hu){const mo=An[0];if(Ge(Te)||!zEe(l,ut,mo,ro))return;if(eie(l,ut,mo,_n,0,!1,void 0)){Wi=[mo];return}return mo}for(let mo=0;mo0),Q9(l),C||m.length===1||m.some(w=>!!w.typeParameters)?Tri(l,m,D,A):Bri(m)}function Bri(l){const m=Si(l,Z=>Z.thisParameter);let D;m.length&&(D=qft(m,m.map(rie)));const{min:C,max:A}=hke(l,wri),w=[];for(let Z=0;Zeh(Fe)?ZBF(Fe,Z))))}const I=Si(l,Z=>eh(Z)?Cr(Z.parameters):void 0);let U=128;if(I.length!==0){const Z=j1(tr(Si(l,Tdt),2));w.push(Zft(I,Z)),U|=1}return l.some(Rde)&&(U|=2),b3(l[0].declaration,void 0,D,w,_s(l.map(Zs)),void 0,C,U)}function wri(l){const m=l.parameters.length;return eh(l)?m-1:m}function qft(l,m){return Zft(l,tr(m,2))}function Zft(l,m){return xF(Pn(l),m)}function Tri(l,m,D,C){const A=Pri(m,Ni===void 0?D.length:Ni),w=m[A],{typeParameters:I}=w;if(!I)return w;const U=Rft(l)?l.typeArguments:void 0,Z=U?Fge(w,Lri(U,I,Xn(l))):Nri(l,I,w,D,C);return m[A]=Z,Z}function Lri(l,m,D){const C=l.map(X9);for(;C.length>m.length;)C.pop();for(;C.length=m)return A;I>C&&(C=I,D=A)}return D}function Mri(l,m,D){if(l.expression.kind===108){const Z=bMe(l.expression);if(nt(Z)){for(const ce of l.arguments)ya(ce);return hi}if(!Lt(Z)){const ce=Yg(Zd(l));if(ce){const Fe=_0(Z,ce.typeArguments,ce);return dT(l,Fe,m,D,0)}}return AF(l)}let C,A=ya(l.expression);if(Gy(l)){const Z=mW(A,l.expression);C=Z===A?0:IN(l)?16:8,A=Z}else C=0;if(A=yft(A,l.expression,Xui),A===Ra)return uu;const w=Kh(A);if(Lt(w))return kE(l);const I=fo(w,0),U=fo(w,1).length;if(nie(A,w,I.length,U))return!Lt(A)&&l.typeArguments&&pt(l,F.Untyped_function_calls_may_not_accept_type_arguments),AF(l);if(!I.length){if(U)pt(l,F.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,gn(A));else{let Z;if(l.arguments.length===1){const ce=zn(l).text;q1(ce.charCodeAt(ps(ce,l.expression.end,!0)-1))&&(Z=Su(l.expression,F.Are_you_missing_a_semicolon))}eze(l.expression,w,0,Z)}return kE(l)}return D&8&&!l.typeArguments&&I.some(zri)?(Lmt(l,D),Gu):I.some(Z=>Xn(Z.declaration)&&!!zse(Z.declaration))?(pt(l,F.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,gn(A)),kE(l)):dT(l,I,m,D,C)}function zri(l){return!!(l.typeParameters&&Gze(Zs(l)))}function nie(l,m,D,C){return nt(l)||nt(m)&&!!(l.flags&262144)||!D&&!C&&!(m.flags&1048576)&&!(Fg(m).flags&131072)&&fs(l,si)}function Iri(l,m,D){if(l.arguments&&Ce<1){const I=MEe(l.arguments);I>=0&&pt(l.arguments[I],F.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}let C=cT(l.expression);if(C===Ra)return uu;if(C=Kh(C),Lt(C))return kE(l);if(nt(C))return l.typeArguments&&pt(l,F.Untyped_function_calls_may_not_accept_type_arguments),AF(l);const A=fo(C,1);if(A.length){if(!Rri(l,A[0]))return kE(l);if(Yft(A,U=>!!(U.flags&4)))return pt(l,F.Cannot_create_an_instance_of_an_abstract_class),kE(l);const I=C.symbol&&eD(C.symbol);return I&&Qu(I,64)?(pt(l,F.Cannot_create_an_instance_of_an_abstract_class),kE(l)):dT(l,A,m,D,0)}const w=fo(C,0);if(w.length){const I=dT(l,w,m,D,0);return Ae||(I.declaration&&!FE(I.declaration)&&Zs(I)!==da&&pt(l,F.Only_a_void_function_can_be_called_with_the_new_keyword),bC(I)===da&&pt(l,F.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),I}return eze(l.expression,C,1),kE(l)}function Yft(l,m){return ja(l)?Ge(l,D=>Yft(D,m)):l.compositeKind===1048576?Ge(l.compositeSignatures,m):m(l)}function XMe(l,m){const D=Zc(m);if(!S(D))return!1;const C=D[0];if(C.flags&2097152){const A=C.types,w=fdt(A);let I=0;for(const U of C.types){if(!w[I]&&Ju(U)&3&&(U.symbol===l||XMe(l,U)))return!0;I++}return!1}return C.symbol===l?!0:XMe(l,C)}function Rri(l,m){if(!m||!m.declaration)return!0;const D=m.declaration,C=p7(D,6);if(!C||D.kind!==176)return!0;const A=eD(D.parent.symbol),w=Z0(D.parent.symbol);if(!Hze(l,A)){const I=Zd(l);if(I&&C&4){const U=X9(I);if(XMe(D.parent.symbol,U))return!0}return C&2&&pt(l,F.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,gn(w)),C&4&&pt(l,F.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,gn(w)),!1}return!0}function Qft(l,m,D){let C;const A=D===0,w=TF(m),I=w&&fo(w,D).length>0;if(m.flags&1048576){const Z=m.types;let ce=!1;for(const Fe of Z)if(fo(Fe,D).length!==0){if(ce=!0,C)break}else if(C||(C=no(C,A?F.Type_0_has_no_call_signatures:F.Type_0_has_no_construct_signatures,gn(Fe)),C=no(C,A?F.Not_all_constituents_of_type_0_are_callable:F.Not_all_constituents_of_type_0_are_constructable,gn(m))),ce)break;ce||(C=no(void 0,A?F.No_constituent_of_type_0_is_callable:F.No_constituent_of_type_0_is_constructable,gn(m))),C||(C=no(C,A?F.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:F.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,gn(m)))}else C=no(C,A?F.Type_0_has_no_call_signatures:F.Type_0_has_no_construct_signatures,gn(m));let U=A?F.This_expression_is_not_callable:F.This_expression_is_not_constructable;if(Po(l.parent)&&l.parent.arguments.length===0){const{resolvedSymbol:Z}=or(l);Z&&Z.flags&32768&&(U=F.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:no(C,U),relatedMessage:I?F.Did_you_forget_to_use_await:void 0}}function eze(l,m,D,C){const{messageChain:A,relatedMessage:w}=Qft(l,m,D),I=Z3(zn(l),l,A);if(w&&gs(I,Su(l,w)),Po(l.parent)){const{start:U,length:Z}=$ft(l.parent,!0);I.start=U,I.length=Z}js.add(I),Xft(m,D,C?gs(I,C):I)}function Xft(l,m,D){if(!l.symbol)return;const C=Ur(l.symbol).originatingImport;if(C&&!cm(C)){const A=fo(Gn(Ur(l.symbol).target),m);if(!A||!A.length)return;gs(D,Su(C,F.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}function Ori(l,m,D){const C=ya(l.tag),A=Kh(C);if(Lt(A))return kE(l);const w=fo(A,0),I=fo(A,1).length;if(nie(C,A,w.length,I))return AF(l);if(!w.length){if(_h(l.parent)){const U=Su(l.tag,F.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);return js.add(U),kE(l)}return eze(l.tag,A,0),kE(l)}return dT(l,w,m,D,0)}function jri(l){switch(l.parent.kind){case 263:case 231:return F.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 169:return F.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 172:return F.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 174:case 177:case 178:return F.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return H.fail()}}function Vri(l,m,D){const C=ya(l.expression),A=Kh(C);if(Lt(A))return kE(l);const w=fo(A,0),I=fo(A,1).length;if(nie(C,A,w.length,I))return AF(l);if(Wri(l,w)&&!vf(l.expression)){const Z=Hc(l.expression,!1);return pt(l,F._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,Z),kE(l)}const U=jri(l);if(!w.length){const Z=Qft(l.expression,A,0),ce=no(Z.messageChain,U),Fe=Z3(zn(l.expression),l.expression,ce);return Z.relatedMessage&&gs(Fe,Su(l.expression,Z.relatedMessage)),js.add(Fe),Xft(A,0,Fe),kE(l)}return dT(l,w,m,D,0,U)}function REe(l,m){const D=FF(l),C=D&&Jf(D),A=C&&yf(C,Im.Element,788968),w=A&&Yt.symbolToEntityName(A,788968,l),I=q.createFunctionTypeNode(void 0,[q.createParameterDeclaration(void 0,void 0,"props",void 0,Yt.typeToTypeNode(m,l))],w?q.createTypeReferenceNode(w,void 0):q.createKeywordTypeNode(133)),U=Vs(1,"props");return U.links.type=m,b3(I,void 0,void 0,[U],A?Z0(A):jt,void 0,1,0)}function Hri(l,m,D){if(Y9(l.tagName)){const I=_ft(l),U=REe(l,I);return F6(fT(l.attributes,AEe(U,l),void 0,0),I,l.tagName,l.attributes),S(l.typeArguments)&&(L(l.typeArguments,ls),js.add(j8(zn(l),l.typeArguments,F.Expected_0_type_arguments_but_got_1,0,S(l.typeArguments)))),U}const C=ya(l.tagName),A=Kh(C);if(Lt(A))return kE(l);const w=gft(C,l);return nie(C,A,w.length,0)?AF(l):w.length===0?(pt(l.tagName,F.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,Hc(l.tagName)),kE(l)):dT(l,w,m,D,0)}function Kri(l,m,D){const C=ya(l.right);if(!nt(C)){const A=mze(C);if(A){const w=Kh(A);if(Lt(w))return kE(l);const I=fo(w,0),U=fo(w,1);if(nie(A,w,I.length,U.length))return AF(l);if(I.length)return dT(l,I,m,D,0)}else if(!(a_e(C)||k6(C,si)))return pt(l.right,F.The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method),kE(l)}return hi}function Wri(l,m){return m.length&&ye(m,D=>D.minArgumentCount===0&&!eh(D)&&D.parameters.length1?Ic(l.arguments[1]):void 0;for(let w=2;w{const I=xm(A);Uge(w,I)||J1t(A,w,D,F.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first)})}function Xri(l){const m=ya(l.expression),D=mW(m,l.expression);return oEe(kD(D),l,D!==m)}function eai(l){return l.flags&64?Xri(l):kD(ya(l.expression))}function amt(l){if(X4t(l),L(l.typeArguments,ls),l.kind===233){const D=t5(l.parent);D.kind===226&&D.operatorToken.kind===104&&k2(l,D.right)&&pt(l,F.The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression)}const m=l.kind===233?ya(l.expression):w2(l.exprName)?Wte(l.exprName):ya(l.exprName);return omt(m,l)}function omt(l,m){const D=m.typeArguments;if(l===Ra||Lt(l)||!Ge(D))return l;let C=!1,A;const w=U(l),I=C?A:l;return I&&js.add(j8(zn(m),D,F.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable,gn(I))),w;function U(ce){let Fe=!1,Te=!1;const $e=ut(ce);return C||(C=Te),Fe&&!Te&&(A??(A=ce)),$e;function ut(zt){if(zt.flags&524288){const fi=kg(zt),Wi=Z(fi.callSignatures),cn=Z(fi.constructSignatures);if(Fe||(Fe=fi.callSignatures.length!==0||fi.constructSignatures.length!==0),Te||(Te=Wi.length!==0||cn.length!==0),Wi!==fi.callSignatures||cn!==fi.constructSignatures){const nu=Ol(void 0,fi.members,Wi,cn,fi.indexInfos);return nu.objectFlags|=8388608,nu.node=m,nu}}else if(zt.flags&58982400){const fi=Hh(zt);if(fi){const Wi=ut(fi);if(Wi!==fi)return Wi}}else{if(zt.flags&1048576)return hl(zt,U);if(zt.flags&2097152)return _s(Pu(zt.types,ut))}return zt}}function Z(ce){const Fe=ei(ce,Te=>!!Te.typeParameters&&qMe(Te,D));return Pu(Fe,Te=>{const $e=QMe(Te,D,!0);return $e?nW(Te,$e,Xn(Te.declaration)):Te})}}function tai(l){return ls(l.type),uze(l.expression,l.type)}function uze(l,m,D){const C=ya(l,D),A=Br(m);if(Lt(A))return A;const w=Tn(m.parent,I=>I.kind===238||I.kind===357);return F6(C,A,w,l,F.Type_0_does_not_satisfy_the_expected_type_1),C}function iai(l){return Yli(l),l.keywordToken===105?rze(l):l.keywordToken===102?nai(l):H.assertNever(l.keywordToken)}function smt(l){switch(l.keywordToken){case 102:return $dt();case 105:const m=rze(l);return Lt(m)?jt:xai(m);default:H.assertNever(l.keywordToken)}}function rze(l){const m=Qbe(l);if(m)if(m.kind===176){const D=_u(m.parent);return Gn(D)}else{const D=_u(m);return Gn(D)}else return pt(l,F.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),jt}function nai(l){ne===100||ne===199?zn(l).impliedNodeFormat!==99&&pt(l,F.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):ne<6&&ne!==4&&pt(l,F.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);const m=zn(l);return H.assert(!!(m.flags&8388608),"Containing file is missing import meta node flag."),l.name.escapedText==="meta"?Jdt():jt}function rie(l){const m=l.valueDeclaration;return Od(Gn(l),!1,!!m&&(Lx(m)||NP(m)))}function aze(l,m,D="arg"){return l?(H.assert(at(l.name)),l.name.escapedText):`${D}_${m}`}function zz(l,m,D){const C=l.parameters.length-(eh(l)?1:0);if(m=C-1)return m===C-1?w:j1(Uf(w,Qt));const I=[],U=[],Z=[];for(let ce=m;ce!(Z&1)),U=I<0?w.target.fixedLength:I;U>0&&(A=l.parameters.length-1+U)}}if(A===void 0){if(!D&&l.flags&32)return 0;A=l.minArgumentCount}if(C)return A;for(let w=A-1;w>=0;w--){const I=wg(l,w);if(zc(I,Oft).flags&131072)break;A=w}l.resolvedMinArgumentCount=A}return l.resolvedMinArgumentCount}function k_(l){if(eh(l)){const m=Gn(l.parameters[l.parameters.length-1]);return!Ds(m)||m.target.hasRestElement}return!1}function kW(l){if(eh(l)){const m=Gn(l.parameters[l.parameters.length-1]);if(!Ds(m))return m;if(m.target.hasRestElement)return Cz(m,m.target.fixedLength)}}function FW(l){const m=kW(l);return m&&!F4(m)&&!nt(m)?m:void 0}function oze(l){return sze(l,Wu)}function sze(l,m){return l.parameters.length>0?wg(l,0):m}function dmt(l,m,D){const C=l.parameters.length-(eh(l)?1:0);for(let A=0;A=0);const w=dc(C.parent)?Gn(_u(C.parent.parent)):H4t(C.parent),I=dc(C.parent)?te:K4t(C.parent),U=Sg(A),Z=Cg("target",w),ce=Cg("propertyKey",I),Fe=Cg("parameterIndex",U);D.decoratorSignature=NW(void 0,void 0,[Z,ce,Fe],da);break}case 174:case 177:case 178:case 172:{const C=m;if(!gr(C.parent))break;const A=H4t(C),w=Cg("target",A),I=K4t(C),U=Cg("propertyKey",I),Z=yo(C)?da:e1t(X9(C));if(Ce!==0&&(!yo(m)||Xg(m))){const Fe=e1t(X9(C)),Te=Cg("descriptor",Fe);D.decoratorSignature=NW(void 0,void 0,[w,U,Te],tr([Z,da]))}else D.decoratorSignature=NW(void 0,void 0,[w,U],tr([Z,da]));break}}return D.decoratorSignature===hi?void 0:D.decoratorSignature}function cze(l){return ve?Dai(l):_ai(l)}function oie(l){const m=Cte(!0);return m!==Va?(l=K5(jz(l))||on,I5(m,[l])):on}function mmt(l){const m=Ydt(!0);return m!==Va?(l=K5(jz(l))||on,I5(m,[l])):on}function sie(l,m){const D=oie(m);return D===on?(pt(l,cm(l)?F.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:F.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),jt):(aPe(!0)||pt(l,cm(l)?F.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:F.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option),D)}function xai(l){const m=Vs(0,"NewTargetExpression"),D=Vs(4,"target",8);D.parent=m,D.links.type=l;const C=Vo([D]);return m.members=C,Ol(m,C,_t,_t,_t)}function VEe(l,m){if(!l.body)return jt;const D=yd(l),C=(D&2)!==0,A=(D&1)!==0;let w,I,U,Z=da;if(l.body.kind!==241)w=Ic(l.body,m&&m&-9),C&&(w=jz(LW(w,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(A){const ce=xmt(l,m);ce?ce.length>0&&(w=tr(ce,2)):Z=Wu;const{yieldTypes:Fe,nextTypes:Te}=vai(l,m);I=Ge(Fe)?tr(Fe,2):void 0,U=Ge(Te)?_s(Te):void 0}else{const ce=xmt(l,m);if(!ce)return D&2?sie(l,Wu):Wu;if(ce.length===0){const Fe=bEe(l,void 0),Te=Fe&&(Die(Fe,D)||da).flags&32768?te:da;return D&2?sie(l,Te):Te}w=tr(ce,2)}if(w||I||U){if(I&&dEe(l,I,3),w&&dEe(l,w,1),U&&dEe(l,U,2),w&&Bg(w)||I&&Bg(I)||U&&Bg(U)){const ce=wMe(l),Fe=ce?ce===lp(l)?A?void 0:w:kEe(Zs(ce),l,void 0):void 0;A?(I=$Pe(I,Fe,0,C),w=$Pe(w,Fe,1,C),U=$Pe(U,Fe,2,C)):w=Fii(w,Fe,C)}I&&(I=xm(I)),w&&(w=xm(w)),U&&(U=xm(U))}return A?pmt(I||Wu,w||Z,U||ift(2,l)||on,C):C?oie(w||Z):w||Z}function pmt(l,m,D,C){const A=C?S0:nd,w=A.getGlobalGeneratorType(!1);if(l=A.resolveIterationType(l,void 0)||on,m=A.resolveIterationType(m,void 0)||on,D=A.resolveIterationType(D,void 0)||on,w===Va){const I=A.getGlobalIterableIteratorType(!1),U=I!==Va?o4t(I,A):void 0,Z=U?U.returnType:me,ce=U?U.nextType:te;return fs(m,Z)&&fs(ce,D)?I!==Va?rW(I,[l]):(A.getGlobalIterableIteratorType(!0),Ko):(A.getGlobalGeneratorType(!0),Ko)}return rW(w,[l,m,D])}function vai(l,m){const D=[],C=[],A=(yd(l)&2)!==0;return Vbe(l.body,w=>{const I=w.expression?ya(w.expression,m):we;xa(D,gmt(w,I,me,A));let U;if(w.asteriskToken){const Z=XEe(I,A?19:17,w.expression);U=Z&&Z.nextType}else U=df(w,void 0);U&&xa(C,U)}),{yieldTypes:D,nextTypes:C}}function gmt(l,m,D,C){const A=l.expression||l,w=l.asteriskToken?W5(C?19:17,m,D,A):m;return C?TF(w,A,l.asteriskToken?F.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:F.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):w}function Emt(l,m,D){let C=0;for(let A=0;A=m?D[A]:void 0;C|=w!==void 0?jde.get(w)||32768:0}return C}function _mt(l){const m=or(l);if(m.isExhaustive===void 0){m.isExhaustive=0;const D=Cai(l);m.isExhaustive===0&&(m.isExhaustive=D)}else m.isExhaustive===0&&(m.isExhaustive=!1);return m.isExhaustive}function Cai(l){if(l.expression.kind===221){const C=Iht(l);if(!C)return!1;const A=DD(Ic(l.expression.expression)),w=Emt(0,0,C);return A.flags&3?(556800&w)===556800:!bE(A,I=>Tz(I,w)===w)}const m=Ic(l.expression);if(!fW(m))return!1;const D=gEe(l);return!D.length||Ge(D,bii)?!1:xni(hl(m,Wh),D)}function Dmt(l){return l.endFlowNode&&Hte(l.endFlowNode)}function xmt(l,m){const D=yd(l),C=[];let A=Dmt(l),w=!1;if(v2(l.body,I=>{let U=I.expression;if(U){if(U=s0(U,!0),D&2&&U.kind===223&&(U=s0(U.expression,!0)),U.kind===213&&U.expression.kind===80&&Ic(U.expression).symbol===l.symbol){w=!0;return}let Z=Ic(U,m&&m&-9);D&2&&(Z=jz(LW(Z,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),Z.flags&131072&&(w=!0),xa(C,Z)}else A=!0}),!(C.length===0&&!A&&(w||bai(l))))return fe&&C.length&&A&&!(FE(l)&&C.some(I=>I.symbol===l.symbol))&&xa(C,te),C}function bai(l){switch(l.kind){case 218:case 219:return!0;case 174:return l.parent.kind===210;default:return!1}}function dze(l,m){s(D);return;function D(){const C=yd(l),A=m&&Die(m,C);if(A&&(jl(A,16384)||A.flags&32769)||l.kind===173||Yl(l.body)||l.body.kind!==241||!Dmt(l))return;const w=l.flags&1024,I=J4(l)||l;if(A&&A.flags&131072)pt(I,F.A_function_returning_never_cannot_have_a_reachable_end_point);else if(A&&!w)pt(I,F.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value);else if(A&&fe&&!fs(te,A))pt(I,F.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(ae.noImplicitReturns){if(!A){if(!w)return;const U=Zs(lp(l));if(p4t(l,U))return}pt(I,F.Not_all_code_paths_return_a_value)}}}function vmt(l,m){if(H.assert(l.kind!==174||Np(l)),Q9(l),A0(l)&&Vz(l,l.name),m&&m&4&&y4(l)){if(!J4(l)&&!lZ(l)){const C=CW(l);if(C&&TC(Zs(C))){const A=or(l);if(A.contextFreeType)return A.contextFreeType;const w=VEe(l,m),I=b3(void 0,void 0,void 0,_t,w,void 0,0,64),U=Ol(l.symbol,se,[I],_t,_t);return U.objectFlags|=262144,A.contextFreeType=U}}return Oi}return!c_e(l)&&l.kind===218&&Uze(l),yai(l,m),Gn(_u(l))}function yai(l,m){const D=or(l);if(!(D.flags&64)){const C=CW(l);if(!(D.flags&64)){D.flags|=64;const A=Ki(fo(Gn(_u(l)),0));if(!A)return;if(y4(l))if(C){const w=Ib(l);let I;if(m&&m&2){dmt(A,C,w);const U=kW(C);U&&U.flags&262144&&(I=oT(C,w.nonFixingMapper))}I||(I=w?oT(C,w.mapper):C),aai(A,I)}else oai(A);else if(C&&!l.typeParameters&&C.parameters.length>l.parameters.length){const w=Ib(l);m&&m&2&&dmt(A,C,w)}if(C&&!iT(l)&&!A.resolvedReturnType){const w=VEe(l,m);A.resolvedReturnType||(A.resolvedReturnType=w)}BW(l)}}}function kai(l){H.assert(l.kind!==174||Np(l));const m=yd(l),D=iT(l);if(dze(l,D),l.body)if(J4(l)||Zs(lp(l)),l.body.kind===241)ls(l.body);else{const C=ya(l.body),A=D&&Die(D,m);if(A)if((m&3)===2){const w=LW(C,!1,l.body,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);F6(w,A,l.body,l.body)}else F6(C,A,l.body,l.body)}}function HEe(l,m,D,C=!1){if(!fs(m,Ua)){const A=C&&Oz(m);return Ch(l,!!A&&fs(A,Ua),D),!1}return!0}function Fai(l){if(!Po(l)||!nk(l))return!1;const m=Ic(l.arguments[2]);if(he(m,"value")){const A=Uo(m,"writable"),w=A&&Gn(A);if(!w||w===Ui||w===Sn)return!0;if(A&&A.valueDeclaration&&Jc(A.valueDeclaration)){const I=A.valueDeclaration.initializer,U=ya(I);if(U===Ui||U===Sn)return!0}return!1}return!Uo(m,"set")}function Tg(l){return!!(Wl(l)&8||l.flags&4&&s4(l)&8||l.flags&3&&IMe(l)&6||l.flags&98304&&!(l.flags&65536)||l.flags&8||Ge(l.declarations,Fai))}function Cmt(l,m,D){var C,A;if(D===0)return!1;if(Tg(m)){if(m.flags&4&&M0(l)&&l.expression.kind===110){const w=Lm(l);if(!(w&&(w.kind===176||FE(w))))return!0;if(m.valueDeclaration){const I=eu(m.valueDeclaration),U=w.parent===m.valueDeclaration.parent,Z=w===m.valueDeclaration.parent,ce=I&&((C=m.parent)==null?void 0:C.valueDeclaration)===w.parent,Fe=I&&((A=m.parent)==null?void 0:A.valueDeclaration)===w;return!(U||Z||ce||Fe)}}return!0}if(M0(l)){const w=s0(l.expression);if(w.kind===80){const I=or(w).resolvedSymbol;if(I.flags&2097152){const U=np(I);return!!U&&U.kind===274}}}return!1}function AW(l,m,D){const C=_c(l,7);return C.kind!==80&&!M0(C)?(pt(l,m),!1):C.flags&64?(pt(l,D),!1):!0}function Aai(l){ya(l.expression);const m=s0(l.expression);if(!M0(m))return pt(m,F.The_operand_of_a_delete_operator_must_be_a_property_reference),Er;zu(m)&&ea(m.name)&&pt(m,F.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);const D=or(m),C=ap(D.resolvedSymbol);return C&&(Tg(C)?pt(m,F.The_operand_of_a_delete_operator_cannot_be_a_read_only_property):Sai(m,C)),Er}function Sai(l,m){const D=Gn(m);fe&&!(D.flags&131075)&&!(je?m.flags&16777216:dp(D,16777216))&&pt(l,F.The_operand_of_a_delete_operator_must_be_optional)}function Bai(l){return ya(l.expression),Tw}function wai(l){return Q9(l),we}function bmt(l){let m=!1;const D=oq(l);if(D&&zl(D)){const C=Wx(l)?F.await_expression_cannot_be_used_inside_a_class_static_block:F.await_using_statements_cannot_be_used_inside_a_class_static_block;pt(l,C),m=!0}else if(!(l.flags&65536))if(lq(l)){const C=zn(l);if(!jb(C)){let A;if(!a7(C,ae)){A??(A=YE(C,l.pos));const w=Wx(l)?F.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:F.await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module,I=zd(C,A.start,A.length,w);js.add(I),m=!0}switch(ne){case 100:case 199:if(C.impliedNodeFormat===1){A??(A=YE(C,l.pos)),js.add(zd(C,A.start,A.length,F.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)),m=!0;break}case 7:case 99:case 4:if(Ce>=4)break;default:A??(A=YE(C,l.pos));const w=Wx(l)?F.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:F.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher;js.add(zd(C,A.start,A.length,w)),m=!0;break}}}else{const C=zn(l);if(!jb(C)){const A=YE(C,l.pos),w=Wx(l)?F.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:F.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules,I=zd(C,A.start,A.length,w);if(D&&D.kind!==176&&!(yd(D)&2)){const U=Su(D,F.Did_you_mean_to_mark_this_function_as_async);gs(I,U)}js.add(I),m=!0}}return Wx(l)&&kMe(l)&&(pt(l,F.await_expressions_cannot_be_used_in_a_parameter_initializer),m=!0),m}function Tai(l){s(()=>bmt(l));const m=ya(l.expression),D=LW(m,!0,l,F.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return D===m&&!Lt(D)&&!(m.flags&3)&&t1(!1,Su(l,F.await_has_no_effect_on_the_type_of_this_expression)),D}function Lai(l){const m=ya(l.operand);if(m===Ra)return Ra;switch(l.operand.kind){case 9:switch(l.operator){case 41:return U9(Sg(-l.operand.text));case 40:return U9(Sg(+l.operand.text))}break;case 10:if(l.operator===41)return U9(Oge({negative:!0,base10Value:AP(l.operand.text)}))}switch(l.operator){case 40:case 41:case 55:return yE(m,l.operand),lie(m,12288)&&pt(l.operand,F.The_0_operator_cannot_be_applied_to_type_symbol,$o(l.operator)),l.operator===40?(lie(m,2112)&&pt(l.operand,F.Operator_0_cannot_be_applied_to_type_1,$o(l.operator),gn(yD(m))),Qt):hze(m);case 54:Bze(m,l.operand);const D=Tz(m,12582912);return D===4194304?Ui:D===8388608?du:Er;case 46:case 47:return HEe(l.operand,yE(m,l.operand),F.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&AW(l.operand,F.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,F.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),hze(m)}return jt}function Nai(l){const m=ya(l.operand);return m===Ra?Ra:(HEe(l.operand,yE(m,l.operand),F.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&AW(l.operand,F.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,F.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),hze(m))}function hze(l){return jl(l,2112)?n1(l,3)||jl(l,296)?Ua:Ti:Qt}function lie(l,m){if(jl(l,m))return!0;const D=DD(l);return!!D&&jl(D,m)}function jl(l,m){if(l.flags&m)return!0;if(l.flags&3145728){const D=l.types;for(const C of D)if(jl(C,m))return!0}return!1}function n1(l,m,D){return l.flags&m?!0:D&&l.flags&114691?!1:!!(m&296)&&fs(l,Qt)||!!(m&2112)&&fs(l,Ti)||!!(m&402653316)&&fs(l,ct)||!!(m&528)&&fs(l,Er)||!!(m&16384)&&fs(l,da)||!!(m&131072)&&fs(l,Wu)||!!(m&65536)&&fs(l,it)||!!(m&32768)&&fs(l,te)||!!(m&4096)&&fs(l,er)||!!(m&67108864)&&fs(l,as)}function cie(l,m,D){return l.flags&1048576?ye(l.types,C=>cie(C,m,D)):n1(l,m,D)}function KEe(l){return!!(Ju(l)&16)&&!!l.symbol&&fze(l.symbol)}function fze(l){return(l.flags&128)!==0}function mze(l){const m=l4t("hasInstance"),D=vC(l,m);if(D){const C=Gn(D);if(C&&fo(C,0).length!==0)return C}}function Pai(l,m,D,C,A){if(D===Ra||C===Ra)return Ra;!nt(D)&&cie(D,402784252)&&pt(l,F.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),H.assert(Rq(l.parent));const w=hT(l.parent,void 0,A);if(w===Gu)return Ra;const I=Zs(w);return Fh(I,Er,m,F.An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression),Er}function Mai(l){return bE(l,m=>m===Il||!!(m.flags&2097152)&&bD(DD(m)))}function zai(l,m,D,C){if(D===Ra||C===Ra)return Ra;if(ea(l)){if(Ce<99&&ud(l,2097152),!or(l).resolvedSymbol&&Zd(l)){const A=KMe(l,C.symbol,!0);Tft(l,C,A)}}else Fh(yE(D,l),Fn,l);return Fh(yE(C,m),as,m)&&Mai(C)&&pt(m,F.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,gn(C)),Er}function Iai(l,m,D){const C=l.properties;if(fe&&C.length===0)return yE(m,l);for(let A=0;ACz(ce,D)):j1(C);return wF(U,Z,A)}}}}function wF(l,m,D,C){let A;if(l.kind===304){const w=l;w.objectAssignmentInitializer&&(fe&&!dp(ya(w.objectAssignmentInitializer),16777216)&&(m=hp(m,524288)),Hai(w.name,w.equalsToken,w.objectAssignmentInitializer,D)),A=l.name}else A=l;return A.kind===226&&A.operatorToken.kind===64&&(Ke(A,D),A=A.left,fe&&(m=hp(m,524288))),A.kind===210?Iai(A,m,C):A.kind===209?Rai(A,m,D):Oai(A,m,D)}function Oai(l,m,D){const C=ya(l,D),A=l.parent.kind===305?F.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:F.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,w=l.parent.kind===305?F.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:F.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;return AW(l,A,w)&&F6(m,C,l,l),B8(l)&&ud(l.parent,1048576),m}function die(l){switch(l=s0(l),l.kind){case 80:case 11:case 14:case 215:case 228:case 15:case 9:case 10:case 112:case 97:case 106:case 157:case 218:case 231:case 219:case 209:case 210:case 221:case 235:case 285:case 284:return!0;case 227:return die(l.whenTrue)&&die(l.whenFalse);case 226:return n5(l.operatorToken.kind)?!1:die(l.left)&&die(l.right);case 224:case 225:switch(l.operator){case 54:case 40:case 41:case 55:return!0}return!1;case 222:case 216:case 234:default:return!1}}function pze(l,m){return(m.flags&98304)!==0||Uge(l,m)}function jai(){const l=vY(m,D,C,A,w,I);return($e,ut)=>{const zt=l($e,ut);return H.assertIsDefined(zt),zt};function m($e,ut,zt){return ut?(ut.stackIndex++,ut.skip=!1,ce(ut,void 0),Te(ut,void 0)):ut={checkMode:zt,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},Xn($e)&&o7($e)?(ut.skip=!0,Te(ut,ya($e.right,zt)),ut):(Vai($e),$e.operatorToken.kind===64&&($e.left.kind===210||$e.left.kind===209)&&(ut.skip=!0,Te(ut,wF($e.left,ya($e.right,zt),zt,$e.right.kind===110))),ut)}function D($e,ut,zt){if(!ut.skip)return U(ut,$e)}function C($e,ut,zt){if(!ut.skip){const fi=Fe(ut);H.assertIsDefined(fi),ce(ut,fi),Te(ut,void 0);const Wi=$e.kind;if(Hj(Wi)){let cn=zt.parent;for(;cn.kind===217||Kj(cn);)cn=cn.parent;(Wi===56||_k(cn))&&Sze(zt.left,fi,_k(cn)?cn.thenStatement:void 0),Bze(fi,zt.left)}}}function A($e,ut,zt){if(!ut.skip)return U(ut,$e)}function w($e,ut){let zt;if(ut.skip)zt=Fe(ut);else{const fi=Z(ut);H.assertIsDefined(fi);const Wi=Fe(ut);H.assertIsDefined(Wi),zt=Fmt($e.left,$e.operatorToken,$e.right,fi,Wi,ut.checkMode,$e)}return ut.skip=!1,ce(ut,void 0),Te(ut,void 0),ut.stackIndex--,zt}function I($e,ut,zt){return Te($e,ut),$e}function U($e,ut){if(eu(ut))return ut;Te($e,ya(ut,$e.checkMode))}function Z($e){return $e.typeStack[$e.stackIndex]}function ce($e,ut){$e.typeStack[$e.stackIndex]=ut}function Fe($e){return $e.typeStack[$e.stackIndex+1]}function Te($e,ut){$e.typeStack[$e.stackIndex+1]=ut}}function Vai(l){const{left:m,operatorToken:D,right:C}=l;D.kind===61&&(eu(m)&&(m.operatorToken.kind===57||m.operatorToken.kind===56)&&qi(m,F._0_and_1_operations_cannot_be_mixed_without_parentheses,$o(m.operatorToken.kind),$o(D.kind)),eu(C)&&(C.operatorToken.kind===57||C.operatorToken.kind===56)&&qi(C,F._0_and_1_operations_cannot_be_mixed_without_parentheses,$o(C.operatorToken.kind),$o(D.kind)))}function Hai(l,m,D,C,A){const w=m.kind;if(w===64&&(l.kind===210||l.kind===209))return wF(l,ya(D,C),C,D.kind===110);let I;Hj(w)?I=Hz(l,C):I=ya(l,C);const U=ya(D,C);return Fmt(l,m,D,I,U,C,A)}function Fmt(l,m,D,C,A,w,I){const U=m.kind;switch(U){case 42:case 43:case 67:case 68:case 44:case 69:case 45:case 70:case 41:case 66:case 48:case 71:case 49:case 72:case 50:case 73:case 52:case 75:case 53:case 79:case 51:case 74:if(C===Ra||A===Ra)return Ra;C=yE(C,l),A=yE(A,D);let Ri;if(C.flags&528&&A.flags&528&&(Ri=$e(m.kind))!==void 0)return pt(I||m,F.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,$o(m.kind),$o(Ri)),Qt;{const An=HEe(l,C,F.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),_n=HEe(D,A,F.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);let hu;if(n1(C,3)&&n1(A,3)||!(jl(C,2112)||jl(A,2112)))hu=Qt;else if(Z(C,A)){switch(U){case 50:case 73:Wi();break;case 43:case 68:Ce<3&&pt(I,F.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}hu=Ti}else Wi(Z),hu=jt;return An&&_n&&ut(hu),hu}case 40:case 65:if(C===Ra||A===Ra)return Ra;!n1(C,402653316)&&!n1(A,402653316)&&(C=yE(C,l),A=yE(A,D));let Nn;return n1(C,296,!0)&&n1(A,296,!0)?Nn=Qt:n1(C,2112,!0)&&n1(A,2112,!0)?Nn=Ti:n1(C,402653316,!0)||n1(A,402653316,!0)?Nn=ct:(nt(C)||nt(A))&&(Nn=Lt(C)||Lt(A)?jt:me),Nn&&!Te(U)?Nn:Nn?(U===65&&ut(Nn),Nn):(Wi((_n,hu)=>n1(_n,402655727)&&n1(hu,402655727)),me);case 30:case 32:case 33:case 34:return Te(U)&&(C=GPe(yE(C,l)),A=GPe(yE(A,D)),fi((An,_n)=>{if(nt(An)||nt(_n))return!0;const hu=fs(An,Ua),ro=fs(_n,Ua);return hu&&ro||!hu&&!ro&&Bte(An,_n)})),Er;case 35:case 36:case 37:case 38:if(!(w&&w&64)){if((Jse(l)||Jse(D))&&(!Xn(l)||U===37||U===38)){const An=U===35||U===37;pt(I,F.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,An?"false":"true")}nu(I,U,l,D),fi((An,_n)=>pze(An,_n)||pze(_n,An))}return Er;case 104:return Pai(l,D,C,A,w);case 103:return zai(l,D,C,A);case 56:case 77:{const An=dp(C,4194304)?tr([Bii(fe?C:yD(A)),A]):C;return U===77&&ut(A),An}case 57:case 76:{const An=dp(C,8388608)?tr([kD(cht(C)),A],2):C;return U===76&&ut(A),An}case 61:case 78:{const An=dp(C,262144)?tr([kD(C),A],2):C;return U===78&&ut(A),An}case 64:const vn=eu(l.parent)?Ql(l.parent):0;return ce(vn,A),zt(vn)?((!(A.flags&524288)||vn!==2&&vn!==6&&!CD(A)&&!fMe(A)&&!(Ju(A)&1))&&ut(A),C):(ut(A),A);case 28:if(!ae.allowUnreachableCode&&die(l)&&!Fe(l.parent)){const An=zn(l),_n=An.text,hu=ps(_n,l.pos);An.parseDiagnostics.some(mo=>mo.code!==F.JSX_expressions_must_have_one_parent_element.code?!1:Lse(mo,hu))||pt(l,F.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return A;default:return H.fail()}function Z(Ri,Nn){return n1(Ri,2112)&&n1(Nn,2112)}function ce(Ri,Nn){if(Ri===2)for(const vn of _6(Nn)){const An=Gn(vn);if(An.symbol&&An.symbol.flags&32){const _n=vn.escapedName,hu=nc(vn.valueDeclaration,_n,788968,void 0,_n,!1);hu!=null&&hu.declarations&&hu.declarations.some(LB)&&(bg(hu,F.Duplicate_identifier_0,Qr(_n),vn),bg(vn,F.Duplicate_identifier_0,Qr(_n),hu))}}}function Fe(Ri){return Ri.parent.kind===217&&Rf(Ri.left)&&Ri.left.text==="0"&&(Po(Ri.parent.parent)&&Ri.parent.parent.expression===Ri.parent||Ri.parent.parent.kind===215)&&(M0(Ri.right)||at(Ri.right)&&Ri.right.escapedText==="eval")}function Te(Ri){const Nn=lie(C,12288)?l:lie(A,12288)?D:void 0;return Nn?(pt(Nn,F.The_0_operator_cannot_be_applied_to_type_symbol,$o(Ri)),!1):!0}function $e(Ri){switch(Ri){case 52:case 75:return 57;case 53:case 79:return 38;case 51:case 74:return 56;default:return}}function ut(Ri){n5(U)&&s(Nn);function Nn(){let vn=C;if(fM(m.kind)&&l.kind===211&&(vn=wEe(l,void 0,!0)),AW(l,F.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,F.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)){let An;if(je&&zu(l)&&jl(Ri,32768)){const _n=he(C1(l.expression),l.name.escapedText);Zge(Ri,_n)&&(An=F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)}F6(Ri,vn,l,D,An)}}}function zt(Ri){var Nn;switch(Ri){case 2:return!0;case 1:case 5:case 6:case 3:case 4:const vn=_m(l),An=o7(D);return!!An&&bs(An)&&!!((Nn=vn==null?void 0:vn.exports)!=null&&Nn.size);default:return!1}}function fi(Ri){return Ri(C,A)?!1:(Wi(Ri),!0)}function Wi(Ri){let Nn=!1;const vn=I||m;if(Ri){const mo=K5(C),lo=K5(A);Nn=!(mo===C&&lo===A)&&!!(mo&&lo)&&Ri(mo,lo)}let An=C,_n=A;!Nn&&Ri&&([An,_n]=Kai(C,A,Ri));const[hu,ro]=d6(An,_n);cn(vn,Nn,hu,ro)||Ch(vn,Nn,F.Operator_0_cannot_be_applied_to_types_1_and_2,$o(m.kind),hu,ro)}function cn(Ri,Nn,vn,An){switch(m.kind){case 37:case 35:case 38:case 36:return Ch(Ri,Nn,F.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,vn,An);default:return}}function nu(Ri,Nn,vn,An){const _n=En(s0(vn)),hu=En(s0(An));if(_n||hu){const ro=pt(Ri,F.This_condition_will_always_return_0,$o(Nn===37||Nn===35?97:112));if(_n&&hu)return;const mo=Nn===38||Nn===36?$o(54):"",lo=_n?An:vn,ka=s0(lo);gs(ro,Su(lo,F.Did_you_mean_0,`${mo}Number.isNaN(${Xl(ka)?Mf(ka):"..."})`))}}function En(Ri){if(at(Ri)&&Ri.escapedText==="NaN"){const Nn=Mei();return!!Nn&&Nn===$p(Ri)}return!1}}function Kai(l,m,D){let C=l,A=m;const w=yD(l),I=yD(m);return D(w,I)||(C=w,A=I),[C,A]}function Wai(l){s($e);const m=Lm(l);if(!m)return me;const D=yd(m);if(!(D&1))return me;const C=(D&2)!==0;l.asteriskToken&&(C&&Ce<99&&ud(l,26624),!C&&Ce<2&&ae.downlevelIteration&&ud(l,256));let A=iT(m);A&&A.flags&1048576&&(A=zc(A,ut=>Dze(ut,D,void 0)));const w=A&&m4t(A,C),I=w&&w.yieldType||me,U=w&&w.nextType||me,Z=C?TF(U)||me:U,ce=l.expression?ya(l.expression):we,Fe=gmt(l,ce,Z,C);if(A&&Fe&&F6(Fe,I,l.expression||l,l.expression),l.asteriskToken)return Tze(C?19:17,1,ce,l.expression)||me;if(A)return Ob(2,A,C)||me;let Te=ift(2,m);return Te||(Te=me,s(()=>{if(Ae&&!Eke(l)){const ut=df(l,void 0);(!ut||nt(ut))&&pt(l,F.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}})),Te;function $e(){l.flags&16384||u1(l,F.A_yield_expression_is_only_allowed_in_a_generator_body),kMe(l)&&pt(l,F.yield_expressions_cannot_be_used_in_a_parameter_initializer)}}function Gai(l,m){const D=Hz(l.condition,m);Sze(l.condition,D,l.whenTrue);const C=ya(l.whenTrue,m),A=ya(l.whenFalse,m);return tr([C,A],2)}function Amt(l){const m=l.parent;return vf(m)&&Amt(m)||G0(m)&&m.argumentExpression===l}function Jai(l){const m=[l.head.text],D=[];for(const A of l.templateSpans){const w=ya(A.expression);lie(w,12288)&&pt(A.expression,F.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),m.push(A.literal.text),D.push(fs(w,l0)?w:ct)}if(Iz(l)||Amt(l)||bE(df(l,void 0)||on,$ai))return _F(m,D);const C=l.parent.kind!==215&&B4t(l);return C?U9(cf(C)):ct}function $ai(l){return!!(l.flags&134217856||l.flags&58982400&&jl(Hh(l)||on,402653316))}function Uai(l){return V2(l)&&!vk(l.parent)?l.parent.parent:l}function fT(l,m,D,C){const A=Uai(l);Jte(A,m,!1),gui(A,D);const w=ya(l,C|1|(D?2:0));D&&D.intraExpressionInferenceSites&&(D.intraExpressionInferenceSites=void 0);const I=jl(w,2944)&&WEe(w,kEe(m,l,void 0))?Wh(w):w;return Eui(),vW(),I}function Ic(l,m){if(m)return ya(l,m);const D=or(l);if(!D.resolvedType){const C=Xe,A=bn;Xe=Dt,bn=void 0,D.resolvedType=ya(l,m),bn=A,Xe=C}return D.resolvedType}function Smt(l){return l=s0(l,!0),l.kind===216||l.kind===234||eM(l)}function SW(l,m,D){const C=Ej(l);if(Xn(l)){const w=hZ(l);if(w)return uze(C,w,m)}const A=_ze(C)||(D?fT(C,D,void 0,m||0):Ic(C,m));return Qa(l)&&l.name.kind===207&&Ds(A)&&!A.target.hasRestElement&&R5(A)WEe(l,C))}if(m.flags&58982400){const D=Hh(m)||on;return jl(D,4)&&jl(l,128)||jl(D,8)&&jl(l,256)||jl(D,64)&&jl(l,2048)||jl(D,4096)&&jl(l,8192)||WEe(l,D)}return!!(m.flags&406847616&&jl(l,128)||m.flags&256&&jl(l,256)||m.flags&2048&&jl(l,2048)||m.flags&512&&jl(l,512)||m.flags&8192&&jl(l,8192))}return!1}function Iz(l){const m=l.parent;return qy(m)&&U3(m.type)||eM(m)&&U3(EY(m))||nze(l)&&H9(df(l,0))||(vf(m)||_h(m)||nE(m))&&Iz(m)||(Jc(m)||mm(m)||UP(m))&&Iz(m.parent)}function Rz(l,m,D){const C=ya(l,m,D);return Iz(l)||Wbe(l)?Wh(C):Smt(l)?C:JPe(C,kEe(df(l,void 0),l,void 0))}function Bmt(l,m){return l.name.kind===167&&k3(l.name),Rz(l.initializer,m)}function wmt(l,m){ipt(l),l.name.kind===167&&k3(l.name);const D=vmt(l,m);return Tmt(l,D,m)}function Tmt(l,m,D){if(D&&D&10){const C=bW(m,0,!0),A=bW(m,1,!0),w=C||A;if(w&&w.typeParameters){const I=NC(l,2);if(I){const U=bW(kD(I),C?0:1,!1);if(U&&!U.typeParameters){if(D&8)return Lmt(l,D),Oi;const Z=Ib(l),ce=Z.signature&&Zs(Z.signature),Fe=ce&&jft(ce);if(Fe&&!Fe.typeParameters&&!ye(Z.inferences,mT)){const Te=Xai(Z,w.typeParameters),$e=QNe(w,Te),ut=Kt(Z.inferences,zt=>XPe(zt.typeParameter));if(qPe($e,U,(zt,fi)=>{FD(ut,zt,fi,0,!0)}),Ge(ut,mT)&&(ZPe($e,U,(zt,fi)=>{FD(ut,zt,fi)}),!Yai(Z.inferences,ut)))return Qai(Z.inferences,ut),Z.inferredTypeParameters=an(Z.inferredTypeParameters,Te),EF($e)}return EF(Vft(w,U,Z))}}}}return m}function Lmt(l,m){if(m&2){const D=Ib(l);D.flags|=4}}function mT(l){return!!(l.candidates||l.contraCandidates)}function Zai(l){return!!(l.candidates||l.contraCandidates||Cdt(l.typeParameter))}function Yai(l,m){for(let D=0;DD.symbol.escapedName===m)}function eoi(l,m){let D=m.length;for(;D>1&&m.charCodeAt(D-1)>=48&&m.charCodeAt(D-1)<=57;)D--;const C=m.slice(0,D);for(let A=1;;A++){const w=C+A;if(!Eze(l,w))return w}}function Nmt(l){const m=SF(l);if(m&&!m.typeParameters)return Zs(m)}function toi(l){const m=ya(l.expression),D=mW(m,l.expression),C=Nmt(m);return C&&oEe(C,l,D!==m)}function C1(l){const m=_ze(l);if(m)return m;if(l.flags&268435456&&bn){const A=bn[$s(l)];if(A)return A}const D=Qi,C=ya(l,64);if(Qi!==D){const A=bn||(bn=[]);A[$s(l)]=C,gke(l,l.flags|268435456)}return C}function _ze(l){let m=s0(l,!0);if(eM(m)){const D=EY(m);if(!U3(D))return Br(D)}if(m=s0(l),Wx(m)){const D=_ze(m.expression);return D?TF(D):void 0}if(Po(m)&&m.expression.kind!==108&&!Df(m,!0)&&!emt(m))return Gy(m)?toi(m):Nmt(cT(m.expression));if(qy(m)&&!U3(m.type))return Br(m.type);if(m2(l)||VN(l))return ya(l)}function hie(l){const m=or(l);if(m.contextFreeType)return m.contextFreeType;Jte(l,me,!1);const D=m.contextFreeType=ya(l,4);return vW(),D}function ya(l,m,D){var C,A;(C=Jn)==null||C.push(Jn.Phase.Check,"checkExpression",{kind:l.kind,pos:l.pos,end:l.end,path:l.tracingPath});const w=K;K=l,z=0;const I=uoi(l,m,D),U=Tmt(l,I,m);return KEe(U)&&ioi(l,U),K=w,(A=Jn)==null||A.pop(),U}function ioi(l,m){l.parent.kind===211&&l.parent.expression===l||l.parent.kind===212&&l.parent.expression===l||(l.kind===80||l.kind===166)&&u_e(l)||l.parent.kind===186&&l.parent.exprName===l||l.parent.kind===281||pt(l,F.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query),hg(ae)&&(H.assert(!!(m.symbol.flags&128)),m.symbol.valueDeclaration.flags&33554432&&!Bv(l)&&pt(l,F.Cannot_access_ambient_const_enums_when_0_is_enabled,ht))}function noi(l,m){if(sm(l)){if(zle(l))return uze(l.expression,Ile(l),m);if(eM(l))return umt(l,m)}return ya(l.expression,m)}function uoi(l,m,D){const C=l.kind;if(d)switch(C){case 231:case 218:case 219:d.throwIfCancellationRequested()}switch(C){case 80:return Oni(l,m);case 81:return iri(l);case 110:return Wte(l);case 108:return bMe(l);case 106:return Ct;case 15:case 11:return uMe(l)?mt:U9(cf(l.text));case 9:return Qze(l),U9(Sg(+l.text));case 10:return rci(l),U9(Oge({negative:!1,base10Value:AP(l.text)}));case 112:return du;case 97:return Ui;case 228:return Jai(l);case 14:return Tl;case 209:return cft(l,m,D);case 210:return Pui(l,m);case 211:return wEe(l,m);case 166:return Fft(l,m);case 212:return _ri(l,m);case 213:if(l.expression.kind===102)return qri(l);case 214:return Uri(l,m);case 215:return Zri(l);case 217:return noi(l,m);case 231:return Gsi(l);case 218:case 219:return vmt(l,m);case 221:return Bai(l);case 216:case 234:return Yri(l,m);case 235:return eai(l);case 233:return amt(l);case 238:return tai(l);case 236:return iai(l);case 220:return Aai(l);case 222:return wai(l);case 223:return Tai(l);case 224:return Lai(l);case 225:return Nai(l);case 226:return Ke(l,m);case 227:return Gai(l,m);case 230:return Sui(l,m);case 232:return we;case 229:return Wai(l);case 237:return Bui(l);case 294:return qui(l,m);case 284:return Rui(l);case 285:return zui(l);case 288:return Oui(l);case 292:return Vui(l,m);case 286:H.fail("Shouldn't ever directly check a JsxOpeningElement")}return jt}function Pmt(l){A3(l),l.expression&&u1(l.expression,F.Type_expected),ls(l.constraint),ls(l.default);const m=mF(_u(l));Hh(m),VXt(m)||pt(l.default,F.Type_parameter_0_has_a_circular_default,gn(m));const D=uh(m),C=gF(m);D&&C&&Fh(C,Dm(_a(D,Lb(m,C)),C),l.default,F.Type_0_does_not_satisfy_the_constraint_1),Q9(l),s(()=>Kz(l.name,F.Type_parameter_name_cannot_be_0))}function roi(l){var m,D;if(Dh(l.parent)||gr(l.parent)||Ip(l.parent)){const C=mF(_u(l)),A=jPe(C)&24576;if(A){const w=_u(l.parent);if(Ip(l.parent)&&!(Ju(Z0(w))&48))pt(l,F.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);else if(A===8192||A===16384){(m=Jn)==null||m.push(Jn.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:kh(Z0(w)),id:kh(C)});const I=Lte(w,C,A===16384?tt:$),U=Lte(w,C,A===16384?$:tt),Z=C;Y=C,Fh(I,U,l,F.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),Y=Z,(D=Jn)==null||D.pop()}}}}function Mmt(l){A3(l),Eie(l);const m=Lm(l);Qu(l,31)&&(m.kind===176&&j4(m.body)||pt(l,F.A_parameter_property_is_only_allowed_in_a_constructor_implementation),m.kind===176&&at(l.name)&&l.name.escapedText==="constructor"&&pt(l.name,F.constructor_cannot_be_used_as_a_parameter_property_name)),!l.initializer&&NP(l)&&Ao(l.name)&&m.body&&pt(l,F.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),l.name&&at(l.name)&&(l.name.escapedText==="this"||l.name.escapedText==="new")&&(m.parameters.indexOf(l)!==0&&pt(l,F.A_0_parameter_must_be_the_first_parameter,l.name.escapedText),(m.kind===176||m.kind===180||m.kind===185)&&pt(l,F.A_constructor_cannot_have_a_this_parameter),m.kind===219&&pt(l,F.An_arrow_function_cannot_have_a_this_parameter),(m.kind===177||m.kind===178)&&pt(l,F.get_and_set_accessors_cannot_declare_this_parameters)),l.dotDotDotToken&&!Ao(l.name)&&!fs(Fg(Gn(l.symbol)),ep)&&pt(l,F.A_rest_parameter_must_be_of_an_array_type)}function aoi(l){const m=ooi(l);if(!m){pt(l,F.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}const D=lp(m),C=b4(D);if(!C)return;ls(l.type);const{parameterName:A}=l;if(C.kind===0||C.kind===2)jge(A);else if(C.parameterIndex>=0){if(eh(D)&&C.parameterIndex===D.parameters.length-1)pt(A,F.A_type_predicate_cannot_reference_a_rest_parameter);else if(C.type){const w=()=>no(void 0,F.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);Fh(C.type,Gn(D.parameters[C.parameterIndex]),l.type,void 0,w)}}else if(A){let w=!1;for(const{name:I}of m.parameters)if(Ao(I)&&zmt(I,A,C.parameterName)){w=!0;break}w||pt(l.parameterName,F.Cannot_find_parameter_0,C.parameterName)}}function ooi(l){switch(l.parent.kind){case 219:case 179:case 262:case 218:case 184:case 174:case 173:const m=l.parent;if(l===m.type)return m}}function zmt(l,m,D){for(const C of l.elements){if(kd(C))continue;const A=C.name;if(A.kind===80&&A.escapedText===D)return pt(m,F.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,D),!0;if((A.kind===207||A.kind===206)&&zmt(A,m,D))return!0}}function BW(l){l.kind===181?Nli(l):(l.kind===184||l.kind===262||l.kind===185||l.kind===179||l.kind===176||l.kind===180)&&c_e(l);const m=yd(l);m&4||((m&3)===3&&Ce<99&&ud(l,6144),(m&3)===2&&Ce<4&&ud(l,64),m&3&&Ce<2&&ud(l,128)),xie(Ax(l)),Hsi(l),L(l.parameters,Mmt),l.type&&ls(l.type),s(D);function D(){rsi(l);let C=J4(l),A=C;if(Xn(l)){const w=_v(l);if(w&&w.typeExpression&&Y4(w.typeExpression.type)){const I=SF(Br(w.typeExpression));I&&I.declaration&&(C=J4(I.declaration),A=w.typeExpression.type)}}if(Ae&&!C)switch(l.kind){case 180:pt(l,F.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 179:pt(l,F.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break}if(C&&A){const w=yd(l);if((w&5)===1){const I=Br(C);I===da?pt(A,F.A_generator_cannot_have_a_void_type_annotation):Dze(I,w,A)}else(w&3)===2&&Roi(l,C,A)}l.kind!==181&&l.kind!==324&&w6(l)}}function Dze(l,m,D){const C=Ob(0,l,(m&2)!==0)||me,A=Ob(1,l,(m&2)!==0)||C,w=Ob(2,l,(m&2)!==0)||on,I=pmt(C,A,w,!!(m&2));return Fh(I,l,D)}function soi(l){const m=new Map,D=new Map,C=new Map;for(const w of l.members)if(w.kind===176)for(const I of w.parameters)Pf(I,w)&&!Ao(I.name)&&A(m,I.name,I.name.escapedText,3);else{const I=Lo(w),U=w.name;if(!U)continue;const Z=ea(U),ce=Z&&I?16:0,Fe=Z?C:I?D:m,Te=U&&Xze(U);if(Te)switch(w.kind){case 177:A(Fe,U,Te,1|ce);break;case 178:A(Fe,U,Te,2|ce);break;case 172:A(Fe,U,Te,3|ce);break;case 174:A(Fe,U,Te,8|ce);break}}function A(w,I,U,Z){const ce=w.get(U);if(ce)if((ce&16)!==(Z&16))pt(I,F.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,Hc(I));else{const Fe=!!(ce&8),Te=!!(Z&8);Fe||Te?Fe!==Te&&pt(I,F.Duplicate_identifier_0,Hc(I)):ce&Z&-17?pt(I,F.Duplicate_identifier_0,Hc(I)):w.set(U,ce|Z)}else w.set(U,Z)}}function loi(l){for(const m of l.members){const D=m.name;if(Lo(m)&&D){const A=Xze(D);switch(A){case"name":case"length":case"caller":case"arguments":if(Se)break;case"prototype":const w=F.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,I=E_(_u(l));pt(D,w,A,I);break}}}}function Imt(l){const m=new Map;for(const D of l.members)if(D.kind===171){let C;const A=D.name;switch(A.kind){case 11:case 9:C=A.text;break;case 80:C=fu(A);break;default:continue}m.get(C)?(pt($a(D.symbol.valueDeclaration),F.Duplicate_identifier_0,C),pt(D.name,F.Duplicate_identifier_0,C)):m.set(C,!0)}}function xze(l){if(l.kind===264){const D=_u(l);if(D.declarations&&D.declarations.length>0&&D.declarations[0]!==l)return}const m=Ldt(_u(l));if(m!=null&&m.declarations){const D=new Map;for(const C of m.declarations)C.parameters.length===1&&C.parameters[0].type&&yF(Br(C.parameters[0].type),A=>{const w=D.get(kh(A));w?w.declarations.push(C):D.set(kh(A),{type:A,declarations:[C]})});D.forEach(C=>{if(C.declarations.length>1)for(const A of C.declarations)pt(A,F.Duplicate_index_signature_for_type_0,gn(C.type))})}}function Rmt(l){!A3(l)&&!tci(l)&&d_e(l.name),Eie(l),vze(l),Qu(l,64)&&l.kind===172&&l.initializer&&pt(l,F.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,C0(l.name))}function coi(l){return ea(l.name)&&pt(l,F.Private_identifiers_are_not_allowed_outside_class_bodies),Rmt(l)}function doi(l){ipt(l)||d_e(l.name),cc(l)&&l.asteriskToken&&at(l.name)&&fu(l.name)==="constructor"&&pt(l.name,F.Class_constructor_may_not_be_a_generator),Ymt(l),Qu(l,64)&&l.kind===174&&l.body&&pt(l,F.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,C0(l.name)),ea(l.name)&&!Zd(l)&&pt(l,F.Private_identifiers_are_not_allowed_outside_class_bodies),vze(l)}function vze(l){if(ea(l.name)&&Ce<99){for(let m=ZE(l);m;m=ZE(m))or(m).flags|=1048576;if(Qd(l.parent)){const m=DMe(l.parent);m&&(or(l.name).flags|=32768,or(m).flags|=4096)}}}function hoi(l){A3(l),uo(l,ls)}function foi(l){BW(l),Xli(l)||eci(l),ls(l.body);const m=_u(l),D=Sl(m,l.kind);if(l===D&&$Ee(m),Yl(l.body))return;s(A);return;function C(w){return mh(w)?!0:w.kind===172&&!Lo(w)&&!!w.initializer}function A(){const w=l.parent;if(F2(w)){xMe(l.parent,w);const I=vMe(w),U=Uht(l.body);if(U){if(I&&pt(U,F.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),!Ne&&(Ge(l.parent.members,C)||Ge(l.parameters,ce=>Qu(ce,31))))if(!moi(U,l.body))pt(U,F.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers);else{let ce;for(const Fe of l.body.statements){if(Id(Fe)&&ek(_c(Fe.expression))){ce=Fe;break}if(Omt(Fe))break}ce===void 0&&pt(l,F.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else I||pt(l,F.Constructors_for_derived_classes_must_contain_a_super_call)}}}function moi(l,m){const D=t5(l.parent);return Id(D)&&D.parent===m}function Omt(l){return l.kind===108||l.kind===110?!0:Ybe(l)?!1:!!uo(l,Omt)}function jmt(l){at(l.name)&&fu(l.name)==="constructor"&&gr(l.parent)&&pt(l.name,F.Class_constructor_may_not_be_an_accessor),s(m),ls(l.body),vze(l);function m(){if(!c_e(l)&&!Hli(l)&&d_e(l.name),mie(l),BW(l),l.kind===177&&!(l.flags&33554432)&&j4(l.body)&&l.flags&512&&(l.flags&1024||pt(l.name,F.A_get_accessor_must_return_a_value)),l.name.kind===167&&k3(l.name),eT(l)){const C=_u(l),A=Sl(C,177),w=Sl(C,178);if(A&&w&&!(ET(A)&1)){or(A).flags|=1;const I=gh(A),U=gh(w);(I&64)!==(U&64)&&(pt(A.name,F.Accessors_must_both_be_abstract_or_non_abstract),pt(w.name,F.Accessors_must_both_be_abstract_or_non_abstract)),(I&4&&!(U&6)||I&2&&!(U&2))&&(pt(A.name,F.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),pt(w.name,F.A_get_accessor_must_be_at_least_as_accessible_as_the_setter))}}const D=DC(_u(l));l.kind===177&&dze(l,D)}}function poi(l){mie(l)}function goi(l,m,D){return l.typeArguments&&D{const C=Cze(l);C&&Vmt(l,C)});const D=or(l).resolvedSymbol;D&&Ge(D.declarations,C=>mB(C)&&!!(C.flags&536870912))&&f3(uie(l),D.declarations,D.escapedName)}}function _oi(l){const m=rr(l.parent,KU);if(!m)return;const D=Cze(m);if(!D)return;const C=uh(D[m.typeArguments.indexOf(l)]);return C&&_a(C,Af(D,GEe(m,D)))}function Doi(l){Kdt(l)}function xoi(l){L(l.members,ls),s(m);function m(){const D=w1t(l);e_e(D,D.symbol),xze(l),Imt(l)}}function voi(l){ls(l.elementType)}function Coi(l){const m=l.elements;let D=!1,C=!1;for(const A of m){const w=lPe(A);if(w&8){const I=Br(A.type);if(!V5(I)){pt(A,F.A_rest_element_type_must_be_an_array_type);break}(F4(I)||Ds(I)&&I.target.combinedFlags&4)&&(C=!0)}else if(w&4){if(C){qi(A,F.A_rest_element_cannot_follow_another_rest_element);break}C=!0}else if(w&2){if(C){qi(A,F.An_optional_element_cannot_follow_a_rest_element);break}D=!0}else if(D){qi(A,F.A_required_element_cannot_follow_an_optional_element);break}}L(l.elements,ls),Br(l)}function boi(l){L(l.types,ls),Br(l)}function Kmt(l,m){if(!(l.flags&8388608))return l;const D=l.objectType,C=l.indexType;if(fs(C,y_(D,0)))return m.kind===212&&Y_(m)&&Ju(D)&32&&v_(D)&1&&pt(m,F.Index_signature_in_type_0_only_permits_reading,gn(D)),l;const A=Kh(D);if(y3(A,Qt)&&n1(C,296))return l;if(Bb(D)){const w=Mge(C,m);if(w){const I=yF(A,U=>Uo(U,w));if(I&&s4(I)&6)return pt(m,F.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,Qr(w)),jt}}return pt(m,F.Type_0_cannot_be_used_to_index_type_1,gn(C),gn(D)),jt}function yoi(l){ls(l.objectType),ls(l.indexType),Kmt(y1t(l),l)}function koi(l){Foi(l),ls(l.typeParameter),ls(l.nameType),ls(l.type),l.type||wC(l,me);const m=vPe(l),D=z5(m);if(D)Fh(D,xc,l.nameType);else{const C=sp(m);Fh(C,xc,S8(l.typeParameter))}}function Foi(l){var m;if((m=l.members)!=null&&m.length)return qi(l.members[0],F.A_mapped_type_may_not_declare_properties_or_methods)}function Aoi(l){jge(l)}function Soi(l){Wli(l),ls(l.type)}function Boi(l){uo(l,ls)}function woi(l){Tn(l,D=>D.parent&&D.parent.kind===194&&D.parent.extendsType===D)||qi(l,F.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),ls(l.typeParameter);const m=_u(l.typeParameter);if(m.declarations&&m.declarations.length>1){const D=Ur(m);if(!D.typeParametersChecked){D.typeParametersChecked=!0;const C=mF(m),A=Dbe(m,168);if(!_4t(A,[C],w=>[w])){const w=Sr(m);for(const I of A)pt(I.name,F.All_declarations_of_0_must_have_identical_constraints,w)}}}w6(l)}function Toi(l){for(const m of l.templateSpans){ls(m.type);const D=Br(m.type);Fh(D,l0,m.type)}Br(l)}function Loi(l){ls(l.argument),l.attributes&&$B(l.attributes,qi),Hmt(l)}function Noi(l){l.dotDotDotToken&&l.questionToken&&qi(l,F.A_tuple_member_cannot_be_both_optional_and_rest),l.type.kind===190&&qi(l.type,F.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),l.type.kind===191&&qi(l.type,F.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),ls(l.type),Br(l)}function fie(l){return(If(l,2)||mh(l))&&!!(l.flags&33554432)}function JEe(l,m){let D=h_e(l);if(l.parent.kind!==264&&l.parent.kind!==263&&l.parent.kind!==231&&l.flags&33554432){const C=v0e(l);C&&C.flags&128&&!(D&128)&&!(uE(l.parent)&&Ec(l.parent.parent)&&Zg(l.parent.parent))&&(D|=32),D|=128}return D&m}function $Ee(l){s(()=>Poi(l))}function Poi(l){function m(Ri,Nn){return Nn!==void 0&&Nn.parent===Ri[0].parent?Nn:Ri[0]}function D(Ri,Nn,vn,An,_n){if((An^_n)!==0){const ro=JEe(m(Ri,Nn),vn);L(Ri,mo=>{const lo=JEe(mo,vn)^ro;lo&32?pt($a(mo),F.Overload_signatures_must_all_be_exported_or_non_exported):lo&128?pt($a(mo),F.Overload_signatures_must_all_be_ambient_or_non_ambient):lo&6?pt($a(mo)||mo,F.Overload_signatures_must_all_be_public_private_or_protected):lo&64&&pt($a(mo),F.Overload_signatures_must_all_be_abstract_or_non_abstract)})}}function C(Ri,Nn,vn,An){if(vn!==An){const _n=l7(m(Ri,Nn));L(Ri,hu=>{l7(hu)!==_n&&pt($a(hu),F.Overload_signatures_must_all_be_optional_or_required)})}}const A=230;let w=0,I=A,U=!1,Z=!0,ce=!1,Fe,Te,$e;const ut=l.declarations,zt=(l.flags&16384)!==0;function fi(Ri){if(Ri.name&&Yl(Ri.name))return;let Nn=!1;const vn=uo(Ri.parent,_n=>{if(Nn)return _n;Nn=_n===Ri});if(vn&&vn.pos===Ri.end&&vn.kind===Ri.kind){const _n=vn.name||vn,hu=vn.name;if(Ri.name&&hu&&(ea(Ri.name)&&ea(hu)&&Ri.name.escapedText===hu.escapedText||Ns(Ri.name)&&Ns(hu)&&vD(k3(Ri.name),k3(hu))||Qg(Ri.name)&&Qg(hu)&&aP(Ri.name)===aP(hu))){if((Ri.kind===174||Ri.kind===173)&&Lo(Ri)!==Lo(vn)){const mo=Lo(Ri)?F.Function_overload_must_be_static:F.Function_overload_must_not_be_static;pt(_n,mo)}return}if(j4(vn.body)){pt(_n,F.Function_implementation_name_must_be_0,C0(Ri.name));return}}const An=Ri.name||Ri;zt?pt(An,F.Constructor_implementation_is_missing):Qu(Ri,64)?pt(An,F.All_declarations_of_an_abstract_method_must_be_consecutive):pt(An,F.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}let Wi=!1,cn=!1,nu=!1;const En=[];if(ut)for(const Ri of ut){const Nn=Ri,vn=Nn.flags&33554432,An=Nn.parent&&(Nn.parent.kind===264||Nn.parent.kind===187)||vn;if(An&&($e=void 0),(Nn.kind===263||Nn.kind===231)&&!vn&&(nu=!0),Nn.kind===262||Nn.kind===174||Nn.kind===173||Nn.kind===176){En.push(Nn);const _n=JEe(Nn,A);w|=_n,I&=_n,U=U||l7(Nn),Z=Z&&l7(Nn);const hu=j4(Nn.body);hu&&Fe?zt?cn=!0:Wi=!0:($e==null?void 0:$e.parent)===Nn.parent&&$e.end!==Nn.pos&&fi($e),hu?Fe||(Fe=Nn):ce=!0,$e=Nn,An||(Te=Nn)}if(Xn(Ri)&&xo(Ri)&&Ri.jsDoc){for(const _n of Ri.jsDoc)if(_n.tags)for(const hu of _n.tags)TB(hu)&&(ce=!0)}}if(cn&&L(En,Ri=>{pt(Ri,F.Multiple_constructor_implementations_are_not_allowed)}),Wi&&L(En,Ri=>{pt($a(Ri)||Ri,F.Duplicate_function_implementation)}),nu&&!zt&&l.flags&16&&ut){const Ri=ei(ut,Nn=>Nn.kind===263).map(Nn=>Su(Nn,F.Consider_adding_a_declare_modifier_to_this_class));L(ut,Nn=>{const vn=Nn.kind===263?F.Class_declaration_cannot_implement_overload_list_for_0:Nn.kind===262?F.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;vn&&gs(pt($a(Nn)||Nn,vn,sc(l)),...Ri)})}if(Te&&!Te.body&&!Qu(Te,64)&&!Te.questionToken&&fi(Te),ce&&(ut&&(D(ut,Fe,A,w,I),C(ut,Fe,U,Z)),Fe)){const Ri=Ab(l),Nn=lp(Fe);for(const vn of Ri)if(!uii(Nn,vn)){const An=vn.declaration&&Iv(vn.declaration)?vn.declaration.parent.tagName:vn.declaration;gs(pt(An,F.This_overload_signature_is_not_compatible_with_its_implementation_signature),Su(Fe,F.The_implementation_signature_is_declared_here));break}}}function wW(l){s(()=>Moi(l))}function Moi(l){let m=l.localSymbol;if(!m&&(m=_u(l),!m.exportSymbol)||Sl(m,l.kind)!==l)return;let D=0,C=0,A=0;for(const ce of m.declarations){const Fe=Z(ce),Te=JEe(ce,2080);Te&32?Te&2048?A|=Fe:D|=Fe:C|=Fe}const w=D|C,I=D&C,U=A&w;if(I||U)for(const ce of m.declarations){const Fe=Z(ce),Te=$a(ce);Fe&U?pt(Te,F.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,C0(Te)):Fe&I&&pt(Te,F.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,C0(Te))}function Z(ce){let Fe=ce;switch(Fe.kind){case 264:case 265:case 353:case 345:case 347:return 2;case 267:return L1(Fe)||aD(Fe)!==0?5:4;case 263:case 266:case 306:return 3;case 312:return 7;case 277:case 226:const Te=Fe,$e=ec(Te)?Te.expression:Te.right;if(!Xl($e))return 1;Fe=$e;case 271:case 274:case 273:let ut=0;const zt=hd(_u(Fe));return L(zt.declarations,fi=>{ut|=Z(fi)}),ut;case 260:case 208:case 262:case 276:case 80:return 1;case 173:case 171:return 2;default:return H.failBadSyntaxKind(Fe)}}}function Oz(l,m,D,...C){const A=TW(l,m);return A&&TF(A,m,D,...C)}function TW(l,m,D){if(nt(l))return;const C=l;if(C.promisedTypeOfPromise)return C.promisedTypeOfPromise;if(xC(l,Cte(!1)))return C.promisedTypeOfPromise=I0(l)[0];if(cie(DD(l),402915324))return;const A=he(l,"then");if(nt(A))return;const w=A?fo(A,0):_t;if(w.length===0){m&&pt(m,F.A_promise_must_have_a_then_method);return}let I,U;for(const Fe of w){const Te=bC(Fe);Te&&Te!==da&&!CE(l,Te,d_)?I=Te:U=Ei(U,Fe)}if(!U){H.assertIsDefined(I),D&&(D.value=I),m&&pt(m,F.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,gn(l),gn(I));return}const Z=hp(tr(Kt(U,oze)),2097152);if(nt(Z))return;const ce=fo(Z,0);if(ce.length===0){m&&pt(m,F.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);return}return C.promisedTypeOfPromise=tr(Kt(ce,oze),2)}function LW(l,m,D,C,...A){return(m?TF(l,D,C,...A):K5(l,D,C,...A))||jt}function Wmt(l){if(cie(DD(l),402915324))return!1;const m=he(l,"then");return!!m&&fo(hp(m,2097152),0).length>0}function UEe(l){var m;if(l.flags&16777216){const D=sPe(!1);return!!D&&l.aliasSymbol===D&&((m=l.aliasTypeArguments)==null?void 0:m.length)===1}return!1}function jz(l){return l.flags&1048576?hl(l,jz):UEe(l)?l.aliasTypeArguments[0]:l}function Gmt(l){if(nt(l)||UEe(l))return!1;if(Bb(l)){const m=Hh(l);if(m?m.flags&3||CD(m)||bE(m,Wmt):jl(l,8650752))return!0}return!1}function zoi(l){const m=sPe(!0);if(m)return uT(m,[jz(l)])}function Ioi(l){if(Gmt(l)){const m=zoi(l);if(m)return m}return H.assert(UEe(l)||TW(l)===void 0,"type provided should not be a non-generic 'promise'-like."),l}function TF(l,m,D,...C){const A=K5(l,m,D,...C);return A&&Ioi(A)}function K5(l,m,D,...C){if(nt(l)||UEe(l))return l;const A=l;if(A.awaitedTypeOfType)return A.awaitedTypeOfType;if(l.flags&1048576){if(hE.lastIndexOf(l.id)>=0){m&&pt(m,F.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}const U=m?ce=>K5(ce,m,D,...C):K5;hE.push(l.id);const Z=hl(l,U);return hE.pop(),A.awaitedTypeOfType=Z}if(Gmt(l))return A.awaitedTypeOfType=l;const w={value:void 0},I=TW(l,void 0,w);if(I){if(l.id===I.id||hE.lastIndexOf(I.id)>=0){m&&pt(m,F.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}hE.push(l.id);const U=K5(I,m,D,...C);return hE.pop(),U?A.awaitedTypeOfType=U:void 0}if(Wmt(l)){if(m){H.assertIsDefined(D);let U;w.value&&(U=no(U,F.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,gn(l),gn(w.value))),U=no(U,D,...C),js.add(Z3(zn(m),m,U))}return}return A.awaitedTypeOfType=l}function Roi(l,m,D){const C=Br(m);if(Ce>=2){if(Lt(C))return;const w=Cte(!0);if(w!==Va&&!xC(C,w)){A(F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,m,D,gn(K5(C)||da));return}}else{if(joi(m),Lt(C))return;const w=fj(m);if(w===void 0){A(F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,m,D,gn(C));return}const I=z0(w,111551,!0),U=I?Gn(I):jt;if(Lt(U)){w.kind===80&&w.escapedText==="Promise"&&Qw(C)===Cte(!1)?pt(D,F.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option):A(F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,m,D,Mf(w));return}const Z=mei(!0);if(Z===Ko){A(F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,m,D,Mf(w));return}const ce=F.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value;if(!Fh(U,Z,D,ce,()=>m===D?void 0:no(void 0,F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type)))return;const Te=w&&dm(w),$e=yf(l.locals,Te.escapedText,111551);if($e){pt($e.valueDeclaration,F.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,fu(Te),Mf(w));return}}LW(C,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);function A(w,I,U,Z){if(I===U)pt(U,w,Z);else{const ce=pt(U,F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type);gs(ce,Su(I,w,Z))}}}function Ooi(l){const m=hT(l);jEe(m,l);const D=Zs(m);if(D.flags&1)return;const C=cze(l);if(!(C!=null&&C.resolvedReturnType))return;let A;const w=C.resolvedReturnType;switch(l.parent.kind){case 263:case 231:A=F.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 172:if(!ve){A=F.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 169:A=F.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 174:case 177:case 178:A=F.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return H.failBadSyntaxKind(l.parent)}Fh(D,w,l.expression,A)}function NW(l,m,D,C,A,w=D.length,I=0){const U=q.createFunctionTypeNode(void 0,_t,q.createKeywordTypeNode(133));return b3(U,l,m,D,C,A,w,I)}function yze(l,m,D,C,A,w,I){const U=NW(l,m,D,C,A,w,I);return EF(U)}function Jmt(l){return yze(void 0,void 0,_t,l)}function $mt(l){const m=Cg("value",l);return yze(void 0,void 0,[m],da)}function joi(l){Umt(l&&fj(l),!1)}function Umt(l,m){if(!l)return;const D=dm(l),C=(l.kind===80?788968:1920)|2097152,A=nc(D,D.escapedText,C,void 0,void 0,!0);if(A&&A.flags&2097152){if(Ut&&s6(A)&&!IW(hd(A))&&!E4(A))w5(A);else if(m&&hg(ae)&&f1(ae)>=5&&!s6(A)&&!Ge(A.declarations,p2)){const w=pt(l,F.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),I=Le(A.declarations||_t,aC);I&&gs(w,Su(I,F._0_was_imported_here,fu(D)))}}}function pT(l){const m=kze(l);m&&om(m)&&Umt(m,!0)}function kze(l){if(l)switch(l.kind){case 193:case 192:return qmt(l.types);case 194:return qmt([l.trueType,l.falseType]);case 196:case 202:return kze(l.type);case 183:return l.typeName}}function qmt(l){let m;for(let D of l){for(;D.kind===196||D.kind===202;)D=D.type;if(D.kind===146||!fe&&(D.kind===201&&D.literal.kind===106||D.kind===157))continue;const C=kze(D);if(!C)return;if(m){if(!at(m)||!at(C)||m.escapedText!==C.escapedText)return}else m=C}return m}function qEe(l){const m=h1(l);return J_(l)?k0e(m):m}function mie(l){if(!kk(l)||!a4(l)||!l.modifiers||!hq(ve,l,l.parent,l.parent.parent))return;const m=Le(l.modifiers,p1);if(m){if(ve?(ud(m,8),l.kind===169&&ud(m,32)):Ce<99&&(ud(m,8),Wc(l)?l.name?D4t(l)&&ud(m,8388608):ud(m,8388608):Qd(l)||(ea(l.name)&&(cc(l)||Bx(l)||Xh(l))&&ud(m,8388608),Ns(l.name)&&ud(m,16777216))),ae.emitDecoratorMetadata)switch(ud(m,16),l.kind){case 263:const D=Q_(l);if(D)for(const I of D.parameters)pT(qEe(I));break;case 177:case 178:const C=l.kind===177?178:177,A=Sl(_u(l),C);pT(i0(l)||A&&i0(A));break;case 174:for(const I of l.parameters)pT(qEe(I));pT(J4(l));break;case 172:pT(h1(l));break;case 169:pT(qEe(l));const w=l.parent;for(const I of w.parameters)pT(qEe(I));pT(J4(w));break}for(const D of l.modifiers)p1(D)&&Ooi(D)}}function Voi(l){s(m);function m(){Ymt(l),Uze(l),Vz(l,l.name)}}function Hoi(l){l.typeExpression||pt(l.name,F.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),l.name&&Kz(l.name,F.Type_alias_name_cannot_be_0),ls(l.typeExpression),xie(Ax(l))}function Koi(l){ls(l.constraint);for(const m of l.typeParameters)ls(m)}function Woi(l){ls(l.typeExpression)}function Goi(l){ls(l.typeExpression);const m=rk(l);if(m){const D=jse(m,mY);if(S(D)>1)for(let C=1;C0),D.length>1&&pt(D[1],F.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);const C=Zmt(l.class.expression),A=F2(m);if(A){const w=Zmt(A.expression);w&&C.escapedText!==w.escapedText&&pt(C,F.JSDoc_0_1_does_not_match_the_extends_2_clause,fu(l.tagName),fu(C),fu(w))}}function Xoi(l){const m=c7(l);m&&mh(m)&&pt(l,F.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function Zmt(l){switch(l.kind){case 80:return l;case 211:return l.name;default:return}}function Ymt(l){var m;mie(l),BW(l);const D=yd(l);if(l.name&&l.name.kind===167&&k3(l.name),eT(l)){const w=_u(l),I=l.localSymbol||w,U=(m=I.declarations)==null?void 0:m.find(Z=>Z.kind===l.kind&&!(Z.flags&524288));l===U&&$Ee(I),w.parent&&$Ee(w)}const C=l.kind===173?void 0:l.body;if(ls(C),dze(l,iT(l)),s(A),Xn(l)){const w=_v(l);w&&w.typeExpression&&!BMe(Br(w.typeExpression),l)&&pt(w.typeExpression.type,F.The_type_of_a_function_declaration_must_match_the_function_s_signature)}function A(){J4(l)||(Yl(C)&&!fie(l)&&wC(l,me),D&1&&j4(C)&&Zs(lp(l)))}}function w6(l){s(m);function m(){const D=zn(l);let C=C5.get(D.path);C||(C=[],C5.set(D.path,C)),C.push(l)}}function Qmt(l,m){for(const D of l)switch(D.kind){case 263:case 231:esi(D,m),Fze(D,m);break;case 312:case 267:case 241:case 269:case 248:case 249:case 250:t4t(D,m);break;case 176:case 218:case 262:case 219:case 174:case 177:case 178:D.body&&t4t(D,m),Fze(D,m);break;case 173:case 179:case 180:case 184:case 185:case 265:case 264:Fze(D,m);break;case 195:tsi(D,m);break;default:H.assertNever(D,"Node should not have been registered for unused identifiers check")}}function Xmt(l,m,D){const C=$a(l)||l,A=mB(l)?F._0_is_declared_but_never_used:F._0_is_declared_but_its_value_is_never_read;D(l,0,Su(C,A,m))}function PW(l){return at(l)&&fu(l).charCodeAt(0)===95}function esi(l,m){for(const D of l.members)switch(D.kind){case 174:case 172:case 177:case 178:if(D.kind===178&&D.symbol.flags&32768)break;const C=_u(D);!C.isReferenced&&(If(D,2)||fh(D)&&ea(D.name))&&!(D.flags&33554432)&&m(D,0,Su(D.name,F._0_is_declared_but_its_value_is_never_read,Sr(C)));break;case 176:for(const A of D.parameters)!A.symbol.isReferenced&&Qu(A,2)&&m(A,0,Su(A.name,F.Property_0_is_declared_but_its_value_is_never_read,sc(A.symbol)));break;case 181:case 240:case 175:break;default:H.fail("Unexpected class member")}}function tsi(l,m){const{typeParameter:D}=l;Aze(D)&&m(l,1,Su(l,F._0_is_declared_but_its_value_is_never_read,fu(D.name)))}function Fze(l,m){const D=_u(l).declarations;if(!D||Cr(D)!==l)return;const C=Ax(l),A=new Set;for(const w of C){if(!Aze(w))continue;const I=fu(w.name),{parent:U}=w;if(U.kind!==195&&U.typeParameters.every(Aze)){if(k0(A,U)){const Z=zn(U),ce=gg(U)?wle(U):Tle(Z,U.typeParameters),Te=U.typeParameters.length===1?[F._0_is_declared_but_its_value_is_never_read,I]:[F.All_type_parameters_are_unused];m(w,1,zd(Z,ce.pos,ce.end-ce.pos,...Te))}}else m(w,1,Su(w,F._0_is_declared_but_its_value_is_never_read,I))}}function Aze(l){return!(Hs(l.symbol).isReferenced&262144)&&!PW(l.name)}function pie(l,m,D,C){const A=String(C(m)),w=l.get(A);w?w[1].push(D):l.set(A,[m,[D]])}function e4t(l){return rr(QE(l),Qa)}function isi(l){return Os(l)?Mp(l.parent)?!!(l.propertyName&&PW(l.name)):PW(l.name):L1(l)||(ra(l)&&N8(l.parent.parent)||i4t(l))&&PW(l.name)}function t4t(l,m){const D=new Map,C=new Map,A=new Map;l.locals.forEach(w=>{if(!(w.flags&262144?!(w.flags&3&&!(w.isReferenced&3)):w.isReferenced||w.exportSymbol)&&w.declarations){for(const I of w.declarations)if(!isi(I))if(i4t(I))pie(D,usi(I),I,$s);else if(Os(I)&&Mp(I.parent)){const U=Cr(I.parent.elements);(I===U||!Cr(I.parent.elements).dotDotDotToken)&&pie(C,I.parent,I,$s)}else if(ra(I)){const U=Hb(I)&7,Z=$a(I);(U!==4&&U!==6||!Z||!PW(Z))&&pie(A,I.parent,I,$s)}else{const U=w.valueDeclaration&&e4t(w.valueDeclaration),Z=w.valueDeclaration&&$a(w.valueDeclaration);U&&Z?!Pf(U,U.parent)&&!B2(U)&&!PW(Z)&&(Os(I)&&gk(I.parent)?pie(C,I.parent,I,$s):m(U,1,Su(Z,F._0_is_declared_but_its_value_is_never_read,sc(w)))):Xmt(I,sc(w),m)}}}),D.forEach(([w,I])=>{const U=w.parent;if((w.name?1:0)+(w.namedBindings?w.namedBindings.kind===274?1:w.namedBindings.elements.length:0)===I.length)m(U,0,I.length===1?Su(U,F._0_is_declared_but_its_value_is_never_read,fu(Pn(I).name)):Su(U,F.All_imports_in_import_declaration_are_unused));else for(const ce of I)Xmt(ce,fu(ce.name),m)}),C.forEach(([w,I])=>{const U=e4t(w.parent)?1:0;if(w.elements.length===I.length)I.length===1&&w.parent.kind===260&&w.parent.parent.kind===261?pie(A,w.parent.parent,w.parent,$s):m(w,U,I.length===1?Su(w,F._0_is_declared_but_its_value_is_never_read,gie(Pn(I).name)):Su(w,F.All_destructured_elements_are_unused));else for(const Z of I)m(Z,U,Su(Z,F._0_is_declared_but_its_value_is_never_read,gie(Z.name)))}),A.forEach(([w,I])=>{if(w.declarations.length===I.length)m(w,0,I.length===1?Su(Pn(I).name,F._0_is_declared_but_its_value_is_never_read,gie(Pn(I).name)):Su(w.parent.kind===243?w.parent:w,F.All_variables_are_unused));else for(const U of I)m(U,0,Su(U,F._0_is_declared_but_its_value_is_never_read,gie(U.name)))})}function nsi(){var l;for(const m of lb)if(!((l=_u(m))!=null&&l.isReferenced)){const D=F8(m);H.assert(A2(D),"Only parameter declaration should be checked here");const C=Su(m.name,F._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,C0(m.name),C0(m.propertyName));D.type||gs(C,zd(zn(D),D.end,1,F.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,C0(m.propertyName))),js.add(C)}}function gie(l){switch(l.kind){case 80:return fu(l);case 207:case 206:return gie(No(Pn(l.elements),Os).name);default:return H.assertNever(l)}}function i4t(l){return l.kind===273||l.kind===276||l.kind===274}function usi(l){return l.kind===273?l:l.kind===274?l.parent:l.parent.parent}function ZEe(l){if(l.kind===241&&AD(l),qse(l)){const m=wi;L(l.statements,ls),wi=m}else L(l.statements,ls);l.locals&&w6(l)}function rsi(l){Ce>=2||!n0e(l)||l.flags&33554432||Yl(l.body)||L(l.parameters,m=>{m.name&&!Ao(m.name)&&m.name.escapedText===It.escapedName&&F5("noEmit",m,F.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function MW(l,m,D){if((m==null?void 0:m.escapedText)!==D||l.kind===172||l.kind===171||l.kind===174||l.kind===173||l.kind===177||l.kind===178||l.kind===303||l.flags&33554432||(i_(l)||g1(l)||Cf(l))&&p2(l))return!1;const C=QE(l);return!(Qa(C)&&Yl(C.parent.body))}function asi(l){Tn(l,m=>ET(m)&4?(l.kind!==80?pt($a(l),F.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):pt(l,F.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0):!1)}function osi(l){Tn(l,m=>ET(m)&8?(l.kind!==80?pt($a(l),F.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):pt(l,F.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0):!1)}function ssi(l,m){if(ne>=5&&!(ne>=100&&zn(l).impliedNodeFormat===1)||!m||!MW(l,m,"require")&&!MW(l,m,"exports")||Ec(l)&&aD(l)!==1)return;const D=lF(l);D.kind===312&&lm(D)&&F5("noEmit",m,F.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,C0(m),C0(m))}function lsi(l,m){if(!m||Ce>=4||!MW(l,m,"Promise")||Ec(l)&&aD(l)!==1)return;const D=lF(l);D.kind===312&&lm(D)&&D.flags&4096&&F5("noEmit",m,F.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,C0(m),C0(m))}function csi(l,m){Ce<=8&&(MW(l,m,"WeakMap")||MW(l,m,"WeakSet"))&&eC.push(l)}function dsi(l){const m=ZE(l);ET(m)&1048576&&(H.assert(fh(l)&&at(l.name)&&typeof l.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),F5("noEmit",l,F.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,l.name.escapedText))}function hsi(l,m){m&&Ce>=2&&Ce<=8&&MW(l,m,"Reflect")&&b5.push(l)}function fsi(l){let m=!1;if(Qd(l)){for(const D of l.members)if(ET(D)&2097152){m=!0;break}}else if(A0(l))ET(l)&2097152&&(m=!0);else{const D=ZE(l);D&&ET(D)&2097152&&(m=!0)}m&&(H.assert(fh(l)&&at(l.name),"The target of a Reflect collision check should be an identifier"),F5("noEmit",l,F.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,C0(l.name),"Reflect"))}function Vz(l,m){m&&(ssi(l,m),lsi(l,m),csi(l,m),hsi(l,m),gr(l)?(Kz(m,F.Class_name_cannot_be_0),l.flags&33554432||Vsi(m)):Mv(l)&&Kz(m,F.Enum_name_cannot_be_0))}function msi(l){if(Hb(l)&7||A2(l))return;const m=_u(l);if(m.flags&1){if(!at(l.name))return H.fail();const D=nc(l,l.name.escapedText,3,void 0,void 0,!1);if(D&&D!==m&&D.flags&2&&IMe(D)&7){const C=yv(D.valueDeclaration,261),A=C.parent.kind===243&&C.parent.parent?C.parent.parent:void 0;if(!(A&&(A.kind===241&&xo(A.parent)||A.kind===268||A.kind===267||A.kind===312))){const I=Sr(D);pt(l,F.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,I,I)}}}}function zW(l){return l===ni?me:l===Lc?Ul:l}function Eie(l){var m;if(mie(l),Os(l)||ls(l.type),!l.name)return;if(l.name.kind===167&&(k3(l.name),Zy(l)&&l.initializer&&Ic(l.initializer)),Os(l)){if(l.propertyName&&at(l.name)&&A2(l)&&Yl(Lm(l).body)){lb.push(l);return}Mp(l.parent)&&l.dotDotDotToken&&Ce<5&&ud(l,4),l.propertyName&&l.propertyName.kind===167&&k3(l.propertyName);const A=l.parent.parent,w=l.dotDotDotToken?32:0,I=vi(A,w),U=l.propertyName||l.name;if(I&&!Ao(U)){const Z=O5(U);if(q4(Z)){const ce=Z4(Z),Fe=Uo(I,ce);Fe&&(Xte(Fe,void 0,!1),OMe(l,!!A.initializer&&A.initializer.kind===108,!1,I,Fe))}}}if(Ao(l.name)&&(l.name.kind===207&&Ce<2&&ae.downlevelIteration&&ud(l,512),L(l.name.elements,ls)),l.initializer&&A2(l)&&Yl(Lm(l).body)){pt(l,F.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(Ao(l.name)){if(cMe(l))return;const A=Zy(l)&&l.initializer&&l.parent.parent.kind!==249,w=!Ge(l.name.elements,q$(kd));if(A||w){const I=N(l);if(A){const U=Ic(l.initializer);fe&&w?kft(U,l):F6(U,N(l),l,l.initializer)}w&&(gk(l.name)?W5(65,I,te,l):fe&&kft(I,l))}return}const D=_u(l);if(D.flags&2097152&&(b2(l)||tye(l))){t_e(l);return}const C=zW(Gn(D));if(l===D.valueDeclaration){const A=Zy(l)&&Ej(l);if(A&&!(Xn(l)&&bs(A)&&(A.properties.length===0||Rx(l.name))&&!!((m=D.exports)!=null&&m.size))&&l.parent.parent.kind!==249){const I=Ic(A);F6(I,C,l,A,void 0);const U=Hb(l)&7;if(U===6){const Z=bei(!0),ce=Qdt(!0);if(Z!==Ko&&ce!==Ko){const Fe=tr([Z,ce,it,te]);Fh(I,Fe,A,F.The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined)}}else if(U===4){const Z=Qdt(!0);if(Z!==Ko){const ce=tr([Z,it,te]);Fh(I,ce,A,F.The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined)}}}D.declarations&&D.declarations.length>1&&Ge(D.declarations,w=>w!==l&&K8(w)&&!u4t(w,l))&&pt(l.name,F.All_declarations_of_0_must_have_identical_modifiers,C0(l.name))}else{const A=zW(N(l));!Lt(C)&&!Lt(A)&&!vD(C,A)&&!(D.flags&67108864)&&n4t(D.valueDeclaration,C,l,A),Zy(l)&&l.initializer&&F6(Ic(l.initializer),A,l,l.initializer,void 0),D.valueDeclaration&&!u4t(l,D.valueDeclaration)&&pt(l.name,F.All_declarations_of_0_must_have_identical_modifiers,C0(l.name))}l.kind!==172&&l.kind!==171&&(wW(l),(l.kind===260||l.kind===208)&&msi(l),Vz(l,l.name))}function n4t(l,m,D,C){const A=$a(D),w=D.kind===172||D.kind===171?F.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:F.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,I=C0(A),U=pt(A,w,I,gn(m),gn(C));l&&gs(U,Su(l,F._0_was_also_declared_here,I))}function u4t(l,m){if(l.kind===169&&m.kind===260||l.kind===260&&m.kind===169)return!0;if(l7(l)!==l7(m))return!1;const D=1358;return p7(l,D)===p7(m,D)}function psi(l){var m,D;(m=Jn)==null||m.push(Jn.Phase.Check,"checkVariableDeclaration",{kind:l.kind,pos:l.pos,end:l.end,path:l.tracingPath}),qli(l),Eie(l),(D=Jn)==null||D.pop()}function gsi(l){return Jli(l),Eie(l)}function YEe(l){const m=YD(l)&7;(m===4||m===6)&&ud(l,33554432),L(l.declarations,ls)}function Esi(l){!A3(l)&&!Yze(l.declarationList)&&Zli(l),YEe(l.declarationList)}function _si(l){AD(l),ya(l.expression)}function Dsi(l){AD(l);const m=Hz(l.expression);Sze(l.expression,m,l.thenStatement),ls(l.thenStatement),l.thenStatement.kind===242&&pt(l.thenStatement,F.The_body_of_an_if_statement_cannot_be_the_empty_statement),ls(l.elseStatement)}function Sze(l,m,D){if(!fe)return;C(l,D);function C(w,I){for(w=s0(w),A(w,I);eu(w)&&(w.operatorToken.kind===57||w.operatorToken.kind===61);)w=s0(w.left),A(w,I)}function A(w,I){const U=Kj(w)?s0(w.right):w;if(Z_(U))return;if(Kj(U)){C(U,I);return}const Z=U===w?m:Hz(U),ce=zu(U)&&Smt(U.expression);if(!dp(Z,4194304)||ce)return;const Fe=fo(Z,0),Te=!!Oz(Z);if(Fe.length===0&&!Te)return;const $e=at(U)?U:zu(U)?U.name:void 0,ut=$e&&Up($e);if(!ut&&!Te)return;ut&&eu(w.parent)&&vsi(w.parent,ut)||ut&&I&&xsi(w,I,$e,ut)||(Te?Ch(U,!0,F.This_condition_will_always_return_true_since_this_0_is_always_defined,N5(Z)):pt(U,F.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}function xsi(l,m,D,C){return!!uo(m,function A(w){if(at(w)){const I=Up(w);if(I&&I===C){if(at(l)||at(D)&&eu(D.parent))return!0;let U=D.parent,Z=w.parent;for(;U&&Z;){if(at(U)&&at(Z)||U.kind===110&&Z.kind===110)return Up(U)===Up(Z);if(zu(U)&&zu(Z)){if(Up(U.name)!==Up(Z.name))return!1;Z=Z.expression,U=U.expression}else if(Po(U)&&Po(Z))Z=Z.expression,U=U.expression;else return!1}}}return uo(w,A)})}function vsi(l,m){for(;eu(l)&&l.operatorToken.kind===56;){if(uo(l.right,function C(A){if(at(A)){const w=Up(A);if(w&&w===m)return!0}return uo(A,C)}))return!0;l=l.parent}return!1}function Csi(l){AD(l),ls(l.statement),Hz(l.expression)}function bsi(l){AD(l),Hz(l.expression),ls(l.statement)}function Bze(l,m){return l.flags&16384&&pt(m,F.An_expression_of_type_void_cannot_be_tested_for_truthiness),l}function Hz(l,m){return Bze(ya(l,m),l)}function ysi(l){AD(l)||l.initializer&&l.initializer.kind===261&&Yze(l.initializer),l.initializer&&(l.initializer.kind===261?YEe(l.initializer):ya(l.initializer)),l.condition&&Hz(l.condition),l.incrementor&&ya(l.incrementor),ls(l.statement),l.locals&&w6(l)}function ksi(l){tpt(l);const m=oq(l);if(l.awaitModifier?m&&zl(m)?qi(l.awaitModifier,F.for_await_loops_cannot_be_used_inside_a_class_static_block):(yd(m)&6)===2&&Ce<99&&ud(l,16384):ae.downlevelIteration&&Ce<2&&ud(l,256),l.initializer.kind===261)YEe(l.initializer);else{const D=l.initializer,C=_ie(l);if(D.kind===209||D.kind===210)wF(D,C||jt);else{const A=ya(D);AW(D,F.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,F.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),C&&F6(C,A,D,l.expression)}}ls(l.statement),l.locals&&w6(l)}function Fsi(l){tpt(l);const m=jMe(ya(l.expression));if(l.initializer.kind===261){const D=l.initializer.declarations[0];D&&Ao(D.name)&&pt(D.name,F.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),YEe(l.initializer)}else{const D=l.initializer,C=ya(D);D.kind===209||D.kind===210?pt(D,F.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):fs(lti(m),C)?AW(D,F.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,F.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):pt(D,F.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(m===Wu||!n1(m,126091264))&&pt(l.expression,F.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,gn(m)),ls(l.statement),l.locals&&w6(l)}function _ie(l){const m=l.awaitModifier?15:13;return W5(m,cT(l.expression),te,l.expression)}function W5(l,m,D,C){return nt(m)?m:wze(l,m,D,C,!0)||me}function wze(l,m,D,C,A){const w=(l&2)!==0;if(m===Wu){Mze(C,m,w);return}const I=Ce>=2,U=!I&&ae.downlevelIteration,Z=ae.noUncheckedIndexedAccess&&!!(l&128);if(I||U||w){const zt=XEe(m,l,I?C:void 0);if(A&&zt){const fi=l&8?F.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:l&32?F.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:l&64?F.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:l&16?F.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:void 0;fi&&Fh(D,zt.nextType,C,fi)}if(zt||I)return Z?DW(zt&&zt.yieldType):zt&&zt.yieldType}let ce=m,Fe=!1,Te=!1;if(l&4){if(ce.flags&1048576){const zt=m.types,fi=ei(zt,Wi=>!(Wi.flags&402653316));fi!==zt&&(ce=tr(fi,2))}else ce.flags&402653316&&(ce=Wu);if(Te=ce!==m,Te&&(Ce<1&&C&&(pt(C,F.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),Fe=!0),ce.flags&131072))return Z?DW(ct):ct}if(!V5(ce)){if(C&&!Fe){const zt=!!(l&4)&&!Te,[fi,Wi]=ut(zt,U);Ch(C,Wi&&!!Oz(ce),fi,gn(ce))}return Te?Z?DW(ct):ct:void 0}const $e=CC(ce,Qt);if(Te&&$e)return $e.flags&402653316&&!ae.noUncheckedIndexedAccess?ct:tr(Z?[$e,ct,te]:[$e,ct],2);return l&128?DW($e):$e;function ut(zt,fi){var Wi;return fi?zt?[F.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[F.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:Tze(l,0,m,void 0)?[F.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!1]:Asi((Wi=m.symbol)==null?void 0:Wi.escapedName)?[F.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:zt?[F.Type_0_is_not_an_array_type_or_a_string_type,!0]:[F.Type_0_is_not_an_array_type,!0]}}function Asi(l){switch(l){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}function Tze(l,m,D,C){if(nt(D))return;const A=XEe(D,l,C);return A&&A[ket(m)]}function G5(l=Wu,m=Wu,D=on){if(l.flags&67359327&&m.flags&180227&&D.flags&180227){const C=cp([l,m,D]);let A=Mr.get(C);return A||(A={yieldType:l,returnType:m,nextType:D},Mr.set(C,A)),A}return{yieldType:l,returnType:m,nextType:D}}function r4t(l){let m,D,C;for(const A of l)if(!(A===void 0||A===ju)){if(A===As)return As;m=Ei(m,A.yieldType),D=Ei(D,A.returnType),C=Ei(C,A.nextType)}return m||D||C?G5(m&&tr(m),D&&tr(D),C&&_s(C)):ju}function QEe(l,m){return l[m]}function F3(l,m,D){return l[m]=D}function XEe(l,m,D){var C,A;if(nt(l))return As;if(!(l.flags&1048576)){const ce=D?{errors:void 0}:void 0,Fe=a4t(l,m,D,ce);if(Fe===ju){if(D){const Te=Mze(D,l,!!(m&2));ce!=null&&ce.errors&&gs(Te,...ce.errors)}return}else if((C=ce==null?void 0:ce.errors)!=null&&C.length)for(const Te of ce.errors)js.add(Te);return Fe}const w=m&2?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",I=QEe(l,w);if(I)return I===ju?void 0:I;let U;for(const ce of l.types){const Fe=D?{errors:void 0}:void 0,Te=a4t(ce,m,D,Fe);if(Te===ju){if(D){const $e=Mze(D,l,!!(m&2));Fe!=null&&Fe.errors&&gs($e,...Fe.errors)}F3(l,w,ju);return}else if((A=Fe==null?void 0:Fe.errors)!=null&&A.length)for(const $e of Fe.errors)js.add($e);U=Ei(U,Te)}const Z=U?r4t(U):ju;return F3(l,w,Z),Z===ju?void 0:Z}function Lze(l,m){if(l===ju)return ju;if(l===As)return As;const{yieldType:D,returnType:C,nextType:A}=l;return m&&sPe(!0),G5(TF(D,m)||me,TF(C,m)||me,A)}function a4t(l,m,D,C){if(nt(l))return As;let A=!1;if(m&2){const w=Nze(l,S0)||s4t(l,S0);if(w)if(w===ju&&D)A=!0;else return m&8?Lze(w,D):w}if(m&1){let w=Nze(l,nd)||s4t(l,nd);if(w)if(w===ju&&D)A=!0;else if(m&2){if(w!==ju)return w=Lze(w,D),A?w:F3(l,"iterationTypesOfAsyncIterable",w)}else return w}if(m&2){const w=Pze(l,S0,D,C,A);if(w!==ju)return w}if(m&1){let w=Pze(l,nd,D,C,A);if(w!==ju)return m&2?(w=Lze(w,D),A?w:F3(l,"iterationTypesOfAsyncIterable",w)):w}return ju}function Nze(l,m){return QEe(l,m.iterableCacheKey)}function o4t(l,m){const D=Nze(l,m)||Pze(l,m,void 0,void 0,!1);return D===ju?id:D}function s4t(l,m){let D;if(xC(l,D=m.getGlobalIterableType(!1))||xC(l,D=m.getGlobalIterableIteratorType(!1))){const[C]=I0(l),{returnType:A,nextType:w}=o4t(D,m);return F3(l,m.iterableCacheKey,G5(m.resolveIterationType(C,void 0)||C,m.resolveIterationType(A,void 0)||A,w))}if(xC(l,m.getGlobalGeneratorType(!1))){const[C,A,w]=I0(l);return F3(l,m.iterableCacheKey,G5(m.resolveIterationType(C,void 0)||C,m.resolveIterationType(A,void 0)||A,w))}}function l4t(l){const m=qdt(!1),D=m&&he(Gn(m),Al(l));return D&&q4(D)?Z4(D):`__@${l}`}function Pze(l,m,D,C,A){const w=Uo(l,l4t(m.iteratorSymbolName)),I=w&&!(w.flags&16777216)?Gn(w):void 0;if(nt(I))return A?As:F3(l,m.iterableCacheKey,As);const U=I?fo(I,0):void 0;if(!Ge(U))return A?ju:F3(l,m.iterableCacheKey,ju);const Z=_s(Kt(U,Zs)),ce=c4t(Z,m,D,C,A)??ju;return A?ce:F3(l,m.iterableCacheKey,ce)}function Mze(l,m,D){const C=D?F.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:F.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator,A=!!Oz(m)||!D&&FV(l.parent)&&l.parent.expression===l&&Pge(!1)!==Va&&fs(m,Pge(!1));return Ch(l,A,C,gn(m))}function Ssi(l,m,D,C){return c4t(l,m,D,C,!1)}function c4t(l,m,D,C,A){if(nt(l))return As;let w=d4t(l,m)||Bsi(l,m);return w===ju&&D&&(w=void 0,A=!0),w??(w=f4t(l,m,D,C,A)),w===ju?void 0:w}function d4t(l,m){return QEe(l,m.iteratorCacheKey)}function Bsi(l,m){const D=m.getGlobalIterableIteratorType(!1);if(xC(l,D)){const[C]=I0(l),A=d4t(D,m)||f4t(D,m,void 0,void 0,!1),{returnType:w,nextType:I}=A===ju?id:A;return F3(l,m.iteratorCacheKey,G5(C,w,I))}if(xC(l,m.getGlobalIteratorType(!1))||xC(l,m.getGlobalGeneratorType(!1))){const[C,A,w]=I0(l);return F3(l,m.iteratorCacheKey,G5(C,A,w))}}function h4t(l,m){const D=he(l,"done")||Ui;return fs(m===0?Ui:du,D)}function wsi(l){return h4t(l,0)}function Tsi(l){return h4t(l,1)}function Lsi(l){if(nt(l))return As;const m=QEe(l,"iterationTypesOfIteratorResult");if(m)return m;if(xC(l,vei(!1))){const I=I0(l)[0];return F3(l,"iterationTypesOfIteratorResult",G5(I,void 0,void 0))}if(xC(l,Cei(!1))){const I=I0(l)[0];return F3(l,"iterationTypesOfIteratorResult",G5(void 0,I,void 0))}const D=zc(l,wsi),C=D!==Wu?he(D,"value"):void 0,A=zc(l,Tsi),w=A!==Wu?he(A,"value"):void 0;return!C&&!w?F3(l,"iterationTypesOfIteratorResult",ju):F3(l,"iterationTypesOfIteratorResult",G5(C,w||da,void 0))}function zze(l,m,D,C,A){var w,I,U,Z;const ce=Uo(l,D);if(!ce&&D!=="next")return;const Fe=ce&&!(D==="next"&&ce.flags&16777216)?D==="next"?Gn(ce):hp(Gn(ce),2097152):void 0;if(nt(Fe))return D==="next"?As:tc;const Te=Fe?fo(Fe,0):_t;if(Te.length===0){if(C){const Ri=D==="next"?m.mustHaveANextMethodDiagnostic:m.mustBeAMethodDiagnostic;A?(A.errors??(A.errors=[]),A.errors.push(Su(C,Ri,D))):pt(C,Ri,D)}return D==="next"?ju:void 0}if(Fe!=null&&Fe.symbol&&Te.length===1){const Ri=m.getGlobalGeneratorType(!1),Nn=m.getGlobalIteratorType(!1),vn=((I=(w=Ri.symbol)==null?void 0:w.members)==null?void 0:I.get(D))===Fe.symbol,An=!vn&&((Z=(U=Nn.symbol)==null?void 0:U.members)==null?void 0:Z.get(D))===Fe.symbol;if(vn||An){const _n=vn?Ri:Nn,{mapper:hu}=Fe;return G5(y6(_n.typeParameters[0],hu),y6(_n.typeParameters[1],hu),D==="next"?y6(_n.typeParameters[2],hu):void 0)}}let $e,ut;for(const Ri of Te)D!=="throw"&&Ge(Ri.parameters)&&($e=Ei($e,wg(Ri,0))),ut=Ei(ut,Zs(Ri));let zt,fi;if(D!=="throw"){const Ri=$e?tr($e):on;if(D==="next")fi=Ri;else if(D==="return"){const Nn=m.resolveIterationType(Ri,C)||me;zt=Ei(zt,Nn)}}let Wi;const cn=ut?_s(ut):Wu,nu=m.resolveIterationType(cn,C)||me,En=Lsi(nu);return En===ju?(C&&(A?(A.errors??(A.errors=[]),A.errors.push(Su(C,m.mustHaveAValueDiagnostic,D))):pt(C,m.mustHaveAValueDiagnostic,D)),Wi=me,zt=Ei(zt,me)):(Wi=En.yieldType,zt=Ei(zt,En.returnType)),G5(Wi,tr(zt),fi)}function f4t(l,m,D,C,A){const w=r4t([zze(l,m,"next",D,C),zze(l,m,"return",D,C),zze(l,m,"throw",D,C)]);return A?w:F3(l,m.iteratorCacheKey,w)}function Ob(l,m,D){if(nt(m))return;const C=m4t(m,D);return C&&C[ket(l)]}function m4t(l,m){if(nt(l))return As;const D=m?2:1,C=m?S0:nd;return XEe(l,D,void 0)||Ssi(l,C,void 0,void 0)}function Nsi(l){AD(l)||Gli(l)}function Die(l,m){const D=!!(m&1),C=!!(m&2);if(D){const A=Ob(1,l,C);return A?C?K5(jz(A)):A:jt}return C?K5(l)||jt:l}function p4t(l,m){const D=Die(m,yd(l));return!!(D&&(jl(D,16384)||D.flags&32769))}function Psi(l){if(AD(l))return;const m=oq(l);if(m&&zl(m)){u1(l,F.A_return_statement_cannot_be_used_inside_a_class_static_block);return}if(!m){u1(l,F.A_return_statement_can_only_be_used_within_a_function_body);return}const D=lp(m),C=Zs(D),A=yd(m);if(fe||l.expression||C.flags&131072){const w=l.expression?Ic(l.expression):te;if(m.kind===178)l.expression&&pt(l,F.Setters_cannot_return_a_value);else if(m.kind===176)l.expression&&!F6(w,C,l,l.expression)&&pt(l,F.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(iT(m)){const I=Die(C,A)??C,U=A&2?LW(w,!1,l,F.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):w;I&&F6(U,I,l,l.expression)}}else m.kind!==176&&ae.noImplicitReturns&&!p4t(m,C)&&pt(l,F.Not_all_code_paths_return_a_value)}function Msi(l){AD(l)||l.flags&65536&&u1(l,F.with_statements_are_not_allowed_in_an_async_function_block),ya(l.expression);const m=zn(l);if(!jb(m)){const D=YE(m,l.pos).start,C=l.statement.pos;Vb(m,D,C-D,F.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function zsi(l){AD(l);let m,D=!1;const C=ya(l.expression);L(l.caseBlock.clauses,A=>{A.kind===297&&!D&&(m===void 0?m=A:(qi(A,F.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),D=!0)),A.kind===296&&s(w(A)),L(A.statements,ls),ae.noFallthroughCasesInSwitch&&A.fallthroughFlowNode&&Hte(A.fallthroughFlowNode)&&pt(A,F.Fallthrough_case_in_switch);function w(I){return()=>{const U=ya(I.expression);pze(C,U)||J1t(U,C,I.expression,void 0)}}}),l.caseBlock.locals&&w6(l.caseBlock)}function Isi(l){AD(l)||Tn(l.parent,m=>xo(m)?"quit":m.kind===256&&m.label.escapedText===l.label.escapedText?(qi(l.label,F.Duplicate_label_0,Hc(l.label)),!0):!1),ls(l.statement)}function Rsi(l){AD(l)||at(l.expression)&&!l.expression.escapedText&&aci(l,F.Line_break_not_permitted_here),l.expression&&ya(l.expression)}function Osi(l){AD(l),ZEe(l.tryBlock);const m=l.catchClause;if(m){if(m.variableDeclaration){const D=m.variableDeclaration;Eie(D);const C=h1(D);if(C){const A=Br(C);A&&!(A.flags&3)&&u1(C,F.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(D.initializer)u1(D.initializer,F.Catch_clause_variable_cannot_have_an_initializer);else{const A=m.block.locals;A&&$_(m.locals,w=>{const I=A.get(w);I!=null&&I.valueDeclaration&&I.flags&2&&qi(I.valueDeclaration,F.Cannot_redeclare_identifier_0_in_catch_clause,Qr(w))})}}ZEe(m.block)}l.finallyBlock&&ZEe(l.finallyBlock)}function e_e(l,m,D){const C=yh(l);if(C.length===0)return;for(const w of _6(l))D&&w.flags&4194304||g4t(l,w,bz(w,8576,!0),g6(w));const A=m.valueDeclaration;if(A&&gr(A)){for(const w of A.members)if(!Lo(w)&&!eT(w)){const I=_u(w);g4t(l,I,C1(w.name.expression),g6(I))}}if(C.length>1)for(const w of C)jsi(l,w)}function g4t(l,m,D,C){const A=m.valueDeclaration,w=$a(A);if(w&&ea(w))return;const I=qNe(l,D),U=Ju(l)&2?Sl(l.symbol,264):void 0,Z=A&&A.kind===226||w&&w.kind===167?A:void 0,ce=lf(m)===l.symbol?A:void 0;for(const Fe of I){const Te=Fe.declaration&&lf(_u(Fe.declaration))===l.symbol?Fe.declaration:void 0,$e=ce||Te||(U&&!Ge(Zc(l),ut=>!!vC(ut,m.escapedName)&&!!CC(ut,Fe.keyType))?U:void 0);if($e&&!fs(C,Fe.type)){const ut=h3($e,F.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,Sr(m),gn(C),gn(Fe.keyType),gn(Fe.type));Z&&$e!==Z&&gs(ut,Su(Z,F._0_is_declared_here,Sr(m))),js.add(ut)}}}function jsi(l,m){const D=m.declaration,C=qNe(l,m.keyType),A=Ju(l)&2?Sl(l.symbol,264):void 0,w=D&&lf(_u(D))===l.symbol?D:void 0;for(const I of C){if(I===m)continue;const U=I.declaration&&lf(_u(I.declaration))===l.symbol?I.declaration:void 0,Z=w||U||(A&&!Ge(Zc(l),ce=>!!y3(ce,m.keyType)&&!!CC(ce,I.keyType))?A:void 0);Z&&!fs(m.type,I.type)&&pt(Z,F._0_index_type_1_is_not_assignable_to_2_index_type_3,gn(m.keyType),gn(m.type),gn(I.keyType),gn(I.type))}}function Kz(l,m){switch(l.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":pt(l,m,l.escapedText)}}function Vsi(l){Ce>=1&&l.escapedText==="Object"&&(ne<5||zn(l).impliedNodeFormat===1)&&pt(l,F.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,kN[ne])}function Hsi(l){const m=ei(xv(l),pg);if(!S(m))return;const D=Xn(l),C=new Set,A=new Set;if(L(l.parameters,({name:I},U)=>{at(I)&&C.add(I.escapedText),Ao(I)&&A.add(U)}),YNe(l)){const I=m.length-1,U=m[I];D&&U&&at(U.name)&&U.typeExpression&&U.typeExpression.type&&!C.has(U.name.escapedText)&&!A.has(I)&&!F4(Br(U.typeExpression.type))&&pt(U.name,F.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,fu(U.name))}else L(m,({name:I,isNameFirst:U},Z)=>{A.has(Z)||at(I)&&C.has(I.escapedText)||(xf(I)?D&&pt(I,F.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,Mf(I),Mf(I.left)):U||p4(D,I,F.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,fu(I)))})}function xie(l){let m=!1;if(l)for(let C=0;C{C.default?(m=!0,Ksi(C.default,l,A)):m&&pt(C,F.Required_type_parameters_may_not_follow_optional_type_parameters);for(let w=0;wC)return!1;for(let Z=0;ZKc(D)&&mh(D))&&qi(m,F.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),!l.name&&!Qu(l,2048)&&u1(l,F.A_class_declaration_without_the_default_modifier_must_have_a_name),x4t(l),L(l.members,ls),w6(l)}function x4t(l){wli(l),mie(l),Vz(l,l.name),xie(Ax(l)),wW(l);const m=_u(l),D=Z0(m),C=Dm(D),A=Gn(m);E4t(m),$Ee(m),soi(l),!!(l.flags&33554432)||loi(l);const I=Yg(l);if(I){L(I.typeArguments,ls),Ce<2&&ud(I.parent,1);const ce=F2(l);ce&&ce!==I&&ya(ce.expression);const Fe=Zc(D);Fe.length&&s(()=>{const Te=Fe[0],$e=qc(D),ut=Kh($e);if(qsi(ut,I),ls(I.expression),Ge(I.typeArguments)){L(I.typeArguments,ls);for(const fi of Is(ut,I.typeArguments,I))if(!Vmt(I,fi.typeParameters))break}const zt=Dm(Te,D.thisType);if(Fh(C,zt,void 0)?Fh(A,O1t(ut),l.name||l,F.Class_static_side_0_incorrectly_extends_base_class_static_side_1):b4t(l,C,zt,F.Class_0_incorrectly_extends_base_class_1),$e.flags&8650752&&(Vu(A)?fo($e,1).some(Wi=>Wi.flags&4)&&!Qu(l,64)&&pt(l.name||l,F.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):pt(l.name||l,F.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),!(ut.symbol&&ut.symbol.flags&32)&&!($e.flags&8650752)){const fi=_0(ut,I.typeArguments,I);L(fi,Wi=>!FE(Wi.declaration)&&!vD(Zs(Wi),Te))&&pt(I.expression,F.Base_constructors_must_all_have_the_same_return_type)}Qsi(D,Te)})}Usi(l,D,C,A);const U=eB(l);if(U)for(const ce of U)(!Xl(ce.expression)||Z1(ce.expression))&&pt(ce.expression,F.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),bze(ce),s(Z(ce));s(()=>{e_e(D,m),e_e(A,m,!0),xze(l),t0i(l)});function Z(ce){return()=>{const Fe=Fg(Br(ce));if(!Lt(Fe))if(fF(Fe)){const Te=Fe.symbol&&Fe.symbol.flags&32?F.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:F.Class_0_incorrectly_implements_interface_1,$e=Dm(Fe,D.thisType);Fh(C,$e,void 0)||b4t(l,C,$e,Te)}else pt(ce,F.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}}function Usi(l,m,D,C){const w=Yg(l)&&Zc(m),I=w!=null&&w.length?Dm(Pn(w),m.thisType):void 0,U=qc(m);for(const Z of l.members)ule(Z)||(dc(Z)&&L(Z.parameters,ce=>{Pf(ce,Z)&&v4t(l,C,U,I,m,D,ce,!0)}),v4t(l,C,U,I,m,D,Z,!1))}function v4t(l,m,D,C,A,w,I,U,Z=!0){const ce=I.name&&Up(I.name)||Up(I);return ce?C4t(l,m,D,C,A,w,Iq(I),T2(I),Lo(I),U,sc(ce),Z?I:void 0):0}function C4t(l,m,D,C,A,w,I,U,Z,ce,Fe,Te){const $e=Xn(l),ut=!!(l.flags&33554432);if(C&&(I||ae.noImplicitOverride)){const zt=Al(Fe),fi=Z?m:w,Wi=Z?D:C,cn=Uo(fi,zt),nu=Uo(Wi,zt),En=gn(C);if(cn&&!nu&&I){if(Te){const Ri=Nft(Fe,Wi);Ri?pt(Te,$e?F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,En,Sr(Ri)):pt(Te,$e?F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,En)}return 2}else if(cn&&(nu!=null&&nu.declarations)&&ae.noImplicitOverride&&!ut){const Ri=Ge(nu.declarations,T2);if(I)return 0;if(Ri){if(U&&Ri)return Te&&pt(Te,F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,En),1}else{if(Te){const Nn=ce?$e?F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:$e?F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0;pt(Te,Nn,En)}return 1}}}else if(I){if(Te){const zt=gn(A);pt(Te,$e?F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,zt)}return 2}return 0}function b4t(l,m,D,C){let A=!1;for(const w of l.members){if(Lo(w))continue;const I=w.name&&Up(w.name)||Up(w);if(I){const U=Uo(m,I.escapedName),Z=Uo(D,I.escapedName);if(U&&Z){const ce=()=>no(void 0,F.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,Sr(I),gn(m),gn(D));Fh(Gn(U),Gn(Z),w.name||w,void 0,ce)||(A=!0)}}}A||Fh(m,D,l.name||l,C)}function qsi(l,m){const D=fo(l,1);if(D.length){const C=D[0].declaration;if(C&&If(C,2)){const A=eD(l.symbol);Hze(m,A)||pt(m,F.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,rp(l.symbol))}}}function Zsi(l,m,D){if(!m.name)return 0;const C=_u(l),A=Z0(C),w=Dm(A),I=Gn(C),Z=Yg(l)&&Zc(A),ce=Z!=null&&Z.length?Dm(Pn(Z),A.thisType):void 0,Fe=qc(A),Te=m.parent?Iq(m):Qu(m,16);return C4t(l,I,Fe,ce,A,w,Te,T2(m),Lo(m),!1,sc(D))}function gT(l){return Wl(l)&1?l.links.target:l}function Ysi(l){return ei(l.declarations,m=>m.kind===263||m.kind===264)}function Qsi(l,m){var D,C,A,w;const I=n0(m);let U;e:for(const Z of I){const ce=gT(Z);if(ce.flags&4194304)continue;const Fe=vC(l,ce.escapedName);if(!Fe)continue;const Te=gT(Fe),$e=s4(ce);if(H.assert(!!Te,"derived should point to something, even if it is the base class' declaration."),Te===ce){const ut=eD(l.symbol);if($e&64&&(!ut||!Qu(ut,64))){for(const zt of Zc(l)){if(zt===m)continue;const fi=vC(zt,ce.escapedName),Wi=fi&&gT(fi);if(Wi&&Wi!==ce)continue e}U||(U=pt(ut,F.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1,gn(l),gn(m))),ut.kind===231?gs(U,Su(Z.valueDeclaration??(Z.declarations&&Pn(Z.declarations))??ut,F.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,Sr(Z),gn(m))):gs(U,Su(Z.valueDeclaration??(Z.declarations&&Pn(Z.declarations))??ut,F.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,gn(l),Sr(Z),gn(m)))}}else{const ut=s4(Te);if($e&2||ut&2)continue;let zt;const fi=ce.flags&98308,Wi=Te.flags&98308;if(fi&&Wi){if((Wl(ce)&6?(D=ce.declarations)!=null&&D.some(En=>y4t(En,$e)):(C=ce.declarations)!=null&&C.every(En=>y4t(En,$e)))||Wl(ce)&262144||Te.valueDeclaration&&eu(Te.valueDeclaration))continue;const cn=fi!==4&&Wi===4;if(cn||fi===4&&Wi!==4){const En=cn?F._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:F._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;pt($a(Te.valueDeclaration)||Te.valueDeclaration,En,Sr(ce),gn(m),gn(l))}else if(Se){const En=(A=Te.declarations)==null?void 0:A.find(Ri=>Ri.kind===172&&!Ri.initializer);if(En&&!(Te.flags&33554432)&&!($e&64)&&!(ut&64)&&!((w=Te.declarations)!=null&&w.some(Ri=>!!(Ri.flags&33554432)))){const Ri=Gp(eD(l.symbol)),Nn=En.name;if(En.exclamationToken||!Ri||!at(Nn)||!fe||!F4t(Nn,l,Ri)){const vn=F.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration;pt($a(Te.valueDeclaration)||Te.valueDeclaration,vn,Sr(ce),gn(m))}}}continue}else if(RMe(ce)){if(RMe(Te)||Te.flags&4)continue;H.assert(!!(Te.flags&98304)),zt=F.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else ce.flags&98304?zt=F.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:zt=F.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;pt($a(Te.valueDeclaration)||Te.valueDeclaration,zt,gn(m),Sr(ce),gn(l))}}}function y4t(l,m){return m&64&&(!yo(l)||!l.initializer)||Dh(l.parent)}function Xsi(l,m,D){if(!S(m))return D;const C=new Map;L(D,A=>{C.set(A.escapedName,A)});for(const A of m){const w=n0(Dm(A,l.thisType));for(const I of w){const U=C.get(I.escapedName);U&&I.parent===U.parent&&C.delete(I.escapedName)}}return ga(C.values())}function e0i(l,m){const D=Zc(l);if(D.length<2)return!0;const C=new Map;L(wNe(l).declaredProperties,w=>{C.set(w.escapedName,{prop:w,containingType:l})});let A=!0;for(const w of D){const I=n0(Dm(w,l.thisType));for(const U of I){const Z=C.get(U.escapedName);if(!Z)C.set(U.escapedName,{prop:U,containingType:w});else if(Z.containingType!==l&&!gii(Z.prop,U)){A=!1;const Fe=gn(Z.containingType),Te=gn(w);let $e=no(void 0,F.Named_property_0_of_types_1_and_2_are_not_identical,Sr(U),Fe,Te);$e=no($e,F.Interface_0_cannot_simultaneously_extend_types_1_and_2,gn(l),Fe,Te),js.add(Z3(zn(m),m,$e))}}}return A}function t0i(l){if(!fe||!We||l.flags&33554432)return;const m=Gp(l);for(const D of l.members)if(!(gh(D)&128)&&!Lo(D)&&k4t(D)){const C=D.name;if(at(C)||ea(C)||Ns(C)){const A=Gn(_u(D));A.flags&3||kz(A)||(!m||!F4t(C,A,m))&&pt(D.name,F.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,C0(C))}}}function k4t(l){return l.kind===172&&!T2(l)&&!l.exclamationToken&&!l.initializer}function i0i(l,m,D,C,A){for(const w of D)if(w.pos>=C&&w.pos<=A){const I=q.createPropertyAccessExpression(q.createThis(),l);ys(I.expression,I),ys(I,w),I.flowNode=w.returnFlowNode;const U=B6(I,m,A6(m));if(!kz(U))return!0}return!1}function F4t(l,m,D){const C=Ns(l)?q.createElementAccessExpression(q.createThis(),l.expression):q.createPropertyAccessExpression(q.createThis(),l);ys(C.expression,C),ys(C,D),C.flowNode=D.returnFlowNode;const A=B6(C,m,A6(m));return!kz(A)}function n0i(l){A3(l)||Ili(l),xie(l.typeParameters),s(()=>{Kz(l.name,F.Interface_name_cannot_be_0),wW(l);const m=_u(l);E4t(m);const D=Sl(m,264);if(l===D){const C=Z0(m),A=Dm(C);if(e0i(C,l.name)){for(const w of Zc(C))Fh(A,Dm(w,C.thisType),l.name,F.Interface_0_incorrectly_extends_interface_1);e_e(C,m)}}Imt(l)}),L(uP(l),m=>{(!Xl(m.expression)||Z1(m.expression))&&pt(m.expression,F.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),bze(m)}),L(l.members,ls),s(()=>{xze(l),w6(l)})}function u0i(l){A3(l),Kz(l.name,F.Type_alias_name_cannot_be_0),wW(l),xie(l.typeParameters),l.type.kind===141?(!YY.has(l.name.escapedText)||S(l.typeParameters)!==1)&&pt(l.type,F.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(ls(l.type),w6(l))}function A4t(l){const m=or(l);if(!(m.flags&1024)){m.flags|=1024;let D=0;for(const C of l.members){const A=r0i(C,D);or(C).enumMemberValue=A,D=typeof A=="number"?A+1:void 0}}}function r0i(l,m){if(rj(l.name))pt(l.name,F.Computed_property_names_are_not_allowed_in_enums);else{const D=O8(l.name);t3(D)&&!TP(D)&&pt(l.name,F.An_enum_member_cannot_have_a_numeric_name)}if(l.initializer)return a0i(l);if(!(l.parent.flags&33554432&&!x2(l.parent))){if(m!==void 0)return m;pt(l.name,F.Enum_member_must_have_initializer)}}function a0i(l){const m=x2(l.parent),D=l.initializer,C=Wz(D,l);return C!==void 0?m&&typeof C=="number"&&!isFinite(C)&&pt(D,isNaN(C)?F.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:F.const_enum_member_initializer_was_evaluated_to_a_non_finite_value):m?pt(D,F.const_enum_member_initializers_must_be_constant_expressions):l.parent.flags&33554432?pt(D,F.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):Fh(ya(D),Qt,D,F.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values),C}function Wz(l,m){switch(l.kind){case 224:const D=Wz(l.operand,m);if(typeof D=="number")switch(l.operator){case 40:return D;case 41:return-D;case 55:return~D}break;case 226:const C=Wz(l.left,m),A=Wz(l.right,m);if(typeof C=="number"&&typeof A=="number")switch(l.operatorToken.kind){case 52:return C|A;case 51:return C&A;case 49:return C>>A;case 50:return C>>>A;case 48:return C<s0i(l))}function s0i(l){A3(l),Vz(l,l.name),wW(l),l.members.forEach(l0i),A4t(l);const m=_u(l),D=Sl(m,l.kind);if(l===D){if(m.declarations&&m.declarations.length>1){const A=x2(l);L(m.declarations,w=>{Mv(w)&&x2(w)!==A&&pt($a(w),F.Enum_declarations_must_all_be_const_or_non_const)})}let C=!1;L(m.declarations,A=>{if(A.kind!==266)return!1;const w=A;if(!w.members.length)return!1;const I=w.members[0];I.initializer||(C?pt(I.name,F.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):C=!0)})}}function l0i(l){ea(l.name)&&pt(l,F.An_enum_member_cannot_be_named_with_a_private_identifier),l.initializer&&ya(l.initializer)}function c0i(l){const m=l.declarations;if(m){for(const D of m)if((D.kind===263||D.kind===262&&j4(D.body))&&!(D.flags&33554432))return D}}function d0i(l,m){const D=ZE(l),C=ZE(m);return mE(D)?mE(C):mE(C)?!1:D===C}function h0i(l){l.body&&(ls(l.body),Zg(l)||w6(l)),s(m);function m(){var D,C;const A=Zg(l),w=l.flags&33554432;A&&!w&&pt(l.name,F.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);const I=L1(l),U=I?F.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:F.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;if(vie(l,U))return;A3(l)||!w&&l.name.kind===11&&qi(l.name,F.Only_ambient_modules_can_use_quoted_names),at(l.name)&&Vz(l,l.name),wW(l);const Z=_u(l);if(Z.flags&512&&!w&&Ide(l,dk(ae))){if(hg(ae)&&!zn(l).externalModuleIndicator&&pt(l.name,F.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement,ht),((D=Z.declarations)==null?void 0:D.length)>1){const ce=c0i(Z);ce&&(zn(l)!==zn(ce)?pt(l.name,F.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):l.posFe.kind===95);ce&&pt(ce,F.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}}if(I)if(_2(l)){if((A||_u(l).flags&33554432)&&l.body)for(const Fe of l.body.statements)Ize(Fe,A)}else mE(l.parent)?A?pt(l.name,F.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):Md(W4(l.name))&&pt(l.name,F.Ambient_module_declaration_cannot_specify_relative_module_name):A?pt(l.name,F.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):pt(l.name,F.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}}function Ize(l,m){switch(l.kind){case 243:for(const C of l.declarationList.declarations)Ize(C,m);break;case 277:case 278:u1(l,F.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 271:case 272:u1(l,F.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 208:case 260:const D=l.name;if(Ao(D)){for(const C of D.elements)Ize(C,m);break}case 263:case 266:case 262:case 264:case 267:case 265:if(m)return;break}}function f0i(l){switch(l.kind){case 80:return l;case 166:do l=l.left;while(l.kind!==80);return l;case 211:do{if(Z_(l.expression)&&!ea(l.name))return l.name;l=l.expression}while(l.kind!==80);return l}}function Rze(l){const m=q8(l);if(!m||Yl(m))return!1;if(!us(m))return pt(m,F.String_literal_expected),!1;const D=l.parent.kind===268&&L1(l.parent.parent);if(l.parent.kind!==312&&!D)return pt(m,l.kind===278?F.Export_declarations_are_not_permitted_in_a_namespace:F.Import_declarations_in_a_namespace_cannot_reference_a_module),!1;if(D&&Md(m.text)&&!R9(l))return pt(l,F.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1;if(!g1(l)&&l.attributes){const C=l.attributes.token===118?F.Import_attribute_values_must_be_string_literal_expressions:F.Import_assertion_values_must_be_string_literal_expressions;let A=!1;for(const w of l.attributes.elements)us(w.value)||(A=!0,pt(w.value,C));return!A}return!0}function t_e(l){var m,D,C,A;let w=_u(l);const I=hd(w);if(I!==Xt){if(w=Hs(w.exportSymbol||w),Xn(l)&&!(I.flags&111551)&&!p2(l)){const ce=n7(l)?l.propertyName||l.name:fh(l)?l.name:l;if(H.assert(l.kind!==280),l.kind===281){const Fe=pt(ce,F.Types_cannot_appear_in_export_declarations_in_JavaScript_files),Te=(D=(m=zn(l).symbol)==null?void 0:m.exports)==null?void 0:D.get((l.propertyName||l.name).escapedText);if(Te===I){const $e=(C=Te.declarations)==null?void 0:C.find(P8);$e&&gs(Fe,Su($e,F._0_is_automatically_exported_here,Qr(Te.escapedName)))}}else{H.assert(l.kind!==260);const Fe=Tn(l,lg(Ad,g1)),Te=(Fe&&((A=U8(Fe))==null?void 0:A.text))??"...",$e=Qr(at(ce)?ce.escapedText:w.escapedName);pt(ce,F._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,$e,`import("${Te}").${$e}`)}return}const U=R1(I),Z=(w.flags&1160127?111551:0)|(w.flags&788968?788968:0)|(w.flags&1920?1920:0);if(U&Z){const ce=l.kind===281?F.Export_declaration_conflicts_with_exported_declaration_of_0:F.Import_declaration_conflicts_with_local_declaration_of_0;pt(l,ce,Sr(w))}if(hg(ae)&&!p2(l)&&!(l.flags&33554432)){const ce=E4(w),Fe=!(U&111551);if(Fe||ce)switch(l.kind){case 273:case 276:case 271:{if(ae.preserveValueImports||ae.verbatimModuleSyntax){H.assertIsDefined(l.name,"An ImportClause with a symbol should have a name");const Te=ae.verbatimModuleSyntax&&J8(l)?F.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:Fe?ae.verbatimModuleSyntax?F._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:F._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:ae.verbatimModuleSyntax?F._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:F._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled,$e=fu(l.kind===276&&l.propertyName||l.name);cD(pt(l,Te,$e),Fe?void 0:ce,$e)}Fe&&l.kind===271&&If(l,32)&&pt(l,F.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled,ht);break}case 281:if(ae.verbatimModuleSyntax||zn(ce)!==zn(l)){const Te=fu(l.propertyName||l.name),$e=Fe?pt(l,F.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type,ht):pt(l,F._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled,Te,ht);cD($e,Fe?void 0:ce,Te);break}}ae.verbatimModuleSyntax&&l.kind!==271&&!Xn(l)&&(ne===1||zn(l).impliedNodeFormat===1)&&pt(l,F.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}if(Cf(l)){const ce=Oze(w,l);A5(ce)&&ce.declarations&&f3(l,ce.declarations,ce.escapedName)}}}function Oze(l,m){if(!(l.flags&2097152)||A5(l)||!np(l))return l;const D=hd(l);if(D===Xt)return D;for(;l.flags&2097152;){const C=LMe(l);if(C){if(C===D)break;if(C.declarations&&S(C.declarations))if(A5(C)){f3(m,C.declarations,C.escapedName);break}else{if(l===D)break;l=C}}else break}return D}function i_e(l){Vz(l,l.name),t_e(l),l.kind===276&&fu(l.propertyName||l.name)==="default"&&XE(ae)&&ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&ud(l,131072)}function w4t(l){var m;const D=l.attributes;if(D){const C=k1e(l),A=$B(D,C?qi:void 0),w=l.attributes.token===118;if(C&&A)return;if((ne===199&&l.moduleSpecifier&&Na(l.moduleSpecifier))!==99&&ne!==99){const U=w?ne===199?F.Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:F.Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:ne===199?F.Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:F.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext;return qi(D,U)}if(Ad(l)?(m=l.importClause)!=null&&m.isTypeOnly:l.isTypeOnly)return qi(D,w?F.Import_attributes_cannot_be_used_with_type_only_imports_or_exports:F.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);if(A)return qi(D,F.resolution_mode_can_only_be_set_for_type_only_imports)}}function m0i(l){if(!vie(l,Xn(l)?F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!A3(l)&&zq(l)&&u1(l,F.An_import_declaration_cannot_have_modifiers),Rze(l)){const m=l.importClause;m&&!sci(m)&&(m.name&&i_e(m),m.namedBindings&&(m.namedBindings.kind===274?(i_e(m.namedBindings),ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&XE(ae)&&ud(l,65536)):Vh(l,l.moduleSpecifier)&&L(m.namedBindings.elements,i_e)))}w4t(l)}}function p0i(l){if(!vie(l,Xn(l)?F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)&&(A3(l),J8(l)||Rze(l)))if(i_e(l),Qu(l,32)&&dC(l),l.moduleReference.kind!==283){const m=hd(_u(l));if(m!==Xt){const D=R1(m);if(D&111551){const C=dm(l.moduleReference);z0(C,112575).flags&1920||pt(C,F.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,C0(C))}D&788968&&Kz(l.name,F.Import_name_cannot_be_0)}l.isTypeOnly&&qi(l,F.An_import_alias_cannot_use_import_type)}else ne>=5&&zn(l).impliedNodeFormat===void 0&&!l.isTypeOnly&&!(l.flags&33554432)&&qi(l,F.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}function g0i(l){if(!vie(l,Xn(l)?F.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:F.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!A3(l)&&Aye(l)&&u1(l,F.An_export_declaration_cannot_have_modifiers),l.moduleSpecifier&&l.exportClause&&Q4(l.exportClause)&&S(l.exportClause.elements)&&Ce===0&&ud(l,4194304),E0i(l),!l.moduleSpecifier||Rze(l))if(l.exportClause&&!n_(l.exportClause)){L(l.exportClause.elements,b0i);const m=l.parent.kind===268&&L1(l.parent.parent),D=!m&&l.parent.kind===268&&!l.moduleSpecifier&&l.flags&33554432;l.parent.kind!==312&&!m&&!D&&pt(l,F.Export_declarations_are_not_permitted_in_a_namespace)}else{const m=Vh(l,l.moduleSpecifier);m&&xb(m)?pt(l.moduleSpecifier,F.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,Sr(m)):l.exportClause&&t_e(l.exportClause),ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&(l.exportClause?XE(ae)&&ud(l,65536):ud(l,32768))}w4t(l)}}function E0i(l){var m;return l.isTypeOnly&&((m=l.exportClause)==null?void 0:m.kind)===279?spt(l.exportClause):!1}function vie(l,m){const D=l.parent.kind===312||l.parent.kind===268||l.parent.kind===267;return D||u1(l,m),!D}function _0i(l){return Cq(l,m=>!!_u(m).isReferenced)}function D0i(l){return Cq(l,m=>!!Ur(_u(m)).constEnumReferenced)}function x0i(l){return Ad(l)&&l.importClause&&!l.importClause.isTypeOnly&&_0i(l.importClause)&&!s_e(l.importClause,!0)&&!D0i(l.importClause)}function v0i(l){return g1(l)&&u_(l.moduleReference)&&!l.isTypeOnly&&_u(l).isReferenced&&!s_e(l,!1)&&!Ur(_u(l)).constEnumReferenced}function C0i(l){if(Ut)for(const m of l.statements)(x0i(m)||v0i(m))&&pt(m,F.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}function b0i(l){if(t_e(l),l4(ae)&&$w(l.propertyName||l.name,!0),l.parent.parent.moduleSpecifier)XE(ae)&&ne!==4&&(ne<5||zn(l).impliedNodeFormat===1)&&fu(l.propertyName||l.name)==="default"&&ud(l,131072);else{const m=l.propertyName||l.name,D=nc(m,m.escapedText,2998271,void 0,void 0,!0);if(D&&(D===lt||D===St||D.declarations&&mE(lF(D.declarations[0]))))pt(m,F.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,fu(m));else{!l.isTypeOnly&&!l.parent.parent.isTypeOnly&&dC(l);const C=D&&(D.flags&2097152?hd(D):D);(!C||R1(C)&111551)&&Ic(l.propertyName||l.name)}}}function y0i(l){const m=l.isExportEquals?F.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:F.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;if(vie(l,m))return;const D=l.parent.kind===312?l.parent:l.parent.parent;if(D.kind===267&&!L1(D)){l.isExportEquals?pt(l,F.An_export_assignment_cannot_be_used_in_a_namespace):pt(l,F.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);return}!A3(l)&&zq(l)&&u1(l,F.An_export_assignment_cannot_have_modifiers);const C=h1(l);C&&Fh(Ic(l.expression),Br(C),l.expression);const A=!l.isExportEquals&&!(l.flags&33554432)&&ae.verbatimModuleSyntax&&(ne===1||zn(l).impliedNodeFormat===1);if(l.expression.kind===80){const w=l.expression,I=ap(z0(w,67108863,!0,!0,l));I?(CEe(I,w),R1(I)&111551?(Ic(w),!A&&!(l.flags&33554432)&&ae.verbatimModuleSyntax&&E4(I,111551)&&pt(w,l.isExportEquals?F.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:F.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,fu(w))):!A&&!(l.flags&33554432)&&ae.verbatimModuleSyntax&&pt(w,l.isExportEquals?F.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:F.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,fu(w))):Ic(w),l4(ae)&&$w(w,!0)}else Ic(l.expression);A&&pt(l,F.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled),T4t(D),l.flags&33554432&&!Xl(l.expression)&&qi(l.expression,F.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),l.isExportEquals&&(ne>=5&&(l.flags&33554432&&zn(l).impliedNodeFormat===99||!(l.flags&33554432)&&zn(l).impliedNodeFormat!==1)?qi(l,F.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):ne===4&&!(l.flags&33554432)&&qi(l,F.Export_assignment_is_not_supported_when_module_flag_is_system))}function k0i(l){return d1(l.exports,(m,D)=>D!=="export=")}function T4t(l){const m=_u(l),D=Ur(m);if(!D.exportsChecked){const C=m.exports.get("export=");if(C&&k0i(m)){const w=np(C)||C.valueDeclaration;w&&!R9(w)&&!Xn(w)&&pt(w,F.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}const A=D3(m);A&&A.forEach(({declarations:w,flags:I},U)=>{if(U==="__export"||I&1920)return;const Z=ui(w,U$(Fet,q$(Dh)));if(!(I&524288&&Z<=2)&&Z>1&&!n_e(w))for(const ce of w)bet(ce)&&js.add(Su(ce,F.Cannot_redeclare_exported_variable_0,Qr(U)))}),D.exportsChecked=!0}}function n_e(l){return l&&l.length>1&&l.every(m=>Xn(m)&&M0(m)&&(ik(m.expression)||Z_(m.expression)))}function ls(l){if(l){const m=K;K=l,z=0,F0i(l),K=m}}function F0i(l){Sj(l)&&L(l.jsDoc,({comment:D,tags:C})=>{L4t(D),L(C,A=>{L4t(A.comment),Xn(l)&&ls(A)})});const m=l.kind;if(d)switch(m){case 267:case 263:case 264:case 262:d.throwIfCancellationRequested()}switch(m>=243&&m<=259&&Aj(l)&&l.flowNode&&!Hte(l.flowNode)&&p4(ae.allowUnreachableCode===!1,l,F.Unreachable_code_detected),m){case 168:return Pmt(l);case 169:return Mmt(l);case 172:return Rmt(l);case 171:return coi(l);case 185:case 184:case 179:case 180:case 181:return BW(l);case 174:case 173:return doi(l);case 175:return hoi(l);case 176:return foi(l);case 177:case 178:return jmt(l);case 183:return bze(l);case 182:return aoi(l);case 186:return Doi(l);case 187:return xoi(l);case 188:return voi(l);case 189:return Coi(l);case 192:case 193:return boi(l);case 196:case 190:case 191:return ls(l.type);case 197:return Aoi(l);case 198:return Soi(l);case 194:return Boi(l);case 195:return woi(l);case 203:return Toi(l);case 205:return Loi(l);case 202:return Noi(l);case 335:return Qoi(l);case 336:return Yoi(l);case 353:case 345:case 347:return Hoi(l);case 352:return Koi(l);case 351:return Woi(l);case 331:case 332:case 333:return Joi(l);case 348:return $oi(l);case 355:return Uoi(l);case 324:qoi(l);case 322:case 321:case 319:case 320:case 329:N4t(l),uo(l,ls);return;case 325:A0i(l);return;case 316:return ls(l.type);case 340:case 342:case 341:return Xoi(l);case 357:return Goi(l);case 350:return Zoi(l);case 199:return yoi(l);case 200:return koi(l);case 262:return Voi(l);case 241:case 268:return ZEe(l);case 243:return Esi(l);case 244:return _si(l);case 245:return Dsi(l);case 246:return Csi(l);case 247:return bsi(l);case 248:return ysi(l);case 249:return Fsi(l);case 250:return ksi(l);case 251:case 252:return Nsi(l);case 253:return Psi(l);case 254:return Msi(l);case 255:return zsi(l);case 256:return Isi(l);case 257:return Rsi(l);case 258:return Osi(l);case 260:return psi(l);case 208:return gsi(l);case 263:return $si(l);case 264:return n0i(l);case 265:return u0i(l);case 266:return o0i(l);case 267:return h0i(l);case 272:return m0i(l);case 271:return p0i(l);case 278:return g0i(l);case 277:return y0i(l);case 242:case 259:AD(l);return;case 282:return poi(l)}}function L4t(l){ja(l)&&L(l,m=>{r7(m)&&ls(m)})}function N4t(l){if(!Xn(l))if(cY(l)||SB(l)){const m=$o(cY(l)?54:58),D=l.postfix?F._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:F._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1,C=l.type,A=Br(C);qi(l,D,m,gn(SB(l)&&!(A===Wu||A===da)?tr(Ei([A,te],l.postfix?void 0:it)):A))}else qi(l,F.JSDoc_types_can_only_be_used_inside_documentation_comments)}function A0i(l){N4t(l),ls(l.type);const{parent:m}=l;if(Qa(m)&&BB(m.parent)){Cr(m.parent.parameters)!==m&&pt(l,F.A_rest_parameter_must_be_last_in_a_parameter_list);return}bk(m)||pt(l,F.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const D=l.parent.parent;if(!pg(D)){pt(l,F.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}const C=Bj(D);if(!C)return;const A=bv(D);(!A||Cr(A.parameters).symbol!==C)&&pt(l,F.A_rest_parameter_must_be_last_in_a_parameter_list)}function S0i(l){const m=Br(l.type),{parent:D}=l,C=l.parent.parent;if(bk(l.parent)&&pg(C)){const A=bv(C),w=Fce(C.parent.parent);if(A||w){const I=Zu(w?C.parent.parent.typeExpression.parameters:A.parameters),U=Bj(C);if(!I||U&&I.symbol===U&&J_(I))return j1(m)}}return Qa(D)&&BB(D.parent)?j1(m):Od(m)}function Q9(l){const m=zn(l),D=or(m);D.flags&1?H.assert(!D.deferredNodes,"A type-checked file should have no deferred nodes."):(D.deferredNodes||(D.deferredNodes=new Set),D.deferredNodes.add(l))}function B0i(l){const m=or(l);m.deferredNodes&&m.deferredNodes.forEach(w0i),m.deferredNodes=void 0}function w0i(l){var m,D;(m=Jn)==null||m.push(Jn.Phase.Check,"checkDeferredNode",{kind:l.kind,pos:l.pos,end:l.end,path:l.tracingPath});const C=K;switch(K=l,z=0,l.kind){case 213:case 214:case 215:case 170:case 286:AF(l);break;case 218:case 219:case 174:case 173:kai(l);break;case 177:case 178:jmt(l);break;case 231:Jsi(l);break;case 168:roi(l);break;case 285:Mui(l);break;case 284:Iui(l);break;case 216:case 234:case 217:Qri(l);break;case 222:ya(l.expression);break;case 226:Rq(l)&&AF(l);break}K=C,(D=Jn)==null||D.pop()}function T0i(l){var m,D;(m=Jn)==null||m.push(Jn.Phase.Check,"checkSourceFile",{path:l.path},!0),ul("beforeCheck"),L0i(l),ul("afterCheck"),wm("Check","beforeCheck","afterCheck"),(D=Jn)==null||D.pop()}function P4t(l,m){if(m)return!1;switch(l){case 0:return!!ae.noUnusedLocals;case 1:return!!ae.noUnusedParameters;default:return H.assertNever(l)}}function M4t(l){return C5.get(l.path)||_t}function L0i(l){const m=or(l);if(!(m.flags&1)){if(FP(l,ae,t))return;uci(l),mu(ob),mu(sb),mu(eC),mu(b5),mu(lb),L(l.statements,ls),ls(l.endOfFileToken),B0i(l),lm(l)&&w6(l),s(()=>{!l.isDeclarationFile&&(ae.noUnusedLocals||ae.noUnusedParameters)&&Qmt(M4t(l),(D,C,A)=>{!I8(D)&&P4t(C,!!(D.flags&33554432))&&js.add(A)}),l.isDeclarationFile||nsi()}),ae.importsNotUsedAsValues===2&&!l.isDeclarationFile&&Bc(l)&&C0i(l),lm(l)&&T4t(l),ob.length&&(L(ob,asi),mu(ob)),sb.length&&(L(sb,osi),mu(sb)),eC.length&&(L(eC,dsi),mu(eC)),b5.length&&(L(b5,fsi),mu(b5)),m.flags|=1}}function z4t(l,m){try{return d=m,N0i(l)}finally{d=void 0}}function jze(){for(const l of u)l();u=[]}function Vze(l){jze();const m=s;s=D=>D(),T0i(l),s=m}function N0i(l){if(l){jze();const m=js.getGlobalDiagnostics(),D=m.length;Vze(l);const C=js.getDiagnostics(l.fileName),A=js.getGlobalDiagnostics();if(A!==m){const w=na(m,A,CP);return an(w,C)}else if(D===0&&A.length>0)return an(A,C);return C}return L(t.getSourceFiles(),Vze),js.getDiagnostics()}function P0i(){return jze(),js.getGlobalDiagnostics()}function M0i(l,m){if(l.flags&67108864)return[];const D=Vo();let C=!1;return A(),D.delete("this"),ZNe(D);function A(){for(;l;){switch($E(l)&&l.locals&&!mE(l)&&I(l.locals,m),l.kind){case 312:if(!Bc(l))break;case 267:U(_u(l).exports,m&2623475);break;case 266:I(_u(l).exports,m&8);break;case 231:l.name&&w(l.symbol,m);case 263:case 264:C||I(E6(_u(l)),m&788968);break;case 218:l.name&&w(l.symbol,m);break}Jbe(l)&&w(It,m),C=Lo(l),l=l.parent}I(Ie,m)}function w(Z,ce){if(DP(Z)&ce){const Fe=Z.escapedName;D.has(Fe)||D.set(Fe,Z)}}function I(Z,ce){ce&&Z.forEach(Fe=>{w(Fe,ce)})}function U(Z,ce){ce&&Z.forEach(Fe=>{!Sl(Fe,281)&&!Sl(Fe,280)&&Fe.escapedName!=="default"&&w(Fe,ce)})}}function z0i(l){return l.kind===80&&mB(l.parent)&&$a(l.parent)===l}function I4t(l){for(;l.parent.kind===166;)l=l.parent;return l.parent.kind===183}function I0i(l){for(;l.parent.kind===211;)l=l.parent;return l.parent.kind===233}function R4t(l,m){let D,C=Zd(l);for(;C&&!(D=m(C));)C=Zd(C);return D}function R0i(l){return!!Tn(l,m=>dc(m)&&j4(m.body)||yo(m)?!0:gr(m)||W0(m)?"quit":!1)}function Hze(l,m){return!!R4t(l,D=>D===m)}function O0i(l){for(;l.parent.kind===166;)l=l.parent;if(l.parent.kind===271)return l.parent.moduleReference===l?l.parent:void 0;if(l.parent.kind===277)return l.parent.expression===l?l.parent:void 0}function u_e(l){return O0i(l)!==void 0}function j0i(l){switch(Ql(l.parent.parent)){case 1:case 3:return _m(l.parent);case 4:case 2:case 5:return _u(l.parent.parent)}}function V0i(l){let m=l.parent;for(;xf(m);)l=m,m=m.parent;if(m&&m.kind===205&&m.qualifier===l)return m}function H0i(l){if(l.expression.kind===110){const m=ef(l,!1,!1);if(xo(m)){const D=Yht(m);if(D){const C=NC(D,void 0),A=Xht(D,C);return A&&!nt(A)}}}}function O4t(l){if(Q3(l))return _m(l.parent);if(Xn(l)&&l.parent.kind===211&&l.parent===l.parent.parent.left&&!ea(l)&&!zv(l)&&!H0i(l.parent)){const m=j0i(l);if(m)return m}if(l.parent.kind===277&&Xl(l)){const m=z0(l,2998271,!0);if(m&&m!==Xt)return m}else if(om(l)&&u_e(l)){const m=yv(l,271);return H.assert(m!==void 0),uF(l,!0)}if(om(l)){const m=V0i(l);if(m){Br(m);const D=or(l).resolvedSymbol;return D===Xt?void 0:D}}for(;Nye(l);)l=l.parent;if(I0i(l)){let m=0;l.parent.kind===233?(m=U_(l)?788968:111551,Wj(l.parent)&&(m|=111551)):m=1920,m|=2097152;const D=Xl(l)?z0(l,m,!0):void 0;if(D)return D}if(l.parent.kind===348)return Bj(l.parent);if(l.parent.kind===168&&l.parent.parent.kind===352){H.assert(!Xn(l));const m=rye(l.parent);return m&&m.symbol}if(q_(l)){if(Yl(l))return;const m=Tn(l,lg(r7,YP,zv)),D=m?901119:111551;if(l.kind===80){if(G8(l)&&Y9(l)){const A=BEe(l.parent);return A===Xt?void 0:A}const C=z0(l,D,!0,!0,bv(l));if(!C&&m){const A=Tn(l,lg(gr,Dh));if(A)return Cie(l,!0,_u(A))}if(C&&m){const A=c7(l);if(A&&K2(A)&&A===C.valueDeclaration)return z0(l,D,!0,!0,zn(A))||C}return C}else{if(ea(l))return LEe(l);if(l.kind===211||l.kind===166){const C=or(l);return C.resolvedSymbol?C.resolvedSymbol:(l.kind===211?(wEe(l,0),C.resolvedSymbol||(C.resolvedSymbol=j4t(Ic(l.expression),O5(l.name)))):Fft(l,0),!C.resolvedSymbol&&m&&xf(l)?Cie(l):C.resolvedSymbol)}else if(zv(l))return Cie(l)}}else if(I4t(l)){const m=l.parent.kind===183?788968:1920,D=z0(l,m,!1,!0);return D&&D!==Xt?D:wge(l)}if(l.parent.kind===182)return z0(l,1)}function j4t(l,m){const D=qNe(l,m);if(D.length&&l.members){const C=Age(kg(l).members);if(D===yh(l))return C;if(C){const A=Ur(C),w=Si(D,U=>U.declaration),I=Kt(w,$s).join(",");if(A.filteredIndexSymbolCache||(A.filteredIndexSymbolCache=new Map),A.filteredIndexSymbolCache.has(I))return A.filteredIndexSymbolCache.get(I);{const U=Vs(131072,"__index");return U.declarations=Si(D,Z=>Z.declaration),U.parent=l.aliasSymbol?l.aliasSymbol:l.symbol?l.symbol:Up(U.declarations[0].parent),A.filteredIndexSymbolCache.set(I,U),U}}}}function Cie(l,m,D){if(om(l)){let I=z0(l,901119,m,!0,bv(l));if(!I&&at(l)&&D&&(I=Hs(yf(Jf(D),l.escapedText,901119))),I)return I}const C=at(l)?D:Cie(l.left,m,D),A=at(l)?l.escapedText:l.right.escapedText;if(C){const w=C.flags&111551&&Uo(Gn(C),"prototype"),I=w?Gn(w):Z0(C);return Uo(I,A)}}function Up(l,m){if(ca(l))return Bc(l)?Hs(l.symbol):void 0;const{parent:D}=l,C=D.parent;if(!(l.flags&67108864)){if(yet(l)){const A=_u(D);return n7(l.parent)&&l.parent.propertyName===l?LMe(A):A}else if(Tj(l))return _u(D.parent);if(l.kind===80){if(u_e(l))return O4t(l);if(D.kind===208&&C.kind===206&&l===D.propertyName){const A=X9(C),w=Uo(A,l.escapedText);if(w)return w}else if(JP(D)&&D.name===l)return D.keywordToken===105&&fu(l)==="target"?rze(D).symbol:D.keywordToken===102&&fu(l)==="meta"?$dt().members.get("meta"):void 0}switch(l.kind){case 80:case 81:case 211:case 166:if(!m7(l))return O4t(l);case 110:const A=ef(l,!1,!1);if(xo(A)){const U=lp(A);if(U.thisParameter)return U.thisParameter}if(fq(l))return ya(l).symbol;case 197:return jge(l).symbol;case 108:return ya(l).symbol;case 137:const w=l.parent;return w&&w.kind===176?w.parent.symbol:void 0;case 11:case 15:if(vv(l.parent.parent)&&QN(l.parent.parent)===l||(l.parent.kind===272||l.parent.kind===278)&&l.parent.moduleSpecifier===l||Xn(l)&&m1(ae)!==100&&Df(l.parent,!1)||cm(l.parent)||Nv(l.parent)&&Mx(l.parent.parent)&&l.parent.parent.argument===l.parent)return Vh(l,l,m);if(Po(D)&&nk(D)&&D.arguments[1]===l)return _u(D);case 9:const I=G0(D)?D.argumentExpression===l?C1(D.expression):void 0:Nv(D)&&M7(C)?Br(C.objectType):void 0;return I&&Uo(I,Al(l.text));case 90:case 100:case 39:case 86:return _m(l.parent);case 205:return Mx(l)?Up(l.argument.literal,m):void 0;case 95:return ec(l.parent)?H.checkDefined(l.parent.symbol):void 0;case 102:case 105:return JP(l.parent)?smt(l.parent).symbol:void 0;case 104:if(eu(l.parent)){const U=C1(l.parent.right),Z=mze(U);return(Z==null?void 0:Z.symbol)??U.symbol}return;case 236:return ya(l).symbol;case 295:if(G8(l)&&Y9(l)){const U=BEe(l.parent);return U===Xt?void 0:U}default:return}}}function K0i(l){if(at(l)&&zu(l.parent)&&l.parent.name===l){const m=O5(l),D=C1(l.parent.expression),C=D.flags&1048576?D.types:[D];return Ku(C,A=>ei(yh(A),w=>tT(m,w.keyType)))}}function W0i(l){if(l&&l.kind===304)return z0(l.name,2208703)}function G0i(l){return X1(l)?l.parent.parent.moduleSpecifier?sC(l.parent.parent,l):z0(l.propertyName||l.name,2998271):z0(l,2998271)}function X9(l){if(ca(l)&&!Bc(l)||l.flags&67108864)return jt;const m=sle(l),D=m&&C4(_u(m.class));if(U_(l)){const C=Br(l);return D?Dm(C,D.thisType):C}if(q_(l))return V4t(l);if(D&&!m.isImplements){const C=Ki(Zc(D));return C?Dm(C,D.thisType):jt}if(mB(l)){const C=_u(l);return Z0(C)}if(z0i(l)){const C=Up(l);return C?Z0(C):jt}if(Os(l))return pD(l,!0,0)||jt;if(Y1(l)){const C=_u(l);return C?Gn(C):jt}if(yet(l)){const C=Up(l);return C?Gn(C):jt}if(Ao(l))return pD(l.parent,!0,0)||jt;if(u_e(l)){const C=Up(l);if(C){const A=Z0(C);return Lt(A)?Gn(C):A}}return JP(l.parent)&&l.parent.keywordToken===l.kind?smt(l.parent):jt}function r_e(l){if(H.assert(l.kind===210||l.kind===209),l.parent.kind===250){const A=_ie(l.parent);return wF(l,A||jt)}if(l.parent.kind===226){const A=C1(l.parent.right);return wF(l,A||jt)}if(l.parent.kind===303){const A=No(l.parent.parent,bs),w=r_e(A)||jt,I=R8(A.properties,l.parent);return ymt(A,w,I)}const m=No(l.parent,_h),D=r_e(m)||jt,C=W5(65,D,te,l.parent)||jt;return kmt(m,D,m.elements.indexOf(l),C)}function J0i(l){const m=r_e(No(l.parent.parent,HN));return m&&Uo(m,l.escapedText)}function V4t(l){return pP(l)&&(l=l.parent),Wh(C1(l))}function H4t(l){const m=_m(l.parent);return Lo(l)?Gn(m):Z0(m)}function K4t(l){const m=l.name;switch(m.kind){case 80:return cf(fu(m));case 9:case 11:return cf(m.text);case 167:const D=k3(m);return n1(D,12288)?D:ct;default:return H.fail("Unsupported property name.")}}function Kze(l){l=Kh(l);const m=Vo(n0(l)),D=fo(l,0).length?Mn:fo(l,1).length?ba:void 0;return D&&L(n0(D),C=>{m.has(C.escapedName)||m.set(C.escapedName,C)}),yb(m)}function a_e(l){return fo(l,0).length!==0||fo(l,1).length!==0}function W4t(l){const m=$0i(l);return m?Ku(m,W4t):[l]}function $0i(l){if(Wl(l)&6)return Si(Ur(l).containingType.types,m=>Uo(m,l.escapedName));if(l.flags&33554432){const{links:{leftSpread:m,rightSpread:D,syntheticOrigin:C}}=l;return m?[m,D]:C?[C]:jy(U0i(l))}}function U0i(l){let m,D=l;for(;D=Ur(D).target;)m=D;return m}function q0i(l){if(al(l))return!1;const m=Ja(l,at);if(!m)return!1;const D=m.parent;return D?!((zu(D)||Jc(D))&&D.name===m)&&OW(m)===It:!1}function Z0i(l){let m=Vh(l.parent,l);if(!m||JN(m))return!0;const D=xb(m);m=Em(m);const C=Ur(m);return C.exportsSomeValue===void 0&&(C.exportsSomeValue=D?!!(m.flags&111551):d1(D3(m),A)),C.exportsSomeValue;function A(w){return w=bc(w),w&&!!(R1(w)&111551)}}function Y0i(l){return ZO(l.parent)&&l===l.parent.name}function Q0i(l,m){var D;const C=Ja(l,at);if(C){let A=OW(C,Y0i(C));if(A){if(A.flags&1048576){const I=Hs(A.exportSymbol);if(!m&&I.flags&944&&!(I.flags&3))return;A=I}const w=lf(A);if(w){if(w.flags&512&&((D=w.valueDeclaration)==null?void 0:D.kind)===312){const I=w.valueDeclaration,U=zn(C);return I!==U?void 0:I}return Tn(C.parent,I=>ZO(I)&&_u(I)===w)}}}}function X0i(l){const m=Wke(l);if(m)return m;const D=Ja(l,at);if(D){const C=hli(D);if(cC(C,111551)&&!E4(C,111551))return np(C)}}function eli(l){return l.valueDeclaration&&Os(l.valueDeclaration)&&F8(l.valueDeclaration).parent.kind===299}function G4t(l){if(l.flags&418&&l.valueDeclaration&&!ca(l.valueDeclaration)){const m=Ur(l);if(m.isDeclarationWithCollidingName===void 0){const D=ZE(l.valueDeclaration);if(kbe(D)||eli(l)){const C=or(l.valueDeclaration);if(nc(D.parent,l.escapedName,111551,void 0,void 0,!1))m.isDeclarationWithCollidingName=!0;else if(C.flags&16384){const A=C.flags&32768,w=wx(D,!1),I=D.kind===241&&wx(D.parent,!1);m.isDeclarationWithCollidingName=!Lbe(D)&&(!A||!w&&!I)}else m.isDeclarationWithCollidingName=!1}}return m.isDeclarationWithCollidingName}return!1}function tli(l){if(!al(l)){const m=Ja(l,at);if(m){const D=OW(m);if(D&&G4t(D))return D.valueDeclaration}}}function ili(l){const m=Ja(l,Y1);if(m){const D=_u(m);if(D)return G4t(D)}return!1}function J4t(l){switch(H.assert(Ut),l.kind){case 271:return o_e(_u(l));case 273:case 274:case 276:case 281:const m=_u(l);return!!m&&o_e(m,!0);case 278:const D=l.exportClause;return!!D&&(n_(D)||Ge(D.elements,J4t));case 277:return l.expression&&l.expression.kind===80?o_e(_u(l)):!0}return!1}function nli(l){const m=Ja(l,g1);return m===void 0||m.parent.kind!==312||!J8(m)?!1:o_e(_u(m))&&m.moduleReference&&!Yl(m.moduleReference)}function o_e(l,m){if(!l)return!1;const D=ap(hd(l));return D===Xt?!m||!E4(l):!!(R1(l,m,!0)&111551)&&(dk(ae)||!IW(D))}function IW(l){return fze(l)||!!l.constEnumOnlyModule}function s_e(l,m){if(H.assert(Ut),aC(l)){const D=_u(l),C=D&&Ur(D);if(C!=null&&C.referenced)return!0;const A=Ur(D).aliasTarget;if(A&&gh(l)&32&&R1(A)&111551&&(dk(ae)||!IW(A)))return!0}return m?!!uo(l,D=>s_e(D,m)):!1}function $4t(l){if(j4(l.body)){if(Tx(l)||XD(l))return!1;const m=_u(l),D=Ab(m);return D.length>1||D.length===1&&D[0].declaration!==l}return!1}function U4t(l){return!!fe&&!iW(l)&&!pg(l)&&!!l.initializer&&!Qu(l,31)}function uli(l){return fe&&iW(l)&&!l.initializer&&Qu(l,31)}function rli(l){const m=Ja(l,Xc);if(!m)return!1;const D=_u(m);return!D||!(D.flags&16)?!1:!!d1(Jf(D),C=>C.flags&111551&&fZ(C.valueDeclaration))}function ali(l){const m=Ja(l,Xc);if(!m)return _t;const D=_u(m);return D&&n0(Gn(D))||_t}function ET(l){var m;const D=l.id||0;return D<0||D>=Xv.length?0:((m=Xv[D])==null?void 0:m.flags)||0}function RW(l){return A4t(l.parent),or(l).enumMemberValue}function q4t(l){switch(l.kind){case 306:case 211:case 212:return!0}return!1}function Wze(l){if(l.kind===306)return RW(l);const m=or(l).resolvedSymbol;if(m&&m.flags&8){const D=m.valueDeclaration;if(x2(D.parent))return RW(D)}}function Gze(l){return!!(l.flags&524288)&&fo(l,0).length>0}function oli(l,m){var D;const C=Ja(l,om);if(!C||m&&(m=Ja(m),!m))return 0;let A=!1;if(xf(C)){const ce=z0(dm(C),111551,!0,!0,m);A=!!((D=ce==null?void 0:ce.declarations)!=null&&D.every(p2))}const w=z0(C,111551,!0,!0,m),I=w&&w.flags&2097152?hd(w):w;A||(A=!!(w&&E4(w,111551)));const U=z0(C,788968,!0,!1,m);if(I&&I===U){const ce=aPe(!1);if(ce&&I===ce)return 9;const Fe=Gn(I);if(Fe&&Vr(Fe))return A?10:1}if(!U)return A?11:0;const Z=Z0(U);return Lt(Z)?A?11:0:Z.flags&3?11:n1(Z,245760)?2:n1(Z,528)?6:n1(Z,296)?3:n1(Z,2112)?4:n1(Z,402653316)?5:Ds(Z)?7:n1(Z,12288)?8:Gze(Z)?10:F4(Z)?7:11}function sli(l,m,D,C,A){const w=Ja(l,Kbe);if(!w)return q.createToken(133);const I=_u(w);let U=I&&!(I.flags&133120)?Pb(Gn(I)):jt;return U.flags&8192&&U.symbol===I&&(D|=1048576),A&&(U=A6(U)),Yt.typeToTypeNode(U,m,D|1024,C)}function lli(l,m,D,C){const A=Ja(l,xo);if(!A)return q.createToken(133);const w=lp(A);return Yt.typeToTypeNode(Zs(w),m,D|1024,C)}function cli(l,m,D,C){const A=Ja(l,Wt);if(!A)return q.createToken(133);const w=xm(V4t(A));return Yt.typeToTypeNode(w,m,D|1024,C)}function dli(l){return Ie.has(Al(l))}function OW(l,m){const D=or(l).resolvedSymbol;if(D)return D;let C=l;if(m){const A=l.parent;Y1(A)&&l===A.name&&(C=lF(A))}return nc(C,l.escapedText,3257279,void 0,void 0,!0)}function hli(l){const m=or(l).resolvedSymbol;return m&&m!==Xt?m:nc(l,l.escapedText,3257279,void 0,void 0,!0,void 0,void 0)}function fli(l){if(!al(l)){const m=Ja(l,at);if(m){const D=OW(m);if(D)return ap(D).valueDeclaration}}}function mli(l){if(!al(l)){const m=Ja(l,at);if(m){const D=OW(m);if(D)return ei(ap(D).declarations,C=>{switch(C.kind){case 260:case 169:case 208:case 172:case 303:case 304:case 306:case 210:case 262:case 218:case 219:case 263:case 231:case 266:case 174:case 177:case 178:case 267:return!0}return!1})}}}function pli(l){return eq(l)||ra(l)&&f_e(l)?Tb(Gn(_u(l))):!1}function gli(l,m,D){const C=l.flags&1056?Yt.symbolToExpression(l.symbol,111551,m,void 0,D):l===du?q.createTrue():l===Ui&&q.createFalse();if(C)return C;const A=l.value;return typeof A=="object"?q.createBigIntLiteral(A):typeof A=="number"?q.createNumericLiteral(A):q.createStringLiteral(A)}function Eli(l,m){const D=Gn(_u(l));return gli(D,l,m)}function Z4t(l){return l?(iC(l),zn(l).localJsxFactory||y5):y5}function Jze(l){if(l){const m=zn(l);if(m){if(m.localJsxFragmentFactory)return m.localJsxFragmentFactory;const D=m.pragmas.get("jsxfrag"),C=ja(D)?D[0]:D;if(C)return m.localJsxFragmentFactory=K7(C.arguments.factory,Ce),m.localJsxFragmentFactory}}if(ae.jsxFragmentFactory)return K7(ae.jsxFragmentFactory,Ce)}function _li(){const l=t.getResolvedTypeReferenceDirectives();let m;return l&&(m=new Map,l.forEach(({resolvedTypeReferenceDirective:Z},ce,Fe)=>{if(!(Z!=null&&Z.resolvedFileName))return;const Te=t.getSourceFile(Z.resolvedFileName);Te&&U(Te,ce,Fe)})),{getReferencedExportContainer:Q0i,getReferencedImportDeclaration:X0i,getReferencedDeclarationWithCollidingName:tli,isDeclarationWithCollidingName:ili,isValueAliasDeclaration:Z=>{const ce=Ja(Z);return ce&&Ut?J4t(ce):!0},hasGlobalName:dli,isReferencedAliasDeclaration:(Z,ce)=>{const Fe=Ja(Z);return Fe&&Ut?s_e(Fe,ce):!0},getNodeCheckFlags:Z=>{const ce=Ja(Z);return ce?ET(ce):0},isTopLevelValueImportEqualsWithEntityName:nli,isDeclarationVisible:mD,isImplementationOfOverload:$4t,isRequiredInitializedParameter:U4t,isOptionalUninitializedParameterProperty:uli,isExpandoFunctionDeclaration:rli,getPropertiesOfContainerFunction:ali,createTypeOfDeclaration:sli,createReturnTypeOfSignatureDeclaration:lli,createTypeOfExpression:cli,createLiteralConstValue:Eli,isSymbolAccessible:yu,isEntityNameVisible:$f,getConstantValue:Z=>{const ce=Ja(Z,q4t);return ce?Wze(ce):void 0},collectLinkedAliases:$w,getReferencedValueDeclaration:fli,getReferencedValueDeclarations:mli,getTypeReferenceSerializationKind:oli,isOptionalParameter:iW,moduleExportsSomeValue:Z0i,isArgumentsLocalBinding:q0i,getExternalModuleFileFromDeclaration:Z=>{const ce=Ja(Z,Pbe);return ce&&$ze(ce)},getTypeReferenceDirectivesForEntityName:A,getTypeReferenceDirectivesForSymbol:w,isLiteralConstDeclaration:pli,isLateBound:Z=>{const ce=Ja(Z,Y1),Fe=ce&&_u(ce);return!!(Fe&&Wl(Fe)&4096)},getJsxFactoryEntity:Z4t,getJsxFragmentFactoryEntity:Jze,getAllAccessorDeclarations(Z){Z=Ja(Z,BU);const ce=Z.kind===178?177:178,Fe=Sl(_u(Z),ce),Te=Fe&&Fe.pos_3(Z,Z,void 0),isBindingCapturedByNode:(Z,ce)=>{const Fe=Ja(Z),Te=Ja(ce);return!!Fe&&!!Te&&(ra(Te)||Os(Te))&&Gni(Fe,Te)},getDeclarationStatementsForSourceFile:(Z,ce,Fe,Te)=>{const $e=Ja(Z);H.assert($e&&$e.kind===312,"Non-sourcefile node passed into getDeclarationsForSourceFile");const ut=_u(Z);return ut?ut.exports?Yt.symbolTableToDeclarationStatements(ut.exports,Z,ce,Fe,Te):[]:Z.locals?Yt.symbolTableToDeclarationStatements(Z.locals,Z,ce,Fe,Te):[]},isImportRequiredByAugmentation:D,tryFindAmbientModule:Z=>{const ce=Ja(Z),Fe=ce&&t0(ce)?ce.text:void 0;return Fe!==void 0?yge(Fe,!0):void 0}};function D(Z){const ce=zn(Z);if(!ce.symbol)return!1;const Fe=$ze(Z);if(!Fe||Fe===ce)return!1;const Te=D3(ce.symbol);for(const $e of ga(Te.values()))if($e.mergeId){const ut=Hs($e);if(ut.declarations){for(const zt of ut.declarations)if(zn(zt)===Fe)return!0}}return!1}function C(Z){return Z.parent&&Z.parent.kind===233&&Z.parent.parent&&Z.parent.parent.kind===298}function A(Z){if(!m)return;let ce;Z.parent.kind===167?ce=1160127:(ce=790504,(Z.kind===80&&sk(Z)||Z.kind===211&&!C(Z))&&(ce=1160127));const Fe=z0(Z,ce,!0);return Fe&&Fe!==Xt?w(Fe,ce):void 0}function w(Z,ce){if(!m||!I(Z))return;let Fe;for(const Te of Z.declarations)if(Te.symbol&&Te.symbol.flags&ce){const $e=zn(Te),ut=m.get($e.path);if(ut)(Fe||(Fe=[])).push(ut);else return}return Fe}function I(Z){if(!Z.declarations)return!1;let ce=Z;for(;;){const Fe=lf(ce);if(Fe)ce=Fe;else break}if(ce.valueDeclaration&&ce.valueDeclaration.kind===312&&ce.flags&512)return!1;for(const Fe of Z.declarations){const Te=zn(Fe);if(m.has(Te.path))return!0}return!1}function U(Z,ce,Fe){if(!m.has(Z.path)){m.set(Z.path,[ce,Fe]);for(const{fileName:Te}of Z.referencedFiles){const $e=DQ(Te,Z.fileName),ut=t.getSourceFile($e);ut&&U(ut,ce,Fe||Z.impliedNodeFormat)}}}}function $ze(l){const m=l.kind===267?rr(l.name,us):q8(l),D=_3(m,m,void 0);if(D)return Sl(D,312)}function Dli(){for(const m of t.getSourceFiles())FAe(m,ae);f0=new Map;let l;for(const m of t.getSourceFiles())if(!m.redirectInfo){if(!lm(m)){const D=m.locals.get("globalThis");if(D!=null&&D.declarations)for(const C of D.declarations)js.add(Su(C,F.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"));fE(Ie,m.locals)}m.jsGlobalAugmentations&&fE(Ie,m.jsGlobalAugmentations),m.patternAmbientModules&&m.patternAmbientModules.length&&(d4=an(d4,m.patternAmbientModules)),m.moduleAugmentations.length&&(l||(l=[])).push(m.moduleAugmentations),m.symbol&&m.symbol.globalExports&&m.symbol.globalExports.forEach((C,A)=>{Ie.has(A)||Ie.set(A,C)})}if(l)for(const m of l)for(const D of m)Zg(D.parent)&&eF(D);if(Pw(Ie,Lw,F.Declaration_name_conflicts_with_built_in_global_identifier_0),Ur(lt).type=we,Ur(It).type=Mc("IArguments",0,!0),Ur(Xt).type=jt,Ur(St).type=_4(16,St),ko=Mc("Array",1,!0),Ve=Mc("Object",0,!0),si=Mc("Function",0,!0),Mn=Be&&Mc("CallableFunction",0,!0)||si,ba=Be&&Mc("NewableFunction",0,!0)||si,ic=Mc("String",0,!0),hc=Mc("Number",0,!0),Cl=Mc("Boolean",0,!0),Tl=Mc("RegExp",0,!0),Ul=j1(me),Lc=j1(ni),Lc===Ko&&(Lc=Ol(void 0,se,_t,_t,_t)),wo=Xdt("ReadonlyArray",1)||ko,ep=wo?rW(wo,[me]):Ul,Cc=Xdt("ThisType",1),l)for(const m of l)for(const D of m)Zg(D.parent)||eF(D);f0.forEach(({firstFile:m,secondFile:D,conflictingSymbols:C})=>{if(C.size<8)C.forEach(({isBlockScoped:A,firstFileLocations:w,secondFileLocations:I},U)=>{const Z=A?F.Cannot_redeclare_block_scoped_variable_0:F.Duplicate_identifier_0;for(const ce of w)m3(ce,Z,U,I);for(const ce of I)m3(ce,Z,U,w)});else{const A=ga(C.keys()).join(", ");js.add(gs(Su(m,F.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,A),Su(D,F.Conflicts_are_in_this_file))),js.add(gs(Su(D,F.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,A),Su(m,F.Conflicts_are_in_this_file)))}}),f0=void 0}function ud(l,m){if((p&m)!==m&&ae.importHelpers){const D=zn(l);if(a7(D,ae)&&!(l.flags&33554432)){const C=vli(D,l);if(C!==Xt){const A=m&~p;for(let w=1;w<=33554432;w<<=1)if(A&w)for(const I of xli(w)){if(f.has(I))continue;f.add(I);const U=bc(yf(D3(C),Al(I),111551));U?w&524288?Ge(Ab(U),Z=>vm(Z)>3)||pt(l,F.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Vx,I,4):w&1048576?Ge(Ab(U),Z=>vm(Z)>4)||pt(l,F.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Vx,I,5):w&1024&&(Ge(Ab(U),Z=>vm(Z)>2)||pt(l,F.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,Vx,I,3)):pt(l,F.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,Vx,I)}}p|=m}}}function xli(l){switch(l){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return ve?["__decorate"]:["__esDecorate","__runInitializers"];case 16:return["__metadata"];case 32:return["__param"];case 64:return["__awaiter"];case 128:return["__generator"];case 256:return["__values"];case 512:return["__read"];case 1024:return["__spreadArray"];case 2048:return["__await"];case 4096:return["__asyncGenerator"];case 8192:return["__asyncDelegator"];case 16384:return["__asyncValues"];case 32768:return["__exportStar"];case 65536:return["__importStar"];case 131072:return["__importDefault"];case 262144:return["__makeTemplateObject"];case 524288:return["__classPrivateFieldGet"];case 1048576:return["__classPrivateFieldSet"];case 2097152:return["__classPrivateFieldIn"];case 4194304:return["__createBinding"];case 8388608:return["__setFunctionName"];case 16777216:return["__propKey"];case 33554432:return["__addDisposableResource","__disposeResources"];default:return H.fail("Unrecognized helper")}}function vli(l,m){return E||(E=fD(l,Vx,F.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,m)||Xt),E}function A3(l){const m=yli(l)||Cli(l);if(m!==void 0)return m;if(Qa(l)&&B2(l))return u1(l,F.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);const D=Gl(l)?l.declarationList.flags&7:0;let C,A,w,I,U,Z=0,ce=!1,Fe=!1;for(const Te of l.modifiers)if(p1(Te)){if(hq(ve,l,l.parent,l.parent.parent)){if(ve&&(l.kind===177||l.kind===178)){const $e=lk(l.parent.members,l);if(a4($e.firstAccessor)&&l===$e.secondAccessor)return u1(l,F.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return l.kind===174&&!j4(l.body)?u1(l,F.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):u1(l,F.Decorators_are_not_valid_here);if(Z&-34849)return qi(Te,F.Decorators_are_not_valid_here);if(Fe&&Z&98303){H.assertIsDefined(U);const $e=zn(Te);return jb($e)?!1:(gs(pt(Te,F.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),Su(U,F.Decorator_used_before_export_here)),!0)}Z|=32768,Z&98303?Z&32&&(ce=!0):Fe=!0,U??(U=Te)}else{if(Te.kind!==148){if(l.kind===171||l.kind===173)return qi(Te,F._0_modifier_cannot_appear_on_a_type_member,$o(Te.kind));if(l.kind===181&&(Te.kind!==126||!gr(l.parent)))return qi(Te,F._0_modifier_cannot_appear_on_an_index_signature,$o(Te.kind))}if(Te.kind!==103&&Te.kind!==147&&Te.kind!==87&&l.kind===168)return qi(Te,F._0_modifier_cannot_appear_on_a_type_parameter,$o(Te.kind));switch(Te.kind){case 87:if(l.kind!==266&&l.kind!==168)return qi(l,F.A_class_member_cannot_have_the_0_keyword,$o(87));const $e=l.parent;if(l.kind===168&&!(W0($e)||gr($e)||n3($e)||KP($e)||xB($e)||yV($e)||i3($e)))return qi(Te,F._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,$o(Te.kind));break;case 164:if(Z&16)return qi(Te,F._0_modifier_already_seen,"override");if(Z&128)return qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(Z&8)return qi(Te,F._0_modifier_must_precede_1_modifier,"override","readonly");if(Z&512)return qi(Te,F._0_modifier_must_precede_1_modifier,"override","accessor");if(Z&1024)return qi(Te,F._0_modifier_must_precede_1_modifier,"override","async");Z|=16,I=Te;break;case 125:case 124:case 123:const ut=v3(g7(Te.kind));if(Z&7)return qi(Te,F.Accessibility_modifier_already_seen);if(Z&16)return qi(Te,F._0_modifier_must_precede_1_modifier,ut,"override");if(Z&256)return qi(Te,F._0_modifier_must_precede_1_modifier,ut,"static");if(Z&512)return qi(Te,F._0_modifier_must_precede_1_modifier,ut,"accessor");if(Z&8)return qi(Te,F._0_modifier_must_precede_1_modifier,ut,"readonly");if(Z&1024)return qi(Te,F._0_modifier_must_precede_1_modifier,ut,"async");if(l.parent.kind===268||l.parent.kind===312)return qi(Te,F._0_modifier_cannot_appear_on_a_module_or_namespace_element,ut);if(Z&64)return Te.kind===123?qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,ut,"abstract"):qi(Te,F._0_modifier_must_precede_1_modifier,ut,"abstract");if(mh(l))return qi(Te,F.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);Z|=g7(Te.kind);break;case 126:if(Z&256)return qi(Te,F._0_modifier_already_seen,"static");if(Z&8)return qi(Te,F._0_modifier_must_precede_1_modifier,"static","readonly");if(Z&1024)return qi(Te,F._0_modifier_must_precede_1_modifier,"static","async");if(Z&512)return qi(Te,F._0_modifier_must_precede_1_modifier,"static","accessor");if(l.parent.kind===268||l.parent.kind===312)return qi(Te,F._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(l.kind===169)return qi(Te,F._0_modifier_cannot_appear_on_a_parameter,"static");if(Z&64)return qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(Z&16)return qi(Te,F._0_modifier_must_precede_1_modifier,"static","override");Z|=256,C=Te;break;case 129:if(Z&512)return qi(Te,F._0_modifier_already_seen,"accessor");if(Z&8)return qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(Z&128)return qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(l.kind!==172)return qi(Te,F.accessor_modifier_can_only_appear_on_a_property_declaration);Z|=512;break;case 148:if(Z&8)return qi(Te,F._0_modifier_already_seen,"readonly");if(l.kind!==172&&l.kind!==171&&l.kind!==181&&l.kind!==169)return qi(Te,F.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(Z&512)return qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");Z|=8;break;case 95:if(ae.verbatimModuleSyntax&&!(l.flags&33554432)&&l.kind!==265&&l.kind!==264&&l.kind!==267&&l.parent.kind===312&&(ne===1||zn(l).impliedNodeFormat===1))return qi(Te,F.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(Z&32)return qi(Te,F._0_modifier_already_seen,"export");if(Z&128)return qi(Te,F._0_modifier_must_precede_1_modifier,"export","declare");if(Z&64)return qi(Te,F._0_modifier_must_precede_1_modifier,"export","abstract");if(Z&1024)return qi(Te,F._0_modifier_must_precede_1_modifier,"export","async");if(gr(l.parent))return qi(Te,F._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(l.kind===169)return qi(Te,F._0_modifier_cannot_appear_on_a_parameter,"export");if(D===4)return qi(Te,F._0_modifier_cannot_appear_on_a_using_declaration,"export");if(D===6)return qi(Te,F._0_modifier_cannot_appear_on_an_await_using_declaration,"export");Z|=32;break;case 90:const zt=l.parent.kind===312?l.parent:l.parent.parent;if(zt.kind===267&&!L1(zt))return qi(Te,F.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(D===4)return qi(Te,F._0_modifier_cannot_appear_on_a_using_declaration,"default");if(D===6)return qi(Te,F._0_modifier_cannot_appear_on_an_await_using_declaration,"default");if(Z&32){if(ce)return qi(U,F.Decorators_are_not_valid_here)}else return qi(Te,F._0_modifier_must_precede_1_modifier,"export","default");Z|=2048;break;case 138:if(Z&128)return qi(Te,F._0_modifier_already_seen,"declare");if(Z&1024)return qi(Te,F._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(Z&16)return qi(Te,F._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(gr(l.parent)&&!yo(l))return qi(Te,F._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(l.kind===169)return qi(Te,F._0_modifier_cannot_appear_on_a_parameter,"declare");if(D===4)return qi(Te,F._0_modifier_cannot_appear_on_a_using_declaration,"declare");if(D===6)return qi(Te,F._0_modifier_cannot_appear_on_an_await_using_declaration,"declare");if(l.parent.flags&33554432&&l.parent.kind===268)return qi(Te,F.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(mh(l))return qi(Te,F._0_modifier_cannot_be_used_with_a_private_identifier,"declare");if(Z&512)return qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");Z|=128,A=Te;break;case 128:if(Z&64)return qi(Te,F._0_modifier_already_seen,"abstract");if(l.kind!==263&&l.kind!==185){if(l.kind!==174&&l.kind!==172&&l.kind!==177&&l.kind!==178)return qi(Te,F.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(!(l.parent.kind===263&&Qu(l.parent,64))){const cn=l.kind===172?F.Abstract_properties_can_only_appear_within_an_abstract_class:F.Abstract_methods_can_only_appear_within_an_abstract_class;return qi(Te,cn)}if(Z&256)return qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(Z&2)return qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(Z&1024&&w)return qi(w,F._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(Z&16)return qi(Te,F._0_modifier_must_precede_1_modifier,"abstract","override");if(Z&512)return qi(Te,F._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(fh(l)&&l.name.kind===81)return qi(Te,F._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");Z|=64;break;case 134:if(Z&1024)return qi(Te,F._0_modifier_already_seen,"async");if(Z&128||l.parent.flags&33554432)return qi(Te,F._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(l.kind===169)return qi(Te,F._0_modifier_cannot_appear_on_a_parameter,"async");if(Z&64)return qi(Te,F._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");Z|=1024,w=Te;break;case 103:case 147:const fi=Te.kind===103?8192:16384,Wi=Te.kind===103?"in":"out";if(l.kind!==168||!(Dh(l.parent)||gr(l.parent)||Ip(l.parent)))return qi(Te,F._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,Wi);if(Z&fi)return qi(Te,F._0_modifier_already_seen,Wi);if(fi&8192&&Z&16384)return qi(Te,F._0_modifier_must_precede_1_modifier,"in","out");Z|=fi;break}}return l.kind===176?Z&256?qi(C,F._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):Z&16?qi(I,F._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):Z&1024?qi(w,F._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!1:(l.kind===272||l.kind===271)&&Z&128?qi(A,F.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):l.kind===169&&Z&31&&Ao(l.name)?qi(l,F.A_parameter_property_may_not_be_declared_using_a_binding_pattern):l.kind===169&&Z&31&&l.dotDotDotToken?qi(l,F.A_parameter_property_cannot_be_declared_using_a_rest_parameter):Z&1024?Fli(l,w):!1}function Cli(l){if(!l.modifiers)return!1;const m=bli(l);return m&&u1(m,F.Modifiers_cannot_appear_here)}function l_e(l,m){const D=Le(l.modifiers,Qo);return D&&D.kind!==m?D:void 0}function bli(l){switch(l.kind){case 177:case 178:case 176:case 172:case 171:case 174:case 173:case 181:case 267:case 272:case 271:case 278:case 277:case 218:case 219:case 169:case 168:return;case 175:case 303:case 304:case 270:case 282:return Le(l.modifiers,Qo);default:if(l.parent.kind===268||l.parent.kind===312)return;switch(l.kind){case 262:return l_e(l,134);case 263:case 185:return l_e(l,128);case 231:case 264:case 265:return Le(l.modifiers,Qo);case 243:return l.declarationList.flags&4?l_e(l,135):Le(l.modifiers,Qo);case 266:return l_e(l,87);default:H.assertNever(l)}}}function yli(l){const m=kli(l);return m&&u1(m,F.Decorators_are_not_valid_here)}function kli(l){return Vce(l)?Le(l.modifiers,p1):void 0}function Fli(l,m){switch(l.kind){case 174:case 262:case 218:case 219:return!1}return qi(m,F._0_modifier_cannot_be_used_here,"async")}function eS(l,m=F.Trailing_comma_not_allowed){return l&&l.hasTrailingComma?Vb(l[0],l.end-1,1,m):!1}function Y4t(l,m){if(l&&l.length===0){const D=l.pos-1,C=ps(m.text,l.end)+1;return Vb(m,D,C-D,F.Type_parameter_list_cannot_be_empty)}return!1}function Ali(l){let m=!1;const D=l.length;for(let C=0;C!!m.initializer||Ao(m.name)||J_(m))}function Bli(l){if(Ce>=3){const m=l.body&&ho(l.body)&&Ice(l.body.statements);if(m){const D=Sli(l.parameters);if(S(D)){L(D,A=>{gs(pt(A,F.This_parameter_is_not_allowed_with_use_strict_directive),Su(m,F.use_strict_directive_used_here))});const C=D.map((A,w)=>w===0?Su(A,F.Non_simple_parameter_declared_here):Su(A,F.and_here));return gs(pt(m,F.use_strict_directive_cannot_be_used_with_non_simple_parameter_list),...C),!0}}}return!1}function c_e(l){const m=zn(l);return A3(l)||Y4t(l.typeParameters,m)||Ali(l.parameters)||Tli(l,m)||W0(l)&&Bli(l)}function wli(l){const m=zn(l);return zli(l)||Y4t(l.typeParameters,m)}function Tli(l,m){if(!J0(l))return!1;l.typeParameters&&!(S(l.typeParameters)>1||l.typeParameters.hasTrailingComma||l.typeParameters[0].constraint)&&m&&jc(m.fileName,[".mts",".cts"])&&qi(l.typeParameters[0],F.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);const{equalsGreaterThanToken:D}=l,C=o0(m,D.pos).line,A=o0(m,D.end).line;return C!==A&&qi(D,F.Line_terminator_not_permitted_before_arrow)}function Lli(l){const m=l.parameters[0];if(l.parameters.length!==1)return qi(m?m.name:l,F.An_index_signature_must_have_exactly_one_parameter);if(eS(l.parameters,F.An_index_signature_cannot_have_a_trailing_comma),m.dotDotDotToken)return qi(m.dotDotDotToken,F.An_index_signature_cannot_have_a_rest_parameter);if(zq(m))return qi(m.name,F.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(m.questionToken)return qi(m.questionToken,F.An_index_signature_parameter_cannot_have_a_question_mark);if(m.initializer)return qi(m.name,F.An_index_signature_parameter_cannot_have_an_initializer);if(!m.type)return qi(m.name,F.An_index_signature_parameter_must_have_a_type_annotation);const D=Br(m.type);return bE(D,C=>!!(C.flags&8576))||yz(D)?qi(m.name,F.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):Xm(D,Sge)?l.type?!1:qi(l,F.An_index_signature_must_have_a_type_annotation):qi(m.name,F.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function Nli(l){return A3(l)||Lli(l)}function Pli(l,m){if(m&&m.length===0){const D=zn(l),C=m.pos-1,A=ps(D.text,m.end)+1;return Vb(D,C,A-C,F.Type_argument_list_cannot_be_empty)}return!1}function bie(l,m){return eS(m)||Pli(l,m)}function Mli(l){return l.questionDotToken||l.flags&64?qi(l.template,F.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function Q4t(l){const m=l.types;if(eS(m))return!0;if(m&&m.length===0){const D=$o(l.token);return Vb(l,m.pos,0,F._0_list_cannot_be_empty,D)}return Ge(m,X4t)}function X4t(l){return l5(l)&&HP(l.expression)&&l.typeArguments?qi(l,F.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):bie(l,l.typeArguments)}function zli(l){let m=!1,D=!1;if(!A3(l)&&l.heritageClauses)for(const C of l.heritageClauses){if(C.token===96){if(m)return u1(C,F.extends_clause_already_seen);if(D)return u1(C,F.extends_clause_must_precede_implements_clause);if(C.types.length>1)return u1(C.types[1],F.Classes_can_only_extend_a_single_class);m=!0}else{if(H.assert(C.token===119),D)return u1(C,F.implements_clause_already_seen);D=!0}Q4t(C)}}function Ili(l){let m=!1;if(l.heritageClauses)for(const D of l.heritageClauses){if(D.token===96){if(m)return u1(D,F.extends_clause_already_seen);m=!0}else return H.assert(D.token===119),u1(D,F.Interface_declaration_cannot_have_implements_clause);Q4t(D)}return!1}function d_e(l){if(l.kind!==167)return!1;const m=l;return m.expression.kind===226&&m.expression.operatorToken.kind===28?qi(m.expression,F.A_comma_expression_is_not_allowed_in_a_computed_property_name):!1}function Uze(l){if(l.asteriskToken){if(H.assert(l.kind===262||l.kind===218||l.kind===174),l.flags&33554432)return qi(l.asteriskToken,F.Generators_are_not_allowed_in_an_ambient_context);if(!l.body)return qi(l.asteriskToken,F.An_overload_signature_cannot_be_declared_as_a_generator)}}function qze(l,m){return!!l&&qi(l,m)}function ept(l,m){return!!l&&qi(l,m)}function Rli(l,m){const D=new Map;for(const C of l.properties){if(C.kind===305){if(m){const I=s0(C.expression);if(_h(I)||bs(I))return qi(C.expression,F.A_rest_element_cannot_contain_a_binding_pattern)}continue}const A=C.name;if(A.kind===167&&d_e(A),C.kind===304&&!m&&C.objectAssignmentInitializer&&qi(C.equalsToken,F.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern),A.kind===81&&qi(A,F.Private_identifiers_are_not_allowed_outside_class_bodies),Op(C)&&C.modifiers)for(const I of C.modifiers)Qo(I)&&(I.kind!==134||C.kind!==174)&&qi(I,F._0_modifier_cannot_be_used_here,Hc(I));else if(wFe(C)&&C.modifiers)for(const I of C.modifiers)Qo(I)&&qi(I,F._0_modifier_cannot_be_used_here,Hc(I));let w;switch(C.kind){case 304:case 303:ept(C.exclamationToken,F.A_definite_assignment_assertion_is_not_permitted_in_this_context),qze(C.questionToken,F.An_object_member_cannot_be_declared_optional),A.kind===9&&Qze(A),w=4;break;case 174:w=8;break;case 177:w=1;break;case 178:w=2;break;default:H.assertNever(C,"Unexpected syntax kind:"+C.kind)}if(!m){const I=Xze(A);if(I===void 0)continue;const U=D.get(I);if(!U)D.set(I,w);else if(w&8&&U&8)qi(A,F.Duplicate_identifier_0,Hc(A));else if(w&4&&U&4)qi(A,F.An_object_literal_cannot_have_multiple_properties_with_the_same_name,Hc(A));else if(w&3&&U&3)if(U!==3&&w!==U)D.set(I,w|U);else return qi(A,F.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);else return qi(A,F.An_object_literal_cannot_have_property_and_accessor_with_the_same_name)}}}function Oli(l){jli(l.tagName),bie(l,l.typeArguments);const m=new Map;for(const D of l.attributes.properties){if(D.kind===293)continue;const{name:C,initializer:A}=D,w=PP(C);if(!m.get(w))m.set(w,!0);else return qi(C,F.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(A&&A.kind===294&&!A.expression)return qi(A,F.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}function jli(l){if(zu(l)&&mg(l.expression))return qi(l.expression,F.JSX_property_access_expressions_cannot_include_JSX_namespace_names);if(mg(l)&&Qq(ae)&&!uB(l.namespace.escapedText))return qi(l,F.React_components_cannot_include_JSX_namespace_names)}function Vli(l){if(l.expression&&XP(l.expression))return qi(l.expression,F.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}function tpt(l){if(AD(l))return!0;if(l.kind===250&&l.awaitModifier&&!(l.flags&65536)){const m=zn(l);if(lq(l)){if(!jb(m))switch(a7(m,ae)||js.add(Su(l.awaitModifier,F.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module)),ne){case 100:case 199:if(m.impliedNodeFormat===1){js.add(Su(l.awaitModifier,F.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(Ce>=4)break;default:js.add(Su(l.awaitModifier,F.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher));break}}else if(!jb(m)){const D=Su(l.awaitModifier,F.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),C=Lm(l);if(C&&C.kind!==176){H.assert((yd(C)&2)===0,"Enclosing function should never be an async function.");const A=Su(C,F.Did_you_mean_to_mark_this_function_as_async);gs(D,A)}return js.add(D),!0}return!1}if(FV(l)&&!(l.flags&65536)&&at(l.initializer)&&l.initializer.escapedText==="async")return qi(l.initializer,F.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(l.initializer.kind===261){const m=l.initializer;if(!Yze(m)){const D=m.declarations;if(!D.length)return!1;if(D.length>1){const A=l.kind===249?F.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:F.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return u1(m.declarations[1],A)}const C=D[0];if(C.initializer){const A=l.kind===249?F.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:F.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return qi(C.name,A)}if(C.type){const A=l.kind===249?F.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:F.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return qi(C,A)}}}return!1}function Hli(l){if(!(l.flags&33554432)&&l.parent.kind!==187&&l.parent.kind!==264){if(Ce<1)return qi(l.name,F.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(Ce<2&&ea(l.name))return qi(l.name,F.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(l.body===void 0&&!Qu(l,64))return Vb(l,l.end-1,1,F._0_expected,"{")}if(l.body){if(Qu(l,64))return qi(l,F.An_abstract_accessor_cannot_have_an_implementation);if(l.parent.kind===187||l.parent.kind===264)return qi(l.body,F.An_implementation_cannot_be_declared_in_ambient_contexts)}if(l.typeParameters)return qi(l.name,F.An_accessor_cannot_have_type_parameters);if(!Kli(l))return qi(l.name,l.kind===177?F.A_get_accessor_cannot_have_parameters:F.A_set_accessor_must_have_exactly_one_parameter);if(l.kind===178){if(l.type)return qi(l.name,F.A_set_accessor_cannot_have_a_return_type_annotation);const m=H.checkDefined(dP(l),"Return value does not match parameter count assertion.");if(m.dotDotDotToken)return qi(m.dotDotDotToken,F.A_set_accessor_cannot_have_rest_parameter);if(m.questionToken)return qi(m.questionToken,F.A_set_accessor_cannot_have_an_optional_parameter);if(m.initializer)return qi(l.name,F.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function Kli(l){return Zze(l)||l.parameters.length===(l.kind===177?0:1)}function Zze(l){if(l.parameters.length===(l.kind===177?1:2))return S2(l)}function Wli(l){if(l.operator===158){if(l.type.kind!==155)return qi(l.type,F._0_expected,$o(155));let m=wj(l.parent);if(Xn(m)&&bk(m)){const D=c7(m);D&&(m=Q8(D)||D)}switch(m.kind){case 260:const D=m;if(D.name.kind!==80)return qi(l,F.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!UN(D))return qi(l,F.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(D.parent.flags&2))return qi(m.name,F.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 172:if(!Lo(m)||!hP(m))return qi(m.name,F.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 171:if(!Qu(m,8))return qi(m.name,F.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return qi(l,F.unique_symbol_types_are_not_allowed_here)}}else if(l.operator===148&&l.type.kind!==188&&l.type.kind!==189)return u1(l,F.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,$o(155))}function Gz(l,m){if(mXt(l))return qi(l,m)}function ipt(l){if(c_e(l))return!0;if(l.kind===174){if(l.parent.kind===210){if(l.modifiers&&!(l.modifiers.length===1&&Pn(l.modifiers).kind===134))return u1(l,F.Modifiers_cannot_appear_here);if(qze(l.questionToken,F.An_object_member_cannot_be_declared_optional))return!0;if(ept(l.exclamationToken,F.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(l.body===void 0)return Vb(l,l.end-1,1,F._0_expected,"{")}if(Uze(l))return!0}if(gr(l.parent)){if(Ce<2&&ea(l.name))return qi(l.name,F.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(l.flags&33554432)return Gz(l.name,F.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(l.kind===174&&!l.body)return Gz(l.name,F.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else{if(l.parent.kind===264)return Gz(l.name,F.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(l.parent.kind===187)return Gz(l.name,F.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function Gli(l){let m=l;for(;m;){if(w8(m))return qi(l,F.Jump_target_cannot_cross_function_boundary);switch(m.kind){case 256:if(l.label&&m.label.escapedText===l.label.escapedText)return l.kind===251&&!wx(m.statement,!0)?qi(l,F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1;break;case 255:if(l.kind===252&&!l.label)return!1;break;default:if(wx(m,!1)&&!l.label)return!1;break}m=m.parent}if(l.label){const D=l.kind===252?F.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return qi(l,D)}else{const D=l.kind===252?F.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:F.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return qi(l,D)}}function Jli(l){if(l.dotDotDotToken){const m=l.parent.elements;if(l!==Cr(m))return qi(l,F.A_rest_element_must_be_last_in_a_destructuring_pattern);if(eS(m,F.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),l.propertyName)return qi(l.name,F.A_rest_element_cannot_have_a_property_name)}if(l.dotDotDotToken&&l.initializer)return Vb(l,l.initializer.pos-1,1,F.A_rest_element_cannot_have_an_initializer)}function npt(l){return Nm(l)||l.kind===224&&l.operator===41&&l.operand.kind===9}function $li(l){return l.kind===10||l.kind===224&&l.operator===41&&l.operand.kind===10}function Uli(l){if((zu(l)||G0(l)&&npt(l.argumentExpression))&&Xl(l.expression))return!!(Ic(l).flags&1056)}function upt(l){const m=l.initializer;if(m){const D=!(npt(m)||Uli(m)||m.kind===112||m.kind===97||$li(m));if((eq(l)||ra(l)&&f_e(l))&&!l.type){if(D)return qi(m,F.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return qi(m,F.Initializers_are_not_allowed_in_ambient_contexts)}}function qli(l){const m=Hb(l),D=m&7;if(Ao(l.name))switch(D){case 6:return qi(l,F._0_declarations_may_not_have_binding_patterns,"await using");case 4:return qi(l,F._0_declarations_may_not_have_binding_patterns,"using")}if(l.parent.parent.kind!==249&&l.parent.parent.kind!==250){if(m&33554432)upt(l);else if(!l.initializer){if(Ao(l.name)&&!Ao(l.parent))return qi(l,F.A_destructuring_declaration_must_have_an_initializer);switch(D){case 6:return qi(l,F._0_declarations_must_be_initialized,"await using");case 4:return qi(l,F._0_declarations_must_be_initialized,"using");case 2:return qi(l,F._0_declarations_must_be_initialized,"const")}}}if(l.exclamationToken&&(l.parent.parent.kind!==243||!l.type||l.initializer||m&33554432)){const C=l.initializer?F.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:l.type?F.A_definite_assignment_assertion_is_not_permitted_in_this_context:F.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return qi(l.exclamationToken,C)}return(ne<5||zn(l).impliedNodeFormat===1)&&ne!==4&&!(l.parent.parent.flags&33554432)&&Qu(l.parent.parent,32)&&rpt(l.name),!!D&&apt(l.name)}function rpt(l){if(l.kind===80){if(fu(l)==="__esModule")return Qli("noEmit",l,F.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else{const m=l.elements;for(const D of m)if(!kd(D))return rpt(D.name)}return!1}function apt(l){if(l.kind===80){if(l.escapedText==="let")return qi(l,F.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else{const m=l.elements;for(const D of m)kd(D)||apt(D.name)}return!1}function Yze(l){const m=l.declarations;if(eS(l.declarations))return!0;if(!l.declarations.length)return Vb(l,m.pos,m.end-m.pos,F.Variable_declaration_list_cannot_be_empty);const D=l.flags&7;return(D===4||D===6)&&sY(l.parent)?qi(l,D===4?F.The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:F.The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration):D===6?bmt(l):!1}function opt(l){switch(l.kind){case 245:case 246:case 247:case 254:case 248:case 249:case 250:return!1;case 256:return opt(l.parent)}return!0}function Zli(l){if(!opt(l.parent)){const m=Hb(l.declarationList)&7;if(m){const D=m===1?"let":m===2?"const":m===4?"using":m===6?"await using":H.fail("Unknown BlockScope flag");return qi(l,F._0_declarations_can_only_be_declared_inside_a_block,D)}}}function Yli(l){const m=l.name.escapedText;switch(l.keywordToken){case 105:if(m!=="target")return qi(l.name,F._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,Qr(l.name.escapedText),$o(l.keywordToken),"target");break;case 102:if(m!=="meta")return qi(l.name,F._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,Qr(l.name.escapedText),$o(l.keywordToken),"meta");break}}function jb(l){return l.parseDiagnostics.length>0}function u1(l,m,...D){const C=zn(l);if(!jb(C)){const A=YE(C,l.pos);return js.add(zd(C,A.start,A.length,m,...D)),!0}return!1}function Vb(l,m,D,C,...A){const w=zn(l);return jb(w)?!1:(js.add(zd(w,m,D,C,...A)),!0)}function Qli(l,m,D,...C){const A=zn(m);return jb(A)?!1:(F5(l,m,D,...C),!0)}function qi(l,m,...D){const C=zn(l);return jb(C)?!1:(js.add(Su(l,m,...D)),!0)}function Xli(l){const m=Xn(l)?Mq(l):void 0,D=l.typeParameters||m&&Ki(m);if(D){const C=D.pos===D.end?D.pos:ps(zn(l).text,D.pos);return Vb(l,C,D.end-C,F.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function eci(l){const m=l.type||J4(l);if(m)return qi(m,F.Type_annotation_cannot_appear_on_a_constructor_declaration)}function tci(l){if(Ns(l.name)&&eu(l.name.expression)&&l.name.expression.operatorToken.kind===103)return qi(l.parent.members[0],F.A_mapped_type_may_not_declare_properties_or_methods);if(gr(l.parent)){if(us(l.name)&&l.name.text==="constructor")return qi(l.name,F.Classes_may_not_have_a_field_named_constructor);if(Gz(l.name,F.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(Ce<2&&ea(l.name))return qi(l.name,F.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(Ce<2&&Xh(l))return qi(l.name,F.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(Xh(l)&&qze(l.questionToken,F.An_accessor_property_cannot_be_declared_optional))return!0}else if(l.parent.kind===264){if(Gz(l.name,F.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(H.assertNode(l,Pm),l.initializer)return qi(l.initializer,F.An_interface_property_cannot_have_an_initializer)}else if(hm(l.parent)){if(Gz(l.name,F.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(H.assertNode(l,Pm),l.initializer)return qi(l.initializer,F.A_type_literal_property_cannot_have_an_initializer)}if(l.flags&33554432&&upt(l),yo(l)&&l.exclamationToken&&(!gr(l.parent)||!l.type||l.initializer||l.flags&33554432||Lo(l)||T2(l))){const m=l.initializer?F.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:l.type?F.A_definite_assignment_assertion_is_not_permitted_in_this_context:F.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return qi(l.exclamationToken,m)}}function ici(l){return l.kind===264||l.kind===265||l.kind===272||l.kind===271||l.kind===278||l.kind===277||l.kind===270||Qu(l,2208)?!1:u1(l,F.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function nci(l){for(const m of l.statements)if((Y1(m)||m.kind===243)&&ici(m))return!0;return!1}function uci(l){return!!(l.flags&33554432)&&nci(l)}function AD(l){if(l.flags&33554432){if(!or(l).hasReportedStatementInAmbientContext&&(xo(l.parent)||Bx(l.parent)))return or(l).hasReportedStatementInAmbientContext=u1(l,F.An_implementation_cannot_be_declared_in_ambient_contexts);if(l.parent.kind===241||l.parent.kind===268||l.parent.kind===312){const D=or(l.parent);if(!D.hasReportedStatementInAmbientContext)return D.hasReportedStatementInAmbientContext=u1(l,F.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function Qze(l){const m=Hc(l).includes("."),D=l.numericLiteralFlags&16;m||D||+l.text<=9007199254740991||t1(!1,Su(l,F.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function rci(l){return!!(!(Nv(l.parent)||Pv(l.parent)&&Nv(l.parent.parent))&&Ce<7&&qi(l,F.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function aci(l,m,...D){const C=zn(l);if(!jb(C)){const A=YE(C,l.pos);return js.add(zd(C,gc(A),0,m,...D)),!0}return!1}function oci(){return nh||(nh=[],Ie.forEach((l,m)=>{Ode.test(m)&&nh.push(l)})),nh}function sci(l){var m;return l.isTypeOnly&&l.name&&l.namedBindings?qi(l,F.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):l.isTypeOnly&&((m=l.namedBindings)==null?void 0:m.kind)===275?spt(l.namedBindings):!1}function spt(l){return!!L(l.elements,m=>{if(m.isTypeOnly)return u1(m,m.kind===276?F.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:F.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function lci(l){if(ae.verbatimModuleSyntax&&ne===1)return qi(l,F.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(ne===5)return qi(l,F.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);if(l.typeArguments)return qi(l,F.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);const m=l.arguments;if(ne!==99&&ne!==199&&ne!==100&&(eS(m),m.length>1)){const C=m[1];return qi(C,F.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext)}if(m.length===0||m.length>2)return qi(l,F.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments);const D=Le(m,nE);return D?qi(D,F.Argument_of_dynamic_import_cannot_be_spread_element):!1}function cci(l,m){const D=Ju(l);if(D&20&&m.flags&1048576)return Le(m.types,C=>{if(C.flags&524288){const A=D&Ju(C);if(A&4)return l.target===C.target;if(A&16)return!!l.aliasSymbol&&l.aliasSymbol===C.aliasSymbol}return!1})}function dci(l,m){if(Ju(l)&128&&bE(m,V5))return Le(m.types,D=>!V5(D))}function hci(l,m){let D=0;if(fo(l,D).length>0||(D=1,fo(l,D).length>0))return Le(m.types,A=>fo(A,D).length>0)}function fci(l,m){let D;if(!(l.flags&406978556)){let C=0;for(const A of m.types)if(!(A.flags&406978556)){const w=_s([y_(l),y_(A)]);if(w.flags&4194304)return A;if(Bg(w)||w.flags&1048576){const I=w.flags&1048576?ui(w.types,Bg):1;I>=C&&(D=A,C=I)}}}return D}function mci(l){if(jl(l,67108864)){const m=zc(l,D=>!(D.flags&402784252));if(!(m.flags&131072))return m}return l}function lpt(l,m,D){if(m.flags&1048576&&l.flags&2621440){const C=Fht(m,l);if(C)return C;const A=n0(l);if(A){const w=kht(A,m);if(w){const I=RPe(m,Kt(w,U=>[()=>Gn(U),U.escapedName]),D);if(I!==m)return I}}}}function Xze(l){const m=ak(l);return m||(Ns(l)?dMe(C1(l.expression)):void 0)}function h_e(l){return $n===l||($n=l,rn=d2(l)),rn}function Hb(l){return Vi===l||(Vi=l,xn=YD(l)),xn}function f_e(l){const m=Hb(l)&7;return m===2||m===4||m===6}}function CPt(t){return!Bx(t)}function bet(t){return t.kind!==262&&t.kind!==174||!!t.body}function yet(t){switch(t.parent.kind){case 276:case 281:return at(t);default:return Q3(t)}}function ket(t){switch(t){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function eh(t){return!!(t.flags&1)}function Rde(t){return!!(t.flags&2)}function bPt(t){return{getCommonSourceDirectory:t.getCommonSourceDirectory?()=>t.getCommonSourceDirectory():()=>"",getCurrentDirectory:()=>t.getCurrentDirectory(),getSymlinkCache:To(t,t.getSymlinkCache),getPackageJsonInfoCache:()=>{var u;return(u=t.getPackageJsonInfoCache)==null?void 0:u.call(t)},useCaseSensitiveFileNames:To(t,t.useCaseSensitiveFileNames),redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:u=>t.getProjectReferenceRedirect(u),isSourceOfProjectReferenceRedirect:u=>t.isSourceOfProjectReferenceRedirect(u),fileExists:u=>t.fileExists(u),getFileIncludeReasons:()=>t.getFileIncludeReasons(),readFile:t.readFile?u=>t.readFile(u):void 0}}var Ode,$Y,NAe,PAe,MAe,zAe,UY,jde,qY,ZY,Fet,YY,IAe,Im,Vde,yPt=o({"src/compiler/checker.ts"(){So(),TAe(),Hy(),Ode=/^".+"$/,$Y="(anonymous)",NAe=1,PAe=1,MAe=1,zAe=1,UY=(t=>(t[t.None=0]="None",t[t.TypeofEQString=1]="TypeofEQString",t[t.TypeofEQNumber=2]="TypeofEQNumber",t[t.TypeofEQBigInt=4]="TypeofEQBigInt",t[t.TypeofEQBoolean=8]="TypeofEQBoolean",t[t.TypeofEQSymbol=16]="TypeofEQSymbol",t[t.TypeofEQObject=32]="TypeofEQObject",t[t.TypeofEQFunction=64]="TypeofEQFunction",t[t.TypeofEQHostObject=128]="TypeofEQHostObject",t[t.TypeofNEString=256]="TypeofNEString",t[t.TypeofNENumber=512]="TypeofNENumber",t[t.TypeofNEBigInt=1024]="TypeofNEBigInt",t[t.TypeofNEBoolean=2048]="TypeofNEBoolean",t[t.TypeofNESymbol=4096]="TypeofNESymbol",t[t.TypeofNEObject=8192]="TypeofNEObject",t[t.TypeofNEFunction=16384]="TypeofNEFunction",t[t.TypeofNEHostObject=32768]="TypeofNEHostObject",t[t.EQUndefined=65536]="EQUndefined",t[t.EQNull=131072]="EQNull",t[t.EQUndefinedOrNull=262144]="EQUndefinedOrNull",t[t.NEUndefined=524288]="NEUndefined",t[t.NENull=1048576]="NENull",t[t.NEUndefinedOrNull=2097152]="NEUndefinedOrNull",t[t.Truthy=4194304]="Truthy",t[t.Falsy=8388608]="Falsy",t[t.IsUndefined=16777216]="IsUndefined",t[t.IsNull=33554432]="IsNull",t[t.IsUndefinedOrNull=50331648]="IsUndefinedOrNull",t[t.All=134217727]="All",t[t.BaseStringStrictFacts=3735041]="BaseStringStrictFacts",t[t.BaseStringFacts=12582401]="BaseStringFacts",t[t.StringStrictFacts=16317953]="StringStrictFacts",t[t.StringFacts=16776705]="StringFacts",t[t.EmptyStringStrictFacts=12123649]="EmptyStringStrictFacts",t[t.EmptyStringFacts=12582401]="EmptyStringFacts",t[t.NonEmptyStringStrictFacts=7929345]="NonEmptyStringStrictFacts",t[t.NonEmptyStringFacts=16776705]="NonEmptyStringFacts",t[t.BaseNumberStrictFacts=3734786]="BaseNumberStrictFacts",t[t.BaseNumberFacts=12582146]="BaseNumberFacts",t[t.NumberStrictFacts=16317698]="NumberStrictFacts",t[t.NumberFacts=16776450]="NumberFacts",t[t.ZeroNumberStrictFacts=12123394]="ZeroNumberStrictFacts",t[t.ZeroNumberFacts=12582146]="ZeroNumberFacts",t[t.NonZeroNumberStrictFacts=7929090]="NonZeroNumberStrictFacts",t[t.NonZeroNumberFacts=16776450]="NonZeroNumberFacts",t[t.BaseBigIntStrictFacts=3734276]="BaseBigIntStrictFacts",t[t.BaseBigIntFacts=12581636]="BaseBigIntFacts",t[t.BigIntStrictFacts=16317188]="BigIntStrictFacts",t[t.BigIntFacts=16775940]="BigIntFacts",t[t.ZeroBigIntStrictFacts=12122884]="ZeroBigIntStrictFacts",t[t.ZeroBigIntFacts=12581636]="ZeroBigIntFacts",t[t.NonZeroBigIntStrictFacts=7928580]="NonZeroBigIntStrictFacts",t[t.NonZeroBigIntFacts=16775940]="NonZeroBigIntFacts",t[t.BaseBooleanStrictFacts=3733256]="BaseBooleanStrictFacts",t[t.BaseBooleanFacts=12580616]="BaseBooleanFacts",t[t.BooleanStrictFacts=16316168]="BooleanStrictFacts",t[t.BooleanFacts=16774920]="BooleanFacts",t[t.FalseStrictFacts=12121864]="FalseStrictFacts",t[t.FalseFacts=12580616]="FalseFacts",t[t.TrueStrictFacts=7927560]="TrueStrictFacts",t[t.TrueFacts=16774920]="TrueFacts",t[t.SymbolStrictFacts=7925520]="SymbolStrictFacts",t[t.SymbolFacts=16772880]="SymbolFacts",t[t.ObjectStrictFacts=7888800]="ObjectStrictFacts",t[t.ObjectFacts=16736160]="ObjectFacts",t[t.FunctionStrictFacts=7880640]="FunctionStrictFacts",t[t.FunctionFacts=16728e3]="FunctionFacts",t[t.VoidFacts=9830144]="VoidFacts",t[t.UndefinedFacts=26607360]="UndefinedFacts",t[t.NullFacts=42917664]="NullFacts",t[t.EmptyObjectStrictFacts=83427327]="EmptyObjectStrictFacts",t[t.EmptyObjectFacts=83886079]="EmptyObjectFacts",t[t.UnknownFacts=83886079]="UnknownFacts",t[t.AllTypeofNE=556800]="AllTypeofNE",t[t.OrFactsMask=8256]="OrFactsMask",t[t.AndFactsMask=134209471]="AndFactsMask",t))(UY||{}),jde=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),qY=(t=>(t[t.Normal=0]="Normal",t[t.Contextual=1]="Contextual",t[t.Inferential=2]="Inferential",t[t.SkipContextSensitive=4]="SkipContextSensitive",t[t.SkipGenericFunctions=8]="SkipGenericFunctions",t[t.IsForSignatureHelp=16]="IsForSignatureHelp",t[t.RestBindingElement=32]="RestBindingElement",t[t.TypeOnly=64]="TypeOnly",t))(qY||{}),ZY=(t=>(t[t.None=0]="None",t[t.BivariantCallback=1]="BivariantCallback",t[t.StrictCallback=2]="StrictCallback",t[t.IgnoreReturnTypes=4]="IgnoreReturnTypes",t[t.StrictArity=8]="StrictArity",t[t.StrictTopSignature=16]="StrictTopSignature",t[t.Callback=3]="Callback",t))(ZY||{}),Fet=U$(bet,CPt),YY=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),IAe=class{},(t=>{t.JSX="JSX",t.IntrinsicElements="IntrinsicElements",t.ElementClass="ElementClass",t.ElementAttributesPropertyNameContainer="ElementAttributesProperty",t.ElementChildrenAttributeNameContainer="ElementChildrenAttribute",t.Element="Element",t.ElementType="ElementType",t.IntrinsicAttributes="IntrinsicAttributes",t.IntrinsicClassAttributes="IntrinsicClassAttributes",t.LibraryManagedAttributes="LibraryManagedAttributes"})(Im||(Im={})),Vde=class O6t{constructor(u,s,d){this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;for(var f;s instanceof O6t;)s=s.inner;this.inner=s,this.moduleResolverHost=d,this.context=u,this.canTrackSymbol=!!((f=this.inner)!=null&&f.trackSymbol)}trackSymbol(u,s,d){var f,p;if((f=this.inner)!=null&&f.trackSymbol&&!this.disableTrackSymbol){if(this.inner.trackSymbol(u,s,d))return this.onDiagnosticReported(),!0;u.flags&262144||((p=this.context).trackedSymbols??(p.trackedSymbols=[])).push([u,s,d])}return!1}reportInaccessibleThisError(){var u;(u=this.inner)!=null&&u.reportInaccessibleThisError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleThisError())}reportPrivateInBaseOfClassExpression(u){var s;(s=this.inner)!=null&&s.reportPrivateInBaseOfClassExpression&&(this.onDiagnosticReported(),this.inner.reportPrivateInBaseOfClassExpression(u))}reportInaccessibleUniqueSymbolError(){var u;(u=this.inner)!=null&&u.reportInaccessibleUniqueSymbolError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleUniqueSymbolError())}reportCyclicStructureError(){var u;(u=this.inner)!=null&&u.reportCyclicStructureError&&(this.onDiagnosticReported(),this.inner.reportCyclicStructureError())}reportLikelyUnsafeImportRequiredError(u){var s;(s=this.inner)!=null&&s.reportLikelyUnsafeImportRequiredError&&(this.onDiagnosticReported(),this.inner.reportLikelyUnsafeImportRequiredError(u))}reportTruncationError(){var u;(u=this.inner)!=null&&u.reportTruncationError&&(this.onDiagnosticReported(),this.inner.reportTruncationError())}trackReferencedAmbientModule(u,s){var d;(d=this.inner)!=null&&d.trackReferencedAmbientModule&&(this.onDiagnosticReported(),this.inner.trackReferencedAmbientModule(u,s))}trackExternalModuleSymbolOfImportTypeNode(u){var s;(s=this.inner)!=null&&s.trackExternalModuleSymbolOfImportTypeNode&&(this.onDiagnosticReported(),this.inner.trackExternalModuleSymbolOfImportTypeNode(u))}reportNonlocalAugmentation(u,s,d){var f;(f=this.inner)!=null&&f.reportNonlocalAugmentation&&(this.onDiagnosticReported(),this.inner.reportNonlocalAugmentation(u,s,d))}reportNonSerializableProperty(u){var s;(s=this.inner)!=null&&s.reportNonSerializableProperty&&(this.onDiagnosticReported(),this.inner.reportNonSerializableProperty(u))}onDiagnosticReported(){this.context.reportedDiagnostic=!0}}}});function yt(t,u,s,d){if(t===void 0)return t;const f=u(t);let p;if(f!==void 0)return ja(f)?p=(d||BPt)(f):p=f,H.assertNode(p,s),p}function kn(t,u,s,d,f){if(t===void 0)return t;const p=t.length;(d===void 0||d<0)&&(d=0),(f===void 0||f>p-d)&&(f=p-d);let E,v=-1,b=-1;d>0||fp-d)&&(f=p-d),Aet(t,u,s,d,f)}function Aet(t,u,s,d,f){let p;const E=t.length;(d>0||f=2&&(f=kPt(f,s)),s.setLexicalEnvironmentFlags(1,!1)),s.suspendLexicalEnvironment(),f}function kPt(t,u){let s;for(let d=0;d{const E=dv,addSource:We,setSourceContent:Ae,addName:De,addMapping:ft,appendSourceMap:Ze,toJSON:Ie,toString:()=>JSON.stringify(Ie())};function We(St){p();const It=e7(d,St,t.getCurrentDirectory(),t.getCanonicalFileName,!0);let ti=B.get(It);return ti===void 0&&(ti=b.length,b.push(It),v.push(St),B.set(It,ti)),E(),ti}function Ae(St,It){if(p(),It!==null){for(k||(k=[]);k.lengthIt||Se===It&&Ne>ti)}function ft(St,It,ti,ht,Ut,Ni){H.assert(St>=Ce,"generatedLine cannot backtrack"),H.assert(It>=0,"generatedCharacter cannot be negative"),H.assert(ti===void 0||ti>=0,"sourceIndex cannot be negative"),H.assert(ht===void 0||ht>=0,"sourceLine cannot be negative"),H.assert(Ut===void 0||Ut>=0,"sourceCharacter cannot be negative"),p(),(He(St,It)||Je(ti,ht,Ut))&&(Gt(),Ce=St,ne=It,xe=!1,Be=!1,fe=!0),ti!==void 0&&ht!==void 0&&Ut!==void 0&&(ve=ti,Se=ht,Ne=Ut,xe=!0,Ni!==void 0&&(pe=Ni,Be=!0)),E()}function Ze(St,It,ti,ht,Ut,Ni){H.assert(St>=Ce,"generatedLine cannot backtrack"),H.assert(It>=0,"generatedCharacter cannot be negative"),p();const Vi=[];let xn;const $n=Wde(ti.mappings);for(const rn of $n){if(Ni&&(rn.generatedLine>Ni.line||rn.generatedLine===Ni.line&&rn.generatedCharacter>Ni.character))break;if(Ut&&(rn.generatedLine=1024&&Yt()}function Gt(){if(!(!fe||!je())){if(p(),J0&&(j+=String.fromCharCode.apply(void 0,z),z.length=0)}function Ie(){return Gt(),Yt(),{version:3,file:u,sourceRoot:s,sources:b,names:T,mappings:j,sourcesContent:k}}function lt(St){St<0?St=(-St<<1)+1:St=St<<1;do{let It=St&31;St=St>>5,St>0&&(It=It|32),Ke(LPt(It))}while(St>0)}}function Hde(t,u){return{getLineCount:()=>u.length,getLineText:s=>t.substring(u[s],u[s+1])}}function OAe(t){for(let u=t.getLineCount()-1;u>=0;u--){const s=t.getLineText(u),d=XY.exec(s);if(d)return d[1].trimEnd();if(!s.match(eQ))break}}function TPt(t){return typeof t=="string"||t===null}function jAe(t){return t!==null&&typeof t=="object"&&t.version===3&&typeof t.file=="string"&&typeof t.mappings=="string"&&ja(t.sources)&&ye(t.sources,Wa)&&(t.sourceRoot===void 0||t.sourceRoot===null||typeof t.sourceRoot=="string")&&(t.sourcesContent===void 0||t.sourcesContent===null||ja(t.sourcesContent)&&ye(t.sourcesContent,TPt))&&(t.names===void 0||t.names===null||ja(t.names)&&ye(t.names,Wa))}function Kde(t){try{const u=JSON.parse(t);if(jAe(u))return u}catch{}}function Wde(t){let u=!1,s=0,d=0,f=0,p=0,E=0,v=0,b=0,B;return{get pos(){return s},get error(){return B},get state(){return k(!0,!0)},next(){for(;!u&&s=t.length)return M("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;const ge=NPt(t.charCodeAt(s));if(ge===-1)return M("Invalid character in VLQ"),-1;Y=(ge&32)!==0,se=se|(ge&31)<>1,se=-se):se=se>>1,se}}function wet(t,u){return t===u||t.generatedLine===u.generatedLine&&t.generatedCharacter===u.generatedCharacter&&t.sourceIndex===u.sourceIndex&&t.sourceLine===u.sourceLine&&t.sourceCharacter===u.sourceCharacter&&t.nameIndex===u.nameIndex}function VAe(t){return t.sourceIndex!==void 0&&t.sourceLine!==void 0&&t.sourceCharacter!==void 0}function LPt(t){return t>=0&&t<26?65+t:t>=26&&t<52?97+t-26:t>=52&&t<62?48+t-52:t===62?43:t===63?47:H.fail(`${t}: not a base64 value`)}function NPt(t){return t>=65&&t<=90?t-65:t>=97&&t<=122?t-97+26:t>=48&&t<=57?t-48+52:t===43?62:t===47?63:-1}function Tet(t){return t.sourceIndex!==void 0&&t.sourcePosition!==void 0}function Let(t,u){return t.generatedPosition===u.generatedPosition&&t.sourceIndex===u.sourceIndex&&t.sourcePosition===u.sourcePosition}function PPt(t,u){return H.assert(t.sourceIndex===u.sourceIndex),nl(t.sourcePosition,u.sourcePosition)}function MPt(t,u){return nl(t.generatedPosition,u.generatedPosition)}function zPt(t){return t.sourcePosition}function IPt(t){return t.generatedPosition}function HAe(t,u,s){const d=cr(s),f=u.sourceRoot?Ga(u.sourceRoot,d):d,p=Ga(u.file,d),E=t.getSourceFileLike(p),v=u.sources.map(oe=>Ga(oe,f)),b=new Map(v.map((oe,se)=>[t.getCanonicalFileName(oe),se]));let B,k,T;return{getSourcePosition:Y,getGeneratedPosition:K};function M(oe){const se=E!==void 0?BO(E,oe.generatedLine,oe.generatedCharacter,!0):-1;let ge,ae;if(VAe(oe)){const Ce=t.getSourceFileLike(v[oe.sourceIndex]);ge=u.sources[oe.sourceIndex],ae=Ce!==void 0?BO(Ce,oe.sourceLine,oe.sourceCharacter,!0):-1}return{generatedPosition:se,source:ge,sourceIndex:oe.sourceIndex,sourcePosition:ae,nameIndex:oe.nameIndex}}function z(){if(B===void 0){const oe=Wde(u.mappings),se=ga(oe,M);oe.error!==void 0?(t.log&&t.log(`Encountered error while decoding sourcemap: ${oe.error}`),B=_t):B=se}return B}function j(oe){if(T===void 0){const se=[];for(const ge of z()){if(!Tet(ge))continue;let ae=se[ge.sourceIndex];ae||(se[ge.sourceIndex]=ae=[]),ae.push(ge)}T=se.map(ge=>mi(ge,PPt,Let))}return T[oe]}function J(){if(k===void 0){const oe=[];for(const se of z())oe.push(se);k=mi(oe,MPt,Let)}return k}function K(oe){const se=b.get(t.getCanonicalFileName(oe.fileName));if(se===void 0)return oe;const ge=j(se);if(!Ge(ge))return oe;let ae=va(ge,oe.pos,zPt,nl);ae<0&&(ae=~ae);const Ce=ge[ae];return Ce===void 0||Ce.sourceIndex!==se?oe:{fileName:p,pos:Ce.generatedPosition}}function Y(oe){const se=J();if(!Ge(se))return oe;let ge=va(se,oe.pos,IPt,nl);ge<0&&(ge=~ge);const ae=se[ge];return ae===void 0||!Tet(ae)?oe:{fileName:v[ae.sourceIndex],pos:ae.sourcePosition}}}var Gde,XY,eQ,tQ,RPt=o({"src/compiler/sourcemap.ts"(){So(),Hy(),Gde=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,XY=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,eQ=/^\s*(\/\/[@#] .*)?$/,tQ={getSourcePosition:il,getGeneratedPosition:il}}});function P1(t){return t=Kl(t),t?$s(t):0}function OPt(t){return!t||!nD(t)?!1:Ge(t.elements,Net)}function Net(t){return t.propertyName!==void 0&&t.propertyName.escapedText==="default"}function jp(t,u){return s;function s(f){return f.kind===312?u(f):d(f)}function d(f){return t.factory.createBundle(Kt(f.sourceFiles,u),f.prepends)}}function KAe(t){return!!Z8(t)}function iQ(t){if(Z8(t))return!0;const u=t.importClause&&t.importClause.namedBindings;if(!u||!nD(u))return!1;let s=0;for(const d of u.elements)Net(d)&&s++;return s>0&&s!==u.elements.length||!!(u.elements.length-s)&&s7(t)}function Jde(t){return!iQ(t)&&(s7(t)||!!t.importClause&&nD(t.importClause.namedBindings)&&OPt(t.importClause.namedBindings))}function $de(t,u){const s=t.getEmitResolver(),d=t.getCompilerOptions(),f=[],p=new Yde,E=[],v=new Map;let b,B=!1,k,T=!1,M=!1,z=!1;for(const K of u.statements)switch(K.kind){case 272:f.push(K),!M&&iQ(K)&&(M=!0),!z&&Jde(K)&&(z=!0);break;case 271:K.moduleReference.kind===283&&f.push(K);break;case 278:if(K.moduleSpecifier)if(!K.exportClause)f.push(K),T=!0;else if(f.push(K),Q4(K.exportClause))J(K);else{const Y=K.exportClause.name;v.get(fu(Y))||(hM(E,P1(K),Y),v.set(fu(Y),!0),b=Ei(b,Y)),M=!0}else J(K);break;case 277:K.isExportEquals&&!k&&(k=K);break;case 243:if(Qu(K,32))for(const Y of K.declarationList.declarations)b=Pet(Y,v,b,E);break;case 262:if(Qu(K,32))if(Qu(K,2048))B||(hM(E,P1(K),t.factory.getDeclarationName(K)),B=!0);else{const Y=K.name;v.get(fu(Y))||(hM(E,P1(K),Y),v.set(fu(Y),!0),b=Ei(b,Y))}break;case 263:if(Qu(K,32))if(Qu(K,2048))B||(hM(E,P1(K),t.factory.getDeclarationName(K)),B=!0);else{const Y=K.name;Y&&!v.get(fu(Y))&&(hM(E,P1(K),Y),v.set(fu(Y),!0),b=Ei(b,Y))}break}const j=Rce(t.factory,t.getEmitHelperFactory(),u,d,T,M,z);return j&&f.unshift(j),{externalImports:f,exportSpecifiers:p,exportEquals:k,hasExportStarsToExportValues:T,exportedBindings:E,exportedNames:b,externalHelpersImportDeclaration:j};function J(K){for(const Y of No(K.exportClause,Q4).elements)if(!v.get(fu(Y.name))){const oe=Y.propertyName||Y.name;K.moduleSpecifier||p.add(oe,Y);const se=s.getReferencedImportDeclaration(oe)||s.getReferencedValueDeclaration(oe);se&&hM(E,P1(se),Y.name),v.set(fu(Y.name),!0),b=Ei(b,Y.name)}}}function Pet(t,u,s,d){if(Ao(t.name))for(const f of t.name.elements)kd(f)||(s=Pet(f,u,s,d));else if(!al(t.name)){const f=fu(t.name);u.get(f)||(u.set(f,!0),s=Ei(s,t.name),uD(t.name)&&hM(d,P1(t),t.name))}return s}function hM(t,u,s){let d=t[u];return d?d.push(s):t[u]=d=[s],d}function U2(t){return t0(t)||t.kind===9||nf(t.kind)||at(t)}function oE(t){return!at(t)&&U2(t)}function fM(t){return t>=65&&t<=79}function mM(t){switch(t){case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 45;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 75:return 52;case 79:return 53;case 76:return 57;case 77:return 56;case 78:return 61}}function nQ(t){if(!Id(t))return;const u=s0(t.expression);return ek(u)?u:void 0}function Met(t,u,s){for(let d=u;dVPt(d,u,s))}function jPt(t){return HPt(t)||zl(t)}function rQ(t){return ei(t.members,jPt)}function VPt(t,u,s){return yo(t)&&(!!t.initializer||!u)&&Kc(t)===s}function HPt(t){return yo(t)&&Kc(t)}function dH(t){return t.kind===172&&t.initializer!==void 0}function WAe(t){return!Lo(t)&&(T8(t)||Xh(t))&&ea(t.name)}function GAe(t){let u;if(t){const s=t.parameters,d=s.length>0&&B2(s[0]),f=d?1:0,p=d?s.length-1:s.length;for(let E=0;EZde(s.privateEnv,u))}var q7,Yde,GPt=o({"src/compiler/transformers/utilities.ts"(){So(),q7=class wT{constructor(){this._map=new Map}get size(){return this._map.size}has(u){return this._map.has(wT.toKey(u))}get(u){return this._map.get(wT.toKey(u))}set(u,s){return this._map.set(wT.toKey(u),s),this}delete(u){var s;return((s=this._map)==null?void 0:s.delete(wT.toKey(u)))??!1}clear(){this._map.clear()}values(){return this._map.values()}static toKey(u){if(Jy(u)||al(u)){const s=u.emitNode.autoGenerate;if((s.flags&7)===4){const d=RV(u),f=G_(d)&&d!==u?wT.toKey(d):`(generated@${$s(d)})`;return Rv(!1,s.prefix,f,s.suffix,wT.toKey)}else{const d=`(auto@${s.id})`;return Rv(!1,s.prefix,d,s.suffix,wT.toKey)}}return ea(u)?fu(u).slice(1):fu(u)}},Yde=class extends q7{add(t,u){let s=this.get(t);return s?s.push(u):this.set(t,s=[u]),s}remove(t,u){const s=this.get(t);s&&(Oy(s,u),s.length||this.delete(t))}}}});function Sk(t,u,s,d,f,p){let E=t,v;if(u5(t))for(v=t.right;Mye(t.left)||cle(t.left);)if(u5(v))E=t=v,v=t.right;else return H.checkDefined(yt(v,u,Wt));let b;const B={context:s,level:d,downlevelIteration:!!s.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:k,emitBindingOrAssignment:T,createArrayBindingOrAssignmentPattern:M=>XPt(s.factory,M),createObjectBindingOrAssignmentPattern:M=>tMt(s.factory,M),createArrayBindingOrAssignmentElement:nMt,visitor:u};if(v&&(v=yt(v,u,Wt),H.assert(v),at(v)&&qAe(t,v.escapedText)||ZAe(t)?v=Z7(B,v,!1,E):f?v=Z7(B,v,!0,E):sl(t)&&(E=v)),pM(B,t,v,E,u5(t)),v&&f){if(!Ge(b))return v;b.push(v)}return s.factory.inlineExpressions(b)||s.factory.createOmittedExpression();function k(M){b=Ei(b,M)}function T(M,z,j,J){H.assertNode(M,p?at:Wt);const K=p?p(M,z,j):Pt(s.factory.createAssignment(H.checkDefined(yt(M,u,Wt)),z),j);K.original=J,k(K)}}function qAe(t,u){const s=Jx(t);return JO(s)?JPt(s,u):at(s)?s.escapedText===u:!1}function JPt(t,u){const s=MB(t);for(const d of s)if(qAe(d,u))return!0;return!1}function ZAe(t){const u=xY(t);if(u&&Ns(u)&&!m2(u.expression))return!0;const s=Jx(t);return!!s&&JO(s)&&$Pt(s)}function $Pt(t){return!!L(MB(t),ZAe)}function q2(t,u,s,d,f,p=!1,E){let v;const b=[],B=[],k={context:s,level:d,downlevelIteration:!!s.getCompilerOptions().downlevelIteration,hoistTempVariables:p,emitExpression:T,emitBindingOrAssignment:M,createArrayBindingOrAssignmentPattern:z=>QPt(s.factory,z),createObjectBindingOrAssignmentPattern:z=>eMt(s.factory,z),createArrayBindingOrAssignmentElement:z=>iMt(s.factory,z),visitor:u};if(ra(t)){let z=zV(t);z&&(at(z)&&qAe(t,z.escapedText)||ZAe(t))&&(z=Z7(k,H.checkDefined(yt(z,k.visitor,Wt)),!1,z),t=s.factory.updateVariableDeclaration(t,t.name,void 0,void 0,z))}if(pM(k,t,f,t,E),v){const z=s.factory.createTempVariable(void 0);if(p){const j=s.factory.inlineExpressions(v);v=void 0,M(z,j,void 0,void 0)}else{s.hoistVariableDeclaration(z);const j=Cr(b);j.pendingExpressions=Ei(j.pendingExpressions,s.factory.createAssignment(z,j.value)),yn(j.pendingExpressions,v),j.value=z}}for(const{pendingExpressions:z,name:j,value:J,location:K,original:Y}of b){const oe=s.factory.createVariableDeclaration(j,void 0,void 0,z?s.factory.inlineExpressions(Ei(z,J)):J);oe.original=Y,Pt(oe,K),B.push(oe)}return B;function T(z){v=Ei(v,z)}function M(z,j,J,K){H.assertNode(z,$y),v&&(j=s.factory.inlineExpressions(Ei(v,j)),v=void 0),b.push({pendingExpressions:v,name:z,value:j,location:J,original:K})}}function pM(t,u,s,d,f){const p=Jx(u);if(!f){const E=yt(zV(u),t.visitor,Wt);E?s?(s=ZPt(t,s,E,d),!oE(E)&&JO(p)&&(s=Z7(t,s,!0,d))):s=E:s||(s=t.context.factory.createVoidZero())}Zse(p)?UPt(t,u,p,s,d):Yse(p)?qPt(t,u,p,s,d):t.emitBindingOrAssignment(p,s,d,u)}function UPt(t,u,s,d,f){const p=MB(s),E=p.length;if(E!==1){const B=!GO(u)||E!==0;d=Z7(t,d,B,f)}let v,b;for(let B=0;B=1&&!(k.transformFlags&98304)&&!(Jx(k).transformFlags&98304)&&!Ns(T))v=Ei(v,yt(k,t.visitor,nbe));else{v&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(v),d,f,s),v=void 0);const M=YPt(t,d,T);Ns(T)&&(b=Ei(b,M.argumentExpression)),pM(t,k,M,k)}}}v&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(v),d,f,s)}function qPt(t,u,s,d,f){const p=MB(s),E=p.length;if(t.level<1&&t.downlevelIteration)d=Z7(t,Pt(t.context.getEmitHelperFactory().createReadHelper(d,E>0&&DY(p[E-1])?void 0:E),f),!1,f);else if(E!==1&&(t.level<1||E===0)||ye(p,kd)){const B=!GO(u)||E!==0;d=Z7(t,d,B,f)}let v,b;for(let B=0;B=1)if(k.transformFlags&65536||t.hasTransformedPriorElement&&!Iet(k)){t.hasTransformedPriorElement=!0;const T=t.context.factory.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(T),b=Ei(b,[T,k]),v=Ei(v,t.createArrayBindingOrAssignmentElement(T))}else v=Ei(v,k);else{if(kd(k))continue;if(DY(k)){if(B===E-1){const T=t.context.factory.createArraySliceCall(d,B);pM(t,k,T,k)}}else{const T=t.context.factory.createElementAccessExpression(d,B);pM(t,k,T,k)}}}if(v&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(v),d,f,s),b)for(const[B,k]of b)pM(t,k,B,k)}function Iet(t){const u=Jx(t);if(!u||kd(u))return!0;const s=xY(t);if(s&&!Qg(s))return!1;const d=zV(t);return d&&!oE(d)?!1:JO(u)?ye(MB(u),Iet):at(u)}function ZPt(t,u,s,d){return u=Z7(t,u,!0,d),t.context.factory.createConditionalExpression(t.context.factory.createTypeCheck(u,"undefined"),void 0,s,void 0,u)}function YPt(t,u,s){const{factory:d}=t.context;if(Ns(s)){const f=Z7(t,H.checkDefined(yt(s.expression,t.visitor,Wt)),!1,s);return t.context.factory.createElementAccessExpression(u,f)}else if(Nm(s)){const f=d.cloneNode(s);return t.context.factory.createElementAccessExpression(u,f)}else{const f=t.context.factory.createIdentifier(fu(s));return t.context.factory.createPropertyAccessExpression(u,f)}}function Z7(t,u,s,d){if(at(u)&&s)return u;{const f=t.context.factory.createTempVariable(void 0);return t.hoistTempVariables?(t.context.hoistVariableDeclaration(f),t.emitExpression(Pt(t.context.factory.createAssignment(f,u),d))):t.emitBindingOrAssignment(f,u,d,void 0),f}}function QPt(t,u){return H.assertEachNode(u,zU),t.createArrayBindingPattern(u)}function XPt(t,u){return H.assertEachNode(u,UO),t.createArrayLiteralExpression(Kt(u,t.converters.convertToArrayAssignmentElement))}function eMt(t,u){return H.assertEachNode(u,Os),t.createObjectBindingPattern(u)}function tMt(t,u){return H.assertEachNode(u,$O),t.createObjectLiteralExpression(Kt(u,t.converters.convertToObjectAssignmentElement))}function iMt(t,u){return t.createBindingElement(void 0,void 0,u)}function nMt(t){return t}var Qde,uMt=o({"src/compiler/transformers/destructuring.ts"(){So(),Qde=(t=>(t[t.All=0]="All",t[t.ObjectRest=1]="ObjectRest",t))(Qde||{})}});function YAe(t,u,s=t.createThis()){const d=t.createAssignment(u,s),f=t.createExpressionStatement(d),p=t.createBlock([f],!1),E=t.createClassStaticBlockDeclaration(p);return N1(E).classThis=u,E}function gM(t){var u;if(!zl(t)||t.body.statements.length!==1)return!1;const s=t.body.statements[0];return Id(s)&&od(s.expression,!0)&&at(s.expression.left)&&((u=t.emitNode)==null?void 0:u.classThis)===s.expression.left&&s.expression.right.kind===110}function Xde(t){var u;return!!((u=t.emitNode)!=null&&u.classThis)&&Ge(t.members,gM)}function QAe(t,u,s,d){if(Xde(u))return u;const f=YAe(t,s,d);u.name&&Fs(f.body.statements[0],u.name);const p=t.createNodeArray([f,...u.members]);Pt(p,u.members);const E=Wc(u)?t.updateClassDeclaration(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,p):t.updateClassExpression(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,p);return N1(E).classThis=s,E}var rMt=o({"src/compiler/transformers/classThis.ts"(){So()}});function EM(t,u,s){const d=Kl(_c(s));return(Wc(d)||Xc(d))&&!d.name&&Qu(d,2048)?t.createStringLiteral("default"):t.createStringLiteralFromNode(u)}function Ret(t,u,s){const{factory:d}=t;if(s!==void 0)return{assignedName:d.createStringLiteral(s),name:u};if(Qg(u)||ea(u))return{assignedName:d.createStringLiteralFromNode(u),name:u};if(Qg(u.expression)&&!at(u.expression))return{assignedName:d.createStringLiteralFromNode(u.expression),name:u};const f=d.getGeneratedNameForNode(u);t.hoistVariableDeclaration(f);const p=t.getEmitHelperFactory().createPropKeyHelper(u.expression),E=d.createAssignment(f,p),v=d.updateComputedPropertyName(u,E);return{assignedName:f,name:v}}function XAe(t,u,s=t.factory.createThis()){const{factory:d}=t,f=t.getEmitHelperFactory().createSetFunctionNameHelper(s,u),p=d.createExpressionStatement(f),E=d.createBlock([p],!1),v=d.createClassStaticBlockDeclaration(E);return N1(v).assignedName=u,v}function Y7(t){var u;if(!zl(t)||t.body.statements.length!==1)return!1;const s=t.body.statements[0];return Id(s)&&OP(s.expression,"___setFunctionName")&&s.expression.arguments.length>=2&&s.expression.arguments[1]===((u=t.emitNode)==null?void 0:u.assignedName)}function oQ(t){var u;return!!((u=t.emitNode)!=null&&u.assignedName)&&Ge(t.members,Y7)}function e1e(t){return!!t.name||oQ(t)}function sQ(t,u,s,d){if(oQ(u))return u;const{factory:f}=t,p=XAe(t,s,d);u.name&&Fs(p.body.statements[0],u.name);const E=Ue(u.members,gM)+1,v=u.members.slice(0,E),b=u.members.slice(E),B=f.createNodeArray([...v,p,...b]);return Pt(B,u.members),u=Wc(u)?f.updateClassDeclaration(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,B):f.updateClassExpression(u,u.modifiers,u.name,u.typeParameters,u.heritageClauses,B),N1(u).assignedName=s,u}function JB(t,u,s,d){if(d&&us(s)&&S0e(s))return u;const{factory:f}=t,p=_c(u),E=Qd(p)?No(sQ(t,p,s),Qd):t.getEmitHelperFactory().createSetFunctionNameHelper(p,s);return f.restoreOuterExpressions(u,E)}function aMt(t,u,s,d){const{factory:f}=t,{assignedName:p,name:E}=Ret(t,u.name,d),v=JB(t,u.initializer,p,s);return f.updatePropertyAssignment(u,E,v)}function oMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):EM(f,u.name,u.objectAssignmentInitializer),E=JB(t,u.objectAssignmentInitializer,p,s);return f.updateShorthandPropertyAssignment(u,u.name,E)}function sMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):EM(f,u.name,u.initializer),E=JB(t,u.initializer,p,s);return f.updateVariableDeclaration(u,u.name,u.exclamationToken,u.type,E)}function lMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):EM(f,u.name,u.initializer),E=JB(t,u.initializer,p,s);return f.updateParameterDeclaration(u,u.modifiers,u.dotDotDotToken,u.name,u.questionToken,u.type,E)}function cMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):EM(f,u.name,u.initializer),E=JB(t,u.initializer,p,s);return f.updateBindingElement(u,u.dotDotDotToken,u.propertyName,u.name,E)}function dMt(t,u,s,d){const{factory:f}=t,{assignedName:p,name:E}=Ret(t,u.name,d),v=JB(t,u.initializer,p,s);return f.updatePropertyDeclaration(u,u.modifiers,E,u.questionToken??u.exclamationToken,u.type,v)}function hMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):EM(f,u.left,u.right),E=JB(t,u.right,p,s);return f.updateBinaryExpression(u,u.left,u.operatorToken,E)}function fMt(t,u,s,d){const{factory:f}=t,p=d!==void 0?f.createStringLiteral(d):f.createStringLiteral(u.isExportEquals?"":"default"),E=JB(t,u.expression,p,s);return f.updateExportAssignment(u,u.modifiers,E)}function jf(t,u,s,d){switch(u.kind){case 303:return aMt(t,u,s,d);case 304:return oMt(t,u,s,d);case 260:return sMt(t,u,s,d);case 169:return lMt(t,u,s,d);case 208:return cMt(t,u,s,d);case 172:return dMt(t,u,s,d);case 226:return hMt(t,u,s,d);case 277:return fMt(t,u,s,d)}}var mMt=o({"src/compiler/transformers/namedEvaluation.ts"(){So()}});function t1e(t,u,s,d,f,p){const E=yt(u.tag,s,Wt);H.assert(E);const v=[void 0],b=[],B=[],k=u.template;if(p===0&&!Y0e(k))return un(u,s,t);const{factory:T}=t;if(B7(k))b.push(e7e(T,k)),B.push(t7e(T,k,d));else{b.push(e7e(T,k.head)),B.push(t7e(T,k.head,d));for(const z of k.templateSpans)b.push(e7e(T,z.literal)),B.push(t7e(T,z.literal,d)),v.push(H.checkDefined(yt(z.expression,s,Wt)))}const M=t.getEmitHelperFactory().createTemplateObjectHelper(T.createArrayLiteralExpression(b),T.createArrayLiteralExpression(B));if(Bc(d)){const z=T.createUniqueName("templateObject");f(z),v[0]=T.createLogicalOr(z,T.createAssignment(z,M))}else v[0]=M;return T.createCallExpression(E,void 0,v)}function e7e(t,u){return u.templateFlags&26656?t.createVoidZero():t.createStringLiteral(u.text)}function t7e(t,u,s){let d=u.rawText;if(d===void 0){H.assertIsDefined(s,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),d=E2(s,u);const f=u.kind===15||u.kind===18;d=d.substring(1,d.length-(f?1:2))}return d=d.replace(/\r\n?/g,` +`),Pt(t.createStringLiteral(d),u)}var i1e,pMt=o({"src/compiler/transformers/taggedTemplate.ts"(){So(),i1e=(t=>(t[t.LiftRestriction=0]="LiftRestriction",t[t.All=1]="All",t))(i1e||{})}});function i7e(t){const{factory:u,getEmitHelperFactory:s,startLexicalEnvironment:d,resumeLexicalEnvironment:f,endLexicalEnvironment:p,hoistVariableDeclaration:E}=t,v=t.getEmitResolver(),b=t.getCompilerOptions(),B=Rs(b),k=f1(b),T=!!b.experimentalDecorators,M=b.emitDecoratorMetadata?u7e(t):void 0,z=t.onEmitNode,j=t.onSubstituteNode;t.onEmitNode=Kp,t.onSubstituteNode=Tc,t.enableSubstitution(211),t.enableSubstitution(212);let J,K,Y,oe,se,ge,ae,Ce;return ne;function ne($){return $.kind===313?ve($):Se($)}function ve($){return u.createBundle($.sourceFiles.map(Se),Si($.prepends,tt=>tt.kind===315?ice(tt,"js"):tt))}function Se($){if($.isDeclarationFile)return $;J=$;const tt=Ne($,lt);return tD(tt,t.readEmitHelpers()),J=void 0,tt}function Ne($,tt){const vt=oe,hi=se,fn=ge;pe($);const Gu=tt($);return oe!==vt&&(se=hi),oe=vt,ge=fn,Gu}function pe($){switch($.kind){case 312:case 269:case 268:case 241:oe=$,se=void 0;break;case 263:case 262:if(Qu($,128))break;$.name?Oe($):H.assert($.kind===263||Qu($,2048));break}}function fe($){return Ne($,xe)}function xe($){return $.transformFlags&1?Ie($):$}function Be($){return Ne($,We)}function We($){switch($.kind){case 272:case 271:case 277:case 278:return Ae($);default:return xe($)}}function Ae($){if(Ja($)!==$)return $.transformFlags&1?un($,fe,t):$;switch($.kind){case 272:return Ui($);case 271:return as($);case 277:return Er($);case 278:return er($);default:H.fail("Unhandled ellided statement")}}function De($){return Ne($,He)}function He($){if(!($.kind===278||$.kind===272||$.kind===273||$.kind===271&&$.moduleReference.kind===283))return $.transformFlags&1||Qu($,32)?Ie($):$}function Je($){return tt=>Ne(tt,vt=>ft(vt,$))}function ft($,tt){switch($.kind){case 176:return Cn($);case 172:return Dn($,tt);case 177:return Yo($,tt);case 178:return vo($,tt);case 174:return aa($,tt);case 175:return un($,fe,t);case 240:return $;case 181:return;default:return H.failBadSyntaxKind($)}}function Ze($){return tt=>Ne(tt,vt=>je(vt,$))}function je($,tt){switch($.kind){case 303:case 304:case 305:return fe($);case 177:return Yo($,tt);case 178:return vo($,tt);case 174:return aa($,tt);default:return H.failBadSyntaxKind($)}}function Ke($){return p1($)?void 0:fe($)}function Gt($){return Qo($)?void 0:fe($)}function Yt($){if(!p1($)&&!(g7($.kind)&28895)&&!(K&&$.kind===95))return $}function Ie($){if(ua($)&&Qu($,128))return u.createNotEmittedStatement($);switch($.kind){case 95:case 90:return K?void 0:$;case 125:case 123:case 124:case 128:case 164:case 87:case 138:case 148:case 103:case 147:case 188:case 189:case 190:case 191:case 187:case 182:case 168:case 133:case 159:case 136:case 154:case 150:case 146:case 116:case 155:case 185:case 184:case 186:case 183:case 192:case 193:case 194:case 196:case 197:case 198:case 199:case 200:case 201:case 181:return;case 265:return u.createNotEmittedStatement($);case 270:return;case 264:return u.createNotEmittedStatement($);case 263:return Ut($);case 231:return Ni($);case 298:return On($);case 233:return Ln($);case 210:return St($);case 176:case 172:case 174:case 177:case 178:case 175:return H.fail("Class and object literal elements must be visited with their respective visitors");case 262:return Qe($);case 218:return Et($);case 219:return Mt($);case 169:return qt($);case 217:return gt($);case 216:case 234:return ii($);case 238:return ni($);case 213:return _i($);case 214:return mt($);case 215:return jt($);case 235:return me($);case 266:return on($);case 243:return Xt($);case 260:return et($);case 267:return ct($);case 271:return as($);case 285:return pi($);case 286:return $i($);default:return un($,fe,t)}}function lt($){const tt=U4(b,"alwaysStrict")&&!(Bc($)&&k>=5)&&!H4($);return u.updateSourceFile($,QY($.statements,Be,t,0,tt))}function St($){return u.updateObjectLiteralExpression($,kn($.properties,Ze($),q3))}function It($){let tt=0;Ge(Ude($,!0,!0))&&(tt|=1);const vt=Yg($);return vt&&_c(vt.expression).kind!==106&&(tt|=64),e5(T,$)&&(tt|=2),YN(T,$)&&(tt|=4),Bo($)?tt|=8:Ua($)?tt|=32:xc($)&&(tt|=16),tt}function ti($){return!!($.transformFlags&8192)}function ht($){return a4($)||Ge($.typeParameters)||Ge($.heritageClauses,ti)||Ge($.members,ti)}function Ut($){const tt=It($),vt=B<=1&&!!(tt&7);if(!ht($)&&!e5(T,$)&&!Bo($))return u.updateClassDeclaration($,kn($.modifiers,Yt,Qo),$.name,void 0,kn($.heritageClauses,fe,fm),kn($.members,Je($),qd));vt&&t.startLexicalEnvironment();const hi=vt||tt&8;let fn=hi?kn($.modifiers,Gt,ol):kn($.modifiers,fe,ol);tt&2&&(fn=xn(fn,$));const uu=hi&&!$.name||tt&4||tt&1?$.name??u.getGeneratedNameForNode($):$.name,wu=u.updateClassDeclaration($,fn,uu,void 0,kn($.heritageClauses,fe,fm),Vi($));let Mr=Cs($);tt&1&&(Mr|=64),Yn(wu,Mr);let ju;if(vt){const As=[wu],tc=hle(ps(J.text,$.members.end),20),id=u.getInternalName($),S0=u.createPartiallyEmittedExpression(id);hB(S0,tc.end),Yn(S0,3072);const nd=u.createReturnStatement(S0);SP(nd,tc.pos),Yn(nd,3840),As.push(nd),qE(As,t.endLexicalEnvironment());const f0=u.createImmediatelyInvokedArrowFunction(As);gV(f0,1);const Sd=u.createVariableDeclaration(u.getLocalName($,!1,!1),void 0,void 0,f0);su(Sd,$);const Ih=u.createVariableStatement(void 0,u.createVariableDeclarationList([Sd],1));su(Ih,$),Sc(Ih,$),Fs(Ih,a5($)),xh(Ih),ju=Ih}else ju=wu;if(hi){if(tt&8)return[ju,l0($)];if(tt&32)return[ju,u.createExportDefault(u.getLocalName($,!1,!0))];if(tt&16)return[ju,u.createExternalModuleExport(u.getDeclarationName($,!1,!0))]}return ju}function Ni($){let tt=kn($.modifiers,Gt,ol);return e5(T,$)&&(tt=xn(tt,$)),u.updateClassExpression($,tt,$.name,void 0,kn($.heritageClauses,fe,fm),Vi($))}function Vi($){const tt=kn($.members,Je($),qd);let vt;const hi=Q_($),fn=hi&&ei(hi.parameters,Gu=>Pf(Gu,hi));if(fn)for(const Gu of fn){const uu=u.createPropertyDeclaration(void 0,Gu.name,void 0,void 0,void 0);su(uu,Gu),vt=Ei(vt,uu)}return vt?(vt=yn(vt,tt),Pt(u.createNodeArray(vt),$.members)):tt}function xn($,tt){const vt=rn(tt,tt);if(Ge(vt)){const hi=[];yn(hi,Y$($,IV)),yn(hi,ei($,p1)),yn(hi,vt),yn(hi,ei(t2e($,IV),Qo)),$=Pt(u.createNodeArray(hi),$)}return $}function $n($,tt,vt){if(gr(vt)&&A0e(T,tt,vt)){const hi=rn(tt,vt);if(Ge(hi)){const fn=[];yn(fn,ei($,p1)),yn(fn,hi),yn(fn,ei($,Qo)),$=Pt(u.createNodeArray(fn),$)}}return $}function rn($,tt){if(T)return Oet?ki($,tt):Pi($,tt)}function Pi($,tt){if(M){let vt;if(Yu($)){const hi=s().createMetadataHelper("design:type",M.serializeTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$));vt=Ei(vt,u.createDecorator(hi))}if(Fr($)){const hi=s().createMetadataHelper("design:paramtypes",M.serializeParameterTypesOfNode({currentLexicalScope:oe,currentNameScope:tt},$,tt));vt=Ei(vt,u.createDecorator(hi))}if(oa($)){const hi=s().createMetadataHelper("design:returntype",M.serializeReturnTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$));vt=Ei(vt,u.createDecorator(hi))}return vt}}function ki($,tt){if(M){let vt;if(Yu($)){const hi=u.createPropertyAssignment("type",u.createArrowFunction(void 0,void 0,[],void 0,u.createToken(39),M.serializeTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$)));vt=Ei(vt,hi)}if(Fr($)){const hi=u.createPropertyAssignment("paramTypes",u.createArrowFunction(void 0,void 0,[],void 0,u.createToken(39),M.serializeParameterTypesOfNode({currentLexicalScope:oe,currentNameScope:tt},$,tt)));vt=Ei(vt,hi)}if(oa($)){const hi=u.createPropertyAssignment("returnType",u.createArrowFunction(void 0,void 0,[],void 0,u.createToken(39),M.serializeReturnTypeOfNode({currentLexicalScope:oe,currentNameScope:tt},$)));vt=Ei(vt,hi)}if(vt){const hi=s().createMetadataHelper("design:typeinfo",u.createObjectLiteralExpression(vt,!0));return[u.createDecorator(hi)]}}}function Yu($){const tt=$.kind;return tt===174||tt===177||tt===178||tt===172}function oa($){return $.kind===174}function Fr($){switch($.kind){case 263:case 231:return Q_($)!==void 0;case 174:case 177:case 178:return!0}return!1}function Sa($,tt){const vt=$.name;return ea(vt)?u.createIdentifier(""):Ns(vt)?tt&&!oE(vt.expression)?u.getGeneratedNameForNode(vt):vt.expression:at(vt)?u.createStringLiteral(fu(vt)):u.cloneNode(vt)}function bt($){const tt=$.name;if(Ns(tt)&&(!Kc($)&&ge||a4($)&&T)){const vt=yt(tt.expression,fe,Wt);H.assert(vt);const hi=wp(vt);if(!oE(hi)){const fn=u.getGeneratedNameForNode(tt);return E(fn),u.updateComputedPropertyName(tt,u.createAssignment(fn,vt))}}return H.checkDefined(yt(tt,fe,Ac))}function On($){if($.token!==119)return un($,fe,t)}function Ln($){return u.updateExpressionWithTypeArguments($,H.checkDefined(yt($.expression,fe,_f)),void 0)}function Fi($){return!Yl($.body)}function Dn($,tt){const vt=$.flags&33554432||Qu($,64);if(vt&&!(T&&a4($)))return;let hi=gr(tt)?vt?kn($.modifiers,Gt,ol):kn($.modifiers,fe,ol):kn($.modifiers,Ke,ol);return hi=$n(hi,$,tt),vt?u.updatePropertyDeclaration($,an(hi,u.createModifiersFromModifierFlags(128)),H.checkDefined(yt($.name,fe,Ac)),void 0,void 0,void 0):u.updatePropertyDeclaration($,hi,bt($),void 0,void 0,yt($.initializer,fe,Wt))}function Cn($){if(Fi($))return u.updateConstructorDeclaration($,void 0,Dc($.parameters,fe,t),sa($.body,$))}function tu($,tt,vt,hi,fn,Gu){const uu=hi[fn],wu=tt[uu];if(yn($,kn(tt,fe,ua,vt,uu-vt)),xk(wu)){const Mr=[];tu(Mr,wu.tryBlock.statements,0,hi,fn+1,Gu);const ju=u.createNodeArray(Mr);Pt(ju,wu.tryBlock.statements),$.push(u.updateTryStatement(wu,u.updateBlock(wu.tryBlock,Mr),yt(wu.catchClause,fe,H2),yt(wu.finallyBlock,fe,ho)))}else yn($,kn(tt,fe,ua,uu,1)),yn($,Gu);yn($,kn(tt,fe,ua,uu+1))}function sa($,tt){const vt=tt&&ei(tt.parameters,Mr=>Pf(Mr,tt));if(!Ge(vt))return Rm($,fe,t);let hi=[];f();const fn=u.copyPrologue($.statements,hi,!1,fe),Gu=uQ($.statements,fn),uu=Si(vt,Da);Gu.length?tu(hi,$.statements,fn,Gu,0,uu):(yn(hi,uu),yn(hi,kn($.statements,fe,ua,fn))),hi=u.mergeLexicalEnvironment(hi,p());const wu=u.createBlock(Pt(u.createNodeArray(hi),$.statements),!0);return Pt(wu,$),su(wu,$),wu}function Da($){const tt=$.name;if(!at(tt))return;const vt=ys(Pt(u.cloneNode(tt),tt),tt.parent);Yn(vt,3168);const hi=ys(Pt(u.cloneNode(tt),tt),tt.parent);return Yn(hi,3072),xh(pV(Pt(su(u.createExpressionStatement(u.createAssignment(Pt(u.createPropertyAccessExpression(u.createThis(),vt),$.name),hi)),$),Fv($,-1))))}function aa($,tt){if(!($.transformFlags&1))return $;if(!Fi($))return;let vt=gr(tt)?kn($.modifiers,fe,ol):kn($.modifiers,Ke,ol);return vt=$n(vt,$,tt),u.updateMethodDeclaration($,vt,$.asteriskToken,bt($),void 0,void 0,Dc($.parameters,fe,t),void 0,Rm($.body,fe,t))}function Ba($){return!(Yl($.body)&&Qu($,64))}function Yo($,tt){if(!($.transformFlags&1))return $;if(!Ba($))return;let vt=gr(tt)?kn($.modifiers,fe,ol):kn($.modifiers,Ke,ol);return vt=$n(vt,$,tt),u.updateGetAccessorDeclaration($,vt,bt($),Dc($.parameters,fe,t),void 0,Rm($.body,fe,t)||u.createBlock([]))}function vo($,tt){if(!($.transformFlags&1))return $;if(!Ba($))return;let vt=gr(tt)?kn($.modifiers,fe,ol):kn($.modifiers,Ke,ol);return vt=$n(vt,$,tt),u.updateSetAccessorDeclaration($,vt,bt($),Dc($.parameters,fe,t),Rm($.body,fe,t)||u.createBlock([]))}function Qe($){if(!Fi($))return u.createNotEmittedStatement($);const tt=u.updateFunctionDeclaration($,kn($.modifiers,Yt,Qo),$.asteriskToken,$.name,void 0,Dc($.parameters,fe,t),void 0,Rm($.body,fe,t)||u.createBlock([]));if(Bo($)){const vt=[tt];return $l(vt,$),vt}return tt}function Et($){return Fi($)?u.updateFunctionExpression($,kn($.modifiers,Yt,Qo),$.asteriskToken,$.name,void 0,Dc($.parameters,fe,t),void 0,Rm($.body,fe,t)||u.createBlock([])):u.createOmittedExpression()}function Mt($){return u.updateArrowFunction($,kn($.modifiers,Yt,Qo),void 0,Dc($.parameters,fe,t),void 0,$.equalsGreaterThanToken,Rm($.body,fe,t))}function qt($){if(B2($))return;const tt=u.updateParameterDeclaration($,kn($.modifiers,vt=>p1(vt)?fe(vt):void 0,ol),$.dotDotDotToken,H.checkDefined(yt($.name,fe,$y)),void 0,void 0,yt($.initializer,fe,Wt));return tt!==$&&(Sc(tt,$),Pt(tt,tE($)),Fs(tt,tE($)),Yn(tt.name,64)),tt}function Xt($){if(Bo($)){const tt=_P($.declarationList);return tt.length===0?void 0:Pt(u.createExpressionStatement(u.inlineExpressions(Kt(tt,Pe))),$)}else return un($,fe,t)}function Pe($){const tt=$.name;return Ao(tt)?Sk($,fe,t,0,!1,cd):Pt(u.createAssignment(vl(tt),H.checkDefined(yt($.initializer,fe,Wt))),$)}function et($){const tt=u.updateVariableDeclaration($,H.checkDefined(yt($.name,fe,$y)),void 0,void 0,yt($.initializer,fe,Wt));return $.type&&Vke(tt.name,$.type),tt}function gt($){const tt=_c($.expression,-7);if(qy(tt)){const vt=yt($.expression,fe,Wt);return H.assert(vt),u.createPartiallyEmittedExpression(vt,$)}return un($,fe,t)}function ii($){const tt=yt($.expression,fe,Wt);return H.assert(tt),u.createPartiallyEmittedExpression(tt,$)}function me($){const tt=yt($.expression,fe,_f);return H.assert(tt),u.createPartiallyEmittedExpression(tt,$)}function ni($){const tt=yt($.expression,fe,Wt);return H.assert(tt),u.createPartiallyEmittedExpression(tt,$)}function _i($){return u.updateCallExpression($,H.checkDefined(yt($.expression,fe,Wt)),void 0,kn($.arguments,fe,Wt))}function mt($){return u.updateNewExpression($,H.checkDefined(yt($.expression,fe,Wt)),void 0,kn($.arguments,fe,Wt))}function jt($){return u.updateTaggedTemplateExpression($,H.checkDefined(yt($.tag,fe,Wt)),void 0,H.checkDefined(yt($.template,fe,L8)))}function pi($){return u.updateJsxSelfClosingElement($,H.checkDefined(yt($.tagName,fe,KN)),void 0,H.checkDefined(yt($.attributes,fe,V2)))}function $i($){return u.updateJsxOpeningElement($,H.checkDefined(yt($.tagName,fe,KN)),void 0,H.checkDefined(yt($.attributes,fe,V2)))}function Yi($){return!x2($)||dk(b)}function on($){if(!Yi($))return u.createNotEmittedStatement($);const tt=[];let vt=4;const hi=Ct(tt,$);hi&&(k!==4||oe!==J)&&(vt|=1024);const fn=oo($),Gu=Ho($),uu=Bo($)?u.getExternalModuleOrNamespaceExportName(Y,$,!1,!0):u.getDeclarationName($,!1,!0);let wu=u.createLogicalOr(uu,u.createAssignment(uu,u.createObjectLiteralExpression()));if(Bo($)){const ju=u.getLocalName($,!1,!0);wu=u.createAssignment(ju,wu)}const Mr=u.createExpressionStatement(u.createCallExpression(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,fn)],void 0,le($,Gu)),void 0,[wu]));return su(Mr,$),hi&&(Tv(Mr,void 0),k7(Mr,void 0)),Pt(Mr,$),t_(Mr,vt),tt.push(Mr),tt}function le($,tt){const vt=Y;Y=tt;const hi=[];d();const fn=Kt($.members,te);return qE(hi,p()),yn(hi,fn),Y=vt,u.createBlock(Pt(u.createNodeArray(hi),$.members),!0)}function te($){const tt=Sa($,!1),vt=we($),hi=u.createAssignment(u.createElementAccessExpression(Y,tt),vt),fn=vt.kind===11?hi:u.createAssignment(u.createElementAccessExpression(Y,hi),tt);return Pt(u.createExpressionStatement(Pt(fn,$)),$)}function we($){const tt=v.getConstantValue($);return tt!==void 0?typeof tt=="string"?u.createStringLiteral(tt):u.createNumericLiteral(tt):(td(),$.initializer?H.checkDefined(yt($.initializer,fe,Wt)):u.createVoidZero())}function de($){const tt=Ja($,Ec);return tt?Ide(tt,dk(b)):!0}function Oe($){se||(se=new Map);const tt=it($);se.has(tt)||se.set(tt,$)}function X($){if(se){const tt=it($);return se.get(tt)===$}return!0}function it($){return H.assertNode($.name,at),$.name.escapedText}function Ct($,tt){const vt=u.createVariableDeclaration(u.getLocalName(tt,!1,!0)),hi=oe.kind===312?0:1,fn=u.createVariableStatement(kn(tt.modifiers,Yt,Qo),u.createVariableDeclarationList([vt],hi));return su(vt,tt),Tv(vt,void 0),k7(vt,void 0),su(fn,tt),Oe(tt),X(tt)?(tt.kind===266?Fs(fn.declarationList,tt):Fs(fn,tt),Sc(fn,tt),t_(fn,2048),$.push(fn),!0):!1}function ct($){if(!de($))return u.createNotEmittedStatement($);H.assertNode($.name,at,"A TypeScript namespace should have an Identifier name."),U0();const tt=[];let vt=4;const hi=Ct(tt,$);hi&&(k!==4||oe!==J)&&(vt|=1024);const fn=oo($),Gu=Ho($),uu=Bo($)?u.getExternalModuleOrNamespaceExportName(Y,$,!1,!0):u.getDeclarationName($,!1,!0);let wu=u.createLogicalOr(uu,u.createAssignment(uu,u.createObjectLiteralExpression()));if(Bo($)){const ju=u.getLocalName($,!1,!0);wu=u.createAssignment(ju,wu)}const Mr=u.createExpressionStatement(u.createCallExpression(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,fn)],void 0,Qt($,Gu)),void 0,[wu]));return su(Mr,$),hi&&(Tv(Mr,void 0),k7(Mr,void 0)),Pt(Mr,$),t_(Mr,vt),tt.push(Mr),tt}function Qt($,tt){const vt=Y,hi=K,fn=se;Y=tt,K=$,se=void 0;const Gu=[];d();let uu,wu;if($.body)if($.body.kind===268)Ne($.body,ju=>yn(Gu,kn(ju.statements,De,ua))),uu=$.body.statements,wu=$.body;else{const ju=ct($.body);ju&&(ja(ju)?yn(Gu,ju):Gu.push(ju));const As=Ti($).body;uu=Fv(As.statements,-1)}qE(Gu,p()),Y=vt,K=hi,se=fn;const Mr=u.createBlock(Pt(u.createNodeArray(Gu),uu),!0);return Pt(Mr,wu),(!$.body||$.body.kind!==268)&&Yn(Mr,Cs(Mr)|3072),Mr}function Ti($){if($.body.kind===267)return Ti($.body)||$.body}function Ui($){if(!$.importClause)return $;if($.importClause.isTypeOnly)return;const tt=yt($.importClause,Sn,i_);return tt||b.importsNotUsedAsValues===1||b.importsNotUsedAsValues===2?u.updateImportDeclaration($,void 0,tt,$.moduleSpecifier,$.attributes):void 0}function Sn($){H.assert(!$.isTypeOnly);const tt=vc($)?$.name:void 0,vt=yt($.namedBindings,du,t0e);return tt||vt?u.updateImportClause($,!1,tt,vt):void 0}function du($){if($.kind===274)return vc($)?$:void 0;{const tt=b.verbatimModuleSyntax||b.preserveValueImports&&(b.importsNotUsedAsValues===1||b.importsNotUsedAsValues===2),vt=kn($.elements,Iu,Cf);return tt||Ge(vt)?u.updateNamedImports($,vt):void 0}}function Iu($){return!$.isTypeOnly&&vc($)?$:void 0}function Er($){return b.verbatimModuleSyntax||v.isValueAliasDeclaration($)?un($,fe,t):void 0}function er($){if($.isTypeOnly)return;if(!$.exportClause||n_($.exportClause))return $;const tt=b.verbatimModuleSyntax||!!$.moduleSpecifier&&(b.importsNotUsedAsValues===1||b.importsNotUsedAsValues===2),vt=yt($.exportClause,hi=>Ra(hi,tt),Kse);return vt?u.updateExportDeclaration($,void 0,$.isTypeOnly,vt,$.moduleSpecifier,$.attributes):void 0}function da($,tt){const vt=kn($.elements,wn,X1);return tt||Ge(vt)?u.updateNamedExports($,vt):void 0}function Wu($){return u.updateNamespaceExport($,H.checkDefined(yt($.name,fe,at)))}function Ra($,tt){return n_($)?Wu($):da($,tt)}function wn($){return!$.isTypeOnly&&(b.verbatimModuleSyntax||v.isValueAliasDeclaration($))?$:void 0}function Rr($){return vc($)||!Bc(J)&&v.isTopLevelValueImportEqualsWithEntityName($)}function as($){if($.isTypeOnly)return;if(vv($)){const vt=vc($);return!vt&&b.importsNotUsedAsValues===1?su(Pt(u.createImportDeclaration(void 0,void 0,$.moduleReference.expression,void 0),$),$):vt?un($,fe,t):void 0}if(!Rr($))return;const tt=LV(u,$.moduleReference);return Yn(tt,7168),xc($)||!Bo($)?su(Pt(u.createVariableStatement(kn($.modifiers,Yt,Qo),u.createVariableDeclarationList([su(u.createVariableDeclaration($.name,void 0,void 0,tt),$)])),$),$):su(wl($.name,tt,$),$)}function Bo($){return K!==void 0&&Qu($,32)}function Fn($){return K===void 0&&Qu($,32)}function xc($){return Fn($)&&!Qu($,2048)}function Ua($){return Fn($)&&Qu($,2048)}function l0($){const tt=u.createAssignment(u.getExternalModuleOrNamespaceExportName(Y,$,!1,!0),u.getLocalName($));Fs(tt,o4($.name?$.name.pos:$.pos,$.end));const vt=u.createExpressionStatement(tt);return Fs(vt,o4(-1,$.end)),vt}function $l($,tt){$.push(l0(tt))}function wl($,tt,vt){return Pt(u.createExpressionStatement(u.createAssignment(u.getNamespaceMemberName(Y,$,!1,!0),tt)),vt)}function cd($,tt,vt){return Pt(u.createAssignment(vl($),tt),vt)}function vl($){return u.getNamespaceMemberName(Y,$,!1,!0)}function oo($){const tt=u.getGeneratedNameForNode($);return Fs(tt,$.name),tt}function Ho($){return u.getGeneratedNameForNode($)}function td(){ae&8||(ae|=8,t.enableSubstitution(80))}function U0(){ae&2||(ae|=2,t.enableSubstitution(80),t.enableSubstitution(304),t.enableEmitNotification(267))}function Ko($){return Kl($).kind===267}function wc($){return Kl($).kind===266}function Kp($,tt,vt){const hi=Ce,fn=J;ca(tt)&&(J=tt),ae&2&&Ko(tt)&&(Ce|=2),ae&8&&wc(tt)&&(Ce|=8),z($,tt,vt),Ce=hi,J=fn}function Tc($,tt){return tt=j($,tt),$===1?cl(tt):mm(tt)?Il(tt):tt}function Il($){if(ae&2){const tt=$.name,vt=Oi(tt);if(vt){if($.objectAssignmentInitializer){const hi=u.createAssignment(vt,$.objectAssignmentInitializer);return Pt(u.createPropertyAssignment(tt,hi),$)}return Pt(u.createPropertyAssignment(tt,vt),$)}}return $}function cl($){switch($.kind){case 80:return Va($);case 211:return dl($);case 212:return Uc($)}return $}function Va($){return Oi($)||$}function Oi($){if(ae&Ce&&!al($)&&!uD($)){const tt=v.getReferencedExportContainer($,!1);if(tt&&tt.kind!==312&&(Ce&2&&tt.kind===267||Ce&8&&tt.kind===266))return Pt(u.createPropertyAccessExpression(u.getGeneratedNameForNode(tt),$),$)}}function dl($){return of($)}function Uc($){return of($)}function vh($){return $.replace(/\*\//g,"*_/")}function of($){const tt=q0($);if(tt!==void 0){Oke($,tt);const vt=typeof tt=="string"?u.createStringLiteral(tt):tt<0?u.createPrefixUnaryExpression(41,u.createNumericLiteral(Math.abs(tt))):u.createNumericLiteral(tt);if(!b.removeComments){const hi=Kl($,M0);bZ(vt,3,` ${vh(Hc(hi))} `)}return vt}return $}function q0($){if(!hg(b))return zu($)||G0($)?v.getConstantValue($):void 0}function vc($){return b.verbatimModuleSyntax||Xn($)||(b.preserveValueImports?v.isValueAliasDeclaration($):v.isReferencedAliasDeclaration($))}}var Oet,gMt=o({"src/compiler/transformers/ts.ts"(){So(),Oet=!1}});function n7e(t){const{factory:u,getEmitHelperFactory:s,hoistVariableDeclaration:d,endLexicalEnvironment:f,startLexicalEnvironment:p,resumeLexicalEnvironment:E,addBlockScopedVariable:v}=t,b=t.getEmitResolver(),B=t.getCompilerOptions(),k=Rs(B),T=Qj(B),M=!!B.experimentalDecorators,z=!T,j=T&&k<9,J=z||j,K=k<9,Y=k<99?-1:T?0:3,oe=k<9,se=oe&&k>=2,ge=J||K||Y===-1,ae=t.onSubstituteNode;t.onSubstituteNode=Uc;const Ce=t.onEmitNode;t.onEmitNode=dl;let ne=!1,ve,Se,Ne,pe,fe;const xe=new Map,Be=new Set;let We,Ae,De=!1,He=!1;return jp(t,Je);function Je($){if($.isDeclarationFile||(fe=void 0,ne=!!(Tp($)&32),!ge&&!ne))return $;const tt=un($,Ze,t);return tD(tt,t.readEmitHelpers()),tt}function ft($){switch($.kind){case 129:return Cn()?void 0:$;default:return rr($,Qo)}}function Ze($){if(!($.transformFlags&16777216)&&!($.transformFlags&134234112))return $;switch($.kind){case 129:return H.fail("Use `modifierVisitor` instead.");case 263:return Yi($);case 231:return le($);case 175:case 172:return H.fail("Use `classElementVisitor` instead.");case 303:return ht($);case 243:return Ut($);case 260:return Ni($);case 169:return Vi($);case 208:return xn($);case 277:return $n($);case 81:return It($);case 211:return Yo($);case 212:return vo($);case 224:case 225:return Qe($,!1);case 226:return ii($,!1);case 217:return ni($,!1);case 213:return Xt($);case 244:return Mt($);case 215:return Pe($);case 248:return Et($);case 110:return de($);case 262:case 218:return Fr(void 0,je,$);case 176:case 174:case 177:case 178:return Fr($,je,$);default:return je($)}}function je($){return un($,Ze,t)}function Ke($){switch($.kind){case 224:case 225:return Qe($,!0);case 226:return ii($,!0);case 361:return me($,!0);case 217:return ni($,!0);default:return Ze($)}}function Gt($){switch($.kind){case 298:return un($,Gt,t);case 233:return pi($);default:return Ze($)}}function Yt($){switch($.kind){case 210:case 209:return Oi($);default:return Ze($)}}function Ie($){switch($.kind){case 176:return Fr($,ki,$);case 177:case 178:case 174:return Fr($,oa,$);case 172:return Fr($,tu,$);case 175:return Fr($,we,$);case 167:return Pi($);case 240:return $;default:return ol($)?ft($):Ze($)}}function lt($){switch($.kind){case 167:return Pi($);default:return Ze($)}}function St($){switch($.kind){case 172:return Dn($);case 177:case 178:return Ie($);default:H.assertMissingNode($,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration");break}}function It($){return!K||ua($.parent)?$:su(u.createIdentifier(""),$)}function ti($){const tt=Ho($.left);if(tt){const vt=yt($.right,Ze,Wt);return su(s().createClassPrivateFieldInHelper(tt.brandCheckIdentifier,vt),$)}return un($,Ze,t)}function ht($){return zf($,gt)&&($=jf(t,$)),un($,Ze,t)}function Ut($){const tt=pe;pe=[];const vt=un($,Ze,t),hi=Ge(pe)?[vt,...pe]:vt;return pe=tt,hi}function Ni($){return zf($,gt)&&($=jf(t,$)),un($,Ze,t)}function Vi($){return zf($,gt)&&($=jf(t,$)),un($,Ze,t)}function xn($){return zf($,gt)&&($=jf(t,$)),un($,Ze,t)}function $n($){return zf($,gt)&&($=jf(t,$,!0,$.isExportEquals?"":"default")),un($,Ze,t)}function rn($){return Ge(Ne)&&(vf($)?(Ne.push($.expression),$=u.updateParenthesizedExpression($,u.inlineExpressions(Ne))):(Ne.push($),$=u.inlineExpressions(Ne)),Ne=void 0),$}function Pi($){const tt=yt($.expression,Ze,Wt);return u.updateComputedPropertyName($,rn(tt))}function ki($){return We?it($,We):je($)}function Yu($){return!!(K||Kc($)&&Tp($)&32)}function oa($){if(H.assert(!a4($)),!mh($)||!Yu($))return un($,Ie,t);const tt=Ho($.name);if(H.assert(tt,"Undeclared private name for property declaration."),!tt.isValid)return $;const vt=Sa($);vt&&Bo().push(u.createAssignment(vt,u.createFunctionExpression(ei($.modifiers,hi=>Qo(hi)&&!T7(hi)&&!tFe(hi)),$.asteriskToken,vt,void 0,Dc($.parameters,Ze,t),void 0,Rm($.body,Ze,t))))}function Fr($,tt,vt){if($!==Ae){const hi=Ae;Ae=$;const fn=tt(vt);return Ae=hi,fn}return tt(vt)}function Sa($){H.assert(ea($.name));const tt=Ho($.name);if(H.assert(tt,"Undeclared private name for property declaration."),tt.kind==="m")return tt.methodName;if(tt.kind==="a"){if(Tx($))return tt.getterName;if(XD($))return tt.setterName}}function bt(){const $=Rr(),tt=$.classThis??$.classConstructor??(We==null?void 0:We.name);return H.checkDefined(tt)}function On($){const tt=iE($),vt=wv($),hi=$.name;let fn=hi,Gu=hi;if(Ns(hi)&&!oE(hi.expression)){const id=CY(hi);if(id)fn=u.updateComputedPropertyName(hi,yt(hi.expression,Ze,Wt)),Gu=u.updateComputedPropertyName(hi,id.left);else{const S0=u.createTempVariable(d);Fs(S0,hi.expression);const nd=yt(hi.expression,Ze,Wt),f0=u.createAssignment(S0,nd);Fs(f0,hi.expression),fn=u.updateComputedPropertyName(hi,f0),Gu=u.updateComputedPropertyName(hi,S0)}}const uu=kn($.modifiers,ft,Qo),wu=Kce(u,$,uu,$.initializer);su(wu,$),Yn(wu,3072),Fs(wu,vt);const Mr=Lo($)?bt():u.createThis(),ju=RFe(u,$,uu,fn,Mr);su(ju,$),Sc(ju,tt),Fs(ju,vt);const As=u.createModifiersFromModifierFlags(eE(uu)),tc=OFe(u,$,As,Gu,Mr);return su(tc,$),Yn(tc,3072),Fs(tc,vt),lH([wu,ju,tc],St,qd)}function Ln($){if(Yu($)){const tt=Ho($.name);if(H.assert(tt,"Undeclared private name for property declaration."),!tt.isValid)return $;if(tt.isStatic&&!K){const vt=Ti($,u.createThis());if(vt)return u.createClassStaticBlockDeclaration(u.createBlock([vt],!0))}return}return z&&!Lo($)&&(fe!=null&&fe.data)&&fe.data.facts&16?u.updatePropertyDeclaration($,kn($.modifiers,Ze,ol),$.name,void 0,void 0,void 0):(zf($,gt)&&($=jf(t,$)),u.updatePropertyDeclaration($,kn($.modifiers,ft,Qo),yt($.name,lt,Ac),void 0,void 0,yt($.initializer,Ze,Wt)))}function Fi($){if(J&&!Xh($)){const tt=Wu($.name,!!$.initializer||T);if(tt&&Bo().push(...jFe(tt)),Lo($)&&!K){const vt=Ti($,u.createThis());if(vt){const hi=u.createClassStaticBlockDeclaration(u.createBlock([vt]));return su(hi,$),Sc(hi,$),Sc(vt,{pos:-1,end:-1}),Tv(vt,void 0),k7(vt,void 0),hi}}return}return u.updatePropertyDeclaration($,kn($.modifiers,ft,Qo),yt($.name,lt,Ac),void 0,void 0,yt($.initializer,Ze,Wt))}function Dn($){return H.assert(!a4($),"Decorators should already have been transformed and elided."),mh($)?Ln($):Fi($)}function Cn(){return Y===-1||Y===3&&!!(fe!=null&&fe.data)&&!!(fe.data.facts&16)}function tu($){return Xh($)&&(Cn()||Kc($)&&Tp($)&32)?On($):Dn($)}function sa(){return!!Ae&&Kc(Ae)&&Bx(Ae)&&Xh(Kl(Ae))}function Da($){if(sa()){const tt=_c($);tt.kind===110&&Be.add(tt)}}function aa($,tt){return tt=yt(tt,Ze,Wt),Da(tt),Ba($,tt)}function Ba($,tt){switch(Sc(tt,Fv(tt,-1)),$.kind){case"a":return s().createClassPrivateFieldGetHelper(tt,$.brandCheckIdentifier,$.kind,$.getterName);case"m":return s().createClassPrivateFieldGetHelper(tt,$.brandCheckIdentifier,$.kind,$.methodName);case"f":return s().createClassPrivateFieldGetHelper(tt,$.brandCheckIdentifier,$.kind,$.isStatic?$.variableName:void 0);case"untransformed":return H.fail("Access helpers should not be created for untransformed private elements");default:H.assertNever($,"Unknown private element type")}}function Yo($){if(ea($.name)){const tt=Ho($.name);if(tt)return Pt(su(aa(tt,$.expression),$),$)}if(se&&Ae&&tf($)&&at($.name)&&_M(Ae)&&(fe!=null&&fe.data)){const{classConstructor:tt,superClassReference:vt,facts:hi}=fe.data;if(hi&1)return da($);if(tt&&vt){const fn=u.createReflectGetCall(vt,u.createStringLiteralFromNode($.name),tt);return su(fn,$.expression),Pt(fn,$.expression),fn}}return un($,Ze,t)}function vo($){if(se&&Ae&&tf($)&&_M(Ae)&&(fe!=null&&fe.data)){const{classConstructor:tt,superClassReference:vt,facts:hi}=fe.data;if(hi&1)return da($);if(tt&&vt){const fn=u.createReflectGetCall(vt,yt($.argumentExpression,Ze,Wt),tt);return su(fn,$.expression),Pt(fn,$.expression),fn}}return un($,Ze,t)}function Qe($,tt){if($.operator===46||$.operator===47){const vt=s0($.operand);if(B8(vt)){let hi;if(hi=Ho(vt.name)){const fn=yt(vt.expression,Ze,Wt);Da(fn);const{readExpression:Gu,initializeExpression:uu}=qt(fn);let wu=aa(hi,Gu);const Mr=Pv($)||tt?void 0:u.createTempVariable(d);return wu=pY(u,$,wu,d,Mr),wu=_i(hi,uu||Gu,wu,64),su(wu,$),Pt(wu,$),Mr&&(wu=u.createComma(wu,Mr),Pt(wu,$)),wu}}else if(se&&Ae&&tf(vt)&&_M(Ae)&&(fe!=null&&fe.data)){const{classConstructor:hi,superClassReference:fn,facts:Gu}=fe.data;if(Gu&1){const uu=da(vt);return Pv($)?u.updatePrefixUnaryExpression($,uu):u.updatePostfixUnaryExpression($,uu)}if(hi&&fn){let uu,wu;if(zu(vt)?at(vt.name)&&(wu=uu=u.createStringLiteralFromNode(vt.name)):oE(vt.argumentExpression)?wu=uu=vt.argumentExpression:(wu=u.createTempVariable(d),uu=u.createAssignment(wu,yt(vt.argumentExpression,Ze,Wt))),uu&&wu){let Mr=u.createReflectGetCall(fn,wu,hi);Pt(Mr,vt);const ju=tt?void 0:u.createTempVariable(d);return Mr=pY(u,$,Mr,d,ju),Mr=u.createReflectSetCall(fn,uu,Mr,hi),su(Mr,$),Pt(Mr,$),ju&&(Mr=u.createComma(Mr,ju),Pt(Mr,$)),Mr}}}}return un($,Ze,t)}function Et($){return u.updateForStatement($,yt($.initializer,Ke,r4),yt($.condition,Ze,Wt),yt($.incrementor,Ke,Wt),Mh($.statement,Ze,t))}function Mt($){return u.updateExpressionStatement($,yt($.expression,Ke,Wt))}function qt($){const tt=sl($)?$:u.cloneNode($);if($.kind===110&&Be.has($)&&Be.add(tt),oE($))return{readExpression:tt,initializeExpression:void 0};const vt=u.createTempVariable(d),hi=u.createAssignment(vt,tt);return{readExpression:vt,initializeExpression:hi}}function Xt($){var tt;if(B8($.expression)&&Ho($.expression.name)){const{thisArg:vt,target:hi}=u.createCallBinding($.expression,d,k);return Gy($)?u.updateCallChain($,u.createPropertyAccessChain(yt(hi,Ze,Wt),$.questionDotToken,"call"),void 0,void 0,[yt(vt,Ze,Wt),...kn($.arguments,Ze,Wt)]):u.updateCallExpression($,u.createPropertyAccessExpression(yt(hi,Ze,Wt),"call"),void 0,[yt(vt,Ze,Wt),...kn($.arguments,Ze,Wt)])}if(se&&Ae&&tf($.expression)&&_M(Ae)&&((tt=fe==null?void 0:fe.data)!=null&&tt.classConstructor)){const vt=u.createFunctionCallCall(yt($.expression,Ze,Wt),fe.data.classConstructor,kn($.arguments,Ze,Wt));return su(vt,$),Pt(vt,$),vt}return un($,Ze,t)}function Pe($){var tt;if(B8($.tag)&&Ho($.tag.name)){const{thisArg:vt,target:hi}=u.createCallBinding($.tag,d,k);return u.updateTaggedTemplateExpression($,u.createCallExpression(u.createPropertyAccessExpression(yt(hi,Ze,Wt),"bind"),void 0,[yt(vt,Ze,Wt)]),void 0,yt($.template,Ze,L8))}if(se&&Ae&&tf($.tag)&&_M(Ae)&&((tt=fe==null?void 0:fe.data)!=null&&tt.classConstructor)){const vt=u.createFunctionBindCall(yt($.tag,Ze,Wt),fe.data.classConstructor,[]);return su(vt,$),Pt(vt,$),u.updateTaggedTemplateExpression($,vt,void 0,yt($.template,Ze,L8))}return un($,Ze,t)}function et($){if(fe&&xe.set(Kl($),fe),K){if(gM($)){const hi=yt($.body.statements[0].expression,Ze,Wt);return od(hi,!0)&&hi.left===hi.right?void 0:hi}if(Y7($))return yt($.body.statements[0].expression,Ze,Wt);p();let tt=Fr($,hi=>kn(hi,Ze,ua),$.body.statements);tt=u.mergeLexicalEnvironment(tt,f());const vt=u.createImmediatelyInvokedArrowFunction(tt);return su(s0(vt.expression),$),t_(s0(vt.expression),4),su(vt,$),Pt(vt,$),vt}}function gt($){if(Qd($)&&!$.name){const tt=rQ($);return Ge(tt,Y7)?!1:(K||!!Tp($))&&Ge(tt,hi=>zl(hi)||mh(hi)||J&&dH(hi))}return!1}function ii($,tt){if(u5($)){const vt=Ne;Ne=void 0,$=u.updateBinaryExpression($,yt($.left,Yt,Wt),$.operatorToken,yt($.right,Ze,Wt));const hi=Ge(Ne)?u.inlineExpressions(kr([...Ne,$])):$;return Ne=vt,hi}if(od($)){zf($,gt)&&($=jf(t,$),H.assertNode($,od));const vt=_c($.left,9);if(B8(vt)){const hi=Ho(vt.name);if(hi)return Pt(su(_i(hi,vt.expression,$.right,$.operatorToken.kind),$),$)}else if(se&&Ae&&tf($.left)&&_M(Ae)&&(fe!=null&&fe.data)){const{classConstructor:hi,superClassReference:fn,facts:Gu}=fe.data;if(Gu&1)return u.updateBinaryExpression($,da($.left),$.operatorToken,yt($.right,Ze,Wt));if(hi&&fn){let uu=G0($.left)?yt($.left.argumentExpression,Ze,Wt):at($.left.name)?u.createStringLiteralFromNode($.left.name):void 0;if(uu){let wu=yt($.right,Ze,Wt);if(fM($.operatorToken.kind)){let ju=uu;oE(uu)||(ju=u.createTempVariable(d),uu=u.createAssignment(ju,uu));const As=u.createReflectGetCall(fn,ju,hi);su(As,$.left),Pt(As,$.left),wu=u.createBinaryExpression(As,mM($.operatorToken.kind),wu),Pt(wu,$)}const Mr=tt?void 0:u.createTempVariable(d);return Mr&&(wu=u.createAssignment(Mr,wu),Pt(Mr,$)),wu=u.createReflectSetCall(fn,uu,wu,hi),su(wu,$),Pt(wu,$),Mr&&(wu=u.createComma(wu,Mr),Pt(wu,$)),wu}}}}return vMt($)?ti($):un($,Ze,t)}function me($,tt){const vt=tt?cH($.elements,Ke):cH($.elements,Ze,Ke);return u.updateCommaListExpression($,vt)}function ni($,tt){const vt=tt?Ke:Ze,hi=yt($.expression,vt,Wt);return u.updateParenthesizedExpression($,hi)}function _i($,tt,vt,hi){if(tt=yt(tt,Ze,Wt),vt=yt(vt,Ze,Wt),Da(tt),fM(hi)){const{readExpression:fn,initializeExpression:Gu}=qt(tt);tt=Gu||fn,vt=u.createBinaryExpression(Ba($,fn),mM(hi),vt)}switch(Sc(tt,Fv(tt,-1)),$.kind){case"a":return s().createClassPrivateFieldSetHelper(tt,$.brandCheckIdentifier,vt,$.kind,$.setterName);case"m":return s().createClassPrivateFieldSetHelper(tt,$.brandCheckIdentifier,vt,$.kind,void 0);case"f":return s().createClassPrivateFieldSetHelper(tt,$.brandCheckIdentifier,vt,$.kind,$.isStatic?$.variableName:void 0);case"untransformed":return H.fail("Access helpers should not be created for untransformed private elements");default:H.assertNever($,"Unknown private element type")}}function mt($){return ei($.members,WAe)}function jt($){var tt;let vt=0;const hi=Kl($);Wc(hi)&&e5(M,hi)&&(vt|=1),K&&(Xde($)||oQ($))&&(vt|=2);let fn=!1,Gu=!1,uu=!1,wu=!1;for(const ju of $.members)Lo(ju)?((ju.name&&(ea(ju.name)||Xh(ju))&&K||Xh(ju)&&Y===-1&&!$.name&&!((tt=$.emitNode)!=null&&tt.classThis))&&(vt|=2),(yo(ju)||zl(ju))&&(oe&&ju.transformFlags&16384&&(vt|=8,vt&1||(vt|=2)),se&&ju.transformFlags&134217728&&(vt&1||(vt|=6)))):T2(Kl(ju))||(Xh(ju)?(wu=!0,uu||(uu=mh(ju))):mh(ju)?(uu=!0,b.getNodeCheckFlags(ju)&262144&&(vt|=2)):yo(ju)&&(fn=!0,Gu||(Gu=!!ju.initializer)));return(j&&fn||z&&Gu||K&&uu||K&&wu&&Y===-1)&&(vt|=16),vt}function pi($){var tt;if((((tt=fe==null?void 0:fe.data)==null?void 0:tt.facts)||0)&4){const hi=u.createTempVariable(d,!0);return Rr().superClassReference=hi,u.updateExpressionWithTypeArguments($,u.createAssignment(hi,yt($.expression,Ze,Wt)),void 0)}return un($,Ze,t)}function $i($,tt){var vt;const hi=We,fn=Ne,Gu=fe;We=$,Ne=void 0,Ra();const uu=Tp($)&32;if(K||uu){const ju=$a($);if(ju&&at(ju))as().data.className=ju;else if((vt=$.emitNode)!=null&&vt.assignedName&&us($.emitNode.assignedName)){if($.emitNode.assignedName.textSourceNode&&at($.emitNode.assignedName.textSourceNode))as().data.className=$.emitNode.assignedName.textSourceNode;else if(Tm($.emitNode.assignedName.text,k)){const As=u.createIdentifier($.emitNode.assignedName.text);as().data.className=As}}}if(K){const ju=mt($);Ge(ju)&&(as().data.weakSetName=vl("instances",ju[0].name))}const wu=jt($);wu&&(Rr().facts=wu),wu&8&&Er();const Mr=tt($,wu);return wn(),H.assert(fe===Gu),We=hi,Ne=fn,Mr}function Yi($){return $i($,on)}function on($,tt){var vt,hi;let fn;if(tt&2)if(K&&((vt=$.emitNode)!=null&&vt.classThis))Rr().classConstructor=$.emitNode.classThis,fn=u.createAssignment($.emitNode.classThis,u.getInternalName($));else{const f0=u.createTempVariable(d,!0);Rr().classConstructor=u.cloneNode(f0),fn=u.createAssignment(f0,u.getInternalName($))}(hi=$.emitNode)!=null&&hi.classThis&&(Rr().classThis=$.emitNode.classThis);const Gu=b.getNodeCheckFlags($)&262144,uu=Qu($,32),wu=Qu($,2048);let Mr=kn($.modifiers,ft,Qo);const ju=kn($.heritageClauses,Gt,fm),{members:As,prologue:tc}=Oe($),id=[];if(fn&&Bo().unshift(fn),Ge(Ne)&&id.push(u.createExpressionStatement(u.inlineExpressions(Ne))),z||K||Tp($)&32){const f0=rQ($);Ge(f0)&&Qt(id,f0,u.getInternalName($))}id.length>0&&uu&&wu&&(Mr=kn(Mr,f0=>IV(f0)?void 0:f0,Qo),id.push(u.createExportAssignment(void 0,!1,u.getLocalName($,!1,!0))));const S0=Rr().classConstructor;Gu&&S0&&(Iu(),Se[P1($)]=S0);const nd=u.updateClassDeclaration($,Mr,$.name,void 0,ju,As);return id.unshift(nd),tc&&id.unshift(u.createExpressionStatement(tc)),id}function le($){return $i($,te)}function te($,tt){var vt,hi,fn;const Gu=!!(tt&1),uu=rQ($),wu=b.getNodeCheckFlags($),Mr=wu&262144;let ju;function As(){var nh;if(K&&((nh=$.emitNode)!=null&&nh.classThis))return Rr().classConstructor=$.emitNode.classThis;const d4=wu&32768,_1=u.createTempVariable(d4?v:d,!0);return Rr().classConstructor=u.cloneNode(_1),_1}(vt=$.emitNode)!=null&&vt.classThis&&(Rr().classThis=$.emitNode.classThis),tt&2&&(ju??(ju=As()));const tc=kn($.modifiers,ft,Qo),id=kn($.heritageClauses,Gt,fm),{members:S0,prologue:nd}=Oe($),f0=u.updateClassExpression($,tc,$.name,void 0,id,S0),Sd=[];if(nd&&Sd.push(nd),(K||Tp($)&32)&&Ge(uu,nh=>zl(nh)||mh(nh)||J&&dH(nh))||Ge(Ne))if(Gu)H.assertIsDefined(pe,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),Ge(Ne)&&yn(pe,Kt(Ne,u.createExpressionStatement)),Ge(uu)&&Qt(pe,uu,((hi=$.emitNode)==null?void 0:hi.classThis)??u.getInternalName($)),ju?Sd.push(u.createAssignment(ju,f0)):K&&((fn=$.emitNode)!=null&&fn.classThis)?Sd.push(u.createAssignment($.emitNode.classThis,f0)):Sd.push(f0);else{if(ju??(ju=As()),Mr){Iu();const nh=u.cloneNode(ju);nh.emitNode.autoGenerate.flags&=-9,Se[P1($)]=nh}Sd.push(u.createAssignment(ju,f0)),yn(Sd,Ne),yn(Sd,Ui(uu,ju)),Sd.push(u.cloneNode(ju))}else Sd.push(f0);return Sd.length>1&&(t_(f0,131072),Sd.forEach(xh)),u.inlineExpressions(Sd)}function we($){if(!K)return un($,Ze,t)}function de($){if(oe&&Ae&&zl(Ae)&&(fe!=null&&fe.data)){const{classThis:tt,classConstructor:vt}=fe.data;return tt??vt??$}return $}function Oe($){const tt=!!(Tp($)&32);if(K||ne){for(const uu of $.members)if(mh(uu))if(Yu(uu))cd(uu,uu.name,Fn);else{const wu=as();Ak(wu,uu.name,{kind:"untransformed"})}if(K&&Ge(mt($))&&X(),Cn()){for(const uu of $.members)if(Xh(uu)){const wu=u.getGeneratedPrivateNameForNode(uu.name,void 0,"_accessor_storage");if(K||tt&&Kc(uu))cd(uu,wu,xc);else{const Mr=as();Ak(Mr,wu,{kind:"untransformed"})}}}}let vt=kn($.members,Ie,qd),hi;Ge(vt,dc)||(hi=it(void 0,$));let fn,Gu;if(!K&&Ge(Ne)){let uu=u.createExpressionStatement(u.inlineExpressions(Ne));if(uu.transformFlags&134234112){const Mr=u.createTempVariable(d),ju=u.createArrowFunction(void 0,void 0,[],void 0,void 0,u.createBlock([uu]));fn=u.createAssignment(Mr,ju),uu=u.createExpressionStatement(u.createCallExpression(Mr,void 0,[]))}const wu=u.createBlock([uu]);Gu=u.createClassStaticBlockDeclaration(wu),Ne=void 0}if(hi||Gu){let uu;const wu=Le(vt,gM),Mr=Le(vt,Y7);uu=Ei(uu,wu),uu=Ei(uu,Mr),uu=Ei(uu,hi),uu=Ei(uu,Gu);const ju=wu||Mr?ei(vt,As=>As!==wu&&As!==Mr):vt;uu=yn(uu,ju),vt=Pt(u.createNodeArray(uu),$.members)}return{members:vt,prologue:fn}}function X(){const{weakSetName:$}=as().data;H.assert($,"weakSetName should be set in private identifier environment"),Bo().push(u.createAssignment($,u.createNewExpression(u.createIdentifier("WeakSet"),void 0,[])))}function it($,tt){if($=yt($,Ze,dc),!(fe!=null&&fe.data)||!(fe.data.facts&16))return $;const vt=Yg(tt),hi=!!(vt&&_c(vt.expression).kind!==106),fn=Dc($?$.parameters:void 0,Ze,t),Gu=ct(tt,$,hi);return Gu?$?(H.assert(fn),u.updateConstructorDeclaration($,void 0,fn,Gu)):xh(su(Pt(u.createConstructorDeclaration(void 0,fn??[],Gu),$||tt),$)):$}function Ct($,tt,vt,hi,fn,Gu,uu){const wu=hi[fn],Mr=tt[wu];if(yn($,kn(tt,Ze,ua,vt,wu-vt)),vt=wu+1,xk(Mr)){const ju=[];Ct(ju,Mr.tryBlock.statements,0,hi,fn+1,Gu,uu);const As=u.createNodeArray(ju);Pt(As,Mr.tryBlock.statements),$.push(u.updateTryStatement(Mr,u.updateBlock(Mr.tryBlock,ju),yt(Mr.catchClause,Ze,H2),yt(Mr.finallyBlock,Ze,ho)))}else{for(yn($,kn(tt,Ze,ua,wu,1));vt!!S0.initializer||ea(S0.name)||Xg(S0)));const Gu=mt($),uu=Ge(fn)||Ge(Gu);if(!tt&&!uu)return Rm(void 0,Ze,t);E();const wu=!tt&&vt;let Mr=0,ju=[];const As=[],tc=u.createThis();if(er(As,Gu,tc),tt){const S0=ei(hi,f0=>Pf(Kl(f0),tt)),nd=ei(fn,f0=>!Pf(Kl(f0),tt));Qt(As,S0,tc),Qt(As,nd,tc)}else Qt(As,fn,tc);if(tt!=null&&tt.body){Mr=u.copyPrologue(tt.body.statements,ju,!1,Ze);const S0=uQ(tt.body.statements,Mr);if(S0.length)Ct(ju,tt.body.statements,Mr,S0,0,As,tt);else{for(;Mr=ju.length?tt.body.multiLine??ju.length>0:ju.length>0;return Pt(u.createBlock(Pt(u.createNodeArray(ju),tt?tt.body.statements:$.members),id),tt?tt.body:void 0)}function Qt($,tt,vt){for(const hi of tt){if(Lo(hi)&&!K)continue;const fn=Ti(hi,vt);fn&&$.push(fn)}}function Ti($,tt){const vt=zl($)?Fr($,et,$):Sn($,tt);if(!vt)return;const hi=u.createExpressionStatement(vt);su(hi,$),t_(hi,Cs($)&3072),Sc(hi,$);const fn=Kl($);return Qa(fn)?(Fs(hi,fn),pV(hi)):Fs(hi,tE($)),Tv(vt,void 0),k7(vt,void 0),Xg(fn)&&t_(hi,3072),hi}function Ui($,tt){const vt=[];for(const hi of $){const fn=zl(hi)?Fr(hi,et,hi):Fr(hi,()=>Sn(hi,tt),void 0);fn&&(xh(fn),su(fn,hi),t_(fn,Cs(hi)&3072),Fs(fn,tE(hi)),Sc(fn,hi),vt.push(fn))}return vt}function Sn($,tt){var vt;const hi=Ae,fn=du($,tt);return fn&&Kc($)&&((vt=fe==null?void 0:fe.data)!=null&&vt.facts)&&(su(fn,$),t_(fn,4),Fs(fn,wv($.name)),xe.set(Kl($),fe)),Ae=hi,fn}function du($,tt){const vt=!T;zf($,gt)&&($=jf(t,$));const hi=Xg($)?u.getGeneratedPrivateNameForNode($.name):Ns($.name)&&!oE($.name.expression)?u.updateComputedPropertyName($.name,u.getGeneratedNameForNode($.name)):$.name;if(Kc($)&&(Ae=$),ea(hi)&&Yu($)){const uu=Ho(hi);if(uu)return uu.kind==="f"?uu.isStatic?EMt(u,uu.variableName,yt($.initializer,Ze,Wt)):_Mt(u,tt,yt($.initializer,Ze,Wt),uu.brandCheckIdentifier):void 0;H.fail("Undeclared private name for property declaration.")}if((ea(hi)||Kc($))&&!$.initializer)return;const fn=Kl($);if(Qu(fn,64))return;let Gu=yt($.initializer,Ze,Wt);if(Pf(fn,fn.parent)&&at(hi)){const uu=u.cloneNode(hi);Gu?(vf(Gu)&&NV(Gu.expression)&&OP(Gu.expression.left,"___runInitializers")&&z7(Gu.expression.right)&&Rf(Gu.expression.right.expression)&&(Gu=Gu.expression.left),Gu=u.inlineExpressions([Gu,uu])):Gu=uu,Yn(hi,3168),Fs(uu,fn.name),Yn(uu,3072)}else Gu??(Gu=u.createVoidZero());if(vt||ea(hi)){const uu=yk(u,tt,hi,hi);return t_(uu,1024),u.createAssignment(uu,Gu)}else{const uu=Ns(hi)?hi.expression:at(hi)?u.createStringLiteral(Qr(hi.escapedText)):hi,wu=u.createPropertyDescriptor({value:Gu,configurable:!0,writable:!0,enumerable:!0});return u.createObjectDefinePropertyCall(tt,uu,wu)}}function Iu(){ve&1||(ve|=1,t.enableSubstitution(80),Se=[])}function Er(){ve&2||(ve|=2,t.enableSubstitution(110),t.enableEmitNotification(262),t.enableEmitNotification(218),t.enableEmitNotification(176),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(174),t.enableEmitNotification(172),t.enableEmitNotification(167))}function er($,tt,vt){if(!K||!Ge(tt))return;const{weakSetName:hi}=as().data;H.assert(hi,"weakSetName should be set in private identifier environment"),$.push(u.createExpressionStatement(DMt(u,vt,hi)))}function da($){return zu($)?u.updatePropertyAccessExpression($,u.createVoidZero(),$.name):u.updateElementAccessExpression($,u.createVoidZero(),yt($.argumentExpression,Ze,Wt))}function Wu($,tt){if(Ns($)){const vt=CY($),hi=yt($.expression,Ze,Wt),fn=wp(hi),Gu=oE(fn);if(!(!!vt||od(fn)&&al(fn.left))&&!Gu&&tt){const wu=u.getGeneratedNameForNode($);return b.getNodeCheckFlags($)&32768?v(wu):d(wu),u.createAssignment(wu,hi)}return Gu||at(fn)?void 0:hi}}function Ra(){fe={previous:fe,data:void 0}}function wn(){fe=fe==null?void 0:fe.previous}function Rr(){return H.assert(fe),fe.data??(fe.data={facts:0,classConstructor:void 0,classThis:void 0,superClassReference:void 0})}function as(){return H.assert(fe),fe.privateEnv??(fe.privateEnv=$Ae({className:void 0,weakSetName:void 0}))}function Bo(){return Ne??(Ne=[])}function Fn($,tt,vt,hi,fn,Gu,uu){Xh($)?wl($,tt,vt,hi,fn,Gu):yo($)?xc($,tt,vt,hi,fn,Gu):cc($)?Ua($,tt,vt,hi,fn,Gu):Mm($)?l0($,tt,vt,hi,fn,Gu,uu):Of($)&&$l($,tt,vt,hi,fn,Gu,uu)}function xc($,tt,vt,hi,fn,Gu,uu){if(fn){const wu=H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"),Mr=oo(tt);Ak(hi,tt,{kind:"f",isStatic:!0,brandCheckIdentifier:wu,variableName:Mr,isValid:Gu})}else{const wu=oo(tt);Ak(hi,tt,{kind:"f",isStatic:!1,brandCheckIdentifier:wu,isValid:Gu}),Bo().push(u.createAssignment(wu,u.createNewExpression(u.createIdentifier("WeakMap"),void 0,[])))}}function Ua($,tt,vt,hi,fn,Gu,uu){const wu=oo(tt),Mr=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(hi.data.weakSetName,"weakSetName should be set in private identifier environment");Ak(hi,tt,{kind:"m",methodName:wu,brandCheckIdentifier:Mr,isStatic:fn,isValid:Gu})}function l0($,tt,vt,hi,fn,Gu,uu){const wu=oo(tt,"_get"),Mr=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(hi.data.weakSetName,"weakSetName should be set in private identifier environment");(uu==null?void 0:uu.kind)==="a"&&uu.isStatic===fn&&!uu.getterName?uu.getterName=wu:Ak(hi,tt,{kind:"a",getterName:wu,setterName:void 0,brandCheckIdentifier:Mr,isStatic:fn,isValid:Gu})}function $l($,tt,vt,hi,fn,Gu,uu){const wu=oo(tt,"_set"),Mr=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(hi.data.weakSetName,"weakSetName should be set in private identifier environment");(uu==null?void 0:uu.kind)==="a"&&uu.isStatic===fn&&!uu.setterName?uu.setterName=wu:Ak(hi,tt,{kind:"a",getterName:void 0,setterName:wu,brandCheckIdentifier:Mr,isStatic:fn,isValid:Gu})}function wl($,tt,vt,hi,fn,Gu,uu){const wu=oo(tt,"_get"),Mr=oo(tt,"_set"),ju=fn?H.checkDefined(vt.classThis??vt.classConstructor,"classConstructor should be set in private identifier environment"):H.checkDefined(hi.data.weakSetName,"weakSetName should be set in private identifier environment");Ak(hi,tt,{kind:"a",getterName:wu,setterName:Mr,brandCheckIdentifier:ju,isStatic:fn,isValid:Gu})}function cd($,tt,vt){const hi=Rr(),fn=as(),Gu=Zde(fn,tt),uu=Kc($),wu=!xMt(tt)&&Gu===void 0;vt($,tt,hi,fn,uu,wu,Gu)}function vl($,tt,vt){const{className:hi}=as().data,fn=hi?{prefix:"_",node:hi,suffix:"_"}:"_",Gu=typeof $=="object"?u.getGeneratedNameForNode($,24,fn,vt):typeof $=="string"?u.createUniqueName($,16,fn,vt):u.createTempVariable(void 0,!0,fn,vt);return b.getNodeCheckFlags(tt)&32768?v(Gu):d(Gu),Gu}function oo($,tt){const vt=$N($);return vl((vt==null?void 0:vt.substring(1))??$,$,tt)}function Ho($){const tt=UAe(fe,$);return(tt==null?void 0:tt.kind)==="untransformed"?void 0:tt}function td($){const tt=u.getGeneratedNameForNode($),vt=Ho($.name);if(!vt)return un($,Ze,t);let hi=$.expression;return(hj($)||tf($)||!U2($.expression))&&(hi=u.createTempVariable(d,!0),Bo().push(u.createBinaryExpression(hi,64,yt($.expression,Ze,Wt)))),u.createAssignmentTargetWrapper(tt,_i(vt,hi,tt,64))}function U0($){if(bs($)||_h($))return Oi($);if(B8($))return td($);if(se&&Ae&&tf($)&&_M(Ae)&&(fe!=null&&fe.data)){const{classConstructor:tt,superClassReference:vt,facts:hi}=fe.data;if(hi&1)return da($);if(tt&&vt){const fn=G0($)?yt($.argumentExpression,Ze,Wt):at($.name)?u.createStringLiteralFromNode($.name):void 0;if(fn){const Gu=u.createTempVariable(void 0);return u.createAssignmentTargetWrapper(Gu,u.createReflectSetCall(vt,fn,Gu,tt))}}}return un($,Ze,t)}function Ko($){if(zf($,gt)&&($=jf(t,$)),od($,!0)){const tt=U0($.left),vt=yt($.right,Ze,Wt);return u.updateBinaryExpression($,tt,$.operatorToken,vt)}return U0($)}function wc($){if(_f($.expression)){const tt=U0($.expression);return u.updateSpreadElement($,tt)}return un($,Ze,t)}function Kp($){if(UO($)){if(nE($))return wc($);if(!kd($))return Ko($)}return un($,Ze,t)}function Tc($){const tt=yt($.name,Ze,Ac);if(od($.initializer,!0)){const vt=Ko($.initializer);return u.updatePropertyAssignment($,tt,vt)}if(_f($.initializer)){const vt=U0($.initializer);return u.updatePropertyAssignment($,tt,vt)}return un($,Ze,t)}function Il($){return zf($,gt)&&($=jf(t,$)),un($,Ze,t)}function cl($){if(_f($.expression)){const tt=U0($.expression);return u.updateSpreadAssignment($,tt)}return un($,Ze,t)}function Va($){return H.assertNode($,$O),c5($)?cl($):mm($)?Il($):Jc($)?Tc($):un($,Ze,t)}function Oi($){return _h($)?u.updateArrayLiteralExpression($,kn($.elements,Kp,Wt)):u.updateObjectLiteralExpression($,kn($.properties,Va,q3))}function dl($,tt,vt){const hi=Kl(tt),fn=xe.get(hi);if(fn){const Gu=fe,uu=He;fe=fn,He=De,De=!zl(hi)||!(Tp(hi)&32),Ce($,tt,vt),De=He,He=uu,fe=Gu;return}switch(tt.kind){case 218:if(J0(hi)||Cs(tt)&524288)break;case 262:case 176:case 177:case 178:case 174:case 172:{const Gu=fe,uu=He;fe=void 0,He=De,De=!1,Ce($,tt,vt),De=He,He=uu,fe=Gu;return}case 167:{const Gu=fe,uu=De;fe=fe==null?void 0:fe.previous,De=He,Ce($,tt,vt),De=uu,fe=Gu;return}}Ce($,tt,vt)}function Uc($,tt){return tt=ae($,tt),$===1?vh(tt):tt}function vh($){switch($.kind){case 80:return q0($);case 110:return of($)}return $}function of($){if(ve&2&&(fe!=null&&fe.data)&&!Be.has($)){const{facts:tt,classConstructor:vt,classThis:hi}=fe.data,fn=De?hi??vt:vt;if(fn)return Pt(su(u.cloneNode(fn),$),$);if(tt&1&&M)return u.createParenthesizedExpression(u.createVoidZero())}return $}function q0($){return vc($)||$}function vc($){if(ve&1&&b.getNodeCheckFlags($)&536870912){const tt=b.getReferencedValueDeclaration($);if(tt){const vt=Se[tt.id];if(vt){const hi=u.cloneNode(vt);return Fs(hi,$),Sc(hi,$),hi}}}}}function EMt(t,u,s){return t.createAssignment(u,t.createObjectLiteralExpression([t.createPropertyAssignment("value",s||t.createVoidZero())]))}function _Mt(t,u,s,d){return t.createCallExpression(t.createPropertyAccessExpression(d,"set"),void 0,[u,s||t.createVoidZero()])}function DMt(t,u,s){return t.createCallExpression(t.createPropertyAccessExpression(s,"add"),void 0,[u])}function xMt(t){return!Jy(t)&&t.escapedText==="#constructor"}function vMt(t){return ea(t.left)&&t.operatorToken.kind===103}function CMt(t){return yo(t)&&Kc(t)}function _M(t){return zl(t)||CMt(t)}var bMt=o({"src/compiler/transformers/classFields.ts"(){So()}});function u7e(t){const{factory:u,hoistVariableDeclaration:s}=t,d=t.getEmitResolver(),f=t.getCompilerOptions(),p=Rs(f),E=U4(f,"strictNullChecks");let v,b;return{serializeTypeNode:(Ne,pe)=>B(Ne,J,pe),serializeTypeOfNode:(Ne,pe)=>B(Ne,T,pe),serializeParameterTypesOfNode:(Ne,pe,fe)=>B(Ne,M,pe,fe),serializeReturnTypeOfNode:(Ne,pe)=>B(Ne,j,pe)};function B(Ne,pe,fe,xe){const Be=v,We=b;v=Ne.currentLexicalScope,b=Ne.currentNameScope;const Ae=xe===void 0?pe(fe):pe(fe,xe);return v=Be,b=We,Ae}function k(Ne){const pe=d.getAllAccessorDeclarations(Ne);return pe.setAccessor&&Dye(pe.setAccessor)||pe.getAccessor&&J4(pe.getAccessor)}function T(Ne){switch(Ne.kind){case 172:case 169:return J(Ne.type);case 178:case 177:return J(k(Ne));case 263:case 231:case 174:return u.createIdentifier("Function");default:return u.createVoidZero()}}function M(Ne,pe){const fe=gr(Ne)?Q_(Ne):xo(Ne)&&j4(Ne.body)?Ne:void 0,xe=[];if(fe){const Be=z(fe,pe),We=Be.length;for(let Ae=0;AeBe.parent&&yB(Be.parent)&&(Be.parent.trueType===Be||Be.parent.falseType===Be)))return u.createIdentifier("Object");const fe=ae(Ne.typeName),xe=u.createTempVariable(s);return u.createConditionalExpression(u.createTypeCheck(u.createAssignment(xe,fe),"function"),void 0,xe,void 0,u.createIdentifier("Object"));case 1:return Ce(Ne.typeName);case 2:return u.createVoidZero();case 4:return Se("BigInt",7);case 6:return u.createIdentifier("Boolean");case 3:return u.createIdentifier("Number");case 5:return u.createIdentifier("String");case 7:return u.createIdentifier("Array");case 8:return Se("Symbol",2);case 10:return u.createIdentifier("Function");case 9:return u.createIdentifier("Promise");case 11:return u.createIdentifier("Object");default:return H.assertNever(pe)}}function ge(Ne,pe){return u.createLogicalAnd(u.createStrictInequality(u.createTypeOfExpression(Ne),u.createStringLiteral("undefined")),pe)}function ae(Ne){if(Ne.kind===80){const xe=Ce(Ne);return ge(xe,xe)}if(Ne.left.kind===80)return ge(Ce(Ne.left),Ce(Ne));const pe=ae(Ne.left),fe=u.createTempVariable(s);return u.createLogicalAnd(u.createLogicalAnd(pe.left,u.createStrictInequality(u.createAssignment(fe,pe.right),u.createVoidZero())),u.createPropertyAccessExpression(fe,Ne.right))}function Ce(Ne){switch(Ne.kind){case 80:const pe=ys(Pt(r_.cloneNode(Ne),Ne),Ne.parent);return pe.original=void 0,ys(pe,Ja(v)),pe;case 166:return ne(Ne)}}function ne(Ne){return u.createPropertyAccessExpression(Ce(Ne.left),Ne.right)}function ve(Ne){return u.createConditionalExpression(u.createTypeCheck(u.createIdentifier(Ne),"function"),void 0,u.createIdentifier(Ne),void 0,u.createIdentifier("Object"))}function Se(Ne,pe){return pIV(Cn)||p1(Cn)?void 0:Cn,ol),$n=tE(ht),rn=Gt(ht),Pi=E<2?u.getInternalName(ht,!1,!0):u.getLocalName(ht,!1,!0),ki=kn(ht.heritageClauses,T,fm);let Yu=kn(ht.members,T,qd),oa=[];({members:Yu,decorationStatements:oa}=K(ht,Yu));const Fr=E>=9&&!!rn&&Ge(Yu,Cn=>yo(Cn)&&Qu(Cn,256)||zl(Cn));Fr&&(Yu=Pt(u.createNodeArray([u.createClassStaticBlockDeclaration(u.createBlock([u.createExpressionStatement(u.createAssignment(rn,u.createThis()))])),...Yu]),Yu));const Sa=u.createClassExpression(xn,Ut&&al(Ut)?void 0:Ut,void 0,ki,Yu);su(Sa,ht),Pt(Sa,$n);const bt=rn&&!Fr?u.createAssignment(rn,Sa):Sa,On=u.createVariableDeclaration(Pi,void 0,void 0,bt);su(On,ht);const Ln=u.createVariableDeclarationList([On],1),Fi=u.createVariableStatement(void 0,Ln);su(Fi,ht),Pt(Fi,$n),Sc(Fi,ht);const Dn=[Fi];if(yn(Dn,oa),He(Dn,ht),Ni)if(Vi){const Cn=u.createExportDefault(Pi);Dn.push(Cn)}else{const Cn=u.createExternalModuleExport(u.getDeclarationName(ht));Dn.push(Cn)}return Dn}function se(ht){return u.updateClassExpression(ht,kn(ht.modifiers,k,Qo),ht.name,void 0,kn(ht.heritageClauses,T,fm),kn(ht.members,T,qd))}function ge(ht){return u.updateConstructorDeclaration(ht,kn(ht.modifiers,k,Qo),kn(ht.parameters,T,Qa),yt(ht.body,T,ho))}function ae(ht,Ut){return ht!==Ut&&(Sc(ht,Ut),Fs(ht,tE(Ut))),ht}function Ce(ht){return ae(u.updateMethodDeclaration(ht,kn(ht.modifiers,k,Qo),ht.asteriskToken,H.checkDefined(yt(ht.name,T,Ac)),void 0,void 0,kn(ht.parameters,T,Qa),void 0,yt(ht.body,T,ho)),ht)}function ne(ht){return ae(u.updateGetAccessorDeclaration(ht,kn(ht.modifiers,k,Qo),H.checkDefined(yt(ht.name,T,Ac)),kn(ht.parameters,T,Qa),void 0,yt(ht.body,T,ho)),ht)}function ve(ht){return ae(u.updateSetAccessorDeclaration(ht,kn(ht.modifiers,k,Qo),H.checkDefined(yt(ht.name,T,Ac)),kn(ht.parameters,T,Qa),yt(ht.body,T,ho)),ht)}function Se(ht){if(!(ht.flags&33554432||Qu(ht,128)))return ae(u.updatePropertyDeclaration(ht,kn(ht.modifiers,k,Qo),H.checkDefined(yt(ht.name,T,Ac)),void 0,void 0,yt(ht.initializer,T,Wt)),ht)}function Ne(ht){const Ut=u.updateParameterDeclaration(ht,IFe(u,ht.modifiers),ht.dotDotDotToken,H.checkDefined(yt(ht.name,T,$y)),void 0,void 0,yt(ht.initializer,T,Wt));return Ut!==ht&&(Sc(Ut,ht),Pt(Ut,tE(ht)),Fs(Ut,tE(ht)),Yn(Ut.name,64)),Ut}function pe(ht){return OP(ht.expression,"___metadata")}function fe(ht){if(!ht)return;const{false:Ut,true:Ni}=WCe(ht.decorators,pe),Vi=[];return yn(Vi,Kt(Ut,ft)),yn(Vi,Ku(ht.parameters,Ze)),yn(Vi,Kt(Ni,ft)),Vi}function xe(ht,Ut,Ni){yn(ht,Kt(Ae(Ut,Ni),Vi=>u.createExpressionStatement(Vi)))}function Be(ht,Ut,Ni){return mj(!0,ht,Ni)&&Ut===Lo(ht)}function We(ht,Ut){return ei(ht.members,Ni=>Be(Ni,Ut,ht))}function Ae(ht,Ut){const Ni=We(ht,Ut);let Vi;for(const xn of Ni)Vi=Ei(Vi,De(ht,xn));return Vi}function De(ht,Ut){const Ni=aQ(Ut,ht,!0),Vi=fe(Ni);if(!Vi)return;const xn=Ie(ht,Ut),$n=je(Ut,!Qu(Ut,128)),rn=E>0?yo(Ut)&&!Xg(Ut)?u.createVoidZero():u.createNull():void 0,Pi=s().createDecorateHelper(Vi,xn,$n,rn);return Yn(Pi,3072),Fs(Pi,tE(Ut)),Pi}function He(ht,Ut){const Ni=Je(Ut);Ni&&ht.push(su(u.createExpressionStatement(Ni),Ut))}function Je(ht){const Ut=qde(ht),Ni=fe(Ut);if(!Ni)return;const Vi=b&&b[P1(ht)],xn=E<2?u.getInternalName(ht,!1,!0):u.getDeclarationName(ht,!1,!0),$n=s().createDecorateHelper(Ni,xn),rn=u.createAssignment(xn,Vi?u.createAssignment(Vi,$n):$n);return Yn(rn,3072),Fs(rn,tE(ht)),rn}function ft(ht){return H.checkDefined(yt(ht.expression,T,Wt))}function Ze(ht,Ut){let Ni;if(ht){Ni=[];for(const Vi of ht){const xn=s().createParamHelper(ft(Vi),Ut);Pt(xn,Vi.expression),Yn(xn,3072),Ni.push(xn)}}return Ni}function je(ht,Ut){const Ni=ht.name;return ea(Ni)?u.createIdentifier(""):Ns(Ni)?Ut&&!oE(Ni.expression)?u.getGeneratedNameForNode(Ni):Ni.expression:at(Ni)?u.createStringLiteral(fu(Ni)):u.cloneNode(Ni)}function Ke(){b||(t.enableSubstitution(80),b=[])}function Gt(ht){if(f.getNodeCheckFlags(ht)&262144){Ke();const Ut=u.createUniqueName(ht.name&&!al(ht.name)?fu(ht.name):"default");return b[P1(ht)]=Ut,d(Ut),Ut}}function Yt(ht){return u.createPropertyAccessExpression(u.getDeclarationName(ht),"prototype")}function Ie(ht,Ut){return Lo(Ut)?u.getDeclarationName(ht):Yt(ht)}function lt(ht,Ut){return Ut=v(ht,Ut),ht===1?St(Ut):Ut}function St(ht){switch(ht.kind){case 80:return It(ht)}return ht}function It(ht){return ti(ht)??ht}function ti(ht){if(b&&f.getNodeCheckFlags(ht)&536870912){const Ut=f.getReferencedValueDeclaration(ht);if(Ut){const Ni=b[Ut.id];if(Ni){const Vi=u.cloneNode(Ni);return Fs(Vi,ht),Sc(Vi,ht),Vi}}}}}var kMt=o({"src/compiler/transformers/legacyDecorators.ts"(){So()}});function a7e(t){const{factory:u,getEmitHelperFactory:s,startLexicalEnvironment:d,endLexicalEnvironment:f,hoistVariableDeclaration:p}=t,E=Rs(t.getCompilerOptions());let v,b,B,k,T,M;return jp(t,z);function z(te){v=void 0,M=!1;const we=un(te,ve,t);return tD(we,t.readEmitHelpers()),M&&(y7(we,32),M=!1),we}function j(){switch(b=void 0,B=void 0,k=void 0,v==null?void 0:v.kind){case"class":b=v.classInfo;break;case"class-element":b=v.next.classInfo,B=v.classThis,k=v.classSuper;break;case"name":const te=v.next.next.next;(te==null?void 0:te.kind)==="class-element"&&(b=te.next.classInfo,B=te.classThis,k=te.classSuper);break}}function J(te){v={kind:"class",next:v,classInfo:te,savedPendingExpressions:T},T=void 0,j()}function K(){H.assert((v==null?void 0:v.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${v==null?void 0:v.kind}' instead.`),T=v.savedPendingExpressions,v=v.next,j()}function Y(te){var we,de;H.assert((v==null?void 0:v.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${v==null?void 0:v.kind}' instead.`),v={kind:"class-element",next:v},(zl(te)||yo(te)&&Kc(te))&&(v.classThis=(we=v.next.classInfo)==null?void 0:we.classThis,v.classSuper=(de=v.next.classInfo)==null?void 0:de.classSuper),j()}function oe(){var te;H.assert((v==null?void 0:v.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${v==null?void 0:v.kind}' instead.`),H.assert(((te=v.next)==null?void 0:te.kind)==="class","Incorrect value for top.next.kind.",()=>{var we;return`Expected top.next.kind to be 'class' but got '${(we=v.next)==null?void 0:we.kind}' instead.`}),v=v.next,j()}function se(){H.assert((v==null?void 0:v.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${v==null?void 0:v.kind}' instead.`),v={kind:"name",next:v},j()}function ge(){H.assert((v==null?void 0:v.kind)==="name","Incorrect value for top.kind.",()=>`Expected top.kind to be 'name' but got '${v==null?void 0:v.kind}' instead.`),v=v.next,j()}function ae(){(v==null?void 0:v.kind)==="other"?(H.assert(!T),v.depth++):(v={kind:"other",next:v,depth:0,savedPendingExpressions:T},T=void 0,j())}function Ce(){H.assert((v==null?void 0:v.kind)==="other","Incorrect value for top.kind.",()=>`Expected top.kind to be 'other' but got '${v==null?void 0:v.kind}' instead.`),v.depth>0?(H.assert(!T),v.depth--):(T=v.savedPendingExpressions,v=v.next,j())}function ne(te){return!!(te.transformFlags&33554432)||!!B&&!!(te.transformFlags&16384)||!!B&&!!k&&!!(te.transformFlags&134217728)}function ve(te){if(!ne(te))return te;switch(te.kind){case 170:return H.fail("Use `modifierVisitor` instead.");case 263:return Je(te);case 231:return ft(te);case 176:case 172:case 175:return H.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 169:return $n(te);case 226:return oa(te,!1);case 303:return Fi(te);case 260:return Dn(te);case 208:return Cn(te);case 277:return Mt(te);case 110:return ht(te);case 248:return ki(te);case 244:return Yu(te);case 361:return Sa(te,!1);case 217:return qt(te,!1);case 360:return Xt(te,!1);case 213:return Ut(te);case 215:return Ni(te);case 224:case 225:return Fr(te,!1);case 211:return Vi(te);case 212:return xn(te);case 167:return Ln(te);case 174:case 178:case 177:case 218:case 262:{ae();const we=un(te,Se,t);return Ce(),we}default:return un(te,Se,t)}}function Se(te){switch(te.kind){case 170:return;default:return ve(te)}}function Ne(te){switch(te.kind){case 170:return;default:return te}}function pe(te){switch(te.kind){case 176:return Ke(te);case 174:return Ie(te);case 177:return lt(te);case 178:return St(te);case 172:return ti(te);case 175:return It(te);default:return ve(te)}}function fe(te){switch(te.kind){case 224:case 225:return Fr(te,!0);case 226:return oa(te,!0);case 361:return Sa(te,!0);case 217:return qt(te,!0);default:return ve(te)}}function xe(te){let we=te.name&&at(te.name)&&!al(te.name)?fu(te.name):te.name&&ea(te.name)&&!al(te.name)?fu(te.name).slice(1):te.name&&us(te.name)&&Tm(te.name.text,99)?te.name.text:gr(te)?"class":"member";return Tx(te)&&(we=`get_${we}`),XD(te)&&(we=`set_${we}`),te.name&&ea(te.name)&&(we=`private_${we}`),Lo(te)&&(we=`static_${we}`),"_"+we}function Be(te,we){return u.createUniqueName(`${xe(te)}_${we}`,24)}function We(te,we){return u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(te,void 0,void 0,we)],1))}function Ae(te){const we=u.createUniqueName("_metadata",48);let de,Oe,X=!1,it=!1,Ct=!1;for(const ct of te.members)if(tbe(ct)&&mj(!1,ct,te)&&(Kc(ct)?Oe??(Oe=u.createUniqueName("_staticExtraInitializers",48)):de??(de=u.createUniqueName("_instanceExtraInitializers",48))),zl(ct)?Y7(ct)||(X=!0):yo(ct)&&(Kc(ct)?X||(X=!!ct.initializer||a4(ct)):it||(it=!E0e(ct))),(mh(ct)||Xh(ct))&&Kc(ct)&&(Ct=!0),Oe&&de&&X&&it&&Ct)break;return{class:te,metadataReference:we,instanceExtraInitializersName:de,staticExtraInitializersName:Oe,hasStaticInitializers:X,hasNonAmbientInstanceFields:it,hasStaticPrivateClassElements:Ct}}function De(te){d(),!e1e(te)&&e5(!1,te)&&(te=sQ(t,te,u.createStringLiteral("")));const we=u.getLocalName(te,!1,!1,!0),de=Ae(te),Oe=[];let X,it,Ct,ct,Qt=!1;const Ti=et(qde(te));if(Ti){de.classDecoratorsName=u.createUniqueName("_classDecorators",48),de.classDescriptorName=u.createUniqueName("_classDescriptor",48),de.classExtraInitializersName=u.createUniqueName("_classExtraInitializers",48);const wn=Ge(te.members,Rr=>(mh(Rr)||Xh(Rr))&&Kc(Rr));de.classThis=u.createUniqueName("_classThis",wn?24:48),Oe.push(We(de.classDecoratorsName,u.createArrayLiteralExpression(Ti)),We(de.classDescriptorName),We(de.classExtraInitializersName,u.createArrayLiteralExpression()),We(de.classThis)),de.hasStaticPrivateClassElements&&(Qt=!0,M=!0)}const Ui=Nj(te.heritageClauses,96),Sn=Ui&&Ki(Ui.types),du=Sn&&yt(Sn.expression,ve,Wt);if(du){de.classSuper=u.createUniqueName("_classSuper",48);const wn=_c(du),Rr=Qd(wn)&&!wn.name||A0(wn)&&!wn.name||J0(wn)?u.createComma(u.createNumericLiteral(0),du):du;Oe.push(We(de.classSuper,Rr));const as=u.updateExpressionWithTypeArguments(Sn,de.classSuper,void 0),Bo=u.updateHeritageClause(Ui,[as]);ct=u.createNodeArray([Bo])}const Iu=de.classThis??u.createThis();J(de),X=Ei(X,Yi(de.metadataReference,de.classSuper));let Er=kn(te.members,pe,qd);if(T){let wn;for(let Rr of T){Rr=yt(Rr,function Bo(Fn){if(!(Fn.transformFlags&16384))return Fn;switch(Fn.kind){case 110:return wn||(wn=u.createUniqueName("_outerThis",16),Oe.unshift(We(wn,u.createThis()))),wn;default:return un(Fn,Bo,t)}},Wt);const as=u.createExpressionStatement(Rr);X=Ei(X,as)}T=void 0}if(K(),de.instanceExtraInitializersName&&!Q_(te)){const wn=Ze(te,de);if(wn){const Rr=Yg(te),as=!!(Rr&&_c(Rr.expression).kind!==106),Bo=[];if(as){const xc=u.createSpreadElement(u.createIdentifier("arguments")),Ua=u.createCallExpression(u.createSuper(),void 0,[xc]);Bo.push(u.createExpressionStatement(Ua))}yn(Bo,wn);const Fn=u.createBlock(Bo,!0);Ct=u.createConstructorDeclaration(void 0,[],Fn)}}if(de.staticExtraInitializersName&&Oe.push(We(de.staticExtraInitializersName,u.createArrayLiteralExpression())),de.instanceExtraInitializersName&&Oe.push(We(de.instanceExtraInitializersName,u.createArrayLiteralExpression())),de.memberInfos&&d1(de.memberInfos,(wn,Rr)=>{Lo(Rr)&&(Oe.push(We(wn.memberDecoratorsName)),wn.memberInitializersName&&Oe.push(We(wn.memberInitializersName,u.createArrayLiteralExpression())),wn.memberDescriptorName&&Oe.push(We(wn.memberDescriptorName)))}),de.memberInfos&&d1(de.memberInfos,(wn,Rr)=>{Lo(Rr)||(Oe.push(We(wn.memberDecoratorsName)),wn.memberInitializersName&&Oe.push(We(wn.memberInitializersName,u.createArrayLiteralExpression())),wn.memberDescriptorName&&Oe.push(We(wn.memberDescriptorName)))}),X=yn(X,de.staticNonFieldDecorationStatements),X=yn(X,de.nonStaticNonFieldDecorationStatements),X=yn(X,de.staticFieldDecorationStatements),X=yn(X,de.nonStaticFieldDecorationStatements),de.classDescriptorName&&de.classDecoratorsName&&de.classExtraInitializersName&&de.classThis){X??(X=[]);const wn=u.createPropertyAssignment("value",Iu),Rr=u.createObjectLiteralExpression([wn]),as=u.createAssignment(de.classDescriptorName,Rr),Bo=u.createPropertyAccessExpression(Iu,"name"),Fn=s().createESDecorateHelper(u.createNull(),as,de.classDecoratorsName,{kind:"class",name:Bo,metadata:de.metadataReference},u.createNull(),de.classExtraInitializersName),xc=u.createExpressionStatement(Fn);Fs(xc,a5(te)),X.push(xc);const Ua=u.createPropertyAccessExpression(de.classDescriptorName,"value"),l0=u.createAssignment(de.classThis,Ua),$l=u.createAssignment(we,l0);X.push(u.createExpressionStatement($l))}if(X.push(on(Iu,de.metadataReference)),de.staticExtraInitializersName){const wn=s().createRunInitializersHelper(Iu,de.staticExtraInitializersName),Rr=u.createExpressionStatement(wn);Fs(Rr,te.name??a5(te)),X=Ei(X,Rr)}if(de.classExtraInitializersName){const wn=s().createRunInitializersHelper(Iu,de.classExtraInitializersName),Rr=u.createExpressionStatement(wn);Fs(Rr,te.name??a5(te)),it=Ei(it,Rr)}X&&it&&!de.hasStaticInitializers&&(yn(X,it),it=void 0);const er=X&&u.createClassStaticBlockDeclaration(u.createBlock(X,!0));er&&Qt&&gV(er,32);const da=it&&u.createClassStaticBlockDeclaration(u.createBlock(it,!0));if(er||Ct||da){const wn=[],Rr=Er.findIndex(Y7);er?(yn(wn,Er,0,Rr+1),wn.push(er),yn(wn,Er,Rr+1)):yn(wn,Er),Ct&&wn.push(Ct),da&&wn.push(da),Er=Pt(u.createNodeArray(wn),Er)}const Wu=f();let Ra;if(Ti){Ra=u.createClassExpression(void 0,void 0,void 0,ct,Er),de.classThis&&(Ra=QAe(u,Ra,de.classThis));const wn=u.createVariableDeclaration(we,void 0,void 0,Ra),Rr=u.createVariableDeclarationList([wn]),as=de.classThis?u.createAssignment(we,de.classThis):we;Oe.push(u.createVariableStatement(void 0,Rr),u.createReturnStatement(as))}else Ra=u.createClassExpression(void 0,te.name,void 0,ct,Er),Oe.push(u.createReturnStatement(Ra));if(Qt){y7(Ra,32);for(const wn of Ra.members)(mh(wn)||Xh(wn))&&Kc(wn)&&y7(wn,32)}return su(Ra,te),u.createImmediatelyInvokedArrowFunction(u.mergeLexicalEnvironment(Oe,Wu))}function He(te){return e5(!1,te)||YN(!1,te)}function Je(te){if(He(te)){const we=[],de=Kl(te,gr)??te,Oe=de.name?u.createStringLiteralFromNode(de.name):u.createStringLiteral("default"),X=Qu(te,32),it=Qu(te,2048);if(te.name||(te=sQ(t,te,Oe)),X&&it){const Ct=De(te);if(te.name){const ct=u.createVariableDeclaration(u.getLocalName(te),void 0,void 0,Ct);su(ct,te);const Qt=u.createVariableDeclarationList([ct],1),Ti=u.createVariableStatement(void 0,Qt);we.push(Ti);const Ui=u.createExportDefault(u.getDeclarationName(te));su(Ui,te),Sc(Ui,iE(te)),Fs(Ui,a5(te)),we.push(Ui)}else{const ct=u.createExportDefault(Ct);su(ct,te),Sc(ct,iE(te)),Fs(ct,a5(te)),we.push(ct)}}else{H.assertIsDefined(te.name,"A class declaration that is not a default export must have a name.");const Ct=De(te),ct=X?Iu=>w7(Iu)?void 0:Ne(Iu):Ne,Qt=kn(te.modifiers,ct,Qo),Ti=u.getLocalName(te,!1,!0),Ui=u.createVariableDeclaration(Ti,void 0,void 0,Ct);su(Ui,te);const Sn=u.createVariableDeclarationList([Ui],1),du=u.createVariableStatement(Qt,Sn);if(su(du,te),Sc(du,iE(te)),we.push(du),X){const Iu=u.createExternalModuleExport(Ti);su(Iu,te),we.push(Iu)}}return F0(we)}else{const we=kn(te.modifiers,Ne,Qo),de=kn(te.heritageClauses,ve,fm);J(void 0);const Oe=kn(te.members,pe,qd);return K(),u.updateClassDeclaration(te,we,te.name,void 0,de,Oe)}}function ft(te){if(He(te)){const we=De(te);return su(we,te),we}else{const we=kn(te.modifiers,Ne,Qo),de=kn(te.heritageClauses,ve,fm);J(void 0);const Oe=kn(te.members,pe,qd);return K(),u.updateClassExpression(te,we,te.name,void 0,de,Oe)}}function Ze(te,we){if(we.instanceExtraInitializersName&&!we.hasNonAmbientInstanceFields){const de=[];return de.push(u.createExpressionStatement(s().createRunInitializersHelper(u.createThis(),we.instanceExtraInitializersName))),de}}function je(te,we,de,Oe,X,it){const Ct=Oe[X],ct=we[Ct];if(yn(te,kn(we,ve,ua,de,Ct-de)),xk(ct)){const Qt=[];je(Qt,ct.tryBlock.statements,0,Oe,X+1,it);const Ti=u.createNodeArray(Qt);Pt(Ti,ct.tryBlock.statements),te.push(u.updateTryStatement(ct,u.updateBlock(ct.tryBlock,Qt),yt(ct.catchClause,ve,H2),yt(ct.finallyBlock,ve,ho)))}else yn(te,kn(we,ve,ua,Ct,1)),yn(te,it);yn(te,kn(we,ve,ua,Ct+1))}function Ke(te){Y(te);const we=kn(te.modifiers,Ne,Qo),de=kn(te.parameters,ve,Qa);let Oe;if(te.body&&b){const X=Ze(b.class,b);if(X){const it=[],Ct=u.copyPrologue(te.body.statements,it,!1,ve),ct=uQ(te.body.statements,Ct);ct.length>0?je(it,te.body.statements,Ct,ct,0,X):(yn(it,X),yn(it,kn(te.body.statements,ve,ua))),Oe=u.createBlock(it,!0),su(Oe,te.body),Pt(Oe,te.body)}}return Oe??(Oe=yt(te.body,ve,ho)),oe(),u.updateConstructorDeclaration(te,we,de,Oe)}function Gt(te,we){return te!==we&&(Sc(te,we),Fs(te,a5(we))),te}function Yt(te,we,de){let Oe,X,it,Ct,ct;if(!we){const Ui=kn(te.modifiers,Ne,Qo);return se(),X=On(te.name),ge(),{modifiers:Ui,referencedName:Oe,name:X,initializersName:it,descriptorName:ct,thisArg:Ct}}const Qt=et(aQ(te,we.class,!1)),Ti=kn(te.modifiers,Ne,Qo);if(Qt){const Ui=Be(te,"decorators"),Sn=u.createArrayLiteralExpression(Qt),du=u.createAssignment(Ui,Sn),Iu={memberDecoratorsName:Ui};we.memberInfos??(we.memberInfos=new Map),we.memberInfos.set(te,Iu),T??(T=[]),T.push(du);const Er=T8(te)||Xh(te)?Lo(te)?we.staticNonFieldDecorationStatements??(we.staticNonFieldDecorationStatements=[]):we.nonStaticNonFieldDecorationStatements??(we.nonStaticNonFieldDecorationStatements=[]):yo(te)&&!Xh(te)?Lo(te)?we.staticFieldDecorationStatements??(we.staticFieldDecorationStatements=[]):we.nonStaticFieldDecorationStatements??(we.nonStaticFieldDecorationStatements=[]):H.fail(),er=Mm(te)?"getter":Of(te)?"setter":cc(te)?"method":Xh(te)?"accessor":yo(te)?"field":H.fail();let da;if(at(te.name)||ea(te.name))da={computed:!1,name:te.name};else if(Qg(te.name))da={computed:!0,name:u.createStringLiteralFromNode(te.name)};else{const wn=te.name.expression;Qg(wn)&&!at(wn)?da={computed:!0,name:u.createStringLiteralFromNode(wn)}:(se(),{referencedName:Oe,name:X}=bt(te.name),da={computed:!0,name:Oe},ge())}const Wu={kind:er,name:da,static:Lo(te),private:ea(te.name),access:{get:yo(te)||Mm(te)||cc(te),set:yo(te)||Of(te)},metadata:we.metadataReference},Ra=Lo(te)?we.staticExtraInitializersName??(we.staticExtraInitializersName=u.createUniqueName("_staticExtraInitializers",48)):we.instanceExtraInitializersName??(we.instanceExtraInitializersName=u.createUniqueName("_instanceExtraInitializers",48));if(T8(te)){let wn;mh(te)&&de&&(wn=de(te,kn(Ti,Bo=>rr(Bo,jP),Qo)),Iu.memberDescriptorName=ct=Be(te,"descriptor"),wn=u.createAssignment(ct,wn));const Rr=s().createESDecorateHelper(u.createThis(),wn??u.createNull(),Ui,Wu,u.createNull(),Ra),as=u.createExpressionStatement(Rr);Fs(as,a5(te)),Er.push(as)}else if(yo(te)){it=Iu.memberInitializersName??(Iu.memberInitializersName=Be(te,"initializers")),Lo(te)&&(Ct=we.classThis);let wn;mh(te)&&Xg(te)&&de&&(wn=de(te,void 0),Iu.memberDescriptorName=ct=Be(te,"descriptor"),wn=u.createAssignment(ct,wn));const Rr=s().createESDecorateHelper(Xh(te)?u.createThis():u.createNull(),wn??u.createNull(),Ui,Wu,it,Ra),as=u.createExpressionStatement(Rr);Fs(as,a5(te)),Er.push(as)}}return X===void 0&&(se(),X=On(te.name),ge()),!Ge(Ti)&&(cc(te)||yo(te))&&Yn(X,1024),{modifiers:Ti,referencedName:Oe,name:X,initializersName:it,descriptorName:ct,thisArg:Ct}}function Ie(te){Y(te);const{modifiers:we,name:de,descriptorName:Oe}=Yt(te,b,me);if(Oe)return oe(),Gt(jt(we,de,Oe),te);{const X=kn(te.parameters,ve,Qa),it=yt(te.body,ve,ho);return oe(),Gt(u.updateMethodDeclaration(te,we,te.asteriskToken,de,void 0,void 0,X,void 0,it),te)}}function lt(te){Y(te);const{modifiers:we,name:de,descriptorName:Oe}=Yt(te,b,ni);if(Oe)return oe(),Gt(pi(we,de,Oe),te);{const X=kn(te.parameters,ve,Qa),it=yt(te.body,ve,ho);return oe(),Gt(u.updateGetAccessorDeclaration(te,we,de,X,void 0,it),te)}}function St(te){Y(te);const{modifiers:we,name:de,descriptorName:Oe}=Yt(te,b,_i);if(Oe)return oe(),Gt($i(we,de,Oe),te);{const X=kn(te.parameters,ve,Qa),it=yt(te.body,ve,ho);return oe(),Gt(u.updateSetAccessorDeclaration(te,we,de,X,it),te)}}function It(te){Y(te);let we;if(Y7(te))we=un(te,ve,t);else if(gM(te)){const de=B;B=void 0,we=un(te,ve,t),B=de}else b&&(b.hasStaticInitializers=!0),we=un(te,ve,t);return oe(),we}function ti(te){zf(te,rn)&&(te=jf(t,te,Pi(te.initializer))),Y(te),H.assert(!E0e(te),"Not yet implemented.");const{modifiers:we,name:de,initializersName:Oe,descriptorName:X,thisArg:it}=Yt(te,b,Xg(te)?mt:void 0);d();let Ct=yt(te.initializer,ve,Wt);Oe&&(Ct=s().createRunInitializersHelper(it??u.createThis(),Oe,Ct??u.createVoidZero())),!Lo(te)&&(b!=null&&b.instanceExtraInitializersName)&&!(b!=null&&b.hasInjectedInstanceInitializers)&&(b.hasInjectedInstanceInitializers=!0,Ct??(Ct=u.createVoidZero()),Ct=u.createParenthesizedExpression(u.createComma(s().createRunInitializersHelper(u.createThis(),b.instanceExtraInitializersName),Ct))),Lo(te)&&b&&Ct&&(b.hasStaticInitializers=!0);const ct=f();if(Ge(ct)&&(Ct=u.createImmediatelyInvokedArrowFunction([...ct,u.createReturnStatement(Ct)])),oe(),Xg(te)&&X){const Qt=iE(te),Ti=wv(te),Ui=te.name;let Sn=Ui,du=Ui;if(Ns(Ui)&&!oE(Ui.expression)){const Wu=CY(Ui);if(Wu)Sn=u.updateComputedPropertyName(Ui,yt(Ui.expression,ve,Wt)),du=u.updateComputedPropertyName(Ui,Wu.left);else{const Ra=u.createTempVariable(p);Fs(Ra,Ui.expression);const wn=yt(Ui.expression,ve,Wt),Rr=u.createAssignment(Ra,wn);Fs(Rr,Ui.expression),Sn=u.updateComputedPropertyName(Ui,Rr),du=u.updateComputedPropertyName(Ui,Ra)}}const Iu=kn(we,Wu=>Wu.kind!==129?Wu:void 0,Qo),Er=Kce(u,te,Iu,Ct);su(Er,te),Yn(Er,3072),Fs(Er,Ti),Fs(Er.name,te.name);const er=pi(Iu,Sn,X);su(er,te),Sc(er,Qt),Fs(er,Ti);const da=$i(Iu,du,X);return su(da,te),Yn(da,3072),Fs(da,Ti),[Er,er,da]}return Gt(u.updatePropertyDeclaration(te,we,de,void 0,void 0,Ct),te)}function ht(te){return B??te}function Ut(te){if(tf(te.expression)&&B){const we=yt(te.expression,ve,Wt),de=kn(te.arguments,ve,Wt),Oe=u.createFunctionCallCall(we,B,de);return su(Oe,te),Pt(Oe,te),Oe}return un(te,ve,t)}function Ni(te){if(tf(te.tag)&&B){const we=yt(te.tag,ve,Wt),de=u.createFunctionBindCall(we,B,[]);su(de,te),Pt(de,te);const Oe=yt(te.template,ve,L8);return u.updateTaggedTemplateExpression(te,de,void 0,Oe)}return un(te,ve,t)}function Vi(te){if(tf(te)&&at(te.name)&&B&&k){const we=u.createStringLiteralFromNode(te.name),de=u.createReflectGetCall(k,we,B);return su(de,te.expression),Pt(de,te.expression),de}return un(te,ve,t)}function xn(te){if(tf(te)&&B&&k){const we=yt(te.argumentExpression,ve,Wt),de=u.createReflectGetCall(k,we,B);return su(de,te.expression),Pt(de,te.expression),de}return un(te,ve,t)}function $n(te){zf(te,rn)&&(te=jf(t,te,Pi(te.initializer)));const we=u.updateParameterDeclaration(te,void 0,te.dotDotDotToken,yt(te.name,ve,$y),void 0,void 0,yt(te.initializer,ve,Wt));return we!==te&&(Sc(we,te),Pt(we,tE(te)),Fs(we,tE(te)),Yn(we.name,64)),we}function rn(te){return Qd(te)&&!te.name&&He(te)}function Pi(te){const we=_c(te);return Qd(we)&&!we.name&&!e5(!1,we)}function ki(te){return u.updateForStatement(te,yt(te.initializer,fe,r4),yt(te.condition,ve,Wt),yt(te.incrementor,fe,Wt),Mh(te.statement,ve,t))}function Yu(te){return un(te,fe,t)}function oa(te,we){if(u5(te)){const de=Et(te.left),Oe=yt(te.right,ve,Wt);return u.updateBinaryExpression(te,de,te.operatorToken,Oe)}if(od(te)){if(zf(te,rn))return te=jf(t,te,Pi(te.right)),un(te,ve,t);if(tf(te.left)&&B&&k){let de=G0(te.left)?yt(te.left.argumentExpression,ve,Wt):at(te.left.name)?u.createStringLiteralFromNode(te.left.name):void 0;if(de){let Oe=yt(te.right,ve,Wt);if(fM(te.operatorToken.kind)){let it=de;oE(de)||(it=u.createTempVariable(p),de=u.createAssignment(it,de));const Ct=u.createReflectGetCall(k,it,B);su(Ct,te.left),Pt(Ct,te.left),Oe=u.createBinaryExpression(Ct,mM(te.operatorToken.kind),Oe),Pt(Oe,te)}const X=we?void 0:u.createTempVariable(p);return X&&(Oe=u.createAssignment(X,Oe),Pt(X,te)),Oe=u.createReflectSetCall(k,de,Oe,B),su(Oe,te),Pt(Oe,te),X&&(Oe=u.createComma(Oe,X),Pt(Oe,te)),Oe}}}if(te.operatorToken.kind===28){const de=yt(te.left,fe,Wt),Oe=yt(te.right,we?fe:ve,Wt);return u.updateBinaryExpression(te,de,te.operatorToken,Oe)}return un(te,ve,t)}function Fr(te,we){if(te.operator===46||te.operator===47){const de=s0(te.operand);if(tf(de)&&B&&k){let Oe=G0(de)?yt(de.argumentExpression,ve,Wt):at(de.name)?u.createStringLiteralFromNode(de.name):void 0;if(Oe){let X=Oe;oE(Oe)||(X=u.createTempVariable(p),Oe=u.createAssignment(X,Oe));let it=u.createReflectGetCall(k,X,B);su(it,te),Pt(it,te);const Ct=we?void 0:u.createTempVariable(p);return it=pY(u,te,it,p,Ct),it=u.createReflectSetCall(k,Oe,it,B),su(it,te),Pt(it,te),Ct&&(it=u.createComma(it,Ct),Pt(it,te)),it}}}return un(te,ve,t)}function Sa(te,we){const de=we?cH(te.elements,fe):cH(te.elements,ve,fe);return u.updateCommaListExpression(te,de)}function bt(te){if(Qg(te)||ea(te)){const it=u.createStringLiteralFromNode(te),Ct=yt(te,ve,Ac);return{referencedName:it,name:Ct}}if(Qg(te.expression)&&!at(te.expression)){const it=u.createStringLiteralFromNode(te.expression),Ct=yt(te,ve,Ac);return{referencedName:it,name:Ct}}const we=u.getGeneratedNameForNode(te);p(we);const de=s().createPropKeyHelper(yt(te.expression,ve,Wt)),Oe=u.createAssignment(we,de),X=u.updateComputedPropertyName(te,Pe(Oe));return{referencedName:we,name:X}}function On(te){return Ns(te)?Ln(te):yt(te,ve,Ac)}function Ln(te){let we=yt(te.expression,ve,Wt);return oE(we)||(we=Pe(we)),u.updateComputedPropertyName(te,we)}function Fi(te){return zf(te,rn)&&(te=jf(t,te,Pi(te.initializer))),un(te,ve,t)}function Dn(te){return zf(te,rn)&&(te=jf(t,te,Pi(te.initializer))),un(te,ve,t)}function Cn(te){return zf(te,rn)&&(te=jf(t,te,Pi(te.initializer))),un(te,ve,t)}function tu(te){if(bs(te)||_h(te))return Et(te);if(tf(te)&&B&&k){const we=G0(te)?yt(te.argumentExpression,ve,Wt):at(te.name)?u.createStringLiteralFromNode(te.name):void 0;if(we){const de=u.createTempVariable(void 0),Oe=u.createAssignmentTargetWrapper(de,u.createReflectSetCall(k,we,de,B));return su(Oe,te),Pt(Oe,te),Oe}}return un(te,ve,t)}function sa(te){if(od(te,!0)){zf(te,rn)&&(te=jf(t,te,Pi(te.right)));const we=tu(te.left),de=yt(te.right,ve,Wt);return u.updateBinaryExpression(te,we,te.operatorToken,de)}else return tu(te)}function Da(te){if(_f(te.expression)){const we=tu(te.expression);return u.updateSpreadElement(te,we)}return un(te,ve,t)}function aa(te){return H.assertNode(te,UO),nE(te)?Da(te):kd(te)?un(te,ve,t):sa(te)}function Ba(te){const we=yt(te.name,ve,Ac);if(od(te.initializer,!0)){const de=sa(te.initializer);return u.updatePropertyAssignment(te,we,de)}if(_f(te.initializer)){const de=tu(te.initializer);return u.updatePropertyAssignment(te,we,de)}return un(te,ve,t)}function Yo(te){return zf(te,rn)&&(te=jf(t,te,Pi(te.objectAssignmentInitializer))),un(te,ve,t)}function vo(te){if(_f(te.expression)){const we=tu(te.expression);return u.updateSpreadAssignment(te,we)}return un(te,ve,t)}function Qe(te){return H.assertNode(te,$O),c5(te)?vo(te):mm(te)?Yo(te):Jc(te)?Ba(te):un(te,ve,t)}function Et(te){if(_h(te)){const we=kn(te.elements,aa,Wt);return u.updateArrayLiteralExpression(te,we)}else{const we=kn(te.properties,Qe,q3);return u.updateObjectLiteralExpression(te,we)}}function Mt(te){return zf(te,rn)&&(te=jf(t,te,Pi(te.expression))),un(te,ve,t)}function qt(te,we){const de=we?fe:ve,Oe=yt(te.expression,de,Wt);return u.updateParenthesizedExpression(te,Oe)}function Xt(te,we){const de=we?fe:ve,Oe=yt(te.expression,de,Wt);return u.updatePartiallyEmittedExpression(te,Oe)}function Pe(te){return Ge(T)&&(vf(te)?(T.push(te.expression),te=u.updateParenthesizedExpression(te,u.inlineExpressions(T))):(T.push(te),te=u.inlineExpressions(T)),T=void 0),te}function et(te){if(!te)return;const we=[];return yn(we,Kt(te.decorators,gt)),we}function gt(te){const we=yt(te.expression,ve,Wt);Yn(we,3072);const de=_c(we);if(M0(de)){const{target:Oe,thisArg:X}=u.createCallBinding(we,p,E,!0);return u.restoreOuterExpressions(we,u.createFunctionBindCall(Oe,X,[]))}return we}function ii(te,we,de,Oe,X,it,Ct){const ct=u.createFunctionExpression(de,Oe,void 0,void 0,it,void 0,Ct??u.createBlock([]));su(ct,te),Fs(ct,a5(te)),Yn(ct,3072);const Qt=X==="get"||X==="set"?X:void 0,Ti=u.createStringLiteralFromNode(we,void 0),Ui=s().createSetFunctionNameHelper(ct,Ti,Qt),Sn=u.createPropertyAssignment(u.createIdentifier(X),Ui);return su(Sn,te),Fs(Sn,a5(te)),Yn(Sn,3072),Sn}function me(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,te.asteriskToken,"value",kn(te.parameters,ve,Qa),yt(te.body,ve,ho))])}function ni(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,void 0,"get",[],yt(te.body,ve,ho))])}function _i(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,void 0,"set",kn(te.parameters,ve,Qa),yt(te.body,ve,ho))])}function mt(te,we){return u.createObjectLiteralExpression([ii(te,te.name,we,void 0,"get",[],u.createBlock([u.createReturnStatement(u.createPropertyAccessExpression(u.createThis(),u.getGeneratedPrivateNameForNode(te.name)))])),ii(te,te.name,we,void 0,"set",[u.createParameterDeclaration(void 0,void 0,"value")],u.createBlock([u.createExpressionStatement(u.createAssignment(u.createPropertyAccessExpression(u.createThis(),u.getGeneratedPrivateNameForNode(te.name)),u.createIdentifier("value")))]))])}function jt(te,we,de){return te=kn(te,Oe=>T7(Oe)?Oe:void 0,Qo),u.createGetAccessorDeclaration(te,we,[],void 0,u.createBlock([u.createReturnStatement(u.createPropertyAccessExpression(de,u.createIdentifier("value")))]))}function pi(te,we,de){return te=kn(te,Oe=>T7(Oe)?Oe:void 0,Qo),u.createGetAccessorDeclaration(te,we,[],void 0,u.createBlock([u.createReturnStatement(u.createFunctionCallCall(u.createPropertyAccessExpression(de,u.createIdentifier("get")),u.createThis(),[]))]))}function $i(te,we,de){return te=kn(te,Oe=>T7(Oe)?Oe:void 0,Qo),u.createSetAccessorDeclaration(te,we,[u.createParameterDeclaration(void 0,void 0,"value")],u.createBlock([u.createReturnStatement(u.createFunctionCallCall(u.createPropertyAccessExpression(de,u.createIdentifier("set")),u.createThis(),[u.createIdentifier("value")]))]))}function Yi(te,we){const de=u.createVariableDeclaration(te,void 0,void 0,u.createConditionalExpression(u.createLogicalAnd(u.createTypeCheck(u.createIdentifier("Symbol"),"function"),u.createPropertyAccessExpression(u.createIdentifier("Symbol"),"metadata")),u.createToken(58),u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("Object"),"create"),void 0,[we?le(we):u.createNull()]),u.createToken(59),u.createVoidZero()));return u.createVariableStatement(void 0,u.createVariableDeclarationList([de],2))}function on(te,we){const de=u.createObjectDefinePropertyCall(te,u.createPropertyAccessExpression(u.createIdentifier("Symbol"),"metadata"),u.createPropertyDescriptor({configurable:!0,writable:!0,enumerable:!0,value:we},!0));return Yn(u.createIfStatement(we,u.createExpressionStatement(de)),1)}function le(te){return u.createBinaryExpression(u.createElementAccessExpression(te,u.createPropertyAccessExpression(u.createIdentifier("Symbol"),"metadata")),61,u.createNull())}}var FMt=o({"src/compiler/transformers/esDecorators.ts"(){So()}});function o7e(t){const{factory:u,getEmitHelperFactory:s,resumeLexicalEnvironment:d,endLexicalEnvironment:f,hoistVariableDeclaration:p}=t,E=t.getEmitResolver(),v=t.getCompilerOptions(),b=Rs(v);let B,k=0,T,M,z;const j=[];let J=0;const K=t.onEmitNode,Y=t.onSubstituteNode;return t.onEmitNode=$n,t.onSubstituteNode=rn,jp(t,oe);function oe(bt){if(bt.isDeclarationFile)return bt;se(1,!1),se(2,!g0e(bt,v));const On=un(bt,Se,t);return tD(On,t.readEmitHelpers()),On}function se(bt,On){J=On?J|bt:J&~bt}function ge(bt){return(J&bt)!==0}function ae(){return!ge(1)}function Ce(){return ge(2)}function ne(bt,On,Ln){const Fi=bt&~J;if(Fi){se(Fi,!0);const Dn=On(Ln);return se(Fi,!1),Dn}return On(Ln)}function ve(bt){return un(bt,Se,t)}function Se(bt){if(!(bt.transformFlags&256))return bt;switch(bt.kind){case 134:return;case 223:return Ae(bt);case 174:return ne(3,He,bt);case 262:return ne(3,Ze,bt);case 218:return ne(3,je,bt);case 219:return ne(1,Ke,bt);case 211:return M&&zu(bt)&&bt.expression.kind===108&&M.add(bt.name.escapedText),un(bt,Se,t);case 212:return M&&bt.expression.kind===108&&(z=!0),un(bt,Se,t);case 177:return ne(3,Je,bt);case 178:return ne(3,ft,bt);case 176:return ne(3,De,bt);case 263:case 231:return ne(3,ve,bt);default:return un(bt,Se,t)}}function Ne(bt){if(oye(bt))switch(bt.kind){case 243:return fe(bt);case 248:return We(bt);case 249:return xe(bt);case 250:return Be(bt);case 299:return pe(bt);case 241:case 255:case 269:case 296:case 297:case 258:case 246:case 247:case 245:case 254:case 256:return un(bt,Ne,t);default:return H.assertNever(bt,"Unhandled node.")}return Se(bt)}function pe(bt){const On=new Set;Gt(bt.variableDeclaration,On);let Ln;if(On.forEach((Fi,Dn)=>{T.has(Dn)&&(Ln||(Ln=new Set(T)),Ln.delete(Dn))}),Ln){const Fi=T;T=Ln;const Dn=un(bt,Ne,t);return T=Fi,Dn}else return un(bt,Ne,t)}function fe(bt){if(Yt(bt.declarationList)){const On=Ie(bt.declarationList,!1);return On?u.createExpressionStatement(On):void 0}return un(bt,Se,t)}function xe(bt){return u.updateForInStatement(bt,Yt(bt.initializer)?Ie(bt.initializer,!0):H.checkDefined(yt(bt.initializer,Se,r4)),H.checkDefined(yt(bt.expression,Se,Wt)),Mh(bt.statement,Ne,t))}function Be(bt){return u.updateForOfStatement(bt,yt(bt.awaitModifier,Se,Ece),Yt(bt.initializer)?Ie(bt.initializer,!0):H.checkDefined(yt(bt.initializer,Se,r4)),H.checkDefined(yt(bt.expression,Se,Wt)),Mh(bt.statement,Ne,t))}function We(bt){const On=bt.initializer;return u.updateForStatement(bt,Yt(On)?Ie(On,!1):yt(bt.initializer,Se,r4),yt(bt.condition,Se,Wt),yt(bt.incrementor,Se,Wt),Mh(bt.statement,Ne,t))}function Ae(bt){return ae()?un(bt,Se,t):su(Pt(u.createYieldExpression(void 0,yt(bt.expression,Se,Wt)),bt),bt)}function De(bt){return u.updateConstructorDeclaration(bt,kn(bt.modifiers,Se,Qo),Dc(bt.parameters,Se,t),ht(bt))}function He(bt){return u.updateMethodDeclaration(bt,kn(bt.modifiers,Se,ol),bt.asteriskToken,bt.name,void 0,void 0,Dc(bt.parameters,Se,t),void 0,yd(bt)&2?Ut(bt):ht(bt))}function Je(bt){return u.updateGetAccessorDeclaration(bt,kn(bt.modifiers,Se,ol),bt.name,Dc(bt.parameters,Se,t),void 0,ht(bt))}function ft(bt){return u.updateSetAccessorDeclaration(bt,kn(bt.modifiers,Se,ol),bt.name,Dc(bt.parameters,Se,t),ht(bt))}function Ze(bt){return u.updateFunctionDeclaration(bt,kn(bt.modifiers,Se,ol),bt.asteriskToken,bt.name,void 0,Dc(bt.parameters,Se,t),void 0,yd(bt)&2?Ut(bt):Rm(bt.body,Se,t))}function je(bt){return u.updateFunctionExpression(bt,kn(bt.modifiers,Se,Qo),bt.asteriskToken,bt.name,void 0,Dc(bt.parameters,Se,t),void 0,yd(bt)&2?Ut(bt):Rm(bt.body,Se,t))}function Ke(bt){return u.updateArrowFunction(bt,kn(bt.modifiers,Se,Qo),void 0,Dc(bt.parameters,Se,t),void 0,bt.equalsGreaterThanToken,yd(bt)&2?Ut(bt):Rm(bt.body,Se,t))}function Gt({name:bt},On){if(at(bt))On.add(bt.escapedText);else for(const Ln of bt.elements)kd(Ln)||Gt(Ln,On)}function Yt(bt){return!!bt&&Fd(bt)&&!(bt.flags&7)&&bt.declarations.some(ti)}function Ie(bt,On){lt(bt);const Ln=_P(bt);return Ln.length===0?On?yt(u.converters.convertToAssignmentElementTarget(bt.declarations[0].name),Se,Wt):void 0:u.inlineExpressions(Kt(Ln,It))}function lt(bt){L(bt.declarations,St)}function St({name:bt}){if(at(bt))p(bt);else for(const On of bt.elements)kd(On)||St(On)}function It(bt){const On=Fs(u.createAssignment(u.converters.convertToAssignmentElementTarget(bt.name),bt.initializer),bt);return H.checkDefined(yt(On,Se,Wt))}function ti({name:bt}){if(at(bt))return T.has(bt.escapedText);for(const On of bt.elements)if(!kd(On)&&ti(On))return!0;return!1}function ht(bt){H.assertIsDefined(bt.body);const On=M,Ln=z;M=new Set,z=!1;let Fi=Rm(bt.body,Se,t);const Dn=Kl(bt,W0);if(b>=2&&E.getNodeCheckFlags(bt)&384&&(yd(Dn)&3)!==3){if(xn(),M.size){const tu=lQ(u,E,bt,M);j[$s(tu)]=!0;const sa=Fi.statements.slice();qE(sa,[tu]),Fi=u.updateBlock(Fi,sa)}z&&(E.getNodeCheckFlags(bt)&256?F7(Fi,vV):E.getNodeCheckFlags(bt)&128&&F7(Fi,xV))}return M=On,z=Ln,Fi}function Ut(bt){d();const Ln=Kl(bt,xo).type,Fi=b<2?Vi(Ln):void 0,Dn=bt.kind===219,Cn=(E.getNodeCheckFlags(bt)&512)!==0,tu=T;T=new Set;for(const Ba of bt.parameters)Gt(Ba,T);const sa=M,Da=z;Dn||(M=new Set,z=!1);let aa;if(Dn){const Ba=s().createAwaiterHelper(Ce(),Cn,Fi,Ni(bt.body)),Yo=f();if(Ge(Yo)){const vo=u.converters.convertToFunctionBlock(Ba);aa=u.updateBlock(vo,Pt(u.createNodeArray(an(Yo,vo.statements)),vo.statements))}else aa=Ba}else{const Ba=[],Yo=u.copyPrologue(bt.body.statements,Ba,!1,Se);Ba.push(u.createReturnStatement(s().createAwaiterHelper(Ce(),Cn,Fi,Ni(bt.body,Yo)))),qE(Ba,f());const vo=b>=2&&E.getNodeCheckFlags(bt)&384;if(vo&&(xn(),M.size)){const Et=lQ(u,E,bt,M);j[$s(Et)]=!0,qE(Ba,[Et])}const Qe=u.createBlock(Ba,!0);Pt(Qe,bt.body),vo&&z&&(E.getNodeCheckFlags(bt)&256?F7(Qe,vV):E.getNodeCheckFlags(bt)&128&&F7(Qe,xV)),aa=Qe}return T=tu,Dn||(M=sa,z=Da),aa}function Ni(bt,On){return ho(bt)?u.updateBlock(bt,kn(bt.statements,Ne,ua,On)):u.converters.convertToFunctionBlock(H.checkDefined(yt(bt,Ne,RU)))}function Vi(bt){const On=bt&&fj(bt);if(On&&om(On)){const Ln=E.getTypeReferenceSerializationKind(On);if(Ln===1||Ln===0)return On}}function xn(){B&1||(B|=1,t.enableSubstitution(213),t.enableSubstitution(211),t.enableSubstitution(212),t.enableEmitNotification(263),t.enableEmitNotification(174),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(176),t.enableEmitNotification(243))}function $n(bt,On,Ln){if(B&1&&Fr(On)){const Fi=E.getNodeCheckFlags(On)&384;if(Fi!==k){const Dn=k;k=Fi,K(bt,On,Ln),k=Dn;return}}else if(B&&j[$s(On)]){const Fi=k;k=0,K(bt,On,Ln),k=Fi;return}K(bt,On,Ln)}function rn(bt,On){return On=Y(bt,On),bt===1&&k?Pi(On):On}function Pi(bt){switch(bt.kind){case 211:return ki(bt);case 212:return Yu(bt);case 213:return oa(bt)}return bt}function ki(bt){return bt.expression.kind===108?Pt(u.createPropertyAccessExpression(u.createUniqueName("_super",48),bt.name),bt):bt}function Yu(bt){return bt.expression.kind===108?Sa(bt.argumentExpression,bt):bt}function oa(bt){const On=bt.expression;if(tf(On)){const Ln=zu(On)?ki(On):Yu(On);return u.createCallExpression(u.createPropertyAccessExpression(Ln,"call"),void 0,[u.createThis(),...bt.arguments])}return bt}function Fr(bt){const On=bt.kind;return On===263||On===176||On===174||On===177||On===178}function Sa(bt,On){return k&256?Pt(u.createPropertyAccessExpression(u.createCallExpression(u.createUniqueName("_superIndex",48),void 0,[bt]),"value"),On):Pt(u.createCallExpression(u.createUniqueName("_superIndex",48),void 0,[bt]),On)}}function lQ(t,u,s,d){const f=(u.getNodeCheckFlags(s)&256)!==0,p=[];return d.forEach((E,v)=>{const b=Qr(v),B=[];B.push(t.createPropertyAssignment("get",t.createArrowFunction(void 0,void 0,[],void 0,void 0,Yn(t.createPropertyAccessExpression(Yn(t.createSuper(),8),b),8)))),f&&B.push(t.createPropertyAssignment("set",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,t.createAssignment(Yn(t.createPropertyAccessExpression(Yn(t.createSuper(),8),b),8),t.createIdentifier("v"))))),p.push(t.createPropertyAssignment(b,t.createObjectLiteralExpression(B)))}),t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_super",48),void 0,void 0,t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"create"),void 0,[t.createNull(),t.createObjectLiteralExpression(p,!0)]))],2))}var AMt=o({"src/compiler/transformers/es2017.ts"(){So()}});function s7e(t){const{factory:u,getEmitHelperFactory:s,resumeLexicalEnvironment:d,endLexicalEnvironment:f,hoistVariableDeclaration:p}=t,E=t.getEmitResolver(),v=t.getCompilerOptions(),b=Rs(v),B=t.onEmitNode;t.onEmitNode=Ba;const k=t.onSubstituteNode;t.onSubstituteNode=Yo;let T=!1,M,z,j,J=0,K=0,Y,oe,se,ge;const ae=[];return jp(t,Ne);function Ce(Pe,et){return K!==(K&~Pe|et)}function ne(Pe,et){const gt=K;return K=(K&~Pe|et)&3,gt}function ve(Pe){K=Pe}function Se(Pe){oe=Ei(oe,u.createVariableDeclaration(Pe))}function Ne(Pe){if(Pe.isDeclarationFile)return Pe;Y=Pe;const et=Yt(Pe);return tD(et,t.readEmitHelpers()),Y=void 0,oe=void 0,et}function pe(Pe){return Ae(Pe,!1)}function fe(Pe){return Ae(Pe,!0)}function xe(Pe){if(Pe.kind!==134)return Pe}function Be(Pe,et,gt,ii){if(Ce(gt,ii)){const me=ne(gt,ii),ni=Pe(et);return ve(me),ni}return Pe(et)}function We(Pe){return un(Pe,pe,t)}function Ae(Pe,et){if(!(Pe.transformFlags&128))return Pe;switch(Pe.kind){case 223:return De(Pe);case 229:return He(Pe);case 253:return Je(Pe);case 256:return ft(Pe);case 210:return je(Pe);case 226:return lt(Pe,et);case 361:return St(Pe,et);case 299:return It(Pe);case 243:return ti(Pe);case 260:return ht(Pe);case 246:case 247:case 249:return Be(We,Pe,0,2);case 250:return xn(Pe,void 0);case 248:return Be(Ni,Pe,0,2);case 222:return Vi(Pe);case 176:return Be(Sa,Pe,2,1);case 174:return Be(Ln,Pe,2,1);case 177:return Be(bt,Pe,2,1);case 178:return Be(On,Pe,2,1);case 262:return Be(Fi,Pe,2,1);case 218:return Be(Cn,Pe,2,1);case 219:return Be(Dn,Pe,2,0);case 169:return oa(Pe);case 244:return Ke(Pe);case 217:return Gt(Pe,et);case 215:return Ie(Pe);case 211:return se&&zu(Pe)&&Pe.expression.kind===108&&se.add(Pe.name.escapedText),un(Pe,pe,t);case 212:return se&&Pe.expression.kind===108&&(ge=!0),un(Pe,pe,t);case 263:case 231:return Be(We,Pe,2,1);default:return un(Pe,pe,t)}}function De(Pe){return z&2&&z&1?su(Pt(u.createYieldExpression(void 0,s().createAwaitHelper(yt(Pe.expression,pe,Wt))),Pe),Pe):un(Pe,pe,t)}function He(Pe){if(z&2&&z&1){if(Pe.asteriskToken){const et=yt(H.checkDefined(Pe.expression),pe,Wt);return su(Pt(u.createYieldExpression(void 0,s().createAwaitHelper(u.updateYieldExpression(Pe,Pe.asteriskToken,Pt(s().createAsyncDelegatorHelper(Pt(s().createAsyncValuesHelper(et),et)),et)))),Pe),Pe)}return su(Pt(u.createYieldExpression(void 0,Pi(Pe.expression?yt(Pe.expression,pe,Wt):u.createVoidZero())),Pe),Pe)}return un(Pe,pe,t)}function Je(Pe){return z&2&&z&1?u.updateReturnStatement(Pe,Pi(Pe.expression?yt(Pe.expression,pe,Wt):u.createVoidZero())):un(Pe,pe,t)}function ft(Pe){if(z&2){const et=F0e(Pe);return et.kind===250&&et.awaitModifier?xn(et,Pe):u.restoreEnclosingLabel(yt(et,pe,ua,u.liftToBlock),Pe)}return un(Pe,pe,t)}function Ze(Pe){let et;const gt=[];for(const ii of Pe)if(ii.kind===305){et&&(gt.push(u.createObjectLiteralExpression(et)),et=void 0);const me=ii.expression;gt.push(yt(me,pe,Wt))}else et=Ei(et,ii.kind===303?u.createPropertyAssignment(ii.name,yt(ii.initializer,pe,Wt)):yt(ii,pe,q3));return et&>.push(u.createObjectLiteralExpression(et)),gt}function je(Pe){if(Pe.transformFlags&65536){const et=Ze(Pe.properties);et.length&&et[0].kind!==210&&et.unshift(u.createObjectLiteralExpression());let gt=et[0];if(et.length>1){for(let ii=1;ii=2&&E.getNodeCheckFlags(Pe)&384;if(_i){aa();const jt=lQ(u,E,Pe,se);ae[$s(jt)]=!0,qE(et,[jt])}et.push(ni),qE(et,f());const mt=u.updateBlock(Pe.body,et);return _i&&ge&&(E.getNodeCheckFlags(Pe)&256?F7(mt,vV):E.getNodeCheckFlags(Pe)&128&&F7(mt,xV)),se=ii,ge=me,mt}function sa(Pe){d();let et=0;const gt=[],ii=yt(Pe.body,pe,RU)??u.createBlock([]);ho(ii)&&(et=u.copyPrologue(ii.statements,gt,!1,pe)),yn(gt,Da(void 0,Pe));const me=f();if(et>0||Ge(gt)||Ge(me)){const ni=u.converters.convertToFunctionBlock(ii,!0);return qE(gt,me),yn(gt,ni.statements.slice(et)),u.updateBlock(ni,Pt(u.createNodeArray(gt),ni.statements))}return ii}function Da(Pe,et){let gt=!1;for(const ii of et.parameters)if(gt){if(Ao(ii.name)){if(ii.name.elements.length>0){const me=q2(ii,pe,t,0,u.getGeneratedNameForNode(ii));if(Ge(me)){const ni=u.createVariableDeclarationList(me),_i=u.createVariableStatement(void 0,ni);Yn(_i,2097152),Pe=Ei(Pe,_i)}}else if(ii.initializer){const me=u.getGeneratedNameForNode(ii),ni=yt(ii.initializer,pe,Wt),_i=u.createAssignment(me,ni),mt=u.createExpressionStatement(_i);Yn(mt,2097152),Pe=Ei(Pe,mt)}}else if(ii.initializer){const me=u.cloneNode(ii.name);Pt(me,ii.name),Yn(me,96);const ni=yt(ii.initializer,pe,Wt);t_(ni,3168);const _i=u.createAssignment(me,ni);Pt(_i,ii),Yn(_i,3072);const mt=u.createBlock([u.createExpressionStatement(_i)]);Pt(mt,ii),Yn(mt,3905);const jt=u.createTypeCheck(u.cloneNode(ii.name),"undefined"),pi=u.createIfStatement(jt,mt);xh(pi),Pt(pi,ii),Yn(pi,2101056),Pe=Ei(Pe,pi)}}else if(ii.transformFlags&65536){gt=!0;const me=q2(ii,pe,t,1,u.getGeneratedNameForNode(ii),!1,!0);if(Ge(me)){const ni=u.createVariableDeclarationList(me),_i=u.createVariableStatement(void 0,ni);Yn(_i,2097152),Pe=Ei(Pe,_i)}}return Pe}function aa(){M&1||(M|=1,t.enableSubstitution(213),t.enableSubstitution(211),t.enableSubstitution(212),t.enableEmitNotification(263),t.enableEmitNotification(174),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(176),t.enableEmitNotification(243))}function Ba(Pe,et,gt){if(M&1&&qt(et)){const ii=E.getNodeCheckFlags(et)&384;if(ii!==J){const me=J;J=ii,B(Pe,et,gt),J=me;return}}else if(M&&ae[$s(et)]){const ii=J;J=0,B(Pe,et,gt),J=ii;return}B(Pe,et,gt)}function Yo(Pe,et){return et=k(Pe,et),Pe===1&&J?vo(et):et}function vo(Pe){switch(Pe.kind){case 211:return Qe(Pe);case 212:return Et(Pe);case 213:return Mt(Pe)}return Pe}function Qe(Pe){return Pe.expression.kind===108?Pt(u.createPropertyAccessExpression(u.createUniqueName("_super",48),Pe.name),Pe):Pe}function Et(Pe){return Pe.expression.kind===108?Xt(Pe.argumentExpression,Pe):Pe}function Mt(Pe){const et=Pe.expression;if(tf(et)){const gt=zu(et)?Qe(et):Et(et);return u.createCallExpression(u.createPropertyAccessExpression(gt,"call"),void 0,[u.createThis(),...Pe.arguments])}return Pe}function qt(Pe){const et=Pe.kind;return et===263||et===176||et===174||et===177||et===178}function Xt(Pe,et){return J&256?Pt(u.createPropertyAccessExpression(u.createCallExpression(u.createIdentifier("_superIndex"),void 0,[Pe]),"value"),et):Pt(u.createCallExpression(u.createIdentifier("_superIndex"),void 0,[Pe]),et)}}var SMt=o({"src/compiler/transformers/es2018.ts"(){So()}});function l7e(t){const u=t.factory;return jp(t,s);function s(p){return p.isDeclarationFile?p:un(p,d,t)}function d(p){if(!(p.transformFlags&64))return p;switch(p.kind){case 299:return f(p);default:return un(p,d,t)}}function f(p){return p.variableDeclaration?un(p,d,t):u.updateCatchClause(p,u.createVariableDeclaration(u.createTempVariable(void 0)),yt(p.block,d,ho))}}var BMt=o({"src/compiler/transformers/es2019.ts"(){So()}});function c7e(t){const{factory:u,hoistVariableDeclaration:s}=t;return jp(t,d);function d(j){return j.isDeclarationFile?j:un(j,f,t)}function f(j){if(!(j.transformFlags&32))return j;switch(j.kind){case 213:{const J=b(j,!1);return H.assertNotNode(J,R7),J}case 211:case 212:if(Z1(j)){const J=k(j,!1,!1);return H.assertNotNode(J,R7),J}return un(j,f,t);case 226:return j.operatorToken.kind===61?M(j):un(j,f,t);case 220:return z(j);default:return un(j,f,t)}}function p(j){H.assertNotNode(j,LU);const J=[j];for(;!j.questionDotToken&&!Ek(j);)j=No(wp(j.expression),Z1),H.assertNotNode(j,LU),J.unshift(j);return{expression:j.expression,chain:J}}function E(j,J,K){const Y=B(j.expression,J,K);return R7(Y)?u.createSyntheticReferenceExpression(u.updateParenthesizedExpression(j,Y.expression),Y.thisArg):u.updateParenthesizedExpression(j,Y)}function v(j,J,K){if(Z1(j))return k(j,J,K);let Y=yt(j.expression,f,Wt);H.assertNotNode(Y,R7);let oe;return J&&(U2(Y)?oe=Y:(oe=u.createTempVariable(s),Y=u.createAssignment(oe,Y))),Y=j.kind===211?u.updatePropertyAccessExpression(j,Y,yt(j.name,f,at)):u.updateElementAccessExpression(j,Y,yt(j.argumentExpression,f,Wt)),oe?u.createSyntheticReferenceExpression(Y,oe):Y}function b(j,J){if(Z1(j))return k(j,J,!1);if(vf(j.expression)&&Z1(s0(j.expression))){const K=E(j.expression,!0,!1),Y=kn(j.arguments,f,Wt);return R7(K)?Pt(u.createFunctionCallCall(K.expression,K.thisArg,Y),j):u.updateCallExpression(j,K,void 0,Y)}return un(j,f,t)}function B(j,J,K){switch(j.kind){case 217:return E(j,J,K);case 211:case 212:return v(j,J,K);case 213:return b(j,J);default:return yt(j,f,Wt)}}function k(j,J,K){const{expression:Y,chain:oe}=p(j),se=B(wp(Y),Gy(oe[0]),!1);let ge=R7(se)?se.thisArg:void 0,ae=R7(se)?se.expression:se,Ce=u.restoreOuterExpressions(Y,ae,8);U2(ae)||(ae=u.createTempVariable(s),Ce=u.createAssignment(ae,Ce));let ne=ae,ve;for(let Ne=0;NeAe&&yn(De,kn(Be.statements,T,ua,Ae,He-Ae));break}He++}H.assert(HeK(De,Ae))))],Ae,We===2)}return un(Be,T,t)}function oe(Be,We,Ae,De,He){const Je=[];for(let je=We;jeu&&(u=d)}return u}function NMt(t){let u=0;for(const s of t){const d=n1e(s.statements);if(d===2)return 2;d>u&&(u=d)}return u}var PMt=o({"src/compiler/transformers/esnext.ts"(){So()}});function g7e(t){const{factory:u,getEmitHelperFactory:s}=t,d=t.getCompilerOptions();let f,p;return jp(t,T);function E(){if(p.filenameDeclaration)return p.filenameDeclaration.name;const Ie=u.createVariableDeclaration(u.createUniqueName("_jsxFileName",48),void 0,void 0,u.createStringLiteral(f.fileName));return p.filenameDeclaration=Ie,p.filenameDeclaration.name}function v(Ie){return d.jsx===5?"jsxDEV":Ie?"jsxs":"jsx"}function b(Ie){const lt=v(Ie);return k(lt)}function B(){return k("Fragment")}function k(Ie){var lt,St;const It=Ie==="createElement"?p.importSpecifier:eZ(p.importSpecifier,d),ti=(St=(lt=p.utilizedImplicitRuntimeImports)==null?void 0:lt.get(It))==null?void 0:St.get(Ie);if(ti)return ti.name;p.utilizedImplicitRuntimeImports||(p.utilizedImplicitRuntimeImports=new Map);let ht=p.utilizedImplicitRuntimeImports.get(It);ht||(ht=new Map,p.utilizedImplicitRuntimeImports.set(It,ht));const Ut=u.createUniqueName(`_${Ie}`,112),Ni=u.createImportSpecifier(!1,u.createIdentifier(Ie),Ut);return Kke(Ut,Ni),ht.set(Ie,Ni),Ut}function T(Ie){if(Ie.isDeclarationFile)return Ie;f=Ie,p={},p.importSpecifier=Xq(d,Ie);let lt=un(Ie,M,t);tD(lt,t.readEmitHelpers());let St=lt.statements;if(p.filenameDeclaration&&(St=Yy(St.slice(),u.createVariableStatement(void 0,u.createVariableDeclarationList([p.filenameDeclaration],2)))),p.utilizedImplicitRuntimeImports){for(const[It,ti]of ga(p.utilizedImplicitRuntimeImports.entries()))if(Bc(Ie)){const ht=u.createImportDeclaration(void 0,u.createImportClause(!1,void 0,u.createNamedImports(ga(ti.values()))),u.createStringLiteral(It),void 0);jx(ht,!1),St=Yy(St.slice(),ht)}else if(lm(Ie)){const ht=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.createObjectBindingPattern(ga(ti.values(),Ut=>u.createBindingElement(void 0,Ut.propertyName,Ut.name))),void 0,void 0,u.createCallExpression(u.createIdentifier("require"),void 0,[u.createStringLiteral(It)]))],2));jx(ht,!1),St=Yy(St.slice(),ht)}}return St!==lt.statements&&(lt=u.updateSourceFile(lt,St)),p=void 0,lt}function M(Ie){return Ie.transformFlags&2?z(Ie):Ie}function z(Ie){switch(Ie.kind){case 284:return oe(Ie,!1);case 285:return se(Ie,!1);case 288:return ge(Ie,!1);case 294:return Yt(Ie);default:return un(Ie,M,t)}}function j(Ie){switch(Ie.kind){case 12:return He(Ie);case 294:return Yt(Ie);case 284:return oe(Ie,!0);case 285:return se(Ie,!0);case 288:return ge(Ie,!0);default:return H.failBadSyntaxKind(Ie)}}function J(Ie){return Ie.properties.some(lt=>Jc(lt)&&(at(lt.name)&&fu(lt.name)==="__proto__"||us(lt.name)&<.name.text==="__proto__"))}function K(Ie){let lt=!1;for(const St of Ie.attributes.properties)if(j7(St)&&(!bs(St.expression)||St.expression.properties.some(c5)))lt=!0;else if(lt&&aE(St)&&at(St.name)&&St.name.escapedText==="key")return!0;return!1}function Y(Ie){return p.importSpecifier===void 0||K(Ie)}function oe(Ie,lt){return(Y(Ie.openingElement)?Se:ne)(Ie.openingElement,Ie.children,lt,Ie)}function se(Ie,lt){return(Y(Ie)?Se:ne)(Ie,void 0,lt,Ie)}function ge(Ie,lt){return(p.importSpecifier===void 0?pe:Ne)(Ie.openingFragment,Ie.children,lt,Ie)}function ae(Ie){const lt=Ce(Ie);return lt&&u.createObjectLiteralExpression([lt])}function Ce(Ie){const lt=iB(Ie);if(S(lt)===1&&!lt[0].dotDotDotToken){const It=j(lt[0]);return It&&u.createPropertyAssignment("children",It)}const St=Si(Ie,j);return S(St)?u.createPropertyAssignment("children",u.createArrayLiteralExpression(St)):void 0}function ne(Ie,lt,St,It){const ti=Ke(Ie),ht=lt&<.length?Ce(lt):void 0,Ut=Le(Ie.attributes.properties,xn=>!!xn.name&&at(xn.name)&&xn.name.escapedText==="key"),Ni=Ut?ei(Ie.attributes.properties,xn=>xn!==Ut):Ie.attributes.properties,Vi=S(Ni)?xe(Ni,ht):u.createObjectLiteralExpression(ht?[ht]:_t);return ve(ti,Vi,Ut,lt||_t,St,It)}function ve(Ie,lt,St,It,ti,ht){var Ut;const Ni=iB(It),Vi=S(Ni)>1||!!((Ut=Ni[0])!=null&&Ut.dotDotDotToken),xn=[Ie,lt];if(St&&xn.push(De(St.initializer)),d.jsx===5){const rn=Kl(f);if(rn&&ca(rn)){St===void 0&&xn.push(u.createVoidZero()),xn.push(Vi?u.createTrue():u.createFalse());const Pi=o0(rn,ht.pos);xn.push(u.createObjectLiteralExpression([u.createPropertyAssignment("fileName",E()),u.createPropertyAssignment("lineNumber",u.createNumericLiteral(Pi.line+1)),u.createPropertyAssignment("columnNumber",u.createNumericLiteral(Pi.character+1))])),xn.push(u.createThis())}}const $n=Pt(u.createCallExpression(b(Vi),void 0,xn),ht);return ti&&xh($n),$n}function Se(Ie,lt,St,It){const ti=Ke(Ie),ht=Ie.attributes.properties,Ut=S(ht)?xe(ht):u.createNull(),Ni=p.importSpecifier===void 0?Nce(u,t.getEmitResolver().getJsxFactoryEntity(f),d.reactNamespace,Ie):k("createElement"),Vi=CFe(u,Ni,ti,Ut,Si(lt,j),It);return St&&xh(Vi),Vi}function Ne(Ie,lt,St,It){let ti;if(lt&<.length){const ht=ae(lt);ht&&(ti=ht)}return ve(B(),ti||u.createObjectLiteralExpression([]),void 0,lt,St,It)}function pe(Ie,lt,St,It){const ti=bFe(u,t.getEmitResolver().getJsxFactoryEntity(f),t.getEmitResolver().getJsxFragmentFactoryEntity(f),d.reactNamespace,Si(lt,j),Ie,It);return St&&xh(ti),ti}function fe(Ie){return bs(Ie.expression)&&!J(Ie.expression)?Pu(Ie.expression.properties,lt=>H.checkDefined(yt(lt,M,q3))):u.createSpreadAssignment(H.checkDefined(yt(Ie.expression,M,Wt)))}function xe(Ie,lt){const St=Rs(d);return St&&St>=5?u.createObjectLiteralExpression(Be(Ie,lt)):We(Ie,lt)}function Be(Ie,lt){const St=Oa(qo(Ie,j7,(It,ti)=>Oa(Kt(It,ht=>ti?fe(ht):Ae(ht)))));return lt&&St.push(lt),St}function We(Ie,lt){const St=[];let It=[];for(const ht of Ie){if(j7(ht)){if(bs(ht.expression)&&!J(ht.expression)){for(const Ut of ht.expression.properties){if(c5(Ut)){ti(),St.push(H.checkDefined(yt(Ut.expression,M,Wt)));continue}It.push(H.checkDefined(yt(Ut,M)))}continue}ti(),St.push(H.checkDefined(yt(ht.expression,M,Wt)));continue}It.push(Ae(ht))}return lt&&It.push(lt),ti(),St.length&&!bs(St[0])&&St.unshift(u.createObjectLiteralExpression()),Fa(St)||s().createAssignHelper(St);function ti(){It.length&&(St.push(u.createObjectLiteralExpression(It)),It=[])}}function Ae(Ie){const lt=Gt(Ie),St=De(Ie.initializer);return u.createPropertyAssignment(lt,St)}function De(Ie){if(Ie===void 0)return u.createTrue();if(Ie.kind===11){const lt=Ie.singleQuote!==void 0?Ie.singleQuote:!_q(Ie,f),St=u.createStringLiteral(je(Ie.text)||Ie.text,lt);return Pt(St,Ie)}return Ie.kind===294?Ie.expression===void 0?u.createTrue():H.checkDefined(yt(Ie.expression,M,Wt)):u3(Ie)?oe(Ie,!1):vk(Ie)?se(Ie,!1):j2(Ie)?ge(Ie,!1):H.failBadSyntaxKind(Ie)}function He(Ie){const lt=Je(Ie.text);return lt===void 0?void 0:u.createStringLiteral(lt)}function Je(Ie){let lt,St=0,It=-1;for(let ti=0;ti{if(ht)return y8(parseInt(ht,10));if(Ut)return y8(parseInt(Ut,16));{const Vi=Vet.get(Ni);return Vi?y8(Vi):lt}})}function je(Ie){const lt=Ze(Ie);return lt===Ie?void 0:lt}function Ke(Ie){if(Ie.kind===284)return Ke(Ie.openingElement);{const lt=Ie.tagName;return at(lt)&&uB(lt.escapedText)?u.createStringLiteral(fu(lt)):mg(lt)?u.createStringLiteral(fu(lt.namespace)+":"+fu(lt.name)):LV(u,lt)}}function Gt(Ie){const lt=Ie.name;if(at(lt)){const St=fu(lt);return/^[A-Za-z_]\w*$/.test(St)?lt:u.createStringLiteral(St)}return u.createStringLiteral(fu(lt.namespace)+":"+fu(lt.name))}function Yt(Ie){const lt=yt(Ie.expression,M,Wt);return Ie.dotDotDotToken?u.createSpreadElement(lt):lt}}var Vet,MMt=o({"src/compiler/transformers/jsx.ts"(){So(),Vet=new Map(Object.entries({quot:34,amp:38,apos:39,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830}))}});function E7e(t){const{factory:u,hoistVariableDeclaration:s}=t;return jp(t,d);function d(b){return b.isDeclarationFile?b:un(b,f,t)}function f(b){if(!(b.transformFlags&512))return b;switch(b.kind){case 226:return p(b);default:return un(b,f,t)}}function p(b){switch(b.operatorToken.kind){case 68:return E(b);case 43:return v(b);default:return un(b,f,t)}}function E(b){let B,k;const T=yt(b.left,f,Wt),M=yt(b.right,f,Wt);if(G0(T)){const z=u.createTempVariable(s),j=u.createTempVariable(s);B=Pt(u.createElementAccessExpression(Pt(u.createAssignment(z,T.expression),T.expression),Pt(u.createAssignment(j,T.argumentExpression),T.argumentExpression)),T),k=Pt(u.createElementAccessExpression(z,j),T)}else if(zu(T)){const z=u.createTempVariable(s);B=Pt(u.createPropertyAccessExpression(Pt(u.createAssignment(z,T.expression),T.expression),T.name),T),k=Pt(u.createPropertyAccessExpression(z,T.name),T)}else B=T,k=T;return Pt(u.createAssignment(B,Pt(u.createGlobalMethodCall("Math","pow",[k,M]),b)),b)}function v(b){const B=yt(b.left,f,Wt),k=yt(b.right,f,Wt);return Pt(u.createGlobalMethodCall("Math","pow",[B,k]),b)}}var zMt=o({"src/compiler/transformers/es2016.ts"(){So()}});function Het(t,u){return{kind:t,expression:u}}function _7e(t){const{factory:u,getEmitHelperFactory:s,startLexicalEnvironment:d,resumeLexicalEnvironment:f,endLexicalEnvironment:p,hoistVariableDeclaration:E}=t,v=t.getCompilerOptions(),b=t.getEmitResolver(),B=t.onSubstituteNode,k=t.onEmitNode;t.onEmitNode=ep,t.onSubstituteNode=h4;let T,M,z,j;function J(Ee){j=Ei(j,u.createVariableDeclaration(Ee))}let K,Y;return jp(t,oe);function oe(Ee){if(Ee.isDeclarationFile)return Ee;T=Ee,M=Ee.text;const Bt=xe(Ee);return tD(Bt,t.readEmitHelpers()),T=void 0,M=void 0,j=void 0,z=0,Bt}function se(Ee,Bt){const gi=z;return z=(z&~Ee|Bt)&32767,gi}function ge(Ee,Bt,gi){z=(z&~Bt|gi)&-32768|Ee}function ae(Ee){return(z&8192)!==0&&Ee.kind===253&&!Ee.expression}function Ce(Ee){return Ee.transformFlags&4194304&&(zp(Ee)||_k(Ee)||sFe(Ee)||AV(Ee)||qP(Ee)||AB(Ee)||BV(Ee)||xk(Ee)||H2(Ee)||R2(Ee)||wx(Ee,!1)||ho(Ee))}function ne(Ee){return(Ee.transformFlags&1024)!==0||K!==void 0||z&8192&&Ce(Ee)||wx(Ee,!1)&&oo(Ee)||(Tp(Ee)&1)!==0}function ve(Ee){return ne(Ee)?fe(Ee,!1):Ee}function Se(Ee){return ne(Ee)?fe(Ee,!0):Ee}function Ne(Ee){if(ne(Ee)){const Bt=Kl(Ee);if(yo(Bt)&&Kc(Bt)){const gi=se(32670,16449),xi=fe(Ee,!1);return ge(gi,229376,0),xi}return fe(Ee,!1)}return Ee}function pe(Ee){return Ee.kind===108?Ul(Ee,!0):ve(Ee)}function fe(Ee,Bt){switch(Ee.kind){case 126:return;case 263:return Ke(Ee);case 231:return Gt(Ee);case 169:return vo(Ee);case 262:return Yi(Ee);case 219:return pi(Ee);case 218:return $i(Ee);case 260:return Sn(Ee);case 80:return Ze(Ee);case 261:return ct(Ee);case 255:return Be(Ee);case 269:return We(Ee);case 241:return te(Ee,!1);case 252:case 251:return je(Ee);case 256:return Er(Ee);case 246:case 247:return Wu(Ee,void 0);case 248:return Ra(Ee,void 0);case 249:return Rr(Ee,void 0);case 250:return as(Ee,void 0);case 244:return we(Ee);case 210:return l0(Ee);case 299:return Mr(Ee);case 304:return id(Ee);case 167:return S0(Ee);case 209:return f0(Ee);case 213:return Sd(Ee);case 214:return d4(Ee);case 217:return de(Ee,Bt);case 226:return Oe(Ee,Bt);case 361:return X(Ee,Bt);case 15:case 16:case 17:case 18:return wo(Ee);case 11:return ic(Ee);case 9:return hc(Ee);case 215:return Cl(Ee);case 228:return Tl(Ee);case 229:return nd(Ee);case 230:return ko(Ee);case 108:return Ul(Ee,!1);case 110:return Je(Ee);case 236:return Lc(Ee);case 174:return As(Ee);case 177:case 178:return tc(Ee);case 243:return Ct(Ee);case 253:return He(Ee);case 222:return ft(Ee);default:return un(Ee,ve,t)}}function xe(Ee){const Bt=se(8064,64),gi=[],xi=[];d();const Q=u.copyPrologue(Ee.statements,gi,!1,ve);return yn(xi,kn(Ee.statements,ve,ua,Q)),j&&xi.push(u.createVariableStatement(void 0,u.createVariableDeclarationList(j))),u.mergeLexicalEnvironment(gi,p()),et(gi,Ee),ge(Bt,0,0),u.updateSourceFile(Ee,Pt(u.createNodeArray(an(gi,xi)),Ee.statements))}function Be(Ee){if(K!==void 0){const Bt=K.allowedNonLabeledJumps;K.allowedNonLabeledJumps|=2;const gi=un(Ee,ve,t);return K.allowedNonLabeledJumps=Bt,gi}return un(Ee,ve,t)}function We(Ee){const Bt=se(7104,0),gi=un(Ee,ve,t);return ge(Bt,0,0),gi}function Ae(Ee){return su(u.createReturnStatement(De()),Ee)}function De(){return u.createUniqueName("_this",48)}function He(Ee){return K?(K.nonLocalJumps|=8,ae(Ee)&&(Ee=Ae(Ee)),u.createReturnStatement(u.createObjectLiteralExpression([u.createPropertyAssignment(u.createIdentifier("value"),Ee.expression?H.checkDefined(yt(Ee.expression,ve,Wt)):u.createVoidZero())]))):ae(Ee)?Ae(Ee):un(Ee,ve,t)}function Je(Ee){return z|=65536,z&2&&!(z&16384)&&(z|=131072),K?z&2?(K.containsLexicalThis=!0,Ee):K.thisName||(K.thisName=u.createUniqueName("this")):Ee}function ft(Ee){return un(Ee,Se,t)}function Ze(Ee){return K&&b.isArgumentsLocalBinding(Ee)?K.argumentsName||(K.argumentsName=u.createUniqueName("arguments")):Ee.flags&256?su(Pt(u.createIdentifier(Qr(Ee.escapedText)),Ee),Ee):Ee}function je(Ee){if(K){const Bt=Ee.kind===252?2:4;if(!(Ee.label&&K.labels&&K.labels.get(fu(Ee.label))||!Ee.label&&K.allowedNonLabeledJumps&Bt)){let xi;const Q=Ee.label;Q?Ee.kind===252?(xi=`break-${Q.escapedText}`,tt(K,!0,fu(Q),xi)):(xi=`continue-${Q.escapedText}`,tt(K,!1,fu(Q),xi)):Ee.kind===252?(K.nonLocalJumps|=2,xi="break"):(K.nonLocalJumps|=4,xi="continue");let Me=u.createStringLiteral(xi);if(K.loopOutParameters.length){const wt=K.loopOutParameters;let bi;for(let In=0;Inat(Bt.name)&&!Bt.initializer)}function Ut(Ee){if(ek(Ee))return!0;if(!(Ee.transformFlags&134217728))return!1;switch(Ee.kind){case 219:case 218:case 262:case 176:case 175:return!1;case 177:case 178:case 174:case 172:{const Bt=Ee;return Ns(Bt.name)?!!uo(Bt.name,Ut):!1}}return!!uo(Ee,Ut)}function Ni(Ee,Bt,gi,xi){const Q=!!gi&&_c(gi.expression).kind!==106;if(!Ee)return ti(Bt,Q);const Me=[],wt=[];f();const bi=u.copyStandardPrologue(Ee.body.statements,Me,0);(xi||Ut(Ee.body))&&(z|=8192),yn(wt,kn(Ee.body.statements,ve,ua,bi));const In=Q||z&8192;Et(Me,Ee),Pe(Me,Ee,xi),ii(Me,Ee),In?gt(Me,Ee,Ba()):et(Me,Ee),u.mergeLexicalEnvironment(Me,p()),In&&!aa(Ee.body)&&wt.push(u.createReturnStatement(De()));const ir=u.createBlock(Pt(u.createNodeArray([...Me,...wt]),Ee.body.statements),!0);return Pt(ir,Ee.body),Da(ir,Ee.body,xi)}function Vi(Ee){return al(Ee)&&fu(Ee)==="_this"}function xn(Ee){return al(Ee)&&fu(Ee)==="_super"}function $n(Ee){return Gl(Ee)&&Ee.declarationList.declarations.length===1&&rn(Ee.declarationList.declarations[0])}function rn(Ee){return ra(Ee)&&Vi(Ee.name)&&!!Ee.initializer}function Pi(Ee){return od(Ee,!0)&&Vi(Ee.left)}function ki(Ee){return Po(Ee)&&zu(Ee.expression)&&xn(Ee.expression.expression)&&at(Ee.expression.name)&&(fu(Ee.expression.name)==="call"||fu(Ee.expression.name)==="apply")&&Ee.arguments.length>=1&&Ee.arguments[0].kind===110}function Yu(Ee){return eu(Ee)&&Ee.operatorToken.kind===57&&Ee.right.kind===110&&ki(Ee.left)}function oa(Ee){return eu(Ee)&&Ee.operatorToken.kind===56&&eu(Ee.left)&&Ee.left.operatorToken.kind===38&&xn(Ee.left.left)&&Ee.left.right.kind===106&&ki(Ee.right)&&fu(Ee.right.expression.name)==="apply"}function Fr(Ee){return eu(Ee)&&Ee.operatorToken.kind===57&&Ee.right.kind===110&&oa(Ee.left)}function Sa(Ee){return Pi(Ee)&&Yu(Ee.right)}function bt(Ee){return Pi(Ee)&&Fr(Ee.right)}function On(Ee){return ki(Ee)||Yu(Ee)||Sa(Ee)||oa(Ee)||Fr(Ee)||bt(Ee)}function Ln(Ee){for(let Bt=0;Bt0;xi--){const Q=Ee.statements[xi];if(zp(Q)&&Q.expression&&Vi(Q.expression)){const Me=Ee.statements[xi-1];let wt;if(Id(Me)&&Sa(_c(Me.expression)))wt=Me.expression;else if(gi&&$n(Me)){const ir=Me.declarationList.declarations[0];On(_c(ir.initializer))&&(wt=u.createAssignment(De(),ir.initializer))}if(!wt)break;const bi=u.createReturnStatement(wt);su(bi,Me),Pt(bi,Me);const In=u.createNodeArray([...Ee.statements.slice(0,xi-1),bi,...Ee.statements.slice(xi+1)]);return Pt(In,Ee.statements),u.updateBlock(Ee,In)}}return Ee}function Dn(Ee){if($n(Ee)){if(Ee.declarationList.declarations[0].initializer.kind===110)return}else if(Pi(Ee))return u.createPartiallyEmittedExpression(Ee.right,Ee);switch(Ee.kind){case 219:case 218:case 262:case 176:case 175:return Ee;case 177:case 178:case 174:case 172:{const Bt=Ee;return Ns(Bt.name)?u.replacePropertyName(Bt,un(Bt.name,Dn,Eg)):Ee}}return un(Ee,Dn,Eg)}function Cn(Ee,Bt){if(Bt.transformFlags&16384||z&65536||z&131072)return Ee;for(const gi of Bt.statements)if(gi.transformFlags&134217728&&!nQ(gi))return Ee;return u.updateBlock(Ee,kn(Ee.statements,Dn,ua))}function tu(Ee){if(ki(Ee)&&Ee.arguments.length===2&&at(Ee.arguments[1])&&fu(Ee.arguments[1])==="arguments")return u.createLogicalAnd(u.createStrictInequality(Cc(),u.createNull()),Ee);switch(Ee.kind){case 219:case 218:case 262:case 176:case 175:return Ee;case 177:case 178:case 174:case 172:{const Bt=Ee;return Ns(Bt.name)?u.replacePropertyName(Bt,un(Bt.name,tu,Eg)):Ee}}return un(Ee,tu,Eg)}function sa(Ee){return u.updateBlock(Ee,kn(Ee.statements,tu,ua))}function Da(Ee,Bt,gi){const xi=Ee;return Ee=Ln(Ee),Ee=Fi(Ee,Bt),Ee!==xi&&(Ee=Cn(Ee,Bt)),gi&&(Ee=sa(Ee)),Ee}function aa(Ee){if(Ee.kind===253)return!0;if(Ee.kind===245){const Bt=Ee;if(Bt.elseStatement)return aa(Bt.thenStatement)&&aa(Bt.elseStatement)}else if(Ee.kind===241){const Bt=Zu(Ee.statements);if(Bt&&aa(Bt))return!0}return!1}function Ba(){return Yn(u.createThis(),8)}function Yo(){return u.createLogicalOr(u.createLogicalAnd(u.createStrictInequality(Cc(),u.createNull()),u.createFunctionApplyCall(Cc(),Ba(),u.createIdentifier("arguments"))),Ba())}function vo(Ee){if(!Ee.dotDotDotToken)return Ao(Ee.name)?su(Pt(u.createParameterDeclaration(void 0,void 0,u.getGeneratedNameForNode(Ee),void 0,void 0,void 0),Ee),Ee):Ee.initializer?su(Pt(u.createParameterDeclaration(void 0,void 0,Ee.name,void 0,void 0,void 0),Ee),Ee):Ee}function Qe(Ee){return Ee.initializer!==void 0||Ao(Ee.name)}function Et(Ee,Bt){if(!Ge(Bt.parameters,Qe))return!1;let gi=!1;for(const xi of Bt.parameters){const{name:Q,initializer:Me,dotDotDotToken:wt}=xi;wt||(Ao(Q)?gi=Mt(Ee,xi,Q,Me)||gi:Me&&(qt(Ee,xi,Q,Me),gi=!0))}return gi}function Mt(Ee,Bt,gi,xi){return gi.elements.length>0?(Yy(Ee,Yn(u.createVariableStatement(void 0,u.createVariableDeclarationList(q2(Bt,ve,t,0,u.getGeneratedNameForNode(Bt)))),2097152)),!0):xi?(Yy(Ee,Yn(u.createExpressionStatement(u.createAssignment(u.getGeneratedNameForNode(Bt),H.checkDefined(yt(xi,ve,Wt)))),2097152)),!0):!1}function qt(Ee,Bt,gi,xi){xi=H.checkDefined(yt(xi,ve,Wt));const Q=u.createIfStatement(u.createTypeCheck(u.cloneNode(gi),"undefined"),Yn(Pt(u.createBlock([u.createExpressionStatement(Yn(Pt(u.createAssignment(Yn(ys(Pt(u.cloneNode(gi),gi),gi.parent),96),Yn(xi,96|Cs(xi)|3072)),Bt),3072))]),Bt),3905));xh(Q),Pt(Q,Bt),Yn(Q,2101056),Yy(Ee,Q)}function Xt(Ee,Bt){return!!(Ee&&Ee.dotDotDotToken&&!Bt)}function Pe(Ee,Bt,gi){const xi=[],Q=Zu(Bt.parameters);if(!Xt(Q,gi))return!1;const Me=Q.name.kind===80?ys(Pt(u.cloneNode(Q.name),Q.name),Q.name.parent):u.createTempVariable(void 0);Yn(Me,96);const wt=Q.name.kind===80?u.cloneNode(Q.name):Me,bi=Bt.parameters.length-1,In=u.createLoopVariable();xi.push(Yn(Pt(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(Me,void 0,void 0,u.createArrayLiteralExpression([]))])),Q),2097152));const ir=u.createForStatement(Pt(u.createVariableDeclarationList([u.createVariableDeclaration(In,void 0,void 0,u.createNumericLiteral(bi))]),Q),Pt(u.createLessThan(In,u.createPropertyAccessExpression(u.createIdentifier("arguments"),"length")),Q),Pt(u.createPostfixIncrement(In),Q),u.createBlock([xh(Pt(u.createExpressionStatement(u.createAssignment(u.createElementAccessExpression(wt,bi===0?In:u.createSubtract(In,u.createNumericLiteral(bi))),u.createElementAccessExpression(u.createIdentifier("arguments"),In))),Q))]));return Yn(ir,2097152),xh(ir),xi.push(ir),Q.name.kind!==80&&xi.push(Yn(Pt(u.createVariableStatement(void 0,u.createVariableDeclarationList(q2(Q,ve,t,0,wt))),Q),2097152)),s0e(Ee,xi),!0}function et(Ee,Bt){return z&131072&&Bt.kind!==219?(gt(Ee,Bt,u.createThis()),!0):!1}function gt(Ee,Bt,gi){Rh();const xi=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(De(),void 0,void 0,gi)]));Yn(xi,2100224),Fs(xi,Bt),Yy(Ee,xi)}function ii(Ee,Bt){if(z&32768){let gi;switch(Bt.kind){case 219:return Ee;case 174:case 177:case 178:gi=u.createVoidZero();break;case 176:gi=u.createPropertyAccessExpression(Yn(u.createThis(),8),"constructor");break;case 262:case 218:gi=u.createConditionalExpression(u.createLogicalAnd(Yn(u.createThis(),8),u.createBinaryExpression(Yn(u.createThis(),8),104,u.getLocalName(Bt))),void 0,u.createPropertyAccessExpression(Yn(u.createThis(),8),"constructor"),void 0,u.createVoidZero());break;default:return H.failBadSyntaxKind(Bt)}const xi=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.createUniqueName("_newTarget",48),void 0,void 0,gi)]));Yn(xi,2100224),Yy(Ee,xi)}return Ee}function me(Ee,Bt){for(const gi of Bt.members)switch(gi.kind){case 240:Ee.push(ni(gi));break;case 174:Ee.push(_i(f4(Bt,gi),gi,Bt));break;case 177:case 178:const xi=lk(Bt.members,gi);gi===xi.firstAccessor&&Ee.push(mt(f4(Bt,gi),xi,Bt));break;case 176:case 175:break;default:H.failBadSyntaxKind(gi,T&&T.fileName);break}}function ni(Ee){return Pt(u.createEmptyStatement(),Ee)}function _i(Ee,Bt,gi){const xi=iE(Bt),Q=wv(Bt),Me=on(Bt,Bt,void 0,gi),wt=yt(Bt.name,ve,Ac);H.assert(wt);let bi;if(!ea(wt)&&Qj(t.getCompilerOptions())){const ir=Ns(wt)?wt.expression:at(wt)?u.createStringLiteral(Qr(wt.escapedText)):wt;bi=u.createObjectDefinePropertyCall(Ee,ir,u.createPropertyDescriptor({value:Me,enumerable:!1,writable:!0,configurable:!0}))}else{const ir=yk(u,Ee,wt,Bt.name);bi=u.createAssignment(ir,Me)}Yn(Me,3072),Fs(Me,Q);const In=Pt(u.createExpressionStatement(bi),Bt);return su(In,Bt),Sc(In,xi),Yn(In,96),In}function mt(Ee,Bt,gi){const xi=u.createExpressionStatement(jt(Ee,Bt,gi,!1));return Yn(xi,3072),Fs(xi,wv(Bt.firstAccessor)),xi}function jt(Ee,{firstAccessor:Bt,getAccessor:gi,setAccessor:xi},Q,Me){const wt=ys(Pt(u.cloneNode(Ee),Ee),Ee.parent);Yn(wt,3136),Fs(wt,Bt.name);const bi=yt(Bt.name,ve,Ac);if(H.assert(bi),ea(bi))return H.failBadSyntaxKind(bi,"Encountered unhandled private identifier while transforming ES2015.");const In=Mce(u,bi);Yn(In,3104),Fs(In,Bt.name);const ir=[];if(gi){const fa=on(gi,void 0,void 0,Q);Fs(fa,wv(gi)),Yn(fa,1024);const os=u.createPropertyAssignment("get",fa);Sc(os,iE(gi)),ir.push(os)}if(xi){const fa=on(xi,void 0,void 0,Q);Fs(fa,wv(xi)),Yn(fa,1024);const os=u.createPropertyAssignment("set",fa);Sc(os,iE(xi)),ir.push(os)}ir.push(u.createPropertyAssignment("enumerable",gi||xi?u.createFalse():u.createTrue()),u.createPropertyAssignment("configurable",u.createTrue()));const nr=u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("Object"),"defineProperty"),void 0,[wt,In,u.createObjectLiteralExpression(ir,!0)]);return Me&&xh(nr),nr}function pi(Ee){Ee.transformFlags&16384&&!(z&16384)&&(z|=131072);const Bt=K;K=void 0;const gi=se(15232,66),xi=u.createFunctionExpression(void 0,void 0,void 0,void 0,Dc(Ee.parameters,ve,t),void 0,le(Ee));return Pt(xi,Ee),su(xi,Ee),Yn(xi,16),ge(gi,0,0),K=Bt,xi}function $i(Ee){const Bt=Cs(Ee)&524288?se(32662,69):se(32670,65),gi=K;K=void 0;const xi=Dc(Ee.parameters,ve,t),Q=le(Ee),Me=z&32768?u.getLocalName(Ee):Ee.name;return ge(Bt,229376,0),K=gi,u.updateFunctionExpression(Ee,void 0,Ee.asteriskToken,Me,void 0,xi,void 0,Q)}function Yi(Ee){const Bt=K;K=void 0;const gi=se(32670,65),xi=Dc(Ee.parameters,ve,t),Q=le(Ee),Me=z&32768?u.getLocalName(Ee):Ee.name;return ge(gi,229376,0),K=Bt,u.updateFunctionDeclaration(Ee,kn(Ee.modifiers,ve,Qo),Ee.asteriskToken,Me,void 0,xi,void 0,Q)}function on(Ee,Bt,gi,xi){const Q=K;K=void 0;const Me=xi&&gr(xi)&&!Lo(Ee)?se(32670,73):se(32670,65),wt=Dc(Ee.parameters,ve,t),bi=le(Ee);return z&32768&&!gi&&(Ee.kind===262||Ee.kind===218)&&(gi=u.getGeneratedNameForNode(Ee)),ge(Me,229376,0),K=Q,su(Pt(u.createFunctionExpression(void 0,Ee.asteriskToken,gi,void 0,wt,void 0,bi),Bt),Ee)}function le(Ee){let Bt=!1,gi=!1,xi,Q;const Me=[],wt=[],bi=Ee.body;let In;if(f(),ho(bi)&&(In=u.copyStandardPrologue(bi.statements,Me,0,!1),In=u.copyCustomPrologue(bi.statements,wt,In,ve,iq),In=u.copyCustomPrologue(bi.statements,wt,In,ve,nq)),Bt=Et(wt,Ee)||Bt,Bt=Pe(wt,Ee,!1)||Bt,ho(bi))In=u.copyCustomPrologue(bi.statements,wt,In,ve),xi=bi.statements,yn(wt,kn(bi.statements,ve,ua,In)),!Bt&&bi.multiLine&&(Bt=!0);else{H.assert(Ee.kind===219),xi=jq(bi,-1);const nr=Ee.equalsGreaterThanToken;!sl(nr)&&!sl(bi)&&($j(nr,bi,T)?gi=!0:Bt=!0);const fa=yt(bi,ve,Wt),os=u.createReturnStatement(fa);Pt(os,bi),Ike(os,bi),Yn(os,2880),wt.push(os),Q=bi}if(u.mergeLexicalEnvironment(Me,p()),ii(Me,Ee),et(Me,Ee),Ge(Me)&&(Bt=!0),wt.unshift(...Me),ho(bi)&&Hn(wt,bi.statements))return bi;const ir=u.createBlock(Pt(u.createNodeArray(wt),xi),Bt);return Pt(ir,Ee.body),!Bt&&gi&&Yn(ir,1),Q&&zke(ir,20,Q),su(ir,Ee.body),ir}function te(Ee,Bt){if(Bt)return un(Ee,ve,t);const gi=z&256?se(7104,512):se(6976,128),xi=un(Ee,ve,t);return ge(gi,0,0),xi}function we(Ee){return un(Ee,Se,t)}function de(Ee,Bt){return un(Ee,Bt?Se:ve,t)}function Oe(Ee,Bt){return u5(Ee)?Sk(Ee,ve,t,0,!Bt):Ee.operatorToken.kind===28?u.updateBinaryExpression(Ee,H.checkDefined(yt(Ee.left,Se,Wt)),Ee.operatorToken,H.checkDefined(yt(Ee.right,Bt?Se:ve,Wt))):un(Ee,ve,t)}function X(Ee,Bt){if(Bt)return un(Ee,Se,t);let gi;for(let Q=0;QIn.name)),bi=xi?u.createYieldExpression(u.createToken(42),Yn(wt,8388608)):wt;if(Me)Q.push(u.createExpressionStatement(bi)),q0(Bt.loopOutParameters,1,0,Q);else{const In=u.createUniqueName("state"),ir=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(In,void 0,void 0,bi)]));if(Q.push(ir),q0(Bt.loopOutParameters,1,0,Q),Bt.nonLocalJumps&8){let nr;gi?(gi.nonLocalJumps|=8,nr=u.createReturnStatement(In)):nr=u.createReturnStatement(u.createPropertyAccessExpression(In,"value")),Q.push(u.createIfStatement(u.createTypeCheck(In,"object"),nr))}if(Bt.nonLocalJumps&2&&Q.push(u.createIfStatement(u.createStrictEquality(In,u.createStringLiteral("break")),u.createBreakStatement())),Bt.labeledNonLocalBreaks||Bt.labeledNonLocalContinues){const nr=[];vt(Bt.labeledNonLocalBreaks,!0,In,gi,nr),vt(Bt.labeledNonLocalContinues,!1,In,gi,nr),Q.push(u.createSwitchStatement(In,u.createCaseBlock(nr)))}}return Q}function tt(Ee,Bt,gi,xi){Bt?(Ee.labeledNonLocalBreaks||(Ee.labeledNonLocalBreaks=new Map),Ee.labeledNonLocalBreaks.set(gi,xi)):(Ee.labeledNonLocalContinues||(Ee.labeledNonLocalContinues=new Map),Ee.labeledNonLocalContinues.set(gi,xi))}function vt(Ee,Bt,gi,xi,Q){Ee&&Ee.forEach((Me,wt)=>{const bi=[];if(!xi||xi.labels&&xi.labels.get(wt)){const In=u.createIdentifier(wt);bi.push(Bt?u.createBreakStatement(In):u.createContinueStatement(In))}else tt(xi,Bt,wt,Me),bi.push(u.createReturnStatement(gi));Q.push(u.createCaseClause(u.createStringLiteral(Me),bi))})}function hi(Ee,Bt,gi,xi,Q){const Me=Bt.name;if(Ao(Me))for(const wt of Me.elements)kd(wt)||hi(Ee,wt,gi,xi,Q);else{gi.push(u.createParameterDeclaration(void 0,void 0,Me));const wt=b.getNodeCheckFlags(Bt);if(wt&65536||Q){const bi=u.createUniqueName("out_"+fu(Me));let In=0;wt&65536&&(In|=1),Dk(Ee)&&(Ee.initializer&&b.isBindingCapturedByNode(Ee.initializer,Bt)&&(In|=2),(Ee.condition&&b.isBindingCapturedByNode(Ee.condition,Bt)||Ee.incrementor&&b.isBindingCapturedByNode(Ee.incrementor,Bt))&&(In|=1)),xi.push({flags:In,originalName:Me,outParamName:bi})}}}function fn(Ee,Bt,gi,xi){const Q=Bt.properties,Me=Q.length;for(let wt=xi;wtGl(Es)&&!!Pn(Es.declarationList.declarations).initializer,xi=K;K=void 0;const Q=kn(Bt.statements,Ne,ua);K=xi;const Me=ei(Q,gi),wt=ei(Q,Es=>!gi(Es)),In=No(Pn(Me),Gl).declarationList.declarations[0],ir=_c(In.initializer);let nr=rr(ir,od);!nr&&eu(ir)&&ir.operatorToken.kind===28&&(nr=rr(ir.left,od));const fa=No(nr?_c(nr.right):ir,Po),os=No(_c(fa.expression),A0),ss=os.body.statements;let Rl=0,D1=-1;const dd=[];if(nr){const Es=rr(ss[Rl],Id);Es&&(dd.push(Es),Rl++),dd.push(ss[Rl]),Rl++,dd.push(u.createExpressionStatement(u.createAssignment(nr.left,No(In.name,at))))}for(;!zp(UD(ss,D1));)D1--;yn(dd,ss,Rl,D1),D1<-1&&yn(dd,ss,D1+1);const Jm=rr(UD(ss,D1),zp);for(const Es of wt)zp(Es)&&(Jm!=null&&Jm.expression)&&!at(Jm.expression)?dd.push(Jm):dd.push(Es);return yn(dd,Me,1),u.restoreOuterExpressions(Ee.expression,u.restoreOuterExpressions(In.initializer,u.restoreOuterExpressions(nr&&nr.right,u.updateCallExpression(fa,u.restoreOuterExpressions(fa.expression,u.updateFunctionExpression(os,void 0,void 0,void 0,void 0,os.parameters,void 0,u.updateBlock(os.body,dd))),void 0,fa.arguments))))}function nh(Ee,Bt){if(Ee.transformFlags&32768||Ee.expression.kind===108||tf(_c(Ee.expression))){const{target:gi,thisArg:xi}=u.createCallBinding(Ee.expression,E);Ee.expression.kind===108&&Yn(xi,8);let Q;if(Ee.transformFlags&32768?Q=u.createFunctionApplyCall(H.checkDefined(yt(gi,pe,Wt)),Ee.expression.kind===108?xi:H.checkDefined(yt(xi,ve,Wt)),_1(Ee.arguments,!0,!1,!1)):Q=Pt(u.createFunctionCallCall(H.checkDefined(yt(gi,pe,Wt)),Ee.expression.kind===108?xi:H.checkDefined(yt(xi,ve,Wt)),kn(Ee.arguments,ve,Wt)),Ee),Ee.expression.kind===108){const Me=u.createLogicalOr(Q,Ba());Q=Bt?u.createAssignment(De(),Me):Me}return su(Q,Ee)}return ek(Ee)&&(z|=131072),un(Ee,ve,t)}function d4(Ee){if(Ge(Ee.arguments,nE)){const{target:Bt,thisArg:gi}=u.createCallBinding(u.createPropertyAccessExpression(Ee.expression,"bind"),E);return u.createNewExpression(u.createFunctionApplyCall(H.checkDefined(yt(Bt,ve,Wt)),gi,_1(u.createNodeArray([u.createVoidZero(),...Ee.arguments]),!0,!1,!1)),void 0,[])}return un(Ee,ve,t)}function _1(Ee,Bt,gi,xi){const Q=Ee.length,Me=Oa(qo(Ee,Ve,(ir,nr,fa,os)=>nr(ir,gi,xi&&os===Q)));if(Me.length===1){const ir=Me[0];if(Bt&&!v.downlevelIteration||Nle(ir.expression)||OP(ir.expression,"___spreadArray"))return ir.expression}const wt=s(),bi=Me[0].kind!==0;let In=bi?u.createArrayLiteralExpression():Me[0].expression;for(let ir=bi?0:1;ir0&&xi.push(u.createStringLiteral(gi.literal.text)),Bt=u.createCallExpression(u.createPropertyAccessExpression(Bt,"concat"),void 0,xi)}return Pt(Bt,Ee)}function Cc(){return u.createUniqueName("_super",48)}function Ul(Ee,Bt){const gi=z&8&&!Bt?u.createPropertyAccessExpression(su(Cc(),Ee),"prototype"):Cc();return su(gi,Ee),Sc(gi,Ee),Fs(gi,Ee),gi}function Lc(Ee){return Ee.keywordToken===105&&Ee.name.escapedText==="target"?(z|=32768,u.createUniqueName("_newTarget",48)):Ee}function ep(Ee,Bt,gi){if(Y&1&&xo(Bt)){const xi=se(32670,Cs(Bt)&16?81:65);k(Ee,Bt,gi),ge(xi,0,0);return}k(Ee,Bt,gi)}function Gm(){Y&2||(Y|=2,t.enableSubstitution(80))}function Rh(){Y&1||(Y|=1,t.enableSubstitution(110),t.enableEmitNotification(176),t.enableEmitNotification(174),t.enableEmitNotification(177),t.enableEmitNotification(178),t.enableEmitNotification(219),t.enableEmitNotification(218),t.enableEmitNotification(262))}function h4(Ee,Bt){return Bt=B(Ee,Bt),Ee===1?v5(Bt):at(Bt)?l3(Bt):Bt}function l3(Ee){if(Y&2&&!zce(Ee)){const Bt=Ja(Ee,at);if(Bt&&l_(Bt))return Pt(u.getGeneratedNameForNode(Bt),Ee)}return Ee}function l_(Ee){switch(Ee.parent.kind){case 208:case 263:case 266:case 260:return Ee.parent.name===Ee&&b.isDeclarationWithCollidingName(Ee.parent)}return!1}function v5(Ee){switch(Ee.kind){case 80:return I1(Ee);case 110:return Kf(Ee)}return Ee}function I1(Ee){if(Y&2&&!zce(Ee)){const Bt=b.getReferencedDeclarationWithCollidingName(Ee);if(Bt&&!(gr(Bt)&&c3(Bt,Ee)))return Pt(u.getGeneratedNameForNode($a(Bt)),Ee)}return Ee}function c3(Ee,Bt){let gi=Ja(Bt);if(!gi||gi===Ee||gi.end<=Ee.pos||gi.pos>=Ee.end)return!1;const xi=ZE(Ee);for(;gi;){if(gi===xi||gi===Ee)return!1;if(qd(gi)&&gi.parent===Ee)return!0;gi=gi.parent}return!1}function Kf(Ee){return Y&1&&z&16?Pt(De(),Ee):Ee}function f4(Ee,Bt){return Lo(Bt)?u.getInternalName(Ee):u.createPropertyAccessExpression(u.getInternalName(Ee),"prototype")}function Oh(Ee,Bt){if(!Ee||!Bt||Ge(Ee.parameters))return!1;const gi=Ki(Ee.body.statements);if(!gi||!sl(gi)||gi.kind!==244)return!1;const xi=gi.expression;if(!sl(xi)||xi.kind!==213)return!1;const Q=xi.expression;if(!sl(Q)||Q.kind!==108)return!1;const Me=Fa(xi.arguments);if(!Me||!sl(Me)||Me.kind!==230)return!1;const wt=Me.expression;return at(wt)&&wt.escapedText==="arguments"}}var IMt=o({"src/compiler/transformers/es2015.ts"(){So()}});function D7e(t){const{factory:u}=t,s=t.getCompilerOptions();let d,f;(s.jsx===1||s.jsx===3)&&(d=t.onEmitNode,t.onEmitNode=v,t.enableEmitNotification(286),t.enableEmitNotification(287),t.enableEmitNotification(285),f=[]);const p=t.onSubstituteNode;return t.onSubstituteNode=b,t.enableSubstitution(211),t.enableSubstitution(303),jp(t,E);function E(M){return M}function v(M,z,j){switch(z.kind){case 286:case 287:case 285:const J=z.tagName;f[P1(J)]=!0;break}d(M,z,j)}function b(M,z){return z.id&&f&&f[z.id]?p(M,z):(z=p(M,z),zu(z)?B(z):Jc(z)?k(z):z)}function B(M){if(ea(M.name))return M;const z=T(M.name);return z?Pt(u.createElementAccessExpression(M.expression,z),M):M}function k(M){const z=at(M.name)&&T(M.name);return z?u.updatePropertyAssignment(M,z,M.initializer):M}function T(M){const z=Ev(M);if(z!==void 0&&z>=83&&z<=118)return Pt(u.createStringLiteralFromNode(M),M)}}var RMt=o({"src/compiler/transformers/es5.ts"(){So()}});function OMt(t){switch(t){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function x7e(t){const{factory:u,getEmitHelperFactory:s,resumeLexicalEnvironment:d,endLexicalEnvironment:f,hoistFunctionDeclaration:p,hoistVariableDeclaration:E}=t,v=t.getCompilerOptions(),b=Rs(v),B=t.getEmitResolver(),k=t.onSubstituteNode;t.onSubstituteNode=we;let T,M,z,j,J,K,Y,oe,se,ge,ae=1,Ce,ne,ve,Se,Ne=0,pe=0,fe,xe,Be,We,Ae,De,He,Je;return jp(t,ft);function ft(Ve){if(Ve.isDeclarationFile||!(Ve.transformFlags&2048))return Ve;const si=un(Ve,Ze,t);return tD(si,t.readEmitHelpers()),si}function Ze(Ve){const si=Ve.transformFlags;return j?je(Ve):z?Ke(Ve):W0(Ve)&&Ve.asteriskToken?Yt(Ve):si&2048?un(Ve,Ze,t):Ve}function je(Ve){switch(Ve.kind){case 246:return Yo(Ve);case 247:return Qe(Ve);case 255:return jt(Ve);case 256:return $i(Ve);default:return Ke(Ve)}}function Ke(Ve){switch(Ve.kind){case 262:return Ie(Ve);case 218:return lt(Ve);case 177:case 178:return St(Ve);case 243:return ti(Ve);case 248:return Mt(Ve);case 249:return Xt(Ve);case 252:return ii(Ve);case 251:return et(Ve);case 253:return ni(Ve);default:return Ve.transformFlags&1048576?Gt(Ve):Ve.transformFlags&4196352?un(Ve,Ze,t):Ve}}function Gt(Ve){switch(Ve.kind){case 226:return ht(Ve);case 361:return xn(Ve);case 227:return rn(Ve);case 229:return Pi(Ve);case 209:return ki(Ve);case 210:return oa(Ve);case 212:return Fr(Ve);case 213:return Sa(Ve);case 214:return bt(Ve);default:return un(Ve,Ze,t)}}function Yt(Ve){switch(Ve.kind){case 262:return Ie(Ve);case 218:return lt(Ve);default:return H.failBadSyntaxKind(Ve)}}function Ie(Ve){if(Ve.asteriskToken)Ve=su(Pt(u.createFunctionDeclaration(Ve.modifiers,void 0,Ve.name,void 0,Dc(Ve.parameters,Ze,t),void 0,It(Ve.body)),Ve),Ve);else{const si=z,Mn=j;z=!1,j=!1,Ve=un(Ve,Ze,t),z=si,j=Mn}if(z){p(Ve);return}else return Ve}function lt(Ve){if(Ve.asteriskToken)Ve=su(Pt(u.createFunctionExpression(void 0,void 0,Ve.name,void 0,Dc(Ve.parameters,Ze,t),void 0,It(Ve.body)),Ve),Ve);else{const si=z,Mn=j;z=!1,j=!1,Ve=un(Ve,Ze,t),z=si,j=Mn}return Ve}function St(Ve){const si=z,Mn=j;return z=!1,j=!1,Ve=un(Ve,Ze,t),z=si,j=Mn,Ve}function It(Ve){const si=[],Mn=z,ba=j,ko=J,wo=K,ic=Y,hc=oe,Cl=se,Tl=ge,Cc=ae,Ul=Ce,Lc=ne,ep=ve,Gm=Se;z=!0,j=!1,J=void 0,K=void 0,Y=void 0,oe=void 0,se=void 0,ge=void 0,ae=1,Ce=void 0,ne=void 0,ve=void 0,Se=u.createTempVariable(void 0),d();const Rh=u.copyPrologue(Ve.statements,si,!1,Ze);On(Ve.statements,Rh);const h4=tt();return qE(si,f()),si.push(u.createReturnStatement(h4)),z=Mn,j=ba,J=ko,K=wo,Y=ic,oe=hc,se=Cl,ge=Tl,ae=Cc,Ce=Ul,ne=Lc,ve=ep,Se=Gm,Pt(u.createBlock(si,Ve.multiLine),Ve)}function ti(Ve){if(Ve.transformFlags&1048576){sa(Ve.declarationList);return}else{if(Cs(Ve)&2097152)return Ve;for(const Mn of Ve.declarationList.declarations)E(Mn.name);const si=_P(Ve.declarationList);return si.length===0?void 0:Fs(u.createExpressionStatement(u.inlineExpressions(Kt(si,Da))),Ve)}}function ht(Ve){const si=U0e(Ve);switch(si){case 0:return Ni(Ve);case 1:return Ut(Ve);default:return H.assertNever(si)}}function Ut(Ve){const{left:si,right:Mn}=Ve;if(le(Mn)){let ba;switch(si.kind){case 211:ba=u.updatePropertyAccessExpression(si,X(H.checkDefined(yt(si.expression,Ze,_f))),si.name);break;case 212:ba=u.updateElementAccessExpression(si,X(H.checkDefined(yt(si.expression,Ze,_f))),X(H.checkDefined(yt(si.argumentExpression,Ze,Wt))));break;default:ba=H.checkDefined(yt(si,Ze,Wt));break}const ko=Ve.operatorToken.kind;return fM(ko)?Pt(u.createAssignment(ba,Pt(u.createBinaryExpression(X(ba),mM(ko),H.checkDefined(yt(Mn,Ze,Wt))),Ve)),Ve):u.updateBinaryExpression(Ve,ba,Ve.operatorToken,H.checkDefined(yt(Mn,Ze,Wt)))}return un(Ve,Ze,t)}function Ni(Ve){return le(Ve.right)?Lye(Ve.operatorToken.kind)?$n(Ve):Ve.operatorToken.kind===28?Vi(Ve):u.updateBinaryExpression(Ve,X(H.checkDefined(yt(Ve.left,Ze,Wt))),Ve.operatorToken,H.checkDefined(yt(Ve.right,Ze,Wt))):un(Ve,Ze,t)}function Vi(Ve){let si=[];return Mn(Ve.left),Mn(Ve.right),u.inlineExpressions(si);function Mn(ba){eu(ba)&&ba.operatorToken.kind===28?(Mn(ba.left),Mn(ba.right)):(le(ba)&&si.length>0&&($(1,[u.createExpressionStatement(u.inlineExpressions(si))]),si=[]),si.push(H.checkDefined(yt(ba,Ze,Wt))))}}function xn(Ve){let si=[];for(const Mn of Ve.elements)eu(Mn)&&Mn.operatorToken.kind===28?si.push(Vi(Mn)):(le(Mn)&&si.length>0&&($(1,[u.createExpressionStatement(u.inlineExpressions(si))]),si=[]),si.push(H.checkDefined(yt(Mn,Ze,Wt))));return u.inlineExpressions(si)}function $n(Ve){const si=Ct(),Mn=it();return cl(Mn,H.checkDefined(yt(Ve.left,Ze,Wt)),Ve.left),Ve.operatorToken.kind===56?dl(si,Mn,Ve.left):Oi(si,Mn,Ve.left),cl(Mn,H.checkDefined(yt(Ve.right,Ze,Wt)),Ve.right),ct(si),Mn}function rn(Ve){if(le(Ve.whenTrue)||le(Ve.whenFalse)){const si=Ct(),Mn=Ct(),ba=it();return dl(si,H.checkDefined(yt(Ve.condition,Ze,Wt)),Ve.condition),cl(ba,H.checkDefined(yt(Ve.whenTrue,Ze,Wt)),Ve.whenTrue),Va(Mn),ct(si),cl(ba,H.checkDefined(yt(Ve.whenFalse,Ze,Wt)),Ve.whenFalse),ct(Mn),ba}return un(Ve,Ze,t)}function Pi(Ve){const si=Ct(),Mn=yt(Ve.expression,Ze,Wt);if(Ve.asteriskToken){const ba=Cs(Ve.expression)&8388608?Mn:Pt(s().createValuesHelper(Mn),Ve);Uc(ba,Ve)}else vh(Mn,Ve);return ct(si),Kp(Ve)}function ki(Ve){return Yu(Ve.elements,void 0,void 0,Ve.multiLine)}function Yu(Ve,si,Mn,ba){const ko=te(Ve);let wo;if(ko>0){wo=it();const Cl=kn(Ve,Ze,Wt,0,ko);cl(wo,u.createArrayLiteralExpression(si?[si,...Cl]:Cl)),si=void 0}const ic=tn(Ve,hc,[],ko);return wo?u.createArrayConcatCall(wo,[u.createArrayLiteralExpression(ic,ba)]):Pt(u.createArrayLiteralExpression(si?[si,...ic]:ic,ba),Mn);function hc(Cl,Tl){if(le(Tl)&&Cl.length>0){const Cc=wo!==void 0;wo||(wo=it()),cl(wo,Cc?u.createArrayConcatCall(wo,[u.createArrayLiteralExpression(Cl,ba)]):u.createArrayLiteralExpression(si?[si,...Cl]:Cl,ba)),si=void 0,Cl=[]}return Cl.push(H.checkDefined(yt(Tl,Ze,Wt))),Cl}}function oa(Ve){const si=Ve.properties,Mn=Ve.multiLine,ba=te(si),ko=it();cl(ko,u.createObjectLiteralExpression(kn(si,Ze,q3,0,ba),Mn));const wo=tn(si,ic,[],ba);return wo.push(Mn?xh(ys(Pt(u.cloneNode(ko),ko),ko.parent)):ko),u.inlineExpressions(wo);function ic(hc,Cl){le(Cl)&&hc.length>0&&(Il(u.createExpressionStatement(u.inlineExpressions(hc))),hc=[]);const Tl=yFe(u,Ve,Cl,ko),Cc=yt(Tl,Ze,Wt);return Cc&&(Mn&&xh(Cc),hc.push(Cc)),hc}}function Fr(Ve){return le(Ve.argumentExpression)?u.updateElementAccessExpression(Ve,X(H.checkDefined(yt(Ve.expression,Ze,_f))),H.checkDefined(yt(Ve.argumentExpression,Ze,Wt))):un(Ve,Ze,t)}function Sa(Ve){if(!cm(Ve)&&L(Ve.arguments,le)){const{target:si,thisArg:Mn}=u.createCallBinding(Ve.expression,E,b,!0);return su(Pt(u.createFunctionApplyCall(X(H.checkDefined(yt(si,Ze,_f))),Mn,Yu(Ve.arguments)),Ve),Ve)}return un(Ve,Ze,t)}function bt(Ve){if(L(Ve.arguments,le)){const{target:si,thisArg:Mn}=u.createCallBinding(u.createPropertyAccessExpression(Ve.expression,"bind"),E);return su(Pt(u.createNewExpression(u.createFunctionApplyCall(X(H.checkDefined(yt(si,Ze,Wt))),Mn,Yu(Ve.arguments,u.createVoidZero())),void 0,[]),Ve),Ve)}return un(Ve,Ze,t)}function On(Ve,si=0){const Mn=Ve.length;for(let ba=si;ba0)break;ko.push(Da(ic))}ko.length&&(Il(u.createExpressionStatement(u.inlineExpressions(ko))),ba+=ko.length,ko=[])}}function Da(Ve){return Fs(u.createAssignment(Fs(u.cloneNode(Ve.name),Ve.name),H.checkDefined(yt(Ve.initializer,Ze,Wt))),Ve)}function aa(Ve){if(le(Ve))if(le(Ve.thenStatement)||le(Ve.elseStatement)){const si=Ct(),Mn=Ve.elseStatement?Ct():void 0;dl(Ve.elseStatement?Mn:si,H.checkDefined(yt(Ve.expression,Ze,Wt)),Ve.expression),Ln(Ve.thenStatement),Ve.elseStatement&&(Va(si),ct(Mn),Ln(Ve.elseStatement)),ct(si)}else Il(yt(Ve,Ze,ua));else Il(yt(Ve,Ze,ua))}function Ba(Ve){if(le(Ve)){const si=Ct(),Mn=Ct();wn(si),ct(Mn),Ln(Ve.statement),ct(si),Oi(Mn,H.checkDefined(yt(Ve.expression,Ze,Wt))),Rr()}else Il(yt(Ve,Ze,ua))}function Yo(Ve){return j?(Ra(),Ve=un(Ve,Ze,t),Rr(),Ve):un(Ve,Ze,t)}function vo(Ve){if(le(Ve)){const si=Ct(),Mn=wn(si);ct(si),dl(Mn,H.checkDefined(yt(Ve.expression,Ze,Wt))),Ln(Ve.statement),Va(si),Rr()}else Il(yt(Ve,Ze,ua))}function Qe(Ve){return j?(Ra(),Ve=un(Ve,Ze,t),Rr(),Ve):un(Ve,Ze,t)}function Et(Ve){if(le(Ve)){const si=Ct(),Mn=Ct(),ba=wn(Mn);if(Ve.initializer){const ko=Ve.initializer;Fd(ko)?sa(ko):Il(Pt(u.createExpressionStatement(H.checkDefined(yt(ko,Ze,Wt))),ko))}ct(si),Ve.condition&&dl(ba,H.checkDefined(yt(Ve.condition,Ze,Wt))),Ln(Ve.statement),ct(Mn),Ve.incrementor&&Il(Pt(u.createExpressionStatement(H.checkDefined(yt(Ve.incrementor,Ze,Wt))),Ve.incrementor)),Va(si),Rr()}else Il(yt(Ve,Ze,ua))}function Mt(Ve){j&&Ra();const si=Ve.initializer;if(si&&Fd(si)){for(const ba of si.declarations)E(ba.name);const Mn=_P(si);Ve=u.updateForStatement(Ve,Mn.length>0?u.inlineExpressions(Kt(Mn,Da)):void 0,yt(Ve.condition,Ze,Wt),yt(Ve.incrementor,Ze,Wt),Mh(Ve.statement,Ze,t))}else Ve=un(Ve,Ze,t);return j&&Rr(),Ve}function qt(Ve){if(le(Ve)){const si=it(),Mn=it(),ba=it(),ko=u.createLoopVariable(),wo=Ve.initializer;E(ko),cl(si,H.checkDefined(yt(Ve.expression,Ze,Wt))),cl(Mn,u.createArrayLiteralExpression()),Il(u.createForInStatement(ba,si,u.createExpressionStatement(u.createCallExpression(u.createPropertyAccessExpression(Mn,"push"),void 0,[ba])))),cl(ko,u.createNumericLiteral(0));const ic=Ct(),hc=Ct(),Cl=wn(hc);ct(ic),dl(Cl,u.createLessThan(ko,u.createPropertyAccessExpression(Mn,"length"))),cl(ba,u.createElementAccessExpression(Mn,ko)),dl(hc,u.createBinaryExpression(ba,103,si));let Tl;if(Fd(wo)){for(const Cc of wo.declarations)E(Cc.name);Tl=u.cloneNode(wo.declarations[0].name)}else Tl=H.checkDefined(yt(wo,Ze,Wt)),H.assert(_f(Tl));cl(Tl,ba),Ln(Ve.statement),ct(hc),Il(u.createExpressionStatement(u.createPostfixIncrement(ko))),Va(ic),Rr()}else Il(yt(Ve,Ze,ua))}function Xt(Ve){j&&Ra();const si=Ve.initializer;if(Fd(si)){for(const Mn of si.declarations)E(Mn.name);Ve=u.updateForInStatement(Ve,si.declarations[0].name,H.checkDefined(yt(Ve.expression,Ze,Wt)),H.checkDefined(yt(Ve.statement,Ze,ua,u.liftToBlock)))}else Ve=un(Ve,Ze,t);return j&&Rr(),Ve}function Pe(Ve){const si=Ho(Ve.label?fu(Ve.label):void 0);si>0?Va(si,Ve):Il(Ve)}function et(Ve){if(j){const si=Ho(Ve.label&&fu(Ve.label));if(si>0)return Ko(si,Ve)}return un(Ve,Ze,t)}function gt(Ve){const si=oo(Ve.label?fu(Ve.label):void 0);si>0?Va(si,Ve):Il(Ve)}function ii(Ve){if(j){const si=oo(Ve.label&&fu(Ve.label));if(si>0)return Ko(si,Ve)}return un(Ve,Ze,t)}function me(Ve){of(yt(Ve.expression,Ze,Wt),Ve)}function ni(Ve){return wc(yt(Ve.expression,Ze,Wt),Ve)}function _i(Ve){le(Ve)?(du(X(H.checkDefined(yt(Ve.expression,Ze,Wt)))),Ln(Ve.statement),Iu()):Il(yt(Ve,Ze,ua))}function mt(Ve){if(le(Ve.caseBlock)){const si=Ve.caseBlock,Mn=si.clauses.length,ba=Bo(),ko=X(H.checkDefined(yt(Ve.expression,Ze,Wt))),wo=[];let ic=-1;for(let Tl=0;Tl0)break;Cl.push(u.createCaseClause(H.checkDefined(yt(Ul.expression,Ze,Wt)),[Ko(wo[Cc],Ul.expression)]))}else Tl++}Cl.length&&(Il(u.createSwitchStatement(ko,u.createCaseBlock(Cl))),hc+=Cl.length,Cl=[]),Tl>0&&(hc+=Tl,Tl=0)}ic>=0?Va(wo[ic]):Va(ba);for(let Tl=0;Tl=0;Mn--){const ba=oe[Mn];if(wl(ba)){if(ba.labelText===Ve)return!0}else break}return!1}function oo(Ve){if(oe)if(Ve)for(let si=oe.length-1;si>=0;si--){const Mn=oe[si];if(wl(Mn)&&Mn.labelText===Ve)return Mn.breakLabel;if($l(Mn)&&vl(Ve,si-1))return Mn.breakLabel}else for(let si=oe.length-1;si>=0;si--){const Mn=oe[si];if($l(Mn))return Mn.breakLabel}return 0}function Ho(Ve){if(oe)if(Ve)for(let si=oe.length-1;si>=0;si--){const Mn=oe[si];if(cd(Mn)&&vl(Ve,si-1))return Mn.continueLabel}else for(let si=oe.length-1;si>=0;si--){const Mn=oe[si];if(cd(Mn))return Mn.continueLabel}return 0}function td(Ve){if(Ve!==void 0&&Ve>0){ge===void 0&&(ge=[]);const si=u.createNumericLiteral(-1);return ge[Ve]===void 0?ge[Ve]=[si]:ge[Ve].push(si),si}return u.createOmittedExpression()}function U0(Ve){const si=u.createNumericLiteral(Ve);return bZ(si,3,OMt(Ve)),si}function Ko(Ve,si){return H.assertLessThan(0,Ve,"Invalid label"),Pt(u.createReturnStatement(u.createArrayLiteralExpression([U0(3),td(Ve)])),si)}function wc(Ve,si){return Pt(u.createReturnStatement(u.createArrayLiteralExpression(Ve?[U0(2),Ve]:[U0(2)])),si)}function Kp(Ve){return Pt(u.createCallExpression(u.createPropertyAccessExpression(Se,"sent"),void 0,[]),Ve)}function Tc(){$(0)}function Il(Ve){Ve?$(1,[Ve]):Tc()}function cl(Ve,si,Mn){$(2,[Ve,si],Mn)}function Va(Ve,si){$(3,[Ve],si)}function Oi(Ve,si,Mn){$(4,[Ve,si],Mn)}function dl(Ve,si,Mn){$(5,[Ve,si],Mn)}function Uc(Ve,si){$(7,[Ve],si)}function vh(Ve,si){$(6,[Ve],si)}function of(Ve,si){$(8,[Ve],si)}function q0(Ve,si){$(9,[Ve],si)}function vc(){$(10)}function $(Ve,si,Mn){Ce===void 0&&(Ce=[],ne=[],ve=[]),se===void 0&&ct(Ct());const ba=Ce.length;Ce[ba]=Ve,ne[ba]=si,ve[ba]=Mn}function tt(){Ne=0,pe=0,fe=void 0,xe=!1,Be=!1,We=void 0,Ae=void 0,De=void 0,He=void 0,Je=void 0;const Ve=vt();return s().createGeneratorHelper(Yn(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,Se)],void 0,u.createBlock(Ve,Ve.length>0)),1048576))}function vt(){if(Ce){for(let Ve=0;Ve=0;si--){const Mn=Je[si];Ae=[u.createWithStatement(Mn.expression,u.createBlock(Ae))]}if(He){const{startLabel:si,catchLabel:Mn,finallyLabel:ba,endLabel:ko}=He;Ae.unshift(u.createExpressionStatement(u.createCallExpression(u.createPropertyAccessExpression(u.createPropertyAccessExpression(Se,"trys"),"push"),void 0,[u.createArrayLiteralExpression([td(si),td(Mn),td(ba),td(ko)])]))),He=void 0}Ve&&Ae.push(u.createExpressionStatement(u.createAssignment(u.createPropertyAccessExpression(Se,"label"),u.createNumericLiteral(pe+1))))}We.push(u.createCaseClause(u.createNumericLiteral(pe),Ae||[])),Ae=void 0}function wu(Ve){if(se)for(let si=0;sis.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.createIdentifier(fu(ct))),Ct),s.createVoidZero())));Ei(te,yt(K.externalHelpersImportDeclaration,fe,ua)),yn(te,kn(le.statements,fe,ua,de)),pe(te,!1),qE(te,p());const Oe=s.updateSourceFile(le,Pt(s.createNodeArray(te),le.statements));return tD(Oe,t.readEmitHelpers()),Oe}function Ce(le){const te=s.createIdentifier("define"),we=MV(s,le,B,v),de=H4(le)&&le,{aliasedModuleNames:Oe,unaliasedModuleNames:X,importAliasNames:it}=ve(le,!0),Ct=s.updateSourceFile(le,Pt(s.createNodeArray([s.createExpressionStatement(s.createCallExpression(te,void 0,[...we?[we]:[],s.createArrayLiteralExpression(de?_t:[s.createStringLiteral("require"),s.createStringLiteral("exports"),...Oe,...X]),de?de.statements.length?de.statements[0].expression:s.createObjectLiteralExpression():s.createFunctionExpression(void 0,void 0,void 0,void 0,[s.createParameterDeclaration(void 0,void 0,"require"),s.createParameterDeclaration(void 0,void 0,"exports"),...it],void 0,Ne(le))]))]),le.statements));return tD(Ct,t.readEmitHelpers()),Ct}function ne(le){const{aliasedModuleNames:te,unaliasedModuleNames:we,importAliasNames:de}=ve(le,!1),Oe=MV(s,le,B,v),X=s.createFunctionExpression(void 0,void 0,void 0,void 0,[s.createParameterDeclaration(void 0,void 0,"factory")],void 0,Pt(s.createBlock([s.createIfStatement(s.createLogicalAnd(s.createTypeCheck(s.createIdentifier("module"),"object"),s.createTypeCheck(s.createPropertyAccessExpression(s.createIdentifier("module"),"exports"),"object")),s.createBlock([s.createVariableStatement(void 0,[s.createVariableDeclaration("v",void 0,void 0,s.createCallExpression(s.createIdentifier("factory"),void 0,[s.createIdentifier("require"),s.createIdentifier("exports")]))]),Yn(s.createIfStatement(s.createStrictInequality(s.createIdentifier("v"),s.createIdentifier("undefined")),s.createExpressionStatement(s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("module"),"exports"),s.createIdentifier("v")))),1)]),s.createIfStatement(s.createLogicalAnd(s.createTypeCheck(s.createIdentifier("define"),"function"),s.createPropertyAccessExpression(s.createIdentifier("define"),"amd")),s.createBlock([s.createExpressionStatement(s.createCallExpression(s.createIdentifier("define"),void 0,[...Oe?[Oe]:[],s.createArrayLiteralExpression([s.createStringLiteral("require"),s.createStringLiteral("exports"),...te,...we]),s.createIdentifier("factory")]))])))],!0),void 0)),it=s.updateSourceFile(le,Pt(s.createNodeArray([s.createExpressionStatement(s.createCallExpression(X,void 0,[s.createFunctionExpression(void 0,void 0,void 0,void 0,[s.createParameterDeclaration(void 0,void 0,"require"),s.createParameterDeclaration(void 0,void 0,"exports"),...de],void 0,Ne(le))]))]),le.statements));return tD(it,t.readEmitHelpers()),it}function ve(le,te){const we=[],de=[],Oe=[];for(const X of le.amdDependencies)X.name?(we.push(s.createStringLiteral(X.path)),Oe.push(s.createParameterDeclaration(void 0,void 0,X.name))):de.push(s.createStringLiteral(X.path));for(const X of K.externalImports){const it=H7(s,X,J,B,b,v),Ct=PB(s,X,J);it&&(te&&Ct?(Yn(Ct,8),we.push(it),Oe.push(s.createParameterDeclaration(void 0,void 0,Ct))):de.push(it))}return{aliasedModuleNames:we,unaliasedModuleNames:de,importAliasNames:Oe}}function Se(le){if(g1(le)||Gc(le)||!H7(s,le,J,B,b,v))return;const te=PB(s,le,J),we=Sa(le,te);if(we!==te)return s.createExpressionStatement(s.createAssignment(te,we))}function Ne(le){f();const te=[],we=s.copyPrologue(le.statements,te,!v.noImplicitUseStrict,fe);ge()&&Ei(te,Pe()),S(K.exportedNames)&&Ei(te,s.createExpressionStatement(tn(K.exportedNames,(Oe,X)=>s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.createIdentifier(fu(X))),Oe),s.createVoidZero()))),Ei(te,yt(K.externalHelpersImportDeclaration,fe,ua)),T===2&&yn(te,Si(K.externalImports,Se)),yn(te,kn(le.statements,fe,ua,we)),pe(te,!0),qE(te,p());const de=s.createBlock(te,!0);return oe&&F7(de,Ket),de}function pe(le,te){if(K.exportEquals){const we=yt(K.exportEquals.expression,We,Wt);if(we)if(te){const de=s.createReturnStatement(we);Pt(de,K.exportEquals),Yn(de,3840),le.push(de)}else{const de=s.createExpressionStatement(s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("module"),"exports"),we));Pt(de,K.exportEquals),Yn(de,3072),le.push(de)}}}function fe(le){switch(le.kind){case 272:return bt(le);case 271:return Ln(le);case 278:return Fi(le);case 277:return Dn(le);default:return xe(le)}}function xe(le){switch(le.kind){case 243:return sa(le);case 262:return Cn(le);case 263:return tu(le);case 248:return Je(le,!0);case 249:return ft(le);case 250:return Ze(le);case 246:return je(le);case 247:return Ke(le);case 256:return Gt(le);case 254:return Yt(le);case 245:return Ie(le);case 255:return lt(le);case 269:return St(le);case 296:return It(le);case 297:return ti(le);case 258:return ht(le);case 299:return Ut(le);case 241:return Ni(le);default:return We(le)}}function Be(le,te){if(!(le.transformFlags&276828160))return le;switch(le.kind){case 248:return Je(le,!1);case 244:return Vi(le);case 217:return xn(le,te);case 360:return $n(le,te);case 213:if(cm(le)&&J.impliedNodeFormat===void 0)return Pi(le);break;case 226:if(u5(le))return He(le,te);break;case 224:case 225:return rn(le,te)}return un(le,We,t)}function We(le){return Be(le,!1)}function Ae(le){return Be(le,!0)}function De(le){if(bs(le))for(const te of le.properties)switch(te.kind){case 303:if(De(te.initializer))return!0;break;case 304:if(De(te.name))return!0;break;case 305:if(De(te.expression))return!0;break;case 174:case 177:case 178:return!1;default:H.assertNever(te,"Unhandled object member kind")}else if(_h(le)){for(const te of le.elements)if(nE(te)){if(De(te.expression))return!0}else if(De(te))return!0}else if(at(le))return S(on(le))>(gY(le)?1:0);return!1}function He(le,te){return De(le.left)?Sk(le,We,t,0,!te,Da):un(le,We,t)}function Je(le,te){if(te&&le.initializer&&Fd(le.initializer)&&!(le.initializer.flags&7)){const we=Qe(void 0,le.initializer,!1);if(we){const de=[],Oe=yt(le.initializer,Ae,Fd),X=s.createVariableStatement(void 0,Oe);de.push(X),yn(de,we);const it=yt(le.condition,We,Wt),Ct=yt(le.incrementor,Ae,Wt),ct=Mh(le.statement,te?xe:We,t);return de.push(s.updateForStatement(le,void 0,it,Ct,ct)),de}}return s.updateForStatement(le,yt(le.initializer,Ae,r4),yt(le.condition,We,Wt),yt(le.incrementor,Ae,Wt),Mh(le.statement,te?xe:We,t))}function ft(le){if(Fd(le.initializer)&&!(le.initializer.flags&7)){const te=Qe(void 0,le.initializer,!0);if(Ge(te)){const we=yt(le.initializer,Ae,r4),de=yt(le.expression,We,Wt),Oe=Mh(le.statement,xe,t),X=ho(Oe)?s.updateBlock(Oe,[...te,...Oe.statements]):s.createBlock([...te,Oe],!0);return s.updateForInStatement(le,we,de,X)}}return s.updateForInStatement(le,yt(le.initializer,Ae,r4),yt(le.expression,We,Wt),Mh(le.statement,xe,t))}function Ze(le){if(Fd(le.initializer)&&!(le.initializer.flags&7)){const te=Qe(void 0,le.initializer,!0),we=yt(le.initializer,Ae,r4),de=yt(le.expression,We,Wt);let Oe=Mh(le.statement,xe,t);return Ge(te)&&(Oe=ho(Oe)?s.updateBlock(Oe,[...te,...Oe.statements]):s.createBlock([...te,Oe],!0)),s.updateForOfStatement(le,le.awaitModifier,we,de,Oe)}return s.updateForOfStatement(le,le.awaitModifier,yt(le.initializer,Ae,r4),yt(le.expression,We,Wt),Mh(le.statement,xe,t))}function je(le){return s.updateDoStatement(le,Mh(le.statement,xe,t),yt(le.expression,We,Wt))}function Ke(le){return s.updateWhileStatement(le,yt(le.expression,We,Wt),Mh(le.statement,xe,t))}function Gt(le){return s.updateLabeledStatement(le,le.label,H.checkDefined(yt(le.statement,xe,ua,s.liftToBlock)))}function Yt(le){return s.updateWithStatement(le,yt(le.expression,We,Wt),H.checkDefined(yt(le.statement,xe,ua,s.liftToBlock)))}function Ie(le){return s.updateIfStatement(le,yt(le.expression,We,Wt),H.checkDefined(yt(le.thenStatement,xe,ua,s.liftToBlock)),yt(le.elseStatement,xe,ua,s.liftToBlock))}function lt(le){return s.updateSwitchStatement(le,yt(le.expression,We,Wt),H.checkDefined(yt(le.caseBlock,xe,qP)))}function St(le){return s.updateCaseBlock(le,kn(le.clauses,xe,jU))}function It(le){return s.updateCaseClause(le,yt(le.expression,We,Wt),kn(le.statements,xe,ua))}function ti(le){return un(le,xe,t)}function ht(le){return un(le,xe,t)}function Ut(le){return s.updateCatchClause(le,le.variableDeclaration,H.checkDefined(yt(le.block,xe,ho)))}function Ni(le){return le=un(le,xe,t),le}function Vi(le){return s.updateExpressionStatement(le,yt(le.expression,Ae,Wt))}function xn(le,te){return s.updateParenthesizedExpression(le,yt(le.expression,te?Ae:We,Wt))}function $n(le,te){return s.updatePartiallyEmittedExpression(le,yt(le.expression,te?Ae:We,Wt))}function rn(le,te){if((le.operator===46||le.operator===47)&&at(le.operand)&&!al(le.operand)&&!uD(le.operand)&&!mle(le.operand)){const we=on(le.operand);if(we){let de,Oe=yt(le.operand,We,Wt);Pv(le)?Oe=s.updatePrefixUnaryExpression(le,Oe):(Oe=s.updatePostfixUnaryExpression(le,Oe),te||(de=s.createTempVariable(E),Oe=s.createAssignment(de,Oe),Pt(Oe,le)),Oe=s.createComma(Oe,s.cloneNode(le.operand)),Pt(Oe,le));for(const X of we)Y[$s(Oe)]=!0,Oe=gt(X,Oe),Pt(Oe,le);return de&&(Y[$s(Oe)]=!0,Oe=s.createComma(Oe,de),Pt(Oe,le)),Oe}}return un(le,We,t)}function Pi(le){if(T===0&&k>=7)return un(le,We,t);const te=H7(s,le,J,B,b,v),we=yt(Ki(le.arguments),We,Wt),de=te&&(!we||!us(we)||we.text!==te.text)?te:we,Oe=!!(le.transformFlags&16384);switch(v.module){case 2:return Yu(de,Oe);case 3:return ki(de??s.createVoidZero(),Oe);case 1:default:return oa(de)}}function ki(le,te){if(oe=!0,U2(le)){const we=al(le)?le:us(le)?s.createStringLiteralFromNode(le):Yn(Pt(s.cloneNode(le),le),3072);return s.createConditionalExpression(s.createIdentifier("__syncRequire"),void 0,oa(le),void 0,Yu(we,te))}else{const we=s.createTempVariable(E);return s.createComma(s.createAssignment(we,le),s.createConditionalExpression(s.createIdentifier("__syncRequire"),void 0,oa(we,!0),void 0,Yu(we,te)))}}function Yu(le,te){const we=s.createUniqueName("resolve"),de=s.createUniqueName("reject"),Oe=[s.createParameterDeclaration(void 0,void 0,we),s.createParameterDeclaration(void 0,void 0,de)],X=s.createBlock([s.createExpressionStatement(s.createCallExpression(s.createIdentifier("require"),void 0,[s.createArrayLiteralExpression([le||s.createOmittedExpression()]),we,de]))]);let it;k>=2?it=s.createArrowFunction(void 0,void 0,Oe,void 0,void 0,X):(it=s.createFunctionExpression(void 0,void 0,void 0,void 0,Oe,void 0,X),te&&Yn(it,16));const Ct=s.createNewExpression(s.createIdentifier("Promise"),void 0,[it]);return XE(v)?s.createCallExpression(s.createPropertyAccessExpression(Ct,s.createIdentifier("then")),void 0,[d().createImportStarCallbackHelper()]):Ct}function oa(le,te){const we=le&&!oE(le)&&!te,de=s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Promise"),"resolve"),void 0,we?k>=2?[s.createTemplateExpression(s.createTemplateHead(""),[s.createTemplateSpan(le,s.createTemplateTail(""))])]:[s.createCallExpression(s.createPropertyAccessExpression(s.createStringLiteral(""),"concat"),void 0,[le])]:[]);let Oe=s.createCallExpression(s.createIdentifier("require"),void 0,we?[s.createIdentifier("s")]:le?[le]:[]);XE(v)&&(Oe=d().createImportStarHelper(Oe));const X=we?[s.createParameterDeclaration(void 0,void 0,"s")]:[];let it;return k>=2?it=s.createArrowFunction(void 0,void 0,X,void 0,void 0,Oe):it=s.createFunctionExpression(void 0,void 0,void 0,void 0,X,void 0,s.createBlock([s.createReturnStatement(Oe)])),s.createCallExpression(s.createPropertyAccessExpression(de,"then"),void 0,[it])}function Fr(le,te){return!XE(v)||Tp(le)&2?te:KAe(le)?d().createImportStarHelper(te):te}function Sa(le,te){return!XE(v)||Tp(le)&2?te:iQ(le)?d().createImportStarHelper(te):Jde(le)?d().createImportDefaultHelper(te):te}function bt(le){let te;const we=Z8(le);if(T!==2)if(le.importClause){const de=[];we&&!s7(le)?de.push(s.createVariableDeclaration(s.cloneNode(we.name),void 0,void 0,Sa(le,On(le)))):(de.push(s.createVariableDeclaration(s.getGeneratedNameForNode(le),void 0,void 0,Sa(le,On(le)))),we&&s7(le)&&de.push(s.createVariableDeclaration(s.cloneNode(we.name),void 0,void 0,s.getGeneratedNameForNode(le)))),te=Ei(te,su(Pt(s.createVariableStatement(void 0,s.createVariableDeclarationList(de,k>=2?2:0)),le),le))}else return su(Pt(s.createExpressionStatement(On(le)),le),le);else we&&s7(le)&&(te=Ei(te,s.createVariableStatement(void 0,s.createVariableDeclarationList([su(Pt(s.createVariableDeclaration(s.cloneNode(we.name),void 0,void 0,s.getGeneratedNameForNode(le)),le),le)],k>=2?2:0))));return te=Ba(te,le),F0(te)}function On(le){const te=H7(s,le,J,B,b,v),we=[];return te&&we.push(te),s.createCallExpression(s.createIdentifier("require"),void 0,we)}function Ln(le){H.assert(vv(le),"import= for internal module references should be handled in an earlier transformer.");let te;return T!==2?Qu(le,32)?te=Ei(te,su(Pt(s.createExpressionStatement(gt(le.name,On(le))),le),le)):te=Ei(te,su(Pt(s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(s.cloneNode(le.name),void 0,void 0,On(le))],k>=2?2:0)),le),le)):Qu(le,32)&&(te=Ei(te,su(Pt(s.createExpressionStatement(gt(s.getExportName(le),s.getLocalName(le))),le),le))),te=Yo(te,le),F0(te)}function Fi(le){if(!le.moduleSpecifier)return;const te=s.getGeneratedNameForNode(le);if(le.exportClause&&Q4(le.exportClause)){const we=[];T!==2&&we.push(su(Pt(s.createVariableStatement(void 0,s.createVariableDeclarationList([s.createVariableDeclaration(te,void 0,void 0,On(le))])),le),le));for(const de of le.exportClause.elements)if(k===0)we.push(su(Pt(s.createExpressionStatement(d().createCreateBindingHelper(te,s.createStringLiteralFromNode(de.propertyName||de.name),de.propertyName?s.createStringLiteralFromNode(de.name):void 0)),de),de));else{const Oe=!!XE(v)&&!(Tp(le)&2)&&fu(de.propertyName||de.name)==="default",X=s.createPropertyAccessExpression(Oe?d().createImportDefaultHelper(te):te,de.propertyName||de.name);we.push(su(Pt(s.createExpressionStatement(gt(s.getExportName(de),X,void 0,!0)),de),de))}return F0(we)}else if(le.exportClause){const we=[];return we.push(su(Pt(s.createExpressionStatement(gt(s.cloneNode(le.exportClause.name),Fr(le,T!==2?On(le):ZU(le)?te:s.createIdentifier(fu(le.exportClause.name))))),le),le)),F0(we)}else return su(Pt(s.createExpressionStatement(d().createExportStarHelper(T!==2?On(le):te)),le),le)}function Dn(le){if(!le.isExportEquals)return et(s.createIdentifier("default"),yt(le.expression,We,Wt),le,!0)}function Cn(le){let te;return Qu(le,32)?te=Ei(te,su(Pt(s.createFunctionDeclaration(kn(le.modifiers,ii,Qo),le.asteriskToken,s.getDeclarationName(le,!0,!0),void 0,kn(le.parameters,We,Qa),void 0,un(le.body,We,t)),le),le)):te=Ei(te,un(le,We,t)),te=Mt(te,le),F0(te)}function tu(le){let te;return Qu(le,32)?te=Ei(te,su(Pt(s.createClassDeclaration(kn(le.modifiers,ii,ol),s.getDeclarationName(le,!0,!0),void 0,kn(le.heritageClauses,We,fm),kn(le.members,We,qd)),le),le)):te=Ei(te,un(le,We,t)),te=Mt(te,le),F0(te)}function sa(le){let te,we,de;if(Qu(le,32)){let Oe,X=!1;for(const it of le.declarationList.declarations)if(at(it.name)&&uD(it.name))if(Oe||(Oe=kn(le.modifiers,ii,Qo)),it.initializer){const Ct=s.updateVariableDeclaration(it,it.name,void 0,void 0,gt(it.name,yt(it.initializer,We,Wt)));we=Ei(we,Ct)}else we=Ei(we,it);else if(it.initializer)if(!Ao(it.name)&&(J0(it.initializer)||A0(it.initializer)||Qd(it.initializer))){const Ct=s.createAssignment(Pt(s.createPropertyAccessExpression(s.createIdentifier("exports"),it.name),it.name),s.createIdentifier(W4(it.name))),ct=s.createVariableDeclaration(it.name,it.exclamationToken,it.type,yt(it.initializer,We,Wt));we=Ei(we,ct),de=Ei(de,Ct),X=!0}else de=Ei(de,aa(it));if(we&&(te=Ei(te,s.updateVariableStatement(le,Oe,s.updateVariableDeclarationList(le.declarationList,we)))),de){const it=su(Pt(s.createExpressionStatement(s.inlineExpressions(de)),le),le);X&&pV(it),te=Ei(te,it)}}else te=Ei(te,un(le,We,t));return te=vo(te,le),F0(te)}function Da(le,te,we){const de=on(le);if(de){let Oe=gY(le)?te:s.createAssignment(le,te);for(const X of de)Yn(Oe,8),Oe=gt(X,Oe,we);return Oe}return s.createAssignment(le,te)}function aa(le){return Ao(le.name)?Sk(yt(le,We,Uj),We,t,0,!1,Da):s.createAssignment(Pt(s.createPropertyAccessExpression(s.createIdentifier("exports"),le.name),le.name),le.initializer?yt(le.initializer,We,Wt):s.createVoidZero())}function Ba(le,te){if(K.exportEquals)return le;const we=te.importClause;if(!we)return le;const de=new q7;we.name&&(le=qt(le,de,we));const Oe=we.namedBindings;if(Oe)switch(Oe.kind){case 274:le=qt(le,de,Oe);break;case 275:for(const X of Oe.elements)le=qt(le,de,X,!0);break}return le}function Yo(le,te){return K.exportEquals?le:qt(le,new q7,te)}function vo(le,te){return Qe(le,te.declarationList,!1)}function Qe(le,te,we){if(K.exportEquals)return le;for(const de of te.declarations)le=Et(le,de,we);return le}function Et(le,te,we){if(K.exportEquals)return le;if(Ao(te.name))for(const de of te.name.elements)kd(de)||(le=Et(le,de,we));else!al(te.name)&&(!ra(te)||te.initializer||we)&&(le=qt(le,new q7,te));return le}function Mt(le,te){if(K.exportEquals)return le;const we=new q7;if(Qu(te,32)){const de=Qu(te,2048)?s.createIdentifier("default"):s.getDeclarationName(te);le=Xt(le,we,de,s.getLocalName(te),te)}return te.name&&(le=qt(le,we,te)),le}function qt(le,te,we,de){const Oe=s.getDeclarationName(we),X=K.exportSpecifiers.get(Oe);if(X)for(const it of X)le=Xt(le,te,it.name,Oe,it.name,void 0,de);return le}function Xt(le,te,we,de,Oe,X,it){return te.has(we)||(te.set(we,!0),le=Ei(le,et(we,de,Oe,X,it))),le}function Pe(){let le;return k===0?le=s.createExpressionStatement(gt(s.createIdentifier("__esModule"),s.createTrue())):le=s.createExpressionStatement(s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Object"),"defineProperty"),void 0,[s.createIdentifier("exports"),s.createStringLiteral("__esModule"),s.createObjectLiteralExpression([s.createPropertyAssignment("value",s.createTrue())])])),Yn(le,2097152),le}function et(le,te,we,de,Oe){const X=Pt(s.createExpressionStatement(gt(le,te,void 0,Oe)),we);return xh(X),de||Yn(X,3072),X}function gt(le,te,we,de){return Pt(de&&k!==0?s.createCallExpression(s.createPropertyAccessExpression(s.createIdentifier("Object"),"defineProperty"),void 0,[s.createIdentifier("exports"),s.createStringLiteralFromNode(le),s.createObjectLiteralExpression([s.createPropertyAssignment("enumerable",s.createTrue()),s.createPropertyAssignment("get",s.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,s.createBlock([s.createReturnStatement(te)])))])]):s.createAssignment(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.cloneNode(le)),te),we)}function ii(le){switch(le.kind){case 95:case 90:return}return le}function me(le,te,we){te.kind===312?(J=te,K=j[P1(J)],z(le,te,we),J=void 0,K=void 0):z(le,te,we)}function ni(le,te){return te=M(le,te),te.id&&Y[te.id]?te:le===1?mt(te):mm(te)?_i(te):te}function _i(le){const te=le.name,we=$i(te);if(we!==te){if(le.objectAssignmentInitializer){const de=s.createAssignment(we,le.objectAssignmentInitializer);return Pt(s.createPropertyAssignment(te,de),le)}return Pt(s.createPropertyAssignment(te,we),le)}return le}function mt(le){switch(le.kind){case 80:return $i(le);case 213:return jt(le);case 215:return pi(le);case 226:return Yi(le)}return le}function jt(le){if(at(le.expression)){const te=$i(le.expression);if(Y[$s(te)]=!0,!at(te)&&!(Cs(le.expression)&8192))return y7(s.updateCallExpression(le,te,void 0,le.arguments),16)}return le}function pi(le){if(at(le.tag)){const te=$i(le.tag);if(Y[$s(te)]=!0,!at(te)&&!(Cs(le.tag)&8192))return y7(s.updateTaggedTemplateExpression(le,te,void 0,le.template),16)}return le}function $i(le){var te,we;if(Cs(le)&8192){const de=PV(J);return de?s.createPropertyAccessExpression(de,le):le}else if(!(al(le)&&!(le.emitNode.autoGenerate.flags&64))&&!uD(le)){const de=b.getReferencedExportContainer(le,gY(le));if(de&&de.kind===312)return Pt(s.createPropertyAccessExpression(s.createIdentifier("exports"),s.cloneNode(le)),le);const Oe=b.getReferencedImportDeclaration(le);if(Oe){if(i_(Oe))return Pt(s.createPropertyAccessExpression(s.getGeneratedNameForNode(Oe.parent),s.createIdentifier("default")),le);if(Cf(Oe)){const X=Oe.propertyName||Oe.name;return Pt(s.createPropertyAccessExpression(s.getGeneratedNameForNode(((we=(te=Oe.parent)==null?void 0:te.parent)==null?void 0:we.parent)||Oe),s.cloneNode(X)),le)}}}return le}function Yi(le){if(n5(le.operatorToken.kind)&&at(le.left)&&(!al(le.left)||WO(le.left))&&!uD(le.left)){const te=on(le.left);if(te){let we=le;for(const de of te)Y[$s(we)]=!0,we=gt(de,we,le);return we}}return le}function on(le){if(al(le)){if(WO(le)){const te=K==null?void 0:K.exportSpecifiers.get(le);if(te){const we=[];for(const de of te)we.push(de.name);return we}}}else{const te=b.getReferencedImportDeclaration(le);if(te)return K==null?void 0:K.exportedBindings[P1(te)];const we=new Set,de=b.getReferencedValueDeclarations(le);if(de){for(const Oe of de){const X=K==null?void 0:K.exportedBindings[P1(Oe)];if(X)for(const it of X)we.add(it)}if(we.size)return ga(we)}}}}var Ket,VMt=o({"src/compiler/transformers/module/module.ts"(){So(),Ket={name:"typescript:dynamicimport-sync-require",scoped:!0,text:` + var __syncRequire = typeof module === "object" && typeof module.exports === "object";`}}});function v7e(t){const{factory:u,startLexicalEnvironment:s,endLexicalEnvironment:d,hoistVariableDeclaration:f}=t,p=t.getCompilerOptions(),E=t.getEmitResolver(),v=t.getEmitHost(),b=t.onSubstituteNode,B=t.onEmitNode;t.onSubstituteNode=gt,t.onEmitNode=et,t.enableSubstitution(80),t.enableSubstitution(304),t.enableSubstitution(226),t.enableSubstitution(236),t.enableEmitNotification(312);const k=[],T=[],M=[],z=[];let j,J,K,Y,oe,se,ge;return jp(t,ae);function ae(le){if(le.isDeclarationFile||!(a7(le,p)||le.transformFlags&8388608))return le;const te=P1(le);j=le,se=le,J=k[te]=$de(t,le),K=u.createUniqueName("exports"),T[te]=K,Y=z[te]=u.createUniqueName("context");const we=Ce(J.externalImports),de=ne(le,we),Oe=u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,K),u.createParameterDeclaration(void 0,void 0,Y)],void 0,de),X=MV(u,le,v,p),it=u.createArrayLiteralExpression(Kt(we,ct=>ct.name)),Ct=Yn(u.updateSourceFile(le,Pt(u.createNodeArray([u.createExpressionStatement(u.createCallExpression(u.createPropertyAccessExpression(u.createIdentifier("System"),"register"),void 0,X?[X,it,Oe]:[it,Oe]))]),le.statements)),2048);return b0(p)||jke(Ct,de,ct=>!ct.scoped),ge&&(M[te]=ge,ge=void 0),j=void 0,J=void 0,K=void 0,Y=void 0,oe=void 0,se=void 0,Ct}function Ce(le){const te=new Map,we=[];for(const de of le){const Oe=H7(u,de,j,v,E,p);if(Oe){const X=Oe.text,it=te.get(X);it!==void 0?we[it].externalImports.push(de):(te.set(X,we.length),we.push({name:Oe,externalImports:[de]}))}}return we}function ne(le,te){const we=[];s();const de=U4(p,"alwaysStrict")||!p.noImplicitUseStrict&&Bc(j),Oe=u.copyPrologue(le.statements,we,de,pe);we.push(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration("__moduleName",void 0,void 0,u.createLogicalAnd(Y,u.createPropertyAccessExpression(Y,"id")))]))),yt(J.externalHelpersImportDeclaration,pe,ua);const X=kn(le.statements,pe,ua,Oe);yn(we,oe),qE(we,d());const it=ve(we),Ct=le.transformFlags&2097152?u.createModifiersFromModifierFlags(1024):void 0,ct=u.createObjectLiteralExpression([u.createPropertyAssignment("setters",Ne(it,te)),u.createPropertyAssignment("execute",u.createFunctionExpression(Ct,void 0,void 0,void 0,[],void 0,u.createBlock(X,!0)))],!0);return we.push(u.createReturnStatement(ct)),u.createBlock(we,!0)}function ve(le){if(!J.hasExportStarsToExportValues)return;if(!J.exportedNames&&J.exportSpecifiers.size===0){let Oe=!1;for(const X of J.externalImports)if(X.kind===278&&X.exportClause){Oe=!0;break}if(!Oe){const X=Se(void 0);return le.push(X),X.name}}const te=[];if(J.exportedNames)for(const Oe of J.exportedNames)Oe.escapedText!=="default"&&te.push(u.createPropertyAssignment(u.createStringLiteralFromNode(Oe),u.createTrue()));const we=u.createUniqueName("exportedNames");le.push(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(we,void 0,void 0,u.createObjectLiteralExpression(te,!0))])));const de=Se(we);return le.push(de),de.name}function Se(le){const te=u.createUniqueName("exportStar"),we=u.createIdentifier("m"),de=u.createIdentifier("n"),Oe=u.createIdentifier("exports");let X=u.createStrictInequality(de,u.createStringLiteral("default"));return le&&(X=u.createLogicalAnd(X,u.createLogicalNot(u.createCallExpression(u.createPropertyAccessExpression(le,"hasOwnProperty"),void 0,[de])))),u.createFunctionDeclaration(void 0,void 0,te,void 0,[u.createParameterDeclaration(void 0,void 0,we)],void 0,u.createBlock([u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(Oe,void 0,void 0,u.createObjectLiteralExpression([]))])),u.createForInStatement(u.createVariableDeclarationList([u.createVariableDeclaration(de)]),we,u.createBlock([Yn(u.createIfStatement(X,u.createExpressionStatement(u.createAssignment(u.createElementAccessExpression(Oe,de),u.createElementAccessExpression(we,de)))),1)])),u.createExpressionStatement(u.createCallExpression(K,void 0,[Oe]))],!0))}function Ne(le,te){const we=[];for(const de of te){const Oe=L(de.externalImports,Ct=>PB(u,Ct,j)),X=Oe?u.getGeneratedNameForNode(Oe):u.createUniqueName(""),it=[];for(const Ct of de.externalImports){const ct=PB(u,Ct,j);switch(Ct.kind){case 272:if(!Ct.importClause)break;case 271:H.assert(ct!==void 0),it.push(u.createExpressionStatement(u.createAssignment(ct,X))),Qu(Ct,32)&&it.push(u.createExpressionStatement(u.createCallExpression(K,void 0,[u.createStringLiteral(fu(ct)),X])));break;case 278:if(H.assert(ct!==void 0),Ct.exportClause)if(Q4(Ct.exportClause)){const Qt=[];for(const Ti of Ct.exportClause.elements)Qt.push(u.createPropertyAssignment(u.createStringLiteral(fu(Ti.name)),u.createElementAccessExpression(X,u.createStringLiteral(fu(Ti.propertyName||Ti.name)))));it.push(u.createExpressionStatement(u.createCallExpression(K,void 0,[u.createObjectLiteralExpression(Qt,!0)])))}else it.push(u.createExpressionStatement(u.createCallExpression(K,void 0,[u.createStringLiteral(fu(Ct.exportClause.name)),X])));else it.push(u.createExpressionStatement(u.createCallExpression(le,void 0,[X])));break}}we.push(u.createFunctionExpression(void 0,void 0,void 0,void 0,[u.createParameterDeclaration(void 0,void 0,X)],void 0,u.createBlock(it,!0)))}return u.createArrayLiteralExpression(we,!0)}function pe(le){switch(le.kind){case 272:return fe(le);case 271:return Be(le);case 278:return xe(le);case 277:return We(le);default:return Vi(le)}}function fe(le){let te;return le.importClause&&f(PB(u,le,j)),F0(Yt(te,le))}function xe(le){H.assertIsDefined(le)}function Be(le){H.assert(vv(le),"import= for internal module references should be handled in an earlier transformer.");let te;return f(PB(u,le,j)),F0(Ie(te,le))}function We(le){if(le.isExportEquals)return;const te=yt(le.expression,aa,Wt);return Ut(u.createIdentifier("default"),te,!0)}function Ae(le){Qu(le,32)?oe=Ei(oe,u.updateFunctionDeclaration(le,kn(le.modifiers,Pe,ol),le.asteriskToken,u.getDeclarationName(le,!0,!0),void 0,kn(le.parameters,aa,Qa),void 0,yt(le.body,aa,ho))):oe=Ei(oe,un(le,aa,t)),oe=It(oe,le)}function De(le){let te;const we=u.getLocalName(le);return f(we),te=Ei(te,Pt(u.createExpressionStatement(u.createAssignment(we,Pt(u.createClassExpression(kn(le.modifiers,Pe,ol),le.name,void 0,kn(le.heritageClauses,aa,fm),kn(le.members,aa,qd)),le))),le)),te=It(te,le),F0(te)}function He(le){if(!ft(le.declarationList))return yt(le,aa,ua);let te;if(sj(le.declarationList)||oj(le.declarationList)){const we=kn(le.modifiers,Pe,ol),de=[];for(const X of le.declarationList.declarations)de.push(u.updateVariableDeclaration(X,u.getGeneratedNameForNode(X.name),void 0,void 0,Ze(X,!1)));const Oe=u.updateVariableDeclarationList(le.declarationList,de);te=Ei(te,u.updateVariableStatement(le,we,Oe))}else{let we;const de=Qu(le,32);for(const Oe of le.declarationList.declarations)Oe.initializer?we=Ei(we,Ze(Oe,de)):Je(Oe);we&&(te=Ei(te,Pt(u.createExpressionStatement(u.inlineExpressions(we)),le)))}return te=lt(te,le,!1),F0(te)}function Je(le){if(Ao(le.name))for(const te of le.name.elements)kd(te)||Je(te);else f(u.cloneNode(le.name))}function ft(le){return(Cs(le)&4194304)===0&&(se.kind===312||(Kl(le).flags&7)===0)}function Ze(le,te){const we=te?je:Ke;return Ao(le.name)?Sk(le,aa,t,0,!1,we):le.initializer?we(le.name,yt(le.initializer,aa,Wt)):le.name}function je(le,te,we){return Gt(le,te,we,!0)}function Ke(le,te,we){return Gt(le,te,we,!1)}function Gt(le,te,we,de){return f(u.cloneNode(le)),de?Ni(le,Yi(Pt(u.createAssignment(le,te),we))):Yi(Pt(u.createAssignment(le,te),we))}function Yt(le,te){if(J.exportEquals)return le;const we=te.importClause;if(!we)return le;we.name&&(le=ti(le,we));const de=we.namedBindings;if(de)switch(de.kind){case 274:le=ti(le,de);break;case 275:for(const Oe of de.elements)le=ti(le,Oe);break}return le}function Ie(le,te){return J.exportEquals?le:ti(le,te)}function lt(le,te,we){if(J.exportEquals)return le;for(const de of te.declarationList.declarations)(de.initializer||we)&&(le=St(le,de,we));return le}function St(le,te,we){if(J.exportEquals)return le;if(Ao(te.name))for(const de of te.name.elements)kd(de)||(le=St(le,de,we));else if(!al(te.name)){let de;we&&(le=ht(le,te.name,u.getLocalName(te)),de=fu(te.name)),le=ti(le,te,de)}return le}function It(le,te){if(J.exportEquals)return le;let we;if(Qu(te,32)){const de=Qu(te,2048)?u.createStringLiteral("default"):te.name;le=ht(le,de,u.getLocalName(te)),we=W4(de)}return te.name&&(le=ti(le,te,we)),le}function ti(le,te,we){if(J.exportEquals)return le;const de=u.getDeclarationName(te),Oe=J.exportSpecifiers.get(de);if(Oe)for(const X of Oe)X.name.escapedText!==we&&(le=ht(le,X.name,de));return le}function ht(le,te,we,de){return le=Ei(le,Ut(te,we,de)),le}function Ut(le,te,we){const de=u.createExpressionStatement(Ni(le,te));return xh(de),we||Yn(de,3072),de}function Ni(le,te){const we=at(le)?u.createStringLiteralFromNode(le):le;return Yn(te,Cs(te)|3072),Sc(u.createCallExpression(K,void 0,[we,te]),te)}function Vi(le){switch(le.kind){case 243:return He(le);case 262:return Ae(le);case 263:return De(le);case 248:return xn(le,!0);case 249:return $n(le);case 250:return rn(le);case 246:return Yu(le);case 247:return oa(le);case 256:return Fr(le);case 254:return Sa(le);case 245:return bt(le);case 255:return On(le);case 269:return Ln(le);case 296:return Fi(le);case 297:return Dn(le);case 258:return Cn(le);case 299:return tu(le);case 241:return sa(le);default:return aa(le)}}function xn(le,te){const we=se;return se=le,le=u.updateForStatement(le,yt(le.initializer,te?ki:Ba,r4),yt(le.condition,aa,Wt),yt(le.incrementor,Ba,Wt),Mh(le.statement,te?Vi:aa,t)),se=we,le}function $n(le){const te=se;return se=le,le=u.updateForInStatement(le,ki(le.initializer),yt(le.expression,aa,Wt),Mh(le.statement,Vi,t)),se=te,le}function rn(le){const te=se;return se=le,le=u.updateForOfStatement(le,le.awaitModifier,ki(le.initializer),yt(le.expression,aa,Wt),Mh(le.statement,Vi,t)),se=te,le}function Pi(le){return Fd(le)&&ft(le)}function ki(le){if(Pi(le)){let te;for(const we of le.declarations)te=Ei(te,Ze(we,!1)),we.initializer||Je(we);return te?u.inlineExpressions(te):u.createOmittedExpression()}else return yt(le,Ba,r4)}function Yu(le){return u.updateDoStatement(le,Mh(le.statement,Vi,t),yt(le.expression,aa,Wt))}function oa(le){return u.updateWhileStatement(le,yt(le.expression,aa,Wt),Mh(le.statement,Vi,t))}function Fr(le){return u.updateLabeledStatement(le,le.label,H.checkDefined(yt(le.statement,Vi,ua,u.liftToBlock)))}function Sa(le){return u.updateWithStatement(le,yt(le.expression,aa,Wt),H.checkDefined(yt(le.statement,Vi,ua,u.liftToBlock)))}function bt(le){return u.updateIfStatement(le,yt(le.expression,aa,Wt),H.checkDefined(yt(le.thenStatement,Vi,ua,u.liftToBlock)),yt(le.elseStatement,Vi,ua,u.liftToBlock))}function On(le){return u.updateSwitchStatement(le,yt(le.expression,aa,Wt),H.checkDefined(yt(le.caseBlock,Vi,qP)))}function Ln(le){const te=se;return se=le,le=u.updateCaseBlock(le,kn(le.clauses,Vi,jU)),se=te,le}function Fi(le){return u.updateCaseClause(le,yt(le.expression,aa,Wt),kn(le.statements,Vi,ua))}function Dn(le){return un(le,Vi,t)}function Cn(le){return un(le,Vi,t)}function tu(le){const te=se;return se=le,le=u.updateCatchClause(le,le.variableDeclaration,H.checkDefined(yt(le.block,Vi,ho))),se=te,le}function sa(le){const te=se;return se=le,le=un(le,Vi,t),se=te,le}function Da(le,te){if(!(le.transformFlags&276828160))return le;switch(le.kind){case 248:return xn(le,!1);case 244:return Yo(le);case 217:return vo(le,te);case 360:return Qe(le,te);case 226:if(u5(le))return Mt(le,te);break;case 213:if(cm(le))return Et(le);break;case 224:case 225:return Xt(le,te)}return un(le,aa,t)}function aa(le){return Da(le,!1)}function Ba(le){return Da(le,!0)}function Yo(le){return u.updateExpressionStatement(le,yt(le.expression,Ba,Wt))}function vo(le,te){return u.updateParenthesizedExpression(le,yt(le.expression,te?Ba:aa,Wt))}function Qe(le,te){return u.updatePartiallyEmittedExpression(le,yt(le.expression,te?Ba:aa,Wt))}function Et(le){const te=H7(u,le,j,v,E,p),we=yt(Ki(le.arguments),aa,Wt),de=te&&(!we||!us(we)||we.text!==te.text)?te:we;return u.createCallExpression(u.createPropertyAccessExpression(Y,u.createIdentifier("import")),void 0,de?[de]:[])}function Mt(le,te){return qt(le.left)?Sk(le,aa,t,0,!te):un(le,aa,t)}function qt(le){if(od(le,!0))return qt(le.left);if(nE(le))return qt(le.expression);if(bs(le))return Ge(le.properties,qt);if(_h(le))return Ge(le.elements,qt);if(mm(le))return qt(le.name);if(Jc(le))return qt(le.initializer);if(at(le)){const te=E.getReferencedExportContainer(le);return te!==void 0&&te.kind===312}else return!1}function Xt(le,te){if((le.operator===46||le.operator===47)&&at(le.operand)&&!al(le.operand)&&!uD(le.operand)&&!mle(le.operand)){const we=pi(le.operand);if(we){let de,Oe=yt(le.operand,aa,Wt);Pv(le)?Oe=u.updatePrefixUnaryExpression(le,Oe):(Oe=u.updatePostfixUnaryExpression(le,Oe),te||(de=u.createTempVariable(f),Oe=u.createAssignment(de,Oe),Pt(Oe,le)),Oe=u.createComma(Oe,u.cloneNode(le.operand)),Pt(Oe,le));for(const X of we)Oe=Ni(X,Yi(Oe));return de&&(Oe=u.createComma(Oe,de),Pt(Oe,le)),Oe}}return un(le,aa,t)}function Pe(le){switch(le.kind){case 95:case 90:return}return le}function et(le,te,we){if(te.kind===312){const de=P1(te);j=te,J=k[de],K=T[de],ge=M[de],Y=z[de],ge&&delete M[de],B(le,te,we),j=void 0,J=void 0,K=void 0,Y=void 0,ge=void 0}else B(le,te,we)}function gt(le,te){return te=b(le,te),on(te)?te:le===1?ni(te):le===4?ii(te):te}function ii(le){switch(le.kind){case 304:return me(le)}return le}function me(le){var te,we;const de=le.name;if(!al(de)&&!uD(de)){const Oe=E.getReferencedImportDeclaration(de);if(Oe){if(i_(Oe))return Pt(u.createPropertyAssignment(u.cloneNode(de),u.createPropertyAccessExpression(u.getGeneratedNameForNode(Oe.parent),u.createIdentifier("default"))),le);if(Cf(Oe))return Pt(u.createPropertyAssignment(u.cloneNode(de),u.createPropertyAccessExpression(u.getGeneratedNameForNode(((we=(te=Oe.parent)==null?void 0:te.parent)==null?void 0:we.parent)||Oe),u.cloneNode(Oe.propertyName||Oe.name))),le)}}return le}function ni(le){switch(le.kind){case 80:return _i(le);case 226:return mt(le);case 236:return jt(le)}return le}function _i(le){var te,we;if(Cs(le)&8192){const de=PV(j);return de?u.createPropertyAccessExpression(de,le):le}if(!al(le)&&!uD(le)){const de=E.getReferencedImportDeclaration(le);if(de){if(i_(de))return Pt(u.createPropertyAccessExpression(u.getGeneratedNameForNode(de.parent),u.createIdentifier("default")),le);if(Cf(de))return Pt(u.createPropertyAccessExpression(u.getGeneratedNameForNode(((we=(te=de.parent)==null?void 0:te.parent)==null?void 0:we.parent)||de),u.cloneNode(de.propertyName||de.name)),le)}}return le}function mt(le){if(n5(le.operatorToken.kind)&&at(le.left)&&(!al(le.left)||WO(le.left))&&!uD(le.left)){const te=pi(le.left);if(te){let we=le;for(const de of te)we=Ni(de,Yi(we));return we}}return le}function jt(le){return H8(le)?u.createPropertyAccessExpression(Y,u.createIdentifier("meta")):le}function pi(le){let te;const we=$i(le);if(we){const de=E.getReferencedExportContainer(le,!1);de&&de.kind===312&&(te=Ei(te,u.getDeclarationName(we))),te=yn(te,J==null?void 0:J.exportedBindings[P1(we)])}else if(al(le)&&WO(le)){const de=J==null?void 0:J.exportSpecifiers.get(le);if(de){const Oe=[];for(const X of de)Oe.push(X.name);return Oe}}return te}function $i(le){if(!al(le)){const te=E.getReferencedImportDeclaration(le);if(te)return te;const we=E.getReferencedValueDeclaration(le);if(we&&(J!=null&&J.exportedBindings[P1(we)]))return we;const de=E.getReferencedValueDeclarations(le);if(de){for(const Oe of de)if(Oe!==we&&(J!=null&&J.exportedBindings[P1(Oe)]))return Oe}return we}}function Yi(le){return ge===void 0&&(ge=[]),ge[$s(le)]=!0,le}function on(le){return ge&&le.id&&ge[le.id]}}var HMt=o({"src/compiler/transformers/module/system.ts"(){So()}});function r1e(t){const{factory:u,getEmitHelperFactory:s}=t,d=t.getEmitHost(),f=t.getEmitResolver(),p=t.getCompilerOptions(),E=Rs(p),v=t.onEmitNode,b=t.onSubstituteNode;t.onEmitNode=ge,t.onSubstituteNode=ae,t.enableEmitNotification(312),t.enableSubstitution(80);let B,k,T;return jp(t,M);function M(ne){if(ne.isDeclarationFile)return ne;if(Bc(ne)||hg(p)){k=ne,T=void 0;let ve=z(ne);return k=void 0,T&&(ve=u.updateSourceFile(ve,Pt(u.createNodeArray(s0e(ve.statements.slice(),T)),ve.statements))),!Bc(ne)||Ge(ve.statements,qO)?ve:u.updateSourceFile(ve,Pt(u.createNodeArray([...ve.statements,TV(u)]),ve.statements))}return ne}function z(ne){const ve=Rce(u,s(),ne,p);if(ve){const Se=[],Ne=u.copyPrologue(ne.statements,Se);return Ei(Se,ve),yn(Se,kn(ne.statements,j,ua,Ne)),u.updateSourceFile(ne,Pt(u.createNodeArray(Se),ne.statements))}else return un(ne,j,t)}function j(ne){switch(ne.kind){case 271:return f1(p)>=100?K(ne):void 0;case 277:return oe(ne);case 278:return se(ne)}return ne}function J(ne){const ve=H7(u,ne,H.checkDefined(k),d,f,p),Se=[];if(ve&&Se.push(ve),!T){const pe=u.createUniqueName("_createRequire",48),fe=u.createImportDeclaration(void 0,u.createImportClause(!1,void 0,u.createNamedImports([u.createImportSpecifier(!1,u.createIdentifier("createRequire"),pe)])),u.createStringLiteral("module"),void 0),xe=u.createUniqueName("__require",48),Be=u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(xe,void 0,void 0,u.createCallExpression(u.cloneNode(pe),void 0,[u.createPropertyAccessExpression(u.createMetaProperty(102,u.createIdentifier("meta")),u.createIdentifier("url"))]))],E>=2?2:0));T=[fe,Be]}const Ne=T[1].declarationList.declarations[0].name;return H.assertNode(Ne,at),u.createCallExpression(u.cloneNode(Ne),void 0,Se)}function K(ne){H.assert(vv(ne),"import= for internal module references should be handled in an earlier transformer.");let ve;return ve=Ei(ve,su(Pt(u.createVariableStatement(void 0,u.createVariableDeclarationList([u.createVariableDeclaration(u.cloneNode(ne.name),void 0,void 0,J(ne))],E>=2?2:0)),ne),ne)),ve=Y(ve,ne),F0(ve)}function Y(ne,ve){return Qu(ve,32)&&(ne=Ei(ne,u.createExportDeclaration(void 0,ve.isTypeOnly,u.createNamedExports([u.createExportSpecifier(!1,void 0,fu(ve.name))])))),ne}function oe(ne){return ne.isExportEquals?void 0:ne}function se(ne){if(p.module!==void 0&&p.module>5||!ne.exportClause||!n_(ne.exportClause)||!ne.moduleSpecifier)return ne;const ve=ne.exportClause.name,Se=u.getGeneratedNameForNode(ve),Ne=u.createImportDeclaration(void 0,u.createImportClause(!1,void 0,u.createNamespaceImport(Se)),ne.moduleSpecifier,ne.attributes);su(Ne,ne.exportClause);const pe=ZU(ne)?u.createExportDefault(Se):u.createExportDeclaration(void 0,!1,u.createNamedExports([u.createExportSpecifier(!1,Se,ve)]));return su(pe,ne),[Ne,pe]}function ge(ne,ve,Se){ca(ve)?((Bc(ve)||hg(p))&&p.importHelpers&&(B=new Map),v(ne,ve,Se),B=void 0):v(ne,ve,Se)}function ae(ne,ve){return ve=b(ne,ve),B&&at(ve)&&Cs(ve)&8192?Ce(ve):ve}function Ce(ne){const ve=fu(ne);let Se=B.get(ve);return Se||B.set(ve,Se=u.createUniqueName(ve,48)),Se}}var KMt=o({"src/compiler/transformers/module/esnextAnd2015.ts"(){So()}});function C7e(t){const u=t.onSubstituteNode,s=t.onEmitNode,d=r1e(t),f=t.onSubstituteNode,p=t.onEmitNode;t.onSubstituteNode=u,t.onEmitNode=s;const E=u1e(t),v=t.onSubstituteNode,b=t.onEmitNode;t.onSubstituteNode=k,t.onEmitNode=T,t.enableSubstitution(312),t.enableEmitNotification(312);let B;return j;function k(K,Y){return ca(Y)?(B=Y,u(K,Y)):B?B.impliedNodeFormat===99?f(K,Y):v(K,Y):u(K,Y)}function T(K,Y,oe){return ca(Y)&&(B=Y),B?B.impliedNodeFormat===99?p(K,Y,oe):b(K,Y,oe):s(K,Y,oe)}function M(K){return K.impliedNodeFormat===99?d:E}function z(K){if(K.isDeclarationFile)return K;B=K;const Y=M(K)(K);return B=void 0,H.assert(ca(Y)),Y}function j(K){return K.kind===312?z(K):J(K)}function J(K){return t.factory.createBundle(Kt(K.sourceFiles,z),K.prepends)}}var WMt=o({"src/compiler/transformers/module/node.ts"(){So()}});function cQ(t){return ra(t)||yo(t)||Pm(t)||Os(t)||XD(t)||Tx(t)||yV(t)||xB(t)||cc(t)||i3(t)||Xc(t)||Qa(t)||Bl(t)||l5(t)||g1(t)||Ip(t)||dc(t)||pk(t)||zu(t)||G0(t)||eu(t)||K4(t)}function b7e(t){if(XD(t)||Tx(t))return u;return i3(t)||cc(t)?d:d5(t);function u(p){const E=s(p);return E!==void 0?{diagnosticMessage:E,errorNode:t,typeName:t.name}:void 0}function s(p){return Lo(t)?p.errorModuleName?p.accessibility===2?F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:t.parent.kind===263?p.errorModuleName?p.accessibility===2?F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_property_0_of_exported_class_has_or_is_using_private_name_1:p.errorModuleName?F.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Property_0_of_exported_interface_has_or_is_using_private_name_1}function d(p){const E=f(p);return E!==void 0?{diagnosticMessage:E,errorNode:t,typeName:t.name}:void 0}function f(p){return Lo(t)?p.errorModuleName?p.accessibility===2?F.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:t.parent.kind===263?p.errorModuleName?p.accessibility===2?F.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_method_0_of_exported_class_has_or_is_using_private_name_1:p.errorModuleName?F.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Method_0_of_exported_interface_has_or_is_using_private_name_1}}function d5(t){if(ra(t)||yo(t)||Pm(t)||zu(t)||G0(t)||eu(t)||Os(t)||dc(t))return s;return XD(t)||Tx(t)?d:yV(t)||xB(t)||cc(t)||i3(t)||Xc(t)||pk(t)?f:Qa(t)?Pf(t,t.parent)&&Qu(t.parent,2)?s:p:Bl(t)?v:l5(t)?b:g1(t)?B:Ip(t)||K4(t)?k:H.assertNever(t,`Attempted to set a declaration diagnostic context for unhandled node kind: ${H.formatSyntaxKind(t.kind)}`);function u(T){if(t.kind===260||t.kind===208)return T.errorModuleName?T.accessibility===2?F.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:F.Exported_variable_0_has_or_is_using_private_name_1;if(t.kind===172||t.kind===211||t.kind===212||t.kind===226||t.kind===171||t.kind===169&&Qu(t.parent,2))return Lo(t)?T.errorModuleName?T.accessibility===2?F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:t.parent.kind===263||t.kind===169?T.errorModuleName?T.accessibility===2?F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:F.Public_property_0_of_exported_class_has_or_is_using_private_name_1:T.errorModuleName?F.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Property_0_of_exported_interface_has_or_is_using_private_name_1}function s(T){const M=u(T);return M!==void 0?{diagnosticMessage:M,errorNode:t,typeName:t.name}:void 0}function d(T){let M;return t.kind===178?Lo(t)?M=T.errorModuleName?F.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:M=T.errorModuleName?F.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:Lo(t)?M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:M,errorNode:t.name,typeName:t.name}}function f(T){let M;switch(t.kind){case 180:M=T.errorModuleName?F.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 179:M=T.errorModuleName?F.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 181:M=T.errorModuleName?F.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:case 173:Lo(t)?M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:F.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:t.parent.kind===263?M=T.errorModuleName?T.accessibility===2?F.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:F.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:M=T.errorModuleName?F.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 262:M=T.errorModuleName?T.accessibility===2?F.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:F.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:F.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return H.fail("This is unknown kind for signature: "+t.kind)}return{diagnosticMessage:M,errorNode:t.name||t}}function p(T){const M=E(T);return M!==void 0?{diagnosticMessage:M,errorNode:t,typeName:t.name}:void 0}function E(T){switch(t.parent.kind){case 176:return T.errorModuleName?T.accessibility===2?F.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 180:case 185:return T.errorModuleName?F.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 179:return T.errorModuleName?F.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 181:return T.errorModuleName?F.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:case 173:return Lo(t.parent)?T.errorModuleName?T.accessibility===2?F.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t.parent.parent.kind===263?T.errorModuleName?T.accessibility===2?F.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:T.errorModuleName?F.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 262:case 184:return T.errorModuleName?T.accessibility===2?F.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 178:case 177:return T.errorModuleName?T.accessibility===2?F.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:F.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:F.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return H.fail(`Unknown parent for parameter: ${H.formatSyntaxKind(t.parent.kind)}`)}}function v(){let T;switch(t.parent.kind){case 263:T=F.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 264:T=F.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 200:T=F.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 185:case 180:T=F.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 179:T=F.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 174:case 173:Lo(t.parent)?T=F.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t.parent.parent.kind===263?T=F.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:T=F.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 184:case 262:T=F.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 195:T=F.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 265:T=F.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return H.fail("This is unknown parent for type parameter: "+t.parent.kind)}return{diagnosticMessage:T,errorNode:t,typeName:t.name}}function b(){let T;return Wc(t.parent.parent)?T=fm(t.parent)&&t.parent.token===119?F.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:t.parent.parent.name?F.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:F.extends_clause_of_exported_class_has_or_is_using_private_name_0:T=F.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:T,errorNode:t,typeName:$a(t.parent.parent)}}function B(){return{diagnosticMessage:F.Import_declaration_0_is_using_private_name_1,errorNode:t,typeName:t.name}}function k(T){return{diagnosticMessage:T.errorModuleName?F.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:F.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:K4(t)?H.checkDefined(t.typeExpression):t.type,typeName:K4(t)?$a(t):t.name}}}var GMt=o({"src/compiler/transformers/declarations/diagnostics.ts"(){So()}});function y7e(t,u,s){const d=t.getCompilerOptions();return fH(u,t,q,d,s?[s]:ei(t.getSourceFiles(),w0e),[o1e],!1).diagnostics}function Wet(t,u){return u.text.substring(t.pos,t.end).includes("@internal")}function a1e(t,u){const s=Ja(t);if(s&&s.kind===169){const f=s.parent.parameters.indexOf(s),p=f>0?s.parent.parameters[f-1]:void 0,E=u.text,v=p?an(mv(E,ps(E,p.end+1,!1,!0)),K_(E,t.pos)):mv(E,ps(E,t.pos,!1,!0));return v&&v.length&&Wet(Cr(v),u)}const d=s&&b0e(s,u);return!!L(d,f=>Wet(f,u))}function o1e(t){const u=()=>H.fail("Diagnostic emitted without context");let s=u,d=!0,f=!1,p=!1,E=!1,v=!1,b,B,k,T,M,z;const{factory:j}=t,J=t.getEmitHost(),K={trackSymbol:Ae,reportInaccessibleThisError:Ze,reportInaccessibleUniqueSymbolError:Je,reportCyclicStructureError:ft,reportPrivateInBaseOfClassExpression:De,reportLikelyUnsafeImportRequiredError:je,reportTruncationError:Ke,moduleResolverHost:J,trackReferencedAmbientModule:fe,trackExternalModuleSymbolOfImportTypeNode:We,reportNonlocalAugmentation:Gt,reportNonSerializableProperty:Yt};let Y,oe,se,ge,ae,Ce;const ne=t.getEmitResolver(),ve=t.getCompilerOptions(),{noResolve:Se,stripInternal:Ne}=ve;return lt;function pe(me){if(me){B=B||new Set;for(const ni of me)B.add(ni)}}function fe(me,ni){const _i=ne.getTypeReferenceDirectivesForSymbol(ni,67108863);if(S(_i))return pe(_i);const mt=zn(me);ge.set(P1(mt),mt)}function xe(me){const ni=U8(me),_i=ni&&ne.tryFindAmbientModule(ni);if(_i!=null&&_i.declarations)for(const mt of _i.declarations)L1(mt)&&zn(mt)!==se&&fe(mt,_i)}function Be(me){if(me.accessibility===0){if(me&&me.aliasesToMakeVisible)if(!k)k=me.aliasesToMakeVisible;else for(const ni of me.aliasesToMakeVisible)xa(k,ni)}else{const ni=s(me);if(ni)return ni.typeName?t.addDiagnostic(Su(me.errorNode||ni.errorNode,ni.diagnosticMessage,Hc(ni.typeName),me.errorSymbolName,me.errorModuleName)):t.addDiagnostic(Su(me.errorNode||ni.errorNode,ni.diagnosticMessage,me.errorSymbolName,me.errorModuleName)),!0}return!1}function We(me){f||(z||(z=[])).push(me)}function Ae(me,ni,_i){if(me.flags&262144)return!1;const mt=Be(ne.isSymbolAccessible(me,ni,_i,!0));return pe(ne.getTypeReferenceDirectivesForSymbol(me,_i)),mt}function De(me){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.Property_0_of_exported_class_expression_may_not_be_private_or_protected,me))}function He(){return Y?C0(Y):oe&&$a(oe)?C0($a(oe)):oe&&ec(oe)?oe.isExportEquals?"export=":"default":"(Missing)"}function Je(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,He(),"unique symbol"))}function ft(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,He()))}function Ze(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,He(),"this"))}function je(me){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,He(),me))}function Ke(){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))}function Gt(me,ni,_i){var mt;const jt=(mt=ni.declarations)==null?void 0:mt.find($i=>zn($i)===me),pi=ei(_i.declarations,$i=>zn($i)!==me);if(jt&&pi)for(const $i of pi)t.addDiagnostic(gs(Su($i,F.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),Su(jt,F.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}function Yt(me){(Y||oe)&&t.addDiagnostic(Su(Y||oe,F.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,me))}function Ie(me,ni){const _i=s;s=jt=>jt.errorNode&&cQ(jt.errorNode)?d5(jt.errorNode)(jt):{diagnosticMessage:jt.errorModuleName?F.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:F.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:jt.errorNode||me};const mt=ne.getDeclarationStatementsForSourceFile(me,Bk,K,ni);return s=_i,mt}function lt(me){if(me.kind===312&&me.isDeclarationFile)return me;if(me.kind===313){f=!0,ge=new Map,ae=new Map;let te=!1;const we=j.createBundle(Kt(me.sourceFiles,X=>{if(X.isDeclarationFile)return;if(te=te||X.hasNoDefaultLib,se=X,b=X,k=void 0,M=!1,T=new Map,s=u,E=!1,v=!1,St(X,ge),It(X,ae),lm(X)||H4(X)){p=!1,d=!1;const Ct=ph(X)?j.createNodeArray(Ie(X,!0)):kn(X.statements,sa,ua);return j.updateSourceFile(X,[j.createModuleDeclaration([j.createModifier(138)],j.createStringLiteral(wq(t.getEmitHost(),X)),j.createModuleBlock(Pt(j.createNodeArray(Dn(Ct)),X.statements)))],!0,[],[],!1,[])}d=!0;const it=ph(X)?j.createNodeArray(Ie(X)):kn(X.statements,sa,ua);return j.updateSourceFile(X,Dn(it),!0,[],[],!1,[])}),Si(me.prepends,X=>{if(X.kind===315){const it=ice(X,"dts",Ne);return te=te||!!it.hasNoDefaultLib,St(it,ge),pe(Kt(it.typeReferenceDirectives,Ct=>[Ct.fileName,Ct.resolutionMode])),It(it,ae),it}return X}));we.syntheticFileReferences=[],we.syntheticTypeReferences=Yi(),we.syntheticLibReferences=$i(),we.hasNoDefaultLib=te;const de=cr(U1(vM(me,J,!0).declarationFilePath)),Oe=le(we.syntheticFileReferences,de);return ge.forEach(Oe),we}d=!0,E=!1,v=!1,b=me,se=me,s=u,f=!1,p=!1,M=!1,k=void 0,T=new Map,B=void 0,ge=St(se,new Map),ae=It(se,new Map);const ni=[],_i=cr(U1(vM(me,J,!0).declarationFilePath)),mt=le(ni,_i);let jt;if(ph(se))jt=j.createNodeArray(Ie(me)),ge.forEach(mt),Ce=ei(jt,Xy);else{const te=kn(me.statements,sa,ua);jt=Pt(j.createNodeArray(Dn(te)),me.statements),ge.forEach(mt),Ce=ei(jt,Xy),Bc(me)&&(!p||E&&!v)&&(jt=Pt(j.createNodeArray([...jt,TV(j)]),jt))}const pi=j.updateSourceFile(me,jt,!0,ni,Yi(),me.hasNoDefaultLib,$i());return pi.exportedModulesFromDeclarationEmit=z,pi;function $i(){return ga(ae.keys(),te=>({fileName:te,pos:-1,end:-1}))}function Yi(){return B?Si(ga(B.keys()),on):[]}function on([te,we]){if(Ce){for(const de of Ce)if(g1(de)&&u_(de.moduleReference)){const Oe=de.moduleReference.expression;if(t0(Oe)&&Oe.text===te)return}else if(Ad(de)&&us(de.moduleSpecifier)&&de.moduleSpecifier.text===te)return}return{fileName:te,pos:-1,end:-1,...we?{resolutionMode:we}:void 0}}function le(te,we){return de=>{let Oe;if(de.isDeclarationFile)Oe=de.fileName;else{if(f&&Ft(me.sourceFiles,de))return;const X=vM(de,J,!0);Oe=X.declarationFilePath||X.jsFilePath||de.fileName}if(Oe){const X=GY(ve,se,K0(we,J.getCurrentDirectory(),J.getCanonicalFileName),K0(Oe,J.getCurrentDirectory(),J.getCanonicalFileName),J);if(!am(X)){pe([[X,void 0]]);return}let it=e7(we,Oe,J.getCurrentDirectory(),J.getCanonicalFileName,!1);if(La(it,"./")&&XA(it)&&(it=it.substring(2)),La(it,"node_modules/")||$7(it))return;te.push({pos:-1,end:-1,fileName:it})}}}}function St(me,ni){return Se||!Ck(me)&&ph(me)||L(me.referencedFiles,_i=>{const mt=J.getSourceFileFromReference(me,_i);mt&&ni.set(P1(mt),mt)}),ni}function It(me,ni){return L(me.libReferenceDirectives,_i=>{J.getLibFileFromReference(_i)&&ni.set(Jg(_i.fileName),!0)}),ni}function ti(me){if(me.kind===80)return me;return me.kind===207?j.updateArrayBindingPattern(me,kn(me.elements,ni,zU)):j.updateObjectBindingPattern(me,kn(me.elements,ni,Os));function ni(_i){return _i.kind===232?_i:(_i.propertyName&&Ns(_i.propertyName)&&Xl(_i.propertyName.expression)&&Fr(_i.propertyName.expression,b),_i.propertyName&&at(_i.propertyName)&&at(_i.name)&&!_i.symbol.isReferenced&&!Fq(_i.propertyName)?j.updateBindingElement(_i,_i.dotDotDotToken,void 0,_i.propertyName,Ut(_i)?_i.initializer:void 0):j.updateBindingElement(_i,_i.dotDotDotToken,_i.propertyName,ti(_i.name),Ut(_i)?_i.initializer:void 0))}}function ht(me,ni,_i){let mt;M||(mt=s,s=d5(me));const jt=j.updateParameterDeclaration(me,$Mt(j,me,ni),me.dotDotDotToken,ti(me.name),ne.isOptionalParameter(me)?me.questionToken||j.createToken(58):void 0,Vi(me,_i||me.type,!0),Ni(me));return M||(s=mt),jt}function Ut(me){return UMt(me)&&ne.isLiteralConstDeclaration(Ja(me))}function Ni(me){if(Ut(me))return ne.createLiteralConstValue(Ja(me),K)}function Vi(me,ni,_i){if(!_i&&If(me,2)||Ut(me))return;const mt=me.kind===169&&(ne.isRequiredInitializedParameter(me)||ne.isOptionalUninitializedParameterProperty(me));if(ni&&!mt)return yt(ni,Cn,Xr);if(!Ja(me))return ni?yt(ni,Cn,Xr):j.createKeywordTypeNode(133);if(me.kind===178)return j.createKeywordTypeNode(133);Y=me.name;let jt;if(M||(jt=s,s=d5(me)),me.kind===260||me.kind===208)return pi(ne.createTypeOfDeclaration(me,b,Bk,K));if(me.kind===169||me.kind===172||me.kind===171)return Pm(me)||!me.initializer?pi(ne.createTypeOfDeclaration(me,b,Bk,K,mt)):pi(ne.createTypeOfDeclaration(me,b,Bk,K,mt)||ne.createTypeOfExpression(me.initializer,b,Bk,K));return pi(ne.createReturnTypeOfSignatureDeclaration(me,b,Bk,K));function pi($i){return Y=void 0,M||(s=jt),$i||j.createKeywordTypeNode(133)}}function xn(me){switch(me=Ja(me),me.kind){case 262:case 267:case 264:case 263:case 265:case 266:return!ne.isDeclarationVisible(me);case 260:return!rn(me);case 271:case 272:case 278:case 277:return!1;case 175:return!0}return!1}function $n(me){var ni;if(me.body)return!0;const _i=(ni=me.symbol.declarations)==null?void 0:ni.filter(mt=>Xc(mt)&&!mt.body);return!_i||_i.indexOf(me)===_i.length-1}function rn(me){return kd(me)?!1:Ao(me.name)?Ge(me.name.elements,rn):ne.isDeclarationVisible(me)}function Pi(me,ni,_i){if(If(me,2))return j.createNodeArray();const mt=Kt(ni,jt=>ht(jt,_i));return mt?j.createNodeArray(mt,ni.hasTrailingComma):j.createNodeArray()}function ki(me,ni){let _i;if(!ni){const mt=S2(me);mt&&(_i=[ht(mt)])}if(Of(me)){let mt;if(!ni){const jt=dP(me);if(jt){const pi=gt(me,ne.getAllAccessorDeclarations(me));mt=ht(jt,void 0,pi)}}mt||(mt=j.createParameterDeclaration(void 0,void 0,"value")),_i=Ei(_i,mt)}return j.createNodeArray(_i||_t)}function Yu(me,ni){return If(me,2)?void 0:kn(ni,Cn,Bl)}function oa(me){return ca(me)||Ip(me)||Ec(me)||Wc(me)||Dh(me)||xo(me)||pk(me)||GP(me)}function Fr(me,ni){const _i=ne.isEntityNameVisible(me,ni);Be(_i),pe(ne.getTypeReferenceDirectivesForEntityName(me))}function Sa(me,ni){return sm(me)&&sm(ni)&&(me.jsDoc=ni.jsDoc),Sc(me,iE(ni))}function bt(me,ni){if(ni){if(p=p||me.kind!==267&&me.kind!==205,t0(ni))if(f){const _i=pye(t.getEmitHost(),ne,me);if(_i)return j.createStringLiteral(_i)}else{const _i=ne.getSymbolOfExternalModuleSpecifier(ni);_i&&(z||(z=[])).push(_i)}return ni}}function On(me){if(ne.isDeclarationVisible(me))if(me.moduleReference.kind===283){const ni=QN(me);return j.updateImportEqualsDeclaration(me,me.modifiers,me.isTypeOnly,me.name,j.updateExternalModuleReference(me.moduleReference,bt(me,ni)))}else{const ni=s;return s=d5(me),Fr(me.moduleReference,b),s=ni,me}}function Ln(me){if(!me.importClause)return j.updateImportDeclaration(me,me.modifiers,me.importClause,bt(me,me.moduleSpecifier),Fi(me.attributes));const ni=me.importClause&&me.importClause.name&&ne.isDeclarationVisible(me.importClause)?me.importClause.name:void 0;if(!me.importClause.namedBindings)return ni&&j.updateImportDeclaration(me,me.modifiers,j.updateImportClause(me.importClause,me.importClause.isTypeOnly,ni,void 0),bt(me,me.moduleSpecifier),Fi(me.attributes));if(me.importClause.namedBindings.kind===274){const mt=ne.isDeclarationVisible(me.importClause.namedBindings)?me.importClause.namedBindings:void 0;return ni||mt?j.updateImportDeclaration(me,me.modifiers,j.updateImportClause(me.importClause,me.importClause.isTypeOnly,ni,mt),bt(me,me.moduleSpecifier),Fi(me.attributes)):void 0}const _i=Si(me.importClause.namedBindings.elements,mt=>ne.isDeclarationVisible(mt)?mt:void 0);if(_i&&_i.length||ni)return j.updateImportDeclaration(me,me.modifiers,j.updateImportClause(me.importClause,me.importClause.isTypeOnly,ni,_i&&_i.length?j.updateNamedImports(me.importClause.namedBindings,_i):void 0),bt(me,me.moduleSpecifier),Fi(me.attributes));if(ne.isImportRequiredByAugmentation(me))return j.updateImportDeclaration(me,me.modifiers,void 0,bt(me,me.moduleSpecifier),Fi(me.attributes))}function Fi(me){const ni=$B(me);return me&&ni!==void 0?me:void 0}function Dn(me){for(;S(k);){const _i=k.shift();if(!QU(_i))return H.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${H.formatSyntaxKind(_i.kind)}`);const mt=d;d=_i.parent&&ca(_i.parent)&&!(Bc(_i.parent)&&f);const jt=Ba(_i);d=mt,T.set(P1(_i),jt)}return kn(me,ni,ua);function ni(_i){if(QU(_i)){const mt=P1(_i);if(T.has(mt)){const jt=T.get(mt);return T.delete(mt),jt&&((ja(jt)?Ge(jt,IU):IU(jt))&&(E=!0),ca(_i.parent)&&(ja(jt)?Ge(jt,qO):qO(jt))&&(p=!0)),jt}}return _i}}function Cn(me){if(Mt(me)||Y1(me)&&(xn(me)||zx(me)&&!ne.isLateBound(Ja(me)))||xo(me)&&ne.isImplementationOfOverload(me)||oFe(me))return;let ni;oa(me)&&(ni=b,b=me);const _i=s,mt=cQ(me),jt=M;let pi=(me.kind===187||me.kind===200)&&me.parent.kind!==265;if((cc(me)||i3(me))&&If(me,2))return me.symbol&&me.symbol.declarations&&me.symbol.declarations[0]!==me?void 0:$i(j.createPropertyDeclaration(Pe(me),me.name,void 0,void 0,void 0));if(mt&&!M&&(s=d5(me)),vB(me)&&Fr(me.exprName,b),pi&&(M=!0),ZMt(me))switch(me.kind){case 233:{(om(me.expression)||Xl(me.expression))&&Fr(me.expression,b);const Yi=un(me,Cn,t);return $i(j.updateExpressionWithTypeArguments(Yi,Yi.expression,Yi.typeArguments))}case 183:{Fr(me.typeName,b);const Yi=un(me,Cn,t);return $i(j.updateTypeReferenceNode(Yi,Yi.typeName,Yi.typeArguments))}case 180:return $i(j.updateConstructSignature(me,Yu(me,me.typeParameters),Pi(me,me.parameters),Vi(me,me.type)));case 176:{const Yi=j.createConstructorDeclaration(Pe(me),Pi(me,me.parameters,0),void 0);return $i(Yi)}case 174:{if(ea(me.name))return $i(void 0);const Yi=j.createMethodDeclaration(Pe(me),void 0,me.name,me.questionToken,Yu(me,me.typeParameters),Pi(me,me.parameters),Vi(me,me.type),void 0);return $i(Yi)}case 177:{if(ea(me.name))return $i(void 0);const Yi=gt(me,ne.getAllAccessorDeclarations(me));return $i(j.updateGetAccessorDeclaration(me,Pe(me),me.name,ki(me,If(me,2)),Vi(me,Yi),void 0))}case 178:return ea(me.name)?$i(void 0):$i(j.updateSetAccessorDeclaration(me,Pe(me),me.name,ki(me,If(me,2)),void 0));case 172:return ea(me.name)?$i(void 0):$i(j.updatePropertyDeclaration(me,Pe(me),me.name,me.questionToken,Vi(me,me.type),Ni(me)));case 171:return ea(me.name)?$i(void 0):$i(j.updatePropertySignature(me,Pe(me),me.name,me.questionToken,Vi(me,me.type)));case 173:return ea(me.name)?$i(void 0):$i(j.updateMethodSignature(me,Pe(me),me.name,me.questionToken,Yu(me,me.typeParameters),Pi(me,me.parameters),Vi(me,me.type)));case 179:return $i(j.updateCallSignature(me,Yu(me,me.typeParameters),Pi(me,me.parameters),Vi(me,me.type)));case 181:return $i(j.updateIndexSignature(me,Pe(me),Pi(me,me.parameters),yt(me.type,Cn,Xr)||j.createKeywordTypeNode(133)));case 260:return Ao(me.name)?vo(me.name):(pi=!0,M=!0,$i(j.updateVariableDeclaration(me,me.name,void 0,Vi(me,me.type),Ni(me))));case 168:return tu(me)&&(me.default||me.constraint)?$i(j.updateTypeParameterDeclaration(me,me.modifiers,me.name,void 0,void 0)):$i(un(me,Cn,t));case 194:{const Yi=yt(me.checkType,Cn,Xr),on=yt(me.extendsType,Cn,Xr),le=b;b=me.trueType;const te=yt(me.trueType,Cn,Xr);b=le;const we=yt(me.falseType,Cn,Xr);return H.assert(Yi),H.assert(on),H.assert(te),H.assert(we),$i(j.updateConditionalTypeNode(me,Yi,on,te,we))}case 184:return $i(j.updateFunctionTypeNode(me,kn(me.typeParameters,Cn,Bl),Pi(me,me.parameters),H.checkDefined(yt(me.type,Cn,Xr))));case 185:return $i(j.updateConstructorTypeNode(me,Pe(me),kn(me.typeParameters,Cn,Bl),Pi(me,me.parameters),H.checkDefined(yt(me.type,Cn,Xr))));case 205:return Mx(me)?(xe(me),$i(j.updateImportTypeNode(me,j.updateLiteralTypeNode(me.argument,bt(me,me.argument.literal)),me.attributes,me.qualifier,kn(me.typeArguments,Cn,Xr),me.isTypeOf))):$i(me);default:H.assertNever(me,`Attempted to process unhandled node kind: ${H.formatSyntaxKind(me.kind)}`)}return CB(me)&&o0(se,me.pos).line===o0(se,me.end).line&&Yn(me,1),$i(un(me,Cn,t));function $i(Yi){return Yi&&mt&&zx(me)&&Et(me),oa(me)&&(b=ni),mt&&!M&&(s=_i),pi&&(M=jt),Yi===me?Yi:Yi&&su(Sa(Yi,me),me)}}function tu(me){return me.parent.kind===174&&If(me.parent,2)}function sa(me){if(!qMt(me)||Mt(me))return;switch(me.kind){case 278:return ca(me.parent)&&(p=!0),v=!0,xe(me),j.updateExportDeclaration(me,me.modifiers,me.isTypeOnly,me.exportClause,bt(me,me.moduleSpecifier),Fi(me.attributes));case 277:{if(ca(me.parent)&&(p=!0),v=!0,me.expression.kind===80)return me;{const _i=j.createUniqueName("_default",16);s=()=>({diagnosticMessage:F.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:me}),oe=me;const mt=j.createVariableDeclaration(_i,void 0,ne.createTypeOfExpression(me.expression,me,Bk,K),void 0);oe=void 0;const jt=j.createVariableStatement(d?[j.createModifier(138)]:[],j.createVariableDeclarationList([mt],2));return Sa(jt,me),pV(me),[jt,j.updateExportAssignment(me,me.modifiers,_i)]}}}const ni=Ba(me);return T.set(P1(me),ni),me}function Da(me){if(g1(me)||If(me,2048)||!Op(me))return me;const ni=j.createModifiersFromModifierFlags(gh(me)&131039);return j.replaceModifiers(me,ni)}function aa(me,ni,_i,mt){const jt=j.updateModuleDeclaration(me,ni,_i,mt);if(L1(jt)||jt.flags&32)return jt;const pi=j.createModuleDeclaration(jt.modifiers,jt.name,jt.body,jt.flags|32);return su(pi,jt),Pt(pi,jt),pi}function Ba(me){if(k)for(;mO(k,me););if(Mt(me))return;switch(me.kind){case 271:{const $i=On(me);return $i&&xe(me),$i}case 272:{const $i=Ln(me);return $i&&xe(me),$i}}if(Y1(me)&&xn(me)||xo(me)&&ne.isImplementationOfOverload(me))return;let ni;oa(me)&&(ni=b,b=me);const _i=cQ(me),mt=s;_i&&(s=d5(me));const jt=d;switch(me.kind){case 265:{d=!1;const $i=pi(j.updateTypeAliasDeclaration(me,Pe(me),me.name,kn(me.typeParameters,Cn,Bl),H.checkDefined(yt(me.type,Cn,Xr))));return d=jt,$i}case 264:return pi(j.updateInterfaceDeclaration(me,Pe(me),me.name,Yu(me,me.typeParameters),ii(me.heritageClauses),kn(me.members,Cn,Uy)));case 262:{const $i=pi(j.updateFunctionDeclaration(me,Pe(me),void 0,me.name,Yu(me,me.typeParameters),Pi(me,me.parameters),Vi(me,me.type),void 0));if($i&&ne.isExpandoFunctionDeclaration(me)&&$n(me)){const Yi=ne.getPropertiesOfContainerFunction(me),on=r_.createModuleDeclaration(void 0,$i.name||j.createIdentifier("_default"),j.createModuleBlock([]),32);ys(on,b),on.locals=Vo(Yi),on.symbol=Yi[0].parent;const le=[];let te=Si(Yi,Ct=>{if(!fZ(Ct.valueDeclaration))return;const ct=Qr(Ct.escapedName);if(!Tm(ct,99))return;s=d5(Ct.valueDeclaration);const Qt=ne.createTypeOfDeclaration(Ct.valueDeclaration,on,Bk,K);s=mt;const Ti=h7(ct),Ui=Ti?j.getGeneratedNameForNode(Ct.valueDeclaration):j.createIdentifier(ct);Ti&&le.push([Ui,ct]);const Sn=j.createVariableDeclaration(Ui,void 0,Qt,void 0);return j.createVariableStatement(Ti?void 0:[j.createToken(95)],j.createVariableDeclarationList([Sn]))});le.length?te.push(j.createExportDeclaration(void 0,!1,j.createNamedExports(Kt(le,([Ct,ct])=>j.createExportSpecifier(!1,Ct,ct))))):te=Si(te,Ct=>j.replaceModifiers(Ct,0));const we=j.createModuleDeclaration(Pe(me),me.name,j.createModuleBlock(te),32);if(!If($i,2048))return[$i,we];const de=j.createModifiersFromModifierFlags(gh($i)&-2081|128),Oe=j.updateFunctionDeclaration($i,de,void 0,$i.name,$i.typeParameters,$i.parameters,$i.type,void 0),X=j.updateModuleDeclaration(we,de,we.name,we.body),it=j.createExportAssignment(void 0,!1,we.name);return ca(me.parent)&&(p=!0),v=!0,[Oe,X,it]}else return $i}case 267:{d=!1;const $i=me.body;if($i&&$i.kind===268){const Yi=E,on=v;v=!1,E=!1;const le=kn($i.statements,sa,ua);let te=Dn(le);me.flags&33554432&&(E=!1),!Zg(me)&&!Xt(te)&&!v&&(E?te=j.createNodeArray([...te,TV(j)]):te=kn(te,Da,ua));const we=j.updateModuleBlock($i,te);d=jt,E=Yi,v=on;const de=Pe(me);return pi(aa(me,de,_2(me)?bt(me,me.name):me.name,we))}else{d=jt;const Yi=Pe(me);d=!1,yt($i,sa);const on=P1($i),le=T.get(on);return T.delete(on),pi(aa(me,Yi,me.name,le))}}case 263:{Y=me.name,oe=me;const $i=j.createNodeArray(Pe(me)),Yi=Yu(me,me.typeParameters),on=Q_(me);let le;if(on){const it=s;le=kr(Ku(on.parameters,Ct=>{if(!Qu(Ct,31)||Mt(Ct))return;if(s=d5(Ct),Ct.name.kind===80)return Sa(j.createPropertyDeclaration(Pe(Ct),Ct.name,Ct.questionToken,Vi(Ct,Ct.type),Ni(Ct)),Ct);return ct(Ct.name);function ct(Qt){let Ti;for(const Ui of Qt.elements)kd(Ui)||(Ao(Ui.name)&&(Ti=an(Ti,ct(Ui.name))),Ti=Ti||[],Ti.push(j.createPropertyDeclaration(Pe(Ct),Ui.name,void 0,Vi(Ui,void 0),void 0)));return Ti}})),s=it}const we=Ge(me.members,it=>!!it.name&&ea(it.name))?[j.createPropertyDeclaration(void 0,j.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,de=an(an(we,le),kn(me.members,Cn,qd)),Oe=j.createNodeArray(de),X=Yg(me);if(X&&!Xl(X.expression)&&X.expression.kind!==106){const it=me.name?Qr(me.name.escapedText):"default",Ct=j.createUniqueName(`${it}_base`,16);s=()=>({diagnosticMessage:F.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:X,typeName:me.name});const ct=j.createVariableDeclaration(Ct,void 0,ne.createTypeOfExpression(X.expression,me,Bk,K),void 0),Qt=j.createVariableStatement(d?[j.createModifier(138)]:[],j.createVariableDeclarationList([ct],2)),Ti=j.createNodeArray(Kt(me.heritageClauses,Ui=>{if(Ui.token===96){const Sn=s;s=d5(Ui.types[0]);const du=j.updateHeritageClause(Ui,Kt(Ui.types,Iu=>j.updateExpressionWithTypeArguments(Iu,Ct,kn(Iu.typeArguments,Cn,Xr))));return s=Sn,du}return j.updateHeritageClause(Ui,kn(j.createNodeArray(ei(Ui.types,Sn=>Xl(Sn.expression)||Sn.expression.kind===106)),Cn,l5))}));return[Qt,pi(j.updateClassDeclaration(me,$i,me.name,Yi,Ti,Oe))]}else{const it=ii(me.heritageClauses);return pi(j.updateClassDeclaration(me,$i,me.name,Yi,it,Oe))}}case 243:return pi(Yo(me));case 266:return pi(j.updateEnumDeclaration(me,j.createNodeArray(Pe(me)),me.name,j.createNodeArray(Si(me.members,$i=>{if(Mt($i))return;const Yi=ne.getConstantValue($i);return Sa(j.updateEnumMember($i,$i.name,Yi!==void 0?typeof Yi=="string"?j.createStringLiteral(Yi):j.createNumericLiteral(Yi):void 0),$i)}))))}return H.assertNever(me,`Unhandled top-level node in declaration emit: ${H.formatSyntaxKind(me.kind)}`);function pi($i){return oa(me)&&(b=ni),_i&&(s=mt),me.kind===267&&(d=jt),$i===me?$i:(oe=void 0,Y=void 0,$i&&su(Sa($i,me),me))}}function Yo(me){if(!L(me.declarationList.declarations,rn))return;const ni=kn(me.declarationList.declarations,Cn,ra);if(!S(ni))return;const _i=j.createNodeArray(Pe(me));let mt;return sj(me.declarationList)||oj(me.declarationList)?(mt=j.createVariableDeclarationList(ni,2),su(mt,me.declarationList),Pt(mt,me.declarationList),Sc(mt,me.declarationList)):mt=j.updateVariableDeclarationList(me.declarationList,ni),j.updateVariableStatement(me,_i,mt)}function vo(me){return Oa(Si(me.elements,ni=>Qe(ni)))}function Qe(me){if(me.kind!==232&&me.name)return rn(me)?Ao(me.name)?vo(me.name):j.createVariableDeclaration(me.name,void 0,Vi(me,void 0),void 0):void 0}function Et(me){let ni;M||(ni=s,s=b7e(me)),Y=me.name,H.assert(ne.isLateBound(Ja(me)));const mt=me.name.expression;Fr(mt,b),M||(s=ni),Y=void 0}function Mt(me){return!!Ne&&!!me&&a1e(me,se)}function qt(me){return ec(me)||Gc(me)}function Xt(me){return Ge(me,qt)}function Pe(me){const ni=gh(me),_i=et(me);return ni===_i?lH(me.modifiers,mt=>rr(mt,Qo),Qo):j.createModifiersFromModifierFlags(_i)}function et(me){let ni=130030,_i=d&&!JMt(me)?128:0;const mt=me.parent.kind===312;return(!mt||f&&mt&&Bc(me.parent))&&(ni^=128,_i=0),Get(me,ni,_i)}function gt(me,ni){let _i=k7e(me);return!_i&&me!==ni.firstAccessor&&(_i=k7e(ni.firstAccessor),s=d5(ni.firstAccessor)),!_i&&ni.secondAccessor&&me!==ni.secondAccessor&&(_i=k7e(ni.secondAccessor),s=d5(ni.secondAccessor)),_i}function ii(me){return j.createNodeArray(ei(Kt(me,ni=>j.updateHeritageClause(ni,kn(j.createNodeArray(ei(ni.types,_i=>Xl(_i.expression)||ni.token===96&&_i.expression.kind===106)),Cn,l5))),ni=>ni.types&&!!ni.types.length))}}function JMt(t){return t.kind===264}function $Mt(t,u,s,d){return t.createModifiersFromModifierFlags(Get(u,s,d))}function Get(t,u=131070,s=0){let d=gh(t)&u|s;return d&2048&&!(d&32)&&(d^=32),d&2048&&d&128&&(d^=128),d}function k7e(t){if(t)return t.kind===177?t.type:t.parameters.length>0?t.parameters[0].type:void 0}function UMt(t){switch(t.kind){case 172:case 171:return!If(t,2);case 169:case 260:return!0}return!1}function qMt(t){switch(t.kind){case 262:case 267:case 271:case 264:case 263:case 265:case 266:case 243:case 272:case 278:case 277:return!0}return!1}function ZMt(t){switch(t.kind){case 180:case 176:case 174:case 177:case 178:case 172:case 171:case 173:case 179:case 181:case 260:case 168:case 233:case 183:case 194:case 184:case 185:case 205:return!0}return!1}var Bk,YMt=o({"src/compiler/transformers/declarations.ts"(){So(),TAe(),Bk=531469}});function QMt(t){switch(t){case 99:case 7:case 6:case 5:return r1e;case 4:return v7e;case 100:case 199:return C7e;default:return u1e}}function s1e(t,u,s){return{scriptTransformers:XMt(t,u,s),declarationTransformers:ezt(u)}}function XMt(t,u,s){if(s)return _t;const d=Rs(t),f=f1(t),p=Qj(t),E=[];return yn(E,u&&Kt(u.before,$et)),E.push(i7e),t.experimentalDecorators&&E.push(r7e),Qq(t)&&E.push(g7e),d<99&&E.push(h7e),!t.experimentalDecorators&&(d<99||!p)&&E.push(a7e),E.push(n7e),d<8&&E.push(d7e),d<7&&E.push(c7e),d<6&&E.push(l7e),d<5&&E.push(s7e),d<4&&E.push(o7e),d<3&&E.push(E7e),d<2&&(E.push(_7e),E.push(x7e)),E.push(QMt(f)),d<1&&E.push(D7e),yn(E,u&&Kt(u.after,$et)),E}function ezt(t){const u=[];return u.push(o1e),yn(u,t&&Kt(t.afterDeclarations,izt)),u}function tzt(t){return u=>yce(u)?t.transformBundle(u):t.transformSourceFile(u)}function Jet(t,u){return s=>{const d=t(s);return typeof d=="function"?u(s,d):tzt(d)}}function $et(t){return Jet(t,jp)}function izt(t){return Jet(t,(u,s)=>s)}function DM(t,u){return u}function hH(t,u,s){s(t,u)}function fH(t,u,s,d,f,p,E){var v,b;const B=new Array(363);let k,T,M,z=0,j=[],J=[],K=[],Y=[],oe=0,se=!1,ge=[],ae=0,Ce,ne,ve=DM,Se=hH,Ne=0;const pe=[],fe={factory:s,getCompilerOptions:()=>d,getEmitResolver:()=>t,getEmitHost:()=>u,getEmitHelperFactory:Nh(()=>Gke(fe)),startLexicalEnvironment:Ie,suspendLexicalEnvironment:lt,resumeLexicalEnvironment:St,endLexicalEnvironment:It,setLexicalEnvironmentFlags:ti,getLexicalEnvironmentFlags:ht,hoistVariableDeclaration:Ke,hoistFunctionDeclaration:Gt,addInitializationStatement:Yt,startBlockScope:Ut,endBlockScope:Ni,addBlockScopedVariable:Vi,requestEmitHelper:xn,readEmitHelpers:$n,enableSubstitution:De,enableEmitNotification:ft,isSubstitutionEnabled:He,isEmitNotificationEnabled:Ze,get onSubstituteNode(){return ve},set onSubstituteNode(Pi){H.assert(Ne<1,"Cannot modify transformation hooks after initialization has completed."),H.assert(Pi!==void 0,"Value must not be 'undefined'"),ve=Pi},get onEmitNode(){return Se},set onEmitNode(Pi){H.assert(Ne<1,"Cannot modify transformation hooks after initialization has completed."),H.assert(Pi!==void 0,"Value must not be 'undefined'"),Se=Pi},addDiagnostic(Pi){pe.push(Pi)}};for(const Pi of f)ace(zn(Ja(Pi)));ul("beforeTransform");const xe=p.map(Pi=>Pi(fe)),Be=Pi=>{for(const ki of xe)Pi=ki(Pi);return Pi};Ne=1;const We=[];for(const Pi of f)(v=Jn)==null||v.push(Jn.Phase.Emit,"transformNodes",Pi.kind===312?{path:Pi.path}:{kind:Pi.kind,pos:Pi.pos,end:Pi.end}),We.push((E?Be:Ae)(Pi)),(b=Jn)==null||b.pop();return Ne=2,ul("afterTransform"),wm("transformTime","beforeTransform","afterTransform"),{transformed:We,substituteNode:Je,emitNodeWithNotification:je,isEmitNotificationEnabled:Ze,dispose:rn,diagnostics:pe};function Ae(Pi){return Pi&&(!ca(Pi)||!Pi.isDeclarationFile)?Be(Pi):Pi}function De(Pi){H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed."),B[Pi]|=1}function He(Pi){return(B[Pi.kind]&1)!==0&&(Cs(Pi)&8)===0}function Je(Pi,ki){return H.assert(Ne<3,"Cannot substitute a node after the result is disposed."),ki&&He(ki)&&ve(Pi,ki)||ki}function ft(Pi){H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed."),B[Pi]|=2}function Ze(Pi){return(B[Pi.kind]&2)!==0||(Cs(Pi)&4)!==0}function je(Pi,ki,Yu){H.assert(Ne<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),ki&&(Ze(ki)?Se(Pi,ki,Yu):Yu(Pi,ki))}function Ke(Pi){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed.");const ki=Yn(s.createVariableDeclaration(Pi),128);k?k.push(ki):k=[ki],z&1&&(z|=2)}function Gt(Pi){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),Yn(Pi,2097152),T?T.push(Pi):T=[Pi]}function Yt(Pi){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),Yn(Pi,2097152),M?M.push(Pi):M=[Pi]}function Ie(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(!se,"Lexical environment is suspended."),j[oe]=k,J[oe]=T,K[oe]=M,Y[oe]=z,oe++,k=void 0,T=void 0,M=void 0,z=0}function lt(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(!se,"Lexical environment is already suspended."),se=!0}function St(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(se,"Lexical environment is not suspended."),se=!1}function It(){H.assert(Ne>0,"Cannot modify the lexical environment during initialization."),H.assert(Ne<2,"Cannot modify the lexical environment after transformation has completed."),H.assert(!se,"Lexical environment is suspended.");let Pi;if(k||T||M){if(T&&(Pi=[...T]),k){const ki=s.createVariableStatement(void 0,s.createVariableDeclarationList(k));Yn(ki,2097152),Pi?Pi.push(ki):Pi=[ki]}M&&(Pi?Pi=[...Pi,...M]:Pi=[...M])}return oe--,k=j[oe],T=J[oe],M=K[oe],z=Y[oe],oe===0&&(j=[],J=[],K=[],Y=[]),Pi}function ti(Pi,ki){z=ki?z|Pi:z&~Pi}function ht(){return z}function Ut(){H.assert(Ne>0,"Cannot start a block scope during initialization."),H.assert(Ne<2,"Cannot start a block scope after transformation has completed."),ge[ae]=Ce,ae++,Ce=void 0}function Ni(){H.assert(Ne>0,"Cannot end a block scope during initialization."),H.assert(Ne<2,"Cannot end a block scope after transformation has completed.");const Pi=Ge(Ce)?[s.createVariableStatement(void 0,s.createVariableDeclarationList(Ce.map(ki=>s.createVariableDeclaration(ki)),1))]:void 0;return ae--,Ce=ge[ae],ae===0&&(ge=[]),Pi}function Vi(Pi){H.assert(ae>0,"Cannot add a block scoped variable outside of an iteration body."),(Ce||(Ce=[])).push(Pi)}function xn(Pi){if(H.assert(Ne>0,"Cannot modify the transformation context during initialization."),H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed."),H.assert(!Pi.scoped,"Cannot request a scoped emit helper."),Pi.dependencies)for(const ki of Pi.dependencies)xn(ki);ne=Ei(ne,Pi)}function $n(){H.assert(Ne>0,"Cannot modify the transformation context during initialization."),H.assert(Ne<2,"Cannot modify the transformation context after transformation has completed.");const Pi=ne;return ne=void 0,Pi}function rn(){if(Ne<3){for(const Pi of f)ace(zn(Ja(Pi)));k=void 0,j=void 0,T=void 0,J=void 0,ve=void 0,Se=void 0,ne=void 0,Ne=3}}}var l1e,Eg,nzt=o({"src/compiler/transformer.ts"(){So(),Hy(),l1e={scriptTransformers:_t,declarationTransformers:_t},Eg={factory:q,getCompilerOptions:()=>({}),getEmitResolver:so,getEmitHost:so,getEmitHelperFactory:so,startLexicalEnvironment:zs,resumeLexicalEnvironment:zs,suspendLexicalEnvironment:zs,endLexicalEnvironment:cv,setLexicalEnvironmentFlags:zs,getLexicalEnvironmentFlags:()=>0,hoistVariableDeclaration:zs,hoistFunctionDeclaration:zs,addInitializationStatement:zs,startBlockScope:zs,endBlockScope:cv,addBlockScopedVariable:zs,requestEmitHelper:zs,readEmitHelpers:so,enableSubstitution:zs,enableEmitNotification:zs,isSubstitutionEnabled:so,isEmitNotificationEnabled:so,onSubstituteNode:DM,onEmitNode:hH,addDiagnostic:zs}}});function F7e(t){return Ml(t,".tsbuildinfo")}function c1e(t,u,s,d=!1,f,p){const E=ja(s)?s:tle(t,s,d),v=t.getCompilerOptions();if(b0(v)){const b=t.getPrependNodes();if(E.length||b.length){const B=q.createBundle(E,b),k=u(vM(B,t,d),B);if(k)return k}}else{if(!f)for(const b of E){const B=u(vM(b,t,d),b);if(B)return B}if(p){const b=h5(v);if(b)return u({buildInfoPath:b},void 0)}}}function h5(t){const u=t.configFilePath;if(!Yj(t))return;if(t.tsBuildInfoFile)return t.tsBuildInfoFile;const s=b0(t);let d;if(s)d=Eh(s);else{if(!u)return;const f=Eh(u);d=t.outDir?t.rootDir?yx(t.outDir,GE(t.rootDir,f,!0)):dr(t.outDir,Fc(f)):f}return d+".tsbuildinfo"}function xM(t,u){const s=b0(t),d=t.emitDeclarationOnly?void 0:s,f=d&&Uet(d,t),p=u||l4(t)?Eh(s)+".d.ts":void 0,E=p&&qq(t)?p+".map":void 0,v=h5(t);return{jsFilePath:d,sourceMapFilePath:f,declarationFilePath:p,declarationMapPath:E,buildInfoPath:v}}function vM(t,u,s){const d=u.getCompilerOptions();if(t.kind===313)return xM(d,s);{const f=gye(t.fileName,u,dQ(t.fileName,d)),p=H4(t),E=p&&fv(t.fileName,f,u.getCurrentDirectory(),!u.useCaseSensitiveFileNames())===0,v=d.emitDeclarationOnly||E?void 0:f,b=!v||H4(t)?void 0:Uet(v,d),B=s||l4(d)&&!p?Eye(t.fileName,u):void 0,k=B&&qq(d)?B+".map":void 0;return{jsFilePath:v,sourceMapFilePath:b,declarationFilePath:B,declarationMapPath:k,buildInfoPath:void 0}}}function Uet(t,u){return u.sourceMap&&!u.inlineSourceMap?t+".map":void 0}function dQ(t,u){return Ml(t,".json")?".json":u.jsx===1&&jc(t,[".jsx",".tsx"])?".jsx":jc(t,[".mts",".mjs"])?".mjs":jc(t,[".cts",".cjs"])?".cjs":".js"}function qet(t,u,s,d,f){return d?yx(d,GE(f?f():yM(u,s),t,s)):t}function CM(t,u,s,d){return Sv(qet(t,u,s,u.options.declarationDir||u.options.outDir,d),Vj(t))}function Zet(t,u,s,d){if(u.options.emitDeclarationOnly)return;const f=Ml(t,".json"),p=Sv(qet(t,u,s,u.options.outDir,d),dQ(t,u.options));return!f||fv(t,p,H.checkDefined(u.options.configFilePath),s)!==0?p:void 0}function Yet(){let t;return{addOutput:u,getOutputs:s};function u(d){d&&(t||(t=[])).push(d)}function s(){return t||_t}}function Qet(t,u){const{jsFilePath:s,sourceMapFilePath:d,declarationFilePath:f,declarationMapPath:p,buildInfoPath:E}=xM(t.options,!1);u(s),u(d),u(f),u(p),u(E)}function Xet(t,u,s,d,f){if(Xd(u))return;const p=Zet(u,t,s,f);if(d(p),!Ml(u,".json")&&(p&&t.options.sourceMap&&d(`${p}.map`),l4(t.options))){const E=CM(u,t,s,f);d(E),t.options.declarationMap&&d(`${E}.map`)}}function bM(t,u,s,d,f){let p;return t.rootDir?(p=Ga(t.rootDir,s),f==null||f(t.rootDir)):t.composite&&t.configFilePath?(p=cr(U1(t.configFilePath)),f==null||f(p)):p=L7e(u(),s,d),p&&p[p.length-1]!==rl&&(p+=rl),p}function yM({options:t,fileNames:u},s){return bM(t,()=>ei(u,d=>!(t.noEmitForJsFiles&&jc(d,gB))&&!Xd(d)),cr(U1(H.checkDefined(t.configFilePath))),T1(!s))}function hQ(t,u){const{addOutput:s,getOutputs:d}=Yet();if(b0(t.options))Qet(t,s);else{const f=Nh(()=>yM(t,u));for(const p of t.fileNames)Xet(t,p,u,s,f);s(h5(t.options))}return d()}function ett(t,u,s){u=Jo(u),H.assert(Ft(t.fileNames,u),"Expected fileName to be present in command line");const{addOutput:d,getOutputs:f}=Yet();return b0(t.options)?Qet(t,d):Xet(t,u,s,d),f()}function d1e(t,u){if(b0(t.options)){const{jsFilePath:f,declarationFilePath:p}=xM(t.options,!1);return H.checkDefined(f||p,`project ${t.options.configFilePath} expected to have at least one output`)}const s=Nh(()=>yM(t,u));for(const f of t.fileNames){if(Xd(f))continue;const p=Zet(f,t,u,s);if(p)return p;if(!Ml(f,".json")&&l4(t.options))return CM(f,t,u,s)}const d=h5(t.options);return d||H.fail(`project ${t.options.configFilePath} expected to have at least one output`)}function fQ(t,u,s,{scriptTransformers:d,declarationTransformers:f},p,E,v){var b=u.getCompilerOptions(),B=b.sourceMap||b.inlineSourceMap||qq(b)?[]:void 0,k=b.listEmittedFiles?[]:void 0,T=nB(),M=r5(b),z=Oj(M),{enter:j,exit:J}=_oe("printTime","beforePrint","afterPrint"),K,Y=!1;return j(),c1e(u,oe,tle(u,s,v),v,E,!s),J(),{emitSkipped:Y,diagnostics:T.getDiagnostics(),emittedFiles:k,sourceMaps:B};function oe({jsFilePath:fe,sourceMapFilePath:xe,declarationFilePath:Be,declarationMapPath:We,buildInfoPath:Ae},De){var He,Je,ft,Ze,je,Ke;let Gt;Ae&&De&&yce(De)&&(Gt=cr(Ga(Ae,u.getCurrentDirectory())),K={commonSourceDirectory:Yt(u.getCommonSourceDirectory()),sourceFiles:De.sourceFiles.map(Ie=>Yt(Ga(Ie.fileName,u.getCurrentDirectory())))}),(He=Jn)==null||He.push(Jn.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:fe}),ge(De,fe,xe,Yt),(Je=Jn)==null||Je.pop(),(ft=Jn)==null||ft.push(Jn.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:Be}),ae(De,Be,We,Yt),(Ze=Jn)==null||Ze.pop(),(je=Jn)==null||je.push(Jn.Phase.Emit,"emitBuildInfo",{buildInfoPath:Ae}),se(K,Ae),(Ke=Jn)==null||Ke.pop(),!Y&&k&&(p||(fe&&k.push(fe),xe&&k.push(xe),Ae&&k.push(Ae)),p!==0&&(Be&&k.push(Be),We&&k.push(We)));function Yt(Ie){return l2(GE(Gt,Ie,u.getCanonicalFileName))}}function se(fe,xe){if(!xe||s||Y)return;if(u.isEmitBlocked(xe)){Y=!0;return}const Be=u.getBuildInfo(fe)||mH(void 0,fe);lP(u,T,xe,A7e(Be),!1,void 0,{buildInfo:Be})}function ge(fe,xe,Be,We){if(!fe||p||!xe)return;if(u.isEmitBlocked(xe)||b.noEmit){Y=!0;return}const Ae=fH(t,u,q,b,[fe],d,!1),De={removeComments:b.removeComments,newLine:b.newLine,noEmitHelpers:b.noEmitHelpers,module:b.module,target:b.target,sourceMap:b.sourceMap,inlineSourceMap:b.inlineSourceMap,inlineSources:b.inlineSources,extendedDiagnostics:b.extendedDiagnostics,writeBundleFileInfo:!!K,relativeToBuildInfo:We},He=Kv(De,{hasGlobalName:t.hasGlobalName,onEmitNode:Ae.emitNodeWithNotification,isEmitNotificationEnabled:Ae.isEmitNotificationEnabled,substituteNode:Ae.substituteNode});H.assert(Ae.transformed.length===1,"Should only see one output from the transform"),ne(xe,Be,Ae,He,b),Ae.dispose(),K&&(K.js=He.bundleFileInfo)}function ae(fe,xe,Be,We){if(!fe||p===0)return;if(!xe){(p||b.emitDeclarationOnly)&&(Y=!0);return}const Ae=ca(fe)?[fe]:fe.sourceFiles,De=v?Ae:ei(Ae,w0e),He=b0(b)?[q.createBundle(De,ca(fe)?void 0:fe.prepends)]:De;p&&!l4(b)&&De.forEach(Ce);const Je=fH(t,u,q,b,He,f,!1);if(S(Je.diagnostics))for(const Ke of Je.diagnostics)T.add(Ke);const ft={removeComments:b.removeComments,newLine:b.newLine,noEmitHelpers:!0,module:b.module,target:b.target,sourceMap:!v&&b.declarationMap,inlineSourceMap:b.inlineSourceMap,extendedDiagnostics:b.extendedDiagnostics,onlyPrintJsDocStyle:!0,omitBraceSourceMapPositions:!0,writeBundleFileInfo:!!K,recordInternalSection:!!K,relativeToBuildInfo:We},Ze=Kv(ft,{hasGlobalName:t.hasGlobalName,onEmitNode:Je.emitNodeWithNotification,isEmitNotificationEnabled:Je.isEmitNotificationEnabled,substituteNode:Je.substituteNode}),je=!!Je.diagnostics&&!!Je.diagnostics.length||!!u.isEmitBlocked(xe)||!!b.noEmit;Y=Y||je,(!je||v)&&(H.assert(Je.transformed.length===1,"Should only see one output from the decl transform"),ne(xe,Be,Je,Ze,{sourceMap:ft.sourceMap,sourceRoot:b.sourceRoot,mapRoot:b.mapRoot,extendedDiagnostics:b.extendedDiagnostics})),Je.dispose(),K&&(K.dts=Ze.bundleFileInfo)}function Ce(fe){if(ec(fe)){fe.expression.kind===80&&t.collectLinkedAliases(fe.expression,!0);return}else if(X1(fe)){t.collectLinkedAliases(fe.propertyName||fe.name,!0);return}uo(fe,Ce)}function ne(fe,xe,Be,We,Ae){const De=Be.transformed[0],He=De.kind===313?De:void 0,Je=De.kind===312?De:void 0,ft=He?He.sourceFiles:[Je];let Ze;ve(Ae,De)&&(Ze=RAe(u,Fc(U1(fe)),Se(Ae),Ne(Ae,fe,Je),Ae)),He?We.writeBundle(He,z,Ze):We.writeFile(Je,z,Ze);let je;if(Ze){B&&B.push({inputSourceFileNames:Ze.getSources(),sourceMap:Ze.toJSON()});const Gt=pe(Ae,Ze,fe,xe,Je);if(Gt&&(z.isAtStartOfLine()||z.rawWrite(M),je=z.getTextPos(),z.writeComment(`//# sourceMappingURL=${Gt}`)),xe){const Yt=Ze.toString();lP(u,T,xe,Yt,!1,ft),We.bundleFileInfo&&(We.bundleFileInfo.mapHash=Tk(Yt,u))}}else z.writeLine();const Ke=z.getText();lP(u,T,fe,Ke,!!b.emitBOM,ft,{sourceMapUrlPos:je,diagnostics:Be.diagnostics}),We.bundleFileInfo&&(We.bundleFileInfo.hash=Tk(Ke,u)),z.clear()}function ve(fe,xe){return(fe.sourceMap||fe.inlineSourceMap)&&(xe.kind!==312||!Ml(xe.fileName,".json"))}function Se(fe){const xe=U1(fe.sourceRoot||"");return xe&&Pd(xe)}function Ne(fe,xe,Be){if(fe.sourceRoot)return u.getCommonSourceDirectory();if(fe.mapRoot){let We=U1(fe.mapRoot);return Be&&(We=cr(Nq(Be.fileName,u,We))),KE(We)===0&&(We=dr(u.getCommonSourceDirectory(),We)),We}return cr(Jo(xe))}function pe(fe,xe,Be,We,Ae){if(fe.inlineSourceMap){const He=xe.toString();return`data:application/json;base64,${Iye(l1,He)}`}const De=Fc(U1(H.checkDefined(We)));if(fe.mapRoot){let He=U1(fe.mapRoot);return Ae&&(He=cr(Nq(Ae.fileName,u,He))),KE(He)===0?(He=dr(u.getCommonSourceDirectory(),He),encodeURI(e7(cr(Jo(Be)),dr(He,De),u.getCurrentDirectory(),u.getCanonicalFileName,!0))):encodeURI(dr(He,De))}return encodeURI(De)}}function mH(t,u){return{bundle:u,program:t,version:_}}function A7e(t){return JSON.stringify(t)}function mQ(t,u){return dle(t,u)}function uzt(t,u,s){var d;const f=H.checkDefined(t.js),p=((d=f.sources)==null?void 0:d.prologues)&&og(f.sources.prologues,E=>E.file);return t.sourceFiles.map((E,v)=>{const b=p==null?void 0:p.get(v),B=b==null?void 0:b.directives.map(M=>{const z=Pt(q.createStringLiteral(M.expression.text),M.expression),j=Pt(q.createExpressionStatement(z),M);return ys(z,j),j}),k=q.createToken(1),T=q.createSourceFile(B??[],k,0);return T.fileName=GE(s.getCurrentDirectory(),Ga(E,u),!s.useCaseSensitiveFileNames()),T.text=(b==null?void 0:b.text)??"",BP(T,0,(b==null?void 0:b.text.length)??0),fB(T.statements,T),BP(k,T.end,0),ys(k,T),T})}function S7e(t,u,s,d){var f,p;(f=Jn)==null||f.push(Jn.Phase.Emit,"emitUsingBuildInfo",{},!0),ul("beforeEmit");const E=rzt(t,u,s,d);return ul("afterEmit"),wm("Emit","beforeEmit","afterEmit"),(p=Jn)==null||p.pop(),E}function rzt(t,u,s,d){const{buildInfoPath:f,jsFilePath:p,sourceMapFilePath:E,declarationFilePath:v,declarationMapPath:b}=xM(t.options,!1),B=u.getBuildInfo(f,t.options.configFilePath);if(!B||!B.bundle||!B.bundle.js||v&&!B.bundle.dts)return f;const k=u.readFile(H.checkDefined(p));if(!k||Tk(k,u)!==B.bundle.js.hash)return p;const T=E&&u.readFile(E);if(E&&!T||t.options.inlineSourceMap)return E||"inline sourcemap decoding";if(E&&Tk(T,u)!==B.bundle.js.mapHash)return E;const M=v&&u.readFile(v);if(v&&!M||v&&Tk(M,u)!==B.bundle.dts.hash)return v;const z=b&&u.readFile(b);if(b&&!z||t.options.inlineSourceMap)return b||"inline sourcemap decoding";if(b&&Tk(z,u)!==B.bundle.dts.mapHash)return b;const j=cr(Ga(f,u.getCurrentDirectory())),J=uce(p,k,E,T,v,M,b,z,f,B,!0),K=[],Y=L1e(t.projectReferences,s,Ce=>u.readFile(Ce),u),oe=uzt(B.bundle,j,u);let se,ge;const ae={getPrependNodes:Nh(()=>[...Y,J]),getCanonicalFileName:u.getCanonicalFileName,getCommonSourceDirectory:()=>Ga(B.bundle.commonSourceDirectory,j),getCompilerOptions:()=>t.options,getCurrentDirectory:()=>u.getCurrentDirectory(),getSourceFile:cv,getSourceFileByPath:cv,getSourceFiles:()=>oe,getLibFileFromReference:so,isSourceFileFromExternalLibrary:sg,getResolvedProjectReferenceToRedirect:cv,getProjectReferenceRedirect:cv,isSourceOfProjectReferenceRedirect:sg,writeFile:(Ce,ne,ve,Se,Ne,pe)=>{switch(Ce){case p:if(k===ne)return;break;case E:if(T===ne)return;break;case f:break;case v:if(M===ne)return;se=ne,ge=pe;break;case b:if(z===ne)return;break;default:H.fail(`Unexpected path: ${Ce}`)}K.push({name:Ce,text:ne,writeByteOrderMark:ve,data:pe})},isEmitBlocked:sg,readFile:Ce=>u.readFile(Ce),fileExists:Ce=>u.fileExists(Ce),useCaseSensitiveFileNames:()=>u.useCaseSensitiveFileNames(),getBuildInfo:Ce=>{const ne=B.program;ne&&se!==void 0&&t.options.composite&&(ne.outSignature=Tk(se,u,ge));const{js:ve,dts:Se,sourceFiles:Ne}=B.bundle;return Ce.js.sources=ve.sources,Se&&(Ce.dts.sources=Se.sources),Ce.sourceFiles=Ne,mH(ne,Ce)},getSourceFileFromReference:cv,redirectTargetsMap:Bm(),getFileIncludeReasons:so,createHash:To(u,u.createHash)};return fQ(pQ,ae,void 0,s1e(t.options,d)),K}function Kv(t={},u={}){var{hasGlobalName:s,onEmitNode:d=hH,isEmitNotificationEnabled:f,substituteNode:p=DM,onBeforeEmitNode:E,onAfterEmitNode:v,onBeforeEmitNodeArray:b,onAfterEmitNodeArray:B,onBeforeEmitToken:k,onAfterEmitToken:T}=u,M=!!t.extendedDiagnostics,z=!!t.omitBraceSourceMapPositions,j=r5(t),J=f1(t),K=new Map,Y,oe,se,ge,ae,Ce,ne,ve,Se,Ne,pe,fe,xe,Be,We,Ae=t.preserveSourceNewlines,De,He,Je,ft=sz,Ze,je=t.writeBundleFileInfo?{sections:[]}:void 0,Ke=je?H.checkDefined(t.relativeToBuildInfo):void 0,Gt=t.recordInternalSection,Yt=0,Ie="text",lt=!0,St,It,ti=-1,ht,Ut=-1,Ni=-1,Vi=-1,xn=-1,$n,rn,Pi=!1,ki=!!t.removeComments,Yu,oa,{enter:Fr,exit:Sa}=Bqe(M,"commentTime","beforeComment","afterComment"),bt=q.parenthesizer,On={select:O=>O===0?bt.parenthesizeLeadingTypeArgument:void 0},Ln=c3();return ni(),{printNode:Fi,printList:Dn,printFile:tu,printBundle:Cn,writeNode:Da,writeList:aa,writeFile:Xt,writeBundle:Mt,bundleFileInfo:je};function Fi(O,be,Vt){switch(O){case 0:H.assert(ca(be),"Expected a SourceFile node.");break;case 2:H.assert(at(be),"Expected an Identifier node.");break;case 1:H.assert(Wt(be),"Expected an Expression node.");break}switch(be.kind){case 312:return tu(be);case 313:return Cn(be);case 314:return sa(be)}return Da(O,be,Vt,Pe()),et()}function Dn(O,be,Vt){return aa(O,be,Vt,Pe()),et()}function Cn(O){return Mt(O,Pe(),void 0),et()}function tu(O){return Xt(O,Pe(),void 0),et()}function sa(O){return qt(O,Pe()),et()}function Da(O,be,Vt,ji){const yu=He;me(ji,void 0),gt(O,be,Vt),ni(),He=yu}function aa(O,be,Vt,ji){const yu=He;me(ji,void 0),Vt&&ii(Vt),B0(void 0,be,O),ni(),He=yu}function Ba(){return He.getTextPosWithWriteLine?He.getTextPosWithWriteLine():He.getTextPos()}function Yo(O,be,Vt){const ji=Zu(je.sections);ji&&ji.kind===Vt?ji.end=be:je.sections.push({pos:O,end:be,kind:Vt})}function vo(O){if(Gt&&je&&Y&&(Y1(O)||Gl(O))&&a1e(O,Y)&&Ie!=="internal"){const be=Ie;return Et(He.getTextPos()),Yt=Ba(),Ie="internal",be}}function Qe(O){O&&(Et(He.getTextPos()),Yt=Ba(),Ie=O)}function Et(O){return YtH.assert($ye(Fo))),je.sections.push({pos:$r,end:He.getTextPos(),kind:"prepend",data:Ke(yu.fileName),texts:Ea}))}}Yt=Ba();for(const yu of O.sourceFiles)gt(0,yu,yu);if(je&&O.sourceFiles.length){const yu=He.getTextPos();if(Et(yu)){const $r=zw(O);$r&&(je.sources||(je.sources={}),je.sources.prologues=$r);const br=Ti(O);br&&(je.sources||(je.sources={}),je.sources.helpers=br)}}ni(),He=ji}function qt(O,be){const Vt=He;me(be,void 0),gt(4,O,void 0),ni(),He=Vt}function Xt(O,be,Vt){Ze=!0;const ji=He;me(be,Vt),fb(O),S5(O),gt(0,O,O),ni(),He=ji}function Pe(){return Je||(Je=Oj(j))}function et(){const O=Je.getText();return Je.clear(),O}function gt(O,be,Vt){Vt&&ii(Vt),le(O,be,void 0)}function ii(O){Y=O,$n=void 0,rn=void 0,O&&gC(O)}function me(O,be){O&&t.omitTrailingSemicolon&&(O=X0e(O)),He=O,St=be,lt=!He||!St}function ni(){oe=[],se=[],ge=[],ae=new Set,Ce=[],ne=new Map,ve=[],Se=0,Ne=[],pe=0,fe=[],xe=void 0,Be=[],We=void 0,Y=void 0,$n=void 0,rn=void 0,me(void 0,void 0)}function _i(){return $n||($n=J3(H.checkDefined(Y)))}function mt(O,be){if(O===void 0)return;const Vt=vo(O);le(4,O,be),Qe(Vt)}function jt(O){O!==void 0&&le(2,O,void 0)}function pi(O,be){O!==void 0&&le(1,O,be)}function $i(O){le(us(O)?6:4,O)}function Yi(O){Ae&&Tp(O)&4&&(Ae=!1)}function on(O){Ae=O}function le(O,be,Vt){oa=Vt,de(0,O,be)(O,be),oa=void 0}function te(O){return!ki&&!ca(O)}function we(O){return!lt&&!ca(O)&&!pq(O)&&!Ck(O)&&!hFe(O)}function de(O,be,Vt){switch(O){case 0:if(d!==hH&&(!f||f(Vt)))return X;case 1:if(p!==DM&&(Yu=p(be,Vt)||Vt)!==Vt)return oa&&(Yu=oa(Yu)),Qt;case 2:if(te(Vt))return L9;case 3:if(we(Vt))return aF;case 4:return it;default:return H.assertNever(O)}}function Oe(O,be,Vt){return de(O+1,be,Vt)}function X(O,be){const Vt=Oe(0,O,be);d(O,be,Vt)}function it(O,be){if(E==null||E(be),Ae){const Vt=Ae;Yi(be),Ct(O,be),on(Vt)}else Ct(O,be);v==null||v(be),oa=void 0}function Ct(O,be,Vt=!0){if(Vt){const ji=oce(be);if(ji)return Ra(O,be,ji)}if(O===0)return Xk(No(be,ca));if(O===2)return as(No(be,at));if(O===6)return Iu(No(be,us),!0);if(O===3)return ct(No(be,Bl));if(O===5)return H.assertNode(be,vce),fa(!0);if(O===4){switch(be.kind){case 16:case 17:case 18:return Iu(be,!1);case 80:return as(be);case 81:return Bo(be);case 166:return Fn(be);case 167:return Ua(be);case 168:return l0(be);case 169:return $l(be);case 170:return wl(be);case 171:return cd(be);case 172:return vl(be);case 173:return oo(be);case 174:return Ho(be);case 175:return td(be);case 176:return U0(be);case 177:case 178:return Ko(be);case 179:return wc(be);case 180:return Kp(be);case 181:return Tc(be);case 182:return Va(be);case 183:return Oi(be);case 184:return dl(be);case 185:return vc(be);case 186:return $(be);case 187:return tt(be);case 188:return vt(be);case 189:return fn(be);case 190:return uu(be);case 192:return wu(be);case 193:return Mr(be);case 194:return ju(be);case 195:return As(be);case 196:return tc(be);case 233:return gi(be);case 197:return id();case 198:return S0(be);case 199:return nd(be);case 200:return f0(be);case 201:return Sd(be);case 202:return Gu(be);case 203:return Ih(be);case 204:return Il(be);case 205:return nh(be);case 206:return d4(be);case 207:return _1(be);case 208:return Ve(be);case 239:return bi(be);case 240:return cl();case 241:return In(be);case 243:return nr(be);case 242:return fa(!1);case 244:return os(be);case 245:return ss(be);case 246:return D1(be);case 247:return dd(be);case 248:return Jm(be);case 249:return Es(be);case 250:return tp(be);case 251:return d3(be);case 252:return c_(be);case 253:return C5(be);case 254:return Xe(be);case 255:return Dt(be);case 256:return ai(be);case 257:return wi(be);case 258:return Qi(be);case 259:return Rn(be);case 260:return en(be);case 261:return bn(be);case 262:return Ar(be);case 263:return Qv(be);case 264:return lD(be);case 265:return t6(be);case 266:return Kk(be);case 267:return ab(be);case 268:return Wk(be);case 269:return Gk(be);case 270:return $k(be);case 271:return rz(be);case 272:return Sw(be);case 273:return Xv(be);case 274:return _9(be);case 280:return ob(be);case 275:return D9(be);case 276:return Bw(be);case 277:return Jk(be);case 278:return ww(be);case 279:return sb(be);case 281:return eC(be);case 300:return x9(be);case 301:return v9(be);case 282:return;case 283:return hE(be);case 12:return y5(be);case 286:case 289:return i6(be);case 287:case 290:return d_(be);case 291:return Gf(be);case 292:return m4(be);case 293:return jh(be);case 294:return C9(be);case 295:return qk(be);case 296:return iC(be);case 297:return Zk(be);case 298:return Rd(be);case 299:return k5(be);case 303:return F5(be);case 304:return h3(be);case 305:return pt(be);case 306:return t1(be);case 307:return er(be);case 314:case 308:return Er(be);case 309:case 310:return da(be);case 311:return Wu(be);case 312:return Xk(be);case 313:return H.fail("Bundles should be printed using printBundle");case 315:return H.fail("InputFiles should not be printed");case 316:return m3(be);case 317:return A5(be);case 319:return ru("*");case 320:return ru("?");case 321:return vh(be);case 322:return of(be);case 323:return q0(be);case 324:return Uc(be);case 191:case 325:return hi(be);case 326:return;case 327:return p4(be);case 329:return Qk(be);case 330:return db(be);case 334:case 339:case 344:return Yk(be);case 335:case 336:return uC(be);case 337:case 338:return;case 340:case 341:case 342:case 343:return;case 345:return Vs(be);case 346:return Cg(be);case 348:case 355:return hb(be);case 347:case 349:case 350:case 351:case 356:case 357:return Ch(be);case 352:return f3(be);case 353:return az(be);case 354:return Nw(be);case 359:return}if(Wt(be)&&(O=1,p!==DM)){const ji=p(O,be)||be;ji!==be&&(be=ji,oa&&(be=oa(be)))}}if(O===1)switch(be.kind){case 9:case 10:return du(be);case 11:case 14:case 15:return Iu(be,!1);case 80:return as(be);case 81:return Bo(be);case 209:return si(be);case 210:return Mn(be);case 211:return ba(be);case 212:return wo(be);case 213:return ic(be);case 214:return hc(be);case 215:return Cl(be);case 216:return Tl(be);case 217:return Cc(be);case 218:return Ul(be);case 219:return Lc(be);case 220:return Gm(be);case 221:return Rh(be);case 222:return h4(be);case 223:return l3(be);case 224:return l_(be);case 225:return I1(be);case 226:return Ln(be);case 227:return Kf(be);case 228:return f4(be);case 229:return Oh(be);case 230:return Ee(be);case 231:return Bt(be);case 232:return;case 234:return xi(be);case 235:return Q(be);case 233:return gi(be);case 238:return Me(be);case 236:return wt(be);case 237:return H.fail("SyntheticExpression should never be printed.");case 282:return;case 284:return js(be);case 285:return Uk(be);case 288:return Tw(be);case 358:return H.fail("SyntaxList should not be printed");case 359:return;case 360:return or(be);case 361:return mE(be);case 362:return H.fail("SyntheticReferenceExpression should not be printed")}if(nf(be.kind))return A9(be,Na);if(Gse(be.kind))return A9(be,ru);H.fail(`Unhandled SyntaxKind: ${H.formatSyntaxKind(be.kind)}.`)}function ct(O){mt(O.name),qn(),Na("in"),qn(),mt(O.constraint)}function Qt(O,be){const Vt=Oe(1,O,be);H.assertIsDefined(Yu),be=Yu,Yu=void 0,Vt(O,be)}function Ti(O){let be;if(J===0||t.noEmitHelpers)return;const Vt=new Map;for(const ji of O.sourceFiles){const yu=PV(ji)!==void 0,$r=Sn(ji);if($r)for(const br of $r)!br.scoped&&!yu&&!Vt.get(br.name)&&(Vt.set(br.name,!0),(be||(be=[])).push(br.name))}return be}function Ui(O){let be=!1;const Vt=O.kind===313?O:void 0;if(Vt&&J===0)return;const ji=Vt?Vt.prepends.length:0,yu=Vt?Vt.sourceFiles.length+ji:1;for(let $r=0;$r"),qn(),mt(O.type),kf(O)}function Uc(O){Na("function"),B5(O,O.parameters),ru(":"),mt(O.type)}function vh(O){ru("?"),mt(O.type)}function of(O){ru("!"),mt(O.type)}function q0(O){mt(O.type),ru("=")}function vc(O){R1(O),cD(O,O.modifiers),Na("new"),qn(),m_(O,O.typeParameters),B5(O,O.parameters),qn(),ru("=>"),qn(),mt(O.type),kf(O)}function $(O){Na("typeof"),qn(),mt(O.exprName),pE(O,O.typeArguments)}function tt(O){E4(0,void 0),ru("{");const be=Cs(O)&1?768:32897;B0(O,O.members,be|524288),ru("}"),dC()}function vt(O){mt(O.elementType,bt.parenthesizeNonArrayTypeOfPostfixType),ru("["),ru("]")}function hi(O){ru("..."),mt(O.type)}function fn(O){ia(23,O.pos,ru,O);const be=Cs(O)&1?528:657;B0(O,O.elements,be|524288,bt.parenthesizeElementTypeOfTupleType),ia(24,O.elements.end,ru,O)}function Gu(O){mt(O.dotDotDotToken),mt(O.name),mt(O.questionToken),ia(59,O.name.end,ru,O),qn(),mt(O.type)}function uu(O){mt(O.type,bt.parenthesizeTypeOfOptionalType),ru("?")}function wu(O){B0(O,O.types,516,bt.parenthesizeConstituentTypeOfUnionType)}function Mr(O){B0(O,O.types,520,bt.parenthesizeConstituentTypeOfIntersectionType)}function ju(O){mt(O.checkType,bt.parenthesizeCheckTypeOfConditionalType),qn(),Na("extends"),qn(),mt(O.extendsType,bt.parenthesizeExtendsTypeOfConditionalType),qn(),ru("?"),qn(),mt(O.trueType),qn(),ru(":"),qn(),mt(O.falseType)}function As(O){Na("infer"),qn(),mt(O.typeParameter)}function tc(O){ru("("),mt(O.type),ru(")")}function id(){Na("this")}function S0(O){dD(O.operator,Na),qn();const be=O.operator===148?bt.parenthesizeOperandOfReadonlyTypeOperator:bt.parenthesizeOperandOfTypeOperator;mt(O.type,be)}function nd(O){mt(O.objectType,bt.parenthesizeNonArrayTypeOfPostfixType),ru("["),mt(O.indexType),ru("]")}function f0(O){const be=Cs(O);ru("{"),be&1?qn():(Bd(),EE()),O.readonlyToken&&(mt(O.readonlyToken),O.readonlyToken.kind!==148&&Na("readonly"),qn()),ru("["),le(3,O.typeParameter),O.nameType&&(qn(),Na("as"),qn(),mt(O.nameType)),ru("]"),O.questionToken&&(mt(O.questionToken),O.questionToken.kind!==58&&ru("?")),ru(":"),qn(),mt(O.type),x1(),be&1?qn():(Bd(),_E()),B0(O,O.members,2),ru("}")}function Sd(O){pi(O.literal)}function Ih(O){mt(O.head),B0(O,O.templateSpans,262144)}function nh(O){if(O.isTypeOf&&(Na("typeof"),qn()),Na("import"),ru("("),mt(O.argument),O.attributes){ru(","),qn(),ru("{"),qn(),Na(O.attributes.token===132?"assert":"with"),ru(":"),qn();const be=O.attributes.elements;B0(O.attributes,be,526226),qn(),ru("}")}ru(")"),O.qualifier&&(ru("."),mt(O.qualifier)),pE(O,O.typeArguments)}function d4(O){ru("{"),B0(O,O.elements,525136),ru("}")}function _1(O){ru("["),B0(O,O.elements,524880),ru("]")}function Ve(O){mt(O.dotDotDotToken),O.propertyName&&(mt(O.propertyName),ru(":"),qn()),mt(O.name),p3(O.initializer,O.name.end,O,bt.parenthesizeExpressionForDisallowedComma)}function si(O){const be=O.elements,Vt=O.multiLine?65536:0;mb(O,be,8914|Vt,bt.parenthesizeExpressionForDisallowedComma)}function Mn(O){E4(0,void 0),L(O.properties,uF);const be=Cs(O)&131072;be&&EE();const Vt=O.multiLine?65536:0,ji=Y&&Y.languageVersion>=1&&!H4(Y)?64:0;B0(O,O.properties,526226|ji|Vt),be&&_E(),dC()}function ba(O){pi(O.expression,bt.parenthesizeLeftSideOfAccess);const be=O.questionDotToken||e_(q.createToken(25),O.expression.end,O.name.pos),Vt=g4(O,O.expression,be),ji=g4(O,be,O.name);E3(Vt,!1),be.kind!==29&&ko(O.expression)&&!He.hasTrailingComment()&&!He.hasTrailingWhitespace()&&ru("."),O.questionDotToken?mt(be):ia(be.kind,O.expression.end,ru,O),E3(ji,!1),mt(O.name),p_(Vt,ji)}function ko(O){if(O=wp(O),Rf(O)){const be=B9(O,!0,!1);return!(O.numericLiteralFlags&448)&&!be.includes($o(25))&&!be.includes("E")&&!be.includes("e")}else if(M0(O)){const be=Rke(O);return typeof be=="number"&&isFinite(be)&&be>=0&&Math.floor(be)===be}}function wo(O){pi(O.expression,bt.parenthesizeLeftSideOfAccess),mt(O.questionDotToken),ia(23,O.expression.end,ru,O),pi(O.argumentExpression),ia(24,O.argumentExpression.end,ru,O)}function ic(O){const be=Tp(O)&16;be&&(ru("("),aC("0"),ru(","),qn()),pi(O.expression,bt.parenthesizeLeftSideOfAccess),be&&ru(")"),mt(O.questionDotToken),pE(O,O.typeArguments),mb(O,O.arguments,2576,bt.parenthesizeExpressionForDisallowedComma)}function hc(O){ia(105,O.pos,Na,O),qn(),pi(O.expression,bt.parenthesizeExpressionOfNew),pE(O,O.typeArguments),mb(O,O.arguments,18960,bt.parenthesizeExpressionForDisallowedComma)}function Cl(O){const be=Tp(O)&16;be&&(ru("("),aC("0"),ru(","),qn()),pi(O.tag,bt.parenthesizeLeftSideOfAccess),be&&ru(")"),pE(O,O.typeArguments),qn(),pi(O.template)}function Tl(O){ru("<"),mt(O.type),ru(">"),pi(O.expression,bt.parenthesizeOperandOfPrefixUnary)}function Cc(O){const be=ia(21,O.pos,ru,O),Vt=S9(O.expression,O);pi(O.expression,void 0),nF(O.expression,O),p_(Vt),ia(22,O.expression?O.expression.end:be,ru,O)}function Ul(O){rp(O.name),Cu(O)}function Lc(O){cD(O,O.modifiers),bu(O,ep)}function ep(O){m_(O,O.typeParameters),b9(O,O.parameters),h_(O.type),qn(),mt(O.equalsGreaterThanToken)}function Gm(O){ia(91,O.pos,Na,O),qn(),pi(O.expression,bt.parenthesizeOperandOfPrefixUnary)}function Rh(O){ia(114,O.pos,Na,O),qn(),pi(O.expression,bt.parenthesizeOperandOfPrefixUnary)}function h4(O){ia(116,O.pos,Na,O),qn(),pi(O.expression,bt.parenthesizeOperandOfPrefixUnary)}function l3(O){ia(135,O.pos,Na,O),qn(),pi(O.expression,bt.parenthesizeOperandOfPrefixUnary)}function l_(O){dD(O.operator,sf),v5(O)&&qn(),pi(O.operand,bt.parenthesizeOperandOfPrefixUnary)}function v5(O){const be=O.operand;return be.kind===224&&(O.operator===40&&(be.operator===40||be.operator===46)||O.operator===41&&(be.operator===41||be.operator===47))}function I1(O){pi(O.operand,bt.parenthesizeOperandOfPostfixUnary),dD(O.operator,sf)}function c3(){return vY(O,be,Vt,ji,yu,void 0);function O(br,Ea){if(Ea){Ea.stackIndex++,Ea.preserveSourceNewlinesStack[Ea.stackIndex]=Ae,Ea.containerPosStack[Ea.stackIndex]=Ni,Ea.containerEndStack[Ea.stackIndex]=Vi,Ea.declarationListContainerEndStack[Ea.stackIndex]=xn;const Fo=Ea.shouldEmitCommentsStack[Ea.stackIndex]=te(br),Ff=Ea.shouldEmitSourceMapsStack[Ea.stackIndex]=we(br);E==null||E(br),Fo&&N9(br),Ff&&Ww(br),Yi(br)}else Ea={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return Ea}function be(br,Ea,Fo){return $r(br,Fo,"left")}function Vt(br,Ea,Fo){const Ff=br.kind!==28,$f=g4(Fo,Fo.left,br),Sr=g4(Fo,br,Fo.right);E3($f,Ff),qm(br.pos),A9(br,br.kind===103?Na:sf),Gp(br.end,!0),E3(Sr,!0)}function ji(br,Ea,Fo){return $r(br,Fo,"right")}function yu(br,Ea){const Fo=g4(br,br.left,br.operatorToken),Ff=g4(br,br.operatorToken,br.right);if(p_(Fo,Ff),Ea.stackIndex>0){const $f=Ea.preserveSourceNewlinesStack[Ea.stackIndex],Sr=Ea.containerPosStack[Ea.stackIndex],xE=Ea.containerEndStack[Ea.stackIndex],gn=Ea.declarationListContainerEndStack[Ea.stackIndex],d6=Ea.shouldEmitCommentsStack[Ea.stackIndex],N5=Ea.shouldEmitSourceMapsStack[Ea.stackIndex];on($f),N5&&D4(br),d6&&P9(br,Sr,xE,gn),v==null||v(br),Ea.stackIndex--}}function $r(br,Ea,Fo){const Ff=Fo==="left"?bt.getParenthesizeLeftSideOfBinaryForOperator(Ea.operatorToken.kind):bt.getParenthesizeRightSideOfBinaryForOperator(Ea.operatorToken.kind);let $f=de(0,1,br);if($f===Qt&&(H.assertIsDefined(Yu),br=Ff(No(Yu,Wt)),$f=Oe(1,1,br),Yu=void 0),($f===L9||$f===aF||$f===it)&&eu(br))return br;oa=Ff,$f(1,br)}}function Kf(O){const be=g4(O,O.condition,O.questionToken),Vt=g4(O,O.questionToken,O.whenTrue),ji=g4(O,O.whenTrue,O.colonToken),yu=g4(O,O.colonToken,O.whenFalse);pi(O.condition,bt.parenthesizeConditionOfConditionalExpression),E3(be,!0),mt(O.questionToken),E3(Vt,!0),pi(O.whenTrue,bt.parenthesizeBranchOfConditionalExpression),p_(be,Vt),E3(ji,!0),mt(O.colonToken),E3(yu,!0),pi(O.whenFalse,bt.parenthesizeBranchOfConditionalExpression),p_(ji,yu)}function f4(O){mt(O.head),B0(O,O.templateSpans,262144)}function Oh(O){ia(127,O.pos,Na,O),mt(O.asteriskToken),g3(O.expression&&vg(O.expression),rb)}function Ee(O){ia(26,O.pos,ru,O),pi(O.expression,bt.parenthesizeExpressionForDisallowedComma)}function Bt(O){rp(O.name),e6(O)}function gi(O){pi(O.expression,bt.parenthesizeLeftSideOfAccess),pE(O,O.typeArguments)}function xi(O){pi(O.expression,void 0),O.type&&(qn(),Na("as"),qn(),mt(O.type))}function Q(O){pi(O.expression,bt.parenthesizeLeftSideOfAccess),sf("!")}function Me(O){pi(O.expression,void 0),O.type&&(qn(),Na("satisfies"),qn(),mt(O.type))}function wt(O){n6(O.keywordToken,O.pos,ru),ru("."),mt(O.name)}function bi(O){pi(O.expression),mt(O.literal)}function In(O){ir(O,!O.multiLine&&cC(O))}function ir(O,be){ia(19,O.pos,ru,O);const Vt=be||Cs(O)&1?768:129;B0(O,O.statements,Vt),ia(20,O.statements.end,ru,O,!!(Vt&1))}function nr(O){bh(O,O.modifiers,!1),mt(O.declarationList),x1()}function fa(O){O?ru(";"):x1()}function os(O){pi(O.expression,bt.parenthesizeExpressionOfExpressionStatement),(!Y||!H4(Y)||sl(O.expression))&&x1()}function ss(O){const be=ia(101,O.pos,Na,O);qn(),ia(21,be,ru,O),pi(O.expression),ia(22,O.expression.end,ru,O),f_(O,O.thenStatement),O.elseStatement&&(sC(O,O.thenStatement,O.elseStatement),ia(93,O.thenStatement.end,Na,O),O.elseStatement.kind===245?(qn(),mt(O.elseStatement)):f_(O,O.elseStatement))}function Rl(O,be){const Vt=ia(117,be,Na,O);qn(),ia(21,Vt,ru,O),pi(O.expression),ia(22,O.expression.end,ru,O)}function D1(O){ia(92,O.pos,Na,O),f_(O,O.statement),ho(O.statement)&&!Ae?qn():sC(O,O.statement,O.expression),Rl(O,O.statement.end),x1()}function dd(O){Rl(O,O.pos),f_(O,O.statement)}function Jm(O){const be=ia(99,O.pos,Na,O);qn();let Vt=ia(21,be,ru,O);$m(O.initializer),Vt=ia(27,O.initializer?O.initializer.end:Vt,ru,O),g3(O.condition),Vt=ia(27,O.condition?O.condition.end:Vt,ru,O),g3(O.incrementor),ia(22,O.incrementor?O.incrementor.end:Vt,ru,O),f_(O,O.statement)}function Es(O){const be=ia(99,O.pos,Na,O);qn(),ia(21,be,ru,O),$m(O.initializer),qn(),ia(103,O.initializer.end,Na,O),qn(),pi(O.expression),ia(22,O.expression.end,ru,O),f_(O,O.statement)}function tp(O){const be=ia(99,O.pos,Na,O);qn(),Iw(O.awaitModifier),ia(21,be,ru,O),$m(O.initializer),qn(),ia(165,O.initializer.end,Na,O),qn(),pi(O.expression),ia(22,O.expression.end,ru,O),f_(O,O.statement)}function $m(O){O!==void 0&&(O.kind===261?mt(O):pi(O))}function d3(O){ia(88,O.pos,Na,O),rC(O.label),x1()}function c_(O){ia(83,O.pos,Na,O),rC(O.label),x1()}function ia(O,be,Vt,ji,yu){const $r=Ja(ji),br=$r&&$r.kind===ji.kind,Ea=be;if(br&&Y&&(be=ps(Y.text,be)),br&&ji.pos!==Ea){const Fo=yu&&Y&&!$4(Ea,be,Y);Fo&&EE(),qm(Ea),Fo&&_E()}if(!z&&(O===19||O===20)?be=n6(O,be,Vt,ji):be=dD(O,Vt,be),br&&ji.end!==be){const Fo=ji.kind===294;Gp(be,!Fo,Fo)}return be}function Qx(O){return O.kind===2||!!O.hasTrailingNewLine}function Xx(O){return Y?Ge(K_(Y.text,O.pos),Qx)||Ge(EB(O),Qx)?!0:oY(O)?O.pos!==O.expression.pos&&Ge(mv(Y.text,O.expression.pos),Qx)?!0:Xx(O.expression):!1:!1}function vg(O){if(!ki&&oY(O)&&Xx(O)){const be=Ja(O);if(be&&vf(be)){const Vt=q.createParenthesizedExpression(O.expression);return su(Vt,O),Pt(Vt,be),Vt}return q.createParenthesizedExpression(O)}return O}function rb(O){return vg(bt.parenthesizeExpressionForDisallowedComma(O))}function C5(O){ia(107,O.pos,Na,O),g3(O.expression&&vg(O.expression),vg),x1()}function Xe(O){const be=ia(118,O.pos,Na,O);qn(),ia(21,be,ru,O),pi(O.expression),ia(22,O.expression.end,ru,O),f_(O,O.statement)}function Dt(O){const be=ia(109,O.pos,Na,O);qn(),ia(21,be,ru,O),pi(O.expression),ia(22,O.expression.end,ru,O),qn(),mt(O.caseBlock)}function ai(O){mt(O.label),ia(59,O.label.end,ru,O),qn(),mt(O.statement)}function wi(O){ia(111,O.pos,Na,O),g3(vg(O.expression),vg),x1()}function Qi(O){ia(113,O.pos,Na,O),qn(),mt(O.tryBlock),O.catchClause&&(sC(O,O.tryBlock,O.catchClause),mt(O.catchClause)),O.finallyBlock&&(sC(O,O.catchClause||O.tryBlock,O.finallyBlock),ia(98,(O.catchClause||O.tryBlock).end,Na,O),qn(),mt(O.finallyBlock))}function Rn(O){n6(89,O.pos,Na),x1()}function en(O){var be,Vt,ji;mt(O.name),mt(O.exclamationToken),h_(O.type),p3(O.initializer,((be=O.type)==null?void 0:be.end)??((ji=(Vt=O.name.emitNode)==null?void 0:Vt.typeNode)==null?void 0:ji.end)??O.name.end,O,bt.parenthesizeExpressionForDisallowedComma)}function bn(O){if(oj(O))Na("await"),qn(),Na("using");else{const be=tq(O)?"let":V8(O)?"const":sj(O)?"using":"var";Na(be)}qn(),B0(O,O.declarations,528)}function Ar(O){Cu(O)}function Cu(O){bh(O,O.modifiers,!1),Na("function"),mt(O.asteriskToken),qn(),jt(O.name),bu(O,Eu)}function bu(O,be){const Vt=O.body;if(Vt)if(ho(Vt)){const ji=Cs(O)&131072;ji&&EE(),R1(O),L(O.parameters,i1),i1(O.body),be(O),m0(Vt),kf(O),ji&&_E()}else be(O),qn(),pi(Vt,bt.parenthesizeConciseBodyOfArrowFunction);else be(O),x1()}function Eu(O){m_(O,O.typeParameters),B5(O,O.parameters),h_(O.type)}function la(O){if(Cs(O)&1)return!0;if(O.multiLine||!sl(O)&&Y&&!ck(O,Y)||iF(O,Ki(O.statements),2)||u6(O,Zu(O.statements),2,O.statements))return!1;let be;for(const Vt of O.statements){if(hD(be,Vt,2)>0)return!1;be=Vt}return!0}function m0(O){E==null||E(O),qn(),ru("{"),EE();const be=la(O)?a0:Wf;_u(O,O.statements,be),_E(),n6(20,O.statements.end,ru,O),v==null||v(O)}function a0(O){Wf(O,!0)}function Wf(O,be){const Vt=yf(O.statements),ji=He.getTextPos();Ui(O),Vt===0&&ji===He.getTextPos()&&be?(_E(),B0(O,O.statements,768),EE()):B0(O,O.statements,1,void 0,Vt)}function Qv(O){e6(O)}function e6(O){E4(0,void 0),L(O.members,uF),bh(O,O.modifiers,!0),ia(86,tE(O).pos,Na,O),O.name&&(qn(),jt(O.name));const be=Cs(O)&131072;be&&EE(),m_(O,O.typeParameters),B0(O,O.heritageClauses,0),qn(),ru("{"),B0(O,O.members,129),ru("}"),be&&_E(),dC()}function lD(O){E4(0,void 0),bh(O,O.modifiers,!1),Na("interface"),qn(),mt(O.name),m_(O,O.typeParameters),B0(O,O.heritageClauses,512),qn(),ru("{"),B0(O,O.members,129),ru("}"),dC()}function t6(O){bh(O,O.modifiers,!1),Na("type"),qn(),mt(O.name),m_(O,O.typeParameters),qn(),ru("="),qn(),mt(O.type),x1()}function Kk(O){bh(O,O.modifiers,!1),Na("enum"),qn(),mt(O.name),qn(),ru("{"),B0(O,O.members,145),ru("}")}function ab(O){bh(O,O.modifiers,!1),~O.flags&2048&&(Na(O.flags&32?"namespace":"module"),qn()),mt(O.name);let be=O.body;if(!be)return x1();for(;be&&Ec(be);)ru("."),mt(be.name),be=be.body;qn(),mt(be)}function Wk(O){R1(O),L(O.statements,i1),ir(O,cC(O)),kf(O)}function Gk(O){ia(19,O.pos,ru,O),B0(O,O.clauses,129),ia(20,O.clauses.end,ru,O,!0)}function rz(O){bh(O,O.modifiers,!1),ia(102,O.modifiers?O.modifiers.end:O.pos,Na,O),qn(),O.isTypeOnly&&(ia(156,O.pos,Na,O),qn()),mt(O.name),qn(),ia(64,O.name.end,ru,O),qn(),E9(O.moduleReference),x1()}function E9(O){O.kind===80?pi(O):mt(O)}function Sw(O){bh(O,O.modifiers,!1),ia(102,O.modifiers?O.modifiers.end:O.pos,Na,O),qn(),O.importClause&&(mt(O.importClause),qn(),ia(161,O.importClause.end,Na,O),qn()),pi(O.moduleSpecifier),O.attributes&&rC(O.attributes),x1()}function Xv(O){O.isTypeOnly&&(ia(156,O.pos,Na,O),qn()),mt(O.name),O.name&&O.namedBindings&&(ia(28,O.name.end,ru,O),qn()),mt(O.namedBindings)}function _9(O){const be=ia(42,O.pos,ru,O);qn(),ia(130,be,Na,O),qn(),mt(O.name)}function D9(O){b5(O)}function Bw(O){lb(O)}function Jk(O){const be=ia(95,O.pos,Na,O);qn(),O.isExportEquals?ia(64,be,sf,O):ia(90,be,Na,O),qn(),pi(O.expression,O.isExportEquals?bt.getParenthesizeRightSideOfBinaryForOperator(64):bt.parenthesizeExpressionOfExportDefault),x1()}function ww(O){bh(O,O.modifiers,!1);let be=ia(95,O.pos,Na,O);if(qn(),O.isTypeOnly&&(be=ia(156,be,Na,O),qn()),O.exportClause?mt(O.exportClause):be=ia(42,be,ru,O),O.moduleSpecifier){qn();const Vt=O.exportClause?O.exportClause.end:be;ia(161,Vt,Na,O),qn(),pi(O.moduleSpecifier)}O.attributes&&rC(O.attributes),x1()}function x9(O){ia(O.token,O.pos,Na,O),qn();const be=O.elements;B0(O,be,526226)}function v9(O){mt(O.name),ru(":"),qn();const be=O.value;if(!(Cs(be)&1024)){const Vt=iE(be);Gp(Vt.pos)}mt(be)}function $k(O){let be=ia(95,O.pos,Na,O);qn(),be=ia(130,be,Na,O),qn(),be=ia(145,be,Na,O),qn(),mt(O.name),x1()}function ob(O){const be=ia(42,O.pos,ru,O);qn(),ia(130,be,Na,O),qn(),mt(O.name)}function sb(O){b5(O)}function eC(O){lb(O)}function b5(O){ru("{"),B0(O,O.elements,525136),ru("}")}function lb(O){O.isTypeOnly&&(Na("type"),qn()),O.propertyName&&(mt(O.propertyName),qn(),ia(130,O.propertyName.end,Na,O),qn()),mt(O.name)}function hE(O){Na("require"),ru("("),pi(O.expression),ru(")")}function js(O){mt(O.openingElement),B0(O,O.children,262144),mt(O.closingElement)}function Uk(O){ru("<"),cb(O.tagName),pE(O,O.typeArguments),qn(),mt(O.attributes),ru("/>")}function Tw(O){mt(O.openingFragment),B0(O,O.children,262144),mt(O.closingFragment)}function i6(O){if(ru("<"),rE(O)){const be=S9(O.tagName,O);cb(O.tagName),pE(O,O.typeArguments),O.attributes.properties&&O.attributes.properties.length>0&&qn(),mt(O.attributes),nF(O.attributes,O),p_(be)}ru(">")}function y5(O){He.writeLiteral(O.text)}function d_(O){ru("")}function m4(O){B0(O,O.properties,262656)}function Gf(O){mt(O.name),Wp("=",ru,O.initializer,$i)}function jh(O){ru("{..."),pi(O.expression),ru("}")}function gm(O){let be=!1;return LO((Y==null?void 0:Y.text)||"",O+1,()=>be=!0),be}function tC(O){let be=!1;return TO((Y==null?void 0:Y.text)||"",O+1,()=>be=!0),be}function Lw(O){return gm(O)||tC(O)}function C9(O){var be;if(O.expression||!ki&&!sl(O)&&Lw(O.pos)){const Vt=Y&&!sl(O)&&o0(Y,O.pos).line!==o0(Y,O.end).line;Vt&&He.increaseIndent();const ji=ia(19,O.pos,ru,O);mt(O.dotDotDotToken),pi(O.expression),ia(20,((be=O.expression)==null?void 0:be.end)||ji,ru,O),Vt&&He.decreaseIndent()}}function qk(O){jt(O.namespace),ru(":"),jt(O.name)}function cb(O){O.kind===80?pi(O):mt(O)}function iC(O){ia(84,O.pos,Na,O),qn(),pi(O.expression,bt.parenthesizeExpressionForDisallowedComma),nC(O,O.statements,O.expression.end)}function Zk(O){const be=ia(90,O.pos,Na,O);nC(O,O.statements,be)}function nC(O,be,Vt){const ji=be.length===1&&(!Y||sl(O)||sl(be[0])||Vq(O,be[0],Y));let yu=163969;ji?(n6(59,Vt,ru,O),qn(),yu&=-130):ia(59,Vt,ru,O),B0(O,be,yu)}function Rd(O){qn(),dD(O.token,Na),qn(),B0(O,O.types,528)}function k5(O){const be=ia(85,O.pos,Na,O);qn(),O.variableDeclaration&&(ia(21,be,ru,O),mt(O.variableDeclaration),ia(22,O.variableDeclaration.end,ru,O),qn()),mt(O.block)}function F5(O){mt(O.name),ru(":"),qn();const be=O.initializer;if(!(Cs(be)&1024)){const Vt=iE(be);Gp(Vt.pos)}pi(be,bt.parenthesizeExpressionForDisallowedComma)}function h3(O){mt(O.name),O.objectAssignmentInitializer&&(qn(),ru("="),qn(),pi(O.objectAssignmentInitializer,bt.parenthesizeExpressionForDisallowedComma))}function pt(O){O.expression&&(ia(26,O.pos,ru,O),pi(O.expression,bt.parenthesizeExpressionForDisallowedComma))}function t1(O){mt(O.name),p3(O.initializer,O.name.end,O,bt.parenthesizeExpressionForDisallowedComma)}function p4(O){if(ft("/**"),O.comment){const be=VO(O.comment);if(be){const Vt=be.split(/\r\n?|\n/g);for(const ji of Vt)Bd(),qn(),ru("*"),qn(),ft(ji)}}O.tags&&(O.tags.length===1&&O.tags[0].kind===351&&!O.comment?(qn(),mt(O.tags[0])):B0(O,O.tags,33)),qn(),ft("*/")}function Ch(O){ip(O.tagName),m3(O.typeExpression),bg(O.comment)}function Nw(O){ip(O.tagName),mt(O.name),bg(O.comment)}function A5(O){qn(),ru("{"),mt(O.name),ru("}")}function uC(O){ip(O.tagName),qn(),ru("{"),mt(O.class),ru("}"),bg(O.comment)}function f3(O){ip(O.tagName),m3(O.constraint),qn(),B0(O,O.typeParameters,528),bg(O.comment)}function az(O){ip(O.tagName),O.typeExpression&&(O.typeExpression.kind===316?m3(O.typeExpression):(qn(),ru("{"),ft("Object"),O.typeExpression.isArrayType&&(ru("["),ru("]")),ru("}"))),O.fullName&&(qn(),mt(O.fullName)),bg(O.comment),O.typeExpression&&O.typeExpression.kind===329&&Qk(O.typeExpression)}function Vs(O){ip(O.tagName),O.name&&(qn(),mt(O.name)),bg(O.comment),db(O.typeExpression)}function Cg(O){bg(O.comment),db(O.typeExpression)}function Yk(O){ip(O.tagName),bg(O.comment)}function Qk(O){B0(O,q.createNodeArray(O.jsDocPropertyTags),33)}function db(O){O.typeParameters&&B0(O,q.createNodeArray(O.typeParameters),33),O.parameters&&B0(O,q.createNodeArray(O.parameters),33),O.type&&(Bd(),qn(),ru("*"),qn(),mt(O.type))}function hb(O){ip(O.tagName),m3(O.typeExpression),qn(),O.isBracketed&&ru("["),mt(O.name),O.isBracketed&&ru("]"),bg(O.comment)}function ip(O){ru("@"),mt(O)}function bg(O){const be=VO(O);be&&(qn(),ft(be))}function m3(O){O&&(qn(),ru("{"),mt(O.type),ru("}"))}function Xk(O){Bd();const be=O.statements;if(be.length===0||!Lp(be[0])||sl(be[0])){_u(O,be,Ur);return}Ur(O)}function fE(O){Pw(!!O.hasNoDefaultLib,O.syntheticFileReferences||[],O.syntheticTypeReferences||[],O.syntheticLibReferences||[]);for(const be of O.prepends)if(Ck(be)&&be.syntheticReferences)for(const Vt of be.syntheticReferences)mt(Vt),Bd()}function eF(O){O.isDeclarationFile&&Pw(O.hasNoDefaultLib,O.referencedFiles,O.typeReferenceDirectives,O.libReferenceDirectives)}function Pw(O,be,Vt,ji){if(O){const yu=He.getTextPos();up('/// '),je&&je.sections.push({pos:yu,end:He.getTextPos(),kind:"no-default-lib"}),Bd()}if(Y&&Y.moduleName&&(up(`/// `),Bd()),Y&&Y.amdDependencies)for(const yu of Y.amdDependencies)yu.name?up(`/// `):up(`/// `),Bd();for(const yu of be){const $r=He.getTextPos();up(`/// `),je&&je.sections.push({pos:$r,end:He.getTextPos(),kind:"reference",data:yu.fileName}),Bd()}for(const yu of Vt){const $r=He.getTextPos(),br=yu.resolutionMode&&yu.resolutionMode!==(Y==null?void 0:Y.impliedNodeFormat)?`resolution-mode="${yu.resolutionMode===99?"import":"require"}"`:"";up(`/// `),je&&je.sections.push({pos:$r,end:He.getTextPos(),kind:yu.resolutionMode?yu.resolutionMode===99?"type-import":"type-require":"type",data:yu.fileName}),Bd()}for(const yu of ji){const $r=He.getTextPos();up(`/// `),je&&je.sections.push({pos:$r,end:He.getTextPos(),kind:"lib",data:yu.fileName}),Bd()}}function Ur(O){const be=O.statements;R1(O),L(O.statements,i1),Ui(O);const Vt=Ue(be,ji=>!Lp(ji));eF(O),B0(O,be,1,void 0,Vt===-1?be.length:Vt),kf(O)}function or(O){const be=Cs(O);!(be&1024)&&O.pos!==O.expression.pos&&Gp(O.expression.pos),pi(O.expression),!(be&2048)&&O.end!==O.expression.end&&qm(O.expression.end)}function mE(O){mb(O,O.elements,528,void 0)}function yf(O,be,Vt,ji){let yu=!!be;for(let $r=0;$r=Vt.length||br===0;if(Fo&&ji&32768){b==null||b(Vt),B==null||B(Vt);return}ji&15360&&(ru(ozt(ji)),Fo&&Vt&&Gp(Vt.pos,!0)),b==null||b(Vt),Fo?ji&1&&!(Ae&&(!be||Y&&ck(be,Y)))?Bd():ji&256&&!(ji&524288)&&qn():np(O,be,Vt,ji,yu,$r,br,Vt.hasTrailingComma,Vt),B==null||B(Vt),ji&15360&&(Fo&&Vt&&qm(Vt.end),ru(szt(ji)))}function np(O,be,Vt,ji,yu,$r,br,Ea,Fo){const Ff=(ji&262144)===0;let $f=Ff;const Sr=iF(be,Vt[$r],ji);Sr?(Bd(Sr),$f=!1):ji&256&&qn(),ji&128&&EE();const xE=hzt(O,yu);let gn,d6,N5=!1;for(let g_=0;g_0){if(ji&131||(EE(),N5=!0),$f&&ji&60&&!fg(P5.pos)){const Jw=iE(P5);Gp(Jw.pos,!!(ji&512),!0)}Bd(v3),$f=!1}else gn&&ji&512&&qn()}if(d6=vo(P5),$f){const v3=iE(P5);Gp(v3.pos)}else $f=Ff;De=P5.pos,xE(P5,O,yu,g_),N5&&(_E(),N5=!1),gn=P5}const oF=gn?Cs(gn):0,EC=ki||!!(oF&2048),I9=Ea&&ji&64&&ji&16;I9&&(gn&&!EC?ia(28,gn.end,ru,gn):ru(",")),gn&&(be?be.end:-1)!==gn.end&&ji&60&&!EC&&qm(I9&&(Fo!=null&&Fo.end)?Fo.end:gn.end),ji&128&&_E(),Qe(d6);const sF=u6(be,Vt[$r+br-1],ji,Fo);sF?Bd(sF):ji&2097408&&qn()}function aC(O){He.writeLiteral(O)}function F9(O){He.writeStringLiteral(O)}function sz(O){He.write(O)}function tF(O,be){He.writeSymbol(O,be)}function ru(O){He.writePunctuation(O)}function x1(){He.writeTrailingSemicolon(";")}function Na(O){He.writeKeyword(O)}function sf(O){He.writeOperator(O)}function gE(O){He.writeParameter(O)}function up(O){He.writeComment(O)}function qn(){He.writeSpace(" ")}function pb(O){He.writeProperty(O)}function oC(O){He.nonEscapingWrite?He.nonEscapingWrite(O):He.write(O)}function Bd(O=1){for(let be=0;be0)}function EE(){He.increaseIndent()}function _E(){He.decreaseIndent()}function n6(O,be,Vt,ji){return lt?dD(O,Vt,be):x3(ji,O,Vt,be,dD)}function A9(O,be){k&&k(O),be($o(O.kind)),T&&T(O)}function dD(O,be,Vt){const ji=$o(O);return be(ji),Vt<0?Vt:Vt+ji.length}function sC(O,be,Vt){if(Cs(O)&1)qn();else if(Ae){const ji=g4(O,be,Vt);ji?Bd(ji):qn()}else Bd()}function lC(O){const be=O.split(/\r\n?|\n/g),Vt=Ebe(be);for(const ji of be){const yu=Vt?ji.slice(Vt):ji;yu.length&&(Bd(),ft(yu))}}function E3(O,be){O?(EE(),Bd(O)):be&&qn()}function p_(O,be){O&&_E(),be&&_E()}function iF(O,be,Vt){if(Vt&2||Ae){if(Vt&65536)return 1;if(be===void 0)return!O||Y&&ck(O,Y)?0:1;if(be.pos===De||be.kind===12)return 0;if(Y&&O&&!fg(O.pos)&&!sl(be)&&(!be.parent||Kl(be.parent)===Kl(O)))return Ae?gb(ji=>Hye(be.pos,O.pos,Y,ji)):Vq(O,be,Y)?0:1;if(Eb(be,Vt))return 1}return Vt&1?1:0}function hD(O,be,Vt){if(Vt&2||Ae){if(O===void 0||be===void 0||be.kind===12)return 0;if(Y&&!sl(O)&&!sl(be))return Ae&&lf(O,be)?gb(ji=>fle(O,be,Y,ji)):!Ae&&_m(O,be)?$j(O,be,Y)?0:1:Vt&65536?1:0;if(Eb(O,Vt)||Eb(be,Vt))return 1}else if(IP(be))return 1;return Vt&1?1:0}function u6(O,be,Vt,ji){if(Vt&2||Ae){if(Vt&65536)return 1;if(be===void 0)return!O||Y&&ck(O,Y)?0:1;if(Y&&O&&!fg(O.pos)&&!sl(be)&&(!be.parent||be.parent===O)){if(Ae){const yu=ji&&!fg(ji.end)?ji.end:be.end;return gb($r=>Kye(yu,O.end,Y,$r))}return Oye(O,be,Y)?0:1}if(Eb(be,Vt))return 1}return Vt&1&&!(Vt&131072)?1:0}function gb(O){H.assert(!!Ae);const be=O(!0);return be===0?O(!1):be}function S9(O,be){const Vt=Ae&&iF(be,O,0);return Vt&&E3(Vt,!1),!!Vt}function nF(O,be){const Vt=Ae&&u6(be,O,0,void 0);Vt&&Bd(Vt)}function Eb(O,be){if(sl(O)){const Vt=IP(O);return Vt===void 0?(be&65536)!==0:Vt}return(be&65536)!==0}function g4(O,be,Vt){return Cs(O)&262144?0:(O=bc(O),be=bc(be),Vt=bc(Vt),IP(Vt)?1:Y&&!sl(O)&&!sl(be)&&!sl(Vt)?Ae?gb(ji=>fle(be,Vt,Y,ji)):$j(be,Vt,Y)?0:1:0)}function cC(O){return O.statements.length===0&&(!Y||$j(O,O,Y))}function bc(O){for(;O.kind===217&&sl(O);)O=O.expression;return O}function hd(O,be){if(al(O)||Jy(O))return r6(O);if(us(O)&&O.textSourceNode)return hd(O.textSourceNode,be);const Vt=Y,ji=!!Vt&&!!O.parent&&!sl(O);if(G_(O)){if(!ji||zn(O)!==Kl(Vt))return fu(O)}else if(mg(O)){if(!ji||zn(O)!==Kl(Vt))return MP(O)}else if(H.assertNode(O,m2),!ji)return O.text;return E2(Vt,O,be)}function B9(O,be,Vt){if(O.kind===11&&O.textSourceNode){const yu=O.textSourceNode;if(at(yu)||ea(yu)||Rf(yu)||mg(yu)){const $r=Rf(yu)?yu.text:hd(yu);return Vt?`"${Q0e($r)}"`:be||Cs(O)&16777216?`"${kv($r)}"`:`"${Rj($r)}"`}else return B9(yu,be,Vt)}const ji=(be?1:0)|(Vt?2:0)|(t.terminateUnterminatedLiterals?4:0)|(t.target&&t.target===99?8:0);return Sbe(O,Y,ji)}function R1(O){O&&Cs(O)&1048576||(Ne.push(pe),pe=0,Ce.push(ne),ne=void 0,fe.push(xe))}function kf(O){O&&Cs(O)&1048576||(pe=Ne.pop(),ne=Ce.pop(),xe=fe.pop())}function _b(O){(!xe||xe===Zu(fe))&&(xe=new Set),xe.add(O)}function E4(O,be){ve.push(Se),Se=O,Be.push(xe),We=be}function dC(){Se=ve.pop(),We=Be.pop()}function w5(O){(!We||We===Zu(Be))&&(We=new Set),We.add(O)}function i1(O){if(O)switch(O.kind){case 241:L(O.statements,i1);break;case 256:case 254:case 246:case 247:i1(O.statement);break;case 245:i1(O.thenStatement),i1(O.elseStatement);break;case 248:case 250:case 249:i1(O.initializer),i1(O.statement);break;case 255:i1(O.caseBlock);break;case 269:L(O.clauses,i1);break;case 296:case 297:L(O.statements,i1);break;case 258:i1(O.tryBlock),i1(O.catchClause),i1(O.finallyBlock);break;case 299:i1(O.variableDeclaration),i1(O.block);break;case 243:i1(O.declarationList);break;case 261:L(O.declarations,i1);break;case 260:case 169:case 208:case 263:rp(O.name);break;case 262:rp(O.name),Cs(O)&1048576&&(L(O.parameters,i1),i1(O.body));break;case 206:case 207:L(O.elements,i1);break;case 272:i1(O.importClause);break;case 273:rp(O.name),i1(O.namedBindings);break;case 274:rp(O.name);break;case 280:rp(O.name);break;case 275:L(O.elements,i1);break;case 276:rp(O.propertyName||O.name);break}}function uF(O){if(O)switch(O.kind){case 303:case 304:case 172:case 174:case 177:case 178:rp(O.name);break}}function rp(O){O&&(al(O)||Jy(O)?r6(O):Ao(O)&&i1(O))}function r6(O){const be=O.emitNode.autoGenerate;if((be.flags&7)===4)return jw(RV(O),ea(O),be.flags,be.prefix,be.suffix);{const Vt=be.id;return ge[Vt]||(ge[Vt]=lz(O))}}function jw(O,be,Vt,ji,yu){const $r=$s(O),br=be?se:oe;return br[$r]||(br[$r]=T5(O,be,Vt??0,zB(ji,r6),zB(yu)))}function z0(O,be){return rF(O)&&!Vw(O,be)&&!ae.has(O)}function Vw(O,be){return be?!!(We!=null&&We.has(O)):!!(xe!=null&&xe.has(O))}function rF(O,be){return Y?UU(Y,O,s):!0}function hC(O,be){for(let Vt=be;Vt&&k2(Vt,be);Vt=Vt.nextContainer)if($E(Vt)&&Vt.locals){const ji=Vt.locals.get(Al(O));if(ji&&ji.flags&3257279)return!1}return!0}function w9(O){switch(O){case"":return pe;case"#":return Se;default:return(ne==null?void 0:ne.get(O))??0}}function Vh(O,be){switch(O){case"":pe=be;break;case"#":Se=be;break;default:ne??(ne=new Map),ne.set(O,be);break}}function _3(O,be,Vt,ji,yu){ji.length>0&&ji.charCodeAt(0)===35&&(ji=ji.slice(1));const $r=Rv(Vt,ji,"",yu);let br=w9($r);if(O&&!(br&O)){const Fo=Rv(Vt,ji,O===268435456?"_i":"_n",yu);if(z0(Fo,Vt))return br|=O,Vt?w5(Fo):be&&_b(Fo),Vh($r,br),Fo}for(;;){const Ea=br&268435455;if(br++,Ea!==8&&Ea!==13){const Fo=Ea<26?"_"+String.fromCharCode(97+Ea):"_"+(Ea-26),Ff=Rv(Vt,ji,Fo,yu);if(z0(Ff,Vt))return Vt?w5(Ff):be&&_b(Ff),Vh($r,br),Ff}}}function fD(O,be=z0,Vt,ji,yu,$r,br){if(O.length>0&&O.charCodeAt(0)===35&&(O=O.slice(1)),$r.length>0&&$r.charCodeAt(0)===35&&($r=$r.slice(1)),Vt){const Fo=Rv(yu,$r,O,br);if(be(Fo,yu))return yu?w5(Fo):ji?_b(Fo):ae.add(Fo),Fo}O.charCodeAt(O.length-1)!==95&&(O+="_");let Ea=1;for(;;){const Fo=Rv(yu,$r,O+Ea,br);if(be(Fo,yu))return yu?w5(Fo):ji?_b(Fo):ae.add(Fo),Fo;Ea++}}function Db(O){return fD(O,rF,!0,!1,!1,"","")}function Em(O){const be=hd(O.name);return hC(be,rr(O,$E))?be:fD(be,z0,!1,!1,!1,"","")}function T9(O){const be=q8(O),Vt=us(be)?wbe(be.text):"module";return fD(Vt,z0,!1,!1,!1,"","")}function a6(){return fD("default",z0,!1,!1,!1,"","")}function Um(){return fD("class",z0,!1,!1,!1,"","")}function xb(O,be,Vt,ji){return at(O.name)?jw(O.name,be):_3(0,!1,be,Vt,ji)}function T5(O,be,Vt,ji,yu){switch(O.kind){case 80:case 81:return fD(hd(O),z0,!!(Vt&16),!!(Vt&8),be,ji,yu);case 267:case 266:return H.assert(!ji&&!yu&&!be),Em(O);case 272:case 278:return H.assert(!ji&&!yu&&!be),T9(O);case 262:case 263:{H.assert(!ji&&!yu&&!be);const $r=O.name;return $r&&!al($r)?T5($r,!1,Vt,ji,yu):a6()}case 277:return H.assert(!ji&&!yu&&!be),a6();case 231:return H.assert(!ji&&!yu&&!be),Um();case 174:case 177:case 178:return xb(O,be,ji,yu);case 167:return _3(0,!0,be,ji,yu);default:return _3(0,!1,be,ji,yu)}}function lz(O){const be=O.emitNode.autoGenerate,Vt=zB(be.prefix,r6),ji=zB(be.suffix);switch(be.flags&7){case 1:return _3(0,!!(be.flags&8),ea(O),Vt,ji);case 2:return H.assertNode(O,at),_3(268435456,!!(be.flags&8),!1,Vt,ji);case 3:return fD(fu(O),be.flags&32?rF:z0,!!(be.flags&16),!!(be.flags&8),ea(O),Vt,ji)}return H.fail(`Unsupported GeneratedIdentifierKind: ${H.formatEnum(be.flags&7,uU,!0)}.`)}function L9(O,be){const Vt=Oe(2,O,be),ji=Ni,yu=Vi,$r=xn;N9(be),Vt(O,be),P9(be,ji,yu,$r)}function N9(O){const be=Cs(O),Vt=iE(O);fC(O,be,Vt.pos,Vt.end),be&4096&&(ki=!0)}function P9(O,be,Vt,ji){const yu=Cs(O),$r=iE(O);yu&4096&&(ki=!1),Jf(O,yu,$r.pos,$r.end,be,Vt,ji);const br=Hke(O);br&&Jf(O,yu,br.pos,br.end,be,Vt,ji)}function fC(O,be,Vt,ji){Fr(),Pi=!1;const yu=Vt<0||(be&1024)!==0||O.kind===12,$r=ji<0||(be&2048)!==0||O.kind===12;(Vt>0||ji>0)&&Vt!==ji&&(yu||vb(Vt,O.kind!==359),(!yu||Vt>=0&&be&1024)&&(Ni=Vt),(!$r||ji>=0&&be&2048)&&(Vi=ji,O.kind===261&&(xn=ji))),L(EB(O),D3),Sa()}function Jf(O,be,Vt,ji,yu,$r,br){Fr();const Ea=ji<0||(be&2048)!==0||O.kind===12;L(EV(O),M9),(Vt>0||ji>0)&&Vt!==ji&&(Ni=yu,Vi=$r,xn=br,!Ea&&O.kind!==359&&ap(ji)),Sa()}function D3(O){(O.hasLeadingNewline||O.kind===2)&&He.writeLine(),z9(O),O.hasTrailingNewLine||O.kind===2?He.writeLine():He.writeSpace(" ")}function M9(O){He.isAtStartOfLine()||He.writeSpace(" "),z9(O),O.hasTrailingNewLine&&He.writeLine()}function z9(O){const be=Hs(O),Vt=O.kind===3?t7(be):void 0;aB(be,Vt,He,0,be.length,j)}function Hs(O){return O.kind===3?`/*${O.text}*/`:`//${O.text}`}function _u(O,be,Vt){Fr();const{pos:ji,end:yu}=be,$r=Cs(O),br=ji<0||($r&1024)!==0,Ea=ki||yu<0||($r&2048)!==0;br||Kw(be),Sa(),$r&4096&&!ki?(ki=!0,Vt(O),ki=!1):Vt(O),Fr(),Ea||(vb(be.end,!0),Pi&&!He.isAtStartOfLine()&&He.writeLine()),Sa()}function _m(O,be){return O=Kl(O),O.parent&&O.parent===Kl(be).parent}function lf(O,be){if(be.pos-1&&ji.indexOf(be)===yu+1}function vb(O,be){Pi=!1,be?O===0&&(Y!=null&&Y.isDeclarationFile)?bb(O,mC):bb(O,o6):O===0&&bb(O,Hw)}function Hw(O,be,Vt,ji,yu){pC(O,be)&&o6(O,be,Vt,ji,yu)}function mC(O,be,Vt,ji,yu){pC(O,be)||o6(O,be,Vt,ji,yu)}function Cb(O,be){return t.onlyPrintJsDocStyle?Gce(O,be)||qU(O,be):!0}function o6(O,be,Vt,ji,yu){!Y||!Cb(Y.text,O)||(Pi||(yye(_i(),He,yu,O),Pi=!0),DE(O),aB(Y.text,_i(),He,O,be,j),DE(be),ji?He.writeLine():Vt===3&&He.writeSpace(" "))}function qm(O){ki||O===-1||vb(O,!0)}function ap(O){Nc(O,s6)}function s6(O,be,Vt,ji){!Y||!Cb(Y.text,O)||(He.isAtStartOfLine()||He.writeSpace(" "),DE(O),aB(Y.text,_i(),He,O,be,j),DE(be),ji&&He.writeLine())}function Gp(O,be,Vt){ki||(Fr(),Nc(O,be?s6:Vt?op:L5),Sa())}function op(O,be,Vt){Y&&(DE(O),aB(Y.text,_i(),He,O,be,j),DE(be),Vt===2&&He.writeLine())}function L5(O,be,Vt,ji){Y&&(DE(O),aB(Y.text,_i(),He,O,be,j),DE(be),ji?He.writeLine():He.writeSpace(" "))}function bb(O,be){Y&&(Ni===-1||O!==Ni)&&(cz(O)?_4(be):TO(Y.text,O,be,O))}function Nc(O,be){Y&&(Vi===-1||O!==Vi&&O!==xn)&&LO(Y.text,O,be)}function cz(O){return rn!==void 0&&Cr(rn).nodePos===O}function _4(O){if(!Y)return;const be=Cr(rn).detachedCommentEndPos;rn.length-1?rn.pop():rn=void 0,TO(Y.text,be,O,be)}function Kw(O){const be=Y&&Fye(Y.text,_i(),He,O1,O,j,ki);be&&(rn?rn.push(be):rn=[be])}function O1(O,be,Vt,ji,yu,$r){!Y||!Cb(Y.text,ji)||(DE(ji),aB(O,be,Vt,ji,yu,$r),DE(yu))}function pC(O,be){return!!Y&&l0e(Y.text,O,be)}function yb(O){return O.parsedSourceMap===void 0&&O.sourceMapText!==void 0&&(O.parsedSourceMap=Kde(O.sourceMapText)||!1),O.parsedSourceMap||void 0}function aF(O,be){const Vt=Oe(3,O,be);Ww(be),Vt(O,be),D4(be)}function Ww(O){const be=Cs(O),Vt=wv(O);if(Wse(O)){H.assertIsDefined(O.parent,"UnparsedNodes must have parent pointers");const ji=yb(O.parent);ji&&St&&St.appendSourceMap(He.getLine(),He.getColumn(),ji,O.parent.sourceMapPath,O.parent.getLineAndCharacterOfPosition(O.pos),O.parent.getLineAndCharacterOfPosition(O.end))}else{const ji=Vt.source||It;O.kind!==359&&!(be&32)&&Vt.pos>=0&&l6(Vt.source||It,Ol(ji,Vt.pos)),be&128&&(lt=!0)}}function D4(O){const be=Cs(O),Vt=wv(O);Wse(O)||(be&128&&(lt=!1),O.kind!==359&&!(be&64)&&Vt.end>=0&&l6(Vt.source||It,Vt.end))}function Ol(O,be){return O.skipTrivia?O.skipTrivia(be):ps(O.text,be)}function DE(O){if(lt||fg(O)||c6(It))return;const{line:be,character:Vt}=o0(It,O);St.addMapping(He.getLine(),He.getColumn(),ti,be,Vt,void 0)}function l6(O,be){if(O!==It){const Vt=It,ji=ti;gC(O),DE(be),Gw(Vt,ji)}else DE(be)}function x3(O,be,Vt,ji,yu){if(lt||O&&pq(O))return yu(be,Vt,ji);const $r=O&&O.emitNode,br=$r&&$r.flags||0,Ea=$r&&$r.tokenSourceMapRanges&&$r.tokenSourceMapRanges[be],Fo=Ea&&Ea.source||It;return ji=Ol(Fo,Ea?Ea.pos:ji),!(br&256)&&ji>=0&&l6(Fo,ji),ji=yu(be,Vt,ji),Ea&&(ji=Ea.end),!(br&512)&&ji>=0&&l6(Fo,ji),ji}function gC(O){if(!lt){if(It=O,O===ht){ti=Ut;return}c6(O)||(ti=St.addSource(O.fileName),t.inlineSources&&St.setSourceContent(ti,O.text),ht=O,Ut=ti)}}function Gw(O,be){It=O,ti=be}function c6(O){return Ml(O.fileName,".json")}}function azt(){const t=[];return t[1024]=["{","}"],t[2048]=["(",")"],t[4096]=["<",">"],t[8192]=["[","]"],t}function ozt(t){return B7e[t&15360][0]}function szt(t){return B7e[t&15360][1]}function lzt(t,u,s,d){u(t)}function czt(t,u,s,d){u(t,s.select(d))}function dzt(t,u,s,d){u(t,s)}function hzt(t,u){return t.length===1?lzt:typeof u=="object"?czt:dzt}var B7e,pQ,h1e,Z2,f1e,pH,fzt=o({"src/compiler/emitter.ts"(){So(),So(),Hy(),B7e=azt(),pQ={hasGlobalName:so,getReferencedExportContainer:so,getReferencedImportDeclaration:so,getReferencedDeclarationWithCollidingName:so,isDeclarationWithCollidingName:so,isValueAliasDeclaration:so,isReferencedAliasDeclaration:so,isTopLevelValueImportEqualsWithEntityName:so,getNodeCheckFlags:so,isDeclarationVisible:so,isLateBound:t=>!1,collectLinkedAliases:so,isImplementationOfOverload:so,isRequiredInitializedParameter:so,isOptionalUninitializedParameterProperty:so,isExpandoFunctionDeclaration:so,getPropertiesOfContainerFunction:so,createTypeOfDeclaration:so,createReturnTypeOfSignatureDeclaration:so,createTypeOfExpression:so,createLiteralConstValue:so,isSymbolAccessible:so,isEntityNameVisible:so,getConstantValue:so,getReferencedValueDeclaration:so,getReferencedValueDeclarations:so,getTypeReferenceSerializationKind:so,isOptionalParameter:so,moduleExportsSomeValue:so,isArgumentsLocalBinding:so,getExternalModuleFileFromDeclaration:so,getTypeReferenceDirectivesForEntityName:so,getTypeReferenceDirectivesForSymbol:so,isLiteralConstDeclaration:so,getJsxFactoryEntity:so,getJsxFragmentFactoryEntity:so,getAllAccessorDeclarations:so,getSymbolOfExternalModuleSpecifier:so,isBindingCapturedByNode:so,getDeclarationStatementsForSourceFile:so,isImportRequiredByAugmentation:so,tryFindAmbientModule:so},h1e=Nh(()=>Kv({})),Z2=Nh(()=>Kv({removeComments:!0})),f1e=Nh(()=>Kv({removeComments:!0,neverAsciiEscape:!0})),pH=Nh(()=>Kv({removeComments:!0,omitTrailingSemicolon:!0}))}});function gQ(t,u,s){if(!t.getDirectories||!t.readDirectory)return;const d=new Map,f=T1(s);return{useCaseSensitiveFileNames:s,fileExists:z,readFile:(ne,ve)=>t.readFile(ne,ve),directoryExists:t.directoryExists&&j,getDirectories:K,readDirectory:Y,createDirectory:t.createDirectory&&J,writeFile:t.writeFile&&M,addOrDeleteFileOrDirectory:se,addOrDeleteFile:ge,clearCache:Ce,realpath:t.realpath&&oe};function p(ne){return K0(ne,u,f)}function E(ne){return d.get(Pd(ne))}function v(ne){const ve=E(cr(ne));return ve&&(ve.sortedAndCanonicalizedFiles||(ve.sortedAndCanonicalizedFiles=ve.files.map(f).sort(),ve.sortedAndCanonicalizedDirectories=ve.directories.map(f).sort()),ve)}function b(ne){return Fc(Jo(ne))}function B(ne,ve){var Se;if(!t.realpath||Pd(p(t.realpath(ne)))===ve){const Ne={files:Kt(t.readDirectory(ne,void 0,void 0,["*.*"]),b)||[],directories:t.getDirectories(ne)||[]};return d.set(Pd(ve),Ne),Ne}if((Se=t.directoryExists)!=null&&Se.call(t,ne))return d.set(ve,!1),!1}function k(ne,ve){ve=Pd(ve);const Se=E(ve);if(Se)return Se;try{return B(ne,ve)}catch{H.assert(!d.has(Pd(ve)));return}}function T(ne,ve){return Hl(ne,ve,il,ch)>=0}function M(ne,ve,Se){const Ne=p(ne),pe=v(Ne);return pe&&ae(pe,b(ne),!0),t.writeFile(ne,ve,Se)}function z(ne){const ve=p(ne),Se=v(ve);return Se&&T(Se.sortedAndCanonicalizedFiles,f(b(ne)))||t.fileExists(ne)}function j(ne){const ve=p(ne);return d.has(Pd(ve))||t.directoryExists(ne)}function J(ne){const ve=p(ne),Se=v(ve);if(Se){const Ne=b(ne),pe=f(Ne),fe=Se.sortedAndCanonicalizedDirectories;Nt(fe,pe,ch)&&Se.directories.push(Ne)}t.createDirectory(ne)}function K(ne){const ve=p(ne),Se=k(ne,ve);return Se?Se.directories.slice():t.getDirectories(ne)}function Y(ne,ve,Se,Ne,pe){const fe=p(ne),xe=k(ne,fe);let Be;if(xe!==void 0)return Fle(ne,ve,Se,Ne,s,u,pe,We,oe);return t.readDirectory(ne,ve,Se,Ne,pe);function We(De){const He=p(De);if(He===fe)return xe||Ae(De,He);const Je=k(De,He);return Je!==void 0?Je||Ae(De,He):DZ}function Ae(De,He){if(Be&&He===fe)return Be;const Je={files:Kt(t.readDirectory(De,void 0,void 0,["*.*"]),b)||_t,directories:t.getDirectories(De)||_t};return He===fe&&(Be=Je),Je}}function oe(ne){return t.realpath?t.realpath(ne):ne}function se(ne,ve){if(E(ve)!==void 0){Ce();return}const Ne=v(ve);if(!Ne)return;if(!t.directoryExists){Ce();return}const pe=b(ne),fe={fileExists:t.fileExists(ve),directoryExists:t.directoryExists(ve)};return fe.directoryExists||T(Ne.sortedAndCanonicalizedDirectories,f(pe))?Ce():ae(Ne,pe,fe.fileExists),fe}function ge(ne,ve,Se){if(Se===1)return;const Ne=v(ve);Ne&&ae(Ne,b(ne),Se===0)}function ae(ne,ve,Se){const Ne=ne.sortedAndCanonicalizedFiles,pe=f(ve);if(Se)Nt(Ne,pe,ch)&&ne.files.push(ve);else{const fe=Hl(Ne,pe,il,ch);if(fe>=0){Ne.splice(fe,1);const xe=ne.files.findIndex(Be=>f(Be)===pe);ne.files.splice(xe,1)}}}function Ce(){d.clear()}}function EQ(t,u,s,d,f){var p;const E=og(((p=u==null?void 0:u.configFile)==null?void 0:p.extendedSourceFiles)||_t,f);s.forEach((v,b)=>{E.has(b)||(v.projects.delete(t),v.close())}),E.forEach((v,b)=>{const B=s.get(b);B?B.projects.add(t):s.set(b,{projects:new Set([t]),watcher:d(v,b),close:()=>{const k=s.get(b);!k||k.projects.size!==0||(k.watcher.close(),s.delete(b))}})})}function m1e(t,u){u.forEach(s=>{s.projects.delete(t)&&s.close()})}function _Q(t,u,s){t.delete(u)&&t.forEach(({extendedResult:d},f)=>{var p;(p=d.extendedSourceFiles)!=null&&p.some(E=>s(E)===u)&&_Q(t,f,s)})}function ttt(t,u,s){const d=new Map(t);sB(u,d,{createNewValue:s,onDeleteValue:dg})}function p1e(t,u,s){const d=t.getMissingFilePaths(),f=og(d,il,G3);sB(u,f,{createNewValue:s,onDeleteValue:dg})}function gH(t,u,s){sB(t,u,{createNewValue:d,onDeleteValue:Om,onExistingValue:f});function d(p,E){return{watcher:s(p,E),flags:E}}function f(p,E,v){p.flags!==E&&(p.watcher.close(),t.set(v,d(v,E)))}}function EH({watchedDirPath:t,fileOrDirectory:u,fileOrDirectoryPath:s,configFileName:d,options:f,program:p,extraFileExtensions:E,currentDirectory:v,useCaseSensitiveFileNames:b,writeLog:B,toPath:k,getScriptKind:T}){const M=LQ(s);if(!M)return B(`Project: ${d} Detected ignored path: ${u}`),!0;if(s=M,s===t)return!1;if(XA(s)&&!(cke(u,f,E)||Y()))return B(`Project: ${d} Detected file add/remove of non supported extension: ${u}`),!0;if(ZFe(u,f.configFile.configFileSpecs,Ga(cr(d),v),b,v))return B(`Project: ${d} Detected excluded file: ${u}`),!0;if(!p||b0(f)||f.outDir)return!1;if(Xd(s)){if(f.declarationDir)return!1}else if(!jc(s,gB))return!1;const z=Eh(s),j=ja(p)?void 0:mzt(p)?p.getProgramOrUndefined():p,J=!j&&!ja(p)?p:void 0;if(K(z+".ts")||K(z+".tsx"))return B(`Project: ${d} Detected output file: ${u}`),!0;return!1;function K(oe){return j?!!j.getSourceFileByPath(oe):J?J.getState().fileInfos.has(oe):!!Le(p,se=>k(se)===oe)}function Y(){if(!T)return!1;switch(T(u)){case 3:case 4:case 7:case 5:return!0;case 1:case 2:return Av(f);case 6:return L2(f);case 0:return!1}}}function mzt(t){return!!t.getState}function w7e(t,u){return t?t.isEmittedFile(u):!1}function g1e(t,u,s,d){m2e(u===2?s:zs);const f={watchFile:(J,K,Y,oe)=>t.watchFile(J,K,Y,oe),watchDirectory:(J,K,Y,oe)=>t.watchDirectory(J,K,(Y&1)!==0,oe)},p=u!==0?{watchFile:z("watchFile"),watchDirectory:z("watchDirectory")}:void 0,E=u===2?{watchFile:T,watchDirectory:M}:p||f,v=u===2?k:ew;return{watchFile:b("watchFile"),watchDirectory:b("watchDirectory")};function b(J){return(K,Y,oe,se,ge,ae)=>{var Ce;return AY(K,J==="watchFile"?se==null?void 0:se.excludeFiles:se==null?void 0:se.excludeDirectories,B(),((Ce=t.getCurrentDirectory)==null?void 0:Ce.call(t))||"")?v(K,oe,se,ge,ae):E[J].call(void 0,K,Y,oe,se,ge,ae)}}function B(){return typeof t.useCaseSensitiveFileNames=="boolean"?t.useCaseSensitiveFileNames:t.useCaseSensitiveFileNames()}function k(J,K,Y,oe,se){return s(`ExcludeWatcher:: Added:: ${j(J,K,Y,oe,se,d)}`),{close:()=>s(`ExcludeWatcher:: Close:: ${j(J,K,Y,oe,se,d)}`)}}function T(J,K,Y,oe,se,ge){s(`FileWatcher:: Added:: ${j(J,Y,oe,se,ge,d)}`);const ae=p.watchFile(J,K,Y,oe,se,ge);return{close:()=>{s(`FileWatcher:: Close:: ${j(J,Y,oe,se,ge,d)}`),ae.close()}}}function M(J,K,Y,oe,se,ge){const ae=`DirectoryWatcher:: Added:: ${j(J,Y,oe,se,ge,d)}`;s(ae);const Ce=H0(),ne=p.watchDirectory(J,K,Y,oe,se,ge),ve=H0()-Ce;return s(`Elapsed:: ${ve}ms ${ae}`),{close:()=>{const Se=`DirectoryWatcher:: Close:: ${j(J,Y,oe,se,ge,d)}`;s(Se);const Ne=H0();ne.close();const pe=H0()-Ne;s(`Elapsed:: ${pe}ms ${Se}`)}}}function z(J){return(K,Y,oe,se,ge,ae)=>f[J].call(void 0,K,(...Ce)=>{const ne=`${J==="watchFile"?"FileWatcher":"DirectoryWatcher"}:: Triggered with ${Ce[0]} ${Ce[1]!==void 0?Ce[1]:""}:: ${j(K,oe,se,ge,ae,d)}`;s(ne);const ve=H0();Y.call(void 0,...Ce);const Se=H0()-ve;s(`Elapsed:: ${Se}ms ${ne}`)},oe,se,ge,ae)}function j(J,K,Y,oe,se,ge){return`WatchInfo: ${J} ${K} ${JSON.stringify(Y)} ${ge?ge(oe,se):se===void 0?oe:`${oe} ${se}`}`}}function _H(t){const u=t==null?void 0:t.fallbackPolling;return{watchFile:u!==void 0?u:1}}function Om(t){t.watcher.close()}var E1e,_1e,pzt=o({"src/compiler/watchUtilities.ts"(){So(),E1e=(t=>(t[t.Update=0]="Update",t[t.RootNamesAndUpdate=1]="RootNamesAndUpdate",t[t.Full=2]="Full",t))(E1e||{}),_1e=(t=>(t[t.None=0]="None",t[t.TriggerOnly=1]="TriggerOnly",t[t.Verbose=2]="Verbose",t))(_1e||{})}});function T7e(t,u,s="tsconfig.json"){return $g(t,d=>{const f=dr(d,s);return u(f)?f:void 0})}function DQ(t,u){const s=cr(u),d=Nf(t)?t:dr(s,t);return Jo(d)}function L7e(t,u,s){let d;return L(t,p=>{const E=yO(p,u);if(E.pop(),!d){d=E;return}const v=Math.min(d.length,E.length);for(let b=0;b{let E;try{ul("beforeIORead"),E=t(d,u().charset),ul("afterIORead"),wm("I/O Read","beforeIORead","afterIORead")}catch(v){p&&p(v.message),E=""}return E!==void 0?VV(d,E,f,s):void 0}}function x1e(t,u,s){return(d,f,p,E)=>{try{ul("beforeIOWrite"),ile(d,f,p,t,u,s),ul("afterIOWrite"),wm("I/O Write","beforeIOWrite","afterIOWrite")}catch(v){E&&E(v.message)}}}function v1e(t,u,s=l1){const d=new Map,f=T1(s.useCaseSensitiveFileNames);function p(k){return d.has(k)?!0:(B.directoryExists||s.directoryExists)(k)?(d.set(k,!0),!0):!1}function E(){return cr(Jo(s.getExecutingFilePath()))}const v=r5(t),b=s.realpath&&(k=>s.realpath(k)),B={getSourceFile:D1e(k=>B.readFile(k),()=>t,u),getDefaultLibLocation:E,getDefaultLibFileName:k=>dr(E(),PO(k)),writeFile:x1e((k,T,M)=>s.writeFile(k,T,M),k=>(B.createDirectory||s.createDirectory)(k),k=>p(k)),getCurrentDirectory:Nh(()=>s.getCurrentDirectory()),useCaseSensitiveFileNames:()=>s.useCaseSensitiveFileNames,getCanonicalFileName:f,getNewLine:()=>v,fileExists:k=>s.fileExists(k),readFile:k=>s.readFile(k),trace:k=>s.write(k+v),directoryExists:k=>s.directoryExists(k),getEnvironmentVariable:k=>s.getEnvironmentVariable?s.getEnvironmentVariable(k):"",getDirectories:k=>s.getDirectories(k),realpath:b,readDirectory:(k,T,M,z,j)=>s.readDirectory(k,T,M,z,j),createDirectory:k=>s.createDirectory(k),createHash:To(s,s.createHash)};return B}function DH(t,u,s){const d=t.readFile,f=t.fileExists,p=t.directoryExists,E=t.createDirectory,v=t.writeFile,b=new Map,B=new Map,k=new Map,T=new Map,M=J=>{const K=u(J),Y=b.get(K);return Y!==void 0?Y!==!1?Y:void 0:z(K,J)},z=(J,K)=>{const Y=d.call(t,K);return b.set(J,Y!==void 0?Y:!1),Y};t.readFile=J=>{const K=u(J),Y=b.get(K);return Y!==void 0?Y!==!1?Y:void 0:!Ml(J,".json")&&!F7e(J)?d.call(t,J):z(K,J)};const j=s?(J,K,Y,oe)=>{const se=u(J),ge=typeof K=="object"?K.impliedNodeFormat:void 0,ae=T.get(ge),Ce=ae==null?void 0:ae.get(se);if(Ce)return Ce;const ne=s(J,K,Y,oe);return ne&&(Xd(J)||Ml(J,".json"))&&T.set(ge,(ae||new Map).set(se,ne)),ne}:void 0;return t.fileExists=J=>{const K=u(J),Y=B.get(K);if(Y!==void 0)return Y;const oe=f.call(t,J);return B.set(K,!!oe),oe},v&&(t.writeFile=(J,K,...Y)=>{const oe=u(J);B.delete(oe);const se=b.get(oe);se!==void 0&&se!==K?(b.delete(oe),T.forEach(ge=>ge.delete(oe))):j&&T.forEach(ge=>{const ae=ge.get(oe);ae&&ae.text!==K&&ge.delete(oe)}),v.call(t,J,K,...Y)}),p&&(t.directoryExists=J=>{const K=u(J),Y=k.get(K);if(Y!==void 0)return Y;const oe=p.call(t,J);return k.set(K,!!oe),oe},E&&(t.createDirectory=J=>{const K=u(J);k.delete(K),E.call(t,J)})),{originalReadFile:d,originalFileExists:f,originalDirectoryExists:p,originalCreateDirectory:E,originalWriteFile:v,getSourceFileWithCache:j,readFileWithCache:M}}function itt(t,u,s){let d;return d=yn(d,t.getConfigFileParsingDiagnostics()),d=yn(d,t.getOptionsDiagnostics(s)),d=yn(d,t.getSyntacticDiagnostics(u,s)),d=yn(d,t.getGlobalDiagnostics(s)),d=yn(d,t.getSemanticDiagnostics(u,s)),l4(t.getCompilerOptions())&&(d=yn(d,t.getDeclarationDiagnostics(u,s))),k8(d||_t)}function ntt(t,u){let s="";for(const d of t)s+=C1e(d,u);return s}function C1e(t,u){const s=`${Ky(t)} TS${t.code}: ${sE(t.messageText,u.getNewLine())}${u.getNewLine()}`;if(t.file){const{line:d,character:f}=o0(t.file,t.start),p=t.file.fileName;return`${BN(p,u.getCurrentDirectory(),v=>u.getCanonicalFileName(v))}(${d+1},${f+1}): `+s}return s}function utt(t){switch(t){case 1:return"\x1B[91m";case 0:return"\x1B[93m";case 2:return H.fail("Should never get an Info diagnostic on the command line.");case 3:return"\x1B[94m"}}function Y2(t,u){return u+t+I7e}function rtt(t,u,s,d,f,p){const{line:E,character:v}=o0(t,u),{line:b,character:B}=o0(t,u+s),k=o0(t,t.text.length).line,T=b-E>=4;let M=(b+1+"").length;T&&(M=Math.max(R7e.length,M));let z="";for(let j=E;j<=b;j++){z+=p.getNewLine(),T&&E+1s.getCanonicalFileName(b)):t.fileName;let v="";return v+=d(E,"\x1B[96m"),v+=":",v+=d(`${f+1}`,"\x1B[93m"),v+=":",v+=d(`${p+1}`,"\x1B[93m"),v}function P7e(t,u){let s="";for(const d of t){if(d.file){const{file:f,start:p}=d;s+=b1e(f,p,u),s+=" - "}if(s+=Y2(Ky(d),utt(d.category)),s+=Y2(` TS${d.code}: `,"\x1B[90m"),s+=sE(d.messageText,u.getNewLine()),d.file&&d.code!==F.File_appears_to_be_binary.code&&(s+=u.getNewLine(),s+=rtt(d.file,d.start,d.length,"",utt(d.category),u)),d.relatedInformation){s+=u.getNewLine();for(const{file:f,start:p,length:E,messageText:v}of d.relatedInformation)f&&(s+=u.getNewLine(),s+=stt+b1e(f,p,u),s+=rtt(f,p,E,O7e,"\x1B[96m",u)),s+=u.getNewLine(),s+=O7e+sE(v,u.getNewLine())}s+=u.getNewLine()}return s}function sE(t,u,s=0){if(Wa(t))return t;if(t===void 0)return"";let d="";if(s){d+=u;for(let f=0;fHB(p,t,s,d,f,u,E)}}function z7e(t){return Wa(t)?t:Jg(t.fileName)}function vQ(t,u,s,d,f){return{nameAndMode:SQ,resolve:(p,E)=>cAe(p,t,s,d,u,f,E)}}function xH(t,u,s,d,f,p,E,v){if(t.length===0)return _t;const b=[],B=new Map,k=v(u,s,d,p,E);for(const T of t){const M=k.nameAndMode.getName(T),z=k.nameAndMode.getMode(T,f),j=cM(M,z);let J=B.get(j);J||B.set(j,J=k.resolve(M,z)),b.push(J)}return b}function A1e(t,u){return CQ(void 0,t,(s,d)=>s&&u(s,d))}function CQ(t,u,s,d){let f;return p(t,u,void 0);function p(E,v,b){if(d){const B=d(E,b);if(B)return B}return L(v,(B,k)=>{if(B&&(f!=null&&f.has(B.sourceFile.path)))return;const T=s(B,b,k);return T||!B?T:((f||(f=new Set)).add(B.sourceFile.path),p(B.commandLine.projectReferences,B.references,B))})}}function bQ(t,u,s){const d=t.configFilePath?cr(t.configFilePath):u;return dr(d,`__lib_node_modules_lookup_${s}__.ts`)}function S1e(t){const u=t.split(".");let s=u[1],d=2;for(;u[d]&&u[d]!=="d";)s+=(d===2?"/":"-")+u[d],d++;return"@typescript/lib-"+s}function att(t){const u=Jg(t.fileName),s=SY.get(u);return{libName:u,libFileName:s}}function Wv(t){switch(t==null?void 0:t.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function UB(t){return t.pos!==void 0}function kM(t,u){var s,d,f,p;const E=H.checkDefined(t.getSourceFileByPath(u.file)),{kind:v,index:b}=u;let B,k,T,M;switch(v){case 3:const z=AQ(E,b);if(T=(d=(s=t.getResolvedModule(E,z.text,y1e(E,b)))==null?void 0:s.resolvedModule)==null?void 0:d.packageId,z.pos===-1)return{file:E,packageId:T,text:z.text};B=ps(E.text,z.pos),k=z.end;break;case 4:({pos:B,end:k}=E.referencedFiles[b]);break;case 5:({pos:B,end:k,resolutionMode:M}=E.typeReferenceDirectives[b]),T=(p=(f=t.getResolvedTypeReferenceDirective(E,Jg(E.typeReferenceDirectives[b].fileName),M||E.impliedNodeFormat))==null?void 0:f.resolvedTypeReferenceDirective)==null?void 0:p.packageId;break;case 7:({pos:B,end:k}=E.libReferenceDirectives[b]);break;default:return H.assertNever(v)}return{file:E,pos:B,end:k,packageId:T}}function B1e(t,u,s,d,f,p,E,v,b,B){if(!t||v!=null&&v()||!Hn(t.getRootFileNames(),u))return!1;let k;if(!Hn(t.getProjectReferences(),B,j)||t.getSourceFiles().some(M)||t.getMissingFilePaths().some(f))return!1;const T=t.getCompilerOptions();if(!ple(T,s)||t.resolvedLibReferences&&d1(t.resolvedLibReferences,(K,Y)=>E(Y)))return!1;if(T.configFile&&s.configFile)return T.configFile.text===s.configFile.text;return!0;function M(K){return!z(K)||p(K.path)}function z(K){return K.version===d(K.resolvedPath,K.fileName)}function j(K,Y,oe){return r0e(K,Y)&&J(t.getResolvedProjectReferences()[oe],K)}function J(K,Y){if(K){if(Ft(k,K))return!0;const se=qB(Y),ge=b(se);return!ge||K.commandLine.options.configFile!==ge.options.configFile||!Hn(K.commandLine.fileNames,ge.fileNames)?!1:((k||(k=[])).push(K),!L(K.references,(ae,Ce)=>!J(ae,K.commandLine.projectReferences[Ce])))}const oe=qB(Y);return!b(oe)}}function wk(t){return t.options.configFile?[...t.options.configFile.parseDiagnostics,...t.errors]:t.errors}function vH(t,u,s,d){const f=w1e(t,u,s,d);return typeof f=="object"?f.impliedNodeFormat:f}function w1e(t,u,s,d){switch(m1(d)){case 3:case 99:return jc(t,[".d.mts",".mts",".mjs"])?99:jc(t,[".d.cts",".cts",".cjs"])?1:jc(t,[".d.ts",".ts",".tsx",".js",".jsx"])?f():void 0;default:return}function f(){const p=nH(u,s,d),E=[];p.failedLookupLocations=E,p.affectingLocations=E;const v=uH(t,p);return{impliedNodeFormat:(v==null?void 0:v.contents.packageJsonContent.type)==="module"?99:1,packageJsonLocations:E,packageJsonScope:v}}}function gzt(t,u){return t?z8(t.getCompilerOptions(),u,wY):!1}function Ezt(t,u,s,d,f,p){return{rootNames:t,options:u,host:s,oldProgram:d,configFileParsingDiagnostics:f,typeScriptVersion:p}}function yQ(t,u,s,d,f){var p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge;const ae=ja(t)?Ezt(t,u,s,d,f):t,{rootNames:Ce,options:ne,configFileParsingDiagnostics:ve,projectReferences:Se,typeScriptVersion:Ne}=ae;let{oldProgram:pe}=ae;const fe=Nh(()=>tp("ignoreDeprecations",F.Invalid_value_for_ignoreDeprecations));let xe,Be,We,Ae,De,He,Je;const ft=new Map;let Ze=Bm();const je={},Ke={};let Gt=J7(),Yt,Ie,lt,St,It,ti,ht,Ut,Ni,Vi;const xn=typeof ne.maxNodeModuleJsDepth=="number"?ne.maxNodeModuleJsDepth:0;let $n=0;const rn=new Map,Pi=new Map;(p=Jn)==null||p.push(Jn.Phase.Program,"createProgram",{configFilePath:ne.configFilePath,rootDir:ne.rootDir},!0),ul("beforeProgram");const ki=ae.host||N7e(ne),Yu=FQ(ki);let oa=ne.noLib;const Fr=Nh(()=>ki.getDefaultLibFileName(ne)),Sa=ki.getDefaultLibLocation?ki.getDefaultLibLocation():cr(Fr()),bt=nB(),On=ki.getCurrentDirectory(),Ln=yP(ne),Fi=Xj(ne,Ln),Dn=new Map;let Cn,tu,sa;const Da=ki.hasInvalidatedResolutions||sg;ki.resolveModuleNameLiterals?(sa=ki.resolveModuleNameLiterals.bind(ki),tu=(E=ki.getModuleResolutionCache)==null?void 0:E.call(ki)):ki.resolveModuleNames?(sa=(Xe,Dt,ai,wi,Qi,Rn)=>ki.resolveModuleNames(Xe.map(M7e),Dt,Rn==null?void 0:Rn.map(M7e),ai,wi,Qi).map(en=>en?en.extension!==void 0?{resolvedModule:en}:{resolvedModule:{...en,extension:C7(en.resolvedFileName)}}:j7e),tu=(v=ki.getModuleResolutionCache)==null?void 0:v.call(ki)):(tu=VB(On,f4,ne),sa=(Xe,Dt,ai,wi,Qi)=>xH(Xe,Dt,ai,wi,Qi,ki,tu,F1e));let aa;if(ki.resolveTypeReferenceDirectiveReferences)aa=ki.resolveTypeReferenceDirectiveReferences.bind(ki);else if(ki.resolveTypeReferenceDirectives)aa=(Xe,Dt,ai,wi,Qi)=>ki.resolveTypeReferenceDirectives(Xe.map(z7e),Dt,ai,wi,Qi==null?void 0:Qi.impliedNodeFormat).map(Rn=>({resolvedTypeReferenceDirective:Rn}));else{const Xe=RY(On,f4,void 0,tu==null?void 0:tu.getPackageJsonInfoCache(),tu==null?void 0:tu.optionsToRedirectsKey);aa=(Dt,ai,wi,Qi,Rn)=>xH(Dt,ai,wi,Qi,Rn,ki,Xe,vQ)}const Ba=ki.hasInvalidatedLibResolutions||sg;let Yo;if(ki.resolveLibrary)Yo=ki.resolveLibrary.bind(ki);else{const Xe=VB(On,f4,ne,tu==null?void 0:tu.getPackageJsonInfoCache());Yo=(Dt,ai,wi)=>OY(Dt,ai,wi,ki,Xe)}const vo=new Map;let Qe=new Map,Et=Bm(),Mt=!1;const qt=new Map;let Xt;const Pe=ki.useCaseSensitiveFileNames()?new Map:void 0;let et,gt,ii,me;const ni=!!((b=ki.useSourceOfProjectReferenceRedirect)!=null&&b.call(ki))&&!ne.disableSourceOfProjectReferenceRedirect,{onProgramCreateComplete:_i,fileExists:mt,directoryExists:jt}=_zt({compilerHost:ki,getSymlinkCache:C5,useSourceOfProjectReferenceRedirect:ni,toPath:er,getResolvedProjectReferences:Ua,getSourceOfProjectReferenceRedirect:ep,forEachResolvedProjectReference:Lc}),pi=ki.readFile.bind(ki);(B=Jn)==null||B.push(Jn.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!pe});const $i=gzt(pe,ne);(k=Jn)==null||k.pop();let Yi;if((T=Jn)==null||T.push(Jn.Phase.Program,"tryReuseStructureFromOldProgram",{}),Yi=as(),(M=Jn)==null||M.pop(),Yi!==2){if(xe=[],Be=[],Se&&(et||(et=Se.map(Bt)),Ce.length&&(et==null||et.forEach((Xe,Dt)=>{if(!Xe)return;const ai=b0(Xe.commandLine.options);if(ni){if(ai||f1(Xe.commandLine.options)===0)for(const wi of Xe.commandLine.fileNames)Ve(wi,{kind:1,index:Dt})}else if(ai)Ve(Sv(ai,".d.ts"),{kind:2,index:Dt});else if(f1(Xe.commandLine.options)===0){const wi=Nh(()=>yM(Xe.commandLine,!ki.useCaseSensitiveFileNames()));for(const Qi of Xe.commandLine.fileNames)!Xd(Qi)&&!Ml(Qi,".json")&&Ve(CM(Qi,Xe.commandLine,!ki.useCaseSensitiveFileNames(),wi),{kind:2,index:Dt})}}))),(z=Jn)==null||z.push(Jn.Phase.Program,"processRootFiles",{count:Ce.length}),L(Ce,(Xe,Dt)=>id(Xe,!1,!1,{kind:0,index:Dt})),(j=Jn)==null||j.pop(),Ie??(Ie=Ce.length?IY(ne,ki):_t),lt=J7(),Ie.length){(J=Jn)==null||J.push(Jn.Phase.Program,"processTypeReferences",{count:Ie.length});const Xe=ne.configFilePath?cr(ne.configFilePath):On,Dt=dr(Xe,ZB),ai=wn(Ie,Dt);for(let wi=0;wi{id(I1(Dt),!0,!1,{kind:6,index:ai})})}Xt=ga(_o(qt.entries(),([Xe,Dt])=>Dt===void 0?Xe:void 0)),We=ac(xe,Iu).concat(Be),xe=void 0,Be=void 0}if(H.assert(!!Xt),pe&&ki.onReleaseOldSourceFile){const Xe=pe.getSourceFiles();for(const Dt of Xe){const ai=Ko(Dt.resolvedPath);($i||!ai||ai.impliedNodeFormat!==Dt.impliedNodeFormat||Dt.resolvedPath===Dt.path&&ai.resolvedPath!==Dt.path)&&ki.onReleaseOldSourceFile(Dt,pe.getCompilerOptions(),!!Ko(Dt.path))}ki.getParsedCommandLine||pe.forEachResolvedProjectReference(Dt=>{Rh(Dt.sourceFile.path)||ki.onReleaseOldSourceFile(Dt.sourceFile,pe.getCompilerOptions(),!1)})}pe&&ki.onReleaseParsedCommandLine&&CQ(pe.getProjectReferences(),pe.getResolvedProjectReferences(),(Xe,Dt,ai)=>{const wi=(Dt==null?void 0:Dt.commandLine.projectReferences[ai])||pe.getProjectReferences()[ai],Qi=qB(wi);gt!=null&>.has(er(Qi))||ki.onReleaseParsedCommandLine(Qi,Xe,pe.getCompilerOptions())}),pe=void 0,It=void 0,ht=void 0,Ni=void 0;const on={getRootFileNames:()=>Ce,getSourceFile:U0,getSourceFileByPath:Ko,getSourceFiles:()=>We,getMissingFilePaths:()=>Xt,getModuleResolutionCache:()=>tu,getFilesByNameMap:()=>qt,getCompilerOptions:()=>ne,getSyntacticDiagnostics:Kp,getOptionsDiagnostics:Mr,getGlobalDiagnostics:As,getSemanticDiagnostics:Tc,getCachedSemanticDiagnostics:Il,getSuggestionDiagnostics:tt,getDeclarationDiagnostics:Oi,getBindAndCheckDiagnostics:cl,getProgramDiagnostics:Va,getTypeChecker:vl,getClassifiableNames:Wu,getCommonSourceDirectory:da,emit:oo,getCurrentDirectory:()=>On,getNodeCount:()=>vl().getNodeCount(),getIdentifierCount:()=>vl().getIdentifierCount(),getSymbolCount:()=>vl().getSymbolCount(),getTypeCount:()=>vl().getTypeCount(),getInstantiationCount:()=>vl().getInstantiationCount(),getRelationCacheSizes:()=>vl().getRelationCacheSizes(),getFileProcessingDiagnostics:()=>Yt,getResolvedTypeReferenceDirectives:()=>Gt,getAutomaticTypeDirectiveNames:()=>Ie,getAutomaticTypeDirectiveResolutions:()=>lt,isSourceFileFromExternalLibrary:wl,isSourceFileDefaultLibrary:cd,getSourceFileFromReference:nh,getLibFileFromReference:Ih,sourceFileToPackageName:Qe,redirectTargetsMap:Et,usesUriStyleNodeCoreModules:Mt,resolvedModules:ti,resolvedTypeReferenceDirectiveNames:Ut,resolvedLibReferences:St,getResolvedModule:le,getResolvedTypeReferenceDirective:te,forEachResolvedModule:we,forEachResolvedTypeReferenceDirective:de,getCurrentPackagesMap:()=>Vi,typesPackageExists:it,packageBundlesTypes:Ct,isEmittedFile:vg,getConfigFileParsingDiagnostics:tc,getProjectReferences:l0,getResolvedProjectReferences:Ua,getProjectReferenceRedirect:Cl,getResolvedProjectReferenceToRedirect:Ul,getResolvedProjectReferenceByPath:Rh,forEachResolvedProjectReference:Lc,isSourceOfProjectReferenceRedirect:Gm,emitBuildInfo:xc,fileExists:mt,readFile:pi,directoryExists:jt,getSymlinkCache:C5,realpath:(se=ki.realpath)==null?void 0:se.bind(ki),useCaseSensitiveFileNames:()=>ki.useCaseSensitiveFileNames(),getCanonicalFileName:f4,getFileIncludeReasons:()=>Ze,structureIsReused:Yi,writeFile:Fn};return _i(),Yt==null||Yt.forEach(Xe=>{switch(Xe.kind){case 1:return bt.add(bi(Xe.file&&Ko(Xe.file),Xe.fileProcessingReason,Xe.diagnostic,Xe.args||_t));case 0:const{file:Dt,pos:ai,end:wi}=kM(on,Xe.reason);return bt.add(zd(Dt,H.checkDefined(ai),H.checkDefined(wi)-ai,Xe.diagnostic,...Xe.args||_t));case 2:return Xe.diagnostics.forEach(Qi=>bt.add(Qi));default:H.assertNever(Xe)}}),gi(),ul("afterProgram"),wm("Program","beforeProgram","afterProgram"),(ge=Jn)==null||ge.pop(),on;function le(Xe,Dt,ai){var wi;return(wi=ti==null?void 0:ti.get(Xe.path))==null?void 0:wi.get(Dt,ai)}function te(Xe,Dt,ai){var wi;return(wi=Ut==null?void 0:Ut.get(Xe.path))==null?void 0:wi.get(Dt,ai)}function we(Xe,Dt){Oe(ti,Xe,Dt)}function de(Xe,Dt){Oe(Ut,Xe,Dt)}function Oe(Xe,Dt,ai){var wi;ai?(wi=Xe==null?void 0:Xe.get(ai.path))==null||wi.forEach((Qi,Rn,en)=>Dt(Qi,Rn,en,ai.path)):Xe==null||Xe.forEach((Qi,Rn)=>Qi.forEach((en,bn,Ar)=>Dt(en,bn,Ar,Rn)))}function X(){return Vi||(Vi=new Map,we(({resolvedModule:Xe})=>{Xe!=null&&Xe.packageId&&Vi.set(Xe.packageId.name,Xe.extension===".d.ts"||!!Vi.get(Xe.packageId.name))}),Vi)}function it(Xe){return X().has(KY(Xe))}function Ct(Xe){return!!X().get(Xe)}function ct(Xe){var Dt;(Dt=Xe.resolutionDiagnostics)!=null&&Dt.length&&(Yt??(Yt=[])).push({kind:2,diagnostics:Xe.resolutionDiagnostics})}function Qt(Xe,Dt,ai,wi){if(ki.resolveModuleNameLiterals||!ki.resolveModuleNames)return ct(ai);if(!tu||Md(Dt))return;const Qi=Ga(Xe.originalFileName,On),Rn=cr(Qi),en=Sn(Xe),bn=tu.getFromNonRelativeNameCache(Dt,wi,Rn,en);bn&&ct(bn)}function Ti(Xe,Dt,ai){var wi,Qi;if(!Xe.length)return _t;const Rn=Ga(Dt.originalFileName,On),en=Sn(Dt);(wi=Jn)==null||wi.push(Jn.Phase.Program,"resolveModuleNamesWorker",{containingFileName:Rn}),ul("beforeResolveModule");const bn=sa(Xe,Rn,en,ne,Dt,ai);return ul("afterResolveModule"),wm("ResolveModule","beforeResolveModule","afterResolveModule"),(Qi=Jn)==null||Qi.pop(),bn}function Ui(Xe,Dt,ai){var wi,Qi;if(!Xe.length)return[];const Rn=Wa(Dt)?void 0:Dt,en=Wa(Dt)?Dt:Ga(Dt.originalFileName,On),bn=Rn&&Sn(Rn);(wi=Jn)==null||wi.push(Jn.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:en}),ul("beforeResolveTypeReference");const Ar=aa(Xe,en,bn,ne,Rn,ai);return ul("afterResolveTypeReference"),wm("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),(Qi=Jn)==null||Qi.pop(),Ar}function Sn(Xe){const Dt=Ul(Xe.originalFileName);if(Dt||!Xd(Xe.originalFileName))return Dt;const ai=du(Xe.path);if(ai)return ai;if(!ki.realpath||!ne.preserveSymlinks||!Xe.originalFileName.includes(a_))return;const wi=er(ki.realpath(Xe.originalFileName));return wi===Xe.path?void 0:du(wi)}function du(Xe){const Dt=ep(Xe);if(Wa(Dt))return Ul(Dt);if(Dt)return Lc(ai=>{const wi=b0(ai.commandLine.options);if(wi)return er(wi)===Xe?ai:void 0})}function Iu(Xe,Dt){return nl(Er(Xe),Er(Dt))}function Er(Xe){if(WE(Sa,Xe.fileName,!1)){const Dt=Fc(Xe.fileName);if(Dt==="lib.d.ts"||Dt==="lib.es6.d.ts")return 0;const ai=E8(bN(Dt,"lib."),".d.ts"),wi=qV.indexOf(ai);if(wi!==-1)return wi+1}return qV.length+2}function er(Xe){return K0(Xe,On,f4)}function da(){if(De===void 0){const Xe=ei(We,Dt=>f7(Dt,on));De=bM(ne,()=>Si(Xe,Dt=>Dt.isDeclarationFile?void 0:Dt.fileName),On,f4,Dt=>Ee(Xe,Dt))}return De}function Wu(){var Xe;if(!Je){vl(),Je=new Set;for(const Dt of We)(Xe=Dt.classifiableNames)==null||Xe.forEach(ai=>Je.add(ai))}return Je}function Ra(Xe,Dt){if(Yi===0&&!Dt.ambientModuleNames.length)return Ti(Xe,Dt,void 0);let ai,wi,Qi;const Rn=j7e,en=pe&&pe.getSourceFile(Dt.fileName);for(let bu=0;bu{const wi=(Dt?Dt.commandLine.projectReferences:Se)[ai],Qi=Bt(wi);return Xe?!Qi||Qi.sourceFile!==Xe.sourceFile||!Hn(Xe.commandLine.fileNames,Qi.commandLine.fileNames):Qi!==void 0},(Xe,Dt)=>{const ai=Dt?Rh(Dt.sourceFile.path).commandLine.projectReferences:Se;return!Hn(Xe,ai,r0e)})}function as(){var Xe;if(!pe)return 0;const Dt=pe.getCompilerOptions();if(WU(Dt,ne))return 0;const ai=pe.getRootFileNames();if(!Hn(ai,Ce)||!Rr())return 0;Se&&(et=Se.map(Bt));const wi=[],Qi=[];if(Yi=2,pe.getMissingFilePaths().some(Cu=>ki.fileExists(Cu)))return 0;const Rn=pe.getSourceFiles();let en;(Cu=>{Cu[Cu.Exists=0]="Exists",Cu[Cu.Modified=1]="Modified"})(en||(en={}));const bn=new Map;for(const Cu of Rn){const bu=ko(Cu.fileName,tu,ki,ne);let Eu=ki.getSourceFileByPath?ki.getSourceFileByPath(Cu.fileName,Cu.resolvedPath,bu,void 0,$i):ki.getSourceFile(Cu.fileName,bu,void 0,$i);if(!Eu)return 0;Eu.packageJsonLocations=(Xe=bu.packageJsonLocations)!=null&&Xe.length?bu.packageJsonLocations:void 0,Eu.packageJsonScope=bu.packageJsonScope,H.assert(!Eu.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");let la;if(Cu.redirectInfo){if(Eu!==Cu.redirectInfo.unredirected)return 0;la=!1,Eu=Cu}else if(pe.redirectTargetsMap.has(Cu.path)){if(Eu!==Cu)return 0;la=!1}else la=Eu!==Cu;Eu.path=Cu.path,Eu.originalFileName=Cu.originalFileName,Eu.resolvedPath=Cu.resolvedPath,Eu.fileName=Cu.fileName;const m0=pe.sourceFileToPackageName.get(Cu.path);if(m0!==void 0){const a0=bn.get(m0),Wf=la?1:0;if(a0!==void 0&&Wf===1||a0===1)return 0;bn.set(m0,Wf)}if(la)Cu.impliedNodeFormat!==Eu.impliedNodeFormat?Yi=1:Hn(Cu.libReferenceDirectives,Eu.libReferenceDirectives,S0)?Cu.hasNoDefaultLib!==Eu.hasNoDefaultLib?Yi=1:Hn(Cu.referencedFiles,Eu.referencedFiles,S0)?(Sd(Eu),Hn(Cu.imports,Eu.imports,nd)&&Hn(Cu.moduleAugmentations,Eu.moduleAugmentations,nd)?(Cu.flags&12582912)!==(Eu.flags&12582912)?Yi=1:Hn(Cu.typeReferenceDirectives,Eu.typeReferenceDirectives,S0)||(Yi=1):Yi=1):Yi=1:Yi=1,Qi.push(Eu);else if(Da(Cu.path))Yi=1,Qi.push(Eu);else for(const a0 of Cu.ambientModuleNames)ft.set(a0,Cu.fileName);wi.push(Eu)}if(Yi!==2)return Yi;for(const Cu of Qi){const bu=ott(Cu),Eu=Ra(bu,Cu);(ht??(ht=new Map)).set(Cu.path,Eu),o0e(bu,Cu,Eu,(Qv,e6)=>pe.getResolvedModule(Cu,Qv,e6),bbe,CH)&&(Yi=1);const m0=Cu.typeReferenceDirectives,a0=wn(m0,Cu);(Ni??(Ni=new Map)).set(Cu.path,a0),o0e(m0,Cu,a0,(Qv,e6)=>pe==null?void 0:pe.getResolvedTypeReferenceDirective(Cu,Qv,e6),ybe,SQ)&&(Yi=1)}if(Yi!==2)return Yi;if(vbe(Dt,ne)||pe.resolvedLibReferences&&d1(pe.resolvedLibReferences,(Cu,bu)=>c3(bu).actual!==Cu.actual))return 1;if(ki.hasChangedAutomaticTypeDirectiveNames){if(ki.hasChangedAutomaticTypeDirectiveNames())return 1}else if(Ie=IY(ne,ki),!Hn(pe.getAutomaticTypeDirectiveNames(),Ie))return 1;Xt=pe.getMissingFilePaths(),H.assert(wi.length===pe.getSourceFiles().length);for(const Cu of wi)qt.set(Cu.path,Cu);return pe.getFilesByNameMap().forEach((Cu,bu)=>{if(!Cu){qt.set(bu,Cu);return}if(Cu.path===bu){pe.isSourceFileFromExternalLibrary(Cu)&&Pi.set(Cu.path,!0);return}qt.set(bu,qt.get(Cu.path))}),We=wi,Ze=pe.getFileIncludeReasons(),Yt=pe.getFileProcessingDiagnostics(),Gt=pe.getResolvedTypeReferenceDirectives(),Ie=pe.getAutomaticTypeDirectiveNames(),lt=pe.getAutomaticTypeDirectiveResolutions(),Qe=pe.sourceFileToPackageName,Et=pe.redirectTargetsMap,Mt=pe.usesUriStyleNodeCoreModules,ti=pe.resolvedModules,Ut=pe.resolvedTypeReferenceDirectiveNames,St=pe.resolvedLibReferences,Vi=pe.getCurrentPackagesMap(),2}function Bo(Xe){return{getPrependNodes:$l,getCanonicalFileName:f4,getCommonSourceDirectory:on.getCommonSourceDirectory,getCompilerOptions:on.getCompilerOptions,getCurrentDirectory:()=>On,getSourceFile:on.getSourceFile,getSourceFileByPath:on.getSourceFileByPath,getSourceFiles:on.getSourceFiles,getLibFileFromReference:on.getLibFileFromReference,isSourceFileFromExternalLibrary:wl,getResolvedProjectReferenceToRedirect:Ul,getProjectReferenceRedirect:Cl,isSourceOfProjectReferenceRedirect:Gm,getSymlinkCache:C5,writeFile:Xe||Fn,isEmitBlocked:Ho,readFile:Dt=>ki.readFile(Dt),fileExists:Dt=>{const ai=er(Dt);return Ko(ai)?!0:Ft(Xt,ai)?!1:ki.fileExists(Dt)},useCaseSensitiveFileNames:()=>ki.useCaseSensitiveFileNames(),getBuildInfo:Dt=>{var ai;return(ai=on.getBuildInfo)==null?void 0:ai.call(on,Dt)},getSourceFileFromReference:(Dt,ai)=>on.getSourceFileFromReference(Dt,ai),redirectTargetsMap:Et,getFileIncludeReasons:on.getFileIncludeReasons,createHash:To(ki,ki.createHash)}}function Fn(Xe,Dt,ai,wi,Qi,Rn){ki.writeFile(Xe,Dt,ai,wi,Qi,Rn)}function xc(Xe){var Dt,ai;H.assert(!b0(ne)),(Dt=Jn)==null||Dt.push(Jn.Phase.Emit,"emitBuildInfo",{},!0),ul("beforeEmit");const wi=fQ(pQ,Bo(Xe),void 0,l1e,!1,!0);return ul("afterEmit"),wm("Emit","beforeEmit","afterEmit"),(ai=Jn)==null||ai.pop(),wi}function Ua(){return et}function l0(){return Se}function $l(){return L1e(Se,(Xe,Dt)=>{var ai;return(ai=et[Dt])==null?void 0:ai.commandLine},Xe=>{const Dt=er(Xe),ai=Ko(Dt);return ai?ai.text:qt.has(Dt)?void 0:ki.readFile(Dt)},ki)}function wl(Xe){return!!Pi.get(Xe.path)}function cd(Xe){if(!Xe.isDeclarationFile)return!1;if(Xe.hasNoDefaultLib)return!0;if(!ne.noLib)return!1;const Dt=ki.useCaseSensitiveFileNames()?YA:ZA;return ne.lib?Ge(ne.lib,ai=>Dt(Xe.fileName,St.get(ai).actual)):Dt(Xe.fileName,Fr())}function vl(){return He||(He=LAe(on))}function oo(Xe,Dt,ai,wi,Qi,Rn){var en,bn;(en=Jn)==null||en.push(Jn.Phase.Emit,"emit",{path:Xe==null?void 0:Xe.path},!0);const Ar=Uc(()=>td(on,Xe,Dt,ai,wi,Qi,Rn));return(bn=Jn)==null||bn.pop(),Ar}function Ho(Xe){return Dn.has(er(Xe))}function td(Xe,Dt,ai,wi,Qi,Rn,en){if(!en){const Cu=T1e(Xe,Dt,ai,wi);if(Cu)return Cu}const bn=vl().getEmitResolver(b0(ne)?void 0:Dt,wi);ul("beforeEmit");const Ar=fQ(bn,Bo(ai),Dt,s1e(ne,Rn,Qi),Qi,!1,en);return ul("afterEmit"),wm("Emit","beforeEmit","afterEmit"),Ar}function U0(Xe){return Ko(er(Xe))}function Ko(Xe){return qt.get(Xe)||void 0}function wc(Xe,Dt,ai){return k8(Xe?Dt(Xe,ai):Ku(on.getSourceFiles(),wi=>(ai&&ai.throwIfCancellationRequested(),Dt(wi,ai))))}function Kp(Xe,Dt){return wc(Xe,dl,Dt)}function Tc(Xe,Dt){return wc(Xe,vh,Dt)}function Il(Xe){var Dt;return Xe?(Dt=je.perFile)==null?void 0:Dt.get(Xe.path):je.allDiagnostics}function cl(Xe,Dt){return of(Xe,Dt)}function Va(Xe){var Dt;if(FP(Xe,ne,on))return _t;const ai=bt.getDiagnostics(Xe.fileName);return(Dt=Xe.commentDirectives)!=null&&Dt.length?$(Xe,Xe.commentDirectives,ai).diagnostics:ai}function Oi(Xe,Dt){const ai=on.getCompilerOptions();return!Xe||b0(ai)?fn(Xe,Dt):wc(Xe,wu,Dt)}function dl(Xe){return ph(Xe)?(Xe.additionalSyntacticDiagnostics||(Xe.additionalSyntacticDiagnostics=hi(Xe)),an(Xe.additionalSyntacticDiagnostics,Xe.parseDiagnostics)):Xe.parseDiagnostics}function Uc(Xe){try{return Xe()}catch(Dt){throw Dt instanceof v8&&(He=void 0),Dt}}function vh(Xe,Dt){return an(kQ(of(Xe,Dt),ne),Va(Xe))}function of(Xe,Dt){return uu(Xe,Dt,je,q0)}function q0(Xe,Dt){return Uc(()=>{if(FP(Xe,ne,on))return _t;const ai=vl();H.assert(!!Xe.bindDiagnostics);const Qi=(Xe.scriptKind===1||Xe.scriptKind===2)&&iV(Xe,ne),Rn=tj(Xe,ne.checkJs),bn=!(!!Xe.checkJsDirective&&Xe.checkJsDirective.enabled===!1)&&(Xe.scriptKind===3||Xe.scriptKind===4||Xe.scriptKind===5||Rn||Qi||Xe.scriptKind===7);let Ar=bn?Xe.bindDiagnostics:_t,Cu=bn?ai.getDiagnostics(Xe,Dt):_t;return Rn&&(Ar=ei(Ar,bu=>BQ.has(bu.code)),Cu=ei(Cu,bu=>BQ.has(bu.code))),vc(Xe,bn&&!Rn,Ar,Cu,Qi?Xe.jsDocDiagnostics:void 0)})}function vc(Xe,Dt,...ai){var wi;const Qi=Oa(ai);if(!Dt||!((wi=Xe.commentDirectives)!=null&&wi.length))return Qi;const{diagnostics:Rn,directives:en}=$(Xe,Xe.commentDirectives,Qi);for(const bn of en.getUnusedExpectations())Rn.push(Obe(Xe,bn.range,F.Unused_ts_expect_error_directive));return Rn}function $(Xe,Dt,ai){const wi=Abe(Xe,Dt);return{diagnostics:ai.filter(Rn=>vt(Rn,wi)===-1),directives:wi}}function tt(Xe,Dt){return Uc(()=>vl().getSuggestionDiagnostics(Xe,Dt))}function vt(Xe,Dt){const{file:ai,start:wi}=Xe;if(!ai)return-1;const Qi=J3(ai);let Rn=b8(Qi,wi).line-1;for(;Rn>=0;){if(Dt.markUsed(Rn))return Rn;const en=ai.text.slice(Qi[Rn],Qi[Rn+1]).trim();if(en!==""&&!/^(\s*)\/\/(.*)$/.test(en))return-1;Rn--}return-1}function hi(Xe){return Uc(()=>{const Dt=[];return ai(Xe,Xe),nM(Xe,ai,wi),Dt;function ai(bn,Ar){switch(Ar.kind){case 169:case 172:case 174:if(Ar.questionToken===bn)return Dt.push(en(bn,F.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 173:case 176:case 177:case 178:case 218:case 262:case 219:case 260:if(Ar.type===bn)return Dt.push(en(bn,F.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(bn.kind){case 273:if(bn.isTypeOnly)return Dt.push(en(Ar,F._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 278:if(bn.isTypeOnly)return Dt.push(en(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 276:case 281:if(bn.isTypeOnly)return Dt.push(en(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,Cf(bn)?"import...type":"export...type")),"skip";break;case 271:return Dt.push(en(bn,F.import_can_only_be_used_in_TypeScript_files)),"skip";case 277:if(bn.isExportEquals)return Dt.push(en(bn,F.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 298:if(bn.token===119)return Dt.push(en(bn,F.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 264:const bu=$o(120);return H.assertIsDefined(bu),Dt.push(en(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,bu)),"skip";case 267:const Eu=bn.flags&32?$o(145):$o(144);return H.assertIsDefined(Eu),Dt.push(en(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,Eu)),"skip";case 265:return Dt.push(en(bn,F.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 176:case 174:case 262:return bn.body?void 0:(Dt.push(en(bn,F.Signature_declarations_can_only_be_used_in_TypeScript_files)),"skip");case 266:const la=H.checkDefined($o(94));return Dt.push(en(bn,F._0_declarations_can_only_be_used_in_TypeScript_files,la)),"skip";case 235:return Dt.push(en(bn,F.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 234:return Dt.push(en(bn.type,F.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 238:return Dt.push(en(bn.type,F.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 216:H.fail()}}function wi(bn,Ar){if(Vce(Ar)){const Cu=Le(Ar.modifiers,p1);Cu&&Dt.push(en(Cu,F.Decorators_are_not_valid_here))}else if(kk(Ar)&&Ar.modifiers){const Cu=Ue(Ar.modifiers,p1);if(Cu>=0){if(Qa(Ar)&&!ne.experimentalDecorators)Dt.push(en(Ar.modifiers[Cu],F.Decorators_are_not_valid_here));else if(Wc(Ar)){const bu=Ue(Ar.modifiers,w7);if(bu>=0){const Eu=Ue(Ar.modifiers,tY);if(Cu>bu&&Eu>=0&&Cu=0&&Cu=0&&Dt.push(gs(en(Ar.modifiers[la],F.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),en(Ar.modifiers[Cu],F.Decorator_used_before_export_here)))}}}}}switch(Ar.kind){case 263:case 231:case 174:case 176:case 177:case 178:case 218:case 262:case 219:if(bn===Ar.typeParameters)return Dt.push(Rn(bn,F.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 243:if(bn===Ar.modifiers)return Qi(Ar.modifiers,Ar.kind===243),"skip";break;case 172:if(bn===Ar.modifiers){for(const Cu of bn)Qo(Cu)&&Cu.kind!==126&&Cu.kind!==129&&Dt.push(en(Cu,F.The_0_modifier_can_only_be_used_in_TypeScript_files,$o(Cu.kind)));return"skip"}break;case 169:if(bn===Ar.modifiers&&Ge(bn,Qo))return Dt.push(Rn(bn,F.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 213:case 214:case 233:case 285:case 286:case 215:if(bn===Ar.typeArguments)return Dt.push(Rn(bn,F.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip";break}}function Qi(bn,Ar){for(const Cu of bn)switch(Cu.kind){case 87:if(Ar)continue;case 125:case 123:case 124:case 148:case 138:case 128:case 164:case 103:case 147:Dt.push(en(Cu,F.The_0_modifier_can_only_be_used_in_TypeScript_files,$o(Cu.kind)));break;case 126:case 95:case 90:case 129:}}function Rn(bn,Ar,...Cu){const bu=bn.pos;return zd(Xe,bu,bn.end-bu,Ar,...Cu)}function en(bn,Ar,...Cu){return V4(Xe,bn,Ar,...Cu)}})}function fn(Xe,Dt){return uu(Xe,Dt,Ke,Gu)}function Gu(Xe,Dt){return Uc(()=>{const ai=vl().getEmitResolver(Xe,Dt);return y7e(Bo(zs),ai,Xe)||_t})}function uu(Xe,Dt,ai,wi){var Qi;const Rn=Xe?(Qi=ai.perFile)==null?void 0:Qi.get(Xe.path):ai.allDiagnostics;if(Rn)return Rn;const en=wi(Xe,Dt);return Xe?(ai.perFile||(ai.perFile=new Map)).set(Xe.path,en):ai.allDiagnostics=en,en}function wu(Xe,Dt){return Xe.isDeclarationFile?[]:fn(Xe,Dt)}function Mr(){return k8(an(bt.getGlobalDiagnostics(),ju()))}function ju(){if(!ne.configFile)return _t;let Xe=bt.getDiagnostics(ne.configFile.fileName);return Lc(Dt=>{Xe=an(Xe,bt.getDiagnostics(Dt.sourceFile.fileName))}),Xe}function As(){return Ce.length?k8(vl().getGlobalDiagnostics().slice()):_t}function tc(){return ve||_t}function id(Xe,Dt,ai,wi){_1(Jo(Xe),Dt,ai,void 0,wi)}function S0(Xe,Dt){return Xe.fileName===Dt.fileName}function nd(Xe,Dt){return Xe.kind===80?Dt.kind===80&&Xe.escapedText===Dt.escapedText:Dt.kind===11&&Xe.text===Dt.text}function f0(Xe,Dt){const ai=q.createStringLiteral(Xe),wi=q.createImportDeclaration(void 0,void 0,ai,void 0);return y7(wi,2),ys(ai,wi),ys(wi,Dt),ai.flags&=-17,wi.flags&=-17,ai}function Sd(Xe){if(Xe.imports)return;const Dt=ph(Xe),ai=Bc(Xe);let wi,Qi,Rn;if((hg(ne)||ai)&&!Xe.isDeclarationFile){ne.importHelpers&&(wi=[f0(Vx,Xe)]);const bu=eZ(Xq(ne,Xe),ne);bu&&(wi||(wi=[])).push(f0(bu,Xe))}for(const bu of Xe.statements)bn(bu,!1);const en=Dt&&Zq(ne);(Xe.flags&4194304||en)&&Ar(Xe),Xe.imports=wi||_t,Xe.moduleAugmentations=Qi||_t,Xe.ambientModuleNames=Rn||_t;return;function bn(bu,Eu){if(uj(bu)){const la=q8(bu);la&&us(la)&&la.text&&(!Eu||!Md(la.text))&&(jx(bu,!1),wi=Ei(wi,la),!Mt&&$n===0&&!Xe.isDeclarationFile&&(Mt=La(la.text,"node:")))}else if(Ec(bu)&&L1(bu)&&(Eu||Qu(bu,128)||Xe.isDeclarationFile)){bu.name.parent=bu;const la=W4(bu.name);if(ai||Eu&&!Md(la))(Qi||(Qi=[])).push(bu.name);else if(!Eu){Xe.isDeclarationFile&&(Rn||(Rn=[])).push(la);const m0=bu.body;if(m0)for(const a0 of m0.statements)bn(a0,!0)}}}function Ar(bu){const Eu=/import|require/g;for(;Eu.exec(bu.text)!==null;){const la=Cu(bu,Eu.lastIndex);en&&Df(la,!0)||cm(la)&&la.arguments.length>=1&&t0(la.arguments[0])?(jx(la,!1),wi=Ei(wi,la.arguments[0])):Mx(la)&&(jx(la,!1),wi=Ei(wi,la.argument.literal))}}function Cu(bu,Eu){let la=bu;const m0=a0=>{if(a0.pos<=Eu&&(EuMl(Qi,en))){ai&&(N2(Qi)?ai(F.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,Xe):ai(F.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,Xe,"'"+Oa(Ln).join("', '")+"'"));return}const Rn=Dt(Xe);if(ai)if(Rn)Wv(wi)&&Qi===ki.getCanonicalFileName(Ko(wi.file).fileName)&&ai(F.A_file_cannot_have_a_reference_to_itself);else{const en=Cl(Xe);en?ai(F.Output_file_0_has_not_been_built_from_source_file_1,en,Xe):ai(F.File_0_not_found,Xe)}return Rn}else{const Qi=ne.allowNonTsExtensions&&Dt(Xe);if(Qi)return Qi;if(ai&&ne.allowNonTsExtensions){ai(F.File_0_not_found,Xe);return}const Rn=L(Ln[0],en=>Dt(Xe+en));return ai&&!Rn&&ai(F.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,Xe,"'"+Oa(Ln).join("', '")+"'"),Rn}}function _1(Xe,Dt,ai,wi,Qi){d4(Xe,Rn=>ba(Rn,Dt,ai,Qi,wi),(Rn,...en)=>In(void 0,Qi,Rn,en),Qi)}function Ve(Xe,Dt){return _1(Xe,!1,!1,void 0,Dt)}function si(Xe,Dt,ai){!Wv(ai)&&Ge(Ze.get(Dt.path),Wv)?In(Dt,ai,F.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[Dt.fileName,Xe]):In(Dt,ai,F.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[Xe,Dt.fileName])}function Mn(Xe,Dt,ai,wi,Qi,Rn,en){var bn;const Ar=r_.createRedirectedSourceFile({redirectTarget:Xe,unredirected:Dt});return Ar.fileName=ai,Ar.path=wi,Ar.resolvedPath=Qi,Ar.originalFileName=Rn,Ar.packageJsonLocations=(bn=en.packageJsonLocations)!=null&&bn.length?en.packageJsonLocations:void 0,Ar.packageJsonScope=en.packageJsonScope,Pi.set(wi,$n>0),Ar}function ba(Xe,Dt,ai,wi,Qi){var Rn,en;(Rn=Jn)==null||Rn.push(Jn.Phase.Program,"findSourceFile",{fileName:Xe,isDefaultLib:Dt||void 0,fileIncludeKind:rU[wi.kind]});const bn=wo(Xe,Dt,ai,wi,Qi);return(en=Jn)==null||en.pop(),bn}function ko(Xe,Dt,ai,wi){const Qi=w1e(Ga(Xe,On),Dt==null?void 0:Dt.getPackageJsonInfoCache(),ai,wi),Rn=Rs(wi),en=Zj(wi);return typeof Qi=="object"?{...Qi,languageVersion:Rn,setExternalModuleIndicator:en,jsDocParsingMode:ai.jsDocParsingMode}:{languageVersion:Rn,impliedNodeFormat:Qi,setExternalModuleIndicator:en,jsDocParsingMode:ai.jsDocParsingMode}}function wo(Xe,Dt,ai,wi,Qi){var Rn;const en=er(Xe);if(ni){let Eu=ep(en);if(!Eu&&ki.realpath&&ne.preserveSymlinks&&Xd(Xe)&&Xe.includes(a_)){const la=er(ki.realpath(Xe));la!==en&&(Eu=ep(la))}if(Eu){const la=Wa(Eu)?ba(Eu,Dt,ai,wi,Qi):void 0;return la&&hc(la,en,void 0),la}}const bn=Xe;if(qt.has(en)){const Eu=qt.get(en);if(ic(Eu||void 0,wi),Eu&&ne.forceConsistentCasingInFileNames!==!1){const la=Eu.fileName;er(la)!==er(Xe)&&(Xe=Cl(Xe)||Xe);const a0=kse(la,On),Wf=kse(Xe,On);a0!==Wf&&si(Xe,Eu,wi)}return Eu&&Pi.get(Eu.path)&&$n===0?(Pi.set(Eu.path,!1),ne.noResolve||(h4(Eu,Dt),l3(Eu)),ne.noLib||Kf(Eu),rn.set(Eu.path,!1),Oh(Eu)):Eu&&rn.get(Eu.path)&&$nIn(void 0,wi,F.Cannot_read_file_0_Colon_1,[Xe,Eu]),$i);if(Qi){const Eu=Nx(Qi),la=vo.get(Eu);if(la){const m0=Mn(la,bu,Xe,en,er(Xe),bn,Cu);return Et.add(la.path,Xe),hc(m0,en,Ar),ic(m0,wi),Qe.set(en,JU(Qi)),Be.push(m0),m0}else bu&&(vo.set(Eu,bu),Qe.set(en,JU(Qi)))}if(hc(bu,en,Ar),bu){if(Pi.set(en,$n>0),bu.fileName=Xe,bu.path=en,bu.resolvedPath=er(Xe),bu.originalFileName=bn,bu.packageJsonLocations=(Rn=Cu.packageJsonLocations)!=null&&Rn.length?Cu.packageJsonLocations:void 0,bu.packageJsonScope=Cu.packageJsonScope,ic(bu,wi),ki.useCaseSensitiveFileNames()){const Eu=Jg(en),la=Pe.get(Eu);la?si(Xe,la,wi):Pe.set(Eu,bu)}oa=oa||bu.hasNoDefaultLib&&!ai,ne.noResolve||(h4(bu,Dt),l3(bu)),ne.noLib||Kf(bu),Oh(bu),Dt?xe.push(bu):Be.push(bu)}return bu}function ic(Xe,Dt){Xe&&Ze.add(Xe.path,Dt)}function hc(Xe,Dt,ai){ai?(qt.set(ai,Xe),qt.set(Dt,Xe||!1)):qt.set(Dt,Xe)}function Cl(Xe){const Dt=Tl(Xe);return Dt&&Cc(Dt,Xe)}function Tl(Xe){if(!(!et||!et.length||Xd(Xe)||Ml(Xe,".json")))return Ul(Xe)}function Cc(Xe,Dt){const ai=b0(Xe.commandLine.options);return ai?Sv(ai,".d.ts"):CM(Dt,Xe.commandLine,!ki.useCaseSensitiveFileNames())}function Ul(Xe){ii===void 0&&(ii=new Map,Lc(ai=>{er(ne.configFilePath)!==ai.sourceFile.path&&ai.commandLine.fileNames.forEach(wi=>ii.set(er(wi),ai.sourceFile.path))}));const Dt=ii.get(er(Xe));return Dt&&Rh(Dt)}function Lc(Xe){return A1e(et,Xe)}function ep(Xe){if(Xd(Xe))return me===void 0&&(me=new Map,Lc(Dt=>{const ai=b0(Dt.commandLine.options);if(ai){const wi=Sv(ai,".d.ts");me.set(er(wi),!0)}else{const wi=Nh(()=>yM(Dt.commandLine,!ki.useCaseSensitiveFileNames()));L(Dt.commandLine.fileNames,Qi=>{if(!Xd(Qi)&&!Ml(Qi,".json")){const Rn=CM(Qi,Dt.commandLine,!ki.useCaseSensitiveFileNames(),wi);me.set(er(Rn),Qi)}})}})),me.get(Xe)}function Gm(Xe){return ni&&!!Ul(Xe)}function Rh(Xe){if(gt)return gt.get(Xe)||void 0}function h4(Xe,Dt){L(Xe.referencedFiles,(ai,wi)=>{_1(DQ(ai.fileName,Xe.fileName),Dt,!1,void 0,{kind:4,file:Xe.path,index:wi})})}function l3(Xe){const Dt=Xe.typeReferenceDirectives;if(!Dt.length)return;const ai=(Ni==null?void 0:Ni.get(Xe.path))||wn(Dt,Xe),wi=J7();(Ut??(Ut=new Map)).set(Xe.path,wi);for(let Qi=0;Qi{const{libName:wi,libFileName:Qi}=att(Dt);if(Qi)id(I1(Qi),!0,!0,{kind:7,file:Xe.path,index:ai});else{const Rn=E8(bN(wi,"lib."),".d.ts"),en=CN(Rn,qV,il),bn=en?F.Cannot_find_lib_definition_for_0_Did_you_mean_1:F.Cannot_find_lib_definition_for_0,Ar=en?[wi,en]:[wi];(Yt||(Yt=[])).push({kind:0,reason:{kind:7,file:Xe.path,index:ai},diagnostic:bn,args:Ar})}})}function f4(Xe){return ki.getCanonicalFileName(Xe)}function Oh(Xe){var Dt;if(Sd(Xe),Xe.imports.length||Xe.moduleAugmentations.length){const ai=ott(Xe),wi=(ht==null?void 0:ht.get(Xe.path))||Ra(ai,Xe);H.assert(wi.length===ai.length);const Qi=(ni?(Dt=Sn(Xe))==null?void 0:Dt.commandLine.options:void 0)||ne,Rn=J7();(ti??(ti=new Map)).set(Xe.path,Rn);for(let en=0;enxn,Wf=m0&&!N1e(Qi,bn,Xe)&&!Qi.noResolve&&enBc(en)&&!en.isDeclarationFile);if(ne.isolatedModules||ne.verbatimModuleSyntax)ne.module===0&&Dt<2&&ne.isolatedModules&&Es(F.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),ne.preserveConstEnums===!1&&Es(F.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,ne.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums");else if(ai&&Dt<2&&ne.module===0){const en=D2(ai,typeof ai.externalModuleIndicator=="boolean"?ai:ai.externalModuleIndicator);bt.add(zd(ai,en.start,en.length,F.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(Xe&&!ne.emitDeclarationOnly){if(ne.module&&!(ne.module===2||ne.module===4))Es(F.Only_amd_and_system_modules_are_supported_alongside_0,ne.out?"out":"outFile","module");else if(ne.module===void 0&&ai){const en=D2(ai,typeof ai.externalModuleIndicator=="boolean"?ai:ai.externalModuleIndicator);bt.add(zd(ai,en.start,en.length,F.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,ne.out?"out":"outFile"))}}if(L2(ne)&&(m1(ne)===1?Es(F.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):Uq(ne)||Es(F.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),ne.outDir||ne.rootDir||ne.sourceRoot||ne.mapRoot){const en=da();ne.outDir&&en===""&&We.some(bn=>KE(bn.fileName)>1)&&Es(F.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}ne.useDefineForClassFields&&Dt===0&&Es(F.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),ne.checkJs&&!Av(ne)&&bt.add(lc(F.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),ne.emitDeclarationOnly&&(l4(ne)||Es(F.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),ne.noEmit&&Es(F.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),ne.emitDecoratorMetadata&&!ne.experimentalDecorators&&Es(F.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),ne.jsxFactory?(ne.reactNamespace&&Es(F.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(ne.jsx===4||ne.jsx===5)&&Es(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",oM.get(""+ne.jsx)),K7(ne.jsxFactory,Dt)||tp("jsxFactory",F.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,ne.jsxFactory)):ne.reactNamespace&&!Tm(ne.reactNamespace,Dt)&&tp("reactNamespace",F.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,ne.reactNamespace),ne.jsxFragmentFactory&&(ne.jsxFactory||Es(F.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(ne.jsx===4||ne.jsx===5)&&Es(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",oM.get(""+ne.jsx)),K7(ne.jsxFragmentFactory,Dt)||tp("jsxFragmentFactory",F.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,ne.jsxFragmentFactory)),ne.reactNamespace&&(ne.jsx===4||ne.jsx===5)&&Es(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",oM.get(""+ne.jsx)),ne.jsxImportSource&&ne.jsx===2&&Es(F.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",oM.get(""+ne.jsx)),ne.preserveValueImports&&f1(ne)<5&&Es(F.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"preserveValueImports");const wi=f1(ne);ne.verbatimModuleSyntax&&((wi===2||wi===3||wi===4)&&Es(F.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"),ne.preserveValueImports&&Qx("preserveValueImports","verbatimModuleSyntax"),ne.importsNotUsedAsValues&&Qx("importsNotUsedAsValues","verbatimModuleSyntax")),ne.allowImportingTsExtensions&&!(ne.noEmit||ne.emitDeclarationOnly)&&tp("allowImportingTsExtensions",F.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);const Qi=m1(ne);if(ne.resolvePackageJsonExports&&!v7(Qi)&&Es(F.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports"),ne.resolvePackageJsonImports&&!v7(Qi)&&Es(F.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports"),ne.customConditions&&!v7(Qi)&&Es(F.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions"),Qi===100&&!$q(wi)&&tp("moduleResolution",F.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"bundler"),kN[wi]&&100<=wi&&wi<=199&&!(3<=Qi&&Qi<=99)){const en=kN[wi];tp("moduleResolution",F.Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1,en,en)}else if(C8[Qi]&&3<=Qi&&Qi<=99&&!(100<=wi&&wi<=199)){const en=C8[Qi];tp("module",F.Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1,en,en)}if(!ne.noEmit&&!ne.suppressOutputPathCheck){const en=Bo(),bn=new Set;c1e(en,Ar=>{ne.emitDeclarationOnly||Rn(Ar.jsFilePath,bn),Rn(Ar.declarationFilePath,bn)})}function Rn(en,bn){if(en){const Ar=er(en);if(qt.has(Ar)){let bu;ne.configFilePath||(bu=no(void 0,F.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)),bu=no(bu,F.Cannot_write_file_0_because_it_would_overwrite_input_file,en),Xx(en,Gq(bu))}const Cu=ki.useCaseSensitiveFileNames()?Ar:Jg(Ar);bn.has(Cu)?Xx(en,lc(F.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,en)):bn.add(Cu)}}}function xi(){const Xe=ne.ignoreDeprecations;if(Xe){if(Xe==="5.0")return new Bp(Xe);fe()}return Bp.zero}function Q(Xe,Dt,ai,wi){const Qi=new Bp(Xe),Rn=new Bp(Dt),en=new Bp(Ne||g),bn=xi(),Ar=Rn.compareTo(en)!==1,Cu=!Ar&&bn.compareTo(Qi)===-1;(Ar||Cu)&&wi((bu,Eu,la)=>{Ar?Eu===void 0?ai(bu,Eu,la,F.Option_0_has_been_removed_Please_remove_it_from_your_configuration,bu):ai(bu,Eu,la,F.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,bu,Eu):Eu===void 0?ai(bu,Eu,la,F.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,bu,Dt,Xe):ai(bu,Eu,la,F.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,bu,Eu,Dt,Xe)})}function Me(){function Xe(Dt,ai,wi,Qi,...Rn){if(wi){const en=no(void 0,F.Use_0_instead,wi),bn=no(en,Qi,...Rn);d3(!ai,Dt,void 0,bn)}else d3(!ai,Dt,void 0,Qi,...Rn)}Q("5.0","5.5",Xe,Dt=>{ne.target===0&&Dt("target","ES3"),ne.noImplicitUseStrict&&Dt("noImplicitUseStrict"),ne.keyofStringsOnly&&Dt("keyofStringsOnly"),ne.suppressExcessPropertyErrors&&Dt("suppressExcessPropertyErrors"),ne.suppressImplicitAnyIndexErrors&&Dt("suppressImplicitAnyIndexErrors"),ne.noStrictGenericChecks&&Dt("noStrictGenericChecks"),ne.charset&&Dt("charset"),ne.out&&Dt("out",void 0,"outFile"),ne.importsNotUsedAsValues&&Dt("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),ne.preserveValueImports&&Dt("preserveValueImports",void 0,"verbatimModuleSyntax")})}function wt(Xe,Dt,ai){function wi(Qi,Rn,en,bn,...Ar){$m(Dt,ai,bn,...Ar)}Q("5.0","5.5",wi,Qi=>{Xe.prepend&&Qi("prepend")})}function bi(Xe,Dt,ai,wi){var Qi;let Rn,en,bn=Wv(Dt)?Dt:void 0;Xe&&((Qi=Ze.get(Xe.path))==null||Qi.forEach(la)),Dt&&la(Dt),bn&&(Rn==null?void 0:Rn.length)===1&&(Rn=void 0);const Ar=bn&&kM(on,bn),Cu=Rn&&no(Rn,F.The_file_is_in_the_program_because_Colon),bu=Xe&&Z1e(Xe),Eu=no(bu?Cu?[Cu,...bu]:bu:Cu,ai,...wi||_t);return Ar&&UB(Ar)?XU(Ar.file,Ar.pos,Ar.end-Ar.pos,Eu,en):Gq(Eu,en);function la(m0){(Rn||(Rn=[])).push(X1e(on,m0)),!bn&&Wv(m0)?bn=m0:bn!==m0&&(en=Ei(en,nr(m0))),m0===Dt&&(Dt=void 0)}}function In(Xe,Dt,ai,wi){(Yt||(Yt=[])).push({kind:1,file:Xe&&Xe.path,fileProcessingReason:Dt,diagnostic:ai,args:wi})}function ir(Xe,Dt,ai){bt.add(bi(Xe,void 0,Dt,ai))}function nr(Xe){if(Wv(Xe)){const wi=kM(on,Xe);let Qi;switch(Xe.kind){case 3:Qi=F.File_is_included_via_import_here;break;case 4:Qi=F.File_is_included_via_reference_here;break;case 5:Qi=F.File_is_included_via_type_library_reference_here;break;case 7:Qi=F.File_is_included_via_library_reference_here;break;default:H.assertNever(Xe)}return UB(wi)?zd(wi.file,wi.pos,wi.end-wi.pos,Qi):void 0}if(!ne.configFile)return;let Dt,ai;switch(Xe.kind){case 0:if(!ne.configFile.configFileSpecs)return;const wi=Ga(Ce[Xe.index],On),Qi=Y1e(on,wi);if(Qi){Dt=aq(ne.configFile,"files",Qi),ai=F.File_is_matched_by_files_list_specified_here;break}const Rn=Q1e(on,wi);if(!Rn||!Wa(Rn))return;Dt=aq(ne.configFile,"include",Rn),ai=F.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:const en=H.checkDefined(et==null?void 0:et[Xe.index]),bn=CQ(Se,et,(la,m0,a0)=>la===en?{sourceFile:(m0==null?void 0:m0.sourceFile)||ne.configFile,index:a0}:void 0);if(!bn)return;const{sourceFile:Ar,index:Cu}=bn,bu=cj(Ar,"references",la=>_h(la.initializer)?la.initializer:void 0);return bu&&bu.elements.length>Cu?V4(Ar,bu.elements[Cu],Xe.kind===2?F.File_is_output_from_referenced_project_specified_here:F.File_is_source_from_referenced_project_specified_here):void 0;case 8:if(!ne.types)return;Dt=Jm("types",Xe.typeReference),ai=F.File_is_entry_point_of_type_library_specified_here;break;case 6:if(Xe.index!==void 0){Dt=Jm("lib",ne.lib[Xe.index]),ai=F.File_is_library_specified_here;break}const Eu=d1(YV.type,(la,m0)=>la===Rs(ne)?m0:void 0);Dt=Eu?dd("target",Eu):void 0,ai=F.File_is_default_library_for_target_specified_here;break;default:H.assertNever(Xe)}return Dt&&V4(ne.configFile,Dt,ai)}function fa(){const Xe=ne.suppressOutputPathCheck?void 0:h5(ne);CQ(Se,et,(Dt,ai,wi)=>{const Qi=(ai?ai.commandLine.projectReferences:Se)[wi],Rn=ai&&ai.sourceFile;if(wt(Qi,Rn,wi),!Dt){$m(Rn,wi,F.File_0_not_found,Qi.path);return}const en=Dt.commandLine.options;if((!en.composite||en.noEmit)&&(ai?ai.commandLine.fileNames:Ce).length&&(en.composite||$m(Rn,wi,F.Referenced_project_0_must_have_setting_composite_Colon_true,Qi.path),en.noEmit&&$m(Rn,wi,F.Referenced_project_0_may_not_disable_emit,Qi.path)),Qi.prepend){const bn=b0(en);bn?ki.fileExists(bn)||$m(Rn,wi,F.Output_file_0_from_project_1_does_not_exist,bn,Qi.path):$m(Rn,wi,F.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,Qi.path)}!ai&&Xe&&Xe===h5(en)&&($m(Rn,wi,F.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,Xe,Qi.path),Dn.set(er(Xe),!0))})}function os(Xe,Dt,ai,...wi){let Qi=!0;D1(Rn=>{bs(Rn.initializer)&&W8(Rn.initializer,Xe,en=>{const bn=en.initializer;_h(bn)&&bn.elements.length>Dt&&(bt.add(V4(ne.configFile,bn.elements[Dt],ai,...wi)),Qi=!1)})}),Qi&&bt.add(lc(ai,...wi))}function ss(Xe,Dt,ai,...wi){let Qi=!0;D1(Rn=>{bs(Rn.initializer)&&ia(Rn.initializer,Xe,Dt,void 0,ai,...wi)&&(Qi=!1)}),Qi&&bt.add(lc(ai,...wi))}function Rl(Xe,Dt){return W8(c_(),Xe,Dt)}function D1(Xe){return Rl("paths",Xe)}function dd(Xe,Dt){return Rl(Xe,ai=>us(ai.initializer)&&ai.initializer.text===Dt?ai.initializer:void 0)}function Jm(Xe,Dt){const ai=c_();return ai&&Ube(ai,Xe,Dt)}function Es(Xe,Dt,ai,wi){d3(!0,Dt,ai,Xe,Dt,ai,wi)}function tp(Xe,Dt,...ai){d3(!1,Xe,void 0,Dt,...ai)}function $m(Xe,Dt,ai,...wi){const Qi=cj(Xe||ne.configFile,"references",Rn=>_h(Rn.initializer)?Rn.initializer:void 0);Qi&&Qi.elements.length>Dt?bt.add(V4(Xe||ne.configFile,Qi.elements[Dt],ai,...wi)):bt.add(lc(ai,...wi))}function d3(Xe,Dt,ai,wi,...Qi){const Rn=c_();(!Rn||!ia(Rn,Xe,Dt,ai,wi,...Qi))&&("messageText"in wi?bt.add(Gq(wi)):bt.add(lc(wi,...Qi)))}function c_(){return Cn===void 0&&(Cn=W8(qN(ne.configFile),"compilerOptions",Xe=>bs(Xe.initializer)?Xe.initializer:void 0)||!1),Cn||void 0}function ia(Xe,Dt,ai,wi,Qi,...Rn){let en=!1;return W8(Xe,ai,bn=>{"messageText"in Qi?bt.add(Z3(ne.configFile,Dt?bn.name:bn.initializer,Qi)):bt.add(V4(ne.configFile,Dt?bn.name:bn.initializer,Qi,...Rn)),en=!0},wi),en}function Qx(Xe,Dt){const ai=c_();ai?ia(ai,!0,Xe,void 0,F.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Xe,Dt):Es(F.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Xe,Dt)}function Xx(Xe,Dt){Dn.set(er(Xe),!0),bt.add(Dt)}function vg(Xe){if(ne.noEmit)return!1;const Dt=er(Xe);if(Ko(Dt))return!1;const ai=b0(ne);if(ai)return rb(Dt,ai)||rb(Dt,Eh(ai)+".d.ts");if(ne.declarationDir&&WE(ne.declarationDir,Dt,On,!ki.useCaseSensitiveFileNames()))return!0;if(ne.outDir)return WE(ne.outDir,Dt,On,!ki.useCaseSensitiveFileNames());if(jc(Dt,gB)||Xd(Dt)){const wi=Eh(Dt);return!!Ko(wi+".ts")||!!Ko(wi+".tsx")}return!1}function rb(Xe,Dt){return fv(Xe,Dt,On,!ki.useCaseSensitiveFileNames())===0}function C5(){return ki.getSymlinkCache?ki.getSymlinkCache():(Ae||(Ae=Cle(On,f4)),We&&!Ae.hasProcessedResolutions()&&Ae.setSymlinksFromResolutions(we,de,lt),Ae)}}function _zt(t){let u;const s=t.compilerHost.fileExists,d=t.compilerHost.directoryExists,f=t.compilerHost.getDirectories,p=t.compilerHost.realpath;if(!t.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:zs,fileExists:b};t.compilerHost.fileExists=b;let E;return d&&(E=t.compilerHost.directoryExists=z=>d.call(t.compilerHost,z)?(T(z),!0):t.getResolvedProjectReferences()?(u||(u=new Set,t.forEachResolvedProjectReference(j=>{const J=b0(j.commandLine.options);if(J)u.add(cr(t.toPath(J)));else{const K=j.commandLine.options.declarationDir||j.commandLine.options.outDir;K&&u.add(t.toPath(K))}})),M(z,!1)):!1),f&&(t.compilerHost.getDirectories=z=>!t.getResolvedProjectReferences()||d&&d.call(t.compilerHost,z)?f.call(t.compilerHost,z):[]),p&&(t.compilerHost.realpath=z=>{var j;return((j=t.getSymlinkCache().getSymlinkedFiles())==null?void 0:j.get(t.toPath(z)))||p.call(t.compilerHost,z)}),{onProgramCreateComplete:v,fileExists:b,directoryExists:E};function v(){t.compilerHost.fileExists=s,t.compilerHost.directoryExists=d,t.compilerHost.getDirectories=f}function b(z){return s.call(t.compilerHost,z)?!0:!t.getResolvedProjectReferences()||!Xd(z)?!1:M(z,!0)}function B(z){const j=t.getSourceOfProjectReferenceRedirect(t.toPath(z));return j!==void 0?Wa(j)?s.call(t.compilerHost,j):!0:void 0}function k(z){const j=t.toPath(z),J=`${j}${rl}`;return $_(u,K=>j===K||La(K,J)||La(j,`${K}/`))}function T(z){var j;if(!t.getResolvedProjectReferences()||wP(z)||!p||!z.includes(a_))return;const J=t.getSymlinkCache(),K=Pd(t.toPath(z));if((j=J.getSymlinkedDirectories())!=null&&j.has(K))return;const Y=Jo(p.call(t.compilerHost,z));let oe;if(Y===z||(oe=Pd(t.toPath(Y)))===K){J.setSymlinkedDirectory(K,!1);return}J.setSymlinkedDirectory(z,{real:Pd(Y),realPath:oe})}function M(z,j){var J;const K=j?ae=>B(ae):ae=>k(ae),Y=K(z);if(Y!==void 0)return Y;const oe=t.getSymlinkCache(),se=oe.getSymlinkedDirectories();if(!se)return!1;const ge=t.toPath(z);return ge.includes(a_)?j&&((J=oe.getSymlinkedFiles())!=null&&J.has(ge))?!0:ie(se.entries(),([ae,Ce])=>{if(!Ce||!La(ge,ae))return;const ne=K(ge.replace(ae,Ce.realPath));if(j&&ne){const ve=Ga(z,t.compilerHost.getCurrentDirectory());oe.setSymlinkedFile(ge,`${Ce.real}${ve.replace(new RegExp(ae,"i"),"")}`)}return ne})||!1:!1}}function T1e(t,u,s,d){const f=t.getCompilerOptions();if(f.noEmit)return t.getSemanticDiagnostics(u,d),u||b0(f)?wQ:t.emitBuildInfo(s,d);if(!f.noEmitOnError)return;let p=[...t.getOptionsDiagnostics(d),...t.getSyntacticDiagnostics(u,d),...t.getGlobalDiagnostics(d),...t.getSemanticDiagnostics(u,d)];if(p.length===0&&l4(t.getCompilerOptions())&&(p=t.getDeclarationDiagnostics(void 0,d)),!p.length)return;let E;if(!u&&!b0(f)){const v=t.emitBuildInfo(s,d);v.diagnostics&&(p=[...p,...v.diagnostics]),E=v.emittedFiles}return{diagnostics:p,sourceMaps:void 0,emittedFiles:E,emitSkipped:!0}}function kQ(t,u){return ei(t,s=>!s.skippedOn||!u[s.skippedOn])}function FQ(t,u=t){return{fileExists:s=>u.fileExists(s),readDirectory(s,d,f,p,E){return H.assertIsDefined(u.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),u.readDirectory(s,d,f,p,E)},readFile:s=>u.readFile(s),directoryExists:To(u,u.directoryExists),getDirectories:To(u,u.getDirectories),realpath:To(u,u.realpath),useCaseSensitiveFileNames:t.useCaseSensitiveFileNames(),getCurrentDirectory:()=>t.getCurrentDirectory(),onUnRecoverableConfigFileDiagnostic:t.onUnRecoverableConfigFileDiagnostic||cv,trace:t.trace?s=>t.trace(s):void 0}}function L1e(t,u,s,d){if(!t)return _t;let f;for(let p=0;pd);for(const d of u)d.kind===11&&s.push(d);return s}function AQ({imports:t,moduleAugmentations:u},s){if(s(t.Grey="\x1B[90m",t.Red="\x1B[91m",t.Yellow="\x1B[93m",t.Blue="\x1B[94m",t.Cyan="\x1B[96m",t))(P1e||{}),M1e="\x1B[7m",z1e=" ",I7e="\x1B[0m",R7e="...",stt=" ",O7e=" ",j7e={resolvedModule:void 0,resolvedTypeReferenceDirective:void 0},CH={getName:M7e,getMode:(t,u)=>_g(u,t)},SQ={getName:z7e,getMode:(t,u)=>xQ(t,u==null?void 0:u.impliedNodeFormat)},ZB="__inferred type names__.ts",BQ=new Set([F.Cannot_redeclare_block_scoped_variable_0.code,F.A_module_cannot_have_multiple_default_exports.code,F.Another_export_default_is_here.code,F.The_first_export_default_is_here.code,F.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,F.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,F.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,F.constructor_is_a_reserved_word.code,F.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,F.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code,F.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,F.Invalid_use_of_0_in_strict_mode.code,F.A_label_is_not_allowed_here.code,F.with_statements_are_not_allowed_in_strict_mode.code,F.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,F.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,F.A_class_declaration_without_the_default_modifier_must_have_a_name.code,F.A_class_member_cannot_have_the_0_keyword.code,F.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,F.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,F.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,F.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,F.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,F.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,F.A_destructuring_declaration_must_have_an_initializer.code,F.A_get_accessor_cannot_have_parameters.code,F.A_rest_element_cannot_contain_a_binding_pattern.code,F.A_rest_element_cannot_have_a_property_name.code,F.A_rest_element_cannot_have_an_initializer.code,F.A_rest_element_must_be_last_in_a_destructuring_pattern.code,F.A_rest_parameter_cannot_have_an_initializer.code,F.A_rest_parameter_must_be_last_in_a_parameter_list.code,F.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,F.A_return_statement_cannot_be_used_inside_a_class_static_block.code,F.A_set_accessor_cannot_have_rest_parameter.code,F.A_set_accessor_must_have_exactly_one_parameter.code,F.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,F.An_export_declaration_cannot_have_modifiers.code,F.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,F.An_import_declaration_cannot_have_modifiers.code,F.An_object_member_cannot_be_declared_optional.code,F.Argument_of_dynamic_import_cannot_be_spread_element.code,F.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,F.Cannot_redeclare_identifier_0_in_catch_clause.code,F.Catch_clause_variable_cannot_have_an_initializer.code,F.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,F.Classes_can_only_extend_a_single_class.code,F.Classes_may_not_have_a_field_named_constructor.code,F.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code,F.Duplicate_label_0.code,F.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments.code,F.for_await_loops_cannot_be_used_inside_a_class_static_block.code,F.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,F.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,F.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,F.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,F.Jump_target_cannot_cross_function_boundary.code,F.Line_terminator_not_permitted_before_arrow.code,F.Modifiers_cannot_appear_here.code,F.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,F.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,F.Private_identifiers_are_not_allowed_outside_class_bodies.code,F.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,F.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,F.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,F.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,F.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,F.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,F.Trailing_comma_not_allowed.code,F.Variable_declaration_list_cannot_be_empty.code,F._0_and_1_operations_cannot_be_mixed_without_parentheses.code,F._0_expected.code,F._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,F._0_list_cannot_be_empty.code,F._0_modifier_already_seen.code,F._0_modifier_cannot_appear_on_a_constructor_declaration.code,F._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,F._0_modifier_cannot_appear_on_a_parameter.code,F._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,F._0_modifier_cannot_be_used_here.code,F._0_modifier_must_precede_1_modifier.code,F._0_declarations_can_only_be_declared_inside_a_block.code,F._0_declarations_must_be_initialized.code,F.extends_clause_already_seen.code,F.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,F.Class_constructor_may_not_be_a_generator.code,F.Class_constructor_may_not_be_an_accessor.code,F.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.Private_field_0_must_be_declared_in_an_enclosing_class.code,F.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value.code]),wQ={diagnostics:_t,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}),xzt=o({"src/compiler/builderStatePublic.ts"(){}});function V7e(t,u,s,d,f,p){const E=[],{emitSkipped:v,diagnostics:b}=t.emit(u,B,d,s,f,p);return{outputFiles:E,emitSkipped:v,diagnostics:b};function B(k,T,M){E.push({name:k,writeByteOrderMark:M,text:T})}}var Vp,vzt=o({"src/compiler/builderState.ts"(){So(),(t=>{function u(){function pe(fe,xe,Be){const We={getKeys:Ae=>xe.get(Ae),getValues:Ae=>fe.get(Ae),keys:()=>fe.keys(),deleteKey:Ae=>{(Be||(Be=new Set)).add(Ae);const De=fe.get(Ae);return De?(De.forEach(He=>d(xe,He,Ae)),fe.delete(Ae),!0):!1},set:(Ae,De)=>{Be==null||Be.delete(Ae);const He=fe.get(Ae);return fe.set(Ae,De),He==null||He.forEach(Je=>{De.has(Je)||d(xe,Je,Ae)}),De.forEach(Je=>{He!=null&&He.has(Je)||s(xe,Je,Ae)}),We}};return We}return pe(new Map,new Map,void 0)}t.createManyToManyPathMap=u;function s(pe,fe,xe){let Be=pe.get(fe);Be||(Be=new Set,pe.set(fe,Be)),Be.add(xe)}function d(pe,fe,xe){const Be=pe.get(fe);return Be!=null&&Be.delete(xe)?(Be.size||pe.delete(fe),!0):!1}function f(pe){return Si(pe.declarations,fe=>{var xe;return(xe=zn(fe))==null?void 0:xe.resolvedPath})}function p(pe,fe){const xe=pe.getSymbolAtLocation(fe);return xe&&f(xe)}function E(pe,fe,xe,Be){return K0(pe.getProjectReferenceRedirect(fe)||fe,xe,Be)}function v(pe,fe,xe){let Be;if(fe.imports&&fe.imports.length>0){const He=pe.getTypeChecker();for(const Je of fe.imports){const ft=p(He,Je);ft==null||ft.forEach(De)}}const We=cr(fe.resolvedPath);if(fe.referencedFiles&&fe.referencedFiles.length>0)for(const He of fe.referencedFiles){const Je=E(pe,He.fileName,We,xe);De(Je)}if(pe.forEachResolvedTypeReferenceDirective(({resolvedTypeReferenceDirective:He})=>{if(!He)return;const Je=He.resolvedFileName,ft=E(pe,Je,We,xe);De(ft)},fe),fe.moduleAugmentations.length){const He=pe.getTypeChecker();for(const Je of fe.moduleAugmentations){if(!us(Je))continue;const ft=He.getSymbolAtLocation(Je);ft&&Ae(ft)}}for(const He of pe.getTypeChecker().getAmbientModules())He.declarations&&He.declarations.length>1&&Ae(He);return Be;function Ae(He){if(He.declarations)for(const Je of He.declarations){const ft=zn(Je);ft&&ft!==fe&&De(ft.resolvedPath)}}function De(He){(Be||(Be=new Set)).add(He)}}function b(pe,fe){return fe&&!fe.referencedMap==!pe}t.canReuseOldState=b;function B(pe,fe,xe){var Be,We,Ae;const De=new Map,He=pe.getCompilerOptions(),Je=b0(He),ft=He.module!==0&&!Je?u():void 0,Ze=ft?u():void 0,je=b(ft,fe);pe.getTypeChecker();for(const Ke of pe.getSourceFiles()){const Gt=H.checkDefined(Ke.version,"Program intended to be used with Builder should have source files with versions set"),Yt=je?(Be=fe.oldSignatures)==null?void 0:Be.get(Ke.resolvedPath):void 0,Ie=Yt===void 0?je?(We=fe.fileInfos.get(Ke.resolvedPath))==null?void 0:We.signature:void 0:Yt||void 0;if(ft){const lt=v(pe,Ke,pe.getCanonicalFileName);if(lt&&ft.set(Ke.resolvedPath,lt),je){const St=(Ae=fe.oldExportedModulesMap)==null?void 0:Ae.get(Ke.resolvedPath),It=St===void 0?fe.exportedModulesMap.getValues(Ke.resolvedPath):St||void 0;It&&Ze.set(Ke.resolvedPath,It)}}De.set(Ke.resolvedPath,{version:Gt,signature:Ie,affectsGlobalScope:Je?void 0:ne(Ke)||void 0,impliedFormat:Ke.impliedNodeFormat})}return{fileInfos:De,referencedMap:ft,exportedModulesMap:Ze,useFileVersionAsSignature:!xe&&!je}}t.create=B;function k(pe){pe.allFilesExcludingDefaultLibraryFile=void 0,pe.allFileNames=void 0}t.releaseCache=k;function T(pe,fe,xe,Be,We){var Ae,De;const He=M(pe,fe,xe,Be,We);return(Ae=pe.oldSignatures)==null||Ae.clear(),(De=pe.oldExportedModulesMap)==null||De.clear(),He}t.getFilesAffectedBy=T;function M(pe,fe,xe,Be,We){const Ae=fe.getSourceFileByPath(xe);return Ae?J(pe,fe,Ae,Be,We)?(pe.referencedMap?Ne:Se)(pe,fe,Ae,Be,We):[Ae]:_t}t.getFilesAffectedByWithOldState=M;function z(pe,fe,xe){pe.fileInfos.get(xe).signature=fe,(pe.hasCalledUpdateShapeSignature||(pe.hasCalledUpdateShapeSignature=new Set)).add(xe)}t.updateSignatureOfFile=z;function j(pe,fe,xe,Be,We){pe.emit(fe,(Ae,De,He,Je,ft,Ze)=>{H.assert(Xd(Ae),`File extension for signature expected to be dts: Got:: ${Ae}`),We(R1e(pe,fe,De,Be,Ze),ft)},xe,!0,void 0,!0)}t.computeDtsSignature=j;function J(pe,fe,xe,Be,We,Ae=pe.useFileVersionAsSignature){var De;if((De=pe.hasCalledUpdateShapeSignature)!=null&&De.has(xe.resolvedPath))return!1;const He=pe.fileInfos.get(xe.resolvedPath),Je=He.signature;let ft;if(!xe.isDeclarationFile&&!Ae&&j(fe,xe,Be,We,(Ze,je)=>{ft=Ze,ft!==Je&&K(pe,xe,je[0].exportedModulesFromDeclarationEmit)}),ft===void 0&&(ft=xe.version,pe.exportedModulesMap&&ft!==Je)){(pe.oldExportedModulesMap||(pe.oldExportedModulesMap=new Map)).set(xe.resolvedPath,pe.exportedModulesMap.getValues(xe.resolvedPath)||!1);const Ze=pe.referencedMap?pe.referencedMap.getValues(xe.resolvedPath):void 0;Ze?pe.exportedModulesMap.set(xe.resolvedPath,Ze):pe.exportedModulesMap.deleteKey(xe.resolvedPath)}return(pe.oldSignatures||(pe.oldSignatures=new Map)).set(xe.resolvedPath,Je||!1),(pe.hasCalledUpdateShapeSignature||(pe.hasCalledUpdateShapeSignature=new Set)).add(xe.resolvedPath),He.signature=ft,ft!==Je}t.updateShapeSignature=J;function K(pe,fe,xe){if(!pe.exportedModulesMap)return;(pe.oldExportedModulesMap||(pe.oldExportedModulesMap=new Map)).set(fe.resolvedPath,pe.exportedModulesMap.getValues(fe.resolvedPath)||!1);const Be=Y(xe);Be?pe.exportedModulesMap.set(fe.resolvedPath,Be):pe.exportedModulesMap.deleteKey(fe.resolvedPath)}t.updateExportedModules=K;function Y(pe){let fe;return pe==null||pe.forEach(xe=>f(xe).forEach(Be=>(fe??(fe=new Set)).add(Be))),fe}t.getExportedModules=Y;function oe(pe,fe,xe){const Be=fe.getCompilerOptions();if(b0(Be)||!pe.referencedMap||ne(xe))return se(pe,fe);const We=new Set,Ae=[xe.resolvedPath];for(;Ae.length;){const De=Ae.pop();if(!We.has(De)){We.add(De);const He=pe.referencedMap.getValues(De);if(He)for(const Je of He.keys())Ae.push(Je)}}return ga(_o(We.keys(),De=>{var He;return((He=fe.getSourceFileByPath(De))==null?void 0:He.fileName)??De}))}t.getAllDependencies=oe;function se(pe,fe){if(!pe.allFileNames){const xe=fe.getSourceFiles();pe.allFileNames=xe===_t?_t:xe.map(Be=>Be.fileName)}return pe.allFileNames}function ge(pe,fe){const xe=pe.referencedMap.getKeys(fe);return xe?ga(xe.keys()):[]}t.getReferencedByPaths=ge;function ae(pe){for(const fe of pe.statements)if(!YU(fe))return!1;return!0}function Ce(pe){return Ge(pe.moduleAugmentations,fe=>Zg(fe.parent))}function ne(pe){return Ce(pe)||!lm(pe)&&!H4(pe)&&!ae(pe)}function ve(pe,fe,xe){if(pe.allFilesExcludingDefaultLibraryFile)return pe.allFilesExcludingDefaultLibraryFile;let Be;xe&&We(xe);for(const Ae of fe.getSourceFiles())Ae!==xe&&We(Ae);return pe.allFilesExcludingDefaultLibraryFile=Be||_t,pe.allFilesExcludingDefaultLibraryFile;function We(Ae){fe.isSourceFileDefaultLibrary(Ae)||(Be||(Be=[])).push(Ae)}}t.getAllFilesExcludingDefaultLibraryFile=ve;function Se(pe,fe,xe){const Be=fe.getCompilerOptions();return Be&&b0(Be)?[xe]:ve(pe,fe,xe)}function Ne(pe,fe,xe,Be,We){if(ne(xe))return ve(pe,fe,xe);const Ae=fe.getCompilerOptions();if(Ae&&(hg(Ae)||b0(Ae)))return[xe];const De=new Map;De.set(xe.resolvedPath,xe);const He=ge(pe,xe.resolvedPath);for(;He.length>0;){const Je=He.pop();if(!De.has(Je)){const ft=fe.getSourceFileByPath(Je);De.set(Je,ft),ft&&J(pe,fe,ft,Be,We)&&He.push(...ge(pe,ft.resolvedPath))}}return ga(_o(De.values(),Je=>Je))}})(Vp||(Vp={}))}});function $x(t){let u=1;return t.sourceMap&&(u=u|2),t.inlineSourceMap&&(u=u|4),l4(t)&&(u=u|8),t.declarationMap&&(u=u|16),t.emitDeclarationOnly&&(u=u&24),u}function YB(t,u){const s=u&&($D(u)?u:$x(u)),d=$D(t)?t:$x(t);if(s===d)return 0;if(!s||!d)return d;const f=s^d;let p=0;return f&7&&(p=d&7),f&24&&(p=p|d&24),p}function Czt(t,u){return t===u||t!==void 0&&u!==void 0&&t.size===u.size&&!$_(t,s=>!u.has(s))}function bzt(t,u){var s,d;const f=Vp.create(t,u,!1);f.program=t;const p=t.getCompilerOptions();f.compilerOptions=p;const E=b0(p);E?p.composite&&(u!=null&&u.outSignature)&&E===b0(u==null?void 0:u.compilerOptions)&&(f.outSignature=u.outSignature&&ctt(p,u.compilerOptions,u.outSignature)):f.semanticDiagnosticsPerFile=new Map,f.changedFilesSet=new Set,f.latestChangedDtsFile=p.composite?u==null?void 0:u.latestChangedDtsFile:void 0;const v=Vp.canReuseOldState(f.referencedMap,u),b=v?u.compilerOptions:void 0,B=v&&u.semanticDiagnosticsPerFile&&!!f.semanticDiagnosticsPerFile&&!rke(p,b),k=p.composite&&(u==null?void 0:u.emitSignatures)&&!E&&!oke(p,u.compilerOptions);v?((s=u.changedFilesSet)==null||s.forEach(J=>f.changedFilesSet.add(J)),!E&&((d=u.affectedFilesPendingEmit)!=null&&d.size)&&(f.affectedFilesPendingEmit=new Map(u.affectedFilesPendingEmit),f.seenAffectedFiles=new Set),f.programEmitPending=u.programEmitPending):f.buildInfoEmitPending=!0;const T=f.referencedMap,M=v?u.referencedMap:void 0,z=B&&!p.skipLibCheck==!b.skipLibCheck,j=z&&!p.skipDefaultLibCheck==!b.skipDefaultLibCheck;if(f.fileInfos.forEach((J,K)=>{let Y,oe;if(!v||!(Y=u.fileInfos.get(K))||Y.version!==J.version||Y.impliedFormat!==J.impliedFormat||!Czt(oe=T&&T.getValues(K),M&&M.getValues(K))||oe&&$_(oe,se=>!f.fileInfos.has(se)&&u.fileInfos.has(se)))ltt(f,K);else if(B){const se=t.getSourceFileByPath(K);if(se.isDeclarationFile&&!z||se.hasNoDefaultLib&&!j)return;const ge=u.semanticDiagnosticsPerFile.get(K);ge&&(f.semanticDiagnosticsPerFile.set(K,u.hasReusableDiagnostic?kzt(ge,t):yzt(ge,t)),f.semanticDiagnosticsFromOldState||(f.semanticDiagnosticsFromOldState=new Set),f.semanticDiagnosticsFromOldState.add(K))}if(k){const se=u.emitSignatures.get(K);se&&(f.emitSignatures??(f.emitSignatures=new Map)).set(K,ctt(p,u.compilerOptions,se))}}),v&&d1(u.fileInfos,(J,K)=>f.fileInfos.has(K)?!1:E||J.affectsGlobalScope?!0:(f.buildInfoEmitPending=!0,!1)))Vp.getAllFilesExcludingDefaultLibraryFile(f,t,void 0).forEach(J=>ltt(f,J.resolvedPath));else if(b){const J=ake(p,b)?$x(p):YB(p,b);J!==0&&(E?f.programEmitPending=f.programEmitPending?f.programEmitPending|J:J:(t.getSourceFiles().forEach(K=>{f.changedFilesSet.has(K.resolvedPath)||U7e(f,K.resolvedPath,J)}),H.assert(!f.seenAffectedFiles||!f.seenAffectedFiles.size),f.seenAffectedFiles=f.seenAffectedFiles||new Set,f.buildInfoEmitPending=!0))}return E&&!f.changedFilesSet.size&&(v&&(f.bundle=u.bundle),Ge(t.getProjectReferences(),J=>!!J.prepend)&&(f.programEmitPending=$x(p))),f}function ltt(t,u){t.changedFilesSet.add(u),t.buildInfoEmitPending=!0,t.programEmitPending=void 0}function ctt(t,u,s){return!!t.declarationMap==!!u.declarationMap?s:Wa(s)?[s]:s[0]}function yzt(t,u){return t.length?Pu(t,s=>{if(Wa(s.messageText))return s;const d=H7e(s.messageText,s.file,u,f=>{var p;return(p=f.repopulateInfo)==null?void 0:p.call(f)});return d===s.messageText?s:{...s,messageText:d}}):t}function H7e(t,u,s,d){const f=d(t);if(f)return{...a0e(u,s,f.moduleReference,f.mode,f.packageName||f.moduleReference),next:dtt(t.next,u,s,d)};const p=dtt(t.next,u,s,d);return p===t.next?t:{...t,next:p}}function dtt(t,u,s,d){return Pu(t,f=>H7e(f,u,s,d))}function kzt(t,u){if(!t.length)return _t;let s;return t.map(f=>{const p=htt(f,u,d);p.reportsUnnecessary=f.reportsUnnecessary,p.reportsDeprecated=f.reportDeprecated,p.source=f.source,p.skippedOn=f.skippedOn;const{relatedInformation:E}=f;return p.relatedInformation=E?E.length?E.map(v=>htt(v,u,d)):[]:void 0,p});function d(f){return s??(s=cr(Ga(h5(u.getCompilerOptions()),u.getCurrentDirectory()))),K0(f,s,u.getCanonicalFileName)}}function htt(t,u,s){const{file:d}=t,f=d?u.getSourceFileByPath(s(d)):void 0;return{...t,file:f,messageText:Wa(t.messageText)?t.messageText:H7e(t.messageText,f,u,p=>p.info)}}function Fzt(t){Vp.releaseCache(t),t.program=void 0}function Azt(t){const u=b0(t.compilerOptions);return H.assert(!t.changedFilesSet.size||u),{affectedFilesPendingEmit:t.affectedFilesPendingEmit&&new Map(t.affectedFilesPendingEmit),seenEmittedFiles:t.seenEmittedFiles&&new Map(t.seenEmittedFiles),programEmitPending:t.programEmitPending,emitSignatures:t.emitSignatures&&new Map(t.emitSignatures),outSignature:t.outSignature,latestChangedDtsFile:t.latestChangedDtsFile,hasChangedEmitSignature:t.hasChangedEmitSignature,changedFilesSet:u?new Set(t.changedFilesSet):void 0}}function Szt(t,u){t.affectedFilesPendingEmit=u.affectedFilesPendingEmit,t.seenEmittedFiles=u.seenEmittedFiles,t.programEmitPending=u.programEmitPending,t.emitSignatures=u.emitSignatures,t.outSignature=u.outSignature,t.latestChangedDtsFile=u.latestChangedDtsFile,t.hasChangedEmitSignature=u.hasChangedEmitSignature,u.changedFilesSet&&(t.changedFilesSet=u.changedFilesSet)}function ftt(t,u){H.assert(!u||!t.affectedFiles||t.affectedFiles[t.affectedFilesIndex-1]!==u||!t.semanticDiagnosticsPerFile.has(u.resolvedPath))}function mtt(t,u,s){for(var d,f;;){const{affectedFiles:p}=t;if(p){const B=t.seenAffectedFiles;let k=t.affectedFilesIndex;for(;k{const p=d&7;p?t.affectedFilesPendingEmit.set(f,p):t.affectedFilesPendingEmit.delete(f)})}}function wzt(t,u){var s;if((s=t.affectedFilesPendingEmit)!=null&&s.size)return d1(t.affectedFilesPendingEmit,(d,f)=>{var p;const E=t.program.getSourceFileByPath(f);if(!E||!f7(E,t.program)){t.affectedFilesPendingEmit.delete(f);return}const v=(p=t.seenEmittedFiles)==null?void 0:p.get(E.resolvedPath);let b=YB(d,v);if(u&&(b=b&24),b)return{affectedFile:E,emitKind:b}})}function ptt(t){if(!t.cleanedDiagnosticsOfLibFiles){t.cleanedDiagnosticsOfLibFiles=!0;const u=H.checkDefined(t.program),s=u.getCompilerOptions();L(u.getSourceFiles(),d=>u.isSourceFileDefaultLibrary(d)&&!FP(d,s,u)&&K7e(t,d.resolvedPath))}}function Tzt(t,u,s,d){if(K7e(t,u.resolvedPath),t.allFilesExcludingDefaultLibraryFile===t.affectedFiles){ptt(t),Vp.updateShapeSignature(t,H.checkDefined(t.program),u,s,d);return}t.compilerOptions.assumeChangesOnlyAffectDirectDependencies||Lzt(t,u,s,d)}function I1e(t,u,s,d){if(K7e(t,u),!t.changedFilesSet.has(u)){const f=H.checkDefined(t.program),p=f.getSourceFileByPath(u);p&&(Vp.updateShapeSignature(t,f,p,s,d,!0),l4(t.compilerOptions)&&U7e(t,u,t.compilerOptions.declarationMap?24:8))}}function K7e(t,u){return t.semanticDiagnosticsFromOldState?(t.semanticDiagnosticsFromOldState.delete(u),t.semanticDiagnosticsPerFile.delete(u),!t.semanticDiagnosticsFromOldState.size):!0}function gtt(t,u){const s=H.checkDefined(t.oldSignatures).get(u)||void 0;return H.checkDefined(t.fileInfos.get(u)).signature!==s}function W7e(t,u,s,d){var f;return(f=t.fileInfos.get(u))!=null&&f.affectsGlobalScope?(Vp.getAllFilesExcludingDefaultLibraryFile(t,t.program,void 0).forEach(p=>I1e(t,p.resolvedPath,s,d)),ptt(t),!0):!1}function Lzt(t,u,s,d){var f;if(!t.exportedModulesMap||!t.changedFilesSet.has(u.resolvedPath)||!gtt(t,u.resolvedPath))return;if(hg(t.compilerOptions)){const E=new Map;E.set(u.resolvedPath,!0);const v=Vp.getReferencedByPaths(t,u.resolvedPath);for(;v.length>0;){const b=v.pop();if(!E.has(b)){if(E.set(b,!0),W7e(t,b,s,d))return;if(I1e(t,b,s,d),gtt(t,b)){const B=H.checkDefined(t.program).getSourceFileByPath(b);v.push(...Vp.getReferencedByPaths(t,B.resolvedPath))}}}}const p=new Set;(f=t.exportedModulesMap.getKeys(u.resolvedPath))==null||f.forEach(E=>{if(W7e(t,E,s,d))return!0;const v=t.referencedMap.getKeys(E);return v&&$_(v,b=>Ett(t,b,p,s,d))})}function Ett(t,u,s,d,f){var p,E;if(k0(s,u)){if(W7e(t,u,d,f))return!0;I1e(t,u,d,f),(p=t.exportedModulesMap.getKeys(u))==null||p.forEach(v=>Ett(t,v,s,d,f)),(E=t.referencedMap.getKeys(u))==null||E.forEach(v=>!s.has(v)&&I1e(t,v,d,f))}}function G7e(t,u,s){return an(Nzt(t,u,s),H.checkDefined(t.program).getProgramDiagnostics(u))}function Nzt(t,u,s){const d=u.resolvedPath;if(t.semanticDiagnosticsPerFile){const p=t.semanticDiagnosticsPerFile.get(d);if(p)return kQ(p,t.compilerOptions)}const f=H.checkDefined(t.program).getBindAndCheckDiagnostics(u,s);return t.semanticDiagnosticsPerFile&&t.semanticDiagnosticsPerFile.set(d,f),kQ(f,t.compilerOptions)}function J7e(t){return!!b0(t.options||{})}function Pzt(t,u){var s,d,f;const p=H.checkDefined(t.program).getCurrentDirectory(),E=cr(Ga(h5(t.compilerOptions),p)),v=t.latestChangedDtsFile?ae(t.latestChangedDtsFile):void 0,b=[],B=new Map,k=[];if(b0(t.compilerOptions)){const pe=ga(t.fileInfos.entries(),([De,He])=>{const Je=ne(De);return Se(De,Je),He.impliedFormat?{version:He.version,impliedFormat:He.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:He.version}),fe={fileNames:b,fileInfos:pe,root:k,options:Ne(t.compilerOptions),outSignature:t.outSignature,latestChangedDtsFile:v,pendingEmit:t.programEmitPending?t.programEmitPending===$x(t.compilerOptions)?!1:t.programEmitPending:void 0},{js:xe,dts:Be,commonSourceDirectory:We,sourceFiles:Ae}=u;return t.bundle=u={commonSourceDirectory:We,sourceFiles:Ae,js:xe||(t.compilerOptions.emitDeclarationOnly||(s=t.bundle)==null?void 0:s.js),dts:Be||(l4(t.compilerOptions)?(d=t.bundle)==null?void 0:d.dts:void 0)},mH(fe,u)}let T,M,z;const j=ga(t.fileInfos.entries(),([pe,fe])=>{var xe,Be;const We=ne(pe);Se(pe,We),H.assert(b[We-1]===Ce(pe));const Ae=(xe=t.oldSignatures)==null?void 0:xe.get(pe),De=Ae!==void 0?Ae||void 0:fe.signature;if(t.compilerOptions.composite){const He=t.program.getSourceFileByPath(pe);if(!H4(He)&&f7(He,t.program)){const Je=(Be=t.emitSignatures)==null?void 0:Be.get(pe);Je!==De&&(z||(z=[])).push(Je===void 0?We:[We,!Wa(Je)&&Je[0]===De?_t:Je])}}return fe.version===De?fe.affectsGlobalScope||fe.impliedFormat?{version:fe.version,signature:void 0,affectsGlobalScope:fe.affectsGlobalScope,impliedFormat:fe.impliedFormat}:fe.version:De!==void 0?Ae===void 0?fe:{version:fe.version,signature:De,affectsGlobalScope:fe.affectsGlobalScope,impliedFormat:fe.impliedFormat}:{version:fe.version,signature:!1,affectsGlobalScope:fe.affectsGlobalScope,impliedFormat:fe.impliedFormat}});let J;t.referencedMap&&(J=ga(t.referencedMap.keys()).sort(ch).map(pe=>[ne(pe),ve(t.referencedMap.getValues(pe))]));let K;t.exportedModulesMap&&(K=Si(ga(t.exportedModulesMap.keys()).sort(ch),pe=>{var fe;const xe=(fe=t.oldExportedModulesMap)==null?void 0:fe.get(pe);if(xe===void 0)return[ne(pe),ve(t.exportedModulesMap.getValues(pe))];if(xe)return[ne(pe),ve(xe)]}));let Y;if(t.semanticDiagnosticsPerFile)for(const pe of ga(t.semanticDiagnosticsPerFile.keys()).sort(ch)){const fe=t.semanticDiagnosticsPerFile.get(pe);(Y||(Y=[])).push(fe.length?[ne(pe),zzt(fe,Ce)]:ne(pe))}let oe;if((f=t.affectedFilesPendingEmit)!=null&&f.size){const pe=$x(t.compilerOptions),fe=new Set;for(const xe of ga(t.affectedFilesPendingEmit.keys()).sort(ch))if(k0(fe,xe)){const Be=t.program.getSourceFileByPath(xe);if(!Be||!f7(Be,t.program))continue;const We=ne(xe),Ae=t.affectedFilesPendingEmit.get(xe);(oe||(oe=[])).push(Ae===pe?We:Ae===8?[We]:[We,Ae])}}let se;if(t.changedFilesSet.size)for(const pe of ga(t.changedFilesSet.keys()).sort(ch))(se||(se=[])).push(ne(pe));const ge={fileNames:b,fileInfos:j,root:k,options:Ne(t.compilerOptions),fileIdsList:T,referencedMap:J,exportedModulesMap:K,semanticDiagnosticsPerFile:Y,affectedFilesPendingEmit:oe,changeFileSet:se,emitSignatures:z,latestChangedDtsFile:v};return mH(ge,u);function ae(pe){return Ce(Ga(pe,p))}function Ce(pe){return l2(GE(E,pe,t.program.getCanonicalFileName))}function ne(pe){let fe=B.get(pe);return fe===void 0&&(b.push(Ce(pe)),B.set(pe,fe=b.length)),fe}function ve(pe){const fe=ga(pe.keys(),ne).sort(nl),xe=fe.join();let Be=M==null?void 0:M.get(xe);return Be===void 0&&((T||(T=[])).push(fe),(M||(M=new Map)).set(xe,Be=T.length)),Be}function Se(pe,fe){const xe=t.program.getSourceFile(pe);if(!t.program.getFileIncludeReasons().get(xe.path).some(De=>De.kind===0))return;if(!k.length)return k.push(fe);const Be=k[k.length-1],We=ja(Be);if(We&&Be[1]===fe-1)return Be[1]=fe;if(We||k.length===1||Be!==fe-1)return k.push(fe);const Ae=k[k.length-2];return!$D(Ae)||Ae!==Be-1?k.push(fe):(k[k.length-2]=[Ae,fe],k.length=k.length-1)}function Ne(pe){let fe;const{optionsNameMap:xe}=RB();for(const Be of Ls(pe).sort(ch)){const We=xe.get(Be.toLowerCase());We!=null&&We.affectsBuildInfo&&((fe||(fe={}))[Be]=Mzt(We,pe[Be],ae))}return fe}}function Mzt(t,u,s){if(t){if(H.assert(t.type!=="listOrElement"),t.type==="list"){const d=u;if(t.element.isFilePath&&d.length)return d.map(s)}else if(t.isFilePath)return s(u)}return u}function zzt(t,u){return H.assert(!!t.length),t.map(s=>{const d=_tt(s,u);d.reportsUnnecessary=s.reportsUnnecessary,d.reportDeprecated=s.reportsDeprecated,d.source=s.source,d.skippedOn=s.skippedOn;const{relatedInformation:f}=s;return d.relatedInformation=f?f.length?f.map(p=>_tt(p,u)):[]:void 0,d})}function _tt(t,u){const{file:s}=t;return{...t,file:s?u(s.resolvedPath):void 0,messageText:Wa(t.messageText)?t.messageText:$7e(t.messageText)}}function $7e(t){if(t.repopulateInfo)return{info:t.repopulateInfo(),next:Dtt(t.next)};const u=Dtt(t.next);return u===t.next?t:{...t,next:u}}function Dtt(t){return t&&(L(t,(u,s)=>{const d=$7e(u);if(u===d)return;const f=s>0?t.slice(0,s-1):[];f.push(d);for(let p=s+1;p`${b(B)}${DO[B.category]}${B.code}: ${v(B.messageText)}`).join(` +`)),(d.createHash??FN)(s);function v(B){return Wa(B)?B:B===void 0?"":B.next?B.messageText+B.next.map(v).join(` +`):B.messageText}function b(B){return B.file.resolvedPath===u.resolvedPath?`(${B.start},${B.length})`:(E===void 0&&(E=cr(u.resolvedPath)),`${l2(GE(E,B.file.resolvedPath,t.getCanonicalFileName))}(${B.start},${B.length})`)}}function Tk(t,u,s){return(u.createHash??FN)(xtt(t,s))}function O1e(t,{newProgram:u,host:s,oldProgram:d,configFileParsingDiagnostics:f}){let p=d&&d.getState();if(p&&u===p.program&&f===u.getConfigFileParsingDiagnostics())return u=void 0,p=void 0,d;const E=bzt(u,p);u.getBuildInfo=J=>Pzt(E,J),u=void 0,d=void 0,p=void 0;const v=()=>E,b=V1e(v,f);return b.getState=v,b.saveEmitState=()=>Azt(E),b.restoreEmitState=J=>Szt(E,J),b.hasChangedEmitSignature=()=>!!E.hasChangedEmitSignature,b.getAllDependencies=J=>Vp.getAllDependencies(E,H.checkDefined(E.program),J),b.getSemanticDiagnostics=j,b.emit=M,b.releaseProgram=()=>Fzt(E),t===0?b.getSemanticDiagnosticsOfNextAffectedFile=z:t===1?(b.getSemanticDiagnosticsOfNextAffectedFile=z,b.emitNextAffectedFile=k,b.emitBuildInfo=B):so(),b;function B(J,K){if(E.buildInfoEmitPending){const Y=H.checkDefined(E.program).emitBuildInfo(J||To(s,s.writeFile),K);return E.buildInfoEmitPending=!1,Y}return wQ}function k(J,K,Y,oe){var se,ge,ae;let Ce=mtt(E,K,s);const ne=$x(E.compilerOptions);let ve=Y?ne&24:ne;if(!Ce)if(b0(E.compilerOptions)){if(!E.programEmitPending||(ve=E.programEmitPending,Y&&(ve=ve&24),!ve))return;Ce=E.program}else{const pe=wzt(E,Y);if(!pe){if(!E.buildInfoEmitPending)return;const fe=E.program,xe=fe.emitBuildInfo(J||To(s,s.writeFile),K);return E.buildInfoEmitPending=!1,{result:xe,affected:fe}}({affectedFile:Ce,emitKind:ve}=pe)}let Se;ve&7&&(Se=0),ve&24&&(Se=Se===void 0?1:void 0),Ce===E.program&&(E.programEmitPending=E.changedFilesSet.size?YB(ne,ve):E.programEmitPending?YB(E.programEmitPending,ve):void 0);const Ne=E.program.emit(Ce===E.program?void 0:Ce,T(J,oe),K,Se,oe);if(Ce!==E.program){const pe=Ce;E.seenAffectedFiles.add(pe.resolvedPath),E.affectedFilesIndex!==void 0&&E.affectedFilesIndex++,E.buildInfoEmitPending=!0;const fe=((se=E.seenEmittedFiles)==null?void 0:se.get(pe.resolvedPath))||0;(E.seenEmittedFiles??(E.seenEmittedFiles=new Map)).set(pe.resolvedPath,ve|fe);const xe=((ge=E.affectedFilesPendingEmit)==null?void 0:ge.get(pe.resolvedPath))||ne,Be=YB(xe,ve|fe);Be?(E.affectedFilesPendingEmit??(E.affectedFilesPendingEmit=new Map)).set(pe.resolvedPath,Be):(ae=E.affectedFilesPendingEmit)==null||ae.delete(pe.resolvedPath)}else E.changedFilesSet.clear();return{result:Ne,affected:Ce}}function T(J,K){return l4(E.compilerOptions)?(Y,oe,se,ge,ae,Ce)=>{var ne,ve,Se,Ne;if(Xd(Y))if(b0(E.compilerOptions)){if(E.compilerOptions.composite){const fe=pe(E.outSignature,void 0);if(!fe)return;E.outSignature=fe}}else{H.assert((ae==null?void 0:ae.length)===1);let fe;if(!K){const xe=ae[0],Be=E.fileInfos.get(xe.resolvedPath);if(Be.signature===xe.version){const We=R1e(E.program,xe,oe,s,Ce);(ne=Ce==null?void 0:Ce.diagnostics)!=null&&ne.length||(fe=We),We!==xe.version&&(s.storeFilesChangingSignatureDuringEmit&&(E.filesChangingSignature??(E.filesChangingSignature=new Set)).add(xe.resolvedPath),E.exportedModulesMap&&Vp.updateExportedModules(E,xe,xe.exportedModulesFromDeclarationEmit),E.affectedFiles?(((ve=E.oldSignatures)==null?void 0:ve.get(xe.resolvedPath))===void 0&&(E.oldSignatures??(E.oldSignatures=new Map)).set(xe.resolvedPath,Be.signature||!1),Be.signature=We):(Be.signature=We,(Se=E.oldExportedModulesMap)==null||Se.clear()))}}if(E.compilerOptions.composite){const xe=ae[0].resolvedPath;if(fe=pe((Ne=E.emitSignatures)==null?void 0:Ne.get(xe),fe),!fe)return;(E.emitSignatures??(E.emitSignatures=new Map)).set(xe,fe)}}J?J(Y,oe,se,ge,ae,Ce):s.writeFile?s.writeFile(Y,oe,se,ge,ae,Ce):E.program.writeFile(Y,oe,se,ge,ae,Ce);function pe(fe,xe){const Be=!fe||Wa(fe)?fe:fe[0];if(xe??(xe=Tk(oe,s,Ce)),xe===Be){if(fe===Be)return;Ce?Ce.differsOnlyInMap=!0:Ce={differsOnlyInMap:!0}}else E.hasChangedEmitSignature=!0,E.latestChangedDtsFile=Y;return xe}}:J||To(s,s.writeFile)}function M(J,K,Y,oe,se){t===1&&ftt(E,J);const ge=T1e(b,J,K,Y);if(ge)return ge;if(!J)if(t===1){let ae=[],Ce=!1,ne,ve=[],Se;for(;Se=k(K,Y,oe,se);)Ce=Ce||Se.result.emitSkipped,ne=yn(ne,Se.result.diagnostics),ve=yn(ve,Se.result.emittedFiles),ae=yn(ae,Se.result.sourceMaps);return{emitSkipped:Ce,diagnostics:ne||_t,emittedFiles:ve,sourceMaps:ae}}else Bzt(E,oe);return H.checkDefined(E.program).emit(J,T(K,se),Y,oe,se)}function z(J,K){for(;;){const Y=mtt(E,J,s);let oe;if(Y)if(Y!==E.program){const se=Y;if((!K||!K(se))&&(oe=G7e(E,se,J)),E.seenAffectedFiles.add(se.resolvedPath),E.affectedFilesIndex++,E.buildInfoEmitPending=!0,!oe)continue}else oe=E.program.getSemanticDiagnostics(void 0,J),E.changedFilesSet.clear(),E.programEmitPending=$x(E.compilerOptions);else return;return{result:oe,affected:Y}}}function j(J,K){ftt(E,J);const Y=H.checkDefined(E.program).getCompilerOptions();if(b0(Y))return H.assert(!E.semanticDiagnosticsPerFile),H.checkDefined(E.program).getSemanticDiagnostics(J,K);if(J)return G7e(E,J,K);for(;z(K););let oe;for(const se of H.checkDefined(E.program).getSourceFiles())oe=yn(oe,G7e(E,se,K));return oe||_t}}function U7e(t,u,s){var d;const f=((d=t.affectedFilesPendingEmit)==null?void 0:d.get(u))||0;(t.affectedFilesPendingEmit??(t.affectedFilesPendingEmit=new Map)).set(u,f|s)}function q7e(t){return Wa(t)?{version:t,signature:t,affectsGlobalScope:void 0,impliedFormat:void 0}:Wa(t.signature)?t:{version:t.version,signature:t.signature===!1?void 0:t.version,affectsGlobalScope:t.affectsGlobalScope,impliedFormat:t.impliedFormat}}function Z7e(t,u){return $D(t)?u:t[1]||8}function Y7e(t,u){return t||$x(u||{})}function Q7e(t,u,s){var d,f,p,E;const v=t.program,b=cr(Ga(u,s.getCurrentDirectory())),B=T1(s.useCaseSensitiveFileNames());let k;const T=(d=v.fileNames)==null?void 0:d.map(j);let M;const z=v.latestChangedDtsFile?J(v.latestChangedDtsFile):void 0;if(J7e(v)){const se=new Map;v.fileInfos.forEach((ge,ae)=>{const Ce=K(ae+1);se.set(Ce,Wa(ge)?{version:ge,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:ge)}),k={fileInfos:se,compilerOptions:v.options?ade(v.options,J):{},latestChangedDtsFile:z,outSignature:v.outSignature,programEmitPending:v.pendingEmit===void 0?void 0:Y7e(v.pendingEmit,v.options),bundle:t.bundle}}else{M=(f=v.fileIdsList)==null?void 0:f.map(Ce=>new Set(Ce.map(K)));const se=new Map,ge=(p=v.options)!=null&&p.composite&&!b0(v.options)?new Map:void 0;v.fileInfos.forEach((Ce,ne)=>{const ve=K(ne+1),Se=q7e(Ce);se.set(ve,Se),ge&&Se.signature&&ge.set(ve,Se.signature)}),(E=v.emitSignatures)==null||E.forEach(Ce=>{if($D(Ce))ge.delete(K(Ce));else{const ne=K(Ce[0]);ge.set(ne,!Wa(Ce[1])&&!Ce[1].length?[ge.get(ne)]:Ce[1])}});const ae=v.affectedFilesPendingEmit?$x(v.options||{}):void 0;k={fileInfos:se,compilerOptions:v.options?ade(v.options,J):{},referencedMap:oe(v.referencedMap),exportedModulesMap:oe(v.exportedModulesMap),semanticDiagnosticsPerFile:v.semanticDiagnosticsPerFile&&og(v.semanticDiagnosticsPerFile,Ce=>K($D(Ce)?Ce:Ce[0]),Ce=>$D(Ce)?_t:Ce[1]),hasReusableDiagnostic:!0,affectedFilesPendingEmit:v.affectedFilesPendingEmit&&og(v.affectedFilesPendingEmit,Ce=>K($D(Ce)?Ce:Ce[0]),Ce=>Z7e(Ce,ae)),changedFilesSet:new Set(Kt(v.changeFileSet,K)),latestChangedDtsFile:z,emitSignatures:ge!=null&&ge.size?ge:void 0}}return{getState:()=>k,saveEmitState:zs,restoreEmitState:zs,getProgram:so,getProgramOrUndefined:cv,releaseProgram:zs,getCompilerOptions:()=>k.compilerOptions,getSourceFile:so,getSourceFiles:so,getOptionsDiagnostics:so,getGlobalDiagnostics:so,getConfigFileParsingDiagnostics:so,getSyntacticDiagnostics:so,getDeclarationDiagnostics:so,getSemanticDiagnostics:so,emit:so,getAllDependencies:so,getCurrentDirectory:so,emitNextAffectedFile:so,getSemanticDiagnosticsOfNextAffectedFile:so,emitBuildInfo:so,close:zs,hasChangedEmitSignature:sg};function j(se){return K0(se,b,B)}function J(se){return Ga(se,b)}function K(se){return T[se-1]}function Y(se){return M[se-1]}function oe(se){if(!se)return;const ge=Vp.createManyToManyPathMap();return se.forEach(([ae,Ce])=>ge.set(K(ae),Y(Ce))),ge}}function j1e(t,u,s){const d=cr(Ga(u,s.getCurrentDirectory())),f=T1(s.useCaseSensitiveFileNames()),p=new Map;let E=0;const v=[];return t.fileInfos.forEach((b,B)=>{const k=K0(t.fileNames[B],d,f),T=Wa(b)?b:b.version;if(p.set(k,T),Et().program,releaseProgram:()=>t().program=void 0,getCompilerOptions:()=>t().compilerOptions,getSourceFile:d=>s().getSourceFile(d),getSourceFiles:()=>s().getSourceFiles(),getOptionsDiagnostics:d=>s().getOptionsDiagnostics(d),getGlobalDiagnostics:d=>s().getGlobalDiagnostics(d),getConfigFileParsingDiagnostics:()=>u,getSyntacticDiagnostics:(d,f)=>s().getSyntacticDiagnostics(d,f),getDeclarationDiagnostics:(d,f)=>s().getDeclarationDiagnostics(d,f),getSemanticDiagnostics:(d,f)=>s().getSemanticDiagnostics(d,f),emit:(d,f,p,E,v)=>s().emit(d,f,p,E,v),emitBuildInfo:(d,f)=>s().emitBuildInfo(d,f),getAllDependencies:so,getCurrentDirectory:()=>s().getCurrentDirectory(),close:zs};function s(){return H.checkDefined(t().program)}}var H1e,K1e,Izt=o({"src/compiler/builder.ts"(){So(),H1e=(t=>(t[t.None=0]="None",t[t.Js=1]="Js",t[t.JsMap=2]="JsMap",t[t.JsInlineMap=4]="JsInlineMap",t[t.Dts=8]="Dts",t[t.DtsMap=16]="DtsMap",t[t.AllJs=7]="AllJs",t[t.AllDts=24]="AllDts",t[t.All=31]="All",t))(H1e||{}),K1e=(t=>(t[t.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",t[t.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",t))(K1e||{})}});function vtt(t,u,s,d,f,p){return O1e(0,TQ(t,u,s,d,f,p))}function W1e(t,u,s,d,f,p){return O1e(1,TQ(t,u,s,d,f,p))}function Ctt(t,u,s,d,f,p){const{newProgram:E,configFileParsingDiagnostics:v}=TQ(t,u,s,d,f,p);return V1e(()=>({program:E,compilerOptions:E.getCompilerOptions()}),v)}var Rzt=o({"src/compiler/builderPublic.ts"(){So()}});function LQ(t){return oc(t,"/node_modules/.staging")?E8(t,"/.staging"):Ge(bO,u=>t.includes(u))?void 0:t}function X7e(t,u){if(u<=1)return 1;let s=1,d=t[0].search(/[a-zA-Z]:/)===0;if(t[0]!==rl&&!d&&t[1].search(/[a-zA-Z]\$$/)===0){if(u===2)return 2;s=2,d=!0}return d&&!t[s].match(/^users$/i)?s:t[s].match(/^workspaces$/i)?s+1:s+2}function NQ(t,u){if(u===void 0&&(u=t.length),u<=2)return!1;const s=X7e(t,u);return u>s+1}function e9e(t){return ytt(cr(t))}function btt(t,u){if(u.lengthf.length+1?i9e(v,E,Math.max(f.length+1,b+1)):{dir:s,dirPath:d,nonRecursive:!0}:ktt(v,E,E.length-1,b,B,f)}function ktt(t,u,s,d,f,p){if(f!==-1)return i9e(t,u,f+1);let E=!0,v=s;for(let b=0;bOzt(d,f,p,t,s,u,E)}}function Ozt(t,u,s,d,f,p,E){const v=PQ(t),b=HB(s,d,f,v,u,p,E);if(!t.getGlobalCache)return b;const B=t.getGlobalCache();if(B!==void 0&&!Md(s)&&!(b.resolvedModule&&aZ(b.resolvedModule.extension))){const{resolvedModule:k,failedLookupLocations:T,affectingLocations:M,resolutionDiagnostics:z}=bAe(H.checkDefined(t.globalCacheResolutionModuleName)(s),t.projectName,f,v,B,u);if(k)return b.resolvedModule=k,b.failedLookupLocations=jB(b.failedLookupLocations,T),b.affectingLocations=jB(b.affectingLocations,M),b.resolutionDiagnostics=jB(b.resolutionDiagnostics,z),b}return b}function J1e(t,u,s){let d,f,p;const E=Bm(),v=new Set,b=new Set,B=new Map,k=new Map;let T=!1,M,z,j,J,K,Y=!1;const oe=Nh(()=>t.getCurrentDirectory()),se=t.getCachedDirectoryStructureHost(),ge=new Map,ae=VB(oe(),t.getCanonicalFileName,t.getCompilationSettings()),Ce=new Map,ne=RY(oe(),t.getCanonicalFileName,t.getCompilationSettings(),ae.getPackageJsonInfoCache(),ae.optionsToRedirectsKey),ve=new Map,Se=VB(oe(),t.getCanonicalFileName,Cde(t.getCompilationSettings()),ae.getPackageJsonInfoCache()),Ne=new Map,pe=new Map,fe=u9e(u,oe),xe=t.toPath(fe),Be=bd(xe),We=new Map;return{rootDirForResolution:u,resolvedModuleNames:ge,resolvedTypeReferenceDirectives:Ce,resolvedLibraries:ve,resolvedFileToResolution:B,resolutionsWithFailedLookups:v,resolutionsWithOnlyAffectingLocations:b,directoryWatchesOfFailedLookups:Ne,fileWatchesOfAffectingLocations:pe,watchFailedLookupLocationsOfExternalModuleResolutions:xn,getModuleResolutionCache:()=>ae,startRecordingFilesWithChangedResolutions:ft,finishRecordingFilesWithChangedResolutions:Ze,startCachingPerDirectoryResolution:Gt,finishCachingPerDirectoryResolution:Ie,resolveModuleNameLiterals:ht,resolveTypeReferenceDirectiveReferences:ti,resolveLibrary:Ut,resolveSingleModuleNameWithoutWatching:Ni,removeResolutionsFromProjectReferenceRedirects:Dn,removeResolutionsOfFile:Cn,hasChangedAutomaticTypeDirectiveNames:()=>T,invalidateResolutionOfFile:sa,invalidateResolutionsOfFailedLookupLocations:Yo,setFilesWithInvalidatedNonRelativeUnresolvedImports:Da,createHasInvalidatedResolutions:Ke,isFileWithInvalidatedNonRelativeUnresolvedImports:je,updateTypeRootsWatch:Xt,closeTypeRootsWatch:Mt,clear:He,onChangesAffectModuleResolution:Je};function Ae(et){return et.resolvedModule}function De(et){return et.resolvedTypeReferenceDirective}function He(){uf(Ne,Om),uf(pe,Om),E.clear(),Mt(),ge.clear(),Ce.clear(),B.clear(),v.clear(),b.clear(),j=void 0,J=void 0,K=void 0,z=void 0,M=void 0,Y=!1,ae.clear(),ne.clear(),ae.update(t.getCompilationSettings()),ne.update(t.getCompilationSettings()),Se.clear(),k.clear(),ve.clear(),T=!1}function Je(){Y=!0,ae.clearAllExceptPackageJsonInfoCache(),ne.clearAllExceptPackageJsonInfoCache(),ae.update(t.getCompilationSettings()),ne.update(t.getCompilationSettings())}function ft(){d=[]}function Ze(){const et=d;return d=void 0,et}function je(et){if(!p)return!1;const gt=p.get(et);return!!gt&&!!gt.length}function Ke(et,gt){Yo();const ii=f;return f=void 0,{hasInvalidatedResolutions:me=>et(me)||Y||!!(ii!=null&&ii.has(me))||je(me),hasInvalidatedLibResolutions:me=>{var ni;return gt(me)||!!((ni=ve==null?void 0:ve.get(me))!=null&&ni.isInvalidated)}}}function Gt(){ae.isReadonly=void 0,ne.isReadonly=void 0,Se.isReadonly=void 0,ae.getPackageJsonInfoCache().isReadonly=void 0,ae.clearAllExceptPackageJsonInfoCache(),ne.clearAllExceptPackageJsonInfoCache(),Se.clearAllExceptPackageJsonInfoCache(),E.forEach(oa),E.clear()}function Yt(et){ve.forEach((gt,ii)=>{var me;(me=et==null?void 0:et.resolvedLibReferences)!=null&&me.has(ii)||(bt(gt,t.toPath(bQ(t.getCompilationSettings(),oe(),ii)),Ae),ve.delete(ii))})}function Ie(et,gt){p=void 0,Y=!1,E.forEach(oa),E.clear(),et!==gt&&(Yt(et),et==null||et.getSourceFiles().forEach(ii=>{var me;const ni=lm(ii)?((me=ii.packageJsonLocations)==null?void 0:me.length)??0:0,_i=k.get(ii.path)??_t;for(let mt=_i.length;mtni)for(let mt=ni;mt<_i.length;mt++)pe.get(_i[mt]).files--;ni?k.set(ii.path,ii.packageJsonLocations):k.delete(ii.path)}),k.forEach((ii,me)=>{et!=null&&et.getSourceFileByPath(me)||(ii.forEach(ni=>pe.get(ni).files--),k.delete(me))})),Ne.forEach(lt),pe.forEach(St),T=!1,ae.isReadonly=!0,ne.isReadonly=!0,Se.isReadonly=!0,ae.getPackageJsonInfoCache().isReadonly=!0}function lt(et,gt){et.refCount===0&&(Ne.delete(gt),et.watcher.close())}function St(et,gt){var ii;et.files===0&&et.resolutions===0&&!((ii=et.symlinks)!=null&&ii.size)&&(pe.delete(gt),et.watcher.close())}function It({entries:et,containingFile:gt,containingSourceFile:ii,redirectedReference:me,options:ni,perFileCache:_i,reusedNames:mt,loader:jt,getResolutionWithResolvedFileName:pi,deferWatchingNonRelativeResolution:$i,shouldRetryResolution:Yi,logChanges:on}){const le=t.toPath(gt),te=_i.get(le)||_i.set(le,J7()).get(le),we=[],de=on&&je(le),Oe=t.getCurrentProgram(),X=Oe&&Oe.getResolvedProjectReferenceToRedirect(gt),it=X?!me||me.sourceFile.path!==X.sourceFile.path:!!me,Ct=J7();for(const Qt of et){const Ti=jt.nameAndMode.getName(Qt),Ui=jt.nameAndMode.getMode(Qt,ii);let Sn=te.get(Ti,Ui);if(!Ct.has(Ti,Ui)&&(Y||it||!Sn||Sn.isInvalidated||de&&!Md(Ti)&&Yi(Sn))){const du=Sn;Sn=jt.resolve(Ti,Ui),t.onDiscoveredSymlink&&jzt(Sn)&&t.onDiscoveredSymlink(),te.set(Ti,Ui,Sn),Sn!==du&&(xn(Ti,Sn,le,pi,$i),du&&bt(du,le,pi)),on&&d&&!ct(du,Sn)&&(d.push(le),on=!1)}else{const du=PQ(t);if(rD(ni,du)&&!Ct.has(Ti,Ui)){const Iu=pi(Sn);Aa(du,_i===ge?Iu!=null&&Iu.resolvedFileName?Iu.packageId?F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:Iu!=null&&Iu.resolvedFileName?Iu.packageId?F.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:F.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:F.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,Ti,gt,Iu==null?void 0:Iu.resolvedFileName,(Iu==null?void 0:Iu.packageId)&&Nx(Iu.packageId))}}H.assert(Sn!==void 0&&!Sn.isInvalidated),Ct.set(Ti,Ui,!0),we.push(Sn)}return mt==null||mt.forEach(Qt=>Ct.set(jt.nameAndMode.getName(Qt),jt.nameAndMode.getMode(Qt,ii),!0)),te.size()!==Ct.size()&&te.forEach((Qt,Ti,Ui)=>{Ct.has(Ti,Ui)||(bt(Qt,le,pi),te.delete(Ti,Ui))}),we;function ct(Qt,Ti){if(Qt===Ti)return!0;if(!Qt||!Ti)return!1;const Ui=pi(Qt),Sn=pi(Ti);return Ui===Sn?!0:!Ui||!Sn?!1:Ui.resolvedFileName===Sn.resolvedFileName}}function ti(et,gt,ii,me,ni,_i){return It({entries:et,containingFile:gt,containingSourceFile:ni,redirectedReference:ii,options:me,reusedNames:_i,perFileCache:Ce,loader:vQ(gt,ii,me,PQ(t),ne),getResolutionWithResolvedFileName:De,shouldRetryResolution:mt=>mt.resolvedTypeReferenceDirective===void 0,deferWatchingNonRelativeResolution:!1})}function ht(et,gt,ii,me,ni,_i){return It({entries:et,containingFile:gt,containingSourceFile:ni,redirectedReference:ii,options:me,reusedNames:_i,perFileCache:ge,loader:r9e(gt,ii,me,t,ae),getResolutionWithResolvedFileName:Ae,shouldRetryResolution:mt=>!mt.resolvedModule||!kP(mt.resolvedModule.extension),logChanges:s,deferWatchingNonRelativeResolution:!0})}function Ut(et,gt,ii,me){const ni=PQ(t);let _i=ve==null?void 0:ve.get(me);if(!_i||_i.isInvalidated){const mt=_i;_i=OY(et,gt,ii,ni,Se);const jt=t.toPath(gt);xn(et,_i,jt,Ae,!1),ve.set(me,_i),mt&&bt(mt,jt,Ae)}else if(rD(ii,ni)){const mt=Ae(_i);Aa(ni,mt!=null&&mt.resolvedFileName?mt.packageId?F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:F.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved,et,gt,mt==null?void 0:mt.resolvedFileName,(mt==null?void 0:mt.packageId)&&Nx(mt.packageId))}return _i}function Ni(et,gt){var ii,me;const ni=t.toPath(gt),_i=ge.get(ni),mt=_i==null?void 0:_i.get(et,void 0);if(mt&&!mt.isInvalidated)return mt;const jt=(ii=t.beforeResolveSingleModuleNameWithoutWatching)==null?void 0:ii.call(t,ae),pi=PQ(t),$i=HB(et,gt,t.getCompilationSettings(),pi,ae);return(me=t.afterResolveSingleModuleNameWithoutWatching)==null||me.call(t,ae,et,gt,$i,jt),$i}function Vi(et){return oc(et,"/node_modules/@types")}function xn(et,gt,ii,me,ni){var _i;if(gt.refCount)gt.refCount++,H.assertIsDefined(gt.files);else{gt.refCount=1,H.assert(!((_i=gt.files)!=null&&_i.size)),!ni||Md(et)?rn(gt):E.add(et,gt);const mt=me(gt);if(mt&&mt.resolvedFileName){const jt=t.toPath(mt.resolvedFileName);let pi=B.get(jt);pi||B.set(jt,pi=new Set),pi.add(gt)}}(gt.files??(gt.files=new Set)).add(ii)}function $n(et,gt){const ii=t.toPath(et),me=G1e(et,ii,fe,xe,Be,oe);if(me){const{dir:ni,dirPath:_i,nonRecursive:mt}=me;_i===xe?(H.assert(mt),gt=!0):Fr(ni,_i,mt)}return gt}function rn(et){H.assert(!!et.refCount);const{failedLookupLocations:gt,affectingLocations:ii,node10Result:me}=et;if(!(gt!=null&>.length)&&!(ii!=null&&ii.length)&&!me)return;(gt!=null&>.length||me)&&v.add(et);let ni=!1;if(gt)for(const _i of gt)ni=$n(_i,ni);me&&(ni=$n(me,ni)),ni&&Fr(fe,xe,!0),Pi(et,!(gt!=null&>.length)&&!me)}function Pi(et,gt){H.assert(!!et.refCount);const{affectingLocations:ii}=et;if(ii!=null&&ii.length){gt&&b.add(et);for(const me of ii)ki(me,!0)}}function ki(et,gt){const ii=pe.get(et);if(ii){gt?ii.resolutions++:ii.files++;return}let me=et,ni=!1,_i;t.realpath&&(me=t.realpath(et),et!==me&&(ni=!0,_i=pe.get(me)));const mt=gt?1:0,jt=gt?0:1;if(!ni||!_i){const pi={watcher:t9e(t.toPath(me))?t.watchAffectingFileLocation(me,($i,Yi)=>{se==null||se.addOrDeleteFile($i,t.toPath(me),Yi),Yu(me,ae.getPackageJsonInfoCache().getInternalMap()),t.scheduleInvalidateResolutionsOfFailedLookupLocations()}):XB,resolutions:ni?0:mt,files:ni?0:jt,symlinks:void 0};pe.set(me,pi),ni&&(_i=pi)}if(ni){H.assert(!!_i);const pi={watcher:{close:()=>{var $i;const Yi=pe.get(me);($i=Yi==null?void 0:Yi.symlinks)!=null&&$i.delete(et)&&!Yi.symlinks.size&&!Yi.resolutions&&!Yi.files&&(pe.delete(me),Yi.watcher.close())}},resolutions:mt,files:jt,symlinks:void 0};pe.set(et,pi),(_i.symlinks??(_i.symlinks=new Set)).add(et)}}function Yu(et,gt){var ii;const me=pe.get(et);me!=null&&me.resolutions&&(z??(z=new Set)).add(et),me!=null&&me.files&&(M??(M=new Set)).add(et),(ii=me==null?void 0:me.symlinks)==null||ii.forEach(ni=>Yu(ni,gt)),gt==null||gt.delete(t.toPath(et))}function oa(et,gt){const ii=t.getCurrentProgram();!ii||!ii.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(gt)?et.forEach(rn):et.forEach(me=>Pi(me,!0))}function Fr(et,gt,ii){const me=Ne.get(gt);me?(H.assert(!!ii==!!me.nonRecursive),me.refCount++):Ne.set(gt,{watcher:Ln(et,gt,ii),refCount:1,nonRecursive:ii})}function Sa(et,gt,ii){const me=t.toPath(et),ni=G1e(et,me,fe,xe,Be,oe);if(ni){const{dirPath:_i}=ni;_i===xe?gt=!0:On(_i,ii)}return gt}function bt(et,gt,ii,me){if(H.checkDefined(et.files).delete(gt),et.refCount--,et.refCount)return;const ni=ii(et);if(ni&&ni.resolvedFileName){const pi=t.toPath(ni.resolvedFileName),$i=B.get(pi);$i!=null&&$i.delete(et)&&!$i.size&&B.delete(pi)}const{failedLookupLocations:_i,affectingLocations:mt,node10Result:jt}=et;if(v.delete(et)){let pi=!1;if(_i)for(const $i of _i)pi=Sa($i,pi,me);jt&&(pi=Sa(jt,pi,me)),pi&&On(xe,me)}else mt!=null&&mt.length&&b.delete(et);if(mt)for(const pi of mt){const $i=pe.get(pi);$i.resolutions--,me&&St($i,pi)}}function On(et,gt){const ii=Ne.get(et);ii.refCount--,gt&<(ii,et)}function Ln(et,gt,ii){return t.watchDirectoryOfFailedLookupLocation(et,me=>{const ni=t.toPath(me);se&&se.addOrDeleteFileOrDirectory(me,ni),aa(ni,gt===ni)},ii?0:1)}function Fi(et,gt,ii,me){const ni=et.get(gt);ni&&(ni.forEach(_i=>bt(_i,gt,ii,me)),et.delete(gt))}function Dn(et){if(!Ml(et,".json"))return;const gt=t.getCurrentProgram();if(!gt)return;const ii=gt.getResolvedProjectReferenceByPath(et);ii&&ii.commandLine.fileNames.forEach(me=>Cn(t.toPath(me)))}function Cn(et,gt){Fi(ge,et,Ae,gt),Fi(Ce,et,De,gt)}function tu(et,gt){if(!et)return!1;let ii=!1;return et.forEach(me=>{if(!(me.isInvalidated||!gt(me))){me.isInvalidated=ii=!0;for(const ni of H.checkDefined(me.files))(f??(f=new Set)).add(ni),T=T||oc(ni,ZB)}}),ii}function sa(et){Cn(et);const gt=T;tu(B.get(et),G3)&&T&&!gt&&t.onChangedAutomaticTypeDirectiveNames()}function Da(et){H.assert(p===et||p===void 0),p=et}function aa(et,gt){if(gt)(K||(K=new Set)).add(et);else{const ii=LQ(et);if(!ii||(et=ii,t.fileIsOpen(et)))return!1;const me=cr(et);if(Vi(et)||DU(et)||Vi(me)||DU(me))(j||(j=new Set)).add(et),(J||(J=new Set)).add(et);else{if(w7e(t.getCurrentProgram(),et)||Ml(et,".map"))return!1;(j||(j=new Set)).add(et);const ni=iH(et,!0);ni&&(J||(J=new Set)).add(ni)}}t.scheduleInvalidateResolutionsOfFailedLookupLocations()}function Ba(){const et=ae.getPackageJsonInfoCache().getInternalMap();et&&(j||J||K)&&et.forEach((gt,ii)=>Qe(ii)?et.delete(ii):void 0)}function Yo(){var et;if(Y)return M=void 0,Ba(),(j||J||K||z)&&tu(ve,vo),j=void 0,J=void 0,K=void 0,z=void 0,!0;let gt=!1;return M&&((et=t.getCurrentProgram())==null||et.getSourceFiles().forEach(ii=>{Ge(ii.packageJsonLocations,me=>M.has(me))&&((f??(f=new Set)).add(ii.path),gt=!0)}),M=void 0),!j&&!J&&!K&&!z||(gt=tu(v,vo)||gt,Ba(),j=void 0,J=void 0,K=void 0,gt=tu(b,Et)||gt,z=void 0),gt}function vo(et){var gt;return Et(et)?!0:!j&&!J&&!K?!1:((gt=et.failedLookupLocations)==null?void 0:gt.some(ii=>Qe(t.toPath(ii))))||!!et.node10Result&&Qe(t.toPath(et.node10Result))}function Qe(et){return(j==null?void 0:j.has(et))||ie((J==null?void 0:J.keys())||[],gt=>La(et,gt)?!0:void 0)||ie((K==null?void 0:K.keys())||[],gt=>et.length>gt.length&&La(et,gt)&&(bse(gt)||et[gt.length]===rl)?!0:void 0)}function Et(et){var gt;return!!z&&((gt=et.affectingLocations)==null?void 0:gt.some(ii=>z.has(ii)))}function Mt(){uf(We,dg)}function qt(et,gt){return Pe(et)?t.watchTypeRootsDirectory(gt,ii=>{const me=t.toPath(ii);se&&se.addOrDeleteFileOrDirectory(ii,me),T=!0,t.onChangedAutomaticTypeDirectiveNames();const ni=n9e(gt,et,xe,Be,oe,_i=>Ne.has(_i));ni&&aa(me,ni===me)},1):XB}function Xt(){const et=t.getCompilationSettings();if(et.types){Mt();return}const gt=lM(et,{getCurrentDirectory:oe});gt?sB(We,og(gt,ii=>t.toPath(ii)),{createNewValue:qt,onDeleteValue:dg}):Mt()}function Pe(et){return t.getCompilationSettings().typeRoots?!0:e9e(t.toPath(et))}}function jzt(t){var u,s;return!!((u=t.resolvedModule)!=null&&u.originalPath||(s=t.resolvedTypeReferenceDirective)!=null&&s.originalPath)}var Vzt=o({"src/compiler/resolutionCache.ts"(){So()}});function bH(t,u){const s=t===l1&&h9e?h9e:{getCurrentDirectory:()=>t.getCurrentDirectory(),getNewLine:()=>t.newLine,getCanonicalFileName:T1(t.useCaseSensitiveFileNames)};if(!u)return f=>t.write(C1e(f,s));const d=new Array(1);return f=>{d[0]=f,t.write(P7e(d,s)+s.getNewLine()),d[0]=void 0}}function Att(t,u,s){return t.clearScreen&&!s.preserveWatchOutput&&!s.extendedDiagnostics&&!s.diagnostics&&Ft(jQ,u.code)?(t.clearScreen(),!0):!1}function Hzt(t,u){return Ft(jQ,t.code)?u+u:u}function yH(t){return t.now?t.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):new Date().toLocaleTimeString()}function a9e(t,u){return u?(s,d,f)=>{Att(t,s,f);let p=`[${Y2(yH(t),"\x1B[90m")}] `;p+=`${sE(s.messageText,t.newLine)}${d+d}`,t.write(p)}:(s,d,f)=>{let p="";Att(t,s,f)||(p+=d),p+=`${yH(t)} - `,p+=`${sE(s.messageText,t.newLine)}${Hzt(s,d)}`,t.write(p)}}function Stt(t,u,s,d,f,p){const E=f;E.onUnRecoverableConfigFileDiagnostic=b=>Ttt(f,p,b);const v=KV(t,u,E,s,d);return E.onUnRecoverableConfigFileDiagnostic=void 0,v}function MQ(t){return ui(t,u=>u.category===1)}function zQ(t){return ei(t,s=>s.category===1).map(s=>{if(s.file!==void 0)return`${s.file.fileName}`}).map(s=>{if(s===void 0)return;const d=Le(t,f=>f.file!==void 0&&f.file.fileName===s);if(d!==void 0){const{line:f}=o0(d.file,d.start);return{fileName:s,line:f+1}}})}function $1e(t){return t===1?F.Found_1_error_Watching_for_file_changes:F.Found_0_errors_Watching_for_file_changes}function Btt(t,u){const s=Y2(":"+t.line,"\x1B[90m");return AN(t.fileName)&&AN(u)?GE(u,t.fileName,!1)+s:t.fileName+s}function o9e(t,u,s,d){if(t===0)return"";const f=u.filter(k=>k!==void 0),p=f.map(k=>`${k.fileName}:${k.line}`).filter((k,T,M)=>M.indexOf(k)===T),E=f[0]&&Btt(f[0],d.getCurrentDirectory());let v;t===1?v=u[0]!==void 0?[F.Found_1_error_in_0,E]:[F.Found_1_error]:v=p.length===0?[F.Found_0_errors,t]:p.length===1?[F.Found_0_errors_in_the_same_file_starting_at_Colon_1,t,E]:[F.Found_0_errors_in_1_files,t,p.length];const b=lc(...v),B=p.length>1?Kzt(f,d):"";return`${s}${sE(b.messageText,s)}${s}${s}${B}`}function Kzt(t,u){const s=t.filter((T,M,z)=>M===z.findIndex(j=>(j==null?void 0:j.fileName)===(T==null?void 0:T.fileName)));if(s.length===0)return"";const d=T=>Math.log(T)*Math.LOG10E+1,f=s.map(T=>[T,ui(t,M=>M.fileName===T.fileName)]),p=f.reduce((T,M)=>Math.max(T,M[1]||0),0),E=F.Errors_Files.message,v=E.split(" ")[0].length,b=Math.max(v,d(p)),B=Math.max(d(p)-v,0);let k="";return k+=" ".repeat(B)+E+` +`,f.forEach(T=>{const[M,z]=T,j=Math.log(z)*Math.LOG10E+1|0,J=j{u(d.fileName)})}function q1e(t,u){var s,d;const f=t.getFileIncludeReasons(),p=E=>BN(E,t.getCurrentDirectory(),t.getCanonicalFileName);for(const E of t.getSourceFiles())u(`${QB(E,p)}`),(s=f.get(E.path))==null||s.forEach(v=>u(` ${X1e(t,v,p).messageText}`)),(d=Z1e(E,p))==null||d.forEach(v=>u(` ${v.messageText}`))}function Z1e(t,u){var s;let d;if(t.path!==t.resolvedPath&&(d??(d=[])).push(no(void 0,F.File_is_output_of_project_reference_source_0,QB(t.originalFileName,u))),t.redirectInfo&&(d??(d=[])).push(no(void 0,F.File_redirects_to_file_0,QB(t.redirectInfo.redirectTarget,u))),lm(t))switch(t.impliedNodeFormat){case 99:t.packageJsonScope&&(d??(d=[])).push(no(void 0,F.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,QB(Cr(t.packageJsonLocations),u)));break;case 1:t.packageJsonScope?(d??(d=[])).push(no(void 0,t.packageJsonScope.contents.packageJsonContent.type?F.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:F.File_is_CommonJS_module_because_0_does_not_have_field_type,QB(Cr(t.packageJsonLocations),u))):(s=t.packageJsonLocations)!=null&&s.length&&(d??(d=[])).push(no(void 0,F.File_is_CommonJS_module_because_package_json_was_not_found));break}return d}function Y1e(t,u){var s;const d=t.getCompilerOptions().configFile;if(!((s=d==null?void 0:d.configFileSpecs)!=null&&s.validatedFilesSpec))return;const f=t.getCanonicalFileName(u),p=cr(Ga(d.fileName,t.getCurrentDirectory()));return Le(d.configFileSpecs.validatedFilesSpec,E=>t.getCanonicalFileName(Ga(E,p))===f)}function Q1e(t,u){var s,d;const f=t.getCompilerOptions().configFile;if(!((s=f==null?void 0:f.configFileSpecs)!=null&&s.validatedIncludeSpecs))return;if(f.configFileSpecs.isDefaultIncludeSpec)return!0;const p=Ml(u,".json"),E=cr(Ga(f.fileName,t.getCurrentDirectory())),v=t.useCaseSensitiveFileNames();return Le((d=f==null?void 0:f.configFileSpecs)==null?void 0:d.validatedIncludeSpecs,b=>{if(p&&!oc(b,".json"))return!1;const B=kle(b,E,"files");return!!B&&Ox(`(${B})$`,v).test(u)})}function X1e(t,u,s){var d,f;const p=t.getCompilerOptions();if(Wv(u)){const E=kM(t,u),v=UB(E)?E.file.text.substring(E.pos,E.end):`"${E.text}"`;let b;switch(H.assert(UB(E)||u.kind===3,"Only synthetic references are imports"),u.kind){case 3:UB(E)?b=E.packageId?F.Imported_via_0_from_file_1_with_packageId_2:F.Imported_via_0_from_file_1:E.text===Vx?b=E.packageId?F.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:F.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:b=E.packageId?F.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:F.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:H.assert(!E.packageId),b=F.Referenced_via_0_from_file_1;break;case 5:b=E.packageId?F.Type_library_referenced_via_0_from_file_1_with_packageId_2:F.Type_library_referenced_via_0_from_file_1;break;case 7:H.assert(!E.packageId),b=F.Library_referenced_via_0_from_file_1;break;default:H.assertNever(u)}return no(void 0,b,v,QB(E.file,s),E.packageId&&Nx(E.packageId))}switch(u.kind){case 0:if(!((d=p.configFile)!=null&&d.configFileSpecs))return no(void 0,F.Root_file_specified_for_compilation);const E=Ga(t.getRootFileNames()[u.index],t.getCurrentDirectory());if(Y1e(t,E))return no(void 0,F.Part_of_files_list_in_tsconfig_json);const b=Q1e(t,E);return Wa(b)?no(void 0,F.Matched_by_include_pattern_0_in_1,b,QB(p.configFile,s)):no(void 0,b?F.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:F.Root_file_specified_for_compilation);case 1:case 2:const B=u.kind===2,k=H.checkDefined((f=t.getResolvedProjectReferences())==null?void 0:f[u.index]);return no(void 0,b0(p)?B?F.Output_from_referenced_project_0_included_because_1_specified:F.Source_from_referenced_project_0_included_because_1_specified:B?F.Output_from_referenced_project_0_included_because_module_is_specified_as_none:F.Source_from_referenced_project_0_included_because_module_is_specified_as_none,QB(k.sourceFile.fileName,s),p.outFile?"--outFile":"--out");case 8:{const T=p.types?u.packageId?[F.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1,u.typeReference,Nx(u.packageId)]:[F.Entry_point_of_type_library_0_specified_in_compilerOptions,u.typeReference]:u.packageId?[F.Entry_point_for_implicit_type_library_0_with_packageId_1,u.typeReference,Nx(u.packageId)]:[F.Entry_point_for_implicit_type_library_0,u.typeReference];return no(void 0,...T)}case 6:{if(u.index!==void 0)return no(void 0,F.Library_0_specified_in_compilerOptions,p.lib[u.index]);const T=d1(YV.type,(z,j)=>z===Rs(p)?j:void 0),M=T?[F.Default_library_for_target_0,T]:[F.Default_library];return no(void 0,...M)}default:H.assertNever(u)}}function QB(t,u){const s=Wa(t)?t:t.fileName;return u?u(s):s}function IQ(t,u,s,d,f,p,E,v){const b=!!t.getCompilerOptions().listFilesOnly,B=t.getConfigFileParsingDiagnostics().slice(),k=B.length;yn(B,t.getSyntacticDiagnostics(void 0,p)),B.length===k&&(yn(B,t.getOptionsDiagnostics(p)),b||(yn(B,t.getGlobalDiagnostics(p)),B.length===k&&yn(B,t.getSemanticDiagnostics(void 0,p))));const T=b?{emitSkipped:!0,diagnostics:_t}:t.emit(void 0,f,p,E,v),{emittedFiles:M,diagnostics:z}=T;yn(B,z);const j=k8(B);if(j.forEach(u),s){const J=t.getCurrentDirectory();L(M,K=>{const Y=Ga(K,J);s(`TSFILE: ${Y}`)}),U1e(t,s)}return d&&d(MQ(j),zQ(j)),{emitResult:T,diagnostics:j}}function l9e(t,u,s,d,f,p,E,v){const{emitResult:b,diagnostics:B}=IQ(t,u,s,d,f,p,E,v);return b.emitSkipped&&B.length>0?1:B.length>0?2:0}function ehe(t=l1,u){return{onWatchStatusChange:u||a9e(t),watchFile:To(t,t.watchFile)||ew,watchDirectory:To(t,t.watchDirectory)||ew,setTimeout:To(t,t.setTimeout)||zs,clearTimeout:To(t,t.clearTimeout)||zs}}function the(t,u){const s=t.trace?u.extendedDiagnostics?2:u.diagnostics?1:0:0,d=s!==0?p=>t.trace(p):zs,f=g1e(t,s,d);return f.writeLog=d,f}function ihe(t,u,s=t){const d=t.useCaseSensitiveFileNames(),f={getSourceFile:D1e((p,E)=>E?t.readFile(p,E):f.readFile(p),u,void 0),getDefaultLibLocation:To(t,t.getDefaultLibLocation),getDefaultLibFileName:p=>t.getDefaultLibFileName(p),writeFile:x1e((p,E,v)=>t.writeFile(p,E,v),p=>t.createDirectory(p),p=>t.directoryExists(p)),getCurrentDirectory:Nh(()=>t.getCurrentDirectory()),useCaseSensitiveFileNames:()=>d,getCanonicalFileName:T1(d),getNewLine:()=>r5(u()),fileExists:p=>t.fileExists(p),readFile:p=>t.readFile(p),trace:To(t,t.trace),directoryExists:To(s,s.directoryExists),getDirectories:To(s,s.getDirectories),realpath:To(t,t.realpath),getEnvironmentVariable:To(t,t.getEnvironmentVariable)||(()=>""),createHash:To(t,t.createHash),readDirectory:To(t,t.readDirectory),storeFilesChangingSignatureDuringEmit:t.storeFilesChangingSignatureDuringEmit,jsDocParsingMode:t.jsDocParsingMode};return f}function RQ(t,u){if(u.match(Gde)){let s=u.length,d=s;for(let f=s-1;f>=0;f--){const p=u.charCodeAt(f);switch(p){case 10:f&&u.charCodeAt(f-1)===13&&f--;case 13:break;default:if(p<127||!q1(p)){d=f;continue}break}const E=u.substring(d,s);if(E.match(XY)){u=u.substring(0,d);break}else if(!E.match(eQ))break;s=d}}return(t.createHash||FN)(u)}function OQ(t){const u=t.getSourceFile;t.getSourceFile=(...s)=>{const d=u.call(t,...s);return d&&(d.version=RQ(t,d.text)),d}}function nhe(t,u){const s=Nh(()=>cr(Jo(t.getExecutingFilePath())));return{useCaseSensitiveFileNames:()=>t.useCaseSensitiveFileNames,getNewLine:()=>t.newLine,getCurrentDirectory:Nh(()=>t.getCurrentDirectory()),getDefaultLibLocation:s,getDefaultLibFileName:d=>dr(s(),PO(d)),fileExists:d=>t.fileExists(d),readFile:(d,f)=>t.readFile(d,f),directoryExists:d=>t.directoryExists(d),getDirectories:d=>t.getDirectories(d),readDirectory:(d,f,p,E,v)=>t.readDirectory(d,f,p,E,v),realpath:To(t,t.realpath),getEnvironmentVariable:To(t,t.getEnvironmentVariable),trace:d=>t.write(d+t.newLine),createDirectory:d=>t.createDirectory(d),writeFile:(d,f,p)=>t.writeFile(d,f,p),createHash:To(t,t.createHash),createProgram:u||W1e,storeFilesChangingSignatureDuringEmit:t.storeFilesChangingSignatureDuringEmit,now:To(t,t.now)}}function wtt(t=l1,u,s,d){const f=E=>t.write(E+t.newLine),p=nhe(t,u);return uoe(p,ehe(t,d)),p.afterProgramCreate=E=>{const v=E.getCompilerOptions(),b=r5(v);IQ(E,s,f,B=>p.onWatchStatusChange(lc($1e(B),B),b,v,B))},p}function Ttt(t,u,s){u(s),t.exit(1)}function c9e({configFileName:t,optionsToExtend:u,watchOptionsToExtend:s,extraFileExtensions:d,system:f,createProgram:p,reportDiagnostic:E,reportWatchStatus:v}){const b=E||bH(f),B=wtt(f,p,b,v);return B.onUnRecoverableConfigFileDiagnostic=k=>Ttt(f,b,k),B.configFileName=t,B.optionsToExtend=u,B.watchOptionsToExtend=s,B.extraFileExtensions=d,B}function d9e({rootFiles:t,options:u,watchOptions:s,projectReferences:d,system:f,createProgram:p,reportDiagnostic:E,reportWatchStatus:v}){const b=wtt(f,p,E||bH(f),v);return b.rootFiles=t,b.options=u,b.watchOptions=s,b.projectReferences=d,b}function Ltt(t){const u=t.system||l1,s=t.host||(t.host=uhe(t.options,u)),d=f9e(t),f=l9e(d,t.reportDiagnostic||bH(u),p=>s.trace&&s.trace(p),t.reportErrorSummary||t.options.pretty?(p,E)=>u.write(o9e(p,E,u.newLine,s)):void 0);return t.afterProgramEmitAndDiagnostics&&t.afterProgramEmitAndDiagnostics(d),f}var h9e,jQ,XB,ew,sd,Wzt=o({"src/compiler/watch.ts"(){So(),h9e=l1?{getCurrentDirectory:()=>l1.getCurrentDirectory(),getNewLine:()=>l1.newLine,getCanonicalFileName:T1(l1.useCaseSensitiveFileNames)}:void 0,jQ=[F.Starting_compilation_in_watch_mode.code,F.File_change_detected_Starting_incremental_compilation.code],XB={close:zs},ew=()=>XB,sd={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",AffectingFileLocation:"File location affecting resolution",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file",ClosedScriptInfo:"Closed Script info",ConfigFileForInferredRoot:"Config file for the inferred project root",NodeModules:"node_modules for closed script infos and package.jsons affecting module specifier cache",MissingSourceMapFile:"Missing source map file",NoopConfigFileForInferredRoot:"Noop Config file for the inferred project root",MissingGeneratedFile:"Missing generated file",NodeModulesForModuleSpecifierCache:"node_modules for module specifier cache invalidation",TypingInstallerLocationFile:"File location for typing installer",TypingInstallerLocationDirectory:"Directory location for typing installer"}}});function VQ(t,u){const s=h5(t);if(!s)return;let d;if(u.getBuildInfo)d=u.getBuildInfo(s,t.configFilePath);else{const f=u.readFile(s);if(!f)return;d=mQ(s,f)}if(!(!d||d.version!==_||!d.program))return Q7e(d,s,u)}function uhe(t,u=l1){const s=v1e(t,void 0,u);return s.createHash=To(u,u.createHash),s.storeFilesChangingSignatureDuringEmit=u.storeFilesChangingSignatureDuringEmit,OQ(s),DH(s,d=>K0(d,s.getCurrentDirectory(),s.getCanonicalFileName)),s}function f9e({rootNames:t,options:u,configFileParsingDiagnostics:s,projectReferences:d,host:f,createProgram:p}){f=f||uhe(u),p=p||W1e;const E=VQ(u,f);return p(t,u,f,E,s,d)}function Ntt(t,u,s,d,f,p,E,v){return ja(t)?d9e({rootFiles:t,options:u,watchOptions:v,projectReferences:E,system:s,createProgram:d,reportDiagnostic:f,reportWatchStatus:p}):c9e({configFileName:t,optionsToExtend:u,watchOptionsToExtend:E,extraFileExtensions:v,system:s,createProgram:d,reportDiagnostic:f,reportWatchStatus:p})}function Ptt(t){let u,s,d,f,p,E,v,b,B=t.extendedConfigCache,k=!1;const T=new Map;let M,z=!1;const j=t.useCaseSensitiveFileNames(),J=t.getCurrentDirectory(),{configFileName:K,optionsToExtend:Y={},watchOptionsToExtend:oe,extraFileExtensions:se,createProgram:ge}=t;let{rootFiles:ae,options:Ce,watchOptions:ne,projectReferences:ve}=t,Se,Ne,pe=!1,fe=!1;const xe=K===void 0?void 0:gQ(t,J,j),Be=xe||t,We=FQ(t,Be);let Ae=xn();K&&t.configFileParsingResult&&(vo(t.configFileParsingResult),Ae=xn()),bt(F.Starting_compilation_in_watch_mode),K&&!t.configFileParsingResult&&(Ae=r5(Y),H.assert(!ae),Yo(),Ae=xn()),H.assert(Ce),H.assert(ae);const{watchFile:De,watchDirectory:He,writeLog:Je}=the(t,Ce),ft=T1(j);Je(`Current directory: ${J} CaseSensitiveFileNames: ${j}`);let Ze;K&&(Ze=De(K,tu,2e3,ne,sd.ConfigFile));const je=ihe(t,()=>Ce,Be);OQ(je);const Ke=je.getSourceFile;je.getSourceFile=(mt,...jt)=>Yu(mt,$n(mt),...jt),je.getSourceFileByPath=Yu,je.getNewLine=()=>Ae,je.fileExists=ki,je.onReleaseOldSourceFile=Sa,je.onReleaseParsedCommandLine=Mt,je.toPath=$n,je.getCompilationSettings=()=>Ce,je.useSourceOfProjectReferenceRedirect=To(t,t.useSourceOfProjectReferenceRedirect),je.watchDirectoryOfFailedLookupLocation=(mt,jt,pi)=>He(mt,jt,pi,ne,sd.FailedLookupLocations),je.watchAffectingFileLocation=(mt,jt)=>De(mt,jt,2e3,ne,sd.AffectingFileLocation),je.watchTypeRootsDirectory=(mt,jt,pi)=>He(mt,jt,pi,ne,sd.TypeRoots),je.getCachedDirectoryStructureHost=()=>xe,je.scheduleInvalidateResolutionsOfFailedLookupLocations=Fi,je.onInvalidatedResolution=Cn,je.onChangedAutomaticTypeDirectiveNames=Cn,je.fileIsOpen=sg,je.getCurrentProgram=ht,je.writeLog=Je,je.getParsedCommandLine=Qe;const Gt=J1e(je,K?cr(Ga(K,J)):J,!1);je.resolveModuleNameLiterals=To(t,t.resolveModuleNameLiterals),je.resolveModuleNames=To(t,t.resolveModuleNames),!je.resolveModuleNameLiterals&&!je.resolveModuleNames&&(je.resolveModuleNameLiterals=Gt.resolveModuleNameLiterals.bind(Gt)),je.resolveTypeReferenceDirectiveReferences=To(t,t.resolveTypeReferenceDirectiveReferences),je.resolveTypeReferenceDirectives=To(t,t.resolveTypeReferenceDirectives),!je.resolveTypeReferenceDirectiveReferences&&!je.resolveTypeReferenceDirectives&&(je.resolveTypeReferenceDirectiveReferences=Gt.resolveTypeReferenceDirectiveReferences.bind(Gt)),je.resolveLibrary=t.resolveLibrary?t.resolveLibrary.bind(t):Gt.resolveLibrary.bind(Gt),je.getModuleResolutionCache=t.resolveModuleNameLiterals||t.resolveModuleNames?To(t,t.getModuleResolutionCache):()=>Gt.getModuleResolutionCache();const Ie=!!t.resolveModuleNameLiterals||!!t.resolveTypeReferenceDirectiveReferences||!!t.resolveModuleNames||!!t.resolveTypeReferenceDirectives?To(t,t.hasInvalidatedResolutions)||G3:sg,lt=t.resolveLibrary?To(t,t.hasInvalidatedLibResolutions)||G3:sg;return u=VQ(Ce,je),Ut(),ii(),K&&ni($n(K),Ce,ne,sd.ExtendedConfigFile),K?{getCurrentProgram:ti,getProgram:Da,close:St,getResolutionCache:It}:{getCurrentProgram:ti,getProgram:Da,updateRootFileNames:Vi,close:St,getResolutionCache:It};function St(){Ln(),Gt.clear(),uf(T,mt=>{mt&&mt.fileWatcher&&(mt.fileWatcher.close(),mt.fileWatcher=void 0)}),Ze&&(Ze.close(),Ze=void 0),B==null||B.clear(),B=void 0,b&&(uf(b,Om),b=void 0),f&&(uf(f,Om),f=void 0),d&&(uf(d,dg),d=void 0),v&&(uf(v,mt=>{var jt;(jt=mt.watcher)==null||jt.close(),mt.watcher=void 0,mt.watchedDirectories&&uf(mt.watchedDirectories,Om),mt.watchedDirectories=void 0}),v=void 0)}function It(){return Gt}function ti(){return u}function ht(){return u&&u.getProgramOrUndefined()}function Ut(){Je("Synchronizing program"),H.assert(Ce),H.assert(ae),Ln();const mt=ti();z&&(Ae=xn(),mt&&WU(mt.getCompilerOptions(),Ce)&&Gt.onChangesAffectModuleResolution());const{hasInvalidatedResolutions:jt,hasInvalidatedLibResolutions:pi}=Gt.createHasInvalidatedResolutions(Ie,lt),{originalReadFile:$i,originalFileExists:Yi,originalDirectoryExists:on,originalCreateDirectory:le,originalWriteFile:te,readFileWithCache:we}=DH(je,$n);return B1e(ht(),ae,Ce,de=>Fr(de,we),de=>je.fileExists(de),jt,pi,On,Qe,ve)?fe&&(k&&bt(F.File_change_detected_Starting_incremental_compilation),u=ge(void 0,void 0,je,u,Ne,ve),fe=!1):(k&&bt(F.File_change_detected_Starting_incremental_compilation),Ni(jt,pi)),k=!1,t.afterProgramCreate&&mt!==u&&t.afterProgramCreate(u),je.readFile=$i,je.fileExists=Yi,je.directoryExists=on,je.createDirectory=le,je.writeFile=te,u}function Ni(mt,jt){Je("CreatingProgramWith::"),Je(` roots: ${JSON.stringify(ae)}`),Je(` options: ${JSON.stringify(Ce)}`),ve&&Je(` projectReferences: ${JSON.stringify(ve)}`);const pi=z||!ht();z=!1,fe=!1,Gt.startCachingPerDirectoryResolution(),je.hasInvalidatedResolutions=mt,je.hasInvalidatedLibResolutions=jt,je.hasChangedAutomaticTypeDirectiveNames=On;const $i=ht();if(u=ge(ae,Ce,je,u,Ne,ve),Gt.finishCachingPerDirectoryResolution(u.getProgram(),$i),p1e(u.getProgram(),d||(d=new Map),et),pi&&Gt.updateTypeRootsWatch(),M){for(const Yi of M)d.has(Yi)||T.delete(Yi);M=void 0}}function Vi(mt){H.assert(!K,"Cannot update root file names with config file watch mode"),ae=mt,Cn()}function xn(){return r5(Ce||Y)}function $n(mt){return K0(mt,J,ft)}function rn(mt){return typeof mt=="boolean"}function Pi(mt){return typeof mt.version=="boolean"}function ki(mt){const jt=$n(mt);return rn(T.get(jt))?!1:Be.fileExists(mt)}function Yu(mt,jt,pi,$i,Yi){const on=T.get(jt);if(rn(on))return;const le=typeof pi=="object"?pi.impliedNodeFormat:void 0;if(on===void 0||Yi||Pi(on)||on.sourceFile.impliedNodeFormat!==le){const te=Ke(mt,pi,$i);if(on)te?(on.sourceFile=te,on.version=te.version,on.fileWatcher||(on.fileWatcher=qt(jt,mt,Xt,250,ne,sd.SourceFile))):(on.fileWatcher&&on.fileWatcher.close(),T.set(jt,!1));else if(te){const we=qt(jt,mt,Xt,250,ne,sd.SourceFile);T.set(jt,{sourceFile:te,version:te.version,fileWatcher:we})}else T.set(jt,!1);return te}return on.sourceFile}function oa(mt){const jt=T.get(mt);jt!==void 0&&(rn(jt)?T.set(mt,{version:!1}):jt.version=!1)}function Fr(mt,jt){const pi=T.get(mt);if(!pi)return;if(pi.version)return pi.version;const $i=jt(mt);return $i!==void 0?RQ(je,$i):void 0}function Sa(mt,jt,pi){const $i=T.get(mt.resolvedPath);$i!==void 0&&(rn($i)?(M||(M=[])).push(mt.path):$i.sourceFile===mt&&($i.fileWatcher&&$i.fileWatcher.close(),T.delete(mt.resolvedPath),pi||Gt.removeResolutionsOfFile(mt.path)))}function bt(mt){t.onWatchStatusChange&&t.onWatchStatusChange(lc(mt),Ae,Ce||Y)}function On(){return Gt.hasChangedAutomaticTypeDirectiveNames()}function Ln(){return E?(t.clearTimeout(E),E=void 0,!0):!1}function Fi(){if(!t.setTimeout||!t.clearTimeout)return Gt.invalidateResolutionsOfFailedLookupLocations();const mt=Ln();Je(`Scheduling invalidateFailedLookup${mt?", Cancelled earlier one":""}`),E=t.setTimeout(Dn,250,"timerToInvalidateFailedLookupResolutions")}function Dn(){E=void 0,Gt.invalidateResolutionsOfFailedLookupLocations()&&Cn()}function Cn(){!t.setTimeout||!t.clearTimeout||(p&&t.clearTimeout(p),Je("Scheduling update"),p=t.setTimeout(sa,250,"timerToUpdateProgram"))}function tu(){H.assert(!!K),s=2,Cn()}function sa(){p=void 0,k=!0,Da()}function Da(){var mt,jt,pi,$i;switch(s){case 1:(mt=dh)==null||mt.logStartUpdateProgram("PartialConfigReload"),aa();break;case 2:(jt=dh)==null||jt.logStartUpdateProgram("FullConfigReload"),Ba();break;default:(pi=dh)==null||pi.logStartUpdateProgram("SynchronizeProgram"),Ut();break}return($i=dh)==null||$i.logStopUpdateProgram("Done"),ti()}function aa(){Je("Reloading new file names and options"),H.assert(Ce),H.assert(K),s=0,ae=aM(Ce.configFile.configFileSpecs,Ga(cr(K),J),Ce,We,se),FY(ae,Ga(K,J),Ce.configFile.configFileSpecs,Ne,pe)&&(fe=!0),Ut()}function Ba(){H.assert(K),Je(`Reloading config file: ${K}`),s=0,xe&&xe.clearCache(),Yo(),z=!0,Ut(),ii(),ni($n(K),Ce,ne,sd.ExtendedConfigFile)}function Yo(){H.assert(K),vo(KV(K,Y,We,B||(B=new Map),oe,se))}function vo(mt){ae=mt.fileNames,Ce=mt.options,ne=mt.watchOptions,ve=mt.projectReferences,Se=mt.wildcardDirectories,Ne=wk(mt).slice(),pe=rM(mt.raw),fe=!0}function Qe(mt){const jt=$n(mt);let pi=v==null?void 0:v.get(jt);if(pi){if(!pi.updateLevel)return pi.parsedCommandLine;if(pi.parsedCommandLine&&pi.updateLevel===1&&!t.getParsedCommandLine){Je("Reloading new file names and options"),H.assert(Ce);const Yi=aM(pi.parsedCommandLine.options.configFile.configFileSpecs,Ga(cr(mt),J),Ce,We);return pi.parsedCommandLine={...pi.parsedCommandLine,fileNames:Yi},pi.updateLevel=void 0,pi.parsedCommandLine}}Je(`Loading config file: ${mt}`);const $i=t.getParsedCommandLine?t.getParsedCommandLine(mt):Et(mt);return pi?(pi.parsedCommandLine=$i,pi.updateLevel=void 0):(v||(v=new Map)).set(jt,pi={parsedCommandLine:$i}),_i(mt,jt,pi),$i}function Et(mt){const jt=We.onUnRecoverableConfigFileDiagnostic;We.onUnRecoverableConfigFileDiagnostic=zs;const pi=KV(mt,void 0,We,B||(B=new Map),oe);return We.onUnRecoverableConfigFileDiagnostic=jt,pi}function Mt(mt){var jt;const pi=$n(mt),$i=v==null?void 0:v.get(pi);$i&&(v.delete(pi),$i.watchedDirectories&&uf($i.watchedDirectories,Om),(jt=$i.watcher)==null||jt.close(),m1e(pi,b))}function qt(mt,jt,pi,$i,Yi,on){return De(jt,(le,te)=>pi(le,te,mt),$i,Yi,on)}function Xt(mt,jt,pi){Pe(mt,pi,jt),jt===2&&T.has(pi)&&Gt.invalidateResolutionOfFile(pi),oa(pi),Cn()}function Pe(mt,jt,pi){xe&&xe.addOrDeleteFile(mt,jt,pi)}function et(mt){return v!=null&&v.has(mt)?XB:qt(mt,mt,gt,500,ne,sd.MissingFile)}function gt(mt,jt,pi){Pe(mt,pi,jt),jt===0&&d.has(pi)&&(d.get(pi).close(),d.delete(pi),oa(pi),Cn())}function ii(){Se?gH(f||(f=new Map),new Map(Object.entries(Se)),me):f&&uf(f,Om)}function me(mt,jt){return He(mt,pi=>{H.assert(K),H.assert(Ce);const $i=$n(pi);xe&&xe.addOrDeleteFileOrDirectory(pi,$i),oa($i),!EH({watchedDirPath:$n(mt),fileOrDirectory:pi,fileOrDirectoryPath:$i,configFileName:K,extraFileExtensions:se,options:Ce,program:ti()||ae,currentDirectory:J,useCaseSensitiveFileNames:j,writeLog:Je,toPath:$n})&&s!==2&&(s=1,Cn())},jt,ne,sd.WildcardDirectory)}function ni(mt,jt,pi,$i){EQ(mt,jt,b||(b=new Map),(Yi,on)=>De(Yi,(le,te)=>{var we;Pe(Yi,on,te),B&&_Q(B,on,$n);const de=(we=b.get(on))==null?void 0:we.projects;de!=null&&de.size&&de.forEach(Oe=>{if(K&&$n(K)===Oe)s=2;else{const X=v==null?void 0:v.get(Oe);X&&(X.updateLevel=2),Gt.removeResolutionsFromProjectReferenceRedirects(Oe)}Cn()})},2e3,pi,$i),$n)}function _i(mt,jt,pi){var $i,Yi,on,le,te;pi.watcher||(pi.watcher=De(mt,(we,de)=>{Pe(mt,jt,de);const Oe=v==null?void 0:v.get(jt);Oe&&(Oe.updateLevel=2),Gt.removeResolutionsFromProjectReferenceRedirects(jt),Cn()},2e3,(($i=pi.parsedCommandLine)==null?void 0:$i.watchOptions)||ne,sd.ConfigFileOfReferencedProject)),(Yi=pi.parsedCommandLine)!=null&&Yi.wildcardDirectories?gH(pi.watchedDirectories||(pi.watchedDirectories=new Map),new Map(Object.entries((on=pi.parsedCommandLine)==null?void 0:on.wildcardDirectories)),(we,de)=>{var Oe;return He(we,X=>{const it=$n(X);xe&&xe.addOrDeleteFileOrDirectory(X,it),oa(it);const Ct=v==null?void 0:v.get(jt);Ct!=null&&Ct.parsedCommandLine&&(EH({watchedDirPath:$n(we),fileOrDirectory:X,fileOrDirectoryPath:it,configFileName:mt,options:Ct.parsedCommandLine.options,program:Ct.parsedCommandLine.fileNames,currentDirectory:J,useCaseSensitiveFileNames:j,writeLog:Je,toPath:$n})||Ct.updateLevel!==2&&(Ct.updateLevel=1,Cn()))},de,((Oe=pi.parsedCommandLine)==null?void 0:Oe.watchOptions)||ne,sd.WildcardDirectoryOfReferencedProject)}):pi.watchedDirectories&&(uf(pi.watchedDirectories,Om),pi.watchedDirectories=void 0),ni(jt,(le=pi.parsedCommandLine)==null?void 0:le.options,((te=pi.parsedCommandLine)==null?void 0:te.watchOptions)||ne,sd.ExtendedConfigOfReferencedProject)}}var Gzt=o({"src/compiler/watchPublic.ts"(){So()}});function rhe(t){return Ml(t,".json")?t:dr(t,"tsconfig.json")}var ahe,Jzt=o({"src/compiler/tsbuild.ts"(){So(),ahe=(t=>(t[t.Unbuildable=0]="Unbuildable",t[t.UpToDate=1]="UpToDate",t[t.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",t[t.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",t[t.OutputMissing=4]="OutputMissing",t[t.ErrorReadingFile=5]="ErrorReadingFile",t[t.OutOfDateWithSelf=6]="OutOfDateWithSelf",t[t.OutOfDateWithUpstream=7]="OutOfDateWithUpstream",t[t.OutOfDateBuildInfo=8]="OutOfDateBuildInfo",t[t.OutOfDateOptions=9]="OutOfDateOptions",t[t.OutOfDateRoots=10]="OutOfDateRoots",t[t.UpstreamOutOfDate=11]="UpstreamOutOfDate",t[t.UpstreamBlocked=12]="UpstreamBlocked",t[t.ComputingUpstream=13]="ComputingUpstream",t[t.TsVersionOutputOfDate=14]="TsVersionOutputOfDate",t[t.UpToDateWithInputFileText=15]="UpToDateWithInputFileText",t[t.ContainerOnly=16]="ContainerOnly",t[t.ForceBuild=17]="ForceBuild",t))(ahe||{})}});function $zt(t,u,s){const d=t.get(u);let f;return d||(f=s(),t.set(u,f)),d||f}function m9e(t,u){return $zt(t,u,()=>new Map)}function kH(t){return t.now?t.now():new Date}function Q7(t){return!!t&&!!t.buildOrder}function HQ(t){return Q7(t)?t.buildOrder:t}function p9e(t,u){return s=>{let d=u?`[${Y2(yH(t),"\x1B[90m")}] `:`${yH(t)} - `;d+=`${sE(s.messageText,t.newLine)}${t.newLine+t.newLine}`,t.write(d)}}function Mtt(t,u,s,d){const f=nhe(t,u);return f.getModifiedTime=t.getModifiedTime?p=>t.getModifiedTime(p):cv,f.setModifiedTime=t.setModifiedTime?(p,E)=>t.setModifiedTime(p,E):zs,f.deleteFile=t.deleteFile?p=>t.deleteFile(p):zs,f.reportDiagnostic=s||bH(t),f.reportSolutionBuilderStatus=d||p9e(t),f.now=To(t,t.now),f}function ztt(t=l1,u,s,d,f){const p=Mtt(t,u,s,d);return p.reportErrorSummary=f,p}function Itt(t=l1,u,s,d,f){const p=Mtt(t,u,s,d),E=ehe(t,f);return uoe(p,E),p}function Uzt(t){const u={};return ZV.forEach(s=>{gu(t,s.name)&&(u[s.name]=t[s.name])}),u}function Rtt(t,u,s){return sit(!1,t,u,s)}function Ott(t,u,s,d){return sit(!0,t,u,s,d)}function qzt(t,u,s,d,f){const p=u,E=u,v=Uzt(d),b=ihe(p,()=>J.projectCompilerOptions);OQ(b),b.getParsedCommandLine=K=>X7(J,K,lE(J,K)),b.resolveModuleNameLiterals=To(p,p.resolveModuleNameLiterals),b.resolveTypeReferenceDirectiveReferences=To(p,p.resolveTypeReferenceDirectiveReferences),b.resolveLibrary=To(p,p.resolveLibrary),b.resolveModuleNames=To(p,p.resolveModuleNames),b.resolveTypeReferenceDirectives=To(p,p.resolveTypeReferenceDirectives),b.getModuleResolutionCache=To(p,p.getModuleResolutionCache);let B,k;!b.resolveModuleNameLiterals&&!b.resolveModuleNames&&(B=VB(b.getCurrentDirectory(),b.getCanonicalFileName),b.resolveModuleNameLiterals=(K,Y,oe,se,ge)=>xH(K,Y,oe,se,ge,p,B,F1e),b.getModuleResolutionCache=()=>B),!b.resolveTypeReferenceDirectiveReferences&&!b.resolveTypeReferenceDirectives&&(k=RY(b.getCurrentDirectory(),b.getCanonicalFileName,void 0,B==null?void 0:B.getPackageJsonInfoCache(),B==null?void 0:B.optionsToRedirectsKey),b.resolveTypeReferenceDirectiveReferences=(K,Y,oe,se,ge)=>xH(K,Y,oe,se,ge,p,k,vQ));let T;b.resolveLibrary||(T=VB(b.getCurrentDirectory(),b.getCanonicalFileName,void 0,B==null?void 0:B.getPackageJsonInfoCache()),b.resolveLibrary=(K,Y,oe)=>OY(K,Y,oe,p,T)),b.getBuildInfo=(K,Y)=>Xtt(J,K,lE(J,Y),void 0);const{watchFile:M,watchDirectory:z,writeLog:j}=the(E,d),J={host:p,hostWithWatch:E,parseConfigFileHost:FQ(p),write:To(p,p.trace),options:d,baseCompilerOptions:v,rootNames:s,baseWatchOptions:f,resolvedConfigFilePaths:new Map,configFileCache:new Map,projectStatus:new Map,extendedConfigCache:new Map,buildInfoCache:new Map,outputTimeStamps:new Map,builderPrograms:new Map,diagnostics:new Map,projectPendingBuild:new Map,projectErrorsReported:new Map,compilerHost:b,moduleResolutionCache:B,typeReferenceDirectiveResolutionCache:k,libraryResolutionCache:T,buildOrder:void 0,readFileWithCache:K=>p.readFile(K),projectCompilerOptions:v,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:t,watch:t,allWatchedWildcardDirectories:new Map,allWatchedInputFiles:new Map,allWatchedConfigFiles:new Map,allWatchedExtendedConfigFiles:new Map,allWatchedPackageJsonFiles:new Map,filesWatched:new Map,lastCachedPackageJsonLookups:new Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:M,watchDirectory:z,writeLog:j};return J}function pm(t,u){return K0(u,t.compilerHost.getCurrentDirectory(),t.compilerHost.getCanonicalFileName)}function lE(t,u){const{resolvedConfigFilePaths:s}=t,d=s.get(u);if(d!==void 0)return d;const f=pm(t,u);return s.set(u,f),f}function jtt(t){return!!t.options}function Zzt(t,u){const s=t.configFileCache.get(u);return s&&jtt(s)?s:void 0}function X7(t,u,s){const{configFileCache:d}=t,f=d.get(s);if(f)return jtt(f)?f:void 0;ul("SolutionBuilder::beforeConfigFileParsing");let p;const{parseConfigFileHost:E,baseCompilerOptions:v,baseWatchOptions:b,extendedConfigCache:B,host:k}=t;let T;return k.getParsedCommandLine?(T=k.getParsedCommandLine(u),T||(p=lc(F.File_0_not_found,u))):(E.onUnRecoverableConfigFileDiagnostic=M=>p=M,T=KV(u,v,E,B,b),E.onUnRecoverableConfigFileDiagnostic=zs),d.set(s,T||p),ul("SolutionBuilder::afterConfigFileParsing"),wm("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),T}function FM(t,u){return rhe(yx(t.compilerHost.getCurrentDirectory(),u))}function Vtt(t,u){const s=new Map,d=new Map,f=[];let p,E;for(const b of u)v(b);return E?{buildOrder:p||_t,circularDiagnostics:E}:p||_t;function v(b,B){const k=lE(t,b);if(d.has(k))return;if(s.has(k)){B||(E||(E=[])).push(lc(F.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,f.join(`\r +`)));return}s.set(k,!0),f.push(b);const T=X7(t,b,k);if(T&&T.projectReferences)for(const M of T.projectReferences){const z=FM(t,M.path);v(z,B||M.circular)}f.pop(),d.set(k,!0),(p||(p=[])).push(b)}}function KQ(t){return t.buildOrder||Yzt(t)}function Yzt(t){const u=Vtt(t,t.rootNames.map(f=>FM(t,f)));t.resolvedConfigFilePaths.clear();const s=new Map(HQ(u).map(f=>[lE(t,f),!0])),d={onDeleteValue:zs};return X3(t.configFileCache,s,d),X3(t.projectStatus,s,d),X3(t.builderPrograms,s,d),X3(t.diagnostics,s,d),X3(t.projectPendingBuild,s,d),X3(t.projectErrorsReported,s,d),X3(t.buildInfoCache,s,d),X3(t.outputTimeStamps,s,d),t.watch&&(X3(t.allWatchedConfigFiles,s,{onDeleteValue:dg}),t.allWatchedExtendedConfigFiles.forEach(f=>{f.projects.forEach(p=>{s.has(p)||f.projects.delete(p)}),f.close()}),X3(t.allWatchedWildcardDirectories,s,{onDeleteValue:f=>f.forEach(Om)}),X3(t.allWatchedInputFiles,s,{onDeleteValue:f=>f.forEach(dg)}),X3(t.allWatchedPackageJsonFiles,s,{onDeleteValue:f=>f.forEach(dg)})),t.buildOrder=u}function Htt(t,u,s){const d=u&&FM(t,u),f=KQ(t);if(Q7(f))return f;if(d){const E=lE(t,d);if(Ue(f,b=>lE(t,b)===E)===-1)return}const p=d?Vtt(t,[d]):f;return H.assert(!Q7(p)),H.assert(!s||d!==void 0),H.assert(!s||p[p.length-1]===d),s?p.slice(0,p.length-1):p}function Ktt(t){t.cache&&g9e(t);const{compilerHost:u,host:s}=t,d=t.readFileWithCache,f=u.getSourceFile,{originalReadFile:p,originalFileExists:E,originalDirectoryExists:v,originalCreateDirectory:b,originalWriteFile:B,getSourceFileWithCache:k,readFileWithCache:T}=DH(s,M=>pm(t,M),(...M)=>f.call(u,...M));t.readFileWithCache=T,u.getSourceFile=k,t.cache={originalReadFile:p,originalFileExists:E,originalDirectoryExists:v,originalCreateDirectory:b,originalWriteFile:B,originalReadFileWithCache:d,originalGetSourceFile:f}}function g9e(t){if(!t.cache)return;const{cache:u,host:s,compilerHost:d,extendedConfigCache:f,moduleResolutionCache:p,typeReferenceDirectiveResolutionCache:E,libraryResolutionCache:v}=t;s.readFile=u.originalReadFile,s.fileExists=u.originalFileExists,s.directoryExists=u.originalDirectoryExists,s.createDirectory=u.originalCreateDirectory,s.writeFile=u.originalWriteFile,d.getSourceFile=u.originalGetSourceFile,t.readFileWithCache=u.originalReadFileWithCache,f.clear(),p==null||p.clear(),E==null||E.clear(),v==null||v.clear(),t.cache=void 0}function Wtt(t,u){t.projectStatus.delete(u),t.diagnostics.delete(u)}function Gtt({projectPendingBuild:t},u,s){const d=t.get(u);(d===void 0||dt.projectPendingBuild.set(lE(t,d),0)),u&&u.throwIfCancellationRequested()}function $tt(t,u){return t.projectPendingBuild.delete(u),t.diagnostics.has(u)?1:0}function Qzt(t,u,s,d,f){let p=!0;return{kind:2,project:u,projectPath:s,buildOrder:f,getCompilerOptions:()=>d.options,getCurrentDirectory:()=>t.compilerHost.getCurrentDirectory(),updateOutputFileStatmps:()=>{tit(t,d,s),p=!1},done:()=>(p&&tit(t,d,s),ul("SolutionBuilder::Timestamps only updates"),$tt(t,s))}}function Utt(t,u,s,d,f,p,E){let v=t===0?0:4,b,B,k;return t===0?{kind:t,project:s,projectPath:d,buildOrder:E,getCompilerOptions:()=>p.options,getCurrentDirectory:()=>u.compilerHost.getCurrentDirectory(),getBuilderProgram:()=>M(il),getProgram:()=>M(ne=>ne.getProgramOrUndefined()),getSourceFile:ne=>M(ve=>ve.getSourceFile(ne)),getSourceFiles:()=>z(ne=>ne.getSourceFiles()),getOptionsDiagnostics:ne=>z(ve=>ve.getOptionsDiagnostics(ne)),getGlobalDiagnostics:ne=>z(ve=>ve.getGlobalDiagnostics(ne)),getConfigFileParsingDiagnostics:()=>z(ne=>ne.getConfigFileParsingDiagnostics()),getSyntacticDiagnostics:(ne,ve)=>z(Se=>Se.getSyntacticDiagnostics(ne,ve)),getAllDependencies:ne=>z(ve=>ve.getAllDependencies(ne)),getSemanticDiagnostics:(ne,ve)=>z(Se=>Se.getSemanticDiagnostics(ne,ve)),getSemanticDiagnosticsOfNextAffectedFile:(ne,ve)=>M(Se=>Se.getSemanticDiagnosticsOfNextAffectedFile&&Se.getSemanticDiagnosticsOfNextAffectedFile(ne,ve)),emit:(ne,ve,Se,Ne,pe)=>{if(ne||Ne)return M(fe=>{var xe,Be;return fe.emit(ne,ve,Se,Ne,pe||((Be=(xe=u.host).getCustomTransformers)==null?void 0:Be.call(xe,s)))});if(Ce(2,Se),v===5)return se(ve,Se);if(v===3)return oe(ve,Se,pe)},done:T}:{kind:t,project:s,projectPath:d,buildOrder:E,getCompilerOptions:()=>p.options,getCurrentDirectory:()=>u.compilerHost.getCurrentDirectory(),emit:(ne,ve)=>v!==4?k:ae(ne,ve),done:T};function T(ne,ve,Se){return Ce(8,ne,ve,Se),ul(t===0?"SolutionBuilder::Projects built":"SolutionBuilder::Bundles updated"),$tt(u,d)}function M(ne){return Ce(0),b&&ne(b)}function z(ne){return M(ne)||_t}function j(){var ne,ve;if(H.assert(b===void 0),u.options.dry){zh(u,F.A_non_dry_build_would_build_project_0,s),B=1,v=7;return}if(u.options.verbose&&zh(u,F.Building_project_0,s),p.fileNames.length===0){AM(u,d,wk(p)),B=0,v=7;return}const{host:Se,compilerHost:Ne}=u;u.projectCompilerOptions=p.options,(ne=u.moduleResolutionCache)==null||ne.update(p.options),(ve=u.typeReferenceDirectiveResolutionCache)==null||ve.update(p.options),b=Se.createProgram(p.fileNames,p.options,Ne,eIt(u,d,p),wk(p),p.projectReferences),u.watch&&(u.lastCachedPackageJsonLookups.set(d,u.moduleResolutionCache&&Kt(u.moduleResolutionCache.getPackageJsonInfoCache().entries(),([pe,fe])=>[u.host.realpath&&fe?pm(u,u.host.realpath(pe)):pe,fe])),u.builderPrograms.set(d,b)),v++}function J(ne,ve,Se){ne.length?{buildResult:B,step:v}=D9e(u,d,b,p,ne,ve,Se):v++}function K(ne){H.assertIsDefined(b),J([...b.getConfigFileParsingDiagnostics(),...b.getOptionsDiagnostics(ne),...b.getGlobalDiagnostics(ne),...b.getSyntacticDiagnostics(void 0,ne)],8,"Syntactic")}function Y(ne){J(H.checkDefined(b).getSemanticDiagnostics(void 0,ne),16,"Semantic")}function oe(ne,ve,Se){var Ne,pe,fe;H.assertIsDefined(b),H.assert(v===3);const xe=b.saveEmitState();let Be;const We=lt=>(Be||(Be=[])).push(lt),Ae=[],{emitResult:De}=IQ(b,We,void 0,void 0,(lt,St,It,ti,ht,Ut)=>Ae.push({name:lt,text:St,writeByteOrderMark:It,data:Ut}),ve,!1,Se||((pe=(Ne=u.host).getCustomTransformers)==null?void 0:pe.call(Ne,s)));if(Be)return b.restoreEmitState(xe),{buildResult:B,step:v}=D9e(u,d,b,p,Be,32,"Declaration file"),{emitSkipped:!0,diagnostics:De.diagnostics};const{host:He,compilerHost:Je}=u,ft=(fe=b.hasChangedEmitSignature)!=null&&fe.call(b)?0:2,Ze=nB(),je=new Map,Ke=b.getCompilerOptions(),Gt=Yj(Ke);let Yt,Ie;return Ae.forEach(({name:lt,text:St,writeByteOrderMark:It,data:ti})=>{const ht=pm(u,lt);je.set(pm(u,lt),lt),ti!=null&&ti.buildInfo&&v9e(u,ti.buildInfo,d,Ke,ft);const Ut=ti!=null&&ti.differsOnlyInMap?QA(u.host,lt):void 0;lP(ne?{writeFile:ne}:Je,Ze,lt,St,It),ti!=null&&ti.differsOnlyInMap?u.host.setModifiedTime(lt,Ut):!Gt&&u.watch&&(Yt||(Yt=x9e(u,d))).set(ht,Ie||(Ie=kH(u.host)))}),ge(Ze,je,Ae.length?Ae[0].name:d1e(p,!He.useCaseSensitiveFileNames()),ft),De}function se(ne,ve){H.assertIsDefined(b),H.assert(v===5);const Se=b.emitBuildInfo((Ne,pe,fe,xe,Be,We)=>{We!=null&&We.buildInfo&&v9e(u,We.buildInfo,d,b.getCompilerOptions(),2),ne?ne(Ne,pe,fe,xe,Be,We):u.compilerHost.writeFile(Ne,pe,fe,xe,Be,We)},ve);return Se.diagnostics.length&&(GQ(u,Se.diagnostics),u.diagnostics.set(d,[...u.diagnostics.get(d),...Se.diagnostics]),B=64&B),Se.emittedFiles&&u.write&&Se.emittedFiles.forEach(Ne=>Ytt(u,p,Ne)),_9e(u,b,p),v=7,Se}function ge(ne,ve,Se,Ne){const pe=ne.getDiagnostics();return pe.length?({buildResult:B,step:v}=D9e(u,d,b,p,pe,64,"Emit"),pe):(u.write&&ve.forEach(fe=>Ytt(u,p,fe)),eit(u,p,d,F.Updating_unchanged_output_timestamps_of_project_0,ve),u.diagnostics.delete(d),u.projectStatus.set(d,{type:1,oldestOutputFileName:Se}),_9e(u,b,p),v=7,B=Ne,pe)}function ae(ne,ve){var Se,Ne,pe,fe;if(H.assert(t===1),u.options.dry){zh(u,F.A_non_dry_build_would_update_output_of_project_0,s),B=1,v=7;return}u.options.verbose&&zh(u,F.Updating_output_of_project_0,s);const{compilerHost:xe}=u;u.projectCompilerOptions=p.options,(Ne=(Se=u.host).beforeEmitBundle)==null||Ne.call(Se,p);const Be=S7e(p,xe,ft=>{const Ze=FM(u,ft.path);return X7(u,Ze,lE(u,Ze))},ve||((fe=(pe=u.host).getCustomTransformers)==null?void 0:fe.call(pe,s)));if(Wa(Be))return zh(u,F.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,s,e1(u,Be)),v=6,k=Utt(0,u,s,d,f,p,E);H.assert(!!Be.length);const We=nB(),Ae=new Map;let De=2;const He=u.buildInfoCache.get(d).buildInfo||void 0;return Be.forEach(({name:ft,text:Ze,writeByteOrderMark:je,data:Ke})=>{var Gt,Yt;Ae.set(pm(u,ft),ft),Ke!=null&&Ke.buildInfo&&(((Gt=Ke.buildInfo.program)==null?void 0:Gt.outSignature)!==((Yt=He==null?void 0:He.program)==null?void 0:Yt.outSignature)&&(De&=-3),v9e(u,Ke.buildInfo,d,p.options,De)),lP(ne?{writeFile:ne}:xe,We,ft,Ze,je)}),{emitSkipped:!1,diagnostics:ge(We,Ae,Be[0].name,De)}}function Ce(ne,ve,Se,Ne){for(;v<=ne&&v<8;){const pe=v;switch(v){case 0:j();break;case 1:K(ve);break;case 2:Y(ve);break;case 3:oe(Se,ve,Ne);break;case 5:se(Se,ve);break;case 4:ae(Se,Ne);break;case 6:H.checkDefined(k).done(ve,Se,Ne),v=8;break;case 7:uIt(u,s,d,f,p,E,H.checkDefined(B)),v++;break}H.assert(v>pe)}}}function Xzt({options:t},u,s){return u.type!==3||t.force?!0:s.fileNames.length===0||!!wk(s).length||!Yj(s.options)}function qtt(t,u,s){if(!t.projectPendingBuild.size||Q7(u))return;const{options:d,projectPendingBuild:f}=t;for(let p=0;p{const z=H.checkDefined(t.filesWatched.get(v));H.assert(ohe(z)),z.modifiedTime=M,z.callbacks.forEach(j=>j(k,T,M))},d,f,p,E);t.filesWatched.set(v,{callbacks:[s],watcher:B,modifiedTime:b})}return{close:()=>{const B=H.checkDefined(t.filesWatched.get(v));H.assert(ohe(B)),B.callbacks.length===1?(t.filesWatched.delete(v),Om(B)):Oy(B.callbacks,s)}}}function x9e(t,u){if(!t.watch)return;let s=t.outputTimeStamps.get(u);return s||t.outputTimeStamps.set(u,s=new Map),s}function v9e(t,u,s,d,f){const p=h5(d),E=C9e(t,p,s),v=kH(t.host);E?(E.buildInfo=u,E.modifiedTime=v,f&2||(E.latestChangedDtsTime=v)):t.buildInfoCache.set(s,{path:pm(t,p),buildInfo:u,modifiedTime:v,latestChangedDtsTime:f&2?void 0:v})}function C9e(t,u,s){const d=pm(t,u),f=t.buildInfoCache.get(s);return(f==null?void 0:f.path)===d?f:void 0}function Xtt(t,u,s,d){const f=pm(t,u),p=t.buildInfoCache.get(s);if(p!==void 0&&p.path===f)return p.buildInfo||void 0;const E=t.readFileWithCache(u),v=E?mQ(u,E):void 0;return t.buildInfoCache.set(s,{path:f,buildInfo:v||!1,modifiedTime:d||H_}),v}function b9e(t,u,s,d){const f=Qtt(t,u);if(sJ&&(j=Se,J=Ne),M&&Y.add(pm(t,Se))}if(M){z||(z=j1e(M,b,v));for(const Se of z.roots)if(!Y.has(Se))return{type:10,buildInfoFile:b,inputFile:Se}}if(!b){const Se=hQ(u,!v.useCaseSensitiveFileNames()),Ne=x9e(t,s);for(const pe of Se){const fe=pm(t,pe);let xe=Ne==null?void 0:Ne.get(fe);if(xe||(xe=QA(t.host,pe),Ne==null||Ne.set(fe,xe)),xe===H_)return{type:4,missingOutputFileName:pe};if(xeb9e(t,Se,k,B));if(ne)return ne;const ve=L(t.lastCachedPackageJsonLookups.get(s)||_t,([Se])=>b9e(t,Se,k,B));return ve||(ge&&se?{type:3,outOfDateOutputFileName:B,newerProjectName:ae}:{type:se?2:K?15:1,newestInputFileTime:J,newestInputFileName:j,oldestOutputFileName:B})}function iIt(t,u,s){return t.buildInfoCache.get(s).path===u.path}function y9e(t,u,s){if(u===void 0)return{type:0,reason:"File deleted mid-build"};const d=t.projectStatus.get(s);if(d!==void 0)return d;ul("SolutionBuilder::beforeUpToDateCheck");const f=tIt(t,u,s);return ul("SolutionBuilder::afterUpToDateCheck"),wm("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),t.projectStatus.set(s,f),f}function eit(t,u,s,d,f){if(u.options.noEmit)return;let p;const E=h5(u.options);if(E){f!=null&&f.has(pm(t,E))||(t.options.verbose&&zh(t,d,u.options.configFilePath),t.host.setModifiedTime(E,p=kH(t.host)),C9e(t,E,s).modifiedTime=p),t.outputTimeStamps.delete(s);return}const{host:v}=t,b=hQ(u,!v.useCaseSensitiveFileNames()),B=x9e(t,s),k=B?new Set:void 0;if(!f||b.length!==f.size){let T=!!t.options.verbose;for(const M of b){const z=pm(t,M);f!=null&&f.has(z)||(T&&(T=!1,zh(t,d,u.options.configFilePath)),v.setModifiedTime(M,p||(p=kH(t.host))),B&&(B.set(z,p),k.add(z)))}}B==null||B.forEach((T,M)=>{!(f!=null&&f.has(M))&&!k.has(M)&&B.delete(M)})}function nIt(t,u,s){if(!u.composite)return;const d=H.checkDefined(t.buildInfoCache.get(s));if(d.latestChangedDtsTime!==void 0)return d.latestChangedDtsTime||void 0;const f=d.buildInfo&&d.buildInfo.program&&d.buildInfo.program.latestChangedDtsFile?t.host.getModifiedTime(Ga(d.buildInfo.program.latestChangedDtsFile,cr(d.path))):void 0;return d.latestChangedDtsTime=f||!1,f}function tit(t,u,s){if(t.options.dry)return zh(t,F.A_non_dry_build_would_update_timestamps_for_output_of_project_0,u.options.configFilePath);eit(t,u,s,F.Updating_output_timestamps_of_project_0),t.projectStatus.set(s,{type:1,oldestOutputFileName:d1e(u,!t.host.useCaseSensitiveFileNames())})}function uIt(t,u,s,d,f,p,E){if(!(E&124)&&f.options.composite)for(let v=d+1;vt.diagnostics.has(lE(t,B)))?b?2:1:0}function nit(t,u,s){ul("SolutionBuilder::beforeClean");const d=aIt(t,u,s);return ul("SolutionBuilder::afterClean"),wm("SolutionBuilder::Clean","SolutionBuilder::beforeClean","SolutionBuilder::afterClean"),d}function aIt(t,u,s){const d=Htt(t,u,s);if(!d)return 3;if(Q7(d))return GQ(t,d.circularDiagnostics),4;const{options:f,host:p}=t,E=f.dry?[]:void 0;for(const v of d){const b=lE(t,v),B=X7(t,v,b);if(B===void 0){lit(t,b);continue}const k=hQ(B,!p.useCaseSensitiveFileNames());if(!k.length)continue;const T=new Set(B.fileNames.map(M=>pm(t,M)));for(const M of k)T.has(pm(t,M))||p.fileExists(M)&&(E?E.push(M):(p.deleteFile(M),k9e(t,b,0)))}return E&&zh(t,F.A_non_dry_build_would_delete_the_following_files_Colon_0,E.map(v=>`\r + * ${v}`).join("")),0}function k9e(t,u,s){t.host.getParsedCommandLine&&s===1&&(s=2),s===2&&(t.configFileCache.delete(u),t.buildOrder=void 0),t.needsSummary=!0,Wtt(t,u),Gtt(t,u,s),Ktt(t)}function WQ(t,u,s){t.reportFileChangeDetected=!0,k9e(t,u,s),uit(t,250,!0)}function uit(t,u,s){const{hostWithWatch:d}=t;!d.setTimeout||!d.clearTimeout||(t.timerToBuildInvalidatedProject&&d.clearTimeout(t.timerToBuildInvalidatedProject),t.timerToBuildInvalidatedProject=d.setTimeout(oIt,u,"timerToBuildInvalidatedProject",t,s))}function oIt(t,u,s){ul("SolutionBuilder::beforeBuild");const d=sIt(u,s);ul("SolutionBuilder::afterBuild"),wm("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),d&&cit(u,d)}function sIt(t,u){t.timerToBuildInvalidatedProject=void 0,t.reportFileChangeDetected&&(t.reportFileChangeDetected=!1,t.projectErrorsReported.clear(),S9e(t,F.File_change_detected_Starting_incremental_compilation));let s=0;const d=KQ(t),f=E9e(t,d,!1);if(f)for(f.done(),s++;t.projectPendingBuild.size;){if(t.timerToBuildInvalidatedProject)return;const p=qtt(t,d,!1);if(!p)break;if(p.kind!==2&&(u||s===5)){uit(t,100,!1);return}Ztt(t,p,d).done(),p.kind!==2&&s++}return g9e(t),d}function rit(t,u,s,d){!t.watch||t.allWatchedConfigFiles.has(s)||t.allWatchedConfigFiles.set(s,she(t,u,()=>WQ(t,s,2),2e3,d==null?void 0:d.watchOptions,sd.ConfigFile,u))}function ait(t,u,s){EQ(u,s==null?void 0:s.options,t.allWatchedExtendedConfigFiles,(d,f)=>she(t,d,()=>{var p;return(p=t.allWatchedExtendedConfigFiles.get(f))==null?void 0:p.projects.forEach(E=>WQ(t,E,2))},2e3,s==null?void 0:s.watchOptions,sd.ExtendedConfigFile),d=>pm(t,d))}function oit(t,u,s,d){t.watch&&gH(m9e(t.allWatchedWildcardDirectories,s),new Map(Object.entries(d.wildcardDirectories)),(f,p)=>t.watchDirectory(f,E=>{var v;EH({watchedDirPath:pm(t,f),fileOrDirectory:E,fileOrDirectoryPath:pm(t,E),configFileName:u,currentDirectory:t.compilerHost.getCurrentDirectory(),options:d.options,program:t.builderPrograms.get(s)||((v=Zzt(t,s))==null?void 0:v.fileNames),useCaseSensitiveFileNames:t.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:b=>t.writeLog(b),toPath:b=>pm(t,b)})||WQ(t,s,1)},p,d==null?void 0:d.watchOptions,sd.WildcardDirectory,u))}function F9e(t,u,s,d){t.watch&&sB(m9e(t.allWatchedInputFiles,s),og(d.fileNames,f=>pm(t,f)),{createNewValue:(f,p)=>she(t,p,()=>WQ(t,s,0),250,d==null?void 0:d.watchOptions,sd.SourceFile,u),onDeleteValue:dg})}function A9e(t,u,s,d){!t.watch||!t.lastCachedPackageJsonLookups||sB(m9e(t.allWatchedPackageJsonFiles,s),new Map(t.lastCachedPackageJsonLookups.get(s)),{createNewValue:(f,p)=>she(t,f,()=>WQ(t,s,0),2e3,d==null?void 0:d.watchOptions,sd.PackageJson,u),onDeleteValue:dg})}function lIt(t,u){if(t.watchAllProjectsPending){ul("SolutionBuilder::beforeWatcherCreation"),t.watchAllProjectsPending=!1;for(const s of HQ(u)){const d=lE(t,s),f=X7(t,s,d);rit(t,s,d,f),ait(t,d,f),f&&(oit(t,s,d,f),F9e(t,s,d,f),A9e(t,s,d,f))}ul("SolutionBuilder::afterWatcherCreation"),wm("SolutionBuilder::Watcher creation","SolutionBuilder::beforeWatcherCreation","SolutionBuilder::afterWatcherCreation")}}function cIt(t){uf(t.allWatchedConfigFiles,dg),uf(t.allWatchedExtendedConfigFiles,Om),uf(t.allWatchedWildcardDirectories,u=>uf(u,Om)),uf(t.allWatchedInputFiles,u=>uf(u,dg)),uf(t.allWatchedPackageJsonFiles,u=>uf(u,dg))}function sit(t,u,s,d,f){const p=qzt(t,u,s,d,f);return{build:(E,v,b,B)=>iit(p,E,v,b,B),clean:E=>nit(p,E),buildReferences:(E,v,b,B)=>iit(p,E,v,b,B,!0),cleanReferences:E=>nit(p,E,!0),getNextInvalidatedProject:E=>(Jtt(p,E),E9e(p,KQ(p),!1)),getBuildOrder:()=>KQ(p),getUpToDateStatusOfProject:E=>{const v=FM(p,E),b=lE(p,v);return y9e(p,X7(p,v,b),b)},invalidateProject:(E,v)=>k9e(p,E,v||0),close:()=>cIt(p)}}function e1(t,u){return BN(u,t.compilerHost.getCurrentDirectory(),t.compilerHost.getCanonicalFileName)}function zh(t,u,...s){t.host.reportSolutionBuilderStatus(lc(u,...s))}function S9e(t,u,...s){var d,f;(f=(d=t.hostWithWatch).onWatchStatusChange)==null||f.call(d,lc(u,...s),t.host.getNewLine(),t.baseCompilerOptions)}function GQ({host:t},u){u.forEach(s=>t.reportDiagnostic(s))}function AM(t,u,s){GQ(t,s),t.projectErrorsReported.set(u,!0),s.length&&t.diagnostics.set(u,s)}function lit(t,u){AM(t,u,[t.configFileCache.get(u)])}function cit(t,u){if(!t.needsSummary)return;t.needsSummary=!1;const s=t.watch||!!t.host.reportErrorSummary,{diagnostics:d}=t;let f=0,p=[];Q7(u)?(dit(t,u.buildOrder),GQ(t,u.circularDiagnostics),s&&(f+=MQ(u.circularDiagnostics)),s&&(p=[...p,...zQ(u.circularDiagnostics)])):(u.forEach(E=>{const v=lE(t,E);t.projectErrorsReported.has(v)||GQ(t,d.get(v)||_t)}),s&&d.forEach(E=>f+=MQ(E)),s&&d.forEach(E=>[...p,...zQ(E)])),t.watch?S9e(t,$1e(f),f):t.host.reportErrorSummary&&t.host.reportErrorSummary(f,p)}function dit(t,u){t.options.verbose&&zh(t,F.Projects_in_this_build_Colon_0,u.map(s=>`\r + * `+e1(t,s)).join(""))}function dIt(t,u,s){switch(s.type){case 6:return zh(t,F.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,e1(t,u),e1(t,s.outOfDateOutputFileName),e1(t,s.newerInputFileName));case 7:return zh(t,F.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,e1(t,u),e1(t,s.outOfDateOutputFileName),e1(t,s.newerProjectName));case 4:return zh(t,F.Project_0_is_out_of_date_because_output_file_1_does_not_exist,e1(t,u),e1(t,s.missingOutputFileName));case 5:return zh(t,F.Project_0_is_out_of_date_because_there_was_error_reading_file_1,e1(t,u),e1(t,s.fileName));case 8:return zh(t,F.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,e1(t,u),e1(t,s.buildInfoFile));case 9:return zh(t,F.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,e1(t,u),e1(t,s.buildInfoFile));case 10:return zh(t,F.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,e1(t,u),e1(t,s.buildInfoFile),e1(t,s.inputFile));case 1:if(s.newestInputFileTime!==void 0)return zh(t,F.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,e1(t,u),e1(t,s.newestInputFileName||""),e1(t,s.oldestOutputFileName||""));break;case 3:return zh(t,F.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,e1(t,u),e1(t,s.newerProjectName));case 2:return zh(t,F.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,e1(t,u));case 15:return zh(t,F.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,e1(t,u));case 11:return zh(t,F.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,e1(t,u),e1(t,s.upstreamProjectName));case 12:return zh(t,s.upstreamProjectBlocked?F.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:F.Project_0_can_t_be_built_because_its_dependency_1_has_errors,e1(t,u),e1(t,s.upstreamProjectName));case 0:return zh(t,F.Failed_to_parse_file_0_Colon_1,e1(t,u),s.reason);case 14:return zh(t,F.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,e1(t,u),s.version,_);case 17:return zh(t,F.Project_0_is_being_forcibly_rebuilt,e1(t,u))}}function lhe(t,u,s){t.options.verbose&&dIt(t,u,s)}var hit,fit,che,hIt=o({"src/compiler/tsbuildPublic.ts"(){So(),Hy(),hit=new Date(-864e13),fit=new Date(864e13),che=(t=>(t[t.Build=0]="Build",t[t.UpdateBundle=1]="UpdateBundle",t[t.UpdateOutputFileStamps=2]="UpdateOutputFileStamps",t))(che||{})}}),So=o({"src/compiler/_namespaces/ts.ts"(){y(),xwt(),vwt(),Twt(),Pwt(),Mwt(),Jwt(),wqe(),tTt(),aTt(),oTt(),hTt(),_Tt(),gLt(),ELt(),_Lt(),DLt(),SLt(),BLt(),wLt(),TLt(),uNt(),rNt(),pNt(),NNt(),aPt(),hPt(),fPt(),yPt(),wPt(),RPt(),GPt(),uMt(),rMt(),mMt(),pMt(),gMt(),bMt(),yMt(),kMt(),FMt(),AMt(),SMt(),BMt(),wMt(),TMt(),PMt(),MMt(),zMt(),IMt(),RMt(),jMt(),VMt(),HMt(),KMt(),WMt(),GMt(),YMt(),nzt(),fzt(),pzt(),Dzt(),xzt(),vzt(),Izt(),Rzt(),Vzt(),Wzt(),Gzt(),Jzt(),hIt(),TAe(),Hy()}});function mit(t){return l1.args.includes(t)}function pit(t){const u=l1.args.indexOf(t);return u>=0&&u{t.GlobalCacheLocation="--globalTypingsCacheLocation",t.LogFile="--logFile",t.EnableTelemetry="--enableTelemetry",t.TypingSafeListLocation="--typingSafeListLocation",t.TypesMapLocation="--typesMapLocation",t.NpmLocation="--npmLocation",t.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"})(fhe||(fhe={})),L9e=` + `}}),mIt=o({"src/jsTyping/types.ts"(){}}),UQ=o({"src/jsTyping/_namespaces/ts.server.ts"(){fIt(),mIt()}});function Eit(t,u){return new Bp(io(u,`ts${g}`)||io(u,"latest")).compareTo(t.version)<=0}function _it(t){return I9e.has(t)?"node":t}function pIt(t,u){const s=WV(u,d=>t.readFile(d));return new Map(Object.entries(s.config))}function gIt(t,u){var s;const d=WV(u,f=>t.readFile(f));if((s=d.config)!=null&&s.simpleMap)return new Map(Object.entries(d.config.simpleMap))}function EIt(t,u,s,d,f,p,E,v,b,B){if(!E||!E.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};const k=new Map;s=Si(s,ge=>{const ae=Jo(ge);if(N2(ae))return ae});const T=[];E.include&&Y(E.include,"Explicitly included types");const M=E.exclude||[];if(!B.types){const ge=new Set(s.map(cr));ge.add(d),ge.forEach(ae=>{oe(ae,"bower.json","bower_components",T),oe(ae,"package.json","node_modules",T)})}if(E.disableFilenameBasedTypeAcquisition||se(s),v){const ge=li(v.map(_it),YA,ch);Y(ge,"Inferred typings from unresolved imports")}for(const ge of M)k.delete(ge)&&u&&u(`Typing for ${ge} is in exclude list, will be ignored.`);p.forEach((ge,ae)=>{const Ce=b.get(ae);k.get(ae)===!1&&Ce!==void 0&&Eit(ge,Ce)&&k.set(ae,ge.typingLocation)});const z=[],j=[];k.forEach((ge,ae)=>{ge?j.push(ge):z.push(ae)});const J={cachedTypingPaths:j,newTypingNames:z,filesToWatch:T};return u&&u(`Finished typings discovery:${tw(J)}`),J;function K(ge){k.has(ge)||k.set(ge,!1)}function Y(ge,ae){u&&u(`${ae}: ${JSON.stringify(ge)}`),L(ge,K)}function oe(ge,ae,Ce,ne){const ve=dr(ge,ae);let Se,Ne;t.fileExists(ve)&&(ne.push(ve),Se=WV(ve,Be=>t.readFile(Be)).config,Ne=Ku([Se.dependencies,Se.devDependencies,Se.optionalDependencies,Se.peerDependencies],Ls),Y(Ne,`Typing names in '${ve}' dependencies`));const pe=dr(ge,Ce);if(ne.push(pe),!t.directoryExists(pe))return;const fe=[],xe=Ne?Ne.map(Be=>dr(pe,Be,ae)):t.readDirectory(pe,[".json"],void 0,void 0,3).filter(Be=>{if(Fc(Be)!==ae)return!1;const We=bd(Jo(Be)),Ae=We[We.length-3][0]==="@";return Ae&&Jg(We[We.length-4])===Ce||!Ae&&Jg(We[We.length-3])===Ce});u&&u(`Searching for typing names in ${pe}; all files: ${JSON.stringify(xe)}`);for(const Be of xe){const We=Jo(Be),De=WV(We,Je=>t.readFile(Je)).config;if(!De.name)continue;const He=De.types||De.typings;if(He){const Je=Ga(He,cr(We));t.fileExists(Je)?(u&&u(` Package '${De.name}' provides its own types.`),k.set(De.name,Je)):u&&u(` Package '${De.name}' provides its own types but they are missing.`)}else fe.push(De.name)}Y(fe," Found package names")}function se(ge){const ae=Si(ge,ne=>{if(!N2(ne))return;const ve=Eh(Jg(Fc(ne))),Se=ooe(ve);return f.get(Se)});ae.length&&Y(ae,"Inferred typings from file names"),Ge(ge,ne=>Ml(ne,".jsx"))&&(u&&u("Inferred 'react' typings due to presence of '.jsx' extension"),K("react"))}}function _It(t){return N9e(t,!0)}function N9e(t,u){if(!t)return 1;if(t.length>O9e)return 2;if(t.charCodeAt(0)===46)return 3;if(t.charCodeAt(0)===95)return 4;if(u){const s=/^@([^/]+)\/([^/]+)$/.exec(t);if(s){const d=N9e(s[1],!1);if(d!==0)return{name:s[1],isScopeName:!0,result:d};const f=N9e(s[2],!1);return f!==0?{name:s[2],isScopeName:!1,result:f}:0}}return encodeURIComponent(t)!==t?5:0}function DIt(t,u){return typeof t=="object"?Dit(u,t.result,t.name,t.isScopeName):Dit(u,t,u,!1)}function Dit(t,u,s,d){const f=d?"Scope":"Package";switch(u){case 1:return`'${t}':: ${f} name '${s}' cannot be empty`;case 2:return`'${t}':: ${f} name '${s}' should be less than ${O9e} characters`;case 3:return`'${t}':: ${f} name '${s}' cannot start with '.'`;case 4:return`'${t}':: ${f} name '${s}' cannot start with '_'`;case 5:return`'${t}':: ${f} name '${s}' contains non URI safe characters`;case 0:return H.fail();default:H.assertNever(u)}}var P9e,M9e,z9e,I9e,R9e,O9e,xIt=o({"src/jsTyping/jsTyping.ts"(){AH(),UQ(),P9e=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","https","http2","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"],M9e=P9e.map(t=>`node:${t}`),z9e=[...P9e,...M9e],I9e=new Set(z9e),R9e=(t=>(t[t.Ok=0]="Ok",t[t.EmptyName=1]="EmptyName",t[t.NameTooLong=2]="NameTooLong",t[t.NameStartsWithDot=3]="NameStartsWithDot",t[t.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",t[t.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters",t))(R9e||{}),O9e=214}}),a3={};h(a3,{NameValidationResult:()=>R9e,discoverTypings:()=>EIt,isTypingUpToDate:()=>Eit,loadSafeList:()=>pIt,loadTypesMap:()=>gIt,nodeCoreModuleList:()=>z9e,nodeCoreModules:()=>I9e,nonRelativeModuleNameForTypingCache:()=>_it,prefixedNodeCoreModuleList:()=>M9e,renderPackageNameValidationFailure:()=>DIt,validatePackageName:()=>_It});var vIt=o({"src/jsTyping/_namespaces/ts.JsTyping.ts"(){xIt()}}),AH=o({"src/jsTyping/_namespaces/ts.ts"(){So(),vIt(),UQ()}});function qQ(t){return{indentSize:4,tabSize:4,newLineCharacter:t||` +`,convertTabsToSpaces:!0,indentStyle:2,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:"ignore",trimTrailingWhitespace:!0,indentSwitchCase:!0}}var ZQ,mhe,phe,ghe,c4,Ehe,_he,Dhe,xhe,vhe,Che,bhe,j9e,SH,yhe,khe,Fhe,Ahe,She,Bhe,whe,The,Lhe,CIt=o({"src/services/types.ts"(){(t=>{class u{constructor(f){this.text=f}getText(f,p){return f===0&&p===this.text.length?this.text:this.text.substring(f,p)}getLength(){return this.text.length}getChangeRange(){}}function s(d){return new u(d)}t.fromString=s})(ZQ||(ZQ={})),mhe=(t=>(t[t.Dependencies=1]="Dependencies",t[t.DevDependencies=2]="DevDependencies",t[t.PeerDependencies=4]="PeerDependencies",t[t.OptionalDependencies=8]="OptionalDependencies",t[t.All=15]="All",t))(mhe||{}),phe=(t=>(t[t.Off=0]="Off",t[t.On=1]="On",t[t.Auto=2]="Auto",t))(phe||{}),ghe=(t=>(t[t.Semantic=0]="Semantic",t[t.PartialSemantic=1]="PartialSemantic",t[t.Syntactic=2]="Syntactic",t))(ghe||{}),c4={},Ehe=(t=>(t.Original="original",t.TwentyTwenty="2020",t))(Ehe||{}),_he=(t=>(t.All="All",t.SortAndCombine="SortAndCombine",t.RemoveUnused="RemoveUnused",t))(_he||{}),Dhe=(t=>(t[t.Invoked=1]="Invoked",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",t))(Dhe||{}),xhe=(t=>(t.Type="Type",t.Parameter="Parameter",t.Enum="Enum",t))(xhe||{}),vhe=(t=>(t.none="none",t.definition="definition",t.reference="reference",t.writtenReference="writtenReference",t))(vhe||{}),Che=(t=>(t[t.None=0]="None",t[t.Block=1]="Block",t[t.Smart=2]="Smart",t))(Che||{}),bhe=(t=>(t.Ignore="ignore",t.Insert="insert",t.Remove="remove",t))(bhe||{}),j9e=qQ(` +`),SH=(t=>(t[t.aliasName=0]="aliasName",t[t.className=1]="className",t[t.enumName=2]="enumName",t[t.fieldName=3]="fieldName",t[t.interfaceName=4]="interfaceName",t[t.keyword=5]="keyword",t[t.lineBreak=6]="lineBreak",t[t.numericLiteral=7]="numericLiteral",t[t.stringLiteral=8]="stringLiteral",t[t.localName=9]="localName",t[t.methodName=10]="methodName",t[t.moduleName=11]="moduleName",t[t.operator=12]="operator",t[t.parameterName=13]="parameterName",t[t.propertyName=14]="propertyName",t[t.punctuation=15]="punctuation",t[t.space=16]="space",t[t.text=17]="text",t[t.typeParameterName=18]="typeParameterName",t[t.enumMemberName=19]="enumMemberName",t[t.functionName=20]="functionName",t[t.regularExpressionLiteral=21]="regularExpressionLiteral",t[t.link=22]="link",t[t.linkName=23]="linkName",t[t.linkText=24]="linkText",t))(SH||{}),yhe=(t=>(t[t.None=0]="None",t[t.MayIncludeAutoImports=1]="MayIncludeAutoImports",t[t.IsImportStatementCompletion=2]="IsImportStatementCompletion",t[t.IsContinuation=4]="IsContinuation",t[t.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",t[t.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",t[t.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets",t))(yhe||{}),khe=(t=>(t.Comment="comment",t.Region="region",t.Code="code",t.Imports="imports",t))(khe||{}),Fhe=(t=>(t[t.JavaScript=0]="JavaScript",t[t.SourceMap=1]="SourceMap",t[t.Declaration=2]="Declaration",t))(Fhe||{}),Ahe=(t=>(t[t.None=0]="None",t[t.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",t[t.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",t[t.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",t[t.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",t[t.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",t[t.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",t))(Ahe||{}),She=(t=>(t[t.Punctuation=0]="Punctuation",t[t.Keyword=1]="Keyword",t[t.Operator=2]="Operator",t[t.Comment=3]="Comment",t[t.Whitespace=4]="Whitespace",t[t.Identifier=5]="Identifier",t[t.NumberLiteral=6]="NumberLiteral",t[t.BigIntLiteral=7]="BigIntLiteral",t[t.StringLiteral=8]="StringLiteral",t[t.RegExpLiteral=9]="RegExpLiteral",t))(She||{}),Bhe=(t=>(t.unknown="",t.warning="warning",t.keyword="keyword",t.scriptElement="script",t.moduleElement="module",t.classElement="class",t.localClassElement="local class",t.interfaceElement="interface",t.typeElement="type",t.enumElement="enum",t.enumMemberElement="enum member",t.variableElement="var",t.localVariableElement="local var",t.variableUsingElement="using",t.variableAwaitUsingElement="await using",t.functionElement="function",t.localFunctionElement="local function",t.memberFunctionElement="method",t.memberGetAccessorElement="getter",t.memberSetAccessorElement="setter",t.memberVariableElement="property",t.memberAccessorVariableElement="accessor",t.constructorImplementationElement="constructor",t.callSignatureElement="call",t.indexSignatureElement="index",t.constructSignatureElement="construct",t.parameterElement="parameter",t.typeParameterElement="type parameter",t.primitiveType="primitive type",t.label="label",t.alias="alias",t.constElement="const",t.letElement="let",t.directory="directory",t.externalModuleName="external module name",t.jsxAttribute="JSX attribute",t.string="string",t.link="link",t.linkName="link name",t.linkText="link text",t))(Bhe||{}),whe=(t=>(t.none="",t.publicMemberModifier="public",t.privateMemberModifier="private",t.protectedMemberModifier="protected",t.exportedModifier="export",t.ambientModifier="declare",t.staticModifier="static",t.abstractModifier="abstract",t.optionalModifier="optional",t.deprecatedModifier="deprecated",t.dtsModifier=".d.ts",t.tsModifier=".ts",t.tsxModifier=".tsx",t.jsModifier=".js",t.jsxModifier=".jsx",t.jsonModifier=".json",t.dmtsModifier=".d.mts",t.mtsModifier=".mts",t.mjsModifier=".mjs",t.dctsModifier=".d.cts",t.ctsModifier=".cts",t.cjsModifier=".cjs",t))(whe||{}),The=(t=>(t.comment="comment",t.identifier="identifier",t.keyword="keyword",t.numericLiteral="number",t.bigintLiteral="bigint",t.operator="operator",t.stringLiteral="string",t.whiteSpace="whitespace",t.text="text",t.punctuation="punctuation",t.className="class name",t.enumName="enum name",t.interfaceName="interface name",t.moduleName="module name",t.typeParameterName="type parameter name",t.typeAliasName="type alias name",t.parameterName="parameter name",t.docCommentTagName="doc comment tag name",t.jsxOpenTagName="jsx open tag name",t.jsxCloseTagName="jsx close tag name",t.jsxSelfClosingTagName="jsx self closing tag name",t.jsxAttribute="jsx attribute",t.jsxText="jsx text",t.jsxAttributeStringLiteralValue="jsx attribute string literal value",t))(The||{}),Lhe=(t=>(t[t.comment=1]="comment",t[t.identifier=2]="identifier",t[t.keyword=3]="keyword",t[t.numericLiteral=4]="numericLiteral",t[t.operator=5]="operator",t[t.stringLiteral=6]="stringLiteral",t[t.regularExpressionLiteral=7]="regularExpressionLiteral",t[t.whiteSpace=8]="whiteSpace",t[t.text=9]="text",t[t.punctuation=10]="punctuation",t[t.className=11]="className",t[t.enumName=12]="enumName",t[t.interfaceName=13]="interfaceName",t[t.moduleName=14]="moduleName",t[t.typeParameterName=15]="typeParameterName",t[t.typeAliasName=16]="typeAliasName",t[t.parameterName=17]="parameterName",t[t.docCommentTagName=18]="docCommentTagName",t[t.jsxOpenTagName=19]="jsxOpenTagName",t[t.jsxCloseTagName=20]="jsxCloseTagName",t[t.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",t[t.jsxAttribute=22]="jsxAttribute",t[t.jsxText=23]="jsxText",t[t.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",t[t.bigintLiteral=25]="bigintLiteral",t))(Lhe||{})}});function BH(t){switch(t.kind){case 260:return Xn(t)&&Rse(t)?7:1;case 169:case 208:case 172:case 171:case 303:case 304:case 174:case 173:case 176:case 177:case 178:case 262:case 218:case 219:case 299:case 291:return 1;case 168:case 264:case 265:case 187:return 2;case 353:return t.name===void 0?3:2;case 306:case 263:return 3;case 267:return L1(t)||aD(t)===1?5:4;case 266:case 275:case 276:case 271:case 272:case 277:case 278:return 7;case 312:return 5}return 7}function Lk(t){t=Ghe(t);const u=t.parent;return t.kind===312?1:ec(u)||X1(u)||u_(u)||Cf(u)||i_(u)||g1(u)&&t===u.name?7:YQ(t)?bIt(t):Q3(t)?BH(u):om(t)&&Tn(t,lg(YP,r7,zv))?7:AIt(t)?2:yIt(t)?4:Bl(u)?(H.assert(gg(u.parent)),2):Nv(u)?3:1}function bIt(t){const u=t.kind===166?t:xf(t.parent)&&t.parent.right===t?t.parent:void 0;return u&&u.parent.kind===271?7:4}function YQ(t){for(;t.parent.kind===166;)t=t.parent;return J8(t.parent)&&t.parent.moduleReference===t}function yIt(t){return kIt(t)||FIt(t)}function kIt(t){let u=t,s=!0;if(u.parent.kind===166){for(;u.parent&&u.parent.kind===166;)u=u.parent;s=u.right===t}return u.parent.kind===183&&!s}function FIt(t){let u=t,s=!0;if(u.parent.kind===211){for(;u.parent&&u.parent.kind===211;)u=u.parent;s=u.name===t}if(!s&&u.parent.kind===233&&u.parent.parent.kind===298){const d=u.parent.parent.parent;return d.kind===263&&u.parent.parent.token===119||d.kind===264&&u.parent.parent.token===96}return!1}function AIt(t){switch(pP(t)&&(t=t.parent),t.kind){case 110:return!q_(t);case 197:return!0}switch(t.parent.kind){case 183:return!0;case 205:return!t.parent.isTypeOf;case 233:return U_(t.parent)}return!1}function Nhe(t,u=!1,s=!1){return wH(t,Po,Mhe,u,s)}function BM(t,u=!1,s=!1){return wH(t,I2,Mhe,u,s)}function Phe(t,u=!1,s=!1){return wH(t,JE,Mhe,u,s)}function V9e(t,u=!1,s=!1){return wH(t,Ek,SIt,u,s)}function H9e(t,u=!1,s=!1){return wH(t,p1,Mhe,u,s)}function K9e(t,u=!1,s=!1){return wH(t,Ph,BIt,u,s)}function Mhe(t){return t.expression}function SIt(t){return t.tag}function BIt(t){return t.tagName}function wH(t,u,s,d,f){let p=d?W9e(t):QQ(t);return f&&(p=_c(p)),!!p&&!!p.parent&&u(p.parent)&&s(p.parent)===p}function QQ(t){return iw(t)?t.parent:t}function W9e(t){return iw(t)||Ohe(t)?t.parent:t}function XQ(t,u){for(;t;){if(t.kind===256&&t.label.escapedText===u)return t.label;t=t.parent}}function TH(t,u){return zu(t.expression)?t.expression.name.text===u:!1}function LH(t){var u;return at(t)&&((u=rr(t.parent,RN))==null?void 0:u.label)===t}function zhe(t){var u;return at(t)&&((u=rr(t.parent,R2))==null?void 0:u.label)===t}function Ihe(t){return zhe(t)||LH(t)}function Rhe(t){var u;return((u=rr(t.parent,M8))==null?void 0:u.tagName)===t}function G9e(t){var u;return((u=rr(t.parent,xf))==null?void 0:u.right)===t}function iw(t){var u;return((u=rr(t.parent,zu))==null?void 0:u.name)===t}function Ohe(t){var u;return((u=rr(t.parent,G0))==null?void 0:u.argumentExpression)===t}function jhe(t){var u;return((u=rr(t.parent,Ec))==null?void 0:u.name)===t}function Vhe(t){var u;return at(t)&&((u=rr(t.parent,xo))==null?void 0:u.name)===t}function eX(t){switch(t.parent.kind){case 172:case 171:case 303:case 306:case 174:case 173:case 177:case 178:case 267:return $a(t.parent)===t;case 212:return t.parent.argumentExpression===t;case 167:return!0;case 201:return t.parent.parent.kind===199;default:return!1}}function J9e(t){return vv(t.parent.parent)&&QN(t.parent.parent)===t}function Nk(t){for(K4(t)&&(t=t.parent.parent);;){if(t=t.parent,!t)return;switch(t.kind){case 312:case 174:case 173:case 262:case 218:case 177:case 178:case 263:case 264:case 266:case 267:return t}}}function Q2(t){switch(t.kind){case 312:return Bc(t)?"module":"script";case 267:return"module";case 263:case 231:return"class";case 264:return"interface";case 265:case 345:case 353:return"type";case 266:return"enum";case 260:return u(t);case 208:return u(QE(t));case 219:case 262:case 218:return"function";case 177:return"getter";case 178:return"setter";case 174:case 173:return"method";case 303:const{initializer:s}=t;return xo(s)?"method":"property";case 172:case 171:case 304:case 305:return"property";case 181:return"index";case 180:return"construct";case 179:return"call";case 176:case 175:return"constructor";case 168:return"type parameter";case 306:return"enum member";case 169:return Qu(t,31)?"property":"parameter";case 271:case 276:case 281:case 274:case 280:return"alias";case 226:const d=Ql(t),{right:f}=t;switch(d){case 7:case 8:case 9:case 0:return"";case 1:case 2:const E=Q2(f);return E===""?"const":E;case 3:return A0(f)?"method":"property";case 4:return"property";case 5:return A0(f)?"method":"property";case 6:return"local class";default:return""}case 80:return i_(t.parent)?"alias":"";case 277:const p=Q2(t.expression);return p===""?"const":p;default:return""}function u(s){return V8(s)?"const":tq(s)?"let":"var"}}function nw(t){switch(t.kind){case 110:return!0;case 80:return nle(t)&&t.parent.kind===169;default:return!1}}function X4(t,u){const s=J3(u),d=u.getLineAndCharacterOfPosition(t).line;return s[d]}function jm(t,u){return Hhe(t.pos,t.end,u)}function $9e(t,u){return PH(t,u.pos)&&PH(t,u.end)}function NH(t,u){return t.pos<=u&&u<=t.end}function PH(t,u){return t.pos=s.end}function MH(t,u,s){return t.pos<=u&&t.end>=s}function wM(t,u,s){return iX(t.pos,t.end,u,s)}function tX(t,u,s,d){return iX(t.getStart(u),t.end,s,d)}function iX(t,u,s,d){const f=Math.max(t,s),p=Math.min(u,d);return fd.kind===u)}function nX(t){const u=Le(t.parent.getChildren(),s=>NB(s)&&jm(s,t));return H.assert(!u||Ft(u.getChildren(),t)),u}function xit(t){return t.kind===90}function wIt(t){return t.kind===86}function TIt(t){return t.kind===100}function LIt(t){if(fh(t))return t.name;if(Wc(t)){const u=t.modifiers&&Le(t.modifiers,xit);if(u)return u}if(Qd(t)){const u=Le(t.getChildren(),wIt);if(u)return u}}function NIt(t){if(fh(t))return t.name;if(Xc(t)){const u=Le(t.modifiers,xit);if(u)return u}if(A0(t)){const u=Le(t.getChildren(),TIt);if(u)return u}}function PIt(t){let u;return Tn(t,s=>(Xr(s)&&(u=s),!xf(s.parent)&&!Xr(s.parent)&&!Uy(s.parent))),u}function uX(t,u){if(t.flags&16777216)return;const s=yX(t,u);if(s)return s;const d=PIt(t);return d&&u.getTypeAtLocation(d)}function MIt(t,u){if(!u)switch(t.kind){case 263:case 231:return LIt(t);case 262:case 218:return NIt(t);case 176:return t}if(fh(t))return t.name}function vit(t,u){if(t.importClause){if(t.importClause.name&&t.importClause.namedBindings)return;if(t.importClause.name)return t.importClause.name;if(t.importClause.namedBindings){if(nD(t.importClause.namedBindings)){const s=Fa(t.importClause.namedBindings.elements);return s?s.name:void 0}else if(Gx(t.importClause.namedBindings))return t.importClause.namedBindings.name}}if(!u)return t.moduleSpecifier}function Cit(t,u){if(t.exportClause){if(Q4(t.exportClause))return Fa(t.exportClause.elements)?t.exportClause.elements[0].name:void 0;if(n_(t.exportClause))return t.exportClause.name}if(!u)return t.moduleSpecifier}function zIt(t){if(t.types.length===1)return t.types[0].expression}function bit(t,u){const{parent:s}=t;if(Qo(t)&&(u||t.kind!==90)?Op(s)&&Ft(s.modifiers,t):t.kind===86?Wc(s)||Qd(t):t.kind===100?Xc(s)||A0(t):t.kind===120?Dh(s):t.kind===94?Mv(s):t.kind===156?Ip(s):t.kind===145||t.kind===144?Ec(s):t.kind===102?g1(s):t.kind===139?Mm(s):t.kind===153&&Of(s)){const d=MIt(s,u);if(d)return d}if((t.kind===115||t.kind===87||t.kind===121)&&Fd(s)&&s.declarations.length===1){const d=s.declarations[0];if(at(d.name))return d.name}if(t.kind===156){if(i_(s)&&s.isTypeOnly){const d=vit(s.parent,u);if(d)return d}if(Gc(s)&&s.isTypeOnly){const d=Cit(s,u);if(d)return d}}if(t.kind===130){if(Cf(s)&&s.propertyName||X1(s)&&s.propertyName||Gx(s)||n_(s))return s.name;if(Gc(s)&&s.exportClause&&n_(s.exportClause))return s.exportClause.name}if(t.kind===102&&Ad(s)){const d=vit(s,u);if(d)return d}if(t.kind===95){if(Gc(s)){const d=Cit(s,u);if(d)return d}if(ec(s))return _c(s.expression)}if(t.kind===149&&u_(s))return s.expression;if(t.kind===161&&(Ad(s)||Gc(s))&&s.moduleSpecifier)return s.moduleSpecifier;if((t.kind===96||t.kind===119)&&fm(s)&&s.token===t.kind){const d=zIt(s);if(d)return d}if(t.kind===96){if(Bl(s)&&s.constraint&&Y4(s.constraint))return s.constraint.typeName;if(yB(s)&&Y4(s.extendsType))return s.extendsType.typeName}if(t.kind===140&&L7(s))return s.typeParameter.name;if(t.kind===103&&Bl(s)&&GP(s.parent))return s.name;if(t.kind===143&&P7(s)&&s.operator===143&&Y4(s.type))return s.type.typeName;if(t.kind===148&&P7(s)&&s.operator===148&&nY(s.type)&&Y4(s.type.elementType))return s.type.elementType.typeName;if(!u){if((t.kind===105&&I2(s)||t.kind===116&&z7(s)||t.kind===114&&kB(s)||t.kind===135&&Wx(s)||t.kind===127&&aY(s)||t.kind===91&&rFe(s))&&s.expression)return _c(s.expression);if((t.kind===103||t.kind===104)&&eu(s)&&s.operatorToken===t)return _c(s.right);if(t.kind===130&&kV(s)&&Y4(s.type))return s.type.typeName;if(t.kind===103&&sY(s)||t.kind===165&&FV(s))return _c(s.expression)}return t}function Ghe(t){return bit(t,!1)}function rX(t){return bit(t,!0)}function rf(t,u){return TM(t,u,s=>Qg(s)||nf(s.kind)||ea(s))}function TM(t,u,s){return yit(t,u,!1,s,!1)}function Ca(t,u){return yit(t,u,!0,void 0,!1)}function yit(t,u,s,d,f){let p=t,E;e:for(;;){const b=p.getChildren(t),B=va(b,u,(k,T)=>T,(k,T)=>{const M=b[k].getEnd();if(Mu?1:v(b[k],z,M)?b[k-1]&&v(b[k-1])?1:0:d&&z===u&&b[k-1]&&b[k-1].getEnd()===u&&v(b[k-1])?1:-1});if(E)return E;if(B>=0&&b[B]){p=b[B];continue e}return p}function v(b,B,k){if(k??(k=b.getEnd()),ku))return!1;if(us.getStart(t)&&u(p.pos<=t.pos&&p.end>t.end||p.pos===t.end)&&iSe(p,s)?d(p):void 0)}}function ed(t,u,s,d){const f=p(s||u);return H.assert(!(f&&oX(f))),f;function p(E){if(kit(E)&&E.kind!==1)return E;const v=E.getChildren(u),b=va(v,t,(k,T)=>T,(k,T)=>t=v[k-1].end?0:1:-1);if(b>=0&&v[b]){const k=v[b];if(t=t||!iSe(k,u)||oX(k)){const z=Y9e(v,b,u,E.kind);return z?!d&&VU(z)&&z.getChildren(u).length?p(z):Z9e(z,u):void 0}else return p(k)}H.assert(s!==void 0||E.kind===312||E.kind===1||VU(E));const B=Y9e(v,v.length,u,E.kind);return B&&Z9e(B,u)}}function kit(t){return i7(t)&&!oX(t)}function Z9e(t,u){if(kit(t))return t;const s=t.getChildren(u);if(s.length===0)return t;const d=Y9e(s,s.length,u,t.kind);return d&&Z9e(d,u)}function Y9e(t,u,s,d){for(let f=u-1;f>=0;f--){const p=t[f];if(oX(p))f===0&&(d===12||d===285)&&H.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(iSe(t[f],s))return t[f]}}function Pk(t,u,s=ed(u,t)){if(s&&$se(s)){const d=s.getStart(t),f=s.getEnd();if(ds.getStart(t)}function X9e(t,u){const s=Ca(t,u);return!!(S7(s)||s.kind===19&&ZP(s.parent)&&u3(s.parent.parent)||s.kind===30&&Ph(s.parent)&&u3(s.parent.parent))}function sX(t,u){function s(d){for(;d;)if(d.kind>=285&&d.kind<=294||d.kind===12||d.kind===30||d.kind===32||d.kind===80||d.kind===20||d.kind===19||d.kind===44)d=d.parent;else if(d.kind===284){if(u>d.getStart(t))return!0;d=d.parent}else return!1;return!1}return s(Ca(t,u))}function lX(t,u,s){const d=$o(t.kind),f=$o(u),p=t.getFullStart(),E=s.text.lastIndexOf(f,p);if(E===-1)return;if(s.text.lastIndexOf(d,p-1)!!p.typeParameters&&p.typeParameters.length>=u)}function Uhe(t,u){if(u.text.lastIndexOf("<",t?t.pos:u.text.length)===-1)return;let s=t,d=0,f=0;for(;s;){switch(s.kind){case 30:if(s=ed(s.getFullStart(),u),s&&s.kind===29&&(s=ed(s.getFullStart(),u)),!s||!at(s))return;if(!d)return Q3(s)?void 0:{called:s,nTypeArguments:f};d--;break;case 50:d=3;break;case 49:d=2;break;case 32:d++;break;case 20:if(s=lX(s,19,u),!s)return;break;case 22:if(s=lX(s,21,u),!s)return;break;case 24:if(s=lX(s,23,u),!s)return;break;case 28:f++;break;case 39:case 80:case 11:case 9:case 10:case 112:case 97:case 114:case 96:case 143:case 25:case 52:case 58:case 59:break;default:if(Xr(s))break;return}s=ed(s.getFullStart(),u)}}function f5(t,u,s){return ld.getRangeOfEnclosingComment(t,u,void 0,s)}function tSe(t,u){const s=Ca(t,u);return!!Tn(s,Rp)}function iSe(t,u){return t.kind===1?!!t.jsDoc:t.getWidth(u)!==0}function LM(t,u=0){const s=[],d=Y1(t)?Nse(t)&~u:0;return d&2&&s.push("private"),d&4&&s.push("protected"),d&1&&s.push("public"),(d&256||zl(t))&&s.push("static"),d&64&&s.push("abstract"),d&32&&s.push("export"),d&65536&&s.push("deprecated"),t.flags&33554432&&s.push("declare"),t.kind===277&&s.push("export"),s.length>0?s.join(","):""}function nSe(t){if(t.kind===183||t.kind===213)return t.typeArguments;if(xo(t)||t.kind===263||t.kind===264)return t.typeParameters}function cX(t){return t===2||t===3}function qhe(t){return!!(t===11||t===14||Sx(t))}function Fit(t,u,s){return!!(u.flags&4)&&t.isEmptyAnonymousObjectType(s)}function uSe(t){if(!t.isIntersection())return!1;const{types:u,checker:s}=t;return u.length===2&&(Fit(s,u[0],u[1])||Fit(s,u[1],u[0]))}function RH(t,u,s){return Sx(t.kind)&&t.getStart(s){const s=$s(u);return!t[s]&&(t[s]=!0)}}function uw(t){return t.getText(0,t.getLength())}function VH(t,u){let s="";for(let d=0;d!u.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(u)&&!!(u.externalModuleIndicator||u.commonJsModuleIndicator))}function sSe(t){return t.getSourceFiles().some(u=>!u.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(u)&&!!u.externalModuleIndicator)}function nfe(t){return!!t.module||Rs(t)>=2||!!t.noEmit}function Mk(t,u){return{fileExists:s=>t.fileExists(s),getCurrentDirectory:()=>u.getCurrentDirectory(),readFile:To(u,u.readFile),useCaseSensitiveFileNames:To(u,u.useCaseSensitiveFileNames),getSymlinkCache:To(u,u.getSymlinkCache)||t.getSymlinkCache,getModuleSpecifierCache:To(u,u.getModuleSpecifierCache),getPackageJsonInfoCache:()=>{var s;return(s=t.getModuleResolutionCache())==null?void 0:s.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:To(u,u.getGlobalTypingsCacheLocation),redirectTargetsMap:t.redirectTargetsMap,getProjectReferenceRedirect:s=>t.getProjectReferenceRedirect(s),isSourceOfProjectReferenceRedirect:s=>t.isSourceOfProjectReferenceRedirect(s),getNearestAncestorDirectoryWithPackageJson:To(u,u.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:()=>t.getFileIncludeReasons()}}function ufe(t,u){return{...Mk(t,u),getCommonSourceDirectory:()=>t.getCommonSourceDirectory()}}function mX(t){return t===2||t>=3&&t<=99||t===100}function lSe(t,u,s,d){return t||u&&u.length?p5(t,u,s,d):void 0}function p5(t,u,s,d,f){return q.createImportDeclaration(void 0,t||u?q.createImportClause(!!f,t,u&&u.length?q.createNamedImports(u):void 0):void 0,typeof s=="string"?t9(s,d):s,void 0)}function t9(t,u){return q.createStringLiteral(t,u===0)}function rfe(t,u){return _q(t,u)?1:0}function Vm(t,u){if(u.quotePreference&&u.quotePreference!=="auto")return u.quotePreference==="single"?0:1;{const s=t.imports&&Le(t.imports,d=>us(d)&&!sl(d.parent));return s?rfe(s,t):1}}function afe(t){switch(t){case 0:return"'";case 1:return'"';default:return H.assertNever(t)}}function pX(t){const u=gX(t);return u===void 0?void 0:Qr(u)}function gX(t){return t.escapedName!=="default"?t.escapedName:G(t.declarations,u=>{const s=$a(u);return s&&s.kind===80?s.escapedText:void 0})}function EX(t){return t0(t)&&(u_(t.parent)||Ad(t.parent)||Df(t.parent,!1)&&t.parent.arguments[0]===t||cm(t.parent)&&t.parent.arguments[0]===t)}function KH(t){return Os(t)&&Mp(t.parent)&&at(t.name)&&!t.propertyName}function _X(t,u){const s=t.getTypeAtLocation(u.parent);return s&&t.getPropertyOfType(s,u.name.text)}function WH(t,u,s){if(t)for(;t.parent;){if(ca(t.parent)||!IIt(s,t.parent,u))return t;t=t.parent}}function IIt(t,u,s){return Lse(t,u.getStart(s))&&u.getEnd()<=gc(t)}function rw(t,u){return Op(t)?Le(t.modifiers,s=>s.kind===u):void 0}function PM(t,u,s,d,f){const E=(ja(s)?s[0]:s).kind===243?T0e:Xy,v=ei(u.statements,E);let b=ja(s)?Hp.detectImportDeclarationSorting(s,f):3;const B=Hp.getOrganizeImportsComparer(f,b===2),k=ja(s)?ac(s,(T,M)=>Hp.compareImportsOrRequireStatements(T,M,B)):[s];if(!v.length)t.insertNodesAtTopOfFile(u,k,d);else if(v&&(b=Hp.detectImportDeclarationSorting(v,f))){const T=Hp.getOrganizeImportsComparer(f,b===2);for(const M of k){const z=Hp.getImportDeclarationInsertionIndex(v,M,T);if(z===0){const j=v[0]===u.statements[0]?{leadingTriviaOption:iu.LeadingTriviaOption.Exclude}:{};t.insertNodeBefore(u,v[0],M,!1,j)}else{const j=v[z-1];t.insertNodeAfter(u,j,M)}}}else{const T=Zu(v);T?t.insertNodesAfter(u,T,k):t.insertNodesAtTopOfFile(u,k,d)}}function ofe(t,u){return H.assert(t.isTypeOnly),No(t.getChildAt(0,u),tfe)}function aw(t,u){return!!t&&!!u&&t.start===u.start&&t.length===u.length}function DX(t,u){return t.fileName===u.fileName&&aw(t.textSpan,u.textSpan)}function sfe(t,u){if(t){for(let s=0;sQa(s)?!0:Os(s)||Mp(s)||gk(s)?!1:"quit")}function RIt(){const t=oV*10;let u,s,d,f;k();const p=T=>v(T,17);return{displayParts:()=>{const T=u.length&&u[u.length-1].text;return f>t&&T&&T!=="..."&&($3(T.charCodeAt(T.length-1))||u.push(bf(" ",16)),u.push(bf("...",15))),u},writeKeyword:T=>v(T,5),writeOperator:T=>v(T,12),writePunctuation:T=>v(T,15),writeTrailingSemicolon:T=>v(T,15),writeSpace:T=>v(T,16),writeStringLiteral:T=>v(T,8),writeParameter:T=>v(T,13),writeProperty:T=>v(T,14),writeLiteral:T=>v(T,8),writeSymbol:b,writeLine:B,write:p,writeComment:p,getText:()=>"",getTextPos:()=>0,getColumn:()=>0,getLine:()=>0,isAtStartOfLine:()=>!1,hasTrailingWhitespace:()=>!1,hasTrailingComment:()=>!1,rawWrite:so,getIndent:()=>d,increaseIndent:()=>{d++},decreaseIndent:()=>{d--},clear:k};function E(){if(!(f>t)&&s){const T=Bq(d);T&&(f+=T.length,u.push(bf(T,16))),s=!1}}function v(T,M){f>t||(E(),f+=T.length,u.push(bf(T,M)))}function b(T,M){f>t||(E(),f+=T.length,u.push(dSe(T,M)))}function B(){f>t||(f+=1,u.push(ow()),s=!0)}function k(){u=[],s=!0,d=0,f=0}}function dSe(t,u){return bf(t,s(u));function s(d){const f=d.flags;return f&3?cfe(d)?13:9:f&4||f&32768||f&65536?14:f&8?19:f&16?20:f&32?1:f&64?4:f&384?2:f&1536?11:f&8192?10:f&262144?18:f&524288||f&2097152?0:17}}function bf(t,u){return{text:t,kind:SH[u]}}function Jl(){return bf(" ",16)}function Vf(t){return bf($o(t),5)}function th(t){return bf($o(t),15)}function zM(t){return bf($o(t),12)}function hSe(t){return bf(t,13)}function fSe(t){return bf(t,14)}function dfe(t){const u=c2(t);return u===void 0?Hm(t):Vf(u)}function Hm(t){return bf(t,17)}function mSe(t){return bf(t,0)}function pSe(t){return bf(t,18)}function vX(t){return bf(t,24)}function gSe(t,u){return{text:t,kind:SH[23],target:{fileName:zn(u).fileName,textSpan:af(u)}}}function hfe(t){return bf(t,22)}function ESe(t,u){var s;const d=fFe(t)?"link":mFe(t)?"linkcode":"linkplain",f=[hfe(`{@${d} `)];if(!t.name)t.text&&f.push(vX(t.text));else{const p=u==null?void 0:u.getSymbolAtLocation(t.name),E=jIt(t.text),v=Hc(t.name)+t.text.slice(0,E),b=OIt(t.text.slice(E)),B=(p==null?void 0:p.valueDeclaration)||((s=p==null?void 0:p.declarations)==null?void 0:s[0]);B?(f.push(gSe(v,B)),b&&f.push(vX(b))):f.push(vX(v+(E?"":" ")+b))}return f.push(hfe("}")),f}function OIt(t){let u=0;if(t.charCodeAt(u++)===124){for(;u"&&s--,d++,!s)return d}return 0}function g5(t,u){var s;return(u==null?void 0:u.newLineCharacter)||((s=t.getNewLine)==null?void 0:s.call(t))||zit}function ow(){return bf(` +`,6)}function qx(t){try{return t(Tfe),Tfe.displayParts()}finally{Tfe.clear()}}function GH(t,u,s,d=0){return qx(f=>{t.writeType(u,s,d|1024|16384,f)})}function IM(t,u,s,d,f=0){return qx(p=>{t.writeSymbol(u,s,d,f|8,p)})}function ffe(t,u,s,d=0){return d|=25632,qx(f=>{t.writeSignature(u,s,d,void 0,f)})}function Sit(t,u){const s=u.getSourceFile();return qx(d=>{pH().writeNode(4,t,s,d)})}function _Se(t){return!!t.parent&&n7(t.parent)&&t.parent.propertyName===t}function mfe(t,u){return nZ(t,u.getScriptKind&&u.getScriptKind(t))}function DSe(t,u){let s=t;for(;VIt(s)||UE(s)&&s.links.target;)UE(s)&&s.links.target?s=s.links.target:s=Q1(s,u);return s}function VIt(t){return(t.flags&2097152)!==0}function xSe(t,u){return Zo(Q1(t,u))}function vSe(t,u){for(;$3(t.charCodeAt(u));)u+=1;return u}function CX(t,u){for(;u>-1&&Ug(t.charCodeAt(u));)u-=1;return u+1}function ll(t,u=!0){const s=t&&Bit(t);return s&&!u&&Hf(s),s}function JH(t,u,s){let d=s(t);return d?su(d,t):d=Bit(t,s),d&&!u&&Hf(d),d}function Bit(t,u){const s=u?p=>JH(p,!0,u):ll,f=un(t,s,Eg,u?p=>p&&pfe(p,!0,u):p=>p&&eb(p),s);if(f===t){const p=us(t)?su(q.createStringLiteralFromNode(t),t):Rf(t)?su(q.createNumericLiteral(t.text,t.numericLiteralFlags),t):q.cloneNode(t);return Pt(p,t)}return f.parent=void 0,f}function eb(t,u=!0){if(t){const s=q.createNodeArray(t.map(d=>ll(d,u)),t.hasTrailingComma);return Pt(s,t),s}return t}function pfe(t,u,s){return q.createNodeArray(t.map(d=>JH(d,u,s)),t.hasTrailingComma)}function Hf(t){gfe(t),CSe(t)}function gfe(t){bSe(t,1024,KIt)}function CSe(t){bSe(t,2048,gle)}function zk(t,u){const s=t.getSourceFile(),d=s.text;HIt(t,d)?sw(t,u,s):UH(t,u,s),RM(t,u,s)}function HIt(t,u){const s=t.getFullStart(),d=t.getStart();for(let f=s;fu)}function Ik(t,u){let s=t;for(let d=1;!UU(u,s);d++)s=`${t}_${d}`;return s}function $H(t,u,s,d){let f=0,p=-1;for(const{fileName:E,textChanges:v}of t){H.assert(E===u);for(const b of v){const{span:B,newText:k}=b,T=WIt(k,kv(s));if(T!==-1&&(p=B.start+f+T,!d))return p;f+=k.length-B.length}}return H.assert(d),H.assert(p>=0),p}function sw(t,u,s,d,f){TO(s.text,t.pos,ySe(u,s,d,f,RP))}function RM(t,u,s,d,f){LO(s.text,t.end,ySe(u,s,d,f,bZ))}function UH(t,u,s,d,f){LO(s.text,t.pos,ySe(u,s,d,f,RP))}function ySe(t,u,s,d,f){return(p,E,v,b)=>{v===3?(p+=2,E-=2):p+=2,f(t,s||v,u.text.slice(p,E),d!==void 0?d:b)}}function WIt(t,u){if(La(t,u))return 0;let s=t.indexOf(" "+u);return s===-1&&(s=t.indexOf("."+u)),s===-1&&(s=t.indexOf('"'+u)),s===-1?-1:s+1}function bX(t){return eu(t)&&t.operatorToken.kind===28||bs(t)||(kV(t)||aFe(t))&&bs(t.expression)}function yX(t,u,s){const d=t5(t.parent);switch(d.kind){case 214:return u.getContextualType(d,s);case 226:{const{left:f,operatorToken:p,right:E}=d;return kX(p.kind)?u.getTypeAtLocation(t===E?f:E):u.getContextualType(t,s)}case 296:return _fe(d,u);default:return u.getContextualType(t,s)}}function OM(t,u,s){const d=Vm(t,u),f=JSON.stringify(s);return d===0?`'${G4(f).replace(/'/g,"\\'").replace(/\\"/g,'"')}'`:f}function kX(t){switch(t){case 37:case 35:case 38:case 36:return!0;default:return!1}}function kSe(t){switch(t.kind){case 11:case 15:case 228:case 215:return!0;default:return!1}}function Efe(t){return!!t.getStringIndexType()||!!t.getNumberIndexType()}function _fe(t,u){return u.getTypeAtLocation(t.parent.parent.expression)}function jM(t,u,s,d){const f=s.getTypeChecker();let p=!0;const E=()=>p=!1,v=f.typeToTypeNode(t,u,1,{trackSymbol:(b,B,k)=>(p=p&&f.isSymbolAccessible(b,B,k,!1).accessibility===0,!p),reportInaccessibleThisError:E,reportPrivateInBaseOfClassExpression:E,reportInaccessibleUniqueSymbolError:E,moduleResolverHost:ufe(s,d)});return p?v:void 0}function FSe(t){return t===179||t===180||t===181||t===171||t===173}function wit(t){return t===262||t===176||t===174||t===177||t===178}function Tit(t){return t===267}function FX(t){return t===243||t===244||t===246||t===251||t===252||t===253||t===257||t===259||t===172||t===265||t===272||t===271||t===278||t===270||t===277}function GIt(t,u){const s=t.getLastToken(u);if(s&&s.kind===27)return!1;if(FSe(t.kind)){if(s&&s.kind===28)return!1}else if(Tit(t.kind)){const v=Cr(t.getChildren(u));if(v&&uE(v))return!1}else if(wit(t.kind)){const v=Cr(t.getChildren(u));if(v&&C2(v))return!1}else if(!FX(t.kind))return!1;if(t.kind===246)return!0;const d=Tn(t,v=>!v.parent),f=X2(t,d,u);if(!f||f.kind===20)return!0;const p=u.getLineAndCharacterOfPosition(t.getEnd()).line,E=u.getLineAndCharacterOfPosition(f.getStart(u)).line;return p!==E}function AX(t,u,s){const d=Tn(u,f=>f.end!==t?"quit":Lfe(f.kind));return!!d&&GIt(d,s)}function qH(t){let u=0,s=0;const d=5;return uo(t,function f(p){if(FX(p.kind)){const E=p.getLastToken(t);(E==null?void 0:E.kind)===27?u++:s++}else if(FSe(p.kind)){const E=p.getLastToken(t);if((E==null?void 0:E.kind)===27)u++;else if(E&&E.kind!==28){const v=o0(t,E.getStart(t)).line,b=o0(t,YE(t,E.end).start).line;v!==b&&s++}}return u+s>=d?!0:uo(p,f)}),u===0&&s<=1?!0:u/s>1/d}function SX(t,u){return TX(t,t.getDirectories,u)||[]}function Dfe(t,u,s,d,f){return TX(t,t.readDirectory,u,s,d,f)||_t}function ZH(t,u){return TX(t,t.fileExists,u)}function BX(t,u){return wX(()=>cg(u,t))||!1}function wX(t){try{return t()}catch{return}}function TX(t,u,...s){return wX(()=>u&&u.apply(t,s))}function xfe(t,u,s){const d=[];return $g(t,f=>{if(f===s)return!0;const p=dr(f,"package.json");ZH(u,p)&&d.push(p)}),d}function ASe(t,u){let s;return $g(t,d=>{if(d==="node_modules"||(s=T7e(d,f=>ZH(u,f),"package.json"),s))return!0}),s}function SSe(t,u){if(!u.fileExists)return[];const s=[];return $g(cr(t),d=>{const f=dr(d,"package.json");if(u.fileExists(f)){const p=vfe(f,u);p&&s.push(p)}}),s}function vfe(t,u){if(!u.readFile)return;const s=["dependencies","devDependencies","optionalDependencies","peerDependencies"],d=u.readFile(t)||"",f=JIt(d),p={};if(f)for(const b of s){const B=f[b];if(!B)continue;const k=new Map;for(const T in B)k.set(T,B[T]);p[b]=k}const E=[[1,p.dependencies],[2,p.devDependencies],[8,p.optionalDependencies],[4,p.peerDependencies]];return{...p,parseable:!!f,fileName:t,get:v,has(b,B){return!!v(b,B)}};function v(b,B=15){for(const[k,T]of E)if(T&&B&k){const M=T.get(b);if(M!==void 0)return M}}}function VM(t,u,s){const d=(s.getPackageJsonsVisibleToFile&&s.getPackageJsonsVisibleToFile(t.fileName)||SSe(t.fileName,s)).filter(j=>j.parseable);let f,p,E;return{allowsImportingAmbientModule:b,allowsImportingSourceFile:B,allowsImportingSpecifier:k};function v(j){const J=z(j);for(const K of d)if(K.has(J)||K.has(KY(J)))return!0;return!1}function b(j,J){if(!d.length||!j.valueDeclaration)return!0;if(!p)p=new Map;else{const ge=p.get(j);if(ge!==void 0)return ge}const K=G4(j.getName());if(T(K))return p.set(j,!0),!0;const Y=j.valueDeclaration.getSourceFile(),oe=M(Y.fileName,J);if(typeof oe>"u")return p.set(j,!0),!0;const se=v(oe)||v(K);return p.set(j,se),se}function B(j,J){if(!d.length)return!0;if(!E)E=new Map;else{const oe=E.get(j);if(oe!==void 0)return oe}const K=M(j.fileName,J);if(!K)return E.set(j,!0),!0;const Y=v(K);return E.set(j,Y),Y}function k(j){return!d.length||T(j)||am(j)||Nf(j)?!0:v(j)}function T(j){return!!(ph(t)&&a3.nodeCoreModules.has(j)&&(f===void 0&&(f=LX(t)),f))}function M(j,J){if(!j.includes("node_modules"))return;const K=$2.getNodeModulesPackageName(s.getCompilationSettings(),t,j,J,u);if(K&&!am(K)&&!Nf(K))return z(K)}function z(j){const J=bd(dM(j)).slice(1);return La(J[0],"@")?`${J[0]}/${J[1]}`:J[0]}}function JIt(t){try{return JSON.parse(t)}catch{return}}function LX(t){return Ge(t.imports,({text:u})=>a3.nodeCoreModules.has(u))}function YH(t){return Ft(bd(t),"node_modules")}function Cfe(t){return t.file!==void 0&&t.start!==void 0&&t.length!==void 0}function BSe(t,u){const s=af(t),d=va(u,s,il,G$);if(d>=0){const f=u[d];return H.assertEqual(f.file,t.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),No(f,Cfe)}}function wSe(t,u){var s;let d=va(u,t.start,E=>E.start,nl);for(d<0&&(d=~d);((s=u[d-1])==null?void 0:s.start)===t.start;)d--;const f=[],p=gc(t);for(;;){const E=rr(u[d],Cfe);if(!E||E.start>p)break;A2e(t,E)&&f.push(E),d++}return f}function i9({startPosition:t,endPosition:u}){return Vc(t,u===void 0?t:u)}function bfe(t,u){const s=Ca(t,u.start);return Tn(s,f=>f.getStart(t)gc(u)?"quit":Wt(f)&&aw(u,af(f,t)))}function yfe(t,u,s=il){return t?ja(t)?s(Kt(t,u)):u(t,0):void 0}function kfe(t){return ja(t)?Pn(t):t}function TSe(t,u){if(Lit(t)){const s=Nit(t);if(s)return s;const d=M1.moduleSymbolToValidIdentifier(LSe(t),u,!1),f=M1.moduleSymbolToValidIdentifier(LSe(t),u,!0);return d===f?d:[d,f]}return t.name}function NX(t,u,s){return Lit(t)?Nit(t)||M1.moduleSymbolToValidIdentifier(LSe(t),u,!!s):t.name}function Lit(t){return!(t.flags&33554432)&&(t.escapedName==="export="||t.escapedName==="default")}function Nit(t){return G(t.declarations,u=>{var s,d,f;return ec(u)?(s=rr(_c(u.expression),at))==null?void 0:s.text:X1(u)&&u.symbol.flags===2097152?(d=rr(u.propertyName,at))==null?void 0:d.text:(f=rr($a(u),at))==null?void 0:f.text})}function LSe(t){var u;return H.checkDefined(t.parent,`Symbol parent was undefined. Flags: ${H.formatSymbolFlags(t.flags)}. Declarations: ${(u=t.declarations)==null?void 0:u.map(s=>{const d=H.formatSyntaxKind(s.kind),f=Xn(s),{expression:p}=s;return(f?"[JS]":"")+d+(p?` (expression: ${H.formatSyntaxKind(p.kind)})`:"")}).join(", ")}.`)}function NSe(t,u,s){const d=u.length;if(d+s>t.length)return!1;for(let f=0;fEc(s)&&Zg(s))}function PX(t){return!!(Nse(t)&65536)}function MX(t,u){return G(t.imports,d=>{if(a3.nodeCoreModules.has(d.text))return La(d.text,"node:")})??u.usesUriStyleNodeCoreModules}function QH(t){return t===` +`?1:0}function Rk(t){return ja(t)?X_(Ya(t[0]),t.slice(1)):Ya(t)}function zX({options:t},u){const s=!t.semicolons||t.semicolons==="ignore",d=t.semicolons==="remove"||s&&!qH(u);return{...t,semicolons:d?"remove":"ignore"}}function Afe(t){return t===2||t===3}function HM(t,u){return t.isSourceFileFromExternalLibrary(u)||t.isSourceFileDefaultLibrary(u)}function IX(t,u){const s=new Set,d=new Set,f=new Set;for(const v of u)if(!BV(v)){const b=s0(v.expression);if(m2(b))switch(b.kind){case 15:case 11:s.add(b.text);break;case 9:d.add(parseInt(b.text));break;case 10:const B=fke(oc(b.text,"n")?b.text.slice(0,-1):b.text);B&&f.add(P2(B));break}else{const B=t.getSymbolAtLocation(v.expression);if(B&&B.valueDeclaration&&K2(B.valueDeclaration)){const k=t.getConstantValue(B.valueDeclaration);k!==void 0&&p(k)}}}return{addValue:p,hasValue:E};function p(v){switch(typeof v){case"string":s.add(v);break;case"number":d.add(v)}}function E(v){switch(typeof v){case"string":return s.has(v);case"number":return d.has(v);case"object":return f.has(P2(v))}}}function Sfe(t,u,s,d){var f;const p=typeof t=="string"?t:t.fileName;if(!N2(p))return!1;const E=u.getCompilerOptions(),v=f1(E),b=typeof t=="string"?vH(K0(t,s.getCurrentDirectory(),i5(s)),(f=u.getPackageJsonInfoCache)==null?void 0:f.call(u),s,E):t.impliedNodeFormat;if(b===99)return!1;if(b===1||E.verbatimModuleSyntax&&v===1)return!0;if(E.verbatimModuleSyntax&&$q(v))return!1;if(typeof t=="object"){if(t.commonJsModuleIndicator)return!0;if(t.externalModuleIndicator)return!1}return d}var ih,Bfe,Mit,RX,wfe,Tfe,zit,OX,Lfe,$It=o({"src/services/utilities.ts"(){ar(),ih=ZD(99,!0),Bfe=(t=>(t[t.None=0]="None",t[t.Value=1]="Value",t[t.Type=2]="Type",t[t.Namespace=4]="Namespace",t[t.All=7]="All",t))(Bfe||{}),Mit=/^\/\/\/\s*(t[t.Single=0]="Single",t[t.Double=1]="Double",t))(wfe||{}),Tfe=RIt(),zit=` +`,OX="anonymous function",Lfe=lg(FSe,wit,Tit,FX)}});function Nfe(t){let u=1;const s=Bm(),d=new Map,f=new Map;let p;const E={isUsableByFile:z=>z===p,isEmpty:()=>!s.size,clear:()=>{s.clear(),d.clear(),p=void 0},add:(z,j,J,K,Y,oe,se,ge)=>{z!==p&&(E.clear(),p=z);let ae;if(Y){const Ae=dZ(Y.fileName);if(Ae){const{topLevelNodeModulesIndex:De,topLevelPackageNameIndex:He,packageRootIndex:Je}=Ae;if(ae=oH(dM(Y.fileName.substring(He+1,Je))),La(z,Y.path.substring(0,De))){const ft=f.get(ae),Ze=Y.fileName.substring(0,He+1);if(ft){const je=ft.indexOf(a_);De>je&&f.set(ae,Ze)}else f.set(ae,Ze)}}}const ne=oe===1&&oB(j)||j,ve=oe===0||jH(ne)?Qr(J):TSe(ne,void 0),Se=typeof ve=="string"?ve:ve[0],Ne=typeof ve=="string"?void 0:ve[1],pe=G4(K.name),fe=u++,xe=Q1(j,ge),Be=j.flags&33554432?void 0:j,We=K.flags&33554432?void 0:K;(!Be||!We)&&d.set(fe,[j,K]),s.add(b(Se,j,Md(pe)?void 0:pe,ge),{id:fe,symbolTableKey:J,symbolName:Se,capitalizedSymbolName:Ne,moduleName:pe,moduleFile:Y,moduleFileName:Y==null?void 0:Y.fileName,packageName:ae,exportKind:oe,targetFlags:xe.flags,isFromPackageJson:se,symbol:Be,moduleSymbol:We})},get:(z,j)=>{if(z!==p)return;const J=s.get(j);return J==null?void 0:J.map(v)},search:(z,j,J,K)=>{if(z===p)return d1(s,(Y,oe)=>{const{symbolName:se,ambientModuleName:ge}=B(oe),ae=j&&Y[0].capitalizedSymbolName||se;if(J(ae,Y[0].targetFlags)){const ne=Y.map(v).filter((ve,Se)=>M(ve,Y[Se].packageName));if(ne.length){const ve=K(ne,ae,!!ge,oe);if(ve!==void 0)return ve}}})},releaseSymbols:()=>{d.clear()},onFileChanged:(z,j,J)=>k(z)&&k(j)?!1:p&&p!==j.path||J&&LX(z)!==LX(j)||!Hn(z.moduleAugmentations,j.moduleAugmentations)||!T(z,j)?(E.clear(),!0):(p=j.path,!1)};return H.isDebugging&&Object.defineProperty(E,"__cache",{value:s}),E;function v(z){if(z.symbol&&z.moduleSymbol)return z;const{id:j,exportKind:J,targetFlags:K,isFromPackageJson:Y,moduleFileName:oe}=z,[se,ge]=d.get(j)||_t;if(se&&ge)return{symbol:se,moduleSymbol:ge,moduleFileName:oe,exportKind:J,targetFlags:K,isFromPackageJson:Y};const ae=(Y?t.getPackageJsonAutoImportProvider():t.getCurrentProgram()).getTypeChecker(),Ce=z.moduleSymbol||ge||H.checkDefined(z.moduleFile?ae.getMergedSymbol(z.moduleFile.symbol):ae.tryFindAmbientModule(z.moduleName)),ne=z.symbol||se||H.checkDefined(J===2?ae.resolveExternalModuleSymbol(Ce):ae.tryGetMemberInModuleExportsAndProperties(Qr(z.symbolTableKey),Ce),`Could not find symbol '${z.symbolName}' by key '${z.symbolTableKey}' in module ${Ce.name}`);return d.set(j,[ne,Ce]),{symbol:ne,moduleSymbol:Ce,moduleFileName:oe,exportKind:J,targetFlags:K,isFromPackageJson:Y}}function b(z,j,J,K){const Y=J||"";return`${z.length} ${Zo(Q1(j,K))} ${z} ${Y}`}function B(z){const j=z.indexOf(" "),J=z.indexOf(" ",j+1),K=parseInt(z.substring(0,j),10),Y=z.substring(J+1),oe=Y.substring(0,K),se=Y.substring(K+1);return{symbolName:oe,ambientModuleName:se===""?void 0:se}}function k(z){return!z.commonJsModuleIndicator&&!z.externalModuleIndicator&&!z.moduleAugmentations&&!z.ambientModuleNames}function T(z,j){if(!Hn(z.ambientModuleNames,j.ambientModuleNames))return!1;let J=-1,K=-1;for(const Y of j.ambientModuleNames){const oe=se=>f0e(se)&&se.name.text===Y;if(J=Ue(z.statements,oe,J+1),K=Ue(j.statements,oe,K+1),z.statements[J]!==j.statements[K])return!1}return!0}function M(z,j){if(!j||!z.moduleFileName)return!0;const J=t.getGlobalTypingsCacheLocation();if(J&&La(z.moduleFileName,J))return!0;const K=f.get(j);return!K||La(z.moduleFileName,K)}}function Pfe(t,u,s,d,f,p,E){var v;if(u===s)return!1;const b=E==null?void 0:E.get(u.path,s.path,d,{});if((b==null?void 0:b.isBlockedByPackageJsonDependencies)!==void 0)return!b.isBlockedByPackageJsonDependencies;const B=i5(p),k=(v=p.getGlobalTypingsCacheLocation)==null?void 0:v.call(p),T=!!$2.forEachFileNameOfModule(u.fileName,s.fileName,p,!1,M=>{const z=t.getSourceFile(M);return(z===s||!z)&&UIt(u.fileName,M,B,k)});if(f){const M=T&&f.allowsImportingSourceFile(s,p);return E==null||E.setBlockedByPackageJsonDependencies(u.path,s.path,d,{},!M),M}return T}function UIt(t,u,s,d){const f=$g(u,E=>Fc(E)==="node_modules"?E:void 0),p=f&&cr(s(f));return p===void 0||La(s(t),p)||!!d&&La(s(d),p)}function Mfe(t,u,s,d,f){var p,E;const v=jj(u),b=s.autoImportFileExcludePatterns&&Si(s.autoImportFileExcludePatterns,k=>{const T=kle(k,"","exclude");return T?Ox(T,v):void 0});Iit(t.getTypeChecker(),t.getSourceFiles(),b,(k,T)=>f(k,T,t,!1));const B=d&&((p=u.getPackageJsonAutoImportProvider)==null?void 0:p.call(u));if(B){const k=H0(),T=t.getTypeChecker();Iit(B.getTypeChecker(),B.getSourceFiles(),b,(M,z)=>{(z&&!t.getSourceFile(z.fileName)||!z&&!T.resolveName(M.name,void 0,1536,!1))&&f(M,z,B,!0)}),(E=u.log)==null||E.call(u,`forEachExternalModuleToImportFrom autoImportProvider: ${H0()-k}`)}}function Iit(t,u,s,d){var f;const p=s&&(E=>s.some(v=>v.test(E)));for(const E of t.getAmbientModules())!E.name.includes("*")&&!(s&&((f=E.declarations)!=null&&f.every(v=>p(v.getSourceFile().fileName))))&&d(E,void 0);for(const E of u)lm(E)&&!(p!=null&&p(E.fileName))&&d(t.getMergedSymbol(E.symbol),E)}function XH(t,u,s,d,f){var p,E,v,b,B;const k=H0();(p=u.getPackageJsonAutoImportProvider)==null||p.call(u);const T=((E=u.getCachedExportInfoMap)==null?void 0:E.call(u))||Nfe({getCurrentProgram:()=>s,getPackageJsonAutoImportProvider:()=>{var j;return(j=u.getPackageJsonAutoImportProvider)==null?void 0:j.call(u)},getGlobalTypingsCacheLocation:()=>{var j;return(j=u.getGlobalTypingsCacheLocation)==null?void 0:j.call(u)}});if(T.isUsableByFile(t.path))return(v=u.log)==null||v.call(u,"getExportInfoMap: cache hit"),T;(b=u.log)==null||b.call(u,"getExportInfoMap: cache miss or empty; calculating new results");const M=s.getCompilerOptions();let z=0;try{Mfe(s,u,d,!0,(j,J,K,Y)=>{++z%100===0&&(f==null||f.throwIfCancellationRequested());const oe=new Map,se=K.getTypeChecker(),ge=jX(j,se,M);ge&&Rit(ge.symbol,se)&&T.add(t.path,ge.symbol,ge.exportKind===1?"default":"export=",j,J,ge.exportKind,Y,se),se.forEachExportAndPropertyOfModule(j,(ae,Ce)=>{ae!==(ge==null?void 0:ge.symbol)&&Rit(ae,se)&&Pp(oe,Ce)&&T.add(t.path,ae,Ce,j,J,0,Y,se)})})}catch(j){throw T.clear(),j}return(B=u.log)==null||B.call(u,`getExportInfoMap: done in ${H0()-k} ms`),T}function jX(t,u,s){const d=qIt(t,u);if(!d)return;const{symbol:f,exportKind:p}=d,E=VX(f,u,s);return E&&{symbol:f,exportKind:p,...E}}function Rit(t,u){return!u.isUndefinedSymbol(t)&&!u.isUnknownSymbol(t)&&!Mj(t)&&!hye(t)}function qIt(t,u){const s=u.resolveExternalModuleSymbol(t);if(s!==t)return{symbol:s,exportKind:2};const d=u.tryGetMemberInModuleExports("default",t);if(d)return{symbol:d,exportKind:1}}function VX(t,u,s){const d=oB(t);if(d)return{resolvedSymbol:d,name:d.name};const f=ZIt(t);if(f!==void 0)return{resolvedSymbol:t,name:f};if(t.flags&2097152){const p=u.getImmediateAliasedSymbol(t);if(p&&p.parent)return VX(p,u,s)}return t.escapedName!=="default"&&t.escapedName!=="export="?{resolvedSymbol:t,name:t.getName()}:{resolvedSymbol:t,name:NX(t,s.target)}}function ZIt(t){return t.declarations&&G(t.declarations,u=>{var s;if(ec(u))return(s=rr(_c(u.expression),at))==null?void 0:s.text;if(X1(u))return H.assert(u.name.text==="default","Expected the specifier to be a default export"),u.propertyName&&u.propertyName.text})}var zfe,Ife,YIt=o({"src/services/exportInfoMap.ts"(){ar(),zfe=(t=>(t[t.Named=0]="Named",t[t.Default=1]="Default",t[t.Namespace=2]="Namespace",t[t.CommonJS=3]="CommonJS",t))(zfe||{}),Ife=(t=>(t[t.Named=0]="Named",t[t.Default=1]="Default",t[t.ExportEquals=2]="ExportEquals",t[t.UMD=3]="UMD",t))(Ife||{})}});function Oit(){const t=ZD(99,!1);function u(d,f,p){return eRt(s(d,f,p),d)}function s(d,f,p){let E=0,v=0;const b=[],{prefix:B,pushTemplate:k}=nRt(f);d=B+d;const T=B.length;k&&b.push(16),t.setText(d);let M=0;const z=[];let j=0;do{E=t.scan(),tB(E)||(J(),v=E);const K=t.getTokenEnd();if(XIt(t.getTokenStart(),K,T,aRt(E),z),K>=d.length){const Y=QIt(t,E,Zu(b));Y!==void 0&&(M=Y)}}while(E!==1);function J(){switch(E){case 44:case 69:!Kit[v]&&t.reScanSlashToken()===14&&(E=14);break;case 30:v===80&&j++;break;case 32:j>0&&j--;break;case 133:case 154:case 150:case 136:case 155:j>0&&!p&&(E=80);break;case 16:b.push(E);break;case 19:b.length>0&&b.push(E);break;case 20:if(b.length>0){const K=Zu(b);K===16?(E=t.reScanTemplateToken(!1),E===18?b.pop():H.assertEqual(E,17,"Should have been a template middle.")):(H.assertEqual(K,19,"Should have been an open brace"),b.pop())}break;default:if(!nf(E))break;(v===25||nf(v)&&nf(E)&&!iRt(v,E))&&(E=80)}}return{endOfLineState:M,spans:z}}return{getClassificationsForLine:u,getEncodedLexicalClassifications:s}}function QIt(t,u,s){switch(u){case 11:{if(!t.isUnterminated())return;const d=t.getTokenText(),f=d.length-1;let p=0;for(;d.charCodeAt(f-p)===92;)p++;return p&1?d.charCodeAt(0)===34?3:2:void 0}case 3:return t.isUnterminated()?1:void 0;default:if(Sx(u)){if(!t.isUnterminated())return;switch(u){case 18:return 5;case 15:return 4;default:return H.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+u)}}return s===16?6:void 0}}function XIt(t,u,s,d,f){if(d===8)return;t===0&&s>0&&(t+=s);const p=u-t;p>0&&f.push(t-s,p,d)}function eRt(t,u){const s=[],d=t.spans;let f=0;for(let E=0;E=0){const k=v-f;k>0&&s.push({length:k,classification:4})}s.push({length:b,classification:tRt(B)}),f=v+b}const p=u.length-f;return p>0&&s.push({length:p,classification:4}),{entries:s,finalLexState:t.endOfLineState}}function tRt(t){switch(t){case 1:return 3;case 3:return 1;case 4:return 6;case 25:return 7;case 5:return 2;case 6:return 8;case 8:return 4;case 10:return 0;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return 5;default:return}}function iRt(t,u){if(!Zhe(t))return!0;switch(u){case 139:case 153:case 137:case 126:case 129:return!0;default:return!1}}function nRt(t){switch(t){case 3:return{prefix:`"\\ +`};case 2:return{prefix:`'\\ +`};case 1:return{prefix:`/* +`};case 4:return{prefix:"`\n"};case 5:return{prefix:`} +`,pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return H.assertNever(t)}}function uRt(t){switch(t){case 42:case 44:case 45:case 40:case 41:case 48:case 49:case 50:case 30:case 32:case 33:case 34:case 104:case 103:case 130:case 152:case 35:case 36:case 37:case 38:case 51:case 53:case 52:case 56:case 57:case 75:case 74:case 79:case 71:case 72:case 73:case 65:case 66:case 67:case 69:case 70:case 64:case 28:case 61:case 76:case 77:case 78:return!0;default:return!1}}function rRt(t){switch(t){case 40:case 41:case 55:case 54:case 46:case 47:return!0;default:return!1}}function aRt(t){if(nf(t))return 3;if(uRt(t)||rRt(t))return 5;if(t>=19&&t<=79)return 10;switch(t){case 9:return 4;case 10:return 25;case 11:return 6;case 14:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 80:default:return Sx(t)?6:2}}function MSe(t,u,s,d,f){return Hit(Rfe(t,u,s,d,f))}function jit(t,u){switch(u){case 267:case 263:case 264:case 262:case 231:case 218:case 219:t.throwIfCancellationRequested()}}function Rfe(t,u,s,d,f){const p=[];return s.forEachChild(function v(b){if(!(!b||!FU(f,b.pos,b.getFullWidth()))){if(jit(u,b.kind),at(b)&&!Yl(b)&&d.has(b.escapedText)){const B=t.getSymbolAtLocation(b),k=B&&Vit(B,Lk(b),t);k&&E(b.getStart(s),b.getEnd(),k)}b.forEachChild(v)}}),{spans:p,endOfLineState:0};function E(v,b,B){const k=b-v;H.assert(k>0,`Classification had non-positive length of ${k}`),p.push(v),p.push(k),p.push(B)}}function Vit(t,u,s){const d=t.getFlags();if(d&2885600)return d&32?11:d&384?12:d&524288?16:d&1536?u&4||u&1&&oRt(t)?14:void 0:d&2097152?Vit(s.getAliasedSymbol(t),u,s):u&2?d&64?13:d&262144?15:void 0:void 0}function oRt(t){return Ge(t.declarations,u=>Ec(u)&&aD(u)===1)}function sRt(t){switch(t){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return}}function Hit(t){H.assert(t.spans.length%3===0);const u=t.spans,s=[];for(let d=0;d])*)(\/>)?)?/im,ve=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,Se=u.text.substr(ae,Ce),Ne=ne.exec(Se);if(!Ne||!Ne[3]||!(Ne[3]in xO))return!1;let pe=ae;T(pe,Ne[1].length),pe+=Ne[1].length,b(pe,Ne[2].length,10),pe+=Ne[2].length,b(pe,Ne[3].length,21),pe+=Ne[3].length;const fe=Ne[4];let xe=pe;for(;;){const We=ve.exec(fe);if(!We)break;const Ae=pe+We.index+We[1].length;Ae>xe&&(T(xe,Ae-xe),xe=Ae),b(xe,We[2].length,22),xe+=We[2].length,We[3].length&&(T(xe,We[3].length),xe+=We[3].length),b(xe,We[4].length,5),xe+=We[4].length,We[5].length&&(T(xe,We[5].length),xe+=We[5].length),b(xe,We[6].length,24),xe+=We[6].length}pe+=Ne[4].length,pe>xe&&T(xe,pe-xe),Ne[5]&&(b(pe,Ne[5].length,10),pe+=Ne[5].length);const Be=ae+Ce;return pe=0),ve>0){const Se=Ce||se(ae.kind,ae);Se&&b(ne,ve,Se)}return!0}function oe(ae){switch(ae.parent&&ae.parent.kind){case 286:if(ae.parent.tagName===ae)return 19;break;case 287:if(ae.parent.tagName===ae)return 20;break;case 285:if(ae.parent.tagName===ae)return 21;break;case 291:if(ae.parent.name===ae)return 22;break}}function se(ae,Ce){if(nf(ae))return 3;if((ae===30||ae===32)&&Ce&&nSe(Ce.parent))return 10;if(K0e(ae)){if(Ce){const ne=Ce.parent;if(ae===64&&(ne.kind===260||ne.kind===172||ne.kind===169||ne.kind===291)||ne.kind===226||ne.kind===224||ne.kind===225||ne.kind===227)return 5}return 10}else{if(ae===9)return 4;if(ae===10)return 25;if(ae===11)return Ce&&Ce.parent.kind===291?24:6;if(ae===14)return 6;if(Sx(ae))return 6;if(ae===12)return 23;if(ae===80){if(Ce){switch(Ce.parent.kind){case 263:return Ce.parent.name===Ce?11:void 0;case 168:return Ce.parent.name===Ce?15:void 0;case 264:return Ce.parent.name===Ce?13:void 0;case 266:return Ce.parent.name===Ce?12:void 0;case 267:return Ce.parent.name===Ce?14:void 0;case 169:return Ce.parent.name===Ce?w2(Ce)?3:17:void 0}if(U3(Ce.parent))return 3}return 2}}}function ge(ae){if(ae&&zO(d,f,ae.pos,ae.getFullWidth())){jit(t,ae.kind);for(const Ce of ae.getChildren(u))Y(Ce)||ge(Ce)}}}var Kit,Wit=o({"src/services/classifier.ts"(){ar(),Kit=ioe([80,11,9,10,14,110,46,47,22,24,20,112,97],t=>t,()=>!0)}}),HX,lRt=o({"src/services/documentHighlights.ts"(){ar(),(t=>{function u(pe,fe,xe,Be,We){const Ae=rf(xe,Be);if(Ae.parent&&(rE(Ae.parent)&&Ae.parent.tagName===Ae||O2(Ae.parent))){const{openingElement:De,closingElement:He}=Ae.parent.parent,Je=[De,He].map(({tagName:ft})=>s(ft,xe));return[{fileName:xe.fileName,highlightSpans:Je}]}return d(Be,Ae,pe,fe,We)||f(Ae,xe)}t.getDocumentHighlights=u;function s(pe,fe){return{fileName:fe.fileName,textSpan:af(pe,fe),kind:"none"}}function d(pe,fe,xe,Be,We){const Ae=new Set(We.map(ft=>ft.fileName)),De=$0.getReferenceEntriesForNode(pe,fe,xe,We,Be,void 0,Ae);if(!De)return;const He=hO(De.map($0.toHighlightSpan),ft=>ft.fileName,ft=>ft.span),Je=T1(xe.useCaseSensitiveFileNames());return ga(_o(He.entries(),([ft,Ze])=>{if(!Ae.has(ft)){if(!xe.redirectTargetsMap.has(K0(ft,xe.getCurrentDirectory(),Je)))return;const je=xe.getSourceFile(ft);ft=Le(We,Gt=>!!Gt.redirectInfo&&Gt.redirectInfo.redirectTarget===je).fileName,H.assert(Ae.has(ft))}return{fileName:ft,highlightSpans:Ze}}))}function f(pe,fe){const xe=p(pe,fe);return xe&&[{fileName:fe.fileName,highlightSpans:xe}]}function p(pe,fe){switch(pe.kind){case 101:case 93:return _k(pe.parent)?ve(pe.parent,fe):void 0;case 107:return Be(pe.parent,zp,ge);case 111:return Be(pe.parent,Cce,se);case 113:case 85:case 98:const Ae=pe.kind===85?pe.parent.parent:pe.parent;return Be(Ae,xk,oe);case 109:return Be(pe.parent,AV,Y);case 84:case 90:return BV(pe.parent)||AB(pe.parent)?Be(pe.parent.parent.parent,AV,Y):void 0;case 83:case 88:return Be(pe.parent,RN,K);case 99:case 117:case 92:return Be(pe.parent,De=>wx(De,!0),J);case 137:return xe(dc,[137]);case 139:case 153:return xe(Bx,[139,153]);case 135:return Be(pe.parent,Wx,ae);case 134:return We(ae(pe));case 127:return We(Ce(pe));case 103:return;default:return QD(pe.kind)&&(Y1(pe.parent)||Gl(pe.parent))?We(M(pe.kind,pe.parent)):void 0}function xe(Ae,De){return Be(pe.parent,Ae,He=>{var Je;return Si((Je=rr(He,qg))==null?void 0:Je.symbol.declarations,ft=>Ae(ft)?Le(ft.getChildren(fe),Ze=>Ft(De,Ze.kind)):void 0)})}function Be(Ae,De,He){return De(Ae)?We(He(Ae,fe)):void 0}function We(Ae){return Ae&&Ae.map(De=>s(De,fe))}}function E(pe){return Cce(pe)?[pe]:xk(pe)?an(pe.catchClause?E(pe.catchClause):pe.tryBlock&&E(pe.tryBlock),pe.finallyBlock&&E(pe.finallyBlock)):xo(pe)?void 0:B(pe,E)}function v(pe){let fe=pe;for(;fe.parent;){const xe=fe.parent;if(C2(xe)||xe.kind===312)return xe;if(xk(xe)&&xe.tryBlock===fe&&xe.catchClause)return fe;fe=xe}}function b(pe){return RN(pe)?[pe]:xo(pe)?void 0:B(pe,b)}function B(pe,fe){const xe=[];return pe.forEachChild(Be=>{const We=fe(Be);We!==void 0&&xe.push(...qA(We))}),xe}function k(pe,fe){const xe=T(fe);return!!xe&&xe===pe}function T(pe){return Tn(pe,fe=>{switch(fe.kind){case 255:if(pe.kind===251)return!1;case 248:case 249:case 250:case 247:case 246:return!pe.label||Ne(fe,pe.label.escapedText);default:return xo(fe)&&"quit"}})}function M(pe,fe){return Si(z(fe,g7(pe)),xe=>rw(xe,pe))}function z(pe,fe){const xe=pe.parent;switch(xe.kind){case 268:case 312:case 241:case 296:case 297:return fe&64&&Wc(pe)?[...pe.members,pe]:xe.statements;case 176:case 174:case 262:return[...xe.parameters,...gr(xe.parent)?xe.parent.members:[]];case 263:case 231:case 264:case 187:const Be=xe.members;if(fe&15){const We=Le(xe.members,dc);if(We)return[...Be,...We.parameters]}else if(fe&64)return[...Be,xe];return Be;case 210:return;default:H.assertNever(xe,"Invalid container kind.")}}function j(pe,fe,...xe){return fe&&Ft(xe,fe.kind)?(pe.push(fe),!0):!1}function J(pe){const fe=[];if(j(fe,pe.getFirstToken(),99,117,92)&&pe.kind===246){const xe=pe.getChildren();for(let Be=xe.length-1;Be>=0&&!j(fe,xe[Be],117);Be--);}return L(b(pe.statement),xe=>{k(pe,xe)&&j(fe,xe.getFirstToken(),83,88)}),fe}function K(pe){const fe=T(pe);if(fe)switch(fe.kind){case 248:case 249:case 250:case 246:case 247:return J(fe);case 255:return Y(fe)}}function Y(pe){const fe=[];return j(fe,pe.getFirstToken(),109),L(pe.caseBlock.clauses,xe=>{j(fe,xe.getFirstToken(),84,90),L(b(xe),Be=>{k(pe,Be)&&j(fe,Be.getFirstToken(),83)})}),fe}function oe(pe,fe){const xe=[];if(j(xe,pe.getFirstToken(),113),pe.catchClause&&j(xe,pe.catchClause.getFirstToken(),85),pe.finallyBlock){const Be=r0(pe,98,fe);j(xe,Be,98)}return xe}function se(pe,fe){const xe=v(pe);if(!xe)return;const Be=[];return L(E(xe),We=>{Be.push(r0(We,111,fe))}),C2(xe)&&v2(xe,We=>{Be.push(r0(We,107,fe))}),Be}function ge(pe,fe){const xe=Lm(pe);if(!xe)return;const Be=[];return v2(No(xe.body,ho),We=>{Be.push(r0(We,107,fe))}),L(E(xe.body),We=>{Be.push(r0(We,111,fe))}),Be}function ae(pe){const fe=Lm(pe);if(!fe)return;const xe=[];return fe.modifiers&&fe.modifiers.forEach(Be=>{j(xe,Be,134)}),uo(fe,Be=>{ne(Be,We=>{Wx(We)&&j(xe,We.getFirstToken(),135)})}),xe}function Ce(pe){const fe=Lm(pe);if(!fe)return;const xe=[];return uo(fe,Be=>{ne(Be,We=>{aY(We)&&j(xe,We.getFirstToken(),127)})}),xe}function ne(pe,fe){fe(pe),!xo(pe)&&!gr(pe)&&!Dh(pe)&&!Ec(pe)&&!Ip(pe)&&!Xr(pe)&&uo(pe,xe=>ne(xe,fe))}function ve(pe,fe){const xe=Se(pe,fe),Be=[];for(let We=0;We=Ae.end;Je--)if(!Ug(fe.text.charCodeAt(Je))){He=!1;break}if(He){Be.push({fileName:fe.fileName,textSpan:Vc(Ae.getStart(),De.end),kind:"reference"}),We++;continue}}Be.push(s(xe[We],fe))}return Be}function Se(pe,fe){const xe=[];for(;_k(pe.parent)&&pe.parent.elseStatement===pe;)pe=pe.parent;for(;;){const Be=pe.getChildren(fe);j(xe,Be[0],101);for(let We=Be.length-1;We>=0&&!j(xe,Be[We],93);We--);if(!pe.elseStatement||!_k(pe.elseStatement))break;pe=pe.elseStatement}return xe}function Ne(pe,fe){return!!Tn(pe.parent,xe=>R2(xe)?xe.label.escapedText===fe:"quit")}})(HX||(HX={}))}});function eK(t){return!!t.sourceFile}function ISe(t,u,s){return jfe(t,u,s)}function jfe(t,u="",s,d){const f=new Map,p=T1(!!t);function E(){const K=ga(f.keys()).filter(Y=>Y&&Y.charAt(0)==="_").map(Y=>{const oe=f.get(Y),se=[];return oe.forEach((ge,ae)=>{eK(ge)?se.push({name:ae,scriptKind:ge.sourceFile.scriptKind,refCount:ge.languageServiceRefCount}):ge.forEach((Ce,ne)=>se.push({name:ae,scriptKind:ne,refCount:Ce.languageServiceRefCount}))}),se.sort((ge,ae)=>ae.refCount-ge.refCount),{bucket:Y,sourceFiles:se}});return JSON.stringify(K,void 0,2)}function v(K){return typeof K.getCompilationSettings=="function"?K.getCompilationSettings():K}function b(K,Y,oe,se,ge,ae){const Ce=K0(K,u,p),ne=Vfe(v(Y));return B(K,Ce,Y,ne,oe,se,ge,ae)}function B(K,Y,oe,se,ge,ae,Ce,ne){return z(K,Y,oe,se,ge,ae,!0,Ce,ne)}function k(K,Y,oe,se,ge,ae){const Ce=K0(K,u,p),ne=Vfe(v(Y));return T(K,Ce,Y,ne,oe,se,ge,ae)}function T(K,Y,oe,se,ge,ae,Ce,ne){return z(K,Y,v(oe),se,ge,ae,!1,Ce,ne)}function M(K,Y){const oe=eK(K)?K:K.get(H.checkDefined(Y,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return H.assert(Y===void 0||!oe||oe.sourceFile.scriptKind===Y,`Script kind should match provided ScriptKind:${Y} and sourceFile.scriptKind: ${oe==null?void 0:oe.sourceFile.scriptKind}, !entry: ${!oe}`),oe}function z(K,Y,oe,se,ge,ae,Ce,ne,ve){var Se,Ne,pe,fe;ne=nZ(K,ne);const xe=v(oe),Be=oe===xe?void 0:oe,We=ne===6?100:Rs(xe),Ae=typeof ve=="object"?ve:{languageVersion:We,impliedNodeFormat:Be&&vH(Y,(fe=(pe=(Ne=(Se=Be.getCompilerHost)==null?void 0:Se.call(Be))==null?void 0:Ne.getModuleResolutionCache)==null?void 0:pe.call(Ne))==null?void 0:fe.getPackageJsonInfoCache(),Be,xe),setExternalModuleIndicator:Zj(xe),jsDocParsingMode:s};Ae.languageVersion=We,H.assertEqual(s,Ae.jsDocParsingMode);const De=f.size,He=RSe(se,Ae.impliedNodeFormat),Je=tl(f,He,()=>new Map);if(Jn){f.size>De&&Jn.instant(Jn.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:xe.configFilePath,key:He});const Ke=!Xd(Y)&&d1(f,(Gt,Yt)=>Yt!==He&&Gt.has(Y)&&Yt);Ke&&Jn.instant(Jn.Phase.Session,"documentRegistryBucketOverlap",{path:Y,key1:Ke,key2:He})}const ft=Je.get(Y);let Ze=ft&&M(ft,ne);if(!Ze&&d){const Ke=d.getDocument(He,Y);Ke&&(H.assert(Ce),Ze={sourceFile:Ke,languageServiceRefCount:0},je())}if(Ze)Ze.sourceFile.version!==ae&&(Ze.sourceFile=Bme(Ze.sourceFile,ge,ae,ge.getChangeRange(Ze.sourceFile.scriptSnapshot)),d&&d.setDocument(He,Y,Ze.sourceFile)),Ce&&Ze.languageServiceRefCount++;else{const Ke=fee(K,ge,Ae,ae,!1,ne);d&&d.setDocument(He,Y,Ke),Ze={sourceFile:Ke,languageServiceRefCount:1},je()}return H.assert(Ze.languageServiceRefCount!==0),Ze.sourceFile;function je(){if(!ft)Je.set(Y,Ze);else if(eK(ft)){const Ke=new Map;Ke.set(ft.sourceFile.scriptKind,ft),Ke.set(ne,Ze),Je.set(Y,Ke)}else ft.set(ne,Ze)}}function j(K,Y,oe,se){const ge=K0(K,u,p),ae=Vfe(Y);return J(ge,ae,oe,se)}function J(K,Y,oe,se){const ge=H.checkDefined(f.get(RSe(Y,se))),ae=ge.get(K),Ce=M(ae,oe);Ce.languageServiceRefCount--,H.assert(Ce.languageServiceRefCount>=0),Ce.languageServiceRefCount===0&&(eK(ae)?ge.delete(K):(ae.delete(oe),ae.size===1&&ge.set(K,ie(ae.values(),il))))}return{acquireDocument:b,acquireDocumentWithKey:B,updateDocument:k,updateDocumentWithKey:T,releaseDocument:j,releaseDocumentWithKey:J,getKeyForCompilationSettings:Vfe,getDocumentRegistryBucketKeyWithMode:RSe,reportStats:E,getBuckets:()=>f}}function Vfe(t){return xde(t,wY)}function RSe(t,u){return u?`${t}|${u}`:t}var cRt=o({"src/services/documentRegistry.ts"(){ar()}});function OSe(t,u,s,d,f,p,E){const v=jj(d),b=T1(v),B=Hfe(u,s,b,E),k=Hfe(s,u,b,E);return iu.ChangeTracker.with({host:d,formatContext:f,preferences:p},T=>{hRt(t,T,B,u,s,d.getCurrentDirectory(),v),fRt(t,T,B,k,d,b)})}function Hfe(t,u,s,d){const f=s(t);return E=>{const v=d&&d.tryGetSourcePosition({fileName:E,pos:0}),b=p(v?v.fileName:E);return v?b===void 0?void 0:dRt(v.fileName,b,E,s):b};function p(E){if(s(E)===f)return u;const v=ble(E,f,s);return v===void 0?void 0:u+"/"+v}}function dRt(t,u,s,d){const f=FO(t,u,d);return jSe(cr(s),f)}function hRt(t,u,s,d,f,p,E){const{configFile:v}=t.getCompilerOptions();if(!v)return;const b=cr(v.fileName),B=qN(v);if(!B)return;VSe(B,(z,j)=>{switch(j){case"files":case"include":case"exclude":{if(k(z)||j!=="include"||!_h(z.initializer))return;const K=Si(z.initializer.elements,oe=>us(oe)?oe.text:void 0);if(K.length===0)return;const Y=iZ(b,[],K,E,p);Ox(H.checkDefined(Y.includeFilePattern),E).test(d)&&!Ox(H.checkDefined(Y.includeFilePattern),E).test(f)&&u.insertNodeAfter(v,Cr(z.initializer.elements),q.createStringLiteral(M(f)));return}case"compilerOptions":VSe(z.initializer,(J,K)=>{const Y=Xce(K);H.assert((Y==null?void 0:Y.type)!=="listOrElement"),Y&&(Y.isFilePath||Y.type==="list"&&Y.element.isFilePath)?k(J):K==="paths"&&VSe(J.initializer,oe=>{if(_h(oe.initializer))for(const se of oe.initializer.elements)T(se)})});return}});function k(z){const j=_h(z.initializer)?z.initializer.elements:[z.initializer];let J=!1;for(const K of j)J=T(K)||J;return J}function T(z){if(!us(z))return!1;const j=jSe(b,z.text),J=s(j);return J!==void 0?(u.replaceRangeWithText(v,Jit(z,v),M(J)),!0):!1}function M(z){return GE(b,z,!E)}}function fRt(t,u,s,d,f,p){const E=t.getSourceFiles();for(const v of E){const b=s(v.fileName),B=b??v.fileName,k=cr(B),T=d(v.fileName),M=T||v.fileName,z=cr(M),j=b!==void 0||T!==void 0;gRt(v,u,J=>{if(!am(J))return;const K=jSe(z,J),Y=s(K);return Y===void 0?void 0:l2(GE(k,Y,p))},J=>{const K=t.getTypeChecker().getSymbolAtLocation(J);if(K!=null&&K.declarations&&K.declarations.some(oe=>L1(oe)))return;const Y=T!==void 0?Git(J,HB(J.text,M,t.getCompilerOptions(),f),s,E):pRt(K,J,v,t,f,s);return Y!==void 0&&(Y.updated||j&&am(J.text))?$2.updateModuleSpecifier(t.getCompilerOptions(),v,p(B),Y.newFileName,Mk(t,f),J.text):void 0})}}function mRt(t,u){return Jo(dr(t,u))}function jSe(t,u){return l2(mRt(t,u))}function pRt(t,u,s,d,f,p){if(t){const E=Le(t.declarations,ca).fileName,v=p(E);return v===void 0?{newFileName:E,updated:!1}:{newFileName:v,updated:!0}}else{const E=_g(s,u),v=f.resolveModuleNameLiterals||!f.resolveModuleNames?d.getResolvedModule(s,u.text,E):f.getResolvedModuleWithFailedLookupLocationsFromCache&&f.getResolvedModuleWithFailedLookupLocationsFromCache(u.text,s.fileName,E);return Git(u,v,p,d.getSourceFiles())}}function Git(t,u,s,d){if(!u)return;if(u.resolvedModule){const b=v(u.resolvedModule.resolvedFileName);if(b)return b}const f=L(u.failedLookupLocations,p)||am(t.text)&&L(u.failedLookupLocations,E);if(f)return f;return u.resolvedModule&&{newFileName:u.resolvedModule.resolvedFileName,updated:!1};function p(b){const B=s(b);return B&&Le(d,k=>k.fileName===B)?E(b):void 0}function E(b){return oc(b,"/package.json")?void 0:v(b)}function v(b){const B=s(b);return B&&{newFileName:B,updated:!0}}}function gRt(t,u,s,d){for(const f of t.referencedFiles||_t){const p=s(f.fileName);p!==void 0&&p!==t.text.slice(f.pos,f.end)&&u.replaceRangeWithText(t,f,p)}for(const f of t.imports){const p=d(f);p!==void 0&&p!==f.text&&u.replaceRangeWithText(t,Jit(f,t),p)}}function Jit(t,u){return o4(t.getStart(u)+1,t.end-1)}function VSe(t,u){if(bs(t))for(const s of t.properties)Jc(s)&&us(s.name)&&u(s,s.name.text)}var ERt=o({"src/services/getEditsForFileRename.ts"(){ar()}});function KM(t,u){return{kind:t,isCaseSensitive:u}}function HSe(t){const u=new Map,s=t.trim().split(".").map(d=>vRt(d.trim()));if(s.length===1&&s[0].totalTextChunk.text==="")return{getMatchForLastSegmentOfPattern:()=>KM(2,!0),getFullMatch:()=>KM(2,!0),patternContainsDots:!1};if(!s.some(d=>!d.subWordTextChunks.length))return{getFullMatch:(d,f)=>_Rt(d,f,s,u),getMatchForLastSegmentOfPattern:d=>KSe(d,Cr(s),u),patternContainsDots:s.length>1}}function _Rt(t,u,s,d){if(!KSe(u,Cr(s),d)||s.length-1>t.length)return;let p;for(let E=s.length-2,v=t.length-1;E>=0;E-=1,v-=1)p=qit(p,KSe(t[v],s[E],d));return p}function $it(t,u){let s=u.get(t);return s||u.set(t,s=qSe(t)),s}function Uit(t,u,s){const d=CRt(t,u.textLowerCase);if(d===0)return KM(u.text.length===t.length?0:1,La(t,u.text));if(u.isLowerCase){if(d===-1)return;const f=$it(t,s);for(const p of f)if(WSe(t,p,u.text,!0))return KM(2,WSe(t,p,u.text,!1));if(u.text.length0)return KM(2,!0);if(u.characterSpans.length>0){const f=$it(t,s),p=Zit(t,f,u,!1)?!0:Zit(t,f,u,!0)?!1:void 0;if(p!==void 0)return KM(3,p)}}}function KSe(t,u,s){if(Kfe(u.totalTextChunk.text,p=>p!==32&&p!==42)){const p=Uit(t,u.totalTextChunk,s);if(p)return p}const d=u.subWordTextChunks;let f;for(const p of d)f=qit(f,Uit(t,p,s));return f}function qit(t,u){return aoe([t,u],DRt)}function DRt(t,u){return t===void 0?1:u===void 0?-1:nl(t.kind,u.kind)||s2(!t.isCaseSensitive,!u.isCaseSensitive)}function WSe(t,u,s,d,f={start:0,length:s.length}){return f.length<=u.length&&ent(0,f.length,p=>xRt(s.charCodeAt(f.start+p),t.charCodeAt(u.start+p),d))}function xRt(t,u,s){return s?GSe(t)===GSe(u):t===u}function Zit(t,u,s,d){const f=s.characterSpans;let p=0,E=0;for(;;){if(E===f.length)return!0;if(p===u.length)return!1;let v=u[p],b=!1;for(;E=65&&t<=90)return!0;if(t<127||!vU(t,99))return!1;const u=String.fromCharCode(t);return u===u.toUpperCase()}function Yit(t){if(t>=97&&t<=122)return!0;if(t<127||!vU(t,99))return!1;const u=String.fromCharCode(t);return u===u.toLowerCase()}function CRt(t,u){const s=t.length-u.length;for(let d=0;d<=s;d++)if(Kfe(u,(f,p)=>GSe(t.charCodeAt(p+d))===f))return d;return-1}function GSe(t){return t>=65&&t<=90?97+(t-65):t<127?t:String.fromCharCode(t).toLowerCase().charCodeAt(0)}function JSe(t){return t>=48&&t<=57}function bRt(t){return lw(t)||Yit(t)||JSe(t)||t===95||t===36}function yRt(t){const u=[];let s=0,d=0;for(let f=0;f0&&(u.push($Se(t.substr(s,d))),d=0)}return d>0&&u.push($Se(t.substr(s,d))),u}function $Se(t){const u=t.toLowerCase();return{text:t,textLowerCase:u,isLowerCase:t===u,characterSpans:USe(t)}}function USe(t){return Qit(t,!1)}function qSe(t){return Qit(t,!0)}function Qit(t,u){const s=[];let d=0;for(let f=1;fZSe(d)&&d!==95,u,s)}function kRt(t,u,s){return u!==s&&u+1u(t.charCodeAt(f),f))}var KX,ARt=o({"src/services/patternMatcher.ts"(){ar(),KX=(t=>(t[t.exact=0]="exact",t[t.prefix=1]="prefix",t[t.substring=2]="substring",t[t.camelCase=3]="camelCase",t))(KX||{})}});function tnt(t,u=!0,s=!1){const d={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},f=[];let p,E,v,b=0,B=!1;function k(){return E=v,v=ih.scan(),v===19?b++:v===20&&b--,v}function T(){const ae=ih.getTokenValue(),Ce=ih.getTokenStart();return{fileName:ae,pos:Ce,end:Ce+ae.length}}function M(){p||(p=[]),p.push({ref:T(),depth:b})}function z(){f.push(T()),j()}function j(){b===0&&(B=!0)}function J(){let ae=ih.getToken();return ae===138?(ae=k(),ae===144&&(ae=k(),ae===11&&M()),!0):!1}function K(){if(E===25)return!1;let ae=ih.getToken();if(ae===102){if(ae=k(),ae===21){if(ae=k(),ae===11||ae===15)return z(),!0}else{if(ae===11)return z(),!0;if(ae===156&&ih.lookAhead(()=>{const ne=ih.scan();return ne!==161&&(ne===42||ne===19||ne===80||nf(ne))})&&(ae=k()),ae===80||nf(ae))if(ae=k(),ae===161){if(ae=k(),ae===11)return z(),!0}else if(ae===64){if(oe(!0))return!0}else if(ae===28)ae=k();else return!0;if(ae===19){for(ae=k();ae!==20&&ae!==1;)ae=k();ae===20&&(ae=k(),ae===161&&(ae=k(),ae===11&&z()))}else ae===42&&(ae=k(),ae===130&&(ae=k(),(ae===80||nf(ae))&&(ae=k(),ae===161&&(ae=k(),ae===11&&z()))))}return!0}return!1}function Y(){let ae=ih.getToken();if(ae===95){if(j(),ae=k(),ae===156&&ih.lookAhead(()=>{const ne=ih.scan();return ne===42||ne===19})&&(ae=k()),ae===19){for(ae=k();ae!==20&&ae!==1;)ae=k();ae===20&&(ae=k(),ae===161&&(ae=k(),ae===11&&z()))}else if(ae===42)ae=k(),ae===161&&(ae=k(),ae===11&&z());else if(ae===102&&(ae=k(),ae===156&&ih.lookAhead(()=>{const ne=ih.scan();return ne===80||nf(ne)})&&(ae=k()),(ae===80||nf(ae))&&(ae=k(),ae===64&&oe(!0))))return!0;return!0}return!1}function oe(ae,Ce=!1){let ne=ae?k():ih.getToken();return ne===149?(ne=k(),ne===21&&(ne=k(),(ne===11||Ce&&ne===15)&&z()),!0):!1}function se(){let ae=ih.getToken();if(ae===80&&ih.getTokenValue()==="define"){if(ae=k(),ae!==21)return!0;if(ae=k(),ae===11||ae===15)if(ae=k(),ae===28)ae=k();else return!0;if(ae!==23)return!0;for(ae=k();ae!==24&&ae!==1;)(ae===11||ae===15)&&z(),ae=k();return!0}return!1}function ge(){for(ih.setText(t),k();ih.getToken()!==1;){if(ih.getToken()===16){const ae=[ih.getToken()];e:for(;S(ae);){const Ce=ih.scan();switch(Ce){case 1:break e;case 102:K();break;case 16:ae.push(Ce);break;case 19:S(ae)&&ae.push(Ce);break;case 20:S(ae)&&(Zu(ae)===16?ih.reScanTemplateToken(!1)===18&&ae.pop():ae.pop());break}}k()}J()||K()||Y()||s&&(oe(!1,!0)||se())||k()}ih.setText(void 0)}if(u&&ge(),$ce(d,t),Uce(d,zs),B){if(p)for(const ae of p)f.push(ae.ref);return{referencedFiles:d.referencedFiles,typeReferenceDirectives:d.typeReferenceDirectives,libReferenceDirectives:d.libReferenceDirectives,importedFiles:f,isLibFile:!!d.hasNoDefaultLib,ambientExternalModules:void 0}}else{let ae;if(p)for(const Ce of p)Ce.depth===0?(ae||(ae=[]),ae.push(Ce.ref.fileName)):f.push(Ce.ref);return{referencedFiles:d.referencedFiles,typeReferenceDirectives:d.typeReferenceDirectives,libReferenceDirectives:d.libReferenceDirectives,importedFiles:f,isLibFile:!!d.hasNoDefaultLib,ambientExternalModules:ae}}}var SRt=o({"src/services/preProcess.ts"(){ar()}});function YSe(t){const u=T1(t.useCaseSensitiveFileNames()),s=t.getCurrentDirectory(),d=new Map,f=new Map;return{tryGetSourcePosition:v,tryGetGeneratedPosition:b,toLineColumnOffset:M,clearCache:z};function p(j){return K0(j,s,u)}function E(j,J){const K=p(j),Y=f.get(K);if(Y)return Y;let oe;if(t.getDocumentPositionMapper)oe=t.getDocumentPositionMapper(j,J);else if(t.readFile){const se=T(j);oe=se&&Wfe({getSourceFileLike:T,getCanonicalFileName:u,log:ge=>t.log(ge)},j,Hde(se.text,J3(se)),ge=>!t.fileExists||t.fileExists(ge)?t.readFile(ge):void 0)}return f.set(K,oe||tQ),oe||tQ}function v(j){if(!Xd(j.fileName)||!B(j.fileName))return;const K=E(j.fileName).getSourcePosition(j);return!K||K===j?void 0:v(K)||K}function b(j){if(Xd(j.fileName))return;const J=B(j.fileName);if(!J)return;const K=t.getProgram();if(K.isSourceOfProjectReferenceRedirect(J.fileName))return;const Y=K.getCompilerOptions(),oe=b0(Y),se=oe?Eh(oe)+".d.ts":Tq(j.fileName,K.getCompilerOptions(),s,K.getCommonSourceDirectory(),u);if(se===void 0)return;const ge=E(se,j.fileName).getGeneratedPosition(j);return ge===j?void 0:ge}function B(j){const J=t.getProgram();if(!J)return;const K=p(j),Y=J.getSourceFileByPath(K);return Y&&Y.resolvedPath===K?Y:void 0}function k(j){const J=p(j),K=d.get(J);if(K!==void 0)return K||void 0;if(!t.readFile||t.fileExists&&!t.fileExists(J)){d.set(J,!1);return}const Y=t.readFile(J),oe=Y?BRt(Y):!1;return d.set(J,oe),oe||void 0}function T(j){return t.getSourceFileLike?t.getSourceFileLike(j):B(j)||k(j)}function M(j,J){return T(j).getLineAndCharacterOfPosition(J)}function z(){d.clear(),f.clear()}}function Wfe(t,u,s,d){let f=OAe(s);if(f){const v=nnt.exec(f);if(v){if(v[1]){const b=v[1];return int(t,Rye(l1,b),u)}f=void 0}}const p=[];f&&p.push(f),p.push(u+".map");const E=f&&Ga(f,cr(u));for(const v of p){const b=Ga(v,cr(u)),B=d(b,E);if(Wa(B))return int(t,B,b);if(B!==void 0)return B||void 0}}function int(t,u,s){const d=Kde(u);if(!(!d||!d.sources||!d.file||!d.mappings)&&!(d.sourcesContent&&d.sourcesContent.some(Wa)))return HAe(t,d,s)}function BRt(t,u){return{text:t,lineMap:u,getLineAndCharacterOfPosition(s){return b8(J3(this),s)}}}var nnt,wRt=o({"src/services/sourcemaps.ts"(){ar(),nnt=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+/=]+)$)?/}});function Gfe(t,u,s){var d;u.getSemanticDiagnostics(t,s);const f=[],p=u.getTypeChecker();!(t.impliedNodeFormat===1||jc(t.fileName,[".cts",".cjs"]))&&t.commonJsModuleIndicator&&(sSe(u)||nfe(u.getCompilerOptions()))&&TRt(t)&&f.push(Su(MRt(t.commonJsModuleIndicator),F.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));const v=ph(t);if(qfe.clear(),b(t),x7(u.getCompilerOptions()))for(const B of t.imports){const k=eP(B),T=LRt(k);if(!T)continue;const M=(d=u.getResolvedModule(t,B.text,_g(t,B)))==null?void 0:d.resolvedModule,z=M&&u.getSourceFile(M.resolvedFileName);z&&z.externalModuleIndicator&&z.externalModuleIndicator!==!0&&ec(z.externalModuleIndicator)&&z.externalModuleIndicator.isExportEquals&&f.push(Su(T,F.Import_may_be_converted_to_a_default_import))}return yn(f,t.bindSuggestionDiagnostics),yn(f,u.getSuggestionDiagnostics(t,s)),f.sort((B,k)=>B.start-k.start);function b(B){if(v)IRt(B,p)&&f.push(Su(ra(B.parent)?B.parent.name:B,F.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(Gl(B)&&B.parent===t&&B.declarationList.flags&2&&B.declarationList.declarations.length===1){const T=B.declarationList.declarations[0].initializer;T&&Df(T,!0)&&f.push(Su(T,F.require_call_may_be_converted_to_an_import))}const k=M1.getJSDocTypedefNodes(B);for(const T of k)f.push(Su(T,F.JSDoc_typedef_may_be_converted_to_TypeScript_type));M1.parameterShouldGetTypeFromJSDoc(B)&&f.push(Su(B.name||B,F.JSDoc_types_may_be_moved_to_TypeScript_types))}Ufe(B)&&NRt(B,p,f),B.forEachChild(b)}}function TRt(t){return t.statements.some(u=>{switch(u.kind){case 243:return u.declarationList.declarations.some(s=>!!s.initializer&&Df(unt(s.initializer),!0));case 244:{const{expression:s}=u;if(!eu(s))return Df(s,!0);const d=Ql(s);return d===1||d===2}default:return!1}})}function unt(t){return zu(t)?unt(t.expression):t}function LRt(t){switch(t.kind){case 272:const{importClause:u,moduleSpecifier:s}=t;return u&&!u.name&&u.namedBindings&&u.namedBindings.kind===274&&us(s)?u.namedBindings.name:void 0;case 271:return t.name;default:return}}function NRt(t,u,s){PRt(t,u)&&!qfe.has(snt(t))&&s.push(Su(!t.name&&ra(t.parent)&&at(t.parent.name)?t.parent.name:t,F.This_may_be_converted_to_an_async_function))}function PRt(t,u){return!rP(t)&&t.body&&ho(t.body)&&zRt(t.body,u)&&Jfe(t,u)}function Jfe(t,u){const s=u.getSignatureFromDeclaration(t),d=s?u.getReturnTypeOfSignature(s):void 0;return!!d&&!!u.getPromisedTypeOfPromise(d)}function MRt(t){return eu(t)?t.left:t}function zRt(t,u){return!!v2(t,s=>WX(s,u))}function WX(t,u){return zp(t)&&!!t.expression&&$fe(t.expression,u)}function $fe(t,u){if(!rnt(t)||!ant(t)||!t.arguments.every(d=>ont(d,u)))return!1;let s=t.expression.expression;for(;rnt(s)||zu(s);)if(Po(s)){if(!ant(s)||!s.arguments.every(d=>ont(d,u)))return!1;s=s.expression.expression}else s=s.expression;return!0}function rnt(t){return Po(t)&&(TH(t,"then")||TH(t,"catch")||TH(t,"finally"))}function ant(t){const u=t.expression.name.text,s=u==="then"?2:u==="catch"||u==="finally"?1:0;return t.arguments.length>s?!1:t.arguments.lengthd.kind===106||at(d)&&d.text==="undefined")}function ont(t,u){switch(t.kind){case 262:case 218:if(yd(t)&1)return!1;case 219:qfe.set(snt(t),!0);case 106:return!0;case 80:case 211:{const d=u.getSymbolAtLocation(t);return d?u.isUndefinedSymbol(d)||Ge(Q1(d,u).declarations,f=>xo(f)||Lx(f)&&!!f.initializer&&xo(f.initializer)):!1}default:return!1}}function snt(t){return`${t.pos.toString()}:${t.end.toString()}`}function IRt(t,u){var s,d,f,p;if(A0(t)){if(ra(t.parent)&&((s=t.symbol.members)!=null&&s.size))return!0;const E=u.getSymbolOfExpando(t,!1);return!!(E&&((d=E.exports)!=null&&d.size||(f=E.members)!=null&&f.size))}return Xc(t)?!!((p=t.symbol.members)!=null&&p.size):!1}function Ufe(t){switch(t.kind){case 262:case 174:case 218:case 219:return!0;default:return!1}}var qfe,RRt=o({"src/services/suggestionDiagnostics.ts"(){ar(),qfe=new Map}});function QSe(t,u){const s=[],d=u.compilerOptions?Zfe(u.compilerOptions,s):{},f=hee();for(const M in f)gu(f,M)&&d[M]===void 0&&(d[M]=f[M]);for(const M of pde)d.verbatimModuleSyntax&&cnt.has(M.name)||(d[M.name]=M.transpileOptionValue);d.suppressOutputPathCheck=!0,d.allowNonTsExtensions=!0;const p=r5(d),E={getSourceFile:M=>M===Jo(v)?b:void 0,writeFile:(M,z)=>{Ml(M,".map")?(H.assertEqual(k,void 0,"Unexpected multiple source map outputs, file:",M),k=z):(H.assertEqual(B,void 0,"Unexpected multiple outputs, file:",M),B=z)},getDefaultLibFileName:()=>"lib.d.ts",useCaseSensitiveFileNames:()=>!1,getCanonicalFileName:M=>M,getCurrentDirectory:()=>"",getNewLine:()=>p,fileExists:M=>M===v,readFile:()=>"",directoryExists:()=>!0,getDirectories:()=>[]},v=u.fileName||(u.compilerOptions&&u.compilerOptions.jsx?"module.tsx":"module.ts"),b=VV(v,t,{languageVersion:Rs(d),impliedNodeFormat:vH(K0(v,"",E.getCanonicalFileName),void 0,E,d),setExternalModuleIndicator:Zj(d),jsDocParsingMode:u.jsDocParsingMode??0});u.moduleName&&(b.moduleName=u.moduleName),u.renamedDependencies&&(b.renamedDependencies=new Map(Object.entries(u.renamedDependencies)));let B,k;const T=yQ([v],d,E);return u.reportDiagnostics&&(yn(s,T.getSyntacticDiagnostics(b)),yn(s,T.getOptionsDiagnostics())),T.emit(void 0,void 0,void 0,void 0,u.transformers),B===void 0?H.fail("Output generation failed"):{outputText:B,diagnostics:s,sourceMapText:k}}function lnt(t,u,s,d,f){const p=QSe(t,{compilerOptions:u,fileName:s,reportDiagnostics:!!d,moduleName:f});return yn(d,p.diagnostics),p.outputText}function Zfe(t,u){XSe=XSe||ei(r3,s=>typeof s.type=="object"&&!d1(s.type,d=>typeof d!="number")),t=Yhe(t);for(const s of XSe){if(!gu(t,s.name))continue;const d=t[s.name];Wa(d)?t[s.name]=kY(s,d,u):d1(s.type,f=>f===d)||u.push(KFe(s))}return t}var cnt,XSe,ORt=o({"src/services/transpile.ts"(){ar(),cnt=new Set(["isolatedModules","preserveValueImports","importsNotUsedAsValues"])}});function dnt(t,u,s,d,f,p,E){const v=HSe(d);if(!v)return _t;const b=[],B=t.length===1?t[0]:void 0;for(const k of t)s.throwIfCancellationRequested(),!(p&&k.isDeclarationFile)&&(hnt(k,!!E,B)||k.getNamedDeclarations().forEach((T,M)=>{jRt(v,M,T,u,k.fileName,!!E,B,b)}));return b.sort(WRt),(f===void 0?b:b.slice(0,f)).map(GRt)}function hnt(t,u,s){return t!==s&&u&&(YH(t.path)||t.hasNoDefaultLib)}function jRt(t,u,s,d,f,p,E,v){const b=t.getMatchForLastSegmentOfPattern(u);if(b){for(const B of s)if(VRt(B,d,p,E))if(t.patternContainsDots){const k=t.getFullMatch(KRt(B),u);k&&v.push({name:u,fileName:f,matchKind:k.kind,isCaseSensitive:k.isCaseSensitive,declaration:B})}else v.push({name:u,fileName:f,matchKind:b.kind,isCaseSensitive:b.isCaseSensitive,declaration:B})}}function VRt(t,u,s,d){var f;switch(t.kind){case 273:case 276:case 271:const p=u.getSymbolAtLocation(t.name),E=u.getAliasedSymbol(p);return p.escapedName!==E.escapedName&&!((f=E.declarations)!=null&&f.every(v=>hnt(v.getSourceFile(),s,d)));default:return!0}}function HRt(t,u){const s=$a(t);return!!s&&(fnt(s,u)||s.kind===167&&e8e(s.expression,u))}function e8e(t,u){return fnt(t,u)||zu(t)&&(u.push(t.name.text),!0)&&e8e(t.expression,u)}function fnt(t,u){return Qg(t)&&(u.push(W4(t)),!0)}function KRt(t){const u=[],s=$a(t);if(s&&s.kind===167&&!e8e(s.expression,u))return _t;u.shift();let d=Nk(t);for(;d;){if(!HRt(d,u))return _t;d=Nk(d)}return u.reverse()}function WRt(t,u){return nl(t.matchKind,u.matchKind)||fO(t.name,u.name)}function GRt(t){const u=t.declaration,s=Nk(u),d=s&&$a(s);return{name:t.name,kind:Q2(u),kindModifiers:LM(u),matchKind:KX[t.matchKind],isCaseSensitive:t.isCaseSensitive,fileName:t.fileName,textSpan:af(u),containerName:d?d.text:"",containerKind:d?Q2(s):""}}var JRt=o({"src/services/navigateTo.ts"(){ar()}}),t8e={};h(t8e,{getNavigateToItems:()=>dnt});var mnt=o({"src/services/_namespaces/ts.NavigateTo.ts"(){JRt()}});function pnt(t,u){eme=u,tK=t;try{return Kt(YRt(Dnt(t)),QRt)}finally{Ent()}}function gnt(t,u){eme=u,tK=t;try{return Snt(Dnt(t))}finally{Ent()}}function Ent(){tK=void 0,eme=void 0,iK=[],E5=void 0,tme=[]}function GX(t){return WM(t.getText(tK))}function Yfe(t){return t.node.kind}function _nt(t,u){t.children?t.children.push(u):t.children=[u]}function Dnt(t){H.assert(!iK.length);const u={node:t,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};E5=u;for(const s of t.statements)n9(s);return Gv(),H.assert(!E5&&!iK.length),u}function tb(t,u){_nt(E5,i8e(t,u))}function i8e(t,u){return{node:t,name:u||(Y1(t)||Wt(t)?$a(t):void 0),additionalNodes:void 0,parent:E5,children:void 0,indent:E5.indent+1}}function xnt(t){cw||(cw=new Map),cw.set(t,!0)}function vnt(t){for(let u=0;u0;d--){const f=s[d];ib(t,f)}return[s.length-1,s[0]]}function ib(t,u){const s=i8e(t,u);_nt(E5,s),iK.push(E5),c8e.push(cw),cw=void 0,E5=s}function Gv(){E5.children&&(Qfe(E5.children,E5),r8e(E5.children)),E5=iK.pop(),cw=c8e.pop()}function Jv(t,u,s){ib(t,s),n9(u),Gv()}function bnt(t){t.initializer&&eOt(t.initializer)?(ib(t),uo(t.initializer,n9),Gv()):Jv(t,t.initializer)}function n8e(t){const u=$a(t);if(u===void 0)return!1;if(Ns(u)){const s=u.expression;return Xl(s)||Rf(s)||Nm(s)}return!!u}function n9(t){if(eme.throwIfCancellationRequested(),!(!t||i7(t)))switch(t.kind){case 176:const u=t;Jv(u,u.body);for(const E of u.parameters)Pf(E,u)&&tb(E);break;case 174:case 177:case 178:case 173:n8e(t)&&Jv(t,t.body);break;case 172:n8e(t)&&bnt(t);break;case 171:n8e(t)&&tb(t);break;case 273:const s=t;s.name&&tb(s.name);const{namedBindings:d}=s;if(d)if(d.kind===274)tb(d);else for(const E of d.elements)tb(E);break;case 304:Jv(t,t.name);break;case 305:const{expression:f}=t;at(f)?tb(t,f):tb(t);break;case 208:case 303:case 260:{const E=t;Ao(E.name)?n9(E.name):bnt(E);break}case 262:const p=t.name;p&&at(p)&&xnt(p.text),Jv(t,t.body);break;case 219:case 218:Jv(t,t.body);break;case 266:ib(t);for(const E of t.members)XRt(E)||tb(E);Gv();break;case 263:case 231:case 264:ib(t);for(const E of t.members)n9(E);Gv();break;case 267:Jv(t,wnt(t).body);break;case 277:{const E=t.expression,v=bs(E)||Po(E)?E:J0(E)||A0(E)?E.body:void 0;v?(ib(t),n9(v),Gv()):tb(t);break}case 281:case 271:case 181:case 179:case 180:case 265:tb(t);break;case 213:case 226:{const E=Ql(t);switch(E){case 1:case 2:Jv(t,t.right);return;case 6:case 3:{const v=t,b=v.left,B=E===3?b.expression:b;let k=0,T;at(B.expression)?(xnt(B.expression.text),T=B.expression):[k,T]=Cnt(v,B.expression),E===6?bs(v.right)&&v.right.properties.length>0&&(ib(v,T),uo(v.right,n9),Gv()):A0(v.right)||J0(v.right)?Jv(t,v.right,T):(ib(v,T),Jv(t,v.right,b.name),Gv()),vnt(k);return}case 7:case 9:{const v=t,b=E===7?v.arguments[0]:v.arguments[0].expression,B=v.arguments[1],[k,T]=Cnt(t,b);ib(t,T),ib(t,Pt(q.createIdentifier(B.text),B)),n9(t.arguments[2]),Gv(),Gv(),vnt(k);return}case 5:{const v=t,b=v.left,B=b.expression;if(at(B)&&Y3(b)!=="prototype"&&cw&&cw.has(B.text)){A0(v.right)||J0(v.right)?Jv(t,v.right,B):y2(b)&&(ib(v,B),Jv(v.left,v.right,vj(b)),Gv());return}break}case 4:case 0:case 8:break;default:H.assertNever(E)}}default:sm(t)&&L(t.jsDoc,E=>{L(E.tags,v=>{K4(v)&&tb(v)})}),uo(t,n9)}}function Qfe(t,u){const s=new Map;qu(t,(d,f)=>{const p=d.name||$a(d.node),E=p&&GX(p);if(!E)return!0;const v=s.get(E);if(!v)return s.set(E,d),!0;if(v instanceof Array){for(const b of v)if(ynt(b,d,f,u))return!1;return v.push(d),!0}else{const b=v;return ynt(b,d,f,u)?!1:(s.set(E,[b,d]),!0)}})}function $Rt(t,u,s,d){function f(v){return A0(v)||Xc(v)||ra(v)}const p=eu(u.node)||Po(u.node)?Ql(u.node):0,E=eu(t.node)||Po(t.node)?Ql(t.node):0;if(GM[p]&&GM[E]||f(t.node)&&GM[p]||f(u.node)&&GM[E]||Wc(t.node)&&u8e(t.node)&&GM[p]||Wc(u.node)&&GM[E]||Wc(t.node)&&u8e(t.node)&&f(u.node)||Wc(u.node)&&f(t.node)&&u8e(t.node)){let v=t.additionalNodes&&Zu(t.additionalNodes)||t.node;if(!Wc(t.node)&&!Wc(u.node)||f(t.node)||f(u.node)){const B=f(t.node)?t.node:f(u.node)?u.node:void 0;if(B!==void 0){const k=Pt(q.createConstructorDeclaration(void 0,[],void 0),B),T=i8e(k);T.indent=t.indent+1,T.children=t.node===B?t.children:u.children,t.children=t.node===B?an([T],u.children||[u]):an(t.children||[{...t}],[T])}else(t.children||u.children)&&(t.children=an(t.children||[{...t}],u.children||[u]),t.children&&(Qfe(t.children,t),r8e(t.children)));v=t.node=Pt(q.createClassDeclaration(void 0,t.name||q.createIdentifier("__class__"),void 0,void 0,[]),t.node)}else t.children=an(t.children,u.children),t.children&&Qfe(t.children,t);const b=u.node;return d.children[s-1].node.end===v.end?Pt(v,{pos:v.pos,end:b.end}):(t.additionalNodes||(t.additionalNodes=[]),t.additionalNodes.push(Pt(q.createClassDeclaration(void 0,t.name||q.createIdentifier("__class__"),void 0,void 0,[]),u.node))),!0}return p!==0}function ynt(t,u,s,d){return $Rt(t,u,s,d)?!0:URt(t.node,u.node,d)?(qRt(t,u),!0):!1}function URt(t,u,s){if(t.kind!==u.kind||t.parent!==u.parent&&!(knt(t,s)&&knt(u,s)))return!1;switch(t.kind){case 172:case 174:case 177:case 178:return Lo(t)===Lo(u);case 267:return Fnt(t,u)&&s8e(t)===s8e(u);default:return!0}}function u8e(t){return!!(t.flags&16)}function knt(t,u){const s=uE(t.parent)?t.parent.parent:t.parent;return s===u.node||Ft(u.additionalNodes,s)}function Fnt(t,u){return!t.body||!u.body?t.body===u.body:t.body.kind===u.body.kind&&(t.body.kind!==267||Fnt(t.body,u.body))}function qRt(t,u){t.additionalNodes=t.additionalNodes||[],t.additionalNodes.push(u.node),u.additionalNodes&&t.additionalNodes.push(...u.additionalNodes),t.children=an(t.children,u.children),t.children&&(Qfe(t.children,t),r8e(t.children))}function r8e(t){t.sort(ZRt)}function ZRt(t,u){return fO(Ant(t.node),Ant(u.node))||nl(Yfe(t),Yfe(u))}function Ant(t){if(t.kind===267)return Bnt(t);const u=$a(t);if(u&&Ac(u)){const s=ak(u);return s&&Qr(s)}switch(t.kind){case 218:case 219:case 231:return Lnt(t);default:return}}function a8e(t,u){if(t.kind===267)return WM(Bnt(t));if(u){const s=at(u)?u.text:G0(u)?`[${GX(u.argumentExpression)}]`:GX(u);if(s.length>0)return WM(s)}switch(t.kind){case 312:const s=t;return Bc(s)?`"${kv(Fc(Eh(Jo(s.fileName))))}"`:"";case 277:return ec(t)&&t.isExportEquals?"export=":"default";case 219:case 262:case 218:case 263:case 231:return Ix(t)&2048?"default":Lnt(t);case 176:return"constructor";case 180:return"new()";case 179:return"()";case 181:return"[]";default:return""}}function YRt(t){const u=[];function s(f){if(d(f)&&(u.push(f),f.children))for(const p of f.children)s(p)}return s(t),u;function d(f){if(f.children)return!0;switch(Yfe(f)){case 263:case 231:case 266:case 264:case 267:case 312:case 265:case 353:case 345:return!0;case 219:case 262:case 218:return p(f);default:return!1}function p(E){if(!E.node.body)return!1;switch(Yfe(E.parent)){case 268:case 312:case 174:case 176:return!0;default:return!1}}}}function Snt(t){return{text:a8e(t.node,t.name),kind:Q2(t.node),kindModifiers:Tnt(t.node),spans:o8e(t),nameSpan:t.name&&l8e(t.name),childItems:Kt(t.children,Snt)}}function QRt(t){return{text:a8e(t.node,t.name),kind:Q2(t.node),kindModifiers:Tnt(t.node),spans:o8e(t),childItems:Kt(t.children,u)||tme,indent:t.indent,bolded:!1,grayed:!1};function u(s){return{text:a8e(s.node,s.name),kind:Q2(s.node),kindModifiers:LM(s.node),spans:o8e(s),childItems:tme,indent:0,bolded:!1,grayed:!1}}}function o8e(t){const u=[l8e(t.node)];if(t.additionalNodes)for(const s of t.additionalNodes)u.push(l8e(s));return u}function Bnt(t){return L1(t)?Hc(t.name):s8e(t)}function s8e(t){const u=[W4(t.name)];for(;t.body&&t.body.kind===267;)t=t.body,u.push(W4(t.name));return u.join(".")}function wnt(t){return t.body&&Ec(t.body)?wnt(t.body):t}function XRt(t){return!t.name||t.name.kind===167}function l8e(t){return t.kind===312?Ux(t):af(t,tK)}function Tnt(t){return t.parent&&t.parent.kind===260&&(t=t.parent),LM(t)}function Lnt(t){const{parent:u}=t;if(t.name&&ej(t.name)>0)return WM(C0(t.name));if(ra(u))return WM(C0(u.name));if(eu(u)&&u.operatorToken.kind===64)return GX(u.left).replace(Pnt,"");if(Jc(u))return GX(u.name);if(Ix(t)&2048)return"default";if(gr(t))return"";if(Po(u)){let s=Nnt(u.expression);if(s!==void 0){if(s=WM(s),s.length>Xfe)return`${s} callback`;const d=WM(Si(u.arguments,f=>t0(f)?f.getText(tK):void 0).join(", "));return`${s}(${d}) callback`}}return""}function Nnt(t){if(at(t))return t.text;if(zu(t)){const u=Nnt(t.expression),s=t.name.text;return u===void 0?s:`${u}.${s}`}else return}function eOt(t){switch(t.kind){case 219:case 218:case 231:return!0;default:return!1}}function WM(t){return t=t.length>Xfe?t.substring(0,Xfe)+"...":t,t.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}var Pnt,Xfe,eme,tK,iK,E5,c8e,cw,tme,GM,tOt=o({"src/services/navigationBar.ts"(){ar(),Pnt=/\s+/g,Xfe=150,iK=[],c8e=[],tme=[],GM={5:!0,3:!0,7:!0,9:!0,0:!1,1:!1,2:!1,8:!1,6:!0,4:!1}}}),d8e={};h(d8e,{getNavigationBarItems:()=>pnt,getNavigationTree:()=>gnt});var Mnt=o({"src/services/_namespaces/ts.NavigationBar.ts"(){tOt()}});function o3(t,u){ime.set(t,u)}function iOt(t,u){return ga(Vn(ime.values(),s=>{var d;return t.cancellationToken&&t.cancellationToken.isCancellationRequested()||!((d=s.kinds)!=null&&d.some(f=>$v(f,t.kind)))?void 0:s.getAvailableActions(t,u)}))}function nOt(t,u,s,d){const f=ime.get(u);return f&&f.getEditsForAction(t,s,d)}var ime,znt=o({"src/services/refactorProvider.ts"(){ar(),o_(),ime=new Map}});function Int(t,u=!0){const{file:s,program:d}=t,f=i9(t),p=Ca(s,f.start),E=p.parent&&Ix(p.parent)&32&&u?p.parent:WH(p,s,f);if(!E||!ca(E.parent)&&!(uE(E.parent)&&L1(E.parent.parent)))return{error:Ya(F.Could_not_find_export_statement)};const v=d.getTypeChecker(),b=lOt(E.parent,v),B=Ix(E)||(ec(E)&&!E.isExportEquals?2080:0),k=!!(B&2048);if(!(B&32)||!k&&b.exports.has("default"))return{error:Ya(F.This_file_already_has_a_default_export)};const T=M=>at(M)&&v.getSymbolAtLocation(M)?void 0:{error:Ya(F.Can_only_convert_named_export)};switch(E.kind){case 262:case 263:case 264:case 266:case 265:case 267:{const M=E;return M.name?T(M.name)||{exportNode:M,exportName:M.name,wasDefault:k,exportingModuleSymbol:b}:void 0}case 243:{const M=E;if(!(M.declarationList.flags&2)||M.declarationList.declarations.length!==1)return;const z=Pn(M.declarationList.declarations);return z.initializer?(H.assert(!k,"Can't have a default flag here"),T(z.name)||{exportNode:M,exportName:z.name,wasDefault:k,exportingModuleSymbol:b}):void 0}case 277:{const M=E;return M.isExportEquals?void 0:T(M.expression)||{exportNode:M,exportName:M.expression,wasDefault:k,exportingModuleSymbol:b}}default:return}}function uOt(t,u,s,d,f){rOt(t,s,d,u.getTypeChecker()),aOt(u,s,d,f)}function rOt(t,{wasDefault:u,exportNode:s,exportName:d},f,p){if(u)if(ec(s)&&!s.isExportEquals){const E=s.expression,v=Rnt(E.text,E.text);f.replaceNode(t,s,q.createExportDeclaration(void 0,!1,q.createNamedExports([v])))}else f.delete(t,H.checkDefined(rw(s,90),"Should find a default keyword in modifier list"));else{const E=H.checkDefined(rw(s,95),"Should find an export keyword in modifier list");switch(s.kind){case 262:case 263:case 264:f.insertNodeAfter(t,E,q.createToken(90));break;case 243:const v=Pn(s.declarationList.declarations);if(!$0.Core.isSymbolReferencedInFile(d,p,t)&&!v.type){f.replaceNode(t,s,q.createExportDefault(H.checkDefined(v.initializer,"Initializer was previously known to be present")));break}case 266:case 265:case 267:f.deleteModifier(t,E),f.insertNodeAfter(t,s,q.createExportDefault(q.createIdentifier(d.text)));break;default:H.fail(`Unexpected exportNode kind ${s.kind}`)}}}function aOt(t,{wasDefault:u,exportName:s,exportingModuleSymbol:d},f,p){const E=t.getTypeChecker(),v=H.checkDefined(E.getSymbolAtLocation(s),"Export name should resolve to a symbol");$0.Core.eachExportReference(t.getSourceFiles(),E,p,v,d,s.text,u,b=>{if(s===b)return;const B=b.getSourceFile();u?oOt(B,b,f,s.text):sOt(B,b,f)})}function oOt(t,u,s,d){const{parent:f}=u;switch(f.kind){case 211:s.replaceNode(t,u,q.createIdentifier(d));break;case 276:case 281:{const E=f;s.replaceNode(t,E,h8e(d,E.name.text));break}case 273:{const E=f;H.assert(E.name===u,"Import clause name should match provided ref");const v=h8e(d,u.text),{namedBindings:b}=E;if(!b)s.replaceNode(t,u,q.createNamedImports([v]));else if(b.kind===274){s.deleteRange(t,{pos:u.getStart(t),end:b.getStart(t)});const B=us(E.parent.moduleSpecifier)?rfe(E.parent.moduleSpecifier,t):1,k=p5(void 0,[h8e(d,u.text)],E.parent.moduleSpecifier,B);s.insertNodeAfter(t,E.parent,k)}else s.delete(t,u),s.insertNodeAtEndOfList(t,b.elements,v);break}case 205:const p=f;s.replaceNode(t,f,q.createImportTypeNode(p.argument,p.attributes,q.createIdentifier(d),p.typeArguments,p.isTypeOf));break;default:H.failBadSyntaxKind(f)}}function sOt(t,u,s){const d=u.parent;switch(d.kind){case 211:s.replaceNode(t,u,q.createIdentifier("default"));break;case 276:{const f=q.createIdentifier(d.name.text);d.parent.elements.length===1?s.replaceNode(t,d.parent,f):(s.delete(t,d),s.insertNodeBefore(t,d.parent,f));break}case 281:{s.replaceNode(t,d,Rnt("default",d.name.text));break}default:H.assertNever(d,`Unexpected parent kind ${d.kind}`)}}function h8e(t,u){return q.createImportSpecifier(!1,t===u?void 0:q.createIdentifier(t),q.createIdentifier(u))}function Rnt(t,u){return q.createExportSpecifier(!1,t===u?void 0:q.createIdentifier(t),q.createIdentifier(u))}function lOt(t,u){if(ca(t))return t.symbol;const s=t.parent.symbol;return s.valueDeclaration&&_2(s.valueDeclaration)?u.getMergedSymbol(s):s}var nme,JX,$X,cOt=o({"src/services/refactors/convertExport.ts"(){ar(),o_(),nme="Convert export",JX={name:"Convert default export to named export",description:Ya(F.Convert_default_export_to_named_export),kind:"refactor.rewrite.export.named"},$X={name:"Convert named export to default export",description:Ya(F.Convert_named_export_to_default_export),kind:"refactor.rewrite.export.default"},o3(nme,{kinds:[JX.kind,$X.kind],getAvailableActions:function(u){const s=Int(u,u.triggerReason==="invoked");if(!s)return _t;if(!oD(s)){const d=s.wasDefault?JX:$X;return[{name:nme,description:d.description,actions:[d]}]}return u.preferences.provideRefactorNotApplicableReason?[{name:nme,description:Ya(F.Convert_default_export_to_named_export),actions:[{...JX,notApplicableReason:s.error},{...$X,notApplicableReason:s.error}]}]:_t},getEditsForAction:function(u,s){H.assert(s===JX.name||s===$X.name,"Unexpected action name");const d=Int(u);return H.assert(d&&!oD(d),"Expected applicable refactor info"),{edits:iu.ChangeTracker.with(u,p=>uOt(u.file,u.program,d,p,u.cancellationToken)),renameFilename:void 0,renameLocation:void 0}}})}});function Ont(t,u=!0){const{file:s}=t,d=i9(t),f=Ca(s,d.start),p=u?Tn(f,Ad):WH(f,s,d);if(!p||!Ad(p))return{error:"Selection is not an import declaration."};const E=d.start+d.length,v=X2(p,p.parent,s);if(v&&E>v.getStart())return;const{importClause:b}=p;return b?b.namedBindings?b.namedBindings.kind===274?{convertTo:0,import:b.namedBindings}:jnt(t.program,b)?{convertTo:1,import:b.namedBindings}:{convertTo:2,import:b.namedBindings}:{error:Ya(F.Could_not_find_namespace_import_or_named_imports)}:{error:Ya(F.Could_not_find_import_clause)}}function jnt(t,u){return x7(t.getCompilerOptions())&&mOt(u.parent.moduleSpecifier,t.getTypeChecker())}function dOt(t,u,s,d){const f=u.getTypeChecker();d.convertTo===0?hOt(t,f,s,d.import,x7(u.getCompilerOptions())):Hnt(t,u,s,d.import,d.convertTo===1)}function hOt(t,u,s,d,f){let p=!1;const E=[],v=new Map;$0.Core.eachSymbolReferenceInFile(d.name,u,t,T=>{if(!rbe(T.parent))p=!0;else{const M=Vnt(T.parent).text;u.resolveName(M,T,67108863,!0)&&v.set(M,!0),H.assert(fOt(T.parent)===T,"Parent expression should match id"),E.push(T.parent)}});const b=new Map;for(const T of E){const M=Vnt(T).text;let z=b.get(M);z===void 0&&b.set(M,z=v.has(M)?Ik(M,t):M),s.replaceNode(t,T,q.createIdentifier(z))}const B=[];b.forEach((T,M)=>{B.push(q.createImportSpecifier(!1,T===M?void 0:q.createIdentifier(M),q.createIdentifier(T)))});const k=d.parent.parent;p&&!f?s.insertNodeAfter(t,k,f8e(k,void 0,B)):s.replaceNode(t,k,f8e(k,p?q.createIdentifier(d.name.text):void 0,B))}function Vnt(t){return zu(t)?t.name:t.right}function fOt(t){return zu(t)?t.expression:t.left}function Hnt(t,u,s,d,f=jnt(u,d.parent)){const p=u.getTypeChecker(),E=d.parent.parent,{moduleSpecifier:v}=E,b=new Set;d.elements.forEach(j=>{const J=p.getSymbolAtLocation(j.name);J&&b.add(J)});const B=v&&us(v)?M1.moduleSpecifierToValidIdentifier(v.text,99):"module";function k(j){return!!$0.Core.eachSymbolReferenceInFile(j.name,p,t,J=>{const K=p.resolveName(B,J,67108863,!0);return K?b.has(K)?X1(J.parent):!0:!1})}const M=d.elements.some(k)?Ik(B,t):B,z=new Set;for(const j of d.elements){const J=(j.propertyName||j.name).text;$0.Core.eachSymbolReferenceInFile(j.name,p,t,K=>{const Y=q.createPropertyAccessExpression(q.createIdentifier(M),J);mm(K.parent)?s.replaceNode(t,K.parent,q.createPropertyAssignment(K.text,Y)):X1(K.parent)?z.add(j):s.replaceNode(t,K,Y)})}if(s.replaceNode(t,d,f?q.createIdentifier(M):q.createNamespaceImport(q.createIdentifier(M))),z.size){const j=ga(z.values(),J=>q.createImportSpecifier(J.isTypeOnly,J.propertyName&&q.createIdentifier(J.propertyName.text),q.createIdentifier(J.name.text)));s.insertNodeAfter(t,d.parent.parent,f8e(E,void 0,j))}}function mOt(t,u){const s=u.resolveExternalModuleName(t);if(!s)return!1;const d=u.resolveExternalModuleSymbol(s);return s!==d}function f8e(t,u,s){return q.createImportDeclaration(void 0,q.createImportClause(!1,u,s&&s.length?q.createNamedImports(s):void 0),t.moduleSpecifier,void 0)}var ume,UX,pOt=o({"src/services/refactors/convertImport.ts"(){ar(),o_(),ume="Convert import",UX={0:{name:"Convert namespace import to named imports",description:Ya(F.Convert_namespace_import_to_named_imports),kind:"refactor.rewrite.import.named"},2:{name:"Convert named imports to namespace import",description:Ya(F.Convert_named_imports_to_namespace_import),kind:"refactor.rewrite.import.namespace"},1:{name:"Convert named imports to default import",description:Ya(F.Convert_named_imports_to_default_import),kind:"refactor.rewrite.import.default"}},o3(ume,{kinds:$1(UX).map(t=>t.kind),getAvailableActions:function(u){const s=Ont(u,u.triggerReason==="invoked");if(!s)return _t;if(!oD(s)){const d=UX[s.convertTo];return[{name:ume,description:d.description,actions:[d]}]}return u.preferences.provideRefactorNotApplicableReason?$1(UX).map(d=>({name:ume,description:d.description,actions:[{...d,notApplicableReason:s.error}]})):_t},getEditsForAction:function(u,s){H.assert(Ge($1(UX),p=>p.name===s),"Unexpected action name");const d=Ont(u);return H.assert(d&&!oD(d),"Expected applicable refactor info"),{edits:iu.ChangeTracker.with(u,p=>dOt(u.file,u.program,p,d)),renameFilename:void 0,renameLocation:void 0}}})}});function Knt(t,u=!0){const{file:s,startPosition:d}=t,f=ph(s),p=Ca(s,d),E=dX(i9(t)),v=E.pos===E.end&&u,b=tX(p,s,E.pos,E.end),B=Tn(p,Y=>Y.parent&&Xr(Y)&&!nb(E,Y.parent,s)&&(v||b));if(!B||!Xr(B))return{error:Ya(F.Selection_is_not_a_valid_type_node)};const k=t.program.getTypeChecker(),T=xOt(B,f);if(T===void 0)return{error:Ya(F.No_type_could_be_extracted_from_this_type_node)};const M=vOt(B,T);if(!Xr(M))return{error:Ya(F.Selection_is_not_a_valid_type_node)};const z=[];(Lv(M.parent)||bB(M.parent))&&E.end>B.end&&yn(z,M.parent.types.filter(Y=>tX(Y,s,E.pos,E.end)));const j=z.length>1?z:M,J=gOt(k,j,T,s);if(!J)return{error:Ya(F.No_type_could_be_extracted_from_this_type_node)};const K=rme(k,j);return{isJS:f,selection:j,enclosingNode:T,typeParameters:J,typeElements:K}}function rme(t,u){if(u){if(ja(u)){const s=[];for(const d of u){const f=rme(t,d);if(!f)return;yn(s,f)}return s}if(bB(u)){const s=[],d=new Map;for(const f of u.types){const p=rme(t,f);if(!p||!p.every(E=>E.name&&Pp(d,HH(E.name))))return;yn(s,p)}return s}else{if(N7(u))return rme(t,u.type);if(hm(u))return u.members}}}function nb(t,u,s){return MH(t,ps(s.text,u.pos),u.end)}function gOt(t,u,s,d){const f=[],p=qA(u),E={pos:p[0].pos,end:p[p.length-1].end};for(const b of p)if(v(b))return;return f;function v(b){if(Y4(b)){if(at(b.typeName)){const B=b.typeName,k=t.resolveName(B.text,B,262144,!0);for(const T of(k==null?void 0:k.declarations)||_t)if(Bl(T)&&T.getSourceFile()===d){if(T.name.escapedText===B.escapedText&&nb(T,E,d))return!0;if(nb(s,T,d)&&!nb(E,T,d)){xa(f,T);break}}}}else if(L7(b)){const B=Tn(b,k=>yB(k)&&nb(k.extendsType,b,d));if(!B||!nb(E,B,d))return!0}else if(iY(b)||uY(b)){const B=Tn(b.parent,xo);if(B&&B.type&&nb(B.type,b,d)&&!nb(E,B,d))return!0}else if(vB(b)){if(at(b.exprName)){const B=t.resolveName(b.exprName.text,b.exprName,111551,!1);if(B!=null&&B.valueDeclaration&&nb(s,B.valueDeclaration,d)&&!nb(E,B.valueDeclaration,d))return!0}else if(w2(b.exprName.left)&&!nb(E,b.parent,d))return!0}return d&&CB(b)&&o0(d,b.pos).line===o0(d,b.end).line&&Yn(b,1),uo(b,v)}}function EOt(t,u,s,d){const{enclosingNode:f,typeParameters:p}=d,{firstTypeNode:E,lastTypeNode:v,newTypeNode:b}=m8e(d),B=q.createTypeAliasDeclaration(void 0,s,p.map(k=>q.updateTypeParameterDeclaration(k,k.modifiers,k.name,k.constraint,void 0)),b);t.insertNodeBefore(u,f,lce(B),!0),t.replaceNodeRange(u,E,v,q.createTypeReferenceNode(s,p.map(k=>q.createTypeReferenceNode(k.name,void 0))),{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.ExcludeWhitespace})}function _Ot(t,u,s,d){var f;const{enclosingNode:p,typeParameters:E,typeElements:v}=d,b=q.createInterfaceDeclaration(void 0,s,E,void 0,v);Pt(b,(f=v[0])==null?void 0:f.parent),t.insertNodeBefore(u,p,lce(b),!0);const{firstTypeNode:B,lastTypeNode:k}=m8e(d);t.replaceNodeRange(u,B,k,q.createTypeReferenceNode(s,E.map(T=>q.createTypeReferenceNode(T.name,void 0))),{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.ExcludeWhitespace})}function DOt(t,u,s,d,f){var p;qA(f.selection).forEach(j=>{Yn(j,7168)});const{enclosingNode:E,typeParameters:v}=f,{firstTypeNode:b,lastTypeNode:B,newTypeNode:k}=m8e(f),T=q.createJSDocTypedefTag(q.createIdentifier("typedef"),q.createJSDocTypeExpression(k),q.createIdentifier(d)),M=[];L(v,j=>{const J=S8(j),K=q.createTypeParameterDeclaration(void 0,j.name),Y=q.createJSDocTemplateTag(q.createIdentifier("template"),J&&No(J,bk),[K]);M.push(Y)});const z=q.createJSDocComment(void 0,q.createNodeArray(an(M,[T])));if(Rp(E)){const j=E.getStart(s),J=g5(u.host,(p=u.formatContext)==null?void 0:p.options);t.insertNodeAt(s,E.getStart(s),z,{suffix:J+J+s.text.slice(CX(s.text,j-1),j)})}else t.insertNodeBefore(s,E,z,!0);t.replaceNodeRange(s,b,B,q.createTypeReferenceNode(d,v.map(j=>q.createTypeReferenceNode(j.name,void 0))))}function m8e(t){return ja(t.selection)?{firstTypeNode:t.selection[0],lastTypeNode:t.selection[t.selection.length-1],newTypeNode:Lv(t.selection[0].parent)?q.createUnionTypeNode(t.selection):q.createIntersectionTypeNode(t.selection)}:{firstTypeNode:t.selection,lastTypeNode:t.selection,newTypeNode:t.selection}}function xOt(t,u){return Tn(t,ua)||(u?Tn(t,Rp):void 0)}function vOt(t,u){return Tn(t,s=>s===u?"quit":!!(Lv(s.parent)||bB(s.parent)))??t}var ame,qX,ZX,YX,COt=o({"src/services/refactors/extractType.ts"(){ar(),o_(),ame="Extract type",qX={name:"Extract to type alias",description:Ya(F.Extract_to_type_alias),kind:"refactor.extract.type"},ZX={name:"Extract to interface",description:Ya(F.Extract_to_interface),kind:"refactor.extract.interface"},YX={name:"Extract to typedef",description:Ya(F.Extract_to_typedef),kind:"refactor.extract.typedef"},o3(ame,{kinds:[qX.kind,ZX.kind,YX.kind],getAvailableActions:function(u){const s=Knt(u,u.triggerReason==="invoked");return s?oD(s)?u.preferences.provideRefactorNotApplicableReason?[{name:ame,description:Ya(F.Extract_type),actions:[{...YX,notApplicableReason:s.error},{...qX,notApplicableReason:s.error},{...ZX,notApplicableReason:s.error}]}]:_t:[{name:ame,description:Ya(F.Extract_type),actions:s.isJS?[YX]:Ei([qX],s.typeElements&&ZX)}]:_t},getEditsForAction:function(u,s){const{file:d}=u,f=Knt(u);H.assert(f&&!oD(f),"Expected to find a range to extract");const p=Ik("NewType",d),E=iu.ChangeTracker.with(u,B=>{switch(s){case qX.name:return H.assert(!f.isJS,"Invalid actionName/JS combo"),EOt(B,d,p,f);case YX.name:return H.assert(f.isJS,"Invalid actionName/JS combo"),DOt(B,u,d,p,f);case ZX.name:return H.assert(!f.isJS&&!!f.typeElements,"Invalid actionName/JS combo"),_Ot(B,d,p,f);default:H.fail("Unexpected action name")}}),v=d.fileName,b=$H(E,v,p,!1);return{edits:E,renameFilename:v,renameLocation:b}}})}});function oD(t){return t.error!==void 0}function $v(t,u){return u?t.substr(0,u.length)===u:!0}var bOt=o({"src/services/refactors/helpers.ts"(){}});function Wnt(t,u,s,d){var f,p;const E=d.getTypeChecker(),v=rf(t,u),b=v.parent;if(at(v)){if(Uj(b)&&UN(b)&&at(b.name)){if(((f=E.getMergedSymbol(b.symbol).declarations)==null?void 0:f.length)!==1)return{error:Ya(F.Variables_with_multiple_declarations_cannot_be_inlined)};if(Gnt(b))return;const B=Jnt(b,E,t);return B&&{references:B,declaration:b,replacement:b.initializer}}if(s){let B=E.resolveName(v.text,v,111551,!1);if(B=B&&E.getMergedSymbol(B),((p=B==null?void 0:B.declarations)==null?void 0:p.length)!==1)return{error:Ya(F.Variables_with_multiple_declarations_cannot_be_inlined)};const k=B.declarations[0];if(!Uj(k)||!UN(k)||!at(k.name)||Gnt(k))return;const T=Jnt(k,E,t);return T&&{references:T,declaration:k,replacement:k.initializer}}return{error:Ya(F.Could_not_find_variable_to_inline)}}}function Gnt(t){const u=No(t.parent.parent,Gl);return Ge(u.modifiers,w7)}function Jnt(t,u,s){const d=[],f=$0.Core.eachSymbolReferenceInFile(t.name,u,s,p=>{if($0.isWriteAccessForReference(p)||X1(p.parent)||ec(p.parent)||vB(p.parent)||MO(t,p.pos))return!0;d.push(p)});return d.length===0||f?void 0:d}function yOt(t,u){u=ll(u);const{parent:s}=t;return Wt(s)&&(sP(u){for(const T of E)k.replaceNode(s,T,yOt(T,b));k.delete(s,v)})}}})}});function FOt(t,u,s,d,f,p,E){const v=u.getTypeChecker(),b=eee(t,s.all,v),B=k8e(t,u,E,f);d.createNewFile(t,B,AOt(t,b,d,s,u,f,B,p)),p8e(u,d,t.fileName,B,i5(f))}function AOt(t,u,s,d,f,p,E,v){const b=f.getTypeChecker(),B=Y$(t.statements,Lp);if(t.externalModuleIndicator===void 0&&t.commonJsModuleIndicator===void 0&&u.oldImportsNeededByTargetFile.size===0)return QX(t,d.ranges,s),[...B,...d.all];const k=!Sfe(E,f,p,!!t.commonJsModuleIndicator),T=Vm(t,v),M=D8e(t,u.oldFileImportsFromTargetFile,E,f,p,k,T);M&&PM(s,t,M,!0,v),g8e(t,d.all,s,u.unusedImportsFromOldFile,b),QX(t,d.ranges,s),E8e(s,f,p,t,u.movedSymbols,E,T);const z=SOt(t,u.oldImportsNeededByTargetFile,u.targetFileImportsFromOldFile,s,b,f,p,k,T),j=x8e(t,d.all,u.oldFileImportsFromTargetFile,k);return z.length&&j.length?[...B,...z,4,...j]:[...B,...z,...j]}function SOt(t,u,s,d,f,p,E,v,b){const B=[];for(const z of t.statements)aK(z,j=>{Ei(B,oK(j,rK(j),J=>u.has(f.getSymbolAtLocation(J))))});let k;const T=[],M=e9();return s.forEach(z=>{if(z.declarations)for(const j of z.declarations){if(!tee(j))continue;const J=b8e(j);if(!J)continue;const K=dme(j);M(K)&&y8e(t,K,J,d,v),Qu(j,2048)?k=J:T.push(J.text)}}),Ei(B,XX(t,k,T,Fc(t.fileName),p,E,v,b)),B}var uK,lme,cme,BOt=o({"src/services/refactors/moveToNewFile.ts"(){ar(),o_(),uK="Move to a new file",lme=Ya(F.Move_to_a_new_file),cme={name:uK,description:lme,kind:"refactor.move.newFile"},o3(uK,{kinds:[cme.kind],getAvailableActions:function(u){const s=sK(u);return u.preferences.allowTextChangesInNewFiles&&s?[{name:uK,description:lme,actions:[cme]}]:u.preferences.provideRefactorNotApplicableReason?[{name:uK,description:lme,actions:[{...cme,notApplicableReason:Ya(F.Selection_is_not_a_valid_statement_or_statements)}]}]:_t},getEditsForAction:function(u,s){H.assert(s===uK,"Wrong refactor invoked");const d=H.checkDefined(sK(u));return{edits:iu.ChangeTracker.with(u,p=>FOt(u.file,u.program,d,p,u.host,u.preferences,u)),renameFilename:void 0,renameLocation:void 0}}})}});function $nt(t){return{edits:[],renameFilename:void 0,renameLocation:void 0,notApplicableReason:t}}function wOt(t,u,s,d,f,p,E,v){const b=d.getTypeChecker();if(!E.fileExists(s))p.createNewFile(u,s,Unt(u,s,eee(u,f.all,b),p,f,d,E,v)),p8e(d,p,u.fileName,s,i5(E));else{const B=H.checkDefined(d.getSourceFile(s)),k=M1.createImportAdder(B,t.program,t.preferences,t.host);Unt(u,B,eee(u,f.all,b,qOt(B,b)),p,f,d,E,v,k)}}function Unt(t,u,s,d,f,p,E,v,b){const B=p.getTypeChecker(),k=Y$(t.statements,Lp);if(t.externalModuleIndicator===void 0&&t.commonJsModuleIndicator===void 0&&s.oldImportsNeededByTargetFile.size===0&&s.targetFileImportsFromOldFile.size===0&&typeof u=="string")return QX(t,f.ranges,d),[...k,...f.all];const T=typeof u=="string"?u:u.fileName,M=!Sfe(T,p,E,!!t.commonJsModuleIndicator),z=Vm(t,v),j=D8e(t,s.oldFileImportsFromTargetFile,T,p,E,M,z);j&&PM(d,t,j,!0,v),g8e(t,f.all,d,s.unusedImportsFromOldFile,B),QX(t,f.ranges,d),E8e(d,p,E,t,s.movedSymbols,T,z);const J=TOt(t,T,s.oldImportsNeededByTargetFile,s.targetFileImportsFromOldFile,d,B,p,E,M,z,b),K=x8e(t,f.all,s.oldFileImportsFromTargetFile,M);return typeof u!="string"&&(u.statements.length>0?UOt(d,p,K,u,f):d.insertNodesAtEndOfFile(u,K,!1),J.length>0&&PM(d,u,J,!0,v)),b&&b.writeFixes(d,z),J.length&&K.length?[...k,...J,4,...K]:[...k,...J,...K]}function TOt(t,u,s,d,f,p,E,v,b,B,k){const T=[];if(k)s.forEach((K,Y)=>{try{k.addImportFromExportedSymbol(Q1(Y,p),K)}catch{for(const oe of t.statements)aK(oe,se=>{Ei(T,oK(se,q.createStringLiteral(rK(se).text),ge=>s.has(p.getSymbolAtLocation(ge))))})}});else{const K=E.getSourceFile(u);for(const Y of t.statements)aK(Y,oe=>{var se;const ge=rK(oe),ae=E.getResolvedModule(t,ge.text,_g(t,ge)),Ce=(se=ae==null?void 0:ae.resolvedModule)==null?void 0:se.resolvedFileName;if(Ce&&K){const ne=GY(E.getCompilerOptions(),K,K.path,Ce,Mk(E,v));Ei(T,oK(oe,t9(ne,B),ve=>s.has(p.getSymbolAtLocation(ve))))}else Ei(T,oK(oe,q.createStringLiteral(rK(oe).text),ne=>s.has(p.getSymbolAtLocation(ne))))})}const M=E.getSourceFile(u);let z;const j=[],J=e9();return d.forEach(K=>{if(K.declarations)for(const Y of K.declarations){if(!tee(Y))continue;const oe=b8e(Y);if(!oe)continue;const se=dme(Y);J(se)&&y8e(t,se,oe,f,b),k&&p.isUnknownSymbol(K)?k.addImportFromExportedSymbol(Q1(K,p)):Qu(Y,2048)?z=oe:j.push(oe.text)}}),M?Ei(T,XX(M,z,j,t.fileName,E,v,b,B)):Ei(T,XX(t,z,j,t.fileName,E,v,b,B))}function p8e(t,u,s,d,f){const p=t.getCompilerOptions().configFile;if(!p)return;const E=Jo(dr(s,"..",d)),v=FO(p.fileName,E,f),b=p.statements[0]&&rr(p.statements[0].expression,bs),B=b&&Le(b.properties,k=>Jc(k)&&us(k.name)&&k.name.text==="files");B&&_h(B.initializer)&&u.insertNodeInListAfter(p,Cr(B.initializer.elements),q.createStringLiteral(v),B.initializer.elements)}function QX(t,u,s){for(const{first:d,afterLast:f}of u)s.deleteNodeRangeExcludingEnd(t,d,f)}function g8e(t,u,s,d,f){for(const p of t.statements)Ft(u,p)||aK(p,E=>v8e(t,E,s,v=>d.has(f.getSymbolAtLocation(v))))}function E8e(t,u,s,d,f,p,E){const v=u.getTypeChecker();for(const b of u.getSourceFiles())if(b!==d)for(const B of b.statements)aK(B,k=>{if(v.getSymbolAtLocation(rK(k))!==d.symbol)return;const T=K=>{const Y=Os(K.parent)?_X(v,K.parent):Q1(v.getSymbolAtLocation(K),v);return!!Y&&f.has(Y)};v8e(b,k,t,T);const M=yx(cr(d.path),p),z=GY(u.getCompilerOptions(),b,b.path,M,Mk(u,s)),j=oK(k,t9(z,E),T);j&&t.insertNodeAfter(b,B,j);const J=LOt(k);J&&NOt(t,b,v,f,z,J,k,E)})}function LOt(t){switch(t.kind){case 272:return t.importClause&&t.importClause.namedBindings&&t.importClause.namedBindings.kind===274?t.importClause.namedBindings.name:void 0;case 271:return t.name;case 260:return rr(t.name,at);default:return H.assertNever(t,`Unexpected node kind ${t.kind}`)}}function NOt(t,u,s,d,f,p,E,v){const b=M1.moduleSpecifierToValidIdentifier(f,99);let B=!1;const k=[];if($0.Core.eachSymbolReferenceInFile(p,s,u,T=>{zu(T.parent)&&(B=B||!!s.resolveName(b,T,67108863,!0),d.has(s.getSymbolAtLocation(T.parent.name))&&k.push(T))}),k.length){const T=B?Ik(b,u):b;for(const M of k)t.replaceNode(u,M,q.createIdentifier(T));t.insertNodeAfter(u,E,POt(E,b,f,v))}}function POt(t,u,s,d){const f=q.createIdentifier(u),p=t9(s,d);switch(t.kind){case 272:return q.createImportDeclaration(void 0,q.createImportClause(!1,void 0,q.createNamespaceImport(f)),p,void 0);case 271:return q.createImportEqualsDeclaration(void 0,!1,f,q.createExternalModuleReference(p));case 260:return q.createVariableDeclaration(f,void 0,void 0,_8e(p));default:return H.assertNever(t,`Unexpected node kind ${t.kind}`)}}function _8e(t){return q.createCallExpression(q.createIdentifier("require"),void 0,[t])}function rK(t){return t.kind===272?t.moduleSpecifier:t.kind===271?t.moduleReference.expression:t.initializer.arguments[0]}function aK(t,u){if(Ad(t))us(t.moduleSpecifier)&&u(t);else if(g1(t))u_(t.moduleReference)&&t0(t.moduleReference.expression)&&u(t);else if(Gl(t))for(const s of t.declarationList.declarations)s.initializer&&Df(s.initializer,!0)&&u(s)}function D8e(t,u,s,d,f,p,E){let v;const b=[];return u.forEach(B=>{B.escapedName==="default"?v=q.createIdentifier(pX(B)):b.push(B.name)}),XX(t,v,b,s,d,f,p,E)}function XX(t,u,s,d,f,p,E,v){const b=yx(cr(t.path),d),B=GY(f.getCompilerOptions(),t,t.path,b,Mk(f,p));if(E){const k=s.map(T=>q.createImportSpecifier(!1,void 0,q.createIdentifier(T)));return lSe(u,k,B,v)}else{H.assert(!u,"No default import should exist");const k=s.map(T=>q.createBindingElement(void 0,void 0,T));return k.length?qnt(q.createObjectBindingPattern(k),void 0,_8e(t9(B,v))):void 0}}function qnt(t,u,s,d=2){return q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(t,void 0,u,s)],d))}function x8e(t,u,s,d){return Ku(u,f=>{if(Ynt(f)&&!Znt(t,f,d)&&F8e(f,p=>{var E;return s.has(H.checkDefined((E=rr(p,qg))==null?void 0:E.symbol))})){const p=IOt(ll(f),d);if(p)return p}return ll(f)})}function Znt(t,u,s,d){var f;return s?!Id(u)&&Qu(u,32)||!!(d&&t.symbol&&((f=t.symbol.exports)!=null&&f.has(d.escapedText))):!!t.symbol&&!!t.symbol.exports&&C8e(u).some(p=>t.symbol.exports.has(Al(p)))}function v8e(t,u,s,d){switch(u.kind){case 272:MOt(t,u,s,d);break;case 271:d(u.name)&&s.delete(t,u);break;case 260:zOt(t,u,s,d);break;default:H.assertNever(u,`Unexpected import decl kind ${u.kind}`)}}function MOt(t,u,s,d){if(!u.importClause)return;const{name:f,namedBindings:p}=u.importClause,E=!f||d(f),v=!p||(p.kind===274?d(p.name):p.elements.length!==0&&p.elements.every(b=>d(b.name)));if(E&&v)s.delete(t,u);else if(f&&E&&s.delete(t,f),p){if(v)s.replaceNode(t,u.importClause,q.updateImportClause(u.importClause,u.importClause.isTypeOnly,f,void 0));else if(p.kind===275)for(const b of p.elements)d(b.name)&&s.delete(t,b)}}function zOt(t,u,s,d){const{name:f}=u;switch(f.kind){case 80:d(f)&&(u.initializer&&Df(u.initializer,!0)?s.delete(t,Fd(u.parent)&&S(u.parent.declarations)===1?u.parent.parent:u):s.delete(t,f));break;case 207:break;case 206:if(f.elements.every(p=>at(p.name)&&d(p.name)))s.delete(t,Fd(u.parent)&&u.parent.declarations.length===1?u.parent.parent:u);else for(const p of f.elements)at(p.name)&&d(p.name)&&s.delete(t,p.name);break}}function Ynt(t){return H.assert(ca(t.parent),"Node parent should be a SourceFile"),nut(t)||Gl(t)}function IOt(t,u){return u?[ROt(t)]:OOt(t)}function ROt(t){const u=Op(t)?an([q.createModifier(95)],h2(t)):void 0;switch(t.kind){case 262:return q.updateFunctionDeclaration(t,u,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);case 263:const s=kk(t)?Fx(t):void 0;return q.updateClassDeclaration(t,an(s,u),t.name,t.typeParameters,t.heritageClauses,t.members);case 243:return q.updateVariableStatement(t,u,t.declarationList);case 267:return q.updateModuleDeclaration(t,u,t.name,t.body);case 266:return q.updateEnumDeclaration(t,u,t.name,t.members);case 265:return q.updateTypeAliasDeclaration(t,u,t.name,t.typeParameters,t.type);case 264:return q.updateInterfaceDeclaration(t,u,t.name,t.typeParameters,t.heritageClauses,t.members);case 271:return q.updateImportEqualsDeclaration(t,u,t.isTypeOnly,t.name,t.moduleReference);case 244:return H.fail();default:return H.assertNever(t,`Unexpected declaration kind ${t.kind}`)}}function OOt(t){return[t,...C8e(t).map(Qnt)]}function Qnt(t){return q.createExpressionStatement(q.createBinaryExpression(q.createPropertyAccessExpression(q.createIdentifier("exports"),q.createIdentifier(t)),64,q.createIdentifier(t)))}function C8e(t){switch(t.kind){case 262:case 263:return[t.name.text];case 243:return Si(t.declarationList.declarations,u=>at(u.name)?u.name.text:void 0);case 267:case 266:case 265:case 264:case 271:return _t;case 244:return H.fail("Can't export an ExpressionStatement");default:return H.assertNever(t,`Unexpected decl kind ${t.kind}`)}}function oK(t,u,s){switch(t.kind){case 272:{const d=t.importClause;if(!d)return;const f=d.name&&s(d.name)?d.name:void 0,p=d.namedBindings&&jOt(d.namedBindings,s);return f||p?q.createImportDeclaration(void 0,q.createImportClause(d.isTypeOnly,f,p),ll(u),void 0):void 0}case 271:return s(t.name)?t:void 0;case 260:{const d=VOt(t.name,s);return d?qnt(d,t.type,_8e(u),t.parent.flags):void 0}default:return H.assertNever(t,`Unexpected import kind ${t.kind}`)}}function jOt(t,u){if(t.kind===274)return u(t.name)?t:void 0;{const s=t.elements.filter(d=>u(d.name));return s.length?q.createNamedImports(s):void 0}}function VOt(t,u){switch(t.kind){case 80:return u(t)?t:void 0;case 207:return t;case 206:{const s=t.elements.filter(d=>d.propertyName||!at(d.name)||u(d.name));return s.length?q.createObjectBindingPattern(s):void 0}}}function b8e(t){return Id(t)?rr(t.expression.left.name,at):rr(t.name,at)}function dme(t){switch(t.kind){case 260:return t.parent.parent;case 208:return dme(No(t.parent.parent,u=>ra(u)||Os(u)));default:return t}}function y8e(t,u,s,d,f){if(!Znt(t,u,f,s))if(f)Id(u)||d.insertExportModifier(t,u);else{const p=C8e(u);p.length!==0&&d.insertNodesAfter(t,u,p.map(Qnt))}}function k8e(t,u,s,d){const f=u.getTypeChecker(),p=sK(s);let E;if(p){E=eee(t,p.all,f);const v=cr(t.fileName),b=C7(t.fileName);return dr(v,GOt(JOt(E.oldFileImportsFromTargetFile,E.movedSymbols),b,v,d))+b}return""}function HOt(t){const{file:u}=t,s=dX(i9(t)),{statements:d}=u;let f=Ue(d,B=>B.end>s.pos);if(f===-1)return;const p=d[f],E=uut(u,p);E&&(f=E.start);let v=Ue(d,B=>B.end>=s.end,f);v!==-1&&s.end<=d[v].getStart()&&v--;const b=uut(u,d[v]);return b&&(v=b.end),{toMove:d.slice(f,v===-1?d.length:v+1),afterLast:v===-1?void 0:d[v+1]}}function sK(t){const u=HOt(t);if(u===void 0)return;const s=[],d=[],{toMove:f,afterLast:p}=u;return Tu(f,KOt,(E,v)=>{for(let b=E;b!!u.initializer&&Df(u.initializer,!0));default:return!1}}function eee(t,u,s,d=new Set){const f=new Set,p=new Map,E=new Set,v=Le(u,M=>!!(M.transformFlags&2)),b=T(v);b&&p.set(b,!1);for(const M of u)F8e(M,z=>{f.add(H.checkDefined(Id(z)?s.getSymbolAtLocation(z.expression.left):z.symbol,"Need a symbol here"))});const B=new Set;for(const M of u)Xnt(M,s,(z,j)=>{if(z.declarations){if(d.has(Q1(z,s))){B.add(z);return}for(const J of z.declarations)if(eut(J)){const K=p.get(z);p.set(z,(K===void 0||K)&&j)}else tee(J)&&$Ot(J)===t&&!f.has(z)&&E.add(z)}});for(const M of p.keys())B.add(M);const k=new Set;for(const M of t.statements)Ft(u,M)||(b&&M.transformFlags&2&&B.delete(b),Xnt(M,s,z=>{f.has(z)&&k.add(z),B.delete(z)}));return{movedSymbols:f,targetFileImportsFromOldFile:E,oldFileImportsFromTargetFile:k,oldImportsNeededByTargetFile:p,unusedImportsFromOldFile:B};function T(M){if(M===void 0)return;const z=s.getJsxNamespace(M),j=s.resolveName(z,M,1920,!0);return j&&Ge(j.declarations,eut)?j:void 0}}function GOt(t,u,s,d){let f=t;for(let p=1;;p++){const E=dr(s,f+u);if(!d.fileExists(E))return f;f=`${t}.${p}`}}function JOt(t,u){return $_(t,pX)||$_(u,pX)||"newFile"}function Xnt(t,u,s){t.forEachChild(function d(f){if(at(f)&&!Q3(f)){const p=u.getSymbolAtLocation(f);p&&s(p,Bv(f))}else f.forEachChild(d)})}function F8e(t,u){switch(t.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return u(t);case 243:return G(t.declarationList.declarations,s=>iut(s.name,u));case 244:{const{expression:s}=t;return eu(s)&&Ql(s)===1?u(t):void 0}}}function eut(t){switch(t.kind){case 271:case 276:case 273:case 274:return!0;case 260:return tut(t);case 208:return ra(t.parent.parent)&&tut(t.parent.parent);default:return!1}}function tut(t){return ca(t.parent.parent.parent)&&!!t.initializer&&Df(t.initializer,!0)}function tee(t){return nut(t)&&ca(t.parent)||ra(t)&&ca(t.parent.parent.parent)}function $Ot(t){return ra(t)?t.parent.parent.parent:t.parent}function iut(t,u){switch(t.kind){case 80:return u(No(t.parent,s=>ra(s)||Os(s)));case 207:case 206:return G(t.elements,s=>kd(s)?void 0:iut(s.name,u));default:return H.assertNever(t,`Unexpected name kind ${t.kind}`)}}function nut(t){switch(t.kind){case 262:case 263:case 267:case 266:case 265:case 264:case 271:return!0;default:return!1}}function UOt(t,u,s,d,f){var p;const E=new Set,v=(p=d.symbol)==null?void 0:p.exports;if(v){const B=u.getTypeChecker(),k=new Map;for(const T of f.all)Ynt(T)&&Qu(T,32)&&F8e(T,M=>{var z;const j=qg(M)?(z=v.get(M.symbol.escapedName))==null?void 0:z.declarations:void 0,J=G(j,K=>Gc(K)?K:X1(K)?rr(K.parent.parent,Gc):void 0);J&&J.moduleSpecifier&&k.set(J,(k.get(J)||new Set).add(M))});for(const[T,M]of ga(k))if(T.exportClause&&Q4(T.exportClause)&&S(T.exportClause.elements)){const z=T.exportClause.elements,j=ei(z,J=>Le(Q1(J.symbol,B).declarations,K=>tee(K)&&M.has(K))===void 0);if(S(j)===0){t.deleteNode(d,T),E.add(T);continue}S(j)Gc(B)&&!!B.moduleSpecifier&&!E.has(B));b?t.insertNodesBefore(d,b,s,!0):t.insertNodesAfter(d,d.statements[d.statements.length-1],s)}function uut(t,u){if(W0(u)){const s=u.symbol.declarations;if(s===void 0||S(s)<=1||!Ft(s,u))return;const d=s[0],f=s[S(s)-1],p=Si(s,b=>zn(b)===t&&ua(b)?b:void 0),E=Ue(t.statements,b=>b.end>=f.end),v=Ue(t.statements,b=>b.end>=d.end);return{toMove:p,start:v,end:E}}}function qOt(t,u){const s=new Set;for(const d of t.imports){const f=eP(d);if(Ad(f)&&f.importClause&&f.importClause.namedBindings&&nD(f.importClause.namedBindings))for(const p of f.importClause.namedBindings.elements){const E=u.getSymbolAtLocation(p.propertyName||p.name);E&&s.add(Q1(E,u))}if(Eq(f.parent)&&Mp(f.parent.name))for(const p of f.parent.name.elements){const E=u.getSymbolAtLocation(p.propertyName||p.name);E&&s.add(Q1(E,u))}}return s}var iee,hme,fme,ZOt=o({"src/services/refactors/moveToFile.ts"(){Cet(),ar(),znt(),iee="Move to file",hme=Ya(F.Move_to_file),fme={name:"Move to file",description:hme,kind:"refactor.move.file"},o3(iee,{kinds:[fme.kind],getAvailableActions:function(u,s){const d=sK(u);return s?u.preferences.allowTextChangesInNewFiles&&d?[{name:iee,description:hme,actions:[fme]}]:u.preferences.provideRefactorNotApplicableReason?[{name:iee,description:hme,actions:[{...fme,notApplicableReason:Ya(F.Selection_is_not_a_valid_statement_or_statements)}]}]:_t:_t},getEditsForAction:function(u,s,d){H.assert(s===iee,"Wrong refactor invoked");const f=H.checkDefined(sK(u)),{host:p,program:E}=u;H.assert(d,"No interactive refactor arguments available");const v=d.targetFile;return N2(v)||hk(v)?p.fileExists(v)&&E.getSourceFile(v)===void 0?$nt(Ya(F.Cannot_move_statements_to_the_selected_file)):{edits:iu.ChangeTracker.with(u,B=>wOt(u,u.file,d.targetFile,u.program,f,B,u.host,u.preferences)),renameFilename:void 0,renameLocation:void 0}:$nt(Ya(F.Cannot_move_to_file_selected_file_is_invalid))}})}});function YOt(t){const{file:u,startPosition:s,program:d}=t;return aut(u,s,d)?[{name:mme,description:A8e,actions:[S8e]}]:_t}function QOt(t){const{file:u,startPosition:s,program:d}=t,f=aut(u,s,d);if(!f)return;const p=d.getTypeChecker(),E=f[f.length-1];let v=E;switch(E.kind){case 173:{v=q.updateMethodSignature(E,E.modifiers,E.name,E.questionToken,E.typeParameters,B(f),E.type);break}case 174:{v=q.updateMethodDeclaration(E,E.modifiers,E.asteriskToken,E.name,E.questionToken,E.typeParameters,B(f),E.type,E.body);break}case 179:{v=q.updateCallSignature(E,E.typeParameters,B(f),E.type);break}case 176:{v=q.updateConstructorDeclaration(E,E.modifiers,B(f),E.body);break}case 180:{v=q.updateConstructSignature(E,E.typeParameters,B(f),E.type);break}case 262:{v=q.updateFunctionDeclaration(E,E.modifiers,E.asteriskToken,E.name,E.typeParameters,B(f),E.type,E.body);break}default:return H.failBadSyntaxKind(E,"Unhandled signature kind in overload list conversion refactoring")}if(v===E)return;return{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,M=>{M.replaceNodeRange(u,f[0],f[f.length-1],v)})};function B(M){const z=M[M.length-1];return W0(z)&&z.body&&(M=M.slice(0,M.length-1)),q.createNodeArray([q.createParameterDeclaration(void 0,q.createToken(26),"args",void 0,q.createUnionTypeNode(Kt(M,k)))])}function k(M){const z=Kt(M.parameters,T);return Yn(q.createTupleTypeNode(z),Ge(z,j=>!!S(EB(j)))?0:1)}function T(M){H.assert(at(M.name));const z=Pt(q.createNamedTupleMember(M.dotDotDotToken,M.name,M.questionToken,M.type||q.createKeywordTypeNode(133)),M),j=M.symbol&&M.symbol.getDocumentationComment(p);if(j){const J=pK(j);J.length&&Tv(z,[{text:`* +${J.split(` +`).map(K=>` * ${K}`).join(` +`)} + `,kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return z}}function rut(t){switch(t.kind){case 173:case 174:case 179:case 176:case 180:case 262:return!0}return!1}function aut(t,u,s){const d=Ca(t,u),f=Tn(d,rut);if(!f||W0(f)&&f.body&&NH(f.body,u))return;const p=s.getTypeChecker(),E=f.symbol;if(!E)return;const v=E.declarations;if(S(v)<=1||!ye(v,M=>zn(M)===t)||!rut(v[0]))return;const b=v[0].kind;if(!ye(v,M=>M.kind===b))return;const B=v;if(Ge(B,M=>!!M.typeParameters||Ge(M.parameters,z=>!!z.modifiers||!at(z.name))))return;const k=Si(B,M=>p.getSignatureFromDeclaration(M));if(S(k)!==S(v))return;const T=p.getReturnTypeOfSignature(k[0]);if(ye(k,M=>p.getReturnTypeOfSignature(M)===T))return B}var mme,A8e,S8e,XOt=o({"src/services/refactors/convertOverloadListToSingleSignature.ts"(){ar(),o_(),mme="Convert overload list to single signature",A8e=Ya(F.Convert_overload_list_to_single_signature),S8e={name:mme,description:A8e,kind:"refactor.rewrite.function.overloadList"},o3(mme,{kinds:[S8e.kind],getEditsForAction:QOt,getAvailableActions:YOt})}});function ejt(t){const{file:u,startPosition:s,triggerReason:d}=t,f=out(u,s,d==="invoked");return f?oD(f)?t.preferences.provideRefactorNotApplicableReason?[{name:pme,description:B8e,actions:[{...nee,notApplicableReason:f.error},{...lK,notApplicableReason:f.error}]}]:_t:[{name:pme,description:B8e,actions:[f.addBraces?nee:lK]}]:_t}function tjt(t,u){const{file:s,startPosition:d}=t,f=out(s,d);H.assert(f&&!oD(f),"Expected applicable refactor info");const{expression:p,returnStatement:E,func:v}=f;let b;if(u===nee.name){const k=q.createReturnStatement(p);b=q.createBlock([k],!0),sw(p,k,s,3,!0)}else if(u===lK.name&&E){const k=p||q.createVoidZero();b=bX(k)?q.createParenthesizedExpression(k):k,UH(E,b,s,3,!1),sw(E,b,s,3,!1),RM(E,b,s,3,!1)}else H.fail("invalid action");return{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,k=>{k.replaceNode(s,v.body,b)})}}function out(t,u,s=!0,d){const f=Ca(t,u),p=Lm(f);if(!p)return{error:Ya(F.Could_not_find_a_containing_arrow_function)};if(!J0(p))return{error:Ya(F.Containing_function_is_not_an_arrow_function)};if(!(!jm(p,f)||jm(p.body,f)&&!s)){if($v(nee.kind,d)&&Wt(p.body))return{func:p,addBraces:!0,expression:p.body};if($v(lK.kind,d)&&ho(p.body)&&p.body.statements.length===1){const E=Pn(p.body.statements);if(zp(E)){const v=E.expression&&bs(lB(E.expression,!1))?q.createParenthesizedExpression(E.expression):E.expression;return{func:p,addBraces:!1,expression:v,returnStatement:E}}}}}var pme,B8e,nee,lK,ijt=o({"src/services/refactors/addOrRemoveBracesToArrowFunction.ts"(){ar(),o_(),pme="Add or remove braces in an arrow function",B8e=Ya(F.Add_or_remove_braces_in_an_arrow_function),nee={name:"Add braces to arrow function",description:Ya(F.Add_braces_to_arrow_function),kind:"refactor.rewrite.arrow.braces.add"},lK={name:"Remove braces from arrow function",description:Ya(F.Remove_braces_from_arrow_function),kind:"refactor.rewrite.arrow.braces.remove"},o3(pme,{kinds:[lK.kind],getEditsForAction:tjt,getAvailableActions:ejt})}}),njt={},ujt=o({"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts"(){XOt(),ijt()}});function rjt(t){const{file:u,startPosition:s,program:d,kind:f}=t,p=lut(u,s,d);if(!p)return _t;const{selectedVariableDeclaration:E,func:v}=p,b=[],B=[];if($v(dK.kind,f)){const k=E||J0(v)&&ra(v.parent)?void 0:Ya(F.Could_not_convert_to_named_function);k?B.push({...dK,notApplicableReason:k}):b.push(dK)}if($v(cK.kind,f)){const k=!E&&J0(v)?void 0:Ya(F.Could_not_convert_to_anonymous_function);k?B.push({...cK,notApplicableReason:k}):b.push(cK)}if($v(hK.kind,f)){const k=A0(v)?void 0:Ya(F.Could_not_convert_to_arrow_function);k?B.push({...hK,notApplicableReason:k}):b.push(hK)}return[{name:w8e,description:hut,actions:b.length===0&&t.preferences.provideRefactorNotApplicableReason?B:b}]}function ajt(t,u){const{file:s,startPosition:d,program:f}=t,p=lut(s,d,f);if(!p)return;const{func:E}=p,v=[];switch(u){case cK.name:v.push(...cjt(t,E));break;case dK.name:const b=ljt(E);if(!b)return;v.push(...djt(t,E,b));break;case hK.name:if(!A0(E))return;v.push(...hjt(t,E));break;default:return H.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:v}}function sut(t){let u=!1;return t.forEachChild(function s(d){if(nw(d)){u=!0;return}!gr(d)&&!Xc(d)&&!A0(d)&&uo(d,s)}),u}function lut(t,u,s){const d=Ca(t,u),f=s.getTypeChecker(),p=sjt(t,f,d.parent);if(p&&!sut(p.body)&&!f.containsArgumentsReference(p))return{selectedVariableDeclaration:!0,func:p};const E=Lm(d);if(E&&(A0(E)||J0(E))&&!jm(E.body,d)&&!sut(E.body)&&!f.containsArgumentsReference(E))return A0(E)&&dut(t,f,E)?void 0:{selectedVariableDeclaration:!1,func:E}}function ojt(t){return ra(t)||Fd(t)&&t.declarations.length===1}function sjt(t,u,s){if(!ojt(s))return;const f=(ra(s)?s:Pn(s.declarations)).initializer;if(f&&(J0(f)||A0(f)&&!dut(t,u,f)))return f}function cut(t){if(Wt(t)){const u=q.createReturnStatement(t),s=t.getSourceFile();return Pt(u,t),Hf(u),UH(t,u,s,void 0,!0),q.createBlock([u],!0)}else return t}function ljt(t){const u=t.parent;if(!ra(u)||!UN(u))return;const s=u.parent,d=s.parent;if(!(!Fd(s)||!Gl(d)||!at(u.name)))return{variableDeclaration:u,variableDeclarationList:s,statement:d,name:u.name}}function cjt(t,u){const{file:s}=t,d=cut(u.body),f=q.createFunctionExpression(u.modifiers,u.asteriskToken,void 0,u.typeParameters,u.parameters,u.type,d);return iu.ChangeTracker.with(t,p=>p.replaceNode(s,u,f))}function djt(t,u,s){const{file:d}=t,f=cut(u.body),{variableDeclaration:p,variableDeclarationList:E,statement:v,name:b}=s;gfe(v);const B=d2(p)&32|gh(u),k=q.createModifiersFromModifierFlags(B),T=q.createFunctionDeclaration(S(k)?k:void 0,u.asteriskToken,b,u.typeParameters,u.parameters,u.type,f);return E.declarations.length===1?iu.ChangeTracker.with(t,M=>M.replaceNode(d,v,T)):iu.ChangeTracker.with(t,M=>{M.delete(d,p),M.insertNodeAfter(d,v,T)})}function hjt(t,u){const{file:s}=t,f=u.body.statements[0];let p;fjt(u.body,f)?(p=f.expression,Hf(p),zk(f,p)):p=u.body;const E=q.createArrowFunction(u.modifiers,u.typeParameters,u.parameters,u.type,q.createToken(39),p);return iu.ChangeTracker.with(t,v=>v.replaceNode(s,u,E))}function fjt(t,u){return t.statements.length===1&&zp(u)&&!!u.expression}function dut(t,u,s){return!!s.name&&$0.Core.isSymbolReferencedInFile(s.name,u,t)}var w8e,hut,cK,dK,hK,mjt=o({"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts"(){ar(),o_(),w8e="Convert arrow function or function expression",hut=Ya(F.Convert_arrow_function_or_function_expression),cK={name:"Convert to anonymous function",description:Ya(F.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},dK={name:"Convert to named function",description:Ya(F.Convert_to_named_function),kind:"refactor.rewrite.function.named"},hK={name:"Convert to arrow function",description:Ya(F.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},o3(w8e,{kinds:[cK.kind,dK.kind,hK.kind],getEditsForAction:ajt,getAvailableActions:rjt})}}),pjt={},gjt=o({"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts"(){mjt()}});function Ejt(t){const{file:u,startPosition:s}=t;return ph(u)||!put(u,s,t.program.getTypeChecker())?_t:[{name:ree,description:P8e,actions:[M8e]}]}function _jt(t,u){H.assert(u===ree,"Unexpected action name");const{file:s,startPosition:d,program:f,cancellationToken:p,host:E}=t,v=put(s,d,f.getTypeChecker());if(!v||!p)return;const b=xjt(v,f,p);return b.valid?{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,k=>Djt(s,f,E,k,v,b))}:{edits:[]}}function Djt(t,u,s,d,f,p){const E=p.signature,v=Kt(Dut(f,u,s),k=>ll(k));if(E){const k=Kt(Dut(E,u,s),T=>ll(T));B(E,k)}B(f,v);const b=mi(p.functionCalls,(k,T)=>nl(k.pos,T.pos));for(const k of b)if(k.arguments&&k.arguments.length){const T=ll(wjt(f,k.arguments),!0);d.replaceNodeRange(zn(k),Pn(k.arguments),Cr(k.arguments),T,{leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Include})}function B(k,T){d.replaceNodeRangeWithNodes(t,Pn(k.parameters),Cr(k.parameters),T,{joiner:", ",indentation:0,leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Include})}}function xjt(t,u,s){const d=Ljt(t),f=dc(t)?Tjt(t):[],p=li([...d,...f],vx),E=u.getTypeChecker(),v=Ku(p,T=>$0.getReferenceEntriesForNode(-1,T,u,u.getSourceFiles(),s)),b=B(v);return ye(b.declarations,T=>Ft(p,T))||(b.valid=!1),b;function B(T){const M={accessExpressions:[],typeUsages:[]},z={functionCalls:[],declarations:[],classReferences:M,valid:!0},j=Kt(d,k),J=Kt(f,k),K=dc(t),Y=Kt(d,oe=>T8e(oe,E));for(const oe of T){if(oe.kind===$0.EntryKind.Span){z.valid=!1;continue}if(Ft(Y,k(oe.node))){if(yjt(oe.node.parent)){z.signature=oe.node.parent;continue}const ge=mut(oe);if(ge){z.functionCalls.push(ge);continue}}const se=T8e(oe.node,E);if(se&&Ft(Y,se)){const ge=L8e(oe);if(ge){z.declarations.push(ge);continue}}if(Ft(j,k(oe.node))||BM(oe.node)){if(fut(oe))continue;const ae=L8e(oe);if(ae){z.declarations.push(ae);continue}const Ce=mut(oe);if(Ce){z.functionCalls.push(Ce);continue}}if(K&&Ft(J,k(oe.node))){if(fut(oe))continue;const ae=L8e(oe);if(ae){z.declarations.push(ae);continue}const Ce=vjt(oe);if(Ce){M.accessExpressions.push(Ce);continue}if(Wc(t.parent)){const ne=Cjt(oe);if(ne){M.typeUsages.push(ne);continue}}}z.valid=!1}return z}function k(T){const M=E.getSymbolAtLocation(T);return M&&DSe(M,E)}}function T8e(t,u){const s=gK(t);if(s){const d=u.getContextualTypeForObjectLiteralElement(s),f=d==null?void 0:d.getSymbol();if(f&&!(Wl(f)&6))return f}}function fut(t){const u=t.node;if(Cf(u.parent)||i_(u.parent)||g1(u.parent)||Gx(u.parent)||X1(u.parent)||ec(u.parent))return u}function L8e(t){if(Y1(t.node.parent))return t.node}function mut(t){if(t.node.parent){const u=t.node,s=u.parent;switch(s.kind){case 213:case 214:const d=rr(s,JE);if(d&&d.expression===u)return d;break;case 211:const f=rr(s,zu);if(f&&f.parent&&f.name===u){const E=rr(f.parent,JE);if(E&&E.expression===f)return E}break;case 212:const p=rr(s,G0);if(p&&p.parent&&p.argumentExpression===u){const E=rr(p.parent,JE);if(E&&E.expression===p)return E}break}}}function vjt(t){if(t.node.parent){const u=t.node,s=u.parent;switch(s.kind){case 211:const d=rr(s,zu);if(d&&d.expression===u)return d;break;case 212:const f=rr(s,G0);if(f&&f.expression===u)return f;break}}}function Cjt(t){const u=t.node;if(Lk(u)===2||Wj(u.parent))return u}function put(t,u,s){const d=TM(t,u),f=qbe(d);if(!bjt(d)&&f&&kjt(f,s)&&jm(f,d)&&!(f.body&&jm(f.body,d)))return f}function bjt(t){const u=Tn(t,P8);if(u){const s=Tn(u,d=>!P8(d));return!!s&&W0(s)}return!1}function yjt(t){return i3(t)&&(Dh(t.parent)||hm(t.parent))}function kjt(t,u){var s;if(!Fjt(t.parameters,u))return!1;switch(t.kind){case 262:return gut(t)&&uee(t,u);case 174:if(bs(t.parent)){const d=T8e(t.name,u);return((s=d==null?void 0:d.declarations)==null?void 0:s.length)===1&&uee(t,u)}return uee(t,u);case 176:return Wc(t.parent)?gut(t.parent)&&uee(t,u):Eut(t.parent.parent)&&uee(t,u);case 218:case 219:return Eut(t.parent)}return!1}function uee(t,u){return!!t.body&&!u.isImplementationOfOverload(t)}function gut(t){return t.name?!0:!!rw(t,90)}function Fjt(t,u){return Sjt(t)>=xut&&ye(t,s=>Ajt(s,u))}function Ajt(t,u){if(J_(t)){const s=u.getTypeAtLocation(t);if(!u.isArrayType(s)&&!u.isTupleType(s))return!1}return!t.modifiers&&at(t.name)}function Eut(t){return ra(t)&&V8(t)&&at(t.name)&&!t.type}function N8e(t){return t.length>0&&nw(t[0].name)}function Sjt(t){return N8e(t)?t.length-1:t.length}function _ut(t){return N8e(t)&&(t=q.createNodeArray(t.slice(1),t.hasTrailingComma)),t}function Bjt(t,u){return at(u)&&W4(u)===t?q.createShorthandPropertyAssignment(t):q.createPropertyAssignment(t,u)}function wjt(t,u){const s=_ut(t.parameters),d=J_(Cr(s)),f=d?u.slice(0,s.length-1):u,p=Kt(f,(v,b)=>{const B=gme(s[b]),k=Bjt(B,v);return Hf(k.name),Jc(k)&&Hf(k.initializer),zk(v,k),k});if(d&&u.length>=s.length){const v=u.slice(s.length-1),b=q.createPropertyAssignment(gme(Cr(s)),q.createArrayLiteralExpression(v));p.push(b)}return q.createObjectLiteralExpression(p,!1)}function Dut(t,u,s){const d=u.getTypeChecker(),f=_ut(t.parameters),p=Kt(f,k),E=q.createObjectBindingPattern(p),v=T(f);let b;ye(f,j)&&(b=q.createObjectLiteralExpression());const B=q.createParameterDeclaration(void 0,void 0,E,void 0,v,b);if(N8e(t.parameters)){const J=t.parameters[0],K=q.createParameterDeclaration(void 0,void 0,J.name,void 0,J.type);return Hf(K.name),zk(J.name,K.name),J.type&&(Hf(K.type),zk(J.type,K.type)),q.createNodeArray([K,B])}return q.createNodeArray([B]);function k(J){const K=q.createBindingElement(void 0,void 0,gme(J),J_(J)&&j(J)?q.createArrayLiteralExpression():J.initializer);return Hf(K),J.initializer&&K.initializer&&zk(J.initializer,K.initializer),K}function T(J){const K=Kt(J,M);return t_(q.createTypeLiteralNode(K),1)}function M(J){let K=J.type;!K&&(J.initializer||J_(J))&&(K=z(J));const Y=q.createPropertySignature(void 0,gme(J),j(J)?q.createToken(58):J.questionToken,K);return Hf(Y),zk(J.name,Y.name),J.type&&Y.type&&zk(J.type,Y.type),Y}function z(J){const K=d.getTypeAtLocation(J);return jM(K,J,u,s)}function j(J){if(J_(J)){const K=d.getTypeAtLocation(J);return!d.isTupleType(K)}return d.isOptionalParameter(J)}}function gme(t){return W4(t.name)}function Tjt(t){switch(t.parent.kind){case 263:const u=t.parent;return u.name?[u.name]:[H.checkDefined(rw(u,90),"Nameless class declaration should be a default export")];case 231:const d=t.parent,f=t.parent.parent,p=d.name;return p?[p,f.name]:[f.name]}}function Ljt(t){switch(t.kind){case 262:return t.name?[t.name]:[H.checkDefined(rw(t,90),"Nameless function declaration should be a default export")];case 174:return[t.name];case 176:const s=H.checkDefined(r0(t,137,t.getSourceFile()),"Constructor declaration should have constructor keyword");return t.parent.kind===231?[t.parent.parent.name,s]:[s];case 219:return[t.parent.name];case 218:return t.name?[t.name,t.parent.name]:[t.parent.name];default:return H.assertNever(t,`Unexpected function declaration kind ${t.kind}`)}}var ree,xut,P8e,M8e,Njt=o({"src/services/refactors/convertParamsToDestructuredObject.ts"(){ar(),o_(),ree="Convert parameters to destructured object",xut=1,P8e=Ya(F.Convert_parameters_to_destructured_object),M8e={name:ree,description:P8e,kind:"refactor.rewrite.parameters.toDestructured"},o3(ree,{kinds:[M8e.kind],getEditsForAction:_jt,getAvailableActions:Ejt})}}),Pjt={},Mjt=o({"src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts"(){Njt()}});function zjt(t){const{file:u,startPosition:s}=t,d=vut(u,s),f=z8e(d),p=us(f),E={name:Eme,description:_me,actions:[]};return p&&t.triggerReason!=="invoked"?_t:q_(f)&&(p||eu(f)&&I8e(f).isValidConcatenation)?(E.actions.push(Dme),[E]):t.preferences.provideRefactorNotApplicableReason?(E.actions.push({...Dme,notApplicableReason:Ya(F.Can_only_convert_string_concatenations_and_string_literals)}),[E]):_t}function vut(t,u){const s=Ca(t,u),d=z8e(s);return!I8e(d).isValidConcatenation&&vf(d.parent)&&eu(d.parent.parent)?d.parent.parent:s}function Ijt(t,u){const{file:s,startPosition:d}=t,f=vut(s,d);switch(u){case _me:return{edits:Rjt(t,f)};default:return H.fail("invalid action")}}function Rjt(t,u){const s=z8e(u),d=t.file,f=Vjt(I8e(s),d),p=mv(d.text,s.end);if(p){const E=p[p.length-1],v={pos:p[0].pos,end:E.end};return iu.ChangeTracker.with(t,b=>{b.deleteRange(d,v),b.replaceNode(d,s,f)})}else return iu.ChangeTracker.with(t,E=>E.replaceNode(d,s,f))}function Ojt(t){return!(t.operatorToken.kind===64||t.operatorToken.kind===65)}function z8e(t){return Tn(t.parent,s=>{switch(s.kind){case 211:case 212:return!1;case 228:case 226:return!(eu(s.parent)&&Ojt(s.parent));default:return"quit"}})||t}function I8e(t){const u=E=>{if(!eu(E))return{nodes:[E],operators:[],validOperators:!0,hasString:us(E)||B7(E)};const{nodes:v,operators:b,hasString:B,validOperators:k}=u(E.left);if(!(B||us(E.right)||rY(E.right)))return{nodes:[E],operators:[],hasString:!1,validOperators:!0};const T=E.operatorToken.kind===40,M=k&&T;return v.push(E.right),b.push(E.operatorToken),{nodes:v,operators:b,hasString:!0,validOperators:M}},{nodes:s,operators:d,validOperators:f,hasString:p}=u(t);return{nodes:s,operators:d,isValidConcatenation:f&&p}}function jjt(t){return t.replace(/\\.|[$`]/g,u=>u[0]==="\\"?u:"\\"+u)}function Cut(t){const u=DB(t)||$ke(t)?-2:-1;return Hc(t).slice(1,u)}function but(t,u){const s=[];let d="",f="";for(;t{yut(se);const ae=ge===M.templateSpans.length-1,Ce=se.literal.text+(ae?j:""),ne=Cut(se.literal)+(ae?J:"");return q.createTemplateSpan(se.expression,Y&&ae?q.createTemplateTail(Ce,ne):q.createTemplateMiddle(Ce,ne))});B.push(...oe)}else{const oe=Y?q.createTemplateTail(j,J):q.createTemplateMiddle(j,J);f(K,oe),B.push(q.createTemplateSpan(M,oe))}}return q.createTemplateExpression(k,B)}function yut(t){const u=t.getSourceFile();RM(t,t.expression,u,3,!1),UH(t.expression,t.expression,u,3,!1)}function Hjt(t){return vf(t)&&(yut(t),t=t.expression),t}var Eme,_me,Dme,kut,Fut,Kjt=o({"src/services/refactors/convertStringOrTemplateLiteral.ts"(){ar(),o_(),Eme="Convert to template string",_me=Ya(F.Convert_to_template_string),Dme={name:Eme,description:_me,kind:"refactor.rewrite.string"},o3(Eme,{kinds:[Dme.kind],getEditsForAction:Ijt,getAvailableActions:zjt}),kut=(t,u)=>(s,d)=>{s(d,f)=>{for(;d.length>0;){const p=d.shift();RM(t[p],f,u,3,!1),s(p,f)}}}}),Wjt={},Gjt=o({"src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts"(){Kjt()}});function Jjt(t){const u=Aut(t,t.triggerReason==="invoked");return u?oD(u)?t.preferences.provideRefactorNotApplicableReason?[{name:aee,description:Cme,actions:[{...bme,notApplicableReason:u.error}]}]:_t:[{name:aee,description:Cme,actions:[bme]}]:_t}function $jt(t,u){const s=Aut(t);return H.assert(s&&!oD(s),"Expected applicable refactor info"),{edits:iu.ChangeTracker.with(t,f=>tVt(t.file,t.program.getTypeChecker(),f,s)),renameFilename:void 0,renameLocation:void 0}}function xme(t){return eu(t)||FB(t)}function Ujt(t){return Id(t)||zp(t)||Gl(t)}function vme(t){return xme(t)||Ujt(t)}function Aut(t,u=!0){const{file:s,program:d}=t,f=i9(t),p=f.length===0;if(p&&!u)return;const E=Ca(s,f.start),v=aX(s,f.start+f.length),b=Vc(E.pos,v&&v.end>=E.pos?v.getEnd():E.getEnd()),B=p?Xjt(E):Qjt(E,b),k=B&&vme(B)?eVt(B):void 0;if(!k)return{error:Ya(F.Could_not_find_convertible_access_expression)};const T=d.getTypeChecker();return FB(k)?qjt(k,T):Zjt(k)}function qjt(t,u){const s=t.condition,d=O8e(t.whenTrue);if(!d||u.isNullableType(u.getTypeAtLocation(d)))return{error:Ya(F.Could_not_find_convertible_access_expression)};if((zu(s)||at(s))&&R8e(s,d.expression))return{finalExpression:d,occurrences:[s],expression:t};if(eu(s)){const f=Sut(d.expression,s);return f?{finalExpression:d,occurrences:f,expression:t}:{error:Ya(F.Could_not_find_matching_access_expressions)}}}function Zjt(t){if(t.operatorToken.kind!==56)return{error:Ya(F.Can_only_convert_logical_AND_access_chains)};const u=O8e(t.right);if(!u)return{error:Ya(F.Could_not_find_convertible_access_expression)};const s=Sut(u.expression,t.left);return s?{finalExpression:u,occurrences:s,expression:t}:{error:Ya(F.Could_not_find_matching_access_expressions)}}function Sut(t,u){const s=[];for(;eu(u)&&u.operatorToken.kind===56;){const f=R8e(s0(t),s0(u.right));if(!f)break;s.push(f),t=f,u=u.left}const d=R8e(t,u);return d&&s.push(d),s.length>0?s:void 0}function R8e(t,u){if(!(!at(u)&&!zu(u)&&!G0(u)))return Yjt(t,u)?u:void 0}function Yjt(t,u){for(;(Po(t)||zu(t)||G0(t))&&fK(t)!==fK(u);)t=t.expression;for(;zu(t)&&zu(u)||G0(t)&&G0(u);){if(fK(t)!==fK(u))return!1;t=t.expression,u=u.expression}return at(t)&&at(u)&&t.getText()===u.getText()}function fK(t){if(at(t)||Nm(t))return t.getText();if(zu(t))return fK(t.name);if(G0(t))return fK(t.argumentExpression)}function Qjt(t,u){for(;t.parent;){if(vme(t)&&u.length!==0&&t.end>=u.start+u.length)return t;t=t.parent}}function Xjt(t){for(;t.parent;){if(vme(t)&&!vme(t.parent))return t;t=t.parent}}function eVt(t){if(xme(t))return t;if(Gl(t)){const u=Q8(t),s=u==null?void 0:u.initializer;return s&&xme(s)?s:void 0}return t.expression&&xme(t.expression)?t.expression:void 0}function O8e(t){if(t=s0(t),eu(t))return O8e(t.left);if((zu(t)||G0(t)||Po(t))&&!Z1(t))return t}function But(t,u,s){if(zu(u)||G0(u)||Po(u)){const d=But(t,u.expression,s),f=s.length>0?s[s.length-1]:void 0,p=(f==null?void 0:f.getText())===u.expression.getText();if(p&&s.pop(),Po(u))return p?q.createCallChain(d,q.createToken(29),u.typeArguments,u.arguments):q.createCallChain(d,u.questionDotToken,u.typeArguments,u.arguments);if(zu(u))return p?q.createPropertyAccessChain(d,q.createToken(29),u.name):q.createPropertyAccessChain(d,u.questionDotToken,u.name);if(G0(u))return p?q.createElementAccessChain(d,q.createToken(29),u.argumentExpression):q.createElementAccessChain(d,u.questionDotToken,u.argumentExpression)}return u}function tVt(t,u,s,d,f){const{finalExpression:p,occurrences:E,expression:v}=d,b=E[E.length-1],B=But(u,p,E);B&&(zu(B)||G0(B)||Po(B))&&(eu(v)?s.replaceNodeRange(t,b,p,B):FB(v)&&s.replaceNode(t,v,q.createBinaryExpression(B,q.createToken(61),v.whenFalse)))}var aee,Cme,bme,iVt=o({"src/services/refactors/convertToOptionalChainExpression.ts"(){ar(),o_(),aee="Convert to optional chain expression",Cme=Ya(F.Convert_to_optional_chain_expression),bme={name:aee,description:Cme,kind:"refactor.rewrite.expression.optionalChain"},o3(aee,{kinds:[bme.kind],getEditsForAction:$jt,getAvailableActions:Jjt})}}),nVt={},uVt=o({"src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts"(){iVt()}});function wut(t){const u=t.kind,s=j8e(t.file,i9(t),t.triggerReason==="invoked"),d=s.targetRange;if(d===void 0){if(!s.errors||s.errors.length===0||!t.preferences.provideRefactorNotApplicableReason)return _t;const j=[];return $v(fw.kind,u)&&j.push({name:dw,description:fw.description,actions:[{...fw,notApplicableReason:z(s.errors)}]}),$v(hw.kind,u)&&j.push({name:dw,description:hw.description,actions:[{...hw,notApplicableReason:z(s.errors)}]}),j}const f=cVt(d,t);if(f===void 0)return _t;const p=[],E=new Map;let v;const b=[],B=new Map;let k,T=0;for(const{functionExtraction:j,constantExtraction:J}of f){if($v(fw.kind,u)){const K=j.description;j.errors.length===0?E.has(K)||(E.set(K,!0),p.push({description:K,name:`function_scope_${T}`,kind:fw.kind})):v||(v={description:K,name:`function_scope_${T}`,notApplicableReason:z(j.errors),kind:fw.kind})}if($v(hw.kind,u)){const K=J.description;J.errors.length===0?B.has(K)||(B.set(K,!0),b.push({description:K,name:`constant_scope_${T}`,kind:hw.kind})):k||(k={description:K,name:`constant_scope_${T}`,notApplicableReason:z(J.errors),kind:hw.kind})}T++}const M=[];return p.length?M.push({name:dw,description:Ya(F.Extract_function),actions:p}):t.preferences.provideRefactorNotApplicableReason&&v&&M.push({name:dw,description:Ya(F.Extract_function),actions:[v]}),b.length?M.push({name:dw,description:Ya(F.Extract_constant),actions:b}):t.preferences.provideRefactorNotApplicableReason&&k&&M.push({name:dw,description:Ya(F.Extract_constant),actions:[k]}),M.length?M:_t;function z(j){let J=j[0].messageText;return typeof J!="string"&&(J=J.messageText),J}}function Tut(t,u){const d=j8e(t.file,i9(t)).targetRange,f=/^function_scope_(\d+)$/.exec(u);if(f){const E=+f[1];return H.assert(isFinite(E),"Expected to parse a finite number from the function scope index"),sVt(d,t,E)}const p=/^constant_scope_(\d+)$/.exec(u);if(p){const E=+p[1];return H.assert(isFinite(E),"Expected to parse a finite number from the constant scope index"),lVt(d,t,E)}H.fail("Unrecognized action name")}function j8e(t,u,s=!0){const{length:d}=u;if(d===0&&!s)return{errors:[zd(t,u.start,d,E1.cannotExtractEmpty)]};const f=d===0&&s,p=q9e(t,u.start),E=aX(t,gc(u)),v=p&&E&&s?rVt(p,E,t):u,b=f?wVt(p):WH(p,t,v),B=f?b:WH(E,t,v);let k=0,T;if(!b||!B)return{errors:[zd(t,u.start,d,E1.cannotExtractRange)]};if(b.flags&16777216)return{errors:[zd(t,u.start,d,E1.cannotExtractJSDoc)]};if(b.parent!==B.parent)return{errors:[zd(t,u.start,d,E1.cannotExtractRange)]};if(b!==B){if(!Nut(b.parent))return{errors:[zd(t,u.start,d,E1.cannotExtractRange)]};const oe=[];for(const se of b.parent.statements){if(se===b||oe.length){const ge=Y(se);if(ge)return{errors:ge};oe.push(se)}if(se===B)break}return oe.length?{targetRange:{range:oe,facts:k,thisNode:T}}:{errors:[zd(t,u.start,d,E1.cannotExtractRange)]}}if(zp(b)&&!b.expression)return{errors:[zd(t,u.start,d,E1.cannotExtractRange)]};const M=j(b),z=J(M)||Y(M);if(z)return{errors:z};return{targetRange:{range:aVt(M),facts:k,thisNode:T}};function j(oe){if(zp(oe)){if(oe.expression)return oe.expression}else if(Gl(oe)||Fd(oe)){const se=Gl(oe)?oe.declarationList.declarations:oe.declarations;let ge=0,ae;for(const Ce of se)Ce.initializer&&(ge++,ae=Ce.initializer);if(ge===1)return ae}else if(ra(oe)&&oe.initializer)return oe.initializer;return oe}function J(oe){if(at(Id(oe)?oe.expression:oe))return[Su(oe,E1.cannotExtractIdentifier)]}function K(oe,se){let ge=oe;for(;ge!==se;){if(ge.kind===172){Lo(ge)&&(k|=32);break}else if(ge.kind===169){Lm(ge).kind===176&&(k|=32);break}else ge.kind===174&&Lo(ge)&&(k|=32);ge=ge.parent}}function Y(oe){let se;if((Se=>{Se[Se.None=0]="None",Se[Se.Break=1]="Break",Se[Se.Continue=2]="Continue",Se[Se.Return=4]="Return"})(se||(se={})),H.assert(oe.pos<=oe.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),H.assert(!fg(oe.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!ua(oe)&&!(q_(oe)&&Lut(oe))&&!G8e(oe))return[Su(oe,E1.statementOrExpressionExpected)];if(oe.flags&33554432)return[Su(oe,E1.cannotExtractAmbientBlock)];const ge=Zd(oe);ge&&K(oe,ge);let ae,Ce=4,ne;if(ve(oe),k&8){const Se=ef(oe,!1,!1);(Se.kind===262||Se.kind===174&&Se.parent.kind===210||Se.kind===218)&&(k|=16)}return ae;function ve(Se){if(ae)return!0;if(Y1(Se)){const pe=Se.kind===260?Se.parent.parent:Se;if(Qu(pe,32))return(ae||(ae=[])).push(Su(Se,E1.cannotExtractExportedEntity)),!0}switch(Se.kind){case 272:return(ae||(ae=[])).push(Su(Se,E1.cannotExtractImport)),!0;case 277:return(ae||(ae=[])).push(Su(Se,E1.cannotExtractExportedEntity)),!0;case 108:if(Se.parent.kind===213){const pe=Zd(Se);if(pe===void 0||pe.pos=u.start+u.length)return(ae||(ae=[])).push(Su(Se,E1.cannotExtractSuper)),!0}else k|=8,T=Se;break;case 219:uo(Se,function pe(fe){if(nw(fe))k|=8,T=Se;else{if(gr(fe)||xo(fe)&&!J0(fe))return!1;uo(fe,pe)}});case 263:case 262:ca(Se.parent)&&Se.parent.externalModuleIndicator===void 0&&(ae||(ae=[])).push(Su(Se,E1.functionWillNotBeVisibleInTheNewScope));case 231:case 218:case 174:case 176:case 177:case 178:return!1}const Ne=Ce;switch(Se.kind){case 245:Ce&=-5;break;case 258:Ce=0;break;case 241:Se.parent&&Se.parent.kind===258&&Se.parent.finallyBlock===Se&&(Ce=4);break;case 297:case 296:Ce|=1;break;default:wx(Se,!1)&&(Ce|=3);break}switch(Se.kind){case 197:case 110:k|=8,T=Se;break;case 256:{const pe=Se.label;(ne||(ne=[])).push(pe.escapedText),uo(Se,ve),ne.pop();break}case 252:case 251:{const pe=Se.label;pe?Ft(ne,pe.escapedText)||(ae||(ae=[])).push(Su(Se,E1.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):Ce&(Se.kind===252?1:2)||(ae||(ae=[])).push(Su(Se,E1.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 223:k|=4;break;case 229:k|=2;break;case 253:Ce&4?k|=1:(ae||(ae=[])).push(Su(Se,E1.cannotExtractRangeContainingConditionalReturnStatement));break;default:uo(Se,ve);break}Ce=Ne}}}function rVt(t,u,s){const d=t.getStart(s);let f=u.getEnd();return s.text.charCodeAt(f)===59&&f++,{start:d,length:f-d}}function aVt(t){if(ua(t))return[t];if(q_(t))return Id(t.parent)?[t.parent]:t;if(G8e(t))return t}function V8e(t){return J0(t)?e0e(t.body):W0(t)||ca(t)||uE(t)||gr(t)}function oVt(t){let u=_5(t.range)?Pn(t.range):t.range;if(t.facts&8&&!(t.facts&16)){const d=Zd(u);if(d){const f=Tn(u,W0);return f?[f,d]:[d]}}const s=[];for(;;)if(u=u.parent,u.kind===169&&(u=Tn(u,d=>W0(d)).parent),V8e(u)&&(s.push(u),u.kind===312))return s}function sVt(t,u,s){const{scopes:d,readsAndWrites:{target:f,usagesPerScope:p,functionErrorsPerScope:E,exposedVariableDeclarations:v}}=H8e(t,u);return H.assert(!E[s].length,"The extraction went missing? How?"),u.cancellationToken.throwIfCancellationRequested(),gVt(f,d[s],p[s],v,t,u)}function lVt(t,u,s){const{scopes:d,readsAndWrites:{target:f,usagesPerScope:p,constantErrorsPerScope:E,exposedVariableDeclarations:v}}=H8e(t,u);H.assert(!E[s].length,"The extraction went missing? How?"),H.assert(v.length===0,"Extract constant accepted a range containing a variable declaration?"),u.cancellationToken.throwIfCancellationRequested();const b=Wt(f)?f:f.statements[0].expression;return EVt(b,d[s],p[s],t.facts,u)}function cVt(t,u){const{scopes:s,readsAndWrites:{functionErrorsPerScope:d,constantErrorsPerScope:f}}=H8e(t,u);return s.map((E,v)=>{const b=dVt(E),B=hVt(E),k=W0(E)?fVt(E):gr(E)?mVt(E):pVt(E);let T,M;return k===1?(T=X_(Ya(F.Extract_to_0_in_1_scope),[b,"global"]),M=X_(Ya(F.Extract_to_0_in_1_scope),[B,"global"])):k===0?(T=X_(Ya(F.Extract_to_0_in_1_scope),[b,"module"]),M=X_(Ya(F.Extract_to_0_in_1_scope),[B,"module"])):(T=X_(Ya(F.Extract_to_0_in_1),[b,k]),M=X_(Ya(F.Extract_to_0_in_1),[B,k])),v===0&&!gr(E)&&(M=X_(Ya(F.Extract_to_0_in_enclosing_scope),[B])),{functionExtraction:{description:T,errors:d[v]},constantExtraction:{description:M,errors:f[v]}}})}function H8e(t,u){const{file:s}=u,d=oVt(t),f=SVt(t,s),p=BVt(t,d,f,s,u.program.getTypeChecker(),u.cancellationToken);return{scopes:d,readsAndWrites:p}}function dVt(t){return W0(t)?"inner function":gr(t)?"method":"function"}function hVt(t){return gr(t)?"readonly field":"constant"}function fVt(t){switch(t.kind){case 176:return"constructor";case 218:case 262:return t.name?`function '${t.name.text}'`:OX;case 219:return"arrow function";case 174:return`method '${t.name.getText()}'`;case 177:return`'get ${t.name.getText()}'`;case 178:return`'set ${t.name.getText()}'`;default:H.assertNever(t,`Unexpected scope kind ${t.kind}`)}}function mVt(t){return t.kind===263?t.name?`class '${t.name.text}'`:"anonymous class declaration":t.name?`class expression '${t.name.text}'`:"anonymous class expression"}function pVt(t){return t.kind===268?`namespace '${t.parent.name.getText()}'`:t.externalModuleIndicator?0:1}function gVt(t,u,{usages:s,typeParameterUsages:d,substitutions:f},p,E,v){const b=v.program.getTypeChecker(),B=Rs(v.program.getCompilerOptions()),k=M1.createImportAdder(v.file,v.program,v.preferences,v.host),T=u.getSourceFile(),M=Ik(gr(u)?"newMethod":"newFunction",T),z=Xn(u),j=q.createIdentifier(M);let J;const K=[],Y=[];let oe;s.forEach((je,Ke)=>{let Gt;if(!z){let Ie=b.getTypeOfSymbolAtLocation(je.symbol,je.node);Ie=b.getBaseTypeOfLiteralType(Ie),Gt=M1.typeToAutoImportableTypeNode(b,k,Ie,u,B,1)}const Yt=q.createParameterDeclaration(void 0,void 0,Ke,void 0,Gt);K.push(Yt),je.usage===2&&(oe||(oe=[])).push(je),Y.push(q.createIdentifier(Ke))});const ge=ga(d.values(),je=>({type:je,declaration:DVt(je,v.startPosition)})).sort(xVt),ae=ge.length===0?void 0:Si(ge,({declaration:je})=>je),Ce=ae!==void 0?ae.map(je=>q.createTypeReferenceNode(je.name,void 0)):void 0;if(Wt(t)&&!z){const je=b.getContextualType(t);J=b.typeToTypeNode(je,u,1)}const{body:ne,returnValueProperty:ve}=CVt(t,p,oe,f,!!(E.facts&1));Hf(ne);let Se;const Ne=!!(E.facts&16);if(gr(u)){const je=z?[]:[q.createModifier(123)];E.facts&32&&je.push(q.createModifier(126)),E.facts&4&&je.push(q.createModifier(134)),Se=q.createMethodDeclaration(je.length?je:void 0,E.facts&2?q.createToken(42):void 0,j,void 0,ae,K,J,ne)}else Ne&&K.unshift(q.createParameterDeclaration(void 0,void 0,"this",void 0,b.typeToTypeNode(b.getTypeAtLocation(E.thisNode),u,1),void 0)),Se=q.createFunctionDeclaration(E.facts&4?[q.createToken(134)]:void 0,E.facts&2?q.createToken(42):void 0,j,ae,K,J,ne);const pe=iu.ChangeTracker.fromContext(v),fe=(_5(E.range)?Cr(E.range):E.range).end,xe=kVt(fe,u);xe?pe.insertNodeBefore(v.file,xe,Se,!0):pe.insertNodeAtEndOfScope(v.file,u,Se),k.writeFixes(pe);const Be=[],We=vVt(u,E,M);Ne&&Y.unshift(q.createIdentifier("this"));let Ae=q.createCallExpression(Ne?q.createPropertyAccessExpression(We,"call"):We,Ce,Y);if(E.facts&2&&(Ae=q.createYieldExpression(q.createToken(42),Ae)),E.facts&4&&(Ae=q.createAwaitExpression(Ae)),W8e(t)&&(Ae=q.createJsxExpression(void 0,Ae)),p.length&&!oe)if(H.assert(!ve,"Expected no returnValueProperty"),H.assert(!(E.facts&1),"Expected RangeFacts.HasReturn flag to be unset"),p.length===1){const je=p[0];Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ll(je.name),void 0,ll(je.type),Ae)],je.parent.flags)))}else{const je=[],Ke=[];let Gt=p[0].parent.flags,Yt=!1;for(const lt of p){je.push(q.createBindingElement(void 0,void 0,ll(lt.name)));const St=b.typeToTypeNode(b.getBaseTypeOfLiteralType(b.getTypeAtLocation(lt)),u,1);Ke.push(q.createPropertySignature(void 0,lt.symbol.name,void 0,St)),Yt=Yt||lt.type!==void 0,Gt=Gt<.parent.flags}const Ie=Yt?q.createTypeLiteralNode(Ke):void 0;Ie&&Yn(Ie,1),Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(q.createObjectBindingPattern(je),void 0,Ie,Ae)],Gt)))}else if(p.length||oe){if(p.length)for(const Ke of p){let Gt=Ke.parent.flags;Gt&2&&(Gt=Gt&-3|1),Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(Ke.symbol.name,void 0,Ze(Ke.type))],Gt)))}ve&&Be.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ve,void 0,Ze(J))],1)));const je=K8e(p,oe);ve&&je.unshift(q.createShorthandPropertyAssignment(ve)),je.length===1?(H.assert(!ve,"Shouldn't have returnValueProperty here"),Be.push(q.createExpressionStatement(q.createAssignment(je[0].name,Ae))),E.facts&1&&Be.push(q.createReturnStatement())):(Be.push(q.createExpressionStatement(q.createAssignment(q.createObjectLiteralExpression(je),Ae))),ve&&Be.push(q.createReturnStatement(q.createIdentifier(ve))))}else E.facts&1?Be.push(q.createReturnStatement(Ae)):_5(E.range)?Be.push(q.createExpressionStatement(Ae)):Be.push(Ae);_5(E.range)?pe.replaceNodeRangeWithNodes(v.file,Pn(E.range),Cr(E.range),Be):pe.replaceNodeWithNodes(v.file,E.range,Be);const De=pe.getChanges(),Je=(_5(E.range)?Pn(E.range):E.range).getSourceFile().fileName,ft=$H(De,Je,M,!1);return{renameFilename:Je,renameLocation:ft,edits:De};function Ze(je){if(je===void 0)return;const Ke=ll(je);let Gt=Ke;for(;N7(Gt);)Gt=Gt.type;return Lv(Gt)&&Le(Gt.types,Yt=>Yt.kind===157)?Ke:q.createUnionTypeNode([Ke,q.createKeywordTypeNode(157)])}}function EVt(t,u,{substitutions:s},d,f){const p=f.program.getTypeChecker(),E=u.getSourceFile(),v=zu(t)&&!gr(u)&&!p.resolveName(t.name.text,t,111551,!1)&&!ea(t.name)&&!Ev(t.name)?t.name.text:Ik(gr(u)?"newProperty":"newLocal",E),b=Xn(u);let B=b||!p.isContextSensitive(t)?void 0:p.typeToTypeNode(p.getContextualType(t),u,1),k=bVt(s0(t),s);({variableType:B,initializer:k}=J(B,k)),Hf(k);const T=iu.ChangeTracker.fromContext(f);if(gr(u)){H.assert(!b,"Cannot extract to a JS class");const K=[];K.push(q.createModifier(123)),d&32&&K.push(q.createModifier(126)),K.push(q.createModifier(148));const Y=q.createPropertyDeclaration(K,v,void 0,B,k);let oe=q.createPropertyAccessExpression(d&32?q.createIdentifier(u.name.getText()):q.createThis(),q.createIdentifier(v));W8e(t)&&(oe=q.createJsxExpression(void 0,oe));const se=t.pos,ge=FVt(se,u);T.insertNodeBefore(f.file,ge,Y,!0),T.replaceNode(f.file,t,oe)}else{const K=q.createVariableDeclaration(v,void 0,B,k),Y=_Vt(t,u);if(Y){T.insertNodeBefore(f.file,Y,K);const oe=q.createIdentifier(v);T.replaceNode(f.file,t,oe)}else if(t.parent.kind===244&&u===Tn(t,V8e)){const oe=q.createVariableStatement(void 0,q.createVariableDeclarationList([K],2));T.replaceNode(f.file,t.parent,oe)}else{const oe=q.createVariableStatement(void 0,q.createVariableDeclarationList([K],2)),se=AVt(t,u);if(se.pos===0?T.insertNodeAtTopOfFile(f.file,oe,!1):T.insertNodeBefore(f.file,se,oe,!1),t.parent.kind===244)T.delete(f.file,t.parent);else{let ge=q.createIdentifier(v);W8e(t)&&(ge=q.createJsxExpression(void 0,ge)),T.replaceNode(f.file,t,ge)}}}const M=T.getChanges(),z=t.getSourceFile().fileName,j=$H(M,z,v,!0);return{renameFilename:z,renameLocation:j,edits:M};function J(K,Y){if(K===void 0)return{variableType:K,initializer:Y};if(!A0(Y)&&!J0(Y)||Y.typeParameters)return{variableType:K,initializer:Y};const oe=p.getTypeAtLocation(t),se=Fa(p.getSignaturesOfType(oe,0));if(!se)return{variableType:K,initializer:Y};if(se.getTypeParameters())return{variableType:K,initializer:Y};const ge=[];let ae=!1;for(const Ce of Y.parameters)if(Ce.type)ge.push(Ce);else{const ne=p.getTypeAtLocation(Ce);ne===p.getAnyType()&&(ae=!0),ge.push(q.updateParameterDeclaration(Ce,Ce.modifiers,Ce.dotDotDotToken,Ce.name,Ce.questionToken,Ce.type||p.typeToTypeNode(ne,u,1),Ce.initializer))}if(ae)return{variableType:K,initializer:Y};if(K=void 0,J0(Y))Y=q.updateArrowFunction(Y,Op(t)?h2(t):void 0,Y.typeParameters,ge,Y.type||p.typeToTypeNode(se.getReturnType(),u,1),Y.equalsGreaterThanToken,Y.body);else{if(se&&se.thisParameter){const Ce=Ki(ge);if(!Ce||at(Ce.name)&&Ce.name.escapedText!=="this"){const ne=p.getTypeOfSymbolAtLocation(se.thisParameter,t);ge.splice(0,0,q.createParameterDeclaration(void 0,void 0,"this",void 0,p.typeToTypeNode(ne,u,1)))}}Y=q.updateFunctionExpression(Y,Op(t)?h2(t):void 0,Y.asteriskToken,Y.name,Y.typeParameters,ge,Y.type||p.typeToTypeNode(se.getReturnType(),u,1),Y.body)}return{variableType:K,initializer:Y}}}function _Vt(t,u){let s;for(;t!==void 0&&t!==u;){if(ra(t)&&t.initializer===s&&Fd(t.parent)&&t.parent.declarations.length>1)return t;s=t,t=t.parent}}function DVt(t,u){let s;const d=t.symbol;if(d&&d.declarations)for(const f of d.declarations)(s===void 0||f.pos0;if(ho(t)&&!p&&d.size===0)return{body:q.createBlock(t.statements,!0),returnValueProperty:void 0};let E,v=!1;const b=q.createNodeArray(ho(t)?t.statements.slice(0):[ua(t)?t:q.createReturnStatement(s0(t))]);if(p||d.size){const k=kn(b,B,ua).slice();if(p&&!f&&ua(t)){const T=K8e(u,s);T.length===1?k.push(q.createReturnStatement(T[0].name)):k.push(q.createReturnStatement(q.createObjectLiteralExpression(T)))}return{body:q.createBlock(k,!0),returnValueProperty:E}}else return{body:q.createBlock(b,!0),returnValueProperty:void 0};function B(k){if(!v&&zp(k)&&p){const T=K8e(u,s);return k.expression&&(E||(E="__return"),T.unshift(q.createPropertyAssignment(E,yt(k.expression,B,Wt)))),T.length===1?q.createReturnStatement(T[0].name):q.createReturnStatement(q.createObjectLiteralExpression(T))}else{const T=v;v=v||W0(k)||gr(k);const M=d.get($s(k).toString()),z=M?ll(M):un(k,B,Eg);return v=T,z}}}function bVt(t,u){return u.size?s(t):t;function s(d){const f=u.get($s(d).toString());return f?ll(f):un(d,s,Eg)}}function yVt(t){if(W0(t)){const u=t.body;if(ho(u))return u.statements}else{if(uE(t)||ca(t))return t.statements;if(gr(t))return t.members}return _t}function kVt(t,u){return Le(yVt(u),s=>s.pos>=t&&W0(s)&&!dc(s))}function FVt(t,u){const s=u.members;H.assert(s.length>0,"Found no members");let d,f=!0;for(const p of s){if(p.pos>t)return d||s[0];if(f&&!yo(p)){if(d!==void 0)return p;f=!1}d=p}return d===void 0?H.fail():d}function AVt(t,u){H.assert(!gr(u));let s;for(let d=t;d!==u;d=d.parent)V8e(d)&&(s=d);for(let d=(s||t).parent;;d=d.parent){if(Nut(d)){let f;for(const p of d.statements){if(p.pos>t.pos)break;f=p}return!f&&AB(d)?(H.assert(AV(d.parent.parent),"Grandparent isn't a switch statement"),d.parent.parent):H.checkDefined(f,"prevStatement failed to get set")}H.assert(d!==u,"Didn't encounter a block-like before encountering scope")}}function K8e(t,u){const s=Kt(t,f=>q.createShorthandPropertyAssignment(f.symbol.name)),d=Kt(u,f=>q.createShorthandPropertyAssignment(f.symbol.name));return s===void 0?d:d===void 0?s:s.concat(d)}function _5(t){return ja(t)}function SVt(t,u){return _5(t.range)?{pos:Pn(t.range).getStart(u),end:Cr(t.range).getEnd()}:t.range}function BVt(t,u,s,d,f,p){const E=new Map,v=[],b=[],B=[],k=[],T=[],M=new Map,z=[];let j;const J=_5(t.range)?t.range.length===1&&Id(t.range[0])?t.range[0].expression:void 0:t.range;let K;if(J===void 0){const xe=t.range,Be=Pn(xe).getStart(),We=Cr(xe).end;K=zd(d,Be,We-Be,E1.expressionExpected)}else f.getTypeAtLocation(J).flags&147456&&(K=Su(J,E1.uselessConstantType));for(const xe of u){v.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),b.push(new Map),B.push([]);const Be=[];K&&Be.push(K),gr(xe)&&Xn(xe)&&Be.push(Su(xe,E1.cannotExtractToJSClass)),J0(xe)&&!ho(xe.body)&&Be.push(Su(xe,E1.cannotExtractToExpressionArrowFunction)),k.push(Be)}const Y=new Map,oe=_5(t.range)?q.createBlock(t.range):t.range,se=_5(t.range)?Pn(t.range):t.range,ge=ae(se);if(ne(oe),ge&&!_5(t.range)&&!aE(t.range)){const xe=f.getContextualType(t.range);Ce(xe)}if(E.size>0){const xe=new Map;let Be=0;for(let We=se;We!==void 0&&Be{v[Be].typeParameterUsages.set(De,Ae)}),Be++),D0e(We))for(const Ae of Ax(We)){const De=f.getTypeAtLocation(Ae);E.has(De.id.toString())&&xe.set(De.id.toString(),De)}H.assert(Be===u.length,"Should have iterated all scopes")}if(T.length){const xe=_0e(u[0],u[0].parent)?u[0]:ZE(u[0]);uo(xe,Ne)}for(let xe=0;xe0&&(Be.usages.size>0||Be.typeParameterUsages.size>0)){const De=_5(t.range)?t.range[0]:t.range;k[xe].push(Su(De,E1.cannotAccessVariablesFromNestedScopes))}t.facts&16&&gr(u[xe])&&B[xe].push(Su(t.thisNode,E1.cannotExtractFunctionsContainingThisToMethod));let We=!1,Ae;if(v[xe].usages.forEach(De=>{De.usage===2&&(We=!0,De.symbol.flags&106500&&De.symbol.valueDeclaration&&If(De.symbol.valueDeclaration,8)&&(Ae=De.symbol.valueDeclaration))}),H.assert(_5(t.range)||z.length===0,"No variable declarations expected if something was extracted"),We&&!_5(t.range)){const De=Su(t.range,E1.cannotWriteInExpression);B[xe].push(De),k[xe].push(De)}else if(Ae&&xe>0){const De=Su(Ae,E1.cannotExtractReadonlyPropertyInitializerOutsideConstructor);B[xe].push(De),k[xe].push(De)}else if(j){const De=Su(j,E1.cannotExtractExportedEntity);B[xe].push(De),k[xe].push(De)}}return{target:oe,usagesPerScope:v,functionErrorsPerScope:B,constantErrorsPerScope:k,exposedVariableDeclarations:z};function ae(xe){return!!Tn(xe,Be=>D0e(Be)&&Ax(Be).length!==0)}function Ce(xe){const Be=f.getSymbolWalker(()=>(p.throwIfCancellationRequested(),!0)),{visitedTypes:We}=Be.walkType(xe);for(const Ae of We)Ae.isTypeParameter()&&E.set(Ae.id.toString(),Ae)}function ne(xe,Be=1){if(ge){const We=f.getTypeAtLocation(xe);Ce(We)}if(Y1(xe)&&xe.symbol&&T.push(xe),od(xe))ne(xe.left,2),ne(xe.right);else if(abe(xe))ne(xe.operand,2);else if(zu(xe)||G0(xe))uo(xe,ne);else if(at(xe)){if(!xe.parent||xf(xe.parent)&&xe!==xe.parent.left||zu(xe.parent)&&xe!==xe.parent.expression)return;ve(xe,Be,U_(xe))}else uo(xe,ne)}function ve(xe,Be,We){const Ae=Se(xe,Be,We);if(Ae)for(let De=0;De=Be)return De;if(Y.set(De,Be),He){for(const Ze of v)Ze.usages.get(xe.text)&&Ze.usages.set(xe.text,{usage:Be,symbol:Ae,node:xe});return De}const Je=Ae.getDeclarations(),ft=Je&&Le(Je,Ze=>Ze.getSourceFile()===d);if(ft&&!MH(s,ft.getStart(),ft.end)){if(t.facts&2&&Be===2){const Ze=Su(xe,E1.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(const je of B)je.push(Ze);for(const je of k)je.push(Ze)}for(let Ze=0;ZeAe.symbol===Be);if(We)if(ra(We)){const Ae=We.symbol.id.toString();M.has(Ae)||(z.push(We),M.set(Ae,!0))}else j=j||We}uo(xe,Ne)}function pe(xe){return xe.parent&&mm(xe.parent)&&xe.parent.name===xe?f.getShorthandAssignmentValueSymbol(xe.parent):f.getSymbolAtLocation(xe)}function fe(xe,Be,We){if(!xe)return;const Ae=xe.getDeclarations();if(Ae&&Ae.some(He=>He.parent===Be))return q.createIdentifier(xe.name);const De=fe(xe.parent,Be,We);if(De!==void 0)return We?q.createQualifiedName(De,q.createIdentifier(xe.name)):q.createPropertyAccessExpression(De,xe.name)}}function wVt(t){return Tn(t,u=>u.parent&&Lut(u)&&!eu(u.parent))}function Lut(t){const{parent:u}=t;switch(u.kind){case 306:return!1}switch(t.kind){case 11:return u.kind!==272&&u.kind!==276;case 230:case 206:case 208:return!1;case 80:return u.kind!==208&&u.kind!==276&&u.kind!==281}return!0}function Nut(t){switch(t.kind){case 241:case 312:case 268:case 296:return!0;default:return!1}}function W8e(t){return G8e(t)||(u3(t)||vk(t)||j2(t))&&(u3(t.parent)||j2(t.parent))}function G8e(t){return us(t)&&t.parent&&aE(t.parent)}var dw,hw,fw,E1,J8e,TVt=o({"src/services/refactors/extractSymbol.ts"(){ar(),o_(),dw="Extract Symbol",hw={name:"Extract Constant",description:Ya(F.Extract_constant),kind:"refactor.extract.constant"},fw={name:"Extract Function",description:Ya(F.Extract_function),kind:"refactor.extract.function"},o3(dw,{kinds:[hw.kind,fw.kind],getEditsForAction:Tut,getAvailableActions:wut}),(t=>{function u(s){return{message:s,code:0,category:3,key:s}}t.cannotExtractRange=u("Cannot extract range."),t.cannotExtractImport=u("Cannot extract import statement."),t.cannotExtractSuper=u("Cannot extract super call."),t.cannotExtractJSDoc=u("Cannot extract JSDoc."),t.cannotExtractEmpty=u("Cannot extract empty range."),t.expressionExpected=u("expression expected."),t.uselessConstantType=u("No reason to extract constant of type."),t.statementOrExpressionExpected=u("Statement or expression expected."),t.cannotExtractRangeContainingConditionalBreakOrContinueStatements=u("Cannot extract range containing conditional break or continue statements."),t.cannotExtractRangeContainingConditionalReturnStatement=u("Cannot extract range containing conditional return statement."),t.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=u("Cannot extract range containing labeled break or continue with target outside of the range."),t.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=u("Cannot extract range containing writes to references located outside of the target range in generators."),t.typeWillNotBeVisibleInTheNewScope=u("Type will not visible in the new scope."),t.functionWillNotBeVisibleInTheNewScope=u("Function will not visible in the new scope."),t.cannotExtractIdentifier=u("Select more than a single identifier."),t.cannotExtractExportedEntity=u("Cannot extract exported declaration"),t.cannotWriteInExpression=u("Cannot write back side-effects when extracting an expression"),t.cannotExtractReadonlyPropertyInitializerOutsideConstructor=u("Cannot move initialization of read-only class property outside of the constructor"),t.cannotExtractAmbientBlock=u("Cannot extract code from ambient contexts"),t.cannotAccessVariablesFromNestedScopes=u("Cannot access variables from nested scopes"),t.cannotExtractToJSClass=u("Cannot extract constant to a class scope in JS"),t.cannotExtractToExpressionArrowFunction=u("Cannot extract constant to an arrow function without a block"),t.cannotExtractFunctionsContainingThisToMethod=u("Cannot extract functions containing this to method")})(E1||(E1={})),J8e=(t=>(t[t.None=0]="None",t[t.HasReturn=1]="HasReturn",t[t.IsGenerator=2]="IsGenerator",t[t.IsAsyncFunction=4]="IsAsyncFunction",t[t.UsesThis=8]="UsesThis",t[t.UsesThisInFunction=16]="UsesThisInFunction",t[t.InStaticRegion=32]="InStaticRegion",t))(J8e||{})}}),Put={};h(Put,{Messages:()=>E1,RangeFacts:()=>J8e,getRangeToExtract:()=>j8e,getRefactorActionsToExtractSymbol:()=>wut,getRefactorEditsToExtractSymbol:()=>Tut});var LVt=o({"src/services/_namespaces/ts.refactor.extractSymbol.ts"(){TVt()}}),oee,yme,kme,NVt=o({"src/services/refactors/generateGetAccessorAndSetAccessor.ts"(){ar(),o_(),oee="Generate 'get' and 'set' accessors",yme=Ya(F.Generate_get_and_set_accessors),kme={name:oee,description:yme,kind:"refactor.rewrite.property.generateAccessors"},o3(oee,{kinds:[kme.kind],getEditsForAction:function(u,s){if(!u.endPosition)return;const d=M1.getAccessorConvertiblePropertyAtPosition(u.file,u.program,u.startPosition,u.endPosition);H.assert(d&&!oD(d),"Expected applicable refactor info");const f=M1.generateAccessorFromProperty(u.file,u.program,u.startPosition,u.endPosition,u,s);if(!f)return;const p=u.file.fileName,E=d.renameAccessor?d.accessorName:d.fieldName,b=(at(E)?0:-1)+$H(f,p,E.text,Qa(d.declaration));return{renameFilename:p,renameLocation:b,edits:f}},getAvailableActions(t){if(!t.endPosition)return _t;const u=M1.getAccessorConvertiblePropertyAtPosition(t.file,t.program,t.startPosition,t.endPosition,t.triggerReason==="invoked");return u?oD(u)?t.preferences.provideRefactorNotApplicableReason?[{name:oee,description:yme,actions:[{...kme,notApplicableReason:u.error}]}]:_t:[{name:oee,description:yme,actions:[kme]}]:_t}})}}),PVt={},MVt=o({"src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts"(){NVt()}});function zVt(t){const u=Mut(t);if(u&&!oD(u))return{renameFilename:void 0,renameLocation:void 0,edits:iu.ChangeTracker.with(t,d=>RVt(t.file,d,u.declaration,u.returnTypeNode))}}function IVt(t){const u=Mut(t);return u?oD(u)?t.preferences.provideRefactorNotApplicableReason?[{name:see,description:Fme,actions:[{...lee,notApplicableReason:u.error}]}]:_t:[{name:see,description:Fme,actions:[lee]}]:_t}function RVt(t,u,s,d){const f=r0(s,22,t),p=J0(s)&&f===void 0,E=p?Pn(s.parameters):f;E&&(p&&(u.insertNodeBefore(t,E,q.createToken(21)),u.insertNodeAfter(t,E,q.createToken(22))),u.insertNodeAt(t,E.end,d,{prefix:": "}))}function Mut(t){if(Xn(t.file)||!$v(lee.kind,t.kind))return;const u=rf(t.file,t.startPosition),s=Tn(u,E=>ho(E)||E.parent&&J0(E.parent)&&(E.kind===39||E.parent.body===E)?"quit":OVt(E));if(!s||!s.body||s.type)return{error:Ya(F.Return_type_must_be_inferred_from_a_function)};const d=t.program.getTypeChecker(),f=jVt(d,s);if(!f)return{error:Ya(F.Could_not_determine_function_return_type)};const p=d.typeToTypeNode(f,s,1);if(p)return{declaration:s,returnTypeNode:p}}function OVt(t){switch(t.kind){case 262:case 218:case 219:case 174:return!0;default:return!1}}function jVt(t,u){if(t.isImplementationOfOverload(u)){const d=t.getTypeAtLocation(u).getCallSignatures();if(d.length>1)return t.getUnionType(Si(d,f=>f.getReturnType()))}const s=t.getSignatureFromDeclaration(u);if(s)return t.getReturnTypeOfSignature(s)}var see,Fme,lee,VVt=o({"src/services/refactors/inferFunctionReturnType.ts"(){ar(),o_(),see="Infer function return type",Fme=Ya(F.Infer_function_return_type),lee={name:see,description:Fme,kind:"refactor.rewrite.function.returnType"},o3(see,{kinds:[lee.kind],getEditsForAction:zVt,getAvailableActions:IVt})}}),HVt={},KVt=o({"src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts"(){VVt()}}),u9={};h(u9,{addExportToChanges:()=>y8e,addExports:()=>x8e,addNewFileToTsconfig:()=>p8e,addOrRemoveBracesToArrowFunction:()=>njt,convertArrowFunctionOrFunctionExpression:()=>pjt,convertParamsToDestructuredObject:()=>Pjt,convertStringOrTemplateLiteral:()=>Wjt,convertToOptionalChainExpression:()=>nVt,createNewFileName:()=>k8e,createOldFileImportsFromTargetFile:()=>D8e,deleteMovedStatements:()=>QX,deleteUnusedImports:()=>v8e,deleteUnusedOldImports:()=>g8e,doChangeNamedToNamespaceOrDefault:()=>Hnt,extractSymbol:()=>Put,filterImport:()=>oK,forEachImportInStatement:()=>aK,generateGetAccessorAndSetAccessor:()=>PVt,getApplicableRefactors:()=>iOt,getEditsForRefactor:()=>nOt,getStatementsToMove:()=>sK,getTopLevelDeclarationStatement:()=>dme,getUsageInfo:()=>eee,inferFunctionReturnType:()=>HVt,isRefactorErrorInfo:()=>oD,isTopLevelDeclaration:()=>tee,makeImportOrRequire:()=>XX,moduleSpecifierFromImport:()=>rK,nameOfTopLevelDeclaration:()=>b8e,refactorKindBeginsWith:()=>$v,registerRefactor:()=>o3,updateImportsInOtherFiles:()=>E8e});var o_=o({"src/services/_namespaces/ts.refactor.ts"(){znt(),cOt(),pOt(),COt(),bOt(),kOt(),BOt(),ZOt(),ujt(),gjt(),Mjt(),Gjt(),uVt(),LVt(),MVt(),KVt()}});function zut(t,u,s,d){const f=$8e(t,u,s,d);H.assert(f.spans.length%3===0);const p=f.spans,E=[];for(let v=0;v{f.push(E.getStart(u),E.getWidth(u),(v+1<<8)+b)},d),f}function GVt(t,u,s,d,f){const p=t.getTypeChecker();let E=!1;function v(b){switch(b.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 219:f.throwIfCancellationRequested()}if(!b||!FU(s,b.pos,b.getFullWidth())||b.getFullWidth()===0)return;const B=E;if((u3(b)||vk(b))&&(E=!0),ZP(b)&&(E=!1),at(b)&&!E&&!qVt(b)&&!TP(b.escapedText)){let k=p.getSymbolAtLocation(b);if(k){k.flags&2097152&&(k=p.getAliasedSymbol(k));let T=JVt(k,Lk(b));if(T!==void 0){let M=0;b.parent&&(Os(b.parent)||Y8e.get(b.parent.kind)===T)&&b.parent.name===b&&(M=1),T===6&&Rut(b)&&(T=9),T=$Vt(p,b,T);const z=k.valueDeclaration;if(z){const j=d2(z),J=YD(z);j&256&&(M|=2),j&1024&&(M|=4),T!==0&&T!==2&&(j&8||J&2||k.getFlags()&8)&&(M|=8),(T===7||T===10)&&UVt(z,u)&&(M|=32),t.isSourceFileDefaultLibrary(z.getSourceFile())&&(M|=16)}else k.declarations&&k.declarations.some(j=>t.isSourceFileDefaultLibrary(j.getSourceFile()))&&(M|=16);d(b,T,M)}}}uo(b,v),E=B}v(u)}function JVt(t,u){const s=t.getFlags();if(s&32)return 0;if(s&384)return 1;if(s&524288)return 5;if(s&64){if(u&2)return 2}else if(s&262144)return 4;let d=t.valueDeclaration||t.declarations&&t.declarations[0];return d&&Os(d)&&(d=Iut(d)),d&&Y8e.get(d.kind)}function $Vt(t,u,s){if(s===7||s===9||s===6){const d=t.getTypeAtLocation(u);if(d){const f=p=>p(d)||d.isUnion()&&d.types.some(p);if(s!==6&&f(p=>p.getConstructSignatures().length>0))return 0;if(f(p=>p.getCallSignatures().length>0)&&!f(p=>p.getProperties().length>0)||ZVt(u))return s===9?11:10}}return s}function UVt(t,u){return Os(t)&&(t=Iut(t)),ra(t)?(!ca(t.parent.parent.parent)||H2(t.parent))&&t.getSourceFile()===u:Xc(t)?!ca(t.parent)&&t.getSourceFile()===u:!1}function Iut(t){for(;;)if(Os(t.parent.parent))t=t.parent.parent;else return t.parent.parent}function qVt(t){const u=t.parent;return u&&(i_(u)||Cf(u)||Gx(u))}function ZVt(t){for(;Rut(t);)t=t.parent;return Po(t.parent)&&t.parent.expression===t}function Rut(t){return xf(t.parent)&&t.parent.right===t||zu(t.parent)&&t.parent.name===t}var U8e,q8e,Z8e,Y8e,Out=o({"src/services/classifier2020.ts"(){ar(),U8e=(t=>(t[t.typeOffset=8]="typeOffset",t[t.modifierMask=255]="modifierMask",t))(U8e||{}),q8e=(t=>(t[t.class=0]="class",t[t.enum=1]="enum",t[t.interface=2]="interface",t[t.namespace=3]="namespace",t[t.typeParameter=4]="typeParameter",t[t.type=5]="type",t[t.parameter=6]="parameter",t[t.variable=7]="variable",t[t.enumMember=8]="enumMember",t[t.property=9]="property",t[t.function=10]="function",t[t.member=11]="member",t))(q8e||{}),Z8e=(t=>(t[t.declaration=0]="declaration",t[t.static=1]="static",t[t.async=2]="async",t[t.readonly=3]="readonly",t[t.defaultLibrary=4]="defaultLibrary",t[t.local=5]="local",t))(Z8e||{}),Y8e=new Map([[260,7],[169,6],[172,9],[267,3],[266,1],[306,8],[263,0],[174,11],[262,10],[218,10],[173,11],[177,9],[178,9],[171,9],[264,2],[265,5],[168,4],[303,9],[304,9]])}});function jut(t,u,s,d){const f=KO(t)?new Tme(t,u,s):t===80?new Nme(80,u,s):t===81?new Pme(81,u,s):new tBe(t,u,s);return f.parent=d,f.flags=d.flags&101441536,f}function YVt(t,u){if(!KO(t.kind))return _t;const s=[];if(VU(t))return t.forEachChild(E=>{s.push(E)}),s;ih.setText((u||t.getSourceFile()).text);let d=t.pos;const f=E=>{cee(s,d,E.pos,t),s.push(E),d=E.end},p=E=>{cee(s,d,E.pos,t),s.push(QVt(E,t)),d=E.end};return L(t.jsDoc,f),d=t.pos,t.forEachChild(f,p),cee(s,d,t.end,t),ih.setText(void 0),s}function cee(t,u,s,d){for(ih.resetTokenState(u);uu.tagName.text==="inheritDoc"||u.tagName.text==="inheritdoc")}function Ame(t,u){if(!t)return _t;let s=qv.getJsDocTagsFromDeclarations(t,u);if(u&&(s.length===0||t.some(Vut))){const d=new Set;for(const f of t){const p=Hut(u,f,E=>{var v;if(!d.has(E))return d.add(E),f.kind===177||f.kind===178?E.getContextualJsDocTags(f,u):((v=E.declarations)==null?void 0:v.length)===1?E.getJsDocTags():void 0});p&&(s=[...p,...s])}}return s}function dee(t,u){if(!t)return _t;let s=qv.getJsDocCommentsFromDeclarations(t,u);if(u&&(s.length===0||t.some(Vut))){const d=new Set;for(const f of t){const p=Hut(u,f,E=>{if(!d.has(E))return d.add(E),f.kind===177||f.kind===178?E.getContextualDocumentationComment(f,u):E.getDocumentationComment(u)});p&&(s=s.length===0?p.slice():p.concat(ow(),s))}}return s}function Hut(t,u,s){var d;const f=((d=u.parent)==null?void 0:d.kind)===176?u.parent.parent:u.parent;if(!f)return;const p=Kc(u);return G(nP(f),E=>{const v=t.getTypeAtLocation(E),b=p&&v.symbol?t.getTypeOfSymbol(v.symbol):v,B=t.getPropertyOfType(b,u.symbol.name);return B?s(B):void 0})}function XVt(){return{getNodeConstructor:()=>Tme,getTokenConstructor:()=>tBe,getIdentifierConstructor:()=>Nme,getPrivateIdentifierConstructor:()=>Pme,getSourceFileConstructor:()=>Uut,getSymbolConstructor:()=>Gut,getTypeConstructor:()=>Jut,getSignatureConstructor:()=>$ut,getSourceMapSourceConstructor:()=>qut}}function mK(t){let u=!0;for(const d in t)if(gu(t,d)&&!Kut(d)){u=!1;break}if(u)return t;const s={};for(const d in t)if(gu(t,d)){const f=Kut(d)?d:d.charAt(0).toLowerCase()+d.substr(1);s[f]=t[d]}return s}function Kut(t){return!t.length||t.charAt(0)===t.charAt(0).toLowerCase()}function pK(t){return t?Kt(t,u=>u.text).join(""):""}function hee(){return{target:1,jsx:1}}function Sme(){return M1.getSupportedErrorCodes()}function Wut(t,u,s){t.version=s,t.scriptSnapshot=u}function fee(t,u,s,d,f,p){const E=VV(t,uw(u),s,f,p);return Wut(E,u,d),E}function Bme(t,u,s,d,f){if(d&&s!==t.version){let E;const v=d.span.start!==0?t.text.substr(0,d.span.start):"",b=gc(d.span)!==t.text.length?t.text.substr(gc(d.span)):"";if(d.newLength===0)E=v&&b?v+b:v||b;else{const k=u.getText(d.span.start,d.span.start+d.newLength);E=v&&b?v+k+b:v?v+k:k+b}const B=Jce(t,E,d,f);return Wut(B,u,s),B.nameTable=void 0,t!==B&&t.scriptSnapshot&&(t.scriptSnapshot.dispose&&t.scriptSnapshot.dispose(),t.scriptSnapshot=void 0),B}const p={languageVersion:t.languageVersion,impliedNodeFormat:t.impliedNodeFormat,setExternalModuleIndicator:t.setExternalModuleIndicator,jsDocParsingMode:t.jsDocParsingMode};return fee(t.fileName,u,p,s,!0,t.scriptKind)}function Q8e(t,u=ISe(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory()),s){var d;let f;s===void 0?f=0:typeof s=="boolean"?f=s?2:0:f=s;const p=new Zut(t);let E,v,b=0;const B=t.getCancellationToken?new Qut(t.getCancellationToken()):Yut,k=t.getCurrentDirectory();Xye((d=t.getLocalizedDiagnosticMessages)==null?void 0:d.bind(t));function T(we){t.log&&t.log(we)}const M=jj(t),z=T1(M),j=YSe({useCaseSensitiveFileNames:()=>M,getCurrentDirectory:()=>k,getProgram:Y,fileExists:To(t,t.fileExists),readFile:To(t,t.readFile),getDocumentPositionMapper:To(t,t.getDocumentPositionMapper),getSourceFileLike:To(t,t.getSourceFileLike),log:T});function J(we){const de=E.getSourceFile(we);if(!de){const Oe=new Error(`Could not find source file: '${we}'.`);throw Oe.ProgramFiles=E.getSourceFiles().map(X=>X.fileName),Oe}return de}function K(){var we,de,Oe;if(H.assert(f!==2),t.getProjectVersion){const Ua=t.getProjectVersion();if(Ua){if(v===Ua&&!((we=t.hasChangedAutomaticTypeDirectiveNames)!=null&&we.call(t)))return;v=Ua}}const X=t.getTypeRootsVersion?t.getTypeRootsVersion():0;b!==X&&(T("TypeRoots version has changed; provide new program"),E=void 0,b=X);const it=t.getScriptFileNames().slice(),Ct=t.getCompilationSettings()||hee(),ct=t.hasInvalidatedResolutions||sg,Qt=To(t,t.hasInvalidatedLibResolutions)||sg,Ti=To(t,t.hasChangedAutomaticTypeDirectiveNames),Ui=(de=t.getProjectReferences)==null?void 0:de.call(t);let Sn,du={getSourceFile:Fn,getSourceFileByPath:xc,getCancellationToken:()=>B,getCanonicalFileName:z,useCaseSensitiveFileNames:()=>M,getNewLine:()=>r5(Ct),getDefaultLibFileName:Ua=>t.getDefaultLibFileName(Ua),writeFile:zs,getCurrentDirectory:()=>k,fileExists:Ua=>t.fileExists(Ua),readFile:Ua=>t.readFile&&t.readFile(Ua),getSymlinkCache:To(t,t.getSymlinkCache),realpath:To(t,t.realpath),directoryExists:Ua=>cg(Ua,t),getDirectories:Ua=>t.getDirectories?t.getDirectories(Ua):[],readDirectory:(Ua,l0,$l,wl,cd)=>(H.checkDefined(t.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(Ua,l0,$l,wl,cd)),onReleaseOldSourceFile:Bo,onReleaseParsedCommandLine:as,hasInvalidatedResolutions:ct,hasInvalidatedLibResolutions:Qt,hasChangedAutomaticTypeDirectiveNames:Ti,trace:To(t,t.trace),resolveModuleNames:To(t,t.resolveModuleNames),getModuleResolutionCache:To(t,t.getModuleResolutionCache),createHash:To(t,t.createHash),resolveTypeReferenceDirectives:To(t,t.resolveTypeReferenceDirectives),resolveModuleNameLiterals:To(t,t.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:To(t,t.resolveTypeReferenceDirectiveReferences),resolveLibrary:To(t,t.resolveLibrary),useSourceOfProjectReferenceRedirect:To(t,t.useSourceOfProjectReferenceRedirect),getParsedCommandLine:wn,jsDocParsingMode:t.jsDocParsingMode};const Iu=du.getSourceFile,{getSourceFileWithCache:Er}=DH(du,Ua=>K0(Ua,k,z),(...Ua)=>Iu.call(du,...Ua));du.getSourceFile=Er,(Oe=t.setCompilerHost)==null||Oe.call(t,du);const er={useCaseSensitiveFileNames:M,fileExists:Ua=>du.fileExists(Ua),readFile:Ua=>du.readFile(Ua),directoryExists:Ua=>du.directoryExists(Ua),getDirectories:Ua=>du.getDirectories(Ua),realpath:du.realpath,readDirectory:(...Ua)=>du.readDirectory(...Ua),trace:du.trace,getCurrentDirectory:du.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:zs},da=u.getKeyForCompilationSettings(Ct);let Wu=new Set;if(B1e(E,it,Ct,(Ua,l0)=>t.getScriptVersion(l0),Ua=>du.fileExists(Ua),ct,Qt,Ti,wn,Ui)){du=void 0,Sn=void 0,Wu=void 0;return}E=yQ({rootNames:it,options:Ct,host:du,oldProgram:E,projectReferences:Ui}),du=void 0,Sn=void 0,Wu=void 0,j.clearCache(),E.getTypeChecker();return;function wn(Ua){const l0=K0(Ua,k,z),$l=Sn==null?void 0:Sn.get(l0);if($l!==void 0)return $l||void 0;const wl=t.getParsedCommandLine?t.getParsedCommandLine(Ua):Rr(Ua);return(Sn||(Sn=new Map)).set(l0,wl||!1),wl}function Rr(Ua){const l0=Fn(Ua,100);if(l0)return l0.path=K0(Ua,k,z),l0.resolvedPath=l0.path,l0.originalFileName=l0.fileName,JV(l0,er,Ga(cr(Ua),k),void 0,Ga(Ua,k))}function as(Ua,l0,$l){var wl;t.getParsedCommandLine?(wl=t.onReleaseParsedCommandLine)==null||wl.call(t,Ua,l0,$l):l0&&Bo(l0.sourceFile,$l)}function Bo(Ua,l0){const $l=u.getKeyForCompilationSettings(l0);u.releaseDocumentWithKey(Ua.resolvedPath,$l,Ua.scriptKind,Ua.impliedNodeFormat)}function Fn(Ua,l0,$l,wl){return xc(Ua,K0(Ua,k,z),l0,$l,wl)}function xc(Ua,l0,$l,wl,cd){H.assert(du,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");const vl=t.getScriptSnapshot(Ua);if(!vl)return;const oo=mfe(Ua,t),Ho=t.getScriptVersion(Ua);if(!cd){const td=E&&E.getSourceFileByPath(l0);if(td){if(oo===td.scriptKind||Wu.has(td.resolvedPath))return u.updateDocumentWithKey(Ua,l0,t,da,vl,Ho,oo,$l);u.releaseDocumentWithKey(td.resolvedPath,u.getKeyForCompilationSettings(E.getCompilerOptions()),td.scriptKind,td.impliedNodeFormat),Wu.add(td.resolvedPath)}}return u.acquireDocumentWithKey(Ua,l0,t,da,vl,Ho,oo,$l)}}function Y(){if(f===2){H.assert(E===void 0);return}return K(),E}function oe(){var we;return(we=t.getPackageJsonAutoImportProvider)==null?void 0:we.call(t)}function se(we,de){const Oe=E.getTypeChecker(),X=it();if(!X)return!1;for(const ct of we)for(const Qt of ct.references){const Ti=Ct(Qt);if(H.assertIsDefined(Ti),de.has(Qt)||$0.isDeclarationOfSymbol(Ti,X)){de.add(Qt),Qt.isDefinition=!0;const Ui=xX(Qt,j,To(t,t.fileExists));Ui&&de.add(Ui)}else Qt.isDefinition=!1}return!0;function it(){for(const ct of we)for(const Qt of ct.references){if(de.has(Qt)){const Ui=Ct(Qt);return H.assertIsDefined(Ui),Oe.getSymbolAtLocation(Ui)}const Ti=xX(Qt,j,To(t,t.fileExists));if(Ti&&de.has(Ti)){const Ui=Ct(Ti);if(Ui)return Oe.getSymbolAtLocation(Ui)}}}function Ct(ct){const Qt=E.getSourceFile(ct.fileName);if(!Qt)return;const Ti=rf(Qt,ct.textSpan.start);return $0.Core.getAdjustedNode(Ti,{use:$0.FindReferencesUse.References})}}function ge(){if(E){const we=u.getKeyForCompilationSettings(E.getCompilerOptions());L(E.getSourceFiles(),de=>u.releaseDocumentWithKey(de.resolvedPath,we,de.scriptKind,de.impliedNodeFormat)),E=void 0}}function ae(){ge(),t=void 0}function Ce(we){return K(),E.getSyntacticDiagnostics(J(we),B).slice()}function ne(we){K();const de=J(we),Oe=E.getSemanticDiagnostics(de,B);if(!l4(E.getCompilerOptions()))return Oe.slice();const X=E.getDeclarationDiagnostics(de,B);return[...Oe,...X]}function ve(we){return K(),Gfe(J(we),E,B)}function Se(){return K(),[...E.getOptionsDiagnostics(B),...E.getGlobalDiagnostics(B)]}function Ne(we,de,Oe=c4,X){const it={...Oe,includeCompletionsForModuleExports:Oe.includeCompletionsForModuleExports||Oe.includeExternalModuleExports,includeCompletionsWithInsertText:Oe.includeCompletionsWithInsertText||Oe.includeInsertTextCompletions};return K(),c9.getCompletionsAtPosition(t,E,T,J(we),de,it,Oe.triggerCharacter,Oe.triggerKind,B,X&&ld.getFormatContext(X,t),Oe.includeSymbol)}function pe(we,de,Oe,X,it,Ct=c4,ct){return K(),c9.getCompletionEntryDetails(E,T,J(we),de,{name:Oe,source:it,data:ct},t,X&&ld.getFormatContext(X,t),Ct,B)}function fe(we,de,Oe,X,it=c4){return K(),c9.getCompletionEntrySymbol(E,T,J(we),de,{name:Oe,source:X},t,it)}function xe(we,de){K();const Oe=J(we),X=rf(Oe,de);if(X===Oe)return;const it=E.getTypeChecker(),Ct=Be(X),ct=nHt(Ct,it);if(!ct||it.isUnknownSymbol(ct)){const du=We(Oe,Ct,de)?it.getTypeAtLocation(Ct):void 0;return du&&{kind:"",kindModifiers:"",textSpan:af(Ct,Oe),displayParts:it.runWithCancellationToken(B,Iu=>GH(Iu,du,Nk(Ct))),documentation:du.symbol?du.symbol.getDocumentationComment(it):void 0,tags:du.symbol?du.symbol.getJsDocTags(it):void 0}}const{symbolKind:Qt,displayParts:Ti,documentation:Ui,tags:Sn}=it.runWithCancellationToken(B,du=>D5.getSymbolDisplayPartsDocumentationAndSymbolKind(du,ct,Oe,Nk(Ct),Ct));return{kind:Qt,kindModifiers:D5.getSymbolModifiers(it,ct),textSpan:af(Ct,Oe),displayParts:Ti,documentation:Ui,tags:Sn}}function Be(we){return I2(we.parent)&&we.pos===we.parent.pos?we.parent.expression:WP(we.parent)&&we.pos===we.parent.pos||H8(we.parent)&&we.parent.name===we||mg(we.parent)?we.parent:we}function We(we,de,Oe){switch(de.kind){case 80:return!Ihe(de)&&!Rhe(de)&&!U3(de.parent);case 211:case 166:return!f5(we,Oe);case 110:case 197:case 108:case 202:return!0;case 236:return H8(de);default:return!1}}function Ae(we,de,Oe,X){return K(),xw.getDefinitionAtPosition(E,J(we),de,Oe,X)}function De(we,de){return K(),xw.getDefinitionAndBoundSpan(E,J(we),de)}function He(we,de){return K(),xw.getTypeDefinitionAtPosition(E.getTypeChecker(),J(we),de)}function Je(we,de){return K(),$0.getImplementationsAtPosition(E,B,E.getSourceFiles(),J(we),de)}function ft(we,de,Oe){const X=Jo(we);H.assert(Oe.some(ct=>Jo(ct)===X)),K();const it=Si(Oe,ct=>E.getSourceFile(ct)),Ct=J(we);return HX.getDocumentHighlights(E,B,Ct,de,it)}function Ze(we,de,Oe,X,it){K();const Ct=J(we),ct=rX(rf(Ct,de));if(Ree.nodeIsEligibleForRename(ct))if(at(ct)&&(rE(ct.parent)||O2(ct.parent))&&uB(ct.escapedText)){const{openingElement:Qt,closingElement:Ti}=ct.parent.parent;return[Qt,Ti].map(Ui=>{const Sn=af(Ui.tagName,Ct);return{fileName:Ct.fileName,textSpan:Sn,...$0.toContextSpan(Sn,Ct,Ui.parent)}})}else{const Qt=Vm(Ct,it??c4),Ti=typeof it=="boolean"?it:it==null?void 0:it.providePrefixAndSuffixTextForRename;return Ke(ct,de,{findInStrings:Oe,findInComments:X,providePrefixAndSuffixTextForRename:Ti,use:$0.FindReferencesUse.Rename},(Ui,Sn,du)=>$0.toRenameLocation(Ui,Sn,du,Ti||!1,Qt))}}function je(we,de){return K(),Ke(rf(J(we),de),de,{use:$0.FindReferencesUse.References},$0.toReferenceEntry)}function Ke(we,de,Oe,X){K();const it=Oe&&Oe.use===$0.FindReferencesUse.Rename?E.getSourceFiles().filter(Ct=>!E.isSourceFileDefaultLibrary(Ct)):E.getSourceFiles();return $0.findReferenceOrRenameEntries(E,B,it,we,de,Oe,X)}function Gt(we,de){return K(),$0.findReferencedSymbols(E,B,E.getSourceFiles(),J(we),de)}function Yt(we){return K(),$0.Core.getReferencesForFileName(we,E,E.getSourceFiles()).map($0.toReferenceEntry)}function Ie(we,de,Oe,X=!1,it=!1){K();const Ct=Oe?[J(Oe)]:E.getSourceFiles();return dnt(Ct,E.getTypeChecker(),B,we,de,X,it)}function lt(we,de,Oe){K();const X=J(we),it=t.getCustomTransformers&&t.getCustomTransformers();return V7e(E,X,!!de,B,it,Oe)}function St(we,de,{triggerReason:Oe}=c4){K();const X=J(we);return TK.getSignatureHelpItems(E,X,de,Oe,B)}function It(we){return p.getCurrentSourceFile(we)}function ti(we,de,Oe){const X=p.getCurrentSourceFile(we),it=rf(X,de);if(it===X)return;switch(it.kind){case 211:case 166:case 11:case 97:case 112:case 106:case 108:case 110:case 197:case 80:break;default:return}let Ct=it;for(;;)if(iw(Ct)||G9e(Ct))Ct=Ct.parent;else if(jhe(Ct))if(Ct.parent.parent.kind===267&&Ct.parent.parent.body===Ct.parent)Ct=Ct.parent.parent.name;else break;else break;return Vc(Ct.getStart(),it.getEnd())}function ht(we,de){const Oe=p.getCurrentSourceFile(we);return zme.spanInSourceFileAtLocation(Oe,de)}function Ut(we){return pnt(p.getCurrentSourceFile(we),B)}function Ni(we){return gnt(p.getCurrentSourceFile(we),B)}function Vi(we,de,Oe){return K(),(Oe||"original")==="2020"?zut(E,B,J(we),de):MSe(E.getTypeChecker(),B,J(we),E.getClassifiableNames(),de)}function xn(we,de,Oe){return K(),(Oe||"original")==="original"?Rfe(E.getTypeChecker(),B,J(we),E.getClassifiableNames(),de):$8e(E,B,J(we),de)}function $n(we,de){return zSe(B,p.getCurrentSourceFile(we),de)}function rn(we,de){return Ofe(B,p.getCurrentSourceFile(we),de)}function Pi(we){const de=p.getCurrentSourceFile(we);return Tpe.collectElements(de,B)}const ki=new Map(Object.entries({19:20,21:22,23:24,32:30}));ki.forEach((we,de)=>ki.set(we.toString(),Number(de)));function Yu(we,de){const Oe=p.getCurrentSourceFile(we),X=TM(Oe,de),it=X.getStart(Oe)===de?ki.get(X.kind.toString()):void 0,Ct=it&&r0(X.parent,it,Oe);return Ct?[af(X,Oe),af(Ct,Oe)].sort((ct,Qt)=>ct.start-Qt.start):_t}function oa(we,de,Oe){let X=H0();const it=mK(Oe),Ct=p.getCurrentSourceFile(we);T("getIndentationAtPosition: getCurrentSourceFile: "+(H0()-X)),X=H0();const ct=ld.SmartIndenter.getIndentation(de,Ct,it);return T("getIndentationAtPosition: computeIndentation : "+(H0()-X)),ct}function Fr(we,de,Oe,X){const it=p.getCurrentSourceFile(we);return ld.formatSelection(de,Oe,it,ld.getFormatContext(mK(X),t))}function Sa(we,de){return ld.formatDocument(p.getCurrentSourceFile(we),ld.getFormatContext(mK(de),t))}function bt(we,de,Oe,X){const it=p.getCurrentSourceFile(we),Ct=ld.getFormatContext(mK(X),t);if(!f5(it,de))switch(Oe){case"{":return ld.formatOnOpeningCurly(de,it,Ct);case"}":return ld.formatOnClosingCurly(de,it,Ct);case";":return ld.formatOnSemicolon(de,it,Ct);case` +`:return ld.formatOnEnter(de,it,Ct)}return[]}function On(we,de,Oe,X,it,Ct=c4){K();const ct=J(we),Qt=Vc(de,Oe),Ti=ld.getFormatContext(it,t);return Ku(li(X,vx,nl),Ui=>(B.throwIfCancellationRequested(),M1.getFixes({errorCode:Ui,sourceFile:ct,span:Qt,program:E,host:t,cancellationToken:B,formatContext:Ti,preferences:Ct})))}function Ln(we,de,Oe,X=c4){K(),H.assert(we.type==="file");const it=J(we.fileName),Ct=ld.getFormatContext(Oe,t);return M1.getAllFixes({fixId:de,sourceFile:it,program:E,host:t,cancellationToken:B,formatContext:Ct,preferences:X})}function Fi(we,de,Oe=c4){K(),H.assert(we.type==="file");const X=J(we.fileName),it=ld.getFormatContext(de,t),Ct=we.mode??(we.skipDestructiveCodeActions?"SortAndCombine":"All");return Hp.organizeImports(X,it,t,E,Oe,Ct)}function Dn(we,de,Oe,X=c4){return OSe(Y(),we,de,t,ld.getFormatContext(Oe,t),X,j)}function Cn(we,de){const Oe=typeof we=="string"?de:we;return ja(Oe)?Promise.all(Oe.map(X=>tu(X))):tu(Oe)}function tu(we){const de=Oe=>K0(Oe,k,z);return H.assertEqual(we.type,"install package"),t.installPackage?t.installPackage({fileName:de(we.file),packageName:we.packageName}):Promise.reject("Host does not implement `installPackage`")}function sa(we,de,Oe,X){const it=X?ld.getFormatContext(X,t).options:void 0;return qv.getDocCommentTemplateAtPosition(g5(t,it),p.getCurrentSourceFile(we),de,Oe)}function Da(we,de,Oe){if(Oe===60)return!1;const X=p.getCurrentSourceFile(we);if(Pk(X,de))return!1;if(Q9e(X,de))return Oe===123;if(Jhe(X,de))return!1;switch(Oe){case 39:case 34:case 96:return!f5(X,de)}return!0}function aa(we,de){const Oe=p.getCurrentSourceFile(we),X=ed(de,Oe);if(!X)return;const it=X.kind===32&&rE(X.parent)?X.parent.parent:S7(X)&&u3(X.parent)?X.parent:void 0;if(it&&qt(it))return{newText:``};const Ct=X.kind===32&&O7(X.parent)?X.parent.parent:S7(X)&&j2(X.parent)?X.parent:void 0;if(Ct&&Xt(Ct))return{newText:""}}function Ba(we,de){const Oe=p.getCurrentSourceFile(we),X=ed(de,Oe);if(!X||X.parent.kind===312)return;const it="[a-zA-Z0-9:\\-\\._$]*";if(j2(X.parent.parent)){const Ct=X.parent.parent.openingFragment,ct=X.parent.parent.closingFragment;if(I8(Ct)||I8(ct))return;const Qt=Ct.getStart(Oe)+1,Ti=ct.getStart(Oe)+2;return de!==Qt&&de!==Ti?void 0:{ranges:[{start:Qt,length:0},{start:Ti,length:0}],wordPattern:it}}else{const Ct=Tn(X.parent,Er=>!!(rE(Er)||O2(Er)));if(!Ct)return;H.assert(rE(Ct)||O2(Ct),"tag should be opening or closing element");const ct=Ct.parent.openingElement,Qt=Ct.parent.closingElement,Ti=ct.tagName.getStart(Oe),Ui=ct.tagName.end,Sn=Qt.tagName.getStart(Oe),du=Qt.tagName.end;return!(Ti<=de&&de<=Ui||Sn<=de&&de<=du)||ct.tagName.getText(Oe)!==Qt.tagName.getText(Oe)?void 0:{ranges:[{start:Ti,length:Ui-Ti},{start:Sn,length:du-Sn}],wordPattern:it}}}function Yo(we,de){return{lineStarts:we.getLineStarts(),firstLine:we.getLineAndCharacterOfPosition(de.pos).line,lastLine:we.getLineAndCharacterOfPosition(de.end).line}}function vo(we,de,Oe){const X=p.getCurrentSourceFile(we),it=[],{lineStarts:Ct,firstLine:ct,lastLine:Qt}=Yo(X,de);let Ti=Oe||!1,Ui=Number.MAX_VALUE;const Sn=new Map,du=new RegExp(/\S/),Iu=sX(X,Ct[ct]),Er=Iu?"{/*":"//";for(let er=ct;er<=Qt;er++){const da=X.text.substring(Ct[er],X.getLineEndOfPosition(Ct[er])),Wu=du.exec(da);Wu&&(Ui=Math.min(Ui,Wu.index),Sn.set(er.toString(),Wu.index),da.substr(Wu.index,Er.length)!==Er&&(Ti=Oe===void 0||Oe))}for(let er=ct;er<=Qt;er++){if(ct!==Qt&&Ct[er]===de.end)continue;const da=Sn.get(er.toString());da!==void 0&&(Iu?it.push(...Qe(we,{pos:Ct[er]+Ui,end:X.getLineEndOfPosition(Ct[er])},Ti,Iu)):Ti?it.push({newText:Er,span:{length:0,start:Ct[er]+Ui}}):X.text.substr(Ct[er]+da,Er.length)===Er&&it.push({newText:"",span:{length:Er.length,start:Ct[er]+da}}))}return it}function Qe(we,de,Oe,X){var it;const Ct=p.getCurrentSourceFile(we),ct=[],{text:Qt}=Ct;let Ti=!1,Ui=Oe||!1;const Sn=[];let{pos:du}=de;const Iu=X!==void 0?X:sX(Ct,du),Er=Iu?"{/*":"/*",er=Iu?"*/}":"*/",da=Iu?"\\{\\/\\*":"\\/\\*",Wu=Iu?"\\*\\/\\}":"\\*\\/";for(;du<=de.end;){const Ra=Qt.substr(du,Er.length)===Er?Er.length:0,wn=f5(Ct,du+Ra);if(wn)Iu&&(wn.pos--,wn.end++),Sn.push(wn.pos),wn.kind===3&&Sn.push(wn.end),Ti=!0,du=wn.end+1;else{const Rr=Qt.substring(du,de.end).search(`(${da})|(${Wu})`);Ui=Oe!==void 0?Oe:Ui||!cSe(Qt,du,Rr===-1?de.end:du+Rr),du=Rr===-1?de.end+1:du+Rr+er.length}}if(Ui||!Ti){((it=f5(Ct,de.pos))==null?void 0:it.kind)!==2&&Nt(Sn,de.pos,nl),Nt(Sn,de.end,nl);const Ra=Sn[0];Qt.substr(Ra,Er.length)!==Er&&ct.push({newText:Er,span:{length:0,start:Ra}});for(let wn=1;wn0?Ra-er.length:0,Rr=Qt.substr(wn,er.length)===er?er.length:0;ct.push({newText:"",span:{length:Er.length,start:Ra-Rr}})}return ct}function Et(we,de){const Oe=p.getCurrentSourceFile(we),{firstLine:X,lastLine:it}=Yo(Oe,de);return X===it&&de.pos!==de.end?Qe(we,de,!0):vo(we,de,!0)}function Mt(we,de){const Oe=p.getCurrentSourceFile(we),X=[],{pos:it}=de;let{end:Ct}=de;it===Ct&&(Ct+=sX(Oe,it)?2:1);for(let ct=it;ct<=Ct;ct++){const Qt=f5(Oe,ct);if(Qt){switch(Qt.kind){case 2:X.push(...vo(we,{end:Qt.end,pos:Qt.pos+1},!1));break;case 3:X.push(...Qe(we,{end:Qt.end,pos:Qt.pos+1},!1))}ct=Qt.end+1}}return X}function qt({openingElement:we,closingElement:de,parent:Oe}){return!Ov(we.tagName,de.tagName)||u3(Oe)&&Ov(we.tagName,Oe.openingElement.tagName)&&qt(Oe)}function Xt({closingFragment:we,parent:de}){return!!(we.flags&262144)||j2(de)&&Xt(de)}function Pe(we,de,Oe){const X=p.getCurrentSourceFile(we),it=ld.getRangeOfEnclosingComment(X,de);return it&&(!Oe||it.kind===3)?Ux(it):void 0}function et(we,de){K();const Oe=J(we);B.throwIfCancellationRequested();const X=Oe.text,it=[];if(de.length>0&&!Ti(Oe.fileName)){const Ui=ct();let Sn;for(;Sn=Ui.exec(X);){B.throwIfCancellationRequested();const du=3;H.assert(Sn.length===de.length+du);const Iu=Sn[1],Er=Sn.index+Iu.length;if(!f5(Oe,Er))continue;let er;for(let Wu=0;Wu"("+Ct(wn.text)+")").join("|")+")",er=/(?:$|\*\/)/.source,da=/(?:.*?)/.source,Wu="("+Er+da+")",Ra=Iu+Wu+er;return new RegExp(Ra,"gim")}function Qt(Ui){return Ui>=97&&Ui<=122||Ui>=65&&Ui<=90||Ui>=48&&Ui<=57}function Ti(Ui){return Ui.includes("/node_modules/")}}function gt(we,de,Oe){return K(),Ree.getRenameInfo(E,J(we),de,Oe||{})}function ii(we,de,Oe,X,it,Ct){const[ct,Qt]=typeof de=="number"?[de,void 0]:[de.pos,de.end];return{file:we,startPosition:ct,endPosition:Qt,program:Y(),host:t,formatContext:ld.getFormatContext(X,t),cancellationToken:B,preferences:Oe,triggerReason:it,kind:Ct}}function me(we,de,Oe){return{file:we,program:Y(),host:t,span:de,preferences:Oe,cancellationToken:B}}function ni(we,de){return Ppe.getSmartSelectionRange(de,p.getCurrentSourceFile(we))}function _i(we,de,Oe=c4,X,it,Ct){K();const ct=J(we);return u9.getApplicableRefactors(ii(ct,de,Oe,c4,X,it),Ct)}function mt(we,de,Oe=c4){K();const X=J(we),it=H.checkDefined(E.getSourceFiles()),Ct=C7(we),ct=Si(it,Ti=>!(E!=null&&E.isSourceFileFromExternalLibrary(X))&&!(X===J(Ti.fileName)||Ct===".ts"&&C7(Ti.fileName)===".d.ts"||Ct===".d.ts"&&La(Fc(Ti.fileName),"lib.")&&C7(Ti.fileName)===".d.ts")&&Ct===C7(Ti.fileName)?Ti.fileName:void 0);return{newFileName:k8e(X,E,ii(X,de,Oe,c4),t),files:ct}}function jt(we,de,Oe,X,it,Ct=c4,ct){K();const Qt=J(we);return u9.getEditsForRefactor(ii(Qt,Oe,Ct,de),X,it,ct)}function pi(we,de){return de===0?{line:0,character:0}:j.toLineColumnOffset(we,de)}function $i(we,de){K();const Oe=r9.resolveCallHierarchyDeclaration(E,rf(J(we),de));return Oe&&yfe(Oe,X=>r9.createCallHierarchyItem(E,X))}function Yi(we,de){K();const Oe=J(we),X=kfe(r9.resolveCallHierarchyDeclaration(E,de===0?Oe:rf(Oe,de)));return X?r9.getIncomingCalls(E,X,B):[]}function on(we,de){K();const Oe=J(we),X=kfe(r9.resolveCallHierarchyDeclaration(E,de===0?Oe:rf(Oe,de)));return X?r9.getOutgoingCalls(E,X):[]}function le(we,de,Oe=c4){K();const X=J(we);return Ape.provideInlayHints(me(X,de,Oe))}const te={dispose:ae,cleanupSemanticCache:ge,getSyntacticDiagnostics:Ce,getSemanticDiagnostics:ne,getSuggestionDiagnostics:ve,getCompilerOptionsDiagnostics:Se,getSyntacticClassifications:$n,getSemanticClassifications:Vi,getEncodedSyntacticClassifications:rn,getEncodedSemanticClassifications:xn,getCompletionsAtPosition:Ne,getCompletionEntryDetails:pe,getCompletionEntrySymbol:fe,getSignatureHelpItems:St,getQuickInfoAtPosition:xe,getDefinitionAtPosition:Ae,getDefinitionAndBoundSpan:De,getImplementationAtPosition:Je,getTypeDefinitionAtPosition:He,getReferencesAtPosition:je,findReferences:Gt,getFileReferences:Yt,getDocumentHighlights:ft,getNameOrDottedNameSpan:ti,getBreakpointStatementAtPosition:ht,getNavigateToItems:Ie,getRenameInfo:gt,getSmartSelectionRange:ni,findRenameLocations:Ze,getNavigationBarItems:Ut,getNavigationTree:Ni,getOutliningSpans:Pi,getTodoComments:et,getBraceMatchingAtPosition:Yu,getIndentationAtPosition:oa,getFormattingEditsForRange:Fr,getFormattingEditsForDocument:Sa,getFormattingEditsAfterKeystroke:bt,getDocCommentTemplateAtPosition:sa,isValidBraceCompletionAtPosition:Da,getJsxClosingTagAtPosition:aa,getLinkedEditingRangeAtPosition:Ba,getSpanOfEnclosingComment:Pe,getCodeFixesAtPosition:On,getCombinedCodeFix:Ln,applyCodeActionCommand:Cn,organizeImports:Fi,getEditsForFileRename:Dn,getEmitOutput:lt,getNonBoundSourceFile:It,getProgram:Y,getCurrentProgram:()=>E,getAutoImportProvider:oe,updateIsDefinitionOfReferencedSymbols:se,getApplicableRefactors:_i,getEditsForRefactor:jt,getMoveToRefactoringFileSuggestions:mt,toLineColumnOffset:pi,getSourceMapper:()=>j,clearSourceMapperCache:()=>j.clearCache(),prepareCallHierarchy:$i,provideCallHierarchyIncomingCalls:Yi,provideCallHierarchyOutgoingCalls:on,toggleLineComment:vo,toggleMultilineComment:Qe,commentSelection:Et,uncommentSelection:Mt,provideInlayHints:le,getSupportedCodeFixes:Sme};switch(f){case 0:break;case 1:iBe.forEach(we=>te[we]=()=>{throw new Error(`LanguageService Operation: ${we} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:Xut.forEach(we=>te[we]=()=>{throw new Error(`LanguageService Operation: ${we} not allowed in LanguageServiceMode.Syntactic`)});break;default:H.assertNever(f)}return te}function wme(t){return t.nameTable||eHt(t),t.nameTable}function eHt(t){const u=t.nameTable=new Map;t.forEachChild(function s(d){if(at(d)&&!Rhe(d)&&d.escapedText||Nm(d)&&tHt(d)){const f=aP(d);u.set(f,u.get(f)===void 0?d.pos:-1)}else if(ea(d)){const f=d.escapedText;u.set(f,u.get(f)===void 0?d.pos:-1)}if(uo(d,s),sm(d))for(const f of d.jsDoc)uo(f,s)})}function tHt(t){return Q3(t)||t.parent.kind===283||uHt(t)||Tj(t)}function gK(t){const u=iHt(t);return u&&(bs(u.parent)||V2(u.parent))?u:void 0}function iHt(t){switch(t.kind){case 11:case 15:case 9:if(t.parent.kind===167)return i0e(t.parent.parent)?t.parent.parent:void 0;case 80:return i0e(t.parent)&&(t.parent.parent.kind===210||t.parent.parent.kind===292)&&t.parent.name===t?t.parent:void 0}}function nHt(t,u){const s=gK(t);if(s){const d=u.getContextualType(s.parent),f=d&&mee(s,u,d,!1);if(f&&f.length===1)return Pn(f)}return u.getSymbolAtLocation(t)}function mee(t,u,s,d){const f=HH(t.name);if(!f)return _t;if(!s.isUnion()){const E=s.getProperty(f);return E?[E]:_t}const p=Si(s.types,E=>(bs(t.parent)||V2(t.parent))&&u.isTypeInvalidDueToUnionDiscriminant(E,t.parent)?void 0:E.getProperty(f));if(d&&(p.length===0||p.length===s.types.length)){const E=s.getProperty(f);if(E)return[E]}return p.length===0?Si(s.types,E=>E.getProperty(f)):p}function uHt(t){return t&&t.parent&&t.parent.kind===212&&t.parent.argumentExpression===t}function X8e(t){if(l1)return dr(cr(Jo(l1.getExecutingFilePath())),PO(t));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var eBe,Tme,Lme,Gut,tBe,Nme,Pme,Jut,$ut,Uut,qut,Zut,Yut,Qut,Mme,iBe,Xut,rHt=o({"src/services/services.ts"(){ar(),mnt(),Mnt(),o_(),Wit(),Out(),eBe="0.8",Tme=class{constructor(t,u,s){this.pos=u,this.end=s,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=t}assertHasRealPosition(t){H.assert(!fg(this.pos)&&!fg(this.end),t||"Node must have a real position for this operation")}getSourceFile(){return zn(this)}getStart(t,u){return this.assertHasRealPosition(),Qy(this,t,u)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(t){return this.assertHasRealPosition(),this.getEnd()-this.getStart(t)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(t){return this.assertHasRealPosition(),this.getStart(t)-this.pos}getFullText(t){return this.assertHasRealPosition(),(t||this.getSourceFile()).text.substring(this.pos,this.end)}getText(t){return this.assertHasRealPosition(),t||(t=this.getSourceFile()),t.text.substring(this.getStart(t),this.getEnd())}getChildCount(t){return this.getChildren(t).length}getChildAt(t,u){return this.getChildren(u)[t]}getChildren(t){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=YVt(this,t))}getFirstToken(t){this.assertHasRealPosition();const u=this.getChildren(t);if(!u.length)return;const s=Le(u,d=>d.kind<316||d.kind>357);return s.kind<166?s:s.getFirstToken(t)}getLastToken(t){this.assertHasRealPosition();const u=this.getChildren(t),s=Zu(u);if(s)return s.kind<166?s:s.getLastToken(t)}forEachChild(t,u){return uo(this,t,u)}},Lme=class{constructor(t,u){this.pos=t,this.end=u,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return zn(this)}getStart(t,u){return Qy(this,t,u)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(t){return this.getEnd()-this.getStart(t)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(t){return this.getStart(t)-this.pos}getFullText(t){return(t||this.getSourceFile()).text.substring(this.pos,this.end)}getText(t){return t||(t=this.getSourceFile()),t.text.substring(this.getStart(t),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(t){return this.getChildren()[t]}getChildren(){return this.kind===1&&this.jsDoc||_t}getFirstToken(){}getLastToken(){}forEachChild(){}},Gut=class{constructor(t,u){this.id=0,this.mergeId=0,this.flags=t,this.escapedName=u}getFlags(){return this.flags}get name(){return sc(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(t){if(!this.documentationComment)if(this.documentationComment=_t,!this.declarations&&UE(this)&&this.links.target&&UE(this.links.target)&&this.links.target.links.tupleLabelDeclaration){const u=this.links.target.links.tupleLabelDeclaration;this.documentationComment=dee([u],t)}else this.documentationComment=dee(this.declarations,t);return this.documentationComment}getContextualDocumentationComment(t,u){if(t){if(Tx(t)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=dee(ei(this.declarations,Tx),u)),S(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(XD(t)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=dee(ei(this.declarations,XD),u)),S(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(u)}getJsDocTags(t){return this.tags===void 0&&(this.tags=Ame(this.declarations,t)),this.tags}getContextualJsDocTags(t,u){if(t){if(Tx(t)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=Ame(ei(this.declarations,Tx),u)),S(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(XD(t)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=Ame(ei(this.declarations,XD),u)),S(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(u)}},tBe=class extends Lme{constructor(t,u,s){super(u,s),this.kind=t}},Nme=class extends Lme{constructor(t,u,s){super(u,s),this.kind=80}get text(){return fu(this)}},Nme.prototype.kind=80,Pme=class extends Lme{constructor(t,u,s){super(u,s),this.kind=81}get text(){return fu(this)}},Pme.prototype.kind=81,Jut=class{constructor(t,u){this.checker=t,this.flags=u}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(t){return this.checker.getPropertyOfType(this,t)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(this.flags&1048576)}isIntersection(){return!!(this.flags&2097152)}isUnionOrIntersection(){return!!(this.flags&3145728)}isLiteral(){return!!(this.flags&2432)}isStringLiteral(){return!!(this.flags&128)}isNumberLiteral(){return!!(this.flags&256)}isTypeParameter(){return!!(this.flags&262144)}isClassOrInterface(){return!!(Ju(this)&3)}isClass(){return!!(Ju(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(Ju(this)&4)return this.checker.getTypeArguments(this)}},$ut=class{constructor(t,u){this.checker=t,this.flags=u}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(t){const u=this.checker.getParameterType(this,t);if(u.isIndexType()&&LP(u.type)){const s=u.type.getConstraint();if(s)return this.checker.getIndexType(s)}return u}getDocumentationComment(){return this.documentationComment||(this.documentationComment=dee(jy(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=Ame(jy(this.declaration),this.checker))}},Uut=class extends Tme{constructor(t,u,s){super(t,u,s),this.kind=312}update(t,u){return Jce(this,t,u)}getLineAndCharacterOfPosition(t){return o0(this,t)}getLineStarts(){return J3(this)}getPositionOfLineAndCharacter(t,u,s){return CU(J3(this),t,u,this.text,s)}getLineEndOfPosition(t){const{line:u}=this.getLineAndCharacterOfPosition(t),s=this.getLineStarts();let d;u+1>=s.length&&(d=this.getEnd()),d||(d=s[u+1]-1);const f=this.getFullText();return f[d]===` +`&&f[d-1]==="\r"?d-1:d}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){const t=Bm();return this.forEachChild(f),t;function u(p){const E=d(p);E&&t.add(E,p)}function s(p){let E=t.get(p);return E||t.set(p,E=[]),E}function d(p){const E=AU(p);return E&&(Ns(E)&&zu(E.expression)?E.expression.name.text:Ac(E)?HH(E):void 0)}function f(p){switch(p.kind){case 262:case 218:case 174:case 173:const E=p,v=d(E);if(v){const k=s(v),T=Zu(k);T&&E.parent===T.parent&&E.symbol===T.symbol?E.body&&!T.body&&(k[k.length-1]=E):k.push(E)}uo(p,f);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:u(p),uo(p,f);break;case 169:if(!Qu(p,31))break;case 260:case 208:{const k=p;if(Ao(k.name)){uo(k.name,f);break}k.initializer&&f(k.initializer)}case 306:case 172:case 171:u(p);break;case 278:const b=p;b.exportClause&&(Q4(b.exportClause)?L(b.exportClause.elements,f):f(b.exportClause.name));break;case 272:const B=p.importClause;B&&(B.name&&u(B.name),B.namedBindings&&(B.namedBindings.kind===274?u(B.namedBindings):L(B.namedBindings.elements,f)));break;case 226:Ql(p)!==0&&u(p);default:uo(p,f)}}}},qut=class{constructor(t,u,s){this.fileName=t,this.text=u,this.skipTrivia=s}getLineAndCharacterOfPosition(t){return o0(this,t)}},Zut=class{constructor(t){this.host=t}getCurrentSourceFile(t){var u,s,d,f,p,E,v,b;const B=this.host.getScriptSnapshot(t);if(!B)throw new Error("Could not find file: '"+t+"'.");const k=mfe(t,this.host),T=this.host.getScriptVersion(t);let M;if(this.currentFileName!==t){const z={languageVersion:99,impliedNodeFormat:vH(K0(t,this.host.getCurrentDirectory(),((d=(s=(u=this.host).getCompilerHost)==null?void 0:s.call(u))==null?void 0:d.getCanonicalFileName)||i5(this.host)),(b=(v=(E=(p=(f=this.host).getCompilerHost)==null?void 0:p.call(f))==null?void 0:E.getModuleResolutionCache)==null?void 0:v.call(E))==null?void 0:b.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:Zj(this.host.getCompilationSettings()),jsDocParsingMode:0};M=fee(t,B,z,T,!0,k)}else if(this.currentFileVersion!==T){const z=B.getChangeRange(this.currentFileScriptSnapshot);M=Bme(this.currentSourceFile,B,T,z)}return M&&(this.currentFileVersion=T,this.currentFileName=t,this.currentFileScriptSnapshot=B,this.currentSourceFile=M),this.currentSourceFile}},Yut={isCancellationRequested:sg,throwIfCancellationRequested:zs},Qut=class{constructor(t){this.cancellationToken=t}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var t;if(this.isCancellationRequested())throw(t=Jn)==null||t.instant(Jn.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new v8}},Mme=class{constructor(t,u=20){this.hostCancellationToken=t,this.throttleWaitMilliseconds=u,this.lastCancellationCheckTime=0}isCancellationRequested(){const t=H0();return Math.abs(t-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=t,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var t;if(this.isCancellationRequested())throw(t=Jn)==null||t.instant(Jn.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new v8}},iBe=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],Xut=[...iBe,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],Yye(XVt())}});function ert(t,u,s){const d=[];s=Zfe(s,d);const f=ja(t)?t:[t],p=fH(void 0,void 0,q,s,f,u,!0);return p.diagnostics=an(p.diagnostics,d),p}var aHt=o({"src/services/transform.ts"(){ar()}});function oHt(t,u){if(t.isDeclarationFile)return;let s=Ca(t,u);const d=t.getLineAndCharacterOfPosition(u).line;if(t.getLineAndCharacterOfPosition(s.getStart(t)).line>d){const T=ed(s.pos,t);if(!T||t.getLineAndCharacterOfPosition(T.getEnd()).line!==d)return;s=T}if(s.flags&33554432)return;return k(s);function f(T,M){const z=kk(T)?st(T.modifiers,p1):void 0,j=z?ps(t.text,z.end):T.getStart(t);return Vc(j,(M||T).getEnd())}function p(T,M){return f(T,X2(M,M.parent,t))}function E(T,M){return T&&d===t.getLineAndCharacterOfPosition(T.getStart(t)).line?k(T):k(M)}function v(T,M,z){if(T){const j=T.indexOf(M);if(j>=0){let J=j,K=j+1;for(;J>0&&z(T[J-1]);)J--;for(;K0)return k(He.declarations[0])}else return k(De.initializer)}function ae(De){if(De.initializer)return ge(De);if(De.condition)return f(De.condition);if(De.incrementor)return f(De.incrementor)}function Ce(De){const He=L(De.elements,Je=>Je.kind!==232?Je:void 0);return He?k(He):De.parent.kind===208?f(De.parent):M(De.parent)}function ne(De){H.assert(De.kind!==207&&De.kind!==206);const He=De.kind===209?De.elements:De.properties,Je=L(He,ft=>ft.kind!==232?ft:void 0);return Je?k(Je):f(De.parent.kind===226?De.parent:De)}function ve(De){switch(De.parent.kind){case 266:const He=De.parent;return E(ed(De.pos,t,De.parent),He.members.length?He.members[0]:He.getLastToken(t));case 263:const Je=De.parent;return E(ed(De.pos,t,De.parent),Je.members.length?Je.members[0]:Je.getLastToken(t));case 269:return E(De.parent.parent,De.parent.clauses[0])}return k(De.parent)}function Se(De){switch(De.parent.kind){case 268:if(aD(De.parent.parent)!==1)return;case 266:case 263:return f(De);case 241:if(C2(De.parent))return f(De);case 299:return k(Zu(De.parent.statements));case 269:const He=De.parent,Je=Zu(He.clauses);return Je?k(Zu(Je.statements)):void 0;case 206:const ft=De.parent;return k(Zu(ft.elements)||ft);default:if(m5(De.parent)){const Ze=De.parent;return f(Zu(Ze.properties)||Ze)}return k(De.parent)}}function Ne(De){switch(De.parent.kind){case 207:const He=De.parent;return f(Zu(He.elements)||He);default:if(m5(De.parent)){const Je=De.parent;return f(Zu(Je.elements)||Je)}return k(De.parent)}}function pe(De){return De.parent.kind===246||De.parent.kind===213||De.parent.kind===214?b(De):De.parent.kind===217?B(De):k(De.parent)}function fe(De){switch(De.parent.kind){case 218:case 262:case 219:case 174:case 173:case 177:case 178:case 176:case 247:case 246:case 248:case 250:case 213:case 214:case 217:return b(De);default:return k(De.parent)}}function xe(De){return xo(De.parent)||De.parent.kind===303||De.parent.kind===169?b(De):k(De.parent)}function Be(De){return De.parent.kind===216?B(De):k(De.parent)}function We(De){return De.parent.kind===246?p(De,De.parent.expression):k(De.parent)}function Ae(De){return De.parent.kind===250?B(De):k(De.parent)}}}var sHt=o({"src/services/breakpoints.ts"(){ar()}}),zme={};h(zme,{spanInSourceFileAtLocation:()=>oHt});var lHt=o({"src/services/_namespaces/ts.BreakpointResolver.ts"(){sHt()}});function cHt(t){return(A0(t)||Qd(t))&&fh(t)}function EK(t){return(A0(t)||J0(t)||Qd(t))&&ra(t.parent)&&t===t.parent.initializer&&at(t.parent.name)&&!!(YD(t.parent)&2)}function trt(t){return ca(t)||Ec(t)||Xc(t)||A0(t)||Wc(t)||Qd(t)||zl(t)||cc(t)||i3(t)||Mm(t)||Of(t)}function mw(t){return ca(t)||Ec(t)&&at(t.name)||Xc(t)||Wc(t)||zl(t)||cc(t)||i3(t)||Mm(t)||Of(t)||cHt(t)||EK(t)}function irt(t){return ca(t)?t:fh(t)?t.name:EK(t)?t.parent.name:H.checkDefined(t.modifiers&&Le(t.modifiers,nrt))}function nrt(t){return t.kind===90}function urt(t,u){const s=irt(u);return s&&t.getSymbolAtLocation(s)}function dHt(t,u){if(ca(u))return{text:u.fileName,pos:0,end:0};if((Xc(u)||Wc(u))&&!fh(u)){const f=u.modifiers&&Le(u.modifiers,nrt);if(f)return{text:"default",pos:f.getStart(),end:f.getEnd()}}if(zl(u)){const f=u.getSourceFile(),p=ps(f.text,tE(u).pos),E=p+6,v=t.getTypeChecker(),b=v.getSymbolAtLocation(u.parent);return{text:`${b?`${v.symbolToString(b,u.parent)} `:""}static {}`,pos:p,end:E}}const s=EK(u)?u.parent.name:H.checkDefined($a(u),"Expected call hierarchy item to have a name");let d=at(s)?fu(s):Nm(s)?s.text:Ns(s)&&Nm(s.expression)?s.expression.text:void 0;if(d===void 0){const f=t.getTypeChecker(),p=f.getSymbolAtLocation(s);p&&(d=f.symbolToString(p,u))}if(d===void 0){const f=pH();d=WN(p=>f.writeNode(4,u,u.getSourceFile(),p))}return{text:d,pos:s.getStart(),end:s.getEnd()}}function hHt(t){var u,s;if(EK(t))return uE(t.parent.parent.parent.parent)&&at(t.parent.parent.parent.parent.parent.name)?t.parent.parent.parent.parent.parent.name.getText():void 0;switch(t.kind){case 177:case 178:case 174:return t.parent.kind===210?(u=Mse(t.parent))==null?void 0:u.getText():(s=$a(t.parent))==null?void 0:s.getText();case 262:case 263:case 267:if(uE(t.parent)&&at(t.parent.parent.name))return t.parent.parent.name.getText()}}function rrt(t,u){if(u.body)return u;if(dc(u))return Q_(u.parent);if(Xc(u)||cc(u)){const s=urt(t,u);return s&&s.valueDeclaration&&W0(s.valueDeclaration)&&s.valueDeclaration.body?s.valueDeclaration:void 0}return u}function art(t,u){const s=urt(t,u);let d;if(s&&s.declarations){const f=Yr(s.declarations),p=Kt(s.declarations,b=>({file:b.getSourceFile().fileName,pos:b.pos}));f.sort((b,B)=>ch(p[b].file,p[B].file)||p[b].pos-p[B].pos);const E=Kt(f,b=>s.declarations[b]);let v;for(const b of E)mw(b)&&((!v||v.parent!==b.parent||v.end!==b.pos)&&(d=Ei(d,b)),v=b)}return d}function Ime(t,u){return zl(u)?u:W0(u)?rrt(t,u)??art(t,u)??u:art(t,u)??u}function ort(t,u){const s=t.getTypeChecker();let d=!1;for(;;){if(mw(u))return Ime(s,u);if(trt(u)){const f=Tn(u,mw);return f&&Ime(s,f)}if(Q3(u)){if(mw(u.parent))return Ime(s,u.parent);if(trt(u.parent)){const f=Tn(u.parent,mw);return f&&Ime(s,f)}return ra(u.parent)&&u.parent.initializer&&EK(u.parent.initializer)?u.parent.initializer:void 0}if(dc(u))return mw(u.parent)?u.parent:void 0;if(u.kind===126&&zl(u.parent)){u=u.parent;continue}if(ra(u)&&u.initializer&&EK(u.initializer))return u.initializer;if(!d){let f=s.getSymbolAtLocation(u);if(f&&(f.flags&2097152&&(f=s.getAliasedSymbol(f)),f.valueDeclaration)){d=!0,u=f.valueDeclaration;continue}}return}}function nBe(t,u){const s=u.getSourceFile(),d=dHt(t,u),f=hHt(u),p=Q2(u),E=LM(u),v=Vc(ps(s.text,u.getFullStart(),!1,!0),u.getEnd()),b=Vc(d.pos,d.end);return{file:s.fileName,kind:p,kindModifiers:E,name:d.text,containerName:f,span:v,selectionSpan:b}}function fHt(t){return t!==void 0}function mHt(t){if(t.kind===$0.EntryKind.Node){const{node:u}=t;if(Phe(u,!0,!0)||V9e(u,!0,!0)||H9e(u,!0,!0)||K9e(u,!0,!0)||iw(u)||Ohe(u)){const s=u.getSourceFile();return{declaration:Tn(u,mw)||s,range:efe(u,s)}}}}function srt(t){return $s(t.declaration)}function pHt(t,u){return{from:t,fromSpans:u}}function gHt(t,u){return pHt(nBe(t,u[0].declaration),Kt(u,s=>Ux(s.range)))}function EHt(t,u,s){if(ca(u)||Ec(u)||zl(u))return[];const d=irt(u),f=ei($0.findReferenceOrRenameEntries(t,s,t.getSourceFiles(),d,0,{use:$0.FindReferencesUse.References},mHt),fHt);return f?xN(f,srt,p=>gHt(t,p)):[]}function _Ht(t,u){function s(f){const p=Ek(f)?f.tag:Ph(f)?f.tagName:M0(f)||zl(f)?f:f.expression,E=ort(t,p);if(E){const v=efe(p,f.getSourceFile());if(ja(E))for(const b of E)u.push({declaration:b,range:v});else u.push({declaration:E,range:v})}}function d(f){if(f&&!(f.flags&33554432)){if(mw(f)){if(gr(f))for(const p of f.members)p.name&&Ns(p.name)&&d(p.name.expression);return}switch(f.kind){case 80:case 271:case 272:case 278:case 264:case 265:return;case 175:s(f);return;case 216:case 234:d(f.expression);return;case 260:case 169:d(f.name),d(f.initializer);return;case 213:s(f),d(f.expression),L(f.arguments,d);return;case 214:s(f),d(f.expression),L(f.arguments,d);return;case 215:s(f),d(f.tag),d(f.template);return;case 286:case 285:s(f),d(f.tagName),d(f.attributes);return;case 170:s(f),d(f.expression);return;case 211:case 212:s(f),uo(f,d);break;case 238:d(f.expression);return}U_(f)||uo(f,d)}}return d}function DHt(t,u){L(t.statements,u)}function xHt(t,u){!Qu(t,128)&&t.body&&uE(t.body)&&L(t.body.statements,u)}function vHt(t,u,s){const d=rrt(t,u);d&&(L(d.parameters,s),s(d.body))}function CHt(t,u){u(t.body)}function bHt(t,u){L(t.modifiers,u);const s=F2(t);s&&u(s.expression);for(const d of t.members)Op(d)&&L(d.modifiers,u),yo(d)?u(d.initializer):dc(d)&&d.body?(L(d.parameters,u),u(d.body)):zl(d)&&u(d)}function yHt(t,u){const s=[],d=_Ht(t,s);switch(u.kind){case 312:DHt(u,d);break;case 267:xHt(u,d);break;case 262:case 218:case 219:case 174:case 177:case 178:vHt(t.getTypeChecker(),u,d);break;case 263:case 231:bHt(u,d);break;case 175:CHt(u,d);break;default:H.assertNever(u)}return s}function kHt(t,u){return{to:t,fromSpans:u}}function FHt(t,u){return kHt(nBe(t,u[0].declaration),Kt(u,s=>Ux(s.range)))}function AHt(t,u){return u.flags&33554432||i3(u)?[]:xN(yHt(t,u),srt,s=>FHt(t,s))}var SHt=o({"src/services/callHierarchy.ts"(){ar()}}),r9={};h(r9,{createCallHierarchyItem:()=>nBe,getIncomingCalls:()=>EHt,getOutgoingCalls:()=>AHt,resolveCallHierarchyDeclaration:()=>ort});var BHt=o({"src/services/_namespaces/ts.CallHierarchy.ts"(){SHt()}}),lrt={};h(lrt,{TokenEncodingConsts:()=>U8e,TokenModifier:()=>Z8e,TokenType:()=>q8e,getEncodedSemanticClassifications:()=>$8e,getSemanticClassifications:()=>zut});var wHt=o({"src/services/_namespaces/ts.classifier.v2020.ts"(){Out()}}),uBe={};h(uBe,{v2020:()=>lrt});var THt=o({"src/services/_namespaces/ts.classifier.ts"(){wHt()}});function xg(t,u,s){return aBe(t,Rk(s),u,void 0,void 0)}function Io(t,u,s,d,f,p){return aBe(t,Rk(s),u,d,Rk(f),p)}function rBe(t,u,s,d,f,p){return aBe(t,Rk(s),u,d,f&&Rk(f),p)}function aBe(t,u,s,d,f,p){return{fixName:t,description:u,changes:s,fixId:d,fixAllDescription:f,commands:p?[p]:void 0}}function Xo(t){for(const u of t.errorCodes)oBe=void 0,Rme.add(String(u),t);if(t.fixIds)for(const u of t.fixIds)H.assert(!Ome.has(u)),Ome.set(u,t)}function LHt(){return oBe??(oBe=ga(Rme.keys()))}function NHt(t,u){const{errorCodes:s}=t;let d=0;for(const p of u)if(Ft(s,p.code)&&d++,d>1)break;const f=d<2;return({fixId:p,fixAllDescription:E,...v})=>f?v:{...v,fixId:p,fixAllDescription:E}}function PHt(t){const u=drt(t),s=Rme.get(String(t.errorCode));return Ku(s,d=>Kt(d.getCodeActions(t),NHt(d,u)))}function MHt(t){return Ome.get(No(t.fixId,Wa)).getAllCodeActions(t)}function pw(t,u){return{changes:t,commands:u}}function crt(t,u){return{fileName:t,textChanges:u}}function h0(t,u,s){const d=[],f=iu.ChangeTracker.with(t,p=>gw(t,u,E=>s(p,E,d)));return pw(f,d.length===0?void 0:d)}function gw(t,u,s){for(const d of drt(t))Ft(u,d.code)&&s(d)}function drt({program:t,sourceFile:u,cancellationToken:s}){return[...t.getSemanticDiagnostics(u,s),...t.getSyntacticDiagnostics(u,s),...Gfe(u,t,s)]}var Rme,Ome,oBe,zHt=o({"src/services/codeFixProvider.ts"(){ar(),Rme=Bm(),Ome=new Map}});function hrt(t,u,s){const d=kV(s)?q.createAsExpression(s.expression,q.createKeywordTypeNode(159)):q.createTypeAssertion(q.createKeywordTypeNode(159),s.expression);t.replaceNode(u,s.expression,d)}function frt(t,u){if(!Xn(t))return Tn(Ca(t,u),s=>kV(s)||uFe(s))}var jme,sBe,IHt=o({"src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts"(){ar(),rs(),jme="addConvertToUnknownForNonOverlappingTypes",sBe=[F.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code],Xo({errorCodes:sBe,getCodeActions:function(u){const s=frt(u.sourceFile,u.span.start);if(s===void 0)return;const d=iu.ChangeTracker.with(u,f=>hrt(f,u.sourceFile,s));return[Io(jme,d,F.Add_unknown_conversion_for_non_overlapping_types,jme,F.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[jme],getAllCodeActions:t=>h0(t,sBe,(u,s)=>{const d=frt(s.file,s.start);d&&hrt(u,s.file,d)})})}}),RHt=o({"src/services/codefixes/addEmptyExportDeclaration.ts"(){ar(),rs(),Xo({errorCodes:[F.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,F.await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,F.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code],getCodeActions:function(u){const{sourceFile:s}=u,d=iu.ChangeTracker.with(u,f=>{const p=q.createExportDeclaration(void 0,!1,q.createNamedExports([]),void 0);f.insertNodeAtEndOfScope(s,s,p)});return[xg("addEmptyExportDeclaration",d,F.Add_export_to_make_this_file_into_a_module)]}})}});function mrt(t,u,s,d){const f=s(p=>OHt(p,t.sourceFile,u,d));return Io(Vme,f,F.Add_async_modifier_to_containing_function,Vme,F.Add_all_missing_async_modifiers)}function OHt(t,u,s,d){if(d&&d.has($s(s)))return;d==null||d.add($s(s));const f=q.replaceModifiers(ll(s,!0),q.createNodeArray(q.createModifiersFromModifierFlags(Ix(s)|1024)));t.replaceNode(u,s,f)}function prt(t,u){if(!u)return;const s=Ca(t,u.start);return Tn(s,f=>f.getStart(t)gc(u)?"quit":(J0(f)||cc(f)||A0(f)||Xc(f))&&aw(u,af(f,t)))}function jHt(t,u){return({start:s,length:d,relatedInformation:f,code:p})=>$D(s)&&$D(d)&&aw({start:s,length:d},t)&&p===u&&!!f&&Ge(f,E=>E.code===F.Did_you_mean_to_mark_this_function_as_async.code)}var Vme,lBe,VHt=o({"src/services/codefixes/addMissingAsync.ts"(){ar(),rs(),Vme="addMissingAsync",lBe=[F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,F.Type_0_is_not_assignable_to_type_1.code,F.Type_0_is_not_comparable_to_type_1.code],Xo({fixIds:[Vme],errorCodes:lBe,getCodeActions:function(u){const{sourceFile:s,errorCode:d,cancellationToken:f,program:p,span:E}=u,v=Le(p.getTypeChecker().getDiagnostics(s,f),jHt(E,d)),b=v&&v.relatedInformation&&Le(v.relatedInformation,T=>T.code===F.Did_you_mean_to_mark_this_function_as_async.code),B=prt(s,b);return B?[mrt(u,B,T=>iu.ChangeTracker.with(u,T))]:void 0},getAllCodeActions:t=>{const{sourceFile:u}=t,s=new Set;return h0(t,lBe,(d,f)=>{const p=f.relatedInformation&&Le(f.relatedInformation,b=>b.code===F.Did_you_mean_to_mark_this_function_as_async.code),E=prt(u,p);return E?mrt(t,E,b=>(b(d),[]),s):void 0})}})}});function grt(t,u,s,d,f){const p=bfe(t,s);return p&&HHt(t,u,s,d,f)&&Drt(p)?p:void 0}function Ert(t,u,s,d,f,p){const{sourceFile:E,program:v,cancellationToken:b}=t,B=KHt(u,E,b,v,d);if(B){const k=f(T=>{L(B.initializers,({expression:M})=>cBe(T,s,E,d,M,p)),p&&B.needsSecondPassForFixAll&&cBe(T,s,E,d,u,p)});return xg("addMissingAwaitToInitializer",k,B.initializers.length===1?[F.Add_await_to_initializer_for_0,B.initializers[0].declarationSymbol.name]:F.Add_await_to_initializers)}}function _rt(t,u,s,d,f,p){const E=f(v=>cBe(v,s,t.sourceFile,d,u,p));return Io(Hme,E,F.Add_await,Hme,F.Fix_all_expressions_possibly_missing_await)}function HHt(t,u,s,d,f){const E=f.getTypeChecker().getDiagnostics(t,d);return Ge(E,({start:v,length:b,relatedInformation:B,code:k})=>$D(v)&&$D(b)&&aw({start:v,length:b},s)&&k===u&&!!B&&Ge(B,T=>T.code===F.Did_you_forget_to_use_await.code))}function KHt(t,u,s,d,f){const p=WHt(t,f);if(!p)return;let E=p.isCompleteFix,v;for(const b of p.identifiers){const B=f.getSymbolAtLocation(b);if(!B)continue;const k=rr(B.valueDeclaration,ra),T=k&&rr(k.name,at),M=yv(k,243);if(!k||!M||k.type||!k.initializer||M.getSourceFile()!==u||Qu(M,32)||!T||!Drt(k.initializer)){E=!1;continue}const z=d.getSemanticDiagnostics(u,s);if($0.Core.eachSymbolReferenceInFile(T,f,u,J=>b!==J&&!GHt(J,z,u,f))){E=!1;continue}(v||(v=[])).push({expression:k.initializer,declarationSymbol:B})}return v&&{initializers:v,needsSecondPassForFixAll:!E}}function WHt(t,u){if(zu(t.parent)&&at(t.parent.expression))return{identifiers:[t.parent.expression],isCompleteFix:!0};if(at(t))return{identifiers:[t],isCompleteFix:!0};if(eu(t)){let s,d=!0;for(const f of[t.left,t.right]){const p=u.getTypeAtLocation(f);if(u.getPromisedTypeOfPromise(p)){if(!at(f)){d=!1;continue}(s||(s=[])).push(f)}}return s&&{identifiers:s,isCompleteFix:d}}}function GHt(t,u,s,d){const f=zu(t.parent)?t.parent.name:eu(t.parent)?t.parent:t,p=Le(u,E=>E.start===f.getStart(s)&&E.start+E.length===f.getEnd());return p&&Ft(Kme,p.code)||d.getTypeAtLocation(f).flags&1}function Drt(t){return t.flags&65536||!!Tn(t,u=>u.parent&&J0(u.parent)&&u.parent.body===u||ho(u)&&(u.parent.kind===262||u.parent.kind===218||u.parent.kind===219||u.parent.kind===174))}function cBe(t,u,s,d,f,p){if(FV(f.parent)&&!f.parent.awaitModifier){const E=d.getTypeAtLocation(f),v=d.getAsyncIterableType();if(v&&d.isTypeAssignableTo(E,v)){const b=f.parent;t.replaceNode(s,b,q.updateForOfStatement(b,q.createToken(135),b.initializer,b.expression,b.statement));return}}if(eu(f))for(const E of[f.left,f.right]){if(p&&at(E)){const B=d.getSymbolAtLocation(E);if(B&&p.has(Zo(B)))continue}const v=d.getTypeAtLocation(E),b=d.getPromisedTypeOfPromise(v)?q.createAwaitExpression(E):E;t.replaceNode(s,E,b)}else if(u===dBe&&zu(f.parent)){if(p&&at(f.parent.expression)){const E=d.getSymbolAtLocation(f.parent.expression);if(E&&p.has(Zo(E)))return}t.replaceNode(s,f.parent.expression,q.createParenthesizedExpression(q.createAwaitExpression(f.parent.expression))),xrt(t,f.parent.expression,s)}else if(Ft(hBe,u)&&JE(f.parent)){if(p&&at(f)){const E=d.getSymbolAtLocation(f);if(E&&p.has(Zo(E)))return}t.replaceNode(s,f,q.createParenthesizedExpression(q.createAwaitExpression(f))),xrt(t,f,s)}else{if(p&&ra(f.parent)&&at(f.parent.name)){const E=d.getSymbolAtLocation(f.parent.name);if(E&&!k0(p,Zo(E)))return}t.replaceNode(s,f,q.createAwaitExpression(f))}}function xrt(t,u,s){const d=ed(u.pos,s);d&&AX(d.end,d.parent,s)&&t.insertText(s,u.getStart(s),";")}var Hme,dBe,hBe,Kme,JHt=o({"src/services/codefixes/addMissingAwait.ts"(){ar(),rs(),Hme="addMissingAwait",dBe=F.Property_0_does_not_exist_on_type_1.code,hBe=[F.This_expression_is_not_callable.code,F.This_expression_is_not_constructable.code],Kme=[F.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,F.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,F.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,F.Operator_0_cannot_be_applied_to_type_1.code,F.Operator_0_cannot_be_applied_to_types_1_and_2.code,F.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,F.This_condition_will_always_return_true_since_this_0_is_always_defined.code,F.Type_0_is_not_an_array_type.code,F.Type_0_is_not_an_array_type_or_a_string_type.code,F.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,F.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,F.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,F.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,F.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,dBe,...hBe],Xo({fixIds:[Hme],errorCodes:Kme,getCodeActions:function(u){const{sourceFile:s,errorCode:d,span:f,cancellationToken:p,program:E}=u,v=grt(s,d,f,p,E);if(!v)return;const b=u.program.getTypeChecker(),B=k=>iu.ChangeTracker.with(u,k);return kr([Ert(u,v,d,b,B),_rt(u,v,d,b,B)])},getAllCodeActions:t=>{const{sourceFile:u,program:s,cancellationToken:d}=t,f=t.program.getTypeChecker(),p=new Set;return h0(t,Kme,(E,v)=>{const b=grt(u,v.code,v,d,s);if(!b)return;const B=k=>(k(E),[]);return Ert(t,b,v.code,f,B,p)||_rt(t,b,v.code,f,B,p)})}})}});function vrt(t,u,s,d,f){const p=Ca(u,s),E=Tn(p,B=>N8(B.parent)?B.parent.initializer===B:$Ht(B)?!1:"quit");if(E)return Wme(t,E,u,f);const v=p.parent;if(eu(v)&&v.operatorToken.kind===64&&Id(v.parent))return Wme(t,p,u,f);if(_h(v)){const B=d.getTypeChecker();return ye(v.elements,k=>UHt(k,B))?Wme(t,v,u,f):void 0}const b=Tn(p,B=>Id(B.parent)?!0:qHt(B)?!1:"quit");if(b){const B=d.getTypeChecker();return Crt(b,B)?Wme(t,b,u,f):void 0}}function Wme(t,u,s,d){(!d||k0(d,u))&&t.insertModifierBefore(s,87,u)}function $Ht(t){switch(t.kind){case 80:case 209:case 210:case 303:case 304:return!0;default:return!1}}function UHt(t,u){const s=at(t)?t:od(t,!0)&&at(t.left)?t.left:void 0;return!!s&&!u.getSymbolAtLocation(s)}function qHt(t){switch(t.kind){case 80:case 226:case 28:return!0;default:return!1}}function Crt(t,u){return eu(t)?t.operatorToken.kind===28?ye([t.left,t.right],s=>Crt(s,u)):t.operatorToken.kind===64&&at(t.left)&&!u.getSymbolAtLocation(t.left):!1}var Gme,fBe,ZHt=o({"src/services/codefixes/addMissingConst.ts"(){ar(),rs(),Gme="addMissingConst",fBe=[F.Cannot_find_name_0.code,F.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],Xo({errorCodes:fBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>vrt(d,u.sourceFile,u.span.start,u.program));if(s.length>0)return[Io(Gme,s,F.Add_const_to_unresolved_variable,Gme,F.Add_const_to_all_unresolved_variables)]},fixIds:[Gme],getAllCodeActions:t=>{const u=new Set;return h0(t,fBe,(s,d)=>vrt(s,d.file,d.start,t.program,u))}})}});function brt(t,u,s,d){const f=Ca(u,s);if(!at(f))return;const p=f.parent;p.kind===172&&(!d||k0(d,p))&&t.insertModifierBefore(u,138,p)}var Jme,mBe,YHt=o({"src/services/codefixes/addMissingDeclareProperty.ts"(){ar(),rs(),Jme="addMissingDeclareProperty",mBe=[F.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code],Xo({errorCodes:mBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>brt(d,u.sourceFile,u.span.start));if(s.length>0)return[Io(Jme,s,F.Prefix_with_declare,Jme,F.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[Jme],getAllCodeActions:t=>{const u=new Set;return h0(t,mBe,(s,d)=>brt(s,d.file,d.start,u))}})}});function yrt(t,u,s){const d=Ca(u,s),f=Tn(d,p1);H.assert(!!f,"Expected position to be owned by a decorator.");const p=q.createCallExpression(f.expression,void 0,void 0);t.replaceNode(u,f.expression,p)}var $me,pBe,QHt=o({"src/services/codefixes/addMissingInvocationForDecorator.ts"(){ar(),rs(),$me="addMissingInvocationForDecorator",pBe=[F._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code],Xo({errorCodes:pBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>yrt(d,u.sourceFile,u.span.start));return[Io($me,s,F.Call_decorator_expression,$me,F.Add_to_all_uncalled_decorators)]},fixIds:[$me],getAllCodeActions:t=>h0(t,pBe,(u,s)=>yrt(u,s.file,s.start))})}});function krt(t,u,s){const d=Ca(u,s),f=d.parent;if(!Qa(f))return H.fail("Tried to add a parameter name to a non-parameter: "+H.formatSyntaxKind(d.kind));const p=f.parent.parameters.indexOf(f);H.assert(!f.type,"Tried to add a parameter name to a parameter that already had one."),H.assert(p>-1,"Parameter not found in parent parameter list.");let E=f.name.getEnd(),v=q.createTypeReferenceNode(f.name,void 0),b=Frt(u,f);for(;b;)v=q.createArrayTypeNode(v),E=b.getEnd(),b=Frt(u,b);const B=q.createParameterDeclaration(f.modifiers,f.dotDotDotToken,"arg"+p,f.questionToken,f.dotDotDotToken&&!nY(v)?q.createArrayTypeNode(v):v,f.initializer);t.replaceRange(u,o4(f.getStart(u),E),B)}function Frt(t,u){const s=X2(u.name,u.parent,t);if(s&&s.kind===23&&gk(s.parent)&&Qa(s.parent.parent))return s.parent.parent}var Ume,gBe,XHt=o({"src/services/codefixes/addNameToNamelessParameter.ts"(){ar(),rs(),Ume="addNameToNamelessParameter",gBe=[F.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code],Xo({errorCodes:gBe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>krt(d,u.sourceFile,u.span.start));return[Io(Ume,s,F.Add_parameter_name,Ume,F.Add_names_to_all_parameters_without_names)]},fixIds:[Ume],getAllCodeActions:t=>h0(t,gBe,(u,s)=>krt(u,s.file,s.start))})}});function eKt(t,u,s){var d,f;const p=Art(bfe(t,u),s);if(!p)return _t;const{source:E,target:v}=p,b=tKt(E,v,s)?s.getTypeAtLocation(v.expression):s.getTypeAtLocation(v);return(f=(d=b.symbol)==null?void 0:d.declarations)!=null&&f.some(B=>zn(B).fileName.match(/\.d\.ts$/))?_t:s.getExactOptionalProperties(b)}function tKt(t,u,s){return zu(u)&&!!s.getExactOptionalProperties(s.getTypeAtLocation(u.expression)).length&&s.getTypeAtLocation(t)===s.getUndefinedType()}function Art(t,u){var s;if(t){if(eu(t.parent)&&t.parent.operatorToken.kind===64)return{source:t.parent.right,target:t.parent.left};if(ra(t.parent)&&t.parent.initializer)return{source:t.parent.initializer,target:t.parent.name};if(Po(t.parent)){const d=u.getSymbolAtLocation(t.parent.expression);if(!(d!=null&&d.valueDeclaration)||!u7(d.valueDeclaration.kind)||!Wt(t))return;const f=t.parent.arguments.indexOf(t);if(f===-1)return;const p=d.valueDeclaration.parameters[f].name;if(at(p))return{source:t,target:p}}else if(Jc(t.parent)&&at(t.parent.name)||mm(t.parent)){const d=Art(t.parent.parent,u);if(!d)return;const f=u.getPropertyOfType(u.getTypeAtLocation(d.target),t.parent.name.text),p=(s=f==null?void 0:f.declarations)==null?void 0:s[0];return p?{source:Jc(t.parent)?t.parent.initializer:t.parent.name,target:p}:void 0}}else return}function iKt(t,u){for(const s of u){const d=s.valueDeclaration;if(d&&(Pm(d)||yo(d))&&d.type){const f=q.createUnionTypeNode([...d.type.kind===192?d.type.types:[d.type],q.createTypeReferenceNode("undefined")]);t.replaceNode(d.getSourceFile(),d.type,f)}}}var EBe,Srt,nKt=o({"src/services/codefixes/addOptionalPropertyUndefined.ts"(){ar(),rs(),EBe="addOptionalPropertyUndefined",Srt=[F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code],Xo({errorCodes:Srt,getCodeActions(t){const u=t.program.getTypeChecker(),s=eKt(t.sourceFile,t.span,u);if(!s.length)return;const d=iu.ChangeTracker.with(t,f=>iKt(f,s));return[xg(EBe,d,F.Add_undefined_to_optional_property_type)]},fixIds:[EBe]})}});function Brt(t,u){const s=Ca(t,u);return rr(Qa(s.parent)?s.parent.parent:s.parent,wrt)}function wrt(t){return uKt(t)&&Trt(t)}function Trt(t){return W0(t)?t.parameters.some(Trt)||!t.type&&!!OO(t):!t.type&&!!Dv(t)}function Lrt(t,u,s){if(W0(s)&&(OO(s)||s.parameters.some(d=>!!Dv(d)))){if(!s.typeParameters){const f=Mq(s);f.length&&t.insertTypeParameters(u,s,f)}const d=J0(s)&&!r0(s,21,u);d&&t.insertNodeBefore(u,Pn(s.parameters),q.createToken(21));for(const f of s.parameters)if(!f.type){const p=Dv(f);p&&t.tryInsertTypeAnnotation(u,f,yt(p,ub,Xr))}if(d&&t.insertNodeAfter(u,Cr(s.parameters),q.createToken(22)),!s.type){const f=OO(s);f&&t.tryInsertTypeAnnotation(u,s,yt(f,ub,Xr))}}else{const d=H.checkDefined(Dv(s),"A JSDocType for this declaration should exist");H.assert(!s.type,"The JSDocType decl should have a type"),t.tryInsertTypeAnnotation(u,s,yt(d,ub,Xr))}}function uKt(t){return W0(t)||t.kind===260||t.kind===171||t.kind===172}function ub(t){switch(t.kind){case 319:case 320:return q.createTypeReferenceNode("any",_t);case 323:return aKt(t);case 322:return ub(t.type);case 321:return oKt(t);case 325:return sKt(t);case 324:return lKt(t);case 183:return dKt(t);case 329:return rKt(t);default:const u=un(t,ub,Eg);return Yn(u,1),u}}function rKt(t){const u=q.createTypeLiteralNode(Kt(t.jsDocPropertyTags,s=>q.createPropertySignature(void 0,at(s.name)?s.name:s.name.right,uV(s)?q.createToken(58):void 0,s.typeExpression&&yt(s.typeExpression.type,ub,Xr)||q.createKeywordTypeNode(133))));return Yn(u,1),u}function aKt(t){return q.createUnionTypeNode([yt(t.type,ub,Xr),q.createTypeReferenceNode("undefined",_t)])}function oKt(t){return q.createUnionTypeNode([yt(t.type,ub,Xr),q.createTypeReferenceNode("null",_t)])}function sKt(t){return q.createArrayTypeNode(yt(t.type,ub,Xr))}function lKt(t){return q.createFunctionTypeNode(_t,t.parameters.map(cKt),t.type??q.createKeywordTypeNode(133))}function cKt(t){const u=t.parent.parameters.indexOf(t),s=t.type.kind===325&&u===t.parent.parameters.length-1,d=t.name||(s?"rest":"arg"+u),f=s?q.createToken(26):t.dotDotDotToken;return q.createParameterDeclaration(t.modifiers,f,d,t.questionToken,yt(t.type,ub,Xr),t.initializer)}function dKt(t){let u=t.typeName,s=t.typeArguments;if(at(t.typeName)){if(gq(t))return hKt(t);let d=t.typeName.text;switch(t.typeName.text){case"String":case"Boolean":case"Object":case"Number":d=d.toLowerCase();break;case"array":case"date":case"promise":d=d[0].toUpperCase()+d.slice(1);break}u=q.createIdentifier(d),(d==="Array"||d==="Promise")&&!t.typeArguments?s=q.createNodeArray([q.createTypeReferenceNode("any",_t)]):s=kn(t.typeArguments,ub,Xr)}return q.createTypeReferenceNode(u,s)}function hKt(t){const u=q.createParameterDeclaration(void 0,void 0,t.typeArguments[0].kind===150?"n":"s",void 0,q.createTypeReferenceNode(t.typeArguments[0].kind===150?"number":"string",[]),void 0),s=q.createTypeLiteralNode([q.createIndexSignature(void 0,[u],t.typeArguments[1])]);return Yn(s,1),s}var qme,_Be,fKt=o({"src/services/codefixes/annotateWithTypeFromJSDoc.ts"(){ar(),rs(),qme="annotateWithTypeFromJSDoc",_Be=[F.JSDoc_types_may_be_moved_to_TypeScript_types.code],Xo({errorCodes:_Be,getCodeActions(t){const u=Brt(t.sourceFile,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,d=>Lrt(d,t.sourceFile,u));return[Io(qme,s,F.Annotate_with_type_from_JSDoc,qme,F.Annotate_everything_with_types_from_JSDoc)]},fixIds:[qme],getAllCodeActions:t=>h0(t,_Be,(u,s)=>{const d=Brt(s.file,s.start);d&&Lrt(u,s.file,d)})})}});function Nrt(t,u,s,d,f,p){const E=d.getSymbolAtLocation(Ca(u,s));if(!E||!E.valueDeclaration||!(E.flags&19))return;const v=E.valueDeclaration;if(Xc(v)||A0(v))t.replaceNode(u,v,k(v));else if(ra(v)){const T=B(v);if(!T)return;const M=v.parent.parent;Fd(v.parent)&&v.parent.declarations.length>1?(t.delete(u,v),t.insertNodeAfter(u,M,T)):t.replaceNode(u,M,T)}function b(T){const M=[];return T.exports&&T.exports.forEach(J=>{if(J.name==="prototype"&&J.declarations){const K=J.declarations[0];if(J.declarations.length===1&&zu(K)&&eu(K.parent)&&K.parent.operatorToken.kind===64&&bs(K.parent.right)){const Y=K.parent.right;j(Y.symbol,void 0,M)}}else j(J,[q.createToken(126)],M)}),T.members&&T.members.forEach((J,K)=>{var Y,oe,se,ge;if(K==="constructor"&&J.valueDeclaration){const ae=(ge=(se=(oe=(Y=T.exports)==null?void 0:Y.get("prototype"))==null?void 0:oe.declarations)==null?void 0:se[0])==null?void 0:ge.parent;ae&&eu(ae)&&bs(ae.right)&&Ge(ae.right.properties,Yme)||t.delete(u,J.valueDeclaration.parent);return}j(J,void 0,M)}),M;function z(J,K){return M0(J)?zu(J)&&Yme(J)?!0:xo(K):ye(J.properties,Y=>!!(cc(Y)||BU(Y)||Jc(Y)&&A0(Y.initializer)&&Y.name||Yme(Y)))}function j(J,K,Y){if(!(J.flags&8192)&&!(J.flags&4096))return;const oe=J.valueDeclaration,se=oe.parent,ge=se.right;if(!z(oe,ge)||Ge(Y,Se=>{const Ne=$a(Se);return!!(Ne&&at(Ne)&&fu(Ne)===sc(J))}))return;const ae=se.parent&&se.parent.kind===244?se.parent:se;if(t.delete(u,ae),!ge){Y.push(q.createPropertyDeclaration(K,J.name,void 0,void 0,void 0));return}if(M0(oe)&&(A0(ge)||J0(ge))){const Se=Vm(u,f),Ne=mKt(oe,p,Se);Ne&&Ce(Y,ge,Ne);return}else if(bs(ge)){L(ge.properties,Se=>{(cc(Se)||BU(Se))&&Y.push(Se),Jc(Se)&&A0(Se.initializer)&&Ce(Y,Se.initializer,Se.name),Yme(Se)});return}else{if(ph(u)||!zu(oe))return;const Se=q.createPropertyDeclaration(K,oe.name,void 0,void 0,ge);sw(se.parent,Se,u),Y.push(Se);return}function Ce(Se,Ne,pe){return A0(Ne)?ne(Se,Ne,pe):ve(Se,Ne,pe)}function ne(Se,Ne,pe){const fe=an(K,Zme(Ne,134)),xe=q.createMethodDeclaration(fe,void 0,pe,void 0,void 0,Ne.parameters,void 0,Ne.body);sw(se,xe,u),Se.push(xe)}function ve(Se,Ne,pe){const fe=Ne.body;let xe;fe.kind===241?xe=fe:xe=q.createBlock([q.createReturnStatement(fe)]);const Be=an(K,Zme(Ne,134)),We=q.createMethodDeclaration(Be,void 0,pe,void 0,void 0,Ne.parameters,void 0,xe);sw(se,We,u),Se.push(We)}}}function B(T){const M=T.initializer;if(!M||!A0(M)||!at(T.name))return;const z=b(T.symbol);M.body&&z.unshift(q.createConstructorDeclaration(void 0,M.parameters,M.body));const j=Zme(T.parent.parent,95);return q.createClassDeclaration(j,T.name,void 0,void 0,z)}function k(T){const M=b(E);T.body&&M.unshift(q.createConstructorDeclaration(void 0,T.parameters,T.body));const z=Zme(T,95);return q.createClassDeclaration(z,T.name,void 0,void 0,M)}}function Zme(t,u){return Op(t)?ei(t.modifiers,s=>s.kind===u):void 0}function Yme(t){return t.name?!!(at(t.name)&&t.name.text==="constructor"):!1}function mKt(t,u,s){if(zu(t))return t.name;const d=t.argumentExpression;if(Rf(d))return d;if(t0(d))return Tm(d.text,Rs(u))?q.createIdentifier(d.text):B7(d)?q.createStringLiteral(d.text,s===0):d}var Qme,DBe,pKt=o({"src/services/codefixes/convertFunctionToEs6Class.ts"(){ar(),rs(),Qme="convertFunctionToEs6Class",DBe=[F.This_constructor_function_may_be_converted_to_a_class_declaration.code],Xo({errorCodes:DBe,getCodeActions(t){const u=iu.ChangeTracker.with(t,s=>Nrt(s,t.sourceFile,t.span.start,t.program.getTypeChecker(),t.preferences,t.program.getCompilerOptions()));return[Io(Qme,u,F.Convert_function_to_an_ES2015_class,Qme,F.Convert_all_constructor_functions_to_classes)]},fixIds:[Qme],getAllCodeActions:t=>h0(t,DBe,(u,s)=>Nrt(u,s.file,s.start,t.program.getTypeChecker(),t.preferences,t.program.getCompilerOptions()))})}});function Prt(t,u,s,d){const f=Ca(u,s);let p;if(at(f)&&ra(f.parent)&&f.parent.initializer&&W0(f.parent.initializer)?p=f.parent.initializer:p=rr(Lm(Ca(u,s)),Ufe),!p)return;const E=new Map,v=Xn(p),b=EKt(p,d),B=_Kt(p,d,E);if(!Jfe(B,d))return;const k=B.body&&ho(B.body)?gKt(B.body,d):_t,T={checker:d,synthNamesMap:E,setOfExpressionsToReturn:b,isInJSFile:v};if(!k.length)return;const M=ps(u.text,tE(p).pos);t.insertModifierAt(u,M,134,{suffix:" "});for(const z of k)if(uo(z,function j(J){if(Po(J)){const K=Ew(J,J,T,!1);if(a9())return!0;t.replaceNodeWithNodes(u,z,K)}else if(!xo(J)&&(uo(J,j),a9()))return!0}),a9())return}function gKt(t,u){const s=[];return v2(t,d=>{WX(d,u)&&s.push(d)}),s}function EKt(t,u){if(!t.body)return new Set;const s=new Set;return uo(t.body,function d(f){_K(f,u,"then")?(s.add($s(f)),L(f.arguments,d)):_K(f,u,"catch")||_K(f,u,"finally")?(s.add($s(f)),uo(f,d)):zrt(f,u)?s.add($s(f)):uo(f,d)}),s}function _K(t,u,s){if(!Po(t))return!1;const f=TH(t,s)&&u.getTypeAtLocation(t);return!!(f&&u.getPromisedTypeOfPromise(f))}function Mrt(t,u){return(Ju(t)&4)!==0&&t.target===u}function Xme(t,u,s){if(t.expression.name.escapedText==="finally")return;const d=s.getTypeAtLocation(t.expression.expression);if(Mrt(d,s.getPromiseType())||Mrt(d,s.getPromiseLikeType()))if(t.expression.name.escapedText==="then"){if(u===UD(t.arguments,0))return UD(t.typeArguments,0);if(u===UD(t.arguments,1))return UD(t.typeArguments,1)}else return UD(t.typeArguments,0)}function zrt(t,u){return Wt(t)?!!u.getPromisedTypeOfPromise(u.getTypeAtLocation(t)):!1}function _Kt(t,u,s){const d=new Map,f=Bm();return uo(t,function p(E){if(!at(E)){uo(E,p);return}const v=u.getSymbolAtLocation(E);if(v){const b=u.getTypeAtLocation(E),B=Hrt(b,u),k=Zo(v).toString();if(B&&!Qa(E.parent)&&!W0(E.parent)&&!s.has(k)){const T=Ki(B.parameters),M=(T==null?void 0:T.valueDeclaration)&&Qa(T.valueDeclaration)&&rr(T.valueDeclaration.name,at)||q.createUniqueName("result",16),z=Irt(M,f);s.set(k,z),f.add(M.text,v)}else if(E.parent&&(Qa(E.parent)||ra(E.parent)||Os(E.parent))){const T=E.text,M=f.get(T);if(M&&M.some(z=>z!==v)){const z=Irt(E,f);d.set(k,z.identifier),s.set(k,z),f.add(T,v)}else{const z=ll(E);s.set(k,JM(z)),f.add(T,v)}}}}),JH(t,!0,p=>{if(Os(p)&&at(p.name)&&Mp(p.parent)){const E=u.getSymbolAtLocation(p.name),v=E&&d.get(String(Zo(E)));if(v&&v.text!==(p.name||p.propertyName).getText())return q.createBindingElement(p.dotDotDotToken,p.propertyName||p.name,v,p.initializer)}else if(at(p)){const E=u.getSymbolAtLocation(p),v=E&&d.get(String(Zo(E)));if(v)return q.createIdentifier(v.text)}})}function Irt(t,u){const s=(u.get(t.text)||_t).length,d=s===0?t:q.createIdentifier(t.text+"_"+s);return JM(d)}function a9(){return!gee}function Uv(){return gee=!1,_t}function Ew(t,u,s,d,f){if(_K(u,s.checker,"then"))return vKt(u,UD(u.arguments,0),UD(u.arguments,1),s,d,f);if(_K(u,s.checker,"catch"))return jrt(u,UD(u.arguments,0),s,d,f);if(_K(u,s.checker,"finally"))return xKt(u,UD(u.arguments,0),s,d,f);if(zu(u))return Ew(t,u.expression,s,d,f);const p=s.checker.getTypeAtLocation(u);return p&&s.checker.getPromisedTypeOfPromise(p)?(H.assertNode(Kl(u).parent,zu),CKt(t,u,s,d,f)):Uv()}function e4e({checker:t},u){if(u.kind===106)return!0;if(at(u)&&!al(u)&&fu(u)==="undefined"){const s=t.getSymbolAtLocation(u);return!s||t.isUndefinedSymbol(s)}return!1}function DKt(t){const u=q.createUniqueName(t.identifier.text,16);return JM(u)}function Rrt(t,u,s){let d;return s&&!xK(t,u)&&(DK(s)?(d=s,u.synthNamesMap.forEach((f,p)=>{if(f.identifier.text===s.identifier.text){const E=DKt(s);u.synthNamesMap.set(p,E)}})):d=JM(q.createUniqueName("result",16),s.types),bBe(d)),d}function Ort(t,u,s,d,f){const p=[];let E;if(d&&!xK(t,u)){E=ll(bBe(d));const v=d.types,b=u.checker.getUnionType(v,2),B=u.isInJSFile?void 0:u.checker.typeToTypeNode(b,void 0,void 0),k=[q.createVariableDeclaration(E,void 0,B)],T=q.createVariableStatement(void 0,q.createVariableDeclarationList(k,1));p.push(T)}return p.push(s),f&&E&&kKt(f)&&p.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ll(Jrt(f)),void 0,void 0,E)],2))),p}function xKt(t,u,s,d,f){if(!u||e4e(s,u))return Ew(t,t.expression.expression,s,d,f);const p=Rrt(t,s,f),E=Ew(t,t.expression.expression,s,!0,p);if(a9())return Uv();const v=vBe(u,d,void 0,void 0,t,s);if(a9())return Uv();const b=q.createBlock(E),B=q.createBlock(v),k=q.createTryStatement(b,void 0,B);return Ort(t,s,k,p,f)}function jrt(t,u,s,d,f){if(!u||e4e(s,u))return Ew(t,t.expression.expression,s,d,f);const p=Wrt(u,s),E=Rrt(t,s,f),v=Ew(t,t.expression.expression,s,!0,E);if(a9())return Uv();const b=vBe(u,d,E,p,t,s);if(a9())return Uv();const B=q.createBlock(v),k=q.createCatchClause(p&&ll(pee(p)),q.createBlock(b)),T=q.createTryStatement(B,k,void 0);return Ort(t,s,T,E,f)}function vKt(t,u,s,d,f,p){if(!u||e4e(d,u))return jrt(t,s,d,f,p);if(s&&!e4e(d,s))return Uv();const E=Wrt(u,d),v=Ew(t.expression.expression,t.expression.expression,d,!0,E);if(a9())return Uv();const b=vBe(u,f,p,E,t,d);return a9()?Uv():an(v,b)}function CKt(t,u,s,d,f){if(xK(t,s)){let p=ll(u);return d&&(p=q.createAwaitExpression(p)),[q.createReturnStatement(p)]}return t4e(f,q.createAwaitExpression(u),void 0)}function t4e(t,u,s){return!t||Grt(t)?[q.createExpressionStatement(u)]:DK(t)&&t.hasBeenDeclared?[q.createExpressionStatement(q.createAssignment(ll(CBe(t)),u))]:[q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(ll(pee(t)),void 0,s,u)],2))]}function xBe(t,u){if(u&&t){const s=q.createUniqueName("result",16);return[...t4e(JM(s),t,u),q.createReturnStatement(s)]}return[q.createReturnStatement(t)]}function vBe(t,u,s,d,f,p){var E;switch(t.kind){case 106:break;case 211:case 80:if(!d)break;const v=q.createCallExpression(ll(t),void 0,DK(d)?[CBe(d)]:[]);if(xK(f,p))return xBe(v,Xme(f,t,p.checker));const b=p.checker.getTypeAtLocation(t),B=p.checker.getSignaturesOfType(b,0);if(!B.length)return Uv();const k=B[0].getReturnType(),T=t4e(s,q.createAwaitExpression(v),Xme(f,t,p.checker));return s&&s.types.push(p.checker.getAwaitedType(k)||k),T;case 218:case 219:{const M=t.body,z=(E=Hrt(p.checker.getTypeAtLocation(t),p.checker))==null?void 0:E.getReturnType();if(ho(M)){let j=[],J=!1;for(const K of M.statements)if(zp(K))if(J=!0,WX(K,p.checker))j=j.concat(Krt(p,K,u,s));else{const Y=z&&K.expression?Vrt(p.checker,z,K.expression):K.expression;j.push(...xBe(Y,Xme(f,t,p.checker)))}else{if(u&&v2(K,G3))return Uv();j.push(K)}return xK(f,p)?j.map(K=>ll(K)):bKt(j,s,p,J)}else{const j=$fe(M,p.checker)?Krt(p,q.createReturnStatement(M),u,s):_t;if(j.length>0)return j;if(z){const J=Vrt(p.checker,z,M);if(xK(f,p))return xBe(J,Xme(f,t,p.checker));{const K=t4e(s,J,void 0);return s&&s.types.push(p.checker.getAwaitedType(z)||z),K}}else return Uv()}}default:return Uv()}return _t}function Vrt(t,u,s){const d=ll(s);return t.getPromisedTypeOfPromise(u)?q.createAwaitExpression(d):d}function Hrt(t,u){const s=u.getSignaturesOfType(t,0);return Zu(s)}function bKt(t,u,s,d){const f=[];for(const p of t)if(zp(p)){if(p.expression){const E=zrt(p.expression,s.checker)?q.createAwaitExpression(p.expression):p.expression;u===void 0?f.push(q.createExpressionStatement(E)):DK(u)&&u.hasBeenDeclared?f.push(q.createExpressionStatement(q.createAssignment(CBe(u),E))):f.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(pee(u),void 0,void 0,E)],2)))}}else f.push(ll(p));return!d&&u!==void 0&&f.push(q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(pee(u),void 0,void 0,q.createIdentifier("undefined"))],2))),f}function Krt(t,u,s,d){let f=[];return uo(u,function p(E){if(Po(E)){const v=Ew(E,E,t,s,d);if(f=f.concat(v),f.length>0)return}else xo(E)||uo(E,p)}),f}function Wrt(t,u){const s=[];let d;if(W0(t)){if(t.parameters.length>0){const b=t.parameters[0].name;d=f(b)}}else at(t)?d=p(t):zu(t)&&at(t.name)&&(d=p(t.name));if(!d||"identifier"in d&&d.identifier.text==="undefined")return;return d;function f(b){if(at(b))return p(b);const B=Ku(b.elements,k=>kd(k)?[]:[f(k.name)]);return yKt(b,B)}function p(b){const B=v(b),k=E(B);return k&&u.synthNamesMap.get(Zo(k).toString())||JM(b,s)}function E(b){var B;return((B=rr(b,qg))==null?void 0:B.symbol)??u.checker.getSymbolAtLocation(b)}function v(b){return b.original?b.original:b}}function Grt(t){return t?DK(t)?!t.identifier.text:ye(t.elements,Grt):!0}function JM(t,u=[]){return{kind:0,identifier:t,types:u,hasBeenDeclared:!1,hasBeenReferenced:!1}}function yKt(t,u=_t,s=[]){return{kind:1,bindingPattern:t,elements:u,types:s}}function CBe(t){return t.hasBeenReferenced=!0,t.identifier}function pee(t){return DK(t)?bBe(t):Jrt(t)}function Jrt(t){for(const u of t.elements)pee(u);return t.bindingPattern}function bBe(t){return t.hasBeenDeclared=!0,t.identifier}function DK(t){return t.kind===0}function kKt(t){return t.kind===1}function xK(t,u){return!!t.original&&u.setOfExpressionsToReturn.has($s(t.original))}var i4e,yBe,gee,FKt=o({"src/services/codefixes/convertToAsyncFunction.ts"(){ar(),rs(),i4e="convertToAsyncFunction",yBe=[F.This_may_be_converted_to_an_async_function.code],gee=!0,Xo({errorCodes:yBe,getCodeActions(t){gee=!0;const u=iu.ChangeTracker.with(t,s=>Prt(s,t.sourceFile,t.span.start,t.program.getTypeChecker()));return gee?[Io(i4e,u,F.Convert_to_async_function,i4e,F.Convert_all_to_async_functions)]:[]},fixIds:[i4e],getAllCodeActions:t=>h0(t,yBe,(u,s)=>Prt(u,s.file,s.start,t.program.getTypeChecker()))})}});function AKt(t,u,s,d,f){var p;for(const E of t.imports){const v=(p=s.getResolvedModule(t,E.text,_g(t,E)))==null?void 0:p.resolvedModule;if(!v||v.resolvedFileName!==u.fileName)continue;const b=eP(E);switch(b.kind){case 271:d.replaceNode(t,b,p5(b.name,void 0,E,f));break;case 213:Df(b,!1)&&d.replaceNode(t,b,q.createPropertyAccessExpression(ll(b),"default"));break}}}function SKt(t,u,s,d,f){const p={original:VKt(t),additional:new Set},E=BKt(t,u,p);wKt(t,E,s);let v=!1,b;for(const B of ei(t.statements,Gl)){const k=Urt(t,B,s,u,p,d,f);k&&GU(k,b??(b=new Map))}for(const B of ei(t.statements,k=>!Gl(k))){const k=TKt(t,B,u,s,p,d,E,b,f);v=v||k}return b==null||b.forEach((B,k)=>{s.replaceNode(t,k,B)}),v}function BKt(t,u,s){const d=new Map;return $rt(t,f=>{const{text:p}=f.name;!d.has(p)&&(Fq(f.name)||u.resolveName(p,f,111551,!0))&&d.set(p,n4e(`_${p}`,s))}),d}function wKt(t,u,s){$rt(t,(d,f)=>{if(f)return;const{text:p}=d.name;s.replaceNode(t,d,q.createIdentifier(u.get(p)||p))})}function $rt(t,u){t.forEachChild(function s(d){if(zu(d)&&J2(t,d.expression)&&at(d.name)){const{parent:f}=d;u(d,eu(f)&&f.left===d&&f.operatorToken.kind===64)}d.forEachChild(s)})}function TKt(t,u,s,d,f,p,E,v,b){switch(u.kind){case 243:return Urt(t,u,d,s,f,p,b),!1;case 244:{const{expression:B}=u;switch(B.kind){case 213:return Df(B,!0)&&d.replaceNode(t,u,p5(void 0,void 0,B.arguments[0],b)),!1;case 226:{const{operatorToken:k}=B;return k.kind===64&&NKt(t,s,B,d,E,v)}}}default:return!1}}function Urt(t,u,s,d,f,p,E){const{declarationList:v}=u;let b=!1;const B=Kt(v.declarations,k=>{const{name:T,initializer:M}=k;if(M){if(J2(t,M))return b=!0,$M([]);if(Df(M,!0))return b=!0,OKt(T,M.arguments[0],d,f,p,E);if(zu(M)&&Df(M.expression,!0))return b=!0,LKt(T,M.name.text,M.expression.arguments[0],f,E)}return $M([q.createVariableStatement(void 0,q.createVariableDeclarationList([k],v.flags))])});if(b){s.replaceNodeWithNodes(t,u,Ku(B,T=>T.newImports));let k;return L(B,T=>{T.useSitesToUnqualify&&GU(T.useSitesToUnqualify,k??(k=new Map))}),k}}function LKt(t,u,s,d,f){switch(t.kind){case 206:case 207:{const p=n4e(u,d);return $M([Qrt(p,u,s,f),u4e(void 0,t,q.createIdentifier(p))])}case 80:return $M([Qrt(t.text,u,s,f)]);default:return H.assertNever(t,`Convert to ES module got invalid syntax form ${t.kind}`)}}function NKt(t,u,s,d,f,p){const{left:E,right:v}=s;if(!zu(E))return!1;if(J2(t,E))if(J2(t,v))d.delete(t,s.parent);else{const b=bs(v)?PKt(v,p):Df(v,!0)?zKt(v.arguments[0],u):void 0;return b?(d.replaceNodeWithNodes(t,s.parent,b[0]),b[1]):(d.replaceRangeWithText(t,o4(E.getStart(t),v.pos),"export default"),!0)}else J2(t,E.expression)&&MKt(t,s,d,f);return!1}function PKt(t,u){const s=to(t.properties,d=>{switch(d.kind){case 177:case 178:case 304:case 305:return;case 303:return at(d.name)?RKt(d.name.text,d.initializer,u):void 0;case 174:return at(d.name)?Yrt(d.name.text,[q.createToken(95)],d,u):void 0;default:H.assertNever(d,`Convert to ES6 got invalid prop kind ${d.kind}`)}});return s&&[s,!1]}function MKt(t,u,s,d){const{text:f}=u.left.name,p=d.get(f);if(p!==void 0){const E=[u4e(void 0,p,u.right),ABe([q.createExportSpecifier(!1,p,f)])];s.replaceNodeWithNodes(t,u.parent,E)}else IKt(u,t,s)}function zKt(t,u){const s=t.text,d=u.getSymbolAtLocation(t),f=d?d.exports:Q$;return f.has("export=")?[[kBe(s)],!0]:f.has("default")?f.size>1?[[qrt(s),kBe(s)],!0]:[[kBe(s)],!0]:[[qrt(s)],!1]}function qrt(t){return ABe(void 0,t)}function kBe(t){return ABe([q.createExportSpecifier(!1,void 0,"default")],t)}function IKt({left:t,right:u,parent:s},d,f){const p=t.name.text;if((A0(u)||J0(u)||Qd(u))&&(!u.name||u.name.text===p)){f.replaceRange(d,{pos:t.getStart(d),end:u.getStart(d)},q.createToken(95),{suffix:" "}),u.name||f.insertName(d,u,p);const E=r0(s,27,d);E&&f.delete(d,E)}else f.replaceNodeRangeWithNodes(d,t.expression,r0(t,25,d),[q.createToken(95),q.createToken(87)],{joiner:" ",suffix:" "})}function RKt(t,u,s){const d=[q.createToken(95)];switch(u.kind){case 218:{const{name:p}=u;if(p&&p.text!==t)return f()}case 219:return Yrt(t,d,u,s);case 231:return KKt(t,d,u,s);default:return f()}function f(){return u4e(d,q.createIdentifier(t),FBe(u,s))}}function FBe(t,u){if(!u||!Ge(ga(u.keys()),d=>jm(t,d)))return t;return ja(t)?pfe(t,!0,s):JH(t,!0,s);function s(d){if(d.kind===211){const f=u.get(d);return u.delete(d),f}}}function OKt(t,u,s,d,f,p){switch(t.kind){case 206:{const E=to(t.elements,v=>v.dotDotDotToken||v.initializer||v.propertyName&&!at(v.propertyName)||!at(v.name)?void 0:Xrt(v.propertyName&&v.propertyName.text,v.name.text));if(E)return $M([p5(void 0,E,u,p)])}case 207:{const E=n4e(jBe(u.text,f),d);return $M([p5(q.createIdentifier(E),void 0,u,p),u4e(void 0,ll(t),q.createIdentifier(E))])}case 80:return jKt(t,u,s,d,p);default:return H.assertNever(t,`Convert to ES module got invalid name kind ${t.kind}`)}}function jKt(t,u,s,d,f){const p=s.getSymbolAtLocation(t),E=new Map;let v=!1,b;for(const k of d.original.get(t.text)){if(s.getSymbolAtLocation(k)!==p||k===t)continue;const{parent:T}=k;if(zu(T)){const{name:{text:M}}=T;if(M==="default"){v=!0;const z=k.getText();(b??(b=new Map)).set(T,q.createIdentifier(z))}else{H.assert(T.expression===k,"Didn't expect expression === use");let z=E.get(M);z===void 0&&(z=n4e(M,d),E.set(M,z)),(b??(b=new Map)).set(T,q.createIdentifier(z))}}else v=!0}const B=E.size===0?void 0:ga(jr(E.entries(),([k,T])=>q.createImportSpecifier(!1,k===T?void 0:q.createIdentifier(k),q.createIdentifier(T))));return B||(v=!0),$M([p5(v?ll(t):void 0,B,u,f)],b)}function n4e(t,u){for(;u.original.has(t)||u.additional.has(t);)t=`_${t}`;return u.additional.add(t),t}function VKt(t){const u=Bm();return Zrt(t,s=>u.add(s.text,s)),u}function Zrt(t,u){at(t)&&HKt(t)&&u(t),t.forEachChild(s=>Zrt(s,u))}function HKt(t){const{parent:u}=t;switch(u.kind){case 211:return u.name!==t;case 208:return u.propertyName!==t;case 276:return u.propertyName!==t;default:return!0}}function Yrt(t,u,s,d){return q.createFunctionDeclaration(an(u,eb(s.modifiers)),ll(s.asteriskToken),t,eb(s.typeParameters),eb(s.parameters),ll(s.type),q.converters.convertToFunctionBlock(FBe(s.body,d)))}function KKt(t,u,s,d){return q.createClassDeclaration(an(u,eb(s.modifiers)),t,eb(s.typeParameters),eb(s.heritageClauses),FBe(s.members,d))}function Qrt(t,u,s,d){return u==="default"?p5(q.createIdentifier(t),void 0,s,d):p5(void 0,[Xrt(u,t)],s,d)}function Xrt(t,u){return q.createImportSpecifier(!1,t!==void 0&&t!==u?q.createIdentifier(t):void 0,q.createIdentifier(u))}function u4e(t,u,s){return q.createVariableStatement(t,q.createVariableDeclarationList([q.createVariableDeclaration(u,void 0,void 0,s)],2))}function ABe(t,u){return q.createExportDeclaration(void 0,!1,t&&q.createNamedExports(t),u===void 0?void 0:q.createStringLiteral(u))}function $M(t,u){return{newImports:t,useSitesToUnqualify:u}}var WKt=o({"src/services/codefixes/convertToEsModule.ts"(){ar(),rs(),Xo({errorCodes:[F.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions(t){const{sourceFile:u,program:s,preferences:d}=t,f=iu.ChangeTracker.with(t,p=>{if(SKt(u,s.getTypeChecker(),p,Rs(s.getCompilerOptions()),Vm(u,d)))for(const v of s.getSourceFiles())AKt(v,u,s,p,Vm(v,d))});return[xg("convertToEsModule",f,F.Convert_to_ES_module)]}})}});function eat(t,u){const s=Tn(Ca(t,u),xf);return H.assert(!!s,"Expected position to be owned by a qualified name."),at(s.left)?s:void 0}function tat(t,u,s){const d=s.right.text,f=q.createIndexedAccessTypeNode(q.createTypeReferenceNode(s.left,void 0),q.createLiteralTypeNode(q.createStringLiteral(d)));t.replaceNode(u,s,f)}var r4e,SBe,GKt=o({"src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts"(){ar(),rs(),r4e="correctQualifiedNameToIndexedAccessType",SBe=[F.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code],Xo({errorCodes:SBe,getCodeActions(t){const u=eat(t.sourceFile,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,f=>tat(f,t.sourceFile,u)),d=`${u.left.text}["${u.right.text}"]`;return[Io(r4e,s,[F.Rewrite_as_the_indexed_access_type_0,d],r4e,F.Rewrite_all_as_indexed_access_types)]},fixIds:[r4e],getAllCodeActions:t=>h0(t,SBe,(u,s)=>{const d=eat(s.file,s.start);d&&tat(u,s.file,d)})})}});function iat(t,u){return rr(Ca(u,t.start).parent,X1)}function nat(t,u,s){if(!u)return;const d=u.parent,f=d.parent,p=JKt(u,s);if(p.length===d.elements.length)t.insertModifierBefore(s.sourceFile,156,d);else{const E=q.updateExportDeclaration(f,f.modifiers,!1,q.updateNamedExports(d,ei(d.elements,b=>!Ft(p,b))),f.moduleSpecifier,void 0),v=q.createExportDeclaration(void 0,!0,q.createNamedExports(p),f.moduleSpecifier,void 0);t.replaceNode(s.sourceFile,f,E,{leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Exclude}),t.insertNodeAfter(s.sourceFile,f,v)}}function JKt(t,u){const s=t.parent;if(s.elements.length===1)return s.elements;const d=wSe(af(s),u.program.getSemanticDiagnostics(u.sourceFile,u.cancellationToken));return ei(s.elements,f=>{var p;return f===t||((p=BSe(f,d))==null?void 0:p.code)===a4e[0]})}var a4e,o4e,$Kt=o({"src/services/codefixes/convertToTypeOnlyExport.ts"(){ar(),rs(),a4e=[F.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],o4e="convertToTypeOnlyExport",Xo({errorCodes:a4e,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>nat(d,iat(u.span,u.sourceFile),u));if(s.length)return[Io(o4e,s,F.Convert_to_type_only_export,o4e,F.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[o4e],getAllCodeActions:function(u){const s=new Map;return h0(u,a4e,(d,f)=>{const p=iat(f,u.sourceFile);p&&Pp(s,$s(p.parent.parent))&&nat(d,p,u)})}})}});function uat(t,u){const{parent:s}=Ca(t,u);return Cf(s)||Ad(s)&&s.importClause?s:void 0}function rat(t,u,s){if(t.parent.parent.name)return!1;const d=t.parent.elements.filter(p=>!p.isTypeOnly);if(d.length===1)return!0;const f=s.getTypeChecker();for(const p of d)if($0.Core.eachSymbolReferenceInFile(p.name,f,u,v=>!Bv(v)))return!1;return!0}function Eee(t,u,s){var d;if(Cf(s))t.replaceNode(u,s,q.updateImportSpecifier(s,!0,s.propertyName,s.name));else{const f=s.importClause;if(f.name&&f.namedBindings)t.replaceNodeWithNodes(u,s,[q.createImportDeclaration(eb(s.modifiers,!0),q.createImportClause(!0,ll(f.name,!0),void 0),ll(s.moduleSpecifier,!0),ll(s.attributes,!0)),q.createImportDeclaration(eb(s.modifiers,!0),q.createImportClause(!0,void 0,ll(f.namedBindings,!0)),ll(s.moduleSpecifier,!0),ll(s.attributes,!0))]);else{const p=((d=f.namedBindings)==null?void 0:d.kind)===275?q.updateNamedImports(f.namedBindings,Pu(f.namedBindings.elements,v=>q.updateImportSpecifier(v,!1,v.propertyName,v.name))):f.namedBindings,E=q.updateImportDeclaration(s,s.modifiers,q.updateImportClause(f,!0,f.name,p),s.moduleSpecifier,s.attributes);t.replaceNode(u,s,E)}}}var BBe,_ee,UKt=o({"src/services/codefixes/convertToTypeOnlyImport.ts"(){ar(),rs(),BBe=[F.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code,F._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code],_ee="convertToTypeOnlyImport",Xo({errorCodes:BBe,getCodeActions:function(u){var s;const d=uat(u.sourceFile,u.span.start);if(d){const f=iu.ChangeTracker.with(u,v=>Eee(v,u.sourceFile,d)),p=d.kind===276&&rat(d,u.sourceFile,u.program)?iu.ChangeTracker.with(u,v=>Eee(v,u.sourceFile,d.parent.parent.parent)):void 0,E=Io(_ee,f,d.kind===276?[F.Use_type_0,((s=d.propertyName)==null?void 0:s.text)??d.name.text]:F.Use_import_type,_ee,F.Fix_all_with_type_only_imports);return Ge(p)?[xg(_ee,p,F.Use_import_type),E]:[E]}},fixIds:[_ee],getAllCodeActions:function(u){const s=new Set;return h0(u,BBe,(d,f)=>{const p=uat(f.file,f.start);(p==null?void 0:p.kind)===272&&!s.has(p)?(Eee(d,f.file,p),s.add(p)):(p==null?void 0:p.kind)===276&&!s.has(p.parent.parent.parent)&&rat(p,f.file,u.program)?(Eee(d,f.file,p.parent.parent.parent),s.add(p.parent.parent.parent)):(p==null?void 0:p.kind)===276&&Eee(d,f.file,p)})}})}});function aat(t,u,s,d,f=!1){if(!LB(u))return;const p=ZKt(u);if(!p)return;const E=u.parent,{leftSibling:v,rightSibling:b}=qKt(u);let B=E.getStart(),k="";!v&&E.comment&&(B=oat(E,E.getStart(),u.getStart()),k=`${d} */${d}`),v&&(f&&LB(v)?(B=u.getStart(),k=""):(B=oat(E,v.getStart(),u.getStart()),k=`${d} */${d}`));let T=E.getEnd(),M="";b&&(f&&LB(b)?(T=b.getStart(),M=`${d}${d}`):(T=b.getStart(),M=`${d}/**${d} * `)),t.replaceRange(s,{pos:B,end:T},p,{prefix:k,suffix:M})}function qKt(t){const u=t.parent,s=u.getChildCount()-1,d=u.getChildren().findIndex(E=>E.getStart()===t.getStart()&&E.getEnd()===t.getEnd()),f=d>0?u.getChildAt(d-1):void 0,p=d0;f--)if(!/[*/\s]/g.test(d.substring(f-1,f)))return u+f;return s}function ZKt(t){var u;const{typeExpression:s}=t;if(!s)return;const d=(u=t.name)==null?void 0:u.getText();if(d){if(s.kind===329)return YKt(d,s);if(s.kind===316)return QKt(d,s)}}function YKt(t,u){const s=sat(u);if(Ge(s))return q.createInterfaceDeclaration(void 0,t,void 0,void 0,s)}function QKt(t,u){const s=ll(u.type);if(s)return q.createTypeAliasDeclaration(void 0,q.createIdentifier(t),void 0,s)}function sat(t){const u=t.jsDocPropertyTags;return Ge(u)?Si(u,d=>{var f;const p=XKt(d),E=(f=d.typeExpression)==null?void 0:f.type,v=d.isBracketed;let b;if(E&&V7(E)){const B=sat(E);b=q.createTypeLiteralNode(B)}else E&&(b=ll(E));if(b&&p){const B=v?q.createToken(58):void 0;return q.createPropertySignature(void 0,p,B,b)}}):void 0}function XKt(t){return t.name.kind===80?t.name.text:t.name.right.text}function eWt(t){return sm(t)?Ku(t.jsDoc,u=>{var s;return(s=u.tags)==null?void 0:s.filter(d=>LB(d))}):[]}var s4e,wBe,tWt=o({"src/services/codefixes/convertTypedefToType.ts"(){ar(),rs(),s4e="convertTypedefToType",wBe=[F.JSDoc_typedef_may_be_converted_to_TypeScript_type.code],Xo({fixIds:[s4e],errorCodes:wBe,getCodeActions(t){const u=g5(t.host,t.formatContext.options),s=Ca(t.sourceFile,t.span.start);if(!s)return;const d=iu.ChangeTracker.with(t,f=>aat(f,s,t.sourceFile,u));if(d.length>0)return[Io(s4e,d,F.Convert_typedef_to_TypeScript_type,s4e,F.Convert_all_typedef_to_TypeScript_types)]},getAllCodeActions:t=>h0(t,wBe,(u,s)=>{const d=g5(t.host,t.formatContext.options),f=Ca(s.file,s.start);f&&aat(u,f,s.file,d,!0)})})}});function lat(t,u){const s=Ca(t,u);if(at(s)){const d=No(s.parent.parent,Pm),f=s.getText(t);return{container:No(d.parent,hm),typeNode:d.type,constraint:f,name:f==="K"?"P":"K"}}}function cat(t,u,{container:s,typeNode:d,constraint:f,name:p}){t.replaceNode(u,s,q.createMappedTypeNode(void 0,q.createTypeParameterDeclaration(void 0,p,q.createTypeReferenceNode(f)),void 0,void 0,d,void 0))}var l4e,TBe,iWt=o({"src/services/codefixes/convertLiteralTypeToMappedType.ts"(){ar(),rs(),l4e="convertLiteralTypeToMappedType",TBe=[F._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code],Xo({errorCodes:TBe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=lat(s,d.start);if(!f)return;const{name:p,constraint:E}=f,v=iu.ChangeTracker.with(u,b=>cat(b,s,f));return[Io(l4e,v,[F.Convert_0_to_1_in_0,E,p],l4e,F.Convert_all_type_literals_to_mapped_type)]},fixIds:[l4e],getAllCodeActions:t=>h0(t,TBe,(u,s)=>{const d=lat(s.file,s.start);d&&cat(u,s.file,d)})})}});function dat(t,u){return H.checkDefined(Zd(Ca(t,u)),"There should be a containing class")}function hat(t){return!t.valueDeclaration||!(gh(t.valueDeclaration)&2)}function fat(t,u,s,d,f,p){const E=t.program.getTypeChecker(),v=nWt(d,E),b=E.getTypeAtLocation(u),k=E.getPropertiesOfType(b).filter(U$(hat,K=>!v.has(K.escapedName))),T=E.getTypeAtLocation(d),M=Le(d.members,K=>dc(K));T.getNumberIndexType()||j(b,1),T.getStringIndexType()||j(b,0);const z=o9(s,t.program,p,t.host);Rwe(d,k,s,t,p,z,K=>J(s,d,K)),z.writeFixes(f);function j(K,Y){const oe=E.getIndexInfoOfType(K,Y);oe&&J(s,d,E.indexInfoToIndexSignatureDeclaration(oe,d,void 0,_w(t)))}function J(K,Y,oe){M?f.insertNodeAfter(K,M,oe):f.insertMemberAtStart(K,Y,oe)}}function nWt(t,u){const s=Yg(t);if(!s)return Vo();const d=u.getTypeAtLocation(s),f=u.getPropertiesOfType(d);return Vo(f.filter(hat))}var LBe,c4e,uWt=o({"src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts"(){ar(),rs(),LBe=[F.Class_0_incorrectly_implements_interface_1.code,F.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],c4e="fixClassIncorrectlyImplementsInterface",Xo({errorCodes:LBe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=dat(u,s.start);return Si(eB(d),f=>{const p=iu.ChangeTracker.with(t,E=>fat(t,f,u,d,E,t.preferences));return p.length===0?void 0:Io(c4e,p,[F.Implement_interface_0,f.getText(u)],c4e,F.Implement_all_unimplemented_interfaces)})},fixIds:[c4e],getAllCodeActions(t){const u=new Map;return h0(t,LBe,(s,d)=>{const f=dat(d.file,d.start);if(Pp(u,$s(f)))for(const p of eB(f))fat(t,p,d.file,f,s,t.preferences)})}})}});function o9(t,u,s,d,f){return mat(t,u,!1,s,d,f)}function mat(t,u,s,d,f,p){const E=u.getCompilerOptions(),v=[],b=[],B=new Map,k=new Map;return{addImportFromDiagnostic:T,addImportFromExportedSymbol:M,writeFixes:j,hasFixes:J};function T(K,Y){const oe=xat(Y,K.code,K.start,s);!oe||!oe.length||z(Pn(oe))}function M(K,Y){const oe=H.checkDefined(K.parent),se=NX(K,Rs(E)),ge=u.getTypeChecker(),ae=ge.getMergedSymbol(Q1(K,ge)),Ce=Eat(t,ae,se,oe,!1,u,f,d,p),ne=h4e(t,u),ve=pat(t,H.checkDefined(Ce),u,void 0,!!Y,ne,f,d);ve&&z({fix:ve,symbolName:se,errorIdentifierText:void 0})}function z(K){var Y,oe;const{fix:se,symbolName:ge}=K;switch(se.kind){case 0:v.push(se);break;case 1:b.push(se);break;case 2:{const{importClauseOrBindingPattern:ve,importKind:Se,addAsTypeOnly:Ne}=se,pe=String($s(ve));let fe=B.get(pe);if(fe||B.set(pe,fe={importClauseOrBindingPattern:ve,defaultImport:void 0,namedImports:new Map}),Se===0){const xe=fe==null?void 0:fe.namedImports.get(ge);fe.namedImports.set(ge,ae(xe,Ne))}else H.assert(fe.defaultImport===void 0||fe.defaultImport.name===ge,"(Add to Existing) Default import should be missing or match symbolName"),fe.defaultImport={name:ge,addAsTypeOnly:ae((Y=fe.defaultImport)==null?void 0:Y.addAsTypeOnly,Ne)};break}case 3:{const{moduleSpecifier:ve,importKind:Se,useRequire:Ne,addAsTypeOnly:pe}=se,fe=Ce(ve,Se,Ne,pe);switch(H.assert(fe.useRequire===Ne,"(Add new) Tried to add an `import` and a `require` for the same module"),Se){case 1:H.assert(fe.defaultImport===void 0||fe.defaultImport.name===ge,"(Add new) Default import should be missing or match symbolName"),fe.defaultImport={name:ge,addAsTypeOnly:ae((oe=fe.defaultImport)==null?void 0:oe.addAsTypeOnly,pe)};break;case 0:const xe=(fe.namedImports||(fe.namedImports=new Map)).get(ge);fe.namedImports.set(ge,ae(xe,pe));break;case 3:case 2:H.assert(fe.namespaceLikeImport===void 0||fe.namespaceLikeImport.name===ge,"Namespacelike import shoudl be missing or match symbolName"),fe.namespaceLikeImport={importKind:Se,name:ge,addAsTypeOnly:pe};break}break}case 4:break;default:H.assertNever(se,`fix wasn't never - got kind ${se.kind}`)}function ae(ve,Se){return Math.max(ve??0,Se)}function Ce(ve,Se,Ne,pe){const fe=ne(ve,!0),xe=ne(ve,!1),Be=k.get(fe),We=k.get(xe),Ae={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:Ne};return Se===1&&pe===2?Be||(k.set(fe,Ae),Ae):pe===1&&(Be||We)?Be||We:We||(k.set(xe,Ae),Ae)}function ne(ve,Se){return`${Se?1:0}|${ve}`}}function j(K,Y){let oe;t.imports.length===0&&Y!==void 0?oe=Y:oe=Vm(t,d);for(const ge of v)IBe(K,t,ge);for(const ge of b)Aat(K,t,ge,oe);B.forEach(({importClauseOrBindingPattern:ge,defaultImport:ae,namedImports:Ce})=>{Fat(K,t,ge,ae,ga(Ce.entries(),([ne,ve])=>({addAsTypeOnly:ve,name:ne})),d)});let se;k.forEach(({useRequire:ge,defaultImport:ae,namedImports:Ce,namespaceLikeImport:ne},ve)=>{const Se=ve.slice(2),pe=(ge?wat:Bat)(Se,oe,ae,Ce&&ga(Ce.entries(),([fe,xe])=>({addAsTypeOnly:xe,name:fe})),ne,E,d);se=Do(se,pe)}),se&&PM(K,t,se,!0,d)}function J(){return v.length>0||b.length>0||B.size>0||k.size>0}}function rWt(t,u,s,d){const f=VM(t,d,s),p=_at(u.getTypeChecker(),t,u.getCompilerOptions());return{getModuleSpecifierForBestExportInfo:E};function E(v,b,B,k){const{fixes:T,computedWithoutCacheCount:M}=d4e(v,b,B,!1,u,t,s,d,p,k),z=vat(T,t,u,f,s);return z&&{...z,computedWithoutCacheCount:M}}}function aWt(t,u,s,d,f,p,E,v,b,B,k,T){let M;s?(M=XH(d,E,v,k,T).get(d.path,s),H.assertIsDefined(M,"Some exportInfo should match the specified exportMapKey")):(M=yse(G4(u.name))?[sWt(t,f,u,v,E)]:Eat(d,t,f,u,p,v,E,k,T),H.assertIsDefined(M,"Some exportInfo should match the specified symbol / moduleSymbol"));const z=h4e(d,v),j=Bv(Ca(d,B)),J=H.checkDefined(pat(d,M,v,B,j,z,E,k));return{moduleSpecifier:J.moduleSpecifier,codeAction:gat(zBe({host:E,formatContext:b,preferences:k},d,f,J,!1,v,k))}}function oWt(t,u,s,d,f,p){const E=s.getCompilerOptions(),v=Cd(MBe(t,s.getTypeChecker(),u,E)),b=yat(t,u,v,s),B=v!==u.text;return b&&gat(zBe({host:d,formatContext:f,preferences:p},t,v,b,B,s,p))}function pat(t,u,s,d,f,p,E,v){const b=VM(t,v,E);return vat(d4e(u,d,f,p,s,t,E,v).fixes,t,s,b,E)}function gat({description:t,changes:u,commands:s}){return{description:t,changes:u,commands:s}}function Eat(t,u,s,d,f,p,E,v,b){const B=Dat(p,E);return XH(t,E,p,v,b).search(t.path,f,k=>k===s,k=>{if(Q1(k[0].symbol,B(k[0].isFromPackageJson))===u&&k.some(T=>T.moduleSymbol===d||T.symbol.parent===d))return k})}function sWt(t,u,s,d,f){var p,E;const v=d.getCompilerOptions(),b=k(d.getTypeChecker(),!1);if(b)return b;const B=(E=(p=f.getPackageJsonAutoImportProvider)==null?void 0:p.call(f))==null?void 0:E.getTypeChecker();return H.checkDefined(B&&k(B,!0),"Could not find symbol in specified module for code actions");function k(T,M){const z=jX(s,T,v);if(z&&Q1(z.symbol,T)===t)return{symbol:z.symbol,moduleSymbol:s,moduleFileName:void 0,exportKind:z.exportKind,targetFlags:Q1(t,T).flags,isFromPackageJson:M};const j=T.tryGetMemberInModuleExportsAndProperties(u,s);if(j&&Q1(j,T)===t)return{symbol:j,moduleSymbol:s,moduleFileName:void 0,exportKind:0,targetFlags:Q1(t,T).flags,isFromPackageJson:M}}}function d4e(t,u,s,d,f,p,E,v,b=_at(f.getTypeChecker(),p,f.getCompilerOptions()),B){const k=f.getTypeChecker(),T=Ku(t,b.getImportsForExportInfo),M=u!==void 0&&lWt(T,u),z=dWt(T,s,k,f.getCompilerOptions());if(z)return{computedWithoutCacheCount:0,fixes:[...M?[M]:_t,z]};const{fixes:j,computedWithoutCacheCount:J=0}=fWt(t,T,f,p,u,s,d,E,v,B);return{computedWithoutCacheCount:J,fixes:[...M?[M]:_t,...j]}}function lWt(t,u){return G(t,({declaration:s,importKind:d})=>{var f;if(d!==0)return;const p=cWt(s),E=p&&((f=U8(s))==null?void 0:f.text);if(E)return{kind:0,namespacePrefix:p,usagePosition:u,moduleSpecifier:E}})}function cWt(t){var u,s,d;switch(t.kind){case 260:return(u=rr(t.name,at))==null?void 0:u.text;case 271:return t.name.text;case 272:return(d=rr((s=t.importClause)==null?void 0:s.namedBindings,Gx))==null?void 0:d.name.text;default:return H.assertNever(t)}}function NBe(t,u,s,d,f,p){return t?u&&p.importsNotUsedAsValues===2||Dle(p)&&(!(d&111551)||f.getTypeOnlyAliasDeclaration(s))?2:1:4}function dWt(t,u,s,d){let f;for(const E of t){const v=p(E);if(!v)continue;const b=PU(v.importClauseOrBindingPattern);if(v.addAsTypeOnly!==4&&b||v.addAsTypeOnly===4&&!b)return v;f??(f=v)}return f;function p({declaration:E,importKind:v,symbol:b,targetFlags:B}){if(v===3||v===2||E.kind===271)return;if(E.kind===260)return(v===0||v===1)&&E.name.kind===206?{kind:2,importClauseOrBindingPattern:E.name,importKind:v,moduleSpecifier:E.initializer.arguments[0].text,addAsTypeOnly:4}:void 0;const{importClause:k}=E;if(!k||!t0(E.moduleSpecifier))return;const{name:T,namedBindings:M}=k;if(k.isTypeOnly&&!(v===0&&M))return;const z=NBe(u,!1,b,B,s,d);if(!(v===1&&(T||z===2&&M))&&!(v===0&&(M==null?void 0:M.kind)===274))return{kind:2,importClauseOrBindingPattern:k,importKind:v,moduleSpecifier:E.moduleSpecifier.text,addAsTypeOnly:z}}}function _at(t,u,s){let d;for(const f of u.imports){const p=eP(f);if(Eq(p.parent)){const E=t.resolveExternalModuleName(f);E&&(d||(d=Bm())).add(Zo(E),p.parent)}else if(p.kind===272||p.kind===271){const E=t.getSymbolAtLocation(f);E&&(d||(d=Bm())).add(Zo(E),p)}}return{getImportsForExportInfo:({moduleSymbol:f,exportKind:p,targetFlags:E,symbol:v})=>{if(!(E&111551)&&ph(u))return _t;const b=d==null?void 0:d.get(Zo(f));if(!b)return _t;const B=PBe(u,p,s);return b.map(k=>({declaration:k,importKind:B,symbol:v,targetFlags:E}))}}}function h4e(t,u){if(!ph(t))return!1;if(t.commonJsModuleIndicator&&!t.externalModuleIndicator)return!0;if(t.externalModuleIndicator&&!t.commonJsModuleIndicator)return!1;const s=u.getCompilerOptions();if(s.configFile)return f1(s)<5;if(t.impliedNodeFormat===1)return!0;if(t.impliedNodeFormat===99)return!1;for(const d of u.getSourceFiles())if(!(d===t||!ph(d)||u.isSourceFileFromExternalLibrary(d))){if(d.commonJsModuleIndicator&&!d.externalModuleIndicator)return!0;if(d.externalModuleIndicator&&!d.commonJsModuleIndicator)return!1}return!0}function Dat(t,u){return VE(s=>s?u.getPackageJsonAutoImportProvider().getTypeChecker():t.getTypeChecker())}function hWt(t,u,s,d,f,p,E,v,b){const B=ph(u),k=t.getCompilerOptions(),T=Mk(t,E),M=Dat(t,E),z=m1(k),j=mX(z),J=b?oe=>({moduleSpecifiers:$2.tryGetModuleSpecifiersFromCache(oe,u,T,v),computedWithoutCache:!1}):(oe,se)=>$2.getModuleSpecifiersWithCacheInfo(oe,se,k,u,T,v,void 0,!0);let K=0;const Y=Ku(p,(oe,se)=>{const ge=M(oe.isFromPackageJson),{computedWithoutCache:ae,moduleSpecifiers:Ce}=J(oe.moduleSymbol,ge),ne=!!(oe.targetFlags&111551),ve=NBe(d,!0,oe.symbol,oe.targetFlags,ge,k);return K+=ae?1:0,Si(Ce,Se=>{var Ne;if(j&&$7(Se))return;if(!ne&&B&&s!==void 0)return{kind:1,moduleSpecifier:Se,usagePosition:s,exportInfo:oe,isReExport:se>0};const pe=PBe(u,oe.exportKind,k);let fe;if(s!==void 0&&pe===3&&oe.exportKind===0){const xe=ge.resolveExternalModuleSymbol(oe.moduleSymbol);let Be;xe!==oe.moduleSymbol&&(Be=(Ne=VX(xe,ge,k))==null?void 0:Ne.name),Be||(Be=OBe(oe.moduleSymbol,Rs(k),!1)),fe={namespacePrefix:Be,usagePosition:s}}return{kind:3,moduleSpecifier:Se,importKind:pe,useRequire:f,addAsTypeOnly:ve,exportInfo:oe,isReExport:se>0,qualification:fe}})});return{computedWithoutCacheCount:K,fixes:Y}}function fWt(t,u,s,d,f,p,E,v,b,B){const k=G(u,T=>mWt(T,p,E,s.getTypeChecker(),s.getCompilerOptions()));return k?{fixes:[k]}:hWt(s,d,f,p,E,t,v,b,B)}function mWt({declaration:t,importKind:u,symbol:s,targetFlags:d},f,p,E,v){var b;const B=(b=U8(t))==null?void 0:b.text;if(B){const k=p?4:NBe(f,!0,s,d,E,v);return{kind:3,moduleSpecifier:B,importKind:u,addAsTypeOnly:k,useRequire:p}}}function xat(t,u,s,d){const f=Ca(t.sourceFile,s);let p;if(u===F._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)p=_Wt(t,f);else if(at(f))if(u===F._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){const v=Cd(MBe(t.sourceFile,t.program.getTypeChecker(),f,t.program.getCompilerOptions())),b=yat(t.sourceFile,f,v,t.program);return b&&[{fix:b,symbolName:v,errorIdentifierText:f.text}]}else p=vWt(t,f,d);else return;const E=VM(t.sourceFile,t.preferences,t.host);return p&&pWt(p,t.sourceFile,t.program,E,t.host)}function pWt(t,u,s,d,f){const p=E=>K0(E,f.getCurrentDirectory(),i5(f));return Lh(t,(E,v)=>s2(!!E.isJsxNamespaceFix,!!v.isJsxNamespaceFix)||nl(E.fix.kind,v.fix.kind)||Cat(E.fix,v.fix,u,s,d.allowsImportingSpecifier,p))}function vat(t,u,s,d,f){if(Ge(t))return t[0].kind===0||t[0].kind===2?t[0]:t.reduce((p,E)=>Cat(E,p,u,s,d.allowsImportingSpecifier,v=>K0(v,f.getCurrentDirectory(),i5(f)))===-1?E:p)}function Cat(t,u,s,d,f,p){return t.kind!==0&&u.kind!==0?s2(f(u.moduleSpecifier),f(t.moduleSpecifier))||EWt(t.moduleSpecifier,u.moduleSpecifier,s,d)||s2(bat(t,s,d.getCompilerOptions(),p),bat(u,s,d.getCompilerOptions(),p))||eV(t.moduleSpecifier,u.moduleSpecifier):0}function bat(t,u,s,d){var f;if(t.isReExport&&((f=t.exportInfo)!=null&&f.moduleFileName)&&m1(s)===2&&gWt(t.exportInfo.moduleFileName)){const p=d(cr(t.exportInfo.moduleFileName));return La(u.path,p)}return!1}function gWt(t){return Fc(t,[".js",".jsx",".d.ts",".ts",".tsx"],!0)==="index"}function EWt(t,u,s,d){return La(t,"node:")&&!La(u,"node:")?MX(s,d)?-1:1:La(u,"node:")&&!La(t,"node:")?MX(s,d)?1:-1:0}function _Wt({sourceFile:t,program:u,host:s,preferences:d},f){const p=u.getTypeChecker(),E=DWt(f,p);if(!E)return;const v=p.getAliasedSymbol(E),b=E.name,B=[{symbol:E,moduleSymbol:v,moduleFileName:void 0,exportKind:3,targetFlags:v.flags,isFromPackageJson:!1}],k=h4e(t,u);return d4e(B,void 0,!1,k,u,t,s,d).fixes.map(M=>{var z;return{fix:M,symbolName:b,errorIdentifierText:(z=rr(f,at))==null?void 0:z.text}})}function DWt(t,u){const s=at(t)?u.getSymbolAtLocation(t):void 0;if(Kq(s))return s;const{parent:d}=t;if(Ph(d)&&d.tagName===t||O7(d)){const f=u.resolveName(u.getJsxNamespace(d),Ph(d)?t:d,111551,!1);if(Kq(f))return f}}function PBe(t,u,s,d){if(s.verbatimModuleSyntax&&(f1(s)===1||t.impliedNodeFormat===1))return 3;switch(u){case 0:return 0;case 1:return 1;case 2:return yWt(t,s,!!d);case 3:return xWt(t,s,!!d);default:return H.assertNever(u)}}function xWt(t,u,s){if(x7(u))return 1;const d=f1(u);switch(d){case 2:case 1:case 3:return Xn(t)&&(Bc(t)||s)?2:3;case 4:case 5:case 6:case 7:case 99:case 0:return 2;case 100:case 199:return t.impliedNodeFormat===99?2:3;default:return H.assertNever(d,`Unexpected moduleKind ${d}`)}}function vWt({sourceFile:t,program:u,cancellationToken:s,host:d,preferences:f},p,E){const v=u.getTypeChecker(),b=u.getCompilerOptions();return Ku(MBe(t,v,p,b),B=>{if(B==="default")return;const k=Bv(p),T=h4e(t,u),M=bWt(B,G8(p),Lk(p),s,t,u,E,d,f);return ga(Vn(M.values(),z=>d4e(z,p.getStart(t),k,T,u,t,d,f).fixes),z=>({fix:z,symbolName:B,errorIdentifierText:p.text,isJsxNamespaceFix:B!==p.text}))})}function yat(t,u,s,d){const f=d.getTypeChecker(),p=f.resolveName(s,u,111551,!0);if(!p)return;const E=f.getTypeOnlyAliasDeclaration(p);if(!(!E||zn(E)!==t))return{kind:4,typeOnlyAliasDeclaration:E}}function MBe(t,u,s,d){const f=s.parent;if((Ph(f)||O2(f))&&f.tagName===s&&Afe(d.jsx)){const p=u.getJsxNamespace(t);if(CWt(p,s,u))return!uB(s.text)&&!u.resolveName(s.text,s,111551,!1)?[s.text,p]:[p]}return[s.text]}function CWt(t,u,s){if(uB(u.text))return!0;const d=s.resolveName(t,u,111551,!0);return!d||Ge(d.declarations,p2)&&!(d.flags&111551)}function bWt(t,u,s,d,f,p,E,v,b){var B;const k=Bm(),T=VM(f,b,v),M=(B=v.getModuleSpecifierCache)==null?void 0:B.call(v),z=VE(J=>Mk(J?v.getPackageJsonAutoImportProvider():p,v));function j(J,K,Y,oe,se,ge){const ae=z(ge);if(K&&Pfe(se,f,K,b,T,ae,M)||!K&&T.allowsImportingAmbientModule(J,ae)){const Ce=se.getTypeChecker();k.add(xSe(Y,Ce).toString(),{symbol:Y,moduleSymbol:J,moduleFileName:K==null?void 0:K.fileName,exportKind:oe,targetFlags:Q1(Y,Ce).flags,isFromPackageJson:ge})}}return Mfe(p,v,b,E,(J,K,Y,oe)=>{const se=Y.getTypeChecker();d.throwIfCancellationRequested();const ge=Y.getCompilerOptions(),ae=jX(J,se,ge);ae&&(ae.name===t||OBe(J,Rs(ge),u)===t)&&Lat(ae.resolvedSymbol,s)&&j(J,K,ae.symbol,ae.exportKind,Y,oe);const Ce=se.tryGetMemberInModuleExportsAndProperties(t,J);Ce&&Lat(Ce,s)&&j(J,K,Ce,0,Y,oe)}),k}function yWt(t,u,s){const d=x7(u),f=Xn(t);if(!f&&f1(u)>=5)return d?1:2;if(f)return Bc(t)||s?d?1:2:3;for(const p of t.statements)if(g1(p)&&!Yl(p.moduleReference))return 3;return d?1:3}function zBe(t,u,s,d,f,p,E){let v;const b=iu.ChangeTracker.with(t,B=>{v=kWt(B,u,s,d,f,p,E)});return Io(VBe,b,v,HBe,F.Add_all_missing_imports)}function kWt(t,u,s,d,f,p,E){const v=Vm(u,E);switch(d.kind){case 0:return IBe(t,u,d),[F.Change_0_to_1,s,`${d.namespacePrefix}.${s}`];case 1:return Aat(t,u,d,v),[F.Change_0_to_1,s,Sat(d.moduleSpecifier,v)+s];case 2:{const{importClauseOrBindingPattern:b,importKind:B,addAsTypeOnly:k,moduleSpecifier:T}=d;Fat(t,u,b,B===1?{name:s,addAsTypeOnly:k}:void 0,B===0?[{name:s,addAsTypeOnly:k}]:_t,E);const M=G4(T);return f?[F.Import_0_from_1,s,M]:[F.Update_import_from_0,M]}case 3:{const{importKind:b,moduleSpecifier:B,addAsTypeOnly:k,useRequire:T,qualification:M}=d,z=T?wat:Bat,j=b===1?{name:s,addAsTypeOnly:k}:void 0,J=b===0?[{name:s,addAsTypeOnly:k}]:void 0,K=b===2||b===3?{importKind:b,name:(M==null?void 0:M.namespacePrefix)||s,addAsTypeOnly:k}:void 0;return PM(t,u,z(B,v,j,J,K,p.getCompilerOptions(),E),!0,E),M&&IBe(t,u,M),f?[F.Import_0_from_1,s,B]:[F.Add_import_from_0,B]}case 4:{const{typeOnlyAliasDeclaration:b}=d,B=FWt(t,b,p,u,E);return B.kind===276?[F.Remove_type_from_import_of_0_from_1,s,kat(B.parent.parent)]:[F.Remove_type_from_import_declaration_from_0,kat(B)]}default:return H.assertNever(d,`Unexpected fix kind ${d.kind}`)}}function kat(t){var u,s;return t.kind===271?((s=rr((u=rr(t.moduleReference,u_))==null?void 0:u.expression,t0))==null?void 0:s.text)||t.moduleReference.getText():No(t.parent.moduleSpecifier,us).text}function FWt(t,u,s,d,f){const p=s.getCompilerOptions(),E=Dle(p);switch(u.kind){case 276:if(u.isTypeOnly){const b=Hp.detectImportSpecifierSorting(u.parent.elements,f);if(u.parent.elements.length>1&&b){const B=q.updateImportSpecifier(u,!1,u.propertyName,u.name),k=Hp.getOrganizeImportsComparer(f,b===2),T=Hp.getImportSpecifierInsertionIndex(u.parent.elements,B,k);if(u.parent.elements.indexOf(u)!==T)return t.delete(d,u),t.insertImportSpecifierAtIndex(d,B,u.parent,T),u}return t.deleteRange(d,u.getFirstToken()),u}else return H.assert(u.parent.parent.isTypeOnly),v(u.parent.parent),u.parent.parent;case 273:return v(u),u;case 274:return v(u.parent),u.parent;case 271:return t.deleteRange(d,u.getChildAt(1)),u;default:H.failBadSyntaxKind(u)}function v(b){var B;if(t.delete(d,ofe(b,d)),!p.allowImportingTsExtensions){const k=U8(b.parent),T=k&&((B=s.getResolvedModule(d,k.text,_g(d,k)))==null?void 0:B.resolvedModule);if(T!=null&&T.resolvedUsingTsExtension){const M=kO(k.text,dQ(k.text,p));t.replaceNode(d,k,q.createStringLiteral(M))}}if(E){const k=rr(b.namedBindings,nD);if(k&&k.elements.length>1){Hp.detectImportSpecifierSorting(k.elements,f)&&u.kind===276&&k.elements.indexOf(u)!==0&&(t.delete(d,u),t.insertImportSpecifierAtIndex(d,u,k,0));for(const T of k.elements)T!==u&&!T.isTypeOnly&&t.insertModifierBefore(d,156,T)}}}}function Fat(t,u,s,d,f,p){var E;if(s.kind===206){d&&B(s,d.name,"default");for(const k of f)B(s,k.name,void 0);return}const v=s.isTypeOnly&&Ge([d,...f],k=>(k==null?void 0:k.addAsTypeOnly)===4),b=s.namedBindings&&((E=rr(s.namedBindings,nD))==null?void 0:E.elements);if(d&&(H.assert(!s.name,"Cannot add a default import to an import clause that already has one"),t.insertNodeAt(u,s.getStart(u),q.createIdentifier(d.name),{suffix:", "})),f.length){let k;if(typeof p.organizeImportsIgnoreCase=="boolean")k=p.organizeImportsIgnoreCase;else if(b){const j=Hp.detectImportSpecifierSorting(b,p);j!==3&&(k=j===2)}k===void 0&&(k=Hp.detectSorting(u,p)===2);const T=Hp.getOrganizeImportsComparer(p,k),M=ac(f.map(j=>q.createImportSpecifier((!s.isTypeOnly||v)&&f4e(j,p),void 0,q.createIdentifier(j.name))),(j,J)=>Hp.compareImportOrExportSpecifiers(j,J,T)),z=(b==null?void 0:b.length)&&Hp.detectImportSpecifierSorting(b,p);if(z&&!(k&&z===1))for(const j of M){const J=v&&!j.isTypeOnly?0:Hp.getImportSpecifierInsertionIndex(b,j,T);t.insertImportSpecifierAtIndex(u,j,s.namedBindings,J)}else if(b!=null&&b.length)for(const j of M)t.insertNodeInListAfter(u,Cr(b),j,b);else if(M.length){const j=q.createNamedImports(M);s.namedBindings?t.replaceNode(u,s.namedBindings,j):t.insertNodeAfter(u,H.checkDefined(s.name,"Import clause must have either named imports or a default import"),j)}}if(v&&(t.delete(u,ofe(s,u)),b))for(const k of b)t.insertModifierBefore(u,156,k);function B(k,T,M){const z=q.createBindingElement(void 0,M,T);k.elements.length?t.insertNodeInListAfter(u,Cr(k.elements),z):t.replaceNode(u,k,q.createObjectBindingPattern([z]))}}function IBe(t,u,{namespacePrefix:s,usagePosition:d}){t.insertText(u,d,s+".")}function Aat(t,u,{moduleSpecifier:s,usagePosition:d},f){t.insertText(u,d,Sat(s,f))}function Sat(t,u){const s=afe(u);return`import(${s}${t}${s}).`}function RBe({addAsTypeOnly:t}){return t===2}function f4e(t,u){return RBe(t)||!!u.preferTypeOnlyAutoImports&&t.addAsTypeOnly!==4}function Bat(t,u,s,d,f,p,E){const v=t9(t,u);let b;if(s!==void 0||d!=null&&d.length){const B=(!s||RBe(s))&&ye(d,RBe)||(p.verbatimModuleSyntax||E.preferTypeOnlyAutoImports)&&(s==null?void 0:s.addAsTypeOnly)!==4&&!Ge(d,k=>k.addAsTypeOnly===4);b=Do(b,p5(s&&q.createIdentifier(s.name),d==null?void 0:d.map(k=>q.createImportSpecifier(!B&&f4e(k,E),void 0,q.createIdentifier(k.name))),t,u,B))}if(f){const B=f.importKind===3?q.createImportEqualsDeclaration(void 0,f4e(f,E),q.createIdentifier(f.name),q.createExternalModuleReference(v)):q.createImportDeclaration(void 0,q.createImportClause(f4e(f,E),void 0,q.createNamespaceImport(q.createIdentifier(f.name))),v,void 0);b=Do(b,B)}return H.checkDefined(b)}function wat(t,u,s,d,f){const p=t9(t,u);let E;if(s||d!=null&&d.length){const v=(d==null?void 0:d.map(({name:B})=>q.createBindingElement(void 0,void 0,B)))||[];s&&v.unshift(q.createBindingElement(void 0,"default",s.name));const b=Tat(q.createObjectBindingPattern(v),p);E=Do(E,b)}if(f){const v=Tat(f.name,p);E=Do(E,v)}return H.checkDefined(E)}function Tat(t,u){return q.createVariableStatement(void 0,q.createVariableDeclarationList([q.createVariableDeclaration(typeof t=="string"?q.createIdentifier(t):t,void 0,void 0,q.createCallExpression(q.createIdentifier("require"),void 0,[u]))],2))}function Lat({declarations:t},u){return Ge(t,s=>!!(BH(s)&u))}function OBe(t,u,s){return jBe(Eh(G4(t.name)),u,s)}function jBe(t,u,s){const d=Fc(E8(t,"/index"));let f="",p=!0;const E=d.charCodeAt(0);W_(E,u)?(f+=String.fromCharCode(E),s&&(f=f.toUpperCase())):p=!1;for(let v=1;vzBe(t,d,b,v,b!==B,p,s))},fixIds:[HBe],getAllCodeActions:t=>{const{sourceFile:u,program:s,preferences:d,host:f,cancellationToken:p}=t,E=mat(u,s,!0,d,f,p);return gw(t,KBe,v=>E.addImportFromDiagnostic(v,t)),pw(iu.ChangeTracker.with(t,E.writeFixes))}})}});function Nat(t,u,s){const d=Le(t.getSemanticDiagnostics(u),E=>E.start===s.start&&E.length===s.length);if(d===void 0||d.relatedInformation===void 0)return;const f=Le(d.relatedInformation,E=>E.code===F.This_type_parameter_might_need_an_extends_0_constraint.code);if(f===void 0||f.file===void 0||f.start===void 0||f.length===void 0)return;let p=Gwe(f.file,c1(f.start,f.length));if(p!==void 0&&(at(p)&&Bl(p.parent)&&(p=p.parent),Bl(p))){if(GP(p.parent))return;const E=Ca(u,s.start),v=t.getTypeChecker();return{constraint:BWt(v,E)||SWt(f.messageText),declaration:p,token:E}}}function Pat(t,u,s,d,f,p){const{declaration:E,constraint:v}=p,b=u.getTypeChecker();if(Wa(v))t.insertText(f,E.name.end,` extends ${v}`);else{const B=Rs(u.getCompilerOptions()),k=_w({program:u,host:d}),T=o9(f,u,s,d),M=Z4e(b,T,v,void 0,B,void 0,k);M&&(t.replaceNode(f,E,q.updateTypeParameterDeclaration(E,void 0,E.name,M,E.default)),T.writeFixes(t))}}function SWt(t){const[u,s]=sE(t,` +`,0).match(/`extends (.*)`/)||[];return s}function BWt(t,u){return Xr(u.parent)?t.getTypeArgumentConstraint(u.parent):(Wt(u)?t.getContextualType(u):void 0)||t.getTypeAtLocation(u)}var m4e,WBe,wWt=o({"src/services/codefixes/fixAddMissingConstraint.ts"(){ar(),rs(),m4e="addMissingConstraint",WBe=[F.Type_0_is_not_comparable_to_type_1.code,F.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,F.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,F.Type_0_is_not_assignable_to_type_1.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,F.Property_0_is_incompatible_with_index_signature.code,F.Property_0_in_type_1_is_not_assignable_to_type_2.code,F.Type_0_does_not_satisfy_the_constraint_1.code],Xo({errorCodes:WBe,getCodeActions(t){const{sourceFile:u,span:s,program:d,preferences:f,host:p}=t,E=Nat(d,u,s);if(E===void 0)return;const v=iu.ChangeTracker.with(t,b=>Pat(b,d,f,p,u,E));return[Io(m4e,v,F.Add_extends_constraint,m4e,F.Add_extends_constraint_to_all_type_parameters)]},fixIds:[m4e],getAllCodeActions:t=>{const{program:u,preferences:s,host:d}=t,f=new Map;return pw(iu.ChangeTracker.with(t,p=>{gw(t,WBe,E=>{const v=Nat(u,E.file,c1(E.start,E.length));if(v&&Pp(f,$s(v.declaration)))return Pat(p,u,s,d,E.file,v)})}))}})}});function Mat(t,u,s,d){switch(s){case F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:return TWt(t,u.sourceFile,d);case F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:return LWt(t,u.sourceFile,d);default:H.fail("Unexpected error code: "+s)}}function TWt(t,u,s){const d=Iat(u,s);if(ph(u)){t.addJSDocTags(u,d,[q.createJSDocOverrideTag(q.createIdentifier("override"))]);return}const f=d.modifiers||_t,p=Le(f,T7),E=Le(f,Xke),v=Le(f,T=>Zhe(T.kind)),b=st(f,p1),B=E?E.end:p?p.end:v?v.end:b?ps(u.text,b.end):d.getStart(u),k=v||p||E?{prefix:" "}:{suffix:" "};t.insertModifierAt(u,B,164,k)}function LWt(t,u,s){const d=Iat(u,s);if(ph(u)){t.filterJSDocTags(u,d,q$(hY));return}const f=Le(d.modifiers,eFe);H.assertIsDefined(f),t.deleteModifier(u,f)}function zat(t){switch(t.kind){case 176:case 172:case 174:case 177:case 178:return!0;case 169:return Pf(t,t.parent);default:return!1}}function Iat(t,u){const s=Ca(t,u),d=Tn(s,f=>gr(f)?"quit":zat(f));return H.assert(d&&zat(d)),d}var GBe,UM,vK,JBe,$Be,NWt=o({"src/services/codefixes/fixOverrideModifier.ts"(){ar(),rs(),GBe="fixOverrideModifier",UM="fixAddOverrideModifier",vK="fixRemoveOverrideModifier",JBe=[F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],$Be={[F.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:UM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:UM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:F.Remove_override_modifier,fixId:vK,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers},[F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:F.Remove_override_modifier,fixId:vK,fixAllDescriptions:F.Remove_override_modifier},[F.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:UM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:UM,fixAllDescriptions:F.Add_all_missing_override_modifiers},[F.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]:{descriptions:F.Add_override_modifier,fixId:UM,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers},[F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:F.Remove_override_modifier,fixId:vK,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers},[F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:F.Remove_override_modifier,fixId:vK,fixAllDescriptions:F.Remove_all_unnecessary_override_modifiers}},Xo({errorCodes:JBe,getCodeActions:function(u){const{errorCode:s,span:d}=u,f=$Be[s];if(!f)return _t;const{descriptions:p,fixId:E,fixAllDescriptions:v}=f,b=iu.ChangeTracker.with(u,B=>Mat(B,u,s,d.start));return[rBe(GBe,b,p,E,v)]},fixIds:[GBe,UM,vK],getAllCodeActions:t=>h0(t,JBe,(u,s)=>{const{code:d,start:f}=s,p=$Be[d];!p||p.fixId!==t.fixId||Mat(u,t,d,f)})})}});function Rat(t,u,s,d){const f=Vm(u,d),p=q.createStringLiteral(s.name.text,f===0);t.replaceNode(u,s,wU(s)?q.createElementAccessChain(s.expression,s.questionDotToken,p):q.createElementAccessExpression(s.expression,p))}function Oat(t,u){return No(Ca(t,u).parent,zu)}var p4e,UBe,PWt=o({"src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts"(){ar(),rs(),p4e="fixNoPropertyAccessFromIndexSignature",UBe=[F.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code],Xo({errorCodes:UBe,fixIds:[p4e],getCodeActions(t){const{sourceFile:u,span:s,preferences:d}=t,f=Oat(u,s.start),p=iu.ChangeTracker.with(t,E=>Rat(E,t.sourceFile,f,d));return[Io(p4e,p,[F.Use_element_access_for_0,f.name.text],p4e,F.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:t=>h0(t,UBe,(u,s)=>Rat(u,s.file,Oat(s.file,s.start),t.preferences))})}});function jat(t,u,s,d){const f=Ca(u,s);if(!nw(f))return;const p=ef(f,!1,!1);if(!(!Xc(p)&&!A0(p))&&!ca(ef(p,!1,!1))){const E=H.checkDefined(r0(p,100,u)),{name:v}=p,b=H.checkDefined(p.body);return A0(p)?v&&$0.Core.isSymbolReferencedInFile(v,d,u,b)?void 0:(t.delete(u,E),v&&t.delete(u,v),t.insertText(u,b.pos," =>"),[F.Convert_function_expression_0_to_arrow_function,v?v.text:OX]):(t.replaceNode(u,E,q.createToken(87)),t.insertText(u,v.end," = "),t.insertText(u,b.pos," =>"),[F.Convert_function_declaration_0_to_arrow_function,v.text])}}var g4e,qBe,MWt=o({"src/services/codefixes/fixImplicitThis.ts"(){ar(),rs(),g4e="fixImplicitThis",qBe=[F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],Xo({errorCodes:qBe,getCodeActions:function(u){const{sourceFile:s,program:d,span:f}=u;let p;const E=iu.ChangeTracker.with(u,v=>{p=jat(v,s,f.start,d.getTypeChecker())});return p?[Io(g4e,E,p,g4e,F.Fix_all_implicit_this_errors)]:_t},fixIds:[g4e],getAllCodeActions:t=>h0(t,qBe,(u,s)=>{jat(u,s.file,s.start,t.program.getTypeChecker())})})}});function Vat(t,u,s){var d,f;const p=Ca(t,u);if(at(p)){const E=Tn(p,Ad);if(E===void 0)return;const v=us(E.moduleSpecifier)?E.moduleSpecifier.text:void 0;if(v===void 0)return;const b=(d=s.getResolvedModule(t,v,void 0))==null?void 0:d.resolvedModule;if(b===void 0)return;const B=s.getSourceFile(b.resolvedFileName);if(B===void 0||HM(s,B))return;const k=B.symbol,T=(f=rr(k.valueDeclaration,$E))==null?void 0:f.locals;if(T===void 0)return;const M=T.get(p.escapedText);if(M===void 0)return;const z=IWt(M);return z===void 0?void 0:{exportName:{node:p,isTypeOnly:mB(z)},node:z,moduleSourceFile:B,moduleSpecifier:v}}}function zWt(t,u,{exportName:s,node:d,moduleSourceFile:f}){const p=E4e(f,s.isTypeOnly);p?Hat(t,u,f,p,[s]):nV(d)?t.insertExportModifier(f,d):Kat(t,u,f,[s])}function ZBe(t,u,s,d,f){S(d)&&(f?Hat(t,u,s,f,d):Kat(t,u,s,d))}function E4e(t,u){const s=d=>Gc(d)&&(u&&d.isTypeOnly||!d.isTypeOnly);return st(t.statements,s)}function Hat(t,u,s,d,f){const p=d.exportClause&&Q4(d.exportClause)?d.exportClause.elements:q.createNodeArray([]),E=!d.isTypeOnly&&!!(hg(u.getCompilerOptions())||Le(p,v=>v.isTypeOnly));t.replaceNode(s,d,q.updateExportDeclaration(d,d.modifiers,d.isTypeOnly,q.createNamedExports(q.createNodeArray([...p,...Wat(f,E)],p.hasTrailingComma)),d.moduleSpecifier,d.attributes))}function Kat(t,u,s,d){t.insertNodeAtEndOfScope(s,s,q.createExportDeclaration(void 0,!1,q.createNamedExports(Wat(d,hg(u.getCompilerOptions()))),void 0,void 0))}function Wat(t,u){return q.createNodeArray(Kt(t,s=>q.createExportSpecifier(u&&s.isTypeOnly,void 0,s.node)))}function IWt(t){if(t.valueDeclaration===void 0)return Ki(t.declarations);const u=t.valueDeclaration,s=ra(u)?rr(u.parent.parent,Gl):void 0;return s&&S(s.declarationList.declarations)===1?s:u}var _4e,YBe,RWt=o({"src/services/codefixes/fixImportNonExportedMember.ts"(){ar(),rs(),_4e="fixImportNonExportedMember",YBe=[F.Module_0_declares_1_locally_but_it_is_not_exported.code],Xo({errorCodes:YBe,fixIds:[_4e],getCodeActions(t){const{sourceFile:u,span:s,program:d}=t,f=Vat(u,s.start,d);if(f===void 0)return;const p=iu.ChangeTracker.with(t,E=>zWt(E,d,f));return[Io(_4e,p,[F.Export_0_from_module_1,f.exportName.node.text,f.moduleSpecifier],_4e,F.Export_all_referenced_locals)]},getAllCodeActions(t){const{program:u}=t;return pw(iu.ChangeTracker.with(t,s=>{const d=new Map;gw(t,YBe,f=>{const p=Vat(f.file,f.start,u);if(p===void 0)return;const{exportName:E,node:v,moduleSourceFile:b}=p;if(E4e(b,E.isTypeOnly)===void 0&&nV(v))s.insertExportModifier(b,v);else{const B=d.get(b)||{typeOnlyExports:[],exports:[]};E.isTypeOnly?B.typeOnlyExports.push(E):B.exports.push(E),d.set(b,B)}}),d.forEach((f,p)=>{const E=E4e(p,!0);E&&E.isTypeOnly?(ZBe(s,u,p,f.typeOnlyExports,E),ZBe(s,u,p,f.exports,E4e(p,!1))):ZBe(s,u,p,[...f.exports,...f.typeOnlyExports],E)})}))}})}});function OWt(t,u){const s=Ca(t,u);return Tn(s,d=>d.kind===202)}function jWt(t,u,s){if(!s)return;let d=s.type,f=!1,p=!1;for(;d.kind===190||d.kind===191||d.kind===196;)d.kind===190?f=!0:d.kind===191&&(p=!0),d=d.type;const E=q.updateNamedTupleMember(s,s.dotDotDotToken||(p?q.createToken(26):void 0),s.name,s.questionToken||(f?q.createToken(58):void 0),d);E!==s&&t.replaceNode(u,s,E)}var D4e,Gat,VWt=o({"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts"(){ar(),rs(),D4e="fixIncorrectNamedTupleSyntax",Gat=[F.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,F.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],Xo({errorCodes:Gat,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=OWt(s,d.start),p=iu.ChangeTracker.with(u,E=>jWt(E,s,f));return[Io(D4e,p,F.Move_labeled_tuple_element_modifiers_to_labels,D4e,F.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[D4e]})}});function Jat(t,u,s,d){const f=Ca(t,u),p=f.parent;if((d===F.No_overload_matches_this_call.code||d===F.Type_0_is_not_assignable_to_type_1.code)&&!aE(p))return;const E=s.program.getTypeChecker();let v;if(zu(p)&&p.name===f){H.assert(G_(f),"Expected an identifier for spelling (property access)");let b=E.getTypeAtLocation(p.expression);p.flags&64&&(b=E.getNonNullableType(b)),v=E.getSuggestedSymbolForNonexistentProperty(f,b)}else if(eu(p)&&p.operatorToken.kind===103&&p.left===f&&ea(f)){const b=E.getTypeAtLocation(p.right);v=E.getSuggestedSymbolForNonexistentProperty(f,b)}else if(xf(p)&&p.right===f){const b=E.getSymbolAtLocation(p.left);b&&b.flags&1536&&(v=E.getSuggestedSymbolForNonexistentModule(p.right,b))}else if(Cf(p)&&p.name===f){H.assertNode(f,at,"Expected an identifier for spelling (import)");const b=Tn(f,Ad),B=KWt(t,s,b);B&&B.symbol&&(v=E.getSuggestedSymbolForNonexistentModule(f,B.symbol))}else if(aE(p)&&p.name===f){H.assertNode(f,at,"Expected an identifier for JSX attribute");const b=Tn(f,Ph),B=E.getContextualTypeForArgumentAtIndex(b,0);v=E.getSuggestedSymbolForNonexistentJSXAttribute(f,B)}else if(Iq(p)&&qd(p)&&p.name===f){const b=Tn(f,gr),B=b?Yg(b):void 0,k=B?E.getTypeAtLocation(B):void 0;k&&(v=E.getSuggestedSymbolForNonexistentClassMember(Hc(f),k))}else{const b=Lk(f),B=Hc(f);H.assert(B!==void 0,"name should be defined"),v=E.getSuggestedSymbolForNonexistentSymbol(f,B,HWt(b))}return v===void 0?void 0:{node:f,suggestedSymbol:v}}function $at(t,u,s,d,f){const p=sc(d);if(!Tm(p,f)&&zu(s.parent)){const E=d.valueDeclaration;E&&fh(E)&&ea(E.name)?t.replaceNode(u,s,q.createIdentifier(p)):t.replaceNode(u,s.parent,q.createElementAccessExpression(s.parent.expression,q.createStringLiteral(p)))}else t.replaceNode(u,s,q.createIdentifier(p))}function HWt(t){let u=0;return t&4&&(u|=1920),t&2&&(u|=788968),t&1&&(u|=111551),u}function KWt(t,u,s){var d;if(!s||!t0(s.moduleSpecifier))return;const f=(d=u.program.getResolvedModule(t,s.moduleSpecifier.text,_g(t,s.moduleSpecifier)))==null?void 0:d.resolvedModule;if(f)return u.program.getSourceFile(f.resolvedFileName)}var QBe,XBe,WWt=o({"src/services/codefixes/fixSpelling.ts"(){ar(),rs(),QBe="fixSpelling",XBe=[F.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,F.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,F.Cannot_find_name_0_Did_you_mean_1.code,F.Could_not_find_name_0_Did_you_mean_1.code,F.Cannot_find_namespace_0_Did_you_mean_1.code,F.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,F.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,F._0_has_no_exported_member_named_1_Did_you_mean_2.code,F.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,F.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,F.No_overload_matches_this_call.code,F.Type_0_is_not_assignable_to_type_1.code],Xo({errorCodes:XBe,getCodeActions(t){const{sourceFile:u,errorCode:s}=t,d=Jat(u,t.span.start,t,s);if(!d)return;const{node:f,suggestedSymbol:p}=d,E=Rs(t.host.getCompilationSettings()),v=iu.ChangeTracker.with(t,b=>$at(b,u,f,p,E));return[Io("spelling",v,[F.Change_spelling_to_0,sc(p)],QBe,F.Fix_all_detected_spelling_errors)]},fixIds:[QBe],getAllCodeActions:t=>h0(t,XBe,(u,s)=>{const d=Jat(s.file,s.start,t,s.code),f=Rs(t.host.getCompilationSettings());d&&$at(u,t.sourceFile,d.node,d.suggestedSymbol,f)})})}});function Uat(t,u,s){const d=t.createSymbol(4,u.escapedText);d.links.type=t.getTypeAtLocation(s);const f=Vo([d]);return t.createAnonymousType(void 0,f,[],[],[])}function ewe(t,u,s,d){if(!u.body||!ho(u.body)||S(u.body.statements)!==1)return;const f=Pn(u.body.statements);if(Id(f)&&twe(t,u,t.getTypeAtLocation(f.expression),s,d))return{declaration:u,kind:0,expression:f.expression,statement:f,commentSource:f.expression};if(R2(f)&&Id(f.statement)){const p=q.createObjectLiteralExpression([q.createPropertyAssignment(f.label,f.statement.expression)]),E=Uat(t,f.label,f.statement.expression);if(twe(t,u,E,s,d))return J0(u)?{declaration:u,kind:1,expression:p,statement:f,commentSource:f.statement.expression}:{declaration:u,kind:0,expression:p,statement:f,commentSource:f.statement.expression}}else if(ho(f)&&S(f.statements)===1){const p=Pn(f.statements);if(R2(p)&&Id(p.statement)){const E=q.createObjectLiteralExpression([q.createPropertyAssignment(p.label,p.statement.expression)]),v=Uat(t,p.label,p.statement.expression);if(twe(t,u,v,s,d))return{declaration:u,kind:0,expression:E,statement:f,commentSource:p}}}}function twe(t,u,s,d,f){if(f){const p=t.getSignatureFromDeclaration(u);if(p){Qu(u,1024)&&(s=t.createPromiseType(s));const E=t.createSignature(u,p.typeParameters,p.thisParameter,p.parameters,s,void 0,p.minArgumentCount,p.flags);s=t.createAnonymousType(void 0,Vo(),[E],[],[])}else s=t.getAnyType()}return t.isTypeAssignableTo(s,d)}function qat(t,u,s,d){const f=Ca(u,s);if(!f.parent)return;const p=Tn(f.parent,W0);switch(d){case F.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code:return!p||!p.body||!p.type||!jm(p.type,f)?void 0:ewe(t,p,t.getTypeFromTypeNode(p.type),!1);case F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!p||!Po(p.parent)||!p.body)return;const E=p.parent.arguments.indexOf(p);if(E===-1)return;const v=t.getContextualTypeForArgumentAtIndex(p.parent,E);return v?ewe(t,p,v,!0):void 0;case F.Type_0_is_not_assignable_to_type_1.code:if(!Q3(f)||!K8(f.parent)&&!aE(f.parent))return;const b=GWt(f.parent);return!b||!W0(b)||!b.body?void 0:ewe(t,b,t.getTypeAtLocation(f.parent),!0)}}function GWt(t){switch(t.kind){case 260:case 169:case 208:case 172:case 303:return t.initializer;case 291:return t.initializer&&(ZP(t.initializer)?t.initializer.expression:void 0);case 304:case 171:case 306:case 355:case 348:return}}function Zat(t,u,s,d){Hf(s);const f=qH(u);t.replaceNode(u,d,q.createReturnStatement(s),{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Exclude,suffix:f?";":void 0})}function Yat(t,u,s,d,f,p){const E=p||bX(d)?q.createParenthesizedExpression(d):d;Hf(f),zk(f,E),t.replaceNode(u,s.body,E)}function Qat(t,u,s,d){t.replaceNode(u,s.body,q.createParenthesizedExpression(d))}function JWt(t,u,s){const d=iu.ChangeTracker.with(t,f=>Zat(f,t.sourceFile,u,s));return Io(x4e,d,F.Add_a_return_statement,v4e,F.Add_all_missing_return_statement)}function $Wt(t,u,s,d){const f=iu.ChangeTracker.with(t,p=>Yat(p,t.sourceFile,u,s,d,!1));return Io(x4e,f,F.Remove_braces_from_arrow_function_body,C4e,F.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function UWt(t,u,s){const d=iu.ChangeTracker.with(t,f=>Qat(f,t.sourceFile,u,s));return Io(x4e,d,F.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,b4e,F.Wrap_all_object_literal_with_parentheses)}var x4e,v4e,C4e,b4e,iwe,qWt=o({"src/services/codefixes/returnValueCorrect.ts"(){ar(),rs(),x4e="returnValueCorrect",v4e="fixAddReturnStatement",C4e="fixRemoveBracesFromArrowFunctionBody",b4e="fixWrapTheBlockWithParen",iwe=[F.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code,F.Type_0_is_not_assignable_to_type_1.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],Xo({errorCodes:iwe,fixIds:[v4e,C4e,b4e],getCodeActions:function(u){const{program:s,sourceFile:d,span:{start:f},errorCode:p}=u,E=qat(s.getTypeChecker(),d,f,p);if(E)return E.kind===0?Ei([JWt(u,E.expression,E.statement)],J0(E.declaration)?$Wt(u,E.declaration,E.expression,E.commentSource):void 0):[UWt(u,E.declaration,E.expression)]},getAllCodeActions:t=>h0(t,iwe,(u,s)=>{const d=qat(t.program.getTypeChecker(),s.file,s.start,s.code);if(d)switch(t.fixId){case v4e:Zat(u,s.file,d.expression,d.statement);break;case C4e:if(!J0(d.declaration))return;Yat(u,s.file,d.declaration,d.expression,d.commentSource,!1);break;case b4e:if(!J0(d.declaration))return;Qat(u,s.file,d.declaration,d.expression);break;default:H.fail(JSON.stringify(t.fixId))}})})}});function Xat(t,u,s,d,f){var p;const E=Ca(t,u),v=E.parent;if(s===F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(!(E.kind===19&&bs(v)&&Po(v.parent)))return;const z=Ue(v.parent.arguments,Y=>Y===v);if(z<0)return;const j=d.getResolvedSignature(v.parent);if(!(j&&j.declaration&&j.parameters[z]))return;const J=j.parameters[z].valueDeclaration;if(!(J&&Qa(J)&&at(J.name)))return;const K=ga(d.getUnmatchedProperties(d.getTypeAtLocation(v),d.getParameterType(j,z),!1,!1));return S(K)?{kind:3,token:J.name,properties:K,parentDeclaration:v}:void 0}if(!G_(E))return;if(at(E)&&Lx(v)&&v.initializer&&bs(v.initializer)){const z=d.getContextualType(E)||d.getTypeAtLocation(E),j=ga(d.getUnmatchedProperties(d.getTypeAtLocation(v.initializer),z,!1,!1));return S(j)?{kind:3,token:E,properties:j,parentDeclaration:v.initializer}:void 0}if(at(E)&&Ph(E.parent)){const z=Rs(f.getCompilerOptions()),j=iGt(d,z,E.parent);return S(j)?{kind:4,token:E,attributes:j,parentDeclaration:E.parent}:void 0}if(at(E)){const z=(p=d.getContextualType(E))==null?void 0:p.getNonNullableType();if(z&&Ju(z)&16){const j=Ki(d.getSignaturesOfType(z,0));return j===void 0?void 0:{kind:5,token:E,signature:j,sourceFile:t,parentDeclaration:cot(E)}}if(Po(v)&&v.expression===E)return{kind:2,token:E,call:v,sourceFile:t,modifierFlags:0,parentDeclaration:cot(E)}}if(!zu(v))return;const b=ife(d.getTypeAtLocation(v.expression)),B=b.symbol;if(!B||!B.declarations)return;if(at(E)&&Po(v.parent)){const z=Le(B.declarations,Ec),j=z==null?void 0:z.getSourceFile();if(z&&j&&!HM(f,j))return{kind:2,token:E,call:v.parent,sourceFile:t,modifierFlags:32,parentDeclaration:z};const J=Le(B.declarations,ca);if(t.commonJsModuleIndicator)return;if(J&&!HM(f,J))return{kind:2,token:E,call:v.parent,sourceFile:J,modifierFlags:32,parentDeclaration:J}}const k=Le(B.declarations,gr);if(!k&&ea(E))return;const T=k||Le(B.declarations,z=>Dh(z)||hm(z));if(T&&!HM(f,T.getSourceFile())){const z=!hm(T)&&(b.target||b)!==d.getDeclaredTypeOfSymbol(B);if(z&&(ea(E)||Dh(T)))return;const j=T.getSourceFile(),J=hm(T)?0:(z?256:0)|(Ffe(E.text)?2:0),K=ph(j),Y=rr(v.parent,Po);return{kind:0,token:E,call:Y,modifierFlags:J,parentDeclaration:T,declSourceFile:j,isJSFile:K}}const M=Le(B.declarations,Mv);if(M&&!(b.flags&1056)&&!ea(E)&&!HM(f,M.getSourceFile()))return{kind:1,token:E,parentDeclaration:M}}function ZWt(t,u){return u.isJSFile?jy(YWt(t,u)):QWt(t,u)}function YWt(t,{parentDeclaration:u,declSourceFile:s,modifierFlags:d,token:f}){if(Dh(u)||hm(u))return;const p=iu.ChangeTracker.with(t,v=>eot(v,s,u,f,!!(d&256)));if(p.length===0)return;const E=d&256?F.Initialize_static_property_0:ea(f)?F.Declare_a_private_field_named_0:F.Initialize_property_0_in_the_constructor;return Io(Zx,p,[E,f.text],Zx,F.Add_all_missing_members)}function eot(t,u,s,d,f){const p=d.text;if(f){if(s.kind===231)return;const E=s.name.getText(),v=tot(q.createIdentifier(E),p);t.insertNodeAfter(u,s,v)}else if(ea(d)){const E=q.createPropertyDeclaration(void 0,p,void 0,void 0,void 0),v=uot(s);v?t.insertNodeAfter(u,v,E):t.insertMemberAtStart(u,s,E)}else{const E=Q_(s);if(!E)return;const v=tot(q.createThis(),p);t.insertNodeAtConstructorEnd(u,E,v)}}function tot(t,u){return q.createExpressionStatement(q.createAssignment(q.createPropertyAccessExpression(t,u),s9()))}function QWt(t,{parentDeclaration:u,declSourceFile:s,modifierFlags:d,token:f}){const p=f.text,E=d&256,v=iot(t.program.getTypeChecker(),u,f),b=k=>iu.ChangeTracker.with(t,T=>not(T,s,u,p,v,k)),B=[Io(Zx,b(d&256),[E?F.Declare_static_property_0:F.Declare_property_0,p],Zx,F.Add_all_missing_members)];return E||ea(f)||(d&2&&B.unshift(xg(Zx,b(2),[F.Declare_private_property_0,p])),B.push(XWt(t,s,u,f.text,v))),B}function iot(t,u,s){let d;if(s.parent.parent.kind===226){const f=s.parent.parent,p=s.parent===f.left?f.right:f.left,E=t.getWidenedType(t.getBaseTypeOfLiteralType(t.getTypeAtLocation(p)));d=t.typeToTypeNode(E,u,1)}else{const f=t.getContextualType(s.parent);d=f?t.typeToTypeNode(f,void 0,1):void 0}return d||q.createKeywordTypeNode(133)}function not(t,u,s,d,f,p){const E=p?q.createNodeArray(q.createModifiersFromModifierFlags(p)):void 0,v=gr(s)?q.createPropertyDeclaration(E,d,void 0,f,void 0):q.createPropertySignature(void 0,d,void 0,f),b=uot(s);b?t.insertNodeAfter(u,b,v):t.insertMemberAtStart(u,s,v)}function uot(t){let u;for(const s of t.members){if(!yo(s))break;u=s}return u}function XWt(t,u,s,d,f){const p=q.createKeywordTypeNode(154),E=q.createParameterDeclaration(void 0,void 0,"x",void 0,p,void 0),v=q.createIndexSignature(void 0,[E],f),b=iu.ChangeTracker.with(t,B=>B.insertMemberAtStart(u,s,v));return xg(Zx,b,[F.Add_index_signature_for_property_0,d])}function eGt(t,u){const{parentDeclaration:s,declSourceFile:d,modifierFlags:f,token:p,call:E}=u;if(E===void 0)return;const v=p.text,b=k=>iu.ChangeTracker.with(t,T=>rot(t,T,E,p,k,s,d)),B=[Io(Zx,b(f&256),[f&256?F.Declare_static_method_0:F.Declare_method_0,v],Zx,F.Add_all_missing_members)];return f&2&&B.unshift(xg(Zx,b(2),[F.Declare_private_method_0,v])),B}function rot(t,u,s,d,f,p,E){const v=o9(E,t.program,t.preferences,t.host),b=gr(p)?174:173,B=Owe(b,t,v,s,d,f,p),k=nGt(p,s);k?u.insertNodeAfter(E,k,B):u.insertMemberAtStart(E,p,B),v.writeFixes(u)}function aot(t,u,{token:s,parentDeclaration:d}){const f=Ge(d.members,E=>{const v=u.getTypeAtLocation(E);return!!(v&&v.flags&402653316)}),p=q.createEnumMember(s,f?q.createStringLiteral(s.text):void 0);t.replaceNode(d.getSourceFile(),d,q.updateEnumDeclaration(d,d.modifiers,d.name,an(d.members,jy(p))),{leadingTriviaOption:iu.LeadingTriviaOption.IncludeAll,trailingTriviaOption:iu.TrailingTriviaOption.Exclude})}function oot(t,u,s){const d=Vm(u.sourceFile,u.preferences),f=o9(u.sourceFile,u.program,u.preferences,u.host),p=s.kind===2?Owe(262,u,f,s.call,fu(s.token),s.modifierFlags,s.parentDeclaration):q4e(262,u,d,s.signature,kee(F.Function_not_implemented.message,d),s.token,void 0,void 0,void 0,f);p===void 0&&H.fail("fixMissingFunctionDeclaration codefix got unexpected error."),zp(s.parentDeclaration)?t.insertNodeBefore(s.sourceFile,s.parentDeclaration,p,!0):t.insertNodeAtEndOfScope(s.sourceFile,s.parentDeclaration,p),f.writeFixes(t)}function sot(t,u,s){const d=o9(u.sourceFile,u.program,u.preferences,u.host),f=Vm(u.sourceFile,u.preferences),p=u.program.getTypeChecker(),E=s.parentDeclaration.attributes,v=Ge(E.properties,j7),b=Kt(s.attributes,T=>{const M=y4e(u,p,d,f,p.getTypeOfSymbol(T),s.parentDeclaration),z=q.createIdentifier(T.name),j=q.createJsxAttribute(z,q.createJsxExpression(void 0,M));return ys(z,j),j}),B=q.createJsxAttributes(v?[...b,...E.properties]:[...E.properties,...b]),k={prefix:E.pos===E.end?" ":void 0};t.replaceNode(u.sourceFile,E,B,k),d.writeFixes(t)}function lot(t,u,s){const d=o9(u.sourceFile,u.program,u.preferences,u.host),f=Vm(u.sourceFile,u.preferences),p=Rs(u.program.getCompilerOptions()),E=u.program.getTypeChecker(),v=Kt(s.properties,B=>{const k=y4e(u,E,d,f,E.getTypeOfSymbol(B),s.parentDeclaration);return q.createPropertyAssignment(uGt(B,p,f,E),k)}),b={leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Exclude,indentation:s.indentation};t.replaceNode(u.sourceFile,s.parentDeclaration,q.createObjectLiteralExpression([...s.parentDeclaration.properties,...v],!0),b),d.writeFixes(t)}function y4e(t,u,s,d,f,p){if(f.flags&3)return s9();if(f.flags&134217732)return q.createStringLiteral("",d===0);if(f.flags&8)return q.createNumericLiteral(0);if(f.flags&64)return q.createBigIntLiteral("0n");if(f.flags&16)return q.createFalse();if(f.flags&1056){const E=f.symbol.exports?Kn(f.symbol.exports.values()):f.symbol,v=u.symbolToExpression(f.symbol.parent?f.symbol.parent:f.symbol,111551,void 0,void 0);return E===void 0||v===void 0?q.createNumericLiteral(0):q.createPropertyAccessExpression(v,u.symbolToString(E))}if(f.flags&256)return q.createNumericLiteral(f.value);if(f.flags&2048)return q.createBigIntLiteral(f.value);if(f.flags&128)return q.createStringLiteral(f.value,d===0);if(f.flags&512)return f===u.getFalseType()||f===u.getFalseType(!0)?q.createFalse():q.createTrue();if(f.flags&65536)return q.createNull();if(f.flags&1048576)return G(f.types,v=>y4e(t,u,s,d,v,p))??s9();if(u.isArrayLikeType(f))return q.createArrayLiteralExpression();if(tGt(f)){const E=Kt(u.getPropertiesOfType(f),v=>{const b=y4e(t,u,s,d,u.getTypeOfSymbol(v),p);return q.createPropertyAssignment(v.name,b)});return q.createObjectLiteralExpression(E,!0)}if(Ju(f)&16){if(Le(f.symbol.declarations||_t,lg(n3,i3,cc))===void 0)return s9();const v=u.getSignaturesOfType(f,0);return v===void 0?s9():q4e(218,t,d,v[0],kee(F.Function_not_implemented.message,d),void 0,void 0,void 0,p,s)??s9()}if(Ju(f)&1){const E=eD(f.symbol);if(E===void 0||T2(E))return s9();const v=Q_(E);return v&&S(v.parameters)?s9():q.createNewExpression(q.createIdentifier(f.symbol.name),void 0,void 0)}return s9()}function s9(){return q.createIdentifier("undefined")}function tGt(t){return t.flags&524288&&(Ju(t)&128||t.symbol&&rr(Fa(t.symbol.declarations),hm))}function iGt(t,u,s){const d=t.getContextualType(s.attributes);if(d===void 0)return _t;const f=d.getProperties();if(!S(f))return _t;const p=new Set;for(const E of s.attributes.properties)if(aE(E)&&p.add(PP(E.name)),j7(E)){const v=t.getTypeAtLocation(E.expression);for(const b of v.getProperties())p.add(b.escapedName)}return ei(f,E=>Tm(E.name,u,1)&&!(E.flags&16777216||Wl(E)&48||p.has(E.escapedName)))}function nGt(t,u){if(hm(t))return;const s=Tn(u,d=>cc(d)||dc(d));return s&&s.parent===t?s:void 0}function uGt(t,u,s,d){if(UE(t)){const f=d.symbolToNode(t,111551,void 0,1073741824);if(f&&Ns(f))return f}return cZ(t.name,u,s===0,!1,!1)}function cot(t){if(Tn(t,ZP)){const u=Tn(t.parent,zp);if(u)return u}return zn(t)}var Zx,Dee,xee,vee,nwe,rGt=o({"src/services/codefixes/fixAddMissingMember.ts"(){ar(),rs(),Zx="fixMissingMember",Dee="fixMissingProperties",xee="fixMissingAttributes",vee="fixMissingFunctionDeclaration",nwe=[F.Property_0_does_not_exist_on_type_1.code,F.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,F.Property_0_is_missing_in_type_1_but_required_in_type_2.code,F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,F.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,F.Cannot_find_name_0.code],Xo({errorCodes:nwe,getCodeActions(t){const u=t.program.getTypeChecker(),s=Xat(t.sourceFile,t.span.start,t.errorCode,u,t.program);if(s){if(s.kind===3){const d=iu.ChangeTracker.with(t,f=>lot(f,t,s));return[Io(Dee,d,F.Add_missing_properties,Dee,F.Add_all_missing_properties)]}if(s.kind===4){const d=iu.ChangeTracker.with(t,f=>sot(f,t,s));return[Io(xee,d,F.Add_missing_attributes,xee,F.Add_all_missing_attributes)]}if(s.kind===2||s.kind===5){const d=iu.ChangeTracker.with(t,f=>oot(f,t,s));return[Io(vee,d,[F.Add_missing_function_declaration_0,s.token.text],vee,F.Add_all_missing_function_declarations)]}if(s.kind===1){const d=iu.ChangeTracker.with(t,f=>aot(f,t.program.getTypeChecker(),s));return[Io(Zx,d,[F.Add_missing_enum_member_0,s.token.text],Zx,F.Add_all_missing_members)]}return an(eGt(t,s),ZWt(t,s))}},fixIds:[Zx,vee,Dee,xee],getAllCodeActions:t=>{const{program:u,fixId:s}=t,d=u.getTypeChecker(),f=new Map,p=new Map;return pw(iu.ChangeTracker.with(t,E=>{gw(t,nwe,v=>{const b=Xat(v.file,v.start,v.code,d,t.program);if(!(!b||!Pp(f,$s(b.parentDeclaration)+"#"+b.token.text))){if(s===vee&&(b.kind===2||b.kind===5))oot(E,t,b);else if(s===Dee&&b.kind===3)lot(E,t,b);else if(s===xee&&b.kind===4)sot(E,t,b);else if(b.kind===1&&aot(E,d,b),b.kind===0){const{parentDeclaration:B,token:k}=b,T=tl(p,B,()=>[]);T.some(M=>M.token.text===k.text)||T.push(b)}}}),p.forEach((v,b)=>{const B=hm(b)?void 0:$we(b,d);for(const k of v){if(B!=null&&B.some(Y=>{const oe=p.get(Y);return!!oe&&oe.some(({token:se})=>se.text===k.token.text)}))continue;const{parentDeclaration:T,declSourceFile:M,modifierFlags:z,token:j,call:J,isJSFile:K}=k;if(J&&!ea(j))rot(t,E,J,j,z&256,T,M);else if(K&&!Dh(T)&&!hm(T))eot(E,M,T,j,!!(z&256));else{const Y=iot(d,T,j);not(E,M,T,j.text,Y,z&256)}}})}))}})}});function dot(t,u,s){const d=No(aGt(u,s),Po),f=q.createNewExpression(d.expression,d.typeArguments,d.arguments);t.replaceNode(u,d,f)}function aGt(t,u){let s=Ca(t,u.start);const d=gc(u);for(;s.enddot(f,u,s));return[Io(k4e,d,F.Add_missing_new_operator_to_call,k4e,F.Add_missing_new_operator_to_all_calls)]},fixIds:[k4e],getAllCodeActions:t=>h0(t,uwe,(u,s)=>dot(u,t.sourceFile,s))})}});function hot(t,u){return{type:"install package",file:t,packageName:u}}function fot(t,u){const s=rr(Ca(t,u),us);if(!s)return;const d=s.text,{packageName:f}=rH(d);return Md(f)?void 0:f}function mot(t,u,s){var d;return s===rwe?a3.nodeCoreModules.has(t)?"@types/node":void 0:(d=u.isKnownTypesPackageName)!=null&&d.call(u,t)?KY(t):void 0}var pot,F4e,rwe,awe,sGt=o({"src/services/codefixes/fixCannotFindModule.ts"(){ar(),rs(),pot="fixCannotFindModule",F4e="installTypesPackage",rwe=F.Cannot_find_module_0_or_its_corresponding_type_declarations.code,awe=[rwe,F.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code],Xo({errorCodes:awe,getCodeActions:function(u){const{host:s,sourceFile:d,span:{start:f}}=u,p=fot(d,f);if(p===void 0)return;const E=mot(p,s,u.errorCode);return E===void 0?[]:[Io(pot,[],[F.Install_0,E],F4e,F.Install_all_missing_types_packages,hot(d.fileName,E))]},fixIds:[F4e],getAllCodeActions:t=>h0(t,awe,(u,s,d)=>{const f=fot(s.file,s.start);if(f!==void 0)switch(t.fixId){case F4e:{const p=mot(f,t.host,s.code);p&&d.push(hot(s.file.fileName,p));break}default:H.fail(`Bad fixId: ${t.fixId}`)}})})}});function got(t,u){const s=Ca(t,u);return No(s.parent,gr)}function Eot(t,u,s,d,f){const p=Yg(t),E=s.program.getTypeChecker(),v=E.getTypeAtLocation(p),b=E.getPropertiesOfType(v).filter(lGt),B=o9(u,s.program,f,s.host);Rwe(t,b,u,s,f,B,k=>d.insertMemberAtStart(u,t,k)),B.writeFixes(d)}function lGt(t){const u=Ix(Pn(t.getDeclarations()));return!(u&2)&&!!(u&64)}var owe,A4e,cGt=o({"src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts"(){ar(),rs(),owe=[F.Non_abstract_class_0_does_not_implement_all_abstract_members_of_1.code],A4e="fixClassDoesntImplementInheritedAbstractMember",Xo({errorCodes:owe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=iu.ChangeTracker.with(u,p=>Eot(got(s,d.start),s,u,p,u.preferences));return f.length===0?void 0:[Io(A4e,f,F.Implement_inherited_abstract_class,A4e,F.Implement_all_inherited_abstract_classes)]},fixIds:[A4e],getAllCodeActions:function(u){const s=new Map;return h0(u,owe,(d,f)=>{const p=got(f.file,f.start);Pp(s,$s(p))&&Eot(p,u.sourceFile,u,d,u.preferences)})}})}});function _ot(t,u,s,d){t.insertNodeAtConstructorStart(u,s,d),t.delete(u,d)}function Dot(t,u){const s=Ca(t,u);if(s.kind!==110)return;const d=Lm(s),f=xot(d.body);return f&&!f.expression.arguments.some(p=>zu(p)&&p.expression===s)?{constructor:d,superCall:f}:void 0}function xot(t){return Id(t)&&ek(t.expression)?t:xo(t)?void 0:uo(t,xot)}var S4e,swe,dGt=o({"src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts"(){ar(),rs(),S4e="classSuperMustPrecedeThisAccess",swe=[F.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],Xo({errorCodes:swe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=Dot(u,s.start);if(!d)return;const{constructor:f,superCall:p}=d,E=iu.ChangeTracker.with(t,v=>_ot(v,u,f,p));return[Io(S4e,E,F.Make_super_call_the_first_statement_in_the_constructor,S4e,F.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[S4e],getAllCodeActions(t){const{sourceFile:u}=t,s=new Map;return h0(t,swe,(d,f)=>{const p=Dot(f.file,f.start);if(!p)return;const{constructor:E,superCall:v}=p;Pp(s,$s(E.parent))&&_ot(d,u,E,v)})}})}});function vot(t,u){const s=Ca(t,u);return H.assert(dc(s.parent),"token should be at the constructor declaration"),s.parent}function Cot(t,u,s){const d=q.createExpressionStatement(q.createCallExpression(q.createSuper(),void 0,_t));t.insertNodeAtConstructorStart(u,s,d)}var B4e,lwe,hGt=o({"src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts"(){ar(),rs(),B4e="constructorForDerivedNeedSuperCall",lwe=[F.Constructors_for_derived_classes_must_contain_a_super_call.code],Xo({errorCodes:lwe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=vot(u,s.start),f=iu.ChangeTracker.with(t,p=>Cot(p,u,d));return[Io(B4e,f,F.Add_missing_super_call,B4e,F.Add_all_missing_super_calls)]},fixIds:[B4e],getAllCodeActions:t=>h0(t,lwe,(u,s)=>Cot(u,t.sourceFile,vot(s.file,s.start)))})}});function bot(t,u){Kwe(t,u,"jsx",q.createStringLiteral("react"))}var cwe,dwe,fGt=o({"src/services/codefixes/fixEnableJsxFlag.ts"(){ar(),rs(),cwe="fixEnableJsxFlag",dwe=[F.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code],Xo({errorCodes:dwe,getCodeActions:function(u){const{configFile:s}=u.program.getCompilerOptions();if(s===void 0)return;const d=iu.ChangeTracker.with(u,f=>bot(f,s));return[xg(cwe,d,F.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[cwe],getAllCodeActions:t=>h0(t,dwe,u=>{const{configFile:s}=t.program.getCompilerOptions();s!==void 0&&bot(u,s)})})}});function yot(t,u,s){const d=Le(t.getSemanticDiagnostics(u),E=>E.start===s.start&&E.length===s.length);if(d===void 0||d.relatedInformation===void 0)return;const f=Le(d.relatedInformation,E=>E.code===F.Did_you_mean_0.code);if(f===void 0||f.file===void 0||f.start===void 0||f.length===void 0)return;const p=Gwe(f.file,c1(f.start,f.length));if(p!==void 0&&Wt(p)&&eu(p.parent))return{suggestion:mGt(f.messageText),expression:p.parent,arg:p}}function kot(t,u,s,d){const f=q.createCallExpression(q.createPropertyAccessExpression(q.createIdentifier("Number"),q.createIdentifier("isNaN")),void 0,[s]),p=d.operatorToken.kind;t.replaceNode(u,d,p===38||p===36?q.createPrefixUnaryExpression(54,f):f)}function mGt(t){const[u,s]=sE(t,` +`,0).match(/'(.*)'/)||[];return s}var w4e,hwe,pGt=o({"src/services/codefixes/fixNaNEquality.ts"(){ar(),rs(),w4e="fixNaNEquality",hwe=[F.This_condition_will_always_return_0.code],Xo({errorCodes:hwe,getCodeActions(t){const{sourceFile:u,span:s,program:d}=t,f=yot(d,u,s);if(f===void 0)return;const{suggestion:p,expression:E,arg:v}=f,b=iu.ChangeTracker.with(t,B=>kot(B,u,v,E));return[Io(w4e,b,[F.Use_0,p],w4e,F.Use_Number_isNaN_in_all_conditions)]},fixIds:[w4e],getAllCodeActions:t=>h0(t,hwe,(u,s)=>{const d=yot(t.program,s.file,c1(s.start,s.length));d&&kot(u,s.file,d.arg,d.expression)})})}}),gGt=o({"src/services/codefixes/fixModuleAndTargetOptions.ts"(){ar(),rs(),Xo({errorCodes:[F.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,F.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,F.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(u){const s=u.program.getCompilerOptions(),{configFile:d}=s;if(d===void 0)return;const f=[],p=f1(s);if(p>=5&&p<99){const B=iu.ChangeTracker.with(u,k=>{Kwe(k,d,"module",q.createStringLiteral("esnext"))});f.push(xg("fixModuleOption",B,[F.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}const v=Rs(s);if(v<4||v>99){const B=iu.ChangeTracker.with(u,k=>{if(!qN(d))return;const M=[["target",q.createStringLiteral("es2017")]];p===1&&M.push(["module",q.createStringLiteral("commonjs")]),Hwe(k,d,M)});f.push(xg("fixTargetOption",B,[F.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return f.length?f:void 0}})}});function Fot(t,u,s){t.replaceNode(u,s,q.createPropertyAssignment(s.name,s.objectAssignmentInitializer))}function Aot(t,u){return No(Ca(t,u).parent,mm)}var T4e,fwe,EGt=o({"src/services/codefixes/fixPropertyAssignment.ts"(){ar(),rs(),T4e="fixPropertyAssignment",fwe=[F.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code],Xo({errorCodes:fwe,fixIds:[T4e],getCodeActions(t){const{sourceFile:u,span:s}=t,d=Aot(u,s.start),f=iu.ChangeTracker.with(t,p=>Fot(p,t.sourceFile,d));return[Io(T4e,f,[F.Change_0_to_1,"=",":"],T4e,[F.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:t=>h0(t,fwe,(u,s)=>Fot(u,s.file,Aot(s.file,s.start)))})}});function Sot(t,u){const s=Ca(t,u),d=Zd(s).heritageClauses,f=d[0].getFirstToken();return f.kind===96?{extendsToken:f,heritageClauses:d}:void 0}function Bot(t,u,s,d){if(t.replaceNode(u,s,q.createToken(119)),d.length===2&&d[0].token===96&&d[1].token===119){const f=d[1].getFirstToken(),p=f.getFullStart();t.replaceRange(u,{pos:p,end:p},q.createToken(28));const E=u.text;let v=f.end;for(;vBot(E,u,d,f));return[Io(L4e,p,F.Change_extends_to_implements,L4e,F.Change_all_extended_interfaces_to_implements)]},fixIds:[L4e],getAllCodeActions:t=>h0(t,mwe,(u,s)=>{const d=Sot(s.file,s.start);d&&Bot(u,s.file,d.extendsToken,d.heritageClauses)})})}});function wot(t,u,s){const d=Ca(t,u);if(at(d)||ea(d))return{node:d,className:s===pwe?Zd(d).name.text:void 0}}function Tot(t,u,{node:s,className:d}){Hf(s),t.replaceNode(u,s,q.createPropertyAccessExpression(d?q.createIdentifier(d):q.createThis(),s))}var N4e,pwe,gwe,DGt=o({"src/services/codefixes/fixForgottenThisPropertyAccess.ts"(){ar(),rs(),N4e="forgottenThisPropertyAccess",pwe=F.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,gwe=[F.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,F.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,pwe],Xo({errorCodes:gwe,getCodeActions(t){const{sourceFile:u}=t,s=wot(u,t.span.start,t.errorCode);if(!s)return;const d=iu.ChangeTracker.with(t,f=>Tot(f,u,s));return[Io(N4e,d,[F.Add_0_to_unresolved_variable,s.className||"this"],N4e,F.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[N4e],getAllCodeActions:t=>h0(t,gwe,(u,s)=>{const d=wot(s.file,s.start,s.code);d&&Tot(u,t.sourceFile,d)})})}});function xGt(t){return gu(Dwe,t)}function Ewe(t,u,s,d,f){const p=s.getText()[d];if(!xGt(p))return;const E=f?Dwe[p]:`{${OM(s,u,p)}}`;t.replaceRangeWithText(s,{pos:d,end:d+1},E)}var P4e,Cee,_we,Dwe,vGt=o({"src/services/codefixes/fixInvalidJsxCharacters.ts"(){ar(),rs(),P4e="fixInvalidJsxCharacters_expression",Cee="fixInvalidJsxCharacters_htmlEntity",_we=[F.Unexpected_token_Did_you_mean_or_gt.code,F.Unexpected_token_Did_you_mean_or_rbrace.code],Xo({errorCodes:_we,fixIds:[P4e,Cee],getCodeActions(t){const{sourceFile:u,preferences:s,span:d}=t,f=iu.ChangeTracker.with(t,E=>Ewe(E,s,u,d.start,!1)),p=iu.ChangeTracker.with(t,E=>Ewe(E,s,u,d.start,!0));return[Io(P4e,f,F.Wrap_invalid_character_in_an_expression_container,P4e,F.Wrap_all_invalid_characters_in_an_expression_container),Io(Cee,p,F.Convert_invalid_character_to_its_html_entity_code,Cee,F.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions(t){return h0(t,_we,(u,s)=>Ewe(u,t.preferences,s.file,s.start,t.fixId===Cee))}}),Dwe={">":">","}":"}"}}});function CGt(t,{name:u,jsDocHost:s,jsDocParameterTag:d}){const f=iu.ChangeTracker.with(t,p=>p.filterJSDocTags(t.sourceFile,s,E=>E!==d));return Io(bee,f,[F.Delete_unused_param_tag_0,u.getText(t.sourceFile)],bee,F.Delete_all_unused_param_tags)}function bGt(t,{name:u,jsDocHost:s,signature:d,jsDocParameterTag:f}){if(!S(d.parameters))return;const p=t.sourceFile,E=xv(d),v=new Set;for(const T of E)pg(T)&&at(T.name)&&v.add(T.name.escapedText);const b=G(d.parameters,T=>at(T.name)&&!v.has(T.name.escapedText)?T.name.getText(p):void 0);if(b===void 0)return;const B=q.updateJSDocParameterTag(f,f.tagName,q.createIdentifier(b),f.isBracketed,f.typeExpression,f.isNameFirst,f.comment),k=iu.ChangeTracker.with(t,T=>T.replaceJSDocComment(p,s,Kt(E,M=>M===f?B:M)));return xg(xwe,k,[F.Rename_param_tag_name_0_to_1,u.getText(p),b])}function Lot(t,u){const s=Ca(t,u);if(s.parent&&pg(s.parent)&&at(s.parent.name)){const d=s.parent,f=c7(d),p=bv(d);if(f&&p)return{jsDocHost:f,signature:p,name:s.parent.name,jsDocParameterTag:d}}}var bee,xwe,vwe,yGt=o({"src/services/codefixes/fixUnmatchedParameter.ts"(){ar(),rs(),bee="deleteUnmatchedParameter",xwe="renameUnmatchedParameter",vwe=[F.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code],Xo({fixIds:[bee,xwe],errorCodes:vwe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=[],p=Lot(s,d.start);if(p)return Ei(f,CGt(u,p)),Ei(f,bGt(u,p)),f},getAllCodeActions:function(u){const s=new Map;return pw(iu.ChangeTracker.with(u,d=>{gw(u,vwe,({file:f,start:p})=>{const E=Lot(f,p);E&&s.set(E.signature,Ei(s.get(E.signature),E.jsDocParameterTag))}),s.forEach((f,p)=>{if(u.fixId===bee){const E=new Set(f);d.filterJSDocTags(p.getSourceFile(),p,v=>!E.has(v))}})}))}})}});function kGt(t,u,s){const d=rr(Ca(t,s),at);if(!d||d.parent.kind!==183)return;const p=u.getTypeChecker().getSymbolAtLocation(d);return Le((p==null?void 0:p.declarations)||_t,lg(i_,Cf,g1))}function FGt(t,u,s,d){if(s.kind===271){t.insertModifierBefore(u,156,s.name);return}const f=s.kind===273?s:s.parent.parent;if(f.name&&f.namedBindings)return;const p=d.getTypeChecker();Cq(f,v=>{if(Q1(v.symbol,p).flags&111551)return!0})||t.insertModifierBefore(u,156,f)}function AGt(t,u,s,d){u9.doChangeNamedToNamespaceOrDefault(u,d,t,s.parent)}var M4e,Not,SGt=o({"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts"(){ar(),rs(),M4e="fixUnreferenceableDecoratorMetadata",Not=[F.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code],Xo({errorCodes:Not,getCodeActions:t=>{const u=kGt(t.sourceFile,t.program,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,p=>u.kind===276&&AGt(p,t.sourceFile,u,t.program)),d=iu.ChangeTracker.with(t,p=>FGt(p,t.sourceFile,u,t.program));let f;return s.length&&(f=Ei(f,xg(M4e,s,F.Convert_named_imports_to_namespace_import))),d.length&&(f=Ei(f,xg(M4e,d,F.Use_import_type))),f},fixIds:[M4e]})}});function Pot(t,u,s){t.replaceNode(u,s.parent,q.createKeywordTypeNode(159))}function CK(t,u){return Io(bK,t,u,R4e,F.Delete_all_unused_declarations)}function Mot(t,u,s){t.delete(u,H.checkDefined(No(s.parent,x0e).typeParameters,"The type parameter to delete should exist"))}function Cwe(t){return t.kind===102||t.kind===80&&(t.parent.kind===276||t.parent.kind===273)}function zot(t){return t.kind===102?rr(t.parent,Ad):void 0}function Iot(t,u){return Fd(u.parent)&&Pn(u.parent.getChildren(t))===u}function Rot(t,u,s){t.delete(u,s.parent.kind===243?s.parent:s)}function BGt(t,u,s){L(s.elements,d=>t.delete(u,d))}function wGt(t,u,s,{parent:d}){if(ra(d)&&d.initializer&&g2(d.initializer))if(Fd(d.parent)&&S(d.parent.declarations)>1){const f=d.parent.parent,p=f.getStart(s),E=f.end;u.delete(s,d),u.insertNodeAt(s,E,d.initializer,{prefix:g5(t.host,t.formatContext.options)+s.text.slice(CX(s.text,p-1),p),suffix:qH(s)?";":""})}else u.replaceNode(s,d.parent,d.initializer);else u.delete(s,d)}function Oot(t,u,s,d){u!==F.Property_0_is_declared_but_its_value_is_never_read.code&&(d.kind===140&&(d=No(d.parent,L7).typeParameter.name),at(d)&&TGt(d)&&(t.replaceNode(s,d,q.createIdentifier(`_${d.text}`)),Qa(d.parent)&&A8(d.parent).forEach(f=>{at(f.name)&&t.replaceNode(s,f.name,q.createIdentifier(`_${f.name.text}`))})))}function TGt(t){switch(t.parent.kind){case 169:case 168:return!0;case 260:switch(t.parent.parent.parent.kind){case 250:case 249:return!0}}return!1}function z4e(t,u,s,d,f,p,E,v){LGt(u,s,t,d,f,p,E,v),at(u)&&$0.Core.eachSymbolReferenceInFile(u,d,t,b=>{zu(b.parent)&&b.parent.name===b&&(b=b.parent),!v&&zGt(b)&&s.delete(t,b.parent.parent)})}function LGt(t,u,s,d,f,p,E,v){const{parent:b}=t;if(Qa(b))NGt(u,s,b,d,f,p,E,v);else if(!(v&&at(t)&&$0.Core.isSymbolReferencedInFile(t,d,s))){const B=i_(b)?t:Ns(b)?b.parent:b;H.assert(B!==s,"should not delete whole source file"),u.delete(s,B)}}function NGt(t,u,s,d,f,p,E,v=!1){if(PGt(d,u,s,f,p,E,v))if(s.modifiers&&s.modifiers.length>0&&(!at(s.name)||$0.Core.isSymbolReferencedInFile(s.name,d,u)))for(const b of s.modifiers)Qo(b)&&t.deleteModifier(u,b);else!s.initializer&&jot(s,d,f)&&t.delete(u,s)}function jot(t,u,s){const d=t.parent.parameters.indexOf(t);return!$0.Core.someSignatureUsage(t.parent,s,u,(f,p)=>!p||p.arguments.length>d)}function PGt(t,u,s,d,f,p,E){const{parent:v}=s;switch(v.kind){case 174:case 176:const b=v.parameters.indexOf(s),B=cc(v)?v.name:v,k=$0.Core.getReferencedSymbolsForNode(v.pos,B,f,d,p);if(k){for(const T of k)for(const M of T.references)if(M.kind===$0.EntryKind.Node){const z=VP(M.node)&&Po(M.node.parent)&&M.node.parent.arguments.length>b,j=zu(M.node.parent)&&VP(M.node.parent.expression)&&Po(M.node.parent.parent)&&M.node.parent.parent.arguments.length>b,J=(cc(M.node.parent)||i3(M.node.parent))&&M.node.parent!==s.parent&&M.node.parent.parameters.length>b;if(z||j||J)return!1}}return!0;case 262:return v.name&&MGt(t,u,v.name)?Vot(v,s,E):!0;case 218:case 219:return Vot(v,s,E);case 178:return!1;case 177:return!0;default:return H.failBadSyntaxKind(v)}}function MGt(t,u,s){return!!$0.Core.eachSymbolReferenceInFile(s,t,u,d=>at(d)&&Po(d.parent)&&d.parent.arguments.includes(d))}function Vot(t,u,s){const d=t.parameters,f=d.indexOf(u);return H.assert(f!==-1,"The parameter should already be in the list"),s?d.slice(f+1).every(p=>at(p.name)&&!p.symbol.isReferenced):f===d.length-1}function zGt(t){return(eu(t.parent)&&t.parent.left===t||(xce(t.parent)||Pv(t.parent))&&t.parent.operand===t)&&Id(t.parent.parent)}var bK,I4e,R4e,yee,O4e,bwe,IGt=o({"src/services/codefixes/fixUnusedIdentifier.ts"(){ar(),rs(),bK="unusedIdentifier",I4e="unusedIdentifier_prefix",R4e="unusedIdentifier_delete",yee="unusedIdentifier_deleteImports",O4e="unusedIdentifier_infer",bwe=[F._0_is_declared_but_its_value_is_never_read.code,F._0_is_declared_but_never_used.code,F.Property_0_is_declared_but_its_value_is_never_read.code,F.All_imports_in_import_declaration_are_unused.code,F.All_destructured_elements_are_unused.code,F.All_variables_are_unused.code,F.All_type_parameters_are_unused.code],Xo({errorCodes:bwe,getCodeActions(t){const{errorCode:u,sourceFile:s,program:d,cancellationToken:f}=t,p=d.getTypeChecker(),E=d.getSourceFiles(),v=Ca(s,t.span.start);if(gg(v))return[CK(iu.ChangeTracker.with(t,T=>T.delete(s,v)),F.Remove_template_tag)];if(v.kind===30){const T=iu.ChangeTracker.with(t,M=>Mot(M,s,v));return[CK(T,F.Remove_type_parameters)]}const b=zot(v);if(b){const T=iu.ChangeTracker.with(t,M=>M.delete(s,b));return[Io(bK,T,[F.Remove_import_from_0,Gye(b)],yee,F.Delete_all_unused_imports)]}else if(Cwe(v)){const T=iu.ChangeTracker.with(t,M=>z4e(s,v,M,p,E,d,f,!1));if(T.length)return[Io(bK,T,[F.Remove_unused_declaration_for_Colon_0,v.getText(s)],yee,F.Delete_all_unused_imports)]}if(Mp(v.parent)||gk(v.parent)){if(Qa(v.parent.parent)){const T=v.parent.elements,M=[T.length>1?F.Remove_unused_declarations_for_Colon_0:F.Remove_unused_declaration_for_Colon_0,Kt(T,z=>z.getText(s)).join(", ")];return[CK(iu.ChangeTracker.with(t,z=>BGt(z,s,v.parent)),M)]}return[CK(iu.ChangeTracker.with(t,T=>wGt(t,T,s,v.parent)),F.Remove_unused_destructuring_declaration)]}if(Iot(s,v))return[CK(iu.ChangeTracker.with(t,T=>Rot(T,s,v.parent)),F.Remove_variable_statement)];const B=[];if(v.kind===140){const T=iu.ChangeTracker.with(t,z=>Pot(z,s,v)),M=No(v.parent,L7).typeParameter.name.text;B.push(Io(bK,T,[F.Replace_infer_0_with_unknown,M],O4e,F.Replace_all_unused_infer_with_unknown))}else{const T=iu.ChangeTracker.with(t,M=>z4e(s,v,M,p,E,d,f,!1));if(T.length){const M=Ns(v.parent)?v.parent:v;B.push(CK(T,[F.Remove_unused_declaration_for_Colon_0,M.getText(s)]))}}const k=iu.ChangeTracker.with(t,T=>Oot(T,u,s,v));return k.length&&B.push(Io(bK,k,[F.Prefix_0_with_an_underscore,v.getText(s)],I4e,F.Prefix_all_unused_declarations_with_where_possible)),B},fixIds:[I4e,R4e,yee,O4e],getAllCodeActions:t=>{const{sourceFile:u,program:s,cancellationToken:d}=t,f=s.getTypeChecker(),p=s.getSourceFiles();return h0(t,bwe,(E,v)=>{const b=Ca(u,v.start);switch(t.fixId){case I4e:Oot(E,v.code,u,b);break;case yee:{const B=zot(b);B?E.delete(u,B):Cwe(b)&&z4e(u,b,E,f,p,s,d,!0);break}case R4e:{if(b.kind===140||Cwe(b))break;if(gg(b))E.delete(u,b);else if(b.kind===30)Mot(E,u,b);else if(Mp(b.parent)){if(b.parent.parent.initializer)break;(!Qa(b.parent.parent)||jot(b.parent.parent,f,p))&&E.delete(u,b.parent.parent)}else{if(gk(b.parent.parent)&&b.parent.parent.parent.initializer)break;Iot(u,b)?Rot(E,u,b.parent):z4e(u,b,E,f,p,s,d,!0)}break}case O4e:b.kind===140&&Pot(E,u,b);break;default:H.fail(JSON.stringify(t.fixId))}})}})}});function Hot(t,u,s,d,f){const p=Ca(u,s),E=Tn(p,ua);if(E.getStart(u)!==p.getStart(u)){const b=JSON.stringify({statementKind:H.formatSyntaxKind(E.kind),tokenKind:H.formatSyntaxKind(p.kind),errorCode:f,start:s,length:d});H.fail("Token and statement should start at the same point. "+b)}const v=(ho(E.parent)?E.parent:E).parent;if(!ho(E.parent)||E===Pn(E.parent.statements))switch(v.kind){case 245:if(v.elseStatement){if(ho(E.parent))break;t.replaceNode(u,E,q.createBlock(_t));return}case 247:case 248:t.delete(u,v);return}if(ho(E.parent)){const b=s+d,B=H.checkDefined(RGt(Ble(E.parent.statements,E),k=>k.posHot(d,t.sourceFile,t.span.start,t.span.length,t.errorCode));return[Io(j4e,s,F.Remove_unreachable_code,j4e,F.Remove_all_unreachable_code)]},fixIds:[j4e],getAllCodeActions:t=>h0(t,ywe,(u,s)=>Hot(u,s.file,s.start,s.length,s.code))})}});function Kot(t,u,s){const d=Ca(u,s),f=No(d.parent,R2),p=d.getStart(u),E=f.statement.getStart(u),v=$4(p,E,u)?E:ps(u.text,r0(f,59,u).end,!0);t.deleteRange(u,{pos:p,end:v})}var V4e,kwe,jGt=o({"src/services/codefixes/fixUnusedLabel.ts"(){ar(),rs(),V4e="fixUnusedLabel",kwe=[F.Unused_label.code],Xo({errorCodes:kwe,getCodeActions(t){const u=iu.ChangeTracker.with(t,s=>Kot(s,t.sourceFile,t.span.start));return[Io(V4e,u,F.Remove_unused_label,V4e,F.Remove_all_unused_labels)]},fixIds:[V4e],getAllCodeActions:t=>h0(t,kwe,(u,s)=>Kot(u,s.file,s.start))})}});function Wot(t,u,s,d,f){t.replaceNode(u,s,f.typeToTypeNode(d,s,void 0))}function Got(t,u,s){const d=Tn(Ca(t,u),VGt),f=d&&d.type;return f&&{typeNode:f,type:HGt(s,f)}}function VGt(t){switch(t.kind){case 234:case 179:case 180:case 262:case 177:case 181:case 200:case 174:case 173:case 169:case 172:case 171:case 178:case 265:case 216:case 260:return!0;default:return!1}}function HGt(t,u){if(SB(u)){const s=t.getTypeFromTypeNode(u.type);return s===t.getNeverType()||s===t.getVoidType()?s:t.getUnionType(Ei([s,t.getUndefinedType()],u.postfix?void 0:t.getNullType()))}return t.getTypeFromTypeNode(u)}var Fwe,H4e,Awe,KGt=o({"src/services/codefixes/fixJSDocTypes.ts"(){ar(),rs(),Fwe="fixJSDocTypes_plain",H4e="fixJSDocTypes_nullable",Awe=[F.JSDoc_types_can_only_be_used_inside_documentation_comments.code,F._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,F._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code],Xo({errorCodes:Awe,getCodeActions(t){const{sourceFile:u}=t,s=t.program.getTypeChecker(),d=Got(u,t.span.start,s);if(!d)return;const{typeNode:f,type:p}=d,E=f.getText(u),v=[b(p,Fwe,F.Change_all_jsdoc_style_types_to_TypeScript)];return f.kind===321&&v.push(b(p,H4e,F.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),v;function b(B,k,T){const M=iu.ChangeTracker.with(t,z=>Wot(z,u,f,B,s));return Io("jdocTypes",M,[F.Change_0_to_1,E,s.typeToString(B)],k,T)}},fixIds:[Fwe,H4e],getAllCodeActions(t){const{fixId:u,program:s,sourceFile:d}=t,f=s.getTypeChecker();return h0(t,Awe,(p,E)=>{const v=Got(E.file,E.start,f);if(!v)return;const{typeNode:b,type:B}=v,k=b.kind===321&&u===H4e?f.getNullableType(B,32768):B;Wot(p,d,b,k,f)})}})}});function Jot(t,u,s){t.replaceNodeWithText(u,s,`${s.text}()`)}function $ot(t,u){const s=Ca(t,u);if(zu(s.parent)){let d=s.parent;for(;zu(d.parent);)d=d.parent;return d.name}if(at(s))return s}var K4e,Swe,WGt=o({"src/services/codefixes/fixMissingCallParentheses.ts"(){ar(),rs(),K4e="fixMissingCallParentheses",Swe=[F.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code],Xo({errorCodes:Swe,fixIds:[K4e],getCodeActions(t){const{sourceFile:u,span:s}=t,d=$ot(u,s.start);if(!d)return;const f=iu.ChangeTracker.with(t,p=>Jot(p,t.sourceFile,d));return[Io(K4e,f,F.Add_missing_call_parentheses,K4e,F.Add_all_missing_call_parentheses)]},getAllCodeActions:t=>h0(t,Swe,(u,s)=>{const d=$ot(s.file,s.start);d&&Jot(u,s.file,d)})})}});function GGt(t){if(t.type)return t.type;if(ra(t.parent)&&t.parent.type&&n3(t.parent.type))return t.parent.type.type}function Uot(t,u){const s=Ca(t,u),d=Lm(s);if(!d)return;let f;switch(d.kind){case 174:f=d.name;break;case 262:case 218:f=r0(d,100,t);break;case 219:const p=d.typeParameters?30:21;f=r0(d,p,t)||Pn(d.parameters);break;default:return}return f&&{insertBefore:f,returnType:GGt(d)}}function qot(t,u,{insertBefore:s,returnType:d}){if(d){const f=fj(d);(!f||f.kind!==80||f.text!=="Promise")&&t.replaceNode(u,d,q.createTypeReferenceNode("Promise",q.createNodeArray([d])))}t.insertModifierBefore(u,134,s)}var W4e,Bwe,JGt=o({"src/services/codefixes/fixAwaitInSyncFunction.ts"(){ar(),rs(),W4e="fixAwaitInSyncFunction",Bwe=[F.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,F.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code],Xo({errorCodes:Bwe,getCodeActions(t){const{sourceFile:u,span:s}=t,d=Uot(u,s.start);if(!d)return;const f=iu.ChangeTracker.with(t,p=>qot(p,u,d));return[Io(W4e,f,F.Add_async_modifier_to_containing_function,W4e,F.Add_all_missing_async_modifiers)]},fixIds:[W4e],getAllCodeActions:function(u){const s=new Map;return h0(u,Bwe,(d,f)=>{const p=Uot(f.file,f.start);!p||!Pp(s,$s(p.insertBefore))||qot(d,u.sourceFile,p)})}})}});function Zot(t,u,s,d,f){let p,E;if(d===F._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)p=u,E=u+s;else if(d===F._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){const v=f.program.getTypeChecker(),b=Ca(t,u).parent;H.assert(Bx(b),"error span of fixPropertyOverrideAccessor should only be on an accessor");const B=b.parent;H.assert(gr(B),"erroneous accessors should only be inside classes");const k=Fa($we(B,v));if(!k)return[];const T=Qr(O8(b.name)),M=v.getPropertyOfType(v.getTypeAtLocation(k),T);if(!M||!M.valueDeclaration)return[];p=M.valueDeclaration.pos,E=M.valueDeclaration.end,t=zn(M.valueDeclaration)}else H.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+d);return dst(t,f.program,p,E,f,F.Generate_get_and_set_accessors.message)}var wwe,G4e,$Gt=o({"src/services/codefixes/fixPropertyOverrideAccessor.ts"(){ar(),rs(),wwe=[F._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,F._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],G4e="fixPropertyOverrideAccessor",Xo({errorCodes:wwe,getCodeActions(t){const u=Zot(t.sourceFile,t.span.start,t.span.length,t.errorCode,t);if(u)return[Io(G4e,u,F.Generate_get_and_set_accessors,G4e,F.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[G4e],getAllCodeActions:t=>h0(t,wwe,(u,s)=>{const d=Zot(s.file,s.start,s.length,s.code,t);if(d)for(const f of d)u.pushRaw(t.sourceFile,f)})})}});function UGt(t,u){switch(t){case F.Parameter_0_implicitly_has_an_1_type.code:case F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return Of(Lm(u))?F.Infer_type_of_0_from_usage:F.Infer_parameter_types_from_usage;case F.Rest_parameter_0_implicitly_has_an_any_type.code:case F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Infer_parameter_types_from_usage;case F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return F.Infer_this_type_of_0_from_usage;default:return F.Infer_type_of_0_from_usage}}function qGt(t){switch(t){case F.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case F.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Variable_0_implicitly_has_an_1_type.code;case F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Parameter_0_implicitly_has_an_1_type.code;case F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Rest_parameter_0_implicitly_has_an_any_type.code;case F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case F._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case F.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return F.Member_0_implicitly_has_an_1_type.code}return t}function Yot(t,u,s,d,f,p,E,v,b){if(!jN(s.kind)&&s.kind!==80&&s.kind!==26&&s.kind!==110)return;const{parent:B}=s,k=o9(u,f,b,v);switch(d=qGt(d),d){case F.Member_0_implicitly_has_an_1_type.code:case F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(ra(B)&&E(B)||yo(B)||Pm(B))return Qot(t,k,u,B,f,v,p),k.writeFixes(t),B;if(zu(B)){const z=yK(B.name,f,p),j=jM(z,B,f,v);if(j){const J=q.createJSDocTypeTag(void 0,q.createJSDocTypeExpression(j),void 0);t.addJSDocTags(u,No(B.parent.parent,Id),[J])}return k.writeFixes(t),B}return;case F.Variable_0_implicitly_has_an_1_type.code:{const z=f.getTypeChecker().getSymbolAtLocation(s);return z&&z.valueDeclaration&&ra(z.valueDeclaration)&&E(z.valueDeclaration)?(Qot(t,k,zn(z.valueDeclaration),z.valueDeclaration,f,v,p),k.writeFixes(t),z.valueDeclaration):void 0}}const T=Lm(s);if(T===void 0)return;let M;switch(d){case F.Parameter_0_implicitly_has_an_1_type.code:if(Of(T)){Xot(t,k,u,T,f,v,p),M=T;break}case F.Rest_parameter_0_implicitly_has_an_any_type.code:if(E(T)){const z=No(B,Qa);ZGt(t,k,u,z,T,f,v,p),M=z}break;case F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:Mm(T)&&at(T.name)&&(J4e(t,k,u,T,yK(T.name,f,p),f,v),M=T);break;case F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:Of(T)&&(Xot(t,k,u,T,f,v,p),M=T);break;case F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:iu.isThisTypeAnnotatable(T)&&E(T)&&(YGt(t,u,T,f,v,p),M=T);break;default:return H.fail(String(d))}return k.writeFixes(t),M}function Qot(t,u,s,d,f,p,E){at(d.name)&&J4e(t,u,s,d,yK(d.name,f,E),f,p)}function ZGt(t,u,s,d,f,p,E,v){if(!at(d.name))return;const b=eJt(f,s,p,v);if(H.assert(f.parameters.length===b.length,"Parameter count and inference count should match"),Xn(f))est(t,s,b,p,E);else{const B=J0(f)&&!r0(f,21,s);B&&t.insertNodeBefore(s,Pn(f.parameters),q.createToken(21));for(const{declaration:k,type:T}of b)k&&!k.type&&!k.initializer&&J4e(t,u,s,k,T,p,E);B&&t.insertNodeAfter(s,Cr(f.parameters),q.createToken(22))}}function YGt(t,u,s,d,f,p){const E=tst(s,u,d,p);if(!E||!E.length)return;const v=Lwe(d,E,p).thisParameter(),b=jM(v,s,d,f);b&&(Xn(s)?QGt(t,u,s,b):t.tryInsertThisTypeAnnotation(u,s,b))}function QGt(t,u,s,d){t.addJSDocTags(u,s,[q.createJSDocThisTag(void 0,q.createJSDocTypeExpression(d))])}function Xot(t,u,s,d,f,p,E){const v=Ki(d.parameters);if(v&&at(d.name)&&at(v.name)){let b=yK(d.name,f,E);b===f.getTypeChecker().getAnyType()&&(b=yK(v.name,f,E)),Xn(d)?est(t,s,[{declaration:v,type:b}],f,p):J4e(t,u,s,v,b,f,p)}}function J4e(t,u,s,d,f,p,E){const v=jM(f,d,p,E);if(v)if(Xn(s)&&d.kind!==171){const b=ra(d)?rr(d.parent.parent,Gl):d;if(!b)return;const B=q.createJSDocTypeExpression(v),k=Mm(d)?q.createJSDocReturnTag(void 0,B,void 0):q.createJSDocTypeTag(void 0,B,void 0);t.addJSDocTags(s,b,[k])}else XGt(v,d,s,t,u,Rs(p.getCompilerOptions()))||t.tryInsertTypeAnnotation(s,d,v)}function XGt(t,u,s,d,f,p){const E=l9(t,p);return E&&d.tryInsertTypeAnnotation(s,u,E.typeNode)?(L(E.symbols,v=>f.addImportFromExportedSymbol(v,!0)),!0):!1}function est(t,u,s,d,f){const p=s.length&&s[0].declaration.parent;if(!p)return;const E=Si(s,v=>{const b=v.declaration;if(b.initializer||Dv(b)||!at(b.name))return;const B=v.type&&jM(v.type,b,d,f);if(B){const k=q.cloneNode(b.name);return Yn(k,7168),{name:q.cloneNode(b.name),param:b,isOptional:!!v.isOptional,typeNode:B}}});if(E.length)if(J0(p)||A0(p)){const v=J0(p)&&!r0(p,21,u);v&&t.insertNodeBefore(u,Pn(p.parameters),q.createToken(21)),L(E,({typeNode:b,param:B})=>{const k=q.createJSDocTypeTag(void 0,q.createJSDocTypeExpression(b)),T=q.createJSDocComment(void 0,[k]);t.insertNodeAt(u,B.getStart(u),T,{suffix:" "})}),v&&t.insertNodeAfter(u,Cr(p.parameters),q.createToken(22))}else{const v=Kt(E,({name:b,typeNode:B,isOptional:k})=>q.createJSDocParameterTag(void 0,b,!!k,q.createJSDocTypeExpression(B),!1,void 0));t.addJSDocTags(u,p,v)}}function Twe(t,u,s){return Si($0.getReferenceEntriesForNode(-1,t,u,u.getSourceFiles(),s),d=>d.kind!==$0.EntryKind.Span?rr(d.node,at):void 0)}function yK(t,u,s){const d=Twe(t,u,s);return Lwe(u,d,s).single()}function eJt(t,u,s,d){const f=tst(t,u,s,d);return f&&Lwe(s,f,d).parameters(t)||t.parameters.map(p=>({declaration:p,type:at(p.name)?yK(p.name,s,d):s.getTypeChecker().getAnyType()}))}function tst(t,u,s,d){let f;switch(t.kind){case 176:f=r0(t,137,u);break;case 219:case 218:const p=t.parent;f=(ra(p)||yo(p))&&at(p.name)?p.name:t.name;break;case 262:case 174:case 173:f=t.name;break}if(f)return Twe(f,s,d)}function Lwe(t,u,s){const d=t.getTypeChecker(),f={string:()=>d.getStringType(),number:()=>d.getNumberType(),Array:je=>d.createArrayType(je),Promise:je=>d.createPromiseType(je)},p=[d.getStringType(),d.getNumberType(),d.createArrayType(d.getAnyType()),d.createPromiseType(d.getAnyType())];return{single:b,parameters:B,thisParameter:k};function E(){return{isNumber:void 0,isString:void 0,isNumberOrString:void 0,candidateTypes:void 0,properties:void 0,calls:void 0,constructs:void 0,numberIndex:void 0,stringIndex:void 0,candidateThisTypes:void 0,inferredTypes:void 0}}function v(je){const Ke=new Map;for(const Yt of je)Yt.properties&&Yt.properties.forEach((Ie,lt)=>{Ke.has(lt)||Ke.set(lt,[]),Ke.get(lt).push(Ie)});const Gt=new Map;return Ke.forEach((Yt,Ie)=>{Gt.set(Ie,v(Yt))}),{isNumber:je.some(Yt=>Yt.isNumber),isString:je.some(Yt=>Yt.isString),isNumberOrString:je.some(Yt=>Yt.isNumberOrString),candidateTypes:Ku(je,Yt=>Yt.candidateTypes),properties:Gt,calls:Ku(je,Yt=>Yt.calls),constructs:Ku(je,Yt=>Yt.constructs),numberIndex:L(je,Yt=>Yt.numberIndex),stringIndex:L(je,Yt=>Yt.stringIndex),candidateThisTypes:Ku(je,Yt=>Yt.candidateThisTypes),inferredTypes:void 0}}function b(){return Se(T(u))}function B(je){if(u.length===0||!je.parameters)return;const Ke=E();for(const Yt of u)s.throwIfCancellationRequested(),M(Yt,Ke);const Gt=[...Ke.constructs||[],...Ke.calls||[]];return je.parameters.map((Yt,Ie)=>{const lt=[],St=J_(Yt);let It=!1;for(const ht of Gt)if(ht.argumentTypes.length<=Ie)It=Xn(je),lt.push(d.getUndefinedType());else if(St)for(let Ut=Ie;UtGt.every(Ie=>!Ie(Yt)))}function ve(je){return Se(pe(je))}function Se(je){if(!je.length)return d.getAnyType();const Ke=d.getUnionType([d.getStringType(),d.getNumberType()]);let Yt=ne(je,[{high:lt=>lt===d.getStringType()||lt===d.getNumberType(),low:lt=>lt===Ke},{high:lt=>!(lt.flags&16385),low:lt=>!!(lt.flags&16385)},{high:lt=>!(lt.flags&114689)&&!(Ju(lt)&16),low:lt=>!!(Ju(lt)&16)}]);const Ie=Yt.filter(lt=>Ju(lt)&16);return Ie.length&&(Yt=Yt.filter(lt=>!(Ju(lt)&16)),Yt.push(Ne(Ie))),d.getWidenedType(d.getUnionType(Yt.map(d.getBaseTypeOfLiteralType),2))}function Ne(je){if(je.length===1)return je[0];const Ke=[],Gt=[],Yt=[],Ie=[];let lt=!1,St=!1;const It=Bm();for(const Ut of je){for(const xn of d.getPropertiesOfType(Ut))It.add(xn.escapedName,xn.valueDeclaration?d.getTypeOfSymbolAtLocation(xn,xn.valueDeclaration):d.getAnyType());Ke.push(...d.getSignaturesOfType(Ut,0)),Gt.push(...d.getSignaturesOfType(Ut,1));const Ni=d.getIndexInfoOfType(Ut,0);Ni&&(Yt.push(Ni.type),lt=lt||Ni.isReadonly);const Vi=d.getIndexInfoOfType(Ut,1);Vi&&(Ie.push(Vi.type),St=St||Vi.isReadonly)}const ti=Li(It,(Ut,Ni)=>{const Vi=Ni.lengthd.getBaseTypeOfLiteralType(It)),St=(Yt=je.calls)!=null&&Yt.length?fe(je):void 0;return St&<?Ie.push(d.getUnionType([St,...lt],2)):(St&&Ie.push(St),S(lt)&&Ie.push(...lt)),Ie.push(...xe(je)),Ie}function fe(je){const Ke=new Map;je.properties&&je.properties.forEach((lt,St)=>{const It=d.createSymbol(4,St);It.links.type=ve(lt),Ke.set(St,It)});const Gt=je.calls?[Je(je.calls)]:[],Yt=je.constructs?[Je(je.constructs)]:[],Ie=je.stringIndex?[d.createIndexInfo(d.getStringType(),ve(je.stringIndex),!1)]:[];return d.createAnonymousType(void 0,Ke,Gt,Yt,Ie)}function xe(je){if(!je.properties||!je.properties.size)return[];const Ke=p.filter(Gt=>Be(Gt,je));return 0We(Gt,je)):[]}function Be(je,Ke){return Ke.properties?!d1(Ke.properties,(Gt,Yt)=>{const Ie=d.getTypeOfPropertyOfType(je,Yt);return Ie?Gt.calls?!d.getSignaturesOfType(Ie,0).length||!d.isTypeAssignableTo(Ie,He(Gt.calls)):!d.isTypeAssignableTo(Ie,ve(Gt)):!0}):!1}function We(je,Ke){if(!(Ju(je)&4)||!Ke.properties)return je;const Gt=je.target,Yt=Fa(Gt.typeParameters);if(!Yt)return je;const Ie=[];return Ke.properties.forEach((lt,St)=>{const It=d.getTypeOfPropertyOfType(Gt,St);H.assert(!!It,"generic should have all the properties of its reference."),Ie.push(...Ae(It,ve(lt),Yt))}),f[je.symbol.escapedName](Se(Ie))}function Ae(je,Ke,Gt){if(je===Gt)return[Ke];if(je.flags&3145728)return Ku(je.types,lt=>Ae(lt,Ke,Gt));if(Ju(je)&4&&Ju(Ke)&4){const lt=d.getTypeArguments(je),St=d.getTypeArguments(Ke),It=[];if(lt&&St)for(let ti=0;tiIe.argumentTypes.length));for(let Ie=0;IeSt.argumentTypes[Ie]||d.getUndefinedType())),je.some(St=>St.argumentTypes[Ie]===void 0)&&(lt.flags|=16777216),Ke.push(lt)}const Yt=ve(v(je.map(Ie=>Ie.return_)));return d.createSignature(void 0,void 0,void 0,Ke,Yt,void 0,Gt,0)}function ft(je,Ke){Ke&&!(Ke.flags&1)&&!(Ke.flags&131072)&&(je.candidateTypes||(je.candidateTypes=[])).push(Ke)}function Ze(je,Ke){Ke&&!(Ke.flags&1)&&!(Ke.flags&131072)&&(je.candidateThisTypes||(je.candidateThisTypes=[])).push(Ke)}}var $4e,Nwe,tJt=o({"src/services/codefixes/inferFromUsage.ts"(){ar(),rs(),$4e="inferFromUsage",Nwe=[F.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,F.Variable_0_implicitly_has_an_1_type.code,F.Parameter_0_implicitly_has_an_1_type.code,F.Rest_parameter_0_implicitly_has_an_any_type.code,F.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,F._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,F.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,F.Member_0_implicitly_has_an_1_type.code,F.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,F.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,F.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,F.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,F._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,F.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,F.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,F.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],Xo({errorCodes:Nwe,getCodeActions(t){const{sourceFile:u,program:s,span:{start:d},errorCode:f,cancellationToken:p,host:E,preferences:v}=t,b=Ca(u,d);let B;const k=iu.ChangeTracker.with(t,M=>{B=Yot(M,u,b,f,s,p,G3,E,v)}),T=B&&$a(B);return!T||k.length===0?void 0:[Io($4e,k,[UGt(f,b),Hc(T)],$4e,F.Infer_all_types_from_usage)]},fixIds:[$4e],getAllCodeActions(t){const{sourceFile:u,program:s,cancellationToken:d,host:f,preferences:p}=t,E=e9();return h0(t,Nwe,(v,b)=>{Yot(v,u,Ca(b.file,b.start),b.code,s,d,E,f,p)})}})}});function ist(t,u,s){if(Xn(t))return;const d=Ca(t,s),f=Tn(d,W0),p=f==null?void 0:f.type;if(!p)return;const E=u.getTypeFromTypeNode(p),v=u.getAwaitedType(E)||u.getVoidType(),b=u.typeToTypeNode(v,p,void 0);if(b)return{returnTypeNode:p,returnType:E,promisedTypeNode:b,promisedType:v}}function nst(t,u,s,d){t.replaceNode(u,s,q.createTypeReferenceNode("Promise",[d]))}var U4e,Pwe,iJt=o({"src/services/codefixes/fixReturnTypeInAsyncFunction.ts"(){ar(),rs(),U4e="fixReturnTypeInAsyncFunction",Pwe=[F.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code],Xo({errorCodes:Pwe,fixIds:[U4e],getCodeActions:function(u){const{sourceFile:s,program:d,span:f}=u,p=d.getTypeChecker(),E=ist(s,d.getTypeChecker(),f.start);if(!E)return;const{returnTypeNode:v,returnType:b,promisedTypeNode:B,promisedType:k}=E,T=iu.ChangeTracker.with(u,M=>nst(M,s,v,B));return[Io(U4e,T,[F.Replace_0_with_Promise_1,p.typeToString(b),p.typeToString(k)],U4e,F.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:t=>h0(t,Pwe,(u,s)=>{const d=ist(s.file,t.program.getTypeChecker(),s.start);d&&nst(u,s.file,d.returnTypeNode,d.promisedTypeNode)})})}});function ust(t,u,s,d){const{line:f}=o0(u,s);(!d||k0(d,f))&&t.insertCommentBeforeLine(u,f,s," @ts-ignore")}var Mwe,zwe,Iwe,nJt=o({"src/services/codefixes/disableJsDiagnostics.ts"(){ar(),rs(),Mwe="disableJsDiagnostics",zwe="disableJsDiagnostics",Iwe=Si(Object.keys(F),t=>{const u=F[t];return u.category===1?u.code:void 0}),Xo({errorCodes:Iwe,getCodeActions:function(u){const{sourceFile:s,program:d,span:f,host:p,formatContext:E}=u;if(!Xn(s)||!iV(s,d.getCompilerOptions()))return;const v=s.checkJsDirective?"":g5(p,E.options),b=[xg(Mwe,[crt(s.fileName,[OH(s.checkJsDirective?Vc(s.checkJsDirective.pos,s.checkJsDirective.end):c1(0,0),`// @ts-nocheck${v}`)])],F.Disable_checking_for_this_file)];return iu.isValidLocationToAddComment(s,f.start)&&b.unshift(Io(Mwe,iu.ChangeTracker.with(u,B=>ust(B,s,f.start)),F.Ignore_this_error_message,zwe,F.Add_ts_ignore_to_all_error_messages)),b},fixIds:[zwe],getAllCodeActions:t=>{const u=new Set;return h0(t,Iwe,(s,d)=>{iu.isValidLocationToAddComment(d.file,d.start)&&ust(s,d.file,d.start,u)})}})}});function Rwe(t,u,s,d,f,p,E){const v=t.symbol.members;for(const b of u)v.has(b.escapedName)||rst(b,t,s,d,f,p,E,void 0)}function _w(t){return{trackSymbol:()=>!1,moduleResolverHost:ufe(t.program,t.host)}}function rst(t,u,s,d,f,p,E,v,b=3,B=!1){const k=t.getDeclarations(),T=Ki(k),M=d.program.getTypeChecker(),z=Rs(d.program.getCompilerOptions()),j=(T==null?void 0:T.kind)??171,J=xe(t,T),K=T?gh(T):0;let Y=K&256;Y|=K&1?1:K&4?4:0,T&&Xh(T)&&(Y|=512);const oe=ve(),se=M.getWidenedType(M.getTypeOfSymbolAtLocation(t,u)),ge=!!(t.flags&16777216),ae=!!(u.flags&33554432)||B,Ce=Vm(s,f);switch(j){case 171:case 172:const Be=Ce===0?268435456:void 0;let We=M.typeToTypeNode(se,u,Be,_w(d));if(p){const De=l9(We,z);De&&(We=De.typeNode,Dw(p,De.symbols))}E(q.createPropertyDeclaration(oe,T?Ne(J):t.getName(),ge&&b&2?q.createToken(58):void 0,We,void 0));break;case 177:case 178:{H.assertIsDefined(k);let De=M.typeToTypeNode(se,u,void 0,_w(d));const He=lk(k,T),Je=He.secondAccessor?[He.firstAccessor,He.secondAccessor]:[He.firstAccessor];if(p){const ft=l9(De,z);ft&&(De=ft.typeNode,Dw(p,ft.symbols))}for(const ft of Je)if(Mm(ft))E(q.createGetAccessorDeclaration(oe,Ne(J),_t,fe(De),pe(v,Ce,ae)));else{H.assertNode(ft,Of,"The counterpart to a getter should be a setter");const Ze=dP(ft),je=Ze&&at(Ze.name)?fu(Ze.name):void 0;E(q.createSetAccessorDeclaration(oe,Ne(J),jwe(1,[je],[fe(De)],1,!1),pe(v,Ce,ae)))}break}case 173:case 174:H.assertIsDefined(k);const Ae=se.isUnion()?Ku(se.types,De=>De.getCallSignatures()):se.getCallSignatures();if(!Ge(Ae))break;if(k.length===1){H.assert(Ae.length===1,"One declaration implies one signature");const De=Ae[0];ne(Ce,De,oe,Ne(J),pe(v,Ce,ae));break}for(const De of Ae)ne(Ce,De,oe,Ne(J));if(!ae)if(k.length>Ae.length){const De=M.getSignatureFromDeclaration(k[k.length-1]);ne(Ce,De,oe,Ne(J),pe(v,Ce))}else H.assert(k.length===Ae.length,"Declarations and signatures should match count"),E(aJt(M,d,u,Ae,Ne(J),ge&&!!(b&1),oe,Ce,v));break}function ne(Be,We,Ae,De,He){const Je=q4e(174,d,Be,We,He,De,Ae,ge&&!!(b&1),u,p);Je&&E(Je)}function ve(){let Be;return Y&&(Be=Do(Be,q.createModifiersFromModifierFlags(Y))),Se()&&(Be=Ei(Be,q.createToken(164))),Be&&q.createNodeArray(Be)}function Se(){return!!(d.program.getCompilerOptions().noImplicitOverride&&T&&T2(T))}function Ne(Be){return at(Be)&&Be.escapedText==="constructor"?q.createComputedPropertyName(q.createStringLiteral(fu(Be),Ce===0)):ll(Be,!1)}function pe(Be,We,Ae){return Ae?void 0:ll(Be,!1)||Vwe(We)}function fe(Be){return ll(Be,!1)}function xe(Be,We){if(Wl(Be)&262144){const Ae=Be.links.nameType;if(Ae&&q4(Ae))return q.createIdentifier(Qr(Z4(Ae)))}return ll($a(We),!1)}}function q4e(t,u,s,d,f,p,E,v,b,B){const k=u.program,T=k.getTypeChecker(),M=Rs(k.getCompilerOptions()),z=Xn(b),j=524545|(s===0?268435456:0),J=T.signatureToSignatureDeclaration(d,t,b,j,_w(u));if(!J)return;let K=z?void 0:J.typeParameters,Y=J.parameters,oe=z?void 0:J.type;if(B){if(K){const Ce=Pu(K,ne=>{let ve=ne.constraint,Se=ne.default;if(ve){const Ne=l9(ve,M);Ne&&(ve=Ne.typeNode,Dw(B,Ne.symbols))}if(Se){const Ne=l9(Se,M);Ne&&(Se=Ne.typeNode,Dw(B,Ne.symbols))}return q.updateTypeParameterDeclaration(ne,ne.modifiers,ne.name,ve,Se)});K!==Ce&&(K=Pt(q.createNodeArray(Ce,K.hasTrailingComma),K))}const ae=Pu(Y,Ce=>{let ne=z?void 0:Ce.type;if(ne){const ve=l9(ne,M);ve&&(ne=ve.typeNode,Dw(B,ve.symbols))}return q.updateParameterDeclaration(Ce,Ce.modifiers,Ce.dotDotDotToken,Ce.name,z?void 0:Ce.questionToken,ne,Ce.initializer)});if(Y!==ae&&(Y=Pt(q.createNodeArray(ae,Y.hasTrailingComma),Y)),oe){const Ce=l9(oe,M);Ce&&(oe=Ce.typeNode,Dw(B,Ce.symbols))}}const se=v?q.createToken(58):void 0,ge=J.asteriskToken;if(A0(J))return q.updateFunctionExpression(J,E,J.asteriskToken,rr(p,at),K,Y,oe,f??J.body);if(J0(J))return q.updateArrowFunction(J,E,K,Y,oe,J.equalsGreaterThanToken,f??J.body);if(cc(J))return q.updateMethodDeclaration(J,E,ge,p??q.createIdentifier(""),se,K,Y,oe,f);if(Xc(J))return q.updateFunctionDeclaration(J,E,J.asteriskToken,rr(p,at),K,Y,oe,f??J.body)}function Owe(t,u,s,d,f,p,E){const v=Vm(u.sourceFile,u.preferences),b=Rs(u.program.getCompilerOptions()),B=_w(u),k=u.program.getTypeChecker(),T=Xn(E),{typeArguments:M,arguments:z,parent:j}=d,J=T?void 0:k.getContextualType(d),K=Kt(z,Se=>at(Se)?Se.text:zu(Se)&&at(Se.name)?Se.name.text:void 0),Y=T?[]:Kt(z,Se=>k.getTypeAtLocation(Se)),{argumentTypeNodes:oe,argumentTypeParameters:se}=sst(k,s,Y,E,b,1,B),ge=p?q.createNodeArray(q.createModifiersFromModifierFlags(p)):void 0,ae=aY(j)?q.createToken(42):void 0,Ce=T?void 0:uJt(k,se,M),ne=jwe(z.length,K,oe,void 0,T),ve=T||J===void 0?void 0:k.typeToTypeNode(J,E,void 0,B);switch(t){case 174:return q.createMethodDeclaration(ge,ae,f,void 0,Ce,ne,ve,Vwe(v));case 173:return q.createMethodSignature(ge,f,void 0,Ce,ne,ve===void 0?q.createKeywordTypeNode(159):ve);case 262:return H.assert(typeof f=="string"||at(f),"Unexpected name"),q.createFunctionDeclaration(ge,ae,f,Ce,ne,ve,kee(F.Function_not_implemented.message,v));default:H.fail("Unexpected kind")}}function uJt(t,u,s){const d=new Set(u.map(p=>p[0])),f=new Map(u);if(s){const p=s.filter(v=>!u.some(b=>{var B;return t.getTypeAtLocation(v)===((B=b[1])==null?void 0:B.argumentType)})),E=d.size+p.length;for(let v=0;d.size{var E;return q.createTypeParameterDeclaration(void 0,p,(E=f.get(p))==null?void 0:E.constraint)})}function ast(t){return 84+t<=90?String.fromCharCode(84+t):`T${t}`}function Z4e(t,u,s,d,f,p,E){let v=t.typeToTypeNode(s,d,p,E);if(v&&iD(v)){const b=l9(v,f);b&&(Dw(u,b.symbols),v=b.typeNode)}return ll(v)}function ost(t){return t.isUnionOrIntersection()?t.types.some(ost):t.flags&262144}function sst(t,u,s,d,f,p,E){const v=[],b=new Map;for(let B=0;B=d?q.createToken(58):void 0,f?void 0:(s==null?void 0:s[v])||q.createKeywordTypeNode(159),void 0);p.push(k)}return p}function aJt(t,u,s,d,f,p,E,v,b){let B=d[0],k=d[0].minArgumentCount,T=!1;for(const J of d)k=Math.min(J.minArgumentCount,k),eh(J)&&(T=!0),J.parameters.length>=B.parameters.length&&(!eh(J)||eh(B))&&(B=J);const M=B.parameters.length-(eh(B)?1:0),z=B.parameters.map(J=>J.name),j=jwe(M,z,void 0,k,!1);if(T){const J=q.createParameterDeclaration(void 0,q.createToken(26),z[M]||"rest",M>=k?q.createToken(58):void 0,q.createArrayTypeNode(q.createKeywordTypeNode(159)),void 0);j.push(J)}return sJt(E,f,p,void 0,j,oJt(d,t,u,s),v,b)}function oJt(t,u,s,d){if(S(t)){const f=u.getUnionType(Kt(t,u.getReturnTypeOfSignature));return u.typeToTypeNode(f,d,1,_w(s))}}function sJt(t,u,s,d,f,p,E,v){return q.createMethodDeclaration(t,void 0,u,s?q.createToken(58):void 0,d,f,p,v||Vwe(E))}function Vwe(t){return kee(F.Method_not_implemented.message,t)}function kee(t,u){return q.createBlock([q.createThrowStatement(q.createNewExpression(q.createIdentifier("Error"),void 0,[q.createStringLiteral(t,u===0)]))],!0)}function Hwe(t,u,s){const d=qN(u);if(!d)return;const f=Wwe(d,"compilerOptions");if(f===void 0){t.insertNodeAtObjectStart(u,d,Y4e("compilerOptions",q.createObjectLiteralExpression(s.map(([E,v])=>Y4e(E,v)),!0)));return}const p=f.initializer;if(bs(p))for(const[E,v]of s){const b=Wwe(p,E);b===void 0?t.insertNodeAtObjectStart(u,p,Y4e(E,v)):t.replaceNode(u,b.initializer,v)}}function Kwe(t,u,s,d){Hwe(t,u,[[s,d]])}function Y4e(t,u){return q.createPropertyAssignment(q.createStringLiteral(t),u)}function Wwe(t,u){return Le(t.properties,s=>Jc(s)&&!!s.name&&us(s.name)&&s.name.text===u)}function l9(t,u){let s;const d=yt(t,f,Xr);if(s&&d)return{typeNode:d,symbols:s};function f(p){if(Mx(p)&&p.qualifier){const E=dm(p.qualifier),v=NX(E.symbol,u),b=v!==E.text?cst(p.qualifier,q.createIdentifier(v)):p.qualifier;s=Ei(s,E.symbol);const B=kn(p.typeArguments,f,Xr);return q.createTypeReferenceNode(b,B)}return un(p,f,Eg)}}function cst(t,u){return t.kind===80?u:q.createQualifiedName(cst(t.left,u),t.right)}function Dw(t,u){u.forEach(s=>t.addImportFromExportedSymbol(s,!0))}function Gwe(t,u){const s=gc(u);let d=Ca(t,u.start);for(;d.end(t[t.Method=1]="Method",t[t.Property=2]="Property",t[t.All=3]="All",t))(Jwe||{})}});function dst(t,u,s,d,f,p){const E=mst(t,u,s,d);if(!E||u9.isRefactorErrorInfo(E))return;const v=iu.ChangeTracker.fromContext(f),{isStatic:b,isReadonly:B,fieldName:k,accessorName:T,originalName:M,type:z,container:j,declaration:J}=E;Hf(k),Hf(T),Hf(J),Hf(j);let K,Y;if(gr(j)){const se=gh(J);if(ph(t)){const ge=q.createModifiersFromModifierFlags(se);K=ge,Y=ge}else K=q.createModifiersFromModifierFlags(hJt(se)),Y=q.createModifiersFromModifierFlags(fJt(se));kk(J)&&(Y=an(Fx(J),Y))}_Jt(v,t,J,z,k,Y);const oe=mJt(k,T,z,K,b,j);if(Hf(oe),pst(v,t,oe,J,j),B){const se=Q_(j);se&&DJt(v,t,se,k.text,M)}else{const se=pJt(k,T,z,K,b,j);Hf(se),pst(v,t,se,J,j)}return v.getChanges()}function cJt(t){return at(t)||us(t)}function dJt(t){return Pf(t,t.parent)||yo(t)||Jc(t)}function hst(t,u){return at(u)?q.createIdentifier(t):q.createStringLiteral(t)}function fst(t,u,s){const d=u?s.name:q.createThis();return at(t)?q.createPropertyAccessExpression(d,t):q.createElementAccessExpression(d,q.createStringLiteralFromNode(t))}function hJt(t){return t&=-9,t&=-3,t&4||(t|=1),t}function fJt(t){return t&=-2,t&=-5,t|=2,t}function mst(t,u,s,d,f=!0){const p=Ca(t,s),E=s===d&&f,v=Tn(p.parent,dJt),b=271;if(!v||!(tX(v.name,t,s,d)||E))return{error:Ya(F.Could_not_find_property_for_which_to_generate_accessor)};if(!cJt(v.name))return{error:Ya(F.Name_is_not_valid)};if((gh(v)&98303|b)!==b)return{error:Ya(F.Can_only_convert_property_with_modifier)};const B=v.name.text,k=Ffe(B),T=hst(k?B:Ik(`_${B}`,t),v.name),M=hst(k?Ik(B.substring(1),t):B,v.name);return{isStatic:Kc(v),isReadonly:hP(v),type:xJt(v,u),container:v.kind===169?v.parent.parent:v.parent,originalName:v.name.text,declaration:v,fieldName:T,accessorName:M,renameAccessor:k}}function mJt(t,u,s,d,f,p){return q.createGetAccessorDeclaration(d,u,[],s,q.createBlock([q.createReturnStatement(fst(t,f,p))],!0))}function pJt(t,u,s,d,f,p){return q.createSetAccessorDeclaration(d,u,[q.createParameterDeclaration(void 0,void 0,q.createIdentifier("value"),void 0,s)],q.createBlock([q.createExpressionStatement(q.createAssignment(fst(t,f,p),q.createIdentifier("value")))],!0))}function gJt(t,u,s,d,f,p){const E=q.updatePropertyDeclaration(s,p,f,s.questionToken||s.exclamationToken,d,s.initializer);t.replaceNode(u,s,E)}function EJt(t,u,s,d){let f=q.updatePropertyAssignment(s,d,s.initializer);(f.modifiers||f.questionToken||f.exclamationToken)&&(f===s&&(f=q.cloneNode(f)),f.modifiers=void 0,f.questionToken=void 0,f.exclamationToken=void 0),t.replacePropertyAssignment(u,s,f)}function _Jt(t,u,s,d,f,p){yo(s)?gJt(t,u,s,d,f,p):Jc(s)?EJt(t,u,s,f):t.replaceNode(u,s,q.updateParameterDeclaration(s,p,s.dotDotDotToken,No(f,at),s.questionToken,s.type,s.initializer))}function pst(t,u,s,d,f){Pf(d,d.parent)?t.insertMemberAtStart(u,f,s):Jc(d)?t.insertNodeAfterComma(u,d,s):t.insertNodeAfter(u,d,s)}function DJt(t,u,s,d,f){s.body&&s.body.forEachChild(function p(E){G0(E)&&E.expression.kind===110&&us(E.argumentExpression)&&E.argumentExpression.text===f&&E7(E)&&t.replaceNode(u,E.argumentExpression,q.createStringLiteral(d)),zu(E)&&E.expression.kind===110&&E.name.text===f&&E7(E)&&t.replaceNode(u,E.name,q.createIdentifier(d)),!xo(E)&&!gr(E)&&E.forEachChild(p)})}function xJt(t,u){const s=xye(t);if(yo(t)&&s&&t.questionToken){const d=u.getTypeChecker(),f=d.getTypeFromTypeNode(s);if(!d.isTypeAssignableTo(d.getUndefinedType(),f)){const p=Lv(s)?s.types:[s];return q.createUnionTypeNode([...p,q.createKeywordTypeNode(157)])}}return s}function $we(t,u){const s=[];for(;t;){const d=F2(t),f=d&&u.getSymbolAtLocation(d.expression);if(!f)break;const p=f.flags&2097152?u.getAliasedSymbol(f):f,E=p.declarations&&Le(p.declarations,gr);if(!E)break;s.push(E),t=E}return s}var vJt=o({"src/services/codefixes/generateAccessors.ts"(){ar()}});function CJt(t,u){const s=zn(u),d=Z8(u),f=t.program.getCompilerOptions(),p=[];return p.push(gst(t,s,u,p5(d.name,void 0,u.moduleSpecifier,Vm(s,t.preferences)))),f1(f)===1&&p.push(gst(t,s,u,q.createImportEqualsDeclaration(void 0,!1,d.name,q.createExternalModuleReference(u.moduleSpecifier)))),p}function gst(t,u,s,d){const f=iu.ChangeTracker.with(t,p=>p.replaceNode(u,s,d));return xg(Uwe,f,[F.Replace_import_with_0,f[0].textChanges[0].newText])}function bJt(t){const u=t.sourceFile,s=F.This_expression_is_not_callable.code===t.errorCode?213:214,d=Tn(Ca(u,t.span.start),p=>p.kind===s);if(!d)return[];const f=d.expression;return Est(t,f)}function yJt(t){const u=t.sourceFile,s=Tn(Ca(u,t.span.start),d=>d.getStart()===t.span.start&&d.getEnd()===t.span.start+t.span.length);return s?Est(t,s):[]}function Est(t,u){const s=t.program.getTypeChecker().getTypeAtLocation(u);if(!(s.symbol&&UE(s.symbol)&&s.symbol.links.originatingImport))return[];const d=[],f=s.symbol.links.originatingImport;if(cm(f)||yn(d,CJt(t,f)),Wt(u)&&!(fh(u.parent)&&u.parent.name===u)){const p=t.sourceFile,E=iu.ChangeTracker.with(t,v=>v.replaceNode(p,u,q.createPropertyAccessExpression(u,"default"),{}));d.push(xg(Uwe,E,F.Use_synthetic_default_member))}return d}var Uwe,kJt=o({"src/services/codefixes/fixInvalidImportSyntax.ts"(){ar(),rs(),Uwe="invalidImportSyntax",Xo({errorCodes:[F.This_expression_is_not_callable.code,F.This_expression_is_not_constructable.code],getCodeActions:bJt}),Xo({errorCodes:[F.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,F.Type_0_does_not_satisfy_the_constraint_1.code,F.Type_0_is_not_assignable_to_type_1.code,F.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,F.Type_predicate_0_is_not_assignable_to_1.code,F.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,F._0_index_type_1_is_not_assignable_to_2_index_type_3.code,F.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,F.Property_0_in_type_1_is_not_assignable_to_type_2.code,F.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,F.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:yJt})}});function _st(t,u){const s=Ca(t,u);if(at(s)&&yo(s.parent)){const d=h1(s.parent);if(d)return{type:d,prop:s.parent,isJs:Xn(s.parent)}}}function FJt(t,u){if(u.isJs)return;const s=iu.ChangeTracker.with(t,d=>Dst(d,t.sourceFile,u.prop));return Io(Q4e,s,[F.Add_definite_assignment_assertion_to_property_0,u.prop.getText()],X4e,F.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function Dst(t,u,s){Hf(s);const d=q.updatePropertyDeclaration(s,s.modifiers,s.name,q.createToken(54),s.type,s.initializer);t.replaceNode(u,s,d)}function AJt(t,u){const s=iu.ChangeTracker.with(t,d=>xst(d,t.sourceFile,u));return Io(Q4e,s,[F.Add_undefined_type_to_property_0,u.prop.name.getText()],epe,F.Add_undefined_type_to_all_uninitialized_properties)}function xst(t,u,s){const d=q.createKeywordTypeNode(157),f=Lv(s.type)?s.type.types.concat(d):[s.type,d],p=q.createUnionTypeNode(f);s.isJs?t.addJSDocTags(u,s.prop,[q.createJSDocTypeTag(void 0,q.createJSDocTypeExpression(p))]):t.replaceNode(u,s.type,p)}function SJt(t,u){if(u.isJs)return;const s=t.program.getTypeChecker(),d=Cst(s,u.prop);if(!d)return;const f=iu.ChangeTracker.with(t,p=>vst(p,t.sourceFile,u.prop,d));return Io(Q4e,f,[F.Add_initializer_to_property_0,u.prop.name.getText()],tpe,F.Add_initializers_to_all_uninitialized_properties)}function vst(t,u,s,d){Hf(s);const f=q.updatePropertyDeclaration(s,s.modifiers,s.name,s.questionToken,s.type,d);t.replaceNode(u,s,f)}function Cst(t,u){return bst(t,t.getTypeFromTypeNode(u.type))}function bst(t,u){if(u.flags&512)return u===t.getFalseType()||u===t.getFalseType(!0)?q.createFalse():q.createTrue();if(u.isStringLiteral())return q.createStringLiteral(u.value);if(u.isNumberLiteral())return q.createNumericLiteral(u.value);if(u.flags&2048)return q.createBigIntLiteral(u.value);if(u.isUnion())return G(u.types,s=>bst(t,s));if(u.isClass()){const s=eD(u.symbol);if(!s||Qu(s,64))return;const d=Q_(s);return d&&d.parameters.length?void 0:q.createNewExpression(q.createIdentifier(u.symbol.name),void 0,void 0)}else if(t.isArrayLikeType(u))return q.createArrayLiteralExpression()}var Q4e,X4e,epe,tpe,qwe,BJt=o({"src/services/codefixes/fixStrictClassInitialization.ts"(){ar(),rs(),Q4e="strictClassInitialization",X4e="addMissingPropertyDefiniteAssignmentAssertions",epe="addMissingPropertyUndefinedType",tpe="addMissingPropertyInitializer",qwe=[F.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],Xo({errorCodes:qwe,getCodeActions:function(u){const s=_st(u.sourceFile,u.span.start);if(!s)return;const d=[];return Ei(d,AJt(u,s)),Ei(d,FJt(u,s)),Ei(d,SJt(u,s)),d},fixIds:[X4e,epe,tpe],getAllCodeActions:t=>h0(t,qwe,(u,s)=>{const d=_st(s.file,s.start);if(d)switch(t.fixId){case X4e:Dst(u,s.file,d.prop);break;case epe:xst(u,s.file,d);break;case tpe:const f=t.program.getTypeChecker(),p=Cst(f,d.prop);if(!p)return;vst(u,s.file,d.prop,p);break;default:H.fail(JSON.stringify(t.fixId))}})})}});function yst(t,u,s){const{allowSyntheticDefaults:d,defaultImportName:f,namedImports:p,statement:E,required:v}=s;t.replaceNode(u,E,f&&!d?q.createImportEqualsDeclaration(void 0,!1,f,q.createExternalModuleReference(v)):q.createImportDeclaration(void 0,q.createImportClause(!1,f,p),v,void 0))}function kst(t,u,s){const{parent:d}=Ca(t,s);Df(d,!0)||H.failBadSyntaxKind(d);const f=No(d.parent,ra),p=rr(f.name,at),E=Mp(f.name)?wJt(f.name):void 0;if(p||E)return{allowSyntheticDefaults:x7(u.getCompilerOptions()),defaultImportName:p,namedImports:E,statement:No(f.parent.parent,Gl),required:Pn(d.arguments)}}function wJt(t){const u=[];for(const s of t.elements){if(!at(s.name)||s.initializer)return;u.push(q.createImportSpecifier(!1,rr(s.propertyName,at),s.name))}if(u.length)return q.createNamedImports(u)}var ipe,Zwe,TJt=o({"src/services/codefixes/requireInTs.ts"(){ar(),rs(),ipe="requireInTs",Zwe=[F.require_call_may_be_converted_to_an_import.code],Xo({errorCodes:Zwe,getCodeActions(t){const u=kst(t.sourceFile,t.program,t.span.start);if(!u)return;const s=iu.ChangeTracker.with(t,d=>yst(d,t.sourceFile,u));return[Io(ipe,s,F.Convert_require_to_import,ipe,F.Convert_all_require_to_import)]},fixIds:[ipe],getAllCodeActions:t=>h0(t,Zwe,(u,s)=>{const d=kst(s.file,t.program,s.start);d&&yst(u,t.sourceFile,d)})})}});function Fst(t,u){const s=Ca(t,u);if(!at(s))return;const{parent:d}=s;if(g1(d)&&u_(d.moduleReference))return{importNode:d,name:s,moduleSpecifier:d.moduleReference.expression};if(Gx(d)){const f=d.parent.parent;return{importNode:f,name:s,moduleSpecifier:f.moduleSpecifier}}}function Ast(t,u,s,d){t.replaceNode(u,s.importNode,p5(s.name,void 0,s.moduleSpecifier,Vm(u,d)))}var npe,Ywe,LJt=o({"src/services/codefixes/useDefaultImport.ts"(){ar(),rs(),npe="useDefaultImport",Ywe=[F.Import_may_be_converted_to_a_default_import.code],Xo({errorCodes:Ywe,getCodeActions(t){const{sourceFile:u,span:{start:s}}=t,d=Fst(u,s);if(!d)return;const f=iu.ChangeTracker.with(t,p=>Ast(p,u,d,t.preferences));return[Io(npe,f,F.Convert_to_default_import,npe,F.Convert_all_to_default_imports)]},fixIds:[npe],getAllCodeActions:t=>h0(t,Ywe,(u,s)=>{const d=Fst(s.file,s.start);d&&Ast(u,s.file,d,t.preferences)})})}});function Sst(t,u,s){const d=rr(Ca(u,s.start),Rf);if(!d)return;const f=d.getText(u)+"n";t.replaceNode(u,d,q.createBigIntLiteral(f))}var upe,Qwe,NJt=o({"src/services/codefixes/useBigintLiteral.ts"(){ar(),rs(),upe="useBigintLiteral",Qwe=[F.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code],Xo({errorCodes:Qwe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Sst(d,u.sourceFile,u.span));if(s.length>0)return[Io(upe,s,F.Convert_to_a_bigint_numeric_literal,upe,F.Convert_all_to_bigint_numeric_literals)]},fixIds:[upe],getAllCodeActions:t=>h0(t,Qwe,(u,s)=>Sst(u,s.file,s))})}});function Bst(t,u){const s=Ca(t,u);return H.assert(s.kind===102,"This token should be an ImportKeyword"),H.assert(s.parent.kind===205,"Token parent should be an ImportType"),s.parent}function wst(t,u,s){const d=q.updateImportTypeNode(s,s.argument,s.attributes,s.qualifier,s.typeArguments,!0);t.replaceNode(u,s,d)}var Tst,rpe,Xwe,PJt=o({"src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts"(){ar(),rs(),Tst="fixAddModuleReferTypeMissingTypeof",rpe=Tst,Xwe=[F.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code],Xo({errorCodes:Xwe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=Bst(s,d.start),p=iu.ChangeTracker.with(u,E=>wst(E,s,f));return[Io(rpe,p,F.Add_missing_typeof,rpe,F.Add_missing_typeof)]},fixIds:[rpe],getAllCodeActions:t=>h0(t,Xwe,(u,s)=>wst(u,t.sourceFile,Bst(s.file,s.start)))})}});function Lst(t,u){let f=Ca(t,u).parent.parent;if(!(!eu(f)&&(f=f.parent,!eu(f)))&&Yl(f.operatorToken))return f}function Nst(t,u,s){const d=MJt(s);d&&t.replaceNode(u,s,q.createJsxFragment(q.createJsxOpeningFragment(),d,q.createJsxJsxClosingFragment()))}function MJt(t){const u=[];let s=t;for(;;)if(eu(s)&&Yl(s.operatorToken)&&s.operatorToken.kind===28){if(u.push(s.left),QO(s.right))return u.push(s.right),u;if(eu(s.right)){s=s.right;continue}else return}else return}var ape,eTe,zJt=o({"src/services/codefixes/wrapJsxInFragment.ts"(){ar(),rs(),ape="wrapJsxInFragment",eTe=[F.JSX_expressions_must_have_one_parent_element.code],Xo({errorCodes:eTe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=Lst(s,d.start);if(!f)return;const p=iu.ChangeTracker.with(u,E=>Nst(E,s,f));return[Io(ape,p,F.Wrap_in_JSX_fragment,ape,F.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[ape],getAllCodeActions:t=>h0(t,eTe,(u,s)=>{const d=Lst(t.sourceFile,s.start);d&&Nst(u,t.sourceFile,d)})})}});function Pst(t,u){const s=Ca(t,u),d=rr(s.parent.parent,pk);if(!d)return;const f=Dh(d.parent)?d.parent:rr(d.parent.parent,Ip);if(f)return{indexSignature:d,container:f}}function IJt(t,u){return q.createTypeAliasDeclaration(t.modifiers,t.name,t.typeParameters,u)}function Mst(t,u,{indexSignature:s,container:d}){const p=(Dh(d)?d.members:d.type.members).filter(k=>!pk(k)),E=Pn(s.parameters),v=q.createTypeParameterDeclaration(void 0,No(E.name,at),E.type),b=q.createMappedTypeNode(hP(s)?q.createModifier(148):void 0,v,void 0,s.questionToken,s.type,void 0),B=q.createIntersectionTypeNode([...nP(d),b,...p.length?[q.createTypeLiteralNode(p)]:_t]);t.replaceNode(u,d,IJt(d,B))}var ope,tTe,RJt=o({"src/services/codefixes/convertToMappedObjectType.ts"(){ar(),rs(),ope="fixConvertToMappedObjectType",tTe=[F.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code],Xo({errorCodes:tTe,getCodeActions:function(u){const{sourceFile:s,span:d}=u,f=Pst(s,d.start);if(!f)return;const p=iu.ChangeTracker.with(u,v=>Mst(v,s,f)),E=fu(f.container.name);return[Io(ope,p,[F.Convert_0_to_mapped_object_type,E],ope,[F.Convert_0_to_mapped_object_type,E])]},fixIds:[ope],getAllCodeActions:t=>h0(t,tTe,(u,s)=>{const d=Pst(s.file,s.start);d&&Mst(u,s.file,d)})})}}),iTe,zst,OJt=o({"src/services/codefixes/removeAccidentalCallParentheses.ts"(){ar(),rs(),iTe="removeAccidentalCallParentheses",zst=[F.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],Xo({errorCodes:zst,getCodeActions(t){const u=Tn(Ca(t.sourceFile,t.span.start),Po);if(!u)return;const s=iu.ChangeTracker.with(t,d=>{d.deleteRange(t.sourceFile,{pos:u.expression.end,end:u.end})});return[xg(iTe,s,F.Remove_parentheses)]},fixIds:[iTe]})}});function Ist(t,u,s){const d=rr(Ca(u,s.start),v=>v.kind===135),f=d&&rr(d.parent,Wx);if(!f)return;let p=f;if(vf(f.parent)){const v=lB(f.expression,!1);if(at(v)){const b=ed(f.parent.pos,u);b&&b.kind!==105&&(p=f.parent)}}t.replaceNode(u,p,f.expression)}var spe,nTe,jJt=o({"src/services/codefixes/removeUnnecessaryAwait.ts"(){ar(),rs(),spe="removeUnnecessaryAwait",nTe=[F.await_has_no_effect_on_the_type_of_this_expression.code],Xo({errorCodes:nTe,getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Ist(d,u.sourceFile,u.span));if(s.length>0)return[Io(spe,s,F.Remove_unnecessary_await,spe,F.Remove_all_unnecessary_uses_of_await)]},fixIds:[spe],getAllCodeActions:t=>h0(t,nTe,(u,s)=>Ist(u,s.file,s))})}});function Rst(t,u){return Tn(Ca(t,u.start),Ad)}function Ost(t,u,s){if(!u)return;const d=H.checkDefined(u.importClause);t.replaceNode(s.sourceFile,u,q.updateImportDeclaration(u,u.modifiers,q.updateImportClause(d,d.isTypeOnly,d.name,void 0),u.moduleSpecifier,u.attributes)),t.insertNodeAfter(s.sourceFile,u,q.createImportDeclaration(void 0,q.updateImportClause(d,d.isTypeOnly,void 0,d.namedBindings),u.moduleSpecifier,u.attributes))}var uTe,lpe,VJt=o({"src/services/codefixes/splitTypeOnlyImport.ts"(){ar(),rs(),uTe=[F.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],lpe="splitTypeOnlyImport",Xo({errorCodes:uTe,fixIds:[lpe],getCodeActions:function(u){const s=iu.ChangeTracker.with(u,d=>Ost(d,Rst(u.sourceFile,u.span),u));if(s.length)return[Io(lpe,s,F.Split_into_two_separate_import_declarations,lpe,F.Split_all_invalid_type_only_imports)]},getAllCodeActions:t=>h0(t,uTe,(u,s)=>{Ost(u,Rst(t.sourceFile,s),t)})})}});function jst(t,u,s){var d;const p=s.getTypeChecker().getSymbolAtLocation(Ca(t,u));if(p===void 0)return;const E=rr((d=p==null?void 0:p.valueDeclaration)==null?void 0:d.parent,Fd);if(E===void 0)return;const v=r0(E,87,t);if(v!==void 0)return{symbol:p,token:v}}function Vst(t,u,s){t.replaceNode(u,s,q.createToken(121))}var cpe,rTe,HJt=o({"src/services/codefixes/convertConstToLet.ts"(){ar(),rs(),cpe="fixConvertConstToLet",rTe=[F.Cannot_assign_to_0_because_it_is_a_constant.code],Xo({errorCodes:rTe,getCodeActions:function(u){const{sourceFile:s,span:d,program:f}=u,p=jst(s,d.start,f);if(p===void 0)return;const E=iu.ChangeTracker.with(u,v=>Vst(v,s,p.token));return[rBe(cpe,E,F.Convert_const_to_let,cpe,F.Convert_all_const_to_let)]},getAllCodeActions:t=>{const{program:u}=t,s=new Map;return pw(iu.ChangeTracker.with(t,d=>{gw(t,rTe,f=>{const p=jst(f.file,f.start,u);if(p&&Pp(s,Zo(p.symbol)))return Vst(d,f.file,p.token)})}))},fixIds:[cpe]})}});function Hst(t,u,s){const d=Ca(t,u);return d.kind===27&&d.parent&&(bs(d.parent)||_h(d.parent))?{node:d}:void 0}function Kst(t,u,{node:s}){const d=q.createToken(28);t.replaceNode(u,s,d)}var dpe,Wst,aTe,KJt=o({"src/services/codefixes/fixExpectedComma.ts"(){ar(),rs(),dpe="fixExpectedComma",Wst=F._0_expected.code,aTe=[Wst],Xo({errorCodes:aTe,getCodeActions(t){const{sourceFile:u}=t,s=Hst(u,t.span.start,t.errorCode);if(!s)return;const d=iu.ChangeTracker.with(t,f=>Kst(f,u,s));return[Io(dpe,d,[F.Change_0_to_1,";",","],dpe,[F.Change_0_to_1,";",","])]},fixIds:[dpe],getAllCodeActions:t=>h0(t,aTe,(u,s)=>{const d=Hst(s.file,s.start,s.code);d&&Kst(u,t.sourceFile,d)})})}});function Gst(t,u,s,d,f){const p=Ca(u,s.start);if(!at(p)||!Po(p.parent)||p.parent.expression!==p||p.parent.arguments.length!==0)return;const E=d.getTypeChecker(),v=E.getSymbolAtLocation(p),b=v==null?void 0:v.valueDeclaration;if(!b||!Qa(b)||!I2(b.parent.parent)||f!=null&&f.has(b))return;f==null||f.add(b);const B=WJt(b.parent.parent);if(Ge(B)){const k=B[0],T=!Lv(k)&&!N7(k)&&N7(q.createUnionTypeNode([k,q.createKeywordTypeNode(116)]).types[0]);T&&t.insertText(u,k.pos,"("),t.insertText(u,k.end,T?") | void":" | void")}else{const k=E.getResolvedSignature(p.parent),T=k==null?void 0:k.parameters[0],M=T&&E.getTypeOfSymbolAtLocation(T,b.parent.parent);Xn(b)?(!M||M.flags&3)&&(t.insertText(u,b.parent.parent.end,")"),t.insertText(u,ps(u.text,b.parent.parent.pos),"/** @type {Promise} */(")):(!M||M.flags&2)&&t.insertText(u,b.parent.parent.expression.end,"")}}function WJt(t){var u;if(Xn(t)){if(vf(t.parent)){const s=(u=_v(t.parent))==null?void 0:u.typeExpression.type;if(s&&Y4(s)&&at(s.typeName)&&fu(s.typeName)==="Promise")return s.typeArguments}}else return t.typeArguments}var Jst,oTe,sTe,GJt=o({"src/services/codefixes/fixAddVoidToPromise.ts"(){ar(),rs(),Jst="addVoidToPromise",oTe="addVoidToPromise",sTe=[F.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,F.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],Xo({errorCodes:sTe,fixIds:[oTe],getCodeActions(t){const u=iu.ChangeTracker.with(t,s=>Gst(s,t.sourceFile,t.span,t.program));if(u.length>0)return[Io(Jst,u,F.Add_void_to_Promise_resolved_without_a_value,oTe,F.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions(t){return h0(t,sTe,(u,s)=>Gst(u,s.file,s,t.program,new Set))}})}}),M1={};h(M1,{PreserveOptionalFlags:()=>Jwe,addNewNodeForMemberSymbol:()=>rst,codeFixAll:()=>h0,createCodeFixAction:()=>Io,createCodeFixActionMaybeFixAll:()=>rBe,createCodeFixActionWithoutFixAll:()=>xg,createCombinedCodeActions:()=>pw,createFileTextChanges:()=>crt,createImportAdder:()=>o9,createImportSpecifierResolver:()=>rWt,createJsonPropertyAssignment:()=>Y4e,createMissingMemberNodes:()=>Rwe,createSignatureDeclarationFromCallExpression:()=>Owe,createSignatureDeclarationFromSignature:()=>q4e,createStubbedBody:()=>kee,eachDiagnostic:()=>gw,findAncestorMatchingSpan:()=>Gwe,findJsonProperty:()=>Wwe,generateAccessorFromProperty:()=>dst,getAccessorConvertiblePropertyAtPosition:()=>mst,getAllFixes:()=>MHt,getAllSupers:()=>$we,getArgumentTypesAndTypeParameters:()=>sst,getFixes:()=>PHt,getImportCompletionAction:()=>aWt,getImportKind:()=>PBe,getJSDocTypedefNodes:()=>eWt,getNoopSymbolTrackerWithResolver:()=>_w,getPromoteTypeOnlyCompletionAction:()=>oWt,getSupportedErrorCodes:()=>LHt,importFixName:()=>VBe,importSymbols:()=>Dw,moduleSpecifierToValidIdentifier:()=>jBe,moduleSymbolToValidIdentifier:()=>OBe,parameterShouldGetTypeFromJSDoc:()=>wrt,registerCodeFix:()=>Xo,setJsonCompilerOptionValue:()=>Kwe,setJsonCompilerOptionValues:()=>Hwe,tryGetAutoImportableReferenceFromTypeNode:()=>l9,typeToAutoImportableTypeNode:()=>Z4e});var rs=o({"src/services/_namespaces/ts.codefix.ts"(){zHt(),IHt(),RHt(),VHt(),JHt(),ZHt(),YHt(),QHt(),XHt(),nKt(),fKt(),pKt(),FKt(),WKt(),GKt(),$Kt(),UKt(),tWt(),iWt(),uWt(),AWt(),wWt(),NWt(),PWt(),MWt(),RWt(),VWt(),WWt(),qWt(),rGt(),oGt(),sGt(),cGt(),dGt(),hGt(),fGt(),pGt(),gGt(),EGt(),_Gt(),DGt(),vGt(),yGt(),SGt(),IGt(),OGt(),jGt(),KGt(),WGt(),JGt(),$Gt(),tJt(),iJt(),nJt(),lJt(),vJt(),kJt(),BJt(),TJt(),LJt(),NJt(),PJt(),zJt(),RJt(),OJt(),jJt(),VJt(),HJt(),KJt(),GJt()}});function JJt(t){return!!(t.kind&1)}function $Jt(t){return!!(t.kind&2)}function Fee(t){return!!(t&&t.kind&4)}function qM(t){return!!(t&&t.kind===32)}function UJt(t){return Fee(t)||qM(t)||lTe(t)}function qJt(t){return(Fee(t)||qM(t))&&!!t.isFromPackageJson}function ZJt(t){return!!(t.kind&8)}function YJt(t){return!!(t.kind&16)}function $st(t){return!!(t&&t.kind&64)}function Ust(t){return!!(t&&t.kind&128)}function QJt(t){return!!(t&&t.kind&256)}function lTe(t){return!!(t&&t.kind&512)}function qst(t,u,s,d,f,p,E,v,b){var B,k,T;const M=H0(),z=E||v7(m1(d.getCompilerOptions()));let j=!1,J=0,K=0,Y=0,oe=0;const se=b({tryResolve:ae,skippedAny:()=>j,resolvedAny:()=>K>0,resolvedBeyondLimit:()=>K>vpe}),ge=oe?` (${(Y/oe*100).toFixed(1)}% hit rate)`:"";return(B=u.log)==null||B.call(u,`${t}: resolved ${K} module specifiers, plus ${J} ambient and ${Y} from cache${ge}`),(k=u.log)==null||k.call(u,`${t}: response is ${j?"incomplete":"complete"}`),(T=u.log)==null||T.call(u,`${t}: ${H0()-M}`),se;function ae(Ce,ne){if(ne){const pe=s.getModuleSpecifierForBestExportInfo(Ce,f,v);return pe&&J++,pe||"failed"}const ve=z||p.allowIncompleteCompletions&&K{const j=Si(b.entries,J=>{var K;if(!J.hasAction||!J.source||!J.data||Zst(J.data))return J;if(!v0t(J.name,k))return;const{origin:Y}=H.checkDefined(s0t(J.name,J.data,d,f)),oe=T.get(u.path,J.data.exportMapKey),se=oe&&z.tryResolve(oe,!Md(G4(Y.moduleSymbol.name)));if(se==="skipped")return J;if(!se||se==="failed"){(K=f.log)==null||K.call(f,`Unexpected failure resolving auto import for '${J.name}' from '${J.source}'`);return}const ge={...Y,kind:32,moduleSpecifier:se.moduleSpecifier};return J.data=u0t(ge),J.source=hTe(ge),J.sourceDisplay=[Hm(ge.moduleSpecifier)],J});return z.skippedAny()||(b.isIncomplete=void 0),j});return b.entries=M,b.flags=(b.flags||0)|4,b.optionalReplacementSpan=e0t(B),b}function cTe(t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:t}}function Yst(t,u,s,d,f,p){const E=Ca(t,u);if(!M8(E)&&!Rp(E))return[];const v=Rp(E)?E:E.parent;if(!Rp(v))return[];const b=v.parent;if(!xo(b))return[];const B=ph(t),k=f.includeCompletionsWithSnippetText||void 0,T=ui(v.tags,M=>pg(M)&&M.getEnd()<=u);return Si(b.parameters,M=>{if(!A8(M).length){if(at(M.name)){const z={tabstop:1},j=M.name.text;let J=kK(j,M.initializer,M.dotDotDotToken,B,!1,!1,s,d,f),K=k?kK(j,M.initializer,M.dotDotDotToken,B,!1,!0,s,d,f,z):void 0;return p&&(J=J.slice(1),K&&(K=K.slice(1))),{name:J,kind:"parameter",sortText:z1.LocationPriority,insertText:k?K:void 0,isSnippet:k}}else if(M.parent.parameters.indexOf(M)===T){const z=`param${T}`,j=Qst(z,M.name,M.initializer,M.dotDotDotToken,B,!1,s,d,f),J=k?Qst(z,M.name,M.initializer,M.dotDotDotToken,B,!0,s,d,f):void 0;let K=j.join(r5(d)+"* "),Y=J==null?void 0:J.join(r5(d)+"* ");return p&&(K=K.slice(1),Y&&(Y=Y.slice(1))),{name:K,kind:"parameter",sortText:z1.LocationPriority,insertText:k?Y:void 0,isSnippet:k}}}})}function Qst(t,u,s,d,f,p,E,v,b){if(!f)return[kK(t,s,d,f,!1,p,E,v,b,{tabstop:1})];return B(t,u,s,d,{tabstop:1});function B(T,M,z,j,J){if(Mp(M)&&!j){const Y={tabstop:J.tabstop},oe=kK(T,z,j,f,!0,p,E,v,b,Y);let se=[];for(const ge of M.elements){const ae=k(T,ge,Y);if(ae)se.push(...ae);else{se=void 0;break}}if(se)return J.tabstop=Y.tabstop,[oe,...se]}return[kK(T,z,j,f,!1,p,E,v,b,J)]}function k(T,M,z){if(!M.propertyName&&at(M.name)||at(M.name)){const j=M.propertyName?$N(M.propertyName):M.name.text;if(!j)return;const J=`${T}.${j}`;return[kK(J,M.initializer,M.dotDotDotToken,f,!1,p,E,v,b,z)]}else if(M.propertyName){const j=$N(M.propertyName);return j&&B(`${T}.${j}`,M.name,M.initializer,M.dotDotDotToken,z)}}}function kK(t,u,s,d,f,p,E,v,b,B){if(p&&H.assertIsDefined(B),u&&(t=t$t(t,u)),p&&(t=z2(t)),d){let k="*";if(f)H.assert(!s,"Cannot annotate a rest parameter with type 'Object'."),k="Object";else{if(u){const z=E.getTypeAtLocation(u.parent);if(!(z.flags&16385)){const j=u.getSourceFile(),K=Vm(j,b)===0?268435456:0,Y=E.typeToTypeNode(z,Tn(u,xo),K);if(Y){const oe=p?mpe({removeComments:!0,module:v.module,target:v.target}):Kv({removeComments:!0,module:v.module,target:v.target});Yn(Y,1),k=oe.printNode(4,Y,j)}}}p&&k==="*"&&(k=`\${${B.tabstop++}:${k}}`)}const T=!f&&s?"...":"",M=p?`\${${B.tabstop++}}`:"";return`@param {${T}${k}} ${t} ${M}`}else{const k=p?`\${${B.tabstop++}}`:"";return`@param ${t} ${k}`}}function t$t(t,u){const s=u.getText().trim();return s.includes(` +`)||s.length>80?`[${t}]`:`[${t}=${s}]`}function i$t(t){return{name:$o(t),kind:"keyword",kindModifiers:"",sortText:z1.GlobalsOrKeywords}}function n$t(t,u){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:u,entries:t.slice()}}function Xst(t,u,s){return{kind:4,keywordCompletions:l0t(t,u),isNewIdentifierLocation:s}}function u$t(t){switch(t){case 156:return 8;default:H.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}}function e0t(t){return(t==null?void 0:t.kind)===80?af(t):void 0}function r$t(t,u,s,d,f,p,E,v,b,B){const{symbols:k,contextToken:T,completionKind:M,isInSnippetScope:z,isNewIdentifierLocation:j,location:J,propertyAccessToConvert:K,keywordFilters:Y,symbolToOriginInfoMap:oe,recommendedCompletion:se,isJsxInitializer:ge,isTypeOnlyLocation:ae,isJsxIdentifierExpected:Ce,isRightOfOpenTag:ne,isRightOfDotOrQuestionDot:ve,importStatementCompletion:Se,insideJsDocTagTypeExpression:Ne,symbolToSortTextMap:pe,hasUnresolvedAutoImports:fe}=p;let xe=p.literals;const Be=s.getTypeChecker();if(qj(t.scriptKind)===1){const ft=o$t(J,t);if(ft)return ft}const We=Tn(T,AB);if(We&&(iFe(T)||k2(T,We.expression))){const ft=IX(Be,We.parent.clauses);xe=xe.filter(Ze=>!ft.hasValue(Ze)),k.forEach((Ze,je)=>{if(Ze.valueDeclaration&&K2(Ze.valueDeclaration)){const Ke=Be.getConstantValue(Ze.valueDeclaration);Ke!==void 0&&ft.hasValue(Ke)&&(oe[je]={kind:256})}})}const Ae=xt(),De=t0t(t,d);if(De&&!j&&(!k||k.length===0)&&Y===0)return;const He=fTe(k,Ae,void 0,T,J,b,t,u,s,Rs(d),f,M,E,d,v,ae,K,Ce,ge,Se,se,oe,pe,Ce,ne,B);if(Y!==0)for(const ft of l0t(Y,!Ne&&ph(t)))(ae&&NM(c2(ft.name))||!ae&&H$t(ft.name)||!He.has(ft.name))&&(He.add(ft.name),Nt(Ae,ft,Aee,!0));for(const ft of B$t(T,b))He.has(ft.name)||(He.add(ft.name),Nt(Ae,ft,Aee,!0));for(const ft of xe){const Ze=l$t(t,E,ft);He.add(Ze.name),Nt(Ae,Ze,Aee,!0)}De||s$t(t,J.pos,He,Rs(d),Ae);let Je;if(E.includeCompletionsWithInsertText&&T&&!ne&&!ve&&(Je=Tn(T,qP))){const ft=i0t(Je,t,E,d,u,s,v);ft&&Ae.push(ft.entry)}return{flags:p.flags,isGlobalCompletion:z,isIncomplete:E.allowIncompleteCompletions&&fe?!0:void 0,isMemberCompletion:a$t(M),isNewIdentifierLocation:j,optionalReplacementSpan:e0t(J),entries:Ae}}function t0t(t,u){return!ph(t)||!!iV(t,u)}function i0t(t,u,s,d,f,p,E){const v=t.clauses,b=p.getTypeChecker(),B=b.getTypeAtLocation(t.parent.expression);if(B&&B.isUnion()&&ye(B.types,k=>k.isLiteral())){const k=IX(b,v),T=Rs(d),M=Vm(u,s),z=M1.createImportAdder(u,p,s,f),j=[];for(const ae of B.types)if(ae.flags&1024){H.assert(ae.symbol,"An enum member type should have a symbol"),H.assert(ae.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");const Ce=ae.symbol.valueDeclaration&&b.getConstantValue(ae.symbol.valueDeclaration);if(Ce!==void 0){if(k.hasValue(Ce))continue;k.addValue(Ce)}const ne=M1.typeToAutoImportableTypeNode(b,z,ae,t,T);if(!ne)return;const ve=hpe(ne,T,M);if(!ve)return;j.push(ve)}else if(!k.hasValue(ae.value))switch(typeof ae.value){case"object":j.push(ae.value.negative?q.createPrefixUnaryExpression(41,q.createBigIntLiteral({negative:!1,base10Value:ae.value.base10Value})):q.createBigIntLiteral(ae.value));break;case"number":j.push(ae.value<0?q.createPrefixUnaryExpression(41,q.createNumericLiteral(-ae.value)):q.createNumericLiteral(ae.value));break;case"string":j.push(q.createStringLiteral(ae.value,M===0));break}if(j.length===0)return;const J=Kt(j,ae=>q.createCaseClause(ae,[])),K=g5(f,E==null?void 0:E.options),Y=mpe({removeComments:!0,module:d.module,target:d.target,newLine:QH(K)}),oe=E?ae=>Y.printAndFormatNode(4,ae,u,E):ae=>Y.printNode(4,ae,u),se=Kt(J,(ae,Ce)=>s.includeCompletionsWithSnippetText?`${oe(ae)}$${Ce+1}`:`${oe(ae)}`).join(K);return{entry:{name:`${Y.printNode(4,J[0],u)} ...`,kind:"",sortText:z1.GlobalsOrKeywords,insertText:se,hasAction:z.hasFixes()||void 0,source:"SwitchCases/",isSnippet:s.includeCompletionsWithSnippetText?!0:void 0},importAdder:z}}}function hpe(t,u,s){switch(t.kind){case 183:const d=t.typeName;return fpe(d,u,s);case 199:const f=hpe(t.objectType,u,s),p=hpe(t.indexType,u,s);return f&&p&&q.createElementAccessExpression(f,p);case 201:const E=t.literal;switch(E.kind){case 11:return q.createStringLiteral(E.text,s===0);case 9:return q.createNumericLiteral(E.text,E.numericLiteralFlags)}return;case 196:const v=hpe(t.type,u,s);return v&&(at(v)?v:q.createParenthesizedExpression(v));case 186:return fpe(t.exprName,u,s);case 205:H.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}}function fpe(t,u,s){if(at(t))return t;const d=Qr(t.right.escapedText);return Mle(d,u)?q.createPropertyAccessExpression(fpe(t.left,u,s),d):q.createElementAccessExpression(fpe(t.left,u,s),q.createStringLiteral(d,s===0))}function a$t(t){switch(t){case 0:case 3:case 2:return!0;default:return!1}}function o$t(t,u){const s=Tn(t,d=>{switch(d.kind){case 287:return!0;case 44:case 32:case 80:case 211:return!1;default:return"quit"}});if(s){const d=!!r0(s,32,u),E=s.parent.openingElement.tagName.getText(u)+(d?"":">"),v=af(s.tagName),b={name:E,kind:"class",kindModifiers:void 0,sortText:z1.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:v,entries:[b]}}}function s$t(t,u,s,d,f){wme(t).forEach((p,E)=>{if(p===u)return;const v=Qr(E);!s.has(v)&&Tm(v,d)&&(s.add(v),Nt(f,{name:v,kind:"warning",kindModifiers:"",sortText:z1.JavascriptIdentifiers,isFromUncheckedFile:!0},Aee))})}function dTe(t,u,s){return typeof s=="object"?P2(s)+"n":Wa(s)?OM(t,u,s):JSON.stringify(s)}function l$t(t,u,s){return{name:dTe(t,u,s),kind:"string",kindModifiers:"",sortText:z1.LocationPriority}}function c$t(t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge,ae,Ce,ne){var ve,Se;let Ne,pe,fe=Qhe(s),xe,Be,We=hTe(T),Ae,De,He;const Je=b.getTypeChecker(),ft=T&&YJt(T),Ze=T&&$Jt(T)||k;if(T&&JJt(T))Ne=k?`this${ft?"?.":""}[${r0t(E,oe,B)}]`:`this${ft?"?.":"."}${B}`;else if((Ze||ft)&&z){Ne=Ze?k?`[${r0t(E,oe,B)}]`:`[${B}]`:B,(ft||z.questionDotToken)&&(Ne=`?.${Ne}`);const Ke=r0(z,25,E)||r0(z,29,E);if(!Ke)return;const Gt=La(B,z.name.text)?z.name.end:Ke.end;fe=Vc(Ke.getStart(E),Gt)}if(j&&(Ne===void 0&&(Ne=B),Ne=`{${Ne}}`,typeof j!="boolean"&&(fe=af(j,E))),T&&ZJt(T)&&z){Ne===void 0&&(Ne=B);const Ke=ed(z.pos,E);let Gt="";Ke&&AX(Ke.end,Ke.parent,E)&&(Gt=";"),Gt+=`(await ${z.expression.getText()})`,Ne=k?`${Gt}${Ne}`:`${Gt}${ft?"?.":"."}${Ne}`;const Ie=rr(z.parent,Wx)?z.parent:z.expression;fe=Vc(Ie.getStart(E),z.end)}if(qM(T)&&(Ae=[Hm(T.moduleSpecifier)],J&&({insertText:Ne,replacementSpan:fe}=E$t(B,J,T,K,E,Y,oe),Be=oe.includeCompletionsWithSnippetText?!0:void 0)),(T==null?void 0:T.kind)===64&&(De=!0),se===0&&d&&((ve=ed(d.pos,E,d))==null?void 0:ve.kind)!==28&&(cc(d.parent.parent)||Mm(d.parent.parent)||Of(d.parent.parent)||c5(d.parent)||((Se=Tn(d.parent,Jc))==null?void 0:Se.getLastToken(E))===d||mm(d.parent)&&o0(E,d.getEnd()).line!==o0(E,p).line)&&(We="ObjectLiteralMemberWithComma/",De=!0),oe.includeCompletionsWithClassMemberSnippets&&oe.includeCompletionsWithInsertText&&se===3&&d$t(t,f,E)){let Ke;const Gt=n0t(v,b,Y,oe,B,t,f,p,d,ge);if(Gt)({insertText:Ne,filterText:pe,isSnippet:Be,importAdder:Ke}=Gt),Ke!=null&&Ke.hasFixes()&&(De=!0,We="ClassMemberSnippet/");else return}if(T&&Ust(T)&&({insertText:Ne,isSnippet:Be,labelDetails:He}=T,oe.useLabelDetailsInCompletionEntries||(B=B+He.detail,He=void 0),We="ObjectLiteralMethodSnippet/",u=z1.SortBelow(u)),ae&&!Ce&&oe.includeCompletionsWithSnippetText&&oe.jsxAttributeCompletionStyle&&oe.jsxAttributeCompletionStyle!=="none"&&!(aE(f.parent)&&f.parent.initializer)){let Ke=oe.jsxAttributeCompletionStyle==="braces";const Gt=Je.getTypeOfSymbolAtLocation(t,f);oe.jsxAttributeCompletionStyle==="auto"&&!(Gt.flags&528)&&!(Gt.flags&1048576&&Le(Gt.types,Yt=>!!(Yt.flags&528)))&&(Gt.flags&402653316||Gt.flags&1048576&&ye(Gt.types,Yt=>!!(Yt.flags&402686084||uSe(Yt)))?(Ne=`${z2(B)}=${OM(E,oe,"$1")}`,Be=!0):Ke=!0),Ke&&(Ne=`${z2(B)}={$1}`,Be=!0)}if(Ne!==void 0&&!oe.includeCompletionsWithInsertText)return;(Fee(T)||qM(T))&&(xe=u0t(T),De=!J);const je=Tn(f,Wq);if((je==null?void 0:je.kind)===275){const Ke=c2(B);je&&Ke&&(Ke===135||W0e(Ke))&&(Ne=`${B} as ${B}_`)}return{name:B,kind:D5.getSymbolKind(Je,t,f),kindModifiers:D5.getSymbolModifiers(Je,t),sortText:u,source:We,hasAction:De?!0:void 0,isRecommended:_$t(t,M,Je)||void 0,insertText:Ne,filterText:pe,replacementSpan:fe,sourceDisplay:Ae,labelDetails:He,isSnippet:Be,isPackageJsonImport:qJt(T)||void 0,isImportStatementCompletion:!!J||void 0,data:xe,...ne?{symbol:t}:void 0}}function d$t(t,u,s){return Xn(u)?!1:!!(t.flags&106500)&&(gr(u)||u.parent&&u.parent.parent&&qd(u.parent)&&u===u.parent.name&&u.parent.getLastToken(s)===u.parent.name&&gr(u.parent.parent)||u.parent&&NB(u)&&gr(u.parent))}function n0t(t,u,s,d,f,p,E,v,b,B){const k=Tn(E,gr);if(!k)return;let T,M=f;const z=f,j=u.getTypeChecker(),J=E.getSourceFile(),K=mpe({removeComments:!0,module:s.module,target:s.target,omitTrailingSemicolon:!1,newLine:QH(g5(t,B==null?void 0:B.options))}),Y=M1.createImportAdder(J,u,d,t);let oe;if(d.includeCompletionsWithSnippetText){T=!0;const Se=q.createEmptyStatement();oe=q.createBlock([Se],!0),sce(Se,{kind:0,order:0})}else oe=q.createBlock([],!0);let se=0;const{modifiers:ge,range:ae,decorators:Ce}=h$t(b,J,v),ne=ge&64&&k.modifierFlagsCache&64;let ve=[];if(M1.addNewNodeForMemberSymbol(p,k,J,{program:u,host:t},d,Y,Se=>{let Ne=0;ne&&(Ne|=64),qd(Se)&&j.getMemberOverrideModifierStatus(k,Se,p)===1&&(Ne|=16),ve.length||(se=Se.modifierFlagsCache|Ne),Se=q.replaceModifiers(Se,se),ve.push(Se)},oe,M1.PreserveOptionalFlags.Property,!!ne),ve.length){const Se=p.flags&8192;let Ne=se|16|1;Se?Ne|=1024:Ne|=136;const pe=ge&Ne;if(ge&~Ne)return;if(se&4&&pe&1&&(se&=-5),pe!==0&&!(pe&1)&&(se&=-2),se|=pe,ve=ve.map(xe=>q.replaceModifiers(xe,se)),Ce!=null&&Ce.length){const xe=ve[ve.length-1];kk(xe)&&(ve[ve.length-1]=q.replaceDecoratorsAndModifiers(xe,Ce.concat(h2(xe)||[])))}const fe=131073;B?M=K.printAndFormatSnippetList(fe,q.createNodeArray(ve),J,B):M=K.printSnippetList(fe,q.createNodeArray(ve),J)}return{insertText:M,filterText:z,isSnippet:T,importAdder:Y,eraseRange:ae}}function h$t(t,u,s){if(!t||o0(u,s).line>o0(u,t.getEnd()).line)return{modifiers:0};let d=0,f,p;const E={pos:s,end:s};if(yo(t.parent)&&t.parent.modifiers&&(d|=eE(t.parent.modifiers)&98303,f=t.parent.modifiers.filter(p1)||[],E.pos=Math.min(E.pos,t.parent.modifiers.pos)),p=f$t(t)){const v=g7(p);d&v||(d|=v,E.pos=Math.min(E.pos,t.pos))}return{modifiers:d,decorators:f,range:E.pos!==s?E:void 0}}function f$t(t){if(Qo(t))return t.kind;if(at(t)){const u=Ev(t);if(u&&QD(u))return u}}function m$t(t,u,s,d,f,p,E,v){const b=E.includeCompletionsWithSnippetText||void 0;let B=u;const k=s.getSourceFile(),T=p$t(t,s,k,d,f,E);if(!T)return;const M=mpe({removeComments:!0,module:p.module,target:p.target,omitTrailingSemicolon:!1,newLine:QH(g5(f,v==null?void 0:v.options))});v?B=M.printAndFormatSnippetList(80,q.createNodeArray([T],!0),k,v):B=M.printSnippetList(80,q.createNodeArray([T],!0),k);const z=Kv({removeComments:!0,module:p.module,target:p.target,omitTrailingSemicolon:!0}),j=q.createMethodSignature(void 0,"",T.questionToken,T.typeParameters,T.parameters,T.type),J={detail:z.printNode(4,j,k)};return{isSnippet:b,insertText:B,labelDetails:J}}function p$t(t,u,s,d,f,p){const E=t.getDeclarations();if(!(E&&E.length))return;const v=d.getTypeChecker(),b=E[0],B=ll($a(b),!1),k=v.getWidenedType(v.getTypeOfSymbolAtLocation(t,u)),M=33554432|(Vm(s,p)===0?268435456:0);switch(b.kind){case 171:case 172:case 173:case 174:{let z=k.flags&1048576&&k.types.length<10?v.getUnionType(k.types,2):k;if(z.flags&1048576){const oe=ei(z.types,se=>v.getSignaturesOfType(se,0).length>0);if(oe.length===1)z=oe[0];else return}if(v.getSignaturesOfType(z,0).length!==1)return;const J=v.typeToTypeNode(z,u,M,M1.getNoopSymbolTrackerWithResolver({program:d,host:f}));if(!J||!n3(J))return;let K;if(p.includeCompletionsWithSnippetText){const oe=q.createEmptyStatement();K=q.createBlock([oe],!0),sce(oe,{kind:0,order:0})}else K=q.createBlock([],!0);const Y=J.parameters.map(oe=>q.createParameterDeclaration(void 0,oe.dotDotDotToken,oe.name,void 0,void 0,oe.initializer));return q.createMethodDeclaration(void 0,void 0,B,void 0,void 0,Y,void 0,K)}default:return}}function mpe(t){let u;const s=iu.createWriter(r5(t)),d=Kv(t,s),f={...s,write:M=>p(M,()=>s.write(M)),nonEscapingWrite:s.write,writeLiteral:M=>p(M,()=>s.writeLiteral(M)),writeStringLiteral:M=>p(M,()=>s.writeStringLiteral(M)),writeSymbol:(M,z)=>p(M,()=>s.writeSymbol(M,z)),writeParameter:M=>p(M,()=>s.writeParameter(M)),writeComment:M=>p(M,()=>s.writeComment(M)),writeProperty:M=>p(M,()=>s.writeProperty(M))};return{printSnippetList:E,printAndFormatSnippetList:b,printNode:B,printAndFormatNode:T};function p(M,z){const j=z2(M);if(j!==M){const J=s.getTextPos();z();const K=s.getTextPos();u=Ei(u||(u=[]),{newText:j,span:{start:J,length:K-J}})}else z()}function E(M,z,j){const J=v(M,z,j);return u?iu.applyChanges(J,u):J}function v(M,z,j){return u=void 0,f.clear(),d.writeList(M,z,j,f),f.getText()}function b(M,z,j,J){const K={text:v(M,z,j),getLineAndCharacterOfPosition(ge){return o0(this,ge)}},Y=zX(J,j),oe=Ku(z,ge=>{const ae=iu.assignPositionsToNode(ge);return ld.formatNodeGivenIndentation(ae,K,j.languageVariant,0,0,{...J,options:Y})}),se=u?ac(an(oe,u),(ge,ae)=>G$(ge.span,ae.span)):oe;return iu.applyChanges(K.text,se)}function B(M,z,j){const J=k(M,z,j);return u?iu.applyChanges(J,u):J}function k(M,z,j){return u=void 0,f.clear(),d.writeNode(M,z,j,f),f.getText()}function T(M,z,j,J){const K={text:k(M,z,j),getLineAndCharacterOfPosition(ae){return o0(this,ae)}},Y=zX(J,j),oe=iu.assignPositionsToNode(z),se=ld.formatNodeGivenIndentation(oe,K,j.languageVariant,0,0,{...J,options:Y}),ge=u?ac(an(se,u),(ae,Ce)=>G$(ae.span,Ce.span)):se;return iu.applyChanges(K.text,ge)}}function u0t(t){const u=t.fileName?void 0:G4(t.moduleSymbol.name),s=t.isFromPackageJson?!0:void 0;return qM(t)?{exportName:t.exportName,exportMapKey:t.exportMapKey,moduleSpecifier:t.moduleSpecifier,ambientModuleName:u,fileName:t.fileName,isPackageJsonImport:s}:{exportName:t.exportName,exportMapKey:t.exportMapKey,fileName:t.fileName,ambientModuleName:t.fileName?void 0:G4(t.moduleSymbol.name),isPackageJsonImport:t.isFromPackageJson?!0:void 0}}function g$t(t,u,s){const d=t.exportName==="default",f=!!t.isPackageJsonImport;return Zst(t)?{kind:32,exportName:t.exportName,exportMapKey:t.exportMapKey,moduleSpecifier:t.moduleSpecifier,symbolName:u,fileName:t.fileName,moduleSymbol:s,isDefaultExport:d,isFromPackageJson:f}:{kind:4,exportName:t.exportName,exportMapKey:t.exportMapKey,symbolName:u,fileName:t.fileName,moduleSymbol:s,isDefaultExport:d,isFromPackageJson:f}}function E$t(t,u,s,d,f,p,E){const v=u.replacementSpan,b=z2(OM(f,E,s.moduleSpecifier)),B=s.isDefaultExport?1:s.exportName==="export="?2:0,k=E.includeCompletionsWithSnippetText?"$1":"",T=M1.getImportKind(f,B,p,!0),M=u.couldBeTypeOnlyImportSpecifier,z=u.isTopLevelTypeOnly?` ${$o(156)} `:" ",j=M?`${$o(156)} `:"",J=d?";":"";switch(T){case 3:return{replacementSpan:v,insertText:`import${z}${z2(t)}${k} = require(${b})${J}`};case 1:return{replacementSpan:v,insertText:`import${z}${z2(t)}${k} from ${b}${J}`};case 2:return{replacementSpan:v,insertText:`import${z}* as ${z2(t)} from ${b}${J}`};case 0:return{replacementSpan:v,insertText:`import${z}{ ${j}${z2(t)}${k} } from ${b}${J}`}}}function r0t(t,u,s){return/^\d+$/.test(s)?s:OM(t,u,s)}function _$t(t,u,s){return t===u||!!(t.flags&1048576)&&s.getExportSymbolOfSymbol(t)===u}function hTe(t){if(Fee(t))return G4(t.moduleSymbol.name);if(qM(t))return t.moduleSpecifier;if((t==null?void 0:t.kind)===1)return"ThisProperty/";if((t==null?void 0:t.kind)===64)return"TypeOnlyAlias/"}function fTe(t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J,K,Y,oe,se,ge,ae,Ce,ne,ve,Se=!1){const Ne=H0(),pe=O$t(d,f),fe=qH(E),xe=b.getTypeChecker(),Be=new Map;for(let Ae=0;AeIe.getSourceFile()===f.getSourceFile()));Be.set(ft,Yt),Nt(u,Gt,Aee,!0)}return k("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(H0()-Ne)),{has:Ae=>Be.has(Ae),add:Ae=>Be.set(Ae,!0)};function We(Ae,De){var He;let Je=Ae.flags;if(!ca(f)){if(ec(f.parent))return!0;if(rr(pe,ra)&&Ae.valueDeclaration===pe)return!1;const ft=Ae.valueDeclaration??((He=Ae.declarations)==null?void 0:He[0]);if(pe&&ft&&(Bl(pe)&&Bl(ft)||Qa(pe)&&Qa(ft))){const je=ft.pos,Ke=Qa(pe)?pe.parent.parameters:L7(pe.parent)?void 0:pe.parent.typeParameters;if(je>=pe.pos&&Ke&&jedTe(s,E,se)===f.name);return oe!==void 0?{type:"literal",literal:oe}:G(B,(se,ge)=>{const ae=z[ge],Ce=gpe(se,Rs(v),ae,M,b.isJsxIdentifierExpected);return Ce&&Ce.name===f.name&&(f.source==="ClassMemberSnippet/"&&se.flags&106500||f.source==="ObjectLiteralMethodSnippet/"&&se.flags&8196||hTe(ae)===f.source||f.source==="ObjectLiteralMemberWithComma/")?{type:"symbol",symbol:se,location:T,origin:ae,contextToken:j,previousToken:J,isJsxInitializer:K,isTypeOnlyLocation:Y}:void 0})||{type:"none"}}function v$t(t,u,s,d,f,p,E,v,b){const B=t.getTypeChecker(),k=t.getCompilerOptions(),{name:T,source:M,data:z}=f,{previousToken:j,contextToken:J}=ppe(d,s);if(Pk(s,d,j))return bpe.getStringLiteralCompletionDetails(T,s,d,j,B,k,p,b,v);const K=a0t(t,u,s,d,f,p,v);switch(K.type){case"request":{const{request:Y}=K;switch(Y.kind){case 1:return qv.getJSDocTagNameCompletionDetails(T);case 2:return qv.getJSDocTagCompletionDetails(T);case 3:return qv.getJSDocParameterNameCompletionDetails(T);case 4:return Ge(Y.keywordCompletions,oe=>oe.name===T)?mTe(T,"keyword",5):void 0;default:return H.assertNever(Y)}}case"symbol":{const{symbol:Y,location:oe,contextToken:se,origin:ge,previousToken:ae}=K,{codeActions:Ce,sourceDisplay:ne}=C$t(T,oe,se,ge,Y,t,p,k,s,d,ae,E,v,z,M,b),ve=lTe(ge)?ge.symbolName:Y.name;return pTe(Y,ve,B,s,oe,b,Ce,ne)}case"literal":{const{literal:Y}=K;return mTe(dTe(s,v,Y),"string",typeof Y=="string"?8:7)}case"cases":{const Y=i0t(J.parent,s,v,t.getCompilerOptions(),p,t,void 0);if(Y!=null&&Y.importAdder.hasFixes()){const{entry:oe,importAdder:se}=Y,ge=iu.ChangeTracker.with({host:p,formatContext:E,preferences:v},se.writeFixes);return{name:oe.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:ge,description:Rk([F.Includes_imports_of_types_referenced_by_0,T])}]}}return{name:T,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0}}case"none":return bTe().some(Y=>Y.name===T)?mTe(T,"keyword",5):void 0;default:H.assertNever(K)}}function mTe(t,u,s){return See(t,"",u,[bf(t,s)])}function pTe(t,u,s,d,f,p,E,v){const{displayParts:b,documentation:B,symbolKind:k,tags:T}=s.runWithCancellationToken(p,M=>D5.getSymbolDisplayPartsDocumentationAndSymbolKind(M,t,d,f,f,7));return See(u,D5.getSymbolModifiers(s,t),k,b,B,T,E,v)}function See(t,u,s,d,f,p,E,v){return{name:t,kindModifiers:u,kind:s,displayParts:d,documentation:f,tags:p,codeActions:E,source:v,sourceDisplay:v}}function C$t(t,u,s,d,f,p,E,v,b,B,k,T,M,z,j,J){if(z!=null&&z.moduleSpecifier&&k&&g0t(s||k,b).replacementSpan)return{codeActions:void 0,sourceDisplay:[Hm(z.moduleSpecifier)]};if(j==="ClassMemberSnippet/"){const{importAdder:Ce,eraseRange:ne}=n0t(E,p,v,M,t,f,u,B,s,T);if(Ce||ne)return{sourceDisplay:void 0,codeActions:[{changes:iu.ChangeTracker.with({host:E,formatContext:T,preferences:M},Se=>{Ce&&Ce.writeFixes(Se),ne&&Se.deleteRange(b,ne)}),description:Rk([F.Includes_imports_of_types_referenced_by_0,t])}]}}if($st(d)){const Ce=M1.getPromoteTypeOnlyCompletionAction(b,d.declaration.name,p,E,T,M);return H.assertIsDefined(Ce,"Expected to have a code action for promoting type-only alias"),{codeActions:[Ce],sourceDisplay:void 0}}if(j==="ObjectLiteralMemberWithComma/"&&s){const Ce=iu.ChangeTracker.with({host:E,formatContext:T,preferences:M},ne=>ne.insertText(b,s.end,","));if(Ce)return{sourceDisplay:void 0,codeActions:[{changes:Ce,description:Rk([F.Add_missing_comma_for_object_member_completion_0,t])}]}}if(!d||!(Fee(d)||qM(d)))return{codeActions:void 0,sourceDisplay:void 0};const K=d.isFromPackageJson?E.getPackageJsonAutoImportProvider().getTypeChecker():p.getTypeChecker(),{moduleSymbol:Y}=d,oe=K.getMergedSymbol(Q1(f.exportSymbol||f,K)),se=(s==null?void 0:s.kind)===30&&Ph(s.parent),{moduleSpecifier:ge,codeAction:ae}=M1.getImportCompletionAction(oe,Y,z==null?void 0:z.exportMapKey,b,t,se,E,p,T,k&&at(k)?k.getStart(b):B,M,J);return H.assert(!(z!=null&&z.moduleSpecifier)||ge===z.moduleSpecifier),{sourceDisplay:[Hm(ge)],codeActions:[ae]}}function b$t(t,u,s,d,f,p,E){const v=a0t(t,u,s,d,f,p,E);return v.type==="symbol"?v.symbol:void 0}function y$t(t,u,s){return G(u&&(u.isUnion()?u.types:[u]),d=>{const f=d&&d.symbol;return f&&f.flags&424&&!Wye(f)?gTe(f,t,s):void 0})}function k$t(t,u,s,d){const{parent:f}=t;switch(t.kind){case 80:return yX(t,d);case 64:switch(f.kind){case 260:return d.getContextualType(f.initializer);case 226:return d.getTypeAtLocation(f.left);case 291:return d.getContextualTypeForJsxAttribute(f);default:return}case 105:return d.getContextualType(f);case 84:const p=rr(f,AB);return p?_fe(p,d):void 0;case 19:return ZP(f)&&!u3(f.parent)&&!j2(f.parent)?d.getContextualTypeForJsxAttribute(f.parent):void 0;default:const E=TK.getArgumentInfoForCompletions(t,u,s);return E?d.getContextualTypeForArgumentAtIndex(E.invocation,E.argumentIndex+(t.kind===28?1:0)):kX(t.kind)&&eu(f)&&kX(f.operatorToken.kind)?d.getTypeAtLocation(f.left):d.getContextualType(t,4)||d.getContextualType(t)}}function gTe(t,u,s){const d=s.getAccessibleSymbolChain(t,u,67108863,!1);return d?Pn(d):t.parent&&(F$t(t.parent)?t:gTe(t.parent,u,s))}function F$t(t){var u;return!!((u=t.declarations)!=null&&u.some(s=>s.kind===312))}function o0t(t,u,s,d,f,p,E,v,b,B){const k=t.getTypeChecker(),T=t0t(s,d);let M=H0(),z=Ca(s,f);u("getCompletionData: Get current token: "+(H0()-M)),M=H0();const j=f5(s,f,z);u("getCompletionData: Is inside comment: "+(H0()-M));let J=!1,K=!1;if(j){if(tSe(s,f)){if(s.text.charCodeAt(f-1)===64)return{kind:1};{const it=X4(f,s);if(!/[^*|\s(/)]/.test(s.text.substring(it,f)))return{kind:2}}}const X=w$t(z,f);if(X){if(X.tagName.pos<=f&&f<=X.tagName.end)return{kind:1};const it=Vi(X);if(it&&(z=Ca(s,f),(!z||!Q3(z)&&(z.parent.kind!==355||z.parent.name!==z))&&(J=Oe(it))),!J&&pg(X)&&(Yl(X.name)||X.name.pos<=f&&f<=X.name.end))return{kind:3,tag:X}}if(!J){u("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return}}M=H0();const Y=!J&&ph(s),oe=ppe(f,s),se=oe.previousToken;let ge=oe.contextToken;u("getCompletionData: Get previous token: "+(H0()-M));let ae=z,Ce,ne=!1,ve=!1,Se=!1,Ne=!1,pe=!1,fe=!1,xe,Be=rf(s,f),We=0,Ae=!1,De=0;if(ge){const X=g0t(ge,s);if(X.keywordCompletion){if(X.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[i$t(X.keywordCompletion)],isNewIdentifierLocation:X.isNewIdentifierLocation};We=u$t(X.keywordCompletion)}if(X.replacementSpan&&p.includeCompletionsForImportStatements&&p.includeCompletionsWithInsertText&&(De|=2,xe=X,Ae=X.isNewIdentifierLocation),!X.replacementSpan&&Ba(ge))return u("Returning an empty list because completion was requested in an invalid position."),We?Xst(We,Y,vo()):void 0;let it=ge.parent;if(ge.kind===25||ge.kind===29)switch(ne=ge.kind===25,ve=ge.kind===29,it.kind){case 211:Ce=it,ae=Ce.expression;const Ct=vP(Ce);if(Yl(Ct)||(Po(ae)||xo(ae))&&ae.end===ge.pos&&ae.getChildCount(s)&&Cr(ae.getChildren(s)).kind!==22)return;break;case 166:ae=it.left;break;case 267:ae=it.name;break;case 205:ae=it;break;case 236:ae=it.getFirstToken(s),H.assert(ae.kind===102||ae.kind===105);break;default:return}else if(!xe){if(it&&it.kind===211&&(ge=it,it=it.parent),z.parent===Be)switch(z.kind){case 32:(z.parent.kind===284||z.parent.kind===286)&&(Be=z);break;case 44:z.parent.kind===285&&(Be=z);break}switch(it.kind){case 287:ge.kind===44&&(Ne=!0,Be=ge);break;case 226:if(!p0t(it))break;case 285:case 284:case 286:fe=!0,ge.kind===30&&(Se=!0,Be=ge);break;case 294:case 293:(se.kind===20||se.kind===80&&se.parent.kind===291)&&(fe=!0);break;case 291:if(it.initializer===se&&se.endMk(X?v.getPackageJsonAutoImportProvider():t,v));if(ne||ve)xn();else if(Se)je=k.getJsxIntrinsicTagNamesAt(Be),H.assertEachIsDefined(je,"getJsxIntrinsicTagNames() should all be defined"),ki(),Je=1,We=0;else if(Ne){const X=ge.parent.parent.openingElement.tagName,it=k.getSymbolAtLocation(X);it&&(je=[it]),Je=1,We=0}else if(!ki())return We?Xst(We,Y,Ae):void 0;u("getCompletionData: Semantic work: "+(H0()-He));const It=se&&k$t(se,f,s,k),ht=!rr(se,t0)&&!fe?Si(It&&(It.isUnion()?It.types:[It]),X=>X.isLiteral()&&!(X.flags&1024)?X.value:void 0):[],Ut=se&&It&&y$t(se,It,k);return{kind:0,symbols:je,completionKind:Je,isInSnippetScope:K,propertyAccessToConvert:Ce,isNewIdentifierLocation:Ae,location:Be,keywordFilters:We,literals:ht,symbolToOriginInfoMap:Gt,recommendedCompletion:Ut,previousToken:se,contextToken:ge,isJsxInitializer:pe,insideJsDocTagTypeExpression:J,symbolToSortTextMap:Yt,isTypeOnlyLocation:lt,isJsxIdentifierExpected:fe,isRightOfOpenTag:Se,isRightOfDotOrQuestionDot:ne||ve,importStatementCompletion:xe,hasUnresolvedAutoImports:Ze,flags:De};function Ni(X){switch(X.kind){case 348:case 355:case 349:case 351:case 353:case 356:case 357:return!0;case 352:return!!X.constraint;default:return!1}}function Vi(X){if(Ni(X)){const it=gg(X)?X.constraint:X.typeExpression;return it&&it.kind===316?it:void 0}if(wB(X)||Lce(X))return X.class}function xn(){Je=2;const X=Mx(ae),it=X&&!ae.isTypeOf||U_(ae.parent)||IH(ge,s,k),Ct=YQ(ae);if(om(ae)||X||zu(ae)){const ct=Ec(ae.parent);ct&&(Ae=!0);let Qt=k.getSymbolAtLocation(ae);if(Qt&&(Qt=Q1(Qt,k),Qt.flags&1920)){const Ti=k.getExportsOfModule(Qt);H.assertEachIsDefined(Ti,"getExportsOfModule() should all be defined");const Ui=Iu=>k.isValidPropertyAccess(X?ae:ae.parent,Iu.name),Sn=Iu=>_Te(Iu,k),du=ct?Iu=>{var Er;return!!(Iu.flags&1920)&&!((Er=Iu.declarations)!=null&&Er.every(er=>er.parent===ae.parent))}:Ct?Iu=>Sn(Iu)||Ui(Iu):it||J?Sn:Ui;for(const Iu of Ti)du(Iu)&&je.push(Iu);if(!it&&!J&&Qt.declarations&&Qt.declarations.some(Iu=>Iu.kind!==312&&Iu.kind!==267&&Iu.kind!==266)){let Iu=k.getTypeOfSymbolAtLocation(Qt,ae).getNonOptionalType(),Er=!1;if(Iu.isNullableType()){const er=ne&&!ve&&p.includeAutomaticOptionalChainCompletions!==!1;(er||ve)&&(Iu=Iu.getNonNullableType(),er&&(Er=!0))}$n(Iu,!!(ae.flags&65536),Er)}return}}if(!it||sk(ae)){k.tryGetThisTypeAt(ae,!1);let ct=k.getTypeAtLocation(ae).getNonOptionalType();if(it)$n(ct.getNonNullableType(),!1,!1);else{let Qt=!1;if(ct.isNullableType()){const Ti=ne&&!ve&&p.includeAutomaticOptionalChainCompletions!==!1;(Ti||ve)&&(ct=ct.getNonNullableType(),Ti&&(Qt=!0))}$n(ct,!!(ae.flags&65536),Qt)}}}function $n(X,it,Ct){Ae=!!X.getStringIndexType(),ve&&Ge(X.getCallSignatures())&&(Ae=!0);const ct=ae.kind===205?ae:ae.parent;if(T)for(const Qt of X.getApparentProperties())k.isValidPropertyAccessForCompletions(ct,X,Qt)&&rn(Qt,!1,Ct);else je.push(...ei(Dpe(X,k),Qt=>k.isValidPropertyAccessForCompletions(ct,X,Qt)));if(it&&p.includeCompletionsWithInsertText){const Qt=k.getPromisedTypeOfPromise(X);if(Qt)for(const Ti of Qt.getApparentProperties())k.isValidPropertyAccessForCompletions(ct,Qt,Ti)&&rn(Ti,!0,Ct)}}function rn(X,it,Ct){var ct;const Qt=G(X.declarations,du=>rr($a(du),Ns));if(Qt){const du=Pi(Qt.expression),Iu=du&&k.getSymbolAtLocation(du),Er=Iu&&gTe(Iu,ge,k),er=Er&&Zo(Er);if(er&&Pp(Ie,er)){const da=je.length;je.push(Er);const Wu=Er.parent;if(!Wu||!jH(Wu)||k.tryGetMemberInModuleExportsAndProperties(Er.name,Wu)!==Er)Gt[da]={kind:Sn(2)};else{const Ra=Md(G4(Wu.name))?(ct=$U(Wu))==null?void 0:ct.fileName:void 0,{moduleSpecifier:wn}=(Ke||(Ke=M1.createImportSpecifierResolver(s,t,v,p))).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:Ra,isFromPackageJson:!1,moduleSymbol:Wu,symbol:Er,targetFlags:Q1(Er,k).flags}],f,Bv(Be))||{};if(wn){const Rr={kind:Sn(6),moduleSymbol:Wu,isDefaultExport:!1,symbolName:Er.name,exportName:Er.name,fileName:Ra,moduleSpecifier:wn};Gt[da]=Rr}}}else if(p.includeCompletionsWithInsertText){if(er&&Ie.has(er))return;Ui(X),Ti(X),je.push(X)}}else Ui(X),Ti(X),je.push(X);function Ti(du){z$t(du)&&(Yt[Zo(du)]=z1.LocalDeclarationPriority)}function Ui(du){p.includeCompletionsWithInsertText&&(it&&Pp(Ie,Zo(du))?Gt[je.length]={kind:Sn(8)}:Ct&&(Gt[je.length]={kind:16}))}function Sn(du){return Ct?du|16:du}}function Pi(X){return at(X)?X:zu(X)?Pi(X.expression):void 0}function ki(){return(Et()||Mt()||Fr()||qt()||Xt()||Yu()||Pe()||oa()||(Sa(),1))===1}function Yu(){return gt(ge)?(Je=5,Ae=!0,We=4,1):0}function oa(){const X=me(ge),it=X&&k.getContextualType(X.attributes);if(!it)return 0;const Ct=X&&k.getContextualType(X.attributes,4);return je=an(je,de(_pe(it,Ct,X.attributes,k),X.attributes.properties)),on(),Je=3,Ae=!1,1}function Fr(){return xe?(Ae=!0,Cn(),1):0}function Sa(){We=ii(ge)?5:1,Je=1,Ae=vo(),se!==ge&&H.assert(!!se,"Expected 'contextToken' to be defined when different from 'previousToken'.");const X=se!==ge?se.getStart():f,it=aa(ge,X,s)||s;K=On(it);const Ct=(lt?0:111551)|788968|1920|2097152,ct=se&&!Bv(se);je=an(je,k.getSymbolsInScope(it,Ct)),H.assertEachIsDefined(je,"getSymbolsInScope() should all be defined");for(let Qt=0;QtUi.getSourceFile()===s)&&(Yt[Zo(Ti)]=z1.GlobalsOrKeywords),ct&&!(Ti.flags&111551)){const Ui=Ti.declarations&&Le(Ti.declarations,PU);if(Ui){const Sn={kind:64,declaration:Ui};Gt[Qt]=Sn}}}if(p.includeCompletionsWithInsertText&&it.kind!==312){const Qt=k.tryGetThisTypeAt(it,!1,gr(it.parent)?it:void 0);if(Qt&&!M$t(Qt,s,k))for(const Ti of Dpe(Qt,k))Gt[je.length]={kind:1},je.push(Ti),Yt[Zo(Ti)]=z1.SuggestedClassMembers}Cn(),lt&&(We=ge&&qy(ge.parent)?6:7)}function bt(){return xe?!0:ft||!p.includeCompletionsForModuleExports?!1:s.externalModuleIndicator||s.commonJsModuleIndicator||nfe(t.getCompilerOptions())?!0:oSe(t)}function On(X){switch(X.kind){case 312:case 228:case 294:case 241:return!0;default:return ua(X)}}function Ln(){return J||!!xe&&p2(Be.parent)||!Fi(ge)&&(IH(ge,s,k)||U_(Be)||Dn(ge))}function Fi(X){return X&&(X.kind===114&&(X.parent.kind===186||kB(X.parent))||X.kind===131&&X.parent.kind===182)}function Dn(X){if(X){const it=X.parent.kind;switch(X.kind){case 59:return it===172||it===171||it===169||it===260||u7(it);case 64:return it===265;case 130:return it===234;case 30:return it===183||it===216;case 96:return it===168;case 152:return it===238}}return!1}function Cn(){var X,it;if(!bt()||(H.assert(!(E!=null&&E.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),E&&!E.source))return;De|=1;const ct=se===ge&&xe?"":se&&at(se)?se.text.toLowerCase():"",Qt=(X=v.getModuleSpecifierCache)==null?void 0:X.call(v),Ti=XH(s,v,t,p,B),Ui=(it=v.getPackageJsonAutoImportProvider)==null?void 0:it.call(v),Sn=E?void 0:VM(s,p,v);qst("collectAutoImports",v,Ke||(Ke=M1.createImportSpecifierResolver(s,t,v,p)),t,f,p,!!xe,Bv(Be),Iu=>{Ti.search(s.path,Se,(Er,er)=>{if(!Tm(Er,Rs(v.getCompilationSettings()))||!E&&h7(Er)||!lt&&!xe&&!(er&111551)||lt&&!(er&790504))return!1;const da=Er.charCodeAt(0);return Se&&(da<65||da>90)?!1:E?!0:v0t(Er,ct)},(Er,er,da,Wu)=>{if(E&&!Ge(Er,Fn=>E.source===G4(Fn.moduleSymbol.name))||(Er=ei(Er,du),!Er.length))return;const Ra=Iu.tryResolve(Er,da)||{};if(Ra==="failed")return;let wn=Er[0],Rr;Ra!=="skipped"&&({exportInfo:wn=Er[0],moduleSpecifier:Rr}=Ra);const as=wn.exportKind===1,Bo=as&&oB(wn.symbol)||wn.symbol;tu(Bo,{kind:Rr?32:4,moduleSpecifier:Rr,symbolName:er,exportMapKey:Wu,exportName:wn.exportKind===2?"export=":wn.symbol.name,fileName:wn.moduleFileName,isDefaultExport:as,moduleSymbol:wn.moduleSymbol,isFromPackageJson:wn.isFromPackageJson})}),Ze=Iu.skippedAny(),De|=Iu.resolvedAny()?8:0,De|=Iu.resolvedBeyondLimit()?16:0});function du(Iu){const Er=rr(Iu.moduleSymbol.valueDeclaration,ca);if(!Er){const er=G4(Iu.moduleSymbol.name);return a3.nodeCoreModules.has(er)&&La(er,"node:")!==MX(s,t)?!1:Sn?Sn.allowsImportingAmbientModule(Iu.moduleSymbol,St(Iu.isFromPackageJson)):!0}return Pfe(Iu.isFromPackageJson?Ui:t,s,Er,p,Sn,St(Iu.isFromPackageJson),Qt)}}function tu(X,it){const Ct=Zo(X);Yt[Ct]!==z1.GlobalsOrKeywords&&(Gt[je.length]=it,Yt[Ct]=xe?z1.LocationPriority:z1.AutoImportSuggestions,je.push(X))}function sa(X,it){Xn(Be)||X.forEach(Ct=>{if(!Da(Ct))return;const ct=gpe(Ct,Rs(d),void 0,0,!1);if(!ct)return;const{name:Qt}=ct,Ti=m$t(Ct,Qt,it,t,v,d,p,b);if(!Ti)return;const Ui={kind:128,...Ti};De|=32,Gt[je.length]=Ui,je.push(Ct)})}function Da(X){return!!(X.flags&8196)}function aa(X,it,Ct){let ct=X;for(;ct&&!Khe(ct,it,Ct);)ct=ct.parent;return ct}function Ba(X){const it=H0(),Ct=Qe(X)||ni(X)||jt(X)||Yo(X)||QZ(X);return u("getCompletionsAtPosition: isCompletionListBlocker: "+(H0()-it)),Ct}function Yo(X){if(X.kind===12)return!0;if(X.kind===32&&X.parent){if(Be===X.parent&&(Be.kind===286||Be.kind===285))return!1;if(X.parent.kind===286)return Be.parent.kind!==286;if(X.parent.kind===287||X.parent.kind===285)return!!X.parent.parent&&X.parent.parent.kind===284}return!1}function vo(){if(ge){const X=ge.parent.kind,it=Epe(ge);switch(it){case 28:return X===213||X===176||X===214||X===209||X===226||X===184||X===210;case 21:return X===213||X===176||X===214||X===217||X===196;case 23:return X===209||X===181||X===167;case 144:case 145:case 102:return!0;case 25:return X===267;case 19:return X===263||X===210;case 64:return X===260||X===226;case 16:return X===228;case 17:return X===239;case 134:return X===174||X===304;case 42:return X===174}if(Bee(it))return!0}return!1}function Qe(X){return(fce(X)||$se(X))&&(PH(X,f)||f===X.end&&(!!X.isUnterminated||fce(X)))}function Et(){const X=N$t(ge);if(!X)return 0;const Ct=(bB(X.parent)?X.parent:void 0)||X,ct=m0t(Ct,k);if(!ct)return 0;const Qt=k.getTypeFromTypeNode(Ct),Ti=Dpe(ct,k),Ui=Dpe(Qt,k),Sn=new Set;return Ui.forEach(du=>Sn.add(du.escapedName)),je=an(je,ei(Ti,du=>!Sn.has(du.escapedName))),Je=0,Ae=!0,1}function Mt(){const X=je.length,it=A$t(ge,f,s);if(!it)return 0;Je=0;let Ct,ct;if(it.kind===210){const Qt=I$t(it,k);if(Qt===void 0)return it.flags&67108864?2:(ft=!0,0);const Ti=k.getContextualType(it,4),Ui=(Ti||Qt).getStringIndexType(),Sn=(Ti||Qt).getNumberIndexType();if(Ae=!!Ui||!!Sn,Ct=_pe(Qt,Ti,it,k),ct=it.properties,Ct.length===0&&!Sn)return ft=!0,0}else{H.assert(it.kind===206),Ae=!1;const Qt=QE(it.parent);if(!K8(Qt))return H.fail("Root declaration is not variable-like.");let Ti=Lx(Qt)||!!h1(Qt)||Qt.parent.parent.kind===250;if(!Ti&&Qt.kind===169&&(Wt(Qt.parent)?Ti=!!k.getContextualType(Qt.parent):(Qt.parent.kind===174||Qt.parent.kind===178)&&(Ti=Wt(Qt.parent.parent)&&!!k.getContextualType(Qt.parent.parent))),Ti){const Ui=k.getTypeAtLocation(it);if(!Ui)return 2;Ct=k.getPropertiesOfType(Ui).filter(Sn=>k.isPropertyAccessible(it,!1,!1,Ui,Sn)),ct=it.elements}}if(Ct&&Ct.length>0){const Qt=$i(Ct,H.checkDefined(ct));je=an(je,Qt),on(),it.kind===210&&p.includeCompletionsWithObjectLiteralMethodSnippets&&p.includeCompletionsWithInsertText&&(te(X),sa(Qt,it))}return 1}function qt(){if(!ge)return 0;const X=ge.kind===19||ge.kind===28?rr(ge.parent,Wq):fX(ge)?rr(ge.parent.parent,Wq):void 0;if(!X)return 0;fX(ge)||(We=8);const{moduleSpecifier:it}=X.kind===275?X.parent.parent:X.parent;if(!it)return Ae=!0,X.kind===275?2:0;const Ct=k.getSymbolAtLocation(it);if(!Ct)return Ae=!0,2;Je=3,Ae=!1;const ct=k.getExportsAndPropertiesOfModule(Ct),Qt=new Set(X.elements.filter(Ui=>!Oe(Ui)).map(Ui=>(Ui.propertyName||Ui.name).escapedText)),Ti=ct.filter(Ui=>Ui.escapedName!=="default"&&!Qt.has(Ui.escapedName));return je=an(je,Ti),Ti.length||(We=0),1}function Xt(){var X;const it=ge&&(ge.kind===19||ge.kind===28)?rr(ge.parent,Q4):void 0;if(!it)return 0;const Ct=Tn(it,lg(ca,Ec));return Je=5,Ae=!1,(X=Ct.locals)==null||X.forEach((ct,Qt)=>{var Ti,Ui;je.push(ct),(Ui=(Ti=Ct.symbol)==null?void 0:Ti.exports)!=null&&Ui.has(Qt)&&(Yt[Zo(ct)]=z1.OptionalMember)}),1}function Pe(){const X=L$t(s,ge,Be,f);if(!X)return 0;if(Je=3,Ae=!0,We=ge.kind===42?0:gr(X)?2:3,!gr(X))return 1;const it=ge.kind===27?ge.parent.parent:ge.parent;let Ct=qd(it)?gh(it):0;if(ge.kind===80&&!Oe(ge))switch(ge.getText()){case"private":Ct=Ct|2;break;case"static":Ct=Ct|256;break;case"override":Ct=Ct|16;break}if(zl(it)&&(Ct|=256),!(Ct&2)){const ct=gr(X)&&Ct&16?jy(Yg(X)):nP(X),Qt=Ku(ct,Ti=>{const Ui=k.getTypeAtLocation(Ti);return Ct&256?(Ui==null?void 0:Ui.symbol)&&k.getPropertiesOfType(k.getTypeOfSymbolAtLocation(Ui.symbol,X)):Ui&&k.getPropertiesOfType(Ui)});je=an(je,we(Qt,X.members,Ct)),L(je,(Ti,Ui)=>{const Sn=Ti==null?void 0:Ti.valueDeclaration;if(Sn&&qd(Sn)&&Sn.name&&Ns(Sn.name)){const du={kind:512,symbolName:k.symbolToString(Ti)};Gt[Ui]=du}})}return 1}function et(X){return!!X.parent&&Qa(X.parent)&&dc(X.parent.parent)&&(jN(X.kind)||Q3(X))}function gt(X){if(X){const it=X.parent;switch(X.kind){case 21:case 28:return dc(X.parent)?X.parent:void 0;default:if(et(X))return it.parent}}}function ii(X){if(X){let it;const Ct=Tn(X.parent,ct=>gr(ct)?"quit":W0(ct)&&it===ct.body?!0:(it=ct,!1));return Ct&&Ct}}function me(X){if(X){const it=X.parent;switch(X.kind){case 32:case 31:case 44:case 80:case 211:case 292:case 291:case 293:if(it&&(it.kind===285||it.kind===286)){if(X.kind===32){const Ct=ed(X.pos,s,void 0);if(!it.typeArguments||Ct&&Ct.kind===44)break}return it}else if(it.kind===291)return it.parent.parent;break;case 11:if(it&&(it.kind===291||it.kind===293))return it.parent.parent;break;case 20:if(it&&it.kind===294&&it.parent&&it.parent.kind===291)return it.parent.parent.parent;if(it&&it.kind===293)return it.parent.parent;break}}}function ni(X){const it=X.parent,Ct=it.kind;switch(X.kind){case 28:return Ct===260||pi(X)||Ct===243||Ct===266||mt(Ct)||Ct===264||Ct===207||Ct===265||gr(it)&&!!it.typeParameters&&it.typeParameters.end>=X.pos;case 25:return Ct===207;case 59:return Ct===208;case 23:return Ct===207;case 21:return Ct===299||mt(Ct);case 19:return Ct===266;case 30:return Ct===263||Ct===231||Ct===264||Ct===265||u7(Ct);case 126:return Ct===172&&!gr(it.parent);case 26:return Ct===169||!!it.parent&&it.parent.kind===207;case 125:case 123:case 124:return Ct===169&&!dc(it.parent);case 130:return Ct===276||Ct===281||Ct===274;case 139:case 153:return!xpe(X);case 80:if(Ct===276&&X===it.name&&X.text==="type")return!1;break;case 86:case 94:case 120:case 100:case 115:case 102:case 121:case 87:case 140:return!0;case 156:return Ct!==276;case 42:return xo(X.parent)&&!cc(X.parent)}if(Bee(Epe(X))&&xpe(X)||et(X)&&(!at(X)||jN(Epe(X))||Oe(X)))return!1;switch(Epe(X)){case 128:case 86:case 87:case 138:case 94:case 100:case 120:case 121:case 123:case 124:case 125:case 126:case 115:return!0;case 134:return yo(X.parent)}if(Tn(X.parent,gr)&&X===se&&_i(X,f))return!1;const Qt=yv(X.parent,172);if(Qt&&X!==se&&gr(se.parent.parent)&&f<=se.end){if(_i(X,se.end))return!1;if(X.kind!==64&&(dH(Qt)||HU(Qt)))return!0}return Q3(X)&&!mm(X.parent)&&!aE(X.parent)&&!((gr(X.parent)||Dh(X.parent)||Bl(X.parent))&&(X!==se||f>se.end))}function _i(X,it){return X.kind!==64&&(X.kind===27||!$4(X.end,it,s))}function mt(X){return u7(X)&&X!==176}function jt(X){if(X.kind===9){const it=X.getFullText();return it.charAt(it.length-1)==="."}return!1}function pi(X){return X.parent.kind===261&&!IH(X,s,k)}function $i(X,it){if(it.length===0)return X;const Ct=new Set,ct=new Set;for(const Ti of it){if(Ti.kind!==303&&Ti.kind!==304&&Ti.kind!==208&&Ti.kind!==174&&Ti.kind!==177&&Ti.kind!==178&&Ti.kind!==305||Oe(Ti))continue;let Ui;if(c5(Ti))Yi(Ti,Ct);else if(Os(Ti)&&Ti.propertyName)Ti.propertyName.kind===80&&(Ui=Ti.propertyName.escapedText);else{const Sn=$a(Ti);Ui=Sn&&Qg(Sn)?aP(Sn):void 0}Ui!==void 0&&ct.add(Ui)}const Qt=X.filter(Ti=>!ct.has(Ti.escapedName));return le(Ct,Qt),Qt}function Yi(X,it){const Ct=X.expression,ct=k.getSymbolAtLocation(Ct),Qt=ct&&k.getTypeOfSymbolAtLocation(ct,Ct),Ti=Qt&&Qt.properties;Ti&&Ti.forEach(Ui=>{it.add(Ui.name)})}function on(){je.forEach(X=>{if(X.flags&16777216){const it=Zo(X);Yt[it]=Yt[it]??z1.OptionalMember}})}function le(X,it){if(X.size!==0)for(const Ct of it)X.has(Ct.name)&&(Yt[Zo(Ct)]=z1.MemberDeclaredBySpreadAssignment)}function te(X){for(let it=X;it!ct.has(Qt.escapedName)&&!!Qt.declarations&&!(s4(Qt)&2)&&!(Qt.valueDeclaration&&mh(Qt.valueDeclaration)))}function de(X,it){const Ct=new Set,ct=new Set;for(const Ti of it)Oe(Ti)||(Ti.kind===291?Ct.add(PP(Ti.name)):j7(Ti)&&Yi(Ti,ct));const Qt=X.filter(Ti=>!Ct.has(Ti.escapedName));return le(ct,Qt),Qt}function Oe(X){return X.getStart(s)<=f&&f<=X.getEnd()}}function A$t(t,u,s){var d;if(t){const{parent:f}=t;switch(t.kind){case 19:case 28:if(bs(f)||Mp(f))return f;break;case 42:return cc(f)?rr(f.parent,bs):void 0;case 134:return rr(f.parent,bs);case 80:if(t.text==="async"&&mm(t.parent))return t.parent.parent;{if(bs(t.parent.parent)&&(c5(t.parent)||mm(t.parent)&&o0(s,t.getEnd()).line!==o0(s,u).line))return t.parent.parent;const E=Tn(f,Jc);if((E==null?void 0:E.getLastToken(s))===t&&bs(E.parent))return E.parent}break;default:if((d=f.parent)!=null&&d.parent&&(cc(f.parent)||Mm(f.parent)||Of(f.parent))&&bs(f.parent.parent))return f.parent.parent;if(c5(f)&&bs(f.parent))return f.parent;const p=Tn(f,Jc);if(t.kind!==59&&(p==null?void 0:p.getLastToken(s))===t&&bs(p.parent))return p.parent}}}function ppe(t,u){const s=ed(t,u);return s&&t<=s.end&&(G_(s)||nf(s.kind))?{contextToken:ed(s.getFullStart(),u,void 0),previousToken:s}:{contextToken:s,previousToken:s}}function s0t(t,u,s,d){const f=u.isPackageJsonImport?d.getPackageJsonAutoImportProvider():s,p=f.getTypeChecker(),E=u.ambientModuleName?p.tryFindAmbientModule(u.ambientModuleName):u.fileName?p.getMergedSymbol(H.checkDefined(f.getSourceFile(u.fileName)).symbol):void 0;if(!E)return;let v=u.exportName==="export="?p.resolveExternalModuleSymbol(E):p.tryGetMemberInModuleExportsAndProperties(u.exportName,E);return v?(v=u.exportName==="default"&&oB(v)||v,{symbol:v,origin:g$t(u,t,E)}):void 0}function gpe(t,u,s,d,f){if(QJt(s))return;const p=UJt(s)?s.symbolName:t.name;if(p===void 0||t.flags&1536&&gj(p.charCodeAt(0))||Mj(t))return;const E={name:p,needsConvertPropertyAccess:!1};if(Tm(p,u,f?1:0)||t.valueDeclaration&&mh(t.valueDeclaration))return E;switch(d){case 3:return lTe(s)?{name:s.symbolName,needsConvertPropertyAccess:!1}:void 0;case 0:return{name:JSON.stringify(p),needsConvertPropertyAccess:!1};case 2:case 1:return p.charCodeAt(0)===32?void 0:{name:p,needsConvertPropertyAccess:!0};case 5:case 4:return E;default:H.assertNever(d)}}function l0t(t,u){if(!u)return c0t(t);const s=t+8+1;return wee[s]||(wee[s]=c0t(t).filter(d=>!S$t(c2(d.name))))}function c0t(t){return wee[t]||(wee[t]=bTe().filter(u=>{const s=c2(u.name);switch(t){case 0:return!1;case 1:return h0t(s)||s===138||s===144||s===156||s===145||s===128||NM(s)&&s!==157;case 5:return h0t(s);case 2:return Bee(s);case 3:return d0t(s);case 4:return jN(s);case 6:return NM(s)||s===87;case 7:return NM(s);case 8:return s===156;default:return H.assertNever(t)}}))}function S$t(t){switch(t){case 128:case 133:case 163:case 136:case 138:case 94:case 162:case 119:case 140:case 120:case 142:case 143:case 144:case 145:case 146:case 150:case 151:case 164:case 123:case 124:case 125:case 148:case 154:case 155:case 156:case 158:case 159:return!0;default:return!1}}function d0t(t){return t===148}function Bee(t){switch(t){case 128:case 129:case 137:case 139:case 153:case 134:case 138:case 164:return!0;default:return Use(t)}}function h0t(t){return t===134||t===135||t===130||t===152||t===156||!kq(t)&&!Bee(t)}function Epe(t){return at(t)?Ev(t)??0:t.kind}function B$t(t,u){const s=[];if(t){const d=t.getSourceFile(),f=t.parent,p=d.getLineAndCharacterOfPosition(t.end).line,E=d.getLineAndCharacterOfPosition(u).line;(Ad(f)||Gc(f)&&f.moduleSpecifier)&&t===f.moduleSpecifier&&p===E&&s.push({name:$o(132),kind:"keyword",kindModifiers:"",sortText:z1.GlobalsOrKeywords})}return s}function w$t(t,u){return Tn(t,s=>M8(s)&&NH(s,u)?!0:Rp(s)?"quit":!1)}function _pe(t,u,s,d){const f=u&&u!==t,p=f&&!(u.flags&3)?d.getUnionType([t,u]):t,E=T$t(p,s,d);return p.isClass()&&f0t(E)?[]:f?ei(E,v):E;function v(b){return S(b.declarations)?Ge(b.declarations,B=>B.parent!==s):!0}}function T$t(t,u,s){return t.isUnion()?s.getAllPossiblePropertiesOfTypes(ei(t.types,d=>!(d.flags&402784252||s.isArrayLikeType(d)||s.isTypeInvalidDueToUnionDiscriminant(d,u)||s.typeHasCallOrConstructSignatures(d)||d.isClass()&&f0t(d.getApparentProperties())))):t.getApparentProperties()}function f0t(t){return Ge(t,u=>!!(s4(u)&6))}function Dpe(t,u){return t.isUnion()?H.checkEachDefined(u.getAllPossiblePropertiesOfTypes(t.types),"getAllPossiblePropertiesOfTypes() should all be defined"):H.checkEachDefined(t.getApparentProperties(),"getApparentProperties() should all be defined")}function L$t(t,u,s,d){switch(s.kind){case 358:return rr(s.parent,_7);case 1:const f=rr(Zu(No(s.parent,ca).statements),_7);if(f&&!r0(f,20,t))return f;break;case 81:if(rr(s.parent,yo))return Tn(s,gr);break;case 80:{if(Ev(s)||yo(s.parent)&&s.parent.initializer===s)return;if(xpe(s))return Tn(s,_7)}}if(u){if(s.kind===137||at(u)&&yo(u.parent)&&gr(s))return Tn(u,gr);switch(u.kind){case 64:return;case 27:case 20:return xpe(s)&&s.parent.name===s?s.parent.parent:rr(s,_7);case 19:case 28:return rr(u.parent,_7);default:if(_7(s)){if(o0(t,u.getEnd()).line!==o0(t,d).line)return s;const f=gr(u.parent.parent)?Bee:d0t;return f(u.kind)||u.kind===42||at(u)&&f(Ev(u)??0)?u.parent.parent:void 0}return}}}function N$t(t){if(!t)return;const u=t.parent;switch(t.kind){case 19:if(hm(u))return u;break;case 27:case 28:case 80:if(u.kind===171&&hm(u.parent))return u.parent;break}}function m0t(t,u){if(!t)return;if(Xr(t)&&KU(t.parent))return u.getTypeArgumentConstraint(t);const s=m0t(t.parent,u);if(s)switch(t.kind){case 171:return u.getTypeOfPropertyOfContextualType(s,t.symbol.escapedName);case 193:case 187:case 192:return s}}function xpe(t){return t.parent&&MU(t.parent)&&_7(t.parent.parent)}function P$t(t,u,s,d){switch(u){case".":case"@":return!0;case'"':case"'":case"`":return!!s&&kSe(s)&&d===s.getStart(t)+1;case"#":return!!s&&ea(s)&&!!Zd(s);case"<":return!!s&&s.kind===30&&(!eu(s.parent)||p0t(s.parent));case"/":return!!s&&(t0(s)?!!kj(s):s.kind===44&&O2(s.parent));case" ":return!!s&&HP(s)&&s.parent.kind===312;default:return H.assertNever(u)}}function p0t({left:t}){return Yl(t)}function M$t(t,u,s){const d=s.resolveName("self",void 0,111551,!1);if(d&&s.getTypeOfSymbolAtLocation(d,u)===t)return!0;const f=s.resolveName("global",void 0,111551,!1);if(f&&s.getTypeOfSymbolAtLocation(f,u)===t)return!0;const p=s.resolveName("globalThis",void 0,111551,!1);return!!(p&&s.getTypeOfSymbolAtLocation(p,u)===t)}function z$t(t){return!!(t.valueDeclaration&&gh(t.valueDeclaration)&256&&gr(t.valueDeclaration.parent))}function I$t(t,u){const s=u.getContextualType(t);if(s)return s;const d=t5(t.parent);if(eu(d)&&d.operatorToken.kind===64&&t===d.left)return u.getTypeAtLocation(d);if(Wt(d))return u.getContextualType(d)}function g0t(t,u){var s,d,f;let p,E=!1;const v=b();return{isKeywordOnlyCompletion:E,keywordCompletion:p,isNewIdentifierLocation:!!(v||p===156),isTopLevelTypeOnly:!!((d=(s=rr(v,Ad))==null?void 0:s.importClause)!=null&&d.isTypeOnly)||!!((f=rr(v,g1))!=null&&f.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!v&&_0t(v,t),replacementSpan:R$t(v)};function b(){const B=t.parent;if(g1(B)){const k=B.getLastToken(u);if(at(t)&&k!==t){p=161,E=!0;return}return p=t.kind===156?void 0:156,ETe(B.moduleReference)?B:void 0}if(_0t(B,t)&&D0t(B.parent))return B;if(nD(B)||Gx(B)){if(!B.parent.isTypeOnly&&(t.kind===19||t.kind===102||t.kind===28)&&(p=156),D0t(B))if(t.kind===20||t.kind===80)E=!0,p=161;else return B.parent.parent;return}if(HP(t)&&ca(B))return p=156,t;if(HP(t)&&Ad(B))return p=156,ETe(B.moduleSpecifier)?B:void 0}}function R$t(t){var u;if(!t)return;const s=Tn(t,lg(Ad,g1))??t,d=s.getSourceFile();if(ck(s,d))return af(s,d);H.assert(s.kind!==102&&s.kind!==276);const f=s.kind===272?E0t((u=s.importClause)==null?void 0:u.namedBindings)??s.moduleSpecifier:s.moduleReference,p={pos:s.getFirstToken().getStart(),end:f.pos};if(ck(p,d))return Ux(p)}function E0t(t){var u;return Le((u=rr(t,nD))==null?void 0:u.elements,s=>{var d;return!s.propertyName&&h7(s.name.text)&&((d=ed(s.name.pos,t.getSourceFile(),t))==null?void 0:d.kind)!==28})}function _0t(t,u){return Cf(t)&&(t.isTypeOnly||u===t.name&&fX(u))}function D0t(t){if(!ETe(t.parent.parent.moduleSpecifier)||t.parent.name)return!1;if(nD(t)){const u=E0t(t);return(u?t.elements.indexOf(u):t.elements.length)<2}return!0}function ETe(t){var u;return Yl(t)?!0:!((u=rr(u_(t)?t.expression:t,t0))!=null&&u.text)}function O$t(t,u){if(!t)return;const s=Tn(t,f=>C2(f)||x0t(f)||Ao(f)?"quit":(Qa(f)||Bl(f))&&!pk(f.parent)),d=Tn(u,f=>C2(f)||x0t(f)||Ao(f)?"quit":ra(f));return s||d}function x0t(t){return t.parent&&J0(t.parent)&&(t.parent.body===t||t.kind===39)}function _Te(t,u,s=new Map){return d(t)||d(Q1(t.exportSymbol||t,u));function d(f){return!!(f.flags&788968)||u.isUnknownSymbol(f)||!!(f.flags&1536)&&Pp(s,Zo(f))&&u.getExportsOfModule(f).some(p=>_Te(p,u,s))}}function j$t(t,u){const s=Q1(t,u).declarations;return!!S(s)&&ye(s,PX)}function v0t(t,u){if(u.length===0)return!0;let s=!1,d,f=0;const p=t.length;for(let E=0;E(t.ThisProperty="ThisProperty/",t.ClassMemberSnippet="ClassMemberSnippet/",t.TypeOnlyAlias="TypeOnlyAlias/",t.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",t.SwitchCases="SwitchCases/",t.ObjectLiteralMemberWithComma="ObjectLiteralMemberWithComma/",t))(xTe||{}),vTe=(t=>(t[t.ThisType=1]="ThisType",t[t.SymbolMember=2]="SymbolMember",t[t.Export=4]="Export",t[t.Promise=8]="Promise",t[t.Nullable=16]="Nullable",t[t.ResolvedExport=32]="ResolvedExport",t[t.TypeOnlyAlias=64]="TypeOnlyAlias",t[t.ObjectLiteralMethod=128]="ObjectLiteralMethod",t[t.Ignore=256]="Ignore",t[t.ComputedPropertyName=512]="ComputedPropertyName",t[t.SymbolMemberNoExport=2]="SymbolMemberNoExport",t[t.SymbolMemberExport=6]="SymbolMemberExport",t))(vTe||{}),CTe=(t=>(t[t.ObjectPropertyDeclaration=0]="ObjectPropertyDeclaration",t[t.Global=1]="Global",t[t.PropertyAccess=2]="PropertyAccess",t[t.MemberLike=3]="MemberLike",t[t.String=4]="String",t[t.None=5]="None",t))(CTe||{}),wee=[],bTe=Nh(()=>{const t=[];for(let u=83;u<=165;u++)t.push({name:$o(u),kind:"keyword",kindModifiers:"",sortText:z1.GlobalsOrKeywords});return t})}});function yTe(){const t=new Map;function u(s){const d=t.get(s.name);(!d||BTe[d.kind]({name:kv(z.value,T),kindModifiers:"",kind:"string",sortText:z1.LocationPriority,replacementSpan:Qhe(u)}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t.isNewIdentifier,optionalReplacementSpan:k,entries:M}}default:return H.assertNever(t)}}function J$t(t,u,s,d,f,p,E,v,b){if(!d||!t0(d))return;const B=y0t(u,d,s,f,p,E,b);return B&&$$t(t,d,B,u,f,v)}function $$t(t,u,s,d,f,p){switch(s.kind){case 0:{const E=Le(s.paths,v=>v.name===t);return E&&See(t,b0t(E.extension),E.kind,[Hm(t)])}case 1:{const E=Le(s.symbols,v=>v.name===t);return E&&pTe(E,E.name,f,d,u,p)}case 2:return Le(s.types,E=>E.value===t)?See(t,"","string",[Hm(t)]):void 0;default:return H.assertNever(s)}}function C0t(t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:t.map(({name:f,kind:p,span:E,extension:v})=>({name:f,kind:p,kindModifiers:b0t(v),sortText:z1.LocationPriority,replacementSpan:E}))}}function b0t(t){switch(t){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return H.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return H.assertNever(t)}}function y0t(t,u,s,d,f,p,E){const v=kTe(u.parent);switch(v.kind){case 201:{const z=kTe(v.parent);return z.kind===205?{kind:0,paths:A0t(t,u,f,p,d,E)}:b(z)}case 303:return bs(v.parent)&&v.name===u?Z$t(d,v.parent):B()||B(0);case 212:{const{expression:z,argumentExpression:j}=v;return u===s0(j)?k0t(d.getTypeAtLocation(z)):void 0}case 213:case 214:case 291:if(!cUt(u)&&!cm(v)){const z=TK.getArgumentInfoForCompletions(v.kind===291?v.parent:u,s,t);return z&&q$t(z.invocation,u,z,d)||B(0)}case 272:case 278:case 283:return{kind:0,paths:A0t(t,u,f,p,d,E)};case 296:const k=IX(d,v.parent.clauses),T=B();return T?{kind:2,types:T.types.filter(z=>!k.hasValue(z.value)),isNewIdentifier:!1}:void 0;default:return B()||B(0)}function b(k){switch(k.kind){case 233:case 183:{const z=Tn(v,j=>j.parent===k);return z?{kind:2,types:Cpe(d.getTypeArgumentConstraint(z)),isNewIdentifier:!1}:void 0}case 199:const{indexType:T,objectType:M}=k;return NH(T,s)?k0t(d.getTypeFromTypeNode(M)):void 0;case 192:{const z=b(kTe(k.parent));if(!z)return;const j=U$t(k,v);return z.kind===1?{kind:1,symbols:z.symbols.filter(J=>!Ft(j,J.name)),hasIndexSignature:z.hasIndexSignature}:{kind:2,types:z.types.filter(J=>!Ft(j,J.value)),isNewIdentifier:!1}}default:return}}function B(k=4){const T=Cpe(yX(u,d,k));if(T.length)return{kind:2,types:T,isNewIdentifier:!1}}}function kTe(t){switch(t.kind){case 196:return wj(t);case 217:return t5(t);default:return t}}function U$t(t,u){return Si(t.types,s=>s!==u&&Nv(s)&&us(s.literal)?s.literal.text:void 0)}function q$t(t,u,s,d){let f=!1;const p=new Map,E=Ph(t)?H.checkDefined(Tn(u.parent,aE)):u,v=d.getCandidateSignaturesForStringLiteralCompletions(t,E),b=Ku(v,B=>{if(!eh(B)&&s.argumentCount>B.parameters.length)return;let k=B.getTypeParameterAtPosition(s.argumentIndex);if(Ph(t)){const T=d.getTypeOfPropertyOfType(k,aV(E.name));T&&(k=T)}return f=f||!!(k.flags&4),Cpe(k,p)});return S(b)?{kind:2,types:b,isNewIdentifier:f}:void 0}function k0t(t){return t&&{kind:1,symbols:ei(t.getApparentProperties(),u=>!(u.valueDeclaration&&mh(u.valueDeclaration))),hasIndexSignature:Efe(t)}}function Z$t(t,u){const s=t.getContextualType(u);if(!s)return;const d=t.getContextualType(u,4);return{kind:1,symbols:_pe(s,d,u,t),hasIndexSignature:Efe(s)}}function Cpe(t,u=new Map){return t?(t=ife(t),t.isUnion()?Ku(t.types,s=>Cpe(s,u)):t.isStringLiteral()&&!(t.flags&1024)&&Pp(u,t.value)?[t]:_t):_t}function ZM(t,u,s){return{name:t,kind:u,extension:s}}function FTe(t){return ZM(t,"directory",void 0)}function F0t(t,u,s){const d=sUt(t,u),f=t.length===0?void 0:c1(u,t.length);return s.map(({name:p,kind:E,extension:v})=>p.includes(rl)||p.includes(AO)?{name:p,kind:E,extension:v,span:f}:{name:p,kind:E,extension:v,span:d})}function A0t(t,u,s,d,f,p){return F0t(u.text,u.getStart(t)+1,Y$t(t,u,s,d,f,p))}function Y$t(t,u,s,d,f,p){const E=U1(u.text),v=t0(u)?_g(t,u):void 0,b=t.path,B=cr(b),k=ATe(s,1,t,f,p,v);return lUt(E)||!s.baseUrl&&!s.paths&&(Nf(E)||_2e(E))?Q$t(E,B,s,d,b,k):iUt(E,B,v,s,d,k,f)}function ATe(t,u,s,d,f,p){return{extensionsToSearch:Oa(X$t(t,d)),referenceKind:u,importingSourceFile:s,endingPreference:f==null?void 0:f.importModuleSpecifierEnding,resolutionMode:p}}function Q$t(t,u,s,d,f,p){return s.rootDirs?tUt(s.rootDirs,t,u,p,s,d,f):ga(FK(t,u,p,d,!0,f).values())}function X$t(t,u){const s=u?Si(u.getAmbientModules(),p=>{const E=p.name.slice(1,-1);if(!(!E.startsWith("*.")||E.includes("/")))return E.slice(1)}):[],d=[...yP(t),s],f=m1(t);return mX(f)?Xj(t,d):d}function eUt(t,u,s,d){t=t.map(p=>Pd(Jo(Nf(p)?p:dr(u,p))));const f=G(t,p=>WE(p,s,u,d)?s.substr(p.length):void 0);return li([...t.map(p=>dr(p,f)),s].map(p=>hv(p)),YA,ch)}function tUt(t,u,s,d,f,p,E){const v=f.project||p.getCurrentDirectory(),b=!(p.useCaseSensitiveFileNames&&p.useCaseSensitiveFileNames()),B=eUt(t,v,s,b);return Ku(B,k=>ga(FK(u,k,d,p,!0,E).values()))}function FK(t,u,s,d,f,p,E=yTe()){var v;t===void 0&&(t=""),t=U1(t),qD(t)||(t=cr(t)),t===""&&(t="."+rl),t=Pd(t);const b=yx(u,t),B=qD(b)?b:cr(b);if(!f){const z=ASe(B,d);if(z){const J=gP(z,d).typesVersions;if(typeof J=="object"){const K=(v=zY(J))==null?void 0:v.paths;if(K){const Y=cr(z),oe=b.slice(Pd(Y).length);if(B0t(E,oe,Y,s,d,K))return E}}}}const k=!(d.useCaseSensitiveFileNames&&d.useCaseSensitiveFileNames());if(!BX(d,B))return E;const T=Dfe(d,B,s.extensionsToSearch,void 0,["./*"]);if(T)for(let z of T){if(z=Jo(z),p&&fv(z,p,u,k)===0)continue;const{name:j,extension:J}=S0t(Fc(z),d.getCompilationSettings(),s);E.add(ZM(j,"script",J))}const M=SX(d,B);if(M)for(const z of M){const j=Fc(Jo(z));j!=="@types"&&E.add(FTe(j))}return E}function S0t(t,u,s){const d=$2.tryGetRealFileNameForNonJsDeclarationFileName(t);if(d)return{name:d,extension:e3(d)};if(s.referenceKind===0)return{name:t,extension:e3(t)};const f=Ale(s.endingPreference,s.resolutionMode,u,s.importingSourceFile);if(f===3){if(jc(t,cV))return{name:t,extension:e3(t)};const E=$2.tryGetJSExtensionForFile(t,u);return E?{name:Sv(t,E),extension:E}:{name:t,extension:e3(t)}}if((f===0||f===1)&&jc(t,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:Eh(t),extension:e3(t)};const p=$2.tryGetJSExtensionForFile(t,u);return p?{name:Sv(t,p),extension:p}:{name:t,extension:e3(t)}}function B0t(t,u,s,d,f,p){const E=b=>p[b],v=(b,B)=>{const k=dB(b),T=dB(B),M=typeof k=="object"?k.prefix.length:b.length,z=typeof T=="object"?T.prefix.length:B.length;return nl(z,M)};return w0t(t,u,s,d,f,Ls(p),E,v)}function w0t(t,u,s,d,f,p,E,v){let b=[],B;for(const k of p){if(k===".")continue;const T=k.replace(/^\.\//,""),M=E(k);if(M){const z=dB(T);if(!z)continue;const j=typeof z=="object"&&$$(z,u);j&&(B===void 0||v(k,B)===-1)&&(B=k,b=b.filter(K=>!K.matchedPattern)),(typeof z=="string"||B===void 0||v(k,B)!==1)&&b.push({matchedPattern:j,results:nUt(T,M,u,s,d,f).map(({name:K,kind:Y,extension:oe})=>ZM(K,Y,oe))})}}return b.forEach(k=>k.results.forEach(T=>t.add(T))),B!==void 0}function iUt(t,u,s,d,f,p,E){const{baseUrl:v,paths:b}=d,B=yTe(),k=m1(d);if(v){const M=Jo(dr(f.getCurrentDirectory(),v));FK(t,M,p,f,!1,void 0,B)}if(b){const M=Lq(d,f);B0t(B,t,M,p,f,b)}const T=L0t(t);for(const M of rUt(t,T,E))B.add(ZM(M,"external module name",void 0));if(M0t(f,d,u,T,p,B),mX(k)){let M=!1;if(T===void 0)for(const z of oUt(f,u)){const j=ZM(z,"external module name",void 0);B.has(j.name)||(M=!0,B.add(j))}if(!M){let z=j=>{const J=dr(j,"node_modules");BX(f,J)&&FK(t,J,p,f,!1,void 0,B)};if(T&&xle(d)){const j=z;z=J=>{const K=bd(t);K.shift();let Y=K.shift();if(!Y)return j(J);if(La(Y,"@")){const ge=K.shift();if(!ge)return j(J);Y=dr(Y,ge)}const oe=dr(J,"node_modules",Y),se=dr(oe,"package.json");if(ZH(f,se)){const ae=gP(se,f).exports;if(ae){if(typeof ae!="object"||ae===null)return;const Ce=Ls(ae),ne=K.join("/")+(K.length&&qD(t)?"/":""),ve=W2(d,s);w0t(B,ne,oe,p,f,Ce,Se=>jy(T0t(ae[Se],ve)),Ade);return}}return j(J)}}$g(u,z)}}return ga(B.values())}function T0t(t,u){if(typeof t=="string")return t;if(t&&typeof t=="object"&&!ja(t)){for(const s in t)if(s==="default"||u.includes(s)||aH(u,s)){const d=t[s];return T0t(d,u)}}}function L0t(t){return STe(t)?qD(t)?t:cr(t):void 0}function nUt(t,u,s,d,f,p){if(!oc(t,"*"))return t.includes("*")?_t:b(t,"script");const E=t.slice(0,t.length-1),v=coe(s,E);if(v===void 0)return t[t.length-2]==="/"?b(E,"directory"):Ku(u,k=>{var T;return(T=N0t("",d,k,f,p))==null?void 0:T.map(({name:M,...z})=>({name:E+M,...z}))});return Ku(u,B=>N0t(v,d,B,f,p));function b(B,k){return La(B,s)?[{name:hv(B),kind:k,extension:void 0}]:_t}}function N0t(t,u,s,d,f){if(!f.readDirectory)return;const p=dB(s);if(p===void 0||Wa(p))return;const E=yx(p.prefix),v=qD(p.prefix)?E:cr(E),b=qD(p.prefix)?"":Fc(E),B=STe(t),k=B?qD(t)?t:cr(t):void 0,T=B?dr(v,b+k):v,M=Jo(p.suffix),z=M&&Vj("_"+M),j=z?[Sv(M,z),M]:[M],J=Jo(dr(u,T)),K=B?J:Pd(J)+b,Y=M?j.map(ae=>"**/*"+ae):["./*"],oe=Si(Dfe(f,J,d.extensionsToSearch,void 0,Y),ae=>{const Ce=ge(ae);if(Ce){if(STe(Ce))return FTe(bd(P0t(Ce))[1]);const{name:ne,extension:ve}=S0t(Ce,f.getCompilationSettings(),d);return ZM(ne,"script",ve)}}),se=M?_t:Si(SX(f,J),ae=>ae==="node_modules"?void 0:FTe(ae));return[...oe,...se];function ge(ae){return G(j,Ce=>{const ne=uUt(Jo(ae),K,Ce);return ne===void 0?void 0:P0t(ne)})}}function uUt(t,u,s){return La(t,u)&&oc(t,s)?t.slice(u.length,t.length-s.length):void 0}function P0t(t){return t[0]===rl?t.slice(1):t}function rUt(t,u,s){const f=s.getAmbientModules().map(p=>G4(p.name)).filter(p=>La(p,t)&&!p.includes("*"));if(u!==void 0){const p=Pd(u);return f.map(E=>bN(E,p))}return f}function aUt(t,u,s,d){const f=Ca(t,u),p=K_(t.text,f.pos),E=p&&Le(p,j=>u>=j.pos&&u<=j.end);if(!E)return;const v=t.text.slice(E.pos,u),b=z0t.exec(v);if(!b)return;const[,B,k,T]=b,M=cr(t.path),z=k==="path"?FK(T,M,ATe(s,0,t),d,!0,t.path):k==="types"?M0t(d,s,M,L0t(T),ATe(s,1,t)):H.fail();return F0t(T,E.pos+B.length,ga(z.values()))}function M0t(t,u,s,d,f,p=yTe()){const E=new Map,v=wX(()=>lM(u,t))||_t;for(const B of v)b(B);for(const B of xfe(s,t)){const k=dr(cr(B),"node_modules/@types");b(k)}return p;function b(B){if(BX(t,B))for(const k of SX(t,B)){const T=oH(k);if(!(u.types&&!Ft(u.types,T)))if(d===void 0)E.has(T)||(p.add(ZM(T,"external module name",void 0)),E.set(T,!0));else{const M=dr(B,k),z=ble(d,T,i5(t));z!==void 0&&FK(z,M,f,t,!1,void 0,p)}}}}function oUt(t,u){if(!t.readFile||!t.fileExists)return _t;const s=[];for(const d of xfe(u,t)){const f=gP(d,t);for(const p of I0t){const E=f[p];if(E)for(const v in E)gu(E,v)&&!La(v,"@types/")&&s.push(v)}}return s}function sUt(t,u){const s=Math.max(t.lastIndexOf(rl),t.lastIndexOf(AO)),d=s!==-1?s+1:0,f=t.length-d;return f===0||Tm(t.substr(d,f),99)?void 0:c1(u+d,f)}function lUt(t){if(t&&t.length>=2&&t.charCodeAt(0)===46){const u=t.length>=3&&t.charCodeAt(1)===46?2:1,s=t.charCodeAt(u);return s===47||s===92}return!1}function STe(t){return t.includes(rl)}function cUt(t){return Po(t.parent)&&Ki(t.parent.arguments)===t&&at(t.parent.expression)&&t.parent.expression.escapedText==="require"}var BTe,z0t,I0t,dUt=o({"src/services/stringCompletions.ts"(){ar(),wTe(),BTe={directory:0,script:1,"external module name":2},z0t=/^(\/\/\/\s*J$t,getStringLiteralCompletions:()=>W$t});var hUt=o({"src/services/_namespaces/ts.Completions.StringCompletions.ts"(){dUt()}}),c9={};h(c9,{CompletionKind:()=>CTe,CompletionSource:()=>xTe,SortText:()=>z1,StringCompletions:()=>bpe,SymbolOriginInfoKind:()=>vTe,createCompletionDetails:()=>See,createCompletionDetailsForSymbol:()=>pTe,getCompletionEntriesFromSymbols:()=>fTe,getCompletionEntryDetails:()=>v$t,getCompletionEntrySymbol:()=>b$t,getCompletionsAtPosition:()=>XJt,getPropertiesForObjectExpression:()=>_pe,moduleSpecifierResolutionCacheAttemptLimit:()=>DTe,moduleSpecifierResolutionLimit:()=>vpe});var wTe=o({"src/services/_namespaces/ts.Completions.ts"(){K$t(),hUt()}});function TTe(t,u,s,d){const f=gUt(t,s,d);return(p,E,v)=>{const{directImports:b,indirectUsers:B}=fUt(t,u,f,E,s,d);return{indirectUsers:B,...mUt(b,p,E.exportKind,s,v)}}}function fUt(t,u,s,{exportingModuleSymbol:d,exportKind:f},p,E){const v=e9(),b=e9(),B=[],k=!!d.globalExports,T=k?void 0:[];return z(d),{directImports:B,indirectUsers:M()};function M(){if(k)return t;if(d.declarations)for(const se of d.declarations)_2(se)&&u.has(se.getSourceFile().fileName)&&Y(se);return T.map(zn)}function z(se){const ge=oe(se);if(ge){for(const ae of ge)if(v(ae))switch(E&&E.throwIfCancellationRequested(),ae.kind){case 213:if(cm(ae)){j(ae);break}if(!k){const ne=ae.parent;if(f===2&&ne.kind===260){const{name:ve}=ne;if(ve.kind===80){B.push(ve);break}}}break;case 80:break;case 271:K(ae,ae.name,Qu(ae,32),!1);break;case 272:B.push(ae);const Ce=ae.importClause&&ae.importClause.namedBindings;Ce&&Ce.kind===274?K(ae,Ce.name,!1,!0):!k&&s7(ae)&&Y(Tee(ae));break;case 278:ae.exportClause?ae.exportClause.kind===280?Y(Tee(ae),!0):B.push(ae):z(vUt(ae,p));break;case 205:!k&&ae.isTypeOf&&!ae.qualifier&&J(ae)&&Y(ae.getSourceFile(),!0),B.push(ae);break;default:H.failBadSyntaxKind(ae,"Unexpected import kind.")}}}function j(se){const ge=Tn(se,ype)||se.getSourceFile();Y(ge,!!J(se,!0))}function J(se,ge=!1){return Tn(se,ae=>ge&&ype(ae)?"quit":Op(ae)&&Ge(ae.modifiers,w7))}function K(se,ge,ae,Ce){if(f===2)Ce||B.push(se);else if(!k){const ne=Tee(se);H.assert(ne.kind===312||ne.kind===267),ae||pUt(ne,ge,p)?Y(ne,!0):Y(ne)}}function Y(se,ge=!1){if(H.assert(!k),!b(se)||(T.push(se),!ge))return;const Ce=p.getMergedSymbol(se.symbol);if(!Ce)return;H.assert(!!(Ce.flags&1536));const ne=oe(Ce);if(ne)for(const ve of ne)iD(ve)||Y(Tee(ve),!0)}function oe(se){return s.get(Zo(se).toString())}}function mUt(t,u,s,d,f){const p=[],E=[];function v(M,z){p.push([M,z])}if(t)for(const M of t)b(M);return{importSearches:p,singleReferences:E};function b(M){if(M.kind===271){NTe(M)&&B(M.name);return}if(M.kind===80){B(M);return}if(M.kind===205){if(M.qualifier){const J=dm(M.qualifier);J.escapedText===sc(u)&&E.push(J)}else s===2&&E.push(M.argument.literal);return}if(M.moduleSpecifier.kind!==11)return;if(M.kind===278){M.exportClause&&Q4(M.exportClause)&&k(M.exportClause);return}const{name:z,namedBindings:j}=M.importClause||{name:void 0,namedBindings:void 0};if(j)switch(j.kind){case 274:B(j.name);break;case 275:(s===0||s===1)&&k(j);break;default:H.assertNever(j)}if(z&&(s===1||s===2)&&(!f||z.escapedText===gX(u))){const J=d.getSymbolAtLocation(z);v(z,J)}}function B(M){s===2&&(!f||T(M.escapedText))&&v(M,d.getSymbolAtLocation(M))}function k(M){if(M)for(const z of M.elements){const{name:j,propertyName:J}=z;if(T((J||j).escapedText))if(J)E.push(J),(!f||j.escapedText===u.escapedName)&&v(j,d.getSymbolAtLocation(j));else{const K=z.kind===281&&z.propertyName?d.getExportSpecifierLocalTargetSymbol(z):d.getSymbolAtLocation(j);v(j,K)}}}function T(M){return M===u.escapedName||s!==0&&M==="default"}}function pUt(t,u,s){const d=s.getSymbolAtLocation(u);return!!O0t(t,f=>{if(!Gc(f))return;const{exportClause:p,moduleSpecifier:E}=f;return!E&&p&&Q4(p)&&p.elements.some(v=>s.getExportSpecifierLocalTargetSymbol(v)===d)})}function R0t(t,u,s){var d;const f=[],p=t.getTypeChecker();for(const E of u){const v=s.valueDeclaration;if((v==null?void 0:v.kind)===312){for(const b of E.referencedFiles)t.getSourceFileFromReference(E,b)===v&&f.push({kind:"reference",referencingFile:E,ref:b});for(const b of E.typeReferenceDirectives){const B=(d=t.getResolvedTypeReferenceDirectives().get(b.fileName,b.resolutionMode||E.impliedNodeFormat))==null?void 0:d.resolvedTypeReferenceDirective;B!==void 0&&B.resolvedFileName===v.fileName&&f.push({kind:"reference",referencingFile:E,ref:b})}}j0t(E,(b,B)=>{p.getSymbolAtLocation(B)===s&&f.push(sl(b)?{kind:"implicit",literal:B,referencingFile:E}:{kind:"import",literal:B})})}return f}function gUt(t,u,s){const d=new Map;for(const f of t)s&&s.throwIfCancellationRequested(),j0t(f,(p,E)=>{const v=u.getSymbolAtLocation(E);if(v){const b=Zo(v).toString();let B=d.get(b);B||d.set(b,B=[]),B.push(p)}});return d}function O0t(t,u){return L(t.kind===312?t.statements:t.body.statements,s=>u(s)||ype(s)&&L(s.body&&s.body.statements,u))}function j0t(t,u){if(t.externalModuleIndicator||t.imports!==void 0)for(const s of t.imports)u(eP(s),s);else O0t(t,s=>{switch(s.kind){case 278:case 272:{const d=s;d.moduleSpecifier&&us(d.moduleSpecifier)&&u(d,d.moduleSpecifier);break}case 271:{const d=s;NTe(d)&&u(d,d.moduleReference.expression);break}}})}function V0t(t,u,s,d){return d?f():f()||p();function f(){var b;const{parent:B}=t,k=B.parent;if(u.exportSymbol)return B.kind===211?(b=u.declarations)!=null&&b.some(z=>z===B)&&eu(k)?M(k,!1):void 0:E(u.exportSymbol,v(B));{const z=_Ut(B,t);if(z&&Qu(z,32))return g1(z)&&z.moduleReference===t?d?void 0:{kind:0,symbol:s.getSymbolAtLocation(z.name)}:E(u,v(z));if(n_(B))return E(u,0);if(ec(B))return T(B);if(ec(k))return T(k);if(eu(B))return M(B,!0);if(eu(k))return M(k,!0);if(LB(B)||Fce(B))return E(u,0)}function T(z){if(!z.symbol.parent)return;const j=z.isExportEquals?2:1;return{kind:1,symbol:u,exportInfo:{exportingModuleSymbol:z.symbol.parent,exportKind:j}}}function M(z,j){let J;switch(Ql(z)){case 1:J=0;break;case 2:J=2;break;default:return}const K=j?s.getSymbolAtLocation(Jye(No(z.left,M0))):u;return K&&E(K,J)}}function p(){if(!DUt(t))return;let B=s.getImmediateAliasedSymbol(u);if(!B||(B=xUt(B,s),B.escapedName==="export="&&(B=EUt(B,s),B===void 0)))return;const k=gX(B);if(k===void 0||k==="default"||k===u.escapedName)return{kind:0,symbol:B}}function E(b,B){const k=LTe(b,B,s);return k&&{kind:1,symbol:b,exportInfo:k}}function v(b){return Qu(b,2048)?1:0}}function EUt(t,u){var s,d;if(t.flags&2097152)return u.getImmediateAliasedSymbol(t);const f=H.checkDefined(t.valueDeclaration);if(ec(f))return(s=rr(f.expression,qg))==null?void 0:s.symbol;if(eu(f))return(d=rr(f.right,qg))==null?void 0:d.symbol;if(ca(f))return f.symbol}function _Ut(t,u){const s=ra(t)?t:Os(t)?F8(t):void 0;return s?t.name!==u||H2(s.parent)?void 0:Gl(s.parent.parent)?s.parent.parent:void 0:t}function DUt(t){const{parent:u}=t;switch(u.kind){case 271:return u.name===t&&NTe(u);case 276:return!u.propertyName;case 273:case 274:return H.assert(u.name===t),!0;case 208:return Xn(t)&&b2(u.parent.parent);default:return!1}}function LTe(t,u,s){const d=t.parent;if(!d)return;const f=s.getMergedSymbol(d);return jH(f)?{exportingModuleSymbol:f,exportKind:u}:void 0}function xUt(t,u){if(t.declarations)for(const s of t.declarations){if(X1(s)&&!s.propertyName&&!s.parent.parent.moduleSpecifier)return u.getExportSpecifierLocalTargetSymbol(s)||t;if(zu(s)&&Z_(s.expression)&&!ea(s.name))return u.getSymbolAtLocation(s);if(mm(s)&&eu(s.parent.parent)&&Ql(s.parent.parent)===2)return u.getExportSpecifierLocalTargetSymbol(s.name)}return t}function vUt(t,u){return u.getMergedSymbol(Tee(t).symbol)}function Tee(t){if(t.kind===213)return t.getSourceFile();const{parent:u}=t;return u.kind===312?u:(H.assert(u.kind===268),No(u.parent,ype))}function ype(t){return t.kind===267&&t.name.kind===11}function NTe(t){return t.moduleReference.kind===283&&t.moduleReference.expression.kind===11}var PTe,MTe,CUt=o({"src/services/importTracker.ts"(){ar(),PTe=(t=>(t[t.Named=0]="Named",t[t.Default=1]="Default",t[t.ExportEquals=2]="ExportEquals",t))(PTe||{}),MTe=(t=>(t[t.Import=0]="Import",t[t.Export=1]="Export",t))(MTe||{})}});function s3(t,u=1){return{kind:u,node:t.name||t,context:bUt(t)}}function H0t(t){return t&&t.kind===void 0}function bUt(t){if(Y1(t))return Ok(t);if(t.parent){if(!Y1(t.parent)&&!ec(t.parent)){if(Xn(t)){const s=eu(t.parent)?t.parent:M0(t.parent)&&eu(t.parent.parent)&&t.parent.parent.left===t.parent?t.parent.parent:void 0;if(s&&Ql(s)!==0)return Ok(s)}if(rE(t.parent)||O2(t.parent))return t.parent.parent;if(vk(t.parent)||R2(t.parent)||RN(t.parent))return t.parent;if(t0(t)){const s=kj(t);if(s){const d=Tn(s,f=>Y1(f)||ua(f)||M8(f));return Y1(d)?Ok(d):d}}const u=Tn(t,Ns);return u?Ok(u.parent):void 0}if(t.parent.name===t||dc(t.parent)||ec(t.parent)||(n7(t.parent)||Os(t.parent))&&t.parent.propertyName===t||t.kind===90&&Qu(t.parent,2080))return Ok(t.parent)}}function Ok(t){if(t)switch(t.kind){case 260:return!Fd(t.parent)||t.parent.declarations.length!==1?t:Gl(t.parent.parent)?t.parent.parent:N8(t.parent.parent)?Ok(t.parent.parent):t.parent;case 208:return Ok(t.parent.parent);case 276:return t.parent.parent.parent;case 281:case 274:return t.parent.parent;case 273:case 280:return t.parent;case 226:return Id(t.parent)?t.parent:t;case 250:case 249:return{start:t.initializer,end:t.expression};case 303:case 304:return m5(t.parent)?Ok(Tn(t.parent,u=>eu(u)||N8(u))):t;default:return t}}function zTe(t,u,s){if(!s)return;const d=H0t(s)?Nee(s.start,u,s.end):Nee(s,u);return d.start!==t.start||d.length!==t.length?{contextSpan:d}:void 0}function yUt(t,u,s,d,f){const p=rf(d,f),E={use:1},v=d9.getReferencedSymbolsForNode(f,p,t,s,u,E),b=t.getTypeChecker(),B=d9.getAdjustedNode(p,E),k=kUt(B)?b.getSymbolAtLocation(B):void 0;return!v||!v.length?void 0:Si(v,({definition:T,references:M})=>T&&{definition:b.runWithCancellationToken(u,z=>SUt(T,z,p)),references:M.map(z=>wUt(z,k))})}function kUt(t){return t.kind===90||!!iP(t)||Tj(t)||t.kind===137&&dc(t.parent)}function FUt(t,u,s,d,f){const p=rf(d,f);let E;const v=K0t(t,u,s,p,f);if(p.parent.kind===211||p.parent.kind===208||p.parent.kind===212||p.kind===108)E=v&&[...v];else if(v){const B=W$(v),k=new Map;for(;!B.isEmpty();){const T=B.dequeue();if(!Pp(k,$s(T.node)))continue;E=Ei(E,T);const M=K0t(t,u,s,T.node,T.node.pos);M&&B.enqueue(...M)}}const b=t.getTypeChecker();return Kt(E,B=>LUt(B,b))}function K0t(t,u,s,d,f){if(d.kind===312)return;const p=t.getTypeChecker();if(d.parent.kind===304){const E=[];return d9.getReferenceEntriesForShorthandPropertyAssignment(d,p,v=>E.push(s3(v))),E}else if(d.kind===108||tf(d.parent)){const E=p.getSymbolAtLocation(d);return E.valueDeclaration&&[s3(E.valueDeclaration)]}else return W0t(f,d,t,s,u,{implementations:!0,use:1})}function AUt(t,u,s,d,f,p,E){return Kt(G0t(d9.getReferencedSymbolsForNode(f,d,t,s,u,p)),v=>E(v,d,t.getTypeChecker()))}function W0t(t,u,s,d,f,p={},E=new Set(d.map(v=>v.fileName))){return G0t(d9.getReferencedSymbolsForNode(t,u,s,d,f,p,E))}function G0t(t){return t&&Ku(t,u=>u.references)}function SUt(t,u,s){const d=(()=>{switch(t.type){case 0:{const{symbol:k}=t,{displayParts:T,kind:M}=J0t(k,u,s),z=T.map(K=>K.text).join(""),j=k.declarations&&Ki(k.declarations),J=j?$a(j)||j:s;return{...Lee(J),name:z,kind:M,displayParts:T,context:Ok(j)}}case 1:{const{node:k}=t;return{...Lee(k),name:k.text,kind:"label",displayParts:[bf(k.text,17)]}}case 2:{const{node:k}=t,T=$o(k.kind);return{...Lee(k),name:T,kind:"keyword",displayParts:[{text:T,kind:"keyword"}]}}case 3:{const{node:k}=t,T=u.getSymbolAtLocation(k),M=T&&D5.getSymbolDisplayPartsDocumentationAndSymbolKind(u,T,k.getSourceFile(),Nk(k),k).displayParts||[Hm("this")];return{...Lee(k),name:"this",kind:"var",displayParts:M}}case 4:{const{node:k}=t;return{...Lee(k),name:k.text,kind:"var",displayParts:[bf(Hc(k),8)]}}case 5:return{textSpan:Ux(t.reference),sourceFile:t.file,name:t.reference.fileName,kind:"string",displayParts:[bf(`"${t.reference.fileName}"`,8)]};default:return H.assertNever(t)}})(),{sourceFile:f,textSpan:p,name:E,kind:v,displayParts:b,context:B}=d;return{containerKind:"",containerName:"",fileName:f.fileName,kind:v,name:E,textSpan:p,displayParts:b,...zTe(p,f,B)}}function Lee(t){const u=t.getSourceFile();return{sourceFile:u,textSpan:Nee(Ns(t)?t.expression:t,u)}}function J0t(t,u,s){const d=d9.getIntersectingMeaningFromDeclarations(s,t),f=t.declarations&&Ki(t.declarations)||s,{displayParts:p,symbolKind:E}=D5.getSymbolDisplayPartsDocumentationAndSymbolKind(u,t,f.getSourceFile(),f,f,d);return{displayParts:p,kind:E}}function BUt(t,u,s,d,f){return{...kpe(t),...d&&TUt(t,u,s,f)}}function wUt(t,u){const s=$0t(t);return u?{...s,isDefinition:t.kind!==0&&U0t(t.node,u)}:s}function $0t(t){const u=kpe(t);if(t.kind===0)return{...u,isWriteAccess:!1};const{kind:s,node:d}=t;return{...u,isWriteAccess:RTe(d),isInString:s===2?!0:void 0}}function kpe(t){if(t.kind===0)return{textSpan:t.textSpan,fileName:t.fileName};{const u=t.node.getSourceFile(),s=Nee(t.node,u);return{textSpan:s,fileName:u.fileName,...zTe(s,u,t.context)}}}function TUt(t,u,s,d){if(t.kind!==0&&at(u)){const{node:f,kind:p}=t,E=f.parent,v=u.text,b=mm(E);if(b||KH(E)&&E.name===f&&E.dotDotDotToken===void 0){const B={prefixText:v+": "},k={suffixText:": "+v};if(p===3)return B;if(p===4)return k;if(b){const T=E.parent;return bs(T)&&eu(T.parent)&&Z_(T.parent.left)?B:k}else return B}else if(Cf(E)&&!E.propertyName){const B=X1(u.parent)?s.getExportSpecifierLocalTargetSymbol(u.parent):s.getSymbolAtLocation(u);return Ft(B.declarations,E)?{prefixText:v+" as "}:c4}else if(X1(E)&&!E.propertyName)return u===t.node||s.getSymbolAtLocation(u)===s.getSymbolAtLocation(t.node)?{prefixText:v+" as "}:{suffixText:" as "+v}}if(t.kind!==0&&Rf(t.node)&&M0(t.node.parent)){const f=afe(d);return{prefixText:f,suffixText:f}}return c4}function LUt(t,u){const s=kpe(t);if(t.kind!==0){const{node:d}=t;return{...s,...NUt(d,u)}}else return{...s,kind:"",displayParts:[]}}function NUt(t,u){const s=u.getSymbolAtLocation(Y1(t)&&t.name?t.name:t);return s?J0t(s,u,t):t.kind===210?{kind:"interface",displayParts:[th(21),Hm("object literal"),th(22)]}:t.kind===231?{kind:"local class",displayParts:[th(21),Hm("anonymous local class"),th(22)]}:{kind:Q2(t),displayParts:[]}}function PUt(t){const u=kpe(t);if(t.kind===0)return{fileName:u.fileName,span:{textSpan:u.textSpan,kind:"reference"}};const s=RTe(t.node),d={textSpan:u.textSpan,kind:s?"writtenReference":"reference",isInString:t.kind===2?!0:void 0,...u.contextSpan&&{contextSpan:u.contextSpan}};return{fileName:u.fileName,span:d}}function Nee(t,u,s){let d=t.getStart(u),f=(s||t).getEnd();return t0(t)&&f-d>2&&(H.assert(s===void 0),d+=1,f-=1),Vc(d,f)}function ITe(t){return t.kind===0?t.textSpan:Nee(t.node,t.node.getSourceFile())}function RTe(t){const u=iP(t);return!!u&&MUt(u)||t.kind===90||E7(t)}function U0t(t,u){var s;if(!u)return!1;const d=iP(t)||(t.kind===90?t.parent:Tj(t)||t.kind===137&&dc(t.parent)?t.parent.parent:void 0),f=d&&eu(d)?d.left:void 0;return!!(d&&((s=u.declarations)!=null&&s.some(p=>p===d||p===f)))}function MUt(t){if(t.flags&33554432)return!0;switch(t.kind){case 226:case 208:case 263:case 231:case 90:case 266:case 306:case 281:case 273:case 271:case 276:case 264:case 345:case 353:case 291:case 267:case 270:case 274:case 280:case 169:case 304:case 265:case 168:return!0;case 303:return!m5(t.parent);case 262:case 218:case 176:case 174:case 177:case 178:return!!t.body;case 260:case 172:return!!t.initializer||H2(t.parent);case 173:case 171:case 355:case 348:return!1;default:return H.failBadSyntaxKind(t)}}var OTe,jTe,VTe,d9,zUt=o({"src/services/findAllReferences.ts"(){ar(),q0t(),OTe=(t=>(t[t.Symbol=0]="Symbol",t[t.Label=1]="Label",t[t.Keyword=2]="Keyword",t[t.This=3]="This",t[t.String=4]="String",t[t.TripleSlashReference=5]="TripleSlashReference",t))(OTe||{}),jTe=(t=>(t[t.Span=0]="Span",t[t.Node=1]="Node",t[t.StringLiteral=2]="StringLiteral",t[t.SearchedLocalFoundProperty=3]="SearchedLocalFoundProperty",t[t.SearchedPropertyFoundLocal=4]="SearchedPropertyFoundLocal",t))(jTe||{}),VTe=(t=>(t[t.Other=0]="Other",t[t.References=1]="References",t[t.Rename=2]="Rename",t))(VTe||{}),(t=>{function u(Qe,Et,Mt,qt,Xt,Pe={},et=new Set(qt.map(gt=>gt.fileName))){var gt,ii;if(Et=s(Et,Pe),ca(Et)){const $i=xw.getReferenceAtPosition(Et,Qe,Mt);if(!($i!=null&&$i.file))return;const Yi=Mt.getTypeChecker().getMergedSymbol($i.file.symbol);if(Yi)return B(Mt,Yi,!1,qt,et);const on=Mt.getFileIncludeReasons();return on?[{definition:{type:5,reference:$i.reference,file:Et},references:f($i.file,on,Mt)||_t}]:void 0}if(!Pe.implementations){const $i=T(Et,qt,Xt);if($i)return $i}const me=Mt.getTypeChecker(),ni=me.getSymbolAtLocation(dc(Et)&&Et.parent.name||Et);if(!ni){if(!Pe.implementations&&t0(Et)){if(EX(Et)){const $i=Mt.getFileIncludeReasons(),Yi=(ii=(gt=Mt.getResolvedModule(Et.getSourceFile(),Et.text,_g(Et.getSourceFile(),Et)))==null?void 0:gt.resolvedModule)==null?void 0:ii.resolvedFileName,on=Yi?Mt.getSourceFile(Yi):void 0;if(on)return[{definition:{type:4,node:Et},references:f(on,$i,Mt)||_t}]}return bt(Et,qt,me,Xt)}return}if(ni.escapedName==="export=")return B(Mt,ni.parent,!1,qt,et);const _i=E(ni,Mt,qt,Xt,Pe,et);if(_i&&!(ni.flags&33554432))return _i;const mt=p(Et,ni,me),jt=mt&&E(mt,Mt,qt,Xt,Pe,et),pi=M(ni,Et,qt,et,me,Xt,Pe);return v(Mt,_i,pi,jt)}t.getReferencedSymbolsForNode=u;function s(Qe,Et){return Et.use===1?Qe=Ghe(Qe):Et.use===2&&(Qe=rX(Qe)),Qe}t.getAdjustedNode=s;function d(Qe,Et,Mt,qt=new Set(Mt.map(Xt=>Xt.fileName))){var Xt,Pe;const et=(Xt=Et.getSourceFile(Qe))==null?void 0:Xt.symbol;if(et)return((Pe=B(Et,et,!1,Mt,qt)[0])==null?void 0:Pe.references)||_t;const gt=Et.getFileIncludeReasons(),ii=Et.getSourceFile(Qe);return ii&>&&f(ii,gt,Et)||_t}t.getReferencesForFileName=d;function f(Qe,Et,Mt){let qt;const Xt=Et.get(Qe.path)||_t;for(const Pe of Xt)if(Wv(Pe)){const et=Mt.getSourceFileByPath(Pe.file),gt=kM(Mt,Pe);UB(gt)&&(qt=Ei(qt,{kind:0,fileName:et.fileName,textSpan:Ux(gt)}))}return qt}function p(Qe,Et,Mt){if(Qe.parent&&SV(Qe.parent)){const qt=Mt.getAliasedSymbol(Et),Xt=Mt.getMergedSymbol(qt);if(qt!==Xt)return Xt}}function E(Qe,Et,Mt,qt,Xt,Pe){const et=Qe.flags&1536&&Qe.declarations&&Le(Qe.declarations,ca);if(!et)return;const gt=Qe.exports.get("export="),ii=B(Et,Qe,!!gt,Mt,Pe);if(!gt||!Pe.has(et.fileName))return ii;const me=Et.getTypeChecker();return Qe=Q1(gt,me),v(Et,ii,M(Qe,void 0,Mt,Pe,me,qt,Xt))}function v(Qe,...Et){let Mt;for(const qt of Et)if(!(!qt||!qt.length)){if(!Mt){Mt=qt;continue}for(const Xt of qt){if(!Xt.definition||Xt.definition.type!==0){Mt.push(Xt);continue}const Pe=Xt.definition.symbol,et=Ue(Mt,ii=>!!ii.definition&&ii.definition.type===0&&ii.definition.symbol===Pe);if(et===-1){Mt.push(Xt);continue}const gt=Mt[et];Mt[et]={definition:gt.definition,references:gt.references.concat(Xt.references).sort((ii,me)=>{const ni=b(Qe,ii),_i=b(Qe,me);if(ni!==_i)return nl(ni,_i);const mt=ITe(ii),jt=ITe(me);return mt.start!==jt.start?nl(mt.start,jt.start):nl(mt.length,jt.length)})}}}return Mt}function b(Qe,Et){const Mt=Et.kind===0?Qe.getSourceFile(Et.fileName):Et.node.getSourceFile();return Qe.getSourceFiles().indexOf(Mt)}function B(Qe,Et,Mt,qt,Xt){H.assert(!!Et.valueDeclaration);const Pe=Si(R0t(Qe,qt,Et),gt=>{if(gt.kind==="import"){const ii=gt.literal.parent;if(Nv(ii)){const me=No(ii.parent,iD);if(Mt&&!me.qualifier)return}return s3(gt.literal)}else if(gt.kind==="implicit"){const ii=gt.literal.text!==Vx&&nM(gt.referencingFile,me=>me.transformFlags&2?u3(me)||vk(me)||j2(me)?me:void 0:"skip")||gt.referencingFile.statements[0]||gt.referencingFile;return s3(ii)}else return{kind:0,fileName:gt.referencingFile.fileName,textSpan:Ux(gt.ref)}});if(Et.declarations)for(const gt of Et.declarations)switch(gt.kind){case 312:break;case 267:Xt.has(gt.getSourceFile().fileName)&&Pe.push(s3(gt.name));break;default:H.assert(!!(Et.flags&33554432),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}const et=Et.exports.get("export=");if(et!=null&&et.declarations)for(const gt of et.declarations){const ii=gt.getSourceFile();if(Xt.has(ii.fileName)){const me=eu(gt)&&zu(gt.left)?gt.left.expression:ec(gt)?H.checkDefined(r0(gt,95,ii)):$a(gt)||gt;Pe.push(s3(me))}}return Pe.length?[{definition:{type:0,symbol:Et},references:Pe}]:_t}function k(Qe){return Qe.kind===148&&P7(Qe.parent)&&Qe.parent.operator===148}function T(Qe,Et,Mt){if(NM(Qe.kind))return Qe.kind===116&&z7(Qe.parent)||Qe.kind===148&&!k(Qe)?void 0:Je(Et,Qe.kind,Mt,Qe.kind===148?k:void 0);if(H8(Qe.parent)&&Qe.parent.name===Qe)return He(Et,Mt);if(T7(Qe)&&zl(Qe.parent))return[{definition:{type:2,node:Qe},references:[s3(Qe)]}];if(LH(Qe)){const qt=XQ(Qe.parent,Qe.text);return qt&&Ae(qt.parent,qt)}else if(zhe(Qe))return Ae(Qe.parent,Qe);if(nw(Qe))return Sa(Qe,Et,Mt);if(Qe.kind===108)return oa(Qe)}function M(Qe,Et,Mt,qt,Xt,Pe,et){const gt=Et&&J(Qe,Et,Xt,!vo(et))||Qe,ii=Et?tu(Et,gt):7,me=[],ni=new oe(Mt,qt,Et?j(Et):0,Xt,Pe,ii,et,me),_i=!vo(et)||!gt.declarations?void 0:Le(gt.declarations,X1);if(_i)Gt(_i.name,gt,_i,ni.createSearch(Et,Qe,void 0),ni,!0,!0);else if(Et&&Et.kind===90&>.escapedName==="default"&>.parent)It(Et,gt,ni),se(Et,gt,{exportingModuleSymbol:gt.parent,exportKind:1},ni);else{const mt=ni.createSearch(Et,gt,void 0,{allSearchSymbols:Et?On(gt,Et,Xt,et.use===2,!!et.providePrefixAndSuffixTextForRename,!!et.implementations):[gt]});z(gt,ni,mt)}return me}function z(Qe,Et,Mt){const qt=Se(Qe);if(qt)Ze(qt,qt.getSourceFile(),Mt,Et,!(ca(qt)&&!Ft(Et.sourceFiles,qt)));else for(const Xt of Et.sourceFiles)Et.cancellationToken.throwIfCancellationRequested(),ne(Xt,Mt,Et)}function j(Qe){switch(Qe.kind){case 176:case 137:return 1;case 80:if(gr(Qe.parent))return H.assert(Qe.parent.name===Qe),2;default:return 0}}function J(Qe,Et,Mt,qt){const{parent:Xt}=Et;return X1(Xt)&&qt?Yt(Et,Qe,Xt,Mt):G(Qe.declarations,Pe=>{if(!Pe.parent){if(Qe.flags&33554432)return;H.fail(`Unexpected symbol at ${H.formatSyntaxKind(Et.kind)}: ${H.formatSymbol(Qe)}`)}return hm(Pe.parent)&&Lv(Pe.parent.parent)?Mt.getPropertyOfType(Mt.getTypeFromTypeNode(Pe.parent.parent),Qe.name):void 0})}let K;(Qe=>{Qe[Qe.None=0]="None",Qe[Qe.Constructor=1]="Constructor",Qe[Qe.Class=2]="Class"})(K||(K={}));function Y(Qe){if(!(Qe.flags&33555968))return;const Et=Qe.declarations&&Le(Qe.declarations,Mt=>!ca(Mt)&&!Ec(Mt));return Et&&Et.symbol}class oe{constructor(Et,Mt,qt,Xt,Pe,et,gt,ii){this.sourceFiles=Et,this.sourceFilesSet=Mt,this.specialSearchKind=qt,this.checker=Xt,this.cancellationToken=Pe,this.searchMeaning=et,this.options=gt,this.result=ii,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=e9(),this.markSeenReExportRHS=e9(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}includesSourceFile(Et){return this.sourceFilesSet.has(Et.fileName)}getImportSearches(Et,Mt){return this.importTracker||(this.importTracker=TTe(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(Et,Mt,this.options.use===2)}createSearch(Et,Mt,qt,Xt={}){const{text:Pe=G4(sc(oB(Mt)||Y(Mt)||Mt)),allSearchSymbols:et=[Mt]}=Xt,gt=Al(Pe),ii=this.options.implementations&&Et?Yo(Et,Mt,this.checker):void 0;return{symbol:Mt,comingFrom:qt,text:Pe,escapedText:gt,parents:ii,allSearchSymbols:et,includes:me=>Ft(et,me)}}referenceAdder(Et){const Mt=Zo(Et);let qt=this.symbolIdToReferences[Mt];return qt||(qt=this.symbolIdToReferences[Mt]=[],this.result.push({definition:{type:0,symbol:Et},references:qt})),(Xt,Pe)=>qt.push(s3(Xt,Pe))}addStringOrCommentReference(Et,Mt){this.result.push({definition:void 0,references:[{kind:0,fileName:Et,textSpan:Mt}]})}markSearchedSymbols(Et,Mt){const qt=$s(Et),Xt=this.sourceFileToSeenSymbols[qt]||(this.sourceFileToSeenSymbols[qt]=new Set);let Pe=!1;for(const et of Mt)Pe=k0(Xt,Zo(et))||Pe;return Pe}}function se(Qe,Et,Mt,qt){const{importSearches:Xt,singleReferences:Pe,indirectUsers:et}=qt.getImportSearches(Et,Mt);if(Pe.length){const gt=qt.referenceAdder(Et);for(const ii of Pe)ae(ii,qt)&>(ii)}for(const[gt,ii]of Xt)ft(gt.getSourceFile(),qt.createSearch(gt,ii,1),qt);if(et.length){let gt;switch(Mt.exportKind){case 0:gt=qt.createSearch(Qe,Et,1);break;case 1:gt=qt.options.use===2?void 0:qt.createSearch(Qe,Et,1,{text:"default"});break}if(gt)for(const ii of et)ne(ii,gt,qt)}}function ge(Qe,Et,Mt,qt,Xt,Pe,et,gt){const ii=TTe(Qe,new Set(Qe.map(mt=>mt.fileName)),Et,Mt),{importSearches:me,indirectUsers:ni,singleReferences:_i}=ii(qt,{exportKind:et?1:0,exportingModuleSymbol:Xt},!1);for(const[mt]of me)gt(mt);for(const mt of _i)at(mt)&&iD(mt.parent)&>(mt);for(const mt of ni)for(const jt of Be(mt,et?"default":Pe)){const pi=Et.getSymbolAtLocation(jt),$i=Ge(pi==null?void 0:pi.declarations,Yi=>!!rr(Yi,ec));at(jt)&&!n7(jt.parent)&&(pi===qt||$i)&>(jt)}}t.eachExportReference=ge;function ae(Qe,Et){return je(Qe,Et)?Et.options.use!==2?!0:at(Qe)?!(n7(Qe.parent)&&Qe.escapedText==="default"):!1:!1}function Ce(Qe,Et){if(Qe.declarations)for(const Mt of Qe.declarations){const qt=Mt.getSourceFile();ft(qt,Et.createSearch(Mt,Qe,0),Et,Et.includesSourceFile(qt))}}function ne(Qe,Et,Mt){wme(Qe).get(Et.escapedText)!==void 0&&ft(Qe,Et,Mt)}function ve(Qe,Et){return m5(Qe.parent.parent)?Et.getPropertySymbolOfDestructuringAssignment(Qe):void 0}function Se(Qe){const{declarations:Et,flags:Mt,parent:qt,valueDeclaration:Xt}=Qe;if(Xt&&(Xt.kind===218||Xt.kind===231))return Xt;if(!Et)return;if(Mt&8196){const gt=Le(Et,ii=>If(ii,2)||mh(ii));return gt?yv(gt,263):void 0}if(Et.some(KH))return;const Pe=qt&&!(Qe.flags&262144);if(Pe&&!(jH(qt)&&!qt.globalExports))return;let et;for(const gt of Et){const ii=Nk(gt);if(et&&et!==ii||!ii||ii.kind===312&&!lm(ii))return;if(et=ii,A0(et)){let me;for(;me=I0e(et);)et=me}}return Pe?et.getSourceFile():et}function Ne(Qe,Et,Mt,qt=Mt){return pe(Qe,Et,Mt,()=>!0,qt)||!1}t.isSymbolReferencedInFile=Ne;function pe(Qe,Et,Mt,qt,Xt=Mt){const Pe=Pf(Qe.parent,Qe.parent.parent)?Pn(Et.getSymbolsOfParameterPropertyDeclaration(Qe.parent,Qe.text)):Et.getSymbolAtLocation(Qe);if(Pe)for(const et of Be(Mt,Pe.name,Xt)){if(!at(et)||et===Qe||et.escapedText!==Qe.escapedText)continue;const gt=Et.getSymbolAtLocation(et);if(gt===Pe||Et.getShorthandAssignmentValueSymbol(et.parent)===Pe||X1(et.parent)&&Yt(et,gt,et.parent,Et)===Pe){const ii=qt(et);if(ii)return ii}}}t.eachSymbolReferenceInFile=pe;function fe(Qe,Et){return ei(Be(Et,Qe),Xt=>!!iP(Xt)).reduce((Xt,Pe)=>{const et=qt(Pe);return!Ge(Xt.declarationNames)||et===Xt.depth?(Xt.declarationNames.push(Pe),Xt.depth=et):etni===Xt)&&qt(et,ii))return!0}return!1}t.someSignatureUsage=xe;function Be(Qe,Et,Mt=Qe){return Si(We(Qe,Et,Mt),qt=>{const Xt=rf(Qe,qt);return Xt===Qe?void 0:Xt})}function We(Qe,Et,Mt=Qe){const qt=[];if(!Et||!Et.length)return qt;const Xt=Qe.text,Pe=Xt.length,et=Et.length;let gt=Xt.indexOf(Et,Mt.pos);for(;gt>=0&&!(gt>Mt.end);){const ii=gt+et;(gt===0||!pv(Xt.charCodeAt(gt-1),99))&&(ii===Pe||!pv(Xt.charCodeAt(ii),99))&&qt.push(gt),gt=Xt.indexOf(Et,gt+et+1)}return qt}function Ae(Qe,Et){const Mt=Qe.getSourceFile(),qt=Et.text,Xt=Si(Be(Mt,qt,Qe),Pe=>Pe===Et||LH(Pe)&&XQ(Pe,qt)===Et?s3(Pe):void 0);return[{definition:{type:1,node:Et},references:Xt}]}function De(Qe,Et){switch(Qe.kind){case 81:if(zv(Qe.parent))return!0;case 80:return Qe.text.length===Et.length;case 15:case 11:{const Mt=Qe;return(eX(Mt)||jhe(Qe)||J9e(Qe)||Po(Qe.parent)&&nk(Qe.parent)&&Qe.parent.arguments[1]===Qe)&&Mt.text.length===Et.length}case 9:return eX(Qe)&&Qe.text.length===Et.length;case 90:return Et.length===7;default:return!1}}function He(Qe,Et){const Mt=Ku(Qe,qt=>(Et.throwIfCancellationRequested(),Si(Be(qt,"meta",qt),Xt=>{const Pe=Xt.parent;if(H8(Pe))return s3(Pe)})));return Mt.length?[{definition:{type:2,node:Mt[0].node},references:Mt}]:void 0}function Je(Qe,Et,Mt,qt){const Xt=Ku(Qe,Pe=>(Mt.throwIfCancellationRequested(),Si(Be(Pe,$o(Et),Pe),et=>{if(et.kind===Et&&(!qt||qt(et)))return s3(et)})));return Xt.length?[{definition:{type:2,node:Xt[0].node},references:Xt}]:void 0}function ft(Qe,Et,Mt,qt=!0){return Mt.cancellationToken.throwIfCancellationRequested(),Ze(Qe,Qe,Et,Mt,qt)}function Ze(Qe,Et,Mt,qt,Xt){if(qt.markSearchedSymbols(Et,Mt.allSearchSymbols))for(const Pe of We(Et,Mt.text,Qe))Ke(Et,Pe,Mt,qt,Xt)}function je(Qe,Et){return!!(Lk(Qe)&Et.searchMeaning)}function Ke(Qe,Et,Mt,qt,Xt){const Pe=rf(Qe,Et);if(!De(Pe,Mt.text)){!qt.options.implementations&&(qt.options.findInStrings&&Pk(Qe,Et)||qt.options.findInComments&&aSe(Qe,Et))&&qt.addStringOrCommentReference(Qe.fileName,c1(Et,Mt.text.length));return}if(!je(Pe,qt))return;let et=qt.checker.getSymbolAtLocation(Pe);if(!et)return;const gt=Pe.parent;if(Cf(gt)&>.propertyName===Pe)return;if(X1(gt)){H.assert(Pe.kind===80),Gt(Pe,et,gt,Mt,qt,Xt);return}const ii=Cn(Mt,et,Pe,qt);if(!ii){St(et,Mt,qt);return}switch(qt.specialSearchKind){case 0:Xt&&It(Pe,ii,qt);break;case 1:ti(Pe,Qe,Mt,qt);break;case 2:ht(Pe,Mt,qt);break;default:H.assertNever(qt.specialSearchKind)}Xn(Pe)&&Os(Pe.parent)&&b2(Pe.parent.parent.parent)&&(et=Pe.parent.symbol,!et)||lt(Pe,et,Mt,qt)}function Gt(Qe,Et,Mt,qt,Xt,Pe,et){H.assert(!et||!!Xt.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");const{parent:gt,propertyName:ii,name:me}=Mt,ni=gt.parent,_i=Yt(Qe,Et,Mt,Xt.checker);if(!et&&!qt.includes(_i))return;if(ii?Qe===ii?(ni.moduleSpecifier||mt(),Pe&&Xt.options.use!==2&&Xt.markSeenReExportRHS(me)&&It(me,H.checkDefined(Mt.symbol),Xt)):Xt.markSeenReExportRHS(Qe)&&mt():Xt.options.use===2&&me.escapedText==="default"||mt(),!vo(Xt.options)||et){const pi=Qe.escapedText==="default"||Mt.name.escapedText==="default"?1:0,$i=H.checkDefined(Mt.symbol),Yi=LTe($i,pi,Xt.checker);Yi&&se(Qe,$i,Yi,Xt)}if(qt.comingFrom!==1&&ni.moduleSpecifier&&!ii&&!vo(Xt.options)){const jt=Xt.checker.getExportSpecifierLocalTargetSymbol(Mt);jt&&Ce(jt,Xt)}function mt(){Pe&&It(Qe,_i,Xt)}}function Yt(Qe,Et,Mt,qt){return Ie(Qe,Mt)&&qt.getExportSpecifierLocalTargetSymbol(Mt)||Et}function Ie(Qe,Et){const{parent:Mt,propertyName:qt,name:Xt}=Et;return H.assert(qt===Qe||Xt===Qe),qt?qt===Qe:!Mt.parent.moduleSpecifier}function lt(Qe,Et,Mt,qt){const Xt=V0t(Qe,Et,qt.checker,Mt.comingFrom===1);if(!Xt)return;const{symbol:Pe}=Xt;Xt.kind===0?vo(qt.options)||Ce(Pe,qt):se(Qe,Pe,Xt.exportInfo,qt)}function St({flags:Qe,valueDeclaration:Et},Mt,qt){const Xt=qt.checker.getShorthandAssignmentValueSymbol(Et),Pe=Et&&$a(Et);!(Qe&33554432)&&Pe&&Mt.includes(Xt)&&It(Pe,Xt,qt)}function It(Qe,Et,Mt){const{kind:qt,symbol:Xt}="kind"in Et?Et:{kind:void 0,symbol:Et};if(Mt.options.use===2&&Qe.kind===90)return;const Pe=Mt.referenceAdder(Xt);Mt.options.implementations?rn(Qe,Pe,Mt):Pe(Qe,qt)}function ti(Qe,Et,Mt,qt){BM(Qe)&&It(Qe,Mt.symbol,qt);const Xt=()=>qt.referenceAdder(Mt.symbol);if(gr(Qe.parent))H.assert(Qe.kind===90||Qe.parent.name===Qe),Ut(Mt.symbol,Et,Xt());else{const Pe=Ba(Qe);Pe&&(Vi(Pe,Xt()),$n(Pe,qt))}}function ht(Qe,Et,Mt){It(Qe,Et.symbol,Mt);const qt=Qe.parent;if(Mt.options.use===2||!gr(qt))return;H.assert(qt.name===Qe);const Xt=Mt.referenceAdder(Et.symbol);for(const Pe of qt.members)T8(Pe)&&Lo(Pe)&&Pe.body&&Pe.body.forEachChild(function et(gt){gt.kind===110?Xt(gt):!xo(gt)&&!gr(gt)&>.forEachChild(et)})}function Ut(Qe,Et,Mt){const qt=Ni(Qe);if(qt&&qt.declarations)for(const Xt of qt.declarations){const Pe=r0(Xt,137,Et);H.assert(Xt.kind===176&&!!Pe),Mt(Pe)}Qe.exports&&Qe.exports.forEach(Xt=>{const Pe=Xt.valueDeclaration;if(Pe&&Pe.kind===174){const et=Pe.body;et&&aa(et,110,gt=>{BM(gt)&&Mt(gt)})}})}function Ni(Qe){return Qe.members&&Qe.members.get("__constructor")}function Vi(Qe,Et){const Mt=Ni(Qe.symbol);if(Mt&&Mt.declarations)for(const qt of Mt.declarations){H.assert(qt.kind===176);const Xt=qt.body;Xt&&aa(Xt,108,Pe=>{Nhe(Pe)&&Et(Pe)})}}function xn(Qe){return!!Ni(Qe.symbol)}function $n(Qe,Et){if(xn(Qe))return;const Mt=Qe.symbol,qt=Et.createSearch(void 0,Mt,void 0);z(Mt,Et,qt)}function rn(Qe,Et,Mt){if(Q3(Qe)&&sa(Qe.parent)){Et(Qe);return}if(Qe.kind!==80)return;Qe.parent.kind===304&&Da(Qe,Mt.checker,Et);const qt=Pi(Qe);if(qt){Et(qt);return}const Xt=Tn(Qe,gt=>!xf(gt.parent)&&!Xr(gt.parent)&&!Uy(gt.parent)),Pe=Xt.parent;if(HU(Pe)&&Pe.type===Xt&&Mt.markSeenContainingTypeReference(Pe))if(Lx(Pe))et(Pe.initializer);else if(xo(Pe)&&Pe.body){const gt=Pe.body;gt.kind===241?v2(gt,ii=>{ii.expression&&et(ii.expression)}):et(gt)}else qy(Pe)&&et(Pe.expression);function et(gt){ki(gt)&&Et(gt)}}function Pi(Qe){return at(Qe)||zu(Qe)?Pi(Qe.parent):l5(Qe)?rr(Qe.parent.parent,lg(gr,Dh)):void 0}function ki(Qe){switch(Qe.kind){case 217:return ki(Qe.expression);case 219:case 218:case 210:case 231:case 209:return!0;default:return!1}}function Yu(Qe,Et,Mt,qt){if(Qe===Et)return!0;const Xt=Zo(Qe)+","+Zo(Et),Pe=Mt.get(Xt);if(Pe!==void 0)return Pe;Mt.set(Xt,!1);const et=!!Qe.declarations&&Qe.declarations.some(gt=>nP(gt).some(ii=>{const me=qt.getTypeAtLocation(ii);return!!me&&!!me.symbol&&Yu(me.symbol,Et,Mt,qt)}));return Mt.set(Xt,et),et}function oa(Qe){let Et=dj(Qe,!1);if(!Et)return;let Mt=256;switch(Et.kind){case 172:case 171:case 174:case 173:case 176:case 177:case 178:Mt&=Ix(Et),Et=Et.parent;break;default:return}const qt=Et.getSourceFile(),Xt=Si(Be(qt,"super",Et),Pe=>{if(Pe.kind!==108)return;const et=dj(Pe,!1);return et&&Lo(et)===!!Mt&&et.parent.symbol===Et.symbol?s3(Pe):void 0});return[{definition:{type:0,symbol:Et.symbol},references:Xt}]}function Fr(Qe){return Qe.kind===80&&Qe.parent.kind===169&&Qe.parent.name===Qe}function Sa(Qe,Et,Mt){let qt=ef(Qe,!1,!1),Xt=256;switch(qt.kind){case 174:case 173:if(Np(qt)){Xt&=Ix(qt),qt=qt.parent;break}case 172:case 171:case 176:case 177:case 178:Xt&=Ix(qt),qt=qt.parent;break;case 312:if(Bc(qt)||Fr(Qe))return;case 262:case 218:break;default:return}const Pe=Ku(qt.kind===312?Et:[qt.getSourceFile()],gt=>(Mt.throwIfCancellationRequested(),Be(gt,"this",ca(qt)?gt:qt).filter(ii=>{if(!nw(ii))return!1;const me=ef(ii,!1,!1);if(!qg(me))return!1;switch(qt.kind){case 218:case 262:return qt.symbol===me.symbol;case 174:case 173:return Np(qt)&&qt.symbol===me.symbol;case 231:case 263:case 210:return me.parent&&qg(me.parent)&&qt.symbol===me.parent.symbol&&Lo(me)===!!Xt;case 312:return me.kind===312&&!Bc(me)&&!Fr(ii)}}))).map(gt=>s3(gt));return[{definition:{type:3,node:G(Pe,gt=>Qa(gt.node.parent)?gt.node:void 0)||Qe},references:Pe}]}function bt(Qe,Et,Mt,qt){const Xt=uX(Qe,Mt),Pe=Ku(Et,et=>(qt.throwIfCancellationRequested(),Si(Be(et,Qe.text),gt=>{if(t0(gt)&>.text===Qe.text)if(Xt){const ii=uX(gt,Mt);if(Xt!==Mt.getStringType()&&Xt===ii)return s3(gt,2)}else return B7(gt)&&!ck(gt,et)?void 0:s3(gt,2)})));return[{definition:{type:4,node:Qe},references:Pe}]}function On(Qe,Et,Mt,qt,Xt,Pe){const et=[];return Ln(Qe,Et,Mt,qt,!(qt&&Xt),(gt,ii,me)=>{me&&Dn(Qe)!==Dn(me)&&(me=void 0),et.push(me||ii||gt)},()=>!Pe),et}function Ln(Qe,Et,Mt,qt,Xt,Pe,et){const gt=gK(Et);if(gt){const pi=Mt.getShorthandAssignmentValueSymbol(Et.parent);if(pi&&qt)return Pe(pi,void 0,void 0,3);const $i=Mt.getContextualType(gt.parent),Yi=$i&&G(mee(gt,Mt,$i,!0),we=>mt(we,4));if(Yi)return Yi;const on=ve(Et,Mt),le=on&&Pe(on,void 0,void 0,4);if(le)return le;const te=pi&&Pe(pi,void 0,void 0,3);if(te)return te}const ii=p(Et,Qe,Mt);if(ii){const pi=Pe(ii,void 0,void 0,1);if(pi)return pi}const me=mt(Qe);if(me)return me;if(Qe.valueDeclaration&&Pf(Qe.valueDeclaration,Qe.valueDeclaration.parent)){const pi=Mt.getSymbolsOfParameterPropertyDeclaration(No(Qe.valueDeclaration,Qa),Qe.name);return H.assert(pi.length===2&&!!(pi[0].flags&1)&&!!(pi[1].flags&4)),mt(Qe.flags&1?pi[1]:pi[0])}const ni=Sl(Qe,281);if(!qt||ni&&!ni.propertyName){const pi=ni&&Mt.getExportSpecifierLocalTargetSymbol(ni);if(pi){const $i=Pe(pi,void 0,void 0,1);if($i)return $i}}if(!qt){let pi;return Xt?pi=KH(Et.parent)?_X(Mt,Et.parent):void 0:pi=jt(Qe,Mt),pi&&mt(pi,4)}if(H.assert(qt),Xt){const pi=jt(Qe,Mt);return pi&&mt(pi,4)}function mt(pi,$i){return G(Mt.getRootSymbols(pi),Yi=>Pe(pi,Yi,void 0,$i)||(Yi.parent&&Yi.parent.flags&96&&et(Yi)?Fi(Yi.parent,Yi.name,Mt,on=>Pe(pi,Yi,on,$i)):void 0))}function jt(pi,$i){const Yi=Sl(pi,208);if(Yi&&KH(Yi))return _X($i,Yi)}}function Fi(Qe,Et,Mt,qt){const Xt=new Map;return Pe(Qe);function Pe(et){if(!(!(et.flags&96)||!Pp(Xt,Zo(et))))return G(et.declarations,gt=>G(nP(gt),ii=>{const me=Mt.getTypeAtLocation(ii),ni=me&&me.symbol&&Mt.getPropertyOfType(me,Et);return me&&ni&&(G(Mt.getRootSymbols(ni),qt)||Pe(me.symbol))}))}}function Dn(Qe){return Qe.valueDeclaration?!!(gh(Qe.valueDeclaration)&256):!1}function Cn(Qe,Et,Mt,qt){const{checker:Xt}=qt;return Ln(Et,Mt,Xt,!1,qt.options.use!==2||!!qt.options.providePrefixAndSuffixTextForRename,(Pe,et,gt,ii)=>(gt&&Dn(Et)!==Dn(gt)&&(gt=void 0),Qe.includes(gt||et||Pe)?{symbol:et&&!(Wl(Pe)&6)?et:Pe,kind:ii}:void 0),Pe=>!(Qe.parents&&!Qe.parents.some(et=>Yu(Pe.parent,et,qt.inheritsFromCache,Xt))))}function tu(Qe,Et){let Mt=Lk(Qe);const{declarations:qt}=Et;if(qt){let Xt;do{Xt=Mt;for(const Pe of qt){const et=BH(Pe);et&Mt&&(Mt|=et)}}while(Mt!==Xt)}return Mt}t.getIntersectingMeaningFromDeclarations=tu;function sa(Qe){return Qe.flags&33554432?!(Dh(Qe)||Ip(Qe)):K8(Qe)?Lx(Qe):W0(Qe)?!!Qe.body:gr(Qe)||ZO(Qe)}function Da(Qe,Et,Mt){const qt=Et.getSymbolAtLocation(Qe),Xt=Et.getShorthandAssignmentValueSymbol(qt.valueDeclaration);if(Xt)for(const Pe of Xt.getDeclarations())BH(Pe)&1&&Mt(Pe)}t.getReferenceEntriesForShorthandPropertyAssignment=Da;function aa(Qe,Et,Mt){uo(Qe,qt=>{qt.kind===Et&&Mt(qt),aa(qt,Et,Mt)})}function Ba(Qe){return ole(QQ(Qe).parent)}function Yo(Qe,Et,Mt){const qt=iw(Qe)?Qe.parent:void 0,Xt=qt&&Mt.getTypeAtLocation(qt.expression),Pe=Si(Xt&&(Xt.isUnionOrIntersection()?Xt.types:Xt.symbol===Et.parent?void 0:[Xt]),et=>et.symbol&&et.symbol.flags&96?et.symbol:void 0);return Pe.length===0?void 0:Pe}function vo(Qe){return Qe.use===2&&Qe.providePrefixAndSuffixTextForRename}})(d9||(d9={}))}}),$0={};h($0,{Core:()=>d9,DefinitionKind:()=>OTe,EntryKind:()=>jTe,ExportKind:()=>PTe,FindReferencesUse:()=>VTe,ImportExport:()=>MTe,createImportTracker:()=>TTe,findModuleReferences:()=>R0t,findReferenceOrRenameEntries:()=>AUt,findReferencedSymbols:()=>yUt,getContextNode:()=>Ok,getExportInfo:()=>LTe,getImplementationsAtPosition:()=>FUt,getImportOrExportSymbol:()=>V0t,getReferenceEntriesForNode:()=>W0t,getTextSpanOfEntry:()=>ITe,isContextWithStartAndEndNode:()=>H0t,isDeclarationOfSymbol:()=>U0t,isWriteAccessForReference:()=>RTe,nodeEntry:()=>s3,toContextSpan:()=>zTe,toHighlightSpan:()=>PUt,toReferenceEntry:()=>$0t,toRenameLocation:()=>BUt});var q0t=o({"src/services/_namespaces/ts.FindAllReferences.ts"(){CUt(),zUt()}});function Z0t(t,u,s,d,f){var p;const E=Q0t(u,s,t),v=E&&[$Ut(E.reference.fileName,E.fileName,E.unverified)]||_t;if(E!=null&&E.file)return v;const b=rf(u,s);if(b===u)return;const{parent:B}=b,k=t.getTypeChecker();if(b.kind===164||at(b)&&hY(B)&&B.tagName===b)return RUt(k,b)||_t;if(LH(b)){const K=XQ(b.parent,b.text);return K?[HTe(k,K,"label",b.text,void 0)]:void 0}if(b.kind===107){const K=Tn(b.parent,Y=>zl(Y)?"quit":W0(Y));return K?[Pee(k,K)]:void 0}if(b.kind===135){const K=Tn(b,oe=>W0(oe));return K&&Ge(K.modifiers,oe=>oe.kind===134)?[Pee(k,K)]:void 0}if(b.kind===127){const K=Tn(b,oe=>W0(oe));return K&&K.asteriskToken?[Pee(k,K)]:void 0}if(T7(b)&&zl(b.parent)){const K=b.parent.parent,{symbol:Y,failedAliasResolution:oe}=Fpe(K,k,f),se=ei(K.members,zl),ge=Y?k.symbolToString(Y,K):"",ae=b.getSourceFile();return Kt(se,Ce=>{let{pos:ne}=tE(Ce);return ne=ps(ae.text,ne),HTe(k,Ce,"constructor","static {}",ge,!1,oe,{start:ne,length:6})})}let{symbol:T,failedAliasResolution:M}=Fpe(b,k,f),z=b;if(d&&M){const K=L([b,...(T==null?void 0:T.declarations)||_t],oe=>Tn(oe,Nbe)),Y=K&&U8(K);Y&&({symbol:T,failedAliasResolution:M}=Fpe(Y,k,f),z=Y)}if(!T&&EX(z)){const K=(p=t.getResolvedModule(u,z.text,_g(u,z)))==null?void 0:p.resolvedModule;if(K)return[{name:z.text,fileName:K.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:c1(0,0),failedAliasResolution:M,isAmbient:Xd(K.resolvedFileName),unverified:z!==b}]}if(!T)return an(v,WUt(b,k));if(d&&ye(T.declarations,K=>K.getSourceFile().fileName===u.fileName))return;const j=qUt(k,b);if(j&&!(Ph(b.parent)&&ZUt(j))){const K=Pee(k,j,M);if(k.getRootSymbols(T).some(Y=>IUt(Y,j)))return[K];{const Y=YM(k,T,b,M,j)||_t;return b.kind===108?[K,...Y]:[...Y,K]}}if(b.parent.kind===304){const K=k.getShorthandAssignmentValueSymbol(T.valueDeclaration),Y=K!=null&&K.declarations?K.declarations.map(oe=>SK(oe,k,K,b,!1,M)):_t;return an(Y,Y0t(k,b))}if(Ac(b)&&Os(B)&&Mp(B.parent)&&b===(B.propertyName||B.name)){const K=HH(b),Y=k.getTypeAtLocation(B.parent);return K===void 0?_t:Ku(Y.isUnion()?Y.types:[Y],oe=>{const se=oe.getProperty(K);return se&&YM(k,se,b)})}const J=Y0t(k,b);return an(v,J.length?J:YM(k,T,b,M))}function IUt(t,u){var s;return t===u.symbol||t===u.symbol.parent||od(u.parent)||!g2(u.parent)&&t===((s=rr(u.parent,qg))==null?void 0:s.symbol)}function Y0t(t,u){const s=gK(u);if(s){const d=s&&t.getContextualType(s.parent);if(d)return Ku(mee(s,t,d,!1),f=>YM(t,f,u))}return _t}function RUt(t,u){const s=Tn(u,qd);if(!(s&&s.name))return;const d=Tn(s,gr);if(!d)return;const f=Yg(d);if(!f)return;const p=s0(f.expression),E=Qd(p)?p.symbol:t.getSymbolAtLocation(p);if(!E)return;const v=Qr(O8(s.name)),b=Kc(s)?t.getPropertyOfType(t.getTypeOfSymbol(E),v):t.getPropertyOfType(t.getDeclaredTypeOfSymbol(E),v);if(b)return YM(t,b,u)}function Q0t(t,u,s){var d,f;const p=QM(t.referencedFiles,u);if(p){const b=s.getSourceFileFromReference(t,p);return b&&{reference:p,fileName:b.fileName,file:b,unverified:!1}}const E=QM(t.typeReferenceDirectives,u);if(E){const b=(d=s.getResolvedTypeReferenceDirectives().get(E.fileName,E.resolutionMode||t.impliedNodeFormat))==null?void 0:d.resolvedTypeReferenceDirective,B=b&&s.getSourceFile(b.resolvedFileName);return B&&{reference:E,fileName:B.fileName,file:B,unverified:!1}}const v=QM(t.libReferenceDirectives,u);if(v){const b=s.getLibFileFromReference(v);return b&&{reference:v,fileName:b.fileName,file:b,unverified:!1}}if(t.imports.length||t.moduleAugmentations.length){const b=TM(t,u);let B;if(EX(b)&&Md(b.text)&&(B=s.getResolvedModule(t,b.text,_g(t,b)))){const k=(f=B.resolvedModule)==null?void 0:f.resolvedFileName,T=k||yx(cr(t.fileName),b.text);return{file:s.getSourceFile(T),fileName:T,reference:{pos:b.getStart(),end:b.getEnd(),fileName:b.text},unverified:!k}}}}function OUt(t,u){const s=u.symbol.name;if(!WTe.has(s))return!1;const d=t.resolveName(s,void 0,788968,!1);return!!d&&d===u.target.symbol}function X0t(t,u){if(!u.aliasSymbol)return!1;const s=u.aliasSymbol.name;if(!WTe.has(s))return!1;const d=t.resolveName(s,void 0,788968,!1);return!!d&&d===u.aliasSymbol}function jUt(t,u,s,d){var f,p;if(Ju(u)&4&&OUt(t,u))return AK(t.getTypeArguments(u)[0],t,s,d);if(X0t(t,u)&&u.aliasTypeArguments)return AK(u.aliasTypeArguments[0],t,s,d);if(Ju(u)&32&&u.target&&X0t(t,u.target)){const E=(p=(f=u.aliasSymbol)==null?void 0:f.declarations)==null?void 0:p[0];if(E&&Ip(E)&&Y4(E.type)&&E.type.typeArguments)return AK(t.getTypeAtLocation(E.type.typeArguments[0]),t,s,d)}return[]}function VUt(t,u,s){const d=rf(u,s);if(d===u)return;if(H8(d.parent)&&d.parent.name===d)return AK(t.getTypeAtLocation(d.parent),t,d.parent,!1);const{symbol:f,failedAliasResolution:p}=Fpe(d,t,!1);if(!f)return;const E=t.getTypeOfSymbolAtLocation(f,d),v=HUt(f,E,t),b=v&&AK(v,t,d,p),[B,k]=b&&b.length!==0?[v,b]:[E,AK(E,t,d,p)];return k.length?[...jUt(t,B,d,p),...k]:!(f.flags&111551)&&f.flags&788968?YM(t,Q1(f,t),d,p):void 0}function AK(t,u,s,d){return Ku(t.isUnion()&&!(t.flags&32)?t.types:[t],f=>f.symbol&&YM(u,f.symbol,s,d))}function HUt(t,u,s){if(u.symbol===t||t.valueDeclaration&&u.symbol&&ra(t.valueDeclaration)&&t.valueDeclaration.initializer===u.symbol.valueDeclaration){const d=u.getCallSignatures();if(d.length===1)return s.getReturnTypeOfSignature(Pn(d))}}function KUt(t,u,s){const d=Z0t(t,u,s);if(!d||d.length===0)return;const f=QM(u.referencedFiles,s)||QM(u.typeReferenceDirectives,s)||QM(u.libReferenceDirectives,s);if(f)return{definitions:d,textSpan:Ux(f)};const p=rf(u,s),E=c1(p.getStart(),p.getWidth());return{definitions:d,textSpan:E}}function WUt(t,u){return Si(u.getIndexInfosAtLocation(t),s=>s.declaration&&Pee(u,s.declaration))}function Fpe(t,u,s){const d=u.getSymbolAtLocation(t);let f=!1;if(d!=null&&d.declarations&&d.flags&2097152&&!s&&GUt(t,d.declarations[0])){const p=u.getAliasedSymbol(d);if(p.declarations)return{symbol:p};f=!0}return{symbol:d,failedAliasResolution:f}}function GUt(t,u){return t.kind!==80?!1:t.parent===u?!0:u.kind!==274}function JUt(t){if(!XN(t))return!1;const u=Tn(t,s=>od(s)?!0:XN(s)?!1:"quit");return!!u&&Ql(u)===5}function YM(t,u,s,d,f){const p=ei(u.declarations,T=>T!==f),E=ei(p,T=>!JUt(T)),v=Ge(E)?E:p;return b()||B()||Kt(v,T=>SK(T,t,u,s,!1,d));function b(){if(u.flags&32&&!(u.flags&19)&&(BM(s)||s.kind===137)){const T=Le(p,gr)||H.fail("Expected declaration to have at least one class-like declaration");return k(T.members,!0)}}function B(){return Phe(s)||Vhe(s)?k(p,!1):void 0}function k(T,M){if(!T)return;const z=T.filter(M?dc:xo),j=z.filter(J=>!!J.body);return z.length?j.length!==0?j.map(J=>SK(J,t,u,s)):[SK(Cr(z),t,u,s,!1,d)]:void 0}}function SK(t,u,s,d,f,p){const E=u.symbolToString(s),v=D5.getSymbolKind(u,s,d),b=s.parent?u.symbolToString(s.parent,d):"";return HTe(u,t,v,E,b,f,p)}function HTe(t,u,s,d,f,p,E,v){const b=u.getSourceFile();if(!v){const B=$a(u)||u;v=af(B,b)}return{fileName:b.fileName,textSpan:v,kind:s,name:d,containerKind:void 0,containerName:f,...$0.toContextSpan(v,b,$0.getContextNode(u)),isLocal:!KTe(t,u),isAmbient:!!(u.flags&33554432),unverified:p,failedAliasResolution:E}}function KTe(t,u){if(t.isDeclarationVisible(u))return!0;if(!u.parent)return!1;if(Lx(u.parent)&&u.parent.initializer===u)return KTe(t,u.parent);switch(u.kind){case 172:case 177:case 178:case 174:if(If(u,2))return!1;case 176:case 303:case 304:case 210:case 231:case 219:case 218:return KTe(t,u.parent);default:return!1}}function Pee(t,u,s){return SK(u,t,u.symbol,u,!1,s)}function QM(t,u){return Le(t,s=>MO(s,u))}function $Ut(t,u,s){return{fileName:u,textSpan:Vc(0,0),kind:"script",name:t,containerName:void 0,containerKind:void 0,unverified:s}}function UUt(t){const u=Tn(t,d=>!iw(d)),s=u==null?void 0:u.parent;return s&&g2(s)&&dq(s)===u?s:void 0}function qUt(t,u){const s=UUt(u),d=s&&t.getResolvedSignature(s);return rr(d&&d.declaration,f=>xo(f)&&!n3(f))}function ZUt(t){switch(t.kind){case 176:case 185:case 180:return!0;default:return!1}}var WTe,YUt=o({"src/services/goToDefinition.ts"(){ar(),WTe=new Set(["Array","ArrayLike","ReadonlyArray","Promise","PromiseLike","Iterable","IterableIterator","AsyncIterable","Set","WeakSet","ReadonlySet","Map","WeakMap","ReadonlyMap","Partial","Required","Readonly","Pick","Omit"])}}),xw={};h(xw,{createDefinitionInfo:()=>SK,findReferenceInPosition:()=>QM,getDefinitionAndBoundSpan:()=>KUt,getDefinitionAtPosition:()=>Z0t,getReferenceAtPosition:()=>Q0t,getTypeDefinitionAtPosition:()=>VUt});var QUt=o({"src/services/_namespaces/ts.GoToDefinition.ts"(){YUt()}});function XUt(t){return t.includeInlayParameterNameHints==="literals"||t.includeInlayParameterNameHints==="all"}function eqt(t){return t.includeInlayParameterNameHints==="literals"}function elt(t){return t.interactiveInlayHints===!0}function tqt(t){const{file:u,program:s,span:d,cancellationToken:f,preferences:p}=t,E=u.text,v=s.getCompilerOptions(),b=Vm(u,p),B=s.getTypeChecker(),k=[];return T(u),k;function T(Ae){if(!(!Ae||Ae.getFullWidth()===0)){switch(Ae.kind){case 267:case 263:case 264:case 262:case 231:case 218:case 174:case 219:f.throwIfCancellationRequested()}if(FU(d,Ae.pos,Ae.getFullWidth())&&!(Xr(Ae)&&!l5(Ae)))return p.includeInlayVariableTypeHints&&ra(Ae)||p.includeInlayPropertyDeclarationTypeHints&&yo(Ae)?oe(Ae):p.includeInlayEnumMemberValueHints&&K2(Ae)?K(Ae):XUt(p)&&(Po(Ae)||I2(Ae))?se(Ae):(p.includeInlayFunctionParameterTypeHints&&W0(Ae)&&lZ(Ae)&&Se(Ae),p.includeInlayFunctionLikeReturnTypeHints&&M(Ae)&&ne(Ae)),uo(Ae,T)}}function M(Ae){return J0(Ae)||A0(Ae)||Xc(Ae)||cc(Ae)||Mm(Ae)}function z(Ae,De,He,Je){let ft=`${Je?"...":""}${Ae}`,Ze;elt(p)?(Ze=[We(ft,De),{text:":"}],ft=""):ft+=":",k.push({text:ft,position:He,kind:"Parameter",whitespaceAfter:!0,displayParts:Ze})}function j(Ae,De){k.push({text:typeof Ae=="string"?`: ${Ae}`:"",displayParts:typeof Ae=="string"?void 0:[{text:": "},...Ae],position:De,kind:"Type",whitespaceBefore:!0})}function J(Ae,De){k.push({text:`= ${Ae}`,position:De,kind:"Enum",whitespaceBefore:!0})}function K(Ae){if(Ae.initializer)return;const De=B.getConstantValue(Ae);De!==void 0&&J(De.toString(),Ae.end)}function Y(Ae){return Ae.symbol&&Ae.symbol.flags&1536}function oe(Ae){if(!Ae.initializer||Ao(Ae.name)||ra(Ae)&&!Be(Ae)||h1(Ae))return;const He=B.getTypeAtLocation(Ae);if(Y(He))return;const Je=fe(He);if(Je){const ft=typeof Je=="string"?Je:Je.map(je=>je.text).join("");if(p.includeInlayVariableTypeHintsWhenTypeMatchesName===!1&&ZA(Ae.name.getText(),ft))return;j(Je,Ae.name.end)}}function se(Ae){const De=Ae.arguments;if(!De||!De.length)return;const He=[],Je=B.getResolvedSignatureForSignatureHelp(Ae,He);if(!Je||!He.length)return;let ft=0;for(const Ze of De){const je=s0(Ze);if(eqt(p)&&!Ce(je)){ft++;continue}let Ke=0;if(nE(je)){const Yt=B.getTypeAtLocation(je.expression);if(B.isTupleType(Yt)){const{elementFlags:Ie,fixedLength:lt}=Yt.target;if(lt===0)continue;const St=Ue(Ie,ti=>!(ti&1));(St<0?lt:St)>0&&(Ke=St<0?lt:St)}}const Gt=B.getParameterIdentifierInfoAtPosition(Je,ft);if(ft=ft+(Ke||1),Gt){const{parameter:Yt,parameterName:Ie,isRestParameter:lt}=Gt;if(!(p.includeInlayParameterNameHintsWhenArgumentMatchesName||!ge(je,Ie))&&!lt)continue;const It=Qr(Ie);if(ae(je,It))continue;z(It,Yt,Ze.getStart(),lt)}}}function ge(Ae,De){return at(Ae)?Ae.text===De:zu(Ae)?Ae.name.text===De:!1}function ae(Ae,De){if(!Tm(De,v.target,qj(u.scriptKind)))return!1;const He=K_(E,Ae.pos);if(!(He!=null&&He.length))return!1;const Je=tlt(De);return Ge(He,ft=>Je.test(E.substring(ft.pos,ft.end)))}function Ce(Ae){switch(Ae.kind){case 224:{const De=Ae.operand;return m2(De)||at(De)&&TP(De.escapedText)}case 112:case 97:case 106:case 15:case 228:return!0;case 80:{const De=Ae.escapedText;return xe(De)||TP(De)}}return m2(Ae)}function ne(Ae){if(J0(Ae)&&!r0(Ae,21,u)||J4(Ae)||!Ae.body)return;const He=B.getSignatureFromDeclaration(Ae);if(!He)return;const Je=B.getReturnTypeOfSignature(He);if(Y(Je))return;const ft=fe(Je);ft&&j(ft,ve(Ae))}function ve(Ae){const De=r0(Ae,22,u);return De?De.end:Ae.parameters.end}function Se(Ae){const De=B.getSignatureFromDeclaration(Ae);if(De)for(let He=0;He{const ft=B.typeToTypeNode(Ae,void 0,71286784);H.assertIsDefined(ft,"should always get typenode"),He.writeNode(4,ft,u,Je)})}function fe(Ae){if(!elt(p))return pe(Ae);const He=B.typeToTypeNode(Ae,void 0,71286784);H.assertIsDefined(He,"should always get typenode");const Je=[];return ft(He),Je;function ft(Ke){if(!Ke)return;const Gt=$o(Ke.kind);if(Gt){Je.push({text:Gt});return}if(m2(Ke)){Je.push({text:je(Ke)});return}switch(Ke.kind){case 80:const Yt=Ke,Ie=fu(Yt),lt=Yt.symbol&&Yt.symbol.declarations&&Yt.symbol.declarations.length&&$a(Yt.symbol.declarations[0]);lt?Je.push(We(Ie,lt)):Je.push({text:Ie});break;case 166:const St=Ke;ft(St.left),Je.push({text:"."}),ft(St.right);break;case 182:const It=Ke;It.assertsModifier&&Je.push({text:"asserts "}),ft(It.parameterName),It.type&&(Je.push({text:" is "}),ft(It.type));break;case 183:const ti=Ke;ft(ti.typeName),ti.typeArguments&&(Je.push({text:"<"}),Ze(ti.typeArguments,", "),Je.push({text:">"}));break;case 168:const ht=Ke;ht.modifiers&&Ze(ht.modifiers," "),ft(ht.name),ht.constraint&&(Je.push({text:" extends "}),ft(ht.constraint)),ht.default&&(Je.push({text:" = "}),ft(ht.default));break;case 169:const Ut=Ke;Ut.modifiers&&Ze(Ut.modifiers," "),Ut.dotDotDotToken&&Je.push({text:"..."}),ft(Ut.name),Ut.questionToken&&Je.push({text:"?"}),Ut.type&&(Je.push({text:": "}),ft(Ut.type));break;case 185:const Ni=Ke;Je.push({text:"new "}),Ni.typeParameters&&(Je.push({text:"<"}),Ze(Ni.typeParameters,", "),Je.push({text:">"})),Je.push({text:"("}),Ze(Ni.parameters,", "),Je.push({text:")"}),Je.push({text:" => "}),ft(Ni.type);break;case 186:const Vi=Ke;Je.push({text:"typeof "}),ft(Vi.exprName),Vi.typeArguments&&(Je.push({text:"<"}),Ze(Vi.typeArguments,", "),Je.push({text:">"}));break;case 187:const xn=Ke;Je.push({text:"{"}),xn.members.length&&(Je.push({text:" "}),Ze(xn.members,"; "),Je.push({text:" "})),Je.push({text:"}"});break;case 188:ft(Ke.elementType),Je.push({text:"[]"});break;case 189:Je.push({text:"["}),Ze(Ke.elements,", "),Je.push({text:"]"});break;case 202:const $n=Ke;$n.dotDotDotToken&&Je.push({text:"..."}),ft($n.name),$n.questionToken&&Je.push({text:"?"}),Je.push({text:": "}),ft($n.type);break;case 190:ft(Ke.type),Je.push({text:"?"});break;case 191:Je.push({text:"..."}),ft(Ke.type);break;case 192:Ze(Ke.types," | ");break;case 193:Ze(Ke.types," & ");break;case 194:const rn=Ke;ft(rn.checkType),Je.push({text:" extends "}),ft(rn.extendsType),Je.push({text:" ? "}),ft(rn.trueType),Je.push({text:" : "}),ft(rn.falseType);break;case 195:Je.push({text:"infer "}),ft(Ke.typeParameter);break;case 196:Je.push({text:"("}),ft(Ke.type),Je.push({text:")"});break;case 198:const Pi=Ke;Je.push({text:`${$o(Pi.operator)} `}),ft(Pi.type);break;case 199:const ki=Ke;ft(ki.objectType),Je.push({text:"["}),ft(ki.indexType),Je.push({text:"]"});break;case 200:const Yu=Ke;Je.push({text:"{ "}),Yu.readonlyToken&&(Yu.readonlyToken.kind===40?Je.push({text:"+"}):Yu.readonlyToken.kind===41&&Je.push({text:"-"}),Je.push({text:"readonly "})),Je.push({text:"["}),ft(Yu.typeParameter),Yu.nameType&&(Je.push({text:" as "}),ft(Yu.nameType)),Je.push({text:"]"}),Yu.questionToken&&(Yu.questionToken.kind===40?Je.push({text:"+"}):Yu.questionToken.kind===41&&Je.push({text:"-"}),Je.push({text:"?"})),Je.push({text:": "}),Yu.type&&ft(Yu.type),Je.push({text:"; }"});break;case 201:ft(Ke.literal);break;case 184:const oa=Ke;oa.typeParameters&&(Je.push({text:"<"}),Ze(oa.typeParameters,", "),Je.push({text:">"})),Je.push({text:"("}),Ze(oa.parameters,", "),Je.push({text:")"}),Je.push({text:" => "}),ft(oa.type);break;case 205:const Fr=Ke;Fr.isTypeOf&&Je.push({text:"typeof "}),Je.push({text:"import("}),ft(Fr.argument),Fr.assertions&&(Je.push({text:", { assert: "}),Ze(Fr.assertions.assertClause.elements,", "),Je.push({text:" }"})),Je.push({text:")"}),Fr.qualifier&&(Je.push({text:"."}),ft(Fr.qualifier)),Fr.typeArguments&&(Je.push({text:"<"}),Ze(Fr.typeArguments,", "),Je.push({text:">"}));break;case 171:const Sa=Ke;Sa.modifiers&&Ze(Sa.modifiers," "),ft(Sa.name),Sa.questionToken&&Je.push({text:"?"}),Sa.type&&(Je.push({text:": "}),ft(Sa.type));break;default:H.failBadSyntaxKind(Ke)}}function Ze(Ke,Gt){Ke.forEach((Yt,Ie)=>{Ie>0&&Je.push({text:Gt}),ft(Yt)})}function je(Ke){return us(Ke)?b===0?`'${kv(Ke.text,39)}'`:`"${kv(Ke.text,34)}"`:Ke.text}}function xe(Ae){return Ae==="undefined"}function Be(Ae){if((A2(Ae)||ra(Ae)&&V8(Ae))&&Ae.initializer){const De=s0(Ae.initializer);return!(Ce(De)||I2(De)||bs(De)||qy(De))}return!0}function We(Ae,De){const He=De.getSourceFile();return{text:Ae,span:af(De,He),file:He.fileName}}}var tlt,iqt=o({"src/services/inlayHints.ts"(){ar(),tlt=t=>new RegExp(`^\\s?/\\*\\*?\\s?${t}\\s?\\*\\/\\s?$`)}}),Ape={};h(Ape,{provideInlayHints:()=>tqt});var nqt=o({"src/services/_namespaces/ts.InlayHints.ts"(){iqt()}});function uqt(t,u){const s=[];return sfe(t,d=>{for(const f of aqt(d)){const p=Rp(f)&&f.tags&&Le(f.tags,v=>v.kind===334&&(v.tagName.escapedText==="inheritDoc"||v.tagName.escapedText==="inheritdoc"));if(f.comment===void 0&&!p||Rp(f)&&d.kind!==353&&d.kind!==345&&f.tags&&f.tags.some(v=>v.kind===353||v.kind===345)&&!f.tags.some(v=>v.kind===348||v.kind===349))continue;let E=f.comment?vw(f.comment,u):[];p&&p.comment&&(E=E.concat(vw(p.comment,u))),Ft(s,E,rqt)||s.push(E)}}),Oa(_e(s,[ow()]))}function rqt(t,u){return Zt(t,u,(s,d)=>s.kind===d.kind&&s.text===d.text)}function aqt(t){switch(t.kind){case 348:case 355:return[t];case 345:case 353:return[t,t.parent];case 330:if(TB(t.parent))return[t.parent.parent];default:return z0e(t)}}function oqt(t,u){const s=[];return sfe(t,d=>{const f=xv(d);if(!(f.some(p=>p.kind===353||p.kind===345)&&!f.some(p=>p.kind===348||p.kind===349)))for(const p of f)s.push({name:p.tagName.text,text:ilt(p,u)}),HO(p)&&p.isNameFirst&&p.typeExpression&&V7(p.typeExpression.type)&&L(p.typeExpression.type.jsDocPropertyTags,E=>{s.push({name:E.tagName.text,text:ilt(E,u)})})}),s}function vw(t,u){return typeof t=="string"?[Hm(t)]:Ku(t,s=>s.kind===328?[Hm(s.text)]:ESe(s,u))}function ilt(t,u){const{comment:s,kind:d}=t,f=sqt(d);switch(d){case 356:const v=t.typeExpression;return v?p(v):s===void 0?void 0:vw(s,u);case 336:return p(t.class);case 335:return p(t.class);case 352:const b=t,B=[];if(b.constraint&&B.push(Hm(b.constraint.getText())),S(b.typeParameters)){S(B)&&B.push(Jl());const T=b.typeParameters[b.typeParameters.length-1];L(b.typeParameters,M=>{B.push(f(M.getText())),T!==M&&B.push(th(28),Jl())})}return s&&B.push(Jl(),...vw(s,u)),B;case 351:case 357:return p(t.typeExpression);case 353:case 345:case 355:case 348:case 354:const{name:k}=t;return k?p(k):s===void 0?void 0:vw(s,u);default:return s===void 0?void 0:vw(s,u)}function p(v){return E(v.getText())}function E(v){return s?v.match(/^https?$/)?[Hm(v),...vw(s,u)]:[f(v),Jl(),...vw(s,u)]:[Hm(v)]}}function sqt(t){switch(t){case 348:return hSe;case 355:return fSe;case 352:return pSe;case 353:case 345:return mSe;default:return Hm}}function lqt(){return ult||(ult=Kt(JTe,t=>({name:t,kind:"keyword",kindModifiers:"",sortText:c9.SortText.LocationPriority})))}function cqt(){return rlt||(rlt=Kt(JTe,t=>({name:`@${t}`,kind:"keyword",kindModifiers:"",sortText:c9.SortText.LocationPriority})))}function nlt(t){return{name:t,kind:"",kindModifiers:"",displayParts:[Hm(t)],documentation:_t,tags:void 0,codeActions:void 0}}function dqt(t){if(!at(t.name))return _t;const u=t.name.text,s=t.parent,d=s.parent;return xo(d)?Si(d.parameters,f=>{if(!at(f.name))return;const p=f.name.text;if(!(s.tags.some(E=>E!==t&&pg(E)&&at(E.name)&&E.name.escapedText===p)||u!==void 0&&!La(p,u)))return{name:p,kind:"parameter",kindModifiers:"",sortText:c9.SortText.LocationPriority}}):[]}function hqt(t){return{name:t,kind:"parameter",kindModifiers:"",displayParts:[Hm(t)],documentation:_t,tags:void 0,codeActions:void 0}}function fqt(t,u,s,d){const f=Ca(u,s),p=Tn(f,Rp);if(p&&(p.comment!==void 0||S(p.tags)))return;const E=f.getStart(u);if(!p&&E0;if(J&&!oe){const se=K+t+z+" * ",ge=E===s?t+z:"";return{newText:se+t+J+z+Y+ge,caretOffset:se.length}}return{newText:K+Y,caretOffset:3}}function mqt(t,u){const{text:s}=t,d=X4(u,t);let f=d;for(;f<=u&&Ug(s.charCodeAt(f));f++);return s.slice(d,f)}function pqt(t,u,s,d){return t.map(({name:f,dotDotDotToken:p},E)=>{const v=f.kind===80?f.text:"param"+E;return`${s} * @param ${u?p?"{...any} ":"{any} ":""}${v}${d}`}).join("")}function gqt(t,u){return`${t} * @returns${u}`}function Eqt(t,u){return Cbe(t,s=>GTe(s,u))}function GTe(t,u){switch(t.kind){case 262:case 218:case 174:case 176:case 173:case 219:const s=t;return{commentOwner:t,parameters:s.parameters,hasReturn:Mee(s,u)};case 303:return GTe(t.initializer,u);case 263:case 264:case 266:case 306:case 265:return{commentOwner:t};case 171:{const f=t;return f.type&&n3(f.type)?{commentOwner:t,parameters:f.type.parameters,hasReturn:Mee(f.type,u)}:{commentOwner:t}}case 243:{const p=t.declarationList.declarations,E=p.length===1&&p[0].initializer?_qt(p[0].initializer):void 0;return E?{commentOwner:t,parameters:E.parameters,hasReturn:Mee(E,u)}:{commentOwner:t}}case 312:return"quit";case 267:return t.parent.kind===267?void 0:{commentOwner:t};case 244:return GTe(t.expression,u);case 226:{const f=t;return Ql(f)===0?"quit":xo(f.right)?{commentOwner:t,parameters:f.right.parameters,hasReturn:Mee(f.right,u)}:{commentOwner:t}}case 172:const d=t.initializer;if(d&&(A0(d)||J0(d)))return{commentOwner:t,parameters:d.parameters,hasReturn:Mee(d,u)}}}function Mee(t,u){return!!(u!=null&&u.generateReturnInDocTemplate)&&(n3(t)||J0(t)&&Wt(t.body)||W0(t)&&t.body&&ho(t.body)&&!!v2(t.body,s=>s))}function _qt(t){for(;t.kind===217;)t=t.expression;switch(t.kind){case 218:case 219:return t;case 231:return Le(t.members,dc)}}var JTe,ult,rlt,alt,Dqt=o({"src/services/jsDoc.ts"(){ar(),JTe=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","link","linkcode","linkplain","listens","member","memberof","method","mixes","module","name","namespace","overload","override","package","param","private","prop","property","protected","public","readonly","requires","returns","satisfies","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"],alt=nlt}}),qv={};h(qv,{getDocCommentTemplateAtPosition:()=>fqt,getJSDocParameterNameCompletionDetails:()=>hqt,getJSDocParameterNameCompletions:()=>dqt,getJSDocTagCompletionDetails:()=>nlt,getJSDocTagCompletions:()=>cqt,getJSDocTagNameCompletionDetails:()=>alt,getJSDocTagNameCompletions:()=>lqt,getJsDocCommentsFromDeclarations:()=>uqt,getJsDocTagsFromDeclarations:()=>oqt});var xqt=o({"src/services/_namespaces/ts.JsDoc.ts"(){Dqt()}});function vqt(t,u,s,d,f,p){const E=iu.ChangeTracker.fromContext({host:s,formatContext:u,preferences:f}),v=p==="SortAndCombine"||p==="All",b=v,B=p==="RemoveUnused"||p==="All",k=Spe(t,t.statements.filter(Ad)),T=Rqt(f,v?()=>llt(k,f)===2:void 0),M=j=>(B&&(j=bqt(j,t,d)),b&&(j=olt(j,T,t)),v&&(j=ac(j,(J,K)=>YTe(J,K,T))),j);k.forEach(j=>z(j,M)),p!=="RemoveUnused"&&Oqt(t).forEach(j=>z(j,J=>$Te(J,T)));for(const j of t.statements.filter(L1)){if(!j.body)continue;if(Spe(t,j.body.statements.filter(Ad)).forEach(K=>z(K,M)),p!=="RemoveUnused"){const K=j.body.statements.filter(Gc);z(K,Y=>$Te(Y,T))}}return E.getChanges();function z(j,J){if(S(j)===0)return;Yn(j[0],1024);const K=b?xN(j,se=>zee(se.moduleSpecifier)):[j],Y=v?ac(K,(se,ge)=>qTe(se[0].moduleSpecifier,ge[0].moduleSpecifier,T)):K,oe=Ku(Y,se=>zee(se[0].moduleSpecifier)||se[0].moduleSpecifier===void 0?J(se):se);if(oe.length===0)E.deleteNodes(t,j,{leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Include},!0);else{const se={leadingTriviaOption:iu.LeadingTriviaOption.Exclude,trailingTriviaOption:iu.TrailingTriviaOption.Include,suffix:g5(s,u.options)};E.replaceNodeWithNodes(t,j[0],oe,se);const ge=E.nodeHasTrailingComment(t,j[0],se);E.deleteNodes(t,j.slice(1),{trailingTriviaOption:iu.TrailingTriviaOption.Include},ge)}}}function Spe(t,u){const s=ZD(t.languageVersion,!1,t.languageVariant),d=[];let f=0;for(const p of u)d[f]&&Cqt(t,p,s)&&f++,d[f]||(d[f]=[]),d[f].push(p);return d}function Cqt(t,u,s){const d=u.getFullStart(),f=u.getStart();s.setText(t.text,d,f-d);let p=0;for(;s.getTokenStart()=2))return!0;return!1}function bqt(t,u,s){const d=s.getTypeChecker(),f=s.getCompilerOptions(),p=d.getJsxNamespace(u),E=d.getJsxFragmentFactory(u),v=!!(u.transformFlags&2),b=[];for(const k of t){const{importClause:T,moduleSpecifier:M}=k;if(!T){b.push(k);continue}let{name:z,namedBindings:j}=T;if(z&&!B(z)&&(z=void 0),j)if(Gx(j))B(j.name)||(j=void 0);else{const J=j.elements.filter(K=>B(K.name));J.lengthus(d)&&d.text===s)}function zee(t){return t!==void 0&&t0(t)?t.text:void 0}function kqt(t,u,s){const d=Bpe(u);return olt(t,d,s)}function olt(t,u,s){if(t.length===0)return t;const{importWithoutClause:d,typeOnlyImports:f,regularImports:p}=Fqt(t),E=[];d&&E.push(d);for(const v of[p,f]){const b=v===f,{defaultImports:B,namespaceImports:k,namedImports:T}=v;if(!b&&B.length===1&&k.length===1&&T.length===0){const ge=B[0];E.push(BK(ge,ge.importClause.name,k[0].importClause.namedBindings));continue}const M=ac(k,(ge,ae)=>u(ge.importClause.namedBindings.name.text,ae.importClause.namedBindings.name.text));for(const ge of M)E.push(BK(ge,void 0,ge.importClause.namedBindings));const z=Ki(B),j=Ki(T),J=z??j;if(!J)continue;let K;const Y=[];if(B.length===1)K=B[0].importClause.name;else for(const ge of B)Y.push(q.createImportSpecifier(!1,q.createIdentifier("default"),ge.importClause.name));Y.push(...Pqt(T));const oe=q.createNodeArray(slt(Y,u),j==null?void 0:j.importClause.namedBindings.elements.hasTrailingComma),se=oe.length===0?K?void 0:q.createNamedImports(_t):j?q.updateNamedImports(j.importClause.namedBindings,oe):q.createNamedImports(oe);s&&se&&(j!=null&&j.importClause.namedBindings)&&!ck(j.importClause.namedBindings,s)&&Yn(se,2),b&&K&&se?(E.push(BK(J,K,void 0)),E.push(BK(j??J,void 0,se))):E.push(BK(J,K,se))}return E}function Fqt(t){let u;const s={defaultImports:[],namespaceImports:[],namedImports:[]},d={defaultImports:[],namespaceImports:[],namedImports:[]};for(const f of t){if(f.importClause===void 0){u=u||f;continue}const p=f.importClause.isTypeOnly?s:d,{name:E,namedBindings:v}=f.importClause;E&&p.defaultImports.push(f),v&&(Gx(v)?p.namespaceImports.push(f):p.namedImports.push(f))}return{importWithoutClause:u,typeOnlyImports:s,regularImports:d}}function Aqt(t,u){const s=Bpe(u);return $Te(t,s)}function $Te(t,u){if(t.length===0)return t;const{exportWithoutClause:s,namedExports:d,typeOnlyExports:f}=E(t),p=[];s&&p.push(s);for(const v of[d,f]){if(v.length===0)continue;const b=[];b.push(...Ku(v,T=>T.exportClause&&Q4(T.exportClause)?T.exportClause.elements:_t));const B=slt(b,u),k=v[0];p.push(q.updateExportDeclaration(k,k.modifiers,k.isTypeOnly,k.exportClause&&(Q4(k.exportClause)?q.updateNamedExports(k.exportClause,B):q.updateNamespaceExport(k.exportClause,k.exportClause.name)),k.moduleSpecifier,k.attributes))}return p;function E(v){let b;const B=[],k=[];for(const T of v)T.exportClause===void 0?b=b||T:T.isTypeOnly?k.push(T):B.push(T);return{exportWithoutClause:b,namedExports:B,typeOnlyExports:k}}}function BK(t,u,s){return q.updateImportDeclaration(t,t.modifiers,q.updateImportClause(t.importClause,t.importClause.isTypeOnly,u,s),t.moduleSpecifier,t.attributes)}function slt(t,u){return ac(t,(s,d)=>UTe(s,d,u))}function UTe(t,u,s){return s2(t.isTypeOnly,u.isTypeOnly)||s(t.name.text,u.name.text)}function Sqt(t,u,s){const d=Bpe(!!s);return qTe(t,u,d)}function qTe(t,u,s){const d=t===void 0?void 0:zee(t),f=u===void 0?void 0:zee(u);return s2(d===void 0,f===void 0)||s2(Md(d),Md(f))||s(d,f)}function ZTe(t){var u;switch(t.kind){case 271:return(u=rr(t.moduleReference,u_))==null?void 0:u.expression;case 272:return t.moduleSpecifier;case 243:return t.declarationList.declarations[0].initializer.arguments[0]}}function Bqt(t,u){return llt(Spe(t,t.statements.filter(Ad)),u)}function llt(t,u){const s=Cw(u,!1),d=Cw(u,!0);let f=3,p=!1;for(const E of t){if(E.length>1){const b=hn(E,B=>{var k;return((k=rr(B.moduleSpecifier,us))==null?void 0:k.text)??""},s,d);if(b&&(f&=b,p=!0),!f)return f}const v=Le(E,b=>{var B,k;return((k=rr((B=b.importClause)==null?void 0:B.namedBindings,nD))==null?void 0:k.elements.length)>1});if(v){const b=QTe(v.importClause.namedBindings.elements,u);if(b&&(f&=b,p=!0),!f)return f}if(f!==3)return f}return p?0:f}function wqt(t,u){const s=Cw(u,!1),d=Cw(u,!0);return hn(t,f=>zee(ZTe(f))||"",s,d)}function Tqt(t,u,s){const d=Hl(t,u,il,(f,p)=>YTe(f,p,s));return d<0?~d:d}function Lqt(t,u,s){const d=Hl(t,u,il,(f,p)=>UTe(f,p,s));return d<0?~d:d}function YTe(t,u,s){return qTe(ZTe(t),ZTe(u),s)||Nqt(t,u)}function Nqt(t,u){return nl(clt(t),clt(u))}function clt(t){var u;switch(t.kind){case 272:return t.importClause?t.importClause.isTypeOnly?1:((u=t.importClause.namedBindings)==null?void 0:u.kind)===274?2:t.importClause.name?3:4:0;case 271:return 5;case 243:return 6}}function Pqt(t){return Ku(t,u=>Kt(Mqt(u),s=>s.name&&s.propertyName&&s.name.escapedText===s.propertyName.escapedText?q.updateImportSpecifier(s,s.isTypeOnly,void 0,s.name):s))}function Mqt(t){var u;return(u=t.importClause)!=null&&u.namedBindings&&nD(t.importClause.namedBindings)?t.importClause.namedBindings.elements:void 0}function Bpe(t){return t?$Ce:ch}function zqt(t,u){const s=Iqt(u),d=u.organizeImportsCaseFirst??!1,f=u.organizeImportsNumericCollation??!1,p=u.organizeImportsAccentCollation??!0,E=t?p?"accent":"base":p?"variant":"case";return new Intl.Collator(s,{usage:"sort",caseFirst:d||"false",sensitivity:E,numeric:f}).compare}function Iqt(t){let u=t.organizeImportsLocale;u==="auto"&&(u=UCe()),u===void 0&&(u="en");const s=Intl.Collator.supportedLocalesOf(u);return s.length?s[0]:"en"}function Cw(t,u){return(t.organizeImportsCollation??"ordinal")==="unicode"?zqt(u,t):Bpe(u)}function Rqt(t,u){const s=typeof t.organizeImportsIgnoreCase=="boolean"?t.organizeImportsIgnoreCase:(u==null?void 0:u())??!1;return Cw(t,s)}function Oqt(t){const u=[],s=t.statements,d=S(s);let f=0,p=0;for(;fSpe(t,E))}var dlt,QTe,jqt=o({"src/services/organizeImports.ts"(){ar(),dlt=class{has([t,u]){return this._lastPreferences!==u||!this._cache?!1:this._cache.has(t)}get([t,u]){if(!(this._lastPreferences!==u||!this._cache))return this._cache.get(t)}set([t,u],s){this._lastPreferences!==u&&(this._lastPreferences=u,this._cache=void 0),this._cache??(this._cache=new WeakMap),this._cache.set(t,s)}},QTe=JCe((t,u)=>{if(!ci(t,(f,p)=>s2(f.isTypeOnly,p.isTypeOnly)))return 0;const s=Cw(u,!1),d=Cw(u,!0);return hn(t,f=>f.name.text,s,d)},new dlt)}}),Hp={};h(Hp,{coalesceExports:()=>Aqt,coalesceImports:()=>kqt,compareImportOrExportSpecifiers:()=>UTe,compareImportsOrRequireStatements:()=>YTe,compareModuleSpecifiers:()=>Sqt,detectImportDeclarationSorting:()=>wqt,detectImportSpecifierSorting:()=>QTe,detectSorting:()=>Bqt,getImportDeclarationInsertionIndex:()=>Tqt,getImportSpecifierInsertionIndex:()=>Lqt,getOrganizeImportsComparer:()=>Cw,organizeImports:()=>vqt});var Vqt=o({"src/services/_namespaces/ts.OrganizeImports.ts"(){jqt()}});function Hqt(t,u){const s=[];return Kqt(t,u,s),Wqt(t,s),s.sort((d,f)=>d.textSpan.start-f.textSpan.start)}function Kqt(t,u,s){let d=40,f=0;const p=[...t.statements,t.endOfFileToken],E=p.length;for(;f1&&d.push(Iee(p,E,"comment"))}}function flt(t,u,s,d){S7(t)||XTe(t.pos,u,s,d)}function Iee(t,u,s){return h9(Vc(t,u),s)}function Gqt(t,u){switch(t.kind){case 241:if(xo(t.parent))return Jqt(t.parent,t,u);switch(t.parent.kind){case 246:case 249:case 250:case 248:case 245:case 247:case 254:case 299:return k(t.parent);case 258:const z=t.parent;if(z.tryBlock===t)return k(t.parent);if(z.finallyBlock===t){const j=r0(z,98,u);if(j)return k(j)}default:return h9(af(t,u),"code")}case 268:return k(t.parent);case 263:case 231:case 264:case 266:case 269:case 187:case 206:return k(t);case 189:return k(t,!1,!CB(t.parent),23);case 296:case 297:return T(t.statements);case 210:return B(t);case 209:return B(t,23);case 284:return p(t);case 288:return E(t);case 285:case 286:return v(t.attributes);case 228:case 15:return b(t);case 207:return k(t,!1,!Os(t.parent),23);case 219:return f(t);case 213:return d(t);case 217:return M(t);case 275:case 279:case 300:return s(t)}function s(z){if(!z.elements.length)return;const j=r0(z,19,u),J=r0(z,20,u);if(!(!j||!J||$4(j.pos,J.pos,u)))return wpe(j,J,z,u,!1,!1)}function d(z){if(!z.arguments.length)return;const j=r0(z,21,u),J=r0(z,22,u);if(!(!j||!J||$4(j.pos,J.pos,u)))return wpe(j,J,z,u,!1,!0)}function f(z){if(ho(z.body)||vf(z.body)||$4(z.body.getFullStart(),z.body.getEnd(),u))return;const j=Vc(z.body.getFullStart(),z.body.getEnd());return h9(j,"code",af(z))}function p(z){const j=Vc(z.openingElement.getStart(u),z.closingElement.getEnd()),J=z.openingElement.tagName.getText(u),K="<"+J+">...";return h9(j,"code",j,!1,K)}function E(z){const j=Vc(z.openingFragment.getStart(u),z.closingFragment.getEnd());return h9(j,"code",j,!1,"<>...")}function v(z){if(z.properties.length!==0)return Iee(z.getStart(u),z.getEnd(),"code")}function b(z){if(!(z.kind===15&&z.text.length===0))return Iee(z.getStart(u),z.getEnd(),"code")}function B(z,j=19){return k(z,!1,!_h(z.parent)&&!Po(z.parent),j)}function k(z,j=!1,J=!0,K=19,Y=K===19?20:24){const oe=r0(t,K,u),se=r0(t,Y,u);return oe&&se&&wpe(oe,se,z,u,j,J)}function T(z){return z.length?h9(Ux(z),"code"):void 0}function M(z){if($4(z.getStart(),z.getEnd(),u))return;const j=Vc(z.getStart(),z.getEnd());return h9(j,"code",af(z))}}function Jqt(t,u,s){const d=$qt(t,u,s),f=r0(u,20,s);return d&&f&&wpe(d,f,t,s,t.kind!==219)}function wpe(t,u,s,d,f=!1,p=!0){const E=Vc(p?t.getFullStart():t.getStart(d),u.getEnd());return h9(E,"code",af(s,d),f)}function h9(t,u,s=t,d=!1,f="..."){return{textSpan:t,kind:u,hintSpan:s,bannerText:f,autoCollapse:d}}function $qt(t,u,s){if(Vye(t.parameters,s)){const d=r0(t,21,s);if(d)return d}return r0(u,19,s)}var mlt,Uqt=o({"src/services/outliningElementsCollector.ts"(){ar(),mlt=/^#(end)?region(?:\s+(.*))?(?:\r)?$/}}),Tpe={};h(Tpe,{collectElements:()=>Hqt});var qqt=o({"src/services/_namespaces/ts.OutliningElementsCollector.ts"(){Uqt()}});function Zqt(t,u,s,d){const f=rX(rf(u,s));if(glt(f)){const p=Yqt(f,t.getTypeChecker(),u,t,d);if(p)return p}return Lpe(F.You_cannot_rename_this_element)}function Yqt(t,u,s,d,f){const p=u.getSymbolAtLocation(t);if(!p){if(t0(t)){const M=uX(t,u);if(M&&(M.flags&128||M.flags&1048576&&ye(M.types,z=>!!(z.flags&128))))return eLe(t.text,t.text,"string","",t,s)}else if(Ihe(t)){const M=Hc(t);return eLe(M,M,"label","",t,s)}return}const{declarations:E}=p;if(!E||E.length===0)return;if(E.some(M=>Qqt(d,M)))return Lpe(F.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(at(t)&&t.escapedText==="default"&&p.parent&&p.parent.flags&1536)return;if(t0(t)&&kj(t))return f.allowRenameOfImportPath?eZt(t,s,p):void 0;const v=Xqt(s,p,u,f);if(v)return Lpe(v);const b=D5.getSymbolKind(u,p,t),B=_Se(t)||Nm(t)&&t.parent.kind===167?G4(W4(t)):void 0,k=B||u.symbolToString(p),T=B||u.getFullyQualifiedName(p);return eLe(k,T,b,D5.getSymbolModifiers(u,p),t,s)}function Qqt(t,u){const s=u.getSourceFile();return t.isSourceFileDefaultLibrary(s)&&Ml(s.fileName,".d.ts")}function Xqt(t,u,s,d){if(!d.providePrefixAndSuffixTextForRename&&u.flags&2097152){const E=u.declarations&&Le(u.declarations,v=>Cf(v));E&&!E.propertyName&&(u=s.getAliasedSymbol(u))}const{declarations:f}=u;if(!f)return;const p=plt(t.path);if(p===void 0)return Ge(f,E=>YH(E.getSourceFile().path))?F.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:void 0;for(const E of f){const v=plt(E.getSourceFile().path);if(v){const b=Math.min(p.length,v.length);for(let B=0;B<=b;B++)if(ch(p[B],v[B])!==0)return F.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}}function plt(t){const u=bd(t),s=u.lastIndexOf("node_modules");if(s!==-1)return u.slice(0,s+2)}function eZt(t,u,s){if(!Md(t.text))return Lpe(F.You_cannot_rename_a_module_via_a_global_import);const d=s.declarations&&Le(s.declarations,ca);if(!d)return;const f=oc(t.text,"/index")||oc(t.text,"/index.js")?void 0:YCe(Eh(d.fileName),"/index"),p=f===void 0?d.fileName:f,E=f===void 0?"module":"directory",v=t.text.lastIndexOf("/")+1,b=c1(t.getStart(u)+1+v,t.text.length-v);return{canRename:!0,fileToRename:p,kind:E,displayName:p,fullDisplayName:p,kindModifiers:"",triggerSpan:b}}function eLe(t,u,s,d,f,p){return{canRename:!0,fileToRename:void 0,kind:s,displayName:t,fullDisplayName:u,kindModifiers:d,triggerSpan:tZt(f,p)}}function Lpe(t){return{canRename:!1,localizedErrorMessage:Ya(t)}}function tZt(t,u){let s=t.getStart(u),d=t.getWidth(u);return t0(t)&&(s+=1,d-=2),c1(s,d)}function glt(t){switch(t.kind){case 80:case 81:case 11:case 15:case 110:return!0;case 9:return eX(t);default:return!1}}var iZt=o({"src/services/rename.ts"(){ar()}}),Ree={};h(Ree,{getRenameInfo:()=>Zqt,nodeIsEligibleForRename:()=>glt});var nZt=o({"src/services/_namespaces/ts.Rename.ts"(){iZt()}});function uZt(t,u,s,d,f){const p=t.getTypeChecker(),E=aX(u,s);if(!E)return;const v=!!d&&d.kind==="characterTyped";if(v&&(Pk(u,s,E)||f5(u,s)))return;const b=!!d&&d.kind==="invoked",B=xZt(E,s,u,p,b);if(!B)return;f.throwIfCancellationRequested();const k=rZt(B,p,u,E,v);return f.throwIfCancellationRequested(),k?p.runWithCancellationToken(f,T=>k.kind===0?blt(k.candidates,k.resolvedSignature,B,u,T):CZt(k.symbol,B,u,T)):ph(u)?oZt(B,t,f):void 0}function rZt({invocation:t,argumentCount:u},s,d,f,p){switch(t.kind){case 0:{if(p&&!aZt(f,t.node,d))return;const E=[],v=s.getResolvedSignatureForSignatureHelp(t.node,E,u);return E.length===0?void 0:{kind:0,candidates:E,resolvedSignature:v}}case 1:{const{called:E}=t;if(p&&!Elt(f,d,at(E)?E.parent:E))return;const v=$he(E,u,s);if(v.length!==0)return{kind:0,candidates:v,resolvedSignature:Pn(v)};const b=s.getSymbolAtLocation(E);return b&&{kind:1,symbol:b}}case 2:return{kind:0,candidates:[t.signature],resolvedSignature:t.signature};default:return H.assertNever(t)}}function aZt(t,u,s){if(!JE(u))return!1;const d=u.getChildren(s);switch(t.kind){case 21:return Ft(d,t);case 28:{const f=nX(t);return!!f&&Ft(d,f)}case 30:return Elt(t,s,u.expression);default:return!1}}function oZt(t,u,s){if(t.invocation.kind===2)return;const d=vlt(t.invocation),f=zu(d)?d.name.text:void 0,p=u.getTypeChecker();return f===void 0?void 0:G(u.getSourceFiles(),E=>G(E.getNamedDeclarations().get(f),v=>{const b=v.symbol&&p.getTypeOfSymbolAtLocation(v.symbol,v),B=b&&b.getCallSignatures();if(B&&B.length)return p.runWithCancellationToken(s,k=>blt(B,B[0],t,E,k,!0))}))}function Elt(t,u,s){const d=t.getFullStart();let f=t.parent;for(;f;){const p=ed(d,u,f,!0);if(p)return jm(s,p);f=f.parent}return H.fail("Could not find preceding token")}function sZt(t,u,s){const d=Dlt(t,u,s);return!d||d.isTypeParameterList||d.invocation.kind!==0?void 0:{invocation:d.invocation.node,argumentCount:d.argumentCount,argumentIndex:d.argumentIndex}}function _lt(t,u,s){const d=lZt(t,s);if(!d)return;const{list:f,argumentIndex:p}=d,E=gZt(f,Pk(s,u,t));p!==0&&H.assertLessThan(p,E);const v=_Zt(f,s);return{list:f,argumentIndex:p,argumentCount:E,argumentsSpan:v}}function lZt(t,u){if(t.kind===30||t.kind===21)return{list:vZt(t.parent,t,u),argumentIndex:0};{const s=nX(t);return s&&{list:s,argumentIndex:pZt(s,t)}}}function Dlt(t,u,s){const{parent:d}=t;if(JE(d)){const f=d,p=_lt(t,u,s);if(!p)return;const{list:E,argumentIndex:v,argumentCount:b,argumentsSpan:B}=p;return{isTypeParameterList:!!d.typeArguments&&d.typeArguments.pos===E.pos,invocation:{kind:0,node:f},argumentsSpan:B,argumentIndex:v,argumentCount:b}}else{if(B7(t)&&Ek(d))return RH(t,u,s)?iLe(d,0,s):void 0;if(DB(t)&&d.parent.kind===215){const f=d,p=f.parent;H.assert(f.kind===228);const E=RH(t,u,s)?0:1;return iLe(p,E,s)}else if(UP(d)&&Ek(d.parent.parent)){const f=d,p=d.parent.parent;if(mce(t)&&!RH(t,u,s))return;const E=f.parent.templateSpans.indexOf(f),v=EZt(E,t,u,s);return iLe(p,v,s)}else if(Ph(d)){const f=d.attributes.pos,p=ps(s.text,d.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:d},argumentsSpan:c1(f,p-f),argumentIndex:0,argumentCount:1}}else{const f=Uhe(t,s);if(f){const{called:p,nTypeArguments:E}=f,v={kind:1,called:p},b=Vc(p.getStart(s),t.end);return{isTypeParameterList:!0,invocation:v,argumentsSpan:b,argumentIndex:E,argumentCount:E+1}}return}}}function cZt(t,u,s,d){return dZt(t,u,s,d)||Dlt(t,u,s)}function xlt(t){return eu(t.parent)?xlt(t.parent):t}function tLe(t){return eu(t.left)?tLe(t.left)+1:2}function dZt(t,u,s,d){const f=hZt(t);if(f===void 0)return;const p=fZt(f,s,u,d);if(p===void 0)return;const{contextualType:E,argumentIndex:v,argumentCount:b,argumentsSpan:B}=p,k=E.getNonNullableType(),T=k.symbol;if(T===void 0)return;const M=Zu(k.getCallSignatures());return M===void 0?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:M,node:t,symbol:mZt(T)},argumentsSpan:B,argumentIndex:v,argumentCount:b}}function hZt(t){switch(t.kind){case 21:case 28:return t;default:return Tn(t.parent,u=>Qa(u)?!0:Os(u)||Mp(u)||gk(u)?!1:"quit")}}function fZt(t,u,s,d){const{parent:f}=t;switch(f.kind){case 217:case 174:case 218:case 219:const p=_lt(t,s,u);if(!p)return;const{argumentIndex:E,argumentCount:v,argumentsSpan:b}=p,B=cc(f)?d.getContextualTypeForObjectLiteralElement(f):d.getContextualType(f);return B&&{contextualType:B,argumentIndex:E,argumentCount:v,argumentsSpan:b};case 226:{const k=xlt(f),T=d.getContextualType(k),M=t.kind===21?0:tLe(f)-1,z=tLe(k);return T&&{contextualType:T,argumentIndex:M,argumentCount:z,argumentsSpan:af(f)}}default:return}}function mZt(t){return t.name==="__type"&&G(t.declarations,u=>{var s;return n3(u)?(s=rr(u.parent,qg))==null?void 0:s.symbol:void 0})||t}function pZt(t,u){let s=0;for(const d of t.getChildren()){if(d===u)break;d.kind!==28&&s++}return s}function gZt(t,u){const s=t.getChildren();let d=ui(s,f=>f.kind!==28);return!u&&s.length>0&&Cr(s).kind===28&&d++,d}function EZt(t,u,s,d){return H.assert(s>=u.getStart(),"Assumed 'position' could not occur before node."),Y2e(u)?RH(u,s,d)?0:t+2:t+1}function iLe(t,u,s){const d=B7(t.template)?1:t.template.templateSpans.length+1;return u!==0&&H.assertLessThan(u,d),{isTypeParameterList:!1,invocation:{kind:0,node:t},argumentsSpan:DZt(t,s),argumentIndex:u,argumentCount:d}}function _Zt(t,u){const s=t.getFullStart(),d=ps(u.text,t.getEnd(),!1);return c1(s,d-s)}function DZt(t,u){const s=t.template,d=s.getStart();let f=s.getEnd();return s.kind===228&&Cr(s.templateSpans).literal.getFullWidth()===0&&(f=ps(u.text,f,!1)),c1(d,f-d)}function xZt(t,u,s,d,f){for(let p=t;!ca(p)&&(f||!ho(p));p=p.parent){H.assert(jm(p.parent,p),"Not a subspan",()=>`Child: ${H.formatSyntaxKind(p.kind)}, parent: ${H.formatSyntaxKind(p.parent.kind)}`);const E=cZt(p,u,s,d);if(E)return E}}function vZt(t,u,s){const d=t.getChildren(s),f=d.indexOf(u);return H.assert(f>=0&&d.length>f+1),d[f+1]}function vlt(t){return t.kind===0?dq(t.node):t.called}function Clt(t){return t.kind===0?t.node:t.kind===1?t.called:t.node}function blt(t,u,{isTypeParameterList:s,argumentCount:d,argumentsSpan:f,invocation:p,argumentIndex:E},v,b,B){var k;const T=Clt(p),M=p.kind===2?p.symbol:b.getSymbolAtLocation(vlt(p))||B&&((k=u.declaration)==null?void 0:k.symbol),z=M?IM(b,M,B?v:void 0,void 0):_t,j=Kt(t,se=>yZt(se,z,s,b,T,v));E!==0&&H.assertLessThan(E,d);let J=0,K=0;for(let se=0;se1)){let ae=0;for(const Ce of ge){if(Ce.isVariadic||Ce.parameters.length>=d){J=K+ae;break}ae++}}K+=ge.length}H.assert(J!==-1);const Y={items:Pr(j,il),applicableSpan:f,selectedItemIndex:J,argumentIndex:E,argumentCount:d},oe=Y.items[J];if(oe.isVariadic){const se=Ue(oe.parameters,ge=>!!ge.isRest);-1ylt(T,s,d,f,E)),b=t.getDocumentationComment(s),B=t.getJsDocTags(s);return{isVariadic:!1,prefixDisplayParts:[...p,th(30)],suffixDisplayParts:[th(32)],separatorDisplayParts:nLe,parameters:v,documentation:b,tags:B}}function yZt(t,u,s,d,f,p){const E=(s?FZt:AZt)(t,d,f,p);return Kt(E,({isVariadic:v,parameters:b,prefix:B,suffix:k})=>{const T=[...u,...B],M=[...k,...kZt(t,f,d)],z=t.getDocumentationComment(d),j=t.getJsDocTags();return{isVariadic:v,prefixDisplayParts:T,suffixDisplayParts:M,separatorDisplayParts:nLe,parameters:b,documentation:z,tags:j}})}function kZt(t,u,s){return qx(d=>{d.writePunctuation(":"),d.writeSpace(" ");const f=s.getTypePredicateOfSignature(t);f?s.writeTypePredicate(f,u,void 0,d):s.writeType(s.getReturnTypeOfSignature(t),u,void 0,d)})}function FZt(t,u,s,d){const f=(t.target||t).typeParameters,p=Z2(),E=(f||_t).map(b=>ylt(b,u,s,d,p)),v=t.thisParameter?[u.symbolToParameterDeclaration(t.thisParameter,s,wK)]:[];return u.getExpandedParameters(t).map(b=>{const B=q.createNodeArray([...v,...Kt(b,T=>u.symbolToParameterDeclaration(T,s,wK))]),k=qx(T=>{p.writeList(2576,B,d,T)});return{isVariadic:!1,parameters:E,prefix:[th(30)],suffix:[th(32),...k]}})}function AZt(t,u,s,d){const f=Z2(),p=qx(b=>{if(t.typeParameters&&t.typeParameters.length){const B=q.createNodeArray(t.typeParameters.map(k=>u.typeParameterToDeclaration(k,s,wK)));f.writeList(53776,B,d,b)}}),E=u.getExpandedParameters(t),v=u.hasEffectiveRestParameter(t)?E.length===1?b=>!0:b=>{var B;return!!(b.length&&((B=rr(b[b.length-1],UE))==null?void 0:B.links.checkFlags)&32768)}:b=>!1;return E.map(b=>({isVariadic:v(b),parameters:b.map(B=>SZt(B,u,s,d,f)),prefix:[...p,th(21)],suffix:[th(22)]}))}function SZt(t,u,s,d,f){const p=qx(b=>{const B=u.symbolToParameterDeclaration(t,s,wK);f.writeNode(4,B,d,b)}),E=u.isOptionalParameter(t.valueDeclaration),v=UE(t)&&!!(t.links.checkFlags&32768);return{name:t.name,documentation:t.getDocumentationComment(u),displayParts:p,isOptional:E,isRest:v}}function ylt(t,u,s,d,f){const p=qx(E=>{const v=u.typeParameterToDeclaration(t,s,wK);f.writeNode(4,v,d,E)});return{name:t.symbol.name,documentation:t.symbol.getDocumentationComment(u),displayParts:p,isOptional:!1,isRest:!1}}var wK,nLe,BZt=o({"src/services/signatureHelp.ts"(){ar(),wK=70246400,nLe=[th(28),Jl()]}}),TK={};h(TK,{getArgumentInfoForCompletions:()=>sZt,getSignatureHelpItems:()=>uZt});var wZt=o({"src/services/_namespaces/ts.SignatureHelp.ts"(){BZt()}});function TZt(t,u){var s,d;let f={textSpan:Vc(u.getFullStart(),u.getEnd())},p=u;e:for(;;){const b=NZt(p);if(!b.length)break;for(let B=0;Bt)break e;const z=Fa(mv(u.text,T.end));if(z&&z.kind===2&&v(z.pos,z.end),LZt(u,t,T)){if(e0e(T)&&W0(p)&&!$4(T.getStart(u),T.getEnd(),u)&&E(T.getStart(u),T.getEnd()),ho(T)||UP(T)||DB(T)||mce(T)||k&&DB(k)||Fd(T)&&Gl(p)||NB(T)&&Fd(p)||ra(T)&&NB(p)&&b.length===1||bk(T)||Iv(T)||V7(T)){p=T;break}if(UP(p)&&M&&NU(M)){const Y=T.getFullStart()-2,oe=M.getStart()+1;E(Y,oe)}const j=NB(T)&&PZt(k)&&MZt(M)&&!$4(k.getStart(),M.getStart(),u);let J=j?k.getEnd():T.getStart();const K=j?M.getStart():zZt(u,T);if(sm(T)&&((s=T.jsDoc)!=null&&s.length)&&E(Pn(T.jsDoc).getStart(),K),NB(T)){const Y=T.getChildren()[0];Y&&sm(Y)&&((d=Y.jsDoc)!=null&&d.length)&&Y.getStart()!==T.pos&&(J=Math.min(J,Pn(Y.jsDoc).getStart()))}E(J,K),(us(T)||L8(T))&&E(J+1,K-1),p=T;break}if(B===b.length-1)break e}}return f;function E(b,B){if(b!==B){const k=Vc(b,B);(!f||!aw(k,f.textSpan)&&B2e(k,t))&&(f={textSpan:k,...f&&{parent:f}})}}function v(b,B){E(b,B);let k=b;for(;u.text.charCodeAt(k)===47;)k++;E(k,B)}}function LZt(t,u,s){return H.assert(s.pos<=u),uv===t.readonlyToken||v.kind===148||v===t.questionToken||v.kind===58),E=LK(p,({kind:v})=>v===23||v===168||v===24);return[s,NK(Npe(E,({kind:v})=>v===59)),f]}if(Pm(t)){const s=LK(t.getChildren(),E=>E===t.name||Ft(t.modifiers,E)),d=((u=s[0])==null?void 0:u.kind)===327?s[0]:void 0,f=d?s.slice(1):s,p=Npe(f,({kind:E})=>E===59);return d?[d,NK(p)]:p}if(Qa(t)){const s=LK(t.getChildren(),f=>f===t.dotDotDotToken||f===t.name),d=LK(s,f=>f===s[0]||f===t.questionToken);return Npe(d,({kind:f})=>f===64)}return Os(t)?Npe(t.getChildren(),({kind:s})=>s===64):t.getChildren()}function LK(t,u){const s=[];let d;for(const f of t)u(f)?(d=d||[],d.push(f)):(d&&(s.push(NK(d)),d=void 0),s.push(f));return d&&s.push(NK(d)),s}function Npe(t,u,s=!0){if(t.length<2)return t;const d=Ue(t,u);if(d===-1)return t;const f=t.slice(0,d),p=t[d],E=Cr(t),v=s&&E.kind===27,b=t.slice(d+1,v?t.length-1:void 0),B=kr([f.length?NK(f):void 0,p,b.length?NK(b):void 0]);return v?B.concat(E):B}function NK(t){return H.assertGreaterThanOrEqual(t.length,1),e_(r_.createSyntaxList(t),t[0].pos,Cr(t).end)}function PZt(t){const u=t&&t.kind;return u===19||u===23||u===21||u===286}function MZt(t){const u=t&&t.kind;return u===20||u===24||u===22||u===287}function zZt(t,u){switch(u.kind){case 348:case 345:case 355:case 353:case 350:return t.getLineEndOfPosition(u.getStart());default:return u.getEnd()}}var klt,IZt=o({"src/services/smartSelection.ts"(){ar(),klt=lg(Ad,g1)}}),Ppe={};h(Ppe,{getSmartSelectionRange:()=>TZt});var RZt=o({"src/services/_namespaces/ts.SmartSelectionRange.ts"(){IZt()}});function Flt(t,u,s){const d=Alt(t,u,s);if(d!=="")return d;const f=DP(u);return f&32?Sl(u,231)?"local class":"class":f&384?"enum":f&524288?"type":f&64?"interface":f&262144?"type parameter":f&8?"enum member":f&2097152?"alias":f&1536?"module":d}function Alt(t,u,s){const d=t.getRootSymbols(u);if(d.length===1&&Pn(d).flags&8192&&t.getTypeOfSymbolAtLocation(u,s).getNonNullableType().getCallSignatures().length!==0)return"method";if(t.isUndefinedSymbol(u))return"var";if(t.isArgumentsSymbol(u))return"local var";if(s.kind===110&&Wt(s)||m7(s))return"parameter";const f=DP(u);if(f&3)return cfe(u)?"parameter":u.valueDeclaration&&V8(u.valueDeclaration)?"const":u.valueDeclaration&&sj(u.valueDeclaration)?"using":u.valueDeclaration&&oj(u.valueDeclaration)?"await using":L(u.declarations,tq)?"let":wlt(u)?"local var":"var";if(f&16)return wlt(u)?"local function":"function";if(f&32768)return"getter";if(f&65536)return"setter";if(f&8192)return"method";if(f&16384)return"constructor";if(f&131072)return"index";if(f&4){if(f&33554432&&u.links.checkFlags&6){const p=L(t.getRootSymbols(u),E=>{if(E.getFlags()&98311)return"property"});return p||(t.getTypeOfSymbolAtLocation(u,s).getCallSignatures().length?"method":"property")}return"property"}return""}function Slt(t){if(t.declarations&&t.declarations.length){const[u,...s]=t.declarations,d=S(s)&&PX(u)&&Ge(s,p=>!PX(p))?65536:0,f=LM(u,d);if(f)return f.split(",")}return[]}function OZt(t,u){if(!u)return"";const s=new Set(Slt(u));if(u.flags&2097152){const d=t.getAliasedSymbol(u);d!==u&&L(Slt(d),f=>{s.add(f)})}return u.flags&16777216&&s.add("optional"),s.size>0?ga(s.values()).join(","):""}function Blt(t,u,s,d,f,p,E,v){var b;const B=[];let k=[],T=[];const M=DP(u);let z=E&1?Alt(t,u,f):"",j=!1;const J=f.kind===110&&fq(f)||m7(f);let K,Y,oe=!1;if(f.kind===110&&!J)return{displayParts:[Vf(110)],documentation:[],symbolKind:"primitive type",tags:void 0};if(z!==""||M&32||M&2097152){if(z==="getter"||z==="setter"){const Be=Le(u.declarations,We=>We.name===f);if(Be)switch(Be.kind){case 177:z="getter";break;case 178:z="setter";break;case 172:z="accessor";break;default:H.assertNever(Be)}else z="property"}let fe;if(p??(p=J?t.getTypeAtLocation(f):t.getTypeOfSymbolAtLocation(u,f)),f.parent&&f.parent.kind===211){const Be=f.parent.name;(Be===f||Be&&Be.getFullWidth()===0)&&(f=f.parent)}let xe;if(JE(f)?xe=f:(Nhe(f)||BM(f)||f.parent&&(Ph(f.parent)||Ek(f.parent))&&xo(u.valueDeclaration))&&(xe=f.parent),xe){fe=t.getResolvedSignature(xe);const Be=xe.kind===214||Po(xe)&&xe.expression.kind===108,We=Be?p.getConstructSignatures():p.getCallSignatures();if(fe&&!Ft(We,fe.target)&&!Ft(We,fe)&&(fe=We.length?We[0]:void 0),fe){switch(Be&&M&32?(z="constructor",ve(p.symbol,z)):M&2097152?(z="alias",Se(z),B.push(Jl()),Be&&(fe.flags&4&&(B.push(Vf(128)),B.push(Jl())),B.push(Vf(105)),B.push(Jl())),ne(u)):ve(u,z),z){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":B.push(th(59)),B.push(Jl()),!(Ju(p)&16)&&p.symbol&&(yn(B,IM(t,p.symbol,d,void 0,5)),B.push(ow())),Be&&(fe.flags&4&&(B.push(Vf(128)),B.push(Jl())),B.push(Vf(105)),B.push(Jl())),Ne(fe,We,262144);break;default:Ne(fe,We)}j=!0,oe=We.length>1}}else if(Vhe(f)&&!(M&98304)||f.kind===137&&f.parent.kind===176){const Be=f.parent;if(u.declarations&&Le(u.declarations,Ae=>Ae===(f.kind===137?Be.parent:Be))){const Ae=Be.kind===176?p.getNonNullableType().getConstructSignatures():p.getNonNullableType().getCallSignatures();t.isImplementationOfOverload(Be)?fe=Ae[0]:fe=t.getSignatureFromDeclaration(Be),Be.kind===176?(z="constructor",ve(p.symbol,z)):ve(Be.kind===179&&!(p.symbol.flags&2048||p.symbol.flags&4096)?p.symbol:u,z),fe&&Ne(fe,Ae),j=!0,oe=Ae.length>1}}}if(M&32&&!j&&!J&&(ae(),Sl(u,231)?Se("local class"):B.push(Vf(86)),B.push(Jl()),ne(u),pe(u,s)),M&64&&E&2&&(ge(),B.push(Vf(120)),B.push(Jl()),ne(u),pe(u,s)),M&524288&&E&2&&(ge(),B.push(Vf(156)),B.push(Jl()),ne(u),pe(u,s),B.push(Jl()),B.push(zM(64)),B.push(Jl()),yn(B,GH(t,f.parent&&U3(f.parent)?t.getTypeAtLocation(f.parent):t.getDeclaredTypeOfSymbol(u),d,8388608))),M&384&&(ge(),Ge(u.declarations,fe=>Mv(fe)&&x2(fe))&&(B.push(Vf(87)),B.push(Jl())),B.push(Vf(94)),B.push(Jl()),ne(u)),M&1536&&!J){ge();const fe=Sl(u,267),xe=fe&&fe.name&&fe.name.kind===80;B.push(Vf(xe?145:144)),B.push(Jl()),ne(u)}if(M&262144&&E&2)if(ge(),B.push(th(21)),B.push(Hm("type parameter")),B.push(th(22)),B.push(Jl()),ne(u),u.parent)Ce(),ne(u.parent,d),pe(u.parent,d);else{const fe=Sl(u,168);if(fe===void 0)return H.fail();const xe=fe.parent;if(xe)if(xo(xe)){Ce();const Be=t.getSignatureFromDeclaration(xe);xe.kind===180?(B.push(Vf(105)),B.push(Jl())):xe.kind!==179&&xe.name&&ne(xe.symbol),yn(B,ffe(t,Be,s,32))}else Ip(xe)&&(Ce(),B.push(Vf(156)),B.push(Jl()),ne(xe.symbol),pe(xe.symbol,s))}if(M&8){z="enum member",ve(u,"enum member");const fe=(b=u.declarations)==null?void 0:b[0];if((fe==null?void 0:fe.kind)===306){const xe=t.getConstantValue(fe);xe!==void 0&&(B.push(Jl()),B.push(zM(64)),B.push(Jl()),B.push(bf(Bbe(xe),typeof xe=="number"?7:8)))}}if(u.flags&2097152){if(ge(),!j||k.length===0&&T.length===0){const fe=t.getAliasedSymbol(u);if(fe!==u&&fe.declarations&&fe.declarations.length>0){const xe=fe.declarations[0],Be=$a(xe);if(Be&&!j){const We=YU(xe)&&Qu(xe,128),Ae=u.name!=="default"&&!We,De=Blt(t,fe,zn(xe),xe,Be,p,E,Ae?u:fe);B.push(...De.displayParts),B.push(ow()),K=De.documentation,Y=De.tags}else K=fe.getContextualDocumentationComment(xe,t),Y=fe.getJsDocTags(t)}}if(u.declarations)switch(u.declarations[0].kind){case 270:B.push(Vf(95)),B.push(Jl()),B.push(Vf(145));break;case 277:B.push(Vf(95)),B.push(Jl()),B.push(Vf(u.declarations[0].isExportEquals?64:90));break;case 281:B.push(Vf(95));break;default:B.push(Vf(102))}B.push(Jl()),ne(u),L(u.declarations,fe=>{if(fe.kind===271){const xe=fe;if(vv(xe))B.push(Jl()),B.push(zM(64)),B.push(Jl()),B.push(Vf(149)),B.push(th(21)),B.push(bf(Hc(QN(xe)),8)),B.push(th(22));else{const Be=t.getSymbolAtLocation(xe.moduleReference);Be&&(B.push(Jl()),B.push(zM(64)),B.push(Jl()),ne(Be,d))}return!0}})}if(!j)if(z!==""){if(p){if(J?(ge(),B.push(Vf(110))):ve(u,z),z==="property"||z==="accessor"||z==="getter"||z==="setter"||z==="JSX attribute"||M&3||z==="local var"||z==="index"||z==="using"||z==="await using"||J){if(B.push(th(59)),B.push(Jl()),p.symbol&&p.symbol.flags&262144&&z!=="index"){const fe=qx(xe=>{const Be=t.typeParameterToDeclaration(p,d,uLe);se().writeNode(4,Be,zn(Ja(d)),xe)});yn(B,fe)}else yn(B,GH(t,p,d));if(UE(u)&&u.links.target&&UE(u.links.target)&&u.links.target.links.tupleLabelDeclaration){const fe=u.links.target.links.tupleLabelDeclaration;H.assertNode(fe.name,at),B.push(Jl()),B.push(th(21)),B.push(Hm(fu(fe.name))),B.push(th(22))}}else if(M&16||M&8192||M&16384||M&131072||M&98304||z==="method"){const fe=p.getNonNullableType().getCallSignatures();fe.length&&(Ne(fe[0],fe),oe=fe.length>1)}}}else z=Flt(t,u,f);if(k.length===0&&!oe&&(k=u.getContextualDocumentationComment(d,t)),k.length===0&&M&4&&u.parent&&u.declarations&&L(u.parent.declarations,fe=>fe.kind===312))for(const fe of u.declarations){if(!fe.parent||fe.parent.kind!==226)continue;const xe=t.getSymbolAtLocation(fe.parent.right);if(xe&&(k=xe.getDocumentationComment(t),T=xe.getJsDocTags(t),k.length>0))break}if(k.length===0&&at(f)&&u.valueDeclaration&&Os(u.valueDeclaration)){const fe=u.valueDeclaration,xe=fe.parent,Be=fe.propertyName||fe.name;if(at(Be)&&Mp(xe)){const We=W4(Be),Ae=t.getTypeAtLocation(xe);k=G(Ae.isUnion()?Ae.types:[Ae],De=>{const He=De.getProperty(We);return He?He.getDocumentationComment(t):void 0})||_t}}return T.length===0&&!oe&&(T=u.getContextualJsDocTags(d,t)),k.length===0&&K&&(k=K),T.length===0&&Y&&(T=Y),{displayParts:B,documentation:k,symbolKind:z,tags:T.length===0?void 0:T};function se(){return Z2()}function ge(){B.length&&B.push(ow()),ae()}function ae(){v&&(Se("alias"),B.push(Jl()))}function Ce(){B.push(Jl()),B.push(Vf(103)),B.push(Jl())}function ne(fe,xe){let Be;v&&fe===u&&(fe=v),z==="index"&&(Be=t.getIndexInfosOfIndexSymbol(fe));let We=[];fe.flags&131072&&Be?(fe.parent&&(We=IM(t,fe.parent)),We.push(th(23)),Be.forEach((Ae,De)=>{We.push(...GH(t,Ae.keyType)),De!==Be.length-1&&(We.push(Jl()),We.push(th(52)),We.push(Jl()))}),We.push(th(24))):We=IM(t,fe,xe||s,void 0,7),yn(B,We),u.flags&16777216&&B.push(th(58))}function ve(fe,xe){ge(),xe&&(Se(xe),fe&&!Ge(fe.declarations,Be=>J0(Be)||(A0(Be)||Qd(Be))&&!Be.name)&&(B.push(Jl()),ne(fe)))}function Se(fe){switch(fe){case"var":case"function":case"let":case"const":case"constructor":case"using":case"await using":B.push(dfe(fe));return;default:B.push(th(21)),B.push(dfe(fe)),B.push(th(22));return}}function Ne(fe,xe,Be=0){yn(B,ffe(t,fe,d,Be|32)),xe.length>1&&(B.push(Jl()),B.push(th(21)),B.push(zM(40)),B.push(bf((xe.length-1).toString(),7)),B.push(Jl()),B.push(Hm(xe.length===2?"overload":"overloads")),B.push(th(22))),k=fe.getDocumentationComment(t),T=fe.getJsDocTags(),xe.length>1&&k.length===0&&T.length===0&&(k=xe[0].getDocumentationComment(t),T=xe[0].getJsDocTags().filter(We=>We.name!=="deprecated"))}function pe(fe,xe){const Be=qx(We=>{const Ae=t.symbolToTypeParameterDeclarations(fe,xe,uLe);se().writeList(53776,Ae,zn(Ja(xe)),We)});yn(B,Be)}}function jZt(t,u,s,d,f,p=Lk(f),E){return Blt(t,u,s,d,f,void 0,p,E)}function wlt(t){return t.parent?!1:L(t.declarations,u=>{if(u.kind===218)return!0;if(u.kind!==260&&u.kind!==262)return!1;for(let s=u.parent;!C2(s);s=s.parent)if(s.kind===312||s.kind===268)return!1;return!0})}var uLe,VZt=o({"src/services/symbolDisplay.ts"(){ar(),uLe=70246400}}),D5={};h(D5,{getSymbolDisplayPartsDocumentationAndSymbolKind:()=>jZt,getSymbolKind:()=>Flt,getSymbolModifiers:()=>OZt});var HZt=o({"src/services/_namespaces/ts.SymbolDisplay.ts"(){VZt()}});function Tlt(t){const u=t.__pos;return H.assert(typeof u=="number"),u}function rLe(t,u){H.assert(typeof u=="number"),t.__pos=u}function Llt(t){const u=t.__end;return H.assert(typeof u=="number"),u}function aLe(t,u){H.assert(typeof u=="number"),t.__end=u}function Nlt(t,u){return ps(t,u,!1,!0)}function KZt(t,u){let s=u;for(;s0?1:0;let M=Px(cP(t,B)+T,t);return M=Nlt(t.text,M),Px(cP(t,M),t)}function oLe(t,u,s){const{end:d}=u,{trailingTriviaOption:f}=s;if(f===2){const p=mv(t.text,d);if(p){const E=cP(t,u.end);for(const v of p){if(v.kind===2||cP(t,v.pos)>E)break;if(cP(t,v.end)>E)return ps(t.text,v.end,!0,!0)}}}}function bw(t,u,s){var d;const{end:f}=u,{trailingTriviaOption:p}=s;if(p===0)return f;if(p===1){const b=an(mv(t.text,f),K_(t.text,f)),B=(d=b==null?void 0:b[b.length-1])==null?void 0:d.end;return B||f}const E=oLe(t,u,s);if(E)return E;const v=ps(t.text,f,!0);return v!==f&&(p===2||q1(t.text.charCodeAt(v-1)))?v:f}function Mpe(t,u){return!!u&&!!t.parent&&(u.kind===28||u.kind===27&&t.parent.kind===210)}function WZt(t){return A0(t)||Xc(t)}function GZt(t){if(t.kind!==219)return t;const u=t.parent.kind===172?t.parent:t.parent.parent;return u.jsDoc=t.jsDoc,u}function JZt(t,u){if(t.kind===u.kind)switch(t.kind){case 348:{const s=t,d=u;return at(s.name)&&at(d.name)&&s.name.escapedText===d.name.escapedText?q.createJSDocParameterTag(void 0,d.name,!1,d.typeExpression,d.isNameFirst,s.comment):void 0}case 349:return q.createJSDocReturnTag(void 0,u.typeExpression,t.comment);case 351:return q.createJSDocTypeTag(void 0,u.typeExpression,t.comment)}}function sLe(t,u){return ps(t.text,jk(t,u,{leadingTriviaOption:1}),!1,!0)}function $Zt(t,u,s,d){const f=sLe(t,d);if(s===void 0||$4(bw(t,u,{}),f,t))return f;const p=ed(d.getStart(t),t);if(Mpe(u,p)){const E=ed(u.getStart(t),t);if(Mpe(s,E)){const v=ps(t.text,p.getEnd(),!0,!0);if($4(E.getStart(t),p.getStart(t),t))return q1(t.text.charCodeAt(v-1))?v-1:v;if(q1(t.text.charCodeAt(v)))return v}}return f}function UZt(t,u){const s=r0(t,19,u),d=r0(t,20,u);return[s==null?void 0:s.end,d==null?void 0:d.end]}function zpe(t){return bs(t)?t.properties:t.members}function lLe(t,u){for(let s=u.length-1;s>=0;s--){const{span:d,newText:f}=u[s];t=`${t.substring(0,d.start)}${f}${t.substring(gc(d))}`}return t}function qZt(t){return ps(t,0)===t.length}function Ipe(t){const u=un(t,Ipe,Ilt,ZZt,Ipe),s=sl(u)?u:Object.create(u);return e_(s,Tlt(t),Llt(t)),s}function ZZt(t,u,s,d,f){const p=kn(t,u,s,d,f);if(!p)return p;H.assert(t);const E=p===t?q.createNodeArray(p.slice(0)):p;return e_(E,Tlt(t),Llt(t)),E}function Plt(t){let u=0;const s=Oj(t),d=De=>{De&&rLe(De,u)},f=De=>{De&&aLe(De,u)},p=De=>{De&&rLe(De,u)},E=De=>{De&&aLe(De,u)},v=De=>{De&&rLe(De,u)},b=De=>{De&&aLe(De,u)};function B(De,He){if(He||!qZt(De)){u=s.getTextPos();let Je=0;for(;$3(De.charCodeAt(De.length-Je-1));)Je++;u-=Je}}function k(De){s.write(De),B(De,!1)}function T(De){s.writeComment(De)}function M(De){s.writeKeyword(De),B(De,!1)}function z(De){s.writeOperator(De),B(De,!1)}function j(De){s.writePunctuation(De),B(De,!1)}function J(De){s.writeTrailingSemicolon(De),B(De,!1)}function K(De){s.writeParameter(De),B(De,!1)}function Y(De){s.writeProperty(De),B(De,!1)}function oe(De){s.writeSpace(De),B(De,!1)}function se(De){s.writeStringLiteral(De),B(De,!1)}function ge(De,He){s.writeSymbol(De,He),B(De,!1)}function ae(De){s.writeLine(De)}function Ce(){s.increaseIndent()}function ne(){s.decreaseIndent()}function ve(){return s.getText()}function Se(De){s.rawWrite(De),B(De,!1)}function Ne(De){s.writeLiteral(De),B(De,!0)}function pe(){return s.getTextPos()}function fe(){return s.getLine()}function xe(){return s.getColumn()}function Be(){return s.getIndent()}function We(){return s.isAtStartOfLine()}function Ae(){s.clear(),u=0}return{onBeforeEmitNode:d,onAfterEmitNode:f,onBeforeEmitNodeArray:p,onAfterEmitNodeArray:E,onBeforeEmitToken:v,onAfterEmitToken:b,write:k,writeComment:T,writeKeyword:M,writeOperator:z,writePunctuation:j,writeTrailingSemicolon:J,writeParameter:K,writeProperty:Y,writeSpace:oe,writeStringLiteral:se,writeSymbol:ge,writeLine:ae,increaseIndent:Ce,decreaseIndent:ne,getText:ve,rawWrite:Se,writeLiteral:Ne,getTextPos:pe,getLine:fe,getColumn:xe,getIndent:Be,isAtStartOfLine:We,hasTrailingComment:()=>s.hasTrailingComment(),hasTrailingWhitespace:()=>s.hasTrailingWhitespace(),clear:Ae}}function YZt(t){let u;for(const B of t.statements)if(Lp(B))u=B;else break;let s=0;const d=t.text;if(u)return s=u.end,b(),s;const f=yU(d);f!==void 0&&(s=f.length,b());const p=K_(d,s);if(!p)return s;let E,v;for(const B of p){if(B.kind===3){if(qU(d,B.pos)){E={range:B,pinnedOrTripleSlash:!0};continue}}else if(l0e(d,B.pos,B.end)){E={range:B,pinnedOrTripleSlash:!0};continue}if(E){if(E.pinnedOrTripleSlash)break;const k=t.getLineAndCharacterOfPosition(B.pos).line,T=t.getLineAndCharacterOfPosition(E.range.end).line;if(k>=T+2)break}if(t.statements.length){v===void 0&&(v=t.getLineAndCharacterOfPosition(t.statements[0].getStart()).line);const k=t.getLineAndCharacterOfPosition(B.end).line;if(v(t[t.Exclude=0]="Exclude",t[t.IncludeAll=1]="IncludeAll",t[t.JSDoc=2]="JSDoc",t[t.StartLine=3]="StartLine",t))(cLe||{}),dLe=(t=>(t[t.Exclude=0]="Exclude",t[t.ExcludeWhitespace=1]="ExcludeWhitespace",t[t.Include=2]="Include",t))(dLe||{}),XM={leadingTriviaOption:0,trailingTriviaOption:0},zlt=class UOe{constructor(u,s){this.newLineCharacter=u,this.formatContext=s,this.changes=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}static fromContext(u){return new UOe(g5(u.host,u.formatContext.options),u.formatContext)}static with(u,s){const d=UOe.fromContext(u);return s(d),d.getChanges()}pushRaw(u,s){H.assertEqual(u.fileName,s.fileName);for(const d of s.textChanges)this.changes.push({kind:3,sourceFile:u,text:d.newText,range:dX(d.span)})}deleteRange(u,s){this.changes.push({kind:0,sourceFile:u,range:s})}delete(u,s){this.deletedNodes.push({sourceFile:u,node:s})}deleteNode(u,s,d={leadingTriviaOption:1}){this.deleteRange(u,PK(u,s,s,d))}deleteNodes(u,s,d={leadingTriviaOption:1},f){for(const p of s){const E=jk(u,p,d,f),v=bw(u,p,d);this.deleteRange(u,{pos:E,end:v}),f=!!oLe(u,p,d)}}deleteModifier(u,s){this.deleteRange(u,{pos:s.getStart(u),end:ps(u.text,s.end,!0)})}deleteNodeRange(u,s,d,f={leadingTriviaOption:1}){const p=jk(u,s,f),E=bw(u,d,f);this.deleteRange(u,{pos:p,end:E})}deleteNodeRangeExcludingEnd(u,s,d,f={leadingTriviaOption:1}){const p=jk(u,s,f),E=d===void 0?u.text.length:jk(u,d,f);this.deleteRange(u,{pos:p,end:E})}replaceRange(u,s,d,f={}){this.changes.push({kind:1,sourceFile:u,range:s,options:f,node:d})}replaceNode(u,s,d,f=XM){this.replaceRange(u,PK(u,s,s,f),d,f)}replaceNodeRange(u,s,d,f,p=XM){this.replaceRange(u,PK(u,s,d,p),f,p)}replaceRangeWithNodes(u,s,d,f={}){this.changes.push({kind:2,sourceFile:u,range:s,options:f,nodes:d})}replaceNodeWithNodes(u,s,d,f=XM){this.replaceRangeWithNodes(u,PK(u,s,s,f),d,f)}replaceNodeWithText(u,s,d){this.replaceRangeWithText(u,PK(u,s,s,XM),d)}replaceNodeRangeWithNodes(u,s,d,f,p=XM){this.replaceRangeWithNodes(u,PK(u,s,d,p),f,p)}nodeHasTrailingComment(u,s,d=XM){return!!oLe(u,s,d)}nextCommaToken(u,s){const d=X2(s,s.parent,u);return d&&d.kind===28?d:void 0}replacePropertyAssignment(u,s,d){const f=this.nextCommaToken(u,s)?"":","+this.newLineCharacter;this.replaceNode(u,s,d,{suffix:f})}insertNodeAt(u,s,d,f={}){this.replaceRange(u,o4(s),d,f)}insertNodesAt(u,s,d,f={}){this.replaceRangeWithNodes(u,o4(s),d,f)}insertNodeAtTopOfFile(u,s,d){this.insertAtTopOfFile(u,s,d)}insertNodesAtTopOfFile(u,s,d){this.insertAtTopOfFile(u,s,d)}insertAtTopOfFile(u,s,d){const f=YZt(u),p={prefix:f===0?void 0:this.newLineCharacter,suffix:(q1(u.text.charCodeAt(f))?"":this.newLineCharacter)+(d?this.newLineCharacter:"")};ja(s)?this.insertNodesAt(u,f,s,p):this.insertNodeAt(u,f,s,p)}insertNodesAtEndOfFile(u,s,d){this.insertAtEndOfFile(u,s,d)}insertAtEndOfFile(u,s,d){const f=u.end+1,p={prefix:this.newLineCharacter,suffix:this.newLineCharacter+(d?this.newLineCharacter:"")};this.insertNodesAt(u,f,s,p)}insertStatementsInNewFile(u,s,d){this.newFileChanges||(this.newFileChanges=Bm()),this.newFileChanges.add(u,{oldFile:d,statements:s})}insertFirstParameter(u,s,d){const f=Ki(s);f?this.insertNodeBefore(u,f,d):this.insertNodeAt(u,s.pos,d)}insertNodeBefore(u,s,d,f=!1,p={}){this.insertNodeAt(u,jk(u,s,p),d,this.getOptionsForInsertNodeBefore(s,d,f))}insertNodesBefore(u,s,d,f=!1,p={}){this.insertNodesAt(u,jk(u,s,p),d,this.getOptionsForInsertNodeBefore(s,Pn(d),f))}insertModifierAt(u,s,d,f={}){this.insertNodeAt(u,s,q.createToken(d),f)}insertModifierBefore(u,s,d){return this.insertModifierAt(u,d.getStart(u),s,{suffix:" "})}insertCommentBeforeLine(u,s,d,f){const p=Px(s,u),E=vSe(u.text,p),v=Mlt(u,E),b=TM(u,v?E:d),B=u.text.slice(p,E),k=`${v?"":this.newLineCharacter}//${f}${this.newLineCharacter}${B}`;this.insertText(u,b.getStart(u),k)}insertJsdocCommentBefore(u,s,d){const f=s.getStart(u);if(s.jsDoc)for(const v of s.jsDoc)this.deleteRange(u,{pos:X4(v.getStart(u),u),end:bw(u,v,{})});const p=CX(u.text,f-1),E=u.text.slice(p,f);this.insertNodeAt(u,f,d,{suffix:this.newLineCharacter+E})}createJSDocText(u,s){const d=Ku(s.jsDoc,p=>Wa(p.comment)?q.createJSDocText(p.comment):p.comment),f=Fa(s.jsDoc);return f&&$4(f.pos,f.end,u)&&S(d)===0?void 0:q.createNodeArray(_e(d,q.createJSDocText(` +`)))}replaceJSDocComment(u,s,d){this.insertJsdocCommentBefore(u,GZt(s),q.createJSDocComment(this.createJSDocText(u,s),q.createNodeArray(d)))}addJSDocTags(u,s,d){const f=Pr(s.jsDoc,E=>E.tags),p=d.filter(E=>!f.some((v,b)=>{const B=JZt(v,E);return B&&(f[b]=B),!!B}));this.replaceJSDocComment(u,s,[...f,...p])}filterJSDocTags(u,s,d){this.replaceJSDocComment(u,s,ei(Pr(s.jsDoc,f=>f.tags),d))}replaceRangeWithText(u,s,d){this.changes.push({kind:3,sourceFile:u,range:s,text:d})}insertText(u,s,d){this.replaceRangeWithText(u,o4(s),d)}tryInsertTypeAnnotation(u,s,d){let f;if(xo(s)){if(f=r0(s,22,u),!f){if(!J0(s))return!1;f=Pn(s.parameters)}}else f=(s.kind===260?s.exclamationToken:s.questionToken)??s.name;return this.insertNodeAt(u,f.end,d,{prefix:": "}),!0}tryInsertThisTypeAnnotation(u,s,d){const f=r0(s,21,u).getStart(u)+1,p=s.parameters.length?", ":"";this.insertNodeAt(u,f,d,{prefix:"this: ",suffix:p})}insertTypeParameters(u,s,d){const f=(r0(s,21,u)||Pn(s.parameters)).getStart(u);this.insertNodesAt(u,f,d,{prefix:"<",suffix:">",joiner:", "})}getOptionsForInsertNodeBefore(u,s,d){return ua(u)||qd(u)?{suffix:d?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:ra(u)?{suffix:", "}:Qa(u)?Qa(s)?{suffix:", "}:{}:us(u)&&Ad(u.parent)||nD(u)?{suffix:", "}:Cf(u)?{suffix:","+(d?this.newLineCharacter:" ")}:H.failBadSyntaxKind(u)}insertNodeAtConstructorStart(u,s,d){const f=Ki(s.body.statements);!f||!s.body.multiLine?this.replaceConstructorBody(u,s,[d,...s.body.statements]):this.insertNodeBefore(u,f,d)}insertNodeAtConstructorStartAfterSuperCall(u,s,d){const f=Le(s.body.statements,p=>Id(p)&&ek(p.expression));!f||!s.body.multiLine?this.replaceConstructorBody(u,s,[...s.body.statements,d]):this.insertNodeAfter(u,f,d)}insertNodeAtConstructorEnd(u,s,d){const f=Zu(s.body.statements);!f||!s.body.multiLine?this.replaceConstructorBody(u,s,[...s.body.statements,d]):this.insertNodeAfter(u,f,d)}replaceConstructorBody(u,s,d){this.replaceNode(u,s.body,q.createBlock(d,!0))}insertNodeAtEndOfScope(u,s,d){const f=jk(u,s.getLastToken(),{});this.insertNodeAt(u,f,d,{prefix:q1(u.text.charCodeAt(s.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})}insertMemberAtStart(u,s,d){this.insertNodeAtStartWorker(u,s,d)}insertNodeAtObjectStart(u,s,d){this.insertNodeAtStartWorker(u,s,d)}insertNodeAtStartWorker(u,s,d){const f=this.guessIndentationFromExistingMembers(u,s)??this.computeIndentationForNewMember(u,s);this.insertNodeAt(u,zpe(s).pos,d,this.getInsertNodeAtStartInsertOptions(u,s,f))}guessIndentationFromExistingMembers(u,s){let d,f=s;for(const p of zpe(s)){if(Vq(f,p,u))return;const E=p.getStart(u),v=ld.SmartIndenter.findFirstNonWhitespaceColumn(X4(E,u),E,u,this.formatContext.options);if(d===void 0)d=v;else if(v!==d)return;f=p}return d}computeIndentationForNewMember(u,s){const d=s.getStart(u);return ld.SmartIndenter.findFirstNonWhitespaceColumn(X4(d,u),d,u,this.formatContext.options)+(this.formatContext.options.indentSize??4)}getInsertNodeAtStartInsertOptions(u,s,d){const p=zpe(s).length===0,E=Pp(this.classesWithNodesInsertedAtStart,$s(s),{node:s,sourceFile:u}),v=bs(s)&&(!H4(u)||!p),b=bs(s)&&H4(u)&&p&&!E;return{indentation:d,prefix:(b?",":"")+this.newLineCharacter,suffix:v?",":Dh(s)&&p?";":""}}insertNodeAfterComma(u,s,d){const f=this.insertNodeAfterWorker(u,this.nextCommaToken(u,s)||s,d);this.insertNodeAt(u,f,d,this.getInsertNodeAfterOptions(u,s))}insertNodeAfter(u,s,d){const f=this.insertNodeAfterWorker(u,s,d);this.insertNodeAt(u,f,d,this.getInsertNodeAfterOptions(u,s))}insertNodeAtEndOfList(u,s,d){this.insertNodeAt(u,s.end,d,{prefix:", "})}insertNodesAfter(u,s,d){const f=this.insertNodeAfterWorker(u,s,Pn(d));this.insertNodesAt(u,f,d,this.getInsertNodeAfterOptions(u,s))}insertNodeAfterWorker(u,s,d){return QZt(s,d)&&u.text.charCodeAt(s.end-1)!==59&&this.replaceRange(u,o4(s.end),q.createToken(27)),bw(u,s,{})}getInsertNodeAfterOptions(u,s){const d=this.getInsertNodeAfterOptionsWorker(s);return{...d,prefix:s.end===u.end&&ua(s)?d.prefix?` +${d.prefix}`:` +`:d.prefix}}getInsertNodeAfterOptionsWorker(u){switch(u.kind){case 263:case 267:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 260:case 11:case 80:return{prefix:", "};case 303:return{suffix:","+this.newLineCharacter};case 95:return{prefix:" "};case 169:return{};default:return H.assert(ua(u)||MU(u)),{suffix:this.newLineCharacter}}}insertName(u,s,d){if(H.assert(!s.name),s.kind===219){const f=r0(s,39,u),p=r0(s,21,u);p?(this.insertNodesAt(u,p.getStart(u),[q.createToken(100),q.createIdentifier(d)],{joiner:" "}),sD(this,u,f)):(this.insertText(u,Pn(s.parameters).getStart(u),`function ${d}(`),this.replaceRange(u,f,q.createToken(22))),s.body.kind!==241&&(this.insertNodesAt(u,s.body.getStart(u),[q.createToken(19),q.createToken(107)],{joiner:" ",suffix:" "}),this.insertNodesAt(u,s.body.end,[q.createToken(27),q.createToken(20)],{joiner:" "}))}else{const f=r0(s,s.kind===218?100:86,u).end;this.insertNodeAt(u,f,q.createIdentifier(d),{prefix:" "})}}insertExportModifier(u,s){this.insertText(u,s.getStart(u),"export ")}insertImportSpecifierAtIndex(u,s,d,f){const p=d.elements[f-1];p?this.insertNodeInListAfter(u,p,s):this.insertNodeBefore(u,d.elements[0],s,!$4(d.elements[0].getStart(),d.parent.parent.getStart(),u))}insertNodeInListAfter(u,s,d,f=ld.SmartIndenter.getContainingList(s,u)){if(!f){H.fail("node is not a list element");return}const p=R8(f,s);if(p<0)return;const E=s.getEnd();if(p!==f.length-1){const v=Ca(u,s.end);if(v&&Mpe(s,v)){const b=f[p+1],B=Nlt(u.text,b.getFullStart()),k=`${$o(v.kind)}${u.text.substring(v.end,B)}`;this.insertNodesAt(u,B,[d],{suffix:k})}}else{const v=s.getStart(u),b=X4(v,u);let B,k=!1;if(f.length===1)B=28;else{const T=ed(s.pos,u);B=Mpe(s,T)?T.kind:28,k=X4(f[p-1].getStart(u),u)!==b}if(KZt(u.text,s.end)&&(k=!0),k){this.replaceRange(u,o4(E),q.createToken(B));const T=ld.SmartIndenter.findFirstNonWhitespaceColumn(b,v,u,this.formatContext.options);let M=ps(u.text,E,!0,!1);for(;M!==E&&q1(u.text.charCodeAt(M-1));)M--;this.replaceRange(u,o4(M),d,{indentation:T,prefix:this.newLineCharacter})}else this.replaceRange(u,o4(E),d,{prefix:`${$o(B)} `})}}parenthesizeExpression(u,s){this.replaceRange(u,wle(s),q.createParenthesizedExpression(s))}finishClassesWithNodesInsertedAtStart(){this.classesWithNodesInsertedAtStart.forEach(({node:u,sourceFile:s})=>{const[d,f]=UZt(u,s);if(d!==void 0&&f!==void 0){const p=zpe(u).length===0,E=$4(d,f,s);p&&E&&d!==f-1&&this.deleteRange(s,o4(d,f-1)),E&&this.insertText(s,f-1,this.newLineCharacter)}})}finishDeleteDeclarations(){const u=new Set;for(const{sourceFile:s,node:d}of this.deletedNodes)this.deletedNodes.some(f=>f.sourceFile===s&&$9e(f.node,d))||(ja(d)?this.deleteRange(s,Tle(s,d)):hLe.deleteDeclaration(this,u,s,d));u.forEach(s=>{const d=s.getSourceFile(),f=ld.SmartIndenter.getContainingList(s,d);if(s!==Cr(f))return;const p=Ye(f,E=>!u.has(E),f.length-2);p!==-1&&this.deleteRange(d,{pos:f[p].end,end:sLe(d,f[p+1])})})}getChanges(u){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();const s=Rpe.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,u);return this.newFileChanges&&this.newFileChanges.forEach((d,f)=>{s.push(Rpe.newFileChanges(f,d,this.newLineCharacter,this.formatContext))}),s}createNewFile(u,s,d){this.insertStatementsInNewFile(s,d,u)}},(t=>{function u(v,b,B,k){return Si(xN(v,T=>T.sourceFile.path),T=>{const M=T[0].sourceFile,z=ac(T,(J,K)=>J.range.pos-K.range.pos||J.range.end-K.range.end);for(let J=0;J`${JSON.stringify(z[J].range)} and ${JSON.stringify(z[J+1].range)}`);const j=Si(z,J=>{const K=Ux(J.range),Y=J.kind===1?zn(Kl(J.node))??J.sourceFile:J.kind===2?zn(Kl(J.nodes[0]))??J.sourceFile:J.sourceFile,oe=f(J,Y,M,b,B,k);if(!(K.length===oe.length&&NSe(Y.text,oe,K.start)))return OH(K,oe)});return j.length>0?{fileName:M.fileName,textChanges:j}:void 0})}t.getTextChangesFromChanges=u;function s(v,b,B,k){const T=d(uZ(v),b,B,k);return{fileName:v,textChanges:[OH(c1(0,0),T)],isNewFile:!0}}t.newFileChanges=s;function d(v,b,B,k){const T=Ku(b,j=>j.statements.map(J=>J===4?"":E(J,j.oldFile,B).text)).join(B),M=VV("any file name",T,{languageVersion:99,jsDocParsingMode:1},!0,v),z=ld.formatDocument(M,k);return lLe(T,z)+B}t.newFileChangesWorker=d;function f(v,b,B,k,T,M){var z;if(v.kind===0)return"";if(v.kind===3)return v.text;const{options:j={},range:{pos:J}}=v,K=se=>p(se,b,B,J,j,k,T,M),Y=v.kind===2?v.nodes.map(se=>E8(K(se),k)).join(((z=v.options)==null?void 0:z.joiner)||k):K(v.node),oe=j.indentation!==void 0||X4(J,b)===J?Y:Y.replace(/^\s+/,"");return(j.prefix||"")+oe+(!j.suffix||oc(oe,j.suffix)?"":j.suffix)}function p(v,b,B,k,{indentation:T,prefix:M,delta:z},j,J,K){const{node:Y,text:oe}=E(v,b,j);K&&K(Y,oe);const se=zX(J,b),ge=T!==void 0?T:ld.SmartIndenter.getIndentation(k,B,se,M===j||X4(k,b)===k);z===void 0&&(z=ld.SmartIndenter.shouldIndentChildNode(se,v)&&se.indentSize||0);const ae={text:oe,getLineAndCharacterOfPosition(ne){return o0(this,ne)}},Ce=ld.formatNodeGivenIndentation(Y,ae,b.languageVariant,ge,z,{...J,options:se});return lLe(oe,Ce)}function E(v,b,B){const k=Plt(B),T=QH(B);return Kv({newLine:T,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},k).writeNode(4,v,b,k),{text:k.getText(),node:Ipe(v)}}t.getNonformattedText=E})(Rpe||(Rpe={})),Ilt={...Eg,factory:hV(Eg.factory.flags|1,Eg.factory.baseFactory)},(t=>{function u(p,E,v,b){switch(b.kind){case 169:{const z=b.parent;J0(z)&&z.parameters.length===1&&!r0(z,21,v)?p.replaceNodeWithText(v,b,"()"):MK(p,E,v,b);break}case 272:case 271:const B=v.imports.length&&b===Pn(v.imports).parent||b===Le(v.statements,Xy);sD(p,v,b,{leadingTriviaOption:B?0:sm(b)?2:3});break;case 208:const k=b.parent;k.kind===207&&b!==Cr(k.elements)?sD(p,v,b):MK(p,E,v,b);break;case 260:f(p,E,v,b);break;case 168:MK(p,E,v,b);break;case 276:const M=b.parent;M.elements.length===1?d(p,v,M):MK(p,E,v,b);break;case 274:d(p,v,b);break;case 27:sD(p,v,b,{trailingTriviaOption:0});break;case 100:sD(p,v,b,{leadingTriviaOption:0});break;case 263:case 262:sD(p,v,b,{leadingTriviaOption:sm(b)?2:3});break;default:b.parent?i_(b.parent)&&b.parent.name===b?s(p,v,b.parent):Po(b.parent)&&Ft(b.parent.arguments,b)?MK(p,E,v,b):sD(p,v,b):sD(p,v,b)}}t.deleteDeclaration=u;function s(p,E,v){if(!v.namedBindings)sD(p,E,v.parent);else{const b=v.name.getStart(E),B=Ca(E,v.name.end);if(B&&B.kind===28){const k=ps(E.text,B.end,!1,!0);p.deleteRange(E,{pos:b,end:k})}else sD(p,E,v.name)}}function d(p,E,v){if(v.parent.name){const b=H.checkDefined(Ca(E,v.pos-1));p.deleteRange(E,{pos:b.getStart(E),end:v.end})}else{const b=yv(v,272);sD(p,E,b)}}function f(p,E,v,b){const{parent:B}=b;if(B.kind===299){p.deleteNodeRange(v,r0(B,21,v),r0(B,22,v));return}if(B.declarations.length!==1){MK(p,E,v,b);return}const k=B.parent;switch(k.kind){case 250:case 249:p.replaceNode(v,b,q.createObjectLiteralExpression());break;case 248:sD(p,v,B);break;case 243:sD(p,v,k,{leadingTriviaOption:sm(k)?2:3});break;default:H.assertNever(k)}}})(hLe||(hLe={}))}}),iu={};h(iu,{ChangeTracker:()=>zlt,LeadingTriviaOption:()=>cLe,TrailingTriviaOption:()=>dLe,applyChanges:()=>lLe,assignPositionsToNode:()=>Ipe,createWriter:()=>Plt,deleteNode:()=>sD,isThisTypeAnnotatable:()=>WZt,isValidLocationToAddComment:()=>Mlt});var eYt=o({"src/services/_namespaces/ts.textChanges.ts"(){XZt()}}),fLe,mLe,tYt=o({"src/services/formatting/formattingContext.ts"(){ar(),fLe=(t=>(t[t.FormatDocument=0]="FormatDocument",t[t.FormatSelection=1]="FormatSelection",t[t.FormatOnEnter=2]="FormatOnEnter",t[t.FormatOnSemicolon=3]="FormatOnSemicolon",t[t.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",t[t.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace",t))(fLe||{}),mLe=class{constructor(t,u,s){this.sourceFile=t,this.formattingRequestKind=u,this.options=s}updateContext(t,u,s,d,f){this.currentTokenSpan=H.checkDefined(t),this.currentTokenParent=H.checkDefined(u),this.nextTokenSpan=H.checkDefined(s),this.nextTokenParent=H.checkDefined(d),this.contextNode=H.checkDefined(f),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0}ContextNodeAllOnSameLine(){return this.contextNodeAllOnSameLine===void 0&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine}NextNodeAllOnSameLine(){return this.nextNodeAllOnSameLine===void 0&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine}TokensAreOnSameLine(){if(this.tokensAreOnSameLine===void 0){const t=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,u=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=t===u}return this.tokensAreOnSameLine}ContextNodeBlockIsOnOneLine(){return this.contextNodeBlockIsOnOneLine===void 0&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine}NextNodeBlockIsOnOneLine(){return this.nextNodeBlockIsOnOneLine===void 0&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine}NodeIsOnOneLine(t){const u=this.sourceFile.getLineAndCharacterOfPosition(t.getStart(this.sourceFile)).line,s=this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line;return u===s}BlockIsOnOneLine(t){const u=r0(t,19,this.sourceFile),s=r0(t,20,this.sourceFile);if(u&&s){const d=this.sourceFile.getLineAndCharacterOfPosition(u.getEnd()).line,f=this.sourceFile.getLineAndCharacterOfPosition(s.getStart(this.sourceFile)).line;return d===f}return!1}}}});function pLe(t,u,s,d,f){const p=u===1?Olt:Rlt;p.setText(t),p.resetTokenState(s);let E=!0,v,b,B,k,T;const M=f({advance:z,readTokenInfo:ae,readEOFTokenRange:ne,isOnToken:ve,isOnEOF:Se,getCurrentLeadingTrivia:()=>v,lastTrailingTriviaWasNewLine:()=>E,skipToEndOf:pe,skipToStartOf:fe,getTokenFullStart:()=>(T==null?void 0:T.token.pos)??p.getTokenStart(),getStartPos:()=>(T==null?void 0:T.token.pos)??p.getTokenStart()});return T=void 0,p.setText(void 0),M;function z(){T=void 0,p.getTokenFullStart()!==s?E=!!b&&Cr(b).kind===4:p.scan(),v=void 0,b=void 0;let Be=p.getTokenFullStart();for(;Be(t[t.None=0]="None",t[t.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",t[t.StopProcessingTokenActions=2]="StopProcessingTokenActions",t[t.InsertSpace=4]="InsertSpace",t[t.InsertNewLine=8]="InsertNewLine",t[t.DeleteSpace=16]="DeleteSpace",t[t.DeleteToken=32]="DeleteToken",t[t.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",t[t.StopAction=3]="StopAction",t[t.ModifySpaceAction=28]="ModifySpaceAction",t[t.ModifyTokenAction=96]="ModifyTokenAction",t))(gLe||{}),ELe=(t=>(t[t.None=0]="None",t[t.CanDeleteNewLines=1]="CanDeleteNewLines",t))(ELe||{})}});function jlt(){const t=[];for(let Ce=0;Ce<=165;Ce++)Ce!==1&&t.push(Ce);function u(...Ce){return{tokens:t.filter(ne=>!Ce.some(ve=>ve===ne)),isSpecific:!1}}const s={tokens:t,isSpecific:!1},d=ez([...t,3]),f=ez([...t,1]),p=Hlt(83,165),E=Hlt(30,79),v=[103,104,165,130,142,152],b=[46,47,55,54],B=[9,10,80,21,23,19,110,105],k=[80,21,110,105],T=[80,22,24,105],M=[80,21,110,105],z=[80,22,24,105],j=[2,3],J=[80,...RX],K=d,Y=ez([80,3,86,95,102]),oe=ez([22,3,92,113,98,93]),se=[$u("IgnoreBeforeComment",s,j,Oee,1),$u("IgnoreAfterLineComment",2,s,Oee,1),$u("NotSpaceBeforeColon",s,59,[ta,jee,Glt],16),$u("SpaceAfterColon",59,s,[ta,jee,xYt],4),$u("NoSpaceBeforeQuestionMark",s,58,[ta,jee,Glt],16),$u("SpaceAfterQuestionMarkInConditionalOperator",58,s,[ta,oYt],4),$u("NoSpaceAfterQuestionMark",58,s,[ta,aYt],16),$u("NoSpaceBeforeDot",s,[25,29],[ta,NYt],16),$u("NoSpaceAfterDot",[25,29],s,[ta],16),$u("NoSpaceBetweenImportParenInImportType",102,21,[ta,_Yt],16),$u("NoSpaceAfterUnaryPrefixOperator",b,B,[ta,jee],16),$u("NoSpaceAfterUnaryPreincrementOperator",46,k,[ta],16),$u("NoSpaceAfterUnaryPredecrementOperator",47,M,[ta],16),$u("NoSpaceBeforeUnaryPostincrementOperator",T,46,[ta,oct],16),$u("NoSpaceBeforeUnaryPostdecrementOperator",z,47,[ta,oct],16),$u("SpaceAfterPostincrementWhenFollowedByAdd",46,40,[ta,Yx],4),$u("SpaceAfterAddWhenFollowedByUnaryPlus",40,40,[ta,Yx],4),$u("SpaceAfterAddWhenFollowedByPreincrement",40,46,[ta,Yx],4),$u("SpaceAfterPostdecrementWhenFollowedBySubtract",47,41,[ta,Yx],4),$u("SpaceAfterSubtractWhenFollowedByUnaryMinus",41,41,[ta,Yx],4),$u("SpaceAfterSubtractWhenFollowedByPredecrement",41,47,[ta,Yx],4),$u("NoSpaceAfterCloseBrace",20,[28,27],[ta],16),$u("NewLineBeforeCloseBraceInBlockContext",d,20,[$lt],8),$u("SpaceAfterCloseBrace",20,u(22),[ta,cYt],4),$u("SpaceBetweenCloseBraceAndElse",20,93,[ta],4),$u("SpaceBetweenCloseBraceAndWhile",20,117,[ta],4),$u("NoSpaceBetweenEmptyBraceBrackets",19,20,[ta,Xlt],16),$u("SpaceAfterConditionalClosingParen",22,23,[Vee],4),$u("NoSpaceBetweenFunctionKeywordAndStar",100,42,[Zlt],16),$u("SpaceAfterStarInGeneratorDeclaration",42,80,[Zlt],4),$u("SpaceAfterFunctionInFuncDecl",100,s,[Vk],4),$u("NewLineAfterOpenBraceInBlockContext",19,s,[$lt],8),$u("SpaceAfterGetSetInMember",[139,153],80,[Vk],4),$u("NoSpaceBetweenYieldKeywordAndStar",127,42,[ta,act],16),$u("SpaceBetweenYieldOrYieldStarAndOperand",[127,42],s,[ta,act],4),$u("NoSpaceBetweenReturnAndSemicolon",107,27,[ta],16),$u("SpaceAfterCertainKeywords",[115,111,105,91,107,114,135],s,[ta],4),$u("SpaceAfterLetConstInVariableDeclaration",[121,87],s,[ta,bYt],4),$u("NoSpaceBeforeOpenParenInFuncCall",s,21,[ta,fYt,mYt],16),$u("SpaceBeforeBinaryKeywordOperator",s,v,[ta,Yx],4),$u("SpaceAfterBinaryKeywordOperator",v,s,[ta,Yx],4),$u("SpaceAfterVoidOperator",116,s,[ta,SYt],4),$u("SpaceBetweenAsyncAndOpenParen",134,21,[EYt,ta],4),$u("SpaceBetweenAsyncAndFunctionKeyword",134,[100,80],[ta],4),$u("NoSpaceBetweenTagAndTemplateString",[80,22],[15,16],[ta],16),$u("SpaceBeforeJsxAttribute",s,80,[DYt,ta],4),$u("SpaceBeforeSlashInJsxOpeningElement",s,44,[nct,ta],4),$u("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",44,32,[nct,ta],16),$u("NoSpaceBeforeEqualInJsxAttribute",s,64,[tct,ta],16),$u("NoSpaceAfterEqualInJsxAttribute",64,s,[tct,ta],16),$u("NoSpaceBeforeJsxNamespaceColon",80,59,[ict],16),$u("NoSpaceAfterJsxNamespaceColon",59,80,[ict],16),$u("NoSpaceAfterModuleImport",[144,149],21,[ta],16),$u("SpaceAfterCertainTypeScriptKeywords",[128,129,86,138,90,94,95,96,139,119,102,120,144,145,123,125,124,148,153,126,156,161,143,140],s,[ta],4),$u("SpaceBeforeCertainTypeScriptKeywords",s,[96,119,161],[ta],4),$u("SpaceAfterModuleName",11,19,[yYt],4),$u("SpaceBeforeArrow",s,39,[ta],4),$u("SpaceAfterArrow",39,s,[ta],4),$u("NoSpaceAfterEllipsis",26,80,[ta],16),$u("NoSpaceAfterOptionalParameters",58,[22,28],[ta,jee],16),$u("NoSpaceBetweenEmptyInterfaceBraceBrackets",19,20,[ta,kYt],16),$u("NoSpaceBeforeOpenAngularBracket",J,30,[ta,Hee],16),$u("NoSpaceBetweenCloseParenAndAngularBracket",22,30,[ta,Hee],16),$u("NoSpaceAfterOpenAngularBracket",30,s,[ta,Hee],16),$u("NoSpaceBeforeCloseAngularBracket",s,32,[ta,Hee],16),$u("NoSpaceAfterCloseAngularBracket",32,[21,23,32,28],[ta,Hee,lYt,AYt],16),$u("SpaceBeforeAt",[22,80],60,[ta],4),$u("NoSpaceAfterAt",60,s,[ta],16),$u("SpaceAfterDecorator",s,[128,80,95,90,86,126,125,123,124,139,153,23,42],[CYt],4),$u("NoSpaceBeforeNonNullAssertionOperator",s,54,[ta,BYt],16),$u("NoSpaceAfterNewKeywordOnConstructorSignature",105,21,[ta,FYt],16),$u("SpaceLessThanAndNonJSXTypeAnnotation",30,30,[ta],4)],ge=[$u("SpaceAfterConstructor",137,21,[Km("insertSpaceAfterConstructor"),ta],4),$u("NoSpaceAfterConstructor",137,21,[cE("insertSpaceAfterConstructor"),ta],16),$u("SpaceAfterComma",28,s,[Km("insertSpaceAfterCommaDelimiter"),ta,yLe,pYt,gYt],4),$u("NoSpaceAfterComma",28,s,[cE("insertSpaceAfterCommaDelimiter"),ta,yLe],16),$u("SpaceAfterAnonymousFunctionKeyword",[100,42],21,[Km("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Vk],4),$u("NoSpaceAfterAnonymousFunctionKeyword",[100,42],21,[cE("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),Vk],16),$u("SpaceAfterKeywordInControl",p,21,[Km("insertSpaceAfterKeywordsInControlFlowStatements"),Vee],4),$u("NoSpaceAfterKeywordInControl",p,21,[cE("insertSpaceAfterKeywordsInControlFlowStatements"),Vee],16),$u("SpaceAfterOpenParen",21,s,[Km("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],4),$u("SpaceBeforeCloseParen",s,22,[Km("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],4),$u("SpaceBetweenOpenParens",21,21,[Km("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],4),$u("NoSpaceBetweenParens",21,22,[ta],16),$u("NoSpaceAfterOpenParen",21,s,[cE("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],16),$u("NoSpaceBeforeCloseParen",s,22,[cE("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),ta],16),$u("SpaceAfterOpenBracket",23,s,[Km("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ta],4),$u("SpaceBeforeCloseBracket",s,24,[Km("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ta],4),$u("NoSpaceBetweenBrackets",23,24,[ta],16),$u("NoSpaceAfterOpenBracket",23,s,[cE("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ta],16),$u("NoSpaceBeforeCloseBracket",s,24,[cE("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),ta],16),$u("SpaceAfterOpenBrace",19,s,[Wlt("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Jlt],4),$u("SpaceBeforeCloseBrace",s,20,[Wlt("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Jlt],4),$u("NoSpaceBetweenEmptyBraceBrackets",19,20,[ta,Xlt],16),$u("NoSpaceAfterOpenBrace",19,s,[_Le("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),ta],16),$u("NoSpaceBeforeCloseBrace",s,20,[_Le("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),ta],16),$u("SpaceBetweenEmptyBraceBrackets",19,20,[Km("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),$u("NoSpaceBetweenEmptyBraceBrackets",19,20,[_Le("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),ta],16),$u("SpaceAfterTemplateHeadAndMiddle",[16,17],s,[Km("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ect],4,1),$u("SpaceBeforeTemplateMiddleAndTail",s,[17,18],[Km("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ta],4),$u("NoSpaceAfterTemplateHeadAndMiddle",[16,17],s,[cE("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ect],16,1),$u("NoSpaceBeforeTemplateMiddleAndTail",s,[17,18],[cE("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),ta],16),$u("SpaceAfterOpenBraceInJsxExpression",19,s,[Km("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ta,jpe],4),$u("SpaceBeforeCloseBraceInJsxExpression",s,20,[Km("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ta,jpe],4),$u("NoSpaceAfterOpenBraceInJsxExpression",19,s,[cE("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ta,jpe],16),$u("NoSpaceBeforeCloseBraceInJsxExpression",s,20,[cE("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),ta,jpe],16),$u("SpaceAfterSemicolonInFor",27,s,[Km("insertSpaceAfterSemicolonInForStatements"),ta,xLe],4),$u("NoSpaceAfterSemicolonInFor",27,s,[cE("insertSpaceAfterSemicolonInForStatements"),ta,xLe],16),$u("SpaceBeforeBinaryOperator",s,E,[Km("insertSpaceBeforeAndAfterBinaryOperators"),ta,Yx],4),$u("SpaceAfterBinaryOperator",E,s,[Km("insertSpaceBeforeAndAfterBinaryOperators"),ta,Yx],4),$u("NoSpaceBeforeBinaryOperator",s,E,[cE("insertSpaceBeforeAndAfterBinaryOperators"),ta,Yx],16),$u("NoSpaceAfterBinaryOperator",E,s,[cE("insertSpaceBeforeAndAfterBinaryOperators"),ta,Yx],16),$u("SpaceBeforeOpenParenInFuncDecl",s,21,[Km("insertSpaceBeforeFunctionParenthesis"),ta,Vk],4),$u("NoSpaceBeforeOpenParenInFuncDecl",s,21,[cE("insertSpaceBeforeFunctionParenthesis"),ta,Vk],16),$u("NewLineBeforeOpenBraceInControl",oe,19,[Km("placeOpenBraceOnNewLineForControlBlocks"),Vee,bLe],8,1),$u("NewLineBeforeOpenBraceInFunction",K,19,[Km("placeOpenBraceOnNewLineForFunctions"),Vk,bLe],8,1),$u("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",Y,19,[Km("placeOpenBraceOnNewLineForFunctions"),Ylt,bLe],8,1),$u("SpaceAfterTypeAssertion",32,s,[Km("insertSpaceAfterTypeAssertion"),ta,FLe],4),$u("NoSpaceAfterTypeAssertion",32,s,[cE("insertSpaceAfterTypeAssertion"),ta,FLe],16),$u("SpaceBeforeTypeAnnotation",s,[58,59],[Km("insertSpaceBeforeTypeAnnotation"),ta,vLe],4),$u("NoSpaceBeforeTypeAnnotation",s,[58,59],[cE("insertSpaceBeforeTypeAnnotation"),ta,vLe],16),$u("NoOptionalSemicolon",27,f,[Klt("semicolons","remove"),TYt],32),$u("OptionalSemicolon",s,f,[Klt("semicolons","insert"),LYt],64)],ae=[$u("NoSpaceBeforeSemicolon",s,27,[ta],16),$u("SpaceBeforeOpenBraceInControl",oe,19,[DLe("placeOpenBraceOnNewLineForControlBlocks"),Vee,kLe,CLe],4,1),$u("SpaceBeforeOpenBraceInFunction",K,19,[DLe("placeOpenBraceOnNewLineForFunctions"),Vk,Ope,kLe,CLe],4,1),$u("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",Y,19,[DLe("placeOpenBraceOnNewLineForFunctions"),Ylt,kLe,CLe],4,1),$u("NoSpaceBeforeComma",s,28,[ta],16),$u("NoSpaceBeforeOpenBracket",u(134,84),23,[ta],16),$u("NoSpaceAfterCloseBracket",24,s,[ta,vYt],16),$u("SpaceAfterSemicolon",27,s,[ta],4),$u("SpaceBetweenForAndAwaitKeyword",99,135,[ta],4),$u("SpaceBetweenStatements",[22,92,93,84],s,[ta,yLe,uYt],4),$u("SpaceAfterTryCatchFinally",[113,85,98],19,[ta],4)];return[...se,...ge,...ae]}function $u(t,u,s,d,f,p=0){return{leftTokenRange:Vlt(u),rightTokenRange:Vlt(s),rule:{debugName:t,context:d,action:f,flags:p}}}function ez(t){return{tokens:t,isSpecific:!0}}function Vlt(t){return typeof t=="number"?ez([t]):ja(t)?ez(t):t}function Hlt(t,u,s=[]){const d=[];for(let f=t;f<=u;f++)Ft(s,f)||d.push(f);return ez(d)}function Klt(t,u){return s=>s.options&&s.options[t]===u}function Km(t){return u=>u.options&&gu(u.options,t)&&!!u.options[t]}function _Le(t){return u=>u.options&&gu(u.options,t)&&!u.options[t]}function cE(t){return u=>!u.options||!gu(u.options,t)||!u.options[t]}function DLe(t){return u=>!u.options||!gu(u.options,t)||!u.options[t]||u.TokensAreOnSameLine()}function Wlt(t){return u=>!u.options||!gu(u.options,t)||!!u.options[t]}function xLe(t){return t.contextNode.kind===248}function uYt(t){return!xLe(t)}function Yx(t){switch(t.contextNode.kind){case 226:return t.contextNode.operatorToken.kind!==28;case 227:case 194:case 234:case 281:case 276:case 182:case 192:case 193:case 238:return!0;case 208:case 265:case 271:case 277:case 260:case 169:case 306:case 172:case 171:return t.currentTokenSpan.kind===64||t.nextTokenSpan.kind===64;case 249:case 168:return t.currentTokenSpan.kind===103||t.nextTokenSpan.kind===103||t.currentTokenSpan.kind===64||t.nextTokenSpan.kind===64;case 250:return t.currentTokenSpan.kind===165||t.nextTokenSpan.kind===165}return!1}function jee(t){return!Yx(t)}function Glt(t){return!vLe(t)}function vLe(t){const u=t.contextNode.kind;return u===172||u===171||u===169||u===260||u7(u)}function rYt(t){return yo(t.contextNode)&&t.contextNode.questionToken}function aYt(t){return!rYt(t)}function oYt(t){return t.contextNode.kind===227||t.contextNode.kind===194}function CLe(t){return t.TokensAreOnSameLine()||Ope(t)}function Jlt(t){return t.contextNode.kind===206||t.contextNode.kind===200||sYt(t)}function bLe(t){return Ope(t)&&!(t.NextNodeAllOnSameLine()||t.NextNodeBlockIsOnOneLine())}function $lt(t){return Ult(t)&&!(t.ContextNodeAllOnSameLine()||t.ContextNodeBlockIsOnOneLine())}function sYt(t){return Ult(t)&&(t.ContextNodeAllOnSameLine()||t.ContextNodeBlockIsOnOneLine())}function Ult(t){return qlt(t.contextNode)}function Ope(t){return qlt(t.nextTokenParent)}function qlt(t){if(Qlt(t))return!0;switch(t.kind){case 241:case 269:case 210:case 268:return!0}return!1}function Vk(t){switch(t.contextNode.kind){case 262:case 174:case 173:case 177:case 178:case 179:case 218:case 176:case 219:case 264:return!0}return!1}function lYt(t){return!Vk(t)}function Zlt(t){return t.contextNode.kind===262||t.contextNode.kind===218}function Ylt(t){return Qlt(t.contextNode)}function Qlt(t){switch(t.kind){case 263:case 231:case 264:case 266:case 187:case 267:case 278:case 279:case 272:case 275:return!0}return!1}function cYt(t){switch(t.currentTokenParent.kind){case 263:case 267:case 266:case 299:case 268:case 255:return!0;case 241:{const u=t.currentTokenParent.parent;if(!u||u.kind!==219&&u.kind!==218)return!0}}return!1}function Vee(t){switch(t.contextNode.kind){case 245:case 255:case 248:case 249:case 250:case 247:case 258:case 246:case 254:case 299:return!0;default:return!1}}function Xlt(t){return t.contextNode.kind===210}function dYt(t){return t.contextNode.kind===213}function hYt(t){return t.contextNode.kind===214}function fYt(t){return dYt(t)||hYt(t)}function mYt(t){return t.currentTokenSpan.kind!==28}function pYt(t){return t.nextTokenSpan.kind!==24}function gYt(t){return t.nextTokenSpan.kind!==22}function EYt(t){return t.contextNode.kind===219}function _Yt(t){return t.contextNode.kind===205}function ta(t){return t.TokensAreOnSameLine()&&t.contextNode.kind!==12}function ect(t){return t.contextNode.kind!==12}function yLe(t){return t.contextNode.kind!==284&&t.contextNode.kind!==288}function jpe(t){return t.contextNode.kind===294||t.contextNode.kind===293}function DYt(t){return t.nextTokenParent.kind===291||t.nextTokenParent.kind===295&&t.nextTokenParent.parent.kind===291}function tct(t){return t.contextNode.kind===291}function xYt(t){return t.nextTokenParent.kind!==295}function ict(t){return t.nextTokenParent.kind===295}function nct(t){return t.contextNode.kind===285}function vYt(t){return!Vk(t)&&!Ope(t)}function CYt(t){return t.TokensAreOnSameLine()&&a4(t.contextNode)&&uct(t.currentTokenParent)&&!uct(t.nextTokenParent)}function uct(t){for(;t&&Wt(t);)t=t.parent;return t&&t.kind===170}function bYt(t){return t.currentTokenParent.kind===261&&t.currentTokenParent.getStart(t.sourceFile)===t.currentTokenSpan.pos}function kLe(t){return t.formattingRequestKind!==2}function yYt(t){return t.contextNode.kind===267}function kYt(t){return t.contextNode.kind===187}function FYt(t){return t.contextNode.kind===180}function rct(t,u){if(t.kind!==30&&t.kind!==32)return!1;switch(u.kind){case 183:case 216:case 265:case 263:case 231:case 264:case 262:case 218:case 219:case 174:case 173:case 179:case 180:case 213:case 214:case 233:return!0;default:return!1}}function Hee(t){return rct(t.currentTokenSpan,t.currentTokenParent)||rct(t.nextTokenSpan,t.nextTokenParent)}function FLe(t){return t.contextNode.kind===216}function AYt(t){return!FLe(t)}function SYt(t){return t.currentTokenSpan.kind===116&&t.currentTokenParent.kind===222}function act(t){return t.contextNode.kind===229&&t.contextNode.expression!==void 0}function BYt(t){return t.contextNode.kind===235}function oct(t){return!wYt(t)}function wYt(t){switch(t.contextNode.kind){case 245:case 248:case 249:case 250:case 246:case 247:return!0;default:return!1}}function TYt(t){let u=t.nextTokenSpan.kind,s=t.nextTokenSpan.pos;if(tB(u)){const p=t.nextTokenParent===t.currentTokenParent?X2(t.currentTokenParent,Tn(t.currentTokenParent,E=>!E.parent),t.sourceFile):t.nextTokenParent.getFirstToken(t.sourceFile);if(!p)return!0;u=p.kind,s=p.getStart(t.sourceFile)}const d=t.sourceFile.getLineAndCharacterOfPosition(t.currentTokenSpan.pos).line,f=t.sourceFile.getLineAndCharacterOfPosition(s).line;return d===f?u===20||u===1:u===240||u===27?!1:t.contextNode.kind===264||t.contextNode.kind===265?!Pm(t.currentTokenParent)||!!t.currentTokenParent.type||u!==21:yo(t.currentTokenParent)?!t.currentTokenParent.initializer:t.currentTokenParent.kind!==248&&t.currentTokenParent.kind!==242&&t.currentTokenParent.kind!==240&&u!==23&&u!==21&&u!==40&&u!==41&&u!==44&&u!==14&&u!==28&&u!==228&&u!==16&&u!==15&&u!==25}function LYt(t){return AX(t.currentTokenSpan.end,t.currentTokenParent,t.sourceFile)}function NYt(t){return!zu(t.contextNode)||!Rf(t.contextNode.expression)||t.contextNode.expression.getText().includes(".")}var PYt=o({"src/services/formatting/rules.ts"(){ar(),RK()}});function MYt(t,u){return{options:t,getRules:zYt(),host:u}}function zYt(){return ALe===void 0&&(ALe=RYt(jlt())),ALe}function IYt(t){let u=0;return t&1&&(u|=28),t&2&&(u|=96),t&28&&(u|=28),t&96&&(u|=96),u}function RYt(t){const u=OYt(t);return s=>{const d=u[sct(s.currentTokenSpan.kind,s.nextTokenSpan.kind)];if(d){const f=[];let p=0;for(const E of d){const v=~IYt(p);E.action&v&&ye(E.context,b=>b(s))&&(f.push(E),p|=E.action)}if(f.length)return f}}}function OYt(t){const u=new Array(Vpe*Vpe),s=new Array(u.length);for(const d of t){const f=d.leftTokenRange.isSpecific&&d.rightTokenRange.isSpecific;for(const p of d.leftTokenRange.tokens)for(const E of d.rightTokenRange.tokens){const v=sct(p,E);let b=u[v];b===void 0&&(b=u[v]=[]),jYt(b,d.rule,f,s,v)}}return u}function sct(t,u){return H.assert(t<=165&&u<=165,"Must compute formatting context from tokens"),t*Vpe+u}function jYt(t,u,s,d,f){const p=u.action&3?s?0:tz.StopRulesAny:u.context!==Oee?s?tz.ContextRulesSpecific:tz.ContextRulesAny:s?tz.NoContextRulesSpecific:tz.NoContextRulesAny,E=d[f]||0;t.splice(VYt(E,p),0,u),d[f]=HYt(E,p)}function VYt(t,u){let s=0;for(let d=0;d<=u;d+=yw)s+=t&Kee,t>>=yw;return s}function HYt(t,u){const s=(t>>u&Kee)+1;return H.assert((s&Kee)===s,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),t&~(Kee<(t[t.StopRulesSpecific=0]="StopRulesSpecific",t[t.StopRulesAny=yw*1]="StopRulesAny",t[t.ContextRulesSpecific=yw*2]="ContextRulesSpecific",t[t.ContextRulesAny=yw*3]="ContextRulesAny",t[t.NoContextRulesSpecific=yw*4]="NoContextRulesSpecific",t[t.NoContextRulesAny=yw*5]="NoContextRulesAny",t))(tz||{})}});function Hpe(t,u,s){const d={pos:t,end:u,kind:s};return H.isDebugging&&Object.defineProperty(d,"__debugKind",{get:()=>H.formatSyntaxKind(s)}),d}function WYt(t,u,s){const d=u.getLineAndCharacterOfPosition(t).line;if(d===0)return[];let f=ij(d,u);for(;Ug(u.text.charCodeAt(f));)f--;q1(u.text.charCodeAt(f))&&f--;const p={pos:Px(d-1,u),end:f+1};return Wee(p,u,s,2)}function GYt(t,u,s){const d=SLe(t,27,u);return lct(BLe(d),u,s,3)}function JYt(t,u,s){const d=SLe(t,19,u);if(!d)return[];const f=d.parent,p=BLe(f),E={pos:X4(p.getStart(u),u),end:t};return Wee(E,u,s,4)}function $Yt(t,u,s){const d=SLe(t,20,u);return lct(BLe(d),u,s,5)}function UYt(t,u){const s={pos:0,end:t.text.length};return Wee(s,t,u,0)}function qYt(t,u,s,d){const f={pos:X4(t,s),end:u};return Wee(f,s,d,1)}function SLe(t,u,s){const d=ed(t,s);return d&&d.kind===u&&t===d.getEnd()?d:void 0}function BLe(t){let u=t;for(;u&&u.parent&&u.parent.end===t.end&&!ZYt(u.parent,u);)u=u.parent;return u}function ZYt(t,u){switch(t.kind){case 263:case 264:return jm(t.members,u);case 267:const s=t.body;return!!s&&s.kind===268&&jm(s.statements,u);case 312:case 241:case 268:return jm(t.statements,u);case 299:return jm(t.block.statements,u)}return!1}function YYt(t,u){return s(u);function s(d){const f=uo(d,p=>Hhe(p.getStart(u),p.end,t)&&p);if(f){const p=s(f);if(p)return p}return d}}function QYt(t,u){if(!t.length)return f;const s=t.filter(p=>wM(u,p.start,p.start+p.length)).sort((p,E)=>p.start-E.start);if(!s.length)return f;let d=0;return p=>{for(;;){if(d>=s.length)return!1;const E=s[d];if(p.end<=E.start)return!1;if(iX(p.pos,p.end,E.start,E.start+E.length))return!0;d++}};function f(){return!1}}function XYt(t,u,s){const d=t.getStart(s);if(d===u.pos&&t.end===u.end)return d;const f=ed(u.pos,s);return!f||f.end>=u.pos?t.pos:f.end}function eQt(t,u,s){let d=-1,f;for(;t;){const p=s.getLineAndCharacterOfPosition(t.getStart(s)).line;if(d!==-1&&p!==d)break;if(dE.shouldIndentChildNode(u,t,f,s))return u.indentSize;d=p,f=t,t=t.parent}return 0}function tQt(t,u,s,d,f,p){const E={pos:t.pos,end:t.end};return pLe(u.text,s,E.pos,E.end,v=>cct(E,t,d,f,v,p,1,b=>!1,u))}function lct(t,u,s,d){if(!t)return[];const f={pos:X4(t.getStart(u),u),end:t.end};return Wee(f,u,s,d)}function Wee(t,u,s,d){const f=YYt(t,u);return pLe(u.text,u.languageVariant,XYt(f,t,u),t.end,p=>cct(t,f,dE.getIndentationForNode(f,t,u,s.options),eQt(f,s.options,u),p,s,d,QYt(u.parseDiagnostics,t),u))}function cct(t,u,s,d,f,{options:p,getRules:E,host:v},b,B,k){var T;const M=new mLe(k,b,p);let z,j,J,K,Y,oe=-1;const se=[];if(f.advance(),f.isOnToken()){const Ie=k.getLineAndCharacterOfPosition(u.getStart(k)).line;let lt=Ie;a4(u)&&(lt=k.getLineAndCharacterOfPosition(c0e(u,k)).line),Se(u,u,Ie,lt,s,d)}const ge=f.getCurrentLeadingTrivia();if(ge){const Ie=dE.nodeWillIndentChild(p,u,void 0,k,!1)?s+p.indentSize:s;Ne(ge,Ie,!0,lt=>{fe(lt,k.getLineAndCharacterOfPosition(lt.pos),u,u,void 0),Be(lt.pos,Ie,!1)}),p.trimTrailingWhitespace!==!1&&ft(ge)}if(j&&f.getTokenFullStart()>=t.end){const Ie=f.isOnEOF()?f.readEOFTokenRange():f.isOnToken()?f.readTokenInfo(u).token:void 0;if(Ie&&Ie.pos===z){const lt=((T=ed(Ie.end,k,u))==null?void 0:T.parent)||J;xe(Ie,k.getLineAndCharacterOfPosition(Ie.pos).line,lt,j,K,J,lt,void 0)}}return se;function ae(Ie,lt,St,It,ti){if(wM(It,Ie,lt)||MH(It,Ie,lt)){if(ti!==-1)return ti}else{const ht=k.getLineAndCharacterOfPosition(Ie).line,Ut=X4(Ie,k),Ni=dE.findFirstNonWhitespaceColumn(Ut,Ie,k,p);if(ht!==St||Ie===Ni){const Vi=dE.getBaseIndentation(p);return Vi>Ni?Vi:Ni}}return-1}function Ce(Ie,lt,St,It,ti,ht){const Ut=dE.shouldIndentChildNode(p,Ie)?p.indentSize:0;return ht===lt?{indentation:lt===Y?oe:ti.getIndentation(),delta:Math.min(p.indentSize,ti.getDelta(Ie)+Ut)}:St===-1?Ie.kind===21&<===Y?{indentation:oe,delta:ti.getDelta(Ie)}:dE.childStartsOnTheSameLineWithElseInIfStatement(It,Ie,lt,k)||dE.childIsUnindentedBranchOfConditionalExpression(It,Ie,lt,k)||dE.argumentStartsOnSameLineAsPreviousArgument(It,Ie,lt,k)?{indentation:ti.getIndentation(),delta:Ut}:{indentation:ti.getIndentation()+ti.getDelta(Ie),delta:Ut}:{indentation:St,delta:Ut}}function ne(Ie){if(Op(Ie)){const lt=Le(Ie.modifiers,Qo,Ue(Ie.modifiers,p1));if(lt)return lt.kind}switch(Ie.kind){case 263:return 86;case 264:return 120;case 262:return 100;case 266:return 266;case 177:return 139;case 178:return 153;case 174:if(Ie.asteriskToken)return 42;case 172:case 169:const lt=$a(Ie);if(lt)return lt.kind}}function ve(Ie,lt,St,It){return{getIndentationForComment:(Ut,Ni,Vi)=>{switch(Ut){case 20:case 24:case 22:return St+ht(Vi)}return Ni!==-1?Ni:St},getIndentationForToken:(Ut,Ni,Vi,xn)=>!xn&&ti(Ut,Ni,Vi)?St+ht(Vi):St,getIndentation:()=>St,getDelta:ht,recomputeIndentation:(Ut,Ni)=>{dE.shouldIndentChildNode(p,Ni,Ie,k)&&(St+=Ut?p.indentSize:-p.indentSize,It=dE.shouldIndentChildNode(p,Ie)?p.indentSize:0)}};function ti(Ut,Ni,Vi){switch(Ni){case 19:case 20:case 22:case 93:case 117:case 60:return!1;case 44:case 32:switch(Vi.kind){case 286:case 287:case 285:return!1}break;case 23:case 24:if(Vi.kind!==200)return!1;break}return lt!==Ut&&!(a4(Ie)&&Ni===ne(Ie))}function ht(Ut){return dE.nodeWillIndentChild(p,Ie,Ut,k,!0)?It:0}}function Se(Ie,lt,St,It,ti,ht){if(!wM(t,Ie.getStart(k),Ie.getEnd()))return;const Ut=ve(Ie,St,ti,ht);let Ni=lt;for(uo(Ie,rn=>{Vi(rn,-1,Ie,Ut,St,It,!1)},rn=>{xn(rn,Ie,St,Ut)});f.isOnToken()&&f.getTokenFullStart()Math.min(Ie.end,t.end))break;$n(rn,Ie,Ut,Ie)}function Vi(rn,Pi,ki,Yu,oa,Fr,Sa,bt){if(H.assert(!sl(rn)),Yl(rn)||Fbe(ki,rn))return Pi;const On=rn.getStart(k),Ln=k.getLineAndCharacterOfPosition(On).line;let Fi=Ln;a4(rn)&&(Fi=k.getLineAndCharacterOfPosition(c0e(rn,k)).line);let Dn=-1;if(Sa&&jm(t,ki)&&(Dn=ae(On,rn.end,oa,t,Pi),Dn!==-1&&(Pi=Dn)),!wM(t,rn.pos,rn.end))return rn.endt.end)return Pi;if(sa.token.end>On){sa.token.pos>On&&f.skipToStartOf(rn);break}$n(sa,Ie,Yu,Ie)}if(!f.isOnToken()||f.getTokenFullStart()>=t.end)return Pi;if(i7(rn)){const sa=f.readTokenInfo(rn);if(rn.kind!==12)return H.assert(sa.token.end===rn.end,"Token end is child end"),$n(sa,Ie,Yu,rn),Pi}const Cn=rn.kind===170?Ln:Fr,tu=Ce(rn,Ln,Dn,Ie,Yu,Cn);return Se(rn,Ni,Ln,Fi,tu.indentation,tu.delta),Ni=Ie,bt&&ki.kind===209&&Pi===-1&&(Pi=tu.indentation),Pi}function xn(rn,Pi,ki,Yu){H.assert(f2(rn)),H.assert(!sl(rn));const oa=iQt(Pi,rn);let Fr=Yu,Sa=ki;if(!wM(t,rn.pos,rn.end)){rn.endrn.pos)break;if(Ln.token.kind===oa){Sa=k.getLineAndCharacterOfPosition(Ln.token.pos).line,$n(Ln,Pi,Yu,Pi);let Fi;if(oe!==-1)Fi=oe;else{const Dn=X4(Ln.token.pos,k);Fi=dE.findFirstNonWhitespaceColumn(Dn,Ln.token.pos,k,p)}Fr=ve(Pi,ki,Fi,p.indentSize)}else $n(Ln,Pi,Yu,Pi)}let bt=-1;for(let Ln=0;LnBe(tu.pos,Cn,!1))}Fi!==-1&&Dn&&(Be(rn.token.pos,Fi,bt===1),Y=Ln.line,oe=Fi)}f.advance(),Ni=Pi}}function Ne(Ie,lt,St,It){for(const ti of Ie){const ht=jm(t,ti);switch(ti.kind){case 3:ht&&De(ti,lt,!St),St=!1;break;case 2:St&&ht&&It(ti),St=!1;break;case 4:St=!0;break}}return St}function pe(Ie,lt,St,It){for(const ti of Ie)if(cX(ti.kind)&&jm(t,ti)){const ht=k.getLineAndCharacterOfPosition(ti.pos);fe(ti,ht,lt,St,It)}}function fe(Ie,lt,St,It,ti){const ht=B(Ie);let Ut=0;if(!ht)if(j)Ut=xe(Ie,lt.line,St,j,K,J,It,ti);else{const Ni=k.getLineAndCharacterOfPosition(t.pos);He(Ni.line,lt.line)}return j=Ie,z=Ie.end,J=St,K=lt.line,Ut}function xe(Ie,lt,St,It,ti,ht,Ut,Ni){M.updateContext(It,ht,Ie,St,Ut);const Vi=E(M);let xn=M.options.trimTrailingWhitespace!==!1,$n=0;return Vi?R(Vi,rn=>{if($n=Yt(rn,It,ti,Ie,lt),Ni)switch($n){case 2:St.getStart(k)===Ie.pos&&Ni.recomputeIndentation(!1,Ut);break;case 1:St.getStart(k)===Ie.pos&&Ni.recomputeIndentation(!0,Ut);break;default:H.assert($n===0)}xn=xn&&!(rn.action&16)&&rn.flags!==1}):xn=xn&&Ie.kind!==1,lt!==ti&&xn&&He(ti,lt,It),$n}function Be(Ie,lt,St){const It=wLe(lt,p);if(St)Ke(Ie,0,It);else{const ti=k.getLineAndCharacterOfPosition(Ie),ht=Px(ti.line,k);(lt!==We(ht,ti.character)||Ae(It,ht))&&Ke(ht,ti.character,It)}}function We(Ie,lt){let St=0;for(let It=0;It0){const Fr=wLe(oa,p);Ke(ki,Yu.character,Fr)}else je(ki,Yu.character)}}function He(Ie,lt,St){for(let It=Ie;Itht)continue;const Ut=Je(ti,ht);Ut!==-1&&(H.assert(Ut===ti||!Ug(k.text.charCodeAt(Ut-1))),je(Ut,ht+1-Ut))}}function Je(Ie,lt){let St=lt;for(;St>=Ie&&Ug(k.text.charCodeAt(St));)St--;return St!==lt?St+1:-1}function ft(Ie){let lt=j?j.end:t.pos;for(const St of Ie)cX(St.kind)&&(ltPH(B,u)||u===B.end&&(B.kind===2||u===t.getFullWidth()))}function iQt(t,u){switch(t.kind){case 176:case 262:case 218:case 174:case 173:case 219:case 179:case 180:case 184:case 185:case 177:case 178:if(t.typeParameters===u)return 30;if(t.parameters===u)return 21;break;case 213:case 214:if(t.typeArguments===u)return 30;if(t.arguments===u)return 21;break;case 263:case 231:case 264:case 265:if(t.typeParameters===u)return 30;break;case 183:case 215:case 186:case 233:case 205:if(t.typeArguments===u)return 30;break;case 187:return 19}return 0}function nQt(t){switch(t){case 21:return 22;case 30:return 32;case 19:return 20}return 0}function wLe(t,u){if((!Kpe||Kpe.tabSize!==u.tabSize||Kpe.indentSize!==u.indentSize)&&(Kpe={tabSize:u.tabSize,indentSize:u.indentSize},zK=IK=void 0),u.convertTabsToSpaces){let d;const f=Math.floor(t/u.indentSize),p=t%u.indentSize;return IK||(IK=[]),IK[f]===void 0?(d=VH(" ",u.indentSize*f),IK[f]=d):d=IK[f],p?d+VH(" ",p):d}else{const d=Math.floor(t/u.tabSize),f=t-d*u.tabSize;let p;return zK||(zK=[]),zK[d]===void 0?zK[d]=p=VH(" ",d):p=zK[d],f?p+VH(" ",f):p}}var Kpe,zK,IK,uQt=o({"src/services/formatting/formatting.ts"(){ar(),RK()}}),dE,rQt=o({"src/services/formatting/smartIndenter.ts"(){ar(),RK(),(t=>{let u;(De=>{De[De.Unknown=-1]="Unknown"})(u||(u={}));function s(De,He,Je,ft=!1){if(De>He.text.length)return v(Je);if(Je.indentStyle===0)return 0;const Ze=ed(De,He,void 0,!0),je=dct(He,De,Ze||null);if(je&&je.kind===3)return d(He,De,Je,je);if(!Ze)return v(Je);if(qhe(Ze.kind)&&Ze.getStart(He)<=De&&De=0),Ze<=je)return fe(Px(je,De),He,De,Je);const Ke=Px(Ze,De),{column:Gt,character:Yt}=pe(Ke,He,De,Je);return Gt===0?Gt:De.text.charCodeAt(Ke+Yt)===42?Gt-1:Gt}function f(De,He,Je){let ft=He;for(;ft>0;){const je=De.text.charCodeAt(ft);if(!$3(je))break;ft--}const Ze=X4(ft,De);return fe(Ze,ft,De,Je)}function p(De,He,Je,ft,Ze,je){let Ke,Gt=Je;for(;Gt;){if(Khe(Gt,He,De)&&We(je,Gt,Ke,De,!0)){const Ie=j(Gt,De),lt=z(Je,Gt,ft,De),St=lt!==0?Ze&<===2?je.indentSize:0:ft!==Ie.line?je.indentSize:0;return b(Gt,Ie,void 0,St,De,!0,je)}const Yt=ve(Gt,De,je,!0);if(Yt!==-1)return Yt;Ke=Gt,Gt=Gt.parent}return v(je)}function E(De,He,Je,ft){const Ze=Je.getLineAndCharacterOfPosition(De.getStart(Je));return b(De,Ze,He,0,Je,!1,ft)}t.getIndentationForNode=E;function v(De){return De.baseIndentSize||0}t.getBaseIndentation=v;function b(De,He,Je,ft,Ze,je,Ke){var Gt;let Yt=De.parent;for(;Yt;){let Ie=!0;if(Je){const ti=De.getStart(Ze);Ie=tiJe.end}const lt=B(Yt,De,Ze),St=lt.line===He.line||K(Yt,De,He.line,Ze);if(Ie){const ti=(Gt=se(De,Ze))==null?void 0:Gt[0],ht=!!ti&&j(ti,Ze).line>lt.line;let Ut=ve(De,Ze,Ke,ht);if(Ut!==-1||(Ut=T(De,Yt,He,St,Ze,Ke),Ut!==-1))return Ut+ft}We(Ke,Yt,De,Ze,je)&&!St&&(ft+=Ke.indentSize);const It=J(Yt,De,He.line,Ze);De=Yt,Yt=De.parent,He=It?Ze.getLineAndCharacterOfPosition(De.getStart(Ze)):lt}return ft+v(Ke)}function B(De,He,Je){const ft=se(He,Je),Ze=ft?ft.pos:De.getStart(Je);return Je.getLineAndCharacterOfPosition(Ze)}function k(De,He,Je){const ft=U9e(De);return ft&&ft.listItemIndex>0?Se(ft.list.getChildren(),ft.listItemIndex-1,He,Je):-1}function T(De,He,Je,ft,Ze,je){return(Y1(De)||YO(De))&&(He.kind===312||!ft)?Ne(Je,Ze,je):-1}let M;(De=>{De[De.Unknown=0]="Unknown",De[De.OpenBrace=1]="OpenBrace",De[De.CloseBrace=2]="CloseBrace"})(M||(M={}));function z(De,He,Je,ft){const Ze=X2(De,He,ft);if(!Ze)return 0;if(Ze.kind===19)return 1;if(Ze.kind===20){const je=j(Ze,ft).line;return Je===je?2:0}return 0}function j(De,He){return He.getLineAndCharacterOfPosition(De.getStart(He))}function J(De,He,Je,ft){if(!(Po(De)&&Ft(De.arguments,He)))return!1;const Ze=De.expression.getEnd();return o0(ft,Ze).line===Je}t.isArgumentAndStartLineOverlapsExpressionBeingCalled=J;function K(De,He,Je,ft){if(De.kind===245&&De.elseStatement===He){const Ze=r0(De,93,ft);return H.assert(Ze!==void 0),j(Ze,ft).line===Je}return!1}t.childStartsOnTheSameLineWithElseInIfStatement=K;function Y(De,He,Je,ft){if(FB(De)&&(He===De.whenTrue||He===De.whenFalse)){const Ze=o0(ft,De.condition.end).line;if(He===De.whenTrue)return Je===Ze;{const je=j(De.whenTrue,ft).line,Ke=o0(ft,De.whenTrue.end).line;return Ze===je&&Ke===Je}}return!1}t.childIsUnindentedBranchOfConditionalExpression=Y;function oe(De,He,Je,ft){if(JE(De)){if(!De.arguments)return!1;const Ze=Le(De.arguments,Yt=>Yt.pos===He.pos);if(!Ze)return!1;const je=De.arguments.indexOf(Ze);if(je===0)return!1;const Ke=De.arguments[je-1],Gt=o0(ft,Ke.getEnd()).line;if(Je===Gt)return!0}return!1}t.argumentStartsOnSameLineAsPreviousArgument=oe;function se(De,He){return De.parent&&ae(De.getStart(He),De.getEnd(),De.parent,He)}t.getContainingList=se;function ge(De,He,Je){return He&&ae(De,De,He,Je)}function ae(De,He,Je,ft){switch(Je.kind){case 183:return Ze(Je.typeArguments);case 210:return Ze(Je.properties);case 209:return Ze(Je.elements);case 187:return Ze(Je.members);case 262:case 218:case 219:case 174:case 173:case 179:case 176:case 185:case 180:return Ze(Je.typeParameters)||Ze(Je.parameters);case 177:return Ze(Je.parameters);case 263:case 231:case 264:case 265:case 352:return Ze(Je.typeParameters);case 214:case 213:return Ze(Je.typeArguments)||Ze(Je.arguments);case 261:return Ze(Je.declarations);case 275:case 279:return Ze(Je.elements);case 206:case 207:return Ze(Je.elements)}function Ze(je){return je&&MH(Ce(Je,je,ft),De,He)?je:void 0}}function Ce(De,He,Je){const ft=De.getChildren(Je);for(let Ze=1;Ze=0&&He=0;Ke--){if(De[Ke].kind===28)continue;if(Je.getLineAndCharacterOfPosition(De[Ke].end).line!==je.line)return Ne(je,Je,ft);je=j(De[Ke],Je)}return-1}function Ne(De,He,Je){const ft=He.getPositionOfLineAndCharacter(De.line,0);return fe(ft,ft+De.character,He,Je)}function pe(De,He,Je,ft){let Ze=0,je=0;for(let Ke=De;KemLe,FormattingRequestKind:()=>fLe,RuleAction:()=>gLe,RuleFlags:()=>ELe,SmartIndenter:()=>dE,anyContext:()=>Oee,createTextRangeWithKind:()=>Hpe,formatDocument:()=>UYt,formatNodeGivenIndentation:()=>tQt,formatOnClosingCurly:()=>$Yt,formatOnEnter:()=>WYt,formatOnOpeningCurly:()=>JYt,formatOnSemicolon:()=>GYt,formatSelection:()=>qYt,getAllRules:()=>jlt,getFormatContext:()=>MYt,getFormattingScanner:()=>pLe,getIndentationString:()=>wLe,getRangeOfEnclosingComment:()=>dct});var RK=o({"src/services/_namespaces/ts.formatting.ts"(){tYt(),iYt(),nYt(),PYt(),KYt(),uQt(),rQt()}}),ar=o({"src/services/_namespaces/ts.ts"(){So(),AH(),CIt(),$It(),YIt(),Wit(),lRt(),cRt(),ERt(),ARt(),SRt(),wRt(),RRt(),ORt(),rHt(),aHt(),lHt(),BHt(),THt(),rs(),wTe(),q0t(),QUt(),nqt(),xqt(),mnt(),Mnt(),Vqt(),qqt(),o_(),nZt(),wZt(),RZt(),HZt(),eYt(),RK()}});function aQt(){return mct??(mct=new Bp(_))}function hct(t,u,s,d,f){let p=u?"DeprecationError: ":"DeprecationWarning: ";return p+=`'${t}' `,p+=d?`has been deprecated since v${d}`:"is deprecated",p+=u?" and can no longer be used.":s?` and will no longer be usable after v${s}.`:".",p+=f?` ${X_(f,[t])}`:"",p}function oQt(t,u,s,d){const f=hct(t,!0,u,s,d);return()=>{throw new TypeError(f)}}function sQt(t,u,s,d){let f=!1;return()=>{fct&&!f&&(H.log.warn(hct(t,!1,u,s,d)),f=!0)}}function lQt(t,u={}){const s=typeof u.typeScriptVersion=="string"?new Bp(u.typeScriptVersion):u.typeScriptVersion??aQt(),d=typeof u.errorAfter=="string"?new Bp(u.errorAfter):u.errorAfter,f=typeof u.warnAfter=="string"?new Bp(u.warnAfter):u.warnAfter,p=typeof u.since=="string"?new Bp(u.since):u.since??f,E=u.error||d&&s.compareTo(d)>=0,v=!f||s.compareTo(f)>=0;return E?oQt(t,d,p,u.message):v?sQt(t,d,p,u.message):zs}function cQt(t,u){return function(){return t(),u.apply(this,arguments)}}function TLe(t,u){const s=lQt((u==null?void 0:u.name)??H.getFunctionName(t),u);return cQt(s,t)}var fct,mct,pct=o({"src/deprecatedCompat/deprecate.ts"(){Gpe(),fct=!0}});function Wpe(t,u,s,d){if(Object.defineProperty(p,"name",{...Object.getOwnPropertyDescriptor(p,"name"),value:t}),d)for(const E of Object.keys(d)){const v=+E;!isNaN(v)&&gu(u,`${v}`)&&(u[v]=TLe(u[v],{...d[v],name:t}))}const f=dQt(u,s);return p;function p(...E){const v=f(E),b=v!==void 0?u[v]:void 0;if(typeof b=="function")return b(...E);throw new TypeError("Invalid arguments")}}function dQt(t,u){return s=>{for(let d=0;gu(t,`${d}`)&&gu(u,`${d}`);d++){const f=u[d];if(f(s))return d}}}function gct(t){return{overload:u=>({bind:s=>({finish:()=>Wpe(t,u,s),deprecate:d=>({finish:()=>Wpe(t,u,s,d)})})})}}var hQt=o({"src/deprecatedCompat/deprecations.ts"(){Gpe(),pct()}}),fQt=o({"src/deprecatedCompat/5.0/identifierProperties.ts"(){Gpe(),pct(),Zye(t=>{const u=t.getIdentifierConstructor();gu(u.prototype,"originalKeywordKind")||Object.defineProperty(u.prototype,"originalKeywordKind",{get:TLe(function(){return Ev(this)},{name:"originalKeywordKind",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use 'identifierToKeywordKind(identifier)' instead."})}),gu(u.prototype,"isInJSDocNamespace")||Object.defineProperty(u.prototype,"isInJSDocNamespace",{get:TLe(function(){return this.flags&4096?!0:void 0},{name:"isInJSDocNamespace",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use '.parent' or the surrounding context to determine this instead."})})})}}),Gpe=o({"src/deprecatedCompat/_namespaces/ts.ts"(){So(),hQt(),fQt()}}),mQt=o({"src/typingsInstallerCore/_namespaces/ts.ts"(){So(),AH(),NLe()}});function Ect(t,u,s,d){try{const f=HB(u,dr(t,"index.d.ts"),{moduleResolution:2},s);return f.resolvedModule&&f.resolvedModule.resolvedFileName}catch(f){d.isEnabled()&&d.writeLine(`Failed to resolve ${u} in folder '${t}': ${f.message}`);return}}function pQt(t,u,s,d){let f=!1;for(let p=s.length;p>0;){const E=_ct(t,u,s,p);p=E.remaining,f=d(E.command)||f}return f}function _ct(t,u,s,d){const f=s.length-d;let p,E=d;for(;p=`${t} install --ignore-scripts ${(E===s.length?s:s.slice(f,f+E)).join(" ")} --save-dev --user-agent="typesInstaller/${u}"`,!(p.length<8e3);)E=E-Math.floor(E/2);return{command:p,remaining:d-E}}function Dct(t){return`@types/${t}@ts${g}`}var xct,vct,gQt=o({"src/typingsInstallerCore/typingsInstaller.ts"(){mQt(),NLe(),xct={isEnabled:()=>!1,writeLine:zs},vct=class{constructor(t,u,s,d,f,p=xct){this.installTypingHost=t,this.globalCachePath=u,this.safeListPath=s,this.typesMapLocation=d,this.throttleLimit=f,this.log=p,this.packageNameToTypingLocation=new Map,this.missingTypingsSet=new Set,this.knownCachesSet=new Set,this.projectWatchers=new Map,this.pendingRunRequests=[],this.installRunCount=1,this.inFlightRequestCount=0,this.latestDistTag="latest",this.log.isEnabled()&&this.log.writeLine(`Global cache location '${u}', safe file path '${s}', types map path ${d}`),this.processCacheLocation(this.globalCachePath)}closeProject(t){this.closeWatchers(t.projectName)}closeWatchers(t){if(this.log.isEnabled()&&this.log.writeLine(`Closing file watchers for project '${t}'`),!this.projectWatchers.get(t)){this.log.isEnabled()&&this.log.writeLine(`No watchers are registered for project '${t}'`);return}this.projectWatchers.delete(t),this.sendResponse({kind:FH,projectName:t,files:[]}),this.log.isEnabled()&&this.log.writeLine(`Closing file watchers for project '${t}' - done.`)}install(t){this.log.isEnabled()&&this.log.writeLine(`Got install request${tw(t)}`),t.cachePath&&(this.log.isEnabled()&&this.log.writeLine(`Request specifies cache path '${t.cachePath}', loading cached information...`),this.processCacheLocation(t.cachePath)),this.safeList===void 0&&this.initializeSafeList();const u=a3.discoverTypings(this.installTypingHost,this.log.isEnabled()?s=>this.log.writeLine(s):void 0,t.fileNames,t.projectRootPath,this.safeList,this.packageNameToTypingLocation,t.typeAcquisition,t.unresolvedImports,this.typesRegistry,t.compilerOptions);this.watchFiles(t.projectName,u.filesToWatch),u.newTypingNames.length?this.installTypings(t,t.cachePath||this.globalCachePath,u.cachedTypingPaths,u.newTypingNames):(this.sendResponse(this.createSetTypings(t,u.cachedTypingPaths)),this.log.isEnabled()&&this.log.writeLine("No new typings were requested as a result of typings discovery"))}initializeSafeList(){if(this.typesMapLocation){const t=a3.loadTypesMap(this.installTypingHost,this.typesMapLocation);if(t){this.log.writeLine(`Loaded safelist from types map file '${this.typesMapLocation}'`),this.safeList=t;return}this.log.writeLine(`Failed to load safelist from types map file '${this.typesMapLocation}'`)}this.safeList=a3.loadSafeList(this.installTypingHost,this.safeListPath)}processCacheLocation(t){if(this.log.isEnabled()&&this.log.writeLine(`Processing cache location '${t}'`),this.knownCachesSet.has(t)){this.log.isEnabled()&&this.log.writeLine("Cache location was already processed...");return}const u=dr(t,"package.json"),s=dr(t,"package-lock.json");if(this.log.isEnabled()&&this.log.writeLine(`Trying to find '${u}'...`),this.installTypingHost.fileExists(u)&&this.installTypingHost.fileExists(s)){const d=JSON.parse(this.installTypingHost.readFile(u)),f=JSON.parse(this.installTypingHost.readFile(s));if(this.log.isEnabled()&&(this.log.writeLine(`Loaded content of '${u}':${tw(d)}`),this.log.writeLine(`Loaded content of '${s}':${tw(f)}`)),d.devDependencies&&f.dependencies)for(const p in d.devDependencies){if(!gu(f.dependencies,p))continue;const E=Fc(p);if(!E)continue;const v=Ect(t,E,this.installTypingHost,this.log);if(!v){this.missingTypingsSet.add(E);continue}const b=this.packageNameToTypingLocation.get(E);if(b){if(b.typingLocation===v)continue;this.log.isEnabled()&&this.log.writeLine(`New typing for package ${E} from '${v}' conflicts with existing typing file '${b}'`)}this.log.isEnabled()&&this.log.writeLine(`Adding entry into typings cache: '${E}' => '${v}'`);const B=io(f.dependencies,p),k=B&&B.version;if(!k)continue;const T={typingLocation:v,version:new Bp(k)};this.packageNameToTypingLocation.set(E,T)}}this.log.isEnabled()&&this.log.writeLine(`Finished processing cache location '${t}'`),this.knownCachesSet.add(t)}filterTypings(t){return Si(t,u=>{const s=WB(u);if(this.missingTypingsSet.has(s)){this.log.isEnabled()&&this.log.writeLine(`'${u}':: '${s}' is in missingTypingsSet - skipping...`);return}const d=a3.validatePackageName(u);if(d!==a3.NameValidationResult.Ok){this.missingTypingsSet.add(s),this.log.isEnabled()&&this.log.writeLine(a3.renderPackageNameValidationFailure(d,u));return}if(!this.typesRegistry.has(s)){this.log.isEnabled()&&this.log.writeLine(`'${u}':: Entry for package '${s}' does not exist in local types registry - skipping...`);return}if(this.packageNameToTypingLocation.get(s)&&a3.isTypingUpToDate(this.packageNameToTypingLocation.get(s),this.typesRegistry.get(s))){this.log.isEnabled()&&this.log.writeLine(`'${u}':: '${s}' already has an up-to-date typing - skipping...`);return}return s})}ensurePackageDirectoryExists(t){const u=dr(t,"package.json");this.log.isEnabled()&&this.log.writeLine(`Npm config file: ${u}`),this.installTypingHost.fileExists(u)||(this.log.isEnabled()&&this.log.writeLine(`Npm config file: '${u}' is missing, creating new one...`),this.ensureDirectoryExists(t,this.installTypingHost),this.installTypingHost.writeFile(u,'{ "private": true }'))}installTypings(t,u,s,d){this.log.isEnabled()&&this.log.writeLine(`Installing typings ${JSON.stringify(d)}`);const f=this.filterTypings(d);if(f.length===0){this.log.isEnabled()&&this.log.writeLine("All typings are known to be missing or invalid - no need to install more typings"),this.sendResponse(this.createSetTypings(t,s));return}this.ensurePackageDirectoryExists(u);const p=this.installRunCount;this.installRunCount++,this.sendResponse({kind:dhe,eventId:p,typingsInstallerVersion:_,projectName:t.projectName});const E=f.map(Dct);this.installTypingsAsync(p,E,u,v=>{try{if(!v){this.log.isEnabled()&&this.log.writeLine(`install request failed, marking packages as missing to prevent repeated requests: ${JSON.stringify(f)}`);for(const B of f)this.missingTypingsSet.add(B);return}this.log.isEnabled()&&this.log.writeLine(`Installed typings ${JSON.stringify(E)}`);const b=[];for(const B of f){const k=Ect(u,B,this.installTypingHost,this.log);if(!k){this.missingTypingsSet.add(B);continue}const T=this.typesRegistry.get(B),M=new Bp(T[`ts${g}`]||T[this.latestDistTag]),z={typingLocation:k,version:M};this.packageNameToTypingLocation.set(B,z),b.push(k)}this.log.isEnabled()&&this.log.writeLine(`Installed typing files ${JSON.stringify(b)}`),this.sendResponse(this.createSetTypings(t,s.concat(b)))}finally{const b={kind:hhe,eventId:p,projectName:t.projectName,packagesToInstall:E,installSuccess:v,typingsInstallerVersion:_};this.sendResponse(b)}})}ensureDirectoryExists(t,u){const s=cr(t);u.directoryExists(s)||this.ensureDirectoryExists(s,u),u.directoryExists(t)||u.createDirectory(t)}watchFiles(t,u){if(!u.length){this.closeWatchers(t);return}const s=this.projectWatchers.get(t),d=new Set(u);!s||$_(d,f=>!s.has(f))||$_(s,f=>!d.has(f))?(this.projectWatchers.set(t,d),this.sendResponse({kind:FH,projectName:t,files:u})):this.sendResponse({kind:FH,projectName:t,files:void 0})}createSetTypings(t,u){return{projectName:t.projectName,typeAcquisition:t.typeAcquisition,compilerOptions:t.compilerOptions,typings:u,unresolvedImports:t.unresolvedImports,kind:JQ}}installTypingsAsync(t,u,s,d){this.pendingRunRequests.unshift({requestId:t,packageNames:u,cwd:s,onRequestCompleted:d}),this.executeWithThrottling()}executeWithThrottling(){for(;this.inFlightRequestCount{this.inFlightRequestCount--,t.onRequestCompleted(u),this.executeWithThrottling()})}}}}}),LLe={};h(LLe,{TypingsInstaller:()=>vct,getNpmCommandForInstallation:()=>_ct,installNpmPackages:()=>pQt,typingsName:()=>Dct});var EQt=o({"src/typingsInstallerCore/_namespaces/ts.server.typingsInstaller.ts"(){gQt()}}),NLe=o({"src/typingsInstallerCore/_namespaces/ts.server.ts"(){UQ(),EQt()}}),_Qt=o({"src/server/types.ts"(){}});function Cct(t,u,s,d){return{projectName:t.getProjectName(),fileNames:t.getFileNames(!0,!0).concat(t.getExcludedFiles()),compilerOptions:t.getCompilationSettings(),typeAcquisition:u,unresolvedImports:s,projectRootPath:t.getCurrentDirectory(),cachePath:d,kind:"discover"}}function _l(t){return Jo(t)}function OK(t,u,s){const d=Nf(t)?t:Ga(t,u);return s(d)}function bct(t){return t}function yct(){const t=new Map;return{get(u){return t.get(u)},set(u,s){t.set(u,s)},contains(u){return t.has(u)},remove(u){t.delete(u)}}}function PLe(t){return/dev\/null\/inferredProject\d+\*/.test(t)}function MLe(t){return`/dev/null/inferredProject${t}*`}function zLe(t){return`/dev/null/autoImportProviderProject${t}*`}function ILe(t){return`/dev/null/auxiliaryProject${t}*`}function RLe(){return[]}var Jpe,$c,$pe,x5,DQt=o({"src/server/utilitiesPublic.ts"(){Yv(),Jpe=(t=>(t[t.terse=0]="terse",t[t.normal=1]="normal",t[t.requestTime=2]="requestTime",t[t.verbose=3]="verbose",t))(Jpe||{}),$c=RLe(),$pe=(t=>(t.Err="Err",t.Info="Info",t.Perf="Perf",t))($pe||{}),(t=>{function u(){throw new Error("No Project.")}t.ThrowNoProject=u;function s(){throw new Error("The project's language service is disabled.")}t.ThrowProjectLanguageServiceDisabled=s;function d(f,p){throw new Error(`Project '${p.getProjectName()}' does not contain document '${f}'`)}t.ThrowProjectDoesNotContainDocument=d})(x5||(x5={}))}});function Upe(t){const u=Fc(t);return u==="tsconfig.json"||u==="jsconfig.json"?u:void 0}function kct(t,u,s){if(!t||t.length===0)return;if(t[0]===u){t.splice(0,1);return}const d=Hl(t,u,il,s);d>=0&&t.splice(d,1)}var qpe,Zpe,xQt=o({"src/server/utilities.ts"(){Yv(),g9(),qpe=class j6t{constructor(u,s){this.host=u,this.pendingTimeouts=new Map,this.logger=s.hasLevel(3)?s:void 0}schedule(u,s,d){const f=this.pendingTimeouts.get(u);f&&this.host.clearTimeout(f),this.pendingTimeouts.set(u,this.host.setTimeout(j6t.run,s,u,this,d)),this.logger&&this.logger.info(`Scheduled: ${u}${f?", Cancelled earlier one":""}`)}cancel(u){const s=this.pendingTimeouts.get(u);return s?(this.host.clearTimeout(s),this.pendingTimeouts.delete(u)):!1}static run(u,s,d){var f,p;(f=dh)==null||f.logStartScheduledOperation(u),s.pendingTimeouts.delete(u),s.logger&&s.logger.info(`Running: ${u}`),d(),(p=dh)==null||p.logStopScheduledOperation()}},Zpe=class V6t{constructor(u,s,d){this.host=u,this.delay=s,this.logger=d}scheduleCollect(){!this.host.gc||this.timerId!==void 0||(this.timerId=this.host.setTimeout(V6t.run,this.delay,this))}static run(u){var s,d;u.timerId=void 0,(s=dh)==null||s.logStartScheduledOperation("GC collect");const f=u.logger.hasLevel(2),p=f&&u.host.getMemoryUsage();if(u.host.gc(),f){const E=u.host.getMemoryUsage();u.logger.perftrc(`GC::before ${p}, after ${E}`)}(d=dh)==null||d.logStopScheduledOperation()}}}}),Ype,OLe,jLe,VLe,HLe,KLe,WLe,GLe,JLe,$Le,ULe,qLe,ZLe,YLe,QLe=o({"src/server/protocol.ts"(){Ype=(t=>(t.JsxClosingTag="jsxClosingTag",t.LinkedEditingRange="linkedEditingRange",t.Brace="brace",t.BraceFull="brace-full",t.BraceCompletion="braceCompletion",t.GetSpanOfEnclosingComment="getSpanOfEnclosingComment",t.Change="change",t.Close="close",t.Completions="completions",t.CompletionInfo="completionInfo",t.CompletionsFull="completions-full",t.CompletionDetails="completionEntryDetails",t.CompletionDetailsFull="completionEntryDetails-full",t.CompileOnSaveAffectedFileList="compileOnSaveAffectedFileList",t.CompileOnSaveEmitFile="compileOnSaveEmitFile",t.Configure="configure",t.Definition="definition",t.DefinitionFull="definition-full",t.DefinitionAndBoundSpan="definitionAndBoundSpan",t.DefinitionAndBoundSpanFull="definitionAndBoundSpan-full",t.Implementation="implementation",t.ImplementationFull="implementation-full",t.EmitOutput="emit-output",t.Exit="exit",t.FileReferences="fileReferences",t.FileReferencesFull="fileReferences-full",t.Format="format",t.Formatonkey="formatonkey",t.FormatFull="format-full",t.FormatonkeyFull="formatonkey-full",t.FormatRangeFull="formatRange-full",t.Geterr="geterr",t.GeterrForProject="geterrForProject",t.SemanticDiagnosticsSync="semanticDiagnosticsSync",t.SyntacticDiagnosticsSync="syntacticDiagnosticsSync",t.SuggestionDiagnosticsSync="suggestionDiagnosticsSync",t.NavBar="navbar",t.NavBarFull="navbar-full",t.Navto="navto",t.NavtoFull="navto-full",t.NavTree="navtree",t.NavTreeFull="navtree-full",t.DocumentHighlights="documentHighlights",t.DocumentHighlightsFull="documentHighlights-full",t.Open="open",t.Quickinfo="quickinfo",t.QuickinfoFull="quickinfo-full",t.References="references",t.ReferencesFull="references-full",t.Reload="reload",t.Rename="rename",t.RenameInfoFull="rename-full",t.RenameLocationsFull="renameLocations-full",t.Saveto="saveto",t.SignatureHelp="signatureHelp",t.SignatureHelpFull="signatureHelp-full",t.FindSourceDefinition="findSourceDefinition",t.Status="status",t.TypeDefinition="typeDefinition",t.ProjectInfo="projectInfo",t.ReloadProjects="reloadProjects",t.Unknown="unknown",t.OpenExternalProject="openExternalProject",t.OpenExternalProjects="openExternalProjects",t.CloseExternalProject="closeExternalProject",t.SynchronizeProjectList="synchronizeProjectList",t.ApplyChangedToOpenFiles="applyChangedToOpenFiles",t.UpdateOpen="updateOpen",t.EncodedSyntacticClassificationsFull="encodedSyntacticClassifications-full",t.EncodedSemanticClassificationsFull="encodedSemanticClassifications-full",t.Cleanup="cleanup",t.GetOutliningSpans="getOutliningSpans",t.GetOutliningSpansFull="outliningSpans",t.TodoComments="todoComments",t.Indentation="indentation",t.DocCommentTemplate="docCommentTemplate",t.CompilerOptionsDiagnosticsFull="compilerOptionsDiagnostics-full",t.NameOrDottedNameSpan="nameOrDottedNameSpan",t.BreakpointStatement="breakpointStatement",t.CompilerOptionsForInferredProjects="compilerOptionsForInferredProjects",t.GetCodeFixes="getCodeFixes",t.GetCodeFixesFull="getCodeFixes-full",t.GetCombinedCodeFix="getCombinedCodeFix",t.GetCombinedCodeFixFull="getCombinedCodeFix-full",t.ApplyCodeActionCommand="applyCodeActionCommand",t.GetSupportedCodeFixes="getSupportedCodeFixes",t.GetApplicableRefactors="getApplicableRefactors",t.GetEditsForRefactor="getEditsForRefactor",t.GetMoveToRefactoringFileSuggestions="getMoveToRefactoringFileSuggestions",t.GetEditsForRefactorFull="getEditsForRefactor-full",t.OrganizeImports="organizeImports",t.OrganizeImportsFull="organizeImports-full",t.GetEditsForFileRename="getEditsForFileRename",t.GetEditsForFileRenameFull="getEditsForFileRename-full",t.ConfigurePlugin="configurePlugin",t.SelectionRange="selectionRange",t.SelectionRangeFull="selectionRange-full",t.ToggleLineComment="toggleLineComment",t.ToggleLineCommentFull="toggleLineComment-full",t.ToggleMultilineComment="toggleMultilineComment",t.ToggleMultilineCommentFull="toggleMultilineComment-full",t.CommentSelection="commentSelection",t.CommentSelectionFull="commentSelection-full",t.UncommentSelection="uncommentSelection",t.UncommentSelectionFull="uncommentSelection-full",t.PrepareCallHierarchy="prepareCallHierarchy",t.ProvideCallHierarchyIncomingCalls="provideCallHierarchyIncomingCalls",t.ProvideCallHierarchyOutgoingCalls="provideCallHierarchyOutgoingCalls",t.ProvideInlayHints="provideInlayHints",t.WatchChange="watchChange",t))(Ype||{}),OLe=(t=>(t.All="All",t.SortAndCombine="SortAndCombine",t.RemoveUnused="RemoveUnused",t))(OLe||{}),jLe=(t=>(t.FixedPollingInterval="FixedPollingInterval",t.PriorityPollingInterval="PriorityPollingInterval",t.DynamicPriorityPolling="DynamicPriorityPolling",t.FixedChunkSizePolling="FixedChunkSizePolling",t.UseFsEvents="UseFsEvents",t.UseFsEventsOnParentDirectory="UseFsEventsOnParentDirectory",t))(jLe||{}),VLe=(t=>(t.UseFsEvents="UseFsEvents",t.FixedPollingInterval="FixedPollingInterval",t.DynamicPriorityPolling="DynamicPriorityPolling",t.FixedChunkSizePolling="FixedChunkSizePolling",t))(VLe||{}),HLe=(t=>(t.FixedInterval="FixedInterval",t.PriorityInterval="PriorityInterval",t.DynamicPriority="DynamicPriority",t.FixedChunkSize="FixedChunkSize",t))(HLe||{}),KLe=(t=>(t[t.Invoked=1]="Invoked",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",t))(KLe||{}),WLe=(t=>(t.None="None",t.Block="Block",t.Smart="Smart",t))(WLe||{}),GLe=(t=>(t.Ignore="ignore",t.Insert="insert",t.Remove="remove",t))(GLe||{}),JLe=(t=>(t.None="None",t.Preserve="Preserve",t.ReactNative="ReactNative",t.React="React",t))(JLe||{}),$Le=(t=>(t.None="None",t.CommonJS="CommonJS",t.AMD="AMD",t.UMD="UMD",t.System="System",t.ES6="ES6",t.ES2015="ES2015",t.ESNext="ESNext",t))($Le||{}),ULe=(t=>(t.Classic="Classic",t.Node="Node",t))(ULe||{}),qLe=(t=>(t.Crlf="Crlf",t.Lf="Lf",t))(qLe||{}),ZLe=(t=>(t.ES3="ES3",t.ES5="ES5",t.ES6="ES6",t.ES2015="ES2015",t.ES2016="ES2016",t.ES2017="ES2017",t.ES2018="ES2018",t.ES2019="ES2019",t.ES2020="ES2020",t.ES2021="ES2021",t.ES2022="ES2022",t.ESNext="ESNext",t))(ZLe||{}),YLe=(t=>(t[t.comment=1]="comment",t[t.identifier=2]="identifier",t[t.keyword=3]="keyword",t[t.numericLiteral=4]="numericLiteral",t[t.operator=5]="operator",t[t.stringLiteral=6]="stringLiteral",t[t.regularExpressionLiteral=7]="regularExpressionLiteral",t[t.whiteSpace=8]="whiteSpace",t[t.text=9]="text",t[t.punctuation=10]="punctuation",t[t.className=11]="className",t[t.enumName=12]="enumName",t[t.interfaceName=13]="interfaceName",t[t.moduleName=14]="moduleName",t[t.typeParameterName=15]="typeParameterName",t[t.typeAliasName=16]="typeAliasName",t[t.parameterName=17]="parameterName",t[t.docCommentTagName=18]="docCommentTagName",t[t.jsxOpenTagName=19]="jsxOpenTagName",t[t.jsxCloseTagName=20]="jsxCloseTagName",t[t.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",t[t.jsxAttribute=22]="jsxAttribute",t[t.jsxText=23]="jsxText",t[t.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",t[t.bigintLiteral=25]="bigintLiteral",t))(YLe||{})}}),XLe={};h(XLe,{ClassificationType:()=>YLe,CommandTypes:()=>Ype,CompletionTriggerKind:()=>KLe,IndentStyle:()=>WLe,JsxEmit:()=>JLe,ModuleKind:()=>$Le,ModuleResolutionKind:()=>ULe,NewLineKind:()=>qLe,OrganizeImportsMode:()=>OLe,PollingWatchKind:()=>HLe,ScriptTarget:()=>ZLe,SemicolonPreference:()=>GLe,WatchDirectoryKind:()=>VLe,WatchFileKind:()=>jLe});var vQt=o({"src/server/_namespaces/ts.server.protocol.ts"(){QLe()}});function jK(t){return t[0]==="^"||(t.includes("walkThroughSnippet:/")||t.includes("untitled:/"))&&Fc(t)[0]==="^"||t.includes(":^")&&!t.includes(rl)}function Fct(t){return!t||HK(t)?x5.ThrowNoProject():t}function CQt(t){H.assert(typeof t=="number",`Expected position ${t} to be a number.`),H.assert(t>=0,"Expected position to be non-negative.")}function bQt(t){H.assert(typeof t.line=="number",`Expected line ${t.line} to be a number.`),H.assert(typeof t.offset=="number",`Expected offset ${t.offset} to be a number.`),H.assert(t.line>0,`Expected line to be non-${t.line===0?"zero":"negative"}`),H.assert(t.offset>0,`Expected offset to be non-${t.offset===0?"zero":"negative"}`)}var Qpe,Xpe,yQt=o({"src/server/scriptInfo.ts"(){Yv(),g9(),Qpe=class{constructor(t,u,s){this.host=t,this.info=u,this.isOpen=!1,this.ownFileText=!1,this.pendingReloadFromDisk=!1,this.version=s||0}getVersion(){return this.svc?`SVC-${this.version}-${this.svc.getSnapshotVersion()}`:`Text-${this.version}`}hasScriptVersionCache_TestOnly(){return this.svc!==void 0}resetSourceMapInfo(){this.info.sourceFileLike=void 0,this.info.closeSourceMapFileWatcher(),this.info.sourceMapFilePath=void 0,this.info.declarationInfoPath=void 0,this.info.sourceInfos=void 0,this.info.documentPositionMapper=void 0}useText(t){this.svc=void 0,this.text=t,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo(),this.version++}edit(t,u,s){this.switchToScriptVersionCache().edit(t,u-t,s),this.ownFileText=!1,this.text=void 0,this.textSnapshot=void 0,this.lineMap=void 0,this.fileSize=void 0,this.resetSourceMapInfo()}reload(t){return H.assert(t!==void 0),this.pendingReloadFromDisk=!1,!this.text&&this.svc&&(this.text=uw(this.svc.getSnapshot())),this.text!==t?(this.useText(t),this.ownFileText=!1,!0):!1}reloadWithFileText(t){const{text:u,fileSize:s}=t||!this.info.isDynamicOrHasMixedContent()?this.getFileTextAndSize(t):{text:"",fileSize:void 0},d=this.reload(u);return this.fileSize=s,this.ownFileText=!t||t===this.info.fileName,d}scheduleReloadIfNeeded(){return!this.pendingReloadFromDisk&&!this.ownFileText?this.pendingReloadFromDisk=!0:!1}delayReloadFromFileIntoText(){this.pendingReloadFromDisk=!0}getTelemetryFileSize(){return this.fileSize?this.fileSize:this.text?this.text.length:this.svc?this.svc.getSnapshot().getLength():this.getSnapshot().getLength()}getSnapshot(){var t;return((t=this.tryUseScriptVersionCache())==null?void 0:t.getSnapshot())||(this.textSnapshot??(this.textSnapshot=ZQ.fromString(H.checkDefined(this.text))))}getAbsolutePositionAndLineText(t){const u=this.tryUseScriptVersionCache();if(u)return u.getAbsolutePositionAndLineText(t);const s=this.getLineMap();return t<=s.length?{absolutePosition:s[t-1],lineText:this.text.substring(s[t-1],s[t])}:{absolutePosition:this.text.length,lineText:void 0}}lineToTextSpan(t){const u=this.tryUseScriptVersionCache();if(u)return u.lineToTextSpan(t);const s=this.getLineMap(),d=s[t],f=t+1u===void 0?u=this.host.readFile(s)||"":u;if(!hk(this.info.fileName)){const f=this.host.getFileSize?this.host.getFileSize(s):d().length;if(f>Zee)return H.assert(!!this.info.containingProjects.length),this.info.containingProjects[0].projectService.logger.info(`Skipped loading contents of large file ${s} for info ${this.info.fileName}: fileSize: ${f}`),this.info.containingProjects[0].projectService.sendLargeFileReferencedEvent(s,f),{text:"",fileSize:f}}return{text:d()}}switchToScriptVersionCache(){return(!this.svc||this.pendingReloadFromDisk)&&(this.svc=lte.fromString(this.getOrLoadText()),this.textSnapshot=void 0,this.version++),this.svc}tryUseScriptVersionCache(){return(!this.svc||this.pendingReloadFromDisk)&&this.getOrLoadText(),this.isOpen?(!this.svc&&!this.textSnapshot&&(this.svc=lte.fromString(H.checkDefined(this.text)),this.textSnapshot=void 0),this.svc):this.svc}getOrLoadText(){return(this.text===void 0||this.pendingReloadFromDisk)&&(H.assert(!this.svc||this.pendingReloadFromDisk,"ScriptVersionCache should not be set when reloading from disk"),this.reloadWithFileText()),this.text}getLineMap(){return H.assert(!this.svc,"ScriptVersionCache should not be set"),this.lineMap||(this.lineMap=t7(H.checkDefined(this.text)))}getLineInfo(){const t=this.tryUseScriptVersionCache();if(t)return{getLineCount:()=>t.getLineCount(),getLineText:s=>t.getAbsolutePositionAndLineText(s+1).lineText};const u=this.getLineMap();return Hde(this.text,u)}},Xpe=class{constructor(t,u,s,d,f,p){this.host=t,this.fileName=u,this.scriptKind=s,this.hasMixedContent=d,this.path=f,this.containingProjects=[],this.isDynamic=jK(u),this.textStorage=new Qpe(t,this,p),(d||this.isDynamic)&&(this.realpath=this.path),this.scriptKind=s||uZ(u)}isDynamicOrHasMixedContent(){return this.hasMixedContent||this.isDynamic}isScriptOpen(){return this.textStorage.isOpen}open(t){this.textStorage.isOpen=!0,t!==void 0&&this.textStorage.reload(t)&&this.markContainingProjectsAsDirty()}close(t=!0){this.textStorage.isOpen=!1,t&&this.textStorage.scheduleReloadIfNeeded()&&this.markContainingProjectsAsDirty()}getSnapshot(){return this.textStorage.getSnapshot()}ensureRealPath(){if(this.realpath===void 0&&(this.realpath=this.path,this.host.realpath)){H.assert(!!this.containingProjects.length);const t=this.containingProjects[0],u=this.host.realpath(this.path);u&&(this.realpath=t.toPath(u),this.realpath!==this.path&&t.projectService.realpathToScriptInfos.add(this.realpath,this))}}getRealpathIfDifferent(){return this.realpath&&this.realpath!==this.path?this.realpath:void 0}isSymlink(){return this.realpath&&this.realpath!==this.path}getFormatCodeSettings(){return this.formatSettings}getPreferences(){return this.preferences}attachToProject(t){const u=!this.isAttached(t);return u&&(this.containingProjects.push(t),t.getCompilerOptions().preserveSymlinks||this.ensureRealPath(),t.onFileAddedOrRemoved(this.isSymlink())),u}isAttached(t){switch(this.containingProjects.length){case 0:return!1;case 1:return this.containingProjects[0]===t;case 2:return this.containingProjects[0]===t||this.containingProjects[1]===t;default:return Ft(this.containingProjects,t)}}detachFromProject(t){switch(this.containingProjects.length){case 0:return;case 1:this.containingProjects[0]===t&&(t.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;case 2:this.containingProjects[0]===t?(t.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects[0]=this.containingProjects.pop()):this.containingProjects[1]===t&&(t.onFileAddedOrRemoved(this.isSymlink()),this.containingProjects.pop());break;default:Oy(this.containingProjects,t)&&t.onFileAddedOrRemoved(this.isSymlink());break}}detachAllProjects(){for(const t of this.containingProjects){Zv(t)&&t.getCachedDirectoryStructureHost().addOrDeleteFile(this.fileName,this.path,2);const u=t.getRootFilesMap().get(this.path);t.removeFile(this,!1,!1),t.onFileAddedOrRemoved(this.isSymlink()),u&&!kw(t)&&t.addMissingFileRoot(u.fileName)}mu(this.containingProjects)}getDefaultProject(){switch(this.containingProjects.length){case 0:return x5.ThrowNoProject();case 1:return Fct(this.containingProjects[0]);default:let t,u,s,d,f;for(let p=0;p!t.isOrphan())}isContainedByBackgroundProject(){return Ge(this.containingProjects,HK)}lineToTextSpan(t){return this.textStorage.lineToTextSpan(t)}lineOffsetToPosition(t,u,s){return this.textStorage.lineOffsetToPosition(t,u,s)}positionToLineOffset(t){CQt(t);const u=this.textStorage.positionToLineOffset(t);return bQt(u),u}isJavaScript(){return this.scriptKind===1||this.scriptKind===2}closeSourceMapFileWatcher(){this.sourceMapFilePath&&!Wa(this.sourceMapFilePath)&&(Om(this.sourceMapFilePath),this.sourceMapFilePath=void 0)}}}});function Act(t,u){if(t===u||(t||$c).length===0&&(u||$c).length===0)return!0;const s=new Map;let d=0;for(const f of t)s.get(f)!==!0&&(s.set(f,!0),d++);for(const f of u){const p=s.get(f);if(p===void 0)return!1;p===!0&&(s.set(f,!1),d--)}return d===0}function kQt(t,u){return t.enable!==u.enable||!Act(t.include,u.include)||!Act(t.exclude,u.exclude)}function FQt(t,u){return Av(t)!==Av(u)}function AQt(t,u){return t===u?!1:!Hn(t,u)}var Gee,ege,SQt=o({"src/server/typingsCache.ts"(){Yv(),g9(),Gee={isKnownTypesPackageName:sg,installPackage:so,enqueueInstallTypingsRequest:zs,attach:zs,onProjectClosed:zs,globalTypingsCacheLocation:void 0},ege=class{constructor(t){this.installer=t,this.perProjectCache=new Map}isKnownTypesPackageName(t){return this.installer.isKnownTypesPackageName(t)}installPackage(t){return this.installer.installPackage(t)}enqueueInstallTypingsForProject(t,u,s){const d=t.getTypeAcquisition();if(!d||!d.enable)return;const f=this.perProjectCache.get(t.getProjectName());(s||!f||kQt(d,f.typeAcquisition)||FQt(t.getCompilationSettings(),f.compilerOptions)||AQt(u,f.unresolvedImports))&&(this.perProjectCache.set(t.getProjectName(),{compilerOptions:t.getCompilationSettings(),typeAcquisition:d,typings:f?f.typings:$c,unresolvedImports:u,poisoned:!0}),this.installer.enqueueInstallTypingsRequest(t,d,u))}updateTypingsForProject(t,u,s,d,f){const p=Lh(f);return this.perProjectCache.set(t,{compilerOptions:u,typeAcquisition:s,typings:p,unresolvedImports:d,poisoned:!1}),!s||!s.enable?$c:p}onProjectClosed(t){this.perProjectCache.delete(t.getProjectName()),this.installer.onProjectClosed(t)}}}});function VK(t,u=!1){const s={js:0,jsSize:0,jsx:0,jsxSize:0,ts:0,tsSize:0,tsx:0,tsxSize:0,dts:0,dtsSize:0,deferred:0,deferredSize:0};for(const d of t){const f=u?d.textStorage.getTelemetryFileSize():0;switch(d.scriptKind){case 1:s.js+=1,s.jsSize+=f;break;case 2:s.jsx+=1,s.jsxSize+=f;break;case 3:Xd(d.fileName)?(s.dts+=1,s.dtsSize+=f):(s.ts+=1,s.tsSize+=f);break;case 4:s.tsx+=1,s.tsxSize+=f;break;case 7:s.deferred+=1,s.deferredSize+=f;break}}return s}function BQt(t){const u=VK(t.getScriptInfos());return u.js>0&&u.ts===0&&u.tsx===0}function eNe(t){const u=VK(t.getRootScriptInfos());return u.ts===0&&u.tsx===0}function tNe(t){const u=VK(t.getScriptInfos());return u.ts===0&&u.tsx===0}function iNe(t){return!t.some(u=>Ml(u,".ts")&&!Xd(u)||Ml(u,".tsx"))}function nNe(t){return t.generatedFilePath!==void 0}function wQt(t,u){var s,d;const f=t.getSourceFiles();(s=Jn)==null||s.push(Jn.Phase.Session,"getUnresolvedImports",{count:f.length});const p=t.getTypeChecker().getAmbientModules().map(v=>G4(v.getName())),E=mi(Ku(f,v=>TQt(t,v,p,u)));return(d=Jn)==null||d.pop(),E}function TQt(t,u,s,d){return tl(d,u.path,()=>{let f;return t.forEachResolvedModule(({resolvedModule:p},E)=>{(!p||!kP(p.extension))&&!Md(E)&&!s.some(v=>v===E)&&(f=Ei(f,rH(E).packageName))},u),f||$c})}function kw(t){return t.projectKind===0}function Zv(t){return t.projectKind===1}function tge(t){return t.projectKind===2}function HK(t){return t.projectKind===3||t.projectKind===4}var iz,Hk,ige,nge,uge,rge,age,Jee,LQt=o({"src/server/project.ts"(){Yv(),Yv(),g9(),iz=(t=>(t[t.Inferred=0]="Inferred",t[t.Configured=1]="Configured",t[t.External=2]="External",t[t.AutoImportProvider=3]="AutoImportProvider",t[t.Auxiliary=4]="Auxiliary",t))(iz||{}),Hk=class H6t{constructor(u,s,d,f,p,E,v,b,B,k,T){switch(this.projectKind=s,this.projectService=d,this.documentRegistry=f,this.compilerOptions=v,this.compileOnSaveEnabled=b,this.watchOptions=B,this.rootFiles=[],this.rootFilesMap=new Map,this.plugins=[],this.cachedUnresolvedImportsPerFile=new Map,this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1,this.lastReportedVersion=0,this.projectProgramVersion=0,this.projectStateVersion=0,this.isInitialLoadPending=sg,this.dirty=!1,this.typingFiles=$c,this.moduleSpecifierCache=pNe(this),this.createHash=To(this.projectService.host,this.projectService.host.createHash),this.globalCacheResolutionModuleName=a3.nonRelativeModuleNameForTypingCache,this.projectName=u,this.directoryStructureHost=k,this.currentDirectory=this.projectService.getNormalizedAbsolutePath(T),this.getCanonicalFileName=this.projectService.toCanonicalFileName,this.jsDocParsingMode=this.projectService.jsDocParsingMode,this.cancellationToken=new Mme(this.projectService.cancellationToken,this.projectService.throttleWaitMilliseconds),this.compilerOptions?(p||Av(this.compilerOptions)||this.projectService.hasDeferredExtension())&&(this.compilerOptions.allowNonTsExtensions=!0):(this.compilerOptions=hee(),this.compilerOptions.allowNonTsExtensions=!0,this.compilerOptions.allowJs=!0),d.serverMode){case 0:this.languageServiceEnabled=!0;break;case 1:this.languageServiceEnabled=!0,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;case 2:this.languageServiceEnabled=!1,this.compilerOptions.noResolve=!0,this.compilerOptions.types=[];break;default:H.assertNever(d.serverMode)}this.setInternalCompilerOptionsForEmittingJsFiles();const M=this.projectService.host;this.projectService.logger.loggingEnabled()?this.trace=z=>this.writeLog(z):M.trace&&(this.trace=z=>M.trace(z)),this.realpath=To(M,M.realpath),this.resolutionCache=J1e(this,this.currentDirectory,!0),this.languageService=Q8e(this,this.documentRegistry,this.projectService.serverMode),E&&this.disableLanguageService(E),this.markAsDirty(),HK(this)||(this.projectService.pendingEnsureProjectForOpenFiles=!0),this.projectService.onProjectCreation(this)}getResolvedProjectReferenceToRedirect(u){}isNonTsProject(){return Wm(this),tNe(this)}isJsOnlyProject(){return Wm(this),BQt(this)}static resolveModule(u,s,d,f){return H6t.importServicePluginSync({name:u},[s],d,f).resolvedModule}static importServicePluginSync(u,s,d,f){H.assertIsDefined(d.require);let p,E;for(const v of s){const b=U1(d.resolvePath(dr(v,"node_modules")));f(`Loading ${u.name} from ${v} (resolved to ${b})`);const B=d.require(b,u.name);if(!B.error){E=B.module;break}const k=B.error.stack||B.error.message||JSON.stringify(B.error);(p??(p=[])).push(`Failed to load module '${u.name}' from ${b}: ${k}`)}return{pluginConfigEntry:u,resolvedModule:E,errorLogs:p}}static async importServicePluginAsync(u,s,d,f){H.assertIsDefined(d.importPlugin);let p,E;for(const v of s){const b=dr(v,"node_modules");f(`Dynamically importing ${u.name} from ${v} (resolved to ${b})`);let B;try{B=await d.importPlugin(b,u.name)}catch(T){B={module:void 0,error:T}}if(!B.error){E=B.module;break}const k=B.error.stack||B.error.message||JSON.stringify(B.error);(p??(p=[])).push(`Failed to dynamically import module '${u.name}' from ${b}: ${k}`)}return{pluginConfigEntry:u,resolvedModule:E,errorLogs:p}}isKnownTypesPackageName(u){return this.typingsCache.isKnownTypesPackageName(u)}installPackage(u){return this.typingsCache.installPackage({...u,projectName:this.projectName,projectRootPath:this.toPath(this.currentDirectory)})}getGlobalTypingsCacheLocation(){return this.getGlobalCache()}get typingsCache(){return this.projectService.typingsCache}getSymlinkCache(){return this.symlinks||(this.symlinks=Cle(this.getCurrentDirectory(),this.getCanonicalFileName)),this.program&&!this.symlinks.hasProcessedResolutions()&&this.symlinks.setSymlinksFromResolutions(this.program.forEachResolvedModule,this.program.forEachResolvedTypeReferenceDirective,this.program.getAutomaticTypeDirectiveResolutions()),this.symlinks}getCompilationSettings(){return this.compilerOptions}getCompilerOptions(){return this.getCompilationSettings()}getNewLine(){return this.projectService.host.newLine}getProjectVersion(){return this.projectStateVersion.toString()}getProjectReferences(){}getScriptFileNames(){if(!this.rootFiles)return _t;let u;return this.rootFilesMap.forEach(s=>{(this.languageServiceEnabled||s.info&&s.info.isScriptOpen())&&(u||(u=[])).push(s.fileName)}),yn(u,this.typingFiles)||_t}getOrCreateScriptInfoAndAttachToProject(u){const s=this.projectService.getOrCreateScriptInfoNotOpenedByClient(u,this.currentDirectory,this.directoryStructureHost);if(s){const d=this.rootFilesMap.get(s.path);d&&d.info!==s&&(this.rootFiles.push(s),d.info=s),s.attachToProject(this)}return s}getScriptKind(u){const s=this.projectService.getScriptInfoForPath(this.toPath(u));return s&&s.scriptKind}getScriptVersion(u){const s=this.projectService.getOrCreateScriptInfoNotOpenedByClient(u,this.currentDirectory,this.directoryStructureHost);return s&&s.getLatestVersion()}getScriptSnapshot(u){const s=this.getOrCreateScriptInfoAndAttachToProject(u);if(s)return s.getSnapshot()}getCancellationToken(){return this.cancellationToken}getCurrentDirectory(){return this.currentDirectory}getDefaultLibFileName(){const u=cr(Jo(this.projectService.getExecutingFilePath()));return dr(u,PO(this.compilerOptions))}useCaseSensitiveFileNames(){return this.projectService.host.useCaseSensitiveFileNames}readDirectory(u,s,d,f,p){return this.directoryStructureHost.readDirectory(u,s,d,f,p)}readFile(u){return this.projectService.host.readFile(u)}writeFile(u,s){return this.projectService.host.writeFile(u,s)}fileExists(u){const s=this.toPath(u);return!this.isWatchedMissingFile(s)&&this.directoryStructureHost.fileExists(u)}resolveModuleNameLiterals(u,s,d,f,p,E){return this.resolutionCache.resolveModuleNameLiterals(u,s,d,f,p,E)}getModuleResolutionCache(){return this.resolutionCache.getModuleResolutionCache()}resolveTypeReferenceDirectiveReferences(u,s,d,f,p,E){return this.resolutionCache.resolveTypeReferenceDirectiveReferences(u,s,d,f,p,E)}resolveLibrary(u,s,d,f){return this.resolutionCache.resolveLibrary(u,s,d,f)}directoryExists(u){return this.directoryStructureHost.directoryExists(u)}getDirectories(u){return this.directoryStructureHost.getDirectories(u)}getCachedDirectoryStructureHost(){}toPath(u){return K0(u,this.currentDirectory,this.projectService.toCanonicalFileName)}watchDirectoryOfFailedLookupLocation(u,s,d){return this.projectService.watchFactory.watchDirectory(u,s,d,this.projectService.getWatchOptions(this),sd.FailedLookupLocations,this)}watchAffectingFileLocation(u,s){return this.projectService.watchFactory.watchFile(u,s,2e3,this.projectService.getWatchOptions(this),sd.AffectingFileLocation,this)}clearInvalidateResolutionOfFailedLookupTimer(){return this.projectService.throttledOperations.cancel(`${this.getProjectName()}FailedLookupInvalidation`)}scheduleInvalidateResolutionsOfFailedLookupLocations(){this.projectService.throttledOperations.schedule(`${this.getProjectName()}FailedLookupInvalidation`,1e3,()=>{this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)})}invalidateResolutionsOfFailedLookupLocations(){this.clearInvalidateResolutionOfFailedLookupTimer()&&this.resolutionCache.invalidateResolutionsOfFailedLookupLocations()&&(this.markAsDirty(),this.projectService.delayEnsureProjectForOpenFiles())}onInvalidatedResolution(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}watchTypeRootsDirectory(u,s,d){return this.projectService.watchFactory.watchDirectory(u,s,d,this.projectService.getWatchOptions(this),sd.TypeRoots,this)}hasChangedAutomaticTypeDirectiveNames(){return this.resolutionCache.hasChangedAutomaticTypeDirectiveNames()}onChangedAutomaticTypeDirectiveNames(){this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)}getGlobalCache(){return this.getTypeAcquisition().enable?this.projectService.typingsInstaller.globalTypingsCacheLocation:void 0}fileIsOpen(u){return this.projectService.openFiles.has(u)}writeLog(u){this.projectService.logger.info(u)}log(u){this.writeLog(u)}error(u){this.projectService.logger.msg(u,"Err")}setInternalCompilerOptionsForEmittingJsFiles(){(this.projectKind===0||this.projectKind===2)&&(this.compilerOptions.noEmitForJsFiles=!0)}getGlobalProjectErrors(){return ei(this.projectErrors,u=>!u.file)||$c}getAllProjectErrors(){return this.projectErrors||$c}setProjectErrors(u){this.projectErrors=u}getLanguageService(u=!0){return u&&Wm(this),this.languageService}getSourceMapper(){return this.getLanguageService().getSourceMapper()}clearSourceMapperCache(){this.languageService.clearSourceMapperCache()}getDocumentPositionMapper(u,s){return this.projectService.getDocumentPositionMapper(this,u,s)}getSourceFileLike(u){return this.projectService.getSourceFileLike(u,this)}shouldEmitFile(u){return u&&!u.isDynamicOrHasMixedContent()&&!this.program.isSourceOfProjectReferenceRedirect(u.path)}getCompileOnSaveAffectedFileList(u){return this.languageServiceEnabled?(Wm(this),this.builderState=Vp.create(this.program,this.builderState,!0),Si(Vp.getFilesAffectedBy(this.builderState,this.program,u.path,this.cancellationToken,this.projectService.host),s=>this.shouldEmitFile(this.projectService.getScriptInfoForPath(s.path))?s.fileName:void 0)):[]}emitFile(u,s){if(!this.languageServiceEnabled||!this.shouldEmitFile(u))return{emitSkipped:!0,diagnostics:$c};const{emitSkipped:d,diagnostics:f,outputFiles:p}=this.getLanguageService().getEmitOutput(u.fileName);if(!d){for(const E of p){const v=Ga(E.name,this.currentDirectory);s(v,E.text,E.writeByteOrderMark)}if(this.builderState&&l4(this.compilerOptions)){const E=p.filter(v=>Xd(v.name));if(E.length===1){const v=this.program.getSourceFile(u.fileName),b=this.projectService.host.createHash?this.projectService.host.createHash(E[0].text):FN(E[0].text);Vp.updateSignatureOfFile(this.builderState,b,v.resolvedPath)}}}return{emitSkipped:d,diagnostics:f}}enableLanguageService(){this.languageServiceEnabled||this.projectService.serverMode===2||(this.languageServiceEnabled=!0,this.lastFileExceededProgramSize=void 0,this.projectService.onUpdateLanguageServiceStateForProject(this,!0))}cleanupProgram(){if(this.program){for(const u of this.program.getSourceFiles())this.detachScriptInfoIfNotRoot(u.fileName);this.program.forEachResolvedProjectReference(u=>this.detachScriptInfoFromProject(u.sourceFile.fileName)),this.program=void 0}}disableLanguageService(u){this.languageServiceEnabled&&(H.assert(this.projectService.serverMode!==2),this.languageService.cleanupSemanticCache(),this.languageServiceEnabled=!1,this.cleanupProgram(),this.lastFileExceededProgramSize=u,this.builderState=void 0,this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.resolutionCache.closeTypeRootsWatch(),this.clearGeneratedFileWatch(),this.projectService.verifyDocumentRegistry(),this.projectService.onUpdateLanguageServiceStateForProject(this,!1))}getProjectName(){return this.projectName}removeLocalTypingsFromTypeAcquisition(u){return!u||!u.include?u:{...u,include:this.removeExistingTypings(u.include)}}getExternalFiles(u){return Lh(Ku(this.plugins,s=>{if(typeof s.module.getExternalFiles=="function")try{return s.module.getExternalFiles(this,u||0)}catch(d){this.projectService.logger.info(`A plugin threw an exception in getExternalFiles: ${d}`),d.stack&&this.projectService.logger.info(d.stack)}}))}getSourceFile(u){if(this.program)return this.program.getSourceFileByPath(u)}getSourceFileOrConfigFile(u){const s=this.program.getCompilerOptions();return u===s.configFilePath?s.configFile:this.getSourceFile(u)}close(){this.projectService.typingsCache.onProjectClosed(this),this.closeWatchingTypingLocations(),this.cleanupProgram(),L(this.externalFiles,u=>this.detachScriptInfoIfNotRoot(u));for(const u of this.rootFiles)u.detachFromProject(this);this.projectService.pendingEnsureProjectForOpenFiles=!0,this.rootFiles=void 0,this.rootFilesMap=void 0,this.externalFiles=void 0,this.program=void 0,this.builderState=void 0,this.resolutionCache.clear(),this.resolutionCache=void 0,this.cachedUnresolvedImportsPerFile=void 0,this.moduleSpecifierCache=void 0,this.directoryStructureHost=void 0,this.exportMapCache=void 0,this.projectErrors=void 0,this.plugins.length=0,this.missingFilesMap&&(uf(this.missingFilesMap,dg),this.missingFilesMap=void 0),this.clearGeneratedFileWatch(),this.clearInvalidateResolutionOfFailedLookupTimer(),this.autoImportProviderHost&&this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0,this.noDtsResolutionProject&&this.noDtsResolutionProject.close(),this.noDtsResolutionProject=void 0,this.languageService.dispose(),this.languageService=void 0}detachScriptInfoIfNotRoot(u){const s=this.projectService.getScriptInfo(u);s&&!this.isRoot(s)&&s.detachFromProject(this)}isClosed(){return this.rootFiles===void 0}hasRoots(){return this.rootFiles&&this.rootFiles.length>0}isOrphan(){return!1}getRootFiles(){return this.rootFiles&&this.rootFiles.map(u=>u.fileName)}getRootFilesMap(){return this.rootFilesMap}getRootScriptInfos(){return this.rootFiles}getScriptInfos(){return this.languageServiceEnabled?Kt(this.program.getSourceFiles(),u=>{const s=this.projectService.getScriptInfoForPath(u.resolvedPath);return H.assert(!!s,"getScriptInfo",()=>`scriptInfo for a file '${u.fileName}' Path: '${u.path}' / '${u.resolvedPath}' is missing.`),s}):this.rootFiles}getExcludedFiles(){return $c}getFileNames(u,s){if(!this.program)return[];if(!this.languageServiceEnabled){let f=this.getRootFiles();if(this.compilerOptions){const p=X8e(this.compilerOptions);p&&(f||(f=[])).push(p)}return f}const d=[];for(const f of this.program.getSourceFiles())u&&this.program.isSourceFileFromExternalLibrary(f)||d.push(f.fileName);if(!s){const f=this.program.getCompilerOptions().configFile;if(f&&(d.push(f.fileName),f.extendedSourceFiles))for(const p of f.extendedSourceFiles)d.push(p)}return d}getFileNamesWithRedirectInfo(u){return this.getFileNames().map(s=>({fileName:s,isSourceOfProjectReferenceRedirect:u&&this.isSourceOfProjectReferenceRedirect(s)}))}hasConfigFile(u){if(this.program&&this.languageServiceEnabled){const s=this.program.getCompilerOptions().configFile;if(s){if(u===s.fileName)return!0;if(s.extendedSourceFiles){for(const d of s.extendedSourceFiles)if(u===d)return!0}}}return!1}containsScriptInfo(u){if(this.isRoot(u))return!0;if(!this.program)return!1;const s=this.program.getSourceFileByPath(u.path);return!!s&&s.resolvedPath===u.path}containsFile(u,s){const d=this.projectService.getScriptInfoForNormalizedPath(u);return d&&(d.isScriptOpen()||!s)?this.containsScriptInfo(d):!1}isRoot(u){var s;return this.rootFilesMap&&((s=this.rootFilesMap.get(u.path))==null?void 0:s.info)===u}addRoot(u,s){H.assert(!this.isRoot(u)),this.rootFiles.push(u),this.rootFilesMap.set(u.path,{fileName:s||u.fileName,info:u}),u.attachToProject(this),this.markAsDirty()}addMissingFileRoot(u){const s=this.projectService.toPath(u);this.rootFilesMap.set(s,{fileName:u}),this.markAsDirty()}removeFile(u,s,d){this.isRoot(u)&&this.removeRoot(u),s?this.resolutionCache.removeResolutionsOfFile(u.path):this.resolutionCache.invalidateResolutionOfFile(u.path),this.cachedUnresolvedImportsPerFile.delete(u.path),d&&u.detachFromProject(this),this.markAsDirty()}registerFileUpdate(u){(this.updatedFileNames||(this.updatedFileNames=new Set)).add(u)}markFileAsDirty(u){this.markAsDirty(),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.changedFilesForExportMapCache||(this.changedFilesForExportMapCache=new Set)).add(u)}markAsDirty(){this.dirty||(this.projectStateVersion++,this.dirty=!0)}onAutoImportProviderSettingsChanged(){var u;this.autoImportProviderHost===!1?this.autoImportProviderHost=void 0:(u=this.autoImportProviderHost)==null||u.markAsDirty()}onPackageJsonChange(u){var s;(s=this.packageJsonsForAutoImport)!=null&&s.has(u)&&(this.moduleSpecifierCache.clear(),this.autoImportProviderHost&&this.autoImportProviderHost.markAsDirty())}onFileAddedOrRemoved(u){this.hasAddedorRemovedFiles=!0,u&&(this.hasAddedOrRemovedSymlinks=!0)}onDiscoveredSymlink(){this.hasAddedOrRemovedSymlinks=!0}updateGraph(){var u,s,d,f,p;(u=Jn)==null||u.push(Jn.Phase.Session,"updateGraph",{name:this.projectName,kind:iz[this.projectKind]}),(s=dh)==null||s.logStartUpdateGraph(),this.resolutionCache.startRecordingFilesWithChangedResolutions();const E=this.updateGraphWorker(),v=this.hasAddedorRemovedFiles;this.hasAddedorRemovedFiles=!1,this.hasAddedOrRemovedSymlinks=!1;const b=this.resolutionCache.finishRecordingFilesWithChangedResolutions()||$c;for(const k of b)this.cachedUnresolvedImportsPerFile.delete(k);this.languageServiceEnabled&&this.projectService.serverMode===0?((E||b.length)&&(this.lastCachedUnresolvedImportsList=wQt(this.program,this.cachedUnresolvedImportsPerFile)),this.projectService.typingsCache.enqueueInstallTypingsForProject(this,this.lastCachedUnresolvedImportsList,v)):this.lastCachedUnresolvedImportsList=void 0;const B=this.projectProgramVersion===0&&E;return E&&this.projectProgramVersion++,v&&(this.autoImportProviderHost||(this.autoImportProviderHost=void 0),(d=this.autoImportProviderHost)==null||d.markAsDirty()),B&&this.getPackageJsonAutoImportProvider(),(f=dh)==null||f.logStopUpdateGraph(),(p=Jn)==null||p.pop(),!E}updateTypingFiles(u){Z$(u,this.typingFiles,vN(!this.useCaseSensitiveFileNames()),zs,s=>this.detachScriptInfoFromProject(s))&&(this.typingFiles=u,this.resolutionCache.setFilesWithInvalidatedNonRelativeUnresolvedImports(this.cachedUnresolvedImportsPerFile),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))}closeWatchingTypingLocations(){this.typingWatchers&&uf(this.typingWatchers,dg),this.typingWatchers=void 0}onTypingInstallerWatchInvoke(){this.typingWatchers.isInvoked=!0,this.projectService.updateTypingsForProject({projectName:this.getProjectName(),kind:$Q})}watchTypingLocations(u){if(!u){this.typingWatchers.isInvoked=!1;return}if(!u.length){this.closeWatchingTypingLocations();return}const s=new Map(this.typingWatchers);this.typingWatchers||(this.typingWatchers=new Map),this.typingWatchers.isInvoked=!1;const d=(f,p)=>{const E=this.toPath(f);s.delete(E),this.typingWatchers.has(E)||this.typingWatchers.set(E,p==="FileWatcher"?this.projectService.watchFactory.watchFile(f,()=>this.typingWatchers.isInvoked?this.writeLog("TypingWatchers already invoked"):this.onTypingInstallerWatchInvoke(),2e3,this.projectService.getWatchOptions(this),sd.TypingInstallerLocationFile,this):this.projectService.watchFactory.watchDirectory(f,v=>{if(this.typingWatchers.isInvoked)return this.writeLog("TypingWatchers already invoked");if(!Ml(v,".json"))return this.writeLog("Ignoring files that are not *.json");if(fv(v,dr(this.projectService.typingsInstaller.globalTypingsCacheLocation,"package.json"),!this.useCaseSensitiveFileNames()))return this.writeLog("Ignoring package.json change at global typings location");this.onTypingInstallerWatchInvoke()},1,this.projectService.getWatchOptions(this),sd.TypingInstallerLocationDirectory,this))};for(const f of u){const p=Fc(f);if(p==="package.json"||p==="bower.json"){d(f,"FileWatcher");continue}if(WE(this.currentDirectory,f,this.currentDirectory,!this.useCaseSensitiveFileNames())){const E=f.indexOf(rl,this.currentDirectory.length+1);d(E!==-1?f.substr(0,E):f,"DirectoryWatcher");continue}if(WE(this.projectService.typingsInstaller.globalTypingsCacheLocation,f,this.currentDirectory,!this.useCaseSensitiveFileNames())){d(this.projectService.typingsInstaller.globalTypingsCacheLocation,"DirectoryWatcher");continue}d(f,"DirectoryWatcher")}s.forEach((f,p)=>{f.close(),this.typingWatchers.delete(p)})}getCurrentProgram(){return this.program}removeExistingTypings(u){const s=IY(this.getCompilerOptions(),this.directoryStructureHost);return u.filter(d=>!s.includes(d))}updateGraphWorker(){var u,s;const d=this.languageService.getCurrentProgram();H.assert(d===this.program),H.assert(!this.isClosed(),"Called update graph worker of closed project"),this.writeLog(`Starting updateGraphWorker: Project: ${this.getProjectName()}`);const f=H0(),{hasInvalidatedResolutions:p,hasInvalidatedLibResolutions:E}=this.resolutionCache.createHasInvalidatedResolutions(sg,sg);this.hasInvalidatedResolutions=p,this.hasInvalidatedLibResolutions=E,this.resolutionCache.startCachingPerDirectoryResolution(),this.program=this.languageService.getProgram(),this.dirty=!1,(u=Jn)==null||u.push(Jn.Phase.Session,"finishCachingPerDirectoryResolution"),this.resolutionCache.finishCachingPerDirectoryResolution(this.program,d),(s=Jn)==null||s.pop(),H.assert(d===void 0||this.program!==void 0);let v=!1;if(this.program&&(!d||this.program!==d&&this.program.structureIsReused!==2)){if(v=!0,d){for(const k of d.getSourceFiles()){const T=this.program.getSourceFileByPath(k.resolvedPath);(!T||k.resolvedPath===k.path&&T.resolvedPath!==k.path)&&this.detachScriptInfoFromProject(k.fileName,!!this.program.getSourceFileByPath(k.path),!0)}d.forEachResolvedProjectReference(k=>{this.program.getResolvedProjectReferenceByPath(k.sourceFile.path)||this.detachScriptInfoFromProject(k.sourceFile.fileName,void 0,!0)})}if(p1e(this.program,this.missingFilesMap||(this.missingFilesMap=new Map),k=>this.addMissingFileWatcher(k)),this.generatedFilesMap){const k=b0(this.compilerOptions);nNe(this.generatedFilesMap)?(!k||!this.isValidGeneratedFileWatcher(Eh(k)+".d.ts",this.generatedFilesMap))&&this.clearGeneratedFileWatch():k?this.clearGeneratedFileWatch():this.generatedFilesMap.forEach((T,M)=>{const z=this.program.getSourceFileByPath(M);(!z||z.resolvedPath!==M||!this.isValidGeneratedFileWatcher(Tq(z.fileName,this.compilerOptions,this.currentDirectory,this.program.getCommonSourceDirectory(),this.getCanonicalFileName),T))&&(Om(T),this.generatedFilesMap.delete(M))})}this.languageServiceEnabled&&this.projectService.serverMode===0&&this.resolutionCache.updateTypeRootsWatch()}this.projectService.verifyProgram(this),this.exportMapCache&&!this.exportMapCache.isEmpty()&&(this.exportMapCache.releaseSymbols(),this.hasAddedorRemovedFiles||d&&!this.program.structureIsReused?this.exportMapCache.clear():this.changedFilesForExportMapCache&&d&&this.program&&$_(this.changedFilesForExportMapCache,k=>{const T=d.getSourceFileByPath(k),M=this.program.getSourceFileByPath(k);return!T||!M?(this.exportMapCache.clear(),!0):this.exportMapCache.onFileChanged(T,M,!!this.getTypeAcquisition().enable)})),this.changedFilesForExportMapCache&&this.changedFilesForExportMapCache.clear(),(this.hasAddedOrRemovedSymlinks||this.program&&!this.program.structureIsReused&&this.getCompilerOptions().preserveSymlinks)&&(this.symlinks=void 0,this.moduleSpecifierCache.clear());const b=this.externalFiles||$c;this.externalFiles=this.getExternalFiles(),Z$(this.externalFiles,b,vN(!this.useCaseSensitiveFileNames()),k=>{const T=this.projectService.getOrCreateScriptInfoNotOpenedByClient(k,this.currentDirectory,this.directoryStructureHost);T==null||T.attachToProject(this)},k=>this.detachScriptInfoFromProject(k));const B=H0()-f;return this.sendPerformanceEvent("UpdateGraph",B),this.writeLog(`Finishing updateGraphWorker: Project: ${this.getProjectName()} Version: ${this.getProjectVersion()} structureChanged: ${v}${this.program?` structureIsReused:: ${aU[this.program.structureIsReused]}`:""} Elapsed: ${B}ms`),this.projectService.logger.isTestLogger?this.program!==d?this.print(!0,this.hasAddedorRemovedFiles,!0):this.writeLog("Same program as before"):this.hasAddedorRemovedFiles?this.print(!0,!0,!1):this.program!==d&&this.writeLog("Different program with same set of files"),this.projectService.verifyDocumentRegistry(),v}sendPerformanceEvent(u,s){this.projectService.sendPerformanceEvent(u,s)}detachScriptInfoFromProject(u,s,d){const f=this.projectService.getScriptInfo(u);f&&(f.detachFromProject(this),s||this.resolutionCache.removeResolutionsOfFile(f.path,d))}addMissingFileWatcher(u){var s;if(Zv(this)){const f=this.projectService.configFileExistenceInfoCache.get(u);if((s=f==null?void 0:f.config)!=null&&s.projects.has(this.canonicalConfigFilePath))return XB}const d=this.projectService.watchFactory.watchFile(u,(f,p)=>{Zv(this)&&this.getCachedDirectoryStructureHost().addOrDeleteFile(f,u,p),p===0&&this.missingFilesMap.has(u)&&(this.missingFilesMap.delete(u),d.close(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this))},500,this.projectService.getWatchOptions(this),sd.MissingFile,this);return d}isWatchedMissingFile(u){return!!this.missingFilesMap&&this.missingFilesMap.has(u)}addGeneratedFileWatch(u,s){if(b0(this.compilerOptions))this.generatedFilesMap||(this.generatedFilesMap=this.createGeneratedFileWatcher(u));else{const d=this.toPath(s);if(this.generatedFilesMap){if(nNe(this.generatedFilesMap)){H.fail(`${this.projectName} Expected to not have --out watcher for generated file with options: ${JSON.stringify(this.compilerOptions)}`);return}if(this.generatedFilesMap.has(d))return}else this.generatedFilesMap=new Map;this.generatedFilesMap.set(d,this.createGeneratedFileWatcher(u))}}createGeneratedFileWatcher(u){return{generatedFilePath:this.toPath(u),watcher:this.projectService.watchFactory.watchFile(u,()=>{this.clearSourceMapperCache(),this.projectService.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(this)},2e3,this.projectService.getWatchOptions(this),sd.MissingGeneratedFile,this)}}isValidGeneratedFileWatcher(u,s){return this.toPath(u)===s.generatedFilePath}clearGeneratedFileWatch(){this.generatedFilesMap&&(nNe(this.generatedFilesMap)?Om(this.generatedFilesMap):uf(this.generatedFilesMap,Om),this.generatedFilesMap=void 0)}getScriptInfoForNormalizedPath(u){const s=this.projectService.getScriptInfoForPath(this.toPath(u));return s&&!s.isAttached(this)?x5.ThrowProjectDoesNotContainDocument(u,this):s}getScriptInfo(u){return this.projectService.getScriptInfo(u)}filesToString(u){return this.filesToStringWorker(u,!0,!1)}filesToStringWorker(u,s,d){if(this.isInitialLoadPending())return` Files (0) InitialLoadPending +`;if(!this.program)return` Files (0) NoProgram +`;const f=this.program.getSourceFiles();let p=` Files (${f.length}) +`;if(u){for(const E of f)p+=` ${E.fileName}${d?` ${E.version} ${JSON.stringify(E.text)}`:""} +`;s&&(p+=` + +`,q1e(this.program,E=>p+=` ${E} +`))}return p}print(u,s,d){this.writeLog(`Project '${this.projectName}' (${iz[this.projectKind]})`),this.writeLog(this.filesToStringWorker(u&&this.projectService.logger.hasLevel(3),s&&this.projectService.logger.hasLevel(3),d&&this.projectService.logger.hasLevel(3))),this.writeLog("-----------------------------------------------"),this.autoImportProviderHost&&this.autoImportProviderHost.print(!1,!1,!1)}setCompilerOptions(u){var s;if(u){u.allowNonTsExtensions=!0;const d=this.compilerOptions;this.compilerOptions=u,this.setInternalCompilerOptionsForEmittingJsFiles(),(s=this.noDtsResolutionProject)==null||s.setCompilerOptions(this.getCompilerOptionsForNoDtsResolutionProject()),WU(d,u)&&(this.cachedUnresolvedImportsPerFile.clear(),this.lastCachedUnresolvedImportsList=void 0,this.resolutionCache.onChangesAffectModuleResolution(),this.moduleSpecifierCache.clear()),this.markAsDirty()}}setWatchOptions(u){this.watchOptions=u}getWatchOptions(){return this.watchOptions}setTypeAcquisition(u){u&&(this.typeAcquisition=this.removeLocalTypingsFromTypeAcquisition(u))}getTypeAcquisition(){return this.typeAcquisition||{}}getChangesSinceVersion(u,s){var d,f;const p=s?b=>ga(b.entries(),([B,k])=>({fileName:B,isSourceOfProjectReferenceRedirect:k})):b=>ga(b.keys());this.isInitialLoadPending()||Wm(this);const E={projectName:this.getProjectName(),version:this.projectProgramVersion,isInferred:kw(this),options:this.getCompilationSettings(),languageServiceDisabled:!this.languageServiceEnabled,lastFileExceededProgramSize:this.lastFileExceededProgramSize},v=this.updatedFileNames;if(this.updatedFileNames=void 0,this.lastReportedFileNames&&u===this.lastReportedVersion){if(this.projectProgramVersion===this.lastReportedVersion&&!v)return{info:E,projectErrors:this.getGlobalProjectErrors()};const b=this.lastReportedFileNames,B=((d=this.externalFiles)==null?void 0:d.map(J=>({fileName:_l(J),isSourceOfProjectReferenceRedirect:!1})))||$c,k=og(this.getFileNamesWithRedirectInfo(!!s).concat(B),J=>J.fileName,J=>J.isSourceOfProjectReferenceRedirect),T=new Map,M=new Map,z=v?ga(v.keys()):[],j=[];return d1(k,(J,K)=>{b.has(K)?s&&J!==b.get(K)&&j.push({fileName:K,isSourceOfProjectReferenceRedirect:J}):T.set(K,J)}),d1(b,(J,K)=>{k.has(K)||M.set(K,J)}),this.lastReportedFileNames=k,this.lastReportedVersion=this.projectProgramVersion,{info:E,changes:{added:p(T),removed:p(M),updated:s?z.map(J=>({fileName:J,isSourceOfProjectReferenceRedirect:this.isSourceOfProjectReferenceRedirect(J)})):z,updatedRedirects:s?j:void 0},projectErrors:this.getGlobalProjectErrors()}}else{const b=this.getFileNamesWithRedirectInfo(!!s),B=((f=this.externalFiles)==null?void 0:f.map(T=>({fileName:_l(T),isSourceOfProjectReferenceRedirect:!1})))||$c,k=b.concat(B);return this.lastReportedFileNames=og(k,T=>T.fileName,T=>T.isSourceOfProjectReferenceRedirect),this.lastReportedVersion=this.projectProgramVersion,{info:E,files:s?k:k.map(T=>T.fileName),projectErrors:this.getGlobalProjectErrors()}}}removeRoot(u){mO(this.rootFiles,u),this.rootFilesMap.delete(u.path)}isSourceOfProjectReferenceRedirect(u){return!!this.program&&this.program.isSourceOfProjectReferenceRedirect(u)}getGlobalPluginSearchPaths(){return[...this.projectService.pluginProbeLocations,dr(this.projectService.getExecutingFilePath(),"../../..")]}enableGlobalPlugins(u){if(!this.projectService.globalPlugins.length)return;const s=this.projectService.host;if(!s.require&&!s.importPlugin){this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");return}const d=this.getGlobalPluginSearchPaths();for(const f of this.projectService.globalPlugins)f&&(u.plugins&&u.plugins.some(p=>p.name===f)||(this.projectService.logger.info(`Loading global plugin ${f}`),this.enablePlugin({name:f,global:!0},d)))}enablePlugin(u,s){this.projectService.requestEnablePlugin(this,u,s)}enableProxy(u,s){try{if(typeof u!="function"){this.projectService.logger.info(`Skipped loading plugin ${s.name} because it did not expose a proper factory function`);return}const d={config:s,project:this,languageService:this.languageService,languageServiceHost:this,serverHost:this.projectService.host,session:this.projectService.session},f=u({typescript:Uct}),p=f.create(d);for(const E of Object.keys(this.languageService))E in p||(this.projectService.logger.info(`Plugin activation warning: Missing proxied method ${E} in created LS. Patching.`),p[E]=this.languageService[E]);this.projectService.logger.info("Plugin validation succeeded"),this.languageService=p,this.plugins.push({name:s.name,module:f})}catch(d){this.projectService.logger.info(`Plugin activation failed: ${d}`)}}onPluginConfigurationChanged(u,s){this.plugins.filter(d=>d.name===u).forEach(d=>{d.module.onConfigurationChanged&&d.module.onConfigurationChanged(s)})}refreshDiagnostics(){this.projectService.sendProjectsUpdatedInBackgroundEvent()}getPackageJsonsVisibleToFile(u,s){return this.projectService.serverMode!==0?$c:this.projectService.getPackageJsonsVisibleToFile(u,s)}getNearestAncestorDirectoryWithPackageJson(u){return this.projectService.getNearestAncestorDirectoryWithPackageJson(u)}getPackageJsonsForAutoImport(u){const s=this.getPackageJsonsVisibleToFile(dr(this.currentDirectory,ZB),u);return this.packageJsonsForAutoImport=new Set(s.map(d=>d.fileName)),s}getPackageJsonCache(){return this.projectService.packageJsonCache}getCachedExportInfoMap(){return this.exportMapCache||(this.exportMapCache=Nfe(this))}clearCachedExportInfoMap(){var u;(u=this.exportMapCache)==null||u.clear()}getModuleSpecifierCache(){return this.moduleSpecifierCache}includePackageJsonAutoImports(){return this.projectService.includePackageJsonAutoImports()===0||!this.languageServiceEnabled||YH(this.currentDirectory)||!this.isDefaultProjectForOpenFiles()?0:this.projectService.includePackageJsonAutoImports()}getHostForAutoImportProvider(){var u,s;return this.program?{fileExists:this.program.fileExists,directoryExists:this.program.directoryExists,realpath:this.program.realpath||((u=this.projectService.host.realpath)==null?void 0:u.bind(this.projectService.host)),getCurrentDirectory:this.getCurrentDirectory.bind(this),readFile:this.projectService.host.readFile.bind(this.projectService.host),getDirectories:this.projectService.host.getDirectories.bind(this.projectService.host),trace:(s=this.projectService.host.trace)==null?void 0:s.bind(this.projectService.host),useCaseSensitiveFileNames:this.program.useCaseSensitiveFileNames(),readDirectory:this.projectService.host.readDirectory.bind(this.projectService.host)}:this.projectService.host}getPackageJsonAutoImportProvider(){var u,s,d;if(this.autoImportProviderHost===!1)return;if(this.projectService.serverMode!==0){this.autoImportProviderHost=!1;return}if(this.autoImportProviderHost){if(Wm(this.autoImportProviderHost),this.autoImportProviderHost.isEmpty()){this.autoImportProviderHost.close(),this.autoImportProviderHost=void 0;return}return this.autoImportProviderHost.getCurrentProgram()}const f=this.includePackageJsonAutoImports();if(f){(u=Jn)==null||u.push(Jn.Phase.Session,"getPackageJsonAutoImportProvider");const p=H0();if(this.autoImportProviderHost=rge.create(f,this,this.getHostForAutoImportProvider(),this.documentRegistry),this.autoImportProviderHost)return Wm(this.autoImportProviderHost),this.sendPerformanceEvent("CreatePackageJsonAutoImportProvider",H0()-p),(s=Jn)==null||s.pop(),this.autoImportProviderHost.getCurrentProgram();(d=Jn)==null||d.pop()}}isDefaultProjectForOpenFiles(){return!!d1(this.projectService.openFiles,(u,s)=>this.projectService.tryGetDefaultProjectForFile(_l(s))===this)}watchNodeModulesForPackageJsonChanges(u){return this.projectService.watchPackageJsonsInNodeModules(this.toPath(u),this)}getIncompleteCompletionsCache(){return this.projectService.getIncompleteCompletionsCache()}getNoDtsResolutionProject(u){return H.assert(this.projectService.serverMode===0),this.noDtsResolutionProject||(this.noDtsResolutionProject=new nge(this.projectService,this.documentRegistry,this.getCompilerOptionsForNoDtsResolutionProject(),this.currentDirectory)),this.noDtsResolutionProject.rootFile!==u&&(this.projectService.setFileNamesOfAutpImportProviderOrAuxillaryProject(this.noDtsResolutionProject,[u]),this.noDtsResolutionProject.rootFile=u),this.noDtsResolutionProject}getCompilerOptionsForNoDtsResolutionProject(){return{...this.getCompilerOptions(),noDtsResolution:!0,allowJs:!0,maxNodeModuleJsDepth:3,diagnostics:!1,skipLibCheck:!0,sourceMap:!1,types:_t,lib:_t,noLib:!0}}},ige=class extends Hk{constructor(t,u,s,d,f,p,E){super(t.newInferredProjectName(),0,t,u,void 0,void 0,s,!1,d,t.host,p),this._isJsInferredProject=!1,this.typeAcquisition=E,this.projectRootPath=f&&t.toCanonicalFileName(f),!f&&!t.useSingleInferredProject&&(this.canonicalCurrentDirectory=t.toCanonicalFileName(this.currentDirectory)),this.enableGlobalPlugins(this.getCompilerOptions())}toggleJsInferredProject(t){t!==this._isJsInferredProject&&(this._isJsInferredProject=t,this.setCompilerOptions())}setCompilerOptions(t){if(!t&&!this.getCompilationSettings())return;const u=Yhe(t||this.getCompilationSettings());this._isJsInferredProject&&typeof u.maxNodeModuleJsDepth!="number"?u.maxNodeModuleJsDepth=2:this._isJsInferredProject||(u.maxNodeModuleJsDepth=void 0),u.allowJs=!0,super.setCompilerOptions(u)}addRoot(t){H.assert(t.isScriptOpen()),this.projectService.startWatchingConfigFilesForInferredProjectRoot(t),!this._isJsInferredProject&&t.isJavaScript()?this.toggleJsInferredProject(!0):this.isOrphan()&&this._isJsInferredProject&&!t.isJavaScript()&&this.toggleJsInferredProject(!1),super.addRoot(t)}removeRoot(t){this.projectService.stopWatchingConfigFilesForInferredProjectRoot(t),super.removeRoot(t),!this.isOrphan()&&this._isJsInferredProject&&t.isJavaScript()&&ye(this.getRootScriptInfos(),u=>!u.isJavaScript())&&this.toggleJsInferredProject(!1)}isOrphan(){return!this.hasRoots()}isProjectWithSingleRoot(){return!this.projectRootPath&&!this.projectService.useSingleInferredProject||this.getRootScriptInfos().length===1}close(){L(this.getRootScriptInfos(),t=>this.projectService.stopWatchingConfigFilesForInferredProjectRoot(t)),super.close()}getTypeAcquisition(){return this.typeAcquisition||{enable:eNe(this),include:_t,exclude:_t}}},nge=class extends Hk{constructor(t,u,s,d){super(t.newAuxiliaryProjectName(),4,t,u,!1,void 0,s,!1,void 0,t.host,d)}isOrphan(){return!0}scheduleInvalidateResolutionsOfFailedLookupLocations(){}},uge=class qOe extends Hk{constructor(u,s,d,f){super(u.projectService.newAutoImportProviderProjectName(),3,u.projectService,d,!1,void 0,f,!1,u.getWatchOptions(),u.projectService.host,u.currentDirectory),this.hostProject=u,this.rootFileNames=s,this.useSourceOfProjectReferenceRedirect=To(this.hostProject,this.hostProject.useSourceOfProjectReferenceRedirect),this.getParsedCommandLine=To(this.hostProject,this.hostProject.getParsedCommandLine)}static getRootFileNames(u,s,d,f){var p,E;if(!u)return _t;const v=s.getCurrentProgram();if(!v)return _t;const b=H0();let B,k;const T=dr(s.currentDirectory,ZB),M=s.getPackageJsonsForAutoImport(dr(s.currentDirectory,T));for(const K of M)(p=K.dependencies)==null||p.forEach((Y,oe)=>j(oe)),(E=K.peerDependencies)==null||E.forEach((Y,oe)=>j(oe));let z=0;if(B){const K=s.getSymlinkCache();for(const Y of ga(B.keys())){if(u===2&&z>this.maxDependencies)return s.log(`AutoImportProviderProject: attempted to add more than ${this.maxDependencies} dependencies. Aborting.`),_t;const oe=Dde(Y,s.currentDirectory,f,d,v.getModuleResolutionCache());if(oe){const ge=J(oe,v,K);if(ge){k=an(k,ge),z+=ge.length?1:0;continue}}if(!L([s.currentDirectory,s.getGlobalTypingsCacheLocation()],ge=>{if(ge){const ae=Dde(`@types/${Y}`,ge,f,d,v.getModuleResolutionCache());if(ae){const Ce=J(ae,v,K);return k=an(k,Ce),z+=Ce!=null&&Ce.length?1:0,!0}}})&&oe&&f.allowJs&&f.maxNodeModuleJsDepth){const ge=J(oe,v,K,!0);k=an(k,ge),z+=ge!=null&&ge.length?1:0}}}return k!=null&&k.length&&s.log(`AutoImportProviderProject: found ${k.length} root files in ${z} dependencies in ${H0()-b} ms`),k||_t;function j(K){La(K,"@types/")||(B||(B=new Set)).add(K)}function J(K,Y,oe,se){var ge;const ae=yde(K,f,d,Y.getModuleResolutionCache(),se);if(ae){const Ce=(ge=d.realpath)==null?void 0:ge.call(d,K.packageDirectory),ne=Ce?s.toPath(Ce):void 0,ve=ne&&ne!==s.toPath(K.packageDirectory);return ve&&oe.setSymlinkedDirectory(K.packageDirectory,{real:Pd(Ce),realPath:Pd(ne)}),Si(ae,Se=>{const Ne=ve?Se.replace(K.packageDirectory,Ce):Se;if(!Y.getSourceFile(Ne)&&!(ve&&Y.getSourceFile(Se)))return Ne})}}}static create(u,s,d,f){if(u===0)return;const p={...s.getCompilerOptions(),...this.compilerOptionsOverrides},E=this.getRootFileNames(u,s,d,p);if(E.length)return new qOe(s,E,f,p)}isEmpty(){return!Ge(this.rootFileNames)}isOrphan(){return!0}updateGraph(){let u=this.rootFileNames;u||(u=qOe.getRootFileNames(this.hostProject.includePackageJsonAutoImports(),this.hostProject,this.hostProject.getHostForAutoImportProvider(),this.getCompilationSettings())),this.projectService.setFileNamesOfAutpImportProviderOrAuxillaryProject(this,u),this.rootFileNames=u;const s=this.getCurrentProgram(),d=super.updateGraph();return s&&s!==this.getCurrentProgram()&&this.hostProject.clearCachedExportInfoMap(),d}scheduleInvalidateResolutionsOfFailedLookupLocations(){}hasRoots(){var u;return!!((u=this.rootFileNames)!=null&&u.length)}markAsDirty(){this.rootFileNames=void 0,super.markAsDirty()}getScriptFileNames(){return this.rootFileNames||_t}getLanguageService(){throw new Error("AutoImportProviderProject language service should never be used. To get the program, use `project.getCurrentProgram()`.")}onAutoImportProviderSettingsChanged(){throw new Error("AutoImportProviderProject is an auto import provider; use `markAsDirty()` instead.")}onPackageJsonChange(){throw new Error("package.json changes should be notified on an AutoImportProvider's host project")}getHostForAutoImportProvider(){throw new Error("AutoImportProviderProject cannot provide its own host; use `hostProject.getModuleResolutionHostForAutomImportProvider()` instead.")}getProjectReferences(){return this.hostProject.getProjectReferences()}includePackageJsonAutoImports(){return 0}getSymlinkCache(){return this.hostProject.getSymlinkCache()}getModuleResolutionCache(){var u;return(u=this.hostProject.getCurrentProgram())==null?void 0:u.getModuleResolutionCache()}},uge.maxDependencies=10,uge.compilerOptionsOverrides={diagnostics:!1,skipLibCheck:!0,sourceMap:!1,types:_t,lib:_t,noLib:!0},rge=uge,age=class extends Hk{constructor(t,u,s,d,f){super(t,1,s,d,!1,void 0,{},!1,void 0,f,cr(t)),this.canonicalConfigFilePath=u,this.openFileWatchTriggered=new Map,this.canConfigFileJsonReportNoInputFiles=!1,this.externalProjectRefCount=0,this.isInitialLoadPending=G3,this.sendLoadingProjectFinish=!1}setCompilerHost(t){this.compilerHost=t}getCompilerHost(){return this.compilerHost}useSourceOfProjectReferenceRedirect(){return this.languageServiceEnabled}getParsedCommandLine(t){const u=Jo(t),s=this.projectService.toCanonicalFileName(u);let d=this.projectService.configFileExistenceInfoCache.get(s);return d||this.projectService.configFileExistenceInfoCache.set(s,d={exists:this.projectService.host.fileExists(u)}),this.projectService.ensureParsedConfigUptoDate(u,s,d,this),this.languageServiceEnabled&&this.projectService.serverMode===0&&this.projectService.watchWildcards(u,d,this),d.exists?d.config.parsedCommandLine:void 0}onReleaseParsedCommandLine(t){this.releaseParsedConfig(this.projectService.toCanonicalFileName(Jo(t)))}releaseParsedConfig(t){this.projectService.stopWatchingWildCards(t,this),this.projectService.releaseParsedConfig(t,this)}updateGraph(){const t=this.isInitialLoadPending();this.isInitialLoadPending=sg;const u=this.pendingUpdateLevel;this.pendingUpdateLevel=0;let s;switch(u){case 1:this.openFileWatchTriggered.clear(),s=this.projectService.reloadFileNamesOfConfiguredProject(this);break;case 2:this.openFileWatchTriggered.clear();const d=H.checkDefined(this.pendingUpdateReason);this.pendingUpdateReason=void 0,this.projectService.reloadConfiguredProject(this,d,t,!1),s=!0;break;default:s=super.updateGraph()}return this.compilerHost=void 0,this.projectService.sendProjectLoadingFinishEvent(this),this.projectService.sendProjectTelemetry(this),s}getCachedDirectoryStructureHost(){return this.directoryStructureHost}getConfigFilePath(){return this.getProjectName()}getProjectReferences(){return this.projectReferences}updateReferences(t){this.projectReferences=t,this.potentialProjectReferences=void 0}setPotentialProjectReference(t){H.assert(this.isInitialLoadPending()),(this.potentialProjectReferences||(this.potentialProjectReferences=new Set)).add(t)}getResolvedProjectReferenceToRedirect(t){const u=this.getCurrentProgram();return u&&u.getResolvedProjectReferenceToRedirect(t)}forEachResolvedProjectReference(t){var u;return(u=this.getCurrentProgram())==null?void 0:u.forEachResolvedProjectReference(t)}enablePluginsWithOptions(t){var u;if(this.plugins.length=0,!((u=t.plugins)!=null&&u.length)&&!this.projectService.globalPlugins.length)return;const s=this.projectService.host;if(!s.require&&!s.importPlugin){this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded");return}const d=this.getGlobalPluginSearchPaths();if(this.projectService.allowLocalPluginLoads){const f=cr(this.canonicalConfigFilePath);this.projectService.logger.info(`Local plugin loading enabled; adding ${f} to search paths`),d.unshift(f)}if(t.plugins)for(const f of t.plugins)this.enablePlugin(f,d);return this.enableGlobalPlugins(t)}getGlobalProjectErrors(){return ei(this.projectErrors,t=>!t.file)||$c}getAllProjectErrors(){return this.projectErrors||$c}setProjectErrors(t){this.projectErrors=t}close(){this.projectService.configFileExistenceInfoCache.forEach((t,u)=>this.releaseParsedConfig(u)),this.projectErrors=void 0,this.openFileWatchTriggered.clear(),this.compilerHost=void 0,super.close()}addExternalProjectReference(){this.externalProjectRefCount++}deleteExternalProjectReference(){this.externalProjectRefCount--}isSolution(){return this.getRootFilesMap().size===0&&!this.canConfigFileJsonReportNoInputFiles}getDefaultChildProjectFromProjectWithReferences(t){return Aw(this,t.path,u=>f9(u,t)?u:void 0,0)}hasOpenRef(){var t;if(this.externalProjectRefCount)return!0;if(this.isClosed())return!1;const u=this.projectService.configFileExistenceInfoCache.get(this.canonicalConfigFilePath);return this.projectService.hasPendingProjectUpdate(this)?!!((t=u.openFilesImpactedByConfigFile)!=null&&t.size):!!u.openFilesImpactedByConfigFile&&d1(u.openFilesImpactedByConfigFile,(s,d)=>{const f=this.projectService.getScriptInfoForPath(d);return this.containsScriptInfo(f)||!!Aw(this,f.path,p=>p.containsScriptInfo(f),0)})||!1}hasExternalProjectRef(){return!!this.externalProjectRefCount}getEffectiveTypeRoots(){return lM(this.getCompilationSettings(),this)||[]}updateErrorOnNoInputFiles(t){FY(t,this.getConfigFilePath(),this.getCompilerOptions().configFile.configFileSpecs,this.projectErrors,this.canConfigFileJsonReportNoInputFiles)}},Jee=class extends Hk{constructor(t,u,s,d,f,p,E,v){super(t,2,u,s,!0,f,d,p,v,u.host,cr(E||U1(t))),this.externalProjectName=t,this.compileOnSaveEnabled=p,this.excludedFiles=[],this.enableGlobalPlugins(this.getCompilerOptions())}updateGraph(){const t=super.updateGraph();return this.projectService.sendProjectTelemetry(this),t}getExcludedFiles(){return this.excludedFiles}}}});function Sct(t){const u=new Map;for(const s of t)if(typeof s.type=="object"){const d=s.type;d.forEach(f=>{H.assert(typeof f=="number")}),u.set(s.name,d)}return u}function Fw(t){return Wa(t.indentStyle)&&(t.indentStyle=Mct.get(t.indentStyle.toLowerCase()),H.assert(t.indentStyle!==void 0)),t}function $ee(t){return Nct.forEach((u,s)=>{const d=t[s];Wa(d)&&(t[s]=u.get(d.toLowerCase()))}),t}function KK(t,u){let s,d;return OB.forEach(f=>{const p=t[f.name];if(p===void 0)return;const E=Pct.get(f.name);(s||(s={}))[f.name]=E?Wa(p)?E.get(p.toLowerCase()):p:Fk(f,p,u||"",d||(d=[]))}),s&&{watchOptions:s,errors:d}}function uNe(t){let u;return QV.forEach(s=>{const d=t[s.name];d!==void 0&&((u||(u={}))[s.name]=d)}),u}function oge(t){return Wa(t)?sge(t):t}function sge(t){switch(t){case"JS":return 1;case"JSX":return 2;case"TS":return 3;case"TSX":return 4;default:return 0}}function rNe(t){const{lazyConfiguredProjectsFromExternalProject:u,...s}=t;return s}function Bct(t,u){for(const s of u)if(s.getProjectName()===t)return s}function Uee(t){return!!t.containingProjects}function NQt(t){return!!t.configFileInfo}function Aw(t,u,s,d,f){var p;const E=(p=t.getCurrentProgram())==null?void 0:p.getResolvedProjectReferences();if(!E)return;let v;const b=u?t.getResolvedProjectReferenceToRedirect(u):void 0;if(b){const k=_l(b.sourceFile.fileName),T=t.projectService.findConfiguredProjectByProjectName(k);if(T){const M=s(T);if(M)return M}else if(d!==0){v=new Map;const M=aNe(E,t.getCompilerOptions(),(z,j)=>b===z?B(z,j):void 0,d,t.projectService,v);if(M)return M;v.clear()}}return aNe(E,t.getCompilerOptions(),(k,T)=>b!==k?B(k,T):void 0,d,t.projectService,v);function B(k,T){const M=_l(k.sourceFile.fileName),z=t.projectService.findConfiguredProjectByProjectName(M)||(T===0?void 0:T===1?t.projectService.createConfiguredProject(M):T===2?t.projectService.createAndLoadConfiguredProject(M,f):H.assertNever(T));return z&&s(z)}}function aNe(t,u,s,d,f,p){const E=u.disableReferencedProjectLoad?0:d;return L(t,v=>{if(!v)return;const b=_l(v.sourceFile.fileName),B=f.toCanonicalFileName(b),k=p==null?void 0:p.get(B);if(k!==void 0&&k>=E)return;const T=s(v,E);return T||((p||(p=new Map)).set(B,E),v.references&&aNe(v.references,v.commandLine.options,s,E,f,p))})}function wct(t,u){return t.potentialProjectReferences&&$_(t.potentialProjectReferences,u)}function PQt(t,u,s,d){return t.getCurrentProgram()?t.forEachResolvedProjectReference(u):t.isInitialLoadPending()?wct(t,d):L(t.getProjectReferences(),s)}function oNe(t,u,s){const d=s&&t.projectService.configuredProjects.get(s);return d&&u(d)}function Tct(t,u){return PQt(t,s=>oNe(t,u,s.sourceFile.path),s=>oNe(t,u,t.toPath(qB(s))),s=>oNe(t,u,s))}function MQt(t,u){return`${Wa(u)?`Config: ${u} `:u?`Project: ${u.getProjectName()} `:""}WatchType: ${t}`}function Lct(t){return!t.isScriptOpen()&&t.mTime!==void 0}function f9(t,u){return t.containsScriptInfo(u)&&!t.isSourceOfProjectReferenceRedirect(u.path)}function Wm(t){return t.invalidateResolutionsOfFailedLookupLocations(),t.dirty&&t.updateGraph()}function sNe(t){Zv(t)&&(t.projectOptions=!0)}function lNe(t){let u=1;return()=>t(u++)}function cNe(){return{idToCallbacks:new Map,pathToId:new Map}}function zQt(t,u){if(!u||!t.eventHandler||!t.session)return;const s=cNe(),d=cNe(),f=cNe();let p=1;return t.session.addProtocolHandler("watchChange",M=>(B(M.arguments),{responseRequired:!1})),{watchFile:E,watchDirectory:v,getCurrentDirectory:()=>t.host.getCurrentDirectory(),useCaseSensitiveFileNames:t.host.useCaseSensitiveFileNames};function E(M,z){return b(s,M,z,j=>({eventName:nte,data:{id:j,path:M}}))}function v(M,z,j){return b(j?f:d,M,z,J=>({eventName:ute,data:{id:J,path:M,recursive:!!j}}))}function b({pathToId:M,idToCallbacks:z},j,J,K){const Y=t.toPath(j);let oe=M.get(Y);oe||M.set(Y,oe=p++);let se=z.get(oe);return se||(z.set(oe,se=new Set),t.eventHandler(K(oe))),se.add(J),{close(){const ge=z.get(oe);ge!=null&&ge.delete(J)&&(ge.size||(z.delete(oe),M.delete(Y),t.eventHandler({eventName:rte,data:{id:oe}})))}}}function B({id:M,path:z,eventType:j}){k(M,z,j),T(d,M,z,j),T(f,M,z,j)}function k(M,z,j){var J;(J=s.idToCallbacks.get(M))==null||J.forEach(K=>{K(z,j==="create"?0:j==="delete"?2:1)})}function T({idToCallbacks:M},z,j,J){var K;J!=="update"&&((K=M.get(z))==null||K.forEach(Y=>{Y(j)}))}}function IQt(){let t;return{get(){return t},set(u){t=u},clear(){t=void 0}}}function dNe(t){return t.kind!==void 0}function hNe(t){t.print(!1,!1,!1)}var qee,Zee,WK,Yee,Qee,Xee,ete,tte,ite,lge,nte,ute,rte,fNe,Nct,Pct,Mct,cge,ate,ote,dge,hge,mNe,fge,RQt=o({"src/server/editorServices.ts"(){Yv(),g9(),QLe(),qee=20*1024*1024,Zee=4*1024*1024,WK="projectsUpdatedInBackground",Yee="projectLoadingStart",Qee="projectLoadingFinish",Xee="largeFileReferenced",ete="configFileDiag",tte="projectLanguageServiceState",ite="projectInfo",lge="openFileInfo",nte="createFileWatcher",ute="createDirectoryWatcher",rte="closeFileWatcher",fNe="*ensureProjectForOpenFiles*",Nct=Sct(r3),Pct=Sct(OB),Mct=new Map(Object.entries({none:0,block:1,smart:2})),cge={jquery:{match:/jquery(-[\d.]+)?(\.intellisense)?(\.min)?\.js$/i,types:["jquery"]},WinJS:{match:/^(.*\/winjs-[.\d]+)\/js\/base\.js$/i,exclude:[["^",1,"/.*"]],types:["winjs"]},Kendo:{match:/^(.*\/kendo(-ui)?)\/kendo\.all(\.min)?\.js$/i,exclude:[["^",1,"/.*"]],types:["kendo-ui"]},"Office Nuget":{match:/^(.*\/office\/1)\/excel-\d+\.debug\.js$/i,exclude:[["^",1,"/.*"]],types:["office"]},References:{match:/^(.*\/_references\.js)$/i,exclude:[["^",1,"$"]]}},ate={getFileName:t=>t,getScriptKind:(t,u)=>{let s;if(u){const d=SN(t);d&&Ge(u,f=>f.extension===d?(s=f.scriptKind,!0):!1)}return s},hasMixedContent:(t,u)=>Ge(u,s=>s.isMixedContent&&Ml(t,s.extension))},ote={getFileName:t=>t.fileName,getScriptKind:t=>oge(t.scriptKind),hasMixedContent:t=>!!t.hasMixedContent},dge={close:zs},hge=(t=>(t[t.Find=0]="Find",t[t.FindCreate=1]="FindCreate",t[t.FindCreateLoad=2]="FindCreateLoad",t))(hge||{}),mNe=class ZOe{constructor(u){this.filenameToScriptInfo=new Map,this.nodeModulesWatchers=new Map,this.filenameToScriptInfoVersion=new Map,this.allJsFilesForOpenFileTelemetry=new Map,this.externalProjectToConfiguredProjectMap=new Map,this.externalProjects=[],this.inferredProjects=[],this.configuredProjects=new Map,this.newInferredProjectName=lNe(MLe),this.newAutoImportProviderProjectName=lNe(zLe),this.newAuxiliaryProjectName=lNe(ILe),this.openFiles=new Map,this.configFileForOpenFiles=new Map,this.openFilesWithNonRootedDiskPath=new Map,this.compilerOptionsForInferredProjectsPerProjectRoot=new Map,this.watchOptionsForInferredProjectsPerProjectRoot=new Map,this.typeAcquisitionForInferredProjectsPerProjectRoot=new Map,this.projectToSizeMap=new Map,this.configFileExistenceInfoCache=new Map,this.safelist=cge,this.legacySafelist=new Map,this.pendingProjectUpdates=new Map,this.pendingEnsureProjectForOpenFiles=!1,this.seenProjects=new Map,this.sharedExtendedConfigFileWatchers=new Map,this.extendedConfigCache=new Map,this.verifyDocumentRegistry=zs,this.verifyProgram=zs,this.onProjectCreation=zs;var s;this.host=u.host,this.logger=u.logger,this.cancellationToken=u.cancellationToken,this.useSingleInferredProject=u.useSingleInferredProject,this.useInferredProjectPerProjectRoot=u.useInferredProjectPerProjectRoot,this.typingsInstaller=u.typingsInstaller||Gee,this.throttleWaitMilliseconds=u.throttleWaitMilliseconds,this.eventHandler=u.eventHandler,this.suppressDiagnosticEvents=u.suppressDiagnosticEvents,this.globalPlugins=u.globalPlugins||$c,this.pluginProbeLocations=u.pluginProbeLocations||$c,this.allowLocalPluginLoads=!!u.allowLocalPluginLoads,this.typesMapLocation=u.typesMapLocation===void 0?dr(cr(this.getExecutingFilePath()),"typesMap.json"):u.typesMapLocation,this.session=u.session,this.jsDocParsingMode=u.jsDocParsingMode,u.serverMode!==void 0?this.serverMode=u.serverMode:this.serverMode=0,this.host.realpath&&(this.realpathToScriptInfos=Bm()),this.currentDirectory=_l(this.host.getCurrentDirectory()),this.toCanonicalFileName=T1(this.host.useCaseSensitiveFileNames),this.globalCacheLocationDirectoryPath=this.typingsInstaller.globalTypingsCacheLocation?Pd(this.toPath(this.typingsInstaller.globalTypingsCacheLocation)):void 0,this.throttledOperations=new qpe(this.host,this.logger),this.typesMapLocation?this.loadTypesMap():this.logger.info("No types map provided; using the default"),this.typingsInstaller.attach(this),this.typingsCache=new ege(this.typingsInstaller),this.hostConfiguration={formatCodeOptions:qQ(this.host.newLine),preferences:c4,hostInfo:"Unknown host",extraFileExtensions:[]},this.documentRegistry=jfe(this.host.useCaseSensitiveFileNames,this.currentDirectory,this.jsDocParsingMode,this);const d=this.logger.hasLevel(3)?2:this.logger.loggingEnabled()?1:0,f=d!==0?p=>this.logger.info(p):zs;this.packageJsonCache=gNe(this),this.watchFactory=this.serverMode!==0?{watchFile:ew,watchDirectory:ew}:g1e(zQt(this,u.canUseWatchEvents)||this.host,d,f,MQt),(s=u.incrementalVerifier)==null||s.call(u,this)}toPath(u){return K0(u,this.currentDirectory,this.toCanonicalFileName)}getExecutingFilePath(){return this.getNormalizedAbsolutePath(this.host.getExecutingFilePath())}getNormalizedAbsolutePath(u){return Ga(u,this.host.getCurrentDirectory())}setDocument(u,s,d){const f=H.checkDefined(this.getScriptInfoForPath(s));f.cacheSourceFile={key:u,sourceFile:d}}getDocument(u,s){const d=this.getScriptInfoForPath(s);return d&&d.cacheSourceFile&&d.cacheSourceFile.key===u?d.cacheSourceFile.sourceFile:void 0}ensureInferredProjectsUpToDate_TestOnly(){this.ensureProjectStructuresUptoDate()}getCompilerOptionsForInferredProjects(){return this.compilerOptionsForInferredProjects}onUpdateLanguageServiceStateForProject(u,s){if(!this.eventHandler)return;const d={eventName:tte,data:{project:u,languageServiceEnabled:s}};this.eventHandler(d)}loadTypesMap(){try{const u=this.host.readFile(this.typesMapLocation);if(u===void 0){this.logger.info(`Provided types map file "${this.typesMapLocation}" doesn't exist`);return}const s=JSON.parse(u);for(const d of Object.keys(s.typesMap))s.typesMap[d].match=new RegExp(s.typesMap[d].match,"i");this.safelist=s.typesMap;for(const d in s.simpleMap)gu(s.simpleMap,d)&&this.legacySafelist.set(d,s.simpleMap[d].toLowerCase())}catch(u){this.logger.info(`Error loading types map: ${u}`),this.safelist=cge,this.legacySafelist.clear()}}updateTypingsForProject(u){const s=this.findProject(u.projectName);if(s)switch(u.kind){case JQ:s.updateTypingFiles(this.typingsCache.updateTypingsForProject(u.projectName,u.compilerOptions,u.typeAcquisition,u.unresolvedImports,u.typings));return;case $Q:this.typingsCache.enqueueInstallTypingsForProject(s,s.lastCachedUnresolvedImportsList,!0);return}}watchTypingLocations(u){var s;(s=this.findProject(u.projectName))==null||s.watchTypingLocations(u.files)}delayEnsureProjectForOpenFiles(){this.openFiles.size&&(this.pendingEnsureProjectForOpenFiles=!0,this.throttledOperations.schedule(fNe,2500,()=>{this.pendingProjectUpdates.size!==0?this.delayEnsureProjectForOpenFiles():this.pendingEnsureProjectForOpenFiles&&(this.ensureProjectForOpenFiles(),this.sendProjectsUpdatedInBackgroundEvent())}))}delayUpdateProjectGraph(u){if(u.markAsDirty(),HK(u))return;const s=u.getProjectName();this.pendingProjectUpdates.set(s,u),this.throttledOperations.schedule(s,250,()=>{this.pendingProjectUpdates.delete(s)&&Wm(u)})}hasPendingProjectUpdate(u){return this.pendingProjectUpdates.has(u.getProjectName())}sendProjectsUpdatedInBackgroundEvent(){if(!this.eventHandler)return;const u={eventName:WK,data:{openFiles:ga(this.openFiles.keys(),s=>this.getScriptInfoForPath(s).fileName)}};this.eventHandler(u)}sendLargeFileReferencedEvent(u,s){if(!this.eventHandler)return;const d={eventName:Xee,data:{file:u,fileSize:s,maxFileSize:Zee}};this.eventHandler(d)}sendProjectLoadingStartEvent(u,s){if(!this.eventHandler)return;u.sendLoadingProjectFinish=!0;const d={eventName:Yee,data:{project:u,reason:s}};this.eventHandler(d)}sendProjectLoadingFinishEvent(u){if(!this.eventHandler||!u.sendLoadingProjectFinish)return;u.sendLoadingProjectFinish=!1;const s={eventName:Qee,data:{project:u}};this.eventHandler(s)}sendPerformanceEvent(u,s){this.performanceEventHandler&&this.performanceEventHandler({kind:u,durationMs:s})}delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(u){this.delayUpdateProjectGraph(u),this.delayEnsureProjectForOpenFiles()}delayUpdateProjectGraphs(u,s){if(u.length){for(const d of u)s&&d.clearSourceMapperCache(),this.delayUpdateProjectGraph(d);this.delayEnsureProjectForOpenFiles()}}setCompilerOptionsForInferredProjects(u,s){H.assert(s===void 0||this.useInferredProjectPerProjectRoot,"Setting compiler options per project root path is only supported when useInferredProjectPerProjectRoot is enabled");const d=$ee(u),f=KK(u,s),p=uNe(u);d.allowNonTsExtensions=!0;const E=s&&this.toCanonicalFileName(s);E?(this.compilerOptionsForInferredProjectsPerProjectRoot.set(E,d),this.watchOptionsForInferredProjectsPerProjectRoot.set(E,f||!1),this.typeAcquisitionForInferredProjectsPerProjectRoot.set(E,p)):(this.compilerOptionsForInferredProjects=d,this.watchOptionsForInferredProjects=f,this.typeAcquisitionForInferredProjects=p);for(const v of this.inferredProjects)(E?v.projectRootPath===E:!v.projectRootPath||!this.compilerOptionsForInferredProjectsPerProjectRoot.has(v.projectRootPath))&&(v.setCompilerOptions(d),v.setTypeAcquisition(p),v.setWatchOptions(f==null?void 0:f.watchOptions),v.setProjectErrors(f==null?void 0:f.errors),v.compileOnSaveEnabled=d.compileOnSave,v.markAsDirty(),this.delayUpdateProjectGraph(v));this.delayEnsureProjectForOpenFiles()}findProject(u){if(u!==void 0)return PLe(u)?Bct(u,this.inferredProjects):this.findExternalProjectByProjectName(u)||this.findConfiguredProjectByProjectName(_l(u))}forEachProject(u){this.externalProjects.forEach(u),this.configuredProjects.forEach(u),this.inferredProjects.forEach(u)}forEachEnabledProject(u){this.forEachProject(s=>{!s.isOrphan()&&s.languageServiceEnabled&&u(s)})}getDefaultProjectForFile(u,s){return s?this.ensureDefaultProjectForFile(u):this.tryGetDefaultProjectForFile(u)}tryGetDefaultProjectForFile(u){const s=Wa(u)?this.getScriptInfoForNormalizedPath(u):u;return s&&!s.isOrphan()?s.getDefaultProject():void 0}ensureDefaultProjectForFile(u){return this.tryGetDefaultProjectForFile(u)||this.doEnsureDefaultProjectForFile(u)}doEnsureDefaultProjectForFile(u){this.ensureProjectStructuresUptoDate();const s=Wa(u)?this.getScriptInfoForNormalizedPath(u):u;return s?s.getDefaultProject():(this.logErrorForScriptInfoNotFound(Wa(u)?u:u.fileName),x5.ThrowNoProject())}getScriptInfoEnsuringProjectsUptoDate(u){return this.ensureProjectStructuresUptoDate(),this.getScriptInfo(u)}ensureProjectStructuresUptoDate(){let u=this.pendingEnsureProjectForOpenFiles;this.pendingProjectUpdates.clear();const s=d=>{u=Wm(d)||u};this.externalProjects.forEach(s),this.configuredProjects.forEach(s),this.inferredProjects.forEach(s),u&&this.ensureProjectForOpenFiles()}getFormatCodeOptions(u){const s=this.getScriptInfoForNormalizedPath(u);return s&&s.getFormatCodeSettings()||this.hostConfiguration.formatCodeOptions}getPreferences(u){const s=this.getScriptInfoForNormalizedPath(u);return{...this.hostConfiguration.preferences,...s&&s.getPreferences()}}getHostFormatCodeOptions(){return this.hostConfiguration.formatCodeOptions}getHostPreferences(){return this.hostConfiguration.preferences}onSourceFileChanged(u,s){s===2?this.handleDeletedFile(u):u.isScriptOpen()||(u.delayReloadNonMixedContentFile(),this.delayUpdateProjectGraphs(u.containingProjects,!1),this.handleSourceMapProjects(u))}handleSourceMapProjects(u){if(u.sourceMapFilePath)if(Wa(u.sourceMapFilePath)){const s=this.getScriptInfoForPath(u.sourceMapFilePath);this.delayUpdateSourceInfoProjects(s&&s.sourceInfos)}else this.delayUpdateSourceInfoProjects(u.sourceMapFilePath.sourceInfos);this.delayUpdateSourceInfoProjects(u.sourceInfos),u.declarationInfoPath&&this.delayUpdateProjectsOfScriptInfoPath(u.declarationInfoPath)}delayUpdateSourceInfoProjects(u){u&&u.forEach((s,d)=>this.delayUpdateProjectsOfScriptInfoPath(d))}delayUpdateProjectsOfScriptInfoPath(u){const s=this.getScriptInfoForPath(u);s&&this.delayUpdateProjectGraphs(s.containingProjects,!0)}handleDeletedFile(u){if(this.stopWatchingScriptInfo(u),!u.isScriptOpen()){this.deleteScriptInfo(u);const s=u.containingProjects.slice();if(u.detachAllProjects(),this.delayUpdateProjectGraphs(s,!1),this.handleSourceMapProjects(u),u.closeSourceMapFileWatcher(),u.declarationInfoPath){const d=this.getScriptInfoForPath(u.declarationInfoPath);d&&(d.sourceMapFilePath=void 0)}}}watchWildcardDirectory(u,s,d,f){return this.watchFactory.watchDirectory(u,p=>{const E=this.toPath(p),v=f.cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(p,E);Fc(E)==="package.json"&&!YH(E)&&(v&&v.fileExists||!v&&this.host.fileExists(E))&&(this.logger.info(`Config: ${d} Detected new package.json: ${p}`),this.onAddPackageJson(E));const b=this.findConfiguredProjectByProjectName(d);EH({watchedDirPath:u,fileOrDirectory:p,fileOrDirectoryPath:E,configFileName:d,extraFileExtensions:this.hostConfiguration.extraFileExtensions,currentDirectory:this.currentDirectory,options:f.parsedCommandLine.options,program:(b==null?void 0:b.getCurrentProgram())||f.parsedCommandLine.fileNames,useCaseSensitiveFileNames:this.host.useCaseSensitiveFileNames,writeLog:B=>this.logger.info(B),toPath:B=>this.toPath(B),getScriptKind:b?B=>b.getScriptKind(B):void 0})||(f.updateLevel!==2&&(f.updateLevel=1),f.projects.forEach((B,k)=>{if(!B)return;const T=this.getConfiguredProjectByCanonicalConfigFilePath(k);if(!T)return;const M=b===T?1:0;if(!(T.pendingUpdateLevel!==void 0&&T.pendingUpdateLevel>M))if(this.openFiles.has(E))if(H.checkDefined(this.getScriptInfoForPath(E)).isAttached(T)){const j=Math.max(M,T.openFileWatchTriggered.get(E)||0);T.openFileWatchTriggered.set(E,j)}else T.pendingUpdateLevel=M,this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(T);else T.pendingUpdateLevel=M,this.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(T)}))},s,this.getWatchOptionsFromProjectWatchOptions(f.parsedCommandLine.watchOptions),sd.WildcardDirectory,d)}delayUpdateProjectsFromParsedConfigOnConfigFileChange(u,s){const d=this.configFileExistenceInfoCache.get(u);if(!(d!=null&&d.config))return!1;let f=!1;return d.config.updateLevel=2,d.config.projects.forEach((p,E)=>{const v=this.getConfiguredProjectByCanonicalConfigFilePath(E);if(v)if(f=!0,E===u){if(v.isInitialLoadPending())return;v.pendingUpdateLevel=2,v.pendingUpdateReason=s,this.delayUpdateProjectGraph(v)}else v.resolutionCache.removeResolutionsFromProjectReferenceRedirects(this.toPath(u)),this.delayUpdateProjectGraph(v)}),f}onConfigFileChanged(u,s){var d;const f=this.configFileExistenceInfoCache.get(u);if(s===2){f.exists=!1;const p=(d=f.config)!=null&&d.projects.has(u)?this.getConfiguredProjectByCanonicalConfigFilePath(u):void 0;p&&this.removeProject(p)}else f.exists=!0;this.delayUpdateProjectsFromParsedConfigOnConfigFileChange(u,"Change in config file detected"),this.reloadConfiguredProjectForFiles(f.openFilesImpactedByConfigFile,!1,!0,s!==2?il:G3,"Change in config file detected"),this.delayEnsureProjectForOpenFiles()}removeProject(u){switch(this.logger.info("`remove Project::"),u.print(!0,!0,!1),u.close(),H.shouldAssert(1)&&this.filenameToScriptInfo.forEach(s=>H.assert(!s.isAttached(u),"Found script Info still attached to project",()=>`${u.projectName}: ScriptInfos still attached: ${JSON.stringify(ga(_o(this.filenameToScriptInfo.values(),d=>d.isAttached(u)?{fileName:d.fileName,projects:d.containingProjects.map(f=>f.projectName),hasMixedContent:d.hasMixedContent}:void 0)),void 0," ")}`)),this.pendingProjectUpdates.delete(u.getProjectName()),u.projectKind){case 2:Oy(this.externalProjects,u),this.projectToSizeMap.delete(u.getProjectName());break;case 1:this.configuredProjects.delete(u.canonicalConfigFilePath),this.projectToSizeMap.delete(u.canonicalConfigFilePath);break;case 0:Oy(this.inferredProjects,u);break}}assignOrphanScriptInfoToInferredProject(u,s){H.assert(u.isOrphan());const d=this.getOrCreateInferredProjectForProjectRootPathIfEnabled(u,s)||this.getOrCreateSingleInferredProjectIfEnabled()||this.getOrCreateSingleInferredWithoutProjectRoot(u.isDynamic?s||this.currentDirectory:cr(Nf(u.fileName)?u.fileName:Ga(u.fileName,s?this.getNormalizedAbsolutePath(s):this.currentDirectory)));if(d.addRoot(u),u.containingProjects[0]!==d&&(u.detachFromProject(d),u.containingProjects.unshift(d)),d.updateGraph(),!this.useSingleInferredProject&&!d.projectRootPath)for(const f of this.inferredProjects){if(f===d||f.isOrphan())continue;const p=f.getRootScriptInfos();H.assert(p.length===1||!!f.projectRootPath),p.length===1&&L(p[0].containingProjects,E=>E!==p[0].containingProjects[0]&&!E.isOrphan())&&f.removeFile(p[0],!0,!0)}return d}assignOrphanScriptInfosToInferredProject(){this.openFiles.forEach((u,s)=>{const d=this.getScriptInfoForPath(s);d.isOrphan()&&this.assignOrphanScriptInfoToInferredProject(d,u)})}closeOpenFile(u,s){const d=u.isDynamic?!1:this.host.fileExists(u.fileName);u.close(d),this.stopWatchingConfigFilesForClosedScriptInfo(u);const f=this.toCanonicalFileName(u.fileName);this.openFilesWithNonRootedDiskPath.get(f)===u&&this.openFilesWithNonRootedDiskPath.delete(f);let p=!1;for(const E of u.containingProjects){if(Zv(E)){u.hasMixedContent&&u.registerFileUpdate();const v=E.openFileWatchTriggered.get(u.path);v!==void 0&&(E.openFileWatchTriggered.delete(u.path),E.pendingUpdateLevel!==void 0&&E.pendingUpdateLevelthis.onConfigFileChanged(s,B),2e3,this.getWatchOptionsFromProjectWatchOptions((p=(f=E==null?void 0:E.config)==null?void 0:f.parsedCommandLine)==null?void 0:p.watchOptions),sd.ConfigFile,d));const v=E.config.projects;v.set(d.canonicalConfigFilePath,v.get(d.canonicalConfigFilePath)||!1)}configFileExistenceImpactsRootOfInferredProject(u){return u.openFilesImpactedByConfigFile&&d1(u.openFilesImpactedByConfigFile,il)}releaseParsedConfig(u,s){var d,f,p;const E=this.configFileExistenceInfoCache.get(u);(d=E.config)!=null&&d.projects.delete(s.canonicalConfigFilePath)&&((f=E.config)!=null&&f.projects.size||(E.config=void 0,m1e(u,this.sharedExtendedConfigFileWatchers),H.checkDefined(E.watcher),(p=E.openFilesImpactedByConfigFile)!=null&&p.size?this.configFileExistenceImpactsRootOfInferredProject(E)?NQ(bd(cr(u)))||(E.watcher.close(),E.watcher=dge):(E.watcher.close(),E.watcher=void 0):(E.watcher.close(),this.configFileExistenceInfoCache.delete(u))))}closeConfigFileWatcherOnReleaseOfOpenFile(u){u.watcher&&!u.config&&!this.configFileExistenceImpactsRootOfInferredProject(u)&&(u.watcher.close(),u.watcher=void 0)}stopWatchingConfigFilesForClosedScriptInfo(u){H.assert(!u.isScriptOpen()),this.forEachConfigFileLocation(u,s=>{var d,f,p;const E=this.configFileExistenceInfoCache.get(s);if(E){const v=(d=E.openFilesImpactedByConfigFile)==null?void 0:d.get(u.path);(f=E.openFilesImpactedByConfigFile)==null||f.delete(u.path),v&&this.closeConfigFileWatcherOnReleaseOfOpenFile(E),!((p=E.openFilesImpactedByConfigFile)!=null&&p.size)&&!E.config&&(H.assert(!E.watcher),this.configFileExistenceInfoCache.delete(s))}})}startWatchingConfigFilesForInferredProjectRoot(u){H.assert(u.isScriptOpen()),this.forEachConfigFileLocation(u,(s,d)=>{let f=this.configFileExistenceInfoCache.get(s);f||(f={exists:this.host.fileExists(d)},this.configFileExistenceInfoCache.set(s,f)),(f.openFilesImpactedByConfigFile||(f.openFilesImpactedByConfigFile=new Map)).set(u.path,!0),f.watcher||(f.watcher=NQ(bd(cr(s)))?this.watchFactory.watchFile(d,(p,E)=>this.onConfigFileChanged(s,E),2e3,this.hostConfiguration.watchOptions,sd.ConfigFileForInferredRoot):dge)})}stopWatchingConfigFilesForInferredProjectRoot(u){this.forEachConfigFileLocation(u,s=>{var d;const f=this.configFileExistenceInfoCache.get(s);(d=f==null?void 0:f.openFilesImpactedByConfigFile)!=null&&d.has(u.path)&&(H.assert(u.isScriptOpen()),f.openFilesImpactedByConfigFile.set(u.path,!1),this.closeConfigFileWatcherOnReleaseOfOpenFile(f))})}forEachConfigFileLocation(u,s){if(this.serverMode!==0)return;H.assert(!Uee(u)||this.openFiles.has(u.path));const d=this.openFiles.get(u.path);if(H.checkDefined(this.getScriptInfo(u.path)).isDynamic)return;let p=cr(u.fileName);const E=()=>WE(d,p,this.currentDirectory,!this.host.useCaseSensitiveFileNames),v=!d||!E();let b=!NQt(u);do{if(b){const k=OK(p,this.currentDirectory,this.toCanonicalFileName),T=dr(p,"tsconfig.json");let M=s(dr(k,"tsconfig.json"),T);if(M)return T;const z=dr(p,"jsconfig.json");if(M=s(dr(k,"jsconfig.json"),z),M)return z;if(DU(k))break}const B=cr(p);if(B===p)break;p=B,b=!0}while(v||E())}findDefaultConfiguredProject(u){if(!u.isScriptOpen())return;const s=this.getConfigFileNameForFile(u),d=s&&this.findConfiguredProjectByProjectName(s);return d&&f9(d,u)?d:d==null?void 0:d.getDefaultChildProjectFromProjectWithReferences(u)}getConfigFileNameForFile(u){if(Uee(u)){H.assert(u.isScriptOpen());const d=this.configFileForOpenFiles.get(u.path);if(d!==void 0)return d||void 0}this.logger.info(`Search path: ${cr(u.fileName)}`);const s=this.forEachConfigFileLocation(u,(d,f)=>this.configFileExists(f,d,u));return s?this.logger.info(`For info: ${u.fileName} :: Config file name: ${s}`):this.logger.info(`For info: ${u.fileName} :: No config files found.`),Uee(u)&&this.configFileForOpenFiles.set(u.path,s||!1),s}printProjects(){this.logger.hasLevel(1)&&(this.logger.startGroup(),this.externalProjects.forEach(hNe),this.configuredProjects.forEach(hNe),this.inferredProjects.forEach(hNe),this.logger.info("Open files: "),this.openFiles.forEach((u,s)=>{const d=this.getScriptInfoForPath(s);this.logger.info(` FileName: ${d.fileName} ProjectRootPath: ${u}`),this.logger.info(` Projects: ${d.containingProjects.map(f=>f.getProjectName())}`)}),this.logger.endGroup())}findConfiguredProjectByProjectName(u){const s=this.toCanonicalFileName(u);return this.getConfiguredProjectByCanonicalConfigFilePath(s)}getConfiguredProjectByCanonicalConfigFilePath(u){return this.configuredProjects.get(u)}findExternalProjectByProjectName(u){return Bct(u,this.externalProjects)}getFilenameForExceededTotalSizeLimitForNonTsFiles(u,s,d,f){if(s&&s.disableSizeLimit||!this.host.getFileSize)return;let p=qee;this.projectToSizeMap.set(u,0),this.projectToSizeMap.forEach(v=>p-=v||0);let E=0;for(const v of d){const b=f.getFileName(v);if(!hk(b)&&(E+=this.host.getFileSize(b),E>qee||E>p)){const B=d.map(k=>f.getFileName(k)).filter(k=>!hk(k)).map(k=>({name:k,size:this.host.getFileSize(k)})).sort((k,T)=>T.size-k.size).slice(0,5);return this.logger.info(`Non TS file size exceeded limit (${E}). Largest files: ${B.map(k=>`${k.name}:${k.size}`).join(", ")}`),b}}this.projectToSizeMap.set(u,E)}createExternalProject(u,s,d,f,p){const E=$ee(d),v=KK(d,cr(U1(u))),b=new Jee(u,this,this.documentRegistry,E,this.getFilenameForExceededTotalSizeLimitForNonTsFiles(u,E,s,ote),d.compileOnSave===void 0?!0:d.compileOnSave,void 0,v==null?void 0:v.watchOptions);return b.setProjectErrors(v==null?void 0:v.errors),b.excludedFiles=p,this.addFilesToNonInferredProject(b,s,ote,f),this.externalProjects.push(b),b}sendProjectTelemetry(u){if(this.seenProjects.has(u.projectName)){sNe(u);return}if(this.seenProjects.set(u.projectName,!0),!this.eventHandler||!this.host.createSHA256Hash){sNe(u);return}const s=Zv(u)?u.projectOptions:void 0;sNe(u);const d={projectId:this.host.createSHA256Hash(u.projectName),fileStats:VK(u.getScriptInfos(),!0),compilerOptions:QFe(u.getCompilationSettings()),typeAcquisition:p(u.getTypeAcquisition()),extends:s&&s.configHasExtendsProperty,files:s&&s.configHasFilesProperty,include:s&&s.configHasIncludeProperty,exclude:s&&s.configHasExcludeProperty,compileOnSave:u.compileOnSaveEnabled,configFileName:f(),projectType:u instanceof Jee?"external":"configured",languageServiceEnabled:u.languageServiceEnabled,version:_};this.eventHandler({eventName:ite,data:d});function f(){return Zv(u)&&Upe(u.getConfigFilePath())||"other"}function p({enable:E,include:v,exclude:b}){return{enable:E,include:v!==void 0&&v.length!==0,exclude:b!==void 0&&b.length!==0}}}addFilesToNonInferredProject(u,s,d,f){this.updateNonInferredProjectFiles(u,s,d),u.setTypeAcquisition(f),u.markAsDirty()}createConfiguredProject(u){var s;(s=Jn)==null||s.instant(Jn.Phase.Session,"createConfiguredProject",{configFilePath:u}),this.logger.info(`Creating configuration project ${u}`);const d=this.toCanonicalFileName(u);let f=this.configFileExistenceInfoCache.get(d);f?f.exists=!0:this.configFileExistenceInfoCache.set(d,f={exists:!0}),f.config||(f.config={cachedDirectoryStructureHost:gQ(this.host,this.host.getCurrentDirectory(),this.host.useCaseSensitiveFileNames),projects:new Map,updateLevel:2});const p=new age(u,d,this,this.documentRegistry,f.config.cachedDirectoryStructureHost);return this.configuredProjects.set(d,p),this.createConfigFileWatcherForParsedConfig(u,d,p),p}createConfiguredProjectWithDelayLoad(u,s){const d=this.createConfiguredProject(u);return d.pendingUpdateLevel=2,d.pendingUpdateReason=s,d}createAndLoadConfiguredProject(u,s){const d=this.createConfiguredProject(u);return this.loadConfiguredProject(d,s),d}createLoadAndUpdateConfiguredProject(u,s){const d=this.createAndLoadConfiguredProject(u,s);return d.updateGraph(),d}loadConfiguredProject(u,s){var d,f;(d=Jn)==null||d.push(Jn.Phase.Session,"loadConfiguredProject",{configFilePath:u.canonicalConfigFilePath}),this.sendProjectLoadingStartEvent(u,s);const p=Jo(u.getConfigFilePath()),E=this.ensureParsedConfigUptoDate(p,u.canonicalConfigFilePath,this.configFileExistenceInfoCache.get(u.canonicalConfigFilePath),u),v=E.config.parsedCommandLine;H.assert(!!v.fileNames);const b=v.options;u.projectOptions||(u.projectOptions={configHasExtendsProperty:v.raw.extends!==void 0,configHasFilesProperty:v.raw.files!==void 0,configHasIncludeProperty:v.raw.include!==void 0,configHasExcludeProperty:v.raw.exclude!==void 0}),u.canConfigFileJsonReportNoInputFiles=rM(v.raw),u.setProjectErrors(v.options.configFile.parseDiagnostics),u.updateReferences(v.projectReferences);const B=this.getFilenameForExceededTotalSizeLimitForNonTsFiles(u.canonicalConfigFilePath,b,v.fileNames,ate);B?(u.disableLanguageService(B),this.configFileExistenceInfoCache.forEach((T,M)=>this.stopWatchingWildCards(M,u))):(u.setCompilerOptions(b),u.setWatchOptions(v.watchOptions),u.enableLanguageService(),this.watchWildcards(p,E,u)),u.enablePluginsWithOptions(b);const k=v.fileNames.concat(u.getExternalFiles(2));this.updateRootAndOptionsOfNonInferredProject(u,k,ate,b,v.typeAcquisition,v.compileOnSave,v.watchOptions),(f=Jn)==null||f.pop()}ensureParsedConfigUptoDate(u,s,d,f){var p,E,v;if(d.config){if(!d.config.updateLevel)return d;if(d.config.updateLevel===1)return this.reloadFileNamesOfParsedConfig(u,d.config),d}const b=((p=d.config)==null?void 0:p.cachedDirectoryStructureHost)||gQ(this.host,this.host.getCurrentDirectory(),this.host.useCaseSensitiveFileNames),B=uM(u,j=>this.host.readFile(j)),k=HV(u,Wa(B)?B:""),T=k.parseDiagnostics;Wa(B)||T.push(B);const M=JV(k,b,cr(u),{},u,[],this.hostConfiguration.extraFileExtensions,this.extendedConfigCache);M.errors.length&&T.push(...M.errors),this.logger.info(`Config: ${u} : ${JSON.stringify({rootNames:M.fileNames,options:M.options,watchOptions:M.watchOptions,projectReferences:M.projectReferences},void 0," ")}`);const z=(E=d.config)==null?void 0:E.parsedCommandLine;return d.config?(d.config.parsedCommandLine=M,d.config.watchedDirectoriesStale=!0,d.config.updateLevel=void 0):d.config={parsedCommandLine:M,cachedDirectoryStructureHost:b,projects:new Map},!z&&!oZ(this.getWatchOptionsFromProjectWatchOptions(void 0),this.getWatchOptionsFromProjectWatchOptions(M.watchOptions))&&((v=d.watcher)==null||v.close(),d.watcher=void 0),this.createConfigFileWatcherForParsedConfig(u,s,f),EQ(s,M.options,this.sharedExtendedConfigFileWatchers,(j,J)=>this.watchFactory.watchFile(j,()=>{var K;_Q(this.extendedConfigCache,J,oe=>this.toPath(oe));let Y=!1;(K=this.sharedExtendedConfigFileWatchers.get(J))==null||K.projects.forEach(oe=>{Y=this.delayUpdateProjectsFromParsedConfigOnConfigFileChange(oe,`Change in extended config file ${j} detected`)||Y}),Y&&this.delayEnsureProjectForOpenFiles()},2e3,this.hostConfiguration.watchOptions,sd.ExtendedConfigFile,u),j=>this.toPath(j)),d}watchWildcards(u,{exists:s,config:d},f){if(d.projects.set(f.canonicalConfigFilePath,!0),s){if(d.watchedDirectories&&!d.watchedDirectoriesStale)return;d.watchedDirectoriesStale=!1,gH(d.watchedDirectories||(d.watchedDirectories=new Map),new Map(Object.entries(d.parsedCommandLine.wildcardDirectories)),(p,E)=>this.watchWildcardDirectory(p,E,u,d))}else{if(d.watchedDirectoriesStale=!1,!d.watchedDirectories)return;uf(d.watchedDirectories,Om),d.watchedDirectories=void 0}}stopWatchingWildCards(u,s){const d=this.configFileExistenceInfoCache.get(u);!d.config||!d.config.projects.get(s.canonicalConfigFilePath)||(d.config.projects.set(s.canonicalConfigFilePath,!1),!d1(d.config.projects,il)&&(d.config.watchedDirectories&&(uf(d.config.watchedDirectories,Om),d.config.watchedDirectories=void 0),d.config.watchedDirectoriesStale=void 0))}updateNonInferredProjectFiles(u,s,d){const f=u.getRootFilesMap(),p=new Map;for(const E of s){const v=d.getFileName(E),b=_l(v),B=jK(b);let k;if(!B&&!u.fileExists(v)){k=OK(b,this.currentDirectory,this.toCanonicalFileName);const T=f.get(k);T?(T.info&&(u.removeFile(T.info,!1,!0),T.info=void 0),T.fileName=b):f.set(k,{fileName:b})}else{const T=d.getScriptKind(E,this.hostConfiguration.extraFileExtensions),M=d.hasMixedContent(E,this.hostConfiguration.extraFileExtensions),z=H.checkDefined(this.getOrCreateScriptInfoNotOpenedByClientForNormalizedPath(b,u.currentDirectory,T,M,u.directoryStructureHost));k=z.path;const j=f.get(k);!j||j.info!==z?(u.addRoot(z,b),z.isScriptOpen()&&this.removeRootOfInferredProjectIfNowPartOfOtherProject(z)):j.fileName=b}p.set(k,!0)}f.size>p.size&&f.forEach((E,v)=>{p.has(v)||(E.info?u.removeFile(E.info,u.fileExists(v),!0):f.delete(v))})}updateRootAndOptionsOfNonInferredProject(u,s,d,f,p,E,v){u.setCompilerOptions(f),u.setWatchOptions(v),E!==void 0&&(u.compileOnSaveEnabled=E),this.addFilesToNonInferredProject(u,s,d,p)}reloadFileNamesOfConfiguredProject(u){const s=this.reloadFileNamesOfParsedConfig(u.getConfigFilePath(),this.configFileExistenceInfoCache.get(u.canonicalConfigFilePath).config);return u.updateErrorOnNoInputFiles(s),this.updateNonInferredProjectFiles(u,s.concat(u.getExternalFiles(1)),ate),u.markAsDirty(),u.updateGraph()}reloadFileNamesOfParsedConfig(u,s){if(s.updateLevel===void 0)return s.parsedCommandLine.fileNames;H.assert(s.updateLevel===1);const d=s.parsedCommandLine.options.configFile.configFileSpecs,f=aM(d,cr(u),s.parsedCommandLine.options,s.cachedDirectoryStructureHost,this.hostConfiguration.extraFileExtensions);return s.parsedCommandLine={...s.parsedCommandLine,fileNames:f},f}setFileNamesOfAutpImportProviderOrAuxillaryProject(u,s){this.updateNonInferredProjectFiles(u,s,ate)}reloadConfiguredProject(u,s,d,f){const p=u.getCachedDirectoryStructureHost();f&&this.clearSemanticCache(u),p.clearCache();const E=u.getConfigFilePath();this.logger.info(`${d?"Loading":"Reloading"} configured project ${E}`),this.loadConfiguredProject(u,s),u.updateGraph(),this.sendConfigFileDiagEvent(u,E)}clearSemanticCache(u){u.resolutionCache.clear(),u.getLanguageService(!1).cleanupSemanticCache(),u.cleanupProgram(),u.markAsDirty()}sendConfigFileDiagEvent(u,s){if(!this.eventHandler||this.suppressDiagnosticEvents)return;const d=u.getLanguageService().getCompilerOptionsDiagnostics();d.push(...u.getAllProjectErrors()),this.eventHandler({eventName:ete,data:{configFileName:u.getConfigFilePath(),diagnostics:d,triggerFile:s}})}getOrCreateInferredProjectForProjectRootPathIfEnabled(u,s){if(!this.useInferredProjectPerProjectRoot||u.isDynamic&&s===void 0)return;if(s){const f=this.toCanonicalFileName(s);for(const p of this.inferredProjects)if(p.projectRootPath===f)return p;return this.createInferredProject(s,!1,s)}let d;for(const f of this.inferredProjects)f.projectRootPath&&WE(f.projectRootPath,u.path,this.host.getCurrentDirectory(),!this.host.useCaseSensitiveFileNames)&&(d&&d.projectRootPath.length>f.projectRootPath.length||(d=f));return d}getOrCreateSingleInferredProjectIfEnabled(){if(this.useSingleInferredProject)return this.inferredProjects.length>0&&this.inferredProjects[0].projectRootPath===void 0?this.inferredProjects[0]:this.createInferredProject("",!0)}getOrCreateSingleInferredWithoutProjectRoot(u){H.assert(!this.useSingleInferredProject);const s=this.toCanonicalFileName(this.getNormalizedAbsolutePath(u));for(const d of this.inferredProjects)if(!d.projectRootPath&&d.isOrphan()&&d.canonicalCurrentDirectory===s)return d;return this.createInferredProject(u)}createInferredProject(u,s,d){const f=d&&this.compilerOptionsForInferredProjectsPerProjectRoot.get(d)||this.compilerOptionsForInferredProjects;let p,E;d&&(p=this.watchOptionsForInferredProjectsPerProjectRoot.get(d),E=this.typeAcquisitionForInferredProjectsPerProjectRoot.get(d)),p===void 0&&(p=this.watchOptionsForInferredProjects),E===void 0&&(E=this.typeAcquisitionForInferredProjects),p=p||void 0;const v=new ige(this,this.documentRegistry,f,p==null?void 0:p.watchOptions,d,u,E);return v.setProjectErrors(p==null?void 0:p.errors),s?this.inferredProjects.unshift(v):this.inferredProjects.push(v),v}getOrCreateScriptInfoNotOpenedByClient(u,s,d){return this.getOrCreateScriptInfoNotOpenedByClientForNormalizedPath(_l(u),s,void 0,void 0,d)}getScriptInfo(u){return this.getScriptInfoForNormalizedPath(_l(u))}getScriptInfoOrConfig(u){const s=_l(u),d=this.getScriptInfoForNormalizedPath(s);if(d)return d;const f=this.configuredProjects.get(this.toPath(u));return f&&f.getCompilerOptions().configFile}logErrorForScriptInfoNotFound(u){const s=ga(this.filenameToScriptInfo.entries(),([d,f])=>({path:d,fileName:f.fileName}));this.logger.msg(`Could not find file ${JSON.stringify(u)}. +All files are: ${JSON.stringify(s)}`,"Err")}getSymlinkedProjects(u){let s;if(this.realpathToScriptInfos){const f=u.getRealpathIfDifferent();f&&L(this.realpathToScriptInfos.get(f),d),L(this.realpathToScriptInfos.get(u.path),d)}return s;function d(f){if(f!==u)for(const p of f.containingProjects)p.languageServiceEnabled&&!p.isOrphan()&&!p.getCompilerOptions().preserveSymlinks&&!u.isAttached(p)&&(s?d1(s,(E,v)=>v===f.path?!1:Ft(E,p))||s.add(f.path,p):(s=Bm(),s.add(f.path,p)))}}watchClosedScriptInfo(u){if(H.assert(!u.fileWatcher),!u.isDynamicOrHasMixedContent()&&(!this.globalCacheLocationDirectoryPath||!La(u.path,this.globalCacheLocationDirectoryPath))){const s=u.path.indexOf("/node_modules/");!this.host.getModifiedTime||s===-1?u.fileWatcher=this.watchFactory.watchFile(u.fileName,(d,f)=>this.onSourceFileChanged(u,f),500,this.hostConfiguration.watchOptions,sd.ClosedScriptInfo):(u.mTime=this.getModifiedTime(u),u.fileWatcher=this.watchClosedScriptInfoInNodeModules(u.path.substr(0,s)))}}createNodeModulesWatcher(u){const s=this.watchFactory.watchDirectory(u,f=>{var p;const E=LQ(this.toPath(f));if(!E)return;const v=Fc(E);if((p=d.affectedModuleSpecifierCacheProjects)!=null&&p.size&&(v==="package.json"||v==="node_modules")&&d.affectedModuleSpecifierCacheProjects.forEach(b=>{var B,k;(k=(B=this.findProject(b))==null?void 0:B.getModuleSpecifierCache())==null||k.clear()}),d.refreshScriptInfoRefCount)if(u===E)this.refreshScriptInfosInDirectory(u);else{const b=this.getScriptInfoForPath(E);b?Lct(b)&&this.refreshScriptInfo(b):XA(E)||this.refreshScriptInfosInDirectory(E)}},1,this.hostConfiguration.watchOptions,sd.NodeModules),d={refreshScriptInfoRefCount:0,affectedModuleSpecifierCacheProjects:void 0,close:()=>{var f;!d.refreshScriptInfoRefCount&&!((f=d.affectedModuleSpecifierCacheProjects)!=null&&f.size)&&(s.close(),this.nodeModulesWatchers.delete(u))}};return this.nodeModulesWatchers.set(u,d),d}watchPackageJsonsInNodeModules(u,s){const d=this.nodeModulesWatchers.get(u)||this.createNodeModulesWatcher(u);return(d.affectedModuleSpecifierCacheProjects||(d.affectedModuleSpecifierCacheProjects=new Set)).add(s.getProjectName()),{close:()=>{var f;(f=d.affectedModuleSpecifierCacheProjects)==null||f.delete(s.getProjectName()),d.close()}}}watchClosedScriptInfoInNodeModules(u){const s=u+"/node_modules",d=this.nodeModulesWatchers.get(s)||this.createNodeModulesWatcher(s);return d.refreshScriptInfoRefCount++,{close:()=>{d.refreshScriptInfoRefCount--,d.close()}}}getModifiedTime(u){return(this.host.getModifiedTime(u.path)||H_).getTime()}refreshScriptInfo(u){const s=this.getModifiedTime(u);if(s!==u.mTime){const d=Dse(u.mTime,s);u.mTime=s,this.onSourceFileChanged(u,d)}}refreshScriptInfosInDirectory(u){u=u+rl,this.filenameToScriptInfo.forEach(s=>{Lct(s)&&La(s.path,u)&&this.refreshScriptInfo(s)})}stopWatchingScriptInfo(u){u.fileWatcher&&(u.fileWatcher.close(),u.fileWatcher=void 0)}getOrCreateScriptInfoNotOpenedByClientForNormalizedPath(u,s,d,f,p){if(Nf(u)||jK(u))return this.getOrCreateScriptInfoWorker(u,s,!1,void 0,d,f,p);const E=this.openFilesWithNonRootedDiskPath.get(this.toCanonicalFileName(u));if(E)return E}getOrCreateScriptInfoOpenedByClientForNormalizedPath(u,s,d,f,p){return this.getOrCreateScriptInfoWorker(u,s,!0,d,f,p)}getOrCreateScriptInfoForNormalizedPath(u,s,d,f,p,E){return this.getOrCreateScriptInfoWorker(u,this.currentDirectory,s,d,f,p,E)}getOrCreateScriptInfoWorker(u,s,d,f,p,E,v){H.assert(f===void 0||d,"ScriptInfo needs to be opened by client to be able to set its user defined content");const b=OK(u,s,this.toCanonicalFileName);let B=this.getScriptInfoForPath(b);if(!B){const k=jK(u);if(H.assert(Nf(u)||k||d,"",()=>`${JSON.stringify({fileName:u,currentDirectory:s,hostCurrentDirectory:this.currentDirectory,openKeys:ga(this.openFilesWithNonRootedDiskPath.keys())})} +Script info with non-dynamic relative file name can only be open script info or in context of host currentDirectory`),H.assert(!Nf(u)||this.currentDirectory===s||!this.openFilesWithNonRootedDiskPath.has(this.toCanonicalFileName(u)),"",()=>`${JSON.stringify({fileName:u,currentDirectory:s,hostCurrentDirectory:this.currentDirectory,openKeys:ga(this.openFilesWithNonRootedDiskPath.keys())})} +Open script files with non rooted disk path opened with current directory context cannot have same canonical names`),H.assert(!k||this.currentDirectory===s||this.useInferredProjectPerProjectRoot,"",()=>`${JSON.stringify({fileName:u,currentDirectory:s,hostCurrentDirectory:this.currentDirectory,openKeys:ga(this.openFilesWithNonRootedDiskPath.keys())})} +Dynamic files must always be opened with service's current directory or service should support inferred project per projectRootPath.`),!d&&!k&&!(v||this.host).fileExists(u))return;B=new Xpe(this.host,u,p,!!E,b,this.filenameToScriptInfoVersion.get(b)),this.filenameToScriptInfo.set(B.path,B),this.filenameToScriptInfoVersion.delete(B.path),d?!Nf(u)&&(!k||this.currentDirectory!==s)&&this.openFilesWithNonRootedDiskPath.set(this.toCanonicalFileName(u),B):this.watchClosedScriptInfo(B)}return d&&(this.stopWatchingScriptInfo(B),B.open(f),E&&B.registerFileUpdate()),B}getScriptInfoForNormalizedPath(u){return!Nf(u)&&this.openFilesWithNonRootedDiskPath.get(this.toCanonicalFileName(u))||this.getScriptInfoForPath(OK(u,this.currentDirectory,this.toCanonicalFileName))}getScriptInfoForPath(u){return this.filenameToScriptInfo.get(u)}getDocumentPositionMapper(u,s,d){const f=this.getOrCreateScriptInfoNotOpenedByClient(s,u.currentDirectory,this.host);if(!f){d&&u.addGeneratedFileWatch(s,d);return}if(f.getSnapshot(),Wa(f.sourceMapFilePath)){const k=this.getScriptInfoForPath(f.sourceMapFilePath);if(k&&(k.getSnapshot(),k.documentPositionMapper!==void 0))return k.sourceInfos=this.addSourceInfoToSourceMap(d,u,k.sourceInfos),k.documentPositionMapper?k.documentPositionMapper:void 0;f.sourceMapFilePath=void 0}else if(f.sourceMapFilePath){f.sourceMapFilePath.sourceInfos=this.addSourceInfoToSourceMap(d,u,f.sourceMapFilePath.sourceInfos);return}else if(f.sourceMapFilePath!==void 0)return;let p,E,v=(k,T)=>{const M=this.getOrCreateScriptInfoNotOpenedByClient(k,u.currentDirectory,this.host);if(!M){E=T;return}p=M;const z=M.getSnapshot();return M.documentPositionMapper!==void 0?M.documentPositionMapper:uw(z)};const b=u.projectName,B=Wfe({getCanonicalFileName:this.toCanonicalFileName,log:k=>this.logger.info(k),getSourceFileLike:k=>this.getSourceFileLike(k,b,f)},f.fileName,f.textStorage.getLineInfo(),v);return v=void 0,p?(f.sourceMapFilePath=p.path,p.declarationInfoPath=f.path,p.documentPositionMapper=B||!1,p.sourceInfos=this.addSourceInfoToSourceMap(d,u,p.sourceInfos)):E?f.sourceMapFilePath={watcher:this.addMissingSourceMapFile(u.currentDirectory===this.currentDirectory?E:Ga(E,u.currentDirectory),f.path),sourceInfos:this.addSourceInfoToSourceMap(d,u)}:f.sourceMapFilePath=!1,B}addSourceInfoToSourceMap(u,s,d){if(u){const f=this.getOrCreateScriptInfoNotOpenedByClient(u,s.currentDirectory,s.directoryStructureHost);(d||(d=new Set)).add(f.path)}return d}addMissingSourceMapFile(u,s){return this.watchFactory.watchFile(u,()=>{const f=this.getScriptInfoForPath(s);f&&f.sourceMapFilePath&&!Wa(f.sourceMapFilePath)&&(this.delayUpdateProjectGraphs(f.containingProjects,!0),this.delayUpdateSourceInfoProjects(f.sourceMapFilePath.sourceInfos),f.closeSourceMapFileWatcher())},2e3,this.hostConfiguration.watchOptions,sd.MissingSourceMapFile)}getSourceFileLike(u,s,d){const f=s.projectName?s:this.findProject(s);if(f){const E=f.toPath(u),v=f.getSourceFile(E);if(v&&v.resolvedPath===E)return v}const p=this.getOrCreateScriptInfoNotOpenedByClient(u,(f||this).currentDirectory,f?f.directoryStructureHost:this.host);if(p){if(d&&Wa(d.sourceMapFilePath)&&p!==d){const E=this.getScriptInfoForPath(d.sourceMapFilePath);E&&(E.sourceInfos||(E.sourceInfos=new Set)).add(p.path)}return p.cacheSourceFile?p.cacheSourceFile.sourceFile:(p.sourceFileLike||(p.sourceFileLike={get text(){return H.fail("shouldnt need text"),""},getLineAndCharacterOfPosition:E=>{const v=p.positionToLineOffset(E);return{line:v.line-1,character:v.offset-1}},getPositionOfLineAndCharacter:(E,v,b)=>p.lineOffsetToPosition(E+1,v+1,b)}),p.sourceFileLike)}}setPerformanceEventHandler(u){this.performanceEventHandler=u}setHostConfiguration(u){var s;if(u.file){const d=this.getScriptInfoForNormalizedPath(_l(u.file));d&&(d.setOptions(Fw(u.formatOptions),u.preferences),this.logger.info(`Host configuration update for file ${u.file}`))}else{if(u.hostInfo!==void 0&&(this.hostConfiguration.hostInfo=u.hostInfo,this.logger.info(`Host information ${u.hostInfo}`)),u.formatOptions&&(this.hostConfiguration.formatCodeOptions={...this.hostConfiguration.formatCodeOptions,...Fw(u.formatOptions)},this.logger.info("Format host information updated")),u.preferences){const{lazyConfiguredProjectsFromExternalProject:d,includePackageJsonAutoImports:f}=this.hostConfiguration.preferences;this.hostConfiguration.preferences={...this.hostConfiguration.preferences,...u.preferences},d&&!this.hostConfiguration.preferences.lazyConfiguredProjectsFromExternalProject&&this.configuredProjects.forEach(p=>{p.hasExternalProjectRef()&&p.pendingUpdateLevel===2&&!this.pendingProjectUpdates.has(p.getProjectName())&&p.updateGraph()}),f!==u.preferences.includePackageJsonAutoImports&&this.invalidateProjectPackageJson(void 0)}u.extraFileExtensions&&(this.hostConfiguration.extraFileExtensions=u.extraFileExtensions,this.reloadProjects(),this.logger.info("Host file extension mappings updated")),u.watchOptions&&(this.hostConfiguration.watchOptions=(s=KK(u.watchOptions))==null?void 0:s.watchOptions,this.logger.info(`Host watch options changed to ${JSON.stringify(this.hostConfiguration.watchOptions)}, it will be take effect for next watches.`))}}getWatchOptions(u){return this.getWatchOptionsFromProjectWatchOptions(u.getWatchOptions())}getWatchOptionsFromProjectWatchOptions(u){return u&&this.hostConfiguration.watchOptions?{...this.hostConfiguration.watchOptions,...u}:u||this.hostConfiguration.watchOptions}closeLog(){this.logger.close()}reloadProjects(){this.logger.info("reload projects."),this.filenameToScriptInfo.forEach(u=>{this.openFiles.has(u.path)||u.fileWatcher&&this.onSourceFileChanged(u,this.host.fileExists(u.fileName)?1:2)}),this.pendingProjectUpdates.forEach((u,s)=>{this.throttledOperations.cancel(s),this.pendingProjectUpdates.delete(s)}),this.throttledOperations.cancel(fNe),this.pendingEnsureProjectForOpenFiles=!1,this.configFileExistenceInfoCache.forEach(u=>{u.config&&(u.config.updateLevel=2)}),this.reloadConfiguredProjectForFiles(this.openFiles,!0,!1,G3,"User requested reload projects"),this.externalProjects.forEach(u=>{this.clearSemanticCache(u),u.updateGraph()}),this.inferredProjects.forEach(u=>this.clearSemanticCache(u)),this.ensureProjectForOpenFiles()}reloadConfiguredProjectForFiles(u,s,d,f,p){const E=new Map,v=b=>{E.has(b.canonicalConfigFilePath)||(E.set(b.canonicalConfigFilePath,!0),this.reloadConfiguredProject(b,p,!1,s))};u==null||u.forEach((b,B)=>{if(this.configFileForOpenFiles.delete(B),!f(b))return;const k=this.getScriptInfoForPath(B);H.assert(k.isScriptOpen());const T=this.getConfigFileNameForFile(k);if(T){const M=this.findConfiguredProjectByProjectName(T)||this.createConfiguredProject(T);E.has(M.canonicalConfigFilePath)||(E.set(M.canonicalConfigFilePath,!0),d?(M.pendingUpdateLevel=2,M.pendingUpdateReason=p,s&&this.clearSemanticCache(M),this.delayUpdateProjectGraph(M)):(this.reloadConfiguredProject(M,p,!1,s),f9(M,k)||Aw(M,k.path,j=>(v(j),f9(j,k)),1)&&Aw(M,void 0,v,0)))}})}removeRootOfInferredProjectIfNowPartOfOtherProject(u){H.assert(u.containingProjects.length>0);const s=u.containingProjects[0];!s.isOrphan()&&kw(s)&&s.isRoot(u)&&L(u.containingProjects,d=>d!==s&&!d.isOrphan())&&s.removeFile(u,!0,!0)}ensureProjectForOpenFiles(){this.logger.info("Before ensureProjectForOpenFiles:"),this.printProjects(),this.openFiles.forEach((u,s)=>{const d=this.getScriptInfoForPath(s);d.isOrphan()?this.assignOrphanScriptInfoToInferredProject(d,u):this.removeRootOfInferredProjectIfNowPartOfOtherProject(d)}),this.pendingEnsureProjectForOpenFiles=!1,this.inferredProjects.forEach(Wm),this.logger.info("After ensureProjectForOpenFiles:"),this.printProjects()}openClientFile(u,s,d,f){return this.openClientFileWithNormalizedPath(_l(u),s,d,!1,f?_l(f):void 0)}getOriginalLocationEnsuringConfiguredProject(u,s){const d=u.isSourceOfProjectReferenceRedirect(s.fileName),f=d?s:u.getSourceMapper().tryGetSourcePosition(s);if(!f)return;const{fileName:p}=f,E=this.getScriptInfo(p);if(!E&&!this.host.fileExists(p))return;const v={fileName:_l(p),path:this.toPath(p)},b=this.getConfigFileNameForFile(v);if(!b)return;let B=this.findConfiguredProjectByProjectName(b);if(!B){if(u.getCompilerOptions().disableReferencedProjectLoad)return d?s:E!=null&&E.containingProjects.length?f:s;B=this.createAndLoadConfiguredProject(b,`Creating project for original file: ${v.fileName}${s!==f?" for location: "+s.fileName:""}`)}Wm(B);const k=z=>{const j=this.getScriptInfo(p);return j&&f9(z,j)};if(B.isSolution()||!k(B)){if(B=Aw(B,p,z=>(Wm(z),k(z)?z:void 0),2,`Creating project referenced in solution ${B.projectName} to find possible configured project for original file: ${v.fileName}${s!==f?" for location: "+s.fileName:""}`),!B)return;if(B===u)return f}M(B);const T=this.getScriptInfo(p);if(!T||!T.containingProjects.length)return;return T.containingProjects.forEach(z=>{Zv(z)&&M(z)}),f;function M(z){u.originalConfiguredProjects||(u.originalConfiguredProjects=new Set),u.originalConfiguredProjects.add(z.canonicalConfigFilePath)}}fileExists(u){return!!this.getScriptInfoForNormalizedPath(u)||this.host.fileExists(u)}findExternalProjectContainingOpenScriptInfo(u){return Le(this.externalProjects,s=>(Wm(s),s.containsScriptInfo(u)))}getOrCreateOpenScriptInfo(u,s,d,f,p){const E=this.getOrCreateScriptInfoOpenedByClientForNormalizedPath(u,p?this.getNormalizedAbsolutePath(p):this.currentDirectory,s,d,f);return this.openFiles.set(E.path,p),E}assignProjectToOpenedScriptInfo(u){let s,d,f=this.findExternalProjectContainingOpenScriptInfo(u),p,E,v=!1;return!f&&this.serverMode===0&&(s=this.getConfigFileNameForFile(u),s&&(f=this.findConfiguredProjectByProjectName(s),f?Wm(f):(f=this.createLoadAndUpdateConfiguredProject(s,`Creating possible configured project for ${u.fileName} to open`),v=!0),E=f.containsScriptInfo(u)?f:void 0,p=f,f9(f,u)||Aw(f,u.path,b=>{if(Wm(b),ja(p)?p.push(b):p=[f,b],f9(b,u))return E=b,b;!E&&b.containsScriptInfo(u)&&(E=b)},2,`Creating project referenced in solution ${f.projectName} to find possible configured project for ${u.fileName} to open`),E?(s=E.getConfigFilePath(),(E!==f||v)&&(d=E.getAllProjectErrors(),this.sendConfigFileDiagEvent(E,u.fileName))):s=void 0,this.createAncestorProjects(u,f))),u.containingProjects.forEach(Wm),u.isOrphan()&&(ja(p)?p.forEach(b=>this.sendConfigFileDiagEvent(b,u.fileName)):p&&this.sendConfigFileDiagEvent(p,u.fileName),H.assert(this.openFiles.has(u.path)),this.assignOrphanScriptInfoToInferredProject(u,this.openFiles.get(u.path))),H.assert(!u.isOrphan()),{configFileName:s,configFileErrors:d,retainProjects:p}}createAncestorProjects(u,s){if(u.isAttached(s))for(;;){if(!s.isInitialLoadPending()&&(!s.getCompilerOptions().composite||s.getCompilerOptions().disableSolutionSearching))return;const d=this.getConfigFileNameForFile({fileName:s.getConfigFilePath(),path:u.path,configFileInfo:!0});if(!d)return;const f=this.findConfiguredProjectByProjectName(d)||this.createConfiguredProjectWithDelayLoad(d,`Creating project possibly referencing default composite project ${s.getProjectName()} of open file ${u.fileName}`);f.isInitialLoadPending()&&f.setPotentialProjectReference(s.canonicalConfigFilePath),s=f}}loadAncestorProjectTree(u){u=u||P0(this.configuredProjects,(d,f)=>f.isInitialLoadPending()?void 0:[d,!0]);const s=new Set;for(const d of ga(this.configuredProjects.values()))wct(d,f=>u.has(f))&&Wm(d),this.ensureProjectChildren(d,u,s)}ensureProjectChildren(u,s,d){var f;if(!k0(d,u.canonicalConfigFilePath)||u.getCompilerOptions().disableReferencedProjectLoad)return;const p=(f=u.getCurrentProgram())==null?void 0:f.getResolvedProjectReferences();if(p)for(const E of p){if(!E)continue;const v=A1e(E.references,k=>s.has(k.sourceFile.path)?k:void 0);if(!v)continue;const b=_l(E.sourceFile.fileName),B=u.projectService.findConfiguredProjectByProjectName(b)||u.projectService.createAndLoadConfiguredProject(b,`Creating project referenced by : ${u.projectName} as it references project ${v.sourceFile.fileName}`);Wm(B),this.ensureProjectChildren(B,s,d)}}cleanupAfterOpeningFile(u){this.removeOrphanConfiguredProjects(u);for(const s of this.inferredProjects.slice())s.isOrphan()&&this.removeProject(s);this.removeOrphanScriptInfos()}openClientFileWithNormalizedPath(u,s,d,f,p){const E=this.getOrCreateOpenScriptInfo(u,s,d,f,p),{retainProjects:v,...b}=this.assignProjectToOpenedScriptInfo(E);return this.cleanupAfterOpeningFile(v),this.telemetryOnOpenFile(E),this.printProjects(),b}removeOrphanConfiguredProjects(u){const s=new Map(this.configuredProjects),d=E=>{!E.isOrphan()&&E.originalConfiguredProjects&&E.originalConfiguredProjects.forEach((v,b)=>{const B=this.getConfiguredProjectByCanonicalConfigFilePath(b);return B&&p(B)})};u&&(ja(u)?u.forEach(p):p(u)),this.inferredProjects.forEach(d),this.externalProjects.forEach(d),this.configuredProjects.forEach(E=>{E.hasOpenRef()?p(E):s.has(E.canonicalConfigFilePath)&&Tct(E,v=>f(v)&&p(E))}),s.forEach(E=>this.removeProject(E));function f(E){return E.hasOpenRef()||!s.has(E.canonicalConfigFilePath)}function p(E){s.delete(E.canonicalConfigFilePath)&&(d(E),Tct(E,p))}}removeOrphanScriptInfos(){const u=new Map(this.filenameToScriptInfo);this.filenameToScriptInfo.forEach(s=>{if(!s.isScriptOpen()&&s.isOrphan()&&!s.isContainedByBackgroundProject()){if(!s.sourceMapFilePath)return;let d;if(Wa(s.sourceMapFilePath)){const f=this.getScriptInfoForPath(s.sourceMapFilePath);d=f&&f.sourceInfos}else d=s.sourceMapFilePath.sourceInfos;if(!d||!$_(d,f=>{const p=this.getScriptInfoForPath(f);return!!p&&(p.isScriptOpen()||!p.isOrphan())}))return}if(u.delete(s.path),s.sourceMapFilePath){let d;if(Wa(s.sourceMapFilePath)){u.delete(s.sourceMapFilePath);const f=this.getScriptInfoForPath(s.sourceMapFilePath);d=f&&f.sourceInfos}else d=s.sourceMapFilePath.sourceInfos;d&&d.forEach((f,p)=>u.delete(p))}}),u.forEach(s=>{this.stopWatchingScriptInfo(s),this.deleteScriptInfo(s),s.closeSourceMapFileWatcher()})}telemetryOnOpenFile(u){if(this.serverMode!==0||!this.eventHandler||!u.isJavaScript()||!Pp(this.allJsFilesForOpenFileTelemetry,u.path))return;const s=this.ensureDefaultProjectForFile(u);if(!s.languageServiceEnabled)return;const d=s.getSourceFile(u.path),f=!!d&&!!d.checkJsDirective;this.eventHandler({eventName:lge,data:{info:{checkJs:f}}})}closeClientFile(u,s){const d=this.getScriptInfoForNormalizedPath(_l(u)),f=d?this.closeOpenFile(d,s):!1;return s||this.printProjects(),f}collectChanges(u,s,d,f){for(const p of s){const E=Le(u,v=>v.projectName===p.getProjectName());f.push(p.getChangesSinceVersion(E&&E.version,d))}}synchronizeProjectList(u,s){const d=[];return this.collectChanges(u,this.externalProjects,s,d),this.collectChanges(u,this.configuredProjects.values(),s,d),this.collectChanges(u,this.inferredProjects,s,d),d}applyChangesInOpenFiles(u,s,d){let f,p=!1;if(u)for(const v of u){const b=this.getOrCreateOpenScriptInfo(_l(v.fileName),v.content,oge(v.scriptKind),v.hasMixedContent,v.projectRootPath?_l(v.projectRootPath):void 0);(f||(f=[])).push(b)}if(s)for(const v of s){const b=this.getScriptInfo(v.fileName);H.assert(!!b),this.applyChangesToFile(b,v.changes)}if(d)for(const v of d)p=this.closeClientFile(v,!0)||p;let E;f&&(E=Ku(f,v=>this.assignProjectToOpenedScriptInfo(v).retainProjects)),p&&this.assignOrphanScriptInfosToInferredProject(),f?(this.cleanupAfterOpeningFile(E),f.forEach(v=>this.telemetryOnOpenFile(v)),this.printProjects()):S(d)&&this.printProjects()}applyChangesToFile(u,s){for(const d of s)u.editContent(d.span.start,d.span.start+d.span.length,d.newText)}closeConfiguredProjectReferencedFromExternalProject(u){const s=this.findConfiguredProjectByProjectName(u);if(s&&(s.deleteExternalProjectReference(),!s.hasOpenRef())){this.removeProject(s);return}}closeExternalProject(u){const s=_l(u),d=this.externalProjectToConfiguredProjectMap.get(s);if(d){for(const f of d)this.closeConfiguredProjectReferencedFromExternalProject(f);this.externalProjectToConfiguredProjectMap.delete(s)}else{const f=this.findExternalProjectByProjectName(u);f&&this.removeProject(f)}}openExternalProjects(u){const s=og(this.externalProjects,d=>d.getProjectName(),d=>!0);$_(this.externalProjectToConfiguredProjectMap,d=>{s.set(d,!0)});for(const d of u)this.openExternalProject(d),s.delete(d.projectFileName);$_(s,d=>{this.closeExternalProject(d)})}static escapeFilenameForRegex(u){return u.replace(this.filenameEscapeRegexp,"\\$&")}resetSafeList(){this.safelist=cge}applySafeList(u){const{rootFiles:s}=u,d=u.typeAcquisition;if(H.assert(!!d,"proj.typeAcquisition should be set by now"),d.enable===!1||d.disableFilenameBasedTypeAcquisition)return[];const f=d.include||(d.include=[]),p=[],E=s.map(k=>U1(k.fileName)),v=[];for(const k of Object.keys(this.safelist)){const T=this.safelist[k];for(const M of E)if(T.match.test(M)){if(this.logger.info(`Excluding files based on rule ${k} matching file '${M}'`),T.types)for(const z of T.types)f.includes(z)||f.push(z);if(T.exclude)for(const z of T.exclude){const j=M.replace(T.match,(...J)=>z.map(K=>typeof K=="number"?Wa(J[K])?ZOe.escapeFilenameForRegex(J[K]):(this.logger.info(`Incorrect RegExp specification in safelist rule ${k} - not enough groups`),"\\*"):K).join(""));p.includes(j)||p.push(j)}else{const z=ZOe.escapeFilenameForRegex(M);p.includes(z)||p.push(z)}}}const b=p.map(k=>new RegExp(k,"i")),B=[];for(let k=0;kT.test(E[k])))v.push(E[k]);else{let T=!1;if(d.enable){const M=Fc(Jg(E[k]));if(Ml(M,"js")){const z=Eh(M),j=ooe(z),J=this.legacySafelist.get(j);J!==void 0&&(this.logger.info(`Excluded '${E[k]}' because it matched ${j} from the legacy safelist`),v.push(E[k]),T=!0,f.includes(J)||f.push(J))}}T||(/^.+[.-]min\.js$/.test(E[k])?v.push(E[k]):B.push(u.rootFiles[k]))}return u.rootFiles=B,v}openExternalProject(u){u.typeAcquisition=u.typeAcquisition||{},u.typeAcquisition.include=u.typeAcquisition.include||[],u.typeAcquisition.exclude=u.typeAcquisition.exclude||[],u.typeAcquisition.enable===void 0&&(u.typeAcquisition.enable=iNe(u.rootFiles.map(v=>v.fileName)));const s=this.applySafeList(u);let d;const f=[];for(const v of u.rootFiles){const b=_l(v.fileName);Upe(b)?this.serverMode===0&&this.host.fileExists(b)&&(d||(d=[])).push(b):f.push(v)}d&&d.sort();const p=this.findExternalProjectByProjectName(u.projectFileName);let E;if(p){if(p.excludedFiles=s,!d){const v=$ee(u.options),b=KK(u.options,p.getCurrentDirectory()),B=this.getFilenameForExceededTotalSizeLimitForNonTsFiles(u.projectFileName,v,u.rootFiles,ote);B?p.disableLanguageService(B):p.enableLanguageService(),p.setProjectErrors(b==null?void 0:b.errors),this.updateRootAndOptionsOfNonInferredProject(p,u.rootFiles,ote,v,u.typeAcquisition,u.options.compileOnSave,b==null?void 0:b.watchOptions),p.updateGraph();return}this.closeExternalProject(u.projectFileName)}else if(this.externalProjectToConfiguredProjectMap.get(u.projectFileName))if(!d)this.closeExternalProject(u.projectFileName);else{const v=this.externalProjectToConfiguredProjectMap.get(u.projectFileName);let b=0,B=0;for(;bk||((E||(E=[])).push(T),B++),b++)}for(let k=B;kthis.logger.info(E));this.pendingPluginEnablements??(this.pendingPluginEnablements=new Map);let p=this.pendingPluginEnablements.get(u);p||this.pendingPluginEnablements.set(u,p=[]),p.push(f);return}this.endEnablePlugin(u,Hk.importServicePluginSync(s,d,this.host,f=>this.logger.info(f)))}endEnablePlugin(u,{pluginConfigEntry:s,resolvedModule:d,errorLogs:f}){var p;if(d){const E=(p=this.currentPluginConfigOverrides)==null?void 0:p.get(s.name);if(E){const v=s.name;s=E,s.name=v}u.enableProxy(d,s)}else L(f,E=>this.logger.info(E)),this.logger.info(`Couldn't find ${s.name}`)}hasNewPluginEnablementRequests(){return!!this.pendingPluginEnablements}hasPendingPluginEnablements(){return!!this.currentPluginEnablementPromise}async waitForPendingPlugins(){for(;this.currentPluginEnablementPromise;)await this.currentPluginEnablementPromise}enableRequestedPlugins(){this.pendingPluginEnablements&&this.enableRequestedPluginsAsync()}async enableRequestedPluginsAsync(){if(this.currentPluginEnablementPromise&&await this.waitForPendingPlugins(),!this.pendingPluginEnablements)return;const u=ga(this.pendingPluginEnablements.entries());this.pendingPluginEnablements=void 0,this.currentPluginEnablementPromise=this.enableRequestedPluginsWorker(u),await this.currentPluginEnablementPromise}async enableRequestedPluginsWorker(u){H.assert(this.currentPluginEnablementPromise===void 0),await Promise.all(Kt(u,([s,d])=>this.enableRequestedPluginsForProjectAsync(s,d))),this.currentPluginEnablementPromise=void 0,this.sendProjectsUpdatedInBackgroundEvent()}async enableRequestedPluginsForProjectAsync(u,s){const d=await Promise.all(s);if(!u.isClosed()){for(const f of d)this.endEnablePlugin(u,f);this.delayUpdateProjectGraph(u)}}configurePlugin(u){this.forEachEnabledProject(s=>s.onPluginConfigurationChanged(u.pluginName,u.configuration)),this.currentPluginConfigOverrides=this.currentPluginConfigOverrides||new Map,this.currentPluginConfigOverrides.set(u.pluginName,u.configuration)}getPackageJsonsVisibleToFile(u,s){const d=this.packageJsonCache,f=s&&this.toPath(s),p=this.toPath(u),E=[],v=b=>{switch(d.directoryHasPackageJson(b)){case 3:return d.searchDirectoryAndAncestors(b),v(b);case-1:const B=dr(b,"package.json");this.watchPackageJsonFile(B);const k=d.getInDirectory(b);k&&E.push(k)}if(f&&f===b)return!0};return $g(cr(p),v),E}getNearestAncestorDirectoryWithPackageJson(u){return $g(u,s=>{switch(this.packageJsonCache.directoryHasPackageJson(this.toPath(s))){case-1:return s;case 0:return;case 3:return this.host.fileExists(dr(s,"package.json"))?s:void 0}})}watchPackageJsonFile(u){const s=this.packageJsonFilesMap||(this.packageJsonFilesMap=new Map);s.has(u)||(this.invalidateProjectPackageJson(u),s.set(u,this.watchFactory.watchFile(u,(d,f)=>{const p=this.toPath(d);switch(f){case 0:return H.fail();case 1:this.packageJsonCache.addOrUpdate(p),this.invalidateProjectPackageJson(p);break;case 2:this.packageJsonCache.delete(p),this.invalidateProjectPackageJson(p),s.get(p).close(),s.delete(p)}},250,this.hostConfiguration.watchOptions,sd.PackageJson)))}onAddPackageJson(u){this.packageJsonCache.addOrUpdate(u),this.watchPackageJsonFile(u)}includePackageJsonAutoImports(){switch(this.hostConfiguration.preferences.includePackageJsonAutoImports){case"on":return 1;case"off":return 0;default:return 2}}invalidateProjectPackageJson(u){this.configuredProjects.forEach(s),this.inferredProjects.forEach(s),this.externalProjects.forEach(s);function s(d){u?d.onPackageJsonChange(u):d.onAutoImportProviderSettingsChanged()}}getIncompleteCompletionsCache(){return this.incompleteCompletionsCache||(this.incompleteCompletionsCache=IQt())}},mNe.filenameEscapeRegexp=/[-/\\^$*+?.()|[\]{}]/g,fge=mNe}});function pNe(t){let u,s,d;const f={get(b,B,k,T){if(!(!s||d!==E(b,k,T)))return s.get(B)},set(b,B,k,T,M,z){if(p(b,k,T).set(B,v(M,z,!1)),z){for(const j of M)if(j.isInNodeModules){const J=j.path.substring(0,j.path.indexOf(a_)+a_.length-1);u!=null&&u.has(J)||(u||(u=new Map)).set(J,t.watchNodeModulesForPackageJsonChanges(J))}}},setModulePaths(b,B,k,T,M){const z=p(b,k,T),j=z.get(B);j?j.modulePaths=M:z.set(B,v(M,void 0,void 0))},setBlockedByPackageJsonDependencies(b,B,k,T,M){const z=p(b,k,T),j=z.get(B);j?j.isBlockedByPackageJsonDependencies=M:z.set(B,v(void 0,void 0,M))},clear(){u==null||u.forEach(b=>b.close()),s==null||s.clear(),u==null||u.clear(),d=void 0},count(){return s?s.size:0}};return H.isDebugging&&Object.defineProperty(f,"__cache",{get:()=>s}),f;function p(b,B,k){const T=E(b,B,k);return s&&d!==T&&f.clear(),d=T,s||(s=new Map)}function E(b,B,k){return`${b},${B.importModuleSpecifierEnding},${B.importModuleSpecifierPreference},${k.overrideImportMode}`}function v(b,B,k){return{modulePaths:b,moduleSpecifiers:B,isBlockedByPackageJsonDependencies:k}}}var OQt=o({"src/server/moduleSpecifierCache.ts"(){Yv()}});function gNe(t){const u=new Map,s=new Map;return{addOrUpdate:d,forEach:u.forEach.bind(u),get:u.get.bind(u),delete:p=>{u.delete(p),s.set(cr(p),!0)},getInDirectory:p=>u.get(dr(p,"package.json"))||void 0,directoryHasPackageJson:f,searchDirectoryAndAncestors:p=>{$g(p,E=>{if(f(E)!==3)return!0;const v=t.toPath(dr(E,"package.json"));ZH(t,v)?d(v):s.set(E,!0)})}};function d(p){const E=H.checkDefined(vfe(p,t.host));u.set(p,E),s.delete(cr(p))}function f(p){return u.has(dr(p,"package.json"))?-1:s.has(p)?0:3}}var jQt=o({"src/server/packageJsonCache.ts"(){Yv()}});function VQt(t){const u=t[0],s=t[1];return(1e9*u+s)/1e6}function zct(t,u){if((kw(t)||tge(t))&&t.isJsOnlyProject()){const s=t.getScriptInfoForNormalizedPath(u);return s&&!s.isJavaScript()}return!1}function HQt(t){return l4(t)||!!t.emitDecoratorMetadata}function Ict(t,u,s){const d=u.getScriptInfoForNormalizedPath(t);return{start:d.positionToLineOffset(s.start),end:d.positionToLineOffset(s.start+s.length),text:sE(s.messageText,` +`),code:s.code,category:Ky(s),reportsUnnecessary:s.reportsUnnecessary,reportsDeprecated:s.reportsDeprecated,source:s.source,relatedInformation:Kt(s.relatedInformation,mge)}}function mge(t){return t.file?{span:{start:GK(o0(t.file,t.start)),end:GK(o0(t.file,t.start+t.length)),file:t.file.fileName},message:sE(t.messageText,` +`),category:Ky(t),code:t.code}:{message:sE(t.messageText,` +`),category:Ky(t),code:t.code}}function GK(t){return{line:t.line+1,offset:t.character+1}}function JK(t,u){const s=t.file&&GK(o0(t.file,t.start)),d=t.file&&GK(o0(t.file,t.start+t.length)),f=sE(t.messageText,` +`),{code:p,source:E}=t,v=Ky(t),b={start:s,end:d,text:f,code:p,category:v,reportsUnnecessary:t.reportsUnnecessary,reportsDeprecated:t.reportsDeprecated,source:E,relatedInformation:Kt(t.relatedInformation,mge)};return u?{...b,fileName:t.file&&t.file.fileName}:b}function KQt(t,u){return t.every(s=>gc(s.span)d(p,t));return!ja(s)&&s.symLinkedProjects&&s.symLinkedProjects.forEach((p,E)=>{const v=u(E);f.push(...Ku(p,b=>d(b,v)))}),li(f,vx)}function pge(){return roe(({textSpan:t})=>t.start+100003*t.length,DX)}function GQt(t,u,s,d,f,p){const E=Rct(t,u,s,!0,(B,k)=>B.getLanguageService().findRenameLocations(k.fileName,k.pos,d,f,p),(B,k)=>k(nz(B)));if(ja(E))return E;const v=[],b=pge();return E.forEach((B,k)=>{for(const T of B)!b.has(T)&&!gge(nz(T),k)&&(v.push(T),b.add(T))}),v}function JQt(t,u,s){const d=t.getLanguageService().getDefinitionAtPosition(u.fileName,u.pos,!1,s),f=d&&Ki(d);return f&&!f.isLocal?{fileName:f.fileName,pos:f.textSpan.start}:void 0}function $Qt(t,u,s,d){var f,p;const E=Rct(t,u,s,!1,(k,T)=>(d.info(`Finding references to ${T.fileName} position ${T.pos} in project ${k.getProjectName()}`),k.getLanguageService().findReferences(T.fileName,T.pos)),(k,T)=>{T(nz(k.definition));for(const M of k.references)T(nz(M))});if(ja(E))return E;const v=E.get(u);if(((p=(f=v==null?void 0:v[0])==null?void 0:f.references[0])==null?void 0:p.isDefinition)===void 0)E.forEach(k=>{for(const T of k)for(const M of T.references)delete M.isDefinition});else{const k=pge();for(const M of v)for(const z of M.references)if(z.isDefinition){k.add(z);break}const T=new Set;for(;;){let M=!1;if(E.forEach((z,j)=>{if(T.has(j))return;j.getLanguageService().updateIsDefinitionOfReferencedSymbols(z,k)&&(T.add(j),M=!0)}),!M)break}E.forEach((M,z)=>{if(!T.has(z))for(const j of M)for(const J of j.references)J.isDefinition=!1})}const b=[],B=pge();return E.forEach((k,T)=>{for(const M of k){const z=gge(nz(M.definition),T),j=z===void 0?M.definition:{...M.definition,textSpan:c1(z.pos,M.definition.textSpan.length),fileName:z.fileName,contextSpan:ZQt(M.definition,T)};let J=Le(b,K=>DX(K.definition,j));J||(J={definition:j,references:[]},b.push(J));for(const K of M.references)!B.has(K)&&!gge(nz(K),T)&&(B.add(K),J.references.push(K))}}),b.filter(k=>k.references.length!==0)}function DNe(t,u,s){for(const d of ja(t)?t:t.projects)s(d,u);!ja(t)&&t.symLinkedProjects&&t.symLinkedProjects.forEach((d,f)=>{for(const p of d)s(p,f)})}function Rct(t,u,s,d,f,p){const E=new Map,v=W$();v.enqueue({project:u,location:s}),DNe(t,s.fileName,(J,K)=>{const Y={fileName:K,pos:s.pos};v.enqueue({project:J,location:Y})});const b=u.projectService,B=u.getCancellationToken(),k=JQt(u,s,d),T=Nh(()=>u.isSourceOfProjectReferenceRedirect(k.fileName)?k:u.getLanguageService().getSourceMapper().tryGetGeneratedPosition(k)),M=Nh(()=>u.isSourceOfProjectReferenceRedirect(k.fileName)?k:u.getLanguageService().getSourceMapper().tryGetSourcePosition(k)),z=new Set;e:for(;!v.isEmpty();){for(;!v.isEmpty();){if(B.isCancellationRequested())break e;const{project:J,location:K}=v.dequeue();if(E.has(J)||Oct(J,K)||(Wm(J),!J.containsFile(_l(K.fileName))))continue;const Y=j(J,K);E.set(J,Y??$c),z.add(qQt(J))}k&&(b.loadAncestorProjectTree(z),b.forEachEnabledProject(J=>{if(B.isCancellationRequested()||E.has(J))return;const K=UQt(k,J,T,M);K&&v.enqueue({project:J,location:K})}))}if(E.size===1)return Ia(E.values());return E;function j(J,K){const Y=f(J,K);if(Y){for(const oe of Y)p(oe,se=>{const ge=b.getOriginalLocationEnsuringConfiguredProject(J,se);if(!ge)return;const ae=b.getScriptInfo(ge.fileName);for(const ne of ae.containingProjects)!ne.isOrphan()&&!E.has(ne)&&v.enqueue({project:ne,location:ge});const Ce=b.getSymlinkedProjects(ae);Ce&&Ce.forEach((ne,ve)=>{for(const Se of ne)!Se.isOrphan()&&!E.has(Se)&&v.enqueue({project:Se,location:{fileName:ve,pos:ge.pos}})})});return Y}}}function UQt(t,u,s,d){if(u.containsFile(_l(t.fileName))&&!Oct(u,t))return t;const f=s();if(f&&u.containsFile(_l(f.fileName)))return f;const p=d();return p&&u.containsFile(_l(p.fileName))?p:void 0}function Oct(t,u){if(!u)return!1;const s=t.getLanguageService().getProgram();if(!s)return!1;const d=s.getSourceFile(u.fileName);return!!d&&d.resolvedPath!==d.path&&d.resolvedPath!==t.toPath(u.fileName)}function qQt(t){return Zv(t)?t.canonicalConfigFilePath:t.getProjectName()}function nz({fileName:t,textSpan:u}){return{fileName:t,pos:u.start}}function gge(t,u){return MM(t,u.getSourceMapper(),s=>u.projectService.fileExists(s))}function jct(t,u){return xX(t,u.getSourceMapper(),s=>u.projectService.fileExists(s))}function ZQt(t,u){return lfe(t,u.getSourceMapper(),s=>u.projectService.fileExists(s))}function s_(t,u){return{start:u.positionToLineOffset(t.start),end:u.positionToLineOffset(gc(t))}}function xNe(t,u,s){const d=s_(t,s),f=u&&s_(u,s);return f?{...d,contextStart:f.start,contextEnd:f.end}:d}function YQt(t,u){return{start:Vct(u,t.span.start),end:Vct(u,gc(t.span)),newText:t.newText}}function Vct(t,u){return dNe(t)?XQt(t.getLineAndCharacterOfPosition(u)):t.positionToLineOffset(u)}function QQt(t,u){const s=t.ranges.map(d=>({start:u.positionToLineOffset(d.start),end:u.positionToLineOffset(d.start+d.length)}));return t.wordPattern?{ranges:s,wordPattern:t.wordPattern}:{ranges:s}}function XQt(t){return{line:t.line+1,offset:t.character+1}}function eXt(t){H.assert(t.textChanges.length===1);const u=Pn(t.textChanges);return H.assert(u.span.start===0&&u.span.length===0),{fileName:t.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:u.newText}]}}function vNe(t,u,s,d){const f=tXt(t,u,d),{line:p,character:E}=b8(t7(f),s);return{line:p+1,offset:E+1}}function tXt(t,u,s){for(const{fileName:d,textChanges:f}of s)if(d===u)for(let p=f.length-1;p>=0;p--){const{newText:E,span:{start:v,length:b}}=f[p];t=t.slice(0,v)+E+t.slice(v+b)}return t}function Hct(t,{fileName:u,textSpan:s,contextSpan:d,isWriteAccess:f,isDefinition:p},{disableLineTextInReferences:E}){const v=H.checkDefined(t.getScriptInfo(u)),b=xNe(s,d,v),B=E?void 0:iXt(v,b);return{file:u,...b,lineText:B,isWriteAccess:f,isDefinition:p}}function iXt(t,u){const s=t.lineToTextSpan(u.start.line-1);return t.getSnapshot().getText(s.start,gc(s)).replace(/\r|\n/g,"")}function nXt(t){return t===void 0||t&&typeof t=="object"&&typeof t.exportName=="string"&&(t.fileName===void 0||typeof t.fileName=="string")&&(t.ambientModuleName===void 0||typeof t.ambientModuleName=="string"&&(t.isPackageJsonImport===void 0||typeof t.isPackageJsonImport=="boolean"))}var CNe,bNe,Kct,yNe,Wct,kNe,uXt=o({"src/server/session.ts"(){Yv(),g9(),QLe(),CNe={isCancellationRequested:()=>!1,setRequest:()=>{},resetRequest:()=>{}},bNe=Ype,Kct=class{constructor(t){this.operationHost=t}startNew(t){this.complete(),this.requestId=this.operationHost.getCurrentRequestId(),this.executeAction(t)}complete(){this.requestId!==void 0&&(this.operationHost.sendRequestCompletedEvent(this.requestId),this.requestId=void 0),this.setTimerHandle(void 0),this.setImmediateId(void 0)}immediate(t,u){const s=this.requestId;H.assert(s===this.operationHost.getCurrentRequestId(),"immediate: incorrect request id"),this.setImmediateId(this.operationHost.getServerHost().setImmediate(()=>{this.immediateId=void 0,this.operationHost.executeWithRequestId(s,()=>this.executeAction(u))},t))}delay(t,u,s){const d=this.requestId;H.assert(d===this.operationHost.getCurrentRequestId(),"delay: incorrect request id"),this.setTimerHandle(this.operationHost.getServerHost().setTimeout(()=>{this.timerHandle=void 0,this.operationHost.executeWithRequestId(d,()=>this.executeAction(s))},u,t))}executeAction(t){var u,s,d,f,p,E;let v=!1;try{this.operationHost.isCancellationRequested()?(v=!0,(u=Jn)==null||u.instant(Jn.Phase.Session,"stepCanceled",{seq:this.requestId,early:!0})):((s=Jn)==null||s.push(Jn.Phase.Session,"stepAction",{seq:this.requestId}),t(this),(d=Jn)==null||d.pop())}catch(b){(f=Jn)==null||f.popAll(),v=!0,b instanceof v8?(p=Jn)==null||p.instant(Jn.Phase.Session,"stepCanceled",{seq:this.requestId}):((E=Jn)==null||E.instant(Jn.Phase.Session,"stepError",{seq:this.requestId,message:b.message}),this.operationHost.logError(b,`delayed processing of request ${this.requestId}`))}(v||!this.hasPendingWork())&&this.complete()}setTimerHandle(t){this.timerHandle!==void 0&&this.operationHost.getServerHost().clearTimeout(this.timerHandle),this.timerHandle=t}setImmediateId(t){this.immediateId!==void 0&&this.operationHost.getServerHost().clearImmediate(this.immediateId),this.immediateId=t}hasPendingWork(){return!!this.timerHandle||!!this.immediateId}},yNe=["openExternalProject","openExternalProjects","closeExternalProject","synchronizeProjectList","emit-output","compileOnSaveAffectedFileList","compileOnSaveEmitFile","compilerOptionsDiagnostics-full","encodedSemanticClassifications-full","semanticDiagnosticsSync","suggestionDiagnosticsSync","geterrForProject","reload","reloadProjects","getCodeFixes","getCodeFixes-full","getCombinedCodeFix","getCombinedCodeFix-full","applyCodeActionCommand","getSupportedCodeFixes","getApplicableRefactors","getMoveToRefactoringFileSuggestions","getEditsForRefactor","getEditsForRefactor-full","organizeImports","organizeImports-full","getEditsForFileRename","getEditsForFileRename-full","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls"],Wct=[...yNe,"definition","definition-full","definitionAndBoundSpan","definitionAndBoundSpan-full","typeDefinition","implementation","implementation-full","references","references-full","rename","renameLocations-full","rename-full","quickinfo","quickinfo-full","completionInfo","completions","completions-full","completionEntryDetails","completionEntryDetails-full","signatureHelp","signatureHelp-full","navto","navto-full","documentHighlights","documentHighlights-full"],kNe=class U3e{constructor(u){this.changeSeq=0,this.handlers=new Map(Object.entries({status:()=>{const p={version:_};return this.requiredResponse(p)},openExternalProject:p=>(this.projectService.openExternalProject(p.arguments),this.requiredResponse(!0)),openExternalProjects:p=>(this.projectService.openExternalProjects(p.arguments.projects),this.requiredResponse(!0)),closeExternalProject:p=>(this.projectService.closeExternalProject(p.arguments.projectFileName),this.requiredResponse(!0)),synchronizeProjectList:p=>{const E=this.projectService.synchronizeProjectList(p.arguments.knownProjects,p.arguments.includeProjectReferenceRedirectInfo);if(!E.some(b=>b.projectErrors&&b.projectErrors.length!==0))return this.requiredResponse(E);const v=Kt(E,b=>!b.projectErrors||b.projectErrors.length===0?b:{info:b.info,changes:b.changes,files:b.files,projectErrors:this.convertToDiagnosticsWithLinePosition(b.projectErrors,void 0)});return this.requiredResponse(v)},updateOpen:p=>(this.changeSeq++,this.projectService.applyChangesInOpenFiles(p.arguments.openFiles&&jr(p.arguments.openFiles,E=>({fileName:E.file,content:E.fileContent,scriptKind:E.scriptKindName,projectRootPath:E.projectRootPath})),p.arguments.changedFiles&&jr(p.arguments.changedFiles,E=>({fileName:E.fileName,changes:_o(vd(E.textChanges),v=>{const b=H.checkDefined(this.projectService.getScriptInfo(E.fileName)),B=b.lineOffsetToPosition(v.start.line,v.start.offset),k=b.lineOffsetToPosition(v.end.line,v.end.offset);return B>=0?{span:{start:B,length:k-B},newText:v.newText}:void 0})})),p.arguments.closedFiles),this.requiredResponse(!0)),applyChangedToOpenFiles:p=>(this.changeSeq++,this.projectService.applyChangesInOpenFiles(p.arguments.openFiles,p.arguments.changedFiles&&jr(p.arguments.changedFiles,E=>({fileName:E.fileName,changes:vd(E.changes)})),p.arguments.closedFiles),this.requiredResponse(!0)),exit:()=>(this.exit(),this.notRequired()),definition:p=>this.requiredResponse(this.getDefinition(p.arguments,!0)),"definition-full":p=>this.requiredResponse(this.getDefinition(p.arguments,!1)),definitionAndBoundSpan:p=>this.requiredResponse(this.getDefinitionAndBoundSpan(p.arguments,!0)),"definitionAndBoundSpan-full":p=>this.requiredResponse(this.getDefinitionAndBoundSpan(p.arguments,!1)),findSourceDefinition:p=>this.requiredResponse(this.findSourceDefinition(p.arguments)),"emit-output":p=>this.requiredResponse(this.getEmitOutput(p.arguments)),typeDefinition:p=>this.requiredResponse(this.getTypeDefinition(p.arguments)),implementation:p=>this.requiredResponse(this.getImplementation(p.arguments,!0)),"implementation-full":p=>this.requiredResponse(this.getImplementation(p.arguments,!1)),references:p=>this.requiredResponse(this.getReferences(p.arguments,!0)),"references-full":p=>this.requiredResponse(this.getReferences(p.arguments,!1)),rename:p=>this.requiredResponse(this.getRenameLocations(p.arguments,!0)),"renameLocations-full":p=>this.requiredResponse(this.getRenameLocations(p.arguments,!1)),"rename-full":p=>this.requiredResponse(this.getRenameInfo(p.arguments)),open:p=>(this.openClientFile(_l(p.arguments.file),p.arguments.fileContent,sge(p.arguments.scriptKindName),p.arguments.projectRootPath?_l(p.arguments.projectRootPath):void 0),this.notRequired()),quickinfo:p=>this.requiredResponse(this.getQuickInfoWorker(p.arguments,!0)),"quickinfo-full":p=>this.requiredResponse(this.getQuickInfoWorker(p.arguments,!1)),getOutliningSpans:p=>this.requiredResponse(this.getOutliningSpans(p.arguments,!0)),outliningSpans:p=>this.requiredResponse(this.getOutliningSpans(p.arguments,!1)),todoComments:p=>this.requiredResponse(this.getTodoComments(p.arguments)),indentation:p=>this.requiredResponse(this.getIndentation(p.arguments)),nameOrDottedNameSpan:p=>this.requiredResponse(this.getNameOrDottedNameSpan(p.arguments)),breakpointStatement:p=>this.requiredResponse(this.getBreakpointStatement(p.arguments)),braceCompletion:p=>this.requiredResponse(this.isValidBraceCompletion(p.arguments)),docCommentTemplate:p=>this.requiredResponse(this.getDocCommentTemplate(p.arguments)),getSpanOfEnclosingComment:p=>this.requiredResponse(this.getSpanOfEnclosingComment(p.arguments)),fileReferences:p=>this.requiredResponse(this.getFileReferences(p.arguments,!0)),"fileReferences-full":p=>this.requiredResponse(this.getFileReferences(p.arguments,!1)),format:p=>this.requiredResponse(this.getFormattingEditsForRange(p.arguments)),formatonkey:p=>this.requiredResponse(this.getFormattingEditsAfterKeystroke(p.arguments)),"format-full":p=>this.requiredResponse(this.getFormattingEditsForDocumentFull(p.arguments)),"formatonkey-full":p=>this.requiredResponse(this.getFormattingEditsAfterKeystrokeFull(p.arguments)),"formatRange-full":p=>this.requiredResponse(this.getFormattingEditsForRangeFull(p.arguments)),completionInfo:p=>this.requiredResponse(this.getCompletions(p.arguments,"completionInfo")),completions:p=>this.requiredResponse(this.getCompletions(p.arguments,"completions")),"completions-full":p=>this.requiredResponse(this.getCompletions(p.arguments,"completions-full")),completionEntryDetails:p=>this.requiredResponse(this.getCompletionEntryDetails(p.arguments,!1)),"completionEntryDetails-full":p=>this.requiredResponse(this.getCompletionEntryDetails(p.arguments,!0)),compileOnSaveAffectedFileList:p=>this.requiredResponse(this.getCompileOnSaveAffectedFileList(p.arguments)),compileOnSaveEmitFile:p=>this.requiredResponse(this.emitFile(p.arguments)),signatureHelp:p=>this.requiredResponse(this.getSignatureHelpItems(p.arguments,!0)),"signatureHelp-full":p=>this.requiredResponse(this.getSignatureHelpItems(p.arguments,!1)),"compilerOptionsDiagnostics-full":p=>this.requiredResponse(this.getCompilerOptionsDiagnostics(p.arguments)),"encodedSyntacticClassifications-full":p=>this.requiredResponse(this.getEncodedSyntacticClassifications(p.arguments)),"encodedSemanticClassifications-full":p=>this.requiredResponse(this.getEncodedSemanticClassifications(p.arguments)),cleanup:()=>(this.cleanup(),this.requiredResponse(!0)),semanticDiagnosticsSync:p=>this.requiredResponse(this.getSemanticDiagnosticsSync(p.arguments)),syntacticDiagnosticsSync:p=>this.requiredResponse(this.getSyntacticDiagnosticsSync(p.arguments)),suggestionDiagnosticsSync:p=>this.requiredResponse(this.getSuggestionDiagnosticsSync(p.arguments)),geterr:p=>(this.errorCheck.startNew(E=>this.getDiagnostics(E,p.arguments.delay,p.arguments.files)),this.notRequired()),geterrForProject:p=>(this.errorCheck.startNew(E=>this.getDiagnosticsForProject(E,p.arguments.delay,p.arguments.file)),this.notRequired()),change:p=>(this.change(p.arguments),this.notRequired()),configure:p=>(this.projectService.setHostConfiguration(p.arguments),this.doOutput(void 0,"configure",p.seq,!0),this.notRequired()),reload:p=>(this.reload(p.arguments,p.seq),this.requiredResponse({reloadFinished:!0})),saveto:p=>{const E=p.arguments;return this.saveToTmp(E.file,E.tmpfile),this.notRequired()},close:p=>{const E=p.arguments;return this.closeClientFile(E.file),this.notRequired()},navto:p=>this.requiredResponse(this.getNavigateToItems(p.arguments,!0)),"navto-full":p=>this.requiredResponse(this.getNavigateToItems(p.arguments,!1)),brace:p=>this.requiredResponse(this.getBraceMatching(p.arguments,!0)),"brace-full":p=>this.requiredResponse(this.getBraceMatching(p.arguments,!1)),navbar:p=>this.requiredResponse(this.getNavigationBarItems(p.arguments,!0)),"navbar-full":p=>this.requiredResponse(this.getNavigationBarItems(p.arguments,!1)),navtree:p=>this.requiredResponse(this.getNavigationTree(p.arguments,!0)),"navtree-full":p=>this.requiredResponse(this.getNavigationTree(p.arguments,!1)),documentHighlights:p=>this.requiredResponse(this.getDocumentHighlights(p.arguments,!0)),"documentHighlights-full":p=>this.requiredResponse(this.getDocumentHighlights(p.arguments,!1)),compilerOptionsForInferredProjects:p=>(this.setCompilerOptionsForInferredProjects(p.arguments),this.requiredResponse(!0)),projectInfo:p=>this.requiredResponse(this.getProjectInfo(p.arguments)),reloadProjects:()=>(this.projectService.reloadProjects(),this.notRequired()),jsxClosingTag:p=>this.requiredResponse(this.getJsxClosingTag(p.arguments)),linkedEditingRange:p=>this.requiredResponse(this.getLinkedEditingRange(p.arguments)),getCodeFixes:p=>this.requiredResponse(this.getCodeFixes(p.arguments,!0)),"getCodeFixes-full":p=>this.requiredResponse(this.getCodeFixes(p.arguments,!1)),getCombinedCodeFix:p=>this.requiredResponse(this.getCombinedCodeFix(p.arguments,!0)),"getCombinedCodeFix-full":p=>this.requiredResponse(this.getCombinedCodeFix(p.arguments,!1)),applyCodeActionCommand:p=>this.requiredResponse(this.applyCodeActionCommand(p.arguments)),getSupportedCodeFixes:p=>this.requiredResponse(this.getSupportedCodeFixes(p.arguments)),getApplicableRefactors:p=>this.requiredResponse(this.getApplicableRefactors(p.arguments)),getEditsForRefactor:p=>this.requiredResponse(this.getEditsForRefactor(p.arguments,!0)),getMoveToRefactoringFileSuggestions:p=>this.requiredResponse(this.getMoveToRefactoringFileSuggestions(p.arguments)),"getEditsForRefactor-full":p=>this.requiredResponse(this.getEditsForRefactor(p.arguments,!1)),organizeImports:p=>this.requiredResponse(this.organizeImports(p.arguments,!0)),"organizeImports-full":p=>this.requiredResponse(this.organizeImports(p.arguments,!1)),getEditsForFileRename:p=>this.requiredResponse(this.getEditsForFileRename(p.arguments,!0)),"getEditsForFileRename-full":p=>this.requiredResponse(this.getEditsForFileRename(p.arguments,!1)),configurePlugin:p=>(this.configurePlugin(p.arguments),this.doOutput(void 0,"configurePlugin",p.seq,!0),this.notRequired()),selectionRange:p=>this.requiredResponse(this.getSmartSelectionRange(p.arguments,!0)),"selectionRange-full":p=>this.requiredResponse(this.getSmartSelectionRange(p.arguments,!1)),prepareCallHierarchy:p=>this.requiredResponse(this.prepareCallHierarchy(p.arguments)),provideCallHierarchyIncomingCalls:p=>this.requiredResponse(this.provideCallHierarchyIncomingCalls(p.arguments)),provideCallHierarchyOutgoingCalls:p=>this.requiredResponse(this.provideCallHierarchyOutgoingCalls(p.arguments)),toggleLineComment:p=>this.requiredResponse(this.toggleLineComment(p.arguments,!0)),"toggleLineComment-full":p=>this.requiredResponse(this.toggleLineComment(p.arguments,!1)),toggleMultilineComment:p=>this.requiredResponse(this.toggleMultilineComment(p.arguments,!0)),"toggleMultilineComment-full":p=>this.requiredResponse(this.toggleMultilineComment(p.arguments,!1)),commentSelection:p=>this.requiredResponse(this.commentSelection(p.arguments,!0)),"commentSelection-full":p=>this.requiredResponse(this.commentSelection(p.arguments,!1)),uncommentSelection:p=>this.requiredResponse(this.uncommentSelection(p.arguments,!0)),"uncommentSelection-full":p=>this.requiredResponse(this.uncommentSelection(p.arguments,!1)),provideInlayHints:p=>this.requiredResponse(this.provideInlayHints(p.arguments))})),this.host=u.host,this.cancellationToken=u.cancellationToken,this.typingsInstaller=u.typingsInstaller||Gee,this.byteLength=u.byteLength,this.hrtime=u.hrtime,this.logger=u.logger,this.canUseEvents=u.canUseEvents,this.suppressDiagnosticEvents=u.suppressDiagnosticEvents,this.noGetErrOnBackgroundUpdate=u.noGetErrOnBackgroundUpdate;const{throttleWaitMilliseconds:s}=u;this.eventHandler=this.canUseEvents?u.eventHandler||(p=>this.defaultEventHandler(p)):void 0;const d={executeWithRequestId:(p,E)=>this.executeWithRequestId(p,E),getCurrentRequestId:()=>this.currentRequestId,getServerHost:()=>this.host,logError:(p,E)=>this.logError(p,E),sendRequestCompletedEvent:p=>this.sendRequestCompletedEvent(p),isCancellationRequested:()=>this.cancellationToken.isCancellationRequested()};this.errorCheck=new Kct(d);const f={host:this.host,logger:this.logger,cancellationToken:this.cancellationToken,useSingleInferredProject:u.useSingleInferredProject,useInferredProjectPerProjectRoot:u.useInferredProjectPerProjectRoot,typingsInstaller:this.typingsInstaller,throttleWaitMilliseconds:s,eventHandler:this.eventHandler,suppressDiagnosticEvents:this.suppressDiagnosticEvents,globalPlugins:u.globalPlugins,pluginProbeLocations:u.pluginProbeLocations,allowLocalPluginLoads:u.allowLocalPluginLoads,typesMapLocation:u.typesMapLocation,serverMode:u.serverMode,session:this,canUseWatchEvents:u.canUseWatchEvents,incrementalVerifier:u.incrementalVerifier};switch(this.projectService=new fge(f),this.projectService.setPerformanceEventHandler(this.performanceEventHandler.bind(this)),this.gcTimer=new Zpe(this.host,7e3,this.logger),this.projectService.serverMode){case 0:break;case 1:yNe.forEach(p=>this.handlers.set(p,E=>{throw new Error(`Request: ${E.command} not allowed in LanguageServiceMode.PartialSemantic`)}));break;case 2:Wct.forEach(p=>this.handlers.set(p,E=>{throw new Error(`Request: ${E.command} not allowed in LanguageServiceMode.Syntactic`)}));break;default:H.assertNever(this.projectService.serverMode)}}sendRequestCompletedEvent(u){this.event({request_seq:u},"requestCompleted")}addPerformanceData(u,s){this.performanceData||(this.performanceData={}),this.performanceData[u]=(this.performanceData[u]??0)+s}performanceEventHandler(u){switch(u.kind){case"UpdateGraph":this.addPerformanceData("updateGraphDurationMs",u.durationMs);break;case"CreatePackageJsonAutoImportProvider":this.addPerformanceData("createAutoImportProviderProgramDurationMs",u.durationMs);break}}defaultEventHandler(u){switch(u.eventName){case WK:this.projectsUpdatedInBackgroundEvent(u.data.openFiles);break;case Yee:this.event({projectName:u.data.project.getProjectName(),reason:u.data.reason},u.eventName);break;case Qee:this.event({projectName:u.data.project.getProjectName()},u.eventName);break;case Xee:case nte:case ute:case rte:this.event(u.data,u.eventName);break;case ete:this.event({triggerFile:u.data.triggerFile,configFile:u.data.configFileName,diagnostics:Kt(u.data.diagnostics,s=>JK(s,!0))},u.eventName);break;case tte:{this.event({projectName:u.data.project.getProjectName(),languageServiceEnabled:u.data.languageServiceEnabled},u.eventName);break}case ite:{this.event({telemetryEventName:u.eventName,payload:u.data},"telemetry");break}}}projectsUpdatedInBackgroundEvent(u){this.projectService.logger.info(`got projects updated in background, updating diagnostics for ${u}`),u.length&&(!this.suppressDiagnosticEvents&&!this.noGetErrOnBackgroundUpdate&&this.errorCheck.startNew(s=>this.updateErrorCheck(s,u,100,!0)),this.event({openFiles:u},WK))}logError(u,s){this.logErrorWorker(u,s)}logErrorWorker(u,s,d){let f="Exception on executing command "+s;if(u.message&&(f+=`: +`+SM(u.message),u.stack&&(f+=` +`+SM(u.stack))),this.logger.hasLevel(3)){if(d)try{const{file:p,project:E}=this.getFileAndProject(d),v=E.getScriptInfoForNormalizedPath(p);if(v){const b=uw(v.getSnapshot());f+=` + +File text of ${d.file}:${SM(b)} +`}}catch{}if(u.ProgramFiles){f+=` + +Program files: ${JSON.stringify(u.ProgramFiles)} +`,f+=` + +Projects:: +`;let p=0;const E=v=>{f+=` +Project '${v.projectName}' (${iz[v.projectKind]}) ${p} +`,f+=v.filesToString(!0),f+=` +----------------------------------------------- +`,p++};this.projectService.externalProjects.forEach(E),this.projectService.configuredProjects.forEach(E),this.projectService.inferredProjects.forEach(E)}}this.logger.msg(f,"Err")}send(u){if(u.type==="event"&&!this.canUseEvents){this.logger.hasLevel(3)&&this.logger.info(`Session does not support events: ignored event: ${JSON.stringify(u)}`);return}this.writeMessage(u)}writeMessage(u){var s;const d=ENe(u,this.logger,this.byteLength,this.host.newLine);(s=dh)==null||s.logEvent(`Response message size: ${d.length}`),this.host.write(d)}event(u,s){this.send(_Ne(s,u))}doOutput(u,s,d,f,p){const E={seq:0,type:"response",command:s,request_seq:d,success:f,performanceData:this.performanceData};if(f){let v;if(ja(u))E.body=u,v=u.metadata,delete u.metadata;else if(typeof u=="object")if(u.metadata){const{metadata:b,...B}=u;E.body=B,v=b}else E.body=u;else E.body=u;v&&(E.metadata=v)}else H.assert(u===void 0);p&&(E.message=p),this.send(E)}semanticCheck(u,s){var d,f;(d=Jn)==null||d.push(Jn.Phase.Session,"semanticCheck",{file:u,configFilePath:s.canonicalConfigFilePath});const p=zct(s,u)?$c:s.getLanguageService().getSemanticDiagnostics(u).filter(E=>!!E.file);this.sendDiagnosticsEvent(u,s,p,"semanticDiag"),(f=Jn)==null||f.pop()}syntacticCheck(u,s){var d,f;(d=Jn)==null||d.push(Jn.Phase.Session,"syntacticCheck",{file:u,configFilePath:s.canonicalConfigFilePath}),this.sendDiagnosticsEvent(u,s,s.getLanguageService().getSyntacticDiagnostics(u),"syntaxDiag"),(f=Jn)==null||f.pop()}suggestionCheck(u,s){var d,f;(d=Jn)==null||d.push(Jn.Phase.Session,"suggestionCheck",{file:u,configFilePath:s.canonicalConfigFilePath}),this.sendDiagnosticsEvent(u,s,s.getLanguageService().getSuggestionDiagnostics(u),"suggestionDiag"),(f=Jn)==null||f.pop()}sendDiagnosticsEvent(u,s,d,f){try{this.event({file:u,diagnostics:d.map(p=>Ict(u,s,p))},f)}catch(p){this.logError(p,f)}}updateErrorCheck(u,s,d,f=!0){H.assert(!this.suppressDiagnosticEvents);const p=this.changeSeq,E=Math.min(d,200);let v=0;const b=()=>{v++,s.length>v&&u.delay("checkOne",E,B)},B=()=>{if(this.changeSeq!==p)return;let k=s[v];if(Wa(k)&&(k=this.toPendingErrorCheck(k),!k)){b();return}const{fileName:T,project:M}=k;if(Wm(M),!!M.containsFile(T,f)&&(this.syntacticCheck(T,M),this.changeSeq===p)){if(M.projectService.serverMode!==0){b();return}u.immediate("semanticCheck",()=>{if(this.semanticCheck(T,M),this.changeSeq===p){if(this.getPreferences(T).disableSuggestions){b();return}u.immediate("suggestionCheck",()=>{this.suggestionCheck(T,M),b()})}})}};s.length>v&&this.changeSeq===p&&u.delay("checkOne",d,B)}cleanProjects(u,s){if(s){this.logger.info(`cleaning ${u}`);for(const d of s)d.getLanguageService(!1).cleanupSemanticCache(),d.cleanupProgram()}}cleanup(){this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",ga(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc&&(this.logger.info("host.gc()"),this.host.gc())}getEncodedSyntacticClassifications(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u);return d.getEncodedSyntacticClassifications(s,u)}getEncodedSemanticClassifications(u){const{file:s,project:d}=this.getFileAndProject(u),f=u.format==="2020"?"2020":"original";return d.getLanguageService().getEncodedSemanticClassifications(s,u,f)}getProject(u){return u===void 0?void 0:this.projectService.findProject(u)}getConfigFileAndProject(u){const s=this.getProject(u.projectFileName),d=_l(u.file);return{configFile:s&&s.hasConfigFile(d)?d:void 0,project:s}}getConfigFileDiagnostics(u,s,d){const f=s.getAllProjectErrors(),p=s.getLanguageService().getCompilerOptionsDiagnostics(),E=ei(an(f,p),v=>!!v.file&&v.file.fileName===u);return d?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(E):Kt(E,v=>JK(v,!1))}convertToDiagnosticsWithLinePositionFromDiagnosticFile(u){return u.map(s=>({message:sE(s.messageText,this.host.newLine),start:s.start,length:s.length,category:Ky(s),code:s.code,source:s.source,startLocation:s.file&&GK(o0(s.file,s.start)),endLocation:s.file&&GK(o0(s.file,s.start+s.length)),reportsUnnecessary:s.reportsUnnecessary,reportsDeprecated:s.reportsDeprecated,relatedInformation:Kt(s.relatedInformation,mge)}))}getCompilerOptionsDiagnostics(u){const s=this.getProject(u.projectFileName);return this.convertToDiagnosticsWithLinePosition(ei(s.getLanguageService().getCompilerOptionsDiagnostics(),d=>!d.file),void 0)}convertToDiagnosticsWithLinePosition(u,s){return u.map(d=>({message:sE(d.messageText,this.host.newLine),start:d.start,length:d.length,category:Ky(d),code:d.code,source:d.source,startLocation:s&&s.positionToLineOffset(d.start),endLocation:s&&s.positionToLineOffset(d.start+d.length),reportsUnnecessary:d.reportsUnnecessary,reportsDeprecated:d.reportsDeprecated,relatedInformation:Kt(d.relatedInformation,mge)}))}getDiagnosticsWorker(u,s,d,f){const{project:p,file:E}=this.getFileAndProject(u);if(s&&zct(p,E))return $c;const v=p.getScriptInfoForNormalizedPath(E),b=d(p,E);return f?this.convertToDiagnosticsWithLinePosition(b,v):b.map(B=>Ict(E,p,B))}getDefinition(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=this.mapDefinitionInfoLocations(f.getLanguageService().getDefinitionAtPosition(d,p)||$c,f);return s?this.mapDefinitionInfo(E,f):E.map(U3e.mapToOriginalLocation)}mapDefinitionInfoLocations(u,s){return u.map(d=>{const f=jct(d,s);return f?{...f,containerKind:d.containerKind,containerName:d.containerName,kind:d.kind,name:d.name,failedAliasResolution:d.failedAliasResolution,...d.unverified&&{unverified:d.unverified}}:d})}getDefinitionAndBoundSpan(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=H.checkDefined(f.getScriptInfo(d)),v=f.getLanguageService().getDefinitionAndBoundSpan(d,p);if(!v||!v.definitions)return{definitions:$c,textSpan:void 0};const b=this.mapDefinitionInfoLocations(v.definitions,f),{textSpan:B}=v;return s?{definitions:this.mapDefinitionInfo(b,f),textSpan:s_(B,E)}:{definitions:b.map(U3e.mapToOriginalLocation),textSpan:B}}findSourceDefinition(u){var s;const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=f.getLanguageService().getDefinitionAtPosition(d,p);let v=this.mapDefinitionInfoLocations(E||$c,f).slice();if(this.projectService.serverMode===0&&(!Ge(v,z=>_l(z.fileName)!==d&&!z.isAmbient)||Ge(v,z=>!!z.failedAliasResolution))){const z=roe(Y=>Y.textSpan.start,DX);v==null||v.forEach(Y=>z.add(Y));const j=f.getNoDtsResolutionProject(d),J=j.getLanguageService(),K=(s=J.getDefinitionAtPosition(d,p,!0,!1))==null?void 0:s.filter(Y=>_l(Y.fileName)!==d);if(Ge(K))for(const Y of K){if(Y.unverified){const oe=T(Y,f.getLanguageService().getProgram(),J.getProgram());if(Ge(oe)){for(const se of oe)z.add(se);continue}}z.add(Y)}else{const Y=v.filter(oe=>_l(oe.fileName)!==d&&oe.isAmbient);for(const oe of Ge(Y)?Y:k()){const se=B(oe.fileName,d,j);if(!se)continue;const ge=this.projectService.getOrCreateScriptInfoNotOpenedByClient(se,j.currentDirectory,j.directoryStructureHost);if(!ge)continue;j.containsScriptInfo(ge)||(j.addRoot(ge),j.updateGraph());const ae=J.getProgram(),Ce=H.checkDefined(ae.getSourceFile(se));for(const ne of M(oe.name,Ce,ae))z.add(ne)}}v=ga(z.values())}return v=v.filter(z=>!z.isAmbient&&!z.failedAliasResolution),this.mapDefinitionInfo(v,f);function B(z,j,J){var K,Y,oe;const se=dZ(z);if(se&&z.lastIndexOf(a_)===se.topLevelNodeModulesIndex){const ge=z.substring(0,se.packageRootIndex),ae=(K=f.getModuleResolutionCache())==null?void 0:K.getPackageJsonInfoCache(),Ce=f.getCompilationSettings(),ne=uH(Ga(ge+"/package.json",f.getCurrentDirectory()),nH(ae,f,Ce));if(!ne)return;const ve=yde(ne,{moduleResolution:2},f,f.getModuleResolutionCache()),Se=z.substring(se.topLevelPackageNameIndex+1,se.packageRootIndex),Ne=dM(oH(Se)),pe=f.toPath(z);if(ve&&Ge(ve,fe=>f.toPath(fe)===pe))return(Y=J.resolutionCache.resolveSingleModuleNameWithoutWatching(Ne,j).resolvedModule)==null?void 0:Y.resolvedFileName;{const fe=z.substring(se.packageRootIndex+1),xe=`${Ne}/${Eh(fe)}`;return(oe=J.resolutionCache.resolveSingleModuleNameWithoutWatching(xe,j).resolvedModule)==null?void 0:oe.resolvedFileName}}}function k(){const z=f.getLanguageService(),j=z.getProgram(),J=rf(j.getSourceFile(d),p);return(t0(J)||at(J))&&M0(J.parent)&&Uye(J,K=>{var Y;if(K===J)return;const oe=(Y=z.getDefinitionAtPosition(d,K.getStart(),!0,!1))==null?void 0:Y.filter(se=>_l(se.fileName)!==d&&se.isAmbient).map(se=>({fileName:se.fileName,name:W4(J)}));if(Ge(oe))return oe})||$c}function T(z,j,J){var K;const Y=J.getSourceFile(z.fileName);if(!Y)return;const oe=rf(j.getSourceFile(d),p),se=j.getTypeChecker().getSymbolAtLocation(oe),ge=se&&Sl(se,276);if(!ge)return;const ae=((K=ge.propertyName)==null?void 0:K.text)||ge.name.text;return M(ae,Y,J)}function M(z,j,J){const K=$0.Core.getTopMostDeclarationNamesInFile(z,j);return Si(K,Y=>{const oe=J.getTypeChecker().getSymbolAtLocation(Y),se=iP(Y);if(oe&&se)return xw.createDefinitionInfo(se,J.getTypeChecker(),oe,se,!0)})}}getEmitOutput(u){const{file:s,project:d}=this.getFileAndProject(u);if(!d.shouldEmitFile(d.getScriptInfo(s)))return{emitSkipped:!0,outputFiles:[],diagnostics:[]};const f=d.getLanguageService().getEmitOutput(s);return u.richResponse?{...f,diagnostics:u.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(f.diagnostics):f.diagnostics.map(p=>JK(p,!0))}:f}mapJSDocTagInfo(u,s,d){return u?u.map(f=>{var p;return{...f,text:d?this.mapDisplayParts(f.text,s):(p=f.text)==null?void 0:p.map(E=>E.text).join("")}}):[]}mapDisplayParts(u,s){return u?u.map(d=>d.kind!=="linkName"?d:{...d,target:this.toFileSpan(d.target.fileName,d.target.textSpan,s)}):[]}mapSignatureHelpItems(u,s,d){return u.map(f=>({...f,documentation:this.mapDisplayParts(f.documentation,s),parameters:f.parameters.map(p=>({...p,documentation:this.mapDisplayParts(p.documentation,s)})),tags:this.mapJSDocTagInfo(f.tags,s,d)}))}mapDefinitionInfo(u,s){return u.map(d=>({...this.toFileSpanWithContext(d.fileName,d.textSpan,d.contextSpan,s),...d.unverified&&{unverified:d.unverified}}))}static mapToOriginalLocation(u){return u.originalFileName?(H.assert(u.originalTextSpan!==void 0,"originalTextSpan should be present if originalFileName is"),{...u,fileName:u.originalFileName,textSpan:u.originalTextSpan,targetFileName:u.fileName,targetTextSpan:u.textSpan,contextSpan:u.originalContextSpan,targetContextSpan:u.contextSpan}):u}toFileSpan(u,s,d){const f=d.getLanguageService(),p=f.toLineColumnOffset(u,s.start),E=f.toLineColumnOffset(u,gc(s));return{file:u,start:{line:p.line+1,offset:p.character+1},end:{line:E.line+1,offset:E.character+1}}}toFileSpanWithContext(u,s,d,f){const p=this.toFileSpan(u,s,f),E=d&&this.toFileSpan(u,d,f);return E?{...p,contextStart:E.start,contextEnd:E.end}:p}getTypeDefinition(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.getPositionInFile(u,s),p=this.mapDefinitionInfoLocations(d.getLanguageService().getTypeDefinitionAtPosition(s,f)||$c,d);return this.mapDefinitionInfo(p,d)}mapImplementationLocations(u,s){return u.map(d=>{const f=jct(d,s);return f?{...f,kind:d.kind,displayParts:d.displayParts}:d})}getImplementation(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=this.mapImplementationLocations(f.getLanguageService().getImplementationAtPosition(d,p)||$c,f);return s?E.map(({fileName:v,textSpan:b,contextSpan:B})=>this.toFileSpanWithContext(v,b,B,f)):E.map(U3e.mapToOriginalLocation)}getSyntacticDiagnosticsSync(u){const{configFile:s}=this.getConfigFileAndProject(u);return s?$c:this.getDiagnosticsWorker(u,!1,(d,f)=>d.getLanguageService().getSyntacticDiagnostics(f),!!u.includeLinePosition)}getSemanticDiagnosticsSync(u){const{configFile:s,project:d}=this.getConfigFileAndProject(u);return s?this.getConfigFileDiagnostics(s,d,!!u.includeLinePosition):this.getDiagnosticsWorker(u,!0,(f,p)=>f.getLanguageService().getSemanticDiagnostics(p).filter(E=>!!E.file),!!u.includeLinePosition)}getSuggestionDiagnosticsSync(u){const{configFile:s}=this.getConfigFileAndProject(u);return s?$c:this.getDiagnosticsWorker(u,!0,(d,f)=>d.getLanguageService().getSuggestionDiagnostics(f),!!u.includeLinePosition)}getJsxClosingTag(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s),p=d.getJsxClosingTagAtPosition(s,f);return p===void 0?void 0:{newText:p.newText,caretOffset:0}}getLinkedEditingRange(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s),p=d.getLinkedEditingRangeAtPosition(s,f),E=this.projectService.getScriptInfoForNormalizedPath(s);if(!(E===void 0||p===void 0))return QQt(p,E)}getDocumentHighlights(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.getPositionInFile(u,d),E=f.getLanguageService().getDocumentHighlights(d,p,u.filesToSearch);return E?s?E.map(({fileName:v,highlightSpans:b})=>{const B=f.getScriptInfo(v);return{file:v,highlightSpans:b.map(({textSpan:k,kind:T,contextSpan:M})=>({...xNe(k,M,B),kind:T}))}}):E:$c}provideInlayHints(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.projectService.getScriptInfoForNormalizedPath(s);return d.getLanguageService().provideInlayHints(s,u,this.getPreferences(s)).map(E=>{const{position:v,displayParts:b}=E;return{...E,position:f.positionToLineOffset(v),displayParts:b==null?void 0:b.map(({text:B,span:k,file:T})=>{if(k){H.assertIsDefined(T,"Target file should be defined together with its span.");const M=this.projectService.getScriptInfo(T);return{text:B,span:{start:M.positionToLineOffset(k.start),end:M.positionToLineOffset(k.start+k.length),file:T}}}else return{text:B}})}})}setCompilerOptionsForInferredProjects(u){this.projectService.setCompilerOptionsForInferredProjects(u.options,u.projectRootPath)}getProjectInfo(u){return this.getProjectInfoWorker(u.file,u.projectFileName,u.needFileNameList,!1)}getProjectInfoWorker(u,s,d,f){const{project:p}=this.getFileAndProjectWorker(u,s);return Wm(p),{configFileName:p.getProjectName(),languageServiceDisabled:!p.languageServiceEnabled,fileNames:d?p.getFileNames(!1,f):void 0}}getRenameInfo(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.getPositionInFile(u,s),p=this.getPreferences(s);return d.getLanguageService().getRenameInfo(s,f,p)}getProjects(u,s,d){let f,p;if(u.projectFileName){const E=this.getProject(u.projectFileName);E&&(f=[E])}else{const E=s?this.projectService.getScriptInfoEnsuringProjectsUptoDate(u.file):this.projectService.getScriptInfo(u.file);if(E)s||this.projectService.ensureDefaultProjectForFile(E);else return d?$c:(this.projectService.logErrorForScriptInfoNotFound(u.file),x5.ThrowNoProject());f=E.containingProjects,p=this.projectService.getSymlinkedProjects(E)}return f=ei(f,E=>E.languageServiceEnabled&&!E.isOrphan()),!d&&(!f||!f.length)&&!p?(this.projectService.logErrorForScriptInfoNotFound(u.file??u.projectFileName),x5.ThrowNoProject()):p?{projects:f,symLinkedProjects:p}:f}getDefaultProject(u){if(u.projectFileName){const d=this.getProject(u.projectFileName);if(d)return d;if(!u.file)return x5.ThrowNoProject()}return this.projectService.getScriptInfo(u.file).getDefaultProject()}getRenameLocations(u,s){const d=_l(u.file),f=this.getPositionInFile(u,d),p=this.getProjects(u),E=this.getDefaultProject(u),v=this.getPreferences(d),b=this.mapRenameInfo(E.getLanguageService().getRenameInfo(d,f,v),H.checkDefined(this.projectService.getScriptInfo(d)));if(!b.canRename)return s?{info:b,locs:[]}:[];const B=GQt(p,E,{fileName:u.file,pos:f},!!u.findInStrings,!!u.findInComments,v);return s?{info:b,locs:this.toSpanGroups(B)}:B}mapRenameInfo(u,s){if(u.canRename){const{canRename:d,fileToRename:f,displayName:p,fullDisplayName:E,kind:v,kindModifiers:b,triggerSpan:B}=u;return{canRename:d,fileToRename:f,displayName:p,fullDisplayName:E,kind:v,kindModifiers:b,triggerSpan:s_(B,s)}}else return u}toSpanGroups(u){const s=new Map;for(const{fileName:d,textSpan:f,contextSpan:p,originalContextSpan:E,originalTextSpan:v,originalFileName:b,...B}of u){let k=s.get(d);k||s.set(d,k={file:d,locs:[]});const T=H.checkDefined(this.projectService.getScriptInfo(d));k.locs.push({...xNe(f,p,T),...B})}return ga(s.values())}getReferences(u,s){const d=_l(u.file),f=this.getProjects(u),p=this.getPositionInFile(u,d),E=$Qt(f,this.getDefaultProject(u),{fileName:u.file,pos:p},this.logger);if(!s)return E;const v=this.getPreferences(d),b=this.getDefaultProject(u),B=b.getScriptInfoForNormalizedPath(d),k=b.getLanguageService().getQuickInfoAtPosition(d,p),T=k?pK(k.displayParts):"",M=k&&k.textSpan,z=M?B.positionToLineOffset(M.start).offset:0,j=M?B.getSnapshot().getText(M.start,gc(M)):"";return{refs:Ku(E,K=>K.references.map(Y=>Hct(this.projectService,Y,v))),symbolName:j,symbolStartOffset:z,symbolDisplayString:T}}getFileReferences(u,s){const d=this.getProjects(u),f=u.file,p=this.getPreferences(_l(f)),E=[],v=pge();return DNe(d,void 0,B=>{if(B.getCancellationToken().isCancellationRequested())return;const k=B.getLanguageService().getFileReferences(f);if(k)for(const T of k)v.has(T)||(E.push(T),v.add(T))}),s?{refs:E.map(B=>Hct(this.projectService,B,p)),symbolName:`"${u.file}"`}:E}openClientFile(u,s,d,f){this.projectService.openClientFileWithNormalizedPath(u,s,d,!1,f)}getPosition(u,s){return u.position!==void 0?u.position:s.lineOffsetToPosition(u.line,u.offset)}getPositionInFile(u,s){const d=this.projectService.getScriptInfoForNormalizedPath(s);return this.getPosition(u,d)}getFileAndProject(u){return this.getFileAndProjectWorker(u.file,u.projectFileName)}getFileAndLanguageServiceForSyntacticOperation(u){const{file:s,project:d}=this.getFileAndProject(u);return{file:s,languageService:d.getLanguageService(!1)}}getFileAndProjectWorker(u,s){const d=_l(u),f=this.getProject(s)||this.projectService.ensureDefaultProjectForFile(d);return{file:d,project:f}}getOutliningSpans(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=f.getOutliningSpans(d);if(s){const E=this.projectService.getScriptInfoForNormalizedPath(d);return p.map(v=>({textSpan:s_(v.textSpan,E),hintSpan:s_(v.hintSpan,E),bannerText:v.bannerText,autoCollapse:v.autoCollapse,kind:v.kind}))}else return p}getTodoComments(u){const{file:s,project:d}=this.getFileAndProject(u);return d.getLanguageService().getTodoComments(s,u.descriptors)}getDocCommentTemplate(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s);return d.getDocCommentTemplateAtPosition(s,f,this.getPreferences(s),this.getFormatOptions(s))}getSpanOfEnclosingComment(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=u.onlyMultiLine,p=this.getPositionInFile(u,s);return d.getSpanOfEnclosingComment(s,p,f)}getIndentation(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s),p=u.options?Fw(u.options):this.getFormatOptions(s),E=d.getIndentationAtPosition(s,f,p);return{position:f,indentation:E}}getBreakpointStatement(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s);return d.getBreakpointStatementAtPosition(s,f)}getNameOrDottedNameSpan(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s);return d.getNameOrDottedNameSpan(s,f,f)}isValidBraceCompletion(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.getPositionInFile(u,s);return d.isValidBraceCompletionAtPosition(s,f,u.openingBrace.charCodeAt(0))}getQuickInfoWorker(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=f.getLanguageService().getQuickInfoAtPosition(d,this.getPosition(u,p));if(!E)return;const v=!!this.getPreferences(d).displayPartsForJSDoc;if(s){const b=pK(E.displayParts);return{kind:E.kind,kindModifiers:E.kindModifiers,start:p.positionToLineOffset(E.textSpan.start),end:p.positionToLineOffset(gc(E.textSpan)),displayString:b,documentation:v?this.mapDisplayParts(E.documentation,f):pK(E.documentation),tags:this.mapJSDocTagInfo(E.tags,f,v)}}else return v?E:{...E,tags:this.mapJSDocTagInfo(E.tags,f,!1)}}getFormattingEditsForRange(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.projectService.getScriptInfoForNormalizedPath(s),p=f.lineOffsetToPosition(u.line,u.offset),E=f.lineOffsetToPosition(u.endLine,u.endOffset),v=d.getFormattingEditsForRange(s,p,E,this.getFormatOptions(s));if(v)return v.map(b=>this.convertTextChangeToCodeEdit(b,f))}getFormattingEditsForRangeFull(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=u.options?Fw(u.options):this.getFormatOptions(s);return d.getFormattingEditsForRange(s,u.position,u.endPosition,f)}getFormattingEditsForDocumentFull(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=u.options?Fw(u.options):this.getFormatOptions(s);return d.getFormattingEditsForDocument(s,f)}getFormattingEditsAfterKeystrokeFull(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=u.options?Fw(u.options):this.getFormatOptions(s);return d.getFormattingEditsAfterKeystroke(s,u.position,u.key,f)}getFormattingEditsAfterKeystroke(u){const{file:s,languageService:d}=this.getFileAndLanguageServiceForSyntacticOperation(u),f=this.projectService.getScriptInfoForNormalizedPath(s),p=f.lineOffsetToPosition(u.line,u.offset),E=this.getFormatOptions(s),v=d.getFormattingEditsAfterKeystroke(s,p,u.key,E);if(u.key===` +`&&(!v||v.length===0||KQt(v,p))){const{lineText:b,absolutePosition:B}=f.textStorage.getAbsolutePositionAndLineText(u.line);if(b&&b.search("\\S")<0){const k=d.getIndentationAtPosition(s,p,E);let T=0,M,z;for(M=0,z=b.length;M({start:f.positionToLineOffset(b.span.start),end:f.positionToLineOffset(gc(b.span)),newText:b.newText?b.newText:""}))}getCompletions(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getPosition(u,p),v=f.getLanguageService().getCompletionsAtPosition(d,E,{...rNe(this.getPreferences(d)),triggerCharacter:u.triggerCharacter,triggerKind:u.triggerKind,includeExternalModuleExports:u.includeExternalModuleExports,includeInsertTextCompletions:u.includeInsertTextCompletions},f.projectService.getFormatCodeOptions(d));if(v===void 0)return;if(s==="completions-full")return v;const b=u.prefix||"",B=Si(v.entries,T=>{if(v.isMemberCompletion||La(T.name.toLowerCase(),b.toLowerCase())){const{name:M,kind:z,kindModifiers:j,sortText:J,insertText:K,filterText:Y,replacementSpan:oe,hasAction:se,source:ge,sourceDisplay:ae,labelDetails:Ce,isSnippet:ne,isRecommended:ve,isPackageJsonImport:Se,isImportStatementCompletion:Ne,data:pe}=T,fe=oe?s_(oe,p):void 0;return{name:M,kind:z,kindModifiers:j,sortText:J,insertText:K,filterText:Y,replacementSpan:fe,isSnippet:ne,hasAction:se||void 0,source:ge,sourceDisplay:ae,labelDetails:Ce,isRecommended:ve,isPackageJsonImport:Se,isImportStatementCompletion:Ne,data:pe}}});return s==="completions"?(v.metadata&&(B.metadata=v.metadata),B):{...v,optionalReplacementSpan:v.optionalReplacementSpan&&s_(v.optionalReplacementSpan,p),entries:B}}getCompletionEntryDetails(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getPosition(u,p),v=f.projectService.getFormatCodeOptions(d),b=!!this.getPreferences(d).displayPartsForJSDoc,B=Si(u.entryNames,k=>{const{name:T,source:M,data:z}=typeof k=="string"?{name:k,source:void 0,data:void 0}:k;return f.getLanguageService().getCompletionEntryDetails(d,E,T,v,M,this.getPreferences(d),z?No(z,nXt):void 0)});return s?b?B:B.map(k=>({...k,tags:this.mapJSDocTagInfo(k.tags,f,!1)})):B.map(k=>({...k,codeActions:Kt(k.codeActions,T=>this.mapCodeAction(T)),documentation:this.mapDisplayParts(k.documentation,f),tags:this.mapJSDocTagInfo(k.tags,f,b)}))}getCompileOnSaveAffectedFileList(u){const s=this.getProjects(u,!0,!0),d=this.projectService.getScriptInfo(u.file);return d?WQt(d,f=>this.projectService.getScriptInfoForPath(f),s,(f,p)=>{if(!f.compileOnSaveEnabled||!f.languageServiceEnabled||f.isOrphan())return;const E=f.getCompilationSettings();if(!(E.noEmit||Xd(p.fileName)&&!HQt(E)))return{projectFileName:f.getProjectName(),fileNames:f.getCompileOnSaveAffectedFileList(p),projectUsesOutFile:!!b0(E)}}):$c}emitFile(u){const{file:s,project:d}=this.getFileAndProject(u);if(d||x5.ThrowNoProject(),!d.languageServiceEnabled)return u.richResponse?{emitSkipped:!0,diagnostics:[]}:!1;const f=d.getScriptInfo(s),{emitSkipped:p,diagnostics:E}=d.emitFile(f,(v,b,B)=>this.host.writeFile(v,b,B));return u.richResponse?{emitSkipped:p,diagnostics:u.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(E):E.map(v=>JK(v,!0))}:!p}getSignatureHelpItems(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getPosition(u,p),v=f.getLanguageService().getSignatureHelpItems(d,E,u),b=!!this.getPreferences(d).displayPartsForJSDoc;if(v&&s){const B=v.applicableSpan;return{...v,applicableSpan:{start:p.positionToLineOffset(B.start),end:p.positionToLineOffset(B.start+B.length)},items:this.mapSignatureHelpItems(v.items,f,b)}}else return b||!v?v:{...v,items:v.items.map(B=>({...B,tags:this.mapJSDocTagInfo(B.tags,f,!1)}))}}toPendingErrorCheck(u){const s=_l(u),d=this.projectService.tryGetDefaultProjectForFile(s);return d&&{fileName:s,project:d}}getDiagnostics(u,s,d){this.suppressDiagnosticEvents||d.length>0&&this.updateErrorCheck(u,d,s)}change(u){const s=this.projectService.getScriptInfo(u.file);H.assert(!!s),s.textStorage.switchToScriptVersionCache();const d=s.lineOffsetToPosition(u.line,u.offset),f=s.lineOffsetToPosition(u.endLine,u.endOffset);d>=0&&(this.changeSeq++,this.projectService.applyChangesToFile(s,bo({span:{start:d,length:f-d},newText:u.insertString})))}reload(u,s){const d=_l(u.file),f=u.tmpfile===void 0?void 0:_l(u.tmpfile),p=this.projectService.getScriptInfoForNormalizedPath(d);p&&(this.changeSeq++,p.reloadFromFile(f)&&this.doOutput(void 0,"reload",s,!0))}saveToTmp(u,s){const d=this.projectService.getScriptInfo(u);d&&d.saveTo(s)}closeClientFile(u){if(!u)return;const s=Jo(u);this.projectService.closeClientFile(s)}mapLocationNavigationBarItems(u,s){return Kt(u,d=>({text:d.text,kind:d.kind,kindModifiers:d.kindModifiers,spans:d.spans.map(f=>s_(f,s)),childItems:this.mapLocationNavigationBarItems(d.childItems,s),indent:d.indent}))}getNavigationBarItems(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=f.getNavigationBarItems(d);return p?s?this.mapLocationNavigationBarItems(p,this.projectService.getScriptInfoForNormalizedPath(d)):p:void 0}toLocationNavigationTree(u,s){return{text:u.text,kind:u.kind,kindModifiers:u.kindModifiers,spans:u.spans.map(d=>s_(d,s)),nameSpan:u.nameSpan&&s_(u.nameSpan,s),childItems:Kt(u.childItems,d=>this.toLocationNavigationTree(d,s))}}getNavigationTree(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=f.getNavigationTree(d);return p?s?this.toLocationNavigationTree(p,this.projectService.getScriptInfoForNormalizedPath(d)):p:void 0}getNavigateToItems(u,s){const d=this.getFullNavigateToItems(u);return s?Ku(d,({project:f,navigateToItems:p})=>p.map(E=>{const v=f.getScriptInfo(E.fileName),b={name:E.name,kind:E.kind,kindModifiers:E.kindModifiers,isCaseSensitive:E.isCaseSensitive,matchKind:E.matchKind,file:E.fileName,start:v.positionToLineOffset(E.textSpan.start),end:v.positionToLineOffset(gc(E.textSpan))};return E.kindModifiers&&E.kindModifiers!==""&&(b.kindModifiers=E.kindModifiers),E.containerName&&E.containerName.length>0&&(b.containerName=E.containerName),E.containerKind&&E.containerKind.length>0&&(b.containerKind=E.containerKind),b})):Ku(d,({navigateToItems:f})=>f)}getFullNavigateToItems(u){const{currentFileOnly:s,searchValue:d,maxResultCount:f,projectFileName:p}=u;if(s){H.assertIsDefined(u.file);const{file:M,project:z}=this.getFileAndProject(u);return[{project:z,navigateToItems:z.getLanguageService().getNavigateToItems(d,f,M)}]}const E=this.getHostPreferences(),v=[],b=new Map;if(!u.file&&!p)this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(M=>B(M));else{const M=this.getProjects(u);DNe(M,void 0,z=>B(z))}return v;function B(M){const z=M.getLanguageService().getNavigateToItems(d,f,void 0,M.isNonTsProject(),E.excludeLibrarySymbolsInNavTo),j=ei(z,J=>k(J)&&!gge(nz(J),M));j.length&&v.push({project:M,navigateToItems:j})}function k(M){const z=M.name;if(!b.has(z))return b.set(z,[M]),!0;const j=b.get(z);for(const J of j)if(T(J,M))return!1;return j.push(M),!0}function T(M,z){return M===z?!0:!M||!z?!1:M.containerKind===z.containerKind&&M.containerName===z.containerName&&M.fileName===z.fileName&&M.isCaseSensitive===z.isCaseSensitive&&M.kind===z.kind&&M.kindModifiers===z.kindModifiers&&M.matchKind===z.matchKind&&M.name===z.name&&M.textSpan.start===z.textSpan.start&&M.textSpan.length===z.textSpan.length}}getSupportedCodeFixes(u){if(!u)return Sme();if(u.file){const{file:d,project:f}=this.getFileAndProject(u);return f.getLanguageService().getSupportedCodeFixes(d)}const s=this.getProject(u.projectFileName);return s||x5.ThrowNoProject(),s.getLanguageService().getSupportedCodeFixes()}isLocation(u){return u.line!==void 0}extractPositionOrRange(u,s){let d,f;return this.isLocation(u)?d=p(u):f=this.getRange(u,s),H.checkDefined(d===void 0?f:d);function p(E){return E.position!==void 0?E.position:s.lineOffsetToPosition(E.line,E.offset)}}getRange(u,s){const{startPosition:d,endPosition:f}=this.getStartAndEndPosition(u,s);return{pos:d,end:f}}getApplicableRefactors(u){const{file:s,project:d}=this.getFileAndProject(u),f=d.getScriptInfoForNormalizedPath(s);return d.getLanguageService().getApplicableRefactors(s,this.extractPositionOrRange(u,f),this.getPreferences(s),u.triggerReason,u.kind,u.includeInteractiveActions)}getEditsForRefactor(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=f.getScriptInfoForNormalizedPath(d),E=f.getLanguageService().getEditsForRefactor(d,this.getFormatOptions(d),this.extractPositionOrRange(u,p),u.refactor,u.action,this.getPreferences(d),u.interactiveRefactorArguments);if(E===void 0)return{edits:[]};if(s){const{renameFilename:v,renameLocation:b,edits:B}=E;let k;if(v!==void 0&&b!==void 0){const T=f.getScriptInfoForNormalizedPath(_l(v));k=vNe(uw(T.getSnapshot()),v,b,B)}return{renameLocation:k,renameFilename:v,edits:this.mapTextChangesToCodeEdits(B),notApplicableReason:E.notApplicableReason}}return E}getMoveToRefactoringFileSuggestions(u){const{file:s,project:d}=this.getFileAndProject(u),f=d.getScriptInfoForNormalizedPath(s);return d.getLanguageService().getMoveToRefactoringFileSuggestions(s,this.extractPositionOrRange(u,f),this.getPreferences(s))}organizeImports(u,s){H.assert(u.scope.type==="file");const{file:d,project:f}=this.getFileAndProject(u.scope.args),p=f.getLanguageService().organizeImports({fileName:d,mode:u.mode??(u.skipDestructiveCodeActions?"SortAndCombine":void 0),type:"file"},this.getFormatOptions(d),this.getPreferences(d));return s?this.mapTextChangesToCodeEdits(p):p}getEditsForFileRename(u,s){const d=_l(u.oldFilePath),f=_l(u.newFilePath),p=this.getHostFormatOptions(),E=this.getHostPreferences(),v=new Set,b=[];return this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(B=>{const k=B.getLanguageService().getEditsForFileRename(d,f,p,E),T=[];for(const M of k)v.has(M.fileName)||(b.push(M),T.push(M.fileName));for(const M of T)v.add(M)}),s?b.map(B=>this.mapTextChangeToCodeEdit(B)):b}getCodeFixes(u,s){const{file:d,project:f}=this.getFileAndProject(u),p=f.getScriptInfoForNormalizedPath(d),{startPosition:E,endPosition:v}=this.getStartAndEndPosition(u,p);let b;try{b=f.getLanguageService().getCodeFixesAtPosition(d,E,v,u.errorCodes,this.getFormatOptions(d),this.getPreferences(d))}catch(B){const k=f.getLanguageService(),T=[...k.getSyntacticDiagnostics(d),...k.getSemanticDiagnostics(d),...k.getSuggestionDiagnostics(d)].map(z=>zO(E,v-E,z.start,z.length)&&z.code),M=u.errorCodes.find(z=>!T.includes(z));throw M!==void 0&&(B.message=`BADCLIENT: Bad error code, ${M} not found in range ${E}..${v} (found: ${T.join(", ")}); could have caused this error: +${B.message}`),B}return s?b.map(B=>this.mapCodeFixAction(B)):b}getCombinedCodeFix({scope:u,fixId:s},d){H.assert(u.type==="file");const{file:f,project:p}=this.getFileAndProject(u.args),E=p.getLanguageService().getCombinedCodeFix({type:"file",fileName:f},s,this.getFormatOptions(f),this.getPreferences(f));return d?{changes:this.mapTextChangesToCodeEdits(E.changes),commands:E.commands}:E}applyCodeActionCommand(u){const s=u.command;for(const d of qA(s)){const{file:f,project:p}=this.getFileAndProject(d);p.getLanguageService().applyCodeActionCommand(d,this.getFormatOptions(f)).then(E=>{},E=>{})}return{}}getStartAndEndPosition(u,s){let d,f;return u.startPosition!==void 0?d=u.startPosition:(d=s.lineOffsetToPosition(u.startLine,u.startOffset),u.startPosition=d),u.endPosition!==void 0?f=u.endPosition:(f=s.lineOffsetToPosition(u.endLine,u.endOffset),u.endPosition=f),{startPosition:d,endPosition:f}}mapCodeAction({description:u,changes:s,commands:d}){return{description:u,changes:this.mapTextChangesToCodeEdits(s),commands:d}}mapCodeFixAction({fixName:u,description:s,changes:d,commands:f,fixId:p,fixAllDescription:E}){return{fixName:u,description:s,changes:this.mapTextChangesToCodeEdits(d),commands:f,fixId:p,fixAllDescription:E}}mapTextChangesToCodeEdits(u){return u.map(s=>this.mapTextChangeToCodeEdit(s))}mapTextChangeToCodeEdit(u){const s=this.projectService.getScriptInfoOrConfig(u.fileName);return!!u.isNewFile==!!s&&(s||this.projectService.logErrorForScriptInfoNotFound(u.fileName),H.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!u.isNewFile,hasScriptInfo:!!s}))),s?{fileName:u.fileName,textChanges:u.textChanges.map(d=>YQt(d,s))}:eXt(u)}convertTextChangeToCodeEdit(u,s){return{start:s.positionToLineOffset(u.span.start),end:s.positionToLineOffset(u.span.start+u.span.length),newText:u.newText?u.newText:""}}getBraceMatching(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getPosition(u,p),v=f.getBraceMatchingAtPosition(d,E);return v?s?v.map(b=>s_(b,p)):v:void 0}getDiagnosticsForProject(u,s,d){if(this.suppressDiagnosticEvents)return;const{fileNames:f,languageServiceDisabled:p}=this.getProjectInfoWorker(d,void 0,!0,!0);if(p)return;const E=f.filter(J=>!J.includes("lib.d.ts"));if(E.length===0)return;const v=[],b=[],B=[],k=[],T=_l(d),M=this.projectService.ensureDefaultProjectForFile(T);for(const J of E)this.getCanonicalFileName(J)===this.getCanonicalFileName(d)?v.push(J):this.projectService.getScriptInfo(J).isScriptOpen()?b.push(J):Xd(J)?k.push(J):B.push(J);const j=[...v,...b,...B,...k].map(J=>({fileName:J,project:M}));this.updateErrorCheck(u,j,s,!1)}configurePlugin(u){this.projectService.configurePlugin(u)}getSmartSelectionRange(u,s){const{locations:d}=u,{file:f,languageService:p}=this.getFileAndLanguageServiceForSyntacticOperation(u),E=H.checkDefined(this.projectService.getScriptInfo(f));return Kt(d,v=>{const b=this.getPosition(v,E),B=p.getSmartSelectionRange(f,b);return s?this.mapSelectionRange(B,E):B})}toggleLineComment(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfo(d),E=this.getRange(u,p),v=f.toggleLineComment(d,E);if(s){const b=this.projectService.getScriptInfoForNormalizedPath(d);return v.map(B=>this.convertTextChangeToCodeEdit(B,b))}return v}toggleMultilineComment(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getRange(u,p),v=f.toggleMultilineComment(d,E);if(s){const b=this.projectService.getScriptInfoForNormalizedPath(d);return v.map(B=>this.convertTextChangeToCodeEdit(B,b))}return v}commentSelection(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getRange(u,p),v=f.commentSelection(d,E);if(s){const b=this.projectService.getScriptInfoForNormalizedPath(d);return v.map(B=>this.convertTextChangeToCodeEdit(B,b))}return v}uncommentSelection(u,s){const{file:d,languageService:f}=this.getFileAndLanguageServiceForSyntacticOperation(u),p=this.projectService.getScriptInfoForNormalizedPath(d),E=this.getRange(u,p),v=f.uncommentSelection(d,E);if(s){const b=this.projectService.getScriptInfoForNormalizedPath(d);return v.map(B=>this.convertTextChangeToCodeEdit(B,b))}return v}mapSelectionRange(u,s){const d={textSpan:s_(u.textSpan,s)};return u.parent&&(d.parent=this.mapSelectionRange(u.parent,s)),d}getScriptInfoFromProjectService(u){const s=_l(u),d=this.projectService.getScriptInfoForNormalizedPath(s);return d||(this.projectService.logErrorForScriptInfoNotFound(s),x5.ThrowNoProject())}toProtocolCallHierarchyItem(u){const s=this.getScriptInfoFromProjectService(u.file);return{name:u.name,kind:u.kind,kindModifiers:u.kindModifiers,file:u.file,containerName:u.containerName,span:s_(u.span,s),selectionSpan:s_(u.selectionSpan,s)}}toProtocolCallHierarchyIncomingCall(u){const s=this.getScriptInfoFromProjectService(u.from.file);return{from:this.toProtocolCallHierarchyItem(u.from),fromSpans:u.fromSpans.map(d=>s_(d,s))}}toProtocolCallHierarchyOutgoingCall(u,s){return{to:this.toProtocolCallHierarchyItem(u.to),fromSpans:u.fromSpans.map(d=>s_(d,s))}}prepareCallHierarchy(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.projectService.getScriptInfoForNormalizedPath(s);if(f){const p=this.getPosition(u,f),E=d.getLanguageService().prepareCallHierarchy(s,p);return E&&yfe(E,v=>this.toProtocolCallHierarchyItem(v))}}provideCallHierarchyIncomingCalls(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.getScriptInfoFromProjectService(s);return d.getLanguageService().provideCallHierarchyIncomingCalls(s,this.getPosition(u,f)).map(E=>this.toProtocolCallHierarchyIncomingCall(E))}provideCallHierarchyOutgoingCalls(u){const{file:s,project:d}=this.getFileAndProject(u),f=this.getScriptInfoFromProjectService(s);return d.getLanguageService().provideCallHierarchyOutgoingCalls(s,this.getPosition(u,f)).map(E=>this.toProtocolCallHierarchyOutgoingCall(E,f))}getCanonicalFileName(u){const s=this.host.useCaseSensitiveFileNames?u:Jg(u);return Jo(s)}exit(){}notRequired(){return{responseRequired:!1}}requiredResponse(u){return{response:u,responseRequired:!0}}addProtocolHandler(u,s){if(this.handlers.has(u))throw new Error(`Protocol handler already exists for command "${u}"`);this.handlers.set(u,s)}setCurrentRequest(u){H.assert(this.currentRequestId===void 0),this.currentRequestId=u,this.cancellationToken.setRequest(u)}resetCurrentRequest(u){H.assert(this.currentRequestId===u),this.currentRequestId=void 0,this.cancellationToken.resetRequest(u)}executeWithRequestId(u,s){try{return this.setCurrentRequest(u),s()}finally{this.resetCurrentRequest(u)}}executeCommand(u){const s=this.handlers.get(u.command);if(s){const d=this.executeWithRequestId(u.seq,()=>s(u));return this.projectService.enableRequestedPlugins(),d}else return this.logger.msg(`Unrecognized JSON command:${tw(u)}`,"Err"),this.doOutput(void 0,"unknown",u.seq,!1,`Unrecognized JSON command: ${u.command}`),{responseRequired:!1}}onMessage(u){var s,d,f,p,E,v,b,B,k,T,M;this.gcTimer.scheduleCollect(),this.performanceData=void 0;let z;this.logger.hasLevel(2)&&(z=this.hrtime(),this.logger.hasLevel(3)&&this.logger.info(`request:${SM(this.toStringMessage(u))}`));let j,J;try{j=this.parseMessage(u),J=j.arguments&&j.arguments.file?j.arguments:void 0,(s=Jn)==null||s.instant(Jn.Phase.Session,"request",{seq:j.seq,command:j.command}),(d=dh)==null||d.logStartCommand(""+j.command,this.toStringMessage(u).substring(0,100)),(f=Jn)==null||f.push(Jn.Phase.Session,"executeCommand",{seq:j.seq,command:j.command},!0);const{response:K,responseRequired:Y}=this.executeCommand(j);if((p=Jn)==null||p.pop(),this.logger.hasLevel(2)){const oe=VQt(this.hrtime(z)).toFixed(4);Y?this.logger.perftrc(`${j.seq}::${j.command}: elapsed time (in milliseconds) ${oe}`):this.logger.perftrc(`${j.seq}::${j.command}: async elapsed time (in milliseconds) ${oe}`)}(E=dh)==null||E.logStopCommand(""+j.command,"Success"),(v=Jn)==null||v.instant(Jn.Phase.Session,"response",{seq:j.seq,command:j.command,success:!!K}),K?this.doOutput(K,j.command,j.seq,!0):Y&&this.doOutput(void 0,j.command,j.seq,!1,"No content available.")}catch(K){if((b=Jn)==null||b.popAll(),K instanceof v8){(B=dh)==null||B.logStopCommand(""+(j&&j.command),"Canceled: "+K),(k=Jn)==null||k.instant(Jn.Phase.Session,"commandCanceled",{seq:j==null?void 0:j.seq,command:j==null?void 0:j.command}),this.doOutput({canceled:!0},j.command,j.seq,!0);return}this.logErrorWorker(K,this.toStringMessage(u),J),(T=dh)==null||T.logStopCommand(""+(j&&j.command),"Error: "+K),(M=Jn)==null||M.instant(Jn.Phase.Session,"commandError",{seq:j==null?void 0:j.seq,command:j==null?void 0:j.command,message:K.message}),this.doOutput(void 0,j?j.command:"unknown",j?j.seq:0,!1,"Error processing request. "+K.message+` +`+K.stack)}}parseMessage(u){return JSON.parse(u)}toStringMessage(u){return u}getFormatOptions(u){return this.projectService.getFormatCodeOptions(u)}getPreferences(u){return this.projectService.getPreferences(u)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}}}}),m9,Ege,Gct,Jct,ste,lte,FNe,uz,p9,$K,rXt=o({"src/server/scriptVersionCache.ts"(){Yv(),g9(),m9=4,Ege=(t=>(t[t.PreStart=0]="PreStart",t[t.Start=1]="Start",t[t.Entire=2]="Entire",t[t.Mid=3]="Mid",t[t.End=4]="End",t[t.PostEnd=5]="PostEnd",t))(Ege||{}),Gct=class{constructor(){this.goSubtree=!0,this.lineIndex=new uz,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new p9,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(t,u){u&&(this.trailingText=""),t?t=this.initialText+t+this.trailingText:t=this.initialText+this.trailingText;const d=uz.linesFromText(t).lines;d.length>1&&d[d.length-1]===""&&d.pop();let f,p;for(let v=this.endBranch.length-1;v>=0;v--)this.endBranch[v].updateCounts(),this.endBranch[v].charCount()===0&&(p=this.endBranch[v],v>0?f=this.endBranch[v-1]:f=this.branchNode);p&&f.remove(p);const E=this.startPath[this.startPath.length-1];if(d.length>0)if(E.text=d[0],d.length>1){let v=new Array(d.length-1),b=E;for(let T=1;T=0;){const T=this.startPath[B];v=T.insertAt(b,v),B--,b=T}let k=v.length;for(;k>0;){const T=new p9;T.add(this.lineIndex.root),v=T.insertAt(this.lineIndex.root,v),k=v.length,this.lineIndex.root=T}this.lineIndex.root.updateCounts()}else for(let v=this.startPath.length-2;v>=0;v--)this.startPath[v].updateCounts();else{this.startPath[this.startPath.length-2].remove(E);for(let b=this.startPath.length-2;b>=0;b--)this.startPath[b].updateCounts()}return this.lineIndex}post(t,u,s){s===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(t,u,s,d,f){const p=this.stack[this.stack.length-1];this.state===2&&f===1&&(this.state=1,this.branchNode=p,this.lineCollectionAtBranch=s);let E;function v(b){return b.isLeaf()?new $K(""):new p9}switch(f){case 0:this.goSubtree=!1,this.state!==4&&p.add(s);break;case 1:this.state===4?this.goSubtree=!1:(E=v(s),p.add(E),this.startPath.push(E));break;case 2:this.state!==4?(E=v(s),p.add(E),this.startPath.push(E)):s.isLeaf()||(E=v(s),p.add(E),this.endBranch.push(E));break;case 3:this.goSubtree=!1;break;case 4:this.state!==4?this.goSubtree=!1:s.isLeaf()||(E=v(s),p.add(E),this.endBranch.push(E));break;case 5:this.goSubtree=!1,this.state!==1&&p.add(s);break}this.goSubtree&&this.stack.push(E)}leaf(t,u,s){this.state===1?this.initialText=s.text.substring(0,t):this.state===2?(this.initialText=s.text.substring(0,t),this.trailingText=s.text.substring(t+u)):this.trailingText=s.text.substring(t+u)}},Jct=class{constructor(t,u,s){this.pos=t,this.deleteLen=u,this.insertedText=s}getTextChangeRange(){return IO(c1(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},ste=class IF{constructor(){this.changes=[],this.versions=new Array(IF.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(u){if(!(uthis.currentVersion))return u%IF.maxVersions}currentVersionToIndex(){return this.currentVersion%IF.maxVersions}edit(u,s,d){this.changes.push(new Jct(u,s,d)),(this.changes.length>IF.changeNumberThreshold||s>IF.changeLengthThreshold||d&&d.length>IF.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let u=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let s=u.index;for(const d of this.changes)s=s.edit(d.pos,d.deleteLen,d.insertedText);u=new FNe(this.currentVersion+1,this,s,this.changes),this.currentVersion=u.version,this.versions[this.currentVersionToIndex()]=u,this.changes=[],this.currentVersion-this.minVersion>=IF.maxVersions&&(this.minVersion=this.currentVersion-IF.maxVersions+1)}return u}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(u){return this._getSnapshot().index.lineNumberToInfo(u)}lineOffsetToPosition(u,s){return this._getSnapshot().index.absolutePositionOfStartOfLine(u)+(s-1)}positionToLineOffset(u){return this._getSnapshot().index.positionToLineOffset(u)}lineToTextSpan(u){const s=this._getSnapshot().index,{lineText:d,absolutePosition:f}=s.lineNumberToInfo(u+1),p=d!==void 0?d.length:s.absolutePositionOfStartOfLine(u+2)-f;return c1(f,p)}getTextChangesBetweenVersions(u,s){if(u=this.minVersion){const d=[];for(let f=u+1;f<=s;f++){const p=this.versions[this.versionToIndex(f)];for(const E of p.changesSincePreviousVersion)d.push(E.getTextChangeRange())}return L2e(d)}else return;else return XO}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(u){const s=new IF,d=new FNe(0,s,new uz);s.versions[s.currentVersion]=d;const f=uz.linesFromText(u);return d.index.load(f.lines),s}},ste.changeNumberThreshold=8,ste.changeLengthThreshold=256,ste.maxVersions=8,lte=ste,FNe=class K6t{constructor(u,s,d,f=$c){this.version=u,this.cache=s,this.index=d,this.changesSincePreviousVersion=f}getText(u,s){return this.index.getText(u,s-u)}getLength(){return this.index.getLength()}getChangeRange(u){if(u instanceof K6t&&this.cache===u.cache)return this.version<=u.version?XO:this.cache.getTextChangesBetweenVersions(u.version,this.version)}},uz=class YOe{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(u){return this.lineNumberToInfo(u).absolutePosition}positionToLineOffset(u){const{oneBasedLine:s,zeroBasedColumn:d}=this.root.charOffsetToLineInfo(1,u);return{line:s,offset:d+1}}positionToColumnAndLineText(u){return this.root.charOffsetToLineInfo(1,u)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(u){const s=this.getLineCount();if(u<=s){const{position:d,leaf:f}=this.root.lineNumberToInfo(u,0);return{absolutePosition:d,lineText:f&&f.text}}else return{absolutePosition:this.root.charCount(),lineText:void 0}}load(u){if(u.length>0){const s=[];for(let d=0;d0&&u{d=d.concat(E.text.substring(f,f+p))}}),d}getLength(){return this.root.charCount()}every(u,s,d){d||(d=this.root.charCount());const f={goSubtree:!0,done:!1,leaf(p,E,v){u(v,p,E)||(this.done=!0)}};return this.walk(s,d-s,f),!f.done}edit(u,s,d){if(this.root.charCount()===0)return H.assert(s===0),d!==void 0?(this.load(YOe.linesFromText(d).lines),this):void 0;{let f;if(this.checkEdits){const v=this.getText(0,this.root.charCount());f=v.slice(0,u)+d+v.slice(u+s)}const p=new Gct;let E=!1;if(u>=this.root.charCount()){u=this.root.charCount()-1;const v=this.getText(u,1);d?d=v+d:d=v,s=0,E=!0}else if(s>0){const v=u+s,{zeroBasedColumn:b,lineText:B}=this.positionToColumnAndLineText(v);b===0&&(s+=B.length,d=d?d+B:B)}if(this.root.walk(u,s,p),p.insertLines(d,E),this.checkEdits){const v=p.lineIndex.getText(0,p.lineIndex.getLength());H.assert(f===v,"buffer edit mismatch")}return p.lineIndex}}static buildTreeFromBottom(u){if(u.length0?d[f]=p:d.pop(),{lines:d,lineMap:s}}},p9=class QOe{constructor(u=[]){this.children=u,this.totalChars=0,this.totalLines=0,u.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){this.totalChars=0,this.totalLines=0;for(const u of this.children)this.totalChars+=u.charCount(),this.totalLines+=u.lineCount()}execWalk(u,s,d,f,p){return d.pre&&d.pre(u,s,this.children[f],this,p),d.goSubtree?(this.children[f].walk(u,s,d),d.post&&d.post(u,s,this.children[f],this,p)):d.goSubtree=!0,d.done}skipChild(u,s,d,f,p){f.pre&&!f.done&&(f.pre(u,s,this.children[d],this,p),f.goSubtree=!0)}walk(u,s,d){let f=0,p=this.children[f].charCount(),E=u;for(;E>=p;)this.skipChild(E,s,f,d,0),E-=p,f++,p=this.children[f].charCount();if(E+s<=p){if(this.execWalk(E,s,d,f,2))return}else{if(this.execWalk(E,p-E,d,f,1))return;let v=s-(p-E);for(f++,p=this.children[f].charCount();v>p;){if(this.execWalk(0,p,d,f,3))return;v-=p,f++,p=this.children[f].charCount()}if(v>0&&this.execWalk(0,v,d,f,4))return}if(d.pre){const v=this.children.length;if(fs)return p.isLeaf()?{oneBasedLine:u,zeroBasedColumn:s,lineText:p.text}:p.charOffsetToLineInfo(u,s);s-=p.charCount(),u+=p.lineCount()}const d=this.lineCount();if(d===0)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};const f=H.checkDefined(this.lineNumberToInfo(d,0).leaf);return{oneBasedLine:d,zeroBasedColumn:f.charCount(),lineText:void 0}}lineNumberToInfo(u,s){for(const d of this.children){const f=d.lineCount();if(f>=u)return d.isLeaf()?{position:s,leaf:d}:d.lineNumberToInfo(u,s);u-=f,s+=d.charCount()}return{position:s,leaf:void 0}}splitAfter(u){let s;const d=this.children.length;u++;const f=u;if(u=0;M--)b[M].children.length===0&&b.pop()}E&&b.push(E),this.updateCounts();for(let k=0;k$Q,ActionPackageInstalled:()=>B9e,ActionSet:()=>JQ,ActionWatchTypingLocations:()=>FH,Arguments:()=>fhe,AutoImportProviderProject:()=>rge,AuxiliaryProject:()=>nge,CharRangeSection:()=>Ege,CloseFileWatcherEvent:()=>rte,CommandNames:()=>bNe,ConfigFileDiagEvent:()=>ete,ConfiguredProject:()=>age,CreateDirectoryWatcherEvent:()=>ute,CreateFileWatcherEvent:()=>nte,Errors:()=>x5,EventBeginInstallTypes:()=>dhe,EventEndInstallTypes:()=>hhe,EventInitializationFailed:()=>T9e,EventTypesRegistry:()=>w9e,ExternalProject:()=>Jee,GcTimer:()=>Zpe,InferredProject:()=>ige,LargeFileReferencedEvent:()=>Xee,LineIndex:()=>uz,LineLeaf:()=>$K,LineNode:()=>p9,LogLevel:()=>Jpe,Msg:()=>$pe,OpenFileInfoTelemetryEvent:()=>lge,Project:()=>Hk,ProjectInfoTelemetryEvent:()=>ite,ProjectKind:()=>iz,ProjectLanguageServiceStateEvent:()=>tte,ProjectLoadingFinishEvent:()=>Qee,ProjectLoadingStartEvent:()=>Yee,ProjectReferenceProjectLoadKind:()=>hge,ProjectService:()=>fge,ProjectsUpdatedInBackgroundEvent:()=>WK,ScriptInfo:()=>Xpe,ScriptVersionCache:()=>lte,Session:()=>kNe,TextStorage:()=>Qpe,ThrottledOperations:()=>qpe,TypingsCache:()=>ege,allFilesAreJsOrDts:()=>tNe,allRootFilesAreJsOrDts:()=>eNe,asNormalizedPath:()=>bct,convertCompilerOptions:()=>$ee,convertFormatOptions:()=>Fw,convertScriptKindName:()=>sge,convertTypeAcquisition:()=>uNe,convertUserPreferences:()=>rNe,convertWatchOptions:()=>KK,countEachFileTypes:()=>VK,createInstallTypingsRequest:()=>Cct,createModuleSpecifierCache:()=>pNe,createNormalizedPathMap:()=>yct,createPackageJsonCache:()=>gNe,createSortedArray:()=>RLe,emptyArray:()=>$c,findArgument:()=>pit,forEachResolvedProjectReferenceProject:()=>Aw,formatDiagnosticToProtocol:()=>JK,formatMessage:()=>ENe,getBaseConfigFileName:()=>Upe,getLocationInNewDocument:()=>vNe,hasArgument:()=>mit,hasNoTypeScriptSource:()=>iNe,indent:()=>SM,isBackgroundProject:()=>HK,isConfigFile:()=>dNe,isConfiguredProject:()=>Zv,isDynamicFileName:()=>jK,isExternalProject:()=>tge,isInferredProject:()=>kw,isInferredProjectName:()=>PLe,makeAutoImportProviderProjectName:()=>zLe,makeAuxiliaryProjectName:()=>ILe,makeInferredProjectName:()=>MLe,maxFileSize:()=>Zee,maxProgramSizeForNonTsFiles:()=>qee,normalizedPathToPath:()=>OK,nowString:()=>git,nullCancellationToken:()=>CNe,nullTypingsInstaller:()=>Gee,projectContainsInfoDirectly:()=>f9,protocol:()=>XLe,removeSorted:()=>kct,stringifyIndented:()=>tw,toEvent:()=>_Ne,toNormalizedPath:()=>_l,tryConvertScriptKindName:()=>oge,typingsInstaller:()=>LLe,updateProjectIfDirty:()=>Wm});var g9=o({"src/server/_namespaces/ts.server.ts"(){UQ(),NLe(),_Qt(),DQt(),xQt(),vQt(),yQt(),SQt(),LQt(),RQt(),OQt(),jQt(),uXt(),rXt()}}),Uct={};h(Uct,{ANONYMOUS:()=>OX,AccessFlags:()=>Hoe,AssertionLevel:()=>foe,AssignmentDeclarationKind:()=>Yoe,AssignmentKind:()=>Hle,Associativity:()=>Wle,BreakpointResolver:()=>zme,BuilderFileEmit:()=>H1e,BuilderProgramKind:()=>K1e,BuilderState:()=>Vp,BundleFileSectionKind:()=>pse,CallHierarchy:()=>r9,CharacterCodes:()=>sse,CheckFlags:()=>Ioe,CheckMode:()=>qY,ClassificationType:()=>Lhe,ClassificationTypeNames:()=>The,CommentDirectiveType:()=>Coe,Comparison:()=>x,CompletionInfoFlags:()=>yhe,CompletionTriggerKind:()=>Dhe,Completions:()=>c9,ContainerFlags:()=>Nde,ContextFlags:()=>Soe,Debug:()=>H,DiagnosticCategory:()=>DO,Diagnostics:()=>F,DocumentHighlights:()=>HX,ElementFlags:()=>Voe,EmitFlags:()=>mU,EmitHint:()=>hse,EmitOnly:()=>yoe,EndOfLineState:()=>Ahe,EnumKind:()=>zoe,ExitStatus:()=>koe,ExportKind:()=>Ife,Extension:()=>lse,ExternalEmitHelpers:()=>dse,FileIncludeKind:()=>rU,FilePreprocessingDiagnosticsKind:()=>boe,FileSystemEntryKind:()=>vse,FileWatcherEventKind:()=>xse,FindAllReferences:()=>$0,FlattenLevel:()=>Qde,FlowFlags:()=>_O,ForegroundColorEscapeSequences:()=>P1e,FunctionFlags:()=>Kle,GeneratedIdentifierFlags:()=>uU,GetLiteralTextFlags:()=>Ole,GoToDefinition:()=>xw,HighlightSpanKind:()=>vhe,IdentifierNameMap:()=>q7,IdentifierNameMultiMap:()=>Yde,ImportKind:()=>zfe,ImportsNotUsedAsValues:()=>nse,IndentStyle:()=>Che,IndexFlags:()=>Koe,IndexKind:()=>Joe,InferenceFlags:()=>qoe,InferencePriority:()=>Uoe,InlayHintKind:()=>xhe,InlayHints:()=>Ape,InternalEmitFlags:()=>cse,InternalSymbolName:()=>Roe,InvalidatedProjectKind:()=>che,JSDocParsingMode:()=>_se,JsDoc:()=>qv,JsTyping:()=>a3,JsxEmit:()=>ise,JsxFlags:()=>xoe,JsxReferenceKind:()=>Woe,LanguageServiceMode:()=>ghe,LanguageVariant:()=>ase,LexicalEnvironmentFlags:()=>mse,ListFormat:()=>gse,LogLevel:()=>poe,MemberOverrideStatus:()=>Foe,ModifierFlags:()=>iU,ModuleDetectionKind:()=>Qoe,ModuleInstanceState:()=>Lde,ModuleKind:()=>kN,ModuleResolutionKind:()=>C8,ModuleSpecifierEnding:()=>Yle,NavigateTo:()=>t8e,NavigationBar:()=>d8e,NewLineKind:()=>use,NodeBuilderFlags:()=>Boe,NodeCheckFlags:()=>Ooe,NodeFactoryFlags:()=>rce,NodeFlags:()=>tU,NodeResolutionFeatures:()=>Bde,ObjectFlags:()=>lU,OperationCanceledException:()=>v8,OperatorPrecedence:()=>Gle,OrganizeImports:()=>Hp,OrganizeImportsMode:()=>_he,OuterExpressionKinds:()=>fse,OutliningElementsCollector:()=>Tpe,OutliningSpanKind:()=>khe,OutputFileType:()=>Fhe,PackageJsonAutoImportPreference:()=>phe,PackageJsonDependencyGroup:()=>mhe,PatternMatchKind:()=>KX,PollingInterval:()=>pU,PollingWatchKind:()=>tse,PragmaKindFlags:()=>Ese,PrivateIdentifierKind:()=>hce,ProcessLevel:()=>i1e,ProgramUpdateLevel:()=>E1e,QuotePreference:()=>wfe,RelationComparisonResult:()=>nU,Rename:()=>Ree,ScriptElementKind:()=>Bhe,ScriptElementKindModifier:()=>whe,ScriptKind:()=>dU,ScriptSnapshot:()=>ZQ,ScriptTarget:()=>rse,SemanticClassificationFormat:()=>Ehe,SemanticMeaning:()=>Bfe,SemicolonPreference:()=>bhe,SignatureCheckMode:()=>ZY,SignatureFlags:()=>cU,SignatureHelp:()=>TK,SignatureKind:()=>Goe,SmartSelectionRange:()=>Ppe,SnippetKind:()=>fU,SortKind:()=>hoe,StructureIsReused:()=>aU,SymbolAccessibility:()=>Loe,SymbolDisplay:()=>D5,SymbolDisplayPartKind:()=>SH,SymbolFlags:()=>oU,SymbolFormatFlags:()=>Toe,SyntaxKind:()=>eU,SyntheticSymbolKind:()=>Noe,Ternary:()=>Zoe,ThrottledCancellationToken:()=>Mme,TokenClass:()=>She,TokenFlags:()=>voe,TransformFlags:()=>hU,TypeFacts:()=>UY,TypeFlags:()=>sU,TypeFormatFlags:()=>woe,TypeMapKind:()=>$oe,TypePredicateKind:()=>Poe,TypeReferenceSerializationKind:()=>Moe,UnionReduction:()=>Aoe,UpToDateStatusType:()=>ahe,VarianceFlags:()=>joe,Version:()=>Bp,VersionRange:()=>pO,WatchDirectoryFlags:()=>ose,WatchDirectoryKind:()=>ese,WatchFileKind:()=>Xoe,WatchLogLevel:()=>_1e,WatchType:()=>sd,accessPrivateIdentifier:()=>UAe,addDisposableResourceHelper:()=>ZZ,addEmitFlags:()=>t_,addEmitHelper:()=>F7,addEmitHelpers:()=>tD,addInternalEmitFlags:()=>y7,addNodeFactoryPatcher:()=>LYe,addObjectAllocatorPatcher:()=>Zye,addRange:()=>yn,addRelatedInfo:()=>gs,addSyntheticLeadingComment:()=>RP,addSyntheticTrailingComment:()=>bZ,addToSeen:()=>Pp,advancedAsyncSuperHelper:()=>vV,affectsDeclarationPathOptionDeclarations:()=>fde,affectsEmitOptionDeclarations:()=>hde,allKeysStartWithDot:()=>HY,altDirectorySeparator:()=>AO,and:()=>U$,append:()=>Ei,appendIfUnique:()=>e0,arrayFrom:()=>ga,arrayIsEqualTo:()=>Hn,arrayIsHomogeneous:()=>pke,arrayIsSorted:()=>ci,arrayOf:()=>rm,arrayReverseIterator:()=>vd,arrayToMap:()=>og,arrayToMultiMap:()=>hO,arrayToNumericMap:()=>ioe,arraysEqual:()=>Zt,assertType:()=>fqe,assign:()=>jE,assignHelper:()=>wZ,asyncDelegator:()=>LZ,asyncGeneratorHelper:()=>TZ,asyncSuperHelper:()=>xV,asyncValues:()=>NZ,attachFileToDiagnostics:()=>D7,awaitHelper:()=>A7,awaiterHelper:()=>MZ,base64decode:()=>Rye,base64encode:()=>Iye,binarySearch:()=>Hl,binarySearchKey:()=>va,bindSourceFile:()=>FAe,breakIntoCharacterSpans:()=>USe,breakIntoWordSpans:()=>qSe,buildLinkParts:()=>ESe,buildOpts:()=>TY,buildOverload:()=>gct,bundlerModuleNameResolver:()=>mAe,canBeConvertedToAsync:()=>Ufe,canHaveDecorators:()=>kk,canHaveExportModifier:()=>nV,canHaveFlowNode:()=>Aj,canHaveIllegalDecorators:()=>Vce,canHaveIllegalModifiers:()=>wFe,canHaveIllegalType:()=>sQe,canHaveIllegalTypeParameters:()=>BFe,canHaveJSDoc:()=>Sj,canHaveLocals:()=>$E,canHaveModifiers:()=>Op,canHaveSymbol:()=>qg,canJsonReportNoInputFiles:()=>rM,canProduceDiagnostics:()=>cQ,canUsePropertyAccess:()=>Mle,canWatchAffectingLocation:()=>t9e,canWatchAtTypes:()=>e9e,canWatchDirectoryOrFile:()=>NQ,cartesianProduct:()=>e2e,cast:()=>No,chainBundle:()=>jp,chainDiagnosticMessages:()=>no,changeAnyExtension:()=>kO,changeCompilerHostLikeToUseCache:()=>DH,changeExtension:()=>Sv,changesAffectModuleResolution:()=>WU,changesAffectingProgramStructure:()=>vbe,childIsDecorated:()=>YN,classElementOrClassElementParameterIsDecorated:()=>A0e,classHasClassThisAssignment:()=>Xde,classHasDeclaredOrExplicitlyAssignedName:()=>e1e,classHasExplicitlyAssignedName:()=>oQ,classOrConstructorParameterIsDecorated:()=>e5,classPrivateFieldGetHelper:()=>$Z,classPrivateFieldInHelper:()=>qZ,classPrivateFieldSetHelper:()=>UZ,classicNameResolver:()=>CAe,classifier:()=>uBe,cleanExtendedConfigCache:()=>_Q,clear:()=>mu,clearMap:()=>uf,clearSharedExtendedConfigFileWatcher:()=>m1e,climbPastPropertyAccess:()=>QQ,climbPastPropertyOrElementAccess:()=>W9e,clone:()=>noe,cloneCompilerOptions:()=>Yhe,closeFileWatcher:()=>dg,closeFileWatcherOf:()=>Om,codefix:()=>M1,collapseTextChangeRangesAcrossMultipleVersions:()=>L2e,collectExternalModuleInfo:()=>$de,combine:()=>Do,combinePaths:()=>dr,commentPragmas:()=>xO,commonOptionsWithBuild:()=>ZV,commonPackageFolders:()=>$le,compact:()=>kr,compareBooleans:()=>s2,compareDataObjects:()=>ple,compareDiagnostics:()=>CP,compareDiagnosticsSkipRelatedInformation:()=>Jq,compareEmitHelpers:()=>Jke,compareNumberOfDirectorySeparators:()=>eV,comparePaths:()=>fv,comparePathsCaseInsensitive:()=>jqe,comparePathsCaseSensitive:()=>Oqe,comparePatternKeys:()=>Ade,compareProperties:()=>ZCe,compareStringsCaseInsensitive:()=>J$,compareStringsCaseInsensitiveEslintCompatible:()=>$Ce,compareStringsCaseSensitive:()=>ch,compareStringsCaseSensitiveUI:()=>fO,compareTextSpans:()=>G$,compareValues:()=>nl,compileOnSaveCommandLineOption:()=>UV,compilerOptionsAffectDeclarationPath:()=>oke,compilerOptionsAffectEmit:()=>ake,compilerOptionsAffectSemanticDiagnostics:()=>rke,compilerOptionsDidYouMeanDiagnostics:()=>XV,compilerOptionsIndicateEsModules:()=>nfe,compose:()=>dqe,computeCommonSourceDirectoryOfFilenames:()=>L7e,computeLineAndCharacterOfPosition:()=>b8,computeLineOfPosition:()=>wN,computeLineStarts:()=>t7,computePositionOfLineAndCharacter:()=>CU,computeSignature:()=>Tk,computeSignatureWithDiagnostics:()=>R1e,computeSuggestionDiagnostics:()=>Gfe,concatenate:()=>an,concatenateDiagnosticMessageChains:()=>eke,consumesNodeCoreModules:()=>LX,contains:()=>Ft,containsIgnoredPath:()=>wP,containsObjectRestOrSpread:()=>OV,containsParseError:()=>I8,containsPath:()=>WE,convertCompilerOptionsForTelemetry:()=>QFe,convertCompilerOptionsFromJson:()=>dXe,convertJsonOption:()=>Fk,convertToBase64:()=>zye,convertToJson:()=>GV,convertToObject:()=>UFe,convertToOptionsWithAbsolutePaths:()=>ade,convertToRelativePath:()=>BN,convertToTSConfig:()=>YQe,convertTypeAcquisitionFromJson:()=>hXe,copyComments:()=>zk,copyEntries:()=>GU,copyLeadingComments:()=>sw,copyProperties:()=>uoe,copyTrailingAsLeadingComments:()=>UH,copyTrailingComments:()=>RM,couldStartTrivia:()=>C2e,countWhere:()=>ui,createAbstractBuilder:()=>Ctt,createAccessorPropertyBackingField:()=>Kce,createAccessorPropertyGetRedirector:()=>RFe,createAccessorPropertySetRedirector:()=>OFe,createBaseNodeFactory:()=>wke,createBinaryExpressionTrampoline:()=>vY,createBindingHelper:()=>_B,createBuildInfo:()=>mH,createBuilderProgram:()=>O1e,createBuilderProgramUsingProgramBuildInfo:()=>Q7e,createBuilderStatusReporter:()=>p9e,createCacheWithRedirects:()=>vde,createCacheableExportInfoMap:()=>Nfe,createCachedDirectoryStructureHost:()=>gQ,createClassNamedEvaluationHelperBlock:()=>XAe,createClassThisAssignmentBlock:()=>YAe,createClassifier:()=>Oit,createCommentDirectivesMap:()=>Abe,createCompilerDiagnostic:()=>lc,createCompilerDiagnosticForInvalidCustomType:()=>KFe,createCompilerDiagnosticFromMessageChain:()=>Gq,createCompilerHost:()=>N7e,createCompilerHostFromProgramHost:()=>ihe,createCompilerHostWorker:()=>v1e,createDetachedDiagnostic:()=>cB,createDiagnosticCollection:()=>nB,createDiagnosticForFileFromMessageChain:()=>C0e,createDiagnosticForNode:()=>Su,createDiagnosticForNodeArray:()=>j8,createDiagnosticForNodeArrayFromMessageChain:()=>aj,createDiagnosticForNodeFromMessageChain:()=>Z3,createDiagnosticForNodeInSourceFile:()=>V4,createDiagnosticForRange:()=>Obe,createDiagnosticMessageChainFromDiagnostic:()=>Rbe,createDiagnosticReporter:()=>bH,createDocumentPositionMapper:()=>HAe,createDocumentRegistry:()=>ISe,createDocumentRegistryInternal:()=>jfe,createEmitAndSemanticDiagnosticsBuilderProgram:()=>W1e,createEmitHelperFactory:()=>Gke,createEmptyExports:()=>TV,createExpressionForJsxElement:()=>CFe,createExpressionForJsxFragment:()=>bFe,createExpressionForObjectLiteralElementLike:()=>yFe,createExpressionForPropertyName:()=>Mce,createExpressionFromEntityName:()=>LV,createExternalHelpersImportDeclarationIfNeeded:()=>Rce,createFileDiagnostic:()=>zd,createFileDiagnosticFromMessageChain:()=>XU,createForOfBindingStatement:()=>Pce,createGetCanonicalFileName:()=>T1,createGetSourceFile:()=>D1e,createGetSymbolAccessibilityDiagnosticForNode:()=>d5,createGetSymbolAccessibilityDiagnosticForNodeName:()=>b7e,createGetSymbolWalker:()=>AAe,createIncrementalCompilerHost:()=>uhe,createIncrementalProgram:()=>f9e,createInputFiles:()=>PYe,createInputFilesWithFilePaths:()=>nce,createInputFilesWithFileTexts:()=>uce,createJsxFactoryExpression:()=>Nce,createLanguageService:()=>Q8e,createLanguageServiceSourceFile:()=>fee,createMemberAccessForPropertyName:()=>yk,createModeAwareCache:()=>J7,createModeAwareCacheKey:()=>cM,createModuleNotFoundChain:()=>a0e,createModuleResolutionCache:()=>VB,createModuleResolutionLoader:()=>F1e,createModuleResolutionLoaderUsingGlobalCache:()=>r9e,createModuleSpecifierResolutionHost:()=>Mk,createMultiMap:()=>Bm,createNodeConverters:()=>Lke,createNodeFactory:()=>hV,createOptionNameMap:()=>yY,createOverload:()=>Wpe,createPackageJsonImportFilter:()=>VM,createPackageJsonInfo:()=>vfe,createParenthesizerRules:()=>Tke,createPatternMatcher:()=>HSe,createPrependNodes:()=>L1e,createPrinter:()=>Kv,createPrinterWithDefaults:()=>h1e,createPrinterWithRemoveComments:()=>Z2,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>f1e,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>pH,createProgram:()=>yQ,createProgramHost:()=>nhe,createPropertyNameNodeForIdentifierOrLiteral:()=>cZ,createQueue:()=>W$,createRange:()=>o4,createRedirectedBuilderProgram:()=>V1e,createResolutionCache:()=>J1e,createRuntimeTypeSerializer:()=>u7e,createScanner:()=>ZD,createSemanticDiagnosticsBuilderProgram:()=>vtt,createSet:()=>roe,createSolutionBuilder:()=>Rtt,createSolutionBuilderHost:()=>ztt,createSolutionBuilderWithWatch:()=>Ott,createSolutionBuilderWithWatchHost:()=>Itt,createSortedArray:()=>xt,createSourceFile:()=>VV,createSourceMapGenerator:()=>RAe,createSourceMapSource:()=>MYe,createSuperAccessVariableStatement:()=>lQ,createSymbolTable:()=>Vo,createSymlinkCache:()=>Cle,createSystemWatchFunctions:()=>p2e,createTextChange:()=>OH,createTextChangeFromStartLength:()=>hX,createTextChangeRange:()=>IO,createTextRangeFromNode:()=>efe,createTextRangeFromSpan:()=>dX,createTextSpan:()=>c1,createTextSpanFromBounds:()=>Vc,createTextSpanFromNode:()=>af,createTextSpanFromRange:()=>Ux,createTextSpanFromStringLiteralLikeContent:()=>Xhe,createTextWriter:()=>Oj,createTokenRange:()=>hle,createTypeChecker:()=>LAe,createTypeReferenceDirectiveResolutionCache:()=>RY,createTypeReferenceResolutionLoader:()=>vQ,createUnparsedSourceFile:()=>ice,createWatchCompilerHost:()=>Ntt,createWatchCompilerHostOfConfigFile:()=>c9e,createWatchCompilerHostOfFilesAndCompilerOptions:()=>d9e,createWatchFactory:()=>the,createWatchHost:()=>ehe,createWatchProgram:()=>Ptt,createWatchStatusReporter:()=>a9e,createWriteFileMeasuringIO:()=>x1e,declarationNameToString:()=>C0,decodeMappings:()=>Wde,decodedTextSpanIntersectsWith:()=>zO,decorateHelper:()=>kZ,deduplicate:()=>li,defaultIncludeSpec:()=>PY,defaultInitCompilerOptions:()=>LY,defaultMaximumTruncationLength:()=>oV,detectSortCaseSensitivity:()=>hn,diagnosticCategoryName:()=>Ky,diagnosticToString:()=>Rk,directoryProbablyExists:()=>cg,directorySeparator:()=>rl,displayPart:()=>bf,displayPartsToString:()=>pK,disposeEmitNodes:()=>ace,disposeResourcesHelper:()=>YZ,documentSpansEqual:()=>DX,dumpTracingLegend:()=>h2e,elementAt:()=>UD,elideNodes:()=>IFe,emitComments:()=>kye,emitDetachedComments:()=>Fye,emitFiles:()=>fQ,emitFilesAndReportErrors:()=>IQ,emitFilesAndReportErrorsAndGetExitStatus:()=>l9e,emitModuleKindIsNonNodeESM:()=>$q,emitNewLineBeforeLeadingCommentOfPosition:()=>yye,emitNewLineBeforeLeadingComments:()=>Cye,emitNewLineBeforeLeadingCommentsOfPosition:()=>bye,emitSkippedWithNoDiagnostics:()=>wQ,emitUsingBuildInfo:()=>S7e,emptyArray:()=>_t,emptyFileSystemEntries:()=>DZ,emptyMap:()=>Q$,emptyOptions:()=>c4,emptySet:()=>i2e,endsWith:()=>oc,ensurePathIsNonModuleName:()=>l2,ensureScriptKind:()=>nZ,ensureTrailingDirectorySeparator:()=>Pd,entityNameToString:()=>Mf,enumerateInsertsAndDeletes:()=>Z$,equalOwnProperties:()=>UA,equateStringsCaseInsensitive:()=>ZA,equateStringsCaseSensitive:()=>YA,equateValues:()=>vx,esDecorateHelper:()=>SZ,escapeJsxAttributeString:()=>Q0e,escapeLeadingUnderscores:()=>Al,escapeNonAsciiString:()=>Rj,escapeSnippetText:()=>z2,escapeString:()=>kv,every:()=>ye,expandPreOrPostfixIncrementOrDecrementExpression:()=>pY,explainFiles:()=>q1e,explainIfFileIsRedirectAndImpliedFormat:()=>Z1e,exportAssignmentIsAlias:()=>X8,exportStarHelper:()=>JZ,expressionResultIsUnused:()=>Eke,extend:()=>K$,extendsHelper:()=>zZ,extensionFromPath:()=>C7,extensionIsTS:()=>aZ,extensionsNotSupportingExtensionlessResolution:()=>dV,externalHelpersModuleNameText:()=>Vx,factory:()=>q,fileExtensionIs:()=>Ml,fileExtensionIsOneOf:()=>jc,fileIncludeReasonToDiagnostics:()=>X1e,fileShouldUseJavaScriptRequire:()=>Sfe,filter:()=>ei,filterMutate:()=>qu,filterSemanticDiagnostics:()=>kQ,find:()=>Le,findAncestor:()=>Tn,findBestPatternMatch:()=>loe,findChildOfKind:()=>r0,findComputedPropertyNameCacheAssignment:()=>CY,findConfigFile:()=>T7e,findContainingList:()=>nX,findDiagnosticForNode:()=>BSe,findFirstNonJsxWhitespaceToken:()=>q9e,findIndex:()=>Ue,findLast:()=>st,findLastIndex:()=>Ye,findListItemInfo:()=>U9e,findMap:()=>rt,findModifier:()=>rw,findNextToken:()=>X2,findPackageJson:()=>ASe,findPackageJsons:()=>xfe,findPrecedingMatchingToken:()=>lX,findPrecedingToken:()=>ed,findSuperStatementIndexPath:()=>uQ,findTokenOnLeftOfPosition:()=>aX,findUseStrictPrologue:()=>Ice,first:()=>Pn,firstDefined:()=>G,firstDefinedIterator:()=>ie,firstIterator:()=>Ia,firstOrOnly:()=>kfe,firstOrUndefined:()=>Ki,firstOrUndefinedIterator:()=>Kn,fixupCompilerOptions:()=>Zfe,flatMap:()=>Ku,flatMapIterator:()=>Vn,flatMapToMutable:()=>Pr,flatten:()=>Oa,flattenCommaList:()=>jFe,flattenDestructuringAssignment:()=>Sk,flattenDestructuringBinding:()=>q2,flattenDiagnosticMessageText:()=>sE,forEach:()=>L,forEachAncestor:()=>Cbe,forEachAncestorDirectory:()=>$g,forEachChild:()=>uo,forEachChildRecursively:()=>nM,forEachEmittedFile:()=>c1e,forEachEnclosingBlockScopeContainer:()=>Mbe,forEachEntry:()=>d1,forEachExternalModuleToImportFrom:()=>Mfe,forEachImportClauseDeclaration:()=>Cq,forEachKey:()=>$_,forEachLeadingCommentRange:()=>TO,forEachNameInAccessChainWalkingLeft:()=>Uye,forEachPropertyAssignment:()=>W8,forEachResolvedProjectReference:()=>A1e,forEachReturnStatement:()=>v2,forEachRight:()=>R,forEachTrailingCommentRange:()=>LO,forEachTsConfigPropArray:()=>cj,forEachUnique:()=>sfe,forEachYieldExpression:()=>Vbe,forSomeAncestorDirectory:()=>iYe,formatColorAndReset:()=>Y2,formatDiagnostic:()=>C1e,formatDiagnostics:()=>ntt,formatDiagnosticsWithColorAndContext:()=>P7e,formatGeneratedName:()=>Rv,formatGeneratedNamePart:()=>zB,formatLocation:()=>b1e,formatMessage:()=>_le,formatStringFromArgs:()=>X_,formatting:()=>ld,fullTripleSlashAMDReferencePathRegEx:()=>Vle,fullTripleSlashReferencePathRegEx:()=>jle,generateDjb2Hash:()=>FN,generateTSConfig:()=>iXe,generatorHelper:()=>KZ,getAdjustedReferenceLocation:()=>Ghe,getAdjustedRenameLocation:()=>rX,getAliasDeclarationFromName:()=>V0e,getAllAccessorDeclarations:()=>lk,getAllDecoratorsOfClass:()=>qde,getAllDecoratorsOfClassElement:()=>aQ,getAllJSDocTags:()=>jse,getAllJSDocTagsOfKind:()=>pZe,getAllKeys:()=>Sm,getAllProjectOutputs:()=>hQ,getAllSuperTypeNodes:()=>nP,getAllUnscopedEmitHelpers:()=>dce,getAllowJSCompilerOption:()=>Av,getAllowSyntheticDefaultImports:()=>x7,getAncestor:()=>yv,getAnyExtensionFromPath:()=>SN,getAreDeclarationMapsEnabled:()=>qq,getAssignedExpandoInitializer:()=>o7,getAssignedName:()=>Mse,getAssignedNameOfIdentifier:()=>EM,getAssignmentDeclarationKind:()=>Ql,getAssignmentDeclarationPropertyAccessKind:()=>Cj,getAssignmentTargetKind:()=>d7,getAutomaticTypeDirectiveNames:()=>IY,getBaseFileName:()=>Fc,getBinaryOperatorPrecedence:()=>Ij,getBuildInfo:()=>mQ,getBuildInfoFileVersionMap:()=>j1e,getBuildInfoText:()=>A7e,getBuildOrderFromAnyBuildOrder:()=>HQ,getBuilderCreationParameters:()=>TQ,getBuilderFileEmit:()=>$x,getCheckFlags:()=>Wl,getClassExtendsHeritageElement:()=>F2,getClassLikeDeclarationOfSymbol:()=>eD,getCombinedLocalAndExportSymbolFlags:()=>DP,getCombinedModifierFlags:()=>d2,getCombinedNodeFlags:()=>YD,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>Nse,getCommentRange:()=>iE,getCommonSourceDirectory:()=>bM,getCommonSourceDirectoryOfConfig:()=>yM,getCompilerOptionValue:()=>Yq,getCompilerOptionsDiffValue:()=>eXe,getConditions:()=>W2,getConfigFileParsingDiagnostics:()=>wk,getConstantValue:()=>Rke,getContainerFlags:()=>Tde,getContainerNode:()=>Nk,getContainingClass:()=>Zd,getContainingClassExcludingClassDecorators:()=>sq,getContainingClassStaticBlock:()=>Zbe,getContainingFunction:()=>Lm,getContainingFunctionDeclaration:()=>qbe,getContainingFunctionOrClassStaticBlock:()=>oq,getContainingNodeArray:()=>_ke,getContainingObjectLiteralElement:()=>gK,getContextualTypeFromParent:()=>yX,getContextualTypeFromParentOrAncestorTypeNode:()=>uX,getCurrentTime:()=>kH,getDeclarationDiagnostics:()=>y7e,getDeclarationEmitExtensionForPath:()=>Vj,getDeclarationEmitOutputFilePath:()=>Eye,getDeclarationEmitOutputFilePathWorker:()=>Tq,getDeclarationFromName:()=>iP,getDeclarationModifierFlagsFromSymbol:()=>s4,getDeclarationOfKind:()=>Sl,getDeclarationsOfKind:()=>Dbe,getDeclaredExpandoInitializer:()=>_j,getDecorators:()=>Fx,getDefaultCompilerOptions:()=>hee,getDefaultExportInfoWorker:()=>VX,getDefaultFormatCodeSettings:()=>qQ,getDefaultLibFileName:()=>PO,getDefaultLibFilePath:()=>X8e,getDefaultLikeExportInfo:()=>jX,getDiagnosticText:()=>WQe,getDiagnosticsWithinSpan:()=>wSe,getDirectoryPath:()=>cr,getDirectoryToWatchFailedLookupLocation:()=>G1e,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>n9e,getDocumentPositionMapper:()=>Wfe,getESModuleInterop:()=>XE,getEditsForFileRename:()=>OSe,getEffectiveBaseTypeNode:()=>Yg,getEffectiveConstraintOfTypeParameter:()=>S8,getEffectiveContainerForJSDocTemplateTag:()=>bq,getEffectiveImplementsTypeNodes:()=>eB,getEffectiveInitializer:()=>Ej,getEffectiveJSDocHost:()=>rk,getEffectiveModifierFlags:()=>gh,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>wye,getEffectiveModifierFlagsNoCache:()=>Tye,getEffectiveReturnTypeNode:()=>J4,getEffectiveSetAccessorTypeAnnotationNode:()=>vye,getEffectiveTypeAnnotationNode:()=>h1,getEffectiveTypeParameterDeclarations:()=>Ax,getEffectiveTypeRoots:()=>lM,getElementOrPropertyAccessArgumentExpressionOrName:()=>vq,getElementOrPropertyAccessName:()=>Y3,getElementsOfBindingOrAssignmentPattern:()=>MB,getEmitDeclarations:()=>l4,getEmitFlags:()=>Cs,getEmitHelpers:()=>yZ,getEmitModuleDetectionKind:()=>tke,getEmitModuleKind:()=>f1,getEmitModuleResolutionKind:()=>m1,getEmitScriptTarget:()=>Rs,getEmitStandardClassFields:()=>uke,getEnclosingBlockScopeContainer:()=>ZE,getEnclosingContainer:()=>v0e,getEncodedSemanticClassifications:()=>Rfe,getEncodedSyntacticClassifications:()=>Ofe,getEndLinePosition:()=>ij,getEntityNameFromTypeNode:()=>fj,getEntrypointsFromPackageJsonInfo:()=>yde,getErrorCountForSummary:()=>MQ,getErrorSpanForNode:()=>D2,getErrorSummaryText:()=>o9e,getEscapedTextOfIdentifierOrLiteral:()=>aP,getEscapedTextOfJsxAttributeName:()=>PP,getEscapedTextOfJsxNamespacedName:()=>b7,getExpandoInitializer:()=>Cv,getExportAssignmentExpression:()=>H0e,getExportInfoMap:()=>XH,getExportNeedsImportStarHelper:()=>KAe,getExpressionAssociativity:()=>U0e,getExpressionPrecedence:()=>sP,getExternalHelpersModuleName:()=>PV,getExternalModuleImportEqualsDeclarationExpression:()=>QN,getExternalModuleName:()=>q8,getExternalModuleNameFromDeclaration:()=>pye,getExternalModuleNameFromPath:()=>ele,getExternalModuleNameLiteral:()=>H7,getExternalModuleRequireArgument:()=>B0e,getFallbackOptions:()=>_H,getFileEmitOutput:()=>V7e,getFileMatcherPatterns:()=>iZ,getFileNamesFromConfigSpecs:()=>aM,getFileWatcherEventKind:()=>Dse,getFilesInErrorForSummary:()=>zQ,getFirstConstructorWithBody:()=>Q_,getFirstIdentifier:()=>dm,getFirstNonSpaceCharacterPosition:()=>vSe,getFirstProjectOutput:()=>d1e,getFixableErrorSpanExpression:()=>bfe,getFormatCodeSettingsForWriting:()=>zX,getFullWidth:()=>ej,getFunctionFlags:()=>yd,getHeritageClause:()=>Nj,getHostSignatureFromJSDoc:()=>bv,getIdentifierAutoGenerate:()=>jYe,getIdentifierGeneratedImportReference:()=>Wke,getIdentifierTypeArguments:()=>mk,getImmediatelyInvokedFunctionExpression:()=>tk,getImpliedNodeFormatForFile:()=>vH,getImpliedNodeFormatForFileWorker:()=>w1e,getImportNeedsImportDefaultHelper:()=>Jde,getImportNeedsImportStarHelper:()=>iQ,getIndentSize:()=>rB,getIndentString:()=>Bq,getInferredLibraryNameResolveFrom:()=>bQ,getInitializedVariables:()=>_P,getInitializerOfBinaryExpression:()=>P0e,getInitializerOfBindingOrAssignmentElement:()=>zV,getInterfaceBaseTypeNodes:()=>uP,getInternalEmitFlags:()=>Tp,getInvokedExpression:()=>dq,getIsolatedModules:()=>hg,getJSDocAugmentsTag:()=>V2e,getJSDocClassTag:()=>zse,getJSDocCommentRanges:()=>y0e,getJSDocCommentsAndTags:()=>z0e,getJSDocDeprecatedTag:()=>Ise,getJSDocDeprecatedTagNoCache:()=>U2e,getJSDocEnumTag:()=>Rse,getJSDocHost:()=>c7,getJSDocImplementsTags:()=>H2e,getJSDocOverrideTagNoCache:()=>$2e,getJSDocParameterTags:()=>A8,getJSDocParameterTagsNoCache:()=>I2e,getJSDocPrivateTag:()=>cZe,getJSDocPrivateTagNoCache:()=>W2e,getJSDocProtectedTag:()=>dZe,getJSDocProtectedTagNoCache:()=>G2e,getJSDocPublicTag:()=>lZe,getJSDocPublicTagNoCache:()=>K2e,getJSDocReadonlyTag:()=>hZe,getJSDocReadonlyTagNoCache:()=>J2e,getJSDocReturnTag:()=>q2e,getJSDocReturnType:()=>OO,getJSDocRoot:()=>tP,getJSDocSatisfiesExpressionType:()=>Ile,getJSDocSatisfiesTag:()=>Ose,getJSDocTags:()=>xv,getJSDocTagsNoCache:()=>mZe,getJSDocTemplateTag:()=>fZe,getJSDocThisTag:()=>SU,getJSDocType:()=>Dv,getJSDocTypeAliasName:()=>jce,getJSDocTypeAssertionType:()=>EY,getJSDocTypeParameterDeclarations:()=>Mq,getJSDocTypeParameterTags:()=>R2e,getJSDocTypeParameterTagsNoCache:()=>O2e,getJSDocTypeTag:()=>_v,getJSXImplicitImportBase:()=>Xq,getJSXRuntimeImport:()=>eZ,getJSXTransformEnabled:()=>Qq,getKeyForCompilerOptions:()=>xde,getLanguageVariant:()=>qj,getLastChild:()=>gle,getLeadingCommentRanges:()=>K_,getLeadingCommentRangesOfNode:()=>b0e,getLeftmostAccessExpression:()=>vP,getLeftmostExpression:()=>lB,getLibraryNameFromLibFileName:()=>S1e,getLineAndCharacterOfPosition:()=>o0,getLineInfo:()=>Hde,getLineOfLocalPosition:()=>cP,getLineOfLocalPositionFromLineMap:()=>ok,getLineStartPositionForPosition:()=>X4,getLineStarts:()=>J3,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Kye,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>Hye,getLinesBetweenPositions:()=>TN,getLinesBetweenRangeEndAndRangeStart:()=>fle,getLinesBetweenRangeEndPositions:()=>eYe,getLiteralText:()=>Sbe,getLocalNameForExternalImport:()=>PB,getLocalSymbolForExportDefault:()=>oB,getLocaleSpecificMessage:()=>Ya,getLocaleTimeString:()=>yH,getMappedContextSpan:()=>lfe,getMappedDocumentSpan:()=>xX,getMappedLocation:()=>MM,getMatchedFileSpec:()=>Y1e,getMatchedIncludeSpec:()=>Q1e,getMeaningFromDeclaration:()=>BH,getMeaningFromLocation:()=>Lk,getMembersOfDeclaration:()=>Hbe,getModeForFileReference:()=>xQ,getModeForResolutionAtIndex:()=>y1e,getModeForUsageLocation:()=>_g,getModifiedTime:()=>QA,getModifiers:()=>h2,getModuleInstanceState:()=>aD,getModuleNameStringLiteralAt:()=>AQ,getModuleSpecifierEndingPreference:()=>Ale,getModuleSpecifierResolverHost:()=>ufe,getNameForExportedSymbol:()=>NX,getNameFromIndexInfo:()=>zbe,getNameFromPropertyName:()=>HH,getNameOfAccessExpression:()=>Jye,getNameOfCompilerOptionValue:()=>ude,getNameOfDeclaration:()=>$a,getNameOfExpando:()=>L0e,getNameOfJSDocTypedef:()=>z2e,getNameOrArgument:()=>vj,getNameTable:()=>wme,getNamesForExportedSymbol:()=>TSe,getNamespaceDeclarationNode:()=>Z8,getNewLineCharacter:()=>r5,getNewLineKind:()=>QH,getNewLineOrDefaultFromHost:()=>g5,getNewTargetContainer:()=>Qbe,getNextJSDocCommentLocation:()=>I0e,getNodeForGeneratedName:()=>RV,getNodeId:()=>$s,getNodeKind:()=>Q2,getNodeModifiers:()=>LM,getNodeModulePathParts:()=>dZ,getNonAssignedNameOfDeclaration:()=>AU,getNonAssignmentOperatorForCompoundAssignment:()=>mM,getNonAugmentationDeclaration:()=>p0e,getNonDecoratorTokenPosOfNode:()=>c0e,getNormalizedAbsolutePath:()=>Ga,getNormalizedAbsolutePathWithoutRoot:()=>kse,getNormalizedPathComponents:()=>yO,getObjectFlags:()=>Ju,getOperator:()=>Z0e,getOperatorAssociativity:()=>q0e,getOperatorPrecedence:()=>zj,getOptionFromName:()=>Xce,getOptionsForLibraryResolution:()=>Cde,getOptionsNameMap:()=>RB,getOrCreateEmitNode:()=>N1,getOrCreateExternalHelpersModuleNameIfNeeded:()=>SFe,getOrUpdate:()=>tl,getOriginalNode:()=>Kl,getOriginalNodeId:()=>P1,getOriginalSourceFile:()=>WZe,getOutputDeclarationFileName:()=>CM,getOutputExtension:()=>dQ,getOutputFileNames:()=>ett,getOutputPathsFor:()=>vM,getOutputPathsForBundle:()=>xM,getOwnEmitOutputFilePath:()=>gye,getOwnKeys:()=>Ls,getOwnValues:()=>$1,getPackageJsonInfo:()=>G2,getPackageJsonTypesVersionsPaths:()=>zY,getPackageJsonsVisibleToFile:()=>SSe,getPackageNameFromTypesPackageName:()=>dM,getPackageScopeForPath:()=>uH,getParameterSymbolFromJSDoc:()=>Bj,getParameterTypeNode:()=>fYe,getParentNodeInSpan:()=>WH,getParseTreeNode:()=>Ja,getParsedCommandLineOfConfigFile:()=>KV,getPathComponents:()=>bd,getPathComponentsRelativeTo:()=>Ase,getPathFromPathComponents:()=>bx,getPathUpdater:()=>Hfe,getPathsBasePath:()=>Lq,getPatternFromSpec:()=>kle,getPendingEmitKind:()=>YB,getPositionOfLineAndCharacter:()=>BO,getPossibleGenericSignatures:()=>$he,getPossibleOriginalInputExtensionForExtension:()=>_ye,getPossibleTypeArgumentsInfo:()=>Uhe,getPreEmitDiagnostics:()=>itt,getPrecedingNonSpaceCharacterPosition:()=>CX,getPrivateIdentifier:()=>Zde,getProperties:()=>Ude,getProperty:()=>io,getPropertyArrayElementValue:()=>Ube,getPropertyAssignmentAliasLikeExpression:()=>dye,getPropertyNameForPropertyNameNode:()=>ak,getPropertyNameForUniqueESSymbol:()=>HZe,getPropertyNameFromType:()=>Z4,getPropertyNameOfBindingOrAssignmentElement:()=>Oce,getPropertySymbolFromBindingElement:()=>_X,getPropertySymbolsFromContextualType:()=>mee,getQuoteFromPreference:()=>afe,getQuotePreference:()=>Vm,getRangesWhere:()=>Tu,getRefactorContextSpan:()=>i9,getReferencedFileLocation:()=>kM,getRegexFromPattern:()=>Ox,getRegularExpressionForWildcard:()=>bP,getRegularExpressionsForWildcards:()=>tZ,getRelativePathFromDirectory:()=>GE,getRelativePathFromFile:()=>FO,getRelativePathToDirectoryOrUrl:()=>e7,getRenameLocation:()=>$H,getReplacementSpanForContextToken:()=>Qhe,getResolutionDiagnostic:()=>N1e,getResolutionModeOverride:()=>$B,getResolveJsonModule:()=>L2,getResolvePackageJsonExports:()=>xle,getResolvePackageJsonImports:()=>oYe,getResolvedExternalModuleName:()=>wq,getRestIndicatorOfBindingOrAssignmentElement:()=>DY,getRestParameterElementType:()=>k0e,getRightMostAssignedExpression:()=>Dj,getRootDeclaration:()=>QE,getRootDirectoryOfResolutionCache:()=>u9e,getRootLength:()=>KE,getRootPathSplitLength:()=>Ftt,getScriptKind:()=>mfe,getScriptKindFromFileName:()=>uZ,getScriptTargetFeatures:()=>gZ,getSelectedEffectiveModifierFlags:()=>p7,getSelectedSyntacticModifierFlags:()=>Sye,getSemanticClassifications:()=>MSe,getSemanticJsxChildren:()=>iB,getSetAccessorTypeAnnotationNode:()=>Dye,getSetAccessorValueParameter:()=>dP,getSetExternalModuleIndicator:()=>Zj,getShebang:()=>yU,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>M0e,getSingleVariableOfVariableStatement:()=>Q8,getSnapshotText:()=>uw,getSnippetElement:()=>oce,getSourceFileOfModule:()=>$U,getSourceFileOfNode:()=>zn,getSourceFilePathInNewDir:()=>Nq,getSourceFilePathInNewDirWorker:()=>Pq,getSourceFileVersionAsHashFromText:()=>RQ,getSourceFilesToEmit:()=>tle,getSourceMapRange:()=>wv,getSourceMapper:()=>YSe,getSourceTextOfNodeFromSourceFile:()=>E2,getSpanOfTokenAtPosition:()=>YE,getSpellingSuggestion:()=>CN,getStartPositionOfLine:()=>Px,getStartPositionOfRange:()=>EP,getStartsOnNewLine:()=>IP,getStaticPropertiesAndClassStaticBlock:()=>rQ,getStrictOptionValue:()=>U4,getStringComparer:()=>vN,getSuperCallFromStatement:()=>nQ,getSuperContainer:()=>dj,getSupportedCodeFixes:()=>Sme,getSupportedExtensions:()=>yP,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>Xj,getSwitchedType:()=>_fe,getSymbolId:()=>Zo,getSymbolNameForPrivateIdentifier:()=>Pj,getSymbolTarget:()=>DSe,getSyntacticClassifications:()=>zSe,getSyntacticModifierFlags:()=>Ix,getSyntacticModifierFlagsNoCache:()=>rle,getSynthesizedDeepClone:()=>ll,getSynthesizedDeepCloneWithReplacements:()=>JH,getSynthesizedDeepClones:()=>eb,getSynthesizedDeepClonesWithReplacements:()=>pfe,getSyntheticLeadingComments:()=>EB,getSyntheticTrailingComments:()=>EV,getTargetLabel:()=>XQ,getTargetOfBindingOrAssignmentElement:()=>Jx,getTemporaryModuleResolutionState:()=>nH,getTextOfConstantValue:()=>Bbe,getTextOfIdentifierOrLiteral:()=>W4,getTextOfJSDocComment:()=>VO,getTextOfJsxAttributeName:()=>aV,getTextOfJsxNamespacedName:()=>MP,getTextOfNode:()=>Hc,getTextOfNodeFromSourceText:()=>GN,getTextOfPropertyName:()=>O8,getThisContainer:()=>ef,getThisParameter:()=>S2,getTokenAtPosition:()=>Ca,getTokenPosOfNode:()=>Qy,getTokenSourceMapRange:()=>RYe,getTouchingPropertyName:()=>rf,getTouchingToken:()=>TM,getTrailingCommentRanges:()=>mv,getTrailingSemicolonDeferringWriter:()=>X0e,getTransformFlagsSubtreeExclusions:()=>Nke,getTransformers:()=>s1e,getTsBuildInfoEmitOutputFilePath:()=>h5,getTsConfigObjectLiteralExpression:()=>qN,getTsConfigPropArrayElementValue:()=>aq,getTypeAnnotationNode:()=>xye,getTypeArgumentOrTypeParameterList:()=>nSe,getTypeKeywordOfTypeOnlyImport:()=>ofe,getTypeNode:()=>Hke,getTypeNodeIfAccessible:()=>jM,getTypeParameterFromJsDoc:()=>rye,getTypeParameterOwner:()=>uZe,getTypesPackageName:()=>KY,getUILocale:()=>UCe,getUniqueName:()=>Ik,getUniqueSymbolId:()=>xSe,getUseDefineForClassFields:()=>Qj,getWatchErrorSummaryDiagnosticMessage:()=>$1e,getWatchFactory:()=>g1e,group:()=>xN,groupBy:()=>WCe,guessIndentation:()=>Ebe,handleNoEmitOptions:()=>T1e,hasAbstractModifier:()=>T2,hasAccessorModifier:()=>Xg,hasAmbientModifier:()=>ule,hasChangesInResolutions:()=>o0e,hasChildOfKind:()=>zH,hasContextSensitiveParameters:()=>lZ,hasDecorators:()=>a4,hasDocComment:()=>tSe,hasDynamicName:()=>zx,hasEffectiveModifier:()=>If,hasEffectiveModifiers:()=>zq,hasEffectiveReadonlyModifier:()=>hP,hasExtension:()=>XA,hasIndexSignature:()=>Efe,hasInitializer:()=>Lx,hasInvalidEscape:()=>Y0e,hasJSDocNodes:()=>sm,hasJSDocParameterTags:()=>j2e,hasJSFileExtension:()=>N2,hasJsonModuleEmitEnabled:()=>Uq,hasOnlyExpressionInitializer:()=>Zy,hasOverrideModifier:()=>Iq,hasPossibleExternalModuleReference:()=>Pbe,hasProperty:()=>gu,hasPropertyAccessExpressionWithName:()=>TH,hasQuestionToken:()=>l7,hasRecordedExternalHelpers:()=>AFe,hasResolutionModeOverride:()=>bke,hasRestParameter:()=>n0e,hasScopeMarker:()=>lbe,hasStaticModifier:()=>Kc,hasSyntacticModifier:()=>Qu,hasSyntacticModifiers:()=>Aye,hasTSFileExtension:()=>hk,hasTabstop:()=>xke,hasTrailingDirectorySeparator:()=>qD,hasType:()=>HU,hasTypeArguments:()=>IZe,hasZeroOrOneAsteriskCharacter:()=>vle,helperString:()=>cce,hostGetCanonicalFileName:()=>i5,hostUsesCaseSensitiveFileNames:()=>jj,idText:()=>fu,identifierIsThisKeyword:()=>nle,identifierToKeywordKind:()=>Ev,identity:()=>il,identitySourceMapConsumer:()=>tQ,ignoreSourceNewlines:()=>lce,ignoredPaths:()=>bO,importDefaultHelper:()=>GZ,importFromModuleSpecifier:()=>eP,importNameElisionDisabled:()=>Dle,importStarHelper:()=>DV,indexOfAnyCharCode:()=>Ot,indexOfNode:()=>R8,indicesOf:()=>Yr,inferredTypesContainingFile:()=>ZB,injectClassNamedEvaluationHelperBlockIfMissing:()=>sQ,injectClassThisAssignmentIfMissing:()=>QAe,insertImports:()=>PM,insertLeadingStatement:()=>uQe,insertSorted:()=>Nt,insertStatementAfterCustomPrologue:()=>Yy,insertStatementAfterStandardPrologue:()=>AZe,insertStatementsAfterCustomPrologue:()=>s0e,insertStatementsAfterStandardPrologue:()=>qE,intersperse:()=>_e,intrinsicTagNameToString:()=>Rle,introducesArgumentsExoticObject:()=>Jbe,inverseJsxOptionMap:()=>oM,isAbstractConstructorSymbol:()=>Wye,isAbstractModifier:()=>Xke,isAccessExpression:()=>M0,isAccessibilityModifier:()=>Zhe,isAccessor:()=>Bx,isAccessorModifier:()=>tFe,isAliasSymbolDeclaration:()=>OZe,isAliasableExpression:()=>Lj,isAmbientModule:()=>L1,isAmbientPropertyDeclaration:()=>E0e,isAnonymousFunctionDefinition:()=>oP,isAnyDirectorySeparator:()=>Cse,isAnyImportOrBareOrAccessedRequire:()=>Nbe,isAnyImportOrReExport:()=>uj,isAnyImportSyntax:()=>Xy,isAnySupportedFileExtension:()=>hYe,isApplicableVersionedTypesKey:()=>aH,isArgumentExpressionOfElementAccess:()=>Ohe,isArray:()=>ja,isArrayBindingElement:()=>zU,isArrayBindingOrAssignmentElement:()=>UO,isArrayBindingOrAssignmentPattern:()=>Yse,isArrayBindingPattern:()=>gk,isArrayLiteralExpression:()=>_h,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>m5,isArrayTypeNode:()=>nY,isArrowFunction:()=>J0,isAsExpression:()=>kV,isAssertClause:()=>lFe,isAssertEntry:()=>ZYe,isAssertionExpression:()=>qy,isAssertsKeyword:()=>Yke,isAssignmentDeclaration:()=>XN,isAssignmentExpression:()=>od,isAssignmentOperator:()=>n5,isAssignmentPattern:()=>HN,isAssignmentTarget:()=>Y_,isAsteriskToken:()=>CV,isAsyncFunction:()=>rP,isAsyncModifier:()=>jP,isAutoAccessorPropertyDeclaration:()=>Xh,isAwaitExpression:()=>Wx,isAwaitKeyword:()=>Ece,isBigIntLiteral:()=>QZ,isBinaryExpression:()=>eu,isBinaryOperatorToken:()=>zFe,isBindableObjectDefinePropertyCall:()=>nk,isBindableStaticAccessExpression:()=>y2,isBindableStaticElementAccessExpression:()=>xq,isBindableStaticNameExpression:()=>uk,isBindingElement:()=>Os,isBindingElementOfBareOrAccessedRequire:()=>tye,isBindingName:()=>$y,isBindingOrAssignmentElement:()=>nbe,isBindingOrAssignmentPattern:()=>JO,isBindingPattern:()=>Ao,isBlock:()=>ho,isBlockOrCatchScoped:()=>d0e,isBlockScope:()=>_0e,isBlockScopedContainerTopLevel:()=>Lbe,isBooleanLiteral:()=>VN,isBreakOrContinueStatement:()=>RN,isBreakStatement:()=>$Ye,isBuildInfoFile:()=>F7e,isBuilderProgram:()=>s9e,isBundle:()=>yce,isBundleFileTextLike:()=>$ye,isCallChain:()=>Gy,isCallExpression:()=>Po,isCallExpressionTarget:()=>Nhe,isCallLikeExpression:()=>g2,isCallLikeOrFunctionLikeExpression:()=>Qse,isCallOrNewExpression:()=>JE,isCallOrNewExpressionTarget:()=>Phe,isCallSignatureDeclaration:()=>xB,isCallToHelper:()=>OP,isCaseBlock:()=>qP,isCaseClause:()=>AB,isCaseKeyword:()=>iFe,isCaseOrDefaultClause:()=>jU,isCatchClause:()=>H2,isCatchClauseVariableDeclaration:()=>Dke,isCatchClauseVariableDeclarationOrBindingElement:()=>h0e,isCheckJsEnabledForFile:()=>iV,isChildOfNodeWithKind:()=>SZe,isCircularBuildOrder:()=>Q7,isClassDeclaration:()=>Wc,isClassElement:()=>qd,isClassExpression:()=>Qd,isClassInstanceProperty:()=>ebe,isClassLike:()=>gr,isClassMemberModifier:()=>Use,isClassNamedEvaluationHelperBlock:()=>Y7,isClassOrTypeElement:()=>MU,isClassStaticBlockDeclaration:()=>zl,isClassThisAssignmentBlock:()=>gM,isCollapsedRange:()=>XZe,isColonToken:()=>qke,isCommaExpression:()=>NV,isCommaListExpression:()=>$P,isCommaSequence:()=>XP,isCommaToken:()=>Uke,isComment:()=>cX,isCommonJsExportPropertyAssignment:()=>uq,isCommonJsExportedExpression:()=>Wbe,isCompoundAssignment:()=>fM,isComputedNonLiteralName:()=>rj,isComputedPropertyName:()=>Ns,isConciseBody:()=>RU,isConditionalExpression:()=>FB,isConditionalTypeNode:()=>yB,isConstTypeReference:()=>U3,isConstructSignatureDeclaration:()=>yV,isConstructorDeclaration:()=>dc,isConstructorTypeNode:()=>KP,isContextualKeyword:()=>kq,isContinueStatement:()=>JYe,isCustomPrologue:()=>lj,isDebuggerStatement:()=>UYe,isDeclaration:()=>Y1,isDeclarationBindingElement:()=>GO,isDeclarationFileName:()=>Xd,isDeclarationName:()=>Q3,isDeclarationNameOfEnumOrNamespace:()=>mle,isDeclarationReadonly:()=>eq,isDeclarationStatement:()=>fbe,isDeclarationWithTypeParameterChildren:()=>x0e,isDeclarationWithTypeParameters:()=>D0e,isDecorator:()=>p1,isDecoratorTarget:()=>H9e,isDefaultClause:()=>BV,isDefaultImport:()=>s7,isDefaultModifier:()=>tY,isDefaultedExpandoInitializer:()=>iye,isDeleteExpression:()=>rFe,isDeleteTarget:()=>j0e,isDeprecatedDeclaration:()=>PX,isDestructuringAssignment:()=>u5,isDiagnosticWithLocation:()=>Cfe,isDiskPathRoot:()=>bse,isDoStatement:()=>WYe,isDocumentRegistryEntry:()=>eK,isDotDotDotToken:()=>XZ,isDottedName:()=>mP,isDynamicName:()=>Sq,isESSymbolIdentifier:()=>KZe,isEffectiveExternalModule:()=>a7,isEffectiveModuleDeclaration:()=>Tbe,isEffectiveStrictModeSourceFile:()=>g0e,isElementAccessChain:()=>Vse,isElementAccessExpression:()=>G0,isEmittedFileOfProgram:()=>w7e,isEmptyArrayLiteral:()=>Mye,isEmptyBindingElement:()=>P2e,isEmptyBindingPattern:()=>N2e,isEmptyObjectLiteral:()=>cle,isEmptyStatement:()=>vce,isEmptyStringLiteral:()=>S0e,isEntityName:()=>om,isEntityNameExpression:()=>Xl,isEnumConst:()=>x2,isEnumDeclaration:()=>Mv,isEnumMember:()=>K2,isEqualityOperatorKind:()=>kX,isEqualsGreaterThanToken:()=>Zke,isExclamationToken:()=>bV,isExcludedFile:()=>ZFe,isExclusivelyTypeOnlyImportOrExport:()=>k1e,isExpandoPropertyDeclaration:()=>fZ,isExportAssignment:()=>ec,isExportDeclaration:()=>Gc,isExportModifier:()=>w7,isExportName:()=>gY,isExportNamespaceAsDefaultDeclaration:()=>ZU,isExportOrDefaultModifier:()=>IV,isExportSpecifier:()=>X1,isExportsIdentifier:()=>ik,isExportsOrModuleExportsOrAlias:()=>J2,isExpression:()=>Wt,isExpressionNode:()=>q_,isExpressionOfExternalModuleImportEqualsDeclaration:()=>J9e,isExpressionOfOptionalChainRoot:()=>TU,isExpressionStatement:()=>Id,isExpressionWithTypeArguments:()=>l5,isExpressionWithTypeArgumentsInClassExtendsClause:()=>Wj,isExternalModule:()=>Bc,isExternalModuleAugmentation:()=>_2,isExternalModuleImportEqualsDeclaration:()=>vv,isExternalModuleIndicator:()=>qO,isExternalModuleNameRelative:()=>Md,isExternalModuleReference:()=>u_,isExternalModuleSymbol:()=>jH,isExternalOrCommonJsModule:()=>lm,isFileLevelReservedGeneratedIdentifier:()=>WO,isFileLevelUniqueName:()=>UU,isFileProbablyExternalModule:()=>jV,isFirstDeclarationOfSymbolParameter:()=>cfe,isFixablePromiseHandler:()=>$fe,isForInOrOfStatement:()=>N8,isForInStatement:()=>sY,isForInitializer:()=>r4,isForOfStatement:()=>FV,isForStatement:()=>Dk,isFunctionBlock:()=>C2,isFunctionBody:()=>e0e,isFunctionDeclaration:()=>Xc,isFunctionExpression:()=>A0,isFunctionExpressionOrArrowFunction:()=>M2,isFunctionLike:()=>xo,isFunctionLikeDeclaration:()=>W0,isFunctionLikeKind:()=>u7,isFunctionLikeOrClassStaticBlockDeclaration:()=>w8,isFunctionOrConstructorTypeNode:()=>ibe,isFunctionOrModuleBlock:()=>qse,isFunctionSymbol:()=>uye,isFunctionTypeNode:()=>n3,isFutureReservedKeyword:()=>jZe,isGeneratedIdentifier:()=>al,isGeneratedPrivateIdentifier:()=>Jy,isGetAccessor:()=>Tx,isGetAccessorDeclaration:()=>Mm,isGetOrSetAccessorDeclaration:()=>BU,isGlobalDeclaration:()=>Pit,isGlobalScopeAugmentation:()=>Zg,isGrammarError:()=>Fbe,isHeritageClause:()=>fm,isHoistedFunction:()=>iq,isHoistedVariableStatement:()=>nq,isIdentifier:()=>at,isIdentifierANonContextualKeyword:()=>Fq,isIdentifierName:()=>cye,isIdentifierOrThisTypeNode:()=>LFe,isIdentifierPart:()=>pv,isIdentifierStart:()=>W_,isIdentifierText:()=>Tm,isIdentifierTypePredicate:()=>$be,isIdentifierTypeReference:()=>mke,isIfStatement:()=>_k,isIgnoredFileFromWildCardWatching:()=>EH,isImplicitGlob:()=>yle,isImportAttribute:()=>cFe,isImportAttributeName:()=>X2e,isImportAttributes:()=>lY,isImportCall:()=>cm,isImportClause:()=>i_,isImportDeclaration:()=>Ad,isImportEqualsDeclaration:()=>g1,isImportKeyword:()=>HP,isImportMeta:()=>H8,isImportOrExportSpecifier:()=>n7,isImportOrExportSpecifierName:()=>_Se,isImportSpecifier:()=>Cf,isImportTypeAssertionContainer:()=>qYe,isImportTypeNode:()=>iD,isImportableFile:()=>Pfe,isInComment:()=>f5,isInCompoundLikeAssignment:()=>R0e,isInExpressionContext:()=>fq,isInJSDoc:()=>pj,isInJSFile:()=>Xn,isInJSXText:()=>X9e,isInJsonFile:()=>pq,isInNonReferenceComment:()=>aSe,isInReferenceComment:()=>rSe,isInRightSideOfInternalImportEqualsDeclaration:()=>YQ,isInString:()=>Pk,isInTemplateString:()=>Jhe,isInTopLevelContext:()=>lq,isInTypeQuery:()=>sk,isIncrementalCompilation:()=>Yj,isIndexSignatureDeclaration:()=>pk,isIndexedAccessTypeNode:()=>M7,isInferTypeNode:()=>L7,isInfinityOrNaNString:()=>TP,isInitializedProperty:()=>dH,isInitializedVariable:()=>Uj,isInsideJsxElement:()=>sX,isInsideJsxElementOrAttribute:()=>Q9e,isInsideNodeModules:()=>YH,isInsideTemplateLiteral:()=>RH,isInstanceOfExpression:()=>Rq,isInstantiatedModule:()=>Ide,isInterfaceDeclaration:()=>Dh,isInternalDeclaration:()=>a1e,isInternalModuleImportEqualsDeclaration:()=>J8,isInternalName:()=>zce,isIntersectionTypeNode:()=>bB,isIntrinsicJsxName:()=>uB,isIterationStatement:()=>wx,isJSDoc:()=>Rp,isJSDocAllType:()=>pFe,isJSDocAugmentsTag:()=>wB,isJSDocAuthorTag:()=>eQe,isJSDocCallbackTag:()=>Fce,isJSDocClassTag:()=>EFe,isJSDocCommentContainingNode:()=>VU,isJSDocConstructSignature:()=>Y8,isJSDocDeprecatedTag:()=>Tce,isJSDocEnumTag:()=>wV,isJSDocFunctionType:()=>BB,isJSDocImplementsTag:()=>Lce,isJSDocIndexSignature:()=>gq,isJSDocLikeText:()=>Gce,isJSDocLink:()=>fFe,isJSDocLinkCode:()=>mFe,isJSDocLinkLike:()=>r7,isJSDocLinkPlain:()=>QYe,isJSDocMemberName:()=>zv,isJSDocNameReference:()=>YP,isJSDocNamepathType:()=>XYe,isJSDocNamespaceBody:()=>CZe,isJSDocNode:()=>P8,isJSDocNonNullableType:()=>cY,isJSDocNullableType:()=>SB,isJSDocOptionalParameter:()=>rV,isJSDocOptionalType:()=>kce,isJSDocOverloadTag:()=>TB,isJSDocOverrideTag:()=>hY,isJSDocParameterTag:()=>pg,isJSDocPrivateTag:()=>Sce,isJSDocPropertyLikeTag:()=>HO,isJSDocPropertyTag:()=>DFe,isJSDocProtectedTag:()=>Bce,isJSDocPublicTag:()=>Ace,isJSDocReadonlyTag:()=>wce,isJSDocReturnTag:()=>fY,isJSDocSatisfiesExpression:()=>zle,isJSDocSatisfiesTag:()=>mY,isJSDocSeeTag:()=>tQe,isJSDocSignature:()=>Iv,isJSDocTag:()=>M8,isJSDocTemplateTag:()=>gg,isJSDocThisTag:()=>_Fe,isJSDocThrowsTag:()=>nQe,isJSDocTypeAlias:()=>K4,isJSDocTypeAssertion:()=>eM,isJSDocTypeExpression:()=>bk,isJSDocTypeLiteral:()=>V7,isJSDocTypeTag:()=>QP,isJSDocTypedefTag:()=>LB,isJSDocUnknownTag:()=>iQe,isJSDocUnknownType:()=>gFe,isJSDocVariadicType:()=>dY,isJSXTagName:()=>G8,isJsonEqual:()=>oZ,isJsonSourceFile:()=>H4,isJsxAttribute:()=>aE,isJsxAttributeLike:()=>OU,isJsxAttributeName:()=>Cke,isJsxAttributes:()=>V2,isJsxChild:()=>QO,isJsxClosingElement:()=>O2,isJsxClosingFragment:()=>dFe,isJsxElement:()=>u3,isJsxExpression:()=>ZP,isJsxFragment:()=>j2,isJsxNamespacedName:()=>mg,isJsxOpeningElement:()=>rE,isJsxOpeningFragment:()=>O7,isJsxOpeningLikeElement:()=>Ph,isJsxOpeningLikeElementTagName:()=>K9e,isJsxSelfClosingElement:()=>vk,isJsxSpreadAttribute:()=>j7,isJsxTagNameExpression:()=>KN,isJsxText:()=>S7,isJumpStatementTarget:()=>LH,isKeyword:()=>nf,isKeywordOrPunctuation:()=>yq,isKnownSymbol:()=>Mj,isLabelName:()=>Ihe,isLabelOfLabeledStatement:()=>zhe,isLabeledStatement:()=>R2,isLateVisibilityPaintedStatement:()=>QU,isLeftHandSideExpression:()=>_f,isLeftHandSideOfAssignment:()=>QZe,isLet:()=>tq,isLineBreak:()=>q1,isLiteralComputedPropertyDeclarationName:()=>Tj,isLiteralExpression:()=>m2,isLiteralExpressionOfObject:()=>Jse,isLiteralImportTypeNode:()=>Mx,isLiteralKind:()=>ON,isLiteralLikeAccess:()=>Dq,isLiteralLikeElementAccess:()=>xj,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>eX,isLiteralTypeLikeExpression:()=>lQe,isLiteralTypeLiteral:()=>obe,isLiteralTypeNode:()=>Nv,isLocalName:()=>uD,isLogicalOperator:()=>Lye,isLogicalOrCoalescingAssignmentExpression:()=>ale,isLogicalOrCoalescingAssignmentOperator:()=>fP,isLogicalOrCoalescingBinaryExpression:()=>Kj,isLogicalOrCoalescingBinaryOperator:()=>Hj,isMappedTypeNode:()=>GP,isMemberName:()=>G_,isMetaProperty:()=>JP,isMethodDeclaration:()=>cc,isMethodOrAccessor:()=>T8,isMethodSignature:()=>i3,isMinusToken:()=>gce,isMissingDeclaration:()=>YYe,isModifier:()=>Qo,isModifierKind:()=>QD,isModifierLike:()=>ol,isModuleAugmentationExternal:()=>m0e,isModuleBlock:()=>uE,isModuleBody:()=>cbe,isModuleDeclaration:()=>Ec,isModuleExportsAccessExpression:()=>Z_,isModuleIdentifier:()=>N0e,isModuleName:()=>MFe,isModuleOrEnumDeclaration:()=>ZO,isModuleReference:()=>pbe,isModuleSpecifierLike:()=>EX,isModuleWithStringLiteralName:()=>YU,isNameOfFunctionDeclaration:()=>Vhe,isNameOfModuleDeclaration:()=>jhe,isNamedClassElement:()=>tbe,isNamedDeclaration:()=>fh,isNamedEvaluation:()=>zf,isNamedEvaluationSource:()=>G0e,isNamedExportBindings:()=>Kse,isNamedExports:()=>Q4,isNamedImportBindings:()=>t0e,isNamedImports:()=>nD,isNamedImportsOrExports:()=>Wq,isNamedTupleMember:()=>WP,isNamespaceBody:()=>vZe,isNamespaceExport:()=>n_,isNamespaceExportDeclaration:()=>SV,isNamespaceImport:()=>Gx,isNamespaceReexportDeclaration:()=>eye,isNewExpression:()=>I2,isNewExpressionTarget:()=>BM,isNoSubstitutionTemplateLiteral:()=>B7,isNode:()=>gZe,isNodeArray:()=>f2,isNodeArrayMultiLine:()=>Vye,isNodeDescendantOf:()=>k2,isNodeKind:()=>KO,isNodeLikeSystem:()=>doe,isNodeModulesDirectory:()=>DU,isNodeWithPossibleHoistedDeclaration:()=>oye,isNonContextualKeyword:()=>W0e,isNonExportDefaultModifier:()=>dQe,isNonGlobalAmbientModule:()=>f0e,isNonGlobalDeclaration:()=>PSe,isNonNullAccess:()=>vke,isNonNullChain:()=>LU,isNonNullExpression:()=>I7,isNonStaticMethodOrAccessorWithPrivateName:()=>WAe,isNotEmittedOrPartiallyEmittedNode:()=>xZe,isNotEmittedStatement:()=>bce,isNullishCoalesce:()=>Hse,isNumber:()=>$D,isNumericLiteral:()=>Rf,isNumericLiteralName:()=>t3,isObjectBindingElementWithoutPropertyName:()=>KH,isObjectBindingOrAssignmentElement:()=>$O,isObjectBindingOrAssignmentPattern:()=>Zse,isObjectBindingPattern:()=>Mp,isObjectLiteralElement:()=>i0e,isObjectLiteralElementLike:()=>q3,isObjectLiteralExpression:()=>bs,isObjectLiteralMethod:()=>Np,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>rq,isObjectTypeDeclaration:()=>_7,isOctalDigit:()=>bU,isOmittedExpression:()=>kd,isOptionalChain:()=>Z1,isOptionalChainRoot:()=>zN,isOptionalDeclaration:()=>NP,isOptionalJSDocPropertyLikeTag:()=>uV,isOptionalTypeNode:()=>_ce,isOuterExpression:()=>_Y,isOutermostOptionalChain:()=>IN,isOverrideModifier:()=>eFe,isPackedArrayLiteral:()=>Nle,isParameter:()=>Qa,isParameterDeclaration:()=>A2,isParameterOrCatchClauseVariable:()=>Ple,isParameterPropertyDeclaration:()=>Pf,isParameterPropertyModifier:()=>jN,isParenthesizedExpression:()=>vf,isParenthesizedTypeNode:()=>N7,isParseTreeNode:()=>MN,isPartOfTypeNode:()=>U_,isPartOfTypeQuery:()=>mq,isPartiallyEmittedExpression:()=>oY,isPatternMatch:()=>$$,isPinnedComment:()=>qU,isPlainJsFile:()=>tj,isPlusToken:()=>pce,isPossiblyTypeArgumentPosition:()=>IH,isPostfixUnaryExpression:()=>xce,isPrefixUnaryExpression:()=>Pv,isPrivateIdentifier:()=>ea,isPrivateIdentifierClassElementDeclaration:()=>mh,isPrivateIdentifierPropertyAccessExpression:()=>B8,isPrivateIdentifierSymbol:()=>hye,isProgramBundleEmitBuildInfo:()=>J7e,isProgramUptoDate:()=>B1e,isPrologueDirective:()=>Lp,isPropertyAccessChain:()=>wU,isPropertyAccessEntityNameExpression:()=>Gj,isPropertyAccessExpression:()=>zu,isPropertyAccessOrQualifiedName:()=>rbe,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>ube,isPropertyAssignment:()=>Jc,isPropertyDeclaration:()=>yo,isPropertyName:()=>Ac,isPropertyNameLiteral:()=>Qg,isPropertySignature:()=>Pm,isProtoSetter:()=>fye,isPrototypeAccess:()=>Rx,isPrototypePropertyAssignment:()=>bj,isPunctuation:()=>K0e,isPushOrUnshiftIdentifier:()=>J0e,isQualifiedName:()=>xf,isQuestionDotToken:()=>eY,isQuestionOrExclamationToken:()=>TFe,isQuestionOrPlusOrMinusToken:()=>PFe,isQuestionToken:()=>Kx,isRawSourceMap:()=>jAe,isReadonlyKeyword:()=>Qke,isReadonlyKeywordOrPlusOrMinusToken:()=>NFe,isRecognizedTripleSlashComment:()=>l0e,isReferenceFileLocation:()=>UB,isReferencedFile:()=>Wv,isRegularExpressionLiteral:()=>fce,isRequireCall:()=>Df,isRequireVariableStatement:()=>T0e,isRestParameter:()=>J_,isRestTypeNode:()=>Dce,isReturnStatement:()=>zp,isReturnStatementWithFixablePromiseHandler:()=>WX,isRightSideOfAccessExpression:()=>lle,isRightSideOfInstanceofExpression:()=>Pye,isRightSideOfPropertyAccess:()=>iw,isRightSideOfQualifiedName:()=>G9e,isRightSideOfQualifiedNameOrPropertyAccess:()=>pP,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>Nye,isRootedDiskPath:()=>Nf,isSameEntityName:()=>$8,isSatisfiesExpression:()=>aFe,isScopeMarker:()=>sbe,isSemicolonClassElement:()=>oFe,isSetAccessor:()=>XD,isSetAccessorDeclaration:()=>Of,isShebangTrivia:()=>Sse,isShiftOperatorOrHigher:()=>Hce,isShorthandAmbientModuleSymbol:()=>JN,isShorthandPropertyAssignment:()=>mm,isSignedNumericLiteral:()=>Aq,isSimpleCopiableExpression:()=>U2,isSimpleInlineableExpression:()=>oE,isSingleOrDoubleQuote:()=>gj,isSourceFile:()=>ca,isSourceFileFromLibrary:()=>HM,isSourceFileJS:()=>ph,isSourceFileNotJS:()=>TZe,isSourceFileNotJson:()=>w0e,isSourceMapping:()=>VAe,isSpecialPropertyDeclaration:()=>nye,isSpreadAssignment:()=>c5,isSpreadElement:()=>nE,isStatement:()=>ua,isStatementButNotDeclaration:()=>YO,isStatementOrBlock:()=>mbe,isStatementWithLocals:()=>kbe,isStatic:()=>Lo,isStaticModifier:()=>T7,isString:()=>Wa,isStringAKeyword:()=>VZe,isStringANonContextualKeyword:()=>h7,isStringAndEmptyAnonymousObjectIntersection:()=>uSe,isStringDoubleQuoted:()=>_q,isStringLiteral:()=>us,isStringLiteralLike:()=>t0,isStringLiteralOrJsxExpression:()=>gbe,isStringLiteralOrTemplate:()=>kSe,isStringOrNumericLiteralLike:()=>Nm,isStringOrRegularExpressionOrTemplateLiteral:()=>qhe,isStringTextContainingNode:()=>$se,isSuperCall:()=>ek,isSuperKeyword:()=>VP,isSuperOrSuperProperty:()=>wZe,isSuperProperty:()=>tf,isSupportedSourceFileName:()=>cke,isSwitchStatement:()=>AV,isSyntaxList:()=>NB,isSyntheticExpression:()=>KYe,isSyntheticReference:()=>R7,isTagName:()=>Rhe,isTaggedTemplateExpression:()=>Ek,isTaggedTemplateTag:()=>V9e,isTemplateExpression:()=>rY,isTemplateHead:()=>DB,isTemplateLiteral:()=>L8,isTemplateLiteralKind:()=>Sx,isTemplateLiteralToken:()=>Y2e,isTemplateLiteralTypeNode:()=>HYe,isTemplateLiteralTypeSpan:()=>nFe,isTemplateMiddle:()=>$ke,isTemplateMiddleOrTemplateTail:()=>NU,isTemplateSpan:()=>UP,isTemplateTail:()=>mce,isTextWhiteSpaceLike:()=>cSe,isThis:()=>nw,isThisContainerOrFunctionBlock:()=>Ybe,isThisIdentifier:()=>w2,isThisInTypeQuery:()=>m7,isThisInitializedDeclaration:()=>cq,isThisInitializedObjectBindingExpression:()=>Xbe,isThisProperty:()=>hj,isThisTypeNode:()=>uY,isThisTypeParameter:()=>LP,isThisTypePredicate:()=>BZe,isThrowStatement:()=>Cce,isToken:()=>i7,isTokenKind:()=>Gse,isTraceEnabled:()=>rD,isTransientSymbol:()=>UE,isTrivia:()=>tB,isTryStatement:()=>xk,isTupleTypeNode:()=>CB,isTypeAlias:()=>Fj,isTypeAliasDeclaration:()=>Ip,isTypeAssertionExpression:()=>uFe,isTypeDeclaration:()=>mB,isTypeElement:()=>Uy,isTypeKeyword:()=>NM,isTypeKeywordToken:()=>tfe,isTypeKeywordTokenOrIdentifier:()=>fX,isTypeLiteralNode:()=>hm,isTypeNode:()=>Xr,isTypeNodeKind:()=>Ele,isTypeOfExpression:()=>kB,isTypeOnlyExportDeclaration:()=>Q2e,isTypeOnlyImportDeclaration:()=>PU,isTypeOnlyImportOrExportDeclaration:()=>p2,isTypeOperatorNode:()=>P7,isTypeParameterDeclaration:()=>Bl,isTypePredicateNode:()=>iY,isTypeQueryNode:()=>vB,isTypeReferenceNode:()=>Y4,isTypeReferenceType:()=>KU,isTypeUsableAsPropertyName:()=>q4,isUMDExportSymbol:()=>Kq,isUnaryExpression:()=>Xse,isUnaryExpressionWithWrite:()=>abe,isUnicodeIdentifierStart:()=>vU,isUnionTypeNode:()=>Lv,isUnparsedNode:()=>Wse,isUnparsedPrepend:()=>hFe,isUnparsedSource:()=>Ck,isUnparsedTextLike:()=>Z2e,isUrl:()=>_2e,isValidBigIntString:()=>sZ,isValidESSymbolDeclaration:()=>Gbe,isValidTypeOnlyAliasUseSite:()=>Bv,isValueSignatureDeclaration:()=>sye,isVarAwaitUsing:()=>oj,isVarConst:()=>V8,isVarUsing:()=>sj,isVariableDeclaration:()=>ra,isVariableDeclarationInVariableStatement:()=>UN,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>b2,isVariableDeclarationInitializedToRequire:()=>Eq,isVariableDeclarationList:()=>Fd,isVariableLike:()=>K8,isVariableLikeOrAccessor:()=>Kbe,isVariableStatement:()=>Gl,isVoidExpression:()=>z7,isWatchSet:()=>tYe,isWhileStatement:()=>GYe,isWhiteSpaceLike:()=>$3,isWhiteSpaceSingleLine:()=>Ug,isWithStatement:()=>sFe,isWriteAccess:()=>E7,isWriteOnlyAccess:()=>Hq,isYieldExpression:()=>aY,jsxModeNeedsExplicitImport:()=>Afe,keywordPart:()=>Vf,last:()=>Cr,lastOrUndefined:()=>Zu,length:()=>S,libMap:()=>SY,libs:()=>qV,lineBreakPart:()=>ow,linkNamePart:()=>gSe,linkPart:()=>hfe,linkTextPart:()=>vX,listFiles:()=>U1e,loadModuleFromGlobalCache:()=>bAe,loadWithModeAwareCache:()=>xH,makeIdentifierFromModuleName:()=>wbe,makeImport:()=>p5,makeImportIfNecessary:()=>lSe,makeStringLiteral:()=>t9,mangleScopedPackageName:()=>WB,map:()=>Kt,mapAllOrFail:()=>to,mapDefined:()=>Si,mapDefinedEntries:()=>P0,mapDefinedIterator:()=>_o,mapEntries:()=>Li,mapIterator:()=>jr,mapOneOrMany:()=>yfe,mapToDisplayParts:()=>qx,matchFiles:()=>Fle,matchPatternOrExact:()=>Sle,matchedText:()=>XCe,matchesExclude:()=>AY,maybeBind:()=>To,maybeSetLocalizedDiagnosticMessages:()=>Xye,memoize:()=>Nh,memoizeCached:()=>JCe,memoizeOne:()=>VE,memoizeWeak:()=>cqe,metadataHelper:()=>FZ,min:()=>aoe,minAndMax:()=>hke,missingFileModifiedTime:()=>H_,modifierToFlag:()=>g7,modifiersToFlags:()=>eE,moduleOptionDeclaration:()=>lde,moduleResolutionIsEqualTo:()=>bbe,moduleResolutionNameAndModeGetter:()=>CH,moduleResolutionOptionDeclarations:()=>BY,moduleResolutionSupportsPackageJsonExportsAndImports:()=>v7,moduleResolutionUsesNodeModules:()=>mX,moduleSpecifiers:()=>$2,moveEmitHelpers:()=>jke,moveRangeEnd:()=>jq,moveRangePastDecorators:()=>a5,moveRangePastModifiers:()=>tE,moveRangePos:()=>Fv,moveSyntheticComments:()=>Ike,mutateMap:()=>sB,mutateMapSkippingNewValues:()=>X3,needsParentheses:()=>bX,needsScopeMarker:()=>IU,newCaseClauseTracker:()=>IX,newPrivateEnvironment:()=>$Ae,noEmitNotification:()=>hH,noEmitSubstitution:()=>DM,noTransformers:()=>l1e,noTruncationMaximumTruncationLength:()=>pZ,nodeCanBeDecorated:()=>hq,nodeHasName:()=>RO,nodeIsDecorated:()=>ZN,nodeIsMissing:()=>Yl,nodeIsPresent:()=>j4,nodeIsSynthesized:()=>sl,nodeModuleNameResolver:()=>pAe,nodeModulesPathPart:()=>a_,nodeNextJsonConfigResolver:()=>gAe,nodeOrChildIsDecorated:()=>mj,nodeOverlapsWithStartEnd:()=>tX,nodePosToString:()=>bZe,nodeSeenTracker:()=>e9,nodeStartsNewLexicalEnvironment:()=>$0e,nodeToDisplayParts:()=>Sit,noop:()=>zs,noopFileWatcher:()=>XB,normalizePath:()=>Jo,normalizeSlashes:()=>U1,not:()=>q$,notImplemented:()=>so,notImplementedResolver:()=>pQ,nullNodeConverters:()=>ece,nullParenthesizerRules:()=>Xle,nullTransformationContext:()=>Eg,objectAllocator:()=>Yd,operatorPart:()=>zM,optionDeclarations:()=>r3,optionMapToObject:()=>nde,optionsAffectingProgramStructure:()=>mde,optionsForBuild:()=>gde,optionsForWatch:()=>OB,optionsHaveChanges:()=>z8,optionsHaveModuleResolutionChanges:()=>xbe,or:()=>lg,orderedRemoveItem:()=>mO,orderedRemoveItemAt:()=>dv,outFile:()=>b0,packageIdToPackageName:()=>JU,packageIdToString:()=>Nx,paramHelper:()=>AZ,parameterIsThisKeyword:()=>B2,parameterNamePart:()=>hSe,parseBaseNodeFactory:()=>qce,parseBigInt:()=>fke,parseBuildCommand:()=>KQe,parseCommandLine:()=>VQe,parseCommandLineWorker:()=>Qce,parseConfigFileTextToJson:()=>ede,parseConfigFileWithSystem:()=>Stt,parseConfigHostFromCompilerHostLike:()=>FQ,parseCustomTypeOption:()=>kY,parseIsolatedEntityName:()=>K7,parseIsolatedJSDocComment:()=>HFe,parseJSDocTypeExpressionForTests:()=>SQe,parseJsonConfigFileContent:()=>nXe,parseJsonSourceFileConfigFileContent:()=>JV,parseJsonText:()=>HV,parseListTypeOption:()=>WFe,parseNodeFactory:()=>r_,parseNodeModuleFromPath:()=>iH,parsePackageName:()=>rH,parsePseudoBigInt:()=>AP,parseValidBigInt:()=>Lle,patchWriteFileEnsuringDirectory:()=>g2e,pathContainsNodeModules:()=>$7,pathIsAbsolute:()=>AN,pathIsBareSpecifier:()=>yse,pathIsRelative:()=>am,patternText:()=>QCe,perfLogger:()=>dh,performIncrementalCompilation:()=>Ltt,performance:()=>c2e,plainJSErrors:()=>BQ,positionBelongsToNode:()=>Khe,positionIsASICandidate:()=>AX,positionIsSynthesized:()=>fg,positionsAreOnSameLine:()=>$4,preProcessFile:()=>tnt,probablyUsesSemicolons:()=>qH,processCommentPragmas:()=>$ce,processPragmasIntoFields:()=>Uce,processTaggedTemplateExpression:()=>t1e,programContainsEsModules:()=>sSe,programContainsModules:()=>oSe,projectReferenceIsEqualTo:()=>r0e,propKeyHelper:()=>jZ,propertyNamePart:()=>fSe,pseudoBigIntToString:()=>P2,punctuationPart:()=>th,pushIfUnique:()=>xa,quote:()=>OM,quotePreferenceFromString:()=>rfe,rangeContainsPosition:()=>NH,rangeContainsPositionExclusive:()=>PH,rangeContainsRange:()=>jm,rangeContainsRangeExclusive:()=>$9e,rangeContainsStartEnd:()=>MH,rangeEndIsOnSameLineAsRangeStart:()=>$j,rangeEndPositionsAreOnSameLine:()=>Oye,rangeEquals:()=>Ii,rangeIsOnSingleLine:()=>ck,rangeOfNode:()=>wle,rangeOfTypeParameters:()=>Tle,rangeOverlapsWithStartEnd:()=>wM,rangeStartIsOnSameLineAsRangeEnd:()=>jye,rangeStartPositionsAreOnSameLine:()=>Vq,readBuilderProgram:()=>VQ,readConfigFile:()=>WV,readHelper:()=>RZ,readJson:()=>gP,readJsonConfigFile:()=>$Fe,readJsonOrUndefined:()=>dle,reduceEachLeadingCommentRange:()=>b2e,reduceEachTrailingCommentRange:()=>y2e,reduceLeft:()=>tn,reduceLeftIterator:()=>ue,reducePathComponents:()=>Wy,refactor:()=>u9,regExpEscape:()=>lYe,relativeComplement:()=>na,removeAllComments:()=>pV,removeEmitHelper:()=>OYe,removeExtension:()=>tV,removeFileExtension:()=>Eh,removeIgnoredPath:()=>LQ,removeMinAndVersionNumbers:()=>ooe,removeOptionality:()=>eSe,removePrefix:()=>bN,removeSuffix:()=>E8,removeTrailingDirectorySeparator:()=>hv,repeatString:()=>VH,replaceElement:()=>Ud,resolutionExtensionIsTSOrJson:()=>kP,resolveConfigFileProjectName:()=>rhe,resolveJSModule:()=>fAe,resolveLibrary:()=>OY,resolveModuleName:()=>HB,resolveModuleNameFromCache:()=>jXe,resolvePackageNameToPackageJson:()=>Dde,resolvePath:()=>yx,resolveProjectReferencePath:()=>qB,resolveTripleslashReference:()=>DQ,resolveTypeReferenceDirective:()=>cAe,resolvingEmptyArray:()=>mZ,restHelper:()=>PZ,returnFalse:()=>sg,returnNoopFileWatcher:()=>ew,returnTrue:()=>G3,returnUndefined:()=>cv,returnsPromise:()=>Jfe,runInitializersHelper:()=>BZ,sameFlatMap:()=>mr,sameMap:()=>Pu,sameMapping:()=>wet,scanShebangTrivia:()=>Bse,scanTokenAtPosition:()=>jbe,scanner:()=>ih,screenStartingMessageCodes:()=>jQ,semanticDiagnosticsOptionDeclarations:()=>dde,serializeCompilerOptions:()=>rde,server:()=>$ct,servicesVersion:()=>eBe,setCommentRange:()=>Sc,setConfigFileInOptions:()=>ode,setConstantValue:()=>Oke,setEachParent:()=>fB,setEmitFlags:()=>Yn,setFunctionNameHelper:()=>VZ,setGetSourceFileAsHashVersioned:()=>OQ,setIdentifierAutoGenerate:()=>_V,setIdentifierGeneratedImportReference:()=>Kke,setIdentifierTypeArguments:()=>s5,setInternalEmitFlags:()=>gV,setLocalizedDiagnosticMessages:()=>Qye,setModuleDefaultHelper:()=>WZ,setNodeFlags:()=>gke,setObjectAllocator:()=>Yye,setOriginalNode:()=>su,setParent:()=>ys,setParentRecursive:()=>jx,setPrivateIdentifier:()=>Ak,setSnippetElement:()=>sce,setSourceMapRange:()=>Fs,setStackTraceLimit:()=>Tqe,setStartsOnNewLine:()=>CZ,setSyntheticLeadingComments:()=>Tv,setSyntheticTrailingComments:()=>k7,setSys:()=>zqe,setSysLog:()=>m2e,setTextRange:()=>Pt,setTextRangeEnd:()=>hB,setTextRangePos:()=>SP,setTextRangePosEnd:()=>e_,setTextRangePosWidth:()=>BP,setTokenSourceMapRange:()=>zke,setTypeNode:()=>Vke,setUILocale:()=>qCe,setValueDeclaration:()=>yj,shouldAllowImportingTsExtension:()=>GB,shouldPreserveConstEnums:()=>dk,shouldResolveJsRequire:()=>Zq,shouldUseUriStyleNodeCoreModules:()=>MX,showModuleSpecifier:()=>Gye,signatureHasLiteralTypes:()=>Rde,signatureHasRestParameter:()=>eh,signatureToDisplayParts:()=>ffe,single:()=>Cd,singleElementArray:()=>jy,singleIterator:()=>bo,singleOrMany:()=>F0,singleOrUndefined:()=>Fa,skipAlias:()=>Q1,skipAssertions:()=>aQe,skipConstraint:()=>ife,skipOuterExpressions:()=>_c,skipParentheses:()=>s0,skipPartiallyEmittedExpressions:()=>wp,skipTrivia:()=>ps,skipTypeChecking:()=>FP,skipTypeParentheses:()=>O0e,skipWhile:()=>t2e,sliceAfter:()=>Ble,some:()=>Ge,sort:()=>Lh,sortAndDeduplicate:()=>mi,sortAndDeduplicateDiagnostics:()=>k8,sourceFileAffectingCompilerOptions:()=>wY,sourceFileMayBeEmitted:()=>f7,sourceMapCommentRegExp:()=>XY,sourceMapCommentRegExpDontCareLineStart:()=>Gde,spacePart:()=>Jl,spanMap:()=>qo,spreadArrayHelper:()=>OZ,stableSort:()=>ac,startEndContainsRange:()=>Hhe,startEndOverlapsWithStartEnd:()=>iX,startOnNewLine:()=>xh,startTracing:()=>d2e,startsWith:()=>La,startsWithDirectory:()=>Fse,startsWithUnderscore:()=>Ffe,startsWithUseStrict:()=>kFe,stringContainsAt:()=>NSe,stringToToken:()=>c2,stripQuotes:()=>G4,supportedDeclarationExtensions:()=>lV,supportedJSExtensions:()=>Zle,supportedJSExtensionsFlat:()=>gB,supportedLocaleDirectories:()=>u0e,supportedTSExtensions:()=>pB,supportedTSExtensionsFlat:()=>qle,supportedTSImplementationExtensions:()=>cV,suppressLeadingAndTrailingTrivia:()=>Hf,suppressLeadingTrivia:()=>gfe,suppressTrailingTrivia:()=>CSe,symbolEscapedNameNoDefault:()=>gX,symbolName:()=>sc,symbolNameNoDefault:()=>pX,symbolPart:()=>dSe,symbolToDisplayParts:()=>IM,syntaxMayBeASICandidate:()=>Lfe,syntaxRequiresTrailingSemicolonOrASI:()=>FX,sys:()=>l1,sysLog:()=>vO,tagNamesAreEquivalent:()=>Ov,takeWhile:()=>Y$,targetOptionDeclaration:()=>YV,templateObjectHelper:()=>IZ,testFormatSettings:()=>j9e,textChangeRangeIsUnchanged:()=>T2e,textChangeRangeNewSpan:()=>PN,textChanges:()=>iu,textOrKeywordPart:()=>dfe,textPart:()=>Hm,textRangeContainsPositionInclusive:()=>MO,textSpanContainsPosition:()=>Lse,textSpanContainsTextSpan:()=>A2e,textSpanEnd:()=>gc,textSpanIntersection:()=>w2e,textSpanIntersectsWith:()=>FU,textSpanIntersectsWithPosition:()=>B2e,textSpanIntersectsWithTextSpan:()=>nZe,textSpanIsEmpty:()=>F2e,textSpanOverlap:()=>S2e,textSpanOverlapsWith:()=>iZe,textSpansEqual:()=>aw,textToKeywordObj:()=>NO,timestamp:()=>H0,toArray:()=>qA,toBuilderFileEmit:()=>Z7e,toBuilderStateFileInfoForMultiEmit:()=>q7e,toEditorSettings:()=>mK,toFileNameLowerCase:()=>Jg,toLowerCase:()=>GCe,toPath:()=>K0,toProgramEmitPending:()=>Y7e,tokenIsIdentifierOrKeyword:()=>hh,tokenIsIdentifierOrKeywordOrGreaterThan:()=>v2e,tokenToString:()=>$o,trace:()=>Aa,tracing:()=>Jn,tracingEnabled:()=>EO,transform:()=>ert,transformClassFields:()=>n7e,transformDeclarations:()=>o1e,transformECMAScriptModule:()=>r1e,transformES2015:()=>_7e,transformES2016:()=>E7e,transformES2017:()=>o7e,transformES2018:()=>s7e,transformES2019:()=>l7e,transformES2020:()=>c7e,transformES2021:()=>d7e,transformES5:()=>D7e,transformESDecorators:()=>a7e,transformESNext:()=>h7e,transformGenerators:()=>x7e,transformJsx:()=>g7e,transformLegacyDecorators:()=>r7e,transformModule:()=>u1e,transformNamedEvaluation:()=>jf,transformNodeModule:()=>C7e,transformNodes:()=>fH,transformSystemModule:()=>v7e,transformTypeScript:()=>i7e,transpile:()=>lnt,transpileModule:()=>QSe,transpileOptionValueCompilerOptions:()=>pde,tryAddToSet:()=>k0,tryAndIgnoreErrors:()=>wX,tryCast:()=>rr,tryDirectoryExists:()=>BX,tryExtractTSExtension:()=>Oq,tryFileExists:()=>ZH,tryGetClassExtendingExpressionWithTypeArguments:()=>ole,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>sle,tryGetDirectories:()=>SX,tryGetExtensionFromPath:()=>e3,tryGetImportFromModuleSpecifier:()=>kj,tryGetJSDocSatisfiesTypeNode:()=>hZ,tryGetModuleNameFromFile:()=>MV,tryGetModuleSpecifierFromDeclaration:()=>U8,tryGetNativePerformanceHooks:()=>o2e,tryGetPropertyAccessOrIdentifierToString:()=>Jj,tryGetPropertyNameOfBindingOrAssignmentElement:()=>xY,tryGetSourceMappingURL:()=>OAe,tryGetTextOfPropertyName:()=>$N,tryIOAndConsumeErrors:()=>TX,tryParsePattern:()=>dB,tryParsePatterns:()=>rZ,tryParseRawSourceMap:()=>Kde,tryReadDirectory:()=>Dfe,tryReadFile:()=>uM,tryRemoveDirectoryPrefix:()=>ble,tryRemoveExtension:()=>dke,tryRemovePrefix:()=>coe,tryRemoveSuffix:()=>YCe,typeAcquisitionDeclarations:()=>QV,typeAliasNamePart:()=>mSe,typeDirectiveIsEqualTo:()=>ybe,typeKeywords:()=>RX,typeParameterNamePart:()=>pSe,typeReferenceResolutionNameAndModeGetter:()=>SQ,typeToDisplayParts:()=>GH,unchangedPollThresholds:()=>CO,unchangedTextChangeRange:()=>XO,unescapeLeadingUnderscores:()=>Qr,unmangleScopedPackageName:()=>oH,unorderedRemoveItem:()=>Oy,unorderedRemoveItemAt:()=>soe,unreachableCodeIsError:()=>ike,unusedLabelIsError:()=>nke,unwrapInnermostStatementOfLabel:()=>F0e,updateErrorForNoInputFiles:()=>FY,updateLanguageServiceSourceFile:()=>Bme,updateMissingFilePathsWatch:()=>p1e,updatePackageJsonWatch:()=>ttt,updateResolutionField:()=>jB,updateSharedExtendedConfigFileWatcher:()=>EQ,updateSourceFile:()=>Jce,updateWatchingWildcardDirectories:()=>gH,usesExtensionsOnImports:()=>lke,usingSingleLineStringWriter:()=>WN,utf16EncodeAsString:()=>y8,validateLocaleAndSetLanguage:()=>rZe,valuesHelper:()=>HZ,version:()=>_,versionMajorMinor:()=>g,visitArray:()=>lH,visitCommaListElements:()=>cH,visitEachChild:()=>un,visitFunctionBody:()=>Rm,visitIterationBody:()=>Mh,visitLexicalEnvironment:()=>QY,visitNode:()=>yt,visitNodes:()=>kn,visitParameterList:()=>Dc,walkUpBindingElementsAndPatterns:()=>F8,walkUpLexicalEnvironments:()=>JAe,walkUpOuterExpressions:()=>FFe,walkUpParenthesizedExpressions:()=>t5,walkUpParenthesizedTypes:()=>wj,walkUpParenthesizedTypesAndGetParentAndChild:()=>lye,whitespaceOrMapCommentRegExp:()=>eQ,writeCommentRange:()=>aB,writeFile:()=>lP,writeFileEnsuringDirectories:()=>ile,zipWith:()=>re});var Yv=o({"src/server/_namespaces/ts.ts"(){So(),AH(),ar(),Gpe(),g9()}}),qct={};h(qct,{ActionInvalidate:()=>$Q,ActionPackageInstalled:()=>B9e,ActionSet:()=>JQ,ActionWatchTypingLocations:()=>FH,Arguments:()=>fhe,AutoImportProviderProject:()=>rge,AuxiliaryProject:()=>nge,CharRangeSection:()=>Ege,CloseFileWatcherEvent:()=>rte,CommandNames:()=>bNe,ConfigFileDiagEvent:()=>ete,ConfiguredProject:()=>age,CreateDirectoryWatcherEvent:()=>ute,CreateFileWatcherEvent:()=>nte,Errors:()=>x5,EventBeginInstallTypes:()=>dhe,EventEndInstallTypes:()=>hhe,EventInitializationFailed:()=>T9e,EventTypesRegistry:()=>w9e,ExternalProject:()=>Jee,GcTimer:()=>Zpe,InferredProject:()=>ige,LargeFileReferencedEvent:()=>Xee,LineIndex:()=>uz,LineLeaf:()=>$K,LineNode:()=>p9,LogLevel:()=>Jpe,Msg:()=>$pe,OpenFileInfoTelemetryEvent:()=>lge,Project:()=>Hk,ProjectInfoTelemetryEvent:()=>ite,ProjectKind:()=>iz,ProjectLanguageServiceStateEvent:()=>tte,ProjectLoadingFinishEvent:()=>Qee,ProjectLoadingStartEvent:()=>Yee,ProjectReferenceProjectLoadKind:()=>hge,ProjectService:()=>fge,ProjectsUpdatedInBackgroundEvent:()=>WK,ScriptInfo:()=>Xpe,ScriptVersionCache:()=>lte,Session:()=>kNe,TextStorage:()=>Qpe,ThrottledOperations:()=>qpe,TypingsCache:()=>ege,allFilesAreJsOrDts:()=>tNe,allRootFilesAreJsOrDts:()=>eNe,asNormalizedPath:()=>bct,convertCompilerOptions:()=>$ee,convertFormatOptions:()=>Fw,convertScriptKindName:()=>sge,convertTypeAcquisition:()=>uNe,convertUserPreferences:()=>rNe,convertWatchOptions:()=>KK,countEachFileTypes:()=>VK,createInstallTypingsRequest:()=>Cct,createModuleSpecifierCache:()=>pNe,createNormalizedPathMap:()=>yct,createPackageJsonCache:()=>gNe,createSortedArray:()=>RLe,emptyArray:()=>$c,findArgument:()=>pit,forEachResolvedProjectReferenceProject:()=>Aw,formatDiagnosticToProtocol:()=>JK,formatMessage:()=>ENe,getBaseConfigFileName:()=>Upe,getLocationInNewDocument:()=>vNe,hasArgument:()=>mit,hasNoTypeScriptSource:()=>iNe,indent:()=>SM,isBackgroundProject:()=>HK,isConfigFile:()=>dNe,isConfiguredProject:()=>Zv,isDynamicFileName:()=>jK,isExternalProject:()=>tge,isInferredProject:()=>kw,isInferredProjectName:()=>PLe,makeAutoImportProviderProjectName:()=>zLe,makeAuxiliaryProjectName:()=>ILe,makeInferredProjectName:()=>MLe,maxFileSize:()=>Zee,maxProgramSizeForNonTsFiles:()=>qee,normalizedPathToPath:()=>OK,nowString:()=>git,nullCancellationToken:()=>CNe,nullTypingsInstaller:()=>Gee,projectContainsInfoDirectly:()=>f9,protocol:()=>XLe,removeSorted:()=>kct,stringifyIndented:()=>tw,toEvent:()=>_Ne,toNormalizedPath:()=>_l,tryConvertScriptKindName:()=>oge,typingsInstaller:()=>LLe,updateProjectIfDirty:()=>Wm});var aXt=o({"src/typescript/_namespaces/ts.server.ts"(){UQ(),g9()}}),Zct={};h(Zct,{ANONYMOUS:()=>OX,AccessFlags:()=>Hoe,AssertionLevel:()=>foe,AssignmentDeclarationKind:()=>Yoe,AssignmentKind:()=>Hle,Associativity:()=>Wle,BreakpointResolver:()=>zme,BuilderFileEmit:()=>H1e,BuilderProgramKind:()=>K1e,BuilderState:()=>Vp,BundleFileSectionKind:()=>pse,CallHierarchy:()=>r9,CharacterCodes:()=>sse,CheckFlags:()=>Ioe,CheckMode:()=>qY,ClassificationType:()=>Lhe,ClassificationTypeNames:()=>The,CommentDirectiveType:()=>Coe,Comparison:()=>x,CompletionInfoFlags:()=>yhe,CompletionTriggerKind:()=>Dhe,Completions:()=>c9,ContainerFlags:()=>Nde,ContextFlags:()=>Soe,Debug:()=>H,DiagnosticCategory:()=>DO,Diagnostics:()=>F,DocumentHighlights:()=>HX,ElementFlags:()=>Voe,EmitFlags:()=>mU,EmitHint:()=>hse,EmitOnly:()=>yoe,EndOfLineState:()=>Ahe,EnumKind:()=>zoe,ExitStatus:()=>koe,ExportKind:()=>Ife,Extension:()=>lse,ExternalEmitHelpers:()=>dse,FileIncludeKind:()=>rU,FilePreprocessingDiagnosticsKind:()=>boe,FileSystemEntryKind:()=>vse,FileWatcherEventKind:()=>xse,FindAllReferences:()=>$0,FlattenLevel:()=>Qde,FlowFlags:()=>_O,ForegroundColorEscapeSequences:()=>P1e,FunctionFlags:()=>Kle,GeneratedIdentifierFlags:()=>uU,GetLiteralTextFlags:()=>Ole,GoToDefinition:()=>xw,HighlightSpanKind:()=>vhe,IdentifierNameMap:()=>q7,IdentifierNameMultiMap:()=>Yde,ImportKind:()=>zfe,ImportsNotUsedAsValues:()=>nse,IndentStyle:()=>Che,IndexFlags:()=>Koe,IndexKind:()=>Joe,InferenceFlags:()=>qoe,InferencePriority:()=>Uoe,InlayHintKind:()=>xhe,InlayHints:()=>Ape,InternalEmitFlags:()=>cse,InternalSymbolName:()=>Roe,InvalidatedProjectKind:()=>che,JSDocParsingMode:()=>_se,JsDoc:()=>qv,JsTyping:()=>a3,JsxEmit:()=>ise,JsxFlags:()=>xoe,JsxReferenceKind:()=>Woe,LanguageServiceMode:()=>ghe,LanguageVariant:()=>ase,LexicalEnvironmentFlags:()=>mse,ListFormat:()=>gse,LogLevel:()=>poe,MemberOverrideStatus:()=>Foe,ModifierFlags:()=>iU,ModuleDetectionKind:()=>Qoe,ModuleInstanceState:()=>Lde,ModuleKind:()=>kN,ModuleResolutionKind:()=>C8,ModuleSpecifierEnding:()=>Yle,NavigateTo:()=>t8e,NavigationBar:()=>d8e,NewLineKind:()=>use,NodeBuilderFlags:()=>Boe,NodeCheckFlags:()=>Ooe,NodeFactoryFlags:()=>rce,NodeFlags:()=>tU,NodeResolutionFeatures:()=>Bde,ObjectFlags:()=>lU,OperationCanceledException:()=>v8,OperatorPrecedence:()=>Gle,OrganizeImports:()=>Hp,OrganizeImportsMode:()=>_he,OuterExpressionKinds:()=>fse,OutliningElementsCollector:()=>Tpe,OutliningSpanKind:()=>khe,OutputFileType:()=>Fhe,PackageJsonAutoImportPreference:()=>phe,PackageJsonDependencyGroup:()=>mhe,PatternMatchKind:()=>KX,PollingInterval:()=>pU,PollingWatchKind:()=>tse,PragmaKindFlags:()=>Ese,PrivateIdentifierKind:()=>hce,ProcessLevel:()=>i1e,ProgramUpdateLevel:()=>E1e,QuotePreference:()=>wfe,RelationComparisonResult:()=>nU,Rename:()=>Ree,ScriptElementKind:()=>Bhe,ScriptElementKindModifier:()=>whe,ScriptKind:()=>dU,ScriptSnapshot:()=>ZQ,ScriptTarget:()=>rse,SemanticClassificationFormat:()=>Ehe,SemanticMeaning:()=>Bfe,SemicolonPreference:()=>bhe,SignatureCheckMode:()=>ZY,SignatureFlags:()=>cU,SignatureHelp:()=>TK,SignatureKind:()=>Goe,SmartSelectionRange:()=>Ppe,SnippetKind:()=>fU,SortKind:()=>hoe,StructureIsReused:()=>aU,SymbolAccessibility:()=>Loe,SymbolDisplay:()=>D5,SymbolDisplayPartKind:()=>SH,SymbolFlags:()=>oU,SymbolFormatFlags:()=>Toe,SyntaxKind:()=>eU,SyntheticSymbolKind:()=>Noe,Ternary:()=>Zoe,ThrottledCancellationToken:()=>Mme,TokenClass:()=>She,TokenFlags:()=>voe,TransformFlags:()=>hU,TypeFacts:()=>UY,TypeFlags:()=>sU,TypeFormatFlags:()=>woe,TypeMapKind:()=>$oe,TypePredicateKind:()=>Poe,TypeReferenceSerializationKind:()=>Moe,UnionReduction:()=>Aoe,UpToDateStatusType:()=>ahe,VarianceFlags:()=>joe,Version:()=>Bp,VersionRange:()=>pO,WatchDirectoryFlags:()=>ose,WatchDirectoryKind:()=>ese,WatchFileKind:()=>Xoe,WatchLogLevel:()=>_1e,WatchType:()=>sd,accessPrivateIdentifier:()=>UAe,addDisposableResourceHelper:()=>ZZ,addEmitFlags:()=>t_,addEmitHelper:()=>F7,addEmitHelpers:()=>tD,addInternalEmitFlags:()=>y7,addNodeFactoryPatcher:()=>LYe,addObjectAllocatorPatcher:()=>Zye,addRange:()=>yn,addRelatedInfo:()=>gs,addSyntheticLeadingComment:()=>RP,addSyntheticTrailingComment:()=>bZ,addToSeen:()=>Pp,advancedAsyncSuperHelper:()=>vV,affectsDeclarationPathOptionDeclarations:()=>fde,affectsEmitOptionDeclarations:()=>hde,allKeysStartWithDot:()=>HY,altDirectorySeparator:()=>AO,and:()=>U$,append:()=>Ei,appendIfUnique:()=>e0,arrayFrom:()=>ga,arrayIsEqualTo:()=>Hn,arrayIsHomogeneous:()=>pke,arrayIsSorted:()=>ci,arrayOf:()=>rm,arrayReverseIterator:()=>vd,arrayToMap:()=>og,arrayToMultiMap:()=>hO,arrayToNumericMap:()=>ioe,arraysEqual:()=>Zt,assertType:()=>fqe,assign:()=>jE,assignHelper:()=>wZ,asyncDelegator:()=>LZ,asyncGeneratorHelper:()=>TZ,asyncSuperHelper:()=>xV,asyncValues:()=>NZ,attachFileToDiagnostics:()=>D7,awaitHelper:()=>A7,awaiterHelper:()=>MZ,base64decode:()=>Rye,base64encode:()=>Iye,binarySearch:()=>Hl,binarySearchKey:()=>va,bindSourceFile:()=>FAe,breakIntoCharacterSpans:()=>USe,breakIntoWordSpans:()=>qSe,buildLinkParts:()=>ESe,buildOpts:()=>TY,buildOverload:()=>gct,bundlerModuleNameResolver:()=>mAe,canBeConvertedToAsync:()=>Ufe,canHaveDecorators:()=>kk,canHaveExportModifier:()=>nV,canHaveFlowNode:()=>Aj,canHaveIllegalDecorators:()=>Vce,canHaveIllegalModifiers:()=>wFe,canHaveIllegalType:()=>sQe,canHaveIllegalTypeParameters:()=>BFe,canHaveJSDoc:()=>Sj,canHaveLocals:()=>$E,canHaveModifiers:()=>Op,canHaveSymbol:()=>qg,canJsonReportNoInputFiles:()=>rM,canProduceDiagnostics:()=>cQ,canUsePropertyAccess:()=>Mle,canWatchAffectingLocation:()=>t9e,canWatchAtTypes:()=>e9e,canWatchDirectoryOrFile:()=>NQ,cartesianProduct:()=>e2e,cast:()=>No,chainBundle:()=>jp,chainDiagnosticMessages:()=>no,changeAnyExtension:()=>kO,changeCompilerHostLikeToUseCache:()=>DH,changeExtension:()=>Sv,changesAffectModuleResolution:()=>WU,changesAffectingProgramStructure:()=>vbe,childIsDecorated:()=>YN,classElementOrClassElementParameterIsDecorated:()=>A0e,classHasClassThisAssignment:()=>Xde,classHasDeclaredOrExplicitlyAssignedName:()=>e1e,classHasExplicitlyAssignedName:()=>oQ,classOrConstructorParameterIsDecorated:()=>e5,classPrivateFieldGetHelper:()=>$Z,classPrivateFieldInHelper:()=>qZ,classPrivateFieldSetHelper:()=>UZ,classicNameResolver:()=>CAe,classifier:()=>uBe,cleanExtendedConfigCache:()=>_Q,clear:()=>mu,clearMap:()=>uf,clearSharedExtendedConfigFileWatcher:()=>m1e,climbPastPropertyAccess:()=>QQ,climbPastPropertyOrElementAccess:()=>W9e,clone:()=>noe,cloneCompilerOptions:()=>Yhe,closeFileWatcher:()=>dg,closeFileWatcherOf:()=>Om,codefix:()=>M1,collapseTextChangeRangesAcrossMultipleVersions:()=>L2e,collectExternalModuleInfo:()=>$de,combine:()=>Do,combinePaths:()=>dr,commentPragmas:()=>xO,commonOptionsWithBuild:()=>ZV,commonPackageFolders:()=>$le,compact:()=>kr,compareBooleans:()=>s2,compareDataObjects:()=>ple,compareDiagnostics:()=>CP,compareDiagnosticsSkipRelatedInformation:()=>Jq,compareEmitHelpers:()=>Jke,compareNumberOfDirectorySeparators:()=>eV,comparePaths:()=>fv,comparePathsCaseInsensitive:()=>jqe,comparePathsCaseSensitive:()=>Oqe,comparePatternKeys:()=>Ade,compareProperties:()=>ZCe,compareStringsCaseInsensitive:()=>J$,compareStringsCaseInsensitiveEslintCompatible:()=>$Ce,compareStringsCaseSensitive:()=>ch,compareStringsCaseSensitiveUI:()=>fO,compareTextSpans:()=>G$,compareValues:()=>nl,compileOnSaveCommandLineOption:()=>UV,compilerOptionsAffectDeclarationPath:()=>oke,compilerOptionsAffectEmit:()=>ake,compilerOptionsAffectSemanticDiagnostics:()=>rke,compilerOptionsDidYouMeanDiagnostics:()=>XV,compilerOptionsIndicateEsModules:()=>nfe,compose:()=>dqe,computeCommonSourceDirectoryOfFilenames:()=>L7e,computeLineAndCharacterOfPosition:()=>b8,computeLineOfPosition:()=>wN,computeLineStarts:()=>t7,computePositionOfLineAndCharacter:()=>CU,computeSignature:()=>Tk,computeSignatureWithDiagnostics:()=>R1e,computeSuggestionDiagnostics:()=>Gfe,concatenate:()=>an,concatenateDiagnosticMessageChains:()=>eke,consumesNodeCoreModules:()=>LX,contains:()=>Ft,containsIgnoredPath:()=>wP,containsObjectRestOrSpread:()=>OV,containsParseError:()=>I8,containsPath:()=>WE,convertCompilerOptionsForTelemetry:()=>QFe,convertCompilerOptionsFromJson:()=>dXe,convertJsonOption:()=>Fk,convertToBase64:()=>zye,convertToJson:()=>GV,convertToObject:()=>UFe,convertToOptionsWithAbsolutePaths:()=>ade,convertToRelativePath:()=>BN,convertToTSConfig:()=>YQe,convertTypeAcquisitionFromJson:()=>hXe,copyComments:()=>zk,copyEntries:()=>GU,copyLeadingComments:()=>sw,copyProperties:()=>uoe,copyTrailingAsLeadingComments:()=>UH,copyTrailingComments:()=>RM,couldStartTrivia:()=>C2e,countWhere:()=>ui,createAbstractBuilder:()=>Ctt,createAccessorPropertyBackingField:()=>Kce,createAccessorPropertyGetRedirector:()=>RFe,createAccessorPropertySetRedirector:()=>OFe,createBaseNodeFactory:()=>wke,createBinaryExpressionTrampoline:()=>vY,createBindingHelper:()=>_B,createBuildInfo:()=>mH,createBuilderProgram:()=>O1e,createBuilderProgramUsingProgramBuildInfo:()=>Q7e,createBuilderStatusReporter:()=>p9e,createCacheWithRedirects:()=>vde,createCacheableExportInfoMap:()=>Nfe,createCachedDirectoryStructureHost:()=>gQ,createClassNamedEvaluationHelperBlock:()=>XAe,createClassThisAssignmentBlock:()=>YAe,createClassifier:()=>Oit,createCommentDirectivesMap:()=>Abe,createCompilerDiagnostic:()=>lc,createCompilerDiagnosticForInvalidCustomType:()=>KFe,createCompilerDiagnosticFromMessageChain:()=>Gq,createCompilerHost:()=>N7e,createCompilerHostFromProgramHost:()=>ihe,createCompilerHostWorker:()=>v1e,createDetachedDiagnostic:()=>cB,createDiagnosticCollection:()=>nB,createDiagnosticForFileFromMessageChain:()=>C0e,createDiagnosticForNode:()=>Su,createDiagnosticForNodeArray:()=>j8,createDiagnosticForNodeArrayFromMessageChain:()=>aj,createDiagnosticForNodeFromMessageChain:()=>Z3,createDiagnosticForNodeInSourceFile:()=>V4,createDiagnosticForRange:()=>Obe,createDiagnosticMessageChainFromDiagnostic:()=>Rbe,createDiagnosticReporter:()=>bH,createDocumentPositionMapper:()=>HAe,createDocumentRegistry:()=>ISe,createDocumentRegistryInternal:()=>jfe,createEmitAndSemanticDiagnosticsBuilderProgram:()=>W1e,createEmitHelperFactory:()=>Gke,createEmptyExports:()=>TV,createExpressionForJsxElement:()=>CFe,createExpressionForJsxFragment:()=>bFe,createExpressionForObjectLiteralElementLike:()=>yFe,createExpressionForPropertyName:()=>Mce,createExpressionFromEntityName:()=>LV,createExternalHelpersImportDeclarationIfNeeded:()=>Rce,createFileDiagnostic:()=>zd,createFileDiagnosticFromMessageChain:()=>XU,createForOfBindingStatement:()=>Pce,createGetCanonicalFileName:()=>T1,createGetSourceFile:()=>D1e,createGetSymbolAccessibilityDiagnosticForNode:()=>d5,createGetSymbolAccessibilityDiagnosticForNodeName:()=>b7e,createGetSymbolWalker:()=>AAe,createIncrementalCompilerHost:()=>uhe,createIncrementalProgram:()=>f9e,createInputFiles:()=>PYe,createInputFilesWithFilePaths:()=>nce,createInputFilesWithFileTexts:()=>uce,createJsxFactoryExpression:()=>Nce,createLanguageService:()=>Q8e,createLanguageServiceSourceFile:()=>fee,createMemberAccessForPropertyName:()=>yk,createModeAwareCache:()=>J7,createModeAwareCacheKey:()=>cM,createModuleNotFoundChain:()=>a0e,createModuleResolutionCache:()=>VB,createModuleResolutionLoader:()=>F1e,createModuleResolutionLoaderUsingGlobalCache:()=>r9e,createModuleSpecifierResolutionHost:()=>Mk,createMultiMap:()=>Bm,createNodeConverters:()=>Lke,createNodeFactory:()=>hV,createOptionNameMap:()=>yY,createOverload:()=>Wpe,createPackageJsonImportFilter:()=>VM,createPackageJsonInfo:()=>vfe,createParenthesizerRules:()=>Tke,createPatternMatcher:()=>HSe,createPrependNodes:()=>L1e,createPrinter:()=>Kv,createPrinterWithDefaults:()=>h1e,createPrinterWithRemoveComments:()=>Z2,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>f1e,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>pH,createProgram:()=>yQ,createProgramHost:()=>nhe,createPropertyNameNodeForIdentifierOrLiteral:()=>cZ,createQueue:()=>W$,createRange:()=>o4,createRedirectedBuilderProgram:()=>V1e,createResolutionCache:()=>J1e,createRuntimeTypeSerializer:()=>u7e,createScanner:()=>ZD,createSemanticDiagnosticsBuilderProgram:()=>vtt,createSet:()=>roe,createSolutionBuilder:()=>Rtt,createSolutionBuilderHost:()=>ztt,createSolutionBuilderWithWatch:()=>Ott,createSolutionBuilderWithWatchHost:()=>Itt,createSortedArray:()=>xt,createSourceFile:()=>VV,createSourceMapGenerator:()=>RAe,createSourceMapSource:()=>MYe,createSuperAccessVariableStatement:()=>lQ,createSymbolTable:()=>Vo,createSymlinkCache:()=>Cle,createSystemWatchFunctions:()=>p2e,createTextChange:()=>OH,createTextChangeFromStartLength:()=>hX,createTextChangeRange:()=>IO,createTextRangeFromNode:()=>efe,createTextRangeFromSpan:()=>dX,createTextSpan:()=>c1,createTextSpanFromBounds:()=>Vc,createTextSpanFromNode:()=>af,createTextSpanFromRange:()=>Ux,createTextSpanFromStringLiteralLikeContent:()=>Xhe,createTextWriter:()=>Oj,createTokenRange:()=>hle,createTypeChecker:()=>LAe,createTypeReferenceDirectiveResolutionCache:()=>RY,createTypeReferenceResolutionLoader:()=>vQ,createUnparsedSourceFile:()=>ice,createWatchCompilerHost:()=>Ntt,createWatchCompilerHostOfConfigFile:()=>c9e,createWatchCompilerHostOfFilesAndCompilerOptions:()=>d9e,createWatchFactory:()=>the,createWatchHost:()=>ehe,createWatchProgram:()=>Ptt,createWatchStatusReporter:()=>a9e,createWriteFileMeasuringIO:()=>x1e,declarationNameToString:()=>C0,decodeMappings:()=>Wde,decodedTextSpanIntersectsWith:()=>zO,decorateHelper:()=>kZ,deduplicate:()=>li,defaultIncludeSpec:()=>PY,defaultInitCompilerOptions:()=>LY,defaultMaximumTruncationLength:()=>oV,detectSortCaseSensitivity:()=>hn,diagnosticCategoryName:()=>Ky,diagnosticToString:()=>Rk,directoryProbablyExists:()=>cg,directorySeparator:()=>rl,displayPart:()=>bf,displayPartsToString:()=>pK,disposeEmitNodes:()=>ace,disposeResourcesHelper:()=>YZ,documentSpansEqual:()=>DX,dumpTracingLegend:()=>h2e,elementAt:()=>UD,elideNodes:()=>IFe,emitComments:()=>kye,emitDetachedComments:()=>Fye,emitFiles:()=>fQ,emitFilesAndReportErrors:()=>IQ,emitFilesAndReportErrorsAndGetExitStatus:()=>l9e,emitModuleKindIsNonNodeESM:()=>$q,emitNewLineBeforeLeadingCommentOfPosition:()=>yye,emitNewLineBeforeLeadingComments:()=>Cye,emitNewLineBeforeLeadingCommentsOfPosition:()=>bye,emitSkippedWithNoDiagnostics:()=>wQ,emitUsingBuildInfo:()=>S7e,emptyArray:()=>_t,emptyFileSystemEntries:()=>DZ,emptyMap:()=>Q$,emptyOptions:()=>c4,emptySet:()=>i2e,endsWith:()=>oc,ensurePathIsNonModuleName:()=>l2,ensureScriptKind:()=>nZ,ensureTrailingDirectorySeparator:()=>Pd,entityNameToString:()=>Mf,enumerateInsertsAndDeletes:()=>Z$,equalOwnProperties:()=>UA,equateStringsCaseInsensitive:()=>ZA,equateStringsCaseSensitive:()=>YA,equateValues:()=>vx,esDecorateHelper:()=>SZ,escapeJsxAttributeString:()=>Q0e,escapeLeadingUnderscores:()=>Al,escapeNonAsciiString:()=>Rj,escapeSnippetText:()=>z2,escapeString:()=>kv,every:()=>ye,expandPreOrPostfixIncrementOrDecrementExpression:()=>pY,explainFiles:()=>q1e,explainIfFileIsRedirectAndImpliedFormat:()=>Z1e,exportAssignmentIsAlias:()=>X8,exportStarHelper:()=>JZ,expressionResultIsUnused:()=>Eke,extend:()=>K$,extendsHelper:()=>zZ,extensionFromPath:()=>C7,extensionIsTS:()=>aZ,extensionsNotSupportingExtensionlessResolution:()=>dV,externalHelpersModuleNameText:()=>Vx,factory:()=>q,fileExtensionIs:()=>Ml,fileExtensionIsOneOf:()=>jc,fileIncludeReasonToDiagnostics:()=>X1e,fileShouldUseJavaScriptRequire:()=>Sfe,filter:()=>ei,filterMutate:()=>qu,filterSemanticDiagnostics:()=>kQ,find:()=>Le,findAncestor:()=>Tn,findBestPatternMatch:()=>loe,findChildOfKind:()=>r0,findComputedPropertyNameCacheAssignment:()=>CY,findConfigFile:()=>T7e,findContainingList:()=>nX,findDiagnosticForNode:()=>BSe,findFirstNonJsxWhitespaceToken:()=>q9e,findIndex:()=>Ue,findLast:()=>st,findLastIndex:()=>Ye,findListItemInfo:()=>U9e,findMap:()=>rt,findModifier:()=>rw,findNextToken:()=>X2,findPackageJson:()=>ASe,findPackageJsons:()=>xfe,findPrecedingMatchingToken:()=>lX,findPrecedingToken:()=>ed,findSuperStatementIndexPath:()=>uQ,findTokenOnLeftOfPosition:()=>aX,findUseStrictPrologue:()=>Ice,first:()=>Pn,firstDefined:()=>G,firstDefinedIterator:()=>ie,firstIterator:()=>Ia,firstOrOnly:()=>kfe,firstOrUndefined:()=>Ki,firstOrUndefinedIterator:()=>Kn,fixupCompilerOptions:()=>Zfe,flatMap:()=>Ku,flatMapIterator:()=>Vn,flatMapToMutable:()=>Pr,flatten:()=>Oa,flattenCommaList:()=>jFe,flattenDestructuringAssignment:()=>Sk,flattenDestructuringBinding:()=>q2,flattenDiagnosticMessageText:()=>sE,forEach:()=>L,forEachAncestor:()=>Cbe,forEachAncestorDirectory:()=>$g,forEachChild:()=>uo,forEachChildRecursively:()=>nM,forEachEmittedFile:()=>c1e,forEachEnclosingBlockScopeContainer:()=>Mbe,forEachEntry:()=>d1,forEachExternalModuleToImportFrom:()=>Mfe,forEachImportClauseDeclaration:()=>Cq,forEachKey:()=>$_,forEachLeadingCommentRange:()=>TO,forEachNameInAccessChainWalkingLeft:()=>Uye,forEachPropertyAssignment:()=>W8,forEachResolvedProjectReference:()=>A1e,forEachReturnStatement:()=>v2,forEachRight:()=>R,forEachTrailingCommentRange:()=>LO,forEachTsConfigPropArray:()=>cj,forEachUnique:()=>sfe,forEachYieldExpression:()=>Vbe,forSomeAncestorDirectory:()=>iYe,formatColorAndReset:()=>Y2,formatDiagnostic:()=>C1e,formatDiagnostics:()=>ntt,formatDiagnosticsWithColorAndContext:()=>P7e,formatGeneratedName:()=>Rv,formatGeneratedNamePart:()=>zB,formatLocation:()=>b1e,formatMessage:()=>_le,formatStringFromArgs:()=>X_,formatting:()=>ld,fullTripleSlashAMDReferencePathRegEx:()=>Vle,fullTripleSlashReferencePathRegEx:()=>jle,generateDjb2Hash:()=>FN,generateTSConfig:()=>iXe,generatorHelper:()=>KZ,getAdjustedReferenceLocation:()=>Ghe,getAdjustedRenameLocation:()=>rX,getAliasDeclarationFromName:()=>V0e,getAllAccessorDeclarations:()=>lk,getAllDecoratorsOfClass:()=>qde,getAllDecoratorsOfClassElement:()=>aQ,getAllJSDocTags:()=>jse,getAllJSDocTagsOfKind:()=>pZe,getAllKeys:()=>Sm,getAllProjectOutputs:()=>hQ,getAllSuperTypeNodes:()=>nP,getAllUnscopedEmitHelpers:()=>dce,getAllowJSCompilerOption:()=>Av,getAllowSyntheticDefaultImports:()=>x7,getAncestor:()=>yv,getAnyExtensionFromPath:()=>SN,getAreDeclarationMapsEnabled:()=>qq,getAssignedExpandoInitializer:()=>o7,getAssignedName:()=>Mse,getAssignedNameOfIdentifier:()=>EM,getAssignmentDeclarationKind:()=>Ql,getAssignmentDeclarationPropertyAccessKind:()=>Cj,getAssignmentTargetKind:()=>d7,getAutomaticTypeDirectiveNames:()=>IY,getBaseFileName:()=>Fc,getBinaryOperatorPrecedence:()=>Ij,getBuildInfo:()=>mQ,getBuildInfoFileVersionMap:()=>j1e,getBuildInfoText:()=>A7e,getBuildOrderFromAnyBuildOrder:()=>HQ,getBuilderCreationParameters:()=>TQ,getBuilderFileEmit:()=>$x,getCheckFlags:()=>Wl,getClassExtendsHeritageElement:()=>F2,getClassLikeDeclarationOfSymbol:()=>eD,getCombinedLocalAndExportSymbolFlags:()=>DP,getCombinedModifierFlags:()=>d2,getCombinedNodeFlags:()=>YD,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>Nse,getCommentRange:()=>iE,getCommonSourceDirectory:()=>bM,getCommonSourceDirectoryOfConfig:()=>yM,getCompilerOptionValue:()=>Yq,getCompilerOptionsDiffValue:()=>eXe,getConditions:()=>W2,getConfigFileParsingDiagnostics:()=>wk,getConstantValue:()=>Rke,getContainerFlags:()=>Tde,getContainerNode:()=>Nk,getContainingClass:()=>Zd,getContainingClassExcludingClassDecorators:()=>sq,getContainingClassStaticBlock:()=>Zbe,getContainingFunction:()=>Lm,getContainingFunctionDeclaration:()=>qbe,getContainingFunctionOrClassStaticBlock:()=>oq,getContainingNodeArray:()=>_ke,getContainingObjectLiteralElement:()=>gK,getContextualTypeFromParent:()=>yX,getContextualTypeFromParentOrAncestorTypeNode:()=>uX,getCurrentTime:()=>kH,getDeclarationDiagnostics:()=>y7e,getDeclarationEmitExtensionForPath:()=>Vj,getDeclarationEmitOutputFilePath:()=>Eye,getDeclarationEmitOutputFilePathWorker:()=>Tq,getDeclarationFromName:()=>iP,getDeclarationModifierFlagsFromSymbol:()=>s4,getDeclarationOfKind:()=>Sl,getDeclarationsOfKind:()=>Dbe,getDeclaredExpandoInitializer:()=>_j,getDecorators:()=>Fx,getDefaultCompilerOptions:()=>hee,getDefaultExportInfoWorker:()=>VX,getDefaultFormatCodeSettings:()=>qQ,getDefaultLibFileName:()=>PO,getDefaultLibFilePath:()=>X8e,getDefaultLikeExportInfo:()=>jX,getDiagnosticText:()=>WQe,getDiagnosticsWithinSpan:()=>wSe,getDirectoryPath:()=>cr,getDirectoryToWatchFailedLookupLocation:()=>G1e,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>n9e,getDocumentPositionMapper:()=>Wfe,getESModuleInterop:()=>XE,getEditsForFileRename:()=>OSe,getEffectiveBaseTypeNode:()=>Yg,getEffectiveConstraintOfTypeParameter:()=>S8,getEffectiveContainerForJSDocTemplateTag:()=>bq,getEffectiveImplementsTypeNodes:()=>eB,getEffectiveInitializer:()=>Ej,getEffectiveJSDocHost:()=>rk,getEffectiveModifierFlags:()=>gh,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>wye,getEffectiveModifierFlagsNoCache:()=>Tye,getEffectiveReturnTypeNode:()=>J4,getEffectiveSetAccessorTypeAnnotationNode:()=>vye,getEffectiveTypeAnnotationNode:()=>h1,getEffectiveTypeParameterDeclarations:()=>Ax,getEffectiveTypeRoots:()=>lM,getElementOrPropertyAccessArgumentExpressionOrName:()=>vq,getElementOrPropertyAccessName:()=>Y3,getElementsOfBindingOrAssignmentPattern:()=>MB,getEmitDeclarations:()=>l4,getEmitFlags:()=>Cs,getEmitHelpers:()=>yZ,getEmitModuleDetectionKind:()=>tke,getEmitModuleKind:()=>f1,getEmitModuleResolutionKind:()=>m1,getEmitScriptTarget:()=>Rs,getEmitStandardClassFields:()=>uke,getEnclosingBlockScopeContainer:()=>ZE,getEnclosingContainer:()=>v0e,getEncodedSemanticClassifications:()=>Rfe,getEncodedSyntacticClassifications:()=>Ofe,getEndLinePosition:()=>ij,getEntityNameFromTypeNode:()=>fj,getEntrypointsFromPackageJsonInfo:()=>yde,getErrorCountForSummary:()=>MQ,getErrorSpanForNode:()=>D2,getErrorSummaryText:()=>o9e,getEscapedTextOfIdentifierOrLiteral:()=>aP,getEscapedTextOfJsxAttributeName:()=>PP,getEscapedTextOfJsxNamespacedName:()=>b7,getExpandoInitializer:()=>Cv,getExportAssignmentExpression:()=>H0e,getExportInfoMap:()=>XH,getExportNeedsImportStarHelper:()=>KAe,getExpressionAssociativity:()=>U0e,getExpressionPrecedence:()=>sP,getExternalHelpersModuleName:()=>PV,getExternalModuleImportEqualsDeclarationExpression:()=>QN,getExternalModuleName:()=>q8,getExternalModuleNameFromDeclaration:()=>pye,getExternalModuleNameFromPath:()=>ele,getExternalModuleNameLiteral:()=>H7,getExternalModuleRequireArgument:()=>B0e,getFallbackOptions:()=>_H,getFileEmitOutput:()=>V7e,getFileMatcherPatterns:()=>iZ,getFileNamesFromConfigSpecs:()=>aM,getFileWatcherEventKind:()=>Dse,getFilesInErrorForSummary:()=>zQ,getFirstConstructorWithBody:()=>Q_,getFirstIdentifier:()=>dm,getFirstNonSpaceCharacterPosition:()=>vSe,getFirstProjectOutput:()=>d1e,getFixableErrorSpanExpression:()=>bfe,getFormatCodeSettingsForWriting:()=>zX,getFullWidth:()=>ej,getFunctionFlags:()=>yd,getHeritageClause:()=>Nj,getHostSignatureFromJSDoc:()=>bv,getIdentifierAutoGenerate:()=>jYe,getIdentifierGeneratedImportReference:()=>Wke,getIdentifierTypeArguments:()=>mk,getImmediatelyInvokedFunctionExpression:()=>tk,getImpliedNodeFormatForFile:()=>vH,getImpliedNodeFormatForFileWorker:()=>w1e,getImportNeedsImportDefaultHelper:()=>Jde,getImportNeedsImportStarHelper:()=>iQ,getIndentSize:()=>rB,getIndentString:()=>Bq,getInferredLibraryNameResolveFrom:()=>bQ,getInitializedVariables:()=>_P,getInitializerOfBinaryExpression:()=>P0e,getInitializerOfBindingOrAssignmentElement:()=>zV,getInterfaceBaseTypeNodes:()=>uP,getInternalEmitFlags:()=>Tp,getInvokedExpression:()=>dq,getIsolatedModules:()=>hg,getJSDocAugmentsTag:()=>V2e,getJSDocClassTag:()=>zse,getJSDocCommentRanges:()=>y0e,getJSDocCommentsAndTags:()=>z0e,getJSDocDeprecatedTag:()=>Ise,getJSDocDeprecatedTagNoCache:()=>U2e,getJSDocEnumTag:()=>Rse,getJSDocHost:()=>c7,getJSDocImplementsTags:()=>H2e,getJSDocOverrideTagNoCache:()=>$2e,getJSDocParameterTags:()=>A8,getJSDocParameterTagsNoCache:()=>I2e,getJSDocPrivateTag:()=>cZe,getJSDocPrivateTagNoCache:()=>W2e,getJSDocProtectedTag:()=>dZe,getJSDocProtectedTagNoCache:()=>G2e,getJSDocPublicTag:()=>lZe,getJSDocPublicTagNoCache:()=>K2e,getJSDocReadonlyTag:()=>hZe,getJSDocReadonlyTagNoCache:()=>J2e,getJSDocReturnTag:()=>q2e,getJSDocReturnType:()=>OO,getJSDocRoot:()=>tP,getJSDocSatisfiesExpressionType:()=>Ile,getJSDocSatisfiesTag:()=>Ose,getJSDocTags:()=>xv,getJSDocTagsNoCache:()=>mZe,getJSDocTemplateTag:()=>fZe,getJSDocThisTag:()=>SU,getJSDocType:()=>Dv,getJSDocTypeAliasName:()=>jce,getJSDocTypeAssertionType:()=>EY,getJSDocTypeParameterDeclarations:()=>Mq,getJSDocTypeParameterTags:()=>R2e,getJSDocTypeParameterTagsNoCache:()=>O2e,getJSDocTypeTag:()=>_v,getJSXImplicitImportBase:()=>Xq,getJSXRuntimeImport:()=>eZ,getJSXTransformEnabled:()=>Qq,getKeyForCompilerOptions:()=>xde,getLanguageVariant:()=>qj,getLastChild:()=>gle,getLeadingCommentRanges:()=>K_,getLeadingCommentRangesOfNode:()=>b0e,getLeftmostAccessExpression:()=>vP,getLeftmostExpression:()=>lB,getLibraryNameFromLibFileName:()=>S1e,getLineAndCharacterOfPosition:()=>o0,getLineInfo:()=>Hde,getLineOfLocalPosition:()=>cP,getLineOfLocalPositionFromLineMap:()=>ok,getLineStartPositionForPosition:()=>X4,getLineStarts:()=>J3,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>Kye,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>Hye,getLinesBetweenPositions:()=>TN,getLinesBetweenRangeEndAndRangeStart:()=>fle,getLinesBetweenRangeEndPositions:()=>eYe,getLiteralText:()=>Sbe,getLocalNameForExternalImport:()=>PB,getLocalSymbolForExportDefault:()=>oB,getLocaleSpecificMessage:()=>Ya,getLocaleTimeString:()=>yH,getMappedContextSpan:()=>lfe,getMappedDocumentSpan:()=>xX,getMappedLocation:()=>MM,getMatchedFileSpec:()=>Y1e,getMatchedIncludeSpec:()=>Q1e,getMeaningFromDeclaration:()=>BH,getMeaningFromLocation:()=>Lk,getMembersOfDeclaration:()=>Hbe,getModeForFileReference:()=>xQ,getModeForResolutionAtIndex:()=>y1e,getModeForUsageLocation:()=>_g,getModifiedTime:()=>QA,getModifiers:()=>h2,getModuleInstanceState:()=>aD,getModuleNameStringLiteralAt:()=>AQ,getModuleSpecifierEndingPreference:()=>Ale,getModuleSpecifierResolverHost:()=>ufe,getNameForExportedSymbol:()=>NX,getNameFromIndexInfo:()=>zbe,getNameFromPropertyName:()=>HH,getNameOfAccessExpression:()=>Jye,getNameOfCompilerOptionValue:()=>ude,getNameOfDeclaration:()=>$a,getNameOfExpando:()=>L0e,getNameOfJSDocTypedef:()=>z2e,getNameOrArgument:()=>vj,getNameTable:()=>wme,getNamesForExportedSymbol:()=>TSe,getNamespaceDeclarationNode:()=>Z8,getNewLineCharacter:()=>r5,getNewLineKind:()=>QH,getNewLineOrDefaultFromHost:()=>g5,getNewTargetContainer:()=>Qbe,getNextJSDocCommentLocation:()=>I0e,getNodeForGeneratedName:()=>RV,getNodeId:()=>$s,getNodeKind:()=>Q2,getNodeModifiers:()=>LM,getNodeModulePathParts:()=>dZ,getNonAssignedNameOfDeclaration:()=>AU,getNonAssignmentOperatorForCompoundAssignment:()=>mM,getNonAugmentationDeclaration:()=>p0e,getNonDecoratorTokenPosOfNode:()=>c0e,getNormalizedAbsolutePath:()=>Ga,getNormalizedAbsolutePathWithoutRoot:()=>kse,getNormalizedPathComponents:()=>yO,getObjectFlags:()=>Ju,getOperator:()=>Z0e,getOperatorAssociativity:()=>q0e,getOperatorPrecedence:()=>zj,getOptionFromName:()=>Xce,getOptionsForLibraryResolution:()=>Cde,getOptionsNameMap:()=>RB,getOrCreateEmitNode:()=>N1,getOrCreateExternalHelpersModuleNameIfNeeded:()=>SFe,getOrUpdate:()=>tl,getOriginalNode:()=>Kl,getOriginalNodeId:()=>P1,getOriginalSourceFile:()=>WZe,getOutputDeclarationFileName:()=>CM,getOutputExtension:()=>dQ,getOutputFileNames:()=>ett,getOutputPathsFor:()=>vM,getOutputPathsForBundle:()=>xM,getOwnEmitOutputFilePath:()=>gye,getOwnKeys:()=>Ls,getOwnValues:()=>$1,getPackageJsonInfo:()=>G2,getPackageJsonTypesVersionsPaths:()=>zY,getPackageJsonsVisibleToFile:()=>SSe,getPackageNameFromTypesPackageName:()=>dM,getPackageScopeForPath:()=>uH,getParameterSymbolFromJSDoc:()=>Bj,getParameterTypeNode:()=>fYe,getParentNodeInSpan:()=>WH,getParseTreeNode:()=>Ja,getParsedCommandLineOfConfigFile:()=>KV,getPathComponents:()=>bd,getPathComponentsRelativeTo:()=>Ase,getPathFromPathComponents:()=>bx,getPathUpdater:()=>Hfe,getPathsBasePath:()=>Lq,getPatternFromSpec:()=>kle,getPendingEmitKind:()=>YB,getPositionOfLineAndCharacter:()=>BO,getPossibleGenericSignatures:()=>$he,getPossibleOriginalInputExtensionForExtension:()=>_ye,getPossibleTypeArgumentsInfo:()=>Uhe,getPreEmitDiagnostics:()=>itt,getPrecedingNonSpaceCharacterPosition:()=>CX,getPrivateIdentifier:()=>Zde,getProperties:()=>Ude,getProperty:()=>io,getPropertyArrayElementValue:()=>Ube,getPropertyAssignmentAliasLikeExpression:()=>dye,getPropertyNameForPropertyNameNode:()=>ak,getPropertyNameForUniqueESSymbol:()=>HZe,getPropertyNameFromType:()=>Z4,getPropertyNameOfBindingOrAssignmentElement:()=>Oce,getPropertySymbolFromBindingElement:()=>_X,getPropertySymbolsFromContextualType:()=>mee,getQuoteFromPreference:()=>afe,getQuotePreference:()=>Vm,getRangesWhere:()=>Tu,getRefactorContextSpan:()=>i9,getReferencedFileLocation:()=>kM,getRegexFromPattern:()=>Ox,getRegularExpressionForWildcard:()=>bP,getRegularExpressionsForWildcards:()=>tZ,getRelativePathFromDirectory:()=>GE,getRelativePathFromFile:()=>FO,getRelativePathToDirectoryOrUrl:()=>e7,getRenameLocation:()=>$H,getReplacementSpanForContextToken:()=>Qhe,getResolutionDiagnostic:()=>N1e,getResolutionModeOverride:()=>$B,getResolveJsonModule:()=>L2,getResolvePackageJsonExports:()=>xle,getResolvePackageJsonImports:()=>oYe,getResolvedExternalModuleName:()=>wq,getRestIndicatorOfBindingOrAssignmentElement:()=>DY,getRestParameterElementType:()=>k0e,getRightMostAssignedExpression:()=>Dj,getRootDeclaration:()=>QE,getRootDirectoryOfResolutionCache:()=>u9e,getRootLength:()=>KE,getRootPathSplitLength:()=>Ftt,getScriptKind:()=>mfe,getScriptKindFromFileName:()=>uZ,getScriptTargetFeatures:()=>gZ,getSelectedEffectiveModifierFlags:()=>p7,getSelectedSyntacticModifierFlags:()=>Sye,getSemanticClassifications:()=>MSe,getSemanticJsxChildren:()=>iB,getSetAccessorTypeAnnotationNode:()=>Dye,getSetAccessorValueParameter:()=>dP,getSetExternalModuleIndicator:()=>Zj,getShebang:()=>yU,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>M0e,getSingleVariableOfVariableStatement:()=>Q8,getSnapshotText:()=>uw,getSnippetElement:()=>oce,getSourceFileOfModule:()=>$U,getSourceFileOfNode:()=>zn,getSourceFilePathInNewDir:()=>Nq,getSourceFilePathInNewDirWorker:()=>Pq,getSourceFileVersionAsHashFromText:()=>RQ,getSourceFilesToEmit:()=>tle,getSourceMapRange:()=>wv,getSourceMapper:()=>YSe,getSourceTextOfNodeFromSourceFile:()=>E2,getSpanOfTokenAtPosition:()=>YE,getSpellingSuggestion:()=>CN,getStartPositionOfLine:()=>Px,getStartPositionOfRange:()=>EP,getStartsOnNewLine:()=>IP,getStaticPropertiesAndClassStaticBlock:()=>rQ,getStrictOptionValue:()=>U4,getStringComparer:()=>vN,getSuperCallFromStatement:()=>nQ,getSuperContainer:()=>dj,getSupportedCodeFixes:()=>Sme,getSupportedExtensions:()=>yP,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>Xj,getSwitchedType:()=>_fe,getSymbolId:()=>Zo,getSymbolNameForPrivateIdentifier:()=>Pj,getSymbolTarget:()=>DSe,getSyntacticClassifications:()=>zSe,getSyntacticModifierFlags:()=>Ix,getSyntacticModifierFlagsNoCache:()=>rle,getSynthesizedDeepClone:()=>ll,getSynthesizedDeepCloneWithReplacements:()=>JH,getSynthesizedDeepClones:()=>eb,getSynthesizedDeepClonesWithReplacements:()=>pfe,getSyntheticLeadingComments:()=>EB,getSyntheticTrailingComments:()=>EV,getTargetLabel:()=>XQ,getTargetOfBindingOrAssignmentElement:()=>Jx,getTemporaryModuleResolutionState:()=>nH,getTextOfConstantValue:()=>Bbe,getTextOfIdentifierOrLiteral:()=>W4,getTextOfJSDocComment:()=>VO,getTextOfJsxAttributeName:()=>aV,getTextOfJsxNamespacedName:()=>MP,getTextOfNode:()=>Hc,getTextOfNodeFromSourceText:()=>GN,getTextOfPropertyName:()=>O8,getThisContainer:()=>ef,getThisParameter:()=>S2,getTokenAtPosition:()=>Ca,getTokenPosOfNode:()=>Qy,getTokenSourceMapRange:()=>RYe,getTouchingPropertyName:()=>rf,getTouchingToken:()=>TM,getTrailingCommentRanges:()=>mv,getTrailingSemicolonDeferringWriter:()=>X0e,getTransformFlagsSubtreeExclusions:()=>Nke,getTransformers:()=>s1e,getTsBuildInfoEmitOutputFilePath:()=>h5,getTsConfigObjectLiteralExpression:()=>qN,getTsConfigPropArrayElementValue:()=>aq,getTypeAnnotationNode:()=>xye,getTypeArgumentOrTypeParameterList:()=>nSe,getTypeKeywordOfTypeOnlyImport:()=>ofe,getTypeNode:()=>Hke,getTypeNodeIfAccessible:()=>jM,getTypeParameterFromJsDoc:()=>rye,getTypeParameterOwner:()=>uZe,getTypesPackageName:()=>KY,getUILocale:()=>UCe,getUniqueName:()=>Ik,getUniqueSymbolId:()=>xSe,getUseDefineForClassFields:()=>Qj,getWatchErrorSummaryDiagnosticMessage:()=>$1e,getWatchFactory:()=>g1e,group:()=>xN,groupBy:()=>WCe,guessIndentation:()=>Ebe,handleNoEmitOptions:()=>T1e,hasAbstractModifier:()=>T2,hasAccessorModifier:()=>Xg,hasAmbientModifier:()=>ule,hasChangesInResolutions:()=>o0e,hasChildOfKind:()=>zH,hasContextSensitiveParameters:()=>lZ,hasDecorators:()=>a4,hasDocComment:()=>tSe,hasDynamicName:()=>zx,hasEffectiveModifier:()=>If,hasEffectiveModifiers:()=>zq,hasEffectiveReadonlyModifier:()=>hP,hasExtension:()=>XA,hasIndexSignature:()=>Efe,hasInitializer:()=>Lx,hasInvalidEscape:()=>Y0e,hasJSDocNodes:()=>sm,hasJSDocParameterTags:()=>j2e,hasJSFileExtension:()=>N2,hasJsonModuleEmitEnabled:()=>Uq,hasOnlyExpressionInitializer:()=>Zy,hasOverrideModifier:()=>Iq,hasPossibleExternalModuleReference:()=>Pbe,hasProperty:()=>gu,hasPropertyAccessExpressionWithName:()=>TH,hasQuestionToken:()=>l7,hasRecordedExternalHelpers:()=>AFe,hasResolutionModeOverride:()=>bke,hasRestParameter:()=>n0e,hasScopeMarker:()=>lbe,hasStaticModifier:()=>Kc,hasSyntacticModifier:()=>Qu,hasSyntacticModifiers:()=>Aye,hasTSFileExtension:()=>hk,hasTabstop:()=>xke,hasTrailingDirectorySeparator:()=>qD,hasType:()=>HU,hasTypeArguments:()=>IZe,hasZeroOrOneAsteriskCharacter:()=>vle,helperString:()=>cce,hostGetCanonicalFileName:()=>i5,hostUsesCaseSensitiveFileNames:()=>jj,idText:()=>fu,identifierIsThisKeyword:()=>nle,identifierToKeywordKind:()=>Ev,identity:()=>il,identitySourceMapConsumer:()=>tQ,ignoreSourceNewlines:()=>lce,ignoredPaths:()=>bO,importDefaultHelper:()=>GZ,importFromModuleSpecifier:()=>eP,importNameElisionDisabled:()=>Dle,importStarHelper:()=>DV,indexOfAnyCharCode:()=>Ot,indexOfNode:()=>R8,indicesOf:()=>Yr,inferredTypesContainingFile:()=>ZB,injectClassNamedEvaluationHelperBlockIfMissing:()=>sQ,injectClassThisAssignmentIfMissing:()=>QAe,insertImports:()=>PM,insertLeadingStatement:()=>uQe,insertSorted:()=>Nt,insertStatementAfterCustomPrologue:()=>Yy,insertStatementAfterStandardPrologue:()=>AZe,insertStatementsAfterCustomPrologue:()=>s0e,insertStatementsAfterStandardPrologue:()=>qE,intersperse:()=>_e,intrinsicTagNameToString:()=>Rle,introducesArgumentsExoticObject:()=>Jbe,inverseJsxOptionMap:()=>oM,isAbstractConstructorSymbol:()=>Wye,isAbstractModifier:()=>Xke,isAccessExpression:()=>M0,isAccessibilityModifier:()=>Zhe,isAccessor:()=>Bx,isAccessorModifier:()=>tFe,isAliasSymbolDeclaration:()=>OZe,isAliasableExpression:()=>Lj,isAmbientModule:()=>L1,isAmbientPropertyDeclaration:()=>E0e,isAnonymousFunctionDefinition:()=>oP,isAnyDirectorySeparator:()=>Cse,isAnyImportOrBareOrAccessedRequire:()=>Nbe,isAnyImportOrReExport:()=>uj,isAnyImportSyntax:()=>Xy,isAnySupportedFileExtension:()=>hYe,isApplicableVersionedTypesKey:()=>aH,isArgumentExpressionOfElementAccess:()=>Ohe,isArray:()=>ja,isArrayBindingElement:()=>zU,isArrayBindingOrAssignmentElement:()=>UO,isArrayBindingOrAssignmentPattern:()=>Yse,isArrayBindingPattern:()=>gk,isArrayLiteralExpression:()=>_h,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>m5,isArrayTypeNode:()=>nY,isArrowFunction:()=>J0,isAsExpression:()=>kV,isAssertClause:()=>lFe,isAssertEntry:()=>ZYe,isAssertionExpression:()=>qy,isAssertsKeyword:()=>Yke,isAssignmentDeclaration:()=>XN,isAssignmentExpression:()=>od,isAssignmentOperator:()=>n5,isAssignmentPattern:()=>HN,isAssignmentTarget:()=>Y_,isAsteriskToken:()=>CV,isAsyncFunction:()=>rP,isAsyncModifier:()=>jP,isAutoAccessorPropertyDeclaration:()=>Xh,isAwaitExpression:()=>Wx,isAwaitKeyword:()=>Ece,isBigIntLiteral:()=>QZ,isBinaryExpression:()=>eu,isBinaryOperatorToken:()=>zFe,isBindableObjectDefinePropertyCall:()=>nk,isBindableStaticAccessExpression:()=>y2,isBindableStaticElementAccessExpression:()=>xq,isBindableStaticNameExpression:()=>uk,isBindingElement:()=>Os,isBindingElementOfBareOrAccessedRequire:()=>tye,isBindingName:()=>$y,isBindingOrAssignmentElement:()=>nbe,isBindingOrAssignmentPattern:()=>JO,isBindingPattern:()=>Ao,isBlock:()=>ho,isBlockOrCatchScoped:()=>d0e,isBlockScope:()=>_0e,isBlockScopedContainerTopLevel:()=>Lbe,isBooleanLiteral:()=>VN,isBreakOrContinueStatement:()=>RN,isBreakStatement:()=>$Ye,isBuildInfoFile:()=>F7e,isBuilderProgram:()=>s9e,isBundle:()=>yce,isBundleFileTextLike:()=>$ye,isCallChain:()=>Gy,isCallExpression:()=>Po,isCallExpressionTarget:()=>Nhe,isCallLikeExpression:()=>g2,isCallLikeOrFunctionLikeExpression:()=>Qse,isCallOrNewExpression:()=>JE,isCallOrNewExpressionTarget:()=>Phe,isCallSignatureDeclaration:()=>xB,isCallToHelper:()=>OP,isCaseBlock:()=>qP,isCaseClause:()=>AB,isCaseKeyword:()=>iFe,isCaseOrDefaultClause:()=>jU,isCatchClause:()=>H2,isCatchClauseVariableDeclaration:()=>Dke,isCatchClauseVariableDeclarationOrBindingElement:()=>h0e,isCheckJsEnabledForFile:()=>iV,isChildOfNodeWithKind:()=>SZe,isCircularBuildOrder:()=>Q7,isClassDeclaration:()=>Wc,isClassElement:()=>qd,isClassExpression:()=>Qd,isClassInstanceProperty:()=>ebe,isClassLike:()=>gr,isClassMemberModifier:()=>Use,isClassNamedEvaluationHelperBlock:()=>Y7,isClassOrTypeElement:()=>MU,isClassStaticBlockDeclaration:()=>zl,isClassThisAssignmentBlock:()=>gM,isCollapsedRange:()=>XZe,isColonToken:()=>qke,isCommaExpression:()=>NV,isCommaListExpression:()=>$P,isCommaSequence:()=>XP,isCommaToken:()=>Uke,isComment:()=>cX,isCommonJsExportPropertyAssignment:()=>uq,isCommonJsExportedExpression:()=>Wbe,isCompoundAssignment:()=>fM,isComputedNonLiteralName:()=>rj,isComputedPropertyName:()=>Ns,isConciseBody:()=>RU,isConditionalExpression:()=>FB,isConditionalTypeNode:()=>yB,isConstTypeReference:()=>U3,isConstructSignatureDeclaration:()=>yV,isConstructorDeclaration:()=>dc,isConstructorTypeNode:()=>KP,isContextualKeyword:()=>kq,isContinueStatement:()=>JYe,isCustomPrologue:()=>lj,isDebuggerStatement:()=>UYe,isDeclaration:()=>Y1,isDeclarationBindingElement:()=>GO,isDeclarationFileName:()=>Xd,isDeclarationName:()=>Q3,isDeclarationNameOfEnumOrNamespace:()=>mle,isDeclarationReadonly:()=>eq,isDeclarationStatement:()=>fbe,isDeclarationWithTypeParameterChildren:()=>x0e,isDeclarationWithTypeParameters:()=>D0e,isDecorator:()=>p1,isDecoratorTarget:()=>H9e,isDefaultClause:()=>BV,isDefaultImport:()=>s7,isDefaultModifier:()=>tY,isDefaultedExpandoInitializer:()=>iye,isDeleteExpression:()=>rFe,isDeleteTarget:()=>j0e,isDeprecatedDeclaration:()=>PX,isDestructuringAssignment:()=>u5,isDiagnosticWithLocation:()=>Cfe,isDiskPathRoot:()=>bse,isDoStatement:()=>WYe,isDocumentRegistryEntry:()=>eK,isDotDotDotToken:()=>XZ,isDottedName:()=>mP,isDynamicName:()=>Sq,isESSymbolIdentifier:()=>KZe,isEffectiveExternalModule:()=>a7,isEffectiveModuleDeclaration:()=>Tbe,isEffectiveStrictModeSourceFile:()=>g0e,isElementAccessChain:()=>Vse,isElementAccessExpression:()=>G0,isEmittedFileOfProgram:()=>w7e,isEmptyArrayLiteral:()=>Mye,isEmptyBindingElement:()=>P2e,isEmptyBindingPattern:()=>N2e,isEmptyObjectLiteral:()=>cle,isEmptyStatement:()=>vce,isEmptyStringLiteral:()=>S0e,isEntityName:()=>om,isEntityNameExpression:()=>Xl,isEnumConst:()=>x2,isEnumDeclaration:()=>Mv,isEnumMember:()=>K2,isEqualityOperatorKind:()=>kX,isEqualsGreaterThanToken:()=>Zke,isExclamationToken:()=>bV,isExcludedFile:()=>ZFe,isExclusivelyTypeOnlyImportOrExport:()=>k1e,isExpandoPropertyDeclaration:()=>fZ,isExportAssignment:()=>ec,isExportDeclaration:()=>Gc,isExportModifier:()=>w7,isExportName:()=>gY,isExportNamespaceAsDefaultDeclaration:()=>ZU,isExportOrDefaultModifier:()=>IV,isExportSpecifier:()=>X1,isExportsIdentifier:()=>ik,isExportsOrModuleExportsOrAlias:()=>J2,isExpression:()=>Wt,isExpressionNode:()=>q_,isExpressionOfExternalModuleImportEqualsDeclaration:()=>J9e,isExpressionOfOptionalChainRoot:()=>TU,isExpressionStatement:()=>Id,isExpressionWithTypeArguments:()=>l5,isExpressionWithTypeArgumentsInClassExtendsClause:()=>Wj,isExternalModule:()=>Bc,isExternalModuleAugmentation:()=>_2,isExternalModuleImportEqualsDeclaration:()=>vv,isExternalModuleIndicator:()=>qO,isExternalModuleNameRelative:()=>Md,isExternalModuleReference:()=>u_,isExternalModuleSymbol:()=>jH,isExternalOrCommonJsModule:()=>lm,isFileLevelReservedGeneratedIdentifier:()=>WO,isFileLevelUniqueName:()=>UU,isFileProbablyExternalModule:()=>jV,isFirstDeclarationOfSymbolParameter:()=>cfe,isFixablePromiseHandler:()=>$fe,isForInOrOfStatement:()=>N8,isForInStatement:()=>sY,isForInitializer:()=>r4,isForOfStatement:()=>FV,isForStatement:()=>Dk,isFunctionBlock:()=>C2,isFunctionBody:()=>e0e,isFunctionDeclaration:()=>Xc,isFunctionExpression:()=>A0,isFunctionExpressionOrArrowFunction:()=>M2,isFunctionLike:()=>xo,isFunctionLikeDeclaration:()=>W0,isFunctionLikeKind:()=>u7,isFunctionLikeOrClassStaticBlockDeclaration:()=>w8,isFunctionOrConstructorTypeNode:()=>ibe,isFunctionOrModuleBlock:()=>qse,isFunctionSymbol:()=>uye,isFunctionTypeNode:()=>n3,isFutureReservedKeyword:()=>jZe,isGeneratedIdentifier:()=>al,isGeneratedPrivateIdentifier:()=>Jy,isGetAccessor:()=>Tx,isGetAccessorDeclaration:()=>Mm,isGetOrSetAccessorDeclaration:()=>BU,isGlobalDeclaration:()=>Pit,isGlobalScopeAugmentation:()=>Zg,isGrammarError:()=>Fbe,isHeritageClause:()=>fm,isHoistedFunction:()=>iq,isHoistedVariableStatement:()=>nq,isIdentifier:()=>at,isIdentifierANonContextualKeyword:()=>Fq,isIdentifierName:()=>cye,isIdentifierOrThisTypeNode:()=>LFe,isIdentifierPart:()=>pv,isIdentifierStart:()=>W_,isIdentifierText:()=>Tm,isIdentifierTypePredicate:()=>$be,isIdentifierTypeReference:()=>mke,isIfStatement:()=>_k,isIgnoredFileFromWildCardWatching:()=>EH,isImplicitGlob:()=>yle,isImportAttribute:()=>cFe,isImportAttributeName:()=>X2e,isImportAttributes:()=>lY,isImportCall:()=>cm,isImportClause:()=>i_,isImportDeclaration:()=>Ad,isImportEqualsDeclaration:()=>g1,isImportKeyword:()=>HP,isImportMeta:()=>H8,isImportOrExportSpecifier:()=>n7,isImportOrExportSpecifierName:()=>_Se,isImportSpecifier:()=>Cf,isImportTypeAssertionContainer:()=>qYe,isImportTypeNode:()=>iD,isImportableFile:()=>Pfe,isInComment:()=>f5,isInCompoundLikeAssignment:()=>R0e,isInExpressionContext:()=>fq,isInJSDoc:()=>pj,isInJSFile:()=>Xn,isInJSXText:()=>X9e,isInJsonFile:()=>pq,isInNonReferenceComment:()=>aSe,isInReferenceComment:()=>rSe,isInRightSideOfInternalImportEqualsDeclaration:()=>YQ,isInString:()=>Pk,isInTemplateString:()=>Jhe,isInTopLevelContext:()=>lq,isInTypeQuery:()=>sk,isIncrementalCompilation:()=>Yj,isIndexSignatureDeclaration:()=>pk,isIndexedAccessTypeNode:()=>M7,isInferTypeNode:()=>L7,isInfinityOrNaNString:()=>TP,isInitializedProperty:()=>dH,isInitializedVariable:()=>Uj,isInsideJsxElement:()=>sX,isInsideJsxElementOrAttribute:()=>Q9e,isInsideNodeModules:()=>YH,isInsideTemplateLiteral:()=>RH,isInstanceOfExpression:()=>Rq,isInstantiatedModule:()=>Ide,isInterfaceDeclaration:()=>Dh,isInternalDeclaration:()=>a1e,isInternalModuleImportEqualsDeclaration:()=>J8,isInternalName:()=>zce,isIntersectionTypeNode:()=>bB,isIntrinsicJsxName:()=>uB,isIterationStatement:()=>wx,isJSDoc:()=>Rp,isJSDocAllType:()=>pFe,isJSDocAugmentsTag:()=>wB,isJSDocAuthorTag:()=>eQe,isJSDocCallbackTag:()=>Fce,isJSDocClassTag:()=>EFe,isJSDocCommentContainingNode:()=>VU,isJSDocConstructSignature:()=>Y8,isJSDocDeprecatedTag:()=>Tce,isJSDocEnumTag:()=>wV,isJSDocFunctionType:()=>BB,isJSDocImplementsTag:()=>Lce,isJSDocIndexSignature:()=>gq,isJSDocLikeText:()=>Gce,isJSDocLink:()=>fFe,isJSDocLinkCode:()=>mFe,isJSDocLinkLike:()=>r7,isJSDocLinkPlain:()=>QYe,isJSDocMemberName:()=>zv,isJSDocNameReference:()=>YP,isJSDocNamepathType:()=>XYe,isJSDocNamespaceBody:()=>CZe,isJSDocNode:()=>P8,isJSDocNonNullableType:()=>cY,isJSDocNullableType:()=>SB,isJSDocOptionalParameter:()=>rV,isJSDocOptionalType:()=>kce,isJSDocOverloadTag:()=>TB,isJSDocOverrideTag:()=>hY,isJSDocParameterTag:()=>pg,isJSDocPrivateTag:()=>Sce,isJSDocPropertyLikeTag:()=>HO,isJSDocPropertyTag:()=>DFe,isJSDocProtectedTag:()=>Bce,isJSDocPublicTag:()=>Ace,isJSDocReadonlyTag:()=>wce,isJSDocReturnTag:()=>fY,isJSDocSatisfiesExpression:()=>zle,isJSDocSatisfiesTag:()=>mY,isJSDocSeeTag:()=>tQe,isJSDocSignature:()=>Iv,isJSDocTag:()=>M8,isJSDocTemplateTag:()=>gg,isJSDocThisTag:()=>_Fe,isJSDocThrowsTag:()=>nQe,isJSDocTypeAlias:()=>K4,isJSDocTypeAssertion:()=>eM,isJSDocTypeExpression:()=>bk,isJSDocTypeLiteral:()=>V7,isJSDocTypeTag:()=>QP,isJSDocTypedefTag:()=>LB,isJSDocUnknownTag:()=>iQe,isJSDocUnknownType:()=>gFe,isJSDocVariadicType:()=>dY,isJSXTagName:()=>G8,isJsonEqual:()=>oZ,isJsonSourceFile:()=>H4,isJsxAttribute:()=>aE,isJsxAttributeLike:()=>OU,isJsxAttributeName:()=>Cke,isJsxAttributes:()=>V2,isJsxChild:()=>QO,isJsxClosingElement:()=>O2,isJsxClosingFragment:()=>dFe,isJsxElement:()=>u3,isJsxExpression:()=>ZP,isJsxFragment:()=>j2,isJsxNamespacedName:()=>mg,isJsxOpeningElement:()=>rE,isJsxOpeningFragment:()=>O7,isJsxOpeningLikeElement:()=>Ph,isJsxOpeningLikeElementTagName:()=>K9e,isJsxSelfClosingElement:()=>vk,isJsxSpreadAttribute:()=>j7,isJsxTagNameExpression:()=>KN,isJsxText:()=>S7,isJumpStatementTarget:()=>LH,isKeyword:()=>nf,isKeywordOrPunctuation:()=>yq,isKnownSymbol:()=>Mj,isLabelName:()=>Ihe,isLabelOfLabeledStatement:()=>zhe,isLabeledStatement:()=>R2,isLateVisibilityPaintedStatement:()=>QU,isLeftHandSideExpression:()=>_f,isLeftHandSideOfAssignment:()=>QZe,isLet:()=>tq,isLineBreak:()=>q1,isLiteralComputedPropertyDeclarationName:()=>Tj,isLiteralExpression:()=>m2,isLiteralExpressionOfObject:()=>Jse,isLiteralImportTypeNode:()=>Mx,isLiteralKind:()=>ON,isLiteralLikeAccess:()=>Dq,isLiteralLikeElementAccess:()=>xj,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>eX,isLiteralTypeLikeExpression:()=>lQe,isLiteralTypeLiteral:()=>obe,isLiteralTypeNode:()=>Nv,isLocalName:()=>uD,isLogicalOperator:()=>Lye,isLogicalOrCoalescingAssignmentExpression:()=>ale,isLogicalOrCoalescingAssignmentOperator:()=>fP,isLogicalOrCoalescingBinaryExpression:()=>Kj,isLogicalOrCoalescingBinaryOperator:()=>Hj,isMappedTypeNode:()=>GP,isMemberName:()=>G_,isMetaProperty:()=>JP,isMethodDeclaration:()=>cc,isMethodOrAccessor:()=>T8,isMethodSignature:()=>i3,isMinusToken:()=>gce,isMissingDeclaration:()=>YYe,isModifier:()=>Qo,isModifierKind:()=>QD,isModifierLike:()=>ol,isModuleAugmentationExternal:()=>m0e,isModuleBlock:()=>uE,isModuleBody:()=>cbe,isModuleDeclaration:()=>Ec,isModuleExportsAccessExpression:()=>Z_,isModuleIdentifier:()=>N0e,isModuleName:()=>MFe,isModuleOrEnumDeclaration:()=>ZO,isModuleReference:()=>pbe,isModuleSpecifierLike:()=>EX,isModuleWithStringLiteralName:()=>YU,isNameOfFunctionDeclaration:()=>Vhe,isNameOfModuleDeclaration:()=>jhe,isNamedClassElement:()=>tbe,isNamedDeclaration:()=>fh,isNamedEvaluation:()=>zf,isNamedEvaluationSource:()=>G0e,isNamedExportBindings:()=>Kse,isNamedExports:()=>Q4,isNamedImportBindings:()=>t0e,isNamedImports:()=>nD,isNamedImportsOrExports:()=>Wq,isNamedTupleMember:()=>WP,isNamespaceBody:()=>vZe,isNamespaceExport:()=>n_,isNamespaceExportDeclaration:()=>SV,isNamespaceImport:()=>Gx,isNamespaceReexportDeclaration:()=>eye,isNewExpression:()=>I2,isNewExpressionTarget:()=>BM,isNoSubstitutionTemplateLiteral:()=>B7,isNode:()=>gZe,isNodeArray:()=>f2,isNodeArrayMultiLine:()=>Vye,isNodeDescendantOf:()=>k2,isNodeKind:()=>KO,isNodeLikeSystem:()=>doe,isNodeModulesDirectory:()=>DU,isNodeWithPossibleHoistedDeclaration:()=>oye,isNonContextualKeyword:()=>W0e,isNonExportDefaultModifier:()=>dQe,isNonGlobalAmbientModule:()=>f0e,isNonGlobalDeclaration:()=>PSe,isNonNullAccess:()=>vke,isNonNullChain:()=>LU,isNonNullExpression:()=>I7,isNonStaticMethodOrAccessorWithPrivateName:()=>WAe,isNotEmittedOrPartiallyEmittedNode:()=>xZe,isNotEmittedStatement:()=>bce,isNullishCoalesce:()=>Hse,isNumber:()=>$D,isNumericLiteral:()=>Rf,isNumericLiteralName:()=>t3,isObjectBindingElementWithoutPropertyName:()=>KH,isObjectBindingOrAssignmentElement:()=>$O,isObjectBindingOrAssignmentPattern:()=>Zse,isObjectBindingPattern:()=>Mp,isObjectLiteralElement:()=>i0e,isObjectLiteralElementLike:()=>q3,isObjectLiteralExpression:()=>bs,isObjectLiteralMethod:()=>Np,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>rq,isObjectTypeDeclaration:()=>_7,isOctalDigit:()=>bU,isOmittedExpression:()=>kd,isOptionalChain:()=>Z1,isOptionalChainRoot:()=>zN,isOptionalDeclaration:()=>NP,isOptionalJSDocPropertyLikeTag:()=>uV,isOptionalTypeNode:()=>_ce,isOuterExpression:()=>_Y,isOutermostOptionalChain:()=>IN,isOverrideModifier:()=>eFe,isPackedArrayLiteral:()=>Nle,isParameter:()=>Qa,isParameterDeclaration:()=>A2,isParameterOrCatchClauseVariable:()=>Ple,isParameterPropertyDeclaration:()=>Pf,isParameterPropertyModifier:()=>jN,isParenthesizedExpression:()=>vf,isParenthesizedTypeNode:()=>N7,isParseTreeNode:()=>MN,isPartOfTypeNode:()=>U_,isPartOfTypeQuery:()=>mq,isPartiallyEmittedExpression:()=>oY,isPatternMatch:()=>$$,isPinnedComment:()=>qU,isPlainJsFile:()=>tj,isPlusToken:()=>pce,isPossiblyTypeArgumentPosition:()=>IH,isPostfixUnaryExpression:()=>xce,isPrefixUnaryExpression:()=>Pv,isPrivateIdentifier:()=>ea,isPrivateIdentifierClassElementDeclaration:()=>mh,isPrivateIdentifierPropertyAccessExpression:()=>B8,isPrivateIdentifierSymbol:()=>hye,isProgramBundleEmitBuildInfo:()=>J7e,isProgramUptoDate:()=>B1e,isPrologueDirective:()=>Lp,isPropertyAccessChain:()=>wU,isPropertyAccessEntityNameExpression:()=>Gj,isPropertyAccessExpression:()=>zu,isPropertyAccessOrQualifiedName:()=>rbe,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>ube,isPropertyAssignment:()=>Jc,isPropertyDeclaration:()=>yo,isPropertyName:()=>Ac,isPropertyNameLiteral:()=>Qg,isPropertySignature:()=>Pm,isProtoSetter:()=>fye,isPrototypeAccess:()=>Rx,isPrototypePropertyAssignment:()=>bj,isPunctuation:()=>K0e,isPushOrUnshiftIdentifier:()=>J0e,isQualifiedName:()=>xf,isQuestionDotToken:()=>eY,isQuestionOrExclamationToken:()=>TFe,isQuestionOrPlusOrMinusToken:()=>PFe,isQuestionToken:()=>Kx,isRawSourceMap:()=>jAe,isReadonlyKeyword:()=>Qke,isReadonlyKeywordOrPlusOrMinusToken:()=>NFe,isRecognizedTripleSlashComment:()=>l0e,isReferenceFileLocation:()=>UB,isReferencedFile:()=>Wv,isRegularExpressionLiteral:()=>fce,isRequireCall:()=>Df,isRequireVariableStatement:()=>T0e,isRestParameter:()=>J_,isRestTypeNode:()=>Dce,isReturnStatement:()=>zp,isReturnStatementWithFixablePromiseHandler:()=>WX,isRightSideOfAccessExpression:()=>lle,isRightSideOfInstanceofExpression:()=>Pye,isRightSideOfPropertyAccess:()=>iw,isRightSideOfQualifiedName:()=>G9e,isRightSideOfQualifiedNameOrPropertyAccess:()=>pP,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>Nye,isRootedDiskPath:()=>Nf,isSameEntityName:()=>$8,isSatisfiesExpression:()=>aFe,isScopeMarker:()=>sbe,isSemicolonClassElement:()=>oFe,isSetAccessor:()=>XD,isSetAccessorDeclaration:()=>Of,isShebangTrivia:()=>Sse,isShiftOperatorOrHigher:()=>Hce,isShorthandAmbientModuleSymbol:()=>JN,isShorthandPropertyAssignment:()=>mm,isSignedNumericLiteral:()=>Aq,isSimpleCopiableExpression:()=>U2,isSimpleInlineableExpression:()=>oE,isSingleOrDoubleQuote:()=>gj,isSourceFile:()=>ca,isSourceFileFromLibrary:()=>HM,isSourceFileJS:()=>ph,isSourceFileNotJS:()=>TZe,isSourceFileNotJson:()=>w0e,isSourceMapping:()=>VAe,isSpecialPropertyDeclaration:()=>nye,isSpreadAssignment:()=>c5,isSpreadElement:()=>nE,isStatement:()=>ua,isStatementButNotDeclaration:()=>YO,isStatementOrBlock:()=>mbe,isStatementWithLocals:()=>kbe,isStatic:()=>Lo,isStaticModifier:()=>T7,isString:()=>Wa,isStringAKeyword:()=>VZe,isStringANonContextualKeyword:()=>h7,isStringAndEmptyAnonymousObjectIntersection:()=>uSe,isStringDoubleQuoted:()=>_q,isStringLiteral:()=>us,isStringLiteralLike:()=>t0,isStringLiteralOrJsxExpression:()=>gbe,isStringLiteralOrTemplate:()=>kSe,isStringOrNumericLiteralLike:()=>Nm,isStringOrRegularExpressionOrTemplateLiteral:()=>qhe,isStringTextContainingNode:()=>$se,isSuperCall:()=>ek,isSuperKeyword:()=>VP,isSuperOrSuperProperty:()=>wZe,isSuperProperty:()=>tf,isSupportedSourceFileName:()=>cke,isSwitchStatement:()=>AV,isSyntaxList:()=>NB,isSyntheticExpression:()=>KYe,isSyntheticReference:()=>R7,isTagName:()=>Rhe,isTaggedTemplateExpression:()=>Ek,isTaggedTemplateTag:()=>V9e,isTemplateExpression:()=>rY,isTemplateHead:()=>DB,isTemplateLiteral:()=>L8,isTemplateLiteralKind:()=>Sx,isTemplateLiteralToken:()=>Y2e,isTemplateLiteralTypeNode:()=>HYe,isTemplateLiteralTypeSpan:()=>nFe,isTemplateMiddle:()=>$ke,isTemplateMiddleOrTemplateTail:()=>NU,isTemplateSpan:()=>UP,isTemplateTail:()=>mce,isTextWhiteSpaceLike:()=>cSe,isThis:()=>nw,isThisContainerOrFunctionBlock:()=>Ybe,isThisIdentifier:()=>w2,isThisInTypeQuery:()=>m7,isThisInitializedDeclaration:()=>cq,isThisInitializedObjectBindingExpression:()=>Xbe,isThisProperty:()=>hj,isThisTypeNode:()=>uY,isThisTypeParameter:()=>LP,isThisTypePredicate:()=>BZe,isThrowStatement:()=>Cce,isToken:()=>i7,isTokenKind:()=>Gse,isTraceEnabled:()=>rD,isTransientSymbol:()=>UE,isTrivia:()=>tB,isTryStatement:()=>xk,isTupleTypeNode:()=>CB,isTypeAlias:()=>Fj,isTypeAliasDeclaration:()=>Ip,isTypeAssertionExpression:()=>uFe,isTypeDeclaration:()=>mB,isTypeElement:()=>Uy,isTypeKeyword:()=>NM,isTypeKeywordToken:()=>tfe,isTypeKeywordTokenOrIdentifier:()=>fX,isTypeLiteralNode:()=>hm,isTypeNode:()=>Xr,isTypeNodeKind:()=>Ele,isTypeOfExpression:()=>kB,isTypeOnlyExportDeclaration:()=>Q2e,isTypeOnlyImportDeclaration:()=>PU,isTypeOnlyImportOrExportDeclaration:()=>p2,isTypeOperatorNode:()=>P7,isTypeParameterDeclaration:()=>Bl,isTypePredicateNode:()=>iY,isTypeQueryNode:()=>vB,isTypeReferenceNode:()=>Y4,isTypeReferenceType:()=>KU,isTypeUsableAsPropertyName:()=>q4,isUMDExportSymbol:()=>Kq,isUnaryExpression:()=>Xse,isUnaryExpressionWithWrite:()=>abe,isUnicodeIdentifierStart:()=>vU,isUnionTypeNode:()=>Lv,isUnparsedNode:()=>Wse,isUnparsedPrepend:()=>hFe,isUnparsedSource:()=>Ck,isUnparsedTextLike:()=>Z2e,isUrl:()=>_2e,isValidBigIntString:()=>sZ,isValidESSymbolDeclaration:()=>Gbe,isValidTypeOnlyAliasUseSite:()=>Bv,isValueSignatureDeclaration:()=>sye,isVarAwaitUsing:()=>oj,isVarConst:()=>V8,isVarUsing:()=>sj,isVariableDeclaration:()=>ra,isVariableDeclarationInVariableStatement:()=>UN,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>b2,isVariableDeclarationInitializedToRequire:()=>Eq,isVariableDeclarationList:()=>Fd,isVariableLike:()=>K8,isVariableLikeOrAccessor:()=>Kbe,isVariableStatement:()=>Gl,isVoidExpression:()=>z7,isWatchSet:()=>tYe,isWhileStatement:()=>GYe,isWhiteSpaceLike:()=>$3,isWhiteSpaceSingleLine:()=>Ug,isWithStatement:()=>sFe,isWriteAccess:()=>E7,isWriteOnlyAccess:()=>Hq,isYieldExpression:()=>aY,jsxModeNeedsExplicitImport:()=>Afe,keywordPart:()=>Vf,last:()=>Cr,lastOrUndefined:()=>Zu,length:()=>S,libMap:()=>SY,libs:()=>qV,lineBreakPart:()=>ow,linkNamePart:()=>gSe,linkPart:()=>hfe,linkTextPart:()=>vX,listFiles:()=>U1e,loadModuleFromGlobalCache:()=>bAe,loadWithModeAwareCache:()=>xH,makeIdentifierFromModuleName:()=>wbe,makeImport:()=>p5,makeImportIfNecessary:()=>lSe,makeStringLiteral:()=>t9,mangleScopedPackageName:()=>WB,map:()=>Kt,mapAllOrFail:()=>to,mapDefined:()=>Si,mapDefinedEntries:()=>P0,mapDefinedIterator:()=>_o,mapEntries:()=>Li,mapIterator:()=>jr,mapOneOrMany:()=>yfe,mapToDisplayParts:()=>qx,matchFiles:()=>Fle,matchPatternOrExact:()=>Sle,matchedText:()=>XCe,matchesExclude:()=>AY,maybeBind:()=>To,maybeSetLocalizedDiagnosticMessages:()=>Xye,memoize:()=>Nh,memoizeCached:()=>JCe,memoizeOne:()=>VE,memoizeWeak:()=>cqe,metadataHelper:()=>FZ,min:()=>aoe,minAndMax:()=>hke,missingFileModifiedTime:()=>H_,modifierToFlag:()=>g7,modifiersToFlags:()=>eE,moduleOptionDeclaration:()=>lde,moduleResolutionIsEqualTo:()=>bbe,moduleResolutionNameAndModeGetter:()=>CH,moduleResolutionOptionDeclarations:()=>BY,moduleResolutionSupportsPackageJsonExportsAndImports:()=>v7,moduleResolutionUsesNodeModules:()=>mX,moduleSpecifiers:()=>$2,moveEmitHelpers:()=>jke,moveRangeEnd:()=>jq,moveRangePastDecorators:()=>a5,moveRangePastModifiers:()=>tE,moveRangePos:()=>Fv,moveSyntheticComments:()=>Ike,mutateMap:()=>sB,mutateMapSkippingNewValues:()=>X3,needsParentheses:()=>bX,needsScopeMarker:()=>IU,newCaseClauseTracker:()=>IX,newPrivateEnvironment:()=>$Ae,noEmitNotification:()=>hH,noEmitSubstitution:()=>DM,noTransformers:()=>l1e,noTruncationMaximumTruncationLength:()=>pZ,nodeCanBeDecorated:()=>hq,nodeHasName:()=>RO,nodeIsDecorated:()=>ZN,nodeIsMissing:()=>Yl,nodeIsPresent:()=>j4,nodeIsSynthesized:()=>sl,nodeModuleNameResolver:()=>pAe,nodeModulesPathPart:()=>a_,nodeNextJsonConfigResolver:()=>gAe,nodeOrChildIsDecorated:()=>mj,nodeOverlapsWithStartEnd:()=>tX,nodePosToString:()=>bZe,nodeSeenTracker:()=>e9,nodeStartsNewLexicalEnvironment:()=>$0e,nodeToDisplayParts:()=>Sit,noop:()=>zs,noopFileWatcher:()=>XB,normalizePath:()=>Jo,normalizeSlashes:()=>U1,not:()=>q$,notImplemented:()=>so,notImplementedResolver:()=>pQ,nullNodeConverters:()=>ece,nullParenthesizerRules:()=>Xle,nullTransformationContext:()=>Eg,objectAllocator:()=>Yd,operatorPart:()=>zM,optionDeclarations:()=>r3,optionMapToObject:()=>nde,optionsAffectingProgramStructure:()=>mde,optionsForBuild:()=>gde,optionsForWatch:()=>OB,optionsHaveChanges:()=>z8,optionsHaveModuleResolutionChanges:()=>xbe,or:()=>lg,orderedRemoveItem:()=>mO,orderedRemoveItemAt:()=>dv,outFile:()=>b0,packageIdToPackageName:()=>JU,packageIdToString:()=>Nx,paramHelper:()=>AZ,parameterIsThisKeyword:()=>B2,parameterNamePart:()=>hSe,parseBaseNodeFactory:()=>qce,parseBigInt:()=>fke,parseBuildCommand:()=>KQe,parseCommandLine:()=>VQe,parseCommandLineWorker:()=>Qce,parseConfigFileTextToJson:()=>ede,parseConfigFileWithSystem:()=>Stt,parseConfigHostFromCompilerHostLike:()=>FQ,parseCustomTypeOption:()=>kY,parseIsolatedEntityName:()=>K7,parseIsolatedJSDocComment:()=>HFe,parseJSDocTypeExpressionForTests:()=>SQe,parseJsonConfigFileContent:()=>nXe,parseJsonSourceFileConfigFileContent:()=>JV,parseJsonText:()=>HV,parseListTypeOption:()=>WFe,parseNodeFactory:()=>r_,parseNodeModuleFromPath:()=>iH,parsePackageName:()=>rH,parsePseudoBigInt:()=>AP,parseValidBigInt:()=>Lle,patchWriteFileEnsuringDirectory:()=>g2e,pathContainsNodeModules:()=>$7,pathIsAbsolute:()=>AN,pathIsBareSpecifier:()=>yse,pathIsRelative:()=>am,patternText:()=>QCe,perfLogger:()=>dh,performIncrementalCompilation:()=>Ltt,performance:()=>c2e,plainJSErrors:()=>BQ,positionBelongsToNode:()=>Khe,positionIsASICandidate:()=>AX,positionIsSynthesized:()=>fg,positionsAreOnSameLine:()=>$4,preProcessFile:()=>tnt,probablyUsesSemicolons:()=>qH,processCommentPragmas:()=>$ce,processPragmasIntoFields:()=>Uce,processTaggedTemplateExpression:()=>t1e,programContainsEsModules:()=>sSe,programContainsModules:()=>oSe,projectReferenceIsEqualTo:()=>r0e,propKeyHelper:()=>jZ,propertyNamePart:()=>fSe,pseudoBigIntToString:()=>P2,punctuationPart:()=>th,pushIfUnique:()=>xa,quote:()=>OM,quotePreferenceFromString:()=>rfe,rangeContainsPosition:()=>NH,rangeContainsPositionExclusive:()=>PH,rangeContainsRange:()=>jm,rangeContainsRangeExclusive:()=>$9e,rangeContainsStartEnd:()=>MH,rangeEndIsOnSameLineAsRangeStart:()=>$j,rangeEndPositionsAreOnSameLine:()=>Oye,rangeEquals:()=>Ii,rangeIsOnSingleLine:()=>ck,rangeOfNode:()=>wle,rangeOfTypeParameters:()=>Tle,rangeOverlapsWithStartEnd:()=>wM,rangeStartIsOnSameLineAsRangeEnd:()=>jye,rangeStartPositionsAreOnSameLine:()=>Vq,readBuilderProgram:()=>VQ,readConfigFile:()=>WV,readHelper:()=>RZ,readJson:()=>gP,readJsonConfigFile:()=>$Fe,readJsonOrUndefined:()=>dle,reduceEachLeadingCommentRange:()=>b2e,reduceEachTrailingCommentRange:()=>y2e,reduceLeft:()=>tn,reduceLeftIterator:()=>ue,reducePathComponents:()=>Wy,refactor:()=>u9,regExpEscape:()=>lYe,relativeComplement:()=>na,removeAllComments:()=>pV,removeEmitHelper:()=>OYe,removeExtension:()=>tV,removeFileExtension:()=>Eh,removeIgnoredPath:()=>LQ,removeMinAndVersionNumbers:()=>ooe,removeOptionality:()=>eSe,removePrefix:()=>bN,removeSuffix:()=>E8,removeTrailingDirectorySeparator:()=>hv,repeatString:()=>VH,replaceElement:()=>Ud,resolutionExtensionIsTSOrJson:()=>kP,resolveConfigFileProjectName:()=>rhe,resolveJSModule:()=>fAe,resolveLibrary:()=>OY,resolveModuleName:()=>HB,resolveModuleNameFromCache:()=>jXe,resolvePackageNameToPackageJson:()=>Dde,resolvePath:()=>yx,resolveProjectReferencePath:()=>qB,resolveTripleslashReference:()=>DQ,resolveTypeReferenceDirective:()=>cAe,resolvingEmptyArray:()=>mZ,restHelper:()=>PZ,returnFalse:()=>sg,returnNoopFileWatcher:()=>ew,returnTrue:()=>G3,returnUndefined:()=>cv,returnsPromise:()=>Jfe,runInitializersHelper:()=>BZ,sameFlatMap:()=>mr,sameMap:()=>Pu,sameMapping:()=>wet,scanShebangTrivia:()=>Bse,scanTokenAtPosition:()=>jbe,scanner:()=>ih,screenStartingMessageCodes:()=>jQ,semanticDiagnosticsOptionDeclarations:()=>dde,serializeCompilerOptions:()=>rde,server:()=>qct,servicesVersion:()=>eBe,setCommentRange:()=>Sc,setConfigFileInOptions:()=>ode,setConstantValue:()=>Oke,setEachParent:()=>fB,setEmitFlags:()=>Yn,setFunctionNameHelper:()=>VZ,setGetSourceFileAsHashVersioned:()=>OQ,setIdentifierAutoGenerate:()=>_V,setIdentifierGeneratedImportReference:()=>Kke,setIdentifierTypeArguments:()=>s5,setInternalEmitFlags:()=>gV,setLocalizedDiagnosticMessages:()=>Qye,setModuleDefaultHelper:()=>WZ,setNodeFlags:()=>gke,setObjectAllocator:()=>Yye,setOriginalNode:()=>su,setParent:()=>ys,setParentRecursive:()=>jx,setPrivateIdentifier:()=>Ak,setSnippetElement:()=>sce,setSourceMapRange:()=>Fs,setStackTraceLimit:()=>Tqe,setStartsOnNewLine:()=>CZ,setSyntheticLeadingComments:()=>Tv,setSyntheticTrailingComments:()=>k7,setSys:()=>zqe,setSysLog:()=>m2e,setTextRange:()=>Pt,setTextRangeEnd:()=>hB,setTextRangePos:()=>SP,setTextRangePosEnd:()=>e_,setTextRangePosWidth:()=>BP,setTokenSourceMapRange:()=>zke,setTypeNode:()=>Vke,setUILocale:()=>qCe,setValueDeclaration:()=>yj,shouldAllowImportingTsExtension:()=>GB,shouldPreserveConstEnums:()=>dk,shouldResolveJsRequire:()=>Zq,shouldUseUriStyleNodeCoreModules:()=>MX,showModuleSpecifier:()=>Gye,signatureHasLiteralTypes:()=>Rde,signatureHasRestParameter:()=>eh,signatureToDisplayParts:()=>ffe,single:()=>Cd,singleElementArray:()=>jy,singleIterator:()=>bo,singleOrMany:()=>F0,singleOrUndefined:()=>Fa,skipAlias:()=>Q1,skipAssertions:()=>aQe,skipConstraint:()=>ife,skipOuterExpressions:()=>_c,skipParentheses:()=>s0,skipPartiallyEmittedExpressions:()=>wp,skipTrivia:()=>ps,skipTypeChecking:()=>FP,skipTypeParentheses:()=>O0e,skipWhile:()=>t2e,sliceAfter:()=>Ble,some:()=>Ge,sort:()=>Lh,sortAndDeduplicate:()=>mi,sortAndDeduplicateDiagnostics:()=>k8,sourceFileAffectingCompilerOptions:()=>wY,sourceFileMayBeEmitted:()=>f7,sourceMapCommentRegExp:()=>XY,sourceMapCommentRegExpDontCareLineStart:()=>Gde,spacePart:()=>Jl,spanMap:()=>qo,spreadArrayHelper:()=>OZ,stableSort:()=>ac,startEndContainsRange:()=>Hhe,startEndOverlapsWithStartEnd:()=>iX,startOnNewLine:()=>xh,startTracing:()=>d2e,startsWith:()=>La,startsWithDirectory:()=>Fse,startsWithUnderscore:()=>Ffe,startsWithUseStrict:()=>kFe,stringContainsAt:()=>NSe,stringToToken:()=>c2,stripQuotes:()=>G4,supportedDeclarationExtensions:()=>lV,supportedJSExtensions:()=>Zle,supportedJSExtensionsFlat:()=>gB,supportedLocaleDirectories:()=>u0e,supportedTSExtensions:()=>pB,supportedTSExtensionsFlat:()=>qle,supportedTSImplementationExtensions:()=>cV,suppressLeadingAndTrailingTrivia:()=>Hf,suppressLeadingTrivia:()=>gfe,suppressTrailingTrivia:()=>CSe,symbolEscapedNameNoDefault:()=>gX,symbolName:()=>sc,symbolNameNoDefault:()=>pX,symbolPart:()=>dSe,symbolToDisplayParts:()=>IM,syntaxMayBeASICandidate:()=>Lfe,syntaxRequiresTrailingSemicolonOrASI:()=>FX,sys:()=>l1,sysLog:()=>vO,tagNamesAreEquivalent:()=>Ov,takeWhile:()=>Y$,targetOptionDeclaration:()=>YV,templateObjectHelper:()=>IZ,testFormatSettings:()=>j9e,textChangeRangeIsUnchanged:()=>T2e,textChangeRangeNewSpan:()=>PN,textChanges:()=>iu,textOrKeywordPart:()=>dfe,textPart:()=>Hm,textRangeContainsPositionInclusive:()=>MO,textSpanContainsPosition:()=>Lse,textSpanContainsTextSpan:()=>A2e,textSpanEnd:()=>gc,textSpanIntersection:()=>w2e,textSpanIntersectsWith:()=>FU,textSpanIntersectsWithPosition:()=>B2e,textSpanIntersectsWithTextSpan:()=>nZe,textSpanIsEmpty:()=>F2e,textSpanOverlap:()=>S2e,textSpanOverlapsWith:()=>iZe,textSpansEqual:()=>aw,textToKeywordObj:()=>NO,timestamp:()=>H0,toArray:()=>qA,toBuilderFileEmit:()=>Z7e,toBuilderStateFileInfoForMultiEmit:()=>q7e,toEditorSettings:()=>mK,toFileNameLowerCase:()=>Jg,toLowerCase:()=>GCe,toPath:()=>K0,toProgramEmitPending:()=>Y7e,tokenIsIdentifierOrKeyword:()=>hh,tokenIsIdentifierOrKeywordOrGreaterThan:()=>v2e,tokenToString:()=>$o,trace:()=>Aa,tracing:()=>Jn,tracingEnabled:()=>EO,transform:()=>ert,transformClassFields:()=>n7e,transformDeclarations:()=>o1e,transformECMAScriptModule:()=>r1e,transformES2015:()=>_7e,transformES2016:()=>E7e,transformES2017:()=>o7e,transformES2018:()=>s7e,transformES2019:()=>l7e,transformES2020:()=>c7e,transformES2021:()=>d7e,transformES5:()=>D7e,transformESDecorators:()=>a7e,transformESNext:()=>h7e,transformGenerators:()=>x7e,transformJsx:()=>g7e,transformLegacyDecorators:()=>r7e,transformModule:()=>u1e,transformNamedEvaluation:()=>jf,transformNodeModule:()=>C7e,transformNodes:()=>fH,transformSystemModule:()=>v7e,transformTypeScript:()=>i7e,transpile:()=>lnt,transpileModule:()=>QSe,transpileOptionValueCompilerOptions:()=>pde,tryAddToSet:()=>k0,tryAndIgnoreErrors:()=>wX,tryCast:()=>rr,tryDirectoryExists:()=>BX,tryExtractTSExtension:()=>Oq,tryFileExists:()=>ZH,tryGetClassExtendingExpressionWithTypeArguments:()=>ole,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>sle,tryGetDirectories:()=>SX,tryGetExtensionFromPath:()=>e3,tryGetImportFromModuleSpecifier:()=>kj,tryGetJSDocSatisfiesTypeNode:()=>hZ,tryGetModuleNameFromFile:()=>MV,tryGetModuleSpecifierFromDeclaration:()=>U8,tryGetNativePerformanceHooks:()=>o2e,tryGetPropertyAccessOrIdentifierToString:()=>Jj,tryGetPropertyNameOfBindingOrAssignmentElement:()=>xY,tryGetSourceMappingURL:()=>OAe,tryGetTextOfPropertyName:()=>$N,tryIOAndConsumeErrors:()=>TX,tryParsePattern:()=>dB,tryParsePatterns:()=>rZ,tryParseRawSourceMap:()=>Kde,tryReadDirectory:()=>Dfe,tryReadFile:()=>uM,tryRemoveDirectoryPrefix:()=>ble,tryRemoveExtension:()=>dke,tryRemovePrefix:()=>coe,tryRemoveSuffix:()=>YCe,typeAcquisitionDeclarations:()=>QV,typeAliasNamePart:()=>mSe,typeDirectiveIsEqualTo:()=>ybe,typeKeywords:()=>RX,typeParameterNamePart:()=>pSe,typeReferenceResolutionNameAndModeGetter:()=>SQ,typeToDisplayParts:()=>GH,unchangedPollThresholds:()=>CO,unchangedTextChangeRange:()=>XO,unescapeLeadingUnderscores:()=>Qr,unmangleScopedPackageName:()=>oH,unorderedRemoveItem:()=>Oy,unorderedRemoveItemAt:()=>soe,unreachableCodeIsError:()=>ike,unusedLabelIsError:()=>nke,unwrapInnermostStatementOfLabel:()=>F0e,updateErrorForNoInputFiles:()=>FY,updateLanguageServiceSourceFile:()=>Bme,updateMissingFilePathsWatch:()=>p1e,updatePackageJsonWatch:()=>ttt,updateResolutionField:()=>jB,updateSharedExtendedConfigFileWatcher:()=>EQ,updateSourceFile:()=>Jce,updateWatchingWildcardDirectories:()=>gH,usesExtensionsOnImports:()=>lke,usingSingleLineStringWriter:()=>WN,utf16EncodeAsString:()=>y8,validateLocaleAndSetLanguage:()=>rZe,valuesHelper:()=>HZ,version:()=>_,versionMajorMinor:()=>g,visitArray:()=>lH,visitCommaListElements:()=>cH,visitEachChild:()=>un,visitFunctionBody:()=>Rm,visitIterationBody:()=>Mh,visitLexicalEnvironment:()=>QY,visitNode:()=>yt,visitNodes:()=>kn,visitParameterList:()=>Dc,walkUpBindingElementsAndPatterns:()=>F8,walkUpLexicalEnvironments:()=>JAe,walkUpOuterExpressions:()=>FFe,walkUpParenthesizedExpressions:()=>t5,walkUpParenthesizedTypes:()=>wj,walkUpParenthesizedTypesAndGetParentAndChild:()=>lye,whitespaceOrMapCommentRegExp:()=>eQ,writeCommentRange:()=>aB,writeFile:()=>lP,writeFileEnsuringDirectories:()=>ile,zipWith:()=>re});var Yct=o({"src/typescript/_namespaces/ts.ts"(){So(),AH(),ar(),Yv(),aXt()}}),oXt=c({"src/typescript/typescript.ts"(t,u){Yct(),Yct(),typeof console<"u"&&(H.loggingHost={log(s,d){switch(s){case 1:return console.error(d);case 2:return console.warn(d);case 3:return console.log(d);case 4:return console.log(d)}}}),u.exports=Zct}});return oXt()})();r.exports&&(r.exports=i)})(I6t);var yhi=I6t.exports;const qpt=xhi(yhi);class vGe{constructor(e,i){Rc(this,"id");Rc(this,"name");Rc(this,"columns",[]);Rc(this,"settings");this.name=e,this.settings=i}loadFromObj(e){this.name=e.name,this.settings=e.settings,this.columns=e.columns.map(i=>this.prepareColumn(i)),this.processMiddlewareHandlers()}toObj(){return{name:this.name,columns:this.columns,settings:this.settings}}removeColumn(e){this.columns.splice(this.columns.findIndex(i=>i.id===e),1)}prepareColumn(e){let i=qpt.transpile("return "+e.handlerTsCode);return e.handler=new Function(i)(),e}processMiddlewareHandlers(){this.settings.middlewares=this.settings.middlewares.map(e=>{let i=qpt.transpile("return "+e.handlerTsCode);return e.handler=new Function(i)(),e})}swapElement(e,i){var n=this.columns[e];this.columns[e]=this.columns[i],this.columns[i]=n}move(e,i){let n=this.columns.findIndex(o=>o.id===e),a=i>0?n+1:n-1;this.swapElement(n,a)}add(e){e.idx=this.columns.length===0?0:this.columns.length,e.id=Math.random().toString().substring(2,8),e.width=e.width||150,e.handlerTsCode&&(e=this.prepareColumn(e)),this.columns.push(e)}update(e){e=this.prepareColumn(e);let i=this.columns.findIndex(n=>n.id===e.id);this.columns[i]=e}getColumn(e){return this.columns.find(i=>i.id===e)}}const Zpt=()=>({read:0,starred:0,unread:0}),KT=z6t("filter",()=>{const r=Gs({read:!1,unread:!1,starred:!1}),e=Gs({...Zpt()}),i=(h,g)=>{e.value[h]||(e.value[h]=0),e.value[h]+=g},n=h=>{r.value[h]=!r.value[h]},a=()=>{e.value={...Zpt()}},o=()=>{for(let h in r.value)r.value[h]=!1},c=gy(()=>Object.entries(r.value).filter(([g,_])=>_).map(g=>g[0]));return{filters:e,filterToggle:r,enabledFilters:c,reset:a,resetToggles:o,changeFilter:i,toggleFilter:n}});class khi{constructor(){Rc(this,"headers",{});Rc(this,"onRequestStart",null);Rc(this,"onRequestEnd",null)}setHeader(e,i){this.headers[e]=i}setAuthToken(e){e&&this.setHeader("logdy-client-id",e)}async sendGet(e){let i={};this.onRequestStart&&(i=this.onRequestStart()||{});let n=await fetch(window.location.pathname+"api/"+e,{method:"GET",headers:{...this.headers,...i}});return this.onRequestEnd&&this.onRequestEnd(),{status:n.status,headers:n.headers,json:n.headers.get("content-type")=="application/json"?await n.json():{},body:n.bodyUsed?"":await n.text()}}async sendPost(e,i){let n={};this.onRequestStart&&(n=this.onRequestStart()||{});let a=await fetch("api/"+e,{method:"POST",body:i?JSON.stringify(i):null,headers:{"Content-Type":"application/json",...this.headers,...n}});return this.onRequestEnd&&this.onRequestEnd(),{status:a.status,headers:a.headers,json:a.headers.get("content-type")=="application/json"?await a.json():{},body:a.bodyUsed?"":await a.text()}}async resume(){await this.sendGet("client/set-status?status=following")}async resumeFromCursor(){await this.sendGet("client/set-status?status=following&from_cursor=true")}async pause(){await this.sendGet("client/set-status?status=stopped")}async clientStatus(){return this.sendGet("client/check-status")}async peek(e,i){return this.sendPost("client/peek-log",{idxs:[e,i]})}async load(e,i){return this.sendGet(`client/load?start=${e+1}&count=${i}`)}}const GS=new khi;function TI(r){return r.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}function Fhi(r,e){return new URLSearchParams(r).get(e)}const Zh=z6t("main",()=>{const r=Gs(document.location.host.indexOf("demo.logdy.dev")>=0||!!Fhi(document.location.search,"demo_mode")),e=Gs("started"),i=Gs("json"),n=Gs(""),a=Gs(!1),o=Gs("not connected"),c=Gs("paused"),h=Gs({LastDeliveredIdx:0,MessageCount:0,MessagesToTail:0}),g=Gs(!1),_=Gs(""),x=Gs(""),y=Gs(!1),S=Gs([]),L=Gs({}),R=Gs({}),G=Gs(""),ie=Gs(!1),ue=Gs(""),re=Gs({}),_e=Gs(),ye=Gs({}),Le=Gs(new vGe("main",{leftColWidth:300,drawerColWidth:900,maxMessages:1e3,middlewares:[]}));let st=null;const Ue=(Si,_o=!0)=>{x.value=Si,_o&&Gpt.add({password:Si},"main")},Ye=()=>{var Si;return x.value||(x.value=((Si=Gpt.getOne("main"))==null?void 0:Si.password)||""),x.value},rt=(Si,_o)=>{n.value=Si,a.value=!0,st=_o},Ft=async Si=>{Si&&st&&await st(),st=null,n.value="",a.value=!1},Zt=(Si,_o=0)=>{if(Ot(),_o!==0){for(let P0=0;P0<=to.value.length;P0++)if(to.value[P0].id===Si.id){Si=to.value[P0+_o];break}}Si&&(Si.opened||(KT().changeFilter("read",1),KT().changeFilter("unread",-1)),Si.open=!0,Si.opened=!0,ye.value.row=Si,UT.update(Si.id,{id:Si.id,message:Si.msg,opened:!0,starred:Si.starred}))},Ot=()=>{ye.value.row&&(ye.value.row.open=!1,ye.value.row.opened=!0,ye.value.row=void 0)},ui=Si=>{Si.starred=!Si.starred,KT().changeFilter("starred",Si.starred?1:-1),UT.update(Si.id,{id:Si.id,message:Si.msg,opened:Si.opened,starred:Si.starred})},ei=new BroadcastChannel("tab-activity");setInterval(()=>{ei.postMessage("ping")},5*1e3),ei.addEventListener("message",Si=>{Si.data==="ping"&&ei.postMessage("pong"),g.value||rt("We have detected Logdy opened in another tab. Currently we do not support multiple tabs",()=>{g.value=!1}),g.value=!0});const qu=gy(()=>c.value==="paused"?`Paused at entry #${TI(h.value.LastDeliveredIdx+1)} out of ${TI(h.value.MessageCount)} (${TI(h.value.MessageCount-h.value.LastDeliveredIdx-1)} not seen)`:c.value.includes("following")?`Following real-time out of ${TI(h==null?void 0:h.value.MessageCount)} entries`:"-"),mu=Si=>{Si.correlation_id&&(ue.value=Si.correlation_id,Kt())},Kt=()=>{if(!ue.value||to.value.length===0)return;let Si={},_o=to.value[0].msg.timing&&to.value[0].msg.timing.start||0,P0=1;to.value.forEach(tl=>{var k0,bo,qo;tl.msg.timing&&(Si[tl.id]={id:tl.id,offset:(tl.msg.timing.start-_o)/P0,width:(((k0=tl.msg.timing)==null?void 0:k0.duration)||1)/P0,label:(bo=tl.msg.timing)==null?void 0:bo.label,style:((qo=tl.msg.timing)==null?void 0:qo.style)||{}})}),re.value=Si},jr=()=>{KT().resetToggles(),Vn()},Pu=()=>{ue.value=""},Oa=async Si=>{switch(Si){case"following":await GS.resume(),c.value="following";break;case"following_cursor":await GS.resumeFromCursor(),c.value="following_cursor";break;case"paused":await GS.pause(),c.value="paused";break}},Ku=()=>{S.value=[],R.value={},L.value={},KT().reset(),UT.removeAll()},Pr=()=>{L.value={}},Vn=()=>{for(let Si in R.value){let _o=R.value[Si];for(let P0 in _o.items)R.value[_o.name].items[P0].selected=!1}},mr=gy(()=>{try{return new RegExp(G.value,"i"),""}catch(Si){return Si.message}}),to=gy(()=>{if(mr.value.length>0)return[];const Si={};for(let qo in R.value)R.value[qo].items.forEach(Li=>{Li.selected&&(Si[qo]||(Si[qo]=[]),Si[qo].push(Li.label))});let _o=KT().enabledFilters,P0=_o.filter(qo=>qo.startsWith("origin_file_")).length>0,tl=_o.filter(qo=>qo.startsWith("origin_port_")).length>0,k0=_o.filter(qo=>qo.startsWith("origin_na")).length>0,bo=_o.filter(qo=>qo.startsWith("origin_")).length>0;return S.value.filter(qo=>{var an,Ir,Yr,eo,Mi,li;if(ue.value&&ue.value!=qo.msg.correlation_id)return!1;let Li=!0;if(_o.length>0){if(_o.includes("starred")&&!qo.starred||_o.includes("read")&&!qo.opened||_o.includes("unread")&&qo.opened)return!1;bo&&(P0&&((an=qo.msg.origin)!=null&&an.file)&&_o.includes("origin_file_"+((Ir=qo.msg.origin)==null?void 0:Ir.file))||tl&&((Yr=qo.msg.origin)!=null&&Yr.port)&&_o.includes("origin_port_"+((eo=qo.msg.origin)==null?void 0:eo.port))||k0&&!((Mi=qo.msg.origin)!=null&&Mi.file)&&!((li=qo.msg.origin)!=null&&li.port)&&_o.includes("origin_na")?Li=!0:Li=!1)}if(!Li)return Li;if(Object.keys(Si).length===0)return!0;let Ge={...Si},Tu=Object.keys(Ge).length;return qo.facets.forEach(di=>{Ge[di.name]&&Ge[di.name].includes(di.value)&&Tu--}),Tu===0}).filter(qo=>G.value.length<3?!0:(qo.msg.content||"").search(new RegExp(G.value,"i"))>=0)});return{confirm:rt,confirmShow:a,confirmMsg:n,confirmProcess:Ft,demoMode:r,demoStatus:e,demoContent:i,status:o,statusStr:qu,receiveStatus:c,receiveCounters:h,changeReceiveStatus:Oa,initSettings:_e,anotherTab:g,modalShow:_,setPassword:Ue,getPassword:Ye,stickedToBottom:y,clearAllRows:Ku,resetAllFiltersAndFacets:jr,filterCorrelated:mu,correlationFilter:ue,resetCorrelationFilter:Pu,tracesRows:re,refeshFilterCorrelated:Kt,settingsDrawer:ie,drawer:ye,openLogDrawer:Zt,closeLogDrawer:Ot,layout:Le,rows:S,rowsIds:L,clearRowIds:Pr,displayRows:to,facets:R,searchbar:G,searchbarValid:mr,toggleRowMark:ui}}),Ypt=()=>{var r;(r=document.getElementById("app"))==null||r.classList.add("noselect"),document.addEventListener("mousemove",W6t)},Qpt=()=>{var r;(r=document.getElementById("app"))==null||r.classList.add("noselect"),document.addEventListener("mousemove",G6t)},Ahi=r=>{var i;(i=document.getElementById("app"))==null||i.classList.add("noselect");const e=new AbortController;document.addEventListener("mousemove",n=>{Shi(r,n)},{signal:e.signal}),document.addEventListener("mouseup",()=>{e.abort(),_I.update("main",Zh().layout)},{once:!0})},Xpt=()=>{var r;(r=document.getElementById("app"))==null||r.classList.remove("noselect"),document.removeEventListener("mousemove",W6t),document.removeEventListener("mousemove",G6t),_I.update("main",Zh().layout)},Shi=(r,e)=>{let i=Zh().layout.getColumn(r);if(i.width||(i.width=150),i.width+=e.movementX,i.width<=40){i.width=40;return}Zh().layout.update(i)},W6t=r=>{Zh().layout.settings.leftColWidth+=r.movementX},G6t=r=>{Zh().layout.settings.drawerColWidth-=r.movementX};var JDe={d:(r,e)=>{for(var i in e)JDe.o(e,i)&&!JDe.o(r,i)&&Object.defineProperty(r,i,{enumerable:!0,get:e[i]})},o:(r,e)=>Object.prototype.hasOwnProperty.call(r,e)},J6t={};function XOe(r,e){(e==null||e>r.length)&&(e=r.length);for(var i=0,n=new Array(e);iNhi});const D0=(egt={computed:()=>gy,createTextVNode:()=>X0,createVNode:()=>Q0,defineComponent:()=>rg,reactive:()=>rae,ref:()=>Gs,watch:()=>EL,watchEffect:()=>kdi},oIe={},JDe.d(oIe,egt),oIe),Bhi=(0,D0.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var r=this.data,e=this.onClick;return(0,D0.createVNode)("span",{class:"vjs-tree-brackets",onClick:e},[r])}}),whi=(0,D0.defineComponent)({emits:["change","update:modelValue"],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(r,e){var i=e.emit;return{uiType:(0,D0.computed)(function(){return r.isMultiple?"checkbox":"radio"}),model:(0,D0.computed)({get:function(){return r.checked},set:function(n){return i("update:modelValue",n)}})}},render:function(){var r=this.uiType,e=this.model,i=this.$emit;return(0,D0.createVNode)("label",{class:["vjs-check-controller",e?"is-checked":""],onClick:function(n){return n.stopPropagation()}},[(0,D0.createVNode)("span",{class:"vjs-check-controller-inner is-".concat(r)},null),(0,D0.createVNode)("input",{checked:e,class:"vjs-check-controller-original is-".concat(r),type:r,onChange:function(){return i("change",e)}},null)])}}),Thi=(0,D0.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var r=this.nodeType,e=this.onClick,i=r==="objectStart"||r==="arrayStart";return i||r==="objectCollapsed"||r==="arrayCollapsed"?(0,D0.createVNode)("span",{class:"vjs-carets vjs-carets-".concat(i?"open":"close"),onClick:e},[(0,D0.createVNode)("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[(0,D0.createVNode)("path",{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"},null)])]):null}});var egt,oIe;function eje(r){return eje=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eje(r)}function U6t(r){return Object.prototype.toString.call(r).slice(8,-1).toLowerCase()}function lI(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=arguments.length>3?arguments[3]:void 0,a=n||{},o=a.key,c=a.index,h=a.type,g=h===void 0?"content":h,_=a.showComma,x=_!==void 0&&_,y=a.length,S=y===void 0?1:y,L=U6t(r);if(L==="array"){var R=tgt(r.map(function(ue,re,_e){return lI(ue,"".concat(e,"[").concat(re,"]"),i+1,{index:re,showComma:re!==_e.length-1,length:S,type:g})}));return[lI("[",e,i,{showComma:!1,key:o,length:r.length,type:"arrayStart"})[0]].concat(R,lI("]",e,i,{showComma:x,length:r.length,type:"arrayEnd"})[0])}if(L==="object"){var G=Object.keys(r),ie=tgt(G.map(function(ue,re,_e){return lI(r[ue],/^[a-zA-Z_]\w*$/.test(ue)?"".concat(e,".").concat(ue):"".concat(e,'["').concat(ue,'"]'),i+1,{key:ue,showComma:re!==_e.length-1,length:S,type:g})}));return[lI("{",e,i,{showComma:!1,key:o,index:c,length:G.length,type:"objectStart"})[0]].concat(ie,lI("}",e,i,{showComma:x,length:G.length,type:"objectEnd"})[0])}return[{content:r,level:i,key:o,index:c,path:e,showComma:x,length:S,type:g}]}function tgt(r){if(typeof Array.prototype.flat=="function")return r.flat();for(var e=$De(r),i=[];e.length;){var n=e.shift();Array.isArray(n)?e.unshift.apply(e,$De(n)):i.push(n)}return i}function tje(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(r==null)return r;if(r instanceof Date)return new Date(r);if(r instanceof RegExp)return new RegExp(r);if(eje(r)!=="object")return r;if(e.get(r))return e.get(r);if(Array.isArray(r)){var i=r.map(function(o){return tje(o,e)});return e.set(r,i),i}var n={};for(var a in r)n[a]=tje(r[a],e);return e.set(r,n),n}function igt(r,e){var i=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),i.push.apply(i,n)}return i}function ngt(r){for(var e=1;e=_e||st.length>=ye,rt=(Ue=r.pathCollapsible)===null||Ue===void 0?void 0:Ue.call(r,st);return st.type!=="objectStart"&&st.type!=="arrayStart"||!Ye&&!rt?Le:N6(N6({},Le),{},UDe({},st.path,1))},{})},h=(0,D0.reactive)({translateY:0,visibleData:null,hiddenPaths:c(r.deep,r.collapsedNodeLength)}),g=(0,D0.computed)(function(){for(var _e=null,ye=[],Le=o.value.length,st=0;st_e.length?_e.length-Le:Ue;Ye<0&&(Ye=0);var rt=Ye+Le;h.translateY=Ye*r.itemHeight,h.visibleData=_e.filter(function(Ft,Zt){return Zt>=Ye&&Zt(aae("data-v-91210c39"),r=r(),oae(),r),Phi={class:"inner-drawer"},Mhi={class:"header"},zhi={style:{"margin-right":"10px"}},Ihi=lae(()=>Di("kbd",null,"Esc",-1)),Rhi=["disabled"],Ohi=lae(()=>Di("hr",null,null,-1)),jhi=lae(()=>Di("h3",null,"Table columns",-1)),Vhi=["onClick"],Hhi={key:0},Khi={key:1},Whi=lae(()=>Di("h3",null,"Non-table fields",-1)),Ghi=["onClick"],Jhi={key:0},$hi={key:1},Uhi=lae(()=>Di("hr",null,null,-1)),qhi={key:0},Zhi={key:0},Yhi={key:1,class:"raw"},Qhi={key:2,class:"raw"},Xhi={key:3,class:"raw"},efi={key:4,class:"raw"},tfi={key:5,class:"raw"},ifi=rg({__name:"Drawer",props:{row:{},layout:{}},emits:["close"],setup(r){const e=Gs(!1),i=n=>{navigator.clipboard.writeText(n)};return(n,a)=>{var c,h,g,_,x,y,S,L;const o=c6e("tooltip");return n.row?(Ou(),yr("div",{key:0,class:"drawer",style:P3({width:Hu(Zh)().layout.settings.drawerColWidth+"px"})},[Di("div",{class:"resize-handle",onMousedown:a[0]||(a[0]=(...R)=>Hu(Qpt)&&Hu(Qpt)(...R))},null,32),Di("div",Phi,[Di("div",Mhi,[Di("div",zhi,[Q0(X1i),X0(" Next / "),Q0(rhi),X0(" Prev ")]),Di("button",{onClick:a[1]||(a[1]=R=>n.$emit("close"))},[X0("Close "),Ihi])]),Di("div",null,[Di("button",{onClick:a[2]||(a[2]=R=>Hu(Zh)().filterCorrelated(n.row.msg)),disabled:!n.row.msg.correlation_id}," Display correlated lines ",8,Rhi),Hu(Zh)().correlationFilter?(Ou(),yr("button",{key:0,onClick:a[3]||(a[3]=R=>Hu(Zh)().resetCorrelationFilter()),style:{"margin-left":"5px"}}," Reset correlation filter ")):Dl("",!0)]),Ohi,jhi,(Ou(!0),yr(gd,null,py((c=n.layout)==null?void 0:c.columns.filter(R=>!R.hidden),(R,G)=>(Ou(),yr("div",null,[Wd((Ou(),yr("h4",{style:{display:"inline"},onClick:ie=>i(n.row.cells[G].text)},[X0(Oc(R.name)+" ",1),Q0(xT,{class:Uh("clipboard")})],8,Vhi)),[[o,"Click to copy"]]),n.row.cells[G]&&!n.row.cells[G].isJson?(Ou(),yr("pre",Hhi,Oc(n.row.cells[G].text),1)):(Ou(),yr("pre",Khi,[Q0(Hu(nne),{theme:"dark",data:JSON.parse(n.row.cells[G].text)},null,8,["data"])]))]))),256)),Whi,(Ou(!0),yr(gd,null,py((h=n.layout)==null?void 0:h.columns.filter(R=>R.hidden),(R,G)=>(Ou(),yr("div",null,[Wd((Ou(),yr("h4",{style:{display:"inline"},onClick:ie=>i(n.row.fields[G].text)},[X0(Oc(R.name)+" ",1),Q0(xT,{class:Uh("clipboard")})],8,Ghi)),[[o,"Click to copy"]]),n.row.fields[G].isJson?(Ou(),yr("pre",$hi,[Q0(Hu(nne),{theme:"dark",data:n.row.fields[G].text},null,8,["data"])])):(Ou(),yr("pre",Jhi,Oc(n.row.fields[G].text),1))]))),256)),Uhi,Di("button",{onClick:a[4]||(a[4]=R=>e.value=!e.value)},"Show/hide raw message"),e.value?(Ou(),yr("div",qhi,[n.row.msg.is_json?(Ou(),yr("div",Zhi,[Wd((Ou(),yr("h4",{style:{display:"inline"},onClick:a[5]||(a[5]=R=>i(JSON.stringify(n.row.msg.json_content)))},[X0(" Raw message (JSON) "),Q0(xT,{class:Uh("clipboard")})])),[[o,"Click to copy"]]),Di("pre",null,[Q0(Hu(nne),{theme:"dark",data:n.row.msg.json_content},null,8,["data"])])])):Dl("",!0),n.row.msg.is_json?Dl("",!0):(Ou(),yr("div",Yhi,[Wd((Ou(),yr("h4",{style:{display:"inline"},onClick:a[6]||(a[6]=R=>i(n.row.msg.content))},[X0(" Raw message "),Q0(xT,{class:Uh("clipboard")})])),[[o,"Click to copy"]]),Di("pre",null,[Di("code",null,Oc(n.row.msg.content),1)])])),n.row.msg.timing?(Ou(),yr("div",Qhi,[Wd((Ou(),yr("h4",{style:{display:"inline"},onClick:a[7]||(a[7]=R=>i(JSON.stringify(n.row.msg.timing)))},[X0(" Timing "),Q0(xT,{class:Uh("clipboard")})])),[[o,"Click to copy"]]),Di("pre",null,[Q0(Hu(nne),{theme:"dark",data:n.row.msg.timing},null,8,["data"])])])):Dl("",!0),(g=n.row.msg.origin)!=null&&g.port?(Ou(),yr("div",Xhi,[Wd((Ou(),yr("h4",{style:{display:"inline"},onClick:a[8]||(a[8]=R=>{var G;return i((G=n.row.msg.origin)==null?void 0:G.port)})},[X0(" Origin port "),Q0(xT,{class:Uh("clipboard")})])),[[o,"Click to copy"]]),Di("pre",null,[Di("code",null,Oc((_=n.row.msg.origin)==null?void 0:_.port),1)])])):Dl("",!0),(x=n.row.msg.origin)!=null&&x.api_source?(Ou(),yr("div",efi,[Wd((Ou(),yr("h4",{style:{display:"inline"},onClick:a[9]||(a[9]=R=>{var G;return i((G=n.row.msg.origin)==null?void 0:G.api_source)})},[X0(" Origin API "),Q0(xT,{class:Uh("clipboard")})])),[[o,"Click to copy"]]),Di("pre",null,[Di("code",null,Oc((y=n.row.msg.origin)==null?void 0:y.api_source),1)])])):Dl("",!0),(S=n.row.msg.origin)!=null&&S.file?(Ou(),yr("div",tfi,[Wd((Ou(),yr("h4",{style:{display:"inline"},onClick:a[10]||(a[10]=R=>{var G;return i((G=n.row.msg.origin)==null?void 0:G.file)})},[X0(" Origin filename "),Q0(xT,{class:Uh("clipboard")})])),[[o,"Click to copy"]]),Di("pre",null,[Di("code",null,Oc((L=n.row.msg.origin)==null?void 0:L.file),1)])])):Dl("",!0)])):Dl("",!0)])],4)):Dl("",!0)}}}),nfi=ag(ifi,[["__scopeId","data-v-91210c39"]]);let ufi=typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function rfi(r,e){let i;return e.length===0?i=r:i=r.replace(/\{(\d+)\}/g,(n,a)=>{const o=a[0],c=e[o];let h=n;return typeof c=="string"?h=c:(typeof c=="number"||typeof c=="boolean"||c===void 0||c===null)&&(h=String(c)),h}),ufi&&(i="["+i.replace(/[aouei]/g,"$&$&")+"]"),i}function V(r,e,...i){return rfi(e,i)}var sIe;const xG="en";let qDe=!1,ZDe=!1,q3e=!1,Z6t=!1,CGe=!1,bGe=!1,Y6t=!1,v_e,Z3e=xG,rgt=xG,afi,Gb;const jD=typeof self=="object"?self:typeof global=="object"?global:{};let S_;typeof jD.vscode<"u"&&typeof jD.vscode.process<"u"?S_=jD.vscode.process:typeof process<"u"&&(S_=process);const ofi=typeof((sIe=S_==null?void 0:S_.versions)===null||sIe===void 0?void 0:sIe.electron)=="string",sfi=ofi&&(S_==null?void 0:S_.type)==="renderer";if(typeof navigator=="object"&&!sfi)Gb=navigator.userAgent,qDe=Gb.indexOf("Windows")>=0,ZDe=Gb.indexOf("Macintosh")>=0,bGe=(Gb.indexOf("Macintosh")>=0||Gb.indexOf("iPad")>=0||Gb.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,q3e=Gb.indexOf("Linux")>=0,Y6t=(Gb==null?void 0:Gb.indexOf("Mobi"))>=0,CGe=!0,V({key:"ensureLoaderPluginIsLoaded",comment:["{Locked}"]},"_"),v_e=xG,Z3e=v_e,rgt=navigator.language;else if(typeof S_=="object"){qDe=S_.platform==="win32",ZDe=S_.platform==="darwin",q3e=S_.platform==="linux",q3e&&S_.env.SNAP&&S_.env.SNAP_REVISION,S_.env.CI||S_.env.BUILD_ARTIFACTSTAGINGDIRECTORY,v_e=xG,Z3e=xG;const r=S_.env.VSCODE_NLS_CONFIG;if(r)try{const e=JSON.parse(r),i=e.availableLanguages["*"];v_e=e.locale,rgt=e.osLocale,Z3e=i||xG,afi=e._translationsConfigFile}catch{}Z6t=!0}else console.error("Unable to resolve platform.");const yp=qDe,c0=ZDe,ug=q3e,Ey=Z6t,rN=CGe,lfi=CGe&&typeof jD.importScripts=="function",kA=bGe,cfi=Y6t,FA=Gb,dfi=Z3e,hfi=typeof jD.postMessage=="function"&&!jD.importScripts,Q6t=(()=>{if(hfi){const r=[];jD.addEventListener("message",i=>{if(i.data&&i.data.vscodeScheduleAsyncWork)for(let n=0,a=r.length;n{const n=++e;r.push({id:n,callback:i}),jD.postMessage({vscodeScheduleAsyncWork:n},"*")}}return r=>setTimeout(r)})(),ux=ZDe||bGe?2:qDe?1:3;let agt=!0,ogt=!1;function X6t(){if(!ogt){ogt=!0;const r=new Uint8Array(2);r[0]=1,r[1]=2,agt=new Uint16Array(r.buffer)[0]===513}return agt}const evt=!!(FA&&FA.indexOf("Chrome")>=0),ffi=!!(FA&&FA.indexOf("Firefox")>=0),mfi=!!(!evt&&FA&&FA.indexOf("Safari")>=0),pfi=!!(FA&&FA.indexOf("Edg/")>=0);FA&&FA.indexOf("Android")>=0;var O0;(function(r){function e(ue){return ue&&typeof ue=="object"&&typeof ue[Symbol.iterator]=="function"}r.is=e;const i=Object.freeze([]);function n(){return i}r.empty=n;function*a(ue){yield ue}r.single=a;function o(ue){return e(ue)?ue:a(ue)}r.wrap=o;function c(ue){return ue||i}r.from=c;function h(ue){return!ue||ue[Symbol.iterator]().next().done===!0}r.isEmpty=h;function g(ue){return ue[Symbol.iterator]().next().value}r.first=g;function _(ue,re){for(const _e of ue)if(re(_e))return!0;return!1}r.some=_;function x(ue,re){for(const _e of ue)if(re(_e))return _e}r.find=x;function*y(ue,re){for(const _e of ue)re(_e)&&(yield _e)}r.filter=y;function*S(ue,re){let _e=0;for(const ye of ue)yield re(ye,_e++)}r.map=S;function*L(...ue){for(const re of ue)for(const _e of re)yield _e}r.concat=L;function R(ue,re,_e){let ye=_e;for(const Le of ue)ye=re(ye,Le);return ye}r.reduce=R;function*G(ue,re,_e=ue.length){for(re<0&&(re+=ue.length),_e<0?_e+=ue.length:_e>ue.length&&(_e=ue.length);re<_e;re++)yield ue[re]}r.slice=G;function ie(ue,re=Number.POSITIVE_INFINITY){const _e=[];if(re===0)return[_e,ue];const ye=ue[Symbol.iterator]();for(let Le=0;Le{a||(a=!0,this._remove(n))}}shift(){if(this._first!==Yf.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==Yf.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==Yf.Undefined&&e.next!==Yf.Undefined){const i=e.prev;i.next=e.next,e.next.prev=i}else e.prev===Yf.Undefined&&e.next===Yf.Undefined?(this._first=Yf.Undefined,this._last=Yf.Undefined):e.next===Yf.Undefined?(this._last=this._last.prev,this._last.next=Yf.Undefined):e.prev===Yf.Undefined&&(this._first=this._first.next,this._first.prev=Yf.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==Yf.Undefined;)yield e.element,e=e.next}}const tvt="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function gfi(r=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(const i of tvt)r.indexOf(i)>=0||(e+="\\"+i);return e+="\\s]+)",new RegExp(e,"g")}const yGe=gfi();function ivt(r){let e=yGe;if(r&&r instanceof RegExp)if(r.global)e=r;else{let i="g";r.ignoreCase&&(i+="i"),r.multiline&&(i+="m"),r.unicode&&(i+="u"),e=new RegExp(r.source,i)}return e.lastIndex=0,e}const nvt=new eg;nvt.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Fue(r,e,i,n,a){if(a||(a=O0.first(nvt)),i.length>a.maxLen){let _=r-a.maxLen/2;return _<0?_=0:n+=_,i=i.substring(_,r+a.maxLen/2),Fue(r,e,i,n,a)}const o=Date.now(),c=r-1-n;let h=-1,g=null;for(let _=1;!(Date.now()-o>=a.timeBudget);_++){const x=c-a.windowSize*_;e.lastIndex=Math.max(0,x);const y=Efi(e,i,c,h);if(!y&&g||(g=y,x<=0))break;h=x}if(g){const _={word:g[0],startColumn:n+1+g.index,endColumn:n+1+g.index+g[0].length};return e.lastIndex=0,_}return null}function Efi(r,e,i,n){let a;for(;a=r.exec(e);){const o=a.index||0;if(o<=i&&r.lastIndex>=i)return a;if(n>0&&o>n)return null}return null}function P6(r,e=0){return r[r.length-(1+e)]}function _fi(r){if(r.length===0)throw new Error("Invalid tail call");return[r.slice(0,r.length-1),r[r.length-1]]}function tg(r,e,i=(n,a)=>n===a){if(r===e)return!0;if(!r||!e||r.length!==e.length)return!1;for(let n=0,a=r.length;ni(r[n],e))}function xfi(r,e){let i=0,n=r-1;for(;i<=n;){const a=(i+n)/2|0,o=e(a);if(o<0)i=a+1;else if(o>0)n=a-1;else return a}return-(i+1)}function uvt(r,e){let i=0,n=r.length;if(n===0)return 0;for(;i=e.length)throw new TypeError("invalid index");const n=e[Math.floor(e.length*Math.random())],a=[],o=[],c=[];for(const h of e){const g=i(h,n);g<0?a.push(h):g>0?o.push(h):c.push(h)}return r!!e)}function lgt(r){let e=0;for(let i=0;i0}function OL(r,e=i=>i){const i=new Set;return r.filter(n=>{const a=e(n);return i.has(a)?!1:(i.add(a),!0)})}function avt(r,e){const i=vfi(r,e);if(i!==-1)return r[i]}function vfi(r,e){for(let i=r.length-1;i>=0;i--){const n=r[i];if(e(n))return i}return-1}function ovt(r,e){return r.length>0?r[0]:e}function F_(r,e){let i=typeof e=="number"?r:0;typeof e=="number"?i=r:(i=0,e=r);const n=[];if(i<=e)for(let a=i;ae;a--)n.push(a);return n}function E6e(r,e,i){const n=r.slice(0,e),a=r.slice(e);return n.concat(i,a)}function lIe(r,e){const i=r.indexOf(e);i>-1&&(r.splice(i,1),r.unshift(e))}function C_e(r,e){const i=r.indexOf(e);i>-1&&(r.splice(i,1),r.push(e))}function cgt(r,e){for(const i of e)r.push(i)}function kGe(r){return Array.isArray(r)?r:[r]}function Cfi(r,e,i){const n=svt(r,e),a=r.length,o=i.length;r.length=a+o;for(let c=a-1;c>=n;c--)r[c+o]=r[c];for(let c=0;c0}r.isGreaterThan=i;function n(a){return a===0}r.isNeitherLessOrGreaterThan=n,r.greaterThan=1,r.lessThan=-1,r.neitherLessOrGreaterThan=0})(uje||(uje={}));function Pne(r,e){return(i,n)=>e(r(i),r(n))}const bfi=(r,e)=>r-e;function lvt(r,e){if(r.length===0)return;let i=r[0];for(let n=1;n0&&(i=a)}return i}function yfi(r,e){if(r.length===0)return;let i=r[0];for(let n=1;n=0&&(i=a)}return i}function kfi(r,e){return lvt(r,(i,n)=>-e(i,n))}class BJ{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let i=this.firstIdx;for(;i=0&&e(this.items[i]);)i--;const n=i===this.lastIdx?null:this.items.slice(i+1,this.lastIdx+1);return this.lastIdx=i,n}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const i=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,i}}class EA{constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate(i=>(e.push(i),!0)),e}filter(e){return new EA(i=>this.iterate(n=>e(n)?i(n):!0))}map(e){return new EA(i=>this.iterate(n=>i(e(n))))}findLast(e){let i;return this.iterate(n=>(e(n)&&(i=n),!0)),i}findLastMaxBy(e){let i,n=!0;return this.iterate(a=>((n||uje.isGreaterThan(e(a,i)))&&(n=!1,i=a),!0)),i}}EA.empty=new EA(r=>{});function P_(r){return typeof r=="string"}function R3(r){return typeof r=="object"&&r!==null&&!Array.isArray(r)&&!(r instanceof RegExp)&&!(r instanceof Date)}function Ffi(r){const e=Object.getPrototypeOf(Uint8Array);return typeof r=="object"&&r instanceof e}function jL(r){return typeof r=="number"&&!isNaN(r)}function hgt(r){return!!r&&typeof r[Symbol.iterator]=="function"}function cvt(r){return r===!0||r===!1}function ID(r){return typeof r>"u"}function Afi(r){return!tx(r)}function tx(r){return ID(r)||r===null}function kc(r,e){if(!r)throw new Error(e?`Unexpected type, expected '${e}'`:"Unexpected type")}function vG(r){if(tx(r))throw new Error("Assertion Failed: argument is undefined or null");return r}function YDe(r){return typeof r=="function"}function Sfi(r,e){const i=Math.min(r.length,e.length);for(let n=0;n{e[i]=n&&typeof n=="object"?DS(n):n}),e}function wfi(r){if(!r||typeof r!="object")return r;const e=[r];for(;e.length>0;){const i=e.shift();Object.freeze(i);for(const n in i)if(dvt.call(i,n)){const a=i[n];typeof a=="object"&&!Object.isFrozen(a)&&!Ffi(a)&&e.push(a)}}return r}const dvt=Object.prototype.hasOwnProperty;function hvt(r,e){return rje(r,e,new Set)}function rje(r,e,i){if(tx(r))return r;const n=e(r);if(typeof n<"u")return n;if(Array.isArray(r)){const a=[];for(const o of r)a.push(rje(o,e,i));return a}if(R3(r)){if(i.has(r))throw new Error("Cannot clone recursive data-structure");i.add(r);const a={};for(const o in r)dvt.call(r,o)&&(a[o]=rje(r[o],e,i));return i.delete(r),a}return r}function cae(r,e,i=!0){return R3(r)?(R3(e)&&Object.keys(e).forEach(n=>{n in r?i&&(R3(r[n])&&R3(e[n])?cae(r[n],e[n],i):r[n]=e[n]):r[n]=e[n]}),r):e}function lx(r,e){if(r===e)return!0;if(r==null||e===null||e===void 0||typeof r!=typeof e||typeof r!="object"||Array.isArray(r)!==Array.isArray(e))return!1;let i,n;if(Array.isArray(r)){if(r.length!==e.length)return!1;for(i=0;ifunction(){const o=Array.prototype.slice.call(arguments,0);return e(a,o)},n={};for(const a of r)n[a]=i(a);return n}const Rg={tabSize:4,indentSize:4,insertSpaces:!0,detectIndentation:!0,trimAutoWhitespace:!0,largeFileOptimizations:!0,bracketPairColorizationOptions:{enabled:!0,independentColorPoolPerBracketType:!1}},TT=8;class fvt{constructor(e){this._values=e}hasChanged(e){return this._values[e]}}class mvt{constructor(){this.stableMinimapLayoutInput=null,this.stableFitMaxMinimapScale=0,this.stableFitRemainingWidth=0}}class Th{constructor(e,i,n,a){this.id=e,this.name=i,this.defaultValue=n,this.schema=a}applyUpdate(e,i){return _6e(e,i)}compute(e,i,n){return n}}class Mne{constructor(e,i){this.newValue=e,this.didChange=i}}function _6e(r,e){if(typeof r!="object"||typeof e!="object"||!r||!e)return new Mne(e,r!==e);if(Array.isArray(r)||Array.isArray(e)){const n=Array.isArray(r)&&Array.isArray(e)&&tg(r,e);return new Mne(e,!n)}let i=!1;for(const n in e)if(e.hasOwnProperty(n)){const a=_6e(r[n],e[n]);a.didChange&&(r[n]=a.newValue,i=!0)}return new Mne(r,i)}class dae{constructor(e){this.schema=void 0,this.id=e,this.name="_never_",this.defaultValue=void 0}applyUpdate(e,i){return _6e(e,i)}validate(e){return this.defaultValue}}class D${constructor(e,i,n,a){this.id=e,this.name=i,this.defaultValue=n,this.schema=a}applyUpdate(e,i){return _6e(e,i)}validate(e){return typeof e>"u"?this.defaultValue:e}compute(e,i,n){return n}}function go(r,e){return typeof r>"u"?e:r==="false"?!1:!!r}class pl extends D${constructor(e,i,n,a=void 0){typeof a<"u"&&(a.type="boolean",a.default=n),super(e,i,n,a)}validate(e){return go(e,this.defaultValue)}}function aje(r,e,i,n){if(typeof r>"u")return e;let a=parseInt(r,10);return isNaN(a)?e:(a=Math.max(i,a),a=Math.min(n,a),a|0)}class md extends D${static clampedInt(e,i,n,a){return aje(e,i,n,a)}constructor(e,i,n,a,o,c=void 0){typeof c<"u"&&(c.type="integer",c.default=n,c.minimum=a,c.maximum=o),super(e,i,n,c),this.minimum=a,this.maximum=o}validate(e){return md.clampedInt(e,this.defaultValue,this.minimum,this.maximum)}}class sA extends D${static clamp(e,i,n){return en?n:e}static float(e,i){if(typeof e=="number")return e;if(typeof e>"u")return i;const n=parseFloat(e);return isNaN(n)?i:n}constructor(e,i,n,a,o){typeof o<"u"&&(o.type="number",o.default=n),super(e,i,n,o),this.validationFn=a}validate(e){return this.validationFn(sA.float(e,this.defaultValue))}}class PD extends D${static string(e,i){return typeof e!="string"?i:e}constructor(e,i,n,a=void 0){typeof a<"u"&&(a.type="string",a.default=n),super(e,i,n,a)}validate(e){return PD.string(e,this.defaultValue)}}function tm(r,e,i){return typeof r!="string"||i.indexOf(r)===-1?e:r}class hf extends D${constructor(e,i,n,a,o=void 0){typeof o<"u"&&(o.type="string",o.enum=a,o.default=n),super(e,i,n,o),this._allowedValues=a}validate(e){return tm(e,this.defaultValue,this._allowedValues)}}class b_e extends Th{constructor(e,i,n,a,o,c,h=void 0){typeof h<"u"&&(h.type="string",h.enum=o,h.default=a),super(e,i,n,h),this._allowedValues=o,this._convert=c}validate(e){return typeof e!="string"?this.defaultValue:this._allowedValues.indexOf(e)===-1?this.defaultValue:this._convert(e)}}function Nfi(r){switch(r){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}class Pfi extends Th{constructor(){super(2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[V("accessibilitySupport.auto","Use platform APIs to detect when a Screen Reader is attached"),V("accessibilitySupport.on","Optimize for usage with a Screen Reader"),V("accessibilitySupport.off","Assume a screen reader is not attached")],default:"auto",tags:["accessibility"],description:V("accessibilitySupport","Controls if the UI should run in a mode where it is optimized for screen readers.")})}validate(e){switch(e){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue}compute(e,i,n){return n===0?e.accessibilitySupport:n}}class Mfi extends Th{constructor(){const e={insertSpace:!0,ignoreEmptyLines:!0};super(21,"comments",e,{"editor.comments.insertSpace":{type:"boolean",default:e.insertSpace,description:V("comments.insertSpace","Controls whether a space character is inserted when commenting.")},"editor.comments.ignoreEmptyLines":{type:"boolean",default:e.ignoreEmptyLines,description:V("comments.ignoreEmptyLines","Controls if empty lines should be ignored with toggle, add or remove actions for line comments.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{insertSpace:go(i.insertSpace,this.defaultValue.insertSpace),ignoreEmptyLines:go(i.ignoreEmptyLines,this.defaultValue.ignoreEmptyLines)}}}function zfi(r){switch(r){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var _p;(function(r){r[r.Line=1]="Line",r[r.Block=2]="Block",r[r.Underline=3]="Underline",r[r.LineThin=4]="LineThin",r[r.BlockOutline=5]="BlockOutline",r[r.UnderlineThin=6]="UnderlineThin"})(_p||(_p={}));function Ifi(r){switch(r){case"line":return _p.Line;case"block":return _p.Block;case"underline":return _p.Underline;case"line-thin":return _p.LineThin;case"block-outline":return _p.BlockOutline;case"underline-thin":return _p.UnderlineThin}}class Rfi extends dae{constructor(){super(136)}compute(e,i,n){const a=["monaco-editor"];return i.get(37)&&a.push(i.get(37)),e.extraEditorClassName&&a.push(e.extraEditorClassName),i.get(71)==="default"?a.push("mouse-default"):i.get(71)==="copy"&&a.push("mouse-copy"),i.get(106)&&a.push("showUnused"),i.get(134)&&a.push("showDeprecated"),a.join(" ")}}class Ofi extends pl{constructor(){super(35,"emptySelectionClipboard",!0,{description:V("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})}compute(e,i,n){return n&&e.emptySelectionClipboard}}class jfi extends Th{constructor(){const e={cursorMoveOnType:!0,seedSearchStringFromSelection:"always",autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0,loop:!0};super(39,"find",e,{"editor.find.cursorMoveOnType":{type:"boolean",default:e.cursorMoveOnType,description:V("find.cursorMoveOnType","Controls whether the cursor should jump to find matches while typing.")},"editor.find.seedSearchStringFromSelection":{type:"string",enum:["never","always","selection"],default:e.seedSearchStringFromSelection,enumDescriptions:[V("editor.find.seedSearchStringFromSelection.never","Never seed search string from the editor selection."),V("editor.find.seedSearchStringFromSelection.always","Always seed search string from the editor selection, including word at cursor position."),V("editor.find.seedSearchStringFromSelection.selection","Only seed search string from the editor selection.")],description:V("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:e.autoFindInSelection,enumDescriptions:[V("editor.find.autoFindInSelection.never","Never turn on Find in Selection automatically (default)."),V("editor.find.autoFindInSelection.always","Always turn on Find in Selection automatically."),V("editor.find.autoFindInSelection.multiline","Turn on Find in Selection automatically when multiple lines of content are selected.")],description:V("find.autoFindInSelection","Controls the condition for turning on Find in Selection automatically.")},"editor.find.globalFindClipboard":{type:"boolean",default:e.globalFindClipboard,description:V("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:c0},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:e.addExtraSpaceOnTop,description:V("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")},"editor.find.loop":{type:"boolean",default:e.loop,description:V("find.loop","Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{cursorMoveOnType:go(i.cursorMoveOnType,this.defaultValue.cursorMoveOnType),seedSearchStringFromSelection:typeof e.seedSearchStringFromSelection=="boolean"?e.seedSearchStringFromSelection?"always":"never":tm(i.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection,["never","always","selection"]),autoFindInSelection:typeof e.autoFindInSelection=="boolean"?e.autoFindInSelection?"always":"never":tm(i.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:go(i.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:go(i.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop),loop:go(i.loop,this.defaultValue.loop)}}}class ix extends Th{constructor(){super(49,"fontLigatures",ix.OFF,{anyOf:[{type:"boolean",description:V("fontLigatures","Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property.")},{type:"string",description:V("fontFeatureSettings","Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")}],description:V("fontLigaturesGeneral","Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?ix.OFF:e==="true"?ix.ON:e:e?ix.ON:ix.OFF}}ix.OFF='"liga" off, "calt" off';ix.ON='"liga" on, "calt" on';class ny extends Th{constructor(){super(52,"fontVariations",ny.OFF,{anyOf:[{type:"boolean",description:V("fontVariations","Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property.")},{type:"string",description:V("fontVariationSettings","Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")}],description:V("fontVariationsGeneral","Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."),default:!1})}validate(e){return typeof e>"u"?this.defaultValue:typeof e=="string"?e==="false"?ny.OFF:e==="true"?ny.TRANSLATE:e:e?ny.TRANSLATE:ny.OFF}compute(e,i,n){return e.fontInfo.fontVariationSettings}}ny.OFF="normal";ny.TRANSLATE="translate";class Vfi extends dae{constructor(){super(48)}compute(e,i,n){return e.fontInfo}}class Hfi extends D${constructor(){super(50,"fontSize",VD.fontSize,{type:"number",minimum:6,maximum:100,default:VD.fontSize,description:V("fontSize","Controls the font size in pixels.")})}validate(e){const i=sA.float(e,this.defaultValue);return i===0?VD.fontSize:sA.clamp(i,6,100)}compute(e,i,n){return e.fontInfo.fontSize}}class QF extends Th{constructor(){super(51,"fontWeight",VD.fontWeight,{anyOf:[{type:"number",minimum:QF.MINIMUM_VALUE,maximum:QF.MAXIMUM_VALUE,errorMessage:V("fontWeightErrorMessage",'Only "normal" and "bold" keywords or numbers between 1 and 1000 are allowed.')},{type:"string",pattern:"^(normal|bold|1000|[1-9][0-9]{0,2})$"},{enum:QF.SUGGESTION_VALUES}],default:VD.fontWeight,description:V("fontWeight",'Controls the font weight. Accepts "normal" and "bold" keywords or numbers between 1 and 1000.')})}validate(e){return e==="normal"||e==="bold"?e:String(md.clampedInt(e,VD.fontWeight,QF.MINIMUM_VALUE,QF.MAXIMUM_VALUE))}}QF.SUGGESTION_VALUES=["normal","bold","100","200","300","400","500","600","700","800","900"];QF.MINIMUM_VALUE=1;QF.MAXIMUM_VALUE=1e3;class Kfi extends Th{constructor(){const e={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},i={type:"string",enum:["peek","gotoAndPeek","goto"],default:e.multiple,enumDescriptions:[V("editor.gotoLocation.multiple.peek","Show Peek view of the results (default)"),V("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a Peek view"),V("editor.gotoLocation.multiple.goto","Go to the primary result and enable Peek-less navigation to others")]},n=["","editor.action.referenceSearch.trigger","editor.action.goToReferences","editor.action.peekImplementation","editor.action.goToImplementation","editor.action.peekTypeDefinition","editor.action.goToTypeDefinition","editor.action.peekDeclaration","editor.action.revealDeclaration","editor.action.peekDefinition","editor.action.revealDefinitionAside","editor.action.revealDefinition"];super(56,"gotoLocation",e,{"editor.gotoLocation.multiple":{deprecationMessage:V("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":Object.assign({description:V("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleTypeDefinitions":Object.assign({description:V("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleDeclarations":Object.assign({description:V("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleImplementations":Object.assign({description:V("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},i),"editor.gotoLocation.multipleReferences":Object.assign({description:V("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},i),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:e.alternativeDefinitionCommand,enum:n,description:V("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:e.alternativeTypeDefinitionCommand,enum:n,description:V("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:e.alternativeDeclarationCommand,enum:n,description:V("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:e.alternativeImplementationCommand,enum:n,description:V("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:e.alternativeReferenceCommand,enum:n,description:V("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})}validate(e){var i,n,a,o,c;if(!e||typeof e!="object")return this.defaultValue;const h=e;return{multiple:tm(h.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(i=h.multipleDefinitions)!==null&&i!==void 0?i:tm(h.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(n=h.multipleTypeDefinitions)!==null&&n!==void 0?n:tm(h.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(a=h.multipleDeclarations)!==null&&a!==void 0?a:tm(h.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(o=h.multipleImplementations)!==null&&o!==void 0?o:tm(h.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(c=h.multipleReferences)!==null&&c!==void 0?c:tm(h.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:PD.string(h.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:PD.string(h.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:PD.string(h.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:PD.string(h.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:PD.string(h.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}}}class Wfi extends Th{constructor(){const e={enabled:!0,delay:300,sticky:!0,above:!0};super(58,"hover",e,{"editor.hover.enabled":{type:"boolean",default:e.enabled,description:V("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:e.delay,minimum:0,maximum:1e4,description:V("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:e.sticky,description:V("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")},"editor.hover.above":{type:"boolean",default:e.above,description:V("hover.above","Prefer showing hovers above the line, if there's space.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:go(i.enabled,this.defaultValue.enabled),delay:md.clampedInt(i.delay,this.defaultValue.delay,0,1e4),sticky:go(i.sticky,this.defaultValue.sticky),above:go(i.above,this.defaultValue.above)}}}class ZG extends dae{constructor(){super(139)}compute(e,i,n){return ZG.computeLayout(i,{memory:e.memory,outerWidth:e.outerWidth,outerHeight:e.outerHeight,isDominatedByLongLines:e.isDominatedByLongLines,lineHeight:e.fontInfo.lineHeight,viewLineCount:e.viewLineCount,lineNumbersDigitCount:e.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:e.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:e.fontInfo.maxDigitWidth,pixelRatio:e.pixelRatio})}static computeContainedMinimapLineCount(e){const i=e.height/e.lineHeight,n=Math.floor(e.paddingTop/e.lineHeight);let a=Math.floor(e.paddingBottom/e.lineHeight);e.scrollBeyondLastLine&&(a=Math.max(a,i-1));const o=(n+e.viewLineCount+a)/(e.pixelRatio*e.height),c=Math.floor(e.viewLineCount/o);return{typicalViewportLineCount:i,extraLinesBeforeFirstLine:n,extraLinesBeyondLastLine:a,desiredRatio:o,minimapLineCount:c}}static _computeMinimapLayout(e,i){const n=e.outerWidth,a=e.outerHeight,o=e.pixelRatio;if(!e.minimap.enabled)return{renderMinimap:0,minimapLeft:0,minimapWidth:0,minimapHeightIsEditorHeight:!1,minimapIsSampling:!1,minimapScale:1,minimapLineHeight:1,minimapCanvasInnerWidth:0,minimapCanvasInnerHeight:Math.floor(o*a),minimapCanvasOuterWidth:0,minimapCanvasOuterHeight:a};const c=i.stableMinimapLayoutInput,h=c&&e.outerHeight===c.outerHeight&&e.lineHeight===c.lineHeight&&e.typicalHalfwidthCharacterWidth===c.typicalHalfwidthCharacterWidth&&e.pixelRatio===c.pixelRatio&&e.scrollBeyondLastLine===c.scrollBeyondLastLine&&e.paddingTop===c.paddingTop&&e.paddingBottom===c.paddingBottom&&e.minimap.enabled===c.minimap.enabled&&e.minimap.side===c.minimap.side&&e.minimap.size===c.minimap.size&&e.minimap.showSlider===c.minimap.showSlider&&e.minimap.renderCharacters===c.minimap.renderCharacters&&e.minimap.maxColumn===c.minimap.maxColumn&&e.minimap.scale===c.minimap.scale&&e.verticalScrollbarWidth===c.verticalScrollbarWidth&&e.isViewportWrapping===c.isViewportWrapping,g=e.lineHeight,_=e.typicalHalfwidthCharacterWidth,x=e.scrollBeyondLastLine,y=e.minimap.renderCharacters;let S=o>=2?Math.round(e.minimap.scale*2):e.minimap.scale;const L=e.minimap.maxColumn,R=e.minimap.size,G=e.minimap.side,ie=e.verticalScrollbarWidth,ue=e.viewLineCount,re=e.remainingWidth,_e=e.isViewportWrapping,ye=y?2:3;let Le=Math.floor(o*a);const st=Le/o;let Ue=!1,Ye=!1,rt=ye*S,Ft=S/o,Zt=1;if(R==="fill"||R==="fit"){const{typicalViewportLineCount:jr,extraLinesBeforeFirstLine:Pu,extraLinesBeyondLastLine:Oa,desiredRatio:Ku,minimapLineCount:Pr}=ZG.computeContainedMinimapLineCount({viewLineCount:ue,scrollBeyondLastLine:x,paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,height:a,lineHeight:g,pixelRatio:o});if(ue/Pr>1)Ue=!0,Ye=!0,S=1,rt=1,Ft=S/o;else{let mr=!1,to=S+1;if(R==="fit"){const Si=Math.ceil((Pu+ue+Oa)*rt);_e&&h&&re<=i.stableFitRemainingWidth?(mr=!0,to=i.stableFitMaxMinimapScale):mr=Si>Le}if(R==="fill"||mr){Ue=!0;const Si=S;rt=Math.min(g*o,Math.max(1,Math.floor(1/Ku))),_e&&h&&re<=i.stableFitRemainingWidth&&(to=i.stableFitMaxMinimapScale),S=Math.min(to,Math.max(1,Math.floor(rt/ye))),S>Si&&(Zt=Math.min(2,S/Si)),Ft=S/o/Zt,Le=Math.ceil(Math.max(jr,Pu+ue+Oa)*rt),_e?(i.stableMinimapLayoutInput=e,i.stableFitRemainingWidth=re,i.stableFitMaxMinimapScale=S):(i.stableMinimapLayoutInput=null,i.stableFitRemainingWidth=0)}}}const Ot=Math.floor(L*Ft),ui=Math.min(Ot,Math.max(0,Math.floor((re-ie-2)*Ft/(_+Ft)))+TT);let ei=Math.floor(o*ui);const qu=ei/o;ei=Math.floor(ei*Zt);const mu=y?1:2,Kt=G==="left"?0:n-ui-ie;return{renderMinimap:mu,minimapLeft:Kt,minimapWidth:ui,minimapHeightIsEditorHeight:Ue,minimapIsSampling:Ye,minimapScale:S,minimapLineHeight:rt,minimapCanvasInnerWidth:ei,minimapCanvasInnerHeight:Le,minimapCanvasOuterWidth:qu,minimapCanvasOuterHeight:st}}static computeLayout(e,i){const n=i.outerWidth|0,a=i.outerHeight|0,o=i.lineHeight|0,c=i.lineNumbersDigitCount|0,h=i.typicalHalfwidthCharacterWidth,g=i.maxDigitWidth,_=i.pixelRatio,x=i.viewLineCount,y=e.get(131),S=y==="inherit"?e.get(130):y,L=S==="inherit"?e.get(126):S,R=e.get(129),G=i.isDominatedByLongLines,ie=e.get(55),ue=e.get(65).renderType!==0,re=e.get(66),_e=e.get(100),ye=e.get(81),Le=e.get(70),st=e.get(98),Ue=st.verticalScrollbarSize,Ye=st.verticalHasArrows,rt=st.arrowSize,Ft=st.horizontalScrollbarSize,Zt=e.get(41),Ot=e.get(105)!=="never";let ui=e.get(63);Zt&&Ot&&(ui+=16);let ei=0;if(ue){const P0=Math.max(c,re);ei=Math.round(P0*g)}let qu=0;ie&&(qu=o);let mu=0,Kt=mu+qu,jr=Kt+ei,Pu=jr+ui;const Oa=n-qu-ei-ui;let Ku=!1,Pr=!1,Vn=-1;S==="inherit"&&G?(Ku=!0,Pr=!0):L==="on"||L==="bounded"?Pr=!0:L==="wordWrapColumn"&&(Vn=R);const mr=ZG._computeMinimapLayout({outerWidth:n,outerHeight:a,lineHeight:o,typicalHalfwidthCharacterWidth:h,pixelRatio:_,scrollBeyondLastLine:_e,paddingTop:ye.top,paddingBottom:ye.bottom,minimap:Le,verticalScrollbarWidth:Ue,viewLineCount:x,remainingWidth:Oa,isViewportWrapping:Pr},i.memory||new mvt);mr.renderMinimap!==0&&mr.minimapLeft===0&&(mu+=mr.minimapWidth,Kt+=mr.minimapWidth,jr+=mr.minimapWidth,Pu+=mr.minimapWidth);const to=Oa-mr.minimapWidth,Si=Math.max(1,Math.floor((to-Ue-2)/h)),_o=Ye?rt:0;return Pr&&(Vn=Math.max(1,Si),L==="bounded"&&(Vn=Math.min(Vn,R))),{width:n,height:a,glyphMarginLeft:mu,glyphMarginWidth:qu,lineNumbersLeft:Kt,lineNumbersWidth:ei,decorationsLeft:jr,decorationsWidth:ui,contentLeft:Pu,contentWidth:to,minimap:mr,viewportColumn:Si,isWordWrapMinified:Ku,isViewportWrapping:Pr,wrappingColumn:Vn,verticalScrollbarWidth:Ue,horizontalScrollbarHeight:Ft,overviewRuler:{top:_o,width:Ue,height:a-2*_o,right:0}}}}class Gfi extends Th{constructor(){super(133,"wrappingStrategy","simple",{"editor.wrappingStrategy":{enumDescriptions:[V("wrappingStrategy.simple","Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."),V("wrappingStrategy.advanced","Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases.")],type:"string",enum:["simple","advanced"],default:"simple",description:V("wrappingStrategy","Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")}})}validate(e){return tm(e,"simple",["simple","advanced"])}compute(e,i,n){return i.get(2)===2?"advanced":n}}class Jfi extends Th{constructor(){const e={enabled:!0};super(62,"lightbulb",e,{"editor.lightbulb.enabled":{type:"boolean",default:e.enabled,description:V("codeActions","Enables the Code Action lightbulb in the editor.")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:go(e.enabled,this.defaultValue.enabled)}}}class $fi extends Th{constructor(){const e={enabled:!1,maxLineCount:5,defaultModel:"outlineModel"};super(110,"stickyScroll",e,{"editor.stickyScroll.enabled":{type:"boolean",default:e.enabled,description:V("editor.stickyScroll.enabled","Shows the nested current scopes during the scroll at the top of the editor.")},"editor.stickyScroll.maxLineCount":{type:"number",default:e.maxLineCount,minimum:1,maximum:10,description:V("editor.stickyScroll.maxLineCount","Defines the maximum number of sticky lines to show.")},"editor.stickyScroll.defaultModel":{type:"string",enum:["outlineModel","foldingProviderModel","indentationModel"],default:e.defaultModel,description:V("editor.stickyScroll.defaultModel","Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:go(i.enabled,this.defaultValue.enabled),maxLineCount:md.clampedInt(i.maxLineCount,this.defaultValue.maxLineCount,1,10),defaultModel:tm(i.defaultModel,this.defaultValue.defaultModel,["outlineModel","foldingProviderModel","indentationModel"])}}}class Ufi extends Th{constructor(){const e={enabled:"on",fontSize:0,fontFamily:"",padding:!1};super(135,"inlayHints",e,{"editor.inlayHints.enabled":{type:"string",default:e.enabled,description:V("inlayHints.enable","Enables the inlay hints in the editor."),enum:["on","onUnlessPressed","offUnlessPressed","off"],markdownEnumDescriptions:[V("editor.inlayHints.on","Inlay hints are enabled"),V("editor.inlayHints.onUnlessPressed","Inlay hints are showing by default and hide when holding {0}",c0?"Ctrl+Option":"Ctrl+Alt"),V("editor.inlayHints.offUnlessPressed","Inlay hints are hidden by default and show when holding {0}",c0?"Ctrl+Option":"Ctrl+Alt"),V("editor.inlayHints.off","Inlay hints are disabled")]},"editor.inlayHints.fontSize":{type:"number",default:e.fontSize,markdownDescription:V("inlayHints.fontSize","Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.","`#editor.fontSize#`","`5`")},"editor.inlayHints.fontFamily":{type:"string",default:e.fontFamily,markdownDescription:V("inlayHints.fontFamily","Controls font family of inlay hints in the editor. When set to empty, the {0} is used.","`#editor.fontFamily#`")},"editor.inlayHints.padding":{type:"boolean",default:e.padding,description:V("inlayHints.padding","Enables the padding around the inlay hints in the editor.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return typeof i.enabled=="boolean"&&(i.enabled=i.enabled?"on":"off"),{enabled:tm(i.enabled,this.defaultValue.enabled,["on","off","offUnlessPressed","onUnlessPressed"]),fontSize:md.clampedInt(i.fontSize,this.defaultValue.fontSize,0,100),fontFamily:PD.string(i.fontFamily,this.defaultValue.fontFamily),padding:go(i.padding,this.defaultValue.padding)}}}class qfi extends Th{constructor(){super(63,"lineDecorationsWidth",10)}validate(e){return typeof e=="string"&&/^\d+(\.\d+)?ch$/.test(e)?-parseFloat(e.substring(0,e.length-2)):md.clampedInt(e,this.defaultValue,0,1e3)}compute(e,i,n){return n<0?md.clampedInt(-n*e.fontInfo.typicalHalfwidthCharacterWidth,this.defaultValue,0,1e3):n}}class Zfi extends sA{constructor(){super(64,"lineHeight",VD.lineHeight,e=>sA.clamp(e,0,150),{markdownDescription:V("lineHeight",`Controls the line height. + - Use 0 to automatically compute the line height from the font size. + - Values between 0 and 8 will be used as a multiplier with the font size. + - Values greater than or equal to 8 will be used as effective values.`)})}compute(e,i,n){return e.fontInfo.lineHeight}}class Yfi extends Th{constructor(){const e={enabled:!0,size:"proportional",side:"right",showSlider:"mouseover",autohide:!1,renderCharacters:!0,maxColumn:120,scale:1};super(70,"minimap",e,{"editor.minimap.enabled":{type:"boolean",default:e.enabled,description:V("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.autohide":{type:"boolean",default:e.autohide,description:V("minimap.autohide","Controls whether the minimap is hidden automatically.")},"editor.minimap.size":{type:"string",enum:["proportional","fill","fit"],enumDescriptions:[V("minimap.size.proportional","The minimap has the same size as the editor contents (and might scroll)."),V("minimap.size.fill","The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),V("minimap.size.fit","The minimap will shrink as necessary to never be larger than the editor (no scrolling).")],default:e.size,description:V("minimap.size","Controls the size of the minimap.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:e.side,description:V("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:e.showSlider,description:V("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:e.scale,minimum:1,maximum:3,enum:[1,2,3],description:V("minimap.scale","Scale of content drawn in the minimap: 1, 2 or 3.")},"editor.minimap.renderCharacters":{type:"boolean",default:e.renderCharacters,description:V("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:e.maxColumn,description:V("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:go(i.enabled,this.defaultValue.enabled),autohide:go(i.autohide,this.defaultValue.autohide),size:tm(i.size,this.defaultValue.size,["proportional","fill","fit"]),side:tm(i.side,this.defaultValue.side,["right","left"]),showSlider:tm(i.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:go(i.renderCharacters,this.defaultValue.renderCharacters),scale:md.clampedInt(i.scale,1,1,3),maxColumn:md.clampedInt(i.maxColumn,this.defaultValue.maxColumn,1,1e4)}}}function Qfi(r){return r==="ctrlCmd"?c0?"metaKey":"ctrlKey":"altKey"}class Xfi extends Th{constructor(){super(81,"padding",{top:0,bottom:0},{"editor.padding.top":{type:"number",default:0,minimum:0,maximum:1e3,description:V("padding.top","Controls the amount of space between the top edge of the editor and the first line.")},"editor.padding.bottom":{type:"number",default:0,minimum:0,maximum:1e3,description:V("padding.bottom","Controls the amount of space between the bottom edge of the editor and the last line.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{top:md.clampedInt(i.top,0,0,1e3),bottom:md.clampedInt(i.bottom,0,0,1e3)}}}class emi extends Th{constructor(){const e={enabled:!0,cycle:!0};super(82,"parameterHints",e,{"editor.parameterHints.enabled":{type:"boolean",default:e.enabled,description:V("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:e.cycle,description:V("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:go(i.enabled,this.defaultValue.enabled),cycle:go(i.cycle,this.defaultValue.cycle)}}}class tmi extends dae{constructor(){super(137)}compute(e,i,n){return e.pixelRatio}}class imi extends Th{constructor(){const e={other:"on",comments:"off",strings:"off"},i=[{type:"boolean"},{type:"string",enum:["on","inline","off"],enumDescriptions:[V("on","Quick suggestions show inside the suggest widget"),V("inline","Quick suggestions show as ghost text"),V("off","Quick suggestions are disabled")]}];super(85,"quickSuggestions",e,{type:"object",additionalProperties:!1,properties:{strings:{anyOf:i,default:e.strings,description:V("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{anyOf:i,default:e.comments,description:V("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{anyOf:i,default:e.other,description:V("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}},default:e,markdownDescription:V("quickSuggestions","Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the '{0}'-setting which controls if suggestions are triggered by special characters.","#editor.suggestOnTriggerCharacters#")}),this.defaultValue=e}validate(e){if(typeof e=="boolean"){const _=e?"on":"off";return{comments:_,strings:_,other:_}}if(!e||typeof e!="object")return this.defaultValue;const{other:i,comments:n,strings:a}=e,o=["on","inline","off"];let c,h,g;return typeof i=="boolean"?c=i?"on":"off":c=tm(i,this.defaultValue.other,o),typeof n=="boolean"?h=n?"on":"off":h=tm(n,this.defaultValue.comments,o),typeof a=="boolean"?g=a?"on":"off":g=tm(a,this.defaultValue.strings,o),{other:c,comments:h,strings:g}}}class nmi extends Th{constructor(){super(65,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[V("lineNumbers.off","Line numbers are not rendered."),V("lineNumbers.on","Line numbers are rendered as absolute number."),V("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),V("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:V("lineNumbers","Controls the display of line numbers.")})}validate(e){let i=this.defaultValue.renderType,n=this.defaultValue.renderFn;return typeof e<"u"&&(typeof e=="function"?(i=4,n=e):e==="interval"?i=3:e==="relative"?i=2:e==="on"?i=1:i=0),{renderType:i,renderFn:n}}}function QDe(r){const e=r.get(93);return e==="editable"?r.get(87):e!=="on"}class umi extends Th{constructor(){const e=[],i={type:"number",description:V("rulers.size","Number of monospace characters at which this editor ruler will render.")};super(97,"rulers",e,{type:"array",items:{anyOf:[i,{type:["object"],properties:{column:i,color:{type:"string",description:V("rulers.color","Color of this editor ruler."),format:"color-hex"}}}]},default:e,description:V("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})}validate(e){if(Array.isArray(e)){const i=[];for(const n of e)if(typeof n=="number")i.push({column:md.clampedInt(n,0,0,1e4),color:null});else if(n&&typeof n=="object"){const a=n;i.push({column:md.clampedInt(a.column,0,0,1e4),color:a.color})}return i.sort((n,a)=>n.column-a.column),i}return this.defaultValue}}function fgt(r,e){if(typeof r!="string")return e;switch(r){case"hidden":return 2;case"visible":return 3;default:return 1}}let rmi=class extends Th{constructor(){const e={vertical:1,horizontal:1,arrowSize:11,useShadows:!0,verticalHasArrows:!1,horizontalHasArrows:!1,horizontalScrollbarSize:12,horizontalSliderSize:12,verticalScrollbarSize:14,verticalSliderSize:14,handleMouseWheel:!0,alwaysConsumeMouseWheel:!0,scrollByPage:!1};super(98,"scrollbar",e,{"editor.scrollbar.vertical":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[V("scrollbar.vertical.auto","The vertical scrollbar will be visible only when necessary."),V("scrollbar.vertical.visible","The vertical scrollbar will always be visible."),V("scrollbar.vertical.fit","The vertical scrollbar will always be hidden.")],default:"auto",description:V("scrollbar.vertical","Controls the visibility of the vertical scrollbar.")},"editor.scrollbar.horizontal":{type:"string",enum:["auto","visible","hidden"],enumDescriptions:[V("scrollbar.horizontal.auto","The horizontal scrollbar will be visible only when necessary."),V("scrollbar.horizontal.visible","The horizontal scrollbar will always be visible."),V("scrollbar.horizontal.fit","The horizontal scrollbar will always be hidden.")],default:"auto",description:V("scrollbar.horizontal","Controls the visibility of the horizontal scrollbar.")},"editor.scrollbar.verticalScrollbarSize":{type:"number",default:e.verticalScrollbarSize,description:V("scrollbar.verticalScrollbarSize","The width of the vertical scrollbar.")},"editor.scrollbar.horizontalScrollbarSize":{type:"number",default:e.horizontalScrollbarSize,description:V("scrollbar.horizontalScrollbarSize","The height of the horizontal scrollbar.")},"editor.scrollbar.scrollByPage":{type:"boolean",default:e.scrollByPage,description:V("scrollbar.scrollByPage","Controls whether clicks scroll by page or jump to click position.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e,n=md.clampedInt(i.horizontalScrollbarSize,this.defaultValue.horizontalScrollbarSize,0,1e3),a=md.clampedInt(i.verticalScrollbarSize,this.defaultValue.verticalScrollbarSize,0,1e3);return{arrowSize:md.clampedInt(i.arrowSize,this.defaultValue.arrowSize,0,1e3),vertical:fgt(i.vertical,this.defaultValue.vertical),horizontal:fgt(i.horizontal,this.defaultValue.horizontal),useShadows:go(i.useShadows,this.defaultValue.useShadows),verticalHasArrows:go(i.verticalHasArrows,this.defaultValue.verticalHasArrows),horizontalHasArrows:go(i.horizontalHasArrows,this.defaultValue.horizontalHasArrows),handleMouseWheel:go(i.handleMouseWheel,this.defaultValue.handleMouseWheel),alwaysConsumeMouseWheel:go(i.alwaysConsumeMouseWheel,this.defaultValue.alwaysConsumeMouseWheel),horizontalScrollbarSize:n,horizontalSliderSize:md.clampedInt(i.horizontalSliderSize,n,0,1e3),verticalScrollbarSize:a,verticalSliderSize:md.clampedInt(i.verticalSliderSize,a,0,1e3),scrollByPage:go(i.scrollByPage,this.defaultValue.scrollByPage)}}};const Z5="inUntrustedWorkspace",N3={allowedCharacters:"editor.unicodeHighlight.allowedCharacters",invisibleCharacters:"editor.unicodeHighlight.invisibleCharacters",nonBasicASCII:"editor.unicodeHighlight.nonBasicASCII",ambiguousCharacters:"editor.unicodeHighlight.ambiguousCharacters",includeComments:"editor.unicodeHighlight.includeComments",includeStrings:"editor.unicodeHighlight.includeStrings",allowedLocales:"editor.unicodeHighlight.allowedLocales"};class ami extends Th{constructor(){const e={nonBasicASCII:Z5,invisibleCharacters:!0,ambiguousCharacters:!0,includeComments:Z5,includeStrings:!0,allowedCharacters:{},allowedLocales:{_os:!0,_vscode:!0}};super(120,"unicodeHighlight",e,{[N3.nonBasicASCII]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Z5],default:e.nonBasicASCII,description:V("unicodeHighlight.nonBasicASCII","Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII.")},[N3.invisibleCharacters]:{restricted:!0,type:"boolean",default:e.invisibleCharacters,description:V("unicodeHighlight.invisibleCharacters","Controls whether characters that just reserve space or have no width at all are highlighted.")},[N3.ambiguousCharacters]:{restricted:!0,type:"boolean",default:e.ambiguousCharacters,description:V("unicodeHighlight.ambiguousCharacters","Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")},[N3.includeComments]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Z5],default:e.includeComments,description:V("unicodeHighlight.includeComments","Controls whether characters in comments should also be subject to Unicode highlighting.")},[N3.includeStrings]:{restricted:!0,type:["boolean","string"],enum:[!0,!1,Z5],default:e.includeStrings,description:V("unicodeHighlight.includeStrings","Controls whether characters in strings should also be subject to Unicode highlighting.")},[N3.allowedCharacters]:{restricted:!0,type:"object",default:e.allowedCharacters,description:V("unicodeHighlight.allowedCharacters","Defines allowed characters that are not being highlighted."),additionalProperties:{type:"boolean"}},[N3.allowedLocales]:{restricted:!0,type:"object",additionalProperties:{type:"boolean"},default:e.allowedLocales,description:V("unicodeHighlight.allowedLocales","Unicode characters that are common in allowed locales are not being highlighted.")}})}applyUpdate(e,i){let n=!1;i.allowedCharacters&&e&&(lx(e.allowedCharacters,i.allowedCharacters)||(e=Object.assign(Object.assign({},e),{allowedCharacters:i.allowedCharacters}),n=!0)),i.allowedLocales&&e&&(lx(e.allowedLocales,i.allowedLocales)||(e=Object.assign(Object.assign({},e),{allowedLocales:i.allowedLocales}),n=!0));const a=super.applyUpdate(e,i);return n?new Mne(a.newValue,!0):a}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{nonBasicASCII:YG(i.nonBasicASCII,Z5,[!0,!1,Z5]),invisibleCharacters:go(i.invisibleCharacters,this.defaultValue.invisibleCharacters),ambiguousCharacters:go(i.ambiguousCharacters,this.defaultValue.ambiguousCharacters),includeComments:YG(i.includeComments,Z5,[!0,!1,Z5]),includeStrings:YG(i.includeStrings,Z5,[!0,!1,Z5]),allowedCharacters:this.validateBooleanMap(e.allowedCharacters,this.defaultValue.allowedCharacters),allowedLocales:this.validateBooleanMap(e.allowedLocales,this.defaultValue.allowedLocales)}}validateBooleanMap(e,i){if(typeof e!="object"||!e)return i;const n={};for(const[a,o]of Object.entries(e))o===!0&&(n[a]=!0);return n}}class omi extends Th{constructor(){const e={enabled:!0,mode:"subwordSmart",showToolbar:"onHover",suppressSuggestions:!1};super(60,"inlineSuggest",e,{"editor.inlineSuggest.enabled":{type:"boolean",default:e.enabled,description:V("inlineSuggest.enabled","Controls whether to automatically show inline suggestions in the editor.")},"editor.inlineSuggest.showToolbar":{type:"string",default:e.showToolbar,enum:["always","onHover"],enumDescriptions:[V("inlineSuggest.showToolbar.always","Show the inline suggestion toolbar whenever an inline suggestion is shown."),V("inlineSuggest.showToolbar.onHover","Show the inline suggestion toolbar when hovering over an inline suggestion.")],description:V("inlineSuggest.showToolbar","Controls when to show the inline suggestion toolbar.")},"editor.inlineSuggest.suppressSuggestions":{type:"boolean",default:e.suppressSuggestions,description:V("inlineSuggest.suppressSuggestions","Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:go(i.enabled,this.defaultValue.enabled),mode:tm(i.mode,this.defaultValue.mode,["prefix","subword","subwordSmart"]),showToolbar:tm(i.showToolbar,this.defaultValue.showToolbar,["always","onHover"]),suppressSuggestions:go(i.suppressSuggestions,this.defaultValue.suppressSuggestions)}}}class smi extends Th{constructor(){const e={enabled:Rg.bracketPairColorizationOptions.enabled,independentColorPoolPerBracketType:Rg.bracketPairColorizationOptions.independentColorPoolPerBracketType};super(13,"bracketPairColorization",e,{"editor.bracketPairColorization.enabled":{type:"boolean",default:e.enabled,markdownDescription:V("bracketPairColorization.enabled","Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.","`#workbench.colorCustomizations#`")},"editor.bracketPairColorization.independentColorPoolPerBracketType":{type:"boolean",default:e.independentColorPoolPerBracketType,description:V("bracketPairColorization.independentColorPoolPerBracketType","Controls whether each bracket type has its own independent color pool.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{enabled:go(i.enabled,this.defaultValue.enabled),independentColorPoolPerBracketType:go(i.independentColorPoolPerBracketType,this.defaultValue.independentColorPoolPerBracketType)}}}class lmi extends Th{constructor(){const e={bracketPairs:!1,bracketPairsHorizontal:"active",highlightActiveBracketPair:!0,indentation:!0,highlightActiveIndentation:!0};super(14,"guides",e,{"editor.guides.bracketPairs":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[V("editor.guides.bracketPairs.true","Enables bracket pair guides."),V("editor.guides.bracketPairs.active","Enables bracket pair guides only for the active bracket pair."),V("editor.guides.bracketPairs.false","Disables bracket pair guides.")],default:e.bracketPairs,description:V("editor.guides.bracketPairs","Controls whether bracket pair guides are enabled or not.")},"editor.guides.bracketPairsHorizontal":{type:["boolean","string"],enum:[!0,"active",!1],enumDescriptions:[V("editor.guides.bracketPairsHorizontal.true","Enables horizontal guides as addition to vertical bracket pair guides."),V("editor.guides.bracketPairsHorizontal.active","Enables horizontal guides only for the active bracket pair."),V("editor.guides.bracketPairsHorizontal.false","Disables horizontal bracket pair guides.")],default:e.bracketPairsHorizontal,description:V("editor.guides.bracketPairsHorizontal","Controls whether horizontal bracket pair guides are enabled or not.")},"editor.guides.highlightActiveBracketPair":{type:"boolean",default:e.highlightActiveBracketPair,description:V("editor.guides.highlightActiveBracketPair","Controls whether the editor should highlight the active bracket pair.")},"editor.guides.indentation":{type:"boolean",default:e.indentation,description:V("editor.guides.indentation","Controls whether the editor should render indent guides.")},"editor.guides.highlightActiveIndentation":{type:["boolean","string"],enum:[!0,"always",!1],enumDescriptions:[V("editor.guides.highlightActiveIndentation.true","Highlights the active indent guide."),V("editor.guides.highlightActiveIndentation.always","Highlights the active indent guide even if bracket guides are highlighted."),V("editor.guides.highlightActiveIndentation.false","Do not highlight the active indent guide.")],default:e.highlightActiveIndentation,description:V("editor.guides.highlightActiveIndentation","Controls whether the editor should highlight the active indent guide.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{bracketPairs:YG(i.bracketPairs,this.defaultValue.bracketPairs,[!0,!1,"active"]),bracketPairsHorizontal:YG(i.bracketPairsHorizontal,this.defaultValue.bracketPairsHorizontal,[!0,!1,"active"]),highlightActiveBracketPair:go(i.highlightActiveBracketPair,this.defaultValue.highlightActiveBracketPair),indentation:go(i.indentation,this.defaultValue.indentation),highlightActiveIndentation:YG(i.highlightActiveIndentation,this.defaultValue.highlightActiveIndentation,[!0,!1,"always"])}}}function YG(r,e,i){const n=i.indexOf(r);return n===-1?e:i[n]}class cmi extends Th{constructor(){const e={insertMode:"insert",filterGraceful:!0,snippetsPreventQuickSuggestions:!0,localityBonus:!1,shareSuggestSelections:!1,selectionMode:"always",showIcons:!0,showStatusBar:!1,preview:!1,previewMode:"subwordSmart",showInlineDetails:!0,showMethods:!0,showFunctions:!0,showConstructors:!0,showDeprecated:!0,matchOnWordStartOnly:!0,showFields:!0,showVariables:!0,showClasses:!0,showStructs:!0,showInterfaces:!0,showModules:!0,showProperties:!0,showEvents:!0,showOperators:!0,showUnits:!0,showValues:!0,showConstants:!0,showEnums:!0,showEnumMembers:!0,showKeywords:!0,showWords:!0,showColors:!0,showFiles:!0,showReferences:!0,showFolders:!0,showTypeParameters:!0,showSnippets:!0,showUsers:!0,showIssues:!0};super(113,"suggest",e,{"editor.suggest.insertMode":{type:"string",enum:["insert","replace"],enumDescriptions:[V("suggest.insertMode.insert","Insert suggestion without overwriting text right of the cursor."),V("suggest.insertMode.replace","Insert suggestion and overwrite text right of the cursor.")],default:e.insertMode,description:V("suggest.insertMode","Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")},"editor.suggest.filterGraceful":{type:"boolean",default:e.filterGraceful,description:V("suggest.filterGraceful","Controls whether filtering and sorting suggestions accounts for small typos.")},"editor.suggest.localityBonus":{type:"boolean",default:e.localityBonus,description:V("suggest.localityBonus","Controls whether sorting favors words that appear close to the cursor.")},"editor.suggest.shareSuggestSelections":{type:"boolean",default:e.shareSuggestSelections,markdownDescription:V("suggest.shareSuggestSelections","Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")},"editor.suggest.selectionMode":{type:"string",enum:["always","never","whenTriggerCharacter","whenQuickSuggestion"],enumDescriptions:[V("suggest.insertMode.always","Always select a suggestion when automatically triggering IntelliSense."),V("suggest.insertMode.never","Never select a suggestion when automatically triggering IntelliSense."),V("suggest.insertMode.whenTriggerCharacter","Select a suggestion only when triggering IntelliSense from a trigger character."),V("suggest.insertMode.whenQuickSuggestion","Select a suggestion only when triggering IntelliSense as you type.")],default:e.selectionMode,markdownDescription:V("suggest.selectionMode","Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.")},"editor.suggest.snippetsPreventQuickSuggestions":{type:"boolean",default:e.snippetsPreventQuickSuggestions,description:V("suggest.snippetsPreventQuickSuggestions","Controls whether an active snippet prevents quick suggestions.")},"editor.suggest.showIcons":{type:"boolean",default:e.showIcons,description:V("suggest.showIcons","Controls whether to show or hide icons in suggestions.")},"editor.suggest.showStatusBar":{type:"boolean",default:e.showStatusBar,description:V("suggest.showStatusBar","Controls the visibility of the status bar at the bottom of the suggest widget.")},"editor.suggest.preview":{type:"boolean",default:e.preview,description:V("suggest.preview","Controls whether to preview the suggestion outcome in the editor.")},"editor.suggest.showInlineDetails":{type:"boolean",default:e.showInlineDetails,description:V("suggest.showInlineDetails","Controls whether suggest details show inline with the label or only in the details widget.")},"editor.suggest.maxVisibleSuggestions":{type:"number",deprecationMessage:V("suggest.maxVisibleSuggestions.dep","This setting is deprecated. The suggest widget can now be resized.")},"editor.suggest.filteredTypes":{type:"object",deprecationMessage:V("deprecated","This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")},"editor.suggest.showMethods":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showMethods","When enabled IntelliSense shows `method`-suggestions.")},"editor.suggest.showFunctions":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFunctions","When enabled IntelliSense shows `function`-suggestions.")},"editor.suggest.showConstructors":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showConstructors","When enabled IntelliSense shows `constructor`-suggestions.")},"editor.suggest.showDeprecated":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showDeprecated","When enabled IntelliSense shows `deprecated`-suggestions.")},"editor.suggest.matchOnWordStartOnly":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.matchOnWordStartOnly","When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality.")},"editor.suggest.showFields":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFields","When enabled IntelliSense shows `field`-suggestions.")},"editor.suggest.showVariables":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showVariables","When enabled IntelliSense shows `variable`-suggestions.")},"editor.suggest.showClasses":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showClasss","When enabled IntelliSense shows `class`-suggestions.")},"editor.suggest.showStructs":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showStructs","When enabled IntelliSense shows `struct`-suggestions.")},"editor.suggest.showInterfaces":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showInterfaces","When enabled IntelliSense shows `interface`-suggestions.")},"editor.suggest.showModules":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showModules","When enabled IntelliSense shows `module`-suggestions.")},"editor.suggest.showProperties":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showPropertys","When enabled IntelliSense shows `property`-suggestions.")},"editor.suggest.showEvents":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showEvents","When enabled IntelliSense shows `event`-suggestions.")},"editor.suggest.showOperators":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showOperators","When enabled IntelliSense shows `operator`-suggestions.")},"editor.suggest.showUnits":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showUnits","When enabled IntelliSense shows `unit`-suggestions.")},"editor.suggest.showValues":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showValues","When enabled IntelliSense shows `value`-suggestions.")},"editor.suggest.showConstants":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showConstants","When enabled IntelliSense shows `constant`-suggestions.")},"editor.suggest.showEnums":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showEnums","When enabled IntelliSense shows `enum`-suggestions.")},"editor.suggest.showEnumMembers":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showEnumMembers","When enabled IntelliSense shows `enumMember`-suggestions.")},"editor.suggest.showKeywords":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showKeywords","When enabled IntelliSense shows `keyword`-suggestions.")},"editor.suggest.showWords":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showTexts","When enabled IntelliSense shows `text`-suggestions.")},"editor.suggest.showColors":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showColors","When enabled IntelliSense shows `color`-suggestions.")},"editor.suggest.showFiles":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFiles","When enabled IntelliSense shows `file`-suggestions.")},"editor.suggest.showReferences":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showReferences","When enabled IntelliSense shows `reference`-suggestions.")},"editor.suggest.showCustomcolors":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showCustomcolors","When enabled IntelliSense shows `customcolor`-suggestions.")},"editor.suggest.showFolders":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showFolders","When enabled IntelliSense shows `folder`-suggestions.")},"editor.suggest.showTypeParameters":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showTypeParameters","When enabled IntelliSense shows `typeParameter`-suggestions.")},"editor.suggest.showSnippets":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showSnippets","When enabled IntelliSense shows `snippet`-suggestions.")},"editor.suggest.showUsers":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showUsers","When enabled IntelliSense shows `user`-suggestions.")},"editor.suggest.showIssues":{type:"boolean",default:!0,markdownDescription:V("editor.suggest.showIssues","When enabled IntelliSense shows `issues`-suggestions.")}})}validate(e){if(!e||typeof e!="object")return this.defaultValue;const i=e;return{insertMode:tm(i.insertMode,this.defaultValue.insertMode,["insert","replace"]),filterGraceful:go(i.filterGraceful,this.defaultValue.filterGraceful),snippetsPreventQuickSuggestions:go(i.snippetsPreventQuickSuggestions,this.defaultValue.filterGraceful),localityBonus:go(i.localityBonus,this.defaultValue.localityBonus),shareSuggestSelections:go(i.shareSuggestSelections,this.defaultValue.shareSuggestSelections),selectionMode:tm(i.selectionMode,this.defaultValue.selectionMode,["always","never","whenQuickSuggestion","whenTriggerCharacter"]),showIcons:go(i.showIcons,this.defaultValue.showIcons),showStatusBar:go(i.showStatusBar,this.defaultValue.showStatusBar),preview:go(i.preview,this.defaultValue.preview),previewMode:tm(i.previewMode,this.defaultValue.previewMode,["prefix","subword","subwordSmart"]),showInlineDetails:go(i.showInlineDetails,this.defaultValue.showInlineDetails),showMethods:go(i.showMethods,this.defaultValue.showMethods),showFunctions:go(i.showFunctions,this.defaultValue.showFunctions),showConstructors:go(i.showConstructors,this.defaultValue.showConstructors),showDeprecated:go(i.showDeprecated,this.defaultValue.showDeprecated),matchOnWordStartOnly:go(i.matchOnWordStartOnly,this.defaultValue.matchOnWordStartOnly),showFields:go(i.showFields,this.defaultValue.showFields),showVariables:go(i.showVariables,this.defaultValue.showVariables),showClasses:go(i.showClasses,this.defaultValue.showClasses),showStructs:go(i.showStructs,this.defaultValue.showStructs),showInterfaces:go(i.showInterfaces,this.defaultValue.showInterfaces),showModules:go(i.showModules,this.defaultValue.showModules),showProperties:go(i.showProperties,this.defaultValue.showProperties),showEvents:go(i.showEvents,this.defaultValue.showEvents),showOperators:go(i.showOperators,this.defaultValue.showOperators),showUnits:go(i.showUnits,this.defaultValue.showUnits),showValues:go(i.showValues,this.defaultValue.showValues),showConstants:go(i.showConstants,this.defaultValue.showConstants),showEnums:go(i.showEnums,this.defaultValue.showEnums),showEnumMembers:go(i.showEnumMembers,this.defaultValue.showEnumMembers),showKeywords:go(i.showKeywords,this.defaultValue.showKeywords),showWords:go(i.showWords,this.defaultValue.showWords),showColors:go(i.showColors,this.defaultValue.showColors),showFiles:go(i.showFiles,this.defaultValue.showFiles),showReferences:go(i.showReferences,this.defaultValue.showReferences),showFolders:go(i.showFolders,this.defaultValue.showFolders),showTypeParameters:go(i.showTypeParameters,this.defaultValue.showTypeParameters),showSnippets:go(i.showSnippets,this.defaultValue.showSnippets),showUsers:go(i.showUsers,this.defaultValue.showUsers),showIssues:go(i.showIssues,this.defaultValue.showIssues)}}}class dmi extends Th{constructor(){super(108,"smartSelect",{selectLeadingAndTrailingWhitespace:!0},{"editor.smartSelect.selectLeadingAndTrailingWhitespace":{description:V("selectLeadingAndTrailingWhitespace","Whether leading and trailing whitespace should always be selected."),default:!0,type:"boolean"}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{selectLeadingAndTrailingWhitespace:go(e.selectLeadingAndTrailingWhitespace,this.defaultValue.selectLeadingAndTrailingWhitespace)}}}class hmi extends Th{constructor(){super(132,"wrappingIndent",1,{"editor.wrappingIndent":{type:"string",enum:["none","same","indent","deepIndent"],enumDescriptions:[V("wrappingIndent.none","No indentation. Wrapped lines begin at column 1."),V("wrappingIndent.same","Wrapped lines get the same indentation as the parent."),V("wrappingIndent.indent","Wrapped lines get +1 indentation toward the parent."),V("wrappingIndent.deepIndent","Wrapped lines get +2 indentation toward the parent.")],description:V("wrappingIndent","Controls the indentation of wrapped lines."),default:"same"}})}validate(e){switch(e){case"none":return 0;case"same":return 1;case"indent":return 2;case"deepIndent":return 3}return 1}compute(e,i,n){return i.get(2)===2?0:n}}class fmi extends dae{constructor(){super(140)}compute(e,i,n){const a=i.get(139);return{isDominatedByLongLines:e.isDominatedByLongLines,isWordWrapMinified:a.isWordWrapMinified,isViewportWrapping:a.isViewportWrapping,wrappingColumn:a.wrappingColumn}}}class mmi extends Th{constructor(){const e={enabled:!0};super(34,"dropIntoEditor",e,{"editor.dropIntoEditor.enabled":{type:"boolean",default:e.enabled,markdownDescription:V("dropIntoEditor.enabled","Controls whether you can drag and drop a file into a text editor by holding down `shift` (instead of opening the file in an editor).")}})}validate(e){return!e||typeof e!="object"?this.defaultValue:{enabled:go(e.enabled,this.defaultValue.enabled)}}}const pmi="Consolas, 'Courier New', monospace",gmi="Menlo, Monaco, 'Courier New', monospace",Emi="'Droid Sans Mono', 'monospace', monospace",VD={fontFamily:c0?gmi:ug?Emi:pmi,fontWeight:"normal",fontSize:c0?12:14,lineHeight:0,letterSpacing:0},CG=[];function Lu(r){return CG[r.id]=r,r}const Ny={acceptSuggestionOnCommitCharacter:Lu(new pl(0,"acceptSuggestionOnCommitCharacter",!0,{markdownDescription:V("acceptSuggestionOnCommitCharacter","Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character.")})),acceptSuggestionOnEnter:Lu(new hf(1,"acceptSuggestionOnEnter","on",["on","smart","off"],{markdownEnumDescriptions:["",V("acceptSuggestionOnEnterSmart","Only accept a suggestion with `Enter` when it makes a textual change."),""],markdownDescription:V("acceptSuggestionOnEnter","Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")})),accessibilitySupport:Lu(new Pfi),accessibilityPageSize:Lu(new md(3,"accessibilityPageSize",10,1,1073741824,{description:V("accessibilityPageSize","Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),tags:["accessibility"]})),ariaLabel:Lu(new PD(4,"ariaLabel",V("editorViewAccessibleLabel","Editor content"))),screenReaderAnnounceInlineSuggestion:Lu(new pl(6,"screenReaderAnnounceInlineSuggestion",!1,{description:V("screenReaderAnnounceInlineSuggestion","Control whether inline suggestions are announced by a screen reader. Note that this does not work on macOS with VoiceOver."),tags:["accessibility"]})),autoClosingBrackets:Lu(new hf(5,"autoClosingBrackets","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",V("editor.autoClosingBrackets.languageDefined","Use language configurations to determine when to autoclose brackets."),V("editor.autoClosingBrackets.beforeWhitespace","Autoclose brackets only when the cursor is to the left of whitespace."),""],description:V("autoClosingBrackets","Controls whether the editor should automatically close brackets after the user adds an opening bracket.")})),autoClosingDelete:Lu(new hf(7,"autoClosingDelete","auto",["always","auto","never"],{enumDescriptions:["",V("editor.autoClosingDelete.auto","Remove adjacent closing quotes or brackets only if they were automatically inserted."),""],description:V("autoClosingDelete","Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")})),autoClosingOvertype:Lu(new hf(8,"autoClosingOvertype","auto",["always","auto","never"],{enumDescriptions:["",V("editor.autoClosingOvertype.auto","Type over closing quotes or brackets only if they were automatically inserted."),""],description:V("autoClosingOvertype","Controls whether the editor should type over closing quotes or brackets.")})),autoClosingQuotes:Lu(new hf(9,"autoClosingQuotes","languageDefined",["always","languageDefined","beforeWhitespace","never"],{enumDescriptions:["",V("editor.autoClosingQuotes.languageDefined","Use language configurations to determine when to autoclose quotes."),V("editor.autoClosingQuotes.beforeWhitespace","Autoclose quotes only when the cursor is to the left of whitespace."),""],description:V("autoClosingQuotes","Controls whether the editor should automatically close quotes after the user adds an opening quote.")})),autoIndent:Lu(new b_e(10,"autoIndent",4,"full",["none","keep","brackets","advanced","full"],Nfi,{enumDescriptions:[V("editor.autoIndent.none","The editor will not insert indentation automatically."),V("editor.autoIndent.keep","The editor will keep the current line's indentation."),V("editor.autoIndent.brackets","The editor will keep the current line's indentation and honor language defined brackets."),V("editor.autoIndent.advanced","The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),V("editor.autoIndent.full","The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages.")],description:V("autoIndent","Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")})),automaticLayout:Lu(new pl(11,"automaticLayout",!1)),autoSurround:Lu(new hf(12,"autoSurround","languageDefined",["languageDefined","quotes","brackets","never"],{enumDescriptions:[V("editor.autoSurround.languageDefined","Use language configurations to determine when to automatically surround selections."),V("editor.autoSurround.quotes","Surround with quotes but not brackets."),V("editor.autoSurround.brackets","Surround with brackets but not quotes."),""],description:V("autoSurround","Controls whether the editor should automatically surround selections when typing quotes or brackets.")})),bracketPairColorization:Lu(new smi),bracketPairGuides:Lu(new lmi),stickyTabStops:Lu(new pl(111,"stickyTabStops",!1,{description:V("stickyTabStops","Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.")})),codeLens:Lu(new pl(15,"codeLens",!0,{description:V("codeLens","Controls whether the editor shows CodeLens.")})),codeLensFontFamily:Lu(new PD(16,"codeLensFontFamily","",{description:V("codeLensFontFamily","Controls the font family for CodeLens.")})),codeLensFontSize:Lu(new md(17,"codeLensFontSize",0,0,100,{type:"number",default:0,minimum:0,maximum:100,markdownDescription:V("codeLensFontSize","Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")})),colorDecorators:Lu(new pl(18,"colorDecorators",!0,{description:V("colorDecorators","Controls whether the editor should render the inline color decorators and color picker.")})),colorDecoratorsLimit:Lu(new md(19,"colorDecoratorsLimit",500,1,1e6,{markdownDescription:V("colorDecoratorsLimit","Controls the max number of color decorators that can be rendered in an editor at once.")})),columnSelection:Lu(new pl(20,"columnSelection",!1,{description:V("columnSelection","Enable that the selection with the mouse and keys is doing column selection.")})),comments:Lu(new Mfi),contextmenu:Lu(new pl(22,"contextmenu",!0)),copyWithSyntaxHighlighting:Lu(new pl(23,"copyWithSyntaxHighlighting",!0,{description:V("copyWithSyntaxHighlighting","Controls whether syntax highlighting should be copied into the clipboard.")})),cursorBlinking:Lu(new b_e(24,"cursorBlinking",1,"blink",["blink","smooth","phase","expand","solid"],zfi,{description:V("cursorBlinking","Control the cursor animation style.")})),cursorSmoothCaretAnimation:Lu(new hf(25,"cursorSmoothCaretAnimation","off",["off","explicit","on"],{enumDescriptions:[V("cursorSmoothCaretAnimation.off","Smooth caret animation is disabled."),V("cursorSmoothCaretAnimation.explicit","Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),V("cursorSmoothCaretAnimation.on","Smooth caret animation is always enabled.")],description:V("cursorSmoothCaretAnimation","Controls whether the smooth caret animation should be enabled.")})),cursorStyle:Lu(new b_e(26,"cursorStyle",_p.Line,"line",["line","block","underline","line-thin","block-outline","underline-thin"],Ifi,{description:V("cursorStyle","Controls the cursor style.")})),cursorSurroundingLines:Lu(new md(27,"cursorSurroundingLines",0,0,1073741824,{description:V("cursorSurroundingLines","Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.")})),cursorSurroundingLinesStyle:Lu(new hf(28,"cursorSurroundingLinesStyle","default",["default","all"],{enumDescriptions:[V("cursorSurroundingLinesStyle.default","`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),V("cursorSurroundingLinesStyle.all","`cursorSurroundingLines` is enforced always.")],description:V("cursorSurroundingLinesStyle","Controls when `cursorSurroundingLines` should be enforced.")})),cursorWidth:Lu(new md(29,"cursorWidth",0,0,1073741824,{markdownDescription:V("cursorWidth","Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.")})),disableLayerHinting:Lu(new pl(30,"disableLayerHinting",!1)),disableMonospaceOptimizations:Lu(new pl(31,"disableMonospaceOptimizations",!1)),domReadOnly:Lu(new pl(32,"domReadOnly",!1)),dragAndDrop:Lu(new pl(33,"dragAndDrop",!0,{description:V("dragAndDrop","Controls whether the editor should allow moving selections via drag and drop.")})),emptySelectionClipboard:Lu(new Ofi),dropIntoEditor:Lu(new mmi),stickyScroll:Lu(new $fi),experimentalWhitespaceRendering:Lu(new hf(36,"experimentalWhitespaceRendering","svg",["svg","font","off"],{enumDescriptions:[V("experimentalWhitespaceRendering.svg","Use a new rendering method with svgs."),V("experimentalWhitespaceRendering.font","Use a new rendering method with font characters."),V("experimentalWhitespaceRendering.off","Use the stable rendering method.")],description:V("experimentalWhitespaceRendering","Controls whether whitespace is rendered with a new, experimental method.")})),extraEditorClassName:Lu(new PD(37,"extraEditorClassName","")),fastScrollSensitivity:Lu(new sA(38,"fastScrollSensitivity",5,r=>r<=0?5:r,{markdownDescription:V("fastScrollSensitivity","Scrolling speed multiplier when pressing `Alt`.")})),find:Lu(new jfi),fixedOverflowWidgets:Lu(new pl(40,"fixedOverflowWidgets",!1)),folding:Lu(new pl(41,"folding",!0,{description:V("folding","Controls whether the editor has code folding enabled.")})),foldingStrategy:Lu(new hf(42,"foldingStrategy","auto",["auto","indentation"],{enumDescriptions:[V("foldingStrategy.auto","Use a language-specific folding strategy if available, else the indentation-based one."),V("foldingStrategy.indentation","Use the indentation-based folding strategy.")],description:V("foldingStrategy","Controls the strategy for computing folding ranges.")})),foldingHighlight:Lu(new pl(43,"foldingHighlight",!0,{description:V("foldingHighlight","Controls whether the editor should highlight folded ranges.")})),foldingImportsByDefault:Lu(new pl(44,"foldingImportsByDefault",!1,{description:V("foldingImportsByDefault","Controls whether the editor automatically collapses import ranges.")})),foldingMaximumRegions:Lu(new md(45,"foldingMaximumRegions",5e3,10,65e3,{description:V("foldingMaximumRegions","The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions.")})),unfoldOnClickAfterEndOfLine:Lu(new pl(46,"unfoldOnClickAfterEndOfLine",!1,{description:V("unfoldOnClickAfterEndOfLine","Controls whether clicking on the empty content after a folded line will unfold the line.")})),fontFamily:Lu(new PD(47,"fontFamily",VD.fontFamily,{description:V("fontFamily","Controls the font family.")})),fontInfo:Lu(new Vfi),fontLigatures2:Lu(new ix),fontSize:Lu(new Hfi),fontWeight:Lu(new QF),fontVariations:Lu(new ny),formatOnPaste:Lu(new pl(53,"formatOnPaste",!1,{description:V("formatOnPaste","Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document.")})),formatOnType:Lu(new pl(54,"formatOnType",!1,{description:V("formatOnType","Controls whether the editor should automatically format the line after typing.")})),glyphMargin:Lu(new pl(55,"glyphMargin",!0,{description:V("glyphMargin","Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.")})),gotoLocation:Lu(new Kfi),hideCursorInOverviewRuler:Lu(new pl(57,"hideCursorInOverviewRuler",!1,{description:V("hideCursorInOverviewRuler","Controls whether the cursor should be hidden in the overview ruler.")})),hover:Lu(new Wfi),inDiffEditor:Lu(new pl(59,"inDiffEditor",!1)),letterSpacing:Lu(new sA(61,"letterSpacing",VD.letterSpacing,r=>sA.clamp(r,-5,20),{description:V("letterSpacing","Controls the letter spacing in pixels.")})),lightbulb:Lu(new Jfi),lineDecorationsWidth:Lu(new qfi),lineHeight:Lu(new Zfi),lineNumbers:Lu(new nmi),lineNumbersMinChars:Lu(new md(66,"lineNumbersMinChars",5,1,300)),linkedEditing:Lu(new pl(67,"linkedEditing",!1,{description:V("linkedEditing","Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.")})),links:Lu(new pl(68,"links",!0,{description:V("links","Controls whether the editor should detect links and make them clickable.")})),matchBrackets:Lu(new hf(69,"matchBrackets","always",["always","near","never"],{description:V("matchBrackets","Highlight matching brackets.")})),minimap:Lu(new Yfi),mouseStyle:Lu(new hf(71,"mouseStyle","text",["text","default","copy"])),mouseWheelScrollSensitivity:Lu(new sA(72,"mouseWheelScrollSensitivity",1,r=>r===0?1:r,{markdownDescription:V("mouseWheelScrollSensitivity","A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.")})),mouseWheelZoom:Lu(new pl(73,"mouseWheelZoom",!1,{markdownDescription:V("mouseWheelZoom","Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")})),multiCursorMergeOverlapping:Lu(new pl(74,"multiCursorMergeOverlapping",!0,{description:V("multiCursorMergeOverlapping","Merge multiple cursors when they are overlapping.")})),multiCursorModifier:Lu(new b_e(75,"multiCursorModifier","altKey","alt",["ctrlCmd","alt"],Qfi,{markdownEnumDescriptions:[V("multiCursorModifier.ctrlCmd","Maps to `Control` on Windows and Linux and to `Command` on macOS."),V("multiCursorModifier.alt","Maps to `Alt` on Windows and Linux and to `Option` on macOS.")],markdownDescription:V({key:"multiCursorModifier",comment:["- `ctrlCmd` refers to a value the setting can take and should not be localized.","- `Control` and `Command` refer to the modifier keys Ctrl or Cmd on the keyboard and can be localized."]},"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier).")})),multiCursorPaste:Lu(new hf(76,"multiCursorPaste","spread",["spread","full"],{markdownEnumDescriptions:[V("multiCursorPaste.spread","Each cursor pastes a single line of the text."),V("multiCursorPaste.full","Each cursor pastes the full text.")],markdownDescription:V("multiCursorPaste","Controls pasting when the line count of the pasted text matches the cursor count.")})),multiCursorLimit:Lu(new md(77,"multiCursorLimit",1e4,1,1e5,{markdownDescription:V("multiCursorLimit","Controls the max number of cursors that can be in an active editor at once.")})),occurrencesHighlight:Lu(new pl(78,"occurrencesHighlight",!0,{description:V("occurrencesHighlight","Controls whether the editor should highlight semantic symbol occurrences.")})),overviewRulerBorder:Lu(new pl(79,"overviewRulerBorder",!0,{description:V("overviewRulerBorder","Controls whether a border should be drawn around the overview ruler.")})),overviewRulerLanes:Lu(new md(80,"overviewRulerLanes",3,0,3)),padding:Lu(new Xfi),parameterHints:Lu(new emi),peekWidgetDefaultFocus:Lu(new hf(83,"peekWidgetDefaultFocus","tree",["tree","editor"],{enumDescriptions:[V("peekWidgetDefaultFocus.tree","Focus the tree when opening peek"),V("peekWidgetDefaultFocus.editor","Focus the editor when opening peek")],description:V("peekWidgetDefaultFocus","Controls whether to focus the inline editor or the tree in the peek widget.")})),definitionLinkOpensInPeek:Lu(new pl(84,"definitionLinkOpensInPeek",!1,{description:V("definitionLinkOpensInPeek","Controls whether the Go to Definition mouse gesture always opens the peek widget.")})),quickSuggestions:Lu(new imi),quickSuggestionsDelay:Lu(new md(86,"quickSuggestionsDelay",10,0,1073741824,{description:V("quickSuggestionsDelay","Controls the delay in milliseconds after which quick suggestions will show up.")})),readOnly:Lu(new pl(87,"readOnly",!1)),renameOnType:Lu(new pl(88,"renameOnType",!1,{description:V("renameOnType","Controls whether the editor auto renames on type."),markdownDeprecationMessage:V("renameOnTypeDeprecate","Deprecated, use `editor.linkedEditing` instead.")})),renderControlCharacters:Lu(new pl(89,"renderControlCharacters",!0,{description:V("renderControlCharacters","Controls whether the editor should render control characters."),restricted:!0})),renderFinalNewline:Lu(new hf(90,"renderFinalNewline",ug?"dimmed":"on",["off","on","dimmed"],{description:V("renderFinalNewline","Render last line number when the file ends with a newline.")})),renderLineHighlight:Lu(new hf(91,"renderLineHighlight","line",["none","gutter","line","all"],{enumDescriptions:["","","",V("renderLineHighlight.all","Highlights both the gutter and the current line.")],description:V("renderLineHighlight","Controls how the editor should render the current line highlight.")})),renderLineHighlightOnlyWhenFocus:Lu(new pl(92,"renderLineHighlightOnlyWhenFocus",!1,{description:V("renderLineHighlightOnlyWhenFocus","Controls if the editor should render the current line highlight only when the editor is focused.")})),renderValidationDecorations:Lu(new hf(93,"renderValidationDecorations","editable",["editable","on","off"])),renderWhitespace:Lu(new hf(94,"renderWhitespace","selection",["none","boundary","selection","trailing","all"],{enumDescriptions:["",V("renderWhitespace.boundary","Render whitespace characters except for single spaces between words."),V("renderWhitespace.selection","Render whitespace characters only on selected text."),V("renderWhitespace.trailing","Render only trailing whitespace characters."),""],description:V("renderWhitespace","Controls how the editor should render whitespace characters.")})),revealHorizontalRightPadding:Lu(new md(95,"revealHorizontalRightPadding",15,0,1e3)),roundedSelection:Lu(new pl(96,"roundedSelection",!0,{description:V("roundedSelection","Controls whether selections should have rounded corners.")})),rulers:Lu(new umi),scrollbar:Lu(new rmi),scrollBeyondLastColumn:Lu(new md(99,"scrollBeyondLastColumn",4,0,1073741824,{description:V("scrollBeyondLastColumn","Controls the number of extra characters beyond which the editor will scroll horizontally.")})),scrollBeyondLastLine:Lu(new pl(100,"scrollBeyondLastLine",!0,{description:V("scrollBeyondLastLine","Controls whether the editor will scroll beyond the last line.")})),scrollPredominantAxis:Lu(new pl(101,"scrollPredominantAxis",!0,{description:V("scrollPredominantAxis","Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.")})),selectionClipboard:Lu(new pl(102,"selectionClipboard",!0,{description:V("selectionClipboard","Controls whether the Linux primary clipboard should be supported."),included:ug})),selectionHighlight:Lu(new pl(103,"selectionHighlight",!0,{description:V("selectionHighlight","Controls whether the editor should highlight matches similar to the selection.")})),selectOnLineNumbers:Lu(new pl(104,"selectOnLineNumbers",!0)),showFoldingControls:Lu(new hf(105,"showFoldingControls","mouseover",["always","never","mouseover"],{enumDescriptions:[V("showFoldingControls.always","Always show the folding controls."),V("showFoldingControls.never","Never show the folding controls and reduce the gutter size."),V("showFoldingControls.mouseover","Only show the folding controls when the mouse is over the gutter.")],description:V("showFoldingControls","Controls when the folding controls on the gutter are shown.")})),showUnused:Lu(new pl(106,"showUnused",!0,{description:V("showUnused","Controls fading out of unused code.")})),showDeprecated:Lu(new pl(134,"showDeprecated",!0,{description:V("showDeprecated","Controls strikethrough deprecated variables.")})),inlayHints:Lu(new Ufi),snippetSuggestions:Lu(new hf(107,"snippetSuggestions","inline",["top","bottom","inline","none"],{enumDescriptions:[V("snippetSuggestions.top","Show snippet suggestions on top of other suggestions."),V("snippetSuggestions.bottom","Show snippet suggestions below other suggestions."),V("snippetSuggestions.inline","Show snippets suggestions with other suggestions."),V("snippetSuggestions.none","Do not show snippet suggestions.")],description:V("snippetSuggestions","Controls whether snippets are shown with other suggestions and how they are sorted.")})),smartSelect:Lu(new dmi),smoothScrolling:Lu(new pl(109,"smoothScrolling",!1,{description:V("smoothScrolling","Controls whether the editor will scroll using an animation.")})),stopRenderingLineAfter:Lu(new md(112,"stopRenderingLineAfter",1e4,-1,1073741824)),suggest:Lu(new cmi),inlineSuggest:Lu(new omi),suggestFontSize:Lu(new md(114,"suggestFontSize",0,0,1e3,{markdownDescription:V("suggestFontSize","Font size for the suggest widget. When set to {0}, the value of {1} is used.","`0`","`#editor.fontSize#`")})),suggestLineHeight:Lu(new md(115,"suggestLineHeight",0,0,1e3,{markdownDescription:V("suggestLineHeight","Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.","`0`","`#editor.lineHeight#`")})),suggestOnTriggerCharacters:Lu(new pl(116,"suggestOnTriggerCharacters",!0,{description:V("suggestOnTriggerCharacters","Controls whether suggestions should automatically show up when typing trigger characters.")})),suggestSelection:Lu(new hf(117,"suggestSelection","first",["first","recentlyUsed","recentlyUsedByPrefix"],{markdownEnumDescriptions:[V("suggestSelection.first","Always select the first suggestion."),V("suggestSelection.recentlyUsed","Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),V("suggestSelection.recentlyUsedByPrefix","Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`.")],description:V("suggestSelection","Controls how suggestions are pre-selected when showing the suggest list.")})),tabCompletion:Lu(new hf(118,"tabCompletion","off",["on","off","onlySnippets"],{enumDescriptions:[V("tabCompletion.on","Tab complete will insert the best matching suggestion when pressing tab."),V("tabCompletion.off","Disable tab completions."),V("tabCompletion.onlySnippets","Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled.")],description:V("tabCompletion","Enables tab completions.")})),tabIndex:Lu(new md(119,"tabIndex",0,-1,1073741824)),unicodeHighlight:Lu(new ami),unusualLineTerminators:Lu(new hf(121,"unusualLineTerminators","prompt",["auto","off","prompt"],{enumDescriptions:[V("unusualLineTerminators.auto","Unusual line terminators are automatically removed."),V("unusualLineTerminators.off","Unusual line terminators are ignored."),V("unusualLineTerminators.prompt","Unusual line terminators prompt to be removed.")],description:V("unusualLineTerminators","Remove unusual line terminators that might cause problems.")})),useShadowDOM:Lu(new pl(122,"useShadowDOM",!0)),useTabStops:Lu(new pl(123,"useTabStops",!0,{description:V("useTabStops","Inserting and deleting whitespace follows tab stops.")})),wordBreak:Lu(new hf(124,"wordBreak","normal",["normal","keepAll"],{markdownEnumDescriptions:[V("wordBreak.normal","Use the default line break rule."),V("wordBreak.keepAll","Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.")],description:V("wordBreak","Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")})),wordSeparators:Lu(new PD(125,"wordSeparators",tvt,{description:V("wordSeparators","Characters that will be used as word separators when doing word related navigations or operations.")})),wordWrap:Lu(new hf(126,"wordWrap","off",["off","on","wordWrapColumn","bounded"],{markdownEnumDescriptions:[V("wordWrap.off","Lines will never wrap."),V("wordWrap.on","Lines will wrap at the viewport width."),V({key:"wordWrap.wordWrapColumn",comment:["- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at `#editor.wordWrapColumn#`."),V({key:"wordWrap.bounded",comment:["- viewport means the edge of the visible window size.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")],description:V({key:"wordWrap",comment:["- 'off', 'on', 'wordWrapColumn' and 'bounded' refer to values the setting can take and should not be localized.","- `editor.wordWrapColumn` refers to a different setting and should not be localized."]},"Controls how lines should wrap.")})),wordWrapBreakAfterCharacters:Lu(new PD(127,"wordWrapBreakAfterCharacters"," })]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」")),wordWrapBreakBeforeCharacters:Lu(new PD(128,"wordWrapBreakBeforeCharacters","([{‘“〈《「『【〔([{「£¥$£¥++")),wordWrapColumn:Lu(new md(129,"wordWrapColumn",80,1,1073741824,{markdownDescription:V({key:"wordWrapColumn",comment:["- `editor.wordWrap` refers to a different setting and should not be localized.","- 'wordWrapColumn' and 'bounded' refer to values the different setting can take and should not be localized."]},"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")})),wordWrapOverride1:Lu(new hf(130,"wordWrapOverride1","inherit",["off","on","inherit"])),wordWrapOverride2:Lu(new hf(131,"wordWrapOverride2","inherit",["off","on","inherit"])),editorClassName:Lu(new Rfi),pixelRatio:Lu(new tmi),tabFocusMode:Lu(new pl(138,"tabFocusMode",!1,{markdownDescription:V("tabFocusMode","Controls whether the editor receives tabs or defers them to the workbench for navigation.")})),layoutInfo:Lu(new ZG),wrappingInfo:Lu(new fmi),wrappingIndent:Lu(new hmi),wrappingStrategy:Lu(new Gfi)};class _mi{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?wJ.isErrorNoTelemetry(e)?new wJ(e.message+` + +`+e.stack):new Error(e.message+` + +`+e.stack):e},0)}}emit(e){this.listeners.forEach(i=>{i(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}}const pvt=new _mi;function Ts(r){Py(r)||pvt.onUnexpectedError(r)}function z4(r){Py(r)||pvt.onUnexpectedExternalError(r)}function mgt(r){if(r instanceof Error){const{name:e,message:i}=r,n=r.stacktrace||r.stack;return{$isError:!0,name:e,message:i,stack:n,noTelemetry:wJ.isErrorNoTelemetry(r)}}return r}const XDe="Canceled";function Py(r){return r instanceof aN?!0:r instanceof Error&&r.name===XDe&&r.message===XDe}class aN extends Error{constructor(){super(XDe),this.name=this.message}}function Dmi(){const r=new Error(XDe);return r.name=r.message,r}function cx(r){return r?new Error(`Illegal argument: ${r}`):new Error("Illegal argument")}function AGe(r){return r?new Error(`Illegal state: ${r}`):new Error("Illegal state")}class xmi extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class wJ extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof wJ)return e;const i=new wJ;return i.message=e.message,i.stack=e.stack,i}static isErrorNoTelemetry(e){return e.name==="CodeExpectedError"}}class OA extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,OA.prototype);debugger}}function AA(r){const e=this;let i=!1,n;return function(){return i||(i=!0,n=r.apply(e,arguments)),n}}function SGe(r){return typeof r.dispose=="function"&&r.dispose.length===0}function rc(r){if(O0.is(r)){const e=[];for(const i of r)if(i)try{i.dispose()}catch(n){e.push(n)}if(e.length===1)throw e[0];if(e.length>1)throw new AggregateError(e,"Encountered errors while disposing of store");return Array.isArray(r)?[]:r}else if(r)return r.dispose(),r}function UC(...r){return ws(()=>rc(r))}function ws(r){return{dispose:AA(()=>{r()})}}class cu{constructor(){this._toDispose=new Set,this._isDisposed=!1}dispose(){this._isDisposed||(this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{rc(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return this._isDisposed?cu.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}}cu.DISABLE_DISPOSED_WARNING=!1;class ln{constructor(){this._store=new cu,this._store}dispose(){this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}ln.None=Object.freeze({dispose(){}});class M4{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){var i;this._isDisposed||e===this._value||((i=this._value)===null||i===void 0||i.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){var e;this._isDisposed=!0,(e=this._value)===null||e===void 0||e.dispose(),this._value=void 0}clearAndLeak(){const e=this._value;return this._value=void 0,e}}class vmi{constructor(e){this._disposable=e,this._counter=1}acquire(){return this._counter++,this}release(){return--this._counter===0&&this._disposable.dispose(),this}}class Cmi{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1}set(e){let i=e;return this.unset=()=>i=void 0,this.isset=()=>i!==void 0,this.dispose=()=>{i&&(i(),i=void 0)},this}}class bmi{constructor(e){this.object=e}dispose(){}}class BGe{constructor(){this._store=new Map,this._isDisposed=!1}dispose(){this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{rc(this._store.values())}finally{this._store.clear()}}get(e){return this._store.get(e)}set(e,i,n=!1){var a;this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),n||(a=this._store.get(e))===null||a===void 0||a.dispose(),this._store.set(e,i)}deleteAndDispose(e){var i;(i=this._store.get(e))===null||i===void 0||i.dispose(),this._store.delete(e)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}const ymi=jD.performance&&typeof jD.performance.now=="function";class j3{static create(e=!0){return new j3(e)}constructor(e){this._highResolution=ymi&&e,this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?jD.performance.now():Date.now()}}var Ma;(function(r){r.None=()=>ln.None;function e(Ye,rt){return x(Ye,()=>{},0,void 0,!0,void 0,rt)}r.defer=e;function i(Ye){return(rt,Ft=null,Zt)=>{let Ot=!1,ui;return ui=Ye(ei=>{if(!Ot)return ui?ui.dispose():Ot=!0,rt.call(Ft,ei)},null,Zt),Ot&&ui.dispose(),ui}}r.once=i;function n(Ye,rt,Ft){return _((Zt,Ot=null,ui)=>Ye(ei=>Zt.call(Ot,rt(ei)),null,ui),Ft)}r.map=n;function a(Ye,rt,Ft){return _((Zt,Ot=null,ui)=>Ye(ei=>{rt(ei),Zt.call(Ot,ei)},null,ui),Ft)}r.forEach=a;function o(Ye,rt,Ft){return _((Zt,Ot=null,ui)=>Ye(ei=>rt(ei)&&Zt.call(Ot,ei),null,ui),Ft)}r.filter=o;function c(Ye){return Ye}r.signal=c;function h(...Ye){return(rt,Ft=null,Zt)=>UC(...Ye.map(Ot=>Ot(ui=>rt.call(Ft,ui),null,Zt)))}r.any=h;function g(Ye,rt,Ft,Zt){let Ot=Ft;return n(Ye,ui=>(Ot=rt(Ot,ui),Ot),Zt)}r.reduce=g;function _(Ye,rt){let Ft;const Zt={onWillAddFirstListener(){Ft=Ye(Ot.fire,Ot)},onDidRemoveLastListener(){Ft==null||Ft.dispose()}},Ot=new yi(Zt);return rt==null||rt.add(Ot),Ot.event}function x(Ye,rt,Ft=100,Zt=!1,Ot=!1,ui,ei){let qu,mu,Kt,jr=0,Pu;const Oa={leakWarningThreshold:ui,onWillAddFirstListener(){qu=Ye(Pr=>{jr++,mu=rt(mu,Pr),Zt&&!Kt&&(Ku.fire(mu),mu=void 0),Pu=()=>{const Vn=mu;mu=void 0,Kt=void 0,(!Zt||jr>1)&&Ku.fire(Vn),jr=0},typeof Ft=="number"?(clearTimeout(Kt),Kt=setTimeout(Pu,Ft)):Kt===void 0&&(Kt=0,queueMicrotask(Pu))})},onWillRemoveListener(){Ot&&jr>0&&(Pu==null||Pu())},onDidRemoveLastListener(){Pu=void 0,qu.dispose()}},Ku=new yi(Oa);return ei==null||ei.add(Ku),Ku.event}r.debounce=x;function y(Ye,rt=0,Ft){return r.debounce(Ye,(Zt,Ot)=>Zt?(Zt.push(Ot),Zt):[Ot],rt,void 0,!0,void 0,Ft)}r.accumulate=y;function S(Ye,rt=(Zt,Ot)=>Zt===Ot,Ft){let Zt=!0,Ot;return o(Ye,ui=>{const ei=Zt||!rt(ui,Ot);return Zt=!1,Ot=ui,ei},Ft)}r.latch=S;function L(Ye,rt,Ft){return[r.filter(Ye,rt,Ft),r.filter(Ye,Zt=>!rt(Zt),Ft)]}r.split=L;function R(Ye,rt=!1,Ft=[]){let Zt=Ft.slice(),Ot=Ye(qu=>{Zt?Zt.push(qu):ei.fire(qu)});const ui=()=>{Zt==null||Zt.forEach(qu=>ei.fire(qu)),Zt=null},ei=new yi({onWillAddFirstListener(){Ot||(Ot=Ye(qu=>ei.fire(qu)))},onDidAddFirstListener(){Zt&&(rt?setTimeout(ui):ui())},onDidRemoveLastListener(){Ot&&Ot.dispose(),Ot=null}});return ei.event}r.buffer=R;class G{constructor(rt){this.event=rt,this.disposables=new cu}map(rt){return new G(n(this.event,rt,this.disposables))}forEach(rt){return new G(a(this.event,rt,this.disposables))}filter(rt){return new G(o(this.event,rt,this.disposables))}reduce(rt,Ft){return new G(g(this.event,rt,Ft,this.disposables))}latch(){return new G(S(this.event,void 0,this.disposables))}debounce(rt,Ft=100,Zt=!1,Ot=!1,ui){return new G(x(this.event,rt,Ft,Zt,Ot,ui,this.disposables))}on(rt,Ft,Zt){return this.event(rt,Ft,Zt)}once(rt,Ft,Zt){return i(this.event)(rt,Ft,Zt)}dispose(){this.disposables.dispose()}}function ie(Ye){return new G(Ye)}r.chain=ie;function ue(Ye,rt,Ft=Zt=>Zt){const Zt=(...qu)=>ei.fire(Ft(...qu)),Ot=()=>Ye.on(rt,Zt),ui=()=>Ye.removeListener(rt,Zt),ei=new yi({onWillAddFirstListener:Ot,onDidRemoveLastListener:ui});return ei.event}r.fromNodeEventEmitter=ue;function re(Ye,rt,Ft=Zt=>Zt){const Zt=(...qu)=>ei.fire(Ft(...qu)),Ot=()=>Ye.addEventListener(rt,Zt),ui=()=>Ye.removeEventListener(rt,Zt),ei=new yi({onWillAddFirstListener:Ot,onDidRemoveLastListener:ui});return ei.event}r.fromDOMEventEmitter=re;function _e(Ye){return new Promise(rt=>i(Ye)(rt))}r.toPromise=_e;function ye(Ye,rt){return rt(void 0),Ye(Ft=>rt(Ft))}r.runAndSubscribe=ye;function Le(Ye,rt){let Ft=null;function Zt(ui){Ft==null||Ft.dispose(),Ft=new cu,rt(ui,Ft)}Zt(void 0);const Ot=Ye(ui=>Zt(ui));return ws(()=>{Ot.dispose(),Ft==null||Ft.dispose()})}r.runAndSubscribeWithStore=Le;class st{constructor(rt,Ft){this.obs=rt,this._counter=0,this._hasChanged=!1;const Zt={onWillAddFirstListener:()=>{rt.addObserver(this)},onDidRemoveLastListener:()=>{rt.removeObserver(this)}};this.emitter=new yi(Zt),Ft&&Ft.add(this.emitter)}beginUpdate(rt){this._counter++}handleChange(rt,Ft){this._hasChanged=!0}endUpdate(rt){--this._counter===0&&this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this.obs.get()))}}function Ue(Ye,rt){return new st(Ye,rt).emitter.event}r.fromObservable=Ue})(Ma||(Ma={}));class TJ{constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${TJ._idPool++}`,TJ.all.add(this)}start(e){this._stopWatch=new j3(!0),this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}TJ.all=new Set;TJ._idPool=0;let kmi=-1;class Fmi{constructor(e,i=Math.random().toString(18).slice(2,5)){this.threshold=e,this.name=i,this._warnCountdown=0}dispose(){var e;(e=this._stacks)===null||e===void 0||e.clear()}check(e,i){const n=this.threshold;if(n<=0||i{const o=this._stacks.get(e.value)||0;this._stacks.set(e.value,o-1)}}}class wGe{static create(){var e;return new wGe((e=new Error().stack)!==null&&e!==void 0?e:"")}constructor(e){this.value=e}print(){console.warn(this.value.split(` +`).slice(2).join(` +`))}}class Ami{constructor(e,i,n){this.callback=e,this.callbackThis=i,this.stack=n,this.subscription=new Cmi}invoke(e){this.callback.call(this.callbackThis,e)}}let yi=class{constructor(e){var i,n,a,o,c;this._disposed=!1,this._options=e,this._leakageMon=!((i=this._options)===null||i===void 0)&&i.leakWarningThreshold?new Fmi((a=(n=this._options)===null||n===void 0?void 0:n.leakWarningThreshold)!==null&&a!==void 0?a:kmi):void 0,this._perfMon=!((o=this._options)===null||o===void 0)&&o._profName?new TJ(this._options._profName):void 0,this._deliveryQueue=(c=this._options)===null||c===void 0?void 0:c.deliveryQueue}dispose(){var e,i,n,a;this._disposed||(this._disposed=!0,this._listeners&&this._listeners.clear(),(e=this._deliveryQueue)===null||e===void 0||e.clear(this),(n=(i=this._options)===null||i===void 0?void 0:i.onDidRemoveLastListener)===null||n===void 0||n.call(i),(a=this._leakageMon)===null||a===void 0||a.dispose())}get event(){return this._event||(this._event=(e,i,n)=>{var a,o,c;if(this._listeners||(this._listeners=new eg),this._leakageMon&&this._listeners.size>this._leakageMon.threshold*3)return console.warn(`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far`),ln.None;const h=this._listeners.isEmpty();h&&(!((a=this._options)===null||a===void 0)&&a.onWillAddFirstListener)&&this._options.onWillAddFirstListener(this);let g,_;this._leakageMon&&this._listeners.size>=Math.ceil(this._leakageMon.threshold*.2)&&(_=wGe.create(),g=this._leakageMon.check(_,this._listeners.size+1));const x=new Ami(e,i,_),y=this._listeners.push(x);h&&(!((o=this._options)===null||o===void 0)&&o.onDidAddFirstListener)&&this._options.onDidAddFirstListener(this),!((c=this._options)===null||c===void 0)&&c.onDidAddListener&&this._options.onDidAddListener(this,e,i);const S=x.subscription.set(()=>{var L,R;g==null||g(),this._disposed||((R=(L=this._options)===null||L===void 0?void 0:L.onWillRemoveListener)===null||R===void 0||R.call(L,this),y(),this._options&&this._options.onDidRemoveLastListener&&(this._listeners&&!this._listeners.isEmpty()||this._options.onDidRemoveLastListener(this)))});return n instanceof cu?n.add(S):Array.isArray(n)&&n.push(S),S}),this._event}fire(e){var i,n,a;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Smi((i=this._options)===null||i===void 0?void 0:i.onListenerError));for(const o of this._listeners)this._deliveryQueue.push(this,o,e);(n=this._perfMon)===null||n===void 0||n.start(this._deliveryQueue.size),this._deliveryQueue.deliver(),(a=this._perfMon)===null||a===void 0||a.stop()}}hasListeners(){return this._listeners?!this._listeners.isEmpty():!1}};class gvt{constructor(e=Ts){this._onListenerError=e,this._queue=new eg}get size(){return this._queue.size}push(e,i,n){this._queue.push(new Bmi(e,i,n))}clear(e){const i=new eg;for(const n of this._queue)n.emitter!==e&&i.push(n);this._queue=i}deliver(){for(;this._queue.size>0;){const e=this._queue.shift();try{e.listener.invoke(e.event)}catch(i){this._onListenerError(i)}}}}class Smi extends gvt{clear(e){this._queue.clear()}}class Bmi{constructor(e,i,n){this.emitter=e,this.listener=i,this.event=n}}class LJ extends yi{constructor(e){super(e),this._isPaused=0,this._eventQueue=new eg,this._mergeFn=e==null?void 0:e.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const e=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(e))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(e){this._listeners&&(this._isPaused!==0?this._eventQueue.push(e):super.fire(e))}}class Evt extends LJ{constructor(e){var i;super(e),this._delay=(i=e.delay)!==null&&i!==void 0?i:100}fire(e){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(e)}}class wmi extends yi{constructor(e){super(e),this._queuedEvents=[],this._mergeFn=e==null?void 0:e.merge}fire(e){this.hasListeners()&&(this._queuedEvents.push(e),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(i=>super.fire(i)),this._queuedEvents=[]}))}}class Tmi{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new yi({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(e){const i={event:e,listener:null};return this.events.push(i),this.hasListeners&&this.hook(i),ws(AA(()=>{this.hasListeners&&this.unhook(i);const a=this.events.indexOf(i);this.events.splice(a,1)}))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(e=>this.hook(e))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(e=>this.unhook(e))}hook(e){e.listener=e.event(i=>this.emitter.fire(i))}unhook(e){e.listener&&e.listener.dispose(),e.listener=null}dispose(){this.emitter.dispose()}}class TGe{constructor(){this.buffers=[]}wrapEvent(e){return(i,n,a)=>e(o=>{const c=this.buffers[this.buffers.length-1];c?c.push(()=>i.call(n,o)):i.call(n,o)},void 0,a)}bufferEvents(e){const i=[];this.buffers.push(i);const n=e();return this.buffers.pop(),i.forEach(a=>a()),n}}class pgt{constructor(){this.listening=!1,this.inputEvent=Ma.None,this.inputEventListener=ln.None,this.emitter=new yi({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(e){this.inputEvent=e,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=e(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}const _vt=Object.freeze(function(r,e){const i=setTimeout(r.bind(e),0);return{dispose(){clearTimeout(i)}}});var g0;(function(r){function e(i){return i===r.None||i===r.Cancelled||i instanceof Y3e?!0:!i||typeof i!="object"?!1:typeof i.isCancellationRequested=="boolean"&&typeof i.onCancellationRequested=="function"}r.isCancellationToken=e,r.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:Ma.None}),r.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:_vt})})(g0||(g0={}));class Y3e{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?_vt:(this._emitter||(this._emitter=new yi),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}let kp=class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Y3e),this._token}cancel(){this._token?this._token instanceof Y3e&&this._token.cancel():this._token=g0.Cancelled}dispose(e=!1){var i;e&&this.cancel(),(i=this._parentListener)===null||i===void 0||i.dispose(),this._token?this._token instanceof Y3e&&this._token.dispose():this._token=g0.None}};class LGe{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,i){this._keyCodeToStr[e]=i,this._strToKeyCode[i.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}}const Q3e=new LGe,oje=new LGe,sje=new LGe,Dvt=new Array(230),Lmi=Object.create(null),Nmi=Object.create(null),NGe=[];for(let r=0;r<=193;r++)NGe[r]=-1;(function(){const r="",e=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",r,r],[0,1,1,"Hyper",0,r,0,r,r,r],[0,1,2,"Super",0,r,0,r,r,r],[0,1,3,"Fn",0,r,0,r,r,r],[0,1,4,"FnLock",0,r,0,r,r,r],[0,1,5,"Suspend",0,r,0,r,r,r],[0,1,6,"Resume",0,r,0,r,r,r],[0,1,7,"Turbo",0,r,0,r,r,r],[0,1,8,"Sleep",0,r,0,"VK_SLEEP",r,r],[0,1,9,"WakeUp",0,r,0,r,r,r],[31,0,10,"KeyA",31,"A",65,"VK_A",r,r],[32,0,11,"KeyB",32,"B",66,"VK_B",r,r],[33,0,12,"KeyC",33,"C",67,"VK_C",r,r],[34,0,13,"KeyD",34,"D",68,"VK_D",r,r],[35,0,14,"KeyE",35,"E",69,"VK_E",r,r],[36,0,15,"KeyF",36,"F",70,"VK_F",r,r],[37,0,16,"KeyG",37,"G",71,"VK_G",r,r],[38,0,17,"KeyH",38,"H",72,"VK_H",r,r],[39,0,18,"KeyI",39,"I",73,"VK_I",r,r],[40,0,19,"KeyJ",40,"J",74,"VK_J",r,r],[41,0,20,"KeyK",41,"K",75,"VK_K",r,r],[42,0,21,"KeyL",42,"L",76,"VK_L",r,r],[43,0,22,"KeyM",43,"M",77,"VK_M",r,r],[44,0,23,"KeyN",44,"N",78,"VK_N",r,r],[45,0,24,"KeyO",45,"O",79,"VK_O",r,r],[46,0,25,"KeyP",46,"P",80,"VK_P",r,r],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",r,r],[48,0,27,"KeyR",48,"R",82,"VK_R",r,r],[49,0,28,"KeyS",49,"S",83,"VK_S",r,r],[50,0,29,"KeyT",50,"T",84,"VK_T",r,r],[51,0,30,"KeyU",51,"U",85,"VK_U",r,r],[52,0,31,"KeyV",52,"V",86,"VK_V",r,r],[53,0,32,"KeyW",53,"W",87,"VK_W",r,r],[54,0,33,"KeyX",54,"X",88,"VK_X",r,r],[55,0,34,"KeyY",55,"Y",89,"VK_Y",r,r],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",r,r],[22,0,36,"Digit1",22,"1",49,"VK_1",r,r],[23,0,37,"Digit2",23,"2",50,"VK_2",r,r],[24,0,38,"Digit3",24,"3",51,"VK_3",r,r],[25,0,39,"Digit4",25,"4",52,"VK_4",r,r],[26,0,40,"Digit5",26,"5",53,"VK_5",r,r],[27,0,41,"Digit6",27,"6",54,"VK_6",r,r],[28,0,42,"Digit7",28,"7",55,"VK_7",r,r],[29,0,43,"Digit8",29,"8",56,"VK_8",r,r],[30,0,44,"Digit9",30,"9",57,"VK_9",r,r],[21,0,45,"Digit0",21,"0",48,"VK_0",r,r],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",r,r],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",r,r],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",r,r],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",r,r],[10,1,50,"Space",10,"Space",32,"VK_SPACE",r,r],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,r,0,r,r,r],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",r,r],[59,1,64,"F1",59,"F1",112,"VK_F1",r,r],[60,1,65,"F2",60,"F2",113,"VK_F2",r,r],[61,1,66,"F3",61,"F3",114,"VK_F3",r,r],[62,1,67,"F4",62,"F4",115,"VK_F4",r,r],[63,1,68,"F5",63,"F5",116,"VK_F5",r,r],[64,1,69,"F6",64,"F6",117,"VK_F6",r,r],[65,1,70,"F7",65,"F7",118,"VK_F7",r,r],[66,1,71,"F8",66,"F8",119,"VK_F8",r,r],[67,1,72,"F9",67,"F9",120,"VK_F9",r,r],[68,1,73,"F10",68,"F10",121,"VK_F10",r,r],[69,1,74,"F11",69,"F11",122,"VK_F11",r,r],[70,1,75,"F12",70,"F12",123,"VK_F12",r,r],[0,1,76,"PrintScreen",0,r,0,r,r,r],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",r,r],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",r,r],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",r,r],[14,1,80,"Home",14,"Home",36,"VK_HOME",r,r],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",r,r],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",r,r],[13,1,83,"End",13,"End",35,"VK_END",r,r],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",r,r],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",r],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",r],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",r],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",r],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",r,r],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",r,r],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",r,r],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",r,r],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",r,r],[3,1,94,"NumpadEnter",3,r,0,r,r,r],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",r,r],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",r,r],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",r,r],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",r,r],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",r,r],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",r,r],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",r,r],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",r,r],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",r,r],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",r,r],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",r,r],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",r,r],[58,1,107,"ContextMenu",58,"ContextMenu",93,r,r,r],[0,1,108,"Power",0,r,0,r,r,r],[0,1,109,"NumpadEqual",0,r,0,r,r,r],[71,1,110,"F13",71,"F13",124,"VK_F13",r,r],[72,1,111,"F14",72,"F14",125,"VK_F14",r,r],[73,1,112,"F15",73,"F15",126,"VK_F15",r,r],[74,1,113,"F16",74,"F16",127,"VK_F16",r,r],[75,1,114,"F17",75,"F17",128,"VK_F17",r,r],[76,1,115,"F18",76,"F18",129,"VK_F18",r,r],[77,1,116,"F19",77,"F19",130,"VK_F19",r,r],[0,1,117,"F20",0,r,0,"VK_F20",r,r],[0,1,118,"F21",0,r,0,"VK_F21",r,r],[0,1,119,"F22",0,r,0,"VK_F22",r,r],[0,1,120,"F23",0,r,0,"VK_F23",r,r],[0,1,121,"F24",0,r,0,"VK_F24",r,r],[0,1,122,"Open",0,r,0,r,r,r],[0,1,123,"Help",0,r,0,r,r,r],[0,1,124,"Select",0,r,0,r,r,r],[0,1,125,"Again",0,r,0,r,r,r],[0,1,126,"Undo",0,r,0,r,r,r],[0,1,127,"Cut",0,r,0,r,r,r],[0,1,128,"Copy",0,r,0,r,r,r],[0,1,129,"Paste",0,r,0,r,r,r],[0,1,130,"Find",0,r,0,r,r,r],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",r,r],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",r,r],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",r,r],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",r,r],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",r,r],[0,1,136,"KanaMode",0,r,0,r,r,r],[0,0,137,"IntlYen",0,r,0,r,r,r],[0,1,138,"Convert",0,r,0,r,r,r],[0,1,139,"NonConvert",0,r,0,r,r,r],[0,1,140,"Lang1",0,r,0,r,r,r],[0,1,141,"Lang2",0,r,0,r,r,r],[0,1,142,"Lang3",0,r,0,r,r,r],[0,1,143,"Lang4",0,r,0,r,r,r],[0,1,144,"Lang5",0,r,0,r,r,r],[0,1,145,"Abort",0,r,0,r,r,r],[0,1,146,"Props",0,r,0,r,r,r],[0,1,147,"NumpadParenLeft",0,r,0,r,r,r],[0,1,148,"NumpadParenRight",0,r,0,r,r,r],[0,1,149,"NumpadBackspace",0,r,0,r,r,r],[0,1,150,"NumpadMemoryStore",0,r,0,r,r,r],[0,1,151,"NumpadMemoryRecall",0,r,0,r,r,r],[0,1,152,"NumpadMemoryClear",0,r,0,r,r,r],[0,1,153,"NumpadMemoryAdd",0,r,0,r,r,r],[0,1,154,"NumpadMemorySubtract",0,r,0,r,r,r],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",r,r],[0,1,156,"NumpadClearEntry",0,r,0,r,r,r],[5,1,0,r,5,"Ctrl",17,"VK_CONTROL",r,r],[4,1,0,r,4,"Shift",16,"VK_SHIFT",r,r],[6,1,0,r,6,"Alt",18,"VK_MENU",r,r],[57,1,0,r,57,"Meta",91,"VK_COMMAND",r,r],[5,1,157,"ControlLeft",5,r,0,"VK_LCONTROL",r,r],[4,1,158,"ShiftLeft",4,r,0,"VK_LSHIFT",r,r],[6,1,159,"AltLeft",6,r,0,"VK_LMENU",r,r],[57,1,160,"MetaLeft",57,r,0,"VK_LWIN",r,r],[5,1,161,"ControlRight",5,r,0,"VK_RCONTROL",r,r],[4,1,162,"ShiftRight",4,r,0,"VK_RSHIFT",r,r],[6,1,163,"AltRight",6,r,0,"VK_RMENU",r,r],[57,1,164,"MetaRight",57,r,0,"VK_RWIN",r,r],[0,1,165,"BrightnessUp",0,r,0,r,r,r],[0,1,166,"BrightnessDown",0,r,0,r,r,r],[0,1,167,"MediaPlay",0,r,0,r,r,r],[0,1,168,"MediaRecord",0,r,0,r,r,r],[0,1,169,"MediaFastForward",0,r,0,r,r,r],[0,1,170,"MediaRewind",0,r,0,r,r,r],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",r,r],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",r,r],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",r,r],[0,1,174,"Eject",0,r,0,r,r,r],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",r,r],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",r,r],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",r,r],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",r,r],[0,1,179,"LaunchApp1",0,r,0,"VK_MEDIA_LAUNCH_APP1",r,r],[0,1,180,"SelectTask",0,r,0,r,r,r],[0,1,181,"LaunchScreenSaver",0,r,0,r,r,r],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",r,r],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",r,r],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",r,r],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",r,r],[0,1,186,"BrowserStop",0,r,0,"VK_BROWSER_STOP",r,r],[0,1,187,"BrowserRefresh",0,r,0,"VK_BROWSER_REFRESH",r,r],[0,1,188,"BrowserFavorites",0,r,0,"VK_BROWSER_FAVORITES",r,r],[0,1,189,"ZoomToggle",0,r,0,r,r,r],[0,1,190,"MailReply",0,r,0,r,r,r],[0,1,191,"MailForward",0,r,0,r,r,r],[0,1,192,"MailSend",0,r,0,r,r,r],[109,1,0,r,109,"KeyInComposition",229,r,r,r],[111,1,0,r,111,"ABNT_C2",194,"VK_ABNT_C2",r,r],[91,1,0,r,91,"OEM_8",223,"VK_OEM_8",r,r],[0,1,0,r,0,r,0,"VK_KANA",r,r],[0,1,0,r,0,r,0,"VK_HANGUL",r,r],[0,1,0,r,0,r,0,"VK_JUNJA",r,r],[0,1,0,r,0,r,0,"VK_FINAL",r,r],[0,1,0,r,0,r,0,"VK_HANJA",r,r],[0,1,0,r,0,r,0,"VK_KANJI",r,r],[0,1,0,r,0,r,0,"VK_CONVERT",r,r],[0,1,0,r,0,r,0,"VK_NONCONVERT",r,r],[0,1,0,r,0,r,0,"VK_ACCEPT",r,r],[0,1,0,r,0,r,0,"VK_MODECHANGE",r,r],[0,1,0,r,0,r,0,"VK_SELECT",r,r],[0,1,0,r,0,r,0,"VK_PRINT",r,r],[0,1,0,r,0,r,0,"VK_EXECUTE",r,r],[0,1,0,r,0,r,0,"VK_SNAPSHOT",r,r],[0,1,0,r,0,r,0,"VK_HELP",r,r],[0,1,0,r,0,r,0,"VK_APPS",r,r],[0,1,0,r,0,r,0,"VK_PROCESSKEY",r,r],[0,1,0,r,0,r,0,"VK_PACKET",r,r],[0,1,0,r,0,r,0,"VK_DBE_SBCSCHAR",r,r],[0,1,0,r,0,r,0,"VK_DBE_DBCSCHAR",r,r],[0,1,0,r,0,r,0,"VK_ATTN",r,r],[0,1,0,r,0,r,0,"VK_CRSEL",r,r],[0,1,0,r,0,r,0,"VK_EXSEL",r,r],[0,1,0,r,0,r,0,"VK_EREOF",r,r],[0,1,0,r,0,r,0,"VK_PLAY",r,r],[0,1,0,r,0,r,0,"VK_ZOOM",r,r],[0,1,0,r,0,r,0,"VK_NONAME",r,r],[0,1,0,r,0,r,0,"VK_PA1",r,r],[0,1,0,r,0,r,0,"VK_OEM_CLEAR",r,r]],i=[],n=[];for(const a of e){const[o,c,h,g,_,x,y,S,L,R]=a;if(n[h]||(n[h]=!0,Lmi[g]=h,Nmi[g.toLowerCase()]=h,c&&(NGe[h]=_)),!i[_]){if(i[_]=!0,!x)throw new Error(`String representation missing for key code ${_} around scan code ${g}`);Q3e.define(_,x),oje.define(_,L||x),sje.define(_,R||L||x)}y&&(Dvt[y]=_)}})();var kS;(function(r){function e(h){return Q3e.keyCodeToStr(h)}r.toString=e;function i(h){return Q3e.strToKeyCode(h)}r.fromString=i;function n(h){return oje.keyCodeToStr(h)}r.toUserSettingsUS=n;function a(h){return sje.keyCodeToStr(h)}r.toUserSettingsGeneral=a;function o(h){return oje.strToKeyCode(h)||sje.strToKeyCode(h)}r.fromUserSettings=o;function c(h){if(h>=93&&h<=108)return null;switch(h){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return Q3e.keyCodeToStr(h)}r.toElectronAccelerator=c})(kS||(kS={}));function Fm(r,e){const i=(e&65535)<<16>>>0;return(r|i)>>>0}var ggt={};let QG;if(typeof jD.vscode<"u"&&typeof jD.vscode.process<"u"){const r=jD.vscode.process;QG={get platform(){return r.platform},get arch(){return r.arch},get env(){return r.env},cwd(){return r.cwd()}}}else typeof process<"u"?QG={get platform(){return process.platform},get arch(){return process.arch},get env(){return ggt},cwd(){return ggt.VSCODE_CWD||process.cwd()}}:QG={get platform(){return yp?"win32":c0?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const e5e=QG.cwd,Pmi=QG.env,Mmi=QG.platform,zmi=65,Imi=97,Rmi=90,Omi=122,_L=46,NE=47,U5=92,vT=58,jmi=63;class xvt extends Error{constructor(e,i,n){let a;typeof i=="string"&&i.indexOf("not ")===0?(a="must not be",i=i.replace(/^not /,"")):a="must be";const o=e.indexOf(".")!==-1?"property":"argument";let c=`The "${e}" ${o} ${a} of type ${i}`;c+=`. Received type ${typeof n}`,super(c),this.code="ERR_INVALID_ARG_TYPE"}}function Vmi(r,e){if(r===null||typeof r!="object")throw new xvt(e,"Object",r)}function w4(r,e){if(typeof r!="string")throw new xvt(e,"string",r)}const oN=Mmi==="win32";function fc(r){return r===NE||r===U5}function lje(r){return r===NE}function CT(r){return r>=zmi&&r<=Rmi||r>=Imi&&r<=Omi}function t5e(r,e,i,n){let a="",o=0,c=-1,h=0,g=0;for(let _=0;_<=r.length;++_){if(_2){const x=a.lastIndexOf(i);x===-1?(a="",o=0):(a=a.slice(0,x),o=a.length-1-a.lastIndexOf(i)),c=_,h=0;continue}else if(a.length!==0){a="",o=0,c=_,h=0;continue}}e&&(a+=a.length>0?`${i}..`:"..",o=2)}else a.length>0?a+=`${i}${r.slice(c+1,_)}`:a=r.slice(c+1,_),o=_-c-1;c=_,h=0}else g===_L&&h!==-1?++h:h=-1}return a}function vvt(r,e){Vmi(e,"pathObject");const i=e.dir||e.root,n=e.base||`${e.name||""}${e.ext||""}`;return i?i===e.root?`${i}${n}`:`${i}${r}${n}`:n}const RD={resolve(...r){let e="",i="",n=!1;for(let a=r.length-1;a>=-1;a--){let o;if(a>=0){if(o=r[a],w4(o,"path"),o.length===0)continue}else e.length===0?o=e5e():(o=Pmi[`=${e}`]||e5e(),(o===void 0||o.slice(0,2).toLowerCase()!==e.toLowerCase()&&o.charCodeAt(2)===U5)&&(o=`${e}\\`));const c=o.length;let h=0,g="",_=!1;const x=o.charCodeAt(0);if(c===1)fc(x)&&(h=1,_=!0);else if(fc(x))if(_=!0,fc(o.charCodeAt(1))){let y=2,S=y;for(;y2&&fc(o.charCodeAt(2))&&(_=!0,h=3));if(g.length>0)if(e.length>0){if(g.toLowerCase()!==e.toLowerCase())continue}else e=g;if(n){if(e.length>0)break}else if(i=`${o.slice(h)}\\${i}`,n=_,_&&e.length>0)break}return i=t5e(i,!n,"\\",fc),n?`${e}\\${i}`:`${e}${i}`||"."},normalize(r){w4(r,"path");const e=r.length;if(e===0)return".";let i=0,n,a=!1;const o=r.charCodeAt(0);if(e===1)return lje(o)?"\\":r;if(fc(o))if(a=!0,fc(r.charCodeAt(1))){let h=2,g=h;for(;h2&&fc(r.charCodeAt(2))&&(a=!0,i=3));let c=i0&&fc(r.charCodeAt(e-1))&&(c+="\\"),n===void 0?a?`\\${c}`:c:a?`${n}\\${c}`:`${n}${c}`},isAbsolute(r){w4(r,"path");const e=r.length;if(e===0)return!1;const i=r.charCodeAt(0);return fc(i)||e>2&&CT(i)&&r.charCodeAt(1)===vT&&fc(r.charCodeAt(2))},join(...r){if(r.length===0)return".";let e,i;for(let o=0;o0&&(e===void 0?e=i=c:e+=`\\${c}`)}if(e===void 0)return".";let n=!0,a=0;if(typeof i=="string"&&fc(i.charCodeAt(0))){++a;const o=i.length;o>1&&fc(i.charCodeAt(1))&&(++a,o>2&&(fc(i.charCodeAt(2))?++a:n=!1))}if(n){for(;a=2&&(e=`\\${e.slice(a)}`)}return RD.normalize(e)},relative(r,e){if(w4(r,"from"),w4(e,"to"),r===e)return"";const i=RD.resolve(r),n=RD.resolve(e);if(i===n||(r=i.toLowerCase(),e=n.toLowerCase(),r===e))return"";let a=0;for(;aa&&r.charCodeAt(o-1)===U5;)o--;const c=o-a;let h=0;for(;hh&&e.charCodeAt(g-1)===U5;)g--;const _=g-h,x=c<_?c:_;let y=-1,S=0;for(;Sx){if(e.charCodeAt(h+S)===U5)return n.slice(h+S+1);if(S===2)return n.slice(h+S)}c>x&&(r.charCodeAt(a+S)===U5?y=S:S===2&&(y=3)),y===-1&&(y=0)}let L="";for(S=a+y+1;S<=o;++S)(S===o||r.charCodeAt(S)===U5)&&(L+=L.length===0?"..":"\\..");return h+=y,L.length>0?`${L}${n.slice(h,g)}`:(n.charCodeAt(h)===U5&&++h,n.slice(h,g))},toNamespacedPath(r){if(typeof r!="string"||r.length===0)return r;const e=RD.resolve(r);if(e.length<=2)return r;if(e.charCodeAt(0)===U5){if(e.charCodeAt(1)===U5){const i=e.charCodeAt(2);if(i!==jmi&&i!==_L)return`\\\\?\\UNC\\${e.slice(2)}`}}else if(CT(e.charCodeAt(0))&&e.charCodeAt(1)===vT&&e.charCodeAt(2)===U5)return`\\\\?\\${e}`;return r},dirname(r){w4(r,"path");const e=r.length;if(e===0)return".";let i=-1,n=0;const a=r.charCodeAt(0);if(e===1)return fc(a)?r:".";if(fc(a)){if(i=n=1,fc(r.charCodeAt(1))){let h=2,g=h;for(;h2&&fc(r.charCodeAt(2))?3:2,n=i);let o=-1,c=!0;for(let h=e-1;h>=n;--h)if(fc(r.charCodeAt(h))){if(!c){o=h;break}}else c=!1;if(o===-1){if(i===-1)return".";o=i}return r.slice(0,o)},basename(r,e){e!==void 0&&w4(e,"ext"),w4(r,"path");let i=0,n=-1,a=!0,o;if(r.length>=2&&CT(r.charCodeAt(0))&&r.charCodeAt(1)===vT&&(i=2),e!==void 0&&e.length>0&&e.length<=r.length){if(e===r)return"";let c=e.length-1,h=-1;for(o=r.length-1;o>=i;--o){const g=r.charCodeAt(o);if(fc(g)){if(!a){i=o+1;break}}else h===-1&&(a=!1,h=o+1),c>=0&&(g===e.charCodeAt(c)?--c===-1&&(n=o):(c=-1,n=h))}return i===n?n=h:n===-1&&(n=r.length),r.slice(i,n)}for(o=r.length-1;o>=i;--o)if(fc(r.charCodeAt(o))){if(!a){i=o+1;break}}else n===-1&&(a=!1,n=o+1);return n===-1?"":r.slice(i,n)},extname(r){w4(r,"path");let e=0,i=-1,n=0,a=-1,o=!0,c=0;r.length>=2&&r.charCodeAt(1)===vT&&CT(r.charCodeAt(0))&&(e=n=2);for(let h=r.length-1;h>=e;--h){const g=r.charCodeAt(h);if(fc(g)){if(!o){n=h+1;break}continue}a===-1&&(o=!1,a=h+1),g===_L?i===-1?i=h:c!==1&&(c=1):i!==-1&&(c=-1)}return i===-1||a===-1||c===0||c===1&&i===a-1&&i===n+1?"":r.slice(i,a)},format:vvt.bind(null,"\\"),parse(r){w4(r,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(r.length===0)return e;const i=r.length;let n=0,a=r.charCodeAt(0);if(i===1)return fc(a)?(e.root=e.dir=r,e):(e.base=e.name=r,e);if(fc(a)){if(n=1,fc(r.charCodeAt(1))){let y=2,S=y;for(;y0&&(e.root=r.slice(0,n));let o=-1,c=n,h=-1,g=!0,_=r.length-1,x=0;for(;_>=n;--_){if(a=r.charCodeAt(_),fc(a)){if(!g){c=_+1;break}continue}h===-1&&(g=!1,h=_+1),a===_L?o===-1?o=_:x!==1&&(x=1):o!==-1&&(x=-1)}return h!==-1&&(o===-1||x===0||x===1&&o===h-1&&o===c+1?e.base=e.name=r.slice(c,h):(e.name=r.slice(c,o),e.base=r.slice(c,h),e.ext=r.slice(o,h))),c>0&&c!==n?e.dir=r.slice(0,c-1):e.dir=e.root,e},sep:"\\",delimiter:";",win32:null,posix:null},Hmi=(()=>{if(oN){const r=/\\/g;return()=>{const e=e5e().replace(r,"/");return e.slice(e.indexOf("/"))}}return()=>e5e()})(),im={resolve(...r){let e="",i=!1;for(let n=r.length-1;n>=-1&&!i;n--){const a=n>=0?r[n]:Hmi();w4(a,"path"),a.length!==0&&(e=`${a}/${e}`,i=a.charCodeAt(0)===NE)}return e=t5e(e,!i,"/",lje),i?`/${e}`:e.length>0?e:"."},normalize(r){if(w4(r,"path"),r.length===0)return".";const e=r.charCodeAt(0)===NE,i=r.charCodeAt(r.length-1)===NE;return r=t5e(r,!e,"/",lje),r.length===0?e?"/":i?"./":".":(i&&(r+="/"),e?`/${r}`:r)},isAbsolute(r){return w4(r,"path"),r.length>0&&r.charCodeAt(0)===NE},join(...r){if(r.length===0)return".";let e;for(let i=0;i0&&(e===void 0?e=n:e+=`/${n}`)}return e===void 0?".":im.normalize(e)},relative(r,e){if(w4(r,"from"),w4(e,"to"),r===e||(r=im.resolve(r),e=im.resolve(e),r===e))return"";const i=1,n=r.length,a=n-i,o=1,c=e.length-o,h=ah){if(e.charCodeAt(o+_)===NE)return e.slice(o+_+1);if(_===0)return e.slice(o+_)}else a>h&&(r.charCodeAt(i+_)===NE?g=_:_===0&&(g=0));let x="";for(_=i+g+1;_<=n;++_)(_===n||r.charCodeAt(_)===NE)&&(x+=x.length===0?"..":"/..");return`${x}${e.slice(o+g)}`},toNamespacedPath(r){return r},dirname(r){if(w4(r,"path"),r.length===0)return".";const e=r.charCodeAt(0)===NE;let i=-1,n=!0;for(let a=r.length-1;a>=1;--a)if(r.charCodeAt(a)===NE){if(!n){i=a;break}}else n=!1;return i===-1?e?"/":".":e&&i===1?"//":r.slice(0,i)},basename(r,e){e!==void 0&&w4(e,"ext"),w4(r,"path");let i=0,n=-1,a=!0,o;if(e!==void 0&&e.length>0&&e.length<=r.length){if(e===r)return"";let c=e.length-1,h=-1;for(o=r.length-1;o>=0;--o){const g=r.charCodeAt(o);if(g===NE){if(!a){i=o+1;break}}else h===-1&&(a=!1,h=o+1),c>=0&&(g===e.charCodeAt(c)?--c===-1&&(n=o):(c=-1,n=h))}return i===n?n=h:n===-1&&(n=r.length),r.slice(i,n)}for(o=r.length-1;o>=0;--o)if(r.charCodeAt(o)===NE){if(!a){i=o+1;break}}else n===-1&&(a=!1,n=o+1);return n===-1?"":r.slice(i,n)},extname(r){w4(r,"path");let e=-1,i=0,n=-1,a=!0,o=0;for(let c=r.length-1;c>=0;--c){const h=r.charCodeAt(c);if(h===NE){if(!a){i=c+1;break}continue}n===-1&&(a=!1,n=c+1),h===_L?e===-1?e=c:o!==1&&(o=1):e!==-1&&(o=-1)}return e===-1||n===-1||o===0||o===1&&e===n-1&&e===i+1?"":r.slice(e,n)},format:vvt.bind(null,"/"),parse(r){w4(r,"path");const e={root:"",dir:"",base:"",ext:"",name:""};if(r.length===0)return e;const i=r.charCodeAt(0)===NE;let n;i?(e.root="/",n=1):n=0;let a=-1,o=0,c=-1,h=!0,g=r.length-1,_=0;for(;g>=n;--g){const x=r.charCodeAt(g);if(x===NE){if(!h){o=g+1;break}continue}c===-1&&(h=!1,c=g+1),x===_L?a===-1?a=g:_!==1&&(_=1):a!==-1&&(_=-1)}if(c!==-1){const x=o===0&&i?1:o;a===-1||_===0||_===1&&a===c-1&&a===o+1?e.base=e.name=r.slice(x,c):(e.name=r.slice(x,a),e.base=r.slice(x,c),e.ext=r.slice(a,c))}return o>0?e.dir=r.slice(0,o-1):i&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};im.win32=RD.win32=RD;im.posix=RD.posix=im;const Cvt=oN?RD.normalize:im.normalize,Kmi=oN?RD.resolve:im.resolve,Wmi=oN?RD.relative:im.relative,bvt=oN?RD.dirname:im.dirname,DL=oN?RD.basename:im.basename,Gmi=oN?RD.extname:im.extname,_y=oN?RD.sep:im.sep,Jmi=/^\w[\w\d+.-]*$/,$mi=/^\//,Umi=/^\/\//;function Egt(r,e){if(!r.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${r.authority}", path: "${r.path}", query: "${r.query}", fragment: "${r.fragment}"}`);if(r.scheme&&!Jmi.test(r.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(r.path){if(r.authority){if(!$mi.test(r.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(Umi.test(r.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function qmi(r,e){return!r&&!e?"file":r}function Zmi(r,e){switch(r){case"https":case"http":case"file":e?e[0]!==Xb&&(e=Xb+e):e=Xb;break}return e}const ff="",Xb="/",Ymi=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class Xa{static isUri(e){return e instanceof Xa?!0:e?typeof e.authority=="string"&&typeof e.fragment=="string"&&typeof e.path=="string"&&typeof e.query=="string"&&typeof e.scheme=="string"&&typeof e.fsPath=="string"&&typeof e.with=="function"&&typeof e.toString=="function":!1}constructor(e,i,n,a,o,c=!1){typeof e=="object"?(this.scheme=e.scheme||ff,this.authority=e.authority||ff,this.path=e.path||ff,this.query=e.query||ff,this.fragment=e.fragment||ff):(this.scheme=qmi(e,c),this.authority=i||ff,this.path=Zmi(this.scheme,n||ff),this.query=a||ff,this.fragment=o||ff,Egt(this,c))}get fsPath(){return i5e(this,!1)}with(e){if(!e)return this;let{scheme:i,authority:n,path:a,query:o,fragment:c}=e;return i===void 0?i=this.scheme:i===null&&(i=ff),n===void 0?n=this.authority:n===null&&(n=ff),a===void 0?a=this.path:a===null&&(a=ff),o===void 0?o=this.query:o===null&&(o=ff),c===void 0?c=this.fragment:c===null&&(c=ff),i===this.scheme&&n===this.authority&&a===this.path&&o===this.query&&c===this.fragment?this:new HW(i,n,a,o,c)}static parse(e,i=!1){const n=Ymi.exec(e);return n?new HW(n[2]||ff,y_e(n[4]||ff),y_e(n[5]||ff),y_e(n[7]||ff),y_e(n[9]||ff),i):new HW(ff,ff,ff,ff,ff)}static file(e){let i=ff;if(yp&&(e=e.replace(/\\/g,Xb)),e[0]===Xb&&e[1]===Xb){const n=e.indexOf(Xb,2);n===-1?(i=e.substring(2),e=Xb):(i=e.substring(2,n),e=e.substring(n)||Xb)}return new HW("file",i,e,ff,ff)}static from(e){const i=new HW(e.scheme,e.authority,e.path,e.query,e.fragment);return Egt(i,!0),i}static joinPath(e,...i){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return yp&&e.scheme==="file"?n=Xa.file(RD.join(i5e(e,!0),...i)).path:n=im.join(e.path,...i),e.with({path:n})}toString(e=!1){return cje(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof Xa)return e;{const i=new HW(e);return i._formatted=e.external,i._fsPath=e._sep===yvt?e.fsPath:null,i}}else return e}}const yvt=yp?1:void 0;let HW=class extends Xa{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=i5e(this,!1)),this._fsPath}toString(e=!1){return e?cje(this,!0):(this._formatted||(this._formatted=cje(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=yvt),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}};const kvt={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function _gt(r,e,i){let n,a=-1;for(let o=0;o=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===45||c===46||c===95||c===126||e&&c===47||i&&c===91||i&&c===93||i&&c===58)a!==-1&&(n+=encodeURIComponent(r.substring(a,o)),a=-1),n!==void 0&&(n+=r.charAt(o));else{n===void 0&&(n=r.substr(0,o));const h=kvt[c];h!==void 0?(a!==-1&&(n+=encodeURIComponent(r.substring(a,o)),a=-1),n+=h):a===-1&&(a=o)}}return a!==-1&&(n+=encodeURIComponent(r.substring(a))),n!==void 0?n:r}function Qmi(r){let e;for(let i=0;i1&&r.scheme==="file"?i=`//${r.authority}${r.path}`:r.path.charCodeAt(0)===47&&(r.path.charCodeAt(1)>=65&&r.path.charCodeAt(1)<=90||r.path.charCodeAt(1)>=97&&r.path.charCodeAt(1)<=122)&&r.path.charCodeAt(2)===58?e?i=r.path.substr(1):i=r.path[1].toLowerCase()+r.path.substr(2):i=r.path,yp&&(i=i.replace(/\//g,"\\")),i}function cje(r,e){const i=e?Qmi:_gt;let n="",{scheme:a,authority:o,path:c,query:h,fragment:g}=r;if(a&&(n+=a,n+=":"),(o||a==="file")&&(n+=Xb,n+=Xb),o){let _=o.indexOf("@");if(_!==-1){const x=o.substr(0,_);o=o.substr(_+1),_=x.lastIndexOf(":"),_===-1?n+=i(x,!1,!1):(n+=i(x.substr(0,_),!1,!1),n+=":",n+=i(x.substr(_+1),!1,!0)),n+="@"}o=o.toLowerCase(),_=o.lastIndexOf(":"),_===-1?n+=i(o,!1,!0):(n+=i(o.substr(0,_),!1,!0),n+=o.substr(_))}if(c){if(c.length>=3&&c.charCodeAt(0)===47&&c.charCodeAt(2)===58){const _=c.charCodeAt(1);_>=65&&_<=90&&(c=`/${String.fromCharCode(_+32)}:${c.substr(3)}`)}else if(c.length>=2&&c.charCodeAt(1)===58){const _=c.charCodeAt(0);_>=65&&_<=90&&(c=`${String.fromCharCode(_+32)}:${c.substr(2)}`)}n+=i(c,!0,!1)}return h&&(n+="?",n+=i(h,!1,!1)),g&&(n+="#",n+=e?g:_gt(g,!1,!1)),n}function Fvt(r){try{return decodeURIComponent(r)}catch{return r.length>3?r.substr(0,3)+Fvt(r.substr(3)):r}}const Dgt=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function y_e(r){return r.match(Dgt)?r.replace(Dgt,e=>Fvt(e)):r}let Hi=class cI{constructor(e,i){this.lineNumber=e,this.column=i}with(e=this.lineNumber,i=this.column){return e===this.lineNumber&&i===this.column?this:new cI(e,i)}delta(e=0,i=0){return this.with(this.lineNumber+e,this.column+i)}equals(e){return cI.equals(this,e)}static equals(e,i){return!e&&!i?!0:!!e&&!!i&&e.lineNumber===i.lineNumber&&e.column===i.column}isBefore(e){return cI.isBefore(this,e)}static isBefore(e,i){return e.lineNumbern||e===n&&i>a?(this.startLineNumber=n,this.startColumn=a,this.endLineNumber=e,this.endColumn=i):(this.startLineNumber=e,this.startColumn=i,this.endLineNumber=n,this.endColumn=a)}isEmpty(){return fp.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return fp.containsPosition(this,e)}static containsPosition(e,i){return!(i.lineNumbere.endLineNumber||i.lineNumber===e.startLineNumber&&i.columne.endColumn)}static strictContainsPosition(e,i){return!(i.lineNumbere.endLineNumber||i.lineNumber===e.startLineNumber&&i.column<=e.startColumn||i.lineNumber===e.endLineNumber&&i.column>=e.endColumn)}containsRange(e){return fp.containsRange(this,e)}static containsRange(e,i){return!(i.startLineNumbere.endLineNumber||i.endLineNumber>e.endLineNumber||i.startLineNumber===e.startLineNumber&&i.startColumne.endColumn)}strictContainsRange(e){return fp.strictContainsRange(this,e)}static strictContainsRange(e,i){return!(i.startLineNumbere.endLineNumber||i.endLineNumber>e.endLineNumber||i.startLineNumber===e.startLineNumber&&i.startColumn<=e.startColumn||i.endLineNumber===e.endLineNumber&&i.endColumn>=e.endColumn)}plusRange(e){return fp.plusRange(this,e)}static plusRange(e,i){let n,a,o,c;return i.startLineNumbere.endLineNumber?(o=i.endLineNumber,c=i.endColumn):i.endLineNumber===e.endLineNumber?(o=i.endLineNumber,c=Math.max(i.endColumn,e.endColumn)):(o=e.endLineNumber,c=e.endColumn),new fp(n,a,o,c)}intersectRanges(e){return fp.intersectRanges(this,e)}static intersectRanges(e,i){let n=e.startLineNumber,a=e.startColumn,o=e.endLineNumber,c=e.endColumn;const h=i.startLineNumber,g=i.startColumn,_=i.endLineNumber,x=i.endColumn;return n_?(o=_,c=x):o===_&&(c=Math.min(c,x)),n>o||n===o&&a>c?null:new fp(n,a,o,c)}equalsRange(e){return fp.equalsRange(this,e)}static equalsRange(e,i){return!e&&!i?!0:!!e&&!!i&&e.startLineNumber===i.startLineNumber&&e.startColumn===i.startColumn&&e.endLineNumber===i.endLineNumber&&e.endColumn===i.endColumn}getEndPosition(){return fp.getEndPosition(this)}static getEndPosition(e){return new Hi(e.endLineNumber,e.endColumn)}getStartPosition(){return fp.getStartPosition(this)}static getStartPosition(e){return new Hi(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,i){return new fp(this.startLineNumber,this.startColumn,e,i)}setStartPosition(e,i){return new fp(e,i,this.endLineNumber,this.endColumn)}collapseToStart(){return fp.collapseToStart(this)}static collapseToStart(e){return new fp(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return fp.collapseToEnd(this)}static collapseToEnd(e){return new fp(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new fp(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,i=e){return new fp(e.lineNumber,e.column,i.lineNumber,i.column)}static lift(e){return e?new fp(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&typeof e.startLineNumber=="number"&&typeof e.startColumn=="number"&&typeof e.endLineNumber=="number"&&typeof e.endColumn=="number"}static areIntersectingOrTouching(e,i){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}},pa=class IC extends ot{constructor(e,i,n,a){super(e,i,n,a),this.selectionStartLineNumber=e,this.selectionStartColumn=i,this.positionLineNumber=n,this.positionColumn=a}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return IC.selectionsEqual(this,e)}static selectionsEqual(e,i){return e.selectionStartLineNumber===i.selectionStartLineNumber&&e.selectionStartColumn===i.selectionStartColumn&&e.positionLineNumber===i.positionLineNumber&&e.positionColumn===i.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,i){return this.getDirection()===0?new IC(this.startLineNumber,this.startColumn,e,i):new IC(e,i,this.startLineNumber,this.startColumn)}getPosition(){return new Hi(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Hi(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,i){return this.getDirection()===0?new IC(e,i,this.endLineNumber,this.endColumn):new IC(this.endLineNumber,this.endColumn,e,i)}static fromPositions(e,i=e){return new IC(e.lineNumber,e.column,i.lineNumber,i.column)}static fromRange(e,i){return i===0?new IC(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new IC(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new IC(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,i){if(e&&!i||!e&&i)return!1;if(!e&&!i)return!0;if(e.length!==i.length)return!1;for(let n=0,a=e.length;n{this._tokenizationSupports.get(e)===i&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,i){var n;(n=this._factories.get(e))===null||n===void 0||n.dispose();const a=new e4i(this,e,i);return this._factories.set(e,a),ws(()=>{const o=this._factories.get(e);!o||o!==a||(this._factories.delete(e),o.dispose())})}getOrCreate(e){return hje(this,void 0,void 0,function*(){const i=this.get(e);if(i)return i;const n=this._factories.get(e);return!n||n.isResolved?null:(yield n.resolve(),this.get(e))})}isResolved(e){if(this.get(e))return!0;const n=this._factories.get(e);return!!(!n||n.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}};class e4i extends ln{get isResolved(){return this._isResolved}constructor(e,i,n){super(),this._registry=e,this._languageId=i,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return hje(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return hje(this,void 0,void 0,function*(){const e=yield this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))})}}let Sue=class{constructor(e,i,n){this.offset=e,this.type=i,this.language=n,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}};class PGe{constructor(e,i){this.tokens=e,this.endState=i,this._tokenizationResultBrand=void 0}}class D6e{constructor(e,i){this.tokens=e,this.endState=i,this._encodedTokenizationResultBrand=void 0}}var Bue;(function(r){const e=new Map;e.set(0,lr.symbolMethod),e.set(1,lr.symbolFunction),e.set(2,lr.symbolConstructor),e.set(3,lr.symbolField),e.set(4,lr.symbolVariable),e.set(5,lr.symbolClass),e.set(6,lr.symbolStruct),e.set(7,lr.symbolInterface),e.set(8,lr.symbolModule),e.set(9,lr.symbolProperty),e.set(10,lr.symbolEvent),e.set(11,lr.symbolOperator),e.set(12,lr.symbolUnit),e.set(13,lr.symbolValue),e.set(15,lr.symbolEnum),e.set(14,lr.symbolConstant),e.set(15,lr.symbolEnum),e.set(16,lr.symbolEnumMember),e.set(17,lr.symbolKeyword),e.set(27,lr.symbolSnippet),e.set(18,lr.symbolText),e.set(19,lr.symbolColor),e.set(20,lr.symbolFile),e.set(21,lr.symbolReference),e.set(22,lr.symbolCustomColor),e.set(23,lr.symbolFolder),e.set(24,lr.symbolTypeParameter),e.set(25,lr.account),e.set(26,lr.issues);function i(o){let c=e.get(o);return c||(console.info("No codicon found for CompletionItemKind "+o),c=lr.symbolProperty),c}r.toIcon=i;const n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",27),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26);function a(o,c){let h=n.get(o);return typeof h>"u"&&!c&&(h=9),h}r.fromString=a})(Bue||(Bue={}));var X5;(function(r){r[r.Automatic=0]="Automatic",r[r.Explicit=1]="Explicit"})(X5||(X5={}));var _A;(function(r){r[r.Invoke=1]="Invoke",r[r.TriggerCharacter=2]="TriggerCharacter",r[r.ContentChange=3]="ContentChange"})(_A||(_A={}));var wue;(function(r){r[r.Text=0]="Text",r[r.Read=1]="Read",r[r.Write=2]="Write"})(wue||(wue={}));function t4i(r){return r&&Xa.isUri(r.uri)&&ot.isIRange(r.range)&&(ot.isIRange(r.originSelectionRange)||ot.isIRange(r.targetSelectionRange))}var fje;(function(r){const e=new Map;e.set(0,lr.symbolFile),e.set(1,lr.symbolModule),e.set(2,lr.symbolNamespace),e.set(3,lr.symbolPackage),e.set(4,lr.symbolClass),e.set(5,lr.symbolMethod),e.set(6,lr.symbolProperty),e.set(7,lr.symbolField),e.set(8,lr.symbolConstructor),e.set(9,lr.symbolEnum),e.set(10,lr.symbolInterface),e.set(11,lr.symbolFunction),e.set(12,lr.symbolVariable),e.set(13,lr.symbolConstant),e.set(14,lr.symbolString),e.set(15,lr.symbolNumber),e.set(16,lr.symbolBoolean),e.set(17,lr.symbolArray),e.set(18,lr.symbolObject),e.set(19,lr.symbolKey),e.set(20,lr.symbolNull),e.set(21,lr.symbolEnumMember),e.set(22,lr.symbolStruct),e.set(23,lr.symbolEvent),e.set(24,lr.symbolOperator),e.set(25,lr.symbolTypeParameter);function i(n){let a=e.get(n);return a||(console.info("No codicon found for SymbolKind "+n),a=lr.symbolProperty),a}r.toIcon=i})(fje||(fje={}));class L_{static fromValue(e){switch(e){case"comment":return L_.Comment;case"imports":return L_.Imports;case"region":return L_.Region}return new L_(e)}constructor(e){this.value=e}}L_.Comment=new L_("comment");L_.Imports=new L_("imports");L_.Region=new L_("region");var mje;(function(r){function e(i){return!i||typeof i!="object"?!1:typeof i.id=="string"&&typeof i.title=="string"}r.is=e})(mje||(mje={}));var n5e;(function(r){r[r.Type=1]="Type",r[r.Parameter=2]="Parameter"})(n5e||(n5e={}));class i4i{constructor(e){this.createSupport=e,this._tokenizationSupport=null}dispose(){this._tokenizationSupport&&this._tokenizationSupport.then(e=>{e&&e.dispose()})}get tokenizationSupport(){return this._tokenizationSupport||(this._tokenizationSupport=this.createSupport()),this._tokenizationSupport}}const ah=new Xmi;var pje;(function(r){r[r.Unknown=0]="Unknown",r[r.Disabled=1]="Disabled",r[r.Enabled=2]="Enabled"})(pje||(pje={}));var gje;(function(r){r[r.Invoke=1]="Invoke",r[r.Auto=2]="Auto"})(gje||(gje={}));var Eje;(function(r){r[r.None=0]="None",r[r.KeepWhitespace=1]="KeepWhitespace",r[r.InsertAsSnippet=4]="InsertAsSnippet"})(Eje||(Eje={}));var _je;(function(r){r[r.Method=0]="Method",r[r.Function=1]="Function",r[r.Constructor=2]="Constructor",r[r.Field=3]="Field",r[r.Variable=4]="Variable",r[r.Class=5]="Class",r[r.Struct=6]="Struct",r[r.Interface=7]="Interface",r[r.Module=8]="Module",r[r.Property=9]="Property",r[r.Event=10]="Event",r[r.Operator=11]="Operator",r[r.Unit=12]="Unit",r[r.Value=13]="Value",r[r.Constant=14]="Constant",r[r.Enum=15]="Enum",r[r.EnumMember=16]="EnumMember",r[r.Keyword=17]="Keyword",r[r.Text=18]="Text",r[r.Color=19]="Color",r[r.File=20]="File",r[r.Reference=21]="Reference",r[r.Customcolor=22]="Customcolor",r[r.Folder=23]="Folder",r[r.TypeParameter=24]="TypeParameter",r[r.User=25]="User",r[r.Issue=26]="Issue",r[r.Snippet=27]="Snippet"})(_je||(_je={}));var Dje;(function(r){r[r.Deprecated=1]="Deprecated"})(Dje||(Dje={}));var xje;(function(r){r[r.Invoke=0]="Invoke",r[r.TriggerCharacter=1]="TriggerCharacter",r[r.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(xje||(xje={}));var vje;(function(r){r[r.EXACT=0]="EXACT",r[r.ABOVE=1]="ABOVE",r[r.BELOW=2]="BELOW"})(vje||(vje={}));var Cje;(function(r){r[r.NotSet=0]="NotSet",r[r.ContentFlush=1]="ContentFlush",r[r.RecoverFromMarkers=2]="RecoverFromMarkers",r[r.Explicit=3]="Explicit",r[r.Paste=4]="Paste",r[r.Undo=5]="Undo",r[r.Redo=6]="Redo"})(Cje||(Cje={}));var bje;(function(r){r[r.LF=1]="LF",r[r.CRLF=2]="CRLF"})(bje||(bje={}));var yje;(function(r){r[r.Text=0]="Text",r[r.Read=1]="Read",r[r.Write=2]="Write"})(yje||(yje={}));var kje;(function(r){r[r.None=0]="None",r[r.Keep=1]="Keep",r[r.Brackets=2]="Brackets",r[r.Advanced=3]="Advanced",r[r.Full=4]="Full"})(kje||(kje={}));var Fje;(function(r){r[r.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",r[r.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",r[r.accessibilitySupport=2]="accessibilitySupport",r[r.accessibilityPageSize=3]="accessibilityPageSize",r[r.ariaLabel=4]="ariaLabel",r[r.autoClosingBrackets=5]="autoClosingBrackets",r[r.screenReaderAnnounceInlineSuggestion=6]="screenReaderAnnounceInlineSuggestion",r[r.autoClosingDelete=7]="autoClosingDelete",r[r.autoClosingOvertype=8]="autoClosingOvertype",r[r.autoClosingQuotes=9]="autoClosingQuotes",r[r.autoIndent=10]="autoIndent",r[r.automaticLayout=11]="automaticLayout",r[r.autoSurround=12]="autoSurround",r[r.bracketPairColorization=13]="bracketPairColorization",r[r.guides=14]="guides",r[r.codeLens=15]="codeLens",r[r.codeLensFontFamily=16]="codeLensFontFamily",r[r.codeLensFontSize=17]="codeLensFontSize",r[r.colorDecorators=18]="colorDecorators",r[r.colorDecoratorsLimit=19]="colorDecoratorsLimit",r[r.columnSelection=20]="columnSelection",r[r.comments=21]="comments",r[r.contextmenu=22]="contextmenu",r[r.copyWithSyntaxHighlighting=23]="copyWithSyntaxHighlighting",r[r.cursorBlinking=24]="cursorBlinking",r[r.cursorSmoothCaretAnimation=25]="cursorSmoothCaretAnimation",r[r.cursorStyle=26]="cursorStyle",r[r.cursorSurroundingLines=27]="cursorSurroundingLines",r[r.cursorSurroundingLinesStyle=28]="cursorSurroundingLinesStyle",r[r.cursorWidth=29]="cursorWidth",r[r.disableLayerHinting=30]="disableLayerHinting",r[r.disableMonospaceOptimizations=31]="disableMonospaceOptimizations",r[r.domReadOnly=32]="domReadOnly",r[r.dragAndDrop=33]="dragAndDrop",r[r.dropIntoEditor=34]="dropIntoEditor",r[r.emptySelectionClipboard=35]="emptySelectionClipboard",r[r.experimentalWhitespaceRendering=36]="experimentalWhitespaceRendering",r[r.extraEditorClassName=37]="extraEditorClassName",r[r.fastScrollSensitivity=38]="fastScrollSensitivity",r[r.find=39]="find",r[r.fixedOverflowWidgets=40]="fixedOverflowWidgets",r[r.folding=41]="folding",r[r.foldingStrategy=42]="foldingStrategy",r[r.foldingHighlight=43]="foldingHighlight",r[r.foldingImportsByDefault=44]="foldingImportsByDefault",r[r.foldingMaximumRegions=45]="foldingMaximumRegions",r[r.unfoldOnClickAfterEndOfLine=46]="unfoldOnClickAfterEndOfLine",r[r.fontFamily=47]="fontFamily",r[r.fontInfo=48]="fontInfo",r[r.fontLigatures=49]="fontLigatures",r[r.fontSize=50]="fontSize",r[r.fontWeight=51]="fontWeight",r[r.fontVariations=52]="fontVariations",r[r.formatOnPaste=53]="formatOnPaste",r[r.formatOnType=54]="formatOnType",r[r.glyphMargin=55]="glyphMargin",r[r.gotoLocation=56]="gotoLocation",r[r.hideCursorInOverviewRuler=57]="hideCursorInOverviewRuler",r[r.hover=58]="hover",r[r.inDiffEditor=59]="inDiffEditor",r[r.inlineSuggest=60]="inlineSuggest",r[r.letterSpacing=61]="letterSpacing",r[r.lightbulb=62]="lightbulb",r[r.lineDecorationsWidth=63]="lineDecorationsWidth",r[r.lineHeight=64]="lineHeight",r[r.lineNumbers=65]="lineNumbers",r[r.lineNumbersMinChars=66]="lineNumbersMinChars",r[r.linkedEditing=67]="linkedEditing",r[r.links=68]="links",r[r.matchBrackets=69]="matchBrackets",r[r.minimap=70]="minimap",r[r.mouseStyle=71]="mouseStyle",r[r.mouseWheelScrollSensitivity=72]="mouseWheelScrollSensitivity",r[r.mouseWheelZoom=73]="mouseWheelZoom",r[r.multiCursorMergeOverlapping=74]="multiCursorMergeOverlapping",r[r.multiCursorModifier=75]="multiCursorModifier",r[r.multiCursorPaste=76]="multiCursorPaste",r[r.multiCursorLimit=77]="multiCursorLimit",r[r.occurrencesHighlight=78]="occurrencesHighlight",r[r.overviewRulerBorder=79]="overviewRulerBorder",r[r.overviewRulerLanes=80]="overviewRulerLanes",r[r.padding=81]="padding",r[r.parameterHints=82]="parameterHints",r[r.peekWidgetDefaultFocus=83]="peekWidgetDefaultFocus",r[r.definitionLinkOpensInPeek=84]="definitionLinkOpensInPeek",r[r.quickSuggestions=85]="quickSuggestions",r[r.quickSuggestionsDelay=86]="quickSuggestionsDelay",r[r.readOnly=87]="readOnly",r[r.renameOnType=88]="renameOnType",r[r.renderControlCharacters=89]="renderControlCharacters",r[r.renderFinalNewline=90]="renderFinalNewline",r[r.renderLineHighlight=91]="renderLineHighlight",r[r.renderLineHighlightOnlyWhenFocus=92]="renderLineHighlightOnlyWhenFocus",r[r.renderValidationDecorations=93]="renderValidationDecorations",r[r.renderWhitespace=94]="renderWhitespace",r[r.revealHorizontalRightPadding=95]="revealHorizontalRightPadding",r[r.roundedSelection=96]="roundedSelection",r[r.rulers=97]="rulers",r[r.scrollbar=98]="scrollbar",r[r.scrollBeyondLastColumn=99]="scrollBeyondLastColumn",r[r.scrollBeyondLastLine=100]="scrollBeyondLastLine",r[r.scrollPredominantAxis=101]="scrollPredominantAxis",r[r.selectionClipboard=102]="selectionClipboard",r[r.selectionHighlight=103]="selectionHighlight",r[r.selectOnLineNumbers=104]="selectOnLineNumbers",r[r.showFoldingControls=105]="showFoldingControls",r[r.showUnused=106]="showUnused",r[r.snippetSuggestions=107]="snippetSuggestions",r[r.smartSelect=108]="smartSelect",r[r.smoothScrolling=109]="smoothScrolling",r[r.stickyScroll=110]="stickyScroll",r[r.stickyTabStops=111]="stickyTabStops",r[r.stopRenderingLineAfter=112]="stopRenderingLineAfter",r[r.suggest=113]="suggest",r[r.suggestFontSize=114]="suggestFontSize",r[r.suggestLineHeight=115]="suggestLineHeight",r[r.suggestOnTriggerCharacters=116]="suggestOnTriggerCharacters",r[r.suggestSelection=117]="suggestSelection",r[r.tabCompletion=118]="tabCompletion",r[r.tabIndex=119]="tabIndex",r[r.unicodeHighlighting=120]="unicodeHighlighting",r[r.unusualLineTerminators=121]="unusualLineTerminators",r[r.useShadowDOM=122]="useShadowDOM",r[r.useTabStops=123]="useTabStops",r[r.wordBreak=124]="wordBreak",r[r.wordSeparators=125]="wordSeparators",r[r.wordWrap=126]="wordWrap",r[r.wordWrapBreakAfterCharacters=127]="wordWrapBreakAfterCharacters",r[r.wordWrapBreakBeforeCharacters=128]="wordWrapBreakBeforeCharacters",r[r.wordWrapColumn=129]="wordWrapColumn",r[r.wordWrapOverride1=130]="wordWrapOverride1",r[r.wordWrapOverride2=131]="wordWrapOverride2",r[r.wrappingIndent=132]="wrappingIndent",r[r.wrappingStrategy=133]="wrappingStrategy",r[r.showDeprecated=134]="showDeprecated",r[r.inlayHints=135]="inlayHints",r[r.editorClassName=136]="editorClassName",r[r.pixelRatio=137]="pixelRatio",r[r.tabFocusMode=138]="tabFocusMode",r[r.layoutInfo=139]="layoutInfo",r[r.wrappingInfo=140]="wrappingInfo"})(Fje||(Fje={}));var Aje;(function(r){r[r.TextDefined=0]="TextDefined",r[r.LF=1]="LF",r[r.CRLF=2]="CRLF"})(Aje||(Aje={}));var Sje;(function(r){r[r.LF=0]="LF",r[r.CRLF=1]="CRLF"})(Sje||(Sje={}));var Bje;(function(r){r[r.None=0]="None",r[r.Indent=1]="Indent",r[r.IndentOutdent=2]="IndentOutdent",r[r.Outdent=3]="Outdent"})(Bje||(Bje={}));var wje;(function(r){r[r.Both=0]="Both",r[r.Right=1]="Right",r[r.Left=2]="Left",r[r.None=3]="None"})(wje||(wje={}));var Tje;(function(r){r[r.Type=1]="Type",r[r.Parameter=2]="Parameter"})(Tje||(Tje={}));var Lje;(function(r){r[r.Automatic=0]="Automatic",r[r.Explicit=1]="Explicit"})(Lje||(Lje={}));var Nje;(function(r){r[r.DependsOnKbLayout=-1]="DependsOnKbLayout",r[r.Unknown=0]="Unknown",r[r.Backspace=1]="Backspace",r[r.Tab=2]="Tab",r[r.Enter=3]="Enter",r[r.Shift=4]="Shift",r[r.Ctrl=5]="Ctrl",r[r.Alt=6]="Alt",r[r.PauseBreak=7]="PauseBreak",r[r.CapsLock=8]="CapsLock",r[r.Escape=9]="Escape",r[r.Space=10]="Space",r[r.PageUp=11]="PageUp",r[r.PageDown=12]="PageDown",r[r.End=13]="End",r[r.Home=14]="Home",r[r.LeftArrow=15]="LeftArrow",r[r.UpArrow=16]="UpArrow",r[r.RightArrow=17]="RightArrow",r[r.DownArrow=18]="DownArrow",r[r.Insert=19]="Insert",r[r.Delete=20]="Delete",r[r.Digit0=21]="Digit0",r[r.Digit1=22]="Digit1",r[r.Digit2=23]="Digit2",r[r.Digit3=24]="Digit3",r[r.Digit4=25]="Digit4",r[r.Digit5=26]="Digit5",r[r.Digit6=27]="Digit6",r[r.Digit7=28]="Digit7",r[r.Digit8=29]="Digit8",r[r.Digit9=30]="Digit9",r[r.KeyA=31]="KeyA",r[r.KeyB=32]="KeyB",r[r.KeyC=33]="KeyC",r[r.KeyD=34]="KeyD",r[r.KeyE=35]="KeyE",r[r.KeyF=36]="KeyF",r[r.KeyG=37]="KeyG",r[r.KeyH=38]="KeyH",r[r.KeyI=39]="KeyI",r[r.KeyJ=40]="KeyJ",r[r.KeyK=41]="KeyK",r[r.KeyL=42]="KeyL",r[r.KeyM=43]="KeyM",r[r.KeyN=44]="KeyN",r[r.KeyO=45]="KeyO",r[r.KeyP=46]="KeyP",r[r.KeyQ=47]="KeyQ",r[r.KeyR=48]="KeyR",r[r.KeyS=49]="KeyS",r[r.KeyT=50]="KeyT",r[r.KeyU=51]="KeyU",r[r.KeyV=52]="KeyV",r[r.KeyW=53]="KeyW",r[r.KeyX=54]="KeyX",r[r.KeyY=55]="KeyY",r[r.KeyZ=56]="KeyZ",r[r.Meta=57]="Meta",r[r.ContextMenu=58]="ContextMenu",r[r.F1=59]="F1",r[r.F2=60]="F2",r[r.F3=61]="F3",r[r.F4=62]="F4",r[r.F5=63]="F5",r[r.F6=64]="F6",r[r.F7=65]="F7",r[r.F8=66]="F8",r[r.F9=67]="F9",r[r.F10=68]="F10",r[r.F11=69]="F11",r[r.F12=70]="F12",r[r.F13=71]="F13",r[r.F14=72]="F14",r[r.F15=73]="F15",r[r.F16=74]="F16",r[r.F17=75]="F17",r[r.F18=76]="F18",r[r.F19=77]="F19",r[r.NumLock=78]="NumLock",r[r.ScrollLock=79]="ScrollLock",r[r.Semicolon=80]="Semicolon",r[r.Equal=81]="Equal",r[r.Comma=82]="Comma",r[r.Minus=83]="Minus",r[r.Period=84]="Period",r[r.Slash=85]="Slash",r[r.Backquote=86]="Backquote",r[r.BracketLeft=87]="BracketLeft",r[r.Backslash=88]="Backslash",r[r.BracketRight=89]="BracketRight",r[r.Quote=90]="Quote",r[r.OEM_8=91]="OEM_8",r[r.IntlBackslash=92]="IntlBackslash",r[r.Numpad0=93]="Numpad0",r[r.Numpad1=94]="Numpad1",r[r.Numpad2=95]="Numpad2",r[r.Numpad3=96]="Numpad3",r[r.Numpad4=97]="Numpad4",r[r.Numpad5=98]="Numpad5",r[r.Numpad6=99]="Numpad6",r[r.Numpad7=100]="Numpad7",r[r.Numpad8=101]="Numpad8",r[r.Numpad9=102]="Numpad9",r[r.NumpadMultiply=103]="NumpadMultiply",r[r.NumpadAdd=104]="NumpadAdd",r[r.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",r[r.NumpadSubtract=106]="NumpadSubtract",r[r.NumpadDecimal=107]="NumpadDecimal",r[r.NumpadDivide=108]="NumpadDivide",r[r.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",r[r.ABNT_C1=110]="ABNT_C1",r[r.ABNT_C2=111]="ABNT_C2",r[r.AudioVolumeMute=112]="AudioVolumeMute",r[r.AudioVolumeUp=113]="AudioVolumeUp",r[r.AudioVolumeDown=114]="AudioVolumeDown",r[r.BrowserSearch=115]="BrowserSearch",r[r.BrowserHome=116]="BrowserHome",r[r.BrowserBack=117]="BrowserBack",r[r.BrowserForward=118]="BrowserForward",r[r.MediaTrackNext=119]="MediaTrackNext",r[r.MediaTrackPrevious=120]="MediaTrackPrevious",r[r.MediaStop=121]="MediaStop",r[r.MediaPlayPause=122]="MediaPlayPause",r[r.LaunchMediaPlayer=123]="LaunchMediaPlayer",r[r.LaunchMail=124]="LaunchMail",r[r.LaunchApp2=125]="LaunchApp2",r[r.Clear=126]="Clear",r[r.MAX_VALUE=127]="MAX_VALUE"})(Nje||(Nje={}));var Pje;(function(r){r[r.Hint=1]="Hint",r[r.Info=2]="Info",r[r.Warning=4]="Warning",r[r.Error=8]="Error"})(Pje||(Pje={}));var Mje;(function(r){r[r.Unnecessary=1]="Unnecessary",r[r.Deprecated=2]="Deprecated"})(Mje||(Mje={}));var zje;(function(r){r[r.Inline=1]="Inline",r[r.Gutter=2]="Gutter"})(zje||(zje={}));var Ije;(function(r){r[r.UNKNOWN=0]="UNKNOWN",r[r.TEXTAREA=1]="TEXTAREA",r[r.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",r[r.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",r[r.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",r[r.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",r[r.CONTENT_TEXT=6]="CONTENT_TEXT",r[r.CONTENT_EMPTY=7]="CONTENT_EMPTY",r[r.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",r[r.CONTENT_WIDGET=9]="CONTENT_WIDGET",r[r.OVERVIEW_RULER=10]="OVERVIEW_RULER",r[r.SCROLLBAR=11]="SCROLLBAR",r[r.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",r[r.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(Ije||(Ije={}));var Rje;(function(r){r[r.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",r[r.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",r[r.TOP_CENTER=2]="TOP_CENTER"})(Rje||(Rje={}));var Oje;(function(r){r[r.Left=1]="Left",r[r.Center=2]="Center",r[r.Right=4]="Right",r[r.Full=7]="Full"})(Oje||(Oje={}));var jje;(function(r){r[r.Left=0]="Left",r[r.Right=1]="Right",r[r.None=2]="None",r[r.LeftOfInjectedText=3]="LeftOfInjectedText",r[r.RightOfInjectedText=4]="RightOfInjectedText"})(jje||(jje={}));var Vje;(function(r){r[r.Off=0]="Off",r[r.On=1]="On",r[r.Relative=2]="Relative",r[r.Interval=3]="Interval",r[r.Custom=4]="Custom"})(Vje||(Vje={}));var Hje;(function(r){r[r.None=0]="None",r[r.Text=1]="Text",r[r.Blocks=2]="Blocks"})(Hje||(Hje={}));var Kje;(function(r){r[r.Smooth=0]="Smooth",r[r.Immediate=1]="Immediate"})(Kje||(Kje={}));var Wje;(function(r){r[r.Auto=1]="Auto",r[r.Hidden=2]="Hidden",r[r.Visible=3]="Visible"})(Wje||(Wje={}));var Gje;(function(r){r[r.LTR=0]="LTR",r[r.RTL=1]="RTL"})(Gje||(Gje={}));var Jje;(function(r){r[r.Invoke=1]="Invoke",r[r.TriggerCharacter=2]="TriggerCharacter",r[r.ContentChange=3]="ContentChange"})(Jje||(Jje={}));var $je;(function(r){r[r.File=0]="File",r[r.Module=1]="Module",r[r.Namespace=2]="Namespace",r[r.Package=3]="Package",r[r.Class=4]="Class",r[r.Method=5]="Method",r[r.Property=6]="Property",r[r.Field=7]="Field",r[r.Constructor=8]="Constructor",r[r.Enum=9]="Enum",r[r.Interface=10]="Interface",r[r.Function=11]="Function",r[r.Variable=12]="Variable",r[r.Constant=13]="Constant",r[r.String=14]="String",r[r.Number=15]="Number",r[r.Boolean=16]="Boolean",r[r.Array=17]="Array",r[r.Object=18]="Object",r[r.Key=19]="Key",r[r.Null=20]="Null",r[r.EnumMember=21]="EnumMember",r[r.Struct=22]="Struct",r[r.Event=23]="Event",r[r.Operator=24]="Operator",r[r.TypeParameter=25]="TypeParameter"})($je||($je={}));var Uje;(function(r){r[r.Deprecated=1]="Deprecated"})(Uje||(Uje={}));var qje;(function(r){r[r.Hidden=0]="Hidden",r[r.Blink=1]="Blink",r[r.Smooth=2]="Smooth",r[r.Phase=3]="Phase",r[r.Expand=4]="Expand",r[r.Solid=5]="Solid"})(qje||(qje={}));var Zje;(function(r){r[r.Line=1]="Line",r[r.Block=2]="Block",r[r.Underline=3]="Underline",r[r.LineThin=4]="LineThin",r[r.BlockOutline=5]="BlockOutline",r[r.UnderlineThin=6]="UnderlineThin"})(Zje||(Zje={}));var Yje;(function(r){r[r.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",r[r.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",r[r.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",r[r.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(Yje||(Yje={}));var Qje;(function(r){r[r.None=0]="None",r[r.Same=1]="Same",r[r.Indent=2]="Indent",r[r.DeepIndent=3]="DeepIndent"})(Qje||(Qje={}));let hae=class{static chord(e,i){return Fm(e,i)}};hae.CtrlCmd=2048;hae.Shift=1024;hae.Alt=512;hae.WinCtrl=256;function Svt(){return{editor:void 0,languages:void 0,CancellationTokenSource:kp,Emitter:yi,KeyCode:Nje,KeyMod:hae,Position:Hi,Range:ot,Selection:pa,SelectionDirection:Gje,MarkerSeverity:Pje,MarkerTag:Mje,Uri:Xa,Token:Sue}}class n4i{constructor(e){this.fn=e,this.lastCache=void 0,this.lastArgKey=void 0}get(e){const i=JSON.stringify(e);return this.lastArgKey!==i&&(this.lastArgKey=i,this.lastCache=this.fn(e)),this.lastCache}}class xgt{get cachedValues(){return this._map}constructor(e){this.fn=e,this._map=new Map}get(e){if(this._map.has(e))return this._map.get(e);const i=this.fn(e);return this._map.set(e,i),i}}class sN{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}var Bvt;function wvt(r){return!r||typeof r!="string"?!0:r.trim().length===0}const u4i=/{(\d+)}/g;function H6(r,...e){return e.length===0?r:r.replace(u4i,function(i,n){const a=parseInt(n,10);return isNaN(a)||a<0||a>=e.length?i:e[a]})}function u5e(r){return r.replace(/[<>&]/g,function(e){switch(e){case"<":return"<";case">":return">";case"&":return"&";default:return e}})}function mx(r){return r.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function r4i(r,e=" "){const i=fae(r,e);return Tvt(i,e)}function fae(r,e){if(!r||!e)return r;const i=e.length;if(i===0||r.length===0)return r;let n=0;for(;r.indexOf(e,n)===n;)n=n+i;return r.substring(n)}function Tvt(r,e){if(!r||!e)return r;const i=e.length,n=r.length;if(i===0||n===0)return r;let a=n,o=-1;for(;o=r.lastIndexOf(e,a-1),!(o===-1||o+i!==a);){if(o===0)return"";a=o}return r.substring(0,a)}function a4i(r){return r.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function o4i(r){return r.replace(/\*/g,"")}function Lvt(r,e,i={}){if(!r)throw new Error("Cannot create regex from empty string");e||(r=mx(r)),i.wholeWord&&(/\B/.test(r.charAt(0))||(r="\\b"+r),/\B/.test(r.charAt(r.length-1))||(r=r+"\\b"));let n="";return i.global&&(n+="g"),i.matchCase||(n+="i"),i.multiline&&(n+="m"),i.unicode&&(n+="u"),new RegExp(r,n)}function s4i(r){return r.source==="^"||r.source==="^$"||r.source==="$"||r.source==="^\\s*$"?!1:!!(r.exec("")&&r.lastIndex===0)}function cIe(r){return(r.global?"g":"")+(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")}function SA(r){return r.split(/\r\n|\r|\n/)}function RE(r){for(let e=0,i=r.length;e=0;i--){const n=r.charCodeAt(i);if(n!==32&&n!==9)return i}return-1}function Tue(r,e){return re?1:0}function MGe(r,e,i=0,n=r.length,a=0,o=e.length){for(;i_)return 1}const c=n-i,h=o-a;return ch?1:0}function Xje(r,e){return mae(r,e,0,r.length,0,e.length)}function mae(r,e,i=0,n=r.length,a=0,o=e.length){for(;i=128||_>=128)return MGe(r.toLowerCase(),e.toLowerCase(),i,n,a,o);eL(g)&&(g-=32),eL(_)&&(_-=32);const x=g-_;if(x!==0)return x}const c=n-i,h=o-a;return ch?1:0}function k_e(r){return r>=48&&r<=57}function eL(r){return r>=97&&r<=122}function $F(r){return r>=65&&r<=90}function bG(r,e){return r.length===e.length&&mae(r,e)===0}function zGe(r,e){const i=e.length;return e.length>r.length?!1:mae(r,e,0,i)===0}function oR(r,e){const i=Math.min(r.length,e.length);let n;for(n=0;n1){const n=r.charCodeAt(e-2);if(t4(n))return IGe(n,i)}return i}class RGe{get offset(){return this._offset}constructor(e,i=0){this._str=e,this._len=e.length,this._offset=i}setOffset(e){this._offset=e}prevCodePoint(){const e=l4i(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){const e=r5e(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class a5e{get offset(){return this._iterator.offset}constructor(e,i=0){this._iterator=new RGe(e,i)}nextGraphemeLength(){const e=tL.getInstance(),i=this._iterator,n=i.offset;let a=e.getGraphemeBreakType(i.nextCodePoint());for(;!i.eol();){const o=i.offset,c=e.getGraphemeBreakType(i.nextCodePoint());if(vgt(a,c)){i.setOffset(o);break}a=c}return i.offset-n}prevGraphemeLength(){const e=tL.getInstance(),i=this._iterator,n=i.offset;let a=e.getGraphemeBreakType(i.prevCodePoint());for(;i.offset>0;){const o=i.offset,c=e.getGraphemeBreakType(i.prevCodePoint());if(vgt(c,a)){i.setOffset(o);break}a=c}return n-i.offset}eol(){return this._iterator.eol()}}function OGe(r,e){return new a5e(r,e).nextGraphemeLength()}function Nvt(r,e){return new a5e(r,e).prevGraphemeLength()}function c4i(r,e){e>0&&sR(r.charCodeAt(e))&&e--;const i=e+OGe(r,e);return[i-Nvt(r,i),i]}let dIe;function d4i(){return/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/}function NJ(r){return dIe||(dIe=d4i()),dIe.test(r)}const h4i=/^[\t\n\r\x20-\x7E]*$/;function pae(r){return h4i.test(r)}const Pvt=/[\u2028\u2029]/;function Mvt(r){return Pvt.test(r)}function VL(r){return r>=11904&&r<=55215||r>=63744&&r<=64255||r>=65281&&r<=65374}function jGe(r){return r>=127462&&r<=127487||r===8986||r===8987||r===9200||r===9203||r>=9728&&r<=10175||r===11088||r===11093||r>=127744&&r<=128591||r>=128640&&r<=128764||r>=128992&&r<=129008||r>=129280&&r<=129535||r>=129648&&r<=129782}const f4i="\uFEFF";function VGe(r){return!!(r&&r.length>0&&r.charCodeAt(0)===65279)}function m4i(r,e=!1){return r?(e&&(r=r.replace(/\\./g,"")),r.toLowerCase()!==r):!1}function zvt(r){return r=r%(2*26),r<26?String.fromCharCode(97+r):String.fromCharCode(65+r-26)}function vgt(r,e){return r===0?e!==5&&e!==7:r===2&&e===3?!1:r===4||r===2||r===3||e===4||e===2||e===3?!0:!(r===8&&(e===8||e===9||e===11||e===12)||(r===11||r===9)&&(e===9||e===10)||(r===12||r===10)&&e===10||e===5||e===13||e===7||r===1||r===13&&e===14||r===6&&e===6)}class tL{static getInstance(){return tL._INSTANCE||(tL._INSTANCE=new tL),tL._INSTANCE}constructor(){this._data=p4i()}getGraphemeBreakType(e){if(e<32)return e===10?3:e===13?2:4;if(e<127)return 0;const i=this._data,n=i.length/3;let a=1;for(;a<=n;)if(ei[3*a+1])a=2*a+1;else return i[3*a+2];return 0}}tL._INSTANCE=null;function p4i(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function g4i(r,e){if(r===0)return 0;const i=E4i(r,e);if(i!==void 0)return i;const n=new RGe(e,r);return n.prevCodePoint(),n.offset}function E4i(r,e){const i=new RGe(e,r);let n=i.prevCodePoint();for(;_4i(n)||n===65039||n===8419;){if(i.offset===0)return;n=i.prevCodePoint()}if(!jGe(n))return;let a=i.offset;return a>0&&i.prevCodePoint()===8205&&(a=i.offset),a}function _4i(r){return 127995<=r&&r<=127999}const D4i=" ";class QC{static getInstance(e){return QC.cache.get(Array.from(e))}static getLocales(){return QC._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}Bvt=QC;QC.ambiguousCharacterData=new sN(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'));QC.cache=new n4i(r=>{function e(_){const x=new Map;for(let y=0;y<_.length;y+=2)x.set(_[y],_[y+1]);return x}function i(_,x){const y=new Map(_);for(const[S,L]of x)y.set(S,L);return y}function n(_,x){if(!_)return x;const y=new Map;for(const[S,L]of _)x.has(S)&&y.set(S,L);return y}const a=Bvt.ambiguousCharacterData.value;let o=r.filter(_=>!_.startsWith("_")&&_ in a);o.length===0&&(o=["_default"]);let c;for(const _ of o){const x=e(a[_]);c=n(c,x)}const h=e(a._common),g=i(h,c);return new QC(g)});QC._locales=new sN(()=>Object.keys(QC.ambiguousCharacterData.value).filter(r=>!r.startsWith("_")));class DA{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(DA.getRawData())),this._data}static isInvisibleCharacter(e){return DA.getData().has(e)}static get codePoints(){return DA.getData()}}DA._data=void 0;class eVe{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}eVe.INSTANCE=new eVe;class x4i extends ln{constructor(){super(),this._onDidChange=this._register(new yi),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(!0),this._mediaQueryList=null,this._handleChange(!1)}_handleChange(e){var i;(i=this._mediaQueryList)===null||i===void 0||i.removeEventListener("change",this._listener),this._mediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),e&&this._onDidChange.fire()}}class v4i extends ln{get value(){return this._value}constructor(){super(),this._onDidChange=this._register(new yi),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const e=this._register(new x4i);this._register(e.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}_getPixelRatio(){const e=document.createElement("canvas").getContext("2d"),i=window.devicePixelRatio||1,n=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return i/n}}class C4i{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=new v4i),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}}function HGe(r,e){typeof r=="string"&&(r=window.matchMedia(r)),r.addEventListener("change",e)}const PJ=new C4i;function Ivt(){return eVe.INSTANCE.getZoomFactor()}const x$=navigator.userAgent,q6=x$.indexOf("Firefox")>=0,xL=x$.indexOf("AppleWebKit")>=0,KGe=x$.indexOf("Chrome")>=0,XS=!KGe&&x$.indexOf("Safari")>=0,WGe=!KGe&&!XS&&xL,b4i=x$.indexOf("Electron/")>=0,Rvt=x$.indexOf("Android")>=0;let X3e=!1;if(window.matchMedia){const r=window.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),e=window.matchMedia("(display-mode: fullscreen)");X3e=r.matches,HGe(r,({matches:i})=>{X3e&&e.matches||(X3e=i)})}function GGe(){return X3e}const y4i=Object.freeze(Object.defineProperty({__proto__:null,PixelRatio:PJ,addMatchMediaChangeListener:HGe,getZoomFactor:Ivt,isAndroid:Rvt,isChrome:KGe,isElectron:b4i,isFirefox:q6,isSafari:XS,isStandalone:GGe,isWebKit:xL,isWebkitWebView:WGe},Symbol.toStringTag,{value:"Module"}));class Ovt{constructor(e){this.domNode=e,this._maxWidth="",this._width="",this._height="",this._top="",this._left="",this._bottom="",this._right="",this._paddingLeft="",this._fontFamily="",this._fontWeight="",this._fontSize="",this._fontStyle="",this._fontFeatureSettings="",this._fontVariationSettings="",this._textDecoration="",this._lineHeight="",this._letterSpacing="",this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(e){const i=Wb(e);this._maxWidth!==i&&(this._maxWidth=i,this.domNode.style.maxWidth=this._maxWidth)}setWidth(e){const i=Wb(e);this._width!==i&&(this._width=i,this.domNode.style.width=this._width)}setHeight(e){const i=Wb(e);this._height!==i&&(this._height=i,this.domNode.style.height=this._height)}setTop(e){const i=Wb(e);this._top!==i&&(this._top=i,this.domNode.style.top=this._top)}setLeft(e){const i=Wb(e);this._left!==i&&(this._left=i,this.domNode.style.left=this._left)}setBottom(e){const i=Wb(e);this._bottom!==i&&(this._bottom=i,this.domNode.style.bottom=this._bottom)}setRight(e){const i=Wb(e);this._right!==i&&(this._right=i,this.domNode.style.right=this._right)}setPaddingLeft(e){const i=Wb(e);this._paddingLeft!==i&&(this._paddingLeft=i,this.domNode.style.paddingLeft=this._paddingLeft)}setFontFamily(e){this._fontFamily!==e&&(this._fontFamily=e,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(e){this._fontWeight!==e&&(this._fontWeight=e,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(e){const i=Wb(e);this._fontSize!==i&&(this._fontSize=i,this.domNode.style.fontSize=this._fontSize)}setFontStyle(e){this._fontStyle!==e&&(this._fontStyle=e,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(e){this._fontFeatureSettings!==e&&(this._fontFeatureSettings=e,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setFontVariationSettings(e){this._fontVariationSettings!==e&&(this._fontVariationSettings=e,this.domNode.style.fontVariationSettings=this._fontVariationSettings)}setTextDecoration(e){this._textDecoration!==e&&(this._textDecoration=e,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(e){const i=Wb(e);this._lineHeight!==i&&(this._lineHeight=i,this.domNode.style.lineHeight=this._lineHeight)}setLetterSpacing(e){const i=Wb(e);this._letterSpacing!==i&&(this._letterSpacing=i,this.domNode.style.letterSpacing=this._letterSpacing)}setClassName(e){this._className!==e&&(this._className=e,this.domNode.className=this._className)}toggleClassName(e,i){this.domNode.classList.toggle(e,i),this._className=this.domNode.className}setDisplay(e){this._display!==e&&(this._display=e,this.domNode.style.display=this._display)}setPosition(e){this._position!==e&&(this._position=e,this.domNode.style.position=this._position)}setVisibility(e){this._visibility!==e&&(this._visibility=e,this.domNode.style.visibility=this._visibility)}setColor(e){this._color!==e&&(this._color=e,this.domNode.style.color=this._color)}setBackgroundColor(e){this._backgroundColor!==e&&(this._backgroundColor=e,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(e){this._layerHint!==e&&(this._layerHint=e,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(e){this._boxShadow!==e&&(this._boxShadow=e,this.domNode.style.boxShadow=e)}setContain(e){this._contain!==e&&(this._contain=e,this.domNode.style.contain=this._contain)}setAttribute(e,i){this.domNode.setAttribute(e,i)}removeAttribute(e){this.domNode.removeAttribute(e)}appendChild(e){this.domNode.appendChild(e.domNode)}removeChild(e){this.domNode.removeChild(e.domNode)}}function Wb(r){return typeof r=="number"?`${r}px`:r}function xl(r){return new Ovt(r)}function Cp(r,e){r instanceof Ovt?(r.setFontFamily(e.getMassagedFontFamily()),r.setFontWeight(e.fontWeight),r.setFontSize(e.fontSize),r.setFontFeatureSettings(e.fontFeatureSettings),r.setFontVariationSettings(e.fontVariationSettings),r.setLineHeight(e.lineHeight),r.setLetterSpacing(e.letterSpacing)):(r.style.fontFamily=e.getMassagedFontFamily(),r.style.fontWeight=e.fontWeight,r.style.fontSize=e.fontSize+"px",r.style.fontFeatureSettings=e.fontFeatureSettings,r.style.fontVariationSettings=e.fontVariationSettings,r.style.lineHeight=e.lineHeight+"px",r.style.letterSpacing=e.letterSpacing+"px")}class k4i{constructor(e,i){this.chr=e,this.type=i,this.width=0}fulfill(e){this.width=e}}class JGe{constructor(e,i){this._bareFontInfo=e,this._requests=i,this._container=null,this._testElements=null}read(){this._createDomElements(),document.body.appendChild(this._container),this._readFromDomElements(),document.body.removeChild(this._container),this._container=null,this._testElements=null}_createDomElements(){const e=document.createElement("div");e.style.position="absolute",e.style.top="-50000px",e.style.width="50000px";const i=document.createElement("div");Cp(i,this._bareFontInfo),e.appendChild(i);const n=document.createElement("div");Cp(n,this._bareFontInfo),n.style.fontWeight="bold",e.appendChild(n);const a=document.createElement("div");Cp(a,this._bareFontInfo),a.style.fontStyle="italic",e.appendChild(a);const o=[];for(const c of this._requests){let h;c.type===0&&(h=i),c.type===2&&(h=n),c.type===1&&(h=a),h.appendChild(document.createElement("br"));const g=document.createElement("span");JGe._render(g,c),h.appendChild(g),o.push(g)}this._container=e,this._testElements=o}static _render(e,i){if(i.chr===" "){let n=" ";for(let a=0;a<8;a++)n+=n;e.innerText=n}else{let n=i.chr;for(let a=0;a<8;a++)n+=n;e.textContent=n}}_readFromDomElements(){for(let e=0,i=this._requests.length;e{this._evictUntrustedReadingsTimeout=-1,this._evictUntrustedReadings()},5e3))}_evictUntrustedReadings(){const e=this._cache.getValues();let i=!1;for(const n of e)n.isTrusted||(i=!0,this._cache.remove(n));i&&this._onDidChange.fire()}readFontInfo(e){if(!this._cache.has(e)){let i=this._actualReadFontInfo(e);(i.typicalHalfwidthCharacterWidth<=2||i.typicalFullwidthCharacterWidth<=2||i.spaceWidth<=2||i.maxDigitWidth<=2)&&(i=new tVe({pixelRatio:PJ.value,fontFamily:i.fontFamily,fontWeight:i.fontWeight,fontSize:i.fontSize,fontFeatureSettings:i.fontFeatureSettings,fontVariationSettings:i.fontVariationSettings,lineHeight:i.lineHeight,letterSpacing:i.letterSpacing,isMonospace:i.isMonospace,typicalHalfwidthCharacterWidth:Math.max(i.typicalHalfwidthCharacterWidth,5),typicalFullwidthCharacterWidth:Math.max(i.typicalFullwidthCharacterWidth,5),canUseHalfwidthRightwardsArrow:i.canUseHalfwidthRightwardsArrow,spaceWidth:Math.max(i.spaceWidth,5),middotWidth:Math.max(i.middotWidth,5),wsmiddotWidth:Math.max(i.wsmiddotWidth,5),maxDigitWidth:Math.max(i.maxDigitWidth,5)},!1)),this._writeToCache(e,i)}return this._cache.get(e)}_createRequest(e,i,n,a){const o=new k4i(e,i);return n.push(o),a==null||a.push(o),o}_actualReadFontInfo(e){const i=[],n=[],a=this._createRequest("n",0,i,n),o=this._createRequest("m",0,i,null),c=this._createRequest(" ",0,i,n),h=this._createRequest("0",0,i,n),g=this._createRequest("1",0,i,n),_=this._createRequest("2",0,i,n),x=this._createRequest("3",0,i,n),y=this._createRequest("4",0,i,n),S=this._createRequest("5",0,i,n),L=this._createRequest("6",0,i,n),R=this._createRequest("7",0,i,n),G=this._createRequest("8",0,i,n),ie=this._createRequest("9",0,i,n),ue=this._createRequest("→",0,i,n),re=this._createRequest("→",0,i,null),_e=this._createRequest("·",0,i,n),ye=this._createRequest("⸱",0,i,null),Le="|/-_ilm%";for(let Ft=0,Zt=Le.length;Ft.001){Ue=!1;break}}let rt=!0;return Ue&&re.width!==Ye&&(rt=!1),re.width>ue.width&&(rt=!1),new tVe({pixelRatio:PJ.value,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontSize:e.fontSize,fontFeatureSettings:e.fontFeatureSettings,fontVariationSettings:e.fontVariationSettings,lineHeight:e.lineHeight,letterSpacing:e.letterSpacing,isMonospace:Ue,typicalHalfwidthCharacterWidth:a.width,typicalFullwidthCharacterWidth:o.width,canUseHalfwidthRightwardsArrow:rt,spaceWidth:c.width,middotWidth:_e.width,wsmiddotWidth:ye.width,maxDigitWidth:st},!0)}}class Cgt{constructor(){this._keys=Object.create(null),this._values=Object.create(null)}has(e){const i=e.getId();return!!this._values[i]}get(e){const i=e.getId();return this._values[i]}put(e,i){const n=e.getId();this._keys[n]=e,this._values[n]=i}remove(e){const i=e.getId();delete this._keys[i],delete this._values[i]}getValues(){return Object.keys(this._keys).map(e=>this._values[e])}}const iVe=new B4i;var sy;(function(r){r.serviceIds=new Map,r.DI_TARGET="$di$target",r.DI_DEPENDENCIES="$di$dependencies";function e(i){return i[r.DI_DEPENDENCIES]||[]}r.getServiceDependencies=e})(sy||(sy={}));const vs=y0("instantiationService");function w4i(r,e,i){e[sy.DI_TARGET]===e?e[sy.DI_DEPENDENCIES].push({id:r,index:i}):(e[sy.DI_DEPENDENCIES]=[{id:r,index:i}],e[sy.DI_TARGET]=e)}function y0(r){if(sy.serviceIds.has(r))return sy.serviceIds.get(r);const e=function(i,n,a){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");w4i(e,i,a)};return e.toString=()=>r,sy.serviceIds.set(r,e),e}const Nl=y0("codeEditorService");function zne(r,e){if(!r)throw new Error(e?`Assertion failed (${e})`:"Assertion Failed")}function x6e(r,e="Unreachable"){throw new Error(e)}function $Ge(r){if(!r()){debugger;r(),Ts(new OA("Assertion Failed"))}}function jvt(r,e){let i=0;for(;i\-\./\\:\*\?\+\[\]\^,#@;"%\$\p{L}-]+/uy}static getLexeme(e){switch(e.type){case 0:return"(";case 1:return")";case 2:return"!";case 3:return e.isTripleEq?"===":"==";case 4:return e.isTripleEq?"!==":"!=";case 5:return"<";case 6:return"<=";case 7:return">=";case 8:return">=";case 9:return"=~";case 10:return e.lexeme;case 11:return"true";case 12:return"false";case 13:return"in";case 14:return"not";case 15:return"&&";case 16:return"||";case 17:return e.lexeme;case 18:return e.lexeme;case 19:return e.lexeme;case 20:return"EOF";default:throw AGe(`unhandled token type: ${JSON.stringify(e)}; have you forgotten to add a case?`)}}reset(e){return this._input=e,this._start=0,this._current=0,this._tokens=[],this._errors=[],this}scan(){for(;!this._isAtEnd();)switch(this._start=this._current,this._advance()){case 40:this._addToken(0);break;case 41:this._addToken(1);break;case 33:if(this._match(61)){const i=this._match(61);this._tokens.push({type:4,offset:this._start,isTripleEq:i})}else this._addToken(2);break;case 39:this._quotedString();break;case 47:this._regex();break;case 61:if(this._match(61)){const i=this._match(61);this._tokens.push({type:3,offset:this._start,isTripleEq:i})}else this._match(126)?this._addToken(9):this._error(fIe("==","=~"));break;case 60:this._addToken(this._match(61)?6:5);break;case 62:this._addToken(this._match(61)?8:7);break;case 38:this._match(38)?this._addToken(15):this._error(fIe("&&"));break;case 124:this._match(124)?this._addToken(16):this._error(fIe("||"));break;case 32:case 13:case 9:case 10:case 160:break;default:this._string()}return this._start=this._current,this._addToken(20),Array.from(this._tokens)}_match(e){return this._isAtEnd()||this._input.charCodeAt(this._current)!==e?!1:(this._current++,!0)}_advance(){return this._input.charCodeAt(this._current++)}_peek(){return this._isAtEnd()?0:this._input.charCodeAt(this._current)}_addToken(e){this._tokens.push({type:e,offset:this._start})}_error(e){const i=this._start,n=this._input.substring(this._start,this._current),a={type:19,offset:this._start,lexeme:n};this._errors.push({offset:i,lexeme:n,additionalInfo:e}),this._tokens.push(a)}_string(){this.stringRe.lastIndex=this._start;const e=this.stringRe.exec(this._input);if(e){this._current=this._start+e[0].length;const i=this._input.substring(this._start,this._current),n=nVe._keywords.get(i);n?this._addToken(n):this._tokens.push({type:17,lexeme:i,offset:this._start})}}_quotedString(){for(;this._peek()!==39&&!this._isAtEnd();)this._advance();if(this._isAtEnd()){this._error(T4i);return}this._advance(),this._tokens.push({type:18,lexeme:this._input.substring(this._start+1,this._current-1),offset:this._start+1})}_regex(){let e=this._current,i=!1,n=!1;for(;;){if(e>=this._input.length){this._current=e,this._error(L4i);return}const o=this._input.charCodeAt(e);if(i)i=!1;else if(o===47&&!n){e++;break}else o===91?n=!0:o===92?i=!0:o===93&&(n=!1);e++}for(;e=this._input.length}};DI._regexFlags=new Set(["i","g","s","m","y","u"].map(r=>r.charCodeAt(0)));DI._keywords=new Map([["not",14],["in",13],["false",12],["true",11]]);const Wg=new Map;Wg.set("false",!1);Wg.set("true",!0);Wg.set("isMac",c0);Wg.set("isLinux",ug);Wg.set("isWindows",yp);Wg.set("isWeb",rN);Wg.set("isMacNative",c0&&!rN);Wg.set("isEdge",pfi);Wg.set("isFirefox",ffi);Wg.set("isChrome",evt);Wg.set("isSafari",mfi);const N4i=Object.prototype.hasOwnProperty,P4i={regexParsingWithErrorRecovery:!0},M4i=V("contextkey.parser.error.emptyString","Empty context key expression"),z4i=V("contextkey.parser.error.emptyString.hint","Did you forget to write an expression? You can also put 'false' or 'true' to always evaluate to false or true, respectively."),I4i=V("contextkey.parser.error.noInAfterNot","'in' after 'not'."),bgt=V("contextkey.parser.error.closingParenthesis","closing parenthesis ')'"),R4i=V("contextkey.parser.error.unexpectedToken","Unexpected token"),O4i=V("contextkey.parser.error.unexpectedToken.hint","Did you forget to put && or || before the token?"),j4i=V("contextkey.parser.error.unexpectedEOF","Unexpected end of expression"),V4i=V("contextkey.parser.error.unexpectedEOF.hint","Did you forget to put a context key?");let Vvt=class une{constructor(e=P4i){this._config=e,this._scanner=new DI,this._tokens=[],this._current=0,this._parsingErrors=[],this._flagsGYRe=/g|y/g}parse(e){if(e===""){this._parsingErrors.push({message:M4i,offset:0,lexeme:"",additionalInfo:z4i});return}this._tokens=this._scanner.reset(e).scan(),this._current=0,this._parsingErrors=[];try{const i=this._expr();if(!this._isAtEnd()){const n=this._peek(),a=n.type===17?O4i:void 0;throw this._parsingErrors.push({message:R4i,offset:n.offset,lexeme:DI.getLexeme(n),additionalInfo:a}),une._parseError}return i}catch(i){if(i!==une._parseError)throw i;return}}_expr(){return this._or()}_or(){const e=[this._and()];for(;this._matchOne(16);){const i=this._and();e.push(i)}return e.length===1?e[0]:pu.or(...e)}_and(){const e=[this._term()];for(;this._matchOne(15);){const i=this._term();e.push(i)}return e.length===1?e[0]:pu.and(...e)}_term(){if(this._matchOne(2)){const e=this._peek();switch(e.type){case 11:return this._advance(),z_.INSTANCE;case 12:return this._advance(),V3.INSTANCE;case 0:{this._advance();const i=this._expr();return this._consume(1,bgt),i==null?void 0:i.negate()}case 17:return this._advance(),GR.create(e.lexeme);default:throw this._errExpectedButGot("KEY | true | false | '(' expression ')'",e)}}return this._primary()}_primary(){const e=this._peek();switch(e.type){case 11:return this._advance(),pu.true();case 12:return this._advance(),pu.false();case 0:{this._advance();const i=this._expr();return this._consume(1,bgt),i}case 17:{const i=e.lexeme;if(this._advance(),this._matchOne(9)){const a=this._peek();if(!this._config.regexParsingWithErrorRecovery){if(this._advance(),a.type!==10)throw this._errExpectedButGot("REGEX",a);const o=a.lexeme,c=o.lastIndexOf("/"),h=c===o.length-1?void 0:this._removeFlagsGY(o.substring(c+1));let g;try{g=new RegExp(o.substring(1,c),h)}catch{throw this._errExpectedButGot("REGEX",a)}return Nue.create(i,g)}switch(a.type){case 10:case 19:{const o=[a.lexeme];this._advance();let c=this._peek(),h=0;for(let S=0;S=0){const _=o.slice(h+1,g),x=o[g+1]==="i"?"i":"";try{c=new RegExp(_,x)}catch{throw this._errExpectedButGot("REGEX",a)}}}if(c===null)throw this._errExpectedButGot("REGEX",a);return Nue.create(i,c)}default:throw this._errExpectedButGot("REGEX",this._peek())}}if(this._matchOne(14)){this._consume(13,I4i);const a=this._value();return pu.notIn(i,a)}switch(this._peek().type){case 3:{this._advance();const a=this._value();if(this._previous().type===18)return pu.equals(i,a);switch(a){case"true":return pu.has(i);case"false":return pu.not(i);default:return pu.equals(i,a)}}case 4:{this._advance();const a=this._value();if(this._previous().type===18)return pu.notEquals(i,a);switch(a){case"true":return pu.not(i);case"false":return pu.has(i);default:return pu.notEquals(i,a)}}case 5:return this._advance(),S6e.create(i,this._value());case 6:return this._advance(),B6e.create(i,this._value());case 7:return this._advance(),F6e.create(i,this._value());case 8:return this._advance(),A6e.create(i,this._value());case 13:return this._advance(),pu.in(i,this._value());default:return pu.has(i)}}case 20:throw this._parsingErrors.push({message:j4i,offset:e.offset,lexeme:"",additionalInfo:V4i}),une._parseError;default:throw this._errExpectedButGot(`true | false | KEY + | KEY '=~' REGEX + | KEY ('==' | '!=' | '<' | '<=' | '>' | '>=' | 'in' | 'not' 'in') value`,this._peek())}}_value(){const e=this._peek();switch(e.type){case 17:case 18:return this._advance(),e.lexeme;case 11:return this._advance(),"true";case 12:return this._advance(),"false";case 13:return this._advance(),"in";default:return""}}_removeFlagsGY(e){return e.replaceAll(this._flagsGYRe,"")}_previous(){return this._tokens[this._current-1]}_matchOne(e){return this._check(e)?(this._advance(),!0):!1}_advance(){return this._isAtEnd()||this._current++,this._previous()}_consume(e,i){if(this._check(e))return this._advance();throw this._errExpectedButGot(i,this._peek())}_errExpectedButGot(e,i,n){const a=V("contextkey.parser.error.expectedButGot",`Expected: {0} +Received: '{1}'.`,e,DI.getLexeme(i)),o=i.offset,c=DI.getLexeme(i);return this._parsingErrors.push({message:a,offset:o,lexeme:c,additionalInfo:n}),une._parseError}_check(e){return this._peek().type===e}_peek(){return this._tokens[this._current]}_isAtEnd(){return this._peek().type===20}};Vvt._parseError=new Error;class pu{static false(){return z_.INSTANCE}static true(){return V3.INSTANCE}static has(e){return WR.create(e)}static equals(e,i){return gae.create(e,i)}static notEquals(e,i){return y6e.create(e,i)}static regex(e,i){return Nue.create(e,i)}static in(e,i){return C6e.create(e,i)}static notIn(e,i){return b6e.create(e,i)}static not(e){return GR.create(e)}static and(...e){return LI.create(e,null,!0)}static or(...e){return FS.create(e,null,!0)}static deserialize(e){return e==null?void 0:this._parser.parse(e)}}pu._parser=new Vvt({regexParsingWithErrorRecovery:!1});function H4i(r,e){const i=r?r.substituteConstants():void 0,n=e?e.substituteConstants():void 0;return!i&&!n?!0:!i||!n?!1:i.equals(n)}function Ine(r,e){return r.cmp(e)}class z_{constructor(){this.type=0}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!1}serialize(){return"false"}keys(){return[]}negate(){return V3.INSTANCE}}z_.INSTANCE=new z_;class V3{constructor(){this.type=1}cmp(e){return this.type-e.type}equals(e){return e.type===this.type}substituteConstants(){return this}evaluate(e){return!0}serialize(){return"true"}keys(){return[]}negate(){return z_.INSTANCE}}V3.INSTANCE=new V3;class WR{static create(e,i=null){const n=Wg.get(e);return typeof n=="boolean"?n?V3.INSTANCE:z_.INSTANCE:new WR(e,i)}constructor(e,i){this.key=e,this.negated=i,this.type=2}cmp(e){return e.type!==this.type?this.type-e.type:Kvt(this.key,e.key)}equals(e){return e.type===this.type?this.key===e.key:!1}substituteConstants(){const e=Wg.get(this.key);return typeof e=="boolean"?e?V3.INSTANCE:z_.INSTANCE:this}evaluate(e){return!!e.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=GR.create(this.key,this)),this.negated}}class gae{static create(e,i,n=null){if(typeof i=="boolean")return i?WR.create(e,n):GR.create(e,n);const a=Wg.get(e);return typeof a=="boolean"?i===(a?"true":"false")?V3.INSTANCE:z_.INSTANCE:new gae(e,i,n)}constructor(e,i,n){this.key=e,this.value=i,this.negated=n,this.type=4}cmp(e){return e.type!==this.type?this.type-e.type:JR(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){const e=Wg.get(this.key);if(typeof e=="boolean"){const i=e?"true":"false";return this.value===i?V3.INSTANCE:z_.INSTANCE}return this}evaluate(e){return e.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y6e.create(this.key,this.value,this)),this.negated}}class C6e{static create(e,i){return new C6e(e,i)}constructor(e,i){this.key=e,this.valueKey=i,this.type=10,this.negated=null}cmp(e){return e.type!==this.type?this.type-e.type:JR(this.key,this.valueKey,e.key,e.valueKey)}equals(e){return e.type===this.type?this.key===e.key&&this.valueKey===e.valueKey:!1}substituteConstants(){return this}evaluate(e){const i=e.getValue(this.valueKey),n=e.getValue(this.key);return Array.isArray(i)?i.includes(n):typeof n=="string"&&typeof i=="object"&&i!==null?N4i.call(i,n):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=b6e.create(this.key,this.valueKey)),this.negated}}class b6e{static create(e,i){return new b6e(e,i)}constructor(e,i){this.key=e,this.valueKey=i,this.type=11,this._negated=C6e.create(e,i)}cmp(e){return e.type!==this.type?this.type-e.type:this._negated.cmp(e._negated)}equals(e){return e.type===this.type?this._negated.equals(e._negated):!1}substituteConstants(){return this}evaluate(e){return!this._negated.evaluate(e)}serialize(){return`${this.key} not in '${this.valueKey}'`}keys(){return this._negated.keys()}negate(){return this._negated}}class y6e{static create(e,i,n=null){if(typeof i=="boolean")return i?GR.create(e,n):WR.create(e,n);const a=Wg.get(e);return typeof a=="boolean"?i===(a?"true":"false")?z_.INSTANCE:V3.INSTANCE:new y6e(e,i,n)}constructor(e,i,n){this.key=e,this.value=i,this.negated=n,this.type=5}cmp(e){return e.type!==this.type?this.type-e.type:JR(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){const e=Wg.get(this.key);if(typeof e=="boolean"){const i=e?"true":"false";return this.value===i?z_.INSTANCE:V3.INSTANCE}return this}evaluate(e){return e.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=gae.create(this.key,this.value,this)),this.negated}}class GR{static create(e,i=null){const n=Wg.get(e);return typeof n=="boolean"?n?z_.INSTANCE:V3.INSTANCE:new GR(e,i)}constructor(e,i){this.key=e,this.negated=i,this.type=3}cmp(e){return e.type!==this.type?this.type-e.type:Kvt(this.key,e.key)}equals(e){return e.type===this.type?this.key===e.key:!1}substituteConstants(){const e=Wg.get(this.key);return typeof e=="boolean"?e?z_.INSTANCE:V3.INSTANCE:this}evaluate(e){return!e.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=WR.create(this.key,this)),this.negated}}function k6e(r,e){if(typeof r=="string"){const i=parseFloat(r);isNaN(i)||(r=i)}return typeof r=="string"||typeof r=="number"?e(r):z_.INSTANCE}class F6e{static create(e,i,n=null){return k6e(i,a=>new F6e(e,a,n))}constructor(e,i,n){this.key=e,this.value=i,this.negated=n,this.type=12}cmp(e){return e.type!==this.type?this.type-e.type:JR(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){return this}evaluate(e){return typeof this.value=="string"?!1:parseFloat(e.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B6e.create(this.key,this.value,this)),this.negated}}class A6e{static create(e,i,n=null){return k6e(i,a=>new A6e(e,a,n))}constructor(e,i,n){this.key=e,this.value=i,this.negated=n,this.type=13}cmp(e){return e.type!==this.type?this.type-e.type:JR(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){return this}evaluate(e){return typeof this.value=="string"?!1:parseFloat(e.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=S6e.create(this.key,this.value,this)),this.negated}}class S6e{static create(e,i,n=null){return k6e(i,a=>new S6e(e,a,n))}constructor(e,i,n){this.key=e,this.value=i,this.negated=n,this.type=14}cmp(e){return e.type!==this.type?this.type-e.type:JR(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){return this}evaluate(e){return typeof this.value=="string"?!1:parseFloat(e.getValue(this.key))new B6e(e,a,n))}constructor(e,i,n){this.key=e,this.value=i,this.negated=n,this.type=15}cmp(e){return e.type!==this.type?this.type-e.type:JR(this.key,this.value,e.key,e.value)}equals(e){return e.type===this.type?this.key===e.key&&this.value===e.value:!1}substituteConstants(){return this}evaluate(e){return typeof this.value=="string"?!1:parseFloat(e.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=F6e.create(this.key,this.value,this)),this.negated}}class Nue{static create(e,i){return new Nue(e,i)}constructor(e,i){this.key=e,this.regexp=i,this.type=7,this.negated=null}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.keye.key)return 1;const i=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return in?1:0}equals(e){if(e.type===this.type){const i=this.regexp?this.regexp.source:"",n=e.regexp?e.regexp.source:"";return this.key===e.key&&i===n}return!1}substituteConstants(){return this}evaluate(e){const i=e.getValue(this.key);return this.regexp?this.regexp.test(i):!1}serialize(){const e=this.regexp?`/${this.regexp.source}/${this.regexp.flags}`:"/invalid/";return`${this.key} =~ ${e}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=UGe.create(this)),this.negated}}class UGe{static create(e){return new UGe(e)}constructor(e){this._actual=e,this.type=8}cmp(e){return e.type!==this.type?this.type-e.type:this._actual.cmp(e._actual)}equals(e){return e.type===this.type?this._actual.equals(e._actual):!1}substituteConstants(){return this}evaluate(e){return!this._actual.evaluate(e)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function Hvt(r){let e=null;for(let i=0,n=r.length;ie.expr.length)return 1;for(let i=0,n=this.expr.length;i1;){const c=a[a.length-1];if(c.type!==9)break;a.pop();const h=a.pop(),g=a.length===0,_=FS.create(c.expr.map(x=>LI.create([x,h],null,n)),null,g);_&&(a.push(_),a.sort(Ine))}if(a.length===1)return a[0];if(n){for(let c=0;ce.serialize()).join(" && ")}keys(){const e=[];for(const i of this.expr)e.push(...i.keys());return e}negate(){if(!this.negated){const e=[];for(const i of this.expr)e.push(i.negate());this.negated=FS.create(e,this,!0)}return this.negated}}class FS{static create(e,i,n){return FS._normalizeArr(e,i,n)}constructor(e,i){this.expr=e,this.negated=i,this.type=9}cmp(e){if(e.type!==this.type)return this.type-e.type;if(this.expr.lengthe.expr.length)return 1;for(let i=0,n=this.expr.length;ie.serialize()).join(" || ")}keys(){const e=[];for(const i of this.expr)e.push(...i.keys());return e}negate(){if(!this.negated){const e=[];for(const i of this.expr)e.push(i.negate());for(;e.length>1;){const i=e.shift(),n=e.shift(),a=[];for(const o of kgt(i))for(const c of kgt(n))a.push(LI.create([o,c],null,!1));e.unshift(FS.create(a,null,!1))}this.negated=FS.create(e,this,!0)}return this.negated}}class Hr extends WR{static all(){return Hr._info.values()}constructor(e,i,n){super(e,null),this._defaultValue=i,typeof n=="object"?Hr._info.push(Object.assign(Object.assign({},n),{key:e})):n!==!0&&Hr._info.push({key:e,description:n,type:i!=null?typeof i:void 0})}bindTo(e){return e.createKey(this.key,this._defaultValue)}getValue(e){return e.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(e){return gae.create(this.key,e)}}Hr._info=[];const Go=y0("contextKeyService");function Kvt(r,e){return re?1:0}function JR(r,e,i,n){return ri?1:en?1:0}function uVe(r,e){if(r.type===0||e.type===1)return!0;if(r.type===9)return e.type===9?ygt(r.expr,e.expr):!1;if(e.type===9){for(const i of e.expr)if(uVe(r,i))return!0;return!1}if(r.type===6){if(e.type===6)return ygt(e.expr,r.expr);for(const i of r.expr)if(uVe(i,e))return!0;return!1}return r.equals(e)}function ygt(r,e){let i=0,n=0;for(;i=0;h--)(c=r[h])&&(o=(a<3?c(o):a>3?c(e,i,o):c(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},mIe=function(r,e){return function(i,n){e(i,n,r)}};const W4i={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0,findResultLoop:!0};let rVe=class extends ln{constructor(e,i={},n,a,o){super(),this._audioCueService=n,this._codeEditorService=a,this._accessibilityService=o,this._onDidUpdate=this._register(new yi),this._editor=e,this._options=cae(i,W4i,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=!!this._options.alwaysRevealFirst,this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(c=>{this.ignoreSelectionChange||(this._updateAccessibilityState(c.position.lineNumber),this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(c=>{this.revealFirst=!0})),this._init()}_init(){this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&this._editor.getLineChanges()!==null&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(e){this.ranges=[],e&&e.forEach(i=>{!this._options.ignoreCharChanges&&i.charChanges?i.charChanges.forEach(n=>{this.ranges.push({rhs:!0,range:new ot(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn)})}):i.modifiedEndLineNumber===0?this.ranges.push({rhs:!0,range:new ot(i.modifiedStartLineNumber,1,i.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new ot(i.modifiedStartLineNumber,1,i.modifiedEndLineNumber+1,1)})}),this.ranges.sort((i,n)=>ot.compareRangesUsingStarts(i.range,n.range)),this._onDidUpdate.fire(this)}_initIdx(e){let i=!1;const n=this._editor.getPosition();if(!n){this.nextIdx=0;return}for(let a=0,o=this.ranges.length;a=this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));const n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{const a=n.range.getStartPosition();this._editor.setPosition(a),this._editor.revealRangeInCenter(n.range,i),this._updateAccessibilityState(a.lineNumber,!0)}finally{this.ignoreSelectionChange=!1}}_updateAccessibilityState(e,i){var n;const a=(n=this._editor.getModel())===null||n===void 0?void 0:n.modified;if(!a)return;const o=a.getLineDecorations(e).find(h=>h.options.className==="line-insert");if(o)this._audioCueService.playAudioCue(Zl.diffLineModified,!0);else if(i)this._audioCueService.playAudioCue(Zl.diffLineDeleted,!0);else return;const c=this._codeEditorService.getActiveCodeEditor();i&&c&&o&&this._accessibilityService.isScreenReaderOptimized()&&(c.setSelection({startLineNumber:e,startColumn:0,endLineNumber:e,endColumn:Number.MAX_VALUE}),c.writeScreenReaderContent("diff-navigation"))}canNavigate(){return this.ranges&&this.ranges.length>0}next(e=0){this.canNavigateNext()&&this._move(!0,e)}previous(e=0){this.canNavigatePrevious()&&this._move(!1,e)}canNavigateNext(){return this.canNavigateLoop()||this.nextIdx0&&r.getLanguageId(c-1)===a;)c--;return new Z4i(r,a,c,o+1,r.getStartOffset(c),r.getEndOffset(o))}class Z4i{constructor(e,i,n,a,o,c){this._scopedLineTokensBrand=void 0,this._actual=e,this.languageId=i,this._firstTokenIndex=n,this._lastTokenIndex=a,this.firstCharOffset=o,this._lastCharOffset=c}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(e){return this._actual.getLineContent().substring(0,this.firstCharOffset+e)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(e){return this._actual.findTokenIndexAtOffset(e+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(e){return this._actual.getStandardTokenType(e+this._firstTokenIndex)}}function RF(r){return(r&3)!==0}class MJ{constructor(e){if(e.autoClosingPairs?this._autoClosingPairs=e.autoClosingPairs.map(i=>new gIe(i)):e.brackets?this._autoClosingPairs=e.brackets.map(i=>new gIe({open:i[0],close:i[1]})):this._autoClosingPairs=[],e.__electricCharacterSupport&&e.__electricCharacterSupport.docComment){const i=e.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new gIe({open:i.open,close:i.close||""}))}this._autoCloseBeforeForQuotes=typeof e.autoCloseBefore=="string"?e.autoCloseBefore:MJ.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES,this._autoCloseBeforeForBrackets=typeof e.autoCloseBefore=="string"?e.autoCloseBefore:MJ.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS,this._surroundingPairs=e.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(e){return e?this._autoCloseBeforeForQuotes:this._autoCloseBeforeForBrackets}getSurroundingPairs(){return this._surroundingPairs}}MJ.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_QUOTES=`;:.,=}])> + `;MJ.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED_BRACKETS=`'"\`;:.,=}])> + `;const Fgt=typeof Buffer<"u";let EIe;class T6e{static wrap(e){return Fgt&&!Buffer.isBuffer(e)&&(e=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),new T6e(e)}constructor(e){this.buffer=e,this.byteLength=this.buffer.byteLength}toString(){return Fgt?this.buffer.toString():(EIe||(EIe=new TextDecoder),EIe.decode(this.buffer))}}function Y4i(r,e){return r[e+0]<<0>>>0|r[e+1]<<8>>>0}function Q4i(r,e,i){r[i+0]=e&255,e=e>>>8,r[i+1]=e&255}function Ub(r,e){return r[e]*Math.pow(2,24)+r[e+1]*Math.pow(2,16)+r[e+2]*Math.pow(2,8)+r[e+3]}function qb(r,e,i){r[i+3]=e,e=e>>>8,r[i+2]=e,e=e>>>8,r[i+1]=e,e=e>>>8,r[i]=e}function Agt(r,e){return r[e]}function Sgt(r,e,i){r[i]=e}let _Ie;function Wvt(){return _Ie||(_Ie=new TextDecoder("UTF-16LE")),_Ie}let DIe;function X4i(){return DIe||(DIe=new TextDecoder("UTF-16BE")),DIe}let xIe;function Gvt(){return xIe||(xIe=X6t()?Wvt():X4i()),xIe}function epi(r,e,i){const n=new Uint16Array(r.buffer,e,i);return i>0&&(n[0]===65279||n[0]===65534)?tpi(r,e,i):Wvt().decode(n)}function tpi(r,e,i){const n=[];let a=0;for(let o=0;o=this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=e;return}for(let n=0;n[c[0].toLowerCase(),c[1].toLowerCase()]);const i=[];for(let c=0;c{const[g,_]=c,[x,y]=h;return g===x||g===y||_===x||_===y},a=(c,h)=>{const g=Math.min(c,h),_=Math.max(c,h);for(let x=0;x0&&o.push({open:h,close:g})}return o}class npi{constructor(e,i){this._richEditBracketsBrand=void 0;const n=ipi(i);this.brackets=n.map((a,o)=>new o5e(e,o,a.open,a.close,upi(a.open,a.close,n,o),rpi(a.open,a.close,n,o))),this.forwardRegex=api(this.brackets),this.reversedRegex=opi(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const a of this.brackets){for(const o of a.open)this.textIsBracket[o]=a,this.textIsOpenBracket[o]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,o.length);for(const o of a.close)this.textIsBracket[o]=a,this.textIsOpenBracket[o]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,o.length)}}}function Jvt(r,e,i,n){for(let a=0,o=e.length;a=0&&n.push(h);for(const h of c.close)h.indexOf(r)>=0&&n.push(h)}}function $vt(r,e){return r.length-e.length}function L6e(r){if(r.length<=1)return r;const e=[],i=new Set;for(const n of r)i.has(n)||(e.push(n),i.add(n));return e}function upi(r,e,i,n){let a=[];a=a.concat(r),a=a.concat(e);for(let o=0,c=a.length;o=0;c--)a[o++]=n.charCodeAt(c);return Gvt().decode(a)}let e=null,i=null;return function(a){return e!==a&&(e=a,i=r(e)),i}}();class RC{static _findPrevBracketInText(e,i,n,a){const o=n.match(e);if(!o)return null;const c=n.length-(o.index||0),h=o[0].length,g=a+c;return new ot(i,g-h+1,i,g+1)}static findPrevBracketInRange(e,i,n,a,o){const h=qGe(n).substring(n.length-o,n.length-a);return this._findPrevBracketInText(e,i,h,a)}static findNextBracketInText(e,i,n,a){const o=n.match(e);if(!o)return null;const c=o.index||0,h=o[0].length;if(h===0)return null;const g=a+c;return new ot(i,g+1,i,g+1+h)}static findNextBracketInRange(e,i,n,a,o){const c=n.substring(a,o);return this.findNextBracketInText(e,i,c,a)}}class lpi{constructor(e){this._richEditBrackets=e}getElectricCharacters(){const e=[];if(this._richEditBrackets)for(const i of this._richEditBrackets.brackets)for(const n of i.close){const a=n.charAt(n.length-1);e.push(a)}return OL(e)}onElectricCharacter(e,i,n){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const a=i.findTokenIndexAtOffset(n-1);if(RF(i.getStandardTokenType(a)))return null;const o=this._richEditBrackets.reversedRegex,c=i.getLineContent().substring(0,n-1)+e,h=RC.findPrevBracketInRange(o,1,c,0,c.length);if(!h)return null;const g=c.substring(h.startColumn-1,h.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[g])return null;const x=i.getActualLineContentBefore(h.startColumn-1);return/^\s*$/.test(x)?{matchOpenBracket:g}:null}}function F_e(r){return r.global&&(r.lastIndex=0),!0}class cpi{constructor(e){this._indentationRules=e}shouldIncrease(e){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&F_e(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(e))}shouldDecrease(e){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&F_e(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(e))}shouldIndentNextLine(e){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&F_e(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(e))}shouldIgnore(e){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&F_e(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(e))}getIndentMetadata(e){let i=0;return this.shouldIncrease(e)&&(i+=1),this.shouldDecrease(e)&&(i+=2),this.shouldIndentNextLine(e)&&(i+=4),this.shouldIgnore(e)&&(i+=8),i}}class yG{constructor(e){e=e||{},e.brackets=e.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],e.brackets.forEach(i=>{const n=yG._createOpenBracketRegExp(i[0]),a=yG._createCloseBracketRegExp(i[1]);n&&a&&this._brackets.push({open:i[0],openRegExp:n,close:i[1],closeRegExp:a})}),this._regExpRules=e.onEnterRules||[]}onEnter(e,i,n,a){if(e>=3)for(let o=0,c=this._regExpRules.length;o_.reg?(_.reg.lastIndex=0,_.reg.test(_.text)):!0))return h.action}if(e>=2&&n.length>0&&a.length>0)for(let o=0,c=this._brackets.length;o=2&&n.length>0){for(let o=0,c=this._brackets.length;o"u"?i:o}function hpi(r){return r.replace(/[\[\]]/g,"")}const s1=y0("languageService");class UF{constructor(e,i=[],n=!1){this.ctor=e,this.staticArguments=i,this.supportsDelayedInstantiation=n}}const Zvt=[];function el(r,e,i){e instanceof UF||(e=new UF(e,[],!!i)),Zvt.push([r,e])}function wgt(){return Zvt}class fpi{constructor(){this.data=new Map}add(e,i){zne(P_(e)),zne(R3(i)),zne(!this.data.has(e),"There is already an extension with this id"),this.data.set(e,i)}as(e){return this.data.get(e)||null}}const G1=new fpi,I3=Object.freeze({text:"text/plain",binary:"application/octet-stream",unknown:"application/unknown",markdown:"text/markdown",latex:"text/latex",uriList:"text/uri-list"}),P6e={JSONContribution:"base.contributions.json"};function mpi(r){return r.length>0&&r.charAt(r.length-1)==="#"?r.substring(0,r.length-1):r}class ppi{constructor(){this._onDidChangeSchema=new yi,this.schemasById={}}registerSchema(e,i){this.schemasById[mpi(e)]=i,this._onDidChangeSchema.fire(e)}notifySchemaChanged(e){this._onDidChangeSchema.fire(e)}}const gpi=new ppi;G1.add(P6e.JSONContribution,gpi);const jA={Configuration:"base.contributions.configuration"},Aie="vscode://schemas/settings/resourceLanguage",Tgt=G1.as(P6e.JSONContribution);class Epi{constructor(){this.overrideIdentifiers=new Set,this._onDidSchemaChange=new yi,this._onDidUpdateConfiguration=new yi,this.configurationDefaultsOverrides=new Map,this.defaultLanguageConfigurationOverridesNode={id:"defaultOverrides",title:V("defaultLanguageConfigurationOverrides.title","Default Language Configuration Overrides"),properties:{}},this.configurationContributors=[this.defaultLanguageConfigurationOverridesNode],this.resourceLanguageSettingsSchema={properties:{},patternProperties:{},additionalProperties:!0,allowTrailingCommas:!0,allowComments:!0},this.configurationProperties={},this.policyConfigurations=new Map,this.excludedConfigurationProperties={},Tgt.registerSchema(Aie,this.resourceLanguageSettingsSchema),this.registerOverridePropertyPatternKey()}registerConfiguration(e,i=!0){this.registerConfigurations([e],i)}registerConfigurations(e,i=!0){const n=new Set;this.doRegisterConfigurations(e,i,n),Tgt.registerSchema(Aie,this.resourceLanguageSettingsSchema),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:n})}registerDefaultConfigurations(e){const i=new Set;this.doRegisterDefaultConfigurations(e,i),this._onDidSchemaChange.fire(),this._onDidUpdateConfiguration.fire({properties:i,defaultsOverrides:!0})}doRegisterDefaultConfigurations(e,i){var n;const a=[];for(const{overrides:o,source:c}of e)for(const h in o)if(i.add(h),HL.test(h)){const g=this.configurationDefaultsOverrides.get(h),_=(n=g==null?void 0:g.valuesSources)!==null&&n!==void 0?n:new Map;if(c)for(const L of Object.keys(o[h]))_.set(L,c);const x=Object.assign(Object.assign({},(g==null?void 0:g.value)||{}),o[h]);this.configurationDefaultsOverrides.set(h,{source:c,value:x,valuesSources:_});const y=hpi(h),S={type:"object",default:x,description:V("defaultLanguageConfiguration.description","Configure settings to be overridden for the {0} language.",y),$ref:Aie,defaultDefaultValue:x,source:P_(c)?void 0:c,defaultValueSource:c};a.push(...s5e(h)),this.configurationProperties[h]=S,this.defaultLanguageConfigurationOverridesNode.properties[h]=S}else{this.configurationDefaultsOverrides.set(h,{value:o[h],source:c});const g=this.configurationProperties[h];g&&(this.updatePropertyDefaultValue(h,g),this.updateSchema(h,g))}this.doRegisterOverrideIdentifiers(a)}registerOverrideIdentifiers(e){this.doRegisterOverrideIdentifiers(e),this._onDidSchemaChange.fire()}doRegisterOverrideIdentifiers(e){for(const i of e)this.overrideIdentifiers.add(i);this.updateOverridePropertyPatternKey()}doRegisterConfigurations(e,i,n){e.forEach(a=>{this.validateAndRegisterProperties(a,i,a.extensionInfo,a.restrictedProperties,void 0,n),this.configurationContributors.push(a),this.registerJSONConfiguration(a)})}validateAndRegisterProperties(e,i=!0,n,a,o=3,c){var h;o=tx(e.scope)?o:e.scope;const g=e.properties;if(g)for(const x in g){const y=g[x];if(i&&xpi(x,y)){delete g[x];continue}if(y.source=n,y.defaultDefaultValue=g[x].default,this.updatePropertyDefaultValue(x,y),HL.test(x)?y.scope=void 0:(y.scope=tx(y.scope)?o:y.scope,y.restricted=tx(y.restricted)?!!(a!=null&&a.includes(x)):y.restricted),g[x].hasOwnProperty("included")&&!g[x].included){this.excludedConfigurationProperties[x]=g[x],delete g[x];continue}else this.configurationProperties[x]=g[x],!((h=g[x].policy)===null||h===void 0)&&h.name&&this.policyConfigurations.set(g[x].policy.name,x);!g[x].deprecationMessage&&g[x].markdownDeprecationMessage&&(g[x].deprecationMessage=g[x].markdownDeprecationMessage),c.add(x)}const _=e.allOf;if(_)for(const x of _)this.validateAndRegisterProperties(x,i,n,a,o,c)}getConfigurationProperties(){return this.configurationProperties}getPolicyConfigurations(){return this.policyConfigurations}registerJSONConfiguration(e){const i=n=>{const a=n.properties;if(a)for(const c in a)this.updateSchema(c,a[c]);const o=n.allOf;o==null||o.forEach(i)};i(e)}updateSchema(e,i){switch(i.scope){case 1:break;case 2:break;case 6:break;case 3:break;case 4:break;case 5:this.resourceLanguageSettingsSchema.properties[e]=i;break}}updateOverridePropertyPatternKey(){for(const e of this.overrideIdentifiers.values()){const i=`[${e}]`,n={type:"object",description:V("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),errorMessage:V("overrideSettings.errorMessage","This setting does not support per-language configuration."),$ref:Aie};this.updatePropertyDefaultValue(i,n)}}registerOverridePropertyPatternKey(){V("overrideSettings.defaultDescription","Configure editor settings to be overridden for a language."),V("overrideSettings.errorMessage","This setting does not support per-language configuration."),this._onDidSchemaChange.fire()}updatePropertyDefaultValue(e,i){const n=this.configurationDefaultsOverrides.get(e);let a=n==null?void 0:n.value,o=n==null?void 0:n.source;ID(a)&&(a=i.defaultDefaultValue,o=void 0),ID(a)&&(a=Dpi(i.type)),i.default=a,i.defaultValueSource=o}}const Yvt="\\[([^\\]]+)\\]",Lgt=new RegExp(Yvt,"g"),_pi=`^(${Yvt})+$`,HL=new RegExp(_pi);function s5e(r){const e=[];if(HL.test(r)){let i=Lgt.exec(r);for(;i!=null&&i.length;){const n=i[1].trim();n&&e.push(n),i=Lgt.exec(r)}}return OL(e)}function Dpi(r){switch(Array.isArray(r)?r[0]:r){case"boolean":return!1;case"integer":case"number":return 0;case"string":return"";case"array":return[];case"object":return{};default:return null}}const tDe=new Epi;G1.add(jA.Configuration,tDe);function xpi(r,e){var i,n,a,o;return r.trim()?HL.test(r)?V("config.property.languageDefault","Cannot register '{0}'. This matches property pattern '\\\\[.*\\\\]$' for describing language specific editor settings. Use 'configurationDefaults' contribution.",r):tDe.getConfigurationProperties()[r]!==void 0?V("config.property.duplicate","Cannot register '{0}'. This property is already registered.",r):!((i=e.policy)===null||i===void 0)&&i.name&&tDe.getPolicyConfigurations().get((n=e.policy)===null||n===void 0?void 0:n.name)!==void 0?V("config.policy.duplicate","Cannot register '{0}'. The associated policy {1} is already registered with {2}.",r,(a=e.policy)===null||a===void 0?void 0:a.name,tDe.getPolicyConfigurations().get((o=e.policy)===null||o===void 0?void 0:o.name)):null:V("config.property.empty","Cannot register an empty property")}const vpi={ModesRegistry:"editor.modesRegistry"};class Cpi{constructor(){this._onDidChangeLanguages=new yi,this.onDidChangeLanguages=this._onDidChangeLanguages.event,this._languages=[]}registerLanguage(e){return this._languages.push(e),this._onDidChangeLanguages.fire(void 0),{dispose:()=>{for(let i=0,n=this._languages.length;i{const g=new Set;return{info:new kpi(this,h,g),closing:g}}),o=new xgt(h=>{const g=new Set,_=new Set;return{info:new Fpi(this,h,g,_),opening:g,openingColorized:_}});for(const[h,g]of n){const _=a.get(h),x=o.get(g);_.closing.add(x.info),x.opening.add(_.info)}const c=i.colorizedBracketPairs?Ngt(i.colorizedBracketPairs):n.filter(h=>!(h[0]==="<"&&h[1]===">"));for(const[h,g]of c){const _=a.get(h),x=o.get(g);_.closing.add(x.info),x.openingColorized.add(_.info),x.opening.add(_.info)}this._openingBrackets=new Map([...a.cachedValues].map(([h,g])=>[h,g.info])),this._closingBrackets=new Map([...o.cachedValues].map(([h,g])=>[h,g.info]))}get openingBrackets(){return[...this._openingBrackets.values()]}get closingBrackets(){return[...this._closingBrackets.values()]}getOpeningBracketInfo(e){return this._openingBrackets.get(e)}getClosingBracketInfo(e){return this._closingBrackets.get(e)}getBracketInfo(e){return this.getOpeningBracketInfo(e)||this.getClosingBracketInfo(e)}}function Ngt(r){return r.filter(([e,i])=>e!==""&&i!=="")}class Qvt{constructor(e,i){this.config=e,this.bracketText=i}get languageId(){return this.config.languageId}}class kpi extends Qvt{constructor(e,i,n){super(e,i),this.openedBrackets=n,this.isOpeningBracket=!0}}class Fpi extends Qvt{constructor(e,i,n,a){super(e,i),this.openingBrackets=n,this.openingColorizedBrackets=a,this.isOpeningBracket=!1}closes(e){return e.config!==this.config?!1:this.openingBrackets.has(e)}closesColorized(e){return e.config!==this.config?!1:this.openingColorizedBrackets.has(e)}getOpeningBrackets(){return[...this.openingBrackets]}}var Api=function(r,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,i,n);else for(var h=r.length-1;h>=0;h--)(c=r[h])&&(o=(a<3?c(o):a>3?c(e,i,o):c(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},Pgt=function(r,e){return function(i,n){e(i,n,r)}};class vIe{constructor(e){this.languageId=e}affects(e){return this.languageId?this.languageId===e:!0}}const B1=y0("languageConfigurationService");let oVe=class extends ln{constructor(e,i){super(),this.configurationService=e,this.languageService=i,this._registry=this._register(new Tpi),this.onDidChangeEmitter=this._register(new yi),this.onDidChange=this.onDidChangeEmitter.event,this.configurations=new Map;const n=new Set(Object.values(sVe));this._register(this.configurationService.onDidChangeConfiguration(a=>{const o=a.change.keys.some(h=>n.has(h)),c=a.change.overrides.filter(([h,g])=>g.some(_=>n.has(_))).map(([h])=>h);if(o)this.configurations.clear(),this.onDidChangeEmitter.fire(new vIe(void 0));else for(const h of c)this.languageService.isRegisteredLanguageId(h)&&(this.configurations.delete(h),this.onDidChangeEmitter.fire(new vIe(h)))})),this._register(this._registry.onDidChange(a=>{this.configurations.delete(a.languageId),this.onDidChangeEmitter.fire(new vIe(a.languageId))}))}register(e,i,n){return this._registry.register(e,i,n)}getLanguageConfiguration(e){let i=this.configurations.get(e);return i||(i=Spi(e,this._registry,this.configurationService,this.languageService),this.configurations.set(e,i)),i}};oVe=Api([Pgt(0,gl),Pgt(1,s1)],oVe);function Spi(r,e,i,n){let a=e.getLanguageConfiguration(r);if(!a){if(!n.isRegisteredLanguageId(r))return new eJ(r,{});a=new eJ(r,{})}const o=Bpi(a.languageId,i),c=eCt([a.underlyingConfig,o]);return new eJ(a.languageId,c)}const sVe={brackets:"editor.language.brackets",colorizedBracketPairs:"editor.language.colorizedBracketPairs"};function Bpi(r,e){const i=e.getValue(sVe.brackets,{overrideIdentifier:r}),n=e.getValue(sVe.colorizedBracketPairs,{overrideIdentifier:r});return{brackets:Mgt(i),colorizedBracketPairs:Mgt(n)}}function Mgt(r){if(Array.isArray(r))return r.map(e=>{if(!(!Array.isArray(e)||e.length!==2))return[e[0],e[1]]}).filter(e=>!!e)}function Xvt(r,e,i){const n=r.getLineContent(e);let a=ad(n);return a.length>i-1&&(a=a.substring(0,i-1)),a}function XG(r,e,i){r.tokenization.forceTokenization(e);const n=r.tokenization.getLineTokens(e),a=typeof i>"u"?r.getLineMaxColumn(e)-1:i-1;return w6e(n,a)}class wpi{constructor(e){this.languageId=e,this._resolved=null,this._entries=[],this._order=0,this._resolved=null}register(e,i){const n=new zgt(e,i,++this._order);return this._entries.push(n),this._resolved=null,ws(()=>{for(let a=0;ae.configuration)))}}function eCt(r){let e={comments:void 0,brackets:void 0,wordPattern:void 0,indentationRules:void 0,onEnterRules:void 0,autoClosingPairs:void 0,surroundingPairs:void 0,autoCloseBefore:void 0,folding:void 0,colorizedBracketPairs:void 0,__electricCharacterSupport:void 0};for(const i of r)e={comments:i.comments||e.comments,brackets:i.brackets||e.brackets,wordPattern:i.wordPattern||e.wordPattern,indentationRules:i.indentationRules||e.indentationRules,onEnterRules:i.onEnterRules||e.onEnterRules,autoClosingPairs:i.autoClosingPairs||e.autoClosingPairs,surroundingPairs:i.surroundingPairs||e.surroundingPairs,autoCloseBefore:i.autoCloseBefore||e.autoCloseBefore,folding:i.folding||e.folding,colorizedBracketPairs:i.colorizedBracketPairs||e.colorizedBracketPairs,__electricCharacterSupport:i.__electricCharacterSupport||e.__electricCharacterSupport};return e}class zgt{constructor(e,i,n){this.configuration=e,this.priority=i,this.order=n}static cmp(e,i){return e.priority===i.priority?e.order-i.order:e.priority-i.priority}}class Igt{constructor(e){this.languageId=e}}class Tpi extends ln{constructor(){super(),this._entries=new Map,this._onDidChange=this._register(new yi),this.onDidChange=this._onDidChange.event,this._register(this.register(hx,{brackets:[["(",")"],["[","]"],["{","}"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],colorizedBracketPairs:[],folding:{offSide:!0}},0))}register(e,i,n=0){let a=this._entries.get(e);a||(a=new wpi(e),this._entries.set(e,a));const o=a.register(i,n);return this._onDidChange.fire(new Igt(e)),ws(()=>{o.dispose(),this._onDidChange.fire(new Igt(e))})}getLanguageConfiguration(e){const i=this._entries.get(e);return(i==null?void 0:i.getResolvedConfiguration())||null}}class eJ{constructor(e,i){this.languageId=e,this.underlyingConfig=i,this._brackets=null,this._electricCharacter=null,this._onEnterSupport=this.underlyingConfig.brackets||this.underlyingConfig.indentationRules||this.underlyingConfig.onEnterRules?new yG(this.underlyingConfig):null,this.comments=eJ._handleComments(this.underlyingConfig),this.characterPair=new MJ(this.underlyingConfig),this.wordDefinition=this.underlyingConfig.wordPattern||yGe,this.indentationRules=this.underlyingConfig.indentationRules,this.underlyingConfig.indentationRules?this.indentRulesSupport=new cpi(this.underlyingConfig.indentationRules):this.indentRulesSupport=null,this.foldingRules=this.underlyingConfig.folding||{},this.bracketsNew=new ypi(e,this.underlyingConfig)}getWordDefinition(){return ivt(this.wordDefinition)}get brackets(){return!this._brackets&&this.underlyingConfig.brackets&&(this._brackets=new npi(this.languageId,this.underlyingConfig.brackets)),this._brackets}get electricCharacter(){return this._electricCharacter||(this._electricCharacter=new lpi(this.brackets)),this._electricCharacter}onEnter(e,i,n,a){return this._onEnterSupport?this._onEnterSupport.onEnter(e,i,n,a):null}getAutoClosingPairs(){return new q4i(this.characterPair.getAutoClosingPairs())}getAutoCloseBeforeSet(e){return this.characterPair.getAutoCloseBeforeSet(e)}getSurroundingPairs(){return this.characterPair.getSurroundingPairs()}static _handleComments(e){const i=e.comments;if(!i)return null;const n={};if(i.lineComment&&(n.lineCommentToken=i.lineComment),i.blockComment){const[a,o]=i.blockComment;n.blockCommentStartToken=a,n.blockCommentEndToken=o}return n}}el(B1,oVe,1);const IJ=new class{clone(){return this}equals(r){return this===r}};function ZGe(r,e){return new PGe([new Sue(0,"",r)],e)}function M6e(r,e){const i=new Uint32Array(2);return i[0]=0,i[1]=(r<<0|0|0|32768|2<<24)>>>0,new D6e(i,e===null?IJ:e)}const lh=y0("modelService"),tCt=Symbol("MicrotaskDelay");var M6=function(r,e,i,n){function a(o){return o instanceof i?o:new i(function(c){c(o)})}return new(i||(i=Promise))(function(o,c){function h(x){try{_(n.next(x))}catch(y){c(y)}}function g(x){try{_(n.throw(x))}catch(y){c(y)}}function _(x){x.done?o(x.value):a(x.value).then(h,g)}_((n=n.apply(r,e||[])).next())})},rne=function(r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=r[Symbol.asyncIterator],i;return e?e.call(r):(r=typeof __values=="function"?__values(r):r[Symbol.iterator](),i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i);function n(o){i[o]=r[o]&&function(c){return new Promise(function(h,g){c=r[o](c),a(h,g,c.done,c.value)})}}function a(o,c,h,g){Promise.resolve(g).then(function(_){o({value:_,done:h})},c)}};function lVe(r){return!!r&&typeof r.then=="function"}function u4(r){const e=new kp,i=r(e.token),n=new Promise((a,o)=>{const c=e.token.onCancellationRequested(()=>{c.dispose(),e.dispose(),o(new aN)});Promise.resolve(i).then(h=>{c.dispose(),e.dispose(),a(h)},h=>{c.dispose(),e.dispose(),o(h)})});return new class{cancel(){e.cancel()}then(a,o){return n.then(a,o)}catch(a){return this.then(void 0,a)}finally(a){return n.finally(a)}}}function z6e(r,e,i){return new Promise((n,a)=>{const o=e.onCancellationRequested(()=>{o.dispose(),n(i)});r.then(n,a).finally(()=>o.dispose())})}class Lpi{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(e){if(this.activePromise){if(this.queuedPromiseFactory=e,!this.queuedPromise){const i=()=>{this.queuedPromise=null;const n=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,n};this.queuedPromise=new Promise(n=>{this.activePromise.then(i,i).then(n)})}return new Promise((i,n)=>{this.queuedPromise.then(i,n)})}return this.activePromise=e(),new Promise((i,n)=>{this.activePromise.then(a=>{this.activePromise=null,i(a)},a=>{this.activePromise=null,n(a)})})}}const Npi=(r,e)=>{let i=!0;const n=setTimeout(()=>{i=!1,e()},r);return{isTriggered:()=>i,dispose:()=>{clearTimeout(n),i=!1}}},Ppi=r=>{let e=!0;return queueMicrotask(()=>{e&&(e=!1,r())}),{isTriggered:()=>e,dispose:()=>{e=!1}}};class ky{constructor(e){this.defaultDelay=e,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(e,i=this.defaultDelay){this.task=e,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((a,o)=>{this.doResolve=a,this.doReject=o}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const a=this.task;return this.task=null,a()}}));const n=()=>{var a;this.deferred=null,(a=this.doResolve)===null||a===void 0||a.call(this,null)};return this.deferred=i===tCt?Ppi(n):Npi(i,n),this.completionPromise}isTriggered(){var e;return!!(!((e=this.deferred)===null||e===void 0)&&e.isTriggered())}cancel(){var e;this.cancelTimeout(),this.completionPromise&&((e=this.doReject)===null||e===void 0||e.call(this,new aN),this.completionPromise=null)}cancelTimeout(){var e;(e=this.deferred)===null||e===void 0||e.dispose(),this.deferred=null}dispose(){this.cancel()}}class iCt{constructor(e){this.delayer=new ky(e),this.throttler=new Lpi}trigger(e,i){return this.delayer.trigger(()=>this.throttler.queue(e),i)}cancel(){this.delayer.cancel()}dispose(){this.delayer.dispose()}}function KL(r,e){return e?new Promise((i,n)=>{const a=setTimeout(()=>{o.dispose(),i()},r),o=e.onCancellationRequested(()=>{clearTimeout(a),o.dispose(),n(new aN)})}):u4(i=>KL(r,i))}function lR(r,e=0){const i=setTimeout(r,e);return ws(()=>clearTimeout(i))}function nCt(r,e=n=>!!n,i=null){let n=0;const a=r.length,o=()=>{if(n>=a)return Promise.resolve(i);const c=r[n++];return Promise.resolve(c()).then(g=>e(g)?Promise.resolve(g):o())};return o()}class tv{constructor(e,i){this._token=-1,typeof e=="function"&&typeof i=="number"&&this.setIfNotSet(e,i)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(e,i){this.cancel(),this._token=setTimeout(()=>{this._token=-1,e()},i)}setIfNotSet(e,i){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,e()},i))}}class Dae{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(e,i){this.cancel(),this._token=setInterval(()=>{e()},i)}}class Qc{constructor(e,i){this.timeoutToken=-1,this.runner=e,this.timeout=i,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){var e;(e=this.runner)===null||e===void 0||e.call(this)}}let TS;(function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?TS=r=>{Q6t(()=>{if(e)return;const i=Date.now()+15;r(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,i-Date.now())}}))});let e=!1;return{dispose(){e||(e=!0)}}}:TS=(r,e)=>{const i=requestIdleCallback(r,typeof e=="number"?{timeout:e}:void 0);let n=!1;return{dispose(){n||(n=!0,cancelIdleCallback(i))}}}})();class iDe{constructor(e){this._didRun=!1,this._executor=()=>{try{this._value=e()}catch(i){this._error=i}finally{this._didRun=!0}},this._handle=TS(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}class YGe{get isRejected(){return this.rejected}get isSettled(){return this.rejected||this.resolved}constructor(){this.rejected=!1,this.resolved=!1,this.p=new Promise((e,i)=>{this.completeCallback=e,this.errorCallback=i})}complete(e){return new Promise(i=>{this.completeCallback(e),this.resolved=!0,i()})}cancel(){new Promise(e=>{this.errorCallback(new aN),this.rejected=!0,e()})}}var cVe;(function(r){function e(n){return M6(this,void 0,void 0,function*(){let a;const o=yield Promise.all(n.map(c=>c.then(h=>h,h=>{a||(a=h)})));if(typeof a<"u")throw a;return o})}r.settled=e;function i(n){return new Promise((a,o)=>M6(this,void 0,void 0,function*(){try{yield n(a,o)}catch(c){o(c)}}))}r.withAsyncBody=i})(cVe||(cVe={}));class Bf{static fromArray(e){return new Bf(i=>{i.emitMany(e)})}static fromPromise(e){return new Bf(i=>M6(this,void 0,void 0,function*(){i.emitMany(yield e)}))}static fromPromises(e){return new Bf(i=>M6(this,void 0,void 0,function*(){yield Promise.all(e.map(n=>M6(this,void 0,void 0,function*(){return i.emitOne(yield n)})))}))}static merge(e){return new Bf(i=>M6(this,void 0,void 0,function*(){yield Promise.all(e.map(n=>{var a,o,c;return M6(this,void 0,void 0,function*(){var h,g,_,x;try{for(a=!0,o=rne(n);c=yield o.next(),h=c.done,!h;){x=c.value,a=!1;try{const y=x;i.emitOne(y)}finally{a=!0}}}catch(y){g={error:y}}finally{try{!a&&!h&&(_=o.return)&&(yield _.call(o))}finally{if(g)throw g.error}}})}))}))}constructor(e){this._state=0,this._results=[],this._error=null,this._onStateChanged=new yi,queueMicrotask(()=>M6(this,void 0,void 0,function*(){const i={emitOne:n=>this.emitOne(n),emitMany:n=>this.emitMany(n),reject:n=>this.reject(n)};try{yield Promise.resolve(e(i)),this.resolve()}catch(n){this.reject(n)}finally{i.emitOne=void 0,i.emitMany=void 0,i.reject=void 0}}))}[Symbol.asyncIterator](){let e=0;return{next:()=>M6(this,void 0,void 0,function*(){do{if(this._state===2)throw this._error;if(eM6(this,void 0,void 0,function*(){var a,o,c,h;try{for(var g=!0,_=rne(e),x;x=yield _.next(),a=x.done,!a;){h=x.value,g=!1;try{const y=h;n.emitOne(i(y))}finally{g=!0}}}catch(y){o={error:y}}finally{try{!g&&!a&&(c=_.return)&&(yield c.call(_))}finally{if(o)throw o.error}}}))}map(e){return Bf.map(this,e)}static filter(e,i){return new Bf(n=>M6(this,void 0,void 0,function*(){var a,o,c,h;try{for(var g=!0,_=rne(e),x;x=yield _.next(),a=x.done,!a;){h=x.value,g=!1;try{const y=h;i(y)&&n.emitOne(y)}finally{g=!0}}}catch(y){o={error:y}}finally{try{!g&&!a&&(c=_.return)&&(yield c.call(_))}finally{if(o)throw o.error}}}))}filter(e){return Bf.filter(this,e)}static coalesce(e){return Bf.filter(e,i=>!!i)}coalesce(){return Bf.coalesce(this)}static toPromise(e){var i,n,a,o,c,h,g;return M6(this,void 0,void 0,function*(){const _=[];try{for(i=!0,n=rne(e);a=yield n.next(),o=a.done,!o;){g=a.value,i=!1;try{const x=g;_.push(x)}finally{i=!0}}}catch(x){c={error:x}}finally{try{!i&&!o&&(h=n.return)&&(yield h.call(n))}finally{if(c)throw c.error}}return _})}toPromise(){return Bf.toPromise(this)}emitOne(e){this._state===0&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){this._state===0&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(e){this._state===0&&(this._state=2,this._error=e,this._onStateChanged.fire())}}Bf.EMPTY=Bf.fromArray([]);class Mpi extends Bf{constructor(e,i){super(i),this._source=e}cancel(){this._source.cancel()}}function zpi(r){const e=new kp,i=r(e.token);return new Mpi(e,n=>M6(this,void 0,void 0,function*(){var a,o,c,h;const g=e.token.onCancellationRequested(()=>{g.dispose(),e.dispose(),n.reject(new aN)});try{try{for(var _=!0,x=rne(i),y;y=yield x.next(),a=y.done,!a;){h=y.value,_=!1;try{const S=h;if(e.token.isCancellationRequested)return;n.emitOne(S)}finally{_=!0}}}catch(S){o={error:S}}finally{try{!_&&!a&&(c=x.return)&&(yield c.call(x))}finally{if(o)throw o.error}}g.dispose(),e.dispose()}catch(S){g.dispose(),e.dispose(),n.reject(S)}}))}const Ipi="$initialize";let Rgt=!1;function dVe(r){rN&&(Rgt||(Rgt=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(r.message))}class Rpi{constructor(e,i,n,a){this.vsWorker=e,this.req=i,this.method=n,this.args=a,this.type=0}}class Ogt{constructor(e,i,n,a){this.vsWorker=e,this.seq=i,this.res=n,this.err=a,this.type=1}}class Opi{constructor(e,i,n,a){this.vsWorker=e,this.req=i,this.eventName=n,this.arg=a,this.type=2}}class jpi{constructor(e,i,n){this.vsWorker=e,this.req=i,this.event=n,this.type=3}}class Vpi{constructor(e,i){this.vsWorker=e,this.req=i,this.type=4}}class Hpi{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,i){const n=String(++this._lastSentReq);return new Promise((a,o)=>{this._pendingReplies[n]={resolve:a,reject:o},this._send(new Rpi(this._workerId,n,e,i))})}listen(e,i){let n=null;const a=new yi({onWillAddFirstListener:()=>{n=String(++this._lastSentReq),this._pendingEmitters.set(n,a),this._send(new Opi(this._workerId,n,e,i))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(n),this._send(new Vpi(this._workerId,n)),n=null}});return a.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}const i=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),i.reject(n);return}i.resolve(e.res)}_handleRequestMessage(e){const i=e.req;this._handler.handleMessage(e.method,e.args).then(a=>{this._send(new Ogt(this._workerId,i,a,void 0))},a=>{a.detail instanceof Error&&(a.detail=mgt(a.detail)),this._send(new Ogt(this._workerId,i,void 0,mgt(a)))})}_handleSubscribeEventMessage(e){const i=e.req,n=this._handler.handleEvent(e.eventName,e.arg)(a=>{this._send(new jpi(this._workerId,i,a))});this._pendingEvents.set(i,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){const i=[];if(e.type===0)for(let n=0;n{this._protocol.handleMessage(x)},x=>{a==null||a(x)})),this._protocol=new Hpi({sendMessage:(x,y)=>{this._worker.postMessage(x,y)},handleMessage:(x,y)=>{if(typeof n[x]!="function")return Promise.reject(new Error("Missing method "+x+" on main thread host."));try{return Promise.resolve(n[x].apply(n,y))}catch(S){return Promise.reject(S)}},handleEvent:(x,y)=>{if(rCt(x)){const S=n[x].call(n,y);if(typeof S!="function")throw new Error(`Missing dynamic event ${x} on main thread host.`);return S}if(uCt(x)){const S=n[x];if(typeof S!="function")throw new Error(`Missing event ${x} on main thread host.`);return S}throw new Error(`Malformed event name ${x}`)}}),this._protocol.setWorkerId(this._worker.getId());let o=null;const c=globalThis.require;typeof c<"u"&&typeof c.getConfig=="function"?o=c.getConfig():typeof globalThis.requirejs<"u"&&(o=globalThis.requirejs.s.contexts._.config);const h=FGe(n);this._onModuleLoaded=this._protocol.sendMessage(Ipi,[this._worker.getId(),JSON.parse(JSON.stringify(o)),i,h]);const g=(x,y)=>this._request(x,y),_=(x,y)=>this._protocol.listen(x,y);this._lazyProxy=new Promise((x,y)=>{a=y,this._onModuleLoaded.then(S=>{x(Wpi(S,g,_))},S=>{y(S),this._onError("Worker failed to load "+i,S)})})}getProxyObject(){return this._lazyProxy}_request(e,i){return new Promise((n,a)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(e,i).then(n,a)},a)})}_onError(e,i){console.error(e),console.info(i)}}function uCt(r){return r[0]==="o"&&r[1]==="n"&&$F(r.charCodeAt(2))}function rCt(r){return/^onDynamic/.test(r)&&$F(r.charCodeAt(9))}function Wpi(r,e,i){const n=c=>function(){const h=Array.prototype.slice.call(arguments,0);return e(c,h)},a=c=>function(h){return i(c,h)},o={};for(const c of r){if(rCt(c)){o[c]=a(c);continue}if(uCt(c)){o[c]=i(c,void 0);continue}o[c]=n(c)}return o}var CIe;const jgt=(CIe=window.trustedTypes)===null||CIe===void 0?void 0:CIe.createPolicy("defaultWorkerFactory",{createScriptURL:r=>r});function Gpi(r){const e=globalThis.MonacoEnvironment;if(e){if(typeof e.getWorker=="function")return e.getWorker("workerMain.js",r);if(typeof e.getWorkerUrl=="function"){const i=e.getWorkerUrl("workerMain.js",r);return new Worker(jgt?jgt.createScriptURL(i):i,{name:r})}}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function Jpi(r){return typeof r.then=="function"}class $pi{constructor(e,i,n,a,o){this.id=i;const c=Gpi(n);Jpi(c)?this.worker=c:this.worker=Promise.resolve(c),this.postMessage(e,[]),this.worker.then(h=>{h.onmessage=function(g){a(g.data)},h.onmessageerror=o,typeof h.addEventListener=="function"&&h.addEventListener("error",o)})}getId(){return this.id}postMessage(e,i){var n;(n=this.worker)===null||n===void 0||n.then(a=>a.postMessage(e,i))}dispose(){var e;(e=this.worker)===null||e===void 0||e.then(i=>i.terminate()),this.worker=null}}class I6e{constructor(e){this._label=e,this._webWorkerFailedBeforeError=!1}create(e,i,n){const a=++I6e.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new $pi(e,a,this._label||"anonymous"+a,i,o=>{dVe(o),this._webWorkerFailedBeforeError=o,n(o)})}}I6e.LAST_WORKER_ID=0;class LT{constructor(e,i,n,a){this.originalStart=e,this.originalLength=i,this.modifiedStart=n,this.modifiedLength=a}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function aCt(r){return R6e(r,0)}function R6e(r,e){switch(typeof r){case"object":return r===null?LS(349,e):Array.isArray(r)?qpi(r,e):Zpi(r,e);case"string":return QGe(r,e);case"boolean":return Upi(r,e);case"number":return LS(r,e);case"undefined":return LS(937,e);default:return LS(617,e)}}function LS(r,e){return(e<<5)-e+r|0}function Upi(r,e){return LS(r?433:863,e)}function QGe(r,e){e=LS(149417,e);for(let i=0,n=r.length;iR6e(n,i),e)}function Zpi(r,e){return e=LS(181387,e),Object.keys(r).sort().reduce((i,n)=>(i=QGe(n,i),R6e(r[n],i)),e)}function bIe(r,e,i=32){const n=i-e,a=~((1<>>n)>>>0}function Vgt(r,e=0,i=r.byteLength,n=0){for(let a=0;ai.toString(16).padStart(2,"0")).join(""):Ypi((r>>>0).toString(16),e/4)}class O6e{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const i=e.length;if(i===0)return;const n=this._buff;let a=this._buffLen,o=this._leftoverHighSurrogate,c,h;for(o!==0?(c=o,h=-1,o=0):(c=e.charCodeAt(0),h=0);;){let g=c;if(t4(c))if(h+1>>6,e[i++]=128|(n&63)>>>0):n<65536?(e[i++]=224|(n&61440)>>>12,e[i++]=128|(n&4032)>>>6,e[i++]=128|(n&63)>>>0):(e[i++]=240|(n&1835008)>>>18,e[i++]=128|(n&258048)>>>12,e[i++]=128|(n&4032)>>>6,e[i++]=128|(n&63)>>>0),i>=64&&(this._step(),i-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),i}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),Sie(this._h0)+Sie(this._h1)+Sie(this._h2)+Sie(this._h3)+Sie(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Vgt(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Vgt(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=O6e._bigBlock32,i=this._buffDV;for(let y=0;y<64;y+=4)e.setUint32(y,i.getUint32(y,!1),!1);for(let y=64;y<320;y+=4)e.setUint32(y,bIe(e.getUint32(y-12,!1)^e.getUint32(y-32,!1)^e.getUint32(y-56,!1)^e.getUint32(y-64,!1),1),!1);let n=this._h0,a=this._h1,o=this._h2,c=this._h3,h=this._h4,g,_,x;for(let y=0;y<80;y++)y<20?(g=a&o|~a&c,_=1518500249):y<40?(g=a^o^c,_=1859775393):y<60?(g=a&o|a&c|o&c,_=2400959708):(g=a^o^c,_=3395469782),x=bIe(n,5)+g+h+_+e.getUint32(y*4,!1)&4294967295,h=c,c=o,o=bIe(a,30),a=n,n=x;this._h0=this._h0+n&4294967295,this._h1=this._h1+a&4294967295,this._h2=this._h2+o&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+h&4294967295}}O6e._bigBlock32=new DataView(new ArrayBuffer(320));class Hgt{constructor(e){this.source=e}getElements(){const e=this.source,i=new Int32Array(e.length);for(let n=0,a=e.length;n0||this.m_modifiedCount>0)&&this.m_changes.push(new LT(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,i){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),this.m_originalCount++}AddModifiedElement(e,i){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,i),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class XF{constructor(e,i,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=i;const[a,o,c]=XF._getElements(e),[h,g,_]=XF._getElements(i);this._hasStrings=c&&_,this._originalStringElements=a,this._originalElementsOrHash=o,this._modifiedStringElements=h,this._modifiedElementsOrHash=g,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]=="string"}static _getElements(e){const i=e.getElements();if(XF._isStringArray(i)){const n=new Int32Array(i.length);for(let a=0,o=i.length;a=e&&a>=n&&this.ElementsAreEqual(i,a);)i--,a--;if(e>i||n>a){let y;return n<=a?(KW.Assert(e===i+1,"originalStart should only be one more than originalEnd"),y=[new LT(e,0,n,a-n+1)]):e<=i?(KW.Assert(n===a+1,"modifiedStart should only be one more than modifiedEnd"),y=[new LT(e,i-e+1,n,0)]):(KW.Assert(e===i+1,"originalStart should only be one more than originalEnd"),KW.Assert(n===a+1,"modifiedStart should only be one more than modifiedEnd"),y=[]),y}const c=[0],h=[0],g=this.ComputeRecursionPoint(e,i,n,a,c,h,o),_=c[0],x=h[0];if(g!==null)return g;if(!o[0]){const y=this.ComputeDiffRecursive(e,_,n,x,o);let S=[];return o[0]?S=[new LT(_+1,i-(_+1)+1,x+1,a-(x+1)+1)]:S=this.ComputeDiffRecursive(_+1,i,x+1,a,o),this.ConcatenateChanges(y,S)}return[new LT(e,i-e+1,n,a-n+1)]}WALKTRACE(e,i,n,a,o,c,h,g,_,x,y,S,L,R,G,ie,ue,re){let _e=null,ye=null,Le=new Kgt,st=i,Ue=n,Ye=L[0]-ie[0]-a,rt=-1073741824,Ft=this.m_forwardHistory.length-1;do{const Zt=Ye+e;Zt===st||Zt=0&&(_=this.m_forwardHistory[Ft],e=_[0],st=1,Ue=_.length-1)}while(--Ft>=-1);if(_e=Le.getReverseChanges(),re[0]){let Zt=L[0]+1,Ot=ie[0]+1;if(_e!==null&&_e.length>0){const ui=_e[_e.length-1];Zt=Math.max(Zt,ui.getOriginalEnd()),Ot=Math.max(Ot,ui.getModifiedEnd())}ye=[new LT(Zt,S-Zt+1,Ot,G-Ot+1)]}else{Le=new Kgt,st=c,Ue=h,Ye=L[0]-ie[0]-g,rt=1073741824,Ft=ue?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const Zt=Ye+o;Zt===st||Zt=x[Zt+1]?(y=x[Zt+1]-1,R=y-Ye-g,y>rt&&Le.MarkNextChange(),rt=y+1,Le.AddOriginalElement(y+1,R+1),Ye=Zt+1-o):(y=x[Zt-1],R=y-Ye-g,y>rt&&Le.MarkNextChange(),rt=y,Le.AddModifiedElement(y+1,R+1),Ye=Zt-1-o),Ft>=0&&(x=this.m_reverseHistory[Ft],o=x[0],st=1,Ue=x.length-1)}while(--Ft>=-1);ye=Le.getChanges()}return this.ConcatenateChanges(_e,ye)}ComputeRecursionPoint(e,i,n,a,o,c,h){let g=0,_=0,x=0,y=0,S=0,L=0;e--,n--,o[0]=0,c[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const R=i-e+(a-n),G=R+1,ie=new Int32Array(G),ue=new Int32Array(G),re=a-n,_e=i-e,ye=e-n,Le=i-a,Ue=(_e-re)%2===0;ie[re]=e,ue[_e]=i,h[0]=!1;for(let Ye=1;Ye<=R/2+1;Ye++){let rt=0,Ft=0;x=this.ClipDiagonalBound(re-Ye,Ye,re,G),y=this.ClipDiagonalBound(re+Ye,Ye,re,G);for(let Ot=x;Ot<=y;Ot+=2){Ot===x||Otrt+Ft&&(rt=g,Ft=_),!Ue&&Math.abs(Ot-_e)<=Ye-1&&g>=ue[Ot])return o[0]=g,c[0]=_,ui<=ue[Ot]&&1447>0&&Ye<=1448?this.WALKTRACE(re,x,y,ye,_e,S,L,Le,ie,ue,g,i,o,_,a,c,Ue,h):null}const Zt=(rt-e+(Ft-n)-Ye)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(rt,Zt))return h[0]=!0,o[0]=rt,c[0]=Ft,Zt>0&&1447>0&&Ye<=1448?this.WALKTRACE(re,x,y,ye,_e,S,L,Le,ie,ue,g,i,o,_,a,c,Ue,h):(e++,n++,[new LT(e,i-e+1,n,a-n+1)]);S=this.ClipDiagonalBound(_e-Ye,Ye,_e,G),L=this.ClipDiagonalBound(_e+Ye,Ye,_e,G);for(let Ot=S;Ot<=L;Ot+=2){Ot===S||Ot=ue[Ot+1]?g=ue[Ot+1]-1:g=ue[Ot-1],_=g-(Ot-_e)-Le;const ui=g;for(;g>e&&_>n&&this.ElementsAreEqual(g,_);)g--,_--;if(ue[Ot]=g,Ue&&Math.abs(Ot-re)<=Ye&&g<=ie[Ot])return o[0]=g,c[0]=_,ui>=ie[Ot]&&1447>0&&Ye<=1448?this.WALKTRACE(re,x,y,ye,_e,S,L,Le,ie,ue,g,i,o,_,a,c,Ue,h):null}if(Ye<=1447){let Ot=new Int32Array(y-x+2);Ot[0]=re-x+1,WW.Copy2(ie,x,Ot,1,y-x+1),this.m_forwardHistory.push(Ot),Ot=new Int32Array(L-S+2),Ot[0]=_e-S+1,WW.Copy2(ue,S,Ot,1,L-S+1),this.m_reverseHistory.push(Ot)}}return this.WALKTRACE(re,x,y,ye,_e,S,L,Le,ie,ue,g,i,o,_,a,c,Ue,h)}PrettifyChanges(e){for(let i=0;i0,h=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;i--){const n=e[i];let a=0,o=0;if(i>0){const y=e[i-1];a=y.originalStart+y.originalLength,o=y.modifiedStart+y.modifiedLength}const c=n.originalLength>0,h=n.modifiedLength>0;let g=0,_=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let y=1;;y++){const S=n.originalStart-y,L=n.modifiedStart-y;if(S_&&(_=G,g=y)}n.originalStart-=g,n.modifiedStart-=g;const x=[null];if(i>0&&this.ChangesOverlap(e[i-1],e[i],x)){e[i-1]=x[0],e.splice(i,1),i++;continue}}if(this._hasStrings)for(let i=1,n=e.length;i0&&L>g&&(g=L,_=y,x=S)}return g>0?[_,x]:null}_contiguousSequenceScore(e,i,n){let a=0;for(let o=0;o=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,i){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(i>0){const n=e+i;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,i){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(i>0){const n=e+i;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,i,n,a){const o=this._OriginalRegionIsBoundary(e,i)?1:0,c=this._ModifiedRegionIsBoundary(n,a)?1:0;return o+c}ConcatenateChanges(e,i){const n=[];if(e.length===0||i.length===0)return i.length>0?i:e;if(this.ChangesOverlap(e[e.length-1],i[0],n)){const a=new Array(e.length+i.length-1);return WW.Copy(e,0,a,0,e.length-1),a[e.length-1]=n[0],WW.Copy(i,1,a,e.length,i.length-1),a}else{const a=new Array(e.length+i.length);return WW.Copy(e,0,a,0,e.length),WW.Copy(i,0,a,e.length,i.length),a}}ChangesOverlap(e,i,n){if(KW.Assert(e.originalStart<=i.originalStart,"Left change is not less than or equal to right change"),KW.Assert(e.modifiedStart<=i.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=i.originalStart||e.modifiedStart+e.modifiedLength>=i.modifiedStart){const a=e.originalStart;let o=e.originalLength;const c=e.modifiedStart;let h=e.modifiedLength;return e.originalStart+e.originalLength>=i.originalStart&&(o=i.originalStart+i.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=i.modifiedStart&&(h=i.modifiedStart+i.modifiedLength-e.modifiedStart),n[0]=new LT(a,o,c,h),!0}else return n[0]=null,!1}ClipDiagonalBound(e,i,n,a){if(e>=0&&e255?255:r|0}function GW(r){return r<0?0:r>4294967295?4294967295:r|0}class Xpi{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,i){e=GW(e);const n=this.values,a=this.prefixSum,o=i.length;return o===0?!1:(this.values=new Uint32Array(n.length+o),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+o),this.values.set(i,e),e-1=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,i){return e=GW(e),i=GW(i),this.values[e]===i?!1:(this.values[e]=i,e-1=n.length)return!1;const o=n.length-e;return i>=o&&(i=o),i===0?!1:(this.values=new Uint32Array(n.length-i),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+i),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(a.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=GW(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let i=this.prefixSumValidIndex[0]+1;i===0&&(this.prefixSum[0]=this.values[0],i++),e>=this.values.length&&(e=this.values.length-1);for(let n=i;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let i=0,n=this.values.length-1,a=0,o=0,c=0;for(;i<=n;)if(a=i+(n-i)/2|0,o=this.prefixSum[a],c=o-this.values[a],e=o)i=a+1;else break;return new oCt(a,e-c)}}class egi{constructor(e){this._values=e,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(e){return this._ensureValid(),e===0?0:this._prefixSum[e-1]}getIndexOf(e){this._ensureValid();const i=this._indexBySum[e],n=i>0?this._prefixSum[i-1]:0;return new oCt(i,e-n)}removeValues(e,i){this._values.splice(e,i),this._invalidate(e)}insertValues(e,i){this._values=E6e(this._values,e,i),this._invalidate(e)}_invalidate(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)}_ensureValid(){if(!this._isValid){for(let e=this._validEndIndex+1,i=this._values.length;e0?this._prefixSum[e-1]:0;this._prefixSum[e]=a+n;for(let o=0;o=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}class c5e{constructor(){this._actual=new C$(0)}add(e){this._actual.set(e,1)}has(e){return this._actual.get(e)===1}clear(){return this._actual.clear()}}class igi{constructor(e,i,n){const a=new Uint8Array(e*i);for(let o=0,c=e*i;oi&&(i=g),h>n&&(n=h),_>n&&(n=_)}i++,n++;const a=new igi(n,i,0);for(let o=0,c=e.length;o=this._maxCharCode?0:this._states.get(e,i)}}let yIe=null;function ugi(){return yIe===null&&(yIe=new ngi([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),yIe}let Bie=null;function rgi(){if(Bie===null){Bie=new C$(0);const r=` <>'"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…`;for(let i=0;ia);if(a>0){const h=i.charCodeAt(a-1),g=i.charCodeAt(c);(h===40&&g===41||h===91&&g===93||h===123&&g===125)&&c--}return{range:{startLineNumber:n,startColumn:a+1,endLineNumber:n,endColumn:c+2},url:i.substring(a,c+1)}}static computeLinks(e,i=ugi()){const n=rgi(),a=[];for(let o=1,c=e.getLineCount();o<=c;o++){const h=e.getLineContent(o),g=h.length;let _=0,x=0,y=0,S=1,L=!1,R=!1,G=!1,ie=!1;for(;_=0?(a+=n?1:-1,a<0?a=e.length-1:a%=e.length,e[a]):null}}hVe.INSTANCE=new hVe;class ogi extends C${constructor(e){super(0);for(let i=0,n=e.length;i(e.hasOwnProperty(i)||(e[i]=r(i)),e[i])}const Z6=sgi(r=>new ogi(r)),lgi=999;class dI{constructor(e,i,n,a){this.searchString=e,this.isRegex=i,this.matchCase=n,this.wordSeparators=a}parseSearchRequest(){if(this.searchString==="")return null;let e;this.isRegex?e=cgi(this.searchString):e=this.searchString.indexOf(` +`)>=0;let i=null;try{i=Lvt(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch{return null}if(!i)return null;let n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new J4i(i,this.wordSeparators?Z6(this.wordSeparators):null,n?this.searchString:null)}}function cgi(r){if(!r||r.length===0)return!1;for(let e=0,i=r.length;e=i)break;const a=r.charCodeAt(e);if(a===110||a===114||a===87)return!0}}return!1}function xI(r,e,i){if(!i)return new Pue(r,null);const n=[];for(let a=0,o=e.length;a>0);i[o]>=e?a=o-1:i[o+1]>=e?(n=o,a=o):n=o+1}return n+1}}class A_e{static findMatches(e,i,n,a,o){const c=i.parseSearchRequest();return c?c.regex.multiline?this._doFindMatchesMultiline(e,n,new kG(c.wordSeparators,c.regex),a,o):this._doFindMatchesLineByLine(e,n,c,a,o):[]}static _getMultilineMatchRange(e,i,n,a,o,c){let h,g=0;a?(g=a.findLineFeedCountBeforeOffset(o),h=i+o+g):h=i+o;let _;if(a){const L=a.findLineFeedCountBeforeOffset(o+c.length)-g;_=h+c.length+L}else _=h+c.length;const x=e.getPositionAt(h),y=e.getPositionAt(_);return new ot(x.lineNumber,x.column,y.lineNumber,y.column)}static _doFindMatchesMultiline(e,i,n,a,o){const c=e.getOffsetAt(i.getStartPosition()),h=e.getValueInRange(i,1),g=e.getEOL()===`\r +`?new Wgt(h):null,_=[];let x=0,y;for(n.reset(0);y=n.next(h);)if(_[x++]=xI(this._getMultilineMatchRange(e,c,h,g,y.index,y[0]),y,a),x>=o)return _;return _}static _doFindMatchesLineByLine(e,i,n,a,o){const c=[];let h=0;if(i.startLineNumber===i.endLineNumber){const _=e.getLineContent(i.startLineNumber).substring(i.startColumn-1,i.endColumn-1);return h=this._findMatchesInLine(n,_,i.startLineNumber,i.startColumn-1,h,c,a,o),c}const g=e.getLineContent(i.startLineNumber).substring(i.startColumn-1);h=this._findMatchesInLine(n,g,i.startLineNumber,i.startColumn-1,h,c,a,o);for(let _=i.startLineNumber+1;_=g))return o;return o}const x=new kG(e.wordSeparators,e.regex);let y;x.reset(0);do if(y=x.next(i),y&&(c[o++]=xI(new ot(n,y.index+1+a,n,y.index+1+y[0].length+a),y,h),o>=g))return o;while(y);return o}static findNextMatch(e,i,n,a){const o=i.parseSearchRequest();if(!o)return null;const c=new kG(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindNextMatchMultiline(e,n,c,a):this._doFindNextMatchLineByLine(e,n,c,a)}static _doFindNextMatchMultiline(e,i,n,a){const o=new Hi(i.lineNumber,1),c=e.getOffsetAt(o),h=e.getLineCount(),g=e.getValueInRange(new ot(o.lineNumber,o.column,h,e.getLineMaxColumn(h)),1),_=e.getEOL()===`\r +`?new Wgt(g):null;n.reset(i.column-1);const x=n.next(g);return x?xI(this._getMultilineMatchRange(e,c,g,_,x.index,x[0]),x,a):i.lineNumber!==1||i.column!==1?this._doFindNextMatchMultiline(e,new Hi(1,1),n,a):null}static _doFindNextMatchLineByLine(e,i,n,a){const o=e.getLineCount(),c=i.lineNumber,h=e.getLineContent(c),g=this._findFirstMatchInLine(n,h,c,i.column,a);if(g)return g;for(let _=1;_<=o;_++){const x=(c+_-1)%o,y=e.getLineContent(x+1),S=this._findFirstMatchInLine(n,y,x+1,1,a);if(S)return S}return null}static _findFirstMatchInLine(e,i,n,a,o){e.reset(a-1);const c=e.next(i);return c?xI(new ot(n,c.index+1,n,c.index+1+c[0].length),c,o):null}static findPreviousMatch(e,i,n,a){const o=i.parseSearchRequest();if(!o)return null;const c=new kG(o.wordSeparators,o.regex);return o.regex.multiline?this._doFindPreviousMatchMultiline(e,n,c,a):this._doFindPreviousMatchLineByLine(e,n,c,a)}static _doFindPreviousMatchMultiline(e,i,n,a){const o=this._doFindMatchesMultiline(e,new ot(1,1,i.lineNumber,i.column),n,a,10*lgi);if(o.length>0)return o[o.length-1];const c=e.getLineCount();return i.lineNumber!==c||i.column!==e.getLineMaxColumn(c)?this._doFindPreviousMatchMultiline(e,new Hi(c,e.getLineMaxColumn(c)),n,a):null}static _doFindPreviousMatchLineByLine(e,i,n,a){const o=e.getLineCount(),c=i.lineNumber,h=e.getLineContent(c).substring(0,i.column-1),g=this._findLastMatchInLine(n,h,c,a);if(g)return g;for(let _=1;_<=o;_++){const x=(o+c-_-1)%o,y=e.getLineContent(x+1),S=this._findLastMatchInLine(n,y,x+1,a);if(S)return S}return null}static _findLastMatchInLine(e,i,n,a){let o=null,c;for(e.reset(0);c=e.next(i);)o=xI(new ot(n,c.index+1,n,c.index+1+c[0].length),c,a);return o}}function dgi(r,e,i,n,a){if(n===0)return!0;const o=e.charCodeAt(n-1);if(r.get(o)!==0||o===13||o===10)return!0;if(a>0){const c=e.charCodeAt(n);if(r.get(c)!==0)return!0}return!1}function hgi(r,e,i,n,a){if(n+a===i)return!0;const o=e.charCodeAt(n+a);if(r.get(o)!==0||o===13||o===10)return!0;if(a>0){const c=e.charCodeAt(n+a-1);if(r.get(c)!==0)return!0}return!1}function XGe(r,e,i,n,a){return dgi(r,e,i,n,a)&&hgi(r,e,i,n,a)}class kG{constructor(e,i){this._wordSeparators=e,this._searchRegex=i,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const i=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===i||(n=this._searchRegex.exec(e),!n))return null;const a=n.index,o=n[0].length;if(a===this._prevMatchStartIndex&&o===this._prevMatchLength){if(o===0){r5e(e,i,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=a,this._prevMatchLength=o,!this._wordSeparators||XGe(this._wordSeparators,e,i,a,o))return n}while(n);return null}}class eJe{static computeUnicodeHighlights(e,i,n){const a=n?n.startLineNumber:1,o=n?n.endLineNumber:e.getLineCount(),c=new Ggt(i),h=c.getCandidateCodePoints();let g;h==="allNonBasicAscii"?g=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):g=new RegExp(`${fgi(Array.from(h))}`,"g");const _=new kG(null,g),x=[];let y=!1,S,L=0,R=0,G=0;e:for(let ie=a,ue=o;ie<=ue;ie++){const re=e.getLineContent(ie),_e=re.length;_.reset(0);do if(S=_.next(re),S){let ye=S.index,Le=S.index+S[0].length;if(ye>0){const rt=re.charCodeAt(ye-1);t4(rt)&&ye--}if(Le+1<_e){const rt=re.charCodeAt(Le-1);t4(rt)&&Le++}const st=re.substring(ye,Le);let Ue=Fue(ye+1,yGe,re,0);Ue&&Ue.endColumn<=ye+1&&(Ue=null);const Ye=c.shouldHighlightNonBasicASCII(st,Ue?Ue.word:null);if(Ye!==0){if(Ye===3?L++:Ye===2?R++:Ye===1?G++:x6e(),x.length>=1e3){y=!0;break e}x.push(new ot(ie,ye+1,ie,Le+1))}}while(S)}return{ranges:x,hasMore:y,ambiguousCharacterCount:L,invisibleCharacterCount:R,nonBasicAsciiCharacterCount:G}}static computeUnicodeHighlightReason(e,i){const n=new Ggt(i);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const o=e.codePointAt(0),c=n.ambiguousCharacters.getPrimaryConfusable(o),h=QC.getLocales().filter(g=>!QC.getInstance(new Set([...i.allowedLocales,g])).isAmbiguous(o));return{kind:0,confusableWith:String.fromCodePoint(c),notAmbiguousInLocales:h}}case 1:return{kind:2}}}}function fgi(r,e){return`[${mx(r.map(n=>String.fromCodePoint(n)).join(""))}]`}class Ggt{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=QC.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const i of DA.codePoints)Jgt(String.fromCodePoint(i))||e.add(i);if(this.options.ambiguousCharacters)for(const i of this.ambiguousCharacters.getConfusableCodePoints())e.add(i);for(const i of this.allowedCodePoints)e.delete(i);return e}shouldHighlightNonBasicASCII(e,i){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let a=!1,o=!1;if(i)for(const c of i){const h=c.codePointAt(0),g=pae(c);a=a||g,!g&&!this.ambiguousCharacters.isAmbiguous(h)&&!DA.isInvisibleCharacter(h)&&(o=!0)}return!a&&o?0:this.options.invisibleCharacters&&!Jgt(e)&&DA.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function Jgt(r){return r===" "||r===` +`||r===" "}class sCt{constructor(e,i){this.changes=e,this.hitTimeout=i}}class RJ{constructor(e,i,n){this.originalRange=e,this.modifiedRange=i,this.innerChanges=n}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}class j6e{constructor(e,i){this.originalRange=e,this.modifiedRange=i}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}}let K6=class ane{static joinMany(e){if(e.length===0)return[];let i=e[0];for(let n=1;n=h.startLineNumber?c=new ane(c.startLineNumber,Math.max(c.endLineNumberExclusive,h.endLineNumberExclusive)):(n.push(c),c=h)}return c!==null&&n.push(c),n}constructor(e,i){if(e>i)throw new OA(`startLineNumber ${e} cannot be after endLineNumberExclusive ${i}`);this.startLineNumber=e,this.endLineNumberExclusive=i}contains(e){return this.startLineNumber<=e&&enew j6e(new ot(L.originalStartLineNumber,L.originalStartColumn,L.originalEndLineNumber,L.originalEndColumn),new ot(L.modifiedStartLineNumber,L.modifiedStartColumn,L.modifiedEndLineNumber,L.modifiedEndColumn))));g&&(g.modifiedRange.endLineNumberExclusive===S.modifiedRange.startLineNumber||g.originalRange.endLineNumberExclusive===S.originalRange.startLineNumber)&&(S=new RJ(g.originalRange.join(S.originalRange),g.modifiedRange.join(S.modifiedRange),g.innerChanges&&S.innerChanges?g.innerChanges.concat(S.innerChanges):void 0),h.pop()),h.push(S),g=S}return $Ge(()=>jvt(h,(_,x)=>x.originalRange.startLineNumber-_.originalRange.endLineNumberExclusive===x.modifiedRange.startLineNumber-_.modifiedRange.endLineNumberExclusive&&_.originalRange.endLineNumberExclusive(e===10?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[i]},${this._columns[i]})`).join(", ")+"]"}_assertIndex(e,i){if(e<0||e>=i.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return e===-1?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),this._charCodes[e]===10?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return e===-1?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),this._charCodes[e]===10?1:this._columns[e]+1)}}class tJ{constructor(e,i,n,a,o,c,h,g){this.originalStartLineNumber=e,this.originalStartColumn=i,this.originalEndLineNumber=n,this.originalEndColumn=a,this.modifiedStartLineNumber=o,this.modifiedStartColumn=c,this.modifiedEndLineNumber=h,this.modifiedEndColumn=g}static createFromDiffChange(e,i,n){const a=i.getStartLineNumber(e.originalStart),o=i.getStartColumn(e.originalStart),c=i.getEndLineNumber(e.originalStart+e.originalLength-1),h=i.getEndColumn(e.originalStart+e.originalLength-1),g=n.getStartLineNumber(e.modifiedStart),_=n.getStartColumn(e.modifiedStart),x=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),y=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new tJ(a,o,c,h,g,_,x,y)}}function Egi(r){if(r.length<=1)return r;const e=[r[0]];let i=e[0];for(let n=1,a=r.length;n0&&i.originalLength<20&&i.modifiedLength>0&&i.modifiedLength<20&&o()){const L=n.createCharSequence(e,i.originalStart,i.originalStart+i.originalLength-1),R=a.createCharSequence(e,i.modifiedStart,i.modifiedStart+i.modifiedLength-1);if(L.getElements().length>0&&R.getElements().length>0){let G=lCt(L,R,o,!0).changes;h&&(G=Egi(G)),S=[];for(let ie=0,ue=G.length;ie1&&G>1;){const ie=S.charCodeAt(R-2),ue=L.charCodeAt(G-2);if(ie!==ue)break;R--,G--}(R>1||G>1)&&this._pushTrimWhitespaceCharChange(a,o+1,1,R,c+1,1,G)}{let R=mVe(S,1),G=mVe(L,1);const ie=S.length+1,ue=L.length+1;for(;R!0;const e=Date.now();return()=>Date.now()-ei))return new wh(e,i)}constructor(e,i){if(this.start=e,this.endExclusive=i,e>i)throw new OA(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new wh(this.start+e,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}equals(e){return this.start===e.start&&this.endExclusive===e.endExclusive}containsRange(e){return this.start<=e.start&&e.endExclusive<=this.endExclusive}join(e){return new wh(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){const i=Math.max(this.start,e.start),n=Math.min(this.endExclusive,e.endExclusive);if(i<=n)return new wh(i,n)}}class JS{static trivial(e,i){return new JS([new XC(new wh(0,e.length),new wh(0,i.length))],!1)}static trivialTimedOut(e,i){return new JS([new XC(new wh(0,e.length),new wh(0,i.length))],!0)}constructor(e,i){this.diffs=e,this.hitTimeout=i}}class XC{constructor(e,i){this.seq1Range=e,this.seq2Range=i}reverse(){return new XC(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new XC(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}}class Mue{isValid(){return!0}}Mue.instance=new Mue;class Dgi{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new OA("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime0&&G>0&&c.get(R-1,G-1)===3&&(re+=h.get(R-1,G-1)),re+=a?a(R,G):1):re=-1;const _e=Math.max(ie,ue,re);if(_e===re){const ye=R>0&&G>0?h.get(R-1,G-1):0;h.set(R,G,ye+1),c.set(R,G,3)}else _e===ie?(h.set(R,G,0),c.set(R,G,1)):_e===ue&&(h.set(R,G,0),c.set(R,G,2));o.set(R,G,_e)}const g=[];let _=e.length,x=i.length;function y(R,G){(R+1!==_||G+1!==x)&&g.push(new XC(new wh(R+1,_),new wh(G+1,x))),_=R,x=G}let S=e.length-1,L=i.length-1;for(;S>=0&&L>=0;)c.get(S,L)===3?(y(S,L),S--,L--):c.get(S,L)===1?S--:L--;return y(-1,-1),g.reverse(),new JS(g,!1)}}function qgt(r,e,i){let n=i;return n=Cgi(r,e,n),n=bgi(r,e,n),n}function vgi(r,e,i){const n=[];for(const a of i){const o=n[n.length-1];if(!o){n.push(a);continue}a.seq1Range.start-o.seq1Range.endExclusive<=2||a.seq2Range.start-o.seq2Range.endExclusive<=2?n[n.length-1]=new XC(o.seq1Range.join(a.seq1Range),o.seq2Range.join(a.seq2Range)):n.push(a)}return n}function Cgi(r,e,i){const n=[];i.length>0&&n.push(i[0]);for(let a=1;a0?i[n-1].seq2Range.endExclusive:-1,c=n+10?i[n-1].seq1Range.endExclusive:-1,c=n+1a&&i.getElement(r.seq2Range.start-c)===i.getElement(r.seq2Range.endExclusive-c)&&c<20;)c++;c--;let h=0;for(;r.seq2Range.start+h_&&(_=R,g=x)}return g!==0?new XC(r.seq1Range.delta(g),r.seq2Range.delta(g)):r}class ygi{compute(e,i,n=Mue.instance){if(e.length===0||i.length===0)return JS.trivial(e,i);function a(L,R){for(;L=this.negativeArr.length){const n=this.negativeArr;this.negativeArr=new Int32Array(n.length*2),this.negativeArr.set(n)}this.negativeArr[e]=i}else{if(e>=this.positiveArr.length){const n=this.positiveArr;this.positiveArr=new Int32Array(n.length*2),this.positiveArr.set(n)}this.positiveArr[e]=i}}}class Fgi{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,i){e<0?(e=-e-1,this.negativeArr[e]=i):this.positiveArr[e]=i}}class Agi{constructor(){this.dynamicProgrammingDiffing=new xgi,this.myersDiffingAlgorithm=new ygi}computeDiff(e,i,n){const a=n.maxComputationTimeMs===0?Mue.instance:new Dgi(n.maxComputationTimeMs),o=!n.ignoreTrimWhitespace,c=new Map;function h(ye){let Le=c.get(ye);return Le===void 0&&(Le=c.size,c.set(ye,Le)),Le}const g=e.map(ye=>h(ye.trim())),_=i.map(ye=>h(ye.trim())),x=new Qgt(g,e),y=new Qgt(_,i),S=x.length+y.length<1500?this.dynamicProgrammingDiffing.compute(x,y,a,(ye,Le)=>e[ye]===i[Le]?i[Le].length===0?.1:1+Math.log(1+i[Le].length):.99):this.myersDiffingAlgorithm.compute(x,y);let L=S.diffs,R=S.hitTimeout;L=qgt(x,y,L);const G=[],ie=ye=>{if(o)for(let Le=0;Leye.seq1Range.start-ue===ye.seq2Range.start-re);const Le=ye.seq1Range.start-ue;ie(Le),ue=ye.seq1Range.endExclusive,re=ye.seq2Range.endExclusive;const st=this.refineDiff(e,i,ye,a,o);st.hitTimeout&&(R=!0);for(const Ue of st.mappings)G.push(Ue)}ie(e.length-ue);const _e=wgi(G,e,i);return new sCt(_e,R)}refineDiff(e,i,n,a,o){const c=new eEt(e,n.seq1Range,o),h=new eEt(i,n.seq2Range,o),g=c.length+h.length<500?this.dynamicProgrammingDiffing.compute(c,h,a):this.myersDiffingAlgorithm.compute(c,h,a);let _=g.diffs;return _=qgt(c,h,_),_=Sgi(c,h,_),_=vgi(c,h,_),{mappings:_.map(y=>new j6e(c.translateRange(y.seq1Range),h.translateRange(y.seq2Range))),hitTimeout:g.hitTimeout}}}function Sgi(r,e,i){const n=[];let a;function o(){if(!a)return;const h=a.s1Range.length-a.deleted;a.s2Range.length-a.added,Math.max(a.deleted,a.added)+(a.count-1)>h&&n.push(new XC(a.s1Range,a.s2Range)),a=void 0}for(const h of i){let g=function(L,R){var G,ie,ue,re;if(!a||!a.s1Range.containsRange(L)||!a.s2Range.containsRange(R))if(a&&!(a.s1Range.endExclusive0||e.length>0;){const n=r[0],a=e[0];let o;n&&(!a||n.seq1Range.start0&&i[i.length-1].seq1Range.endExclusive>=o.seq1Range.start?i[i.length-1]=i[i.length-1].join(o):i.push(o)}return i}function wgi(r,e,i){const n=[];for(const a of Lgi(r.map(o=>Tgi(o,e,i)),(o,c)=>o.originalRange.overlapOrTouch(c.originalRange)||o.modifiedRange.overlapOrTouch(c.modifiedRange))){const o=a[0],c=a[a.length-1];n.push(new RJ(o.originalRange.join(c.originalRange),o.modifiedRange.join(c.modifiedRange),a.map(h=>h.innerChanges[0])))}return $Ge(()=>jvt(n,(a,o)=>o.originalRange.startLineNumber-a.originalRange.endLineNumberExclusive===o.modifiedRange.startLineNumber-a.modifiedRange.endLineNumberExclusive&&a.originalRange.endLineNumberExclusive=i[r.modifiedRange.startLineNumber-1].length&&r.originalRange.startColumn-1>=e[r.originalRange.startLineNumber-1].length&&(n=1),r.modifiedRange.endColumn===1&&r.originalRange.endColumn===1&&r.originalRange.startLineNumber+n<=r.originalRange.endLineNumber&&r.modifiedRange.startLineNumber+n<=r.modifiedRange.endLineNumber&&(a=-1);const o=new K6(r.originalRange.startLineNumber+n,r.originalRange.endLineNumber+1+a),c=new K6(r.modifiedRange.startLineNumber+n,r.modifiedRange.endLineNumber+1+a);return new RJ(o,c,[r])}function*Lgi(r,e){let i,n;for(const a of r)n!==void 0&&e(n,a)?i.push(a):(i&&(yield i),i=[a]),n=a;i&&(yield i)}class Qgt{constructor(e,i){this.trimmedHash=e,this.lines=i}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){const i=e===0?0:Xgt(this.lines[e-1]),n=e===this.lines.length?0:Xgt(this.lines[e]);return 1e3-(i+n)}}function Xgt(r){let e=0;for(;e0&&i.endExclusive>=e.length&&(i=new wh(i.start-1,i.endExclusive),a=!0),this.lineRange=i;for(let o=this.lineRange.start;oString.fromCharCode(e)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){const i=iEt(e>0?this.elements[e-1]:-1),n=iEt(ee?n=o:i=o+1}const a=i===0?0:this.firstCharOffsetByLineMinusOne[i-1];return new Hi(this.lineRange.start+i+1,e-a+1+this.offsetByLine[i])}translateRange(e){return ot.fromPositions(this.translateOffset(e.start),this.translateOffset(e.endExclusive))}findWordContaining(e){if(e<0||e>=this.elements.length||!FIe(this.elements[e]))return;let i=e;for(;i>0&&FIe(this.elements[i-1]);)i--;let n=e;for(;n=97&&r<=122||r>=65&&r<=90||r>=48&&r<=57}const Ngi={0:0,1:0,2:0,3:10,4:2,5:3,6:10,7:10};function tEt(r){return Ngi[r]}function iEt(r){return r===10?7:r===13?6:Pgi(r)?5:r>=97&&r<=122?0:r>=65&&r<=90?1:r>=48&&r<=57?2:r===-1?3:4}function Pgi(r){return r===32||r===9}const nEt={smart:new pgi,experimental:new Agi};var qz=function(r,e,i,n){function a(o){return o instanceof i?o:new i(function(c){c(o)})}return new(i||(i=Promise))(function(o,c){function h(x){try{_(n.next(x))}catch(y){c(y)}}function g(x){try{_(n.throw(x))}catch(y){c(y)}}function _(x){x.done?o(x.value):a(x.value).then(h,g)}_((n=n.apply(r,e||[])).next())})};class Mgi extends tgi{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,i){const n=Fue(e.column,ivt(i),this._lines[e.lineNumber-1],0);return n?new ot(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){const i=this._lines,n=this._wordenize.bind(this);let a=0,o="",c=0,h=[];return{*[Symbol.iterator](){for(;;)if(cthis._lines.length)i=this._lines.length,n=this._lines[i-1].length+1,a=!0;else{const o=this._lines[i-1].length+1;n<1?(n=1,a=!0):n>o&&(n=o,a=!0)}return a?{lineNumber:i,column:n}:e}}class vL{constructor(e,i){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=i,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){const e=[];return Object.keys(this._models).forEach(i=>e.push(this._models[i])),e}acceptNewModel(e){this._models[e.url]=new Mgi(Xa.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,i){if(!this._models[e])return;this._models[e].onEvents(i)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeUnicodeHighlights(e,i,n){return qz(this,void 0,void 0,function*(){const a=this._getModel(e);return a?eJe.computeUnicodeHighlights(a,i,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(e,i,n,a){return qz(this,void 0,void 0,function*(){const o=this._getModel(e),c=this._getModel(i);return!o||!c?null:vL.computeDiff(o,c,n,a)})}static computeDiff(e,i,n,a){const o=a==="experimental"?nEt.experimental:nEt.smart,c=e.getLinesContent(),h=i.getLinesContent(),g=o.computeDiff(c,h,n);return{identical:g.changes.length>0?!1:this._modelsAreIdentical(e,i),quitEarly:g.hitTimeout,changes:g.changes.map(x=>{var y;return[x.originalRange.startLineNumber,x.originalRange.endLineNumberExclusive,x.modifiedRange.startLineNumber,x.modifiedRange.endLineNumberExclusive,(y=x.innerChanges)===null||y===void 0?void 0:y.map(S=>[S.originalRange.startLineNumber,S.originalRange.startColumn,S.originalRange.endLineNumber,S.originalRange.endColumn,S.modifiedRange.startLineNumber,S.modifiedRange.startColumn,S.modifiedRange.endLineNumber,S.modifiedRange.endColumn])]})}}static _modelsAreIdentical(e,i){const n=e.getLineCount(),a=i.getLineCount();if(n!==a)return!1;for(let o=1;o<=n;o++){const c=e.getLineContent(o),h=i.getLineContent(o);if(c!==h)return!1}return!0}computeMoreMinimalEdits(e,i,n){return qz(this,void 0,void 0,function*(){const a=this._getModel(e);if(!a)return i;const o=[];let c;i=i.slice(0).sort((h,g)=>{if(h.range&&g.range)return ot.compareRangesUsingStarts(h.range,g.range);const _=h.range?0:1,x=g.range?0:1;return _-x});for(let{range:h,text:g,eol:_}of i){if(typeof _=="number"&&(c=_),ot.isEmpty(h)&&!g)continue;const x=a.getValueInRange(h);if(g=g.replace(/\r\n|\n|\r/g,a.eol),x===g)continue;if(Math.max(g.length,x.length)>vL._diffLimit){o.push({range:h,text:g});continue}const y=Qpi(x,g,n),S=a.offsetAt(ot.lift(h).getStartPosition());for(const L of y){const R=a.positionAt(S+L.originalStart),G=a.positionAt(S+L.originalStart+L.originalLength),ie={text:g.substr(L.modifiedStart,L.modifiedLength),range:{startLineNumber:R.lineNumber,startColumn:R.column,endLineNumber:G.lineNumber,endColumn:G.column}};a.getValueInRange(ie.range)!==ie.text&&o.push(ie)}}return typeof c=="number"&&o.push({eol:c,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o})}computeLinks(e){return qz(this,void 0,void 0,function*(){const i=this._getModel(e);return i?agi(i):null})}textualSuggest(e,i,n,a){return qz(this,void 0,void 0,function*(){const o=new j3(!0),c=new RegExp(n,a),h=new Set;e:for(const g of e){const _=this._getModel(g);if(_){for(const x of _.words(c))if(!(x===i||!isNaN(Number(x)))&&(h.add(x),h.size>vL._suggestionsLimit))break e}}return{words:Array.from(h),duration:o.elapsed()}})}computeWordRanges(e,i,n,a){return qz(this,void 0,void 0,function*(){const o=this._getModel(e);if(!o)return Object.create(null);const c=new RegExp(n,a),h=Object.create(null);for(let g=i.startLineNumber;gthis._host.fhr(h,g)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(c,i),Promise.resolve(FGe(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}fmr(e,i){if(!this._foreignModule||typeof this._foreignModule[e]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,i))}catch(n){return Promise.reject(n)}}}vL._diffLimit=1e5;vL._suggestionsLimit=1e4;typeof importScripts=="function"&&(globalThis.monaco=Svt());const tJe=y0("textResourceConfigurationService"),cCt=y0("textResourcePropertiesService"),iv=y0("logService");var Og;(function(r){r[r.Off=0]="Off",r[r.Trace=1]="Trace",r[r.Debug=2]="Debug",r[r.Info=3]="Info",r[r.Warning=4]="Warning",r[r.Error=5]="Error"})(Og||(Og={}));const dCt=Og.Info;class hCt extends ln{constructor(){super(...arguments),this.level=dCt,this._onDidChangeLogLevel=this._register(new yi),this.onDidChangeLogLevel=this._onDidChangeLogLevel.event}setLevel(e){this.level!==e&&(this.level=e,this._onDidChangeLogLevel.fire(this.level))}getLevel(){return this.level}checkLogLevel(e){return this.level!==Og.Off&&this.level<=e}}class zgi extends hCt{constructor(e=dCt,i=!0){super(),this.useColors=i,this.setLevel(e)}trace(e,...i){this.checkLogLevel(Og.Trace)&&(this.useColors?console.log("%cTRACE","color: #888",e,...i):console.log(e,...i))}debug(e,...i){this.checkLogLevel(Og.Debug)&&(this.useColors?console.log("%cDEBUG","background: #eee; color: #888",e,...i):console.log(e,...i))}info(e,...i){this.checkLogLevel(Og.Info)&&(this.useColors?console.log("%c INFO","color: #33f",e,...i):console.log(e,...i))}error(e,...i){this.checkLogLevel(Og.Error)&&(this.useColors?console.log("%c ERR","color: #f33",e,...i):console.error(e,...i))}dispose(){}}class Igi extends hCt{constructor(e){super(),this.loggers=e,e.length&&this.setLevel(e[0].getLevel())}setLevel(e){for(const i of this.loggers)i.setLevel(e);super.setLevel(e)}trace(e,...i){for(const n of this.loggers)n.trace(e,...i)}debug(e,...i){for(const n of this.loggers)n.debug(e,...i)}info(e,...i){for(const n of this.loggers)n.info(e,...i)}error(e,...i){for(const n of this.loggers)n.error(e,...i)}dispose(){for(const e of this.loggers)e.dispose()}}function Rgi(r){switch(r){case Og.Trace:return"trace";case Og.Debug:return"debug";case Og.Info:return"info";case Og.Warning:return"warn";case Og.Error:return"error";case Og.Off:return"off"}}new Hr("logLevel",Rgi(Og.Info));const ha=y0("ILanguageFeaturesService");var Ogi=function(r,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,i,n);else for(var h=r.length-1;h>=0;h--)(c=r[h])&&(o=(a<3?c(o):a>3?c(e,i,o):c(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},wie=function(r,e){return function(i,n){e(i,n,r)}},h5e=function(r,e,i,n){function a(o){return o instanceof i?o:new i(function(c){c(o)})}return new(i||(i=Promise))(function(o,c){function h(x){try{_(n.next(x))}catch(y){c(y)}}function g(x){try{_(n.throw(x))}catch(y){c(y)}}function _(x){x.done?o(x.value):a(x.value).then(h,g)}_((n=n.apply(r,e||[])).next())})};const uEt=60*1e3,rEt=5*60*1e3;function vI(r,e){const i=r.getModel(e);return!(!i||i.isTooLargeForSyncing())}let pVe=class extends ln{constructor(e,i,n,a,o){super(),this._modelService=e,this._workerManager=this._register(new Vgi(this._modelService,a)),this._logService=n,this._register(o.linkProvider.register({language:"*",hasAccessToAllModels:!0},{provideLinks:(c,h)=>vI(this._modelService,c.uri)?this._workerManager.withWorker().then(g=>g.computeLinks(c.uri)).then(g=>g&&{links:g}):Promise.resolve({links:[]})})),this._register(o.completionProvider.register("*",new jgi(this._workerManager,i,this._modelService,a)))}dispose(){super.dispose()}canComputeUnicodeHighlights(e){return vI(this._modelService,e)}computedUnicodeHighlights(e,i,n){return this._workerManager.withWorker().then(a=>a.computedUnicodeHighlights(e,i,n))}computeDiff(e,i,n,a){return h5e(this,void 0,void 0,function*(){const o=yield this._workerManager.withWorker().then(h=>h.computeDiff(e,i,n,a));return o?{identical:o.identical,quitEarly:o.quitEarly,changes:o.changes.map(h=>{var g;return new RJ(new K6(h[0],h[1]),new K6(h[2],h[3]),(g=h[4])===null||g===void 0?void 0:g.map(_=>new j6e(new ot(_[0],_[1],_[2],_[3]),new ot(_[4],_[5],_[6],_[7]))))})}:null})}computeMoreMinimalEdits(e,i,n=!1){if(Kg(i)){if(!vI(this._modelService,e))return Promise.resolve(i);const a=j3.create(!0),o=this._workerManager.withWorker().then(c=>c.computeMoreMinimalEdits(e,i,n));return o.finally(()=>this._logService.trace("FORMAT#computeMoreMinimalEdits",e.toString(!0),a.elapsed())),Promise.race([o,KL(1e3).then(()=>i)])}else return Promise.resolve(void 0)}canNavigateValueSet(e){return vI(this._modelService,e)}navigateValueSet(e,i,n){return this._workerManager.withWorker().then(a=>a.navigateValueSet(e,i,n))}canComputeWordRanges(e){return vI(this._modelService,e)}computeWordRanges(e,i){return this._workerManager.withWorker().then(n=>n.computeWordRanges(e,i))}};pVe=Ogi([wie(0,lh),wie(1,tJe),wie(2,iv),wie(3,B1),wie(4,ha)],pVe);class jgi{constructor(e,i,n,a){this.languageConfigurationService=a,this._debugDisplayName="wordbasedCompletions",this._workerManager=e,this._configurationService=i,this._modelService=n}provideCompletionItems(e,i){return h5e(this,void 0,void 0,function*(){const n=this._configurationService.getValue(e.uri,i,"editor");if(!n.wordBasedSuggestions)return;const a=[];if(n.wordBasedSuggestionsMode==="currentDocument")vI(this._modelService,e.uri)&&a.push(e.uri);else for(const y of this._modelService.getModels())vI(this._modelService,y.uri)&&(y===e?a.unshift(y.uri):(n.wordBasedSuggestionsMode==="allDocuments"||y.getLanguageId()===e.getLanguageId())&&a.push(y.uri));if(a.length===0)return;const o=this.languageConfigurationService.getLanguageConfiguration(e.getLanguageId()).getWordDefinition(),c=e.getWordAtPosition(i),h=c?new ot(i.lineNumber,c.startColumn,i.lineNumber,c.endColumn):ot.fromPositions(i),g=h.setEndPosition(i.lineNumber,i.column),x=yield(yield this._workerManager.withWorker()).textualSuggest(a,c==null?void 0:c.word,o);if(x)return{duration:x.duration,suggestions:x.words.map(y=>({kind:18,label:y,insertText:y,range:{insert:g,replace:h}}))}})}}class Vgi extends ln{constructor(e,i){super(),this.languageConfigurationService=i,this._modelService=e,this._editorWorkerClient=null,this._lastWorkerUsedTime=new Date().getTime(),this._register(new Dae).cancelAndSet(()=>this._checkStopIdleWorker(),Math.round(rEt/2)),this._register(this._modelService.onModelRemoved(a=>this._checkStopEmptyWorker()))}dispose(){this._editorWorkerClient&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null),super.dispose()}_checkStopEmptyWorker(){if(!this._editorWorkerClient)return;this._modelService.getModels().length===0&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}_checkStopIdleWorker(){if(!this._editorWorkerClient)return;new Date().getTime()-this._lastWorkerUsedTime>rEt&&(this._editorWorkerClient.dispose(),this._editorWorkerClient=null)}withWorker(){return this._lastWorkerUsedTime=new Date().getTime(),this._editorWorkerClient||(this._editorWorkerClient=new fCt(this._modelService,!1,"editorWorkerService",this.languageConfigurationService)),Promise.resolve(this._editorWorkerClient)}}class Hgi extends ln{constructor(e,i,n){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=i,!n){const a=new Dae;a.cancelAndSet(()=>this._checkStopModelSync(),Math.round(uEt/2)),this._register(a)}}dispose(){for(const e in this._syncedModels)rc(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,i){for(const n of e){const a=n.toString();this._syncedModels[a]||this._beginModelSync(n,i),this._syncedModels[a]&&(this._syncedModelsLastUsedTime[a]=new Date().getTime())}}_checkStopModelSync(){const e=new Date().getTime(),i=[];for(const n in this._syncedModelsLastUsedTime)e-this._syncedModelsLastUsedTime[n]>uEt&&i.push(n);for(const n of i)this._stopModelSync(n)}_beginModelSync(e,i){const n=this._modelService.getModel(e);if(!n||!i&&n.isTooLargeForSyncing())return;const a=e.toString();this._proxy.acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});const o=new cu;o.add(n.onDidChangeContent(c=>{this._proxy.acceptModelChanged(a.toString(),c)})),o.add(n.onWillDispose(()=>{this._stopModelSync(a)})),o.add(ws(()=>{this._proxy.acceptRemovedModel(a)})),this._syncedModels[a]=o}_stopModelSync(e){const i=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],rc(i)}}class aEt{constructor(e){this._instance=e,this._proxyObj=Promise.resolve(this._instance)}dispose(){this._instance.dispose()}getProxyObject(){return this._proxyObj}}class AIe{constructor(e){this._workerClient=e}fhr(e,i){return this._workerClient.fhr(e,i)}}class fCt extends ln{constructor(e,i,n,a){super(),this.languageConfigurationService=a,this._disposed=!1,this._modelService=e,this._keepIdleModels=i,this._workerFactory=new I6e(n),this._worker=null,this._modelManager=null}fhr(e,i){throw new Error("Not implemented!")}_getOrCreateWorker(){if(!this._worker)try{this._worker=this._register(new Kpi(this._workerFactory,"vs/editor/common/services/editorSimpleWorker",new AIe(this)))}catch(e){dVe(e),this._worker=new aEt(new vL(new AIe(this),null))}return this._worker}_getProxy(){return this._getOrCreateWorker().getProxyObject().then(void 0,e=>(dVe(e),this._worker=new aEt(new vL(new AIe(this),null)),this._getOrCreateWorker().getProxyObject()))}_getOrCreateModelManager(e){return this._modelManager||(this._modelManager=this._register(new Hgi(e,this._modelService,this._keepIdleModels))),this._modelManager}_withSyncedResources(e,i=!1){return h5e(this,void 0,void 0,function*(){return this._disposed?Promise.reject(Dmi()):this._getProxy().then(n=>(this._getOrCreateModelManager(n).ensureSyncedResources(e,i),n))})}computedUnicodeHighlights(e,i,n){return this._withSyncedResources([e]).then(a=>a.computeUnicodeHighlights(e.toString(),i,n))}computeDiff(e,i,n,a){return this._withSyncedResources([e,i],!0).then(o=>o.computeDiff(e.toString(),i.toString(),n,a))}computeMoreMinimalEdits(e,i,n){return this._withSyncedResources([e]).then(a=>a.computeMoreMinimalEdits(e.toString(),i,n))}computeLinks(e){return this._withSyncedResources([e]).then(i=>i.computeLinks(e.toString()))}textualSuggest(e,i,n){return h5e(this,void 0,void 0,function*(){const a=yield this._withSyncedResources(e),o=n.source,c=cIe(n);return a.textualSuggest(e.map(h=>h.toString()),i,o,c)})}computeWordRanges(e,i){return this._withSyncedResources([e]).then(n=>{const a=this._modelService.getModel(e);if(!a)return Promise.resolve(null);const o=this.languageConfigurationService.getLanguageConfiguration(a.getLanguageId()).getWordDefinition(),c=o.source,h=cIe(o);return n.computeWordRanges(e.toString(),i,c,h)})}navigateValueSet(e,i,n){return this._withSyncedResources([e]).then(a=>{const o=this._modelService.getModel(e);if(!o)return null;const c=this.languageConfigurationService.getLanguageConfiguration(o.getLanguageId()).getWordDefinition(),h=c.source,g=cIe(c);return a.navigateValueSet(e.toString(),i,n,h,g)})}dispose(){super.dispose(),this._disposed=!0}}function Kgi(r,e,i){return new Wgi(r,e,i)}class Wgi extends fCt{constructor(e,i,n){super(e,n.keepIdleModels||!1,n.label,i),this._foreignModuleId=n.moduleId,this._foreignModuleCreateData=n.createData||null,this._foreignModuleHost=n.host||null,this._foreignProxy=null}fhr(e,i){if(!this._foreignModuleHost||typeof this._foreignModuleHost[e]!="function")return Promise.reject(new Error("Missing method "+e+" or missing main thread foreign host."));try{return Promise.resolve(this._foreignModuleHost[e].apply(this._foreignModuleHost,i))}catch(n){return Promise.reject(n)}}_getForeignProxy(){return this._foreignProxy||(this._foreignProxy=this._getProxy().then(e=>{const i=this._foreignModuleHost?FGe(this._foreignModuleHost):[];return e.loadForeignModule(this._foreignModuleId,this._foreignModuleCreateData,i).then(n=>{this._foreignModuleCreateData=null;const a=(h,g)=>e.fmr(h,g),o=(h,g)=>function(){const _=Array.prototype.slice.call(arguments,0);return g(h,_)},c={};for(const h of n)c[h]=o(h,a);return c})})),this._foreignProxy}getProxy(){return this._getForeignProxy()}withSyncedResources(e){return this._withSyncedResources(e).then(i=>this.getProxy())}}class Xp{static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static getClassNameFromMetadata(e){let n="mtk"+this.getForeground(e);const a=this.getFontStyle(e);return a&1&&(n+=" mtki"),a&2&&(n+=" mtkb"),a&4&&(n+=" mtku"),a&8&&(n+=" mtks"),n}static getInlineStyleFromMetadata(e,i){const n=this.getForeground(e),a=this.getFontStyle(e);let o=`color: ${i[n]};`;a&1&&(o+="font-style: italic;"),a&2&&(o+="font-weight: bold;");let c="";return a&4&&(c+=" underline"),a&8&&(c+=" line-through"),c&&(o+=`text-decoration:${c};`),o}static getPresentationFromMetadata(e){const i=this.getForeground(e),n=this.getFontStyle(e);return{foreground:i,italic:!!(n&1),bold:!!(n&2),underline:!!(n&4),strikethrough:!!(n&8)}}}class i4{static createEmpty(e,i){const n=i4.defaultTokenMetadata,a=new Uint32Array(2);return a[0]=e.length,a[1]=n,new i4(a,e,i)}constructor(e,i,n){this._lineTokensBrand=void 0,this._tokens=e,this._tokensCount=this._tokens.length>>>1,this._text=i,this._languageIdCodec=n}equals(e){return e instanceof i4?this.slicedEquals(e,0,this._tokensCount):!1}slicedEquals(e,i,n){if(this._text!==e._text||this._tokensCount!==e._tokensCount)return!1;const a=i<<1,o=a+(n<<1);for(let c=a;c0?this._tokens[e-1<<1]:0}getMetadata(e){return this._tokens[(e<<1)+1]}getLanguageId(e){const i=this._tokens[(e<<1)+1],n=Xp.getLanguageId(i);return this._languageIdCodec.decodeLanguageId(n)}getStandardTokenType(e){const i=this._tokens[(e<<1)+1];return Xp.getTokenType(i)}getForeground(e){const i=this._tokens[(e<<1)+1];return Xp.getForeground(i)}getClassName(e){const i=this._tokens[(e<<1)+1];return Xp.getClassNameFromMetadata(i)}getInlineStyle(e,i){const n=this._tokens[(e<<1)+1];return Xp.getInlineStyleFromMetadata(n,i)}getPresentation(e){const i=this._tokens[(e<<1)+1];return Xp.getPresentationFromMetadata(i)}getEndOffset(e){return this._tokens[e<<1]}findTokenIndexAtOffset(e){return i4.findIndexInTokensArray(this._tokens,e)}inflate(){return this}sliceAndInflate(e,i,n){return new iJe(this,e,i,n)}static convertToEndOffset(e,i){const a=(e.length>>>1)-1;for(let o=0;o>>1)-1;for(;ni&&(a=o)}return n}withInserted(e){if(e.length===0)return this;let i=0,n=0,a="";const o=new Array;let c=0;for(;;){const h=ic){a+=this._text.substring(c,g.offset);const _=this._tokens[(i<<1)+1];o.push(a.length,_),c=g.offset}a+=g.text,o.push(a.length,g.tokenMetadata),n++}else break}return new i4(new Uint32Array(o),a,this._languageIdCodec)}}i4.defaultTokenMetadata=(32768|2<<24)>>>0;class iJe{constructor(e,i,n,a){this._source=e,this._startOffset=i,this._endOffset=n,this._deltaOffset=a,this._firstTokenIndex=e.findTokenIndexAtOffset(i),this._tokensCount=0;for(let o=this._firstTokenIndex,c=e.getCount();o=n);o++)this._tokensCount++}getMetadata(e){return this._source.getMetadata(this._firstTokenIndex+e)}getLanguageId(e){return this._source.getLanguageId(this._firstTokenIndex+e)}getLineContent(){return this._source.getLineContent().substring(this._startOffset,this._endOffset)}equals(e){return e instanceof iJe?this._startOffset===e._startOffset&&this._endOffset===e._endOffset&&this._deltaOffset===e._deltaOffset&&this._source.slicedEquals(e._source,this._firstTokenIndex,this._tokensCount):!1}getCount(){return this._tokensCount}getForeground(e){return this._source.getForeground(this._firstTokenIndex+e)}getEndOffset(e){const i=this._source.getEndOffset(this._firstTokenIndex+e);return Math.min(this._endOffset,i)-this._startOffset+this._deltaOffset}getClassName(e){return this._source.getClassName(this._firstTokenIndex+e)}getInlineStyle(e,i){return this._source.getInlineStyle(this._firstTokenIndex+e,i)}getPresentation(e){return this._source.getPresentation(this._firstTokenIndex+e)}findTokenIndexAtOffset(e){return this._source.findTokenIndexAtOffset(e+this._startOffset-this._deltaOffset)-this._firstTokenIndex}}class OD{constructor(e,i,n,a){this.startColumn=e,this.endColumn=i,this.className=n,this.type=a,this._lineDecorationBrand=void 0}static _equals(e,i){return e.startColumn===i.startColumn&&e.endColumn===i.endColumn&&e.className===i.className&&e.type===i.type}static equalsArr(e,i){const n=e.length,a=i.length;if(n!==a)return!1;for(let o=0;o=o||(h[g++]=new OD(Math.max(1,_.startColumn-a+1),Math.min(c+1,_.endColumn-a+1),_.className,_.type));return h}static filter(e,i,n,a){if(e.length===0)return[];const o=[];let c=0;for(let h=0,g=e.length;hi||x.isEmpty()&&(_.type===0||_.type===3))continue;const y=x.startLineNumber===i?x.startColumn:n,S=x.endLineNumber===i?x.endColumn:a;o[c++]=new OD(y,S,_.inlineClassName,_.type)}return o}static _typeCompare(e,i){const n=[2,0,1,3];return n[e]-n[i]}static compare(e,i){if(e.startColumn!==i.startColumn)return e.startColumn-i.startColumn;if(e.endColumn!==i.endColumn)return e.endColumn-i.endColumn;const n=OD._typeCompare(e.type,i.type);return n!==0?n:e.className!==i.className?e.className0&&this.stopOffsets[0]0&&i=e){this.stopOffsets.splice(a,0,e),this.classNames.splice(a,0,i),this.metadata.splice(a,0,n);break}this.count++}}class Ggi{static normalize(e,i){if(i.length===0)return[];const n=[],a=new f5e;let o=0;for(let c=0,h=i.length;c1){const G=e.charCodeAt(_-2);t4(G)&&_--}if(x>1){const G=e.charCodeAt(x-2);t4(G)&&x--}const L=_-1,R=x-2;o=a.consumeLowerThan(L,o,n),a.count===0&&(o=L),a.insert(R,y,S)}return a.consumeLowerThan(1073741824,o,n),n}}class L4{constructor(e,i,n,a){this.endIndex=e,this.type=i,this.metadata=n,this.containsRTL=a,this._linePartBrand=void 0}isWhitespace(){return!!(this.metadata&1)}isPseudoAfter(){return!!(this.metadata&4)}}class mCt{constructor(e,i){this.startOffset=e,this.endOffset=i}equals(e){return this.startOffset===e.startOffset&&this.endOffset===e.endOffset}}class cN{constructor(e,i,n,a,o,c,h,g,_,x,y,S,L,R,G,ie,ue,re,_e){this.useMonospaceOptimizations=e,this.canUseHalfwidthRightwardsArrow=i,this.lineContent=n,this.continuesWithWrappedLine=a,this.isBasicASCII=o,this.containsRTL=c,this.fauxIndentLength=h,this.lineTokens=g,this.lineDecorations=_.sort(OD.compare),this.tabSize=x,this.startVisibleColumn=y,this.spaceWidth=S,this.stopRenderingLineAfter=G,this.renderWhitespace=ie==="all"?4:ie==="boundary"?1:ie==="selection"?2:ie==="trailing"?3:0,this.renderControlCharacters=ue,this.fontLigatures=re,this.selectionsOnLine=_e&&_e.sort((st,Ue)=>st.startOffset>>16}static getCharIndex(e){return(e&65535)>>>0}constructor(e,i){this.length=e,this._data=new Uint32Array(this.length),this._horizontalOffset=new Uint32Array(this.length)}setColumnInfo(e,i,n,a){const o=(i<<16|n<<0)>>>0;this._data[e-1]=o,this._horizontalOffset[e-1]=a}getHorizontalOffset(e){return this._horizontalOffset.length===0?0:this._horizontalOffset[e-1]}charOffsetToPartData(e){return this.length===0?0:e<0?this._data[0]:e>=this.length?this._data[this.length-1]:this._data[e]}getDomPosition(e){const i=this.charOffsetToPartData(e-1),n=qF.getPartIndex(i),a=qF.getCharIndex(i);return new nJe(n,a)}getColumn(e,i){return this.partDataToCharOffset(e.partIndex,i,e.charIndex)+1}partDataToCharOffset(e,i,n){if(this.length===0)return 0;const a=(e<<16|n<<0)>>>0;let o=0,c=this.length-1;for(;o+1>>1,ie=this._data[G];if(ie===a)return G;ie>a?c=G:o=G}if(o===c)return o;const h=this._data[o],g=this._data[c];if(h===a)return o;if(g===a)return c;const _=qF.getPartIndex(h),x=qF.getCharIndex(h),y=qF.getPartIndex(g);let S;_!==y?S=i:S=qF.getCharIndex(g);const L=n-x,R=S-n;return L<=R?o:c}}class gVe{constructor(e,i,n){this._renderLineOutputBrand=void 0,this.characterMapping=e,this.containsRTL=i,this.containsForeignElements=n}}function xae(r,e){if(r.lineContent.length===0){if(r.lineDecorations.length>0){e.appendString("");let i=0,n=0,a=0;for(const c of r.lineDecorations)(c.type===1||c.type===2)&&(e.appendString(''),c.type===1&&(a|=1,i++),c.type===2&&(a|=2,n++));e.appendString("");const o=new qF(1,i+n);return o.setColumnInfo(1,i,0,0),new gVe(o,!1,a)}return e.appendString(""),new gVe(new qF(0,0),!1,0)}return eEi(Ugi(r),e)}class Jgi{constructor(e,i,n,a){this.characterMapping=e,this.html=i,this.containsRTL=n,this.containsForeignElements=a}}function V6e(r){const e=new v$(1e4),i=xae(r,e);return new Jgi(i.characterMapping,e.build(),i.containsRTL,i.containsForeignElements)}class $gi{constructor(e,i,n,a,o,c,h,g,_,x,y,S,L,R,G,ie){this.fontIsMonospace=e,this.canUseHalfwidthRightwardsArrow=i,this.lineContent=n,this.len=a,this.isOverflowing=o,this.overflowingCharCount=c,this.parts=h,this.containsForeignElements=g,this.fauxIndentLength=_,this.tabSize=x,this.startVisibleColumn=y,this.containsRTL=S,this.spaceWidth=L,this.renderSpaceCharCode=R,this.renderWhitespace=G,this.renderControlCharacters=ie}}function Ugi(r){const e=r.lineContent;let i,n,a;r.stopRenderingLineAfter!==-1&&r.stopRenderingLineAfter0){for(let h=0,g=r.lineDecorations.length;h0&&(o[c++]=new L4(n,"",0,!1));let h=n;for(let g=0,_=i.getCount();g<_;g++){const x=i.getEndOffset(g);if(x<=n)continue;const y=i.getClassName(g);if(x>=a){const L=e?NJ(r.substring(h,a)):!1;o[c++]=new L4(a,y,0,L);break}const S=e?NJ(r.substring(h,x)):!1;o[c++]=new L4(x,y,0,S),h=x}return o}function Zgi(r,e,i){let n=0;const a=[];let o=0;if(i)for(let c=0,h=e.length;c=50&&(a[o++]=new L4(L+1,x,y,S),R=L+1,L=-1);R!==_&&(a[o++]=new L4(_,x,y,S))}else a[o++]=g;n=_}else for(let c=0,h=e.length;c50){const y=g.type,S=g.metadata,L=g.containsRTL,R=Math.ceil(x/50);for(let G=1;G=8234&&r<=8238||r>=8294&&r<=8297||r>=8206&&r<=8207||r===1564}function Ygi(r,e){const i=[];let n=new L4(0,"",0,!1),a=0;for(const o of e){const c=o.endIndex;for(;an.endIndex&&(n=new L4(a,o.type,o.metadata,o.containsRTL),i.push(n)),n=new L4(a+1,"mtkcontrol",o.metadata,!1),i.push(n))}a>n.endIndex&&(n=new L4(c,o.type,o.metadata,o.containsRTL),i.push(n))}return i}function Qgi(r,e,i,n){const a=r.continuesWithWrappedLine,o=r.fauxIndentLength,c=r.tabSize,h=r.startVisibleColumn,g=r.useMonospaceOptimizations,_=r.selectionsOnLine,x=r.renderWhitespace===1,y=r.renderWhitespace===3,S=r.renderSpaceWidth!==r.spaceWidth,L=[];let R=0,G=0,ie=n[G].type,ue=n[G].containsRTL,re=n[G].endIndex;const _e=n.length;let ye=!1,Le=RE(e),st;Le===-1?(ye=!0,Le=i,st=i):st=Dy(e);let Ue=!1,Ye=0,rt=_&&_[Ye],Ft=h%c;for(let Ot=o;Ot=rt.endOffset&&(Ye++,rt=_&&_[Ye]);let ei;if(Otst)ei=!0;else if(ui===9)ei=!0;else if(ui===32)if(x)if(Ue)ei=!0;else{const qu=Ot+1Ot),ei&&y&&(ei=ye||Ot>st),ei&&ue&&Ot>=Le&&Ot<=st&&(ei=!1),Ue){if(!ei||!g&&Ft>=c){if(S){const qu=R>0?L[R-1].endIndex:o;for(let mu=qu+1;mu<=Ot;mu++)L[R++]=new L4(mu,"mtkw",1,!1)}else L[R++]=new L4(Ot,"mtkw",1,!1);Ft=Ft%c}}else(Ot===re||ei&&Ot>o)&&(L[R++]=new L4(Ot,ie,0,ue),Ft=Ft%c);for(ui===9?Ft=c:VL(ui)?Ft+=2:Ft++,Ue=ei;Ot===re&&(G++,G<_e);)ie=n[G].type,ue=n[G].containsRTL,re=n[G].endIndex}let Zt=!1;if(Ue)if(a&&x){const Ot=i>0?e.charCodeAt(i-1):0,ui=i>1?e.charCodeAt(i-2):0;Ot===32&&ui!==32&&ui!==9||(Zt=!0)}else Zt=!0;if(Zt)if(S){const Ot=R>0?L[R-1].endIndex:o;for(let ui=Ot+1;ui<=i;ui++)L[R++]=new L4(ui,"mtkw",1,!1)}else L[R++]=new L4(i,"mtkw",1,!1);else L[R++]=new L4(i,ie,0,ue);return L}function Xgi(r,e,i,n){n.sort(OD.compare);const a=Ggi.normalize(r,n),o=a.length;let c=0;const h=[];let g=0,_=0;for(let y=0,S=i.length;y_&&(_=re.startOffset,h[g++]=new L4(_,G,ie,ue)),re.endOffset+1<=R)_=re.endOffset+1,h[g++]=new L4(_,G+" "+re.className,ie|re.metadata,ue),c++;else{_=R,h[g++]=new L4(_,G+" "+re.className,ie|re.metadata,ue);break}}R>_&&(_=R,h[g++]=new L4(_,G,ie,ue))}const x=i[i.length-1].endIndex;if(c'):e.appendString("");for(let rt=0,Ft=_.length;rt=x&&(Oa+=Pr)}}for(mu&&(e.appendString(' style="width:'),e.appendString(String(R*jr)),e.appendString('px"')),e.appendASCIICharCode(62);ye1?e.appendCharCode(8594):e.appendCharCode(65515);for(let Pr=2;Pr<=Ku;Pr++)e.appendCharCode(160)}else Oa=2,Ku=1,e.appendCharCode(G),e.appendCharCode(8204);st+=Oa,Ue+=Ku,ye>=x&&(Le+=Ku)}}else for(e.appendASCIICharCode(62);ye=x&&(Le+=Oa)}Kt?Ye++:Ye=0,ye>=c&&!_e&&Zt.isPseudoAfter()&&(_e=!0,re.setColumnInfo(ye+1,rt,st,Ue)),e.appendString("")}return _e||re.setColumnInfo(c+1,_.length-1,st,Ue),h&&(e.appendString(''),e.appendString(V("showMore","Show more ({0})",iEi(g))),e.appendString("")),e.appendString(""),new gVe(re,L,a)}function tEi(r){return r.toString(16).toUpperCase().padStart(4,"0")}function iEi(r){return r<1024?V("overflow.chars","{0} chars",r):r<1024*1024?`${(r/1024).toFixed(1)} KB`:`${(r/1024/1024).toFixed(1)} MB`}class sEt{constructor(e,i,n,a){this._viewportBrand=void 0,this.top=e|0,this.left=i|0,this.width=n|0,this.height=a|0}}class nEi{constructor(e,i){this.tabSize=e,this.data=i}}class uJe{constructor(e,i,n,a,o,c,h){this._viewLineDataBrand=void 0,this.content=e,this.continuesWithWrappedLine=i,this.minColumn=n,this.maxColumn=a,this.startVisibleColumn=o,this.tokens=c,this.inlineDecorations=h}}class gx{constructor(e,i,n,a,o,c,h,g,_,x){this.minColumn=e,this.maxColumn=i,this.content=n,this.continuesWithWrappedLine=a,this.isBasicASCII=gx.isBasicASCII(n,c),this.containsRTL=gx.containsRTL(n,this.isBasicASCII,o),this.tokens=h,this.inlineDecorations=g,this.tabSize=_,this.startVisibleColumn=x}static isBasicASCII(e,i){return i?pae(e):!0}static containsRTL(e,i,n){return!i&&n?NJ(e):!1}}class One{constructor(e,i,n){this.range=e,this.inlineClassName=i,this.type=n}}class uEi{constructor(e,i,n,a){this.startOffset=e,this.endOffset=i,this.inlineClassName=n,this.inlineClassNameAffectsLetterSpacing=a}toInlineDecoration(e){return new One(new ot(e,this.startOffset+1,e,this.endOffset+1),this.inlineClassName,this.inlineClassNameAffectsLetterSpacing?3:0)}}class gCt{constructor(e,i){this._viewModelDecorationBrand=void 0,this.range=e,this.options=i}}class ECt{constructor(e,i,n){this.color=e,this.zIndex=i,this.data=n}static cmp(e,i){return e.zIndex===i.zIndex?e.colori.color?1:0:e.zIndex-i.zIndex}}function rEi(r){return Array.isArray(r)}function aEi(r){return!rEi(r)}function _Ct(r){return typeof r=="string"}function lEt(r){return!_Ct(r)}function hG(r){return!r}function CL(r,e){return r.ignoreCase&&e?e.toLowerCase():e}function cEt(r){return r.replace(/[&<>'"_]/g,"-")}function oEi(r,e){console.log(`${r.languageId}: ${e}`)}function Kd(r,e){return new Error(`${r.languageId}: ${e}`)}function qT(r,e,i,n,a){const o=/\$((\$)|(#)|(\d\d?)|[sS](\d\d?)|@(\w+))/g;let c=null;return e.replace(o,function(h,g,_,x,y,S,L,R,G){return hG(_)?hG(x)?!hG(y)&&y0;){const n=r.tokenizer[i];if(n)return n;const a=i.lastIndexOf(".");a<0?i=null:i=i.substr(0,a)}return null}function sEi(r,e){let i=e;for(;i&&i.length>0;){if(r.stateNames[i])return!0;const a=i.lastIndexOf(".");a<0?i=null:i=i.substr(0,a)}return!1}var lEi=function(r,e,i,n){var a=arguments.length,o=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,i):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(r,e,i,n);else for(var h=r.length-1;h>=0;h--)(c=r[h])&&(o=(a<3?c(o):a>3?c(e,i,o):c(e,i))||o);return a>3&&o&&Object.defineProperty(e,i,o),o},cEi=function(r,e){return function(i,n){e(i,n,r)}};const DCt=5;class zue{static create(e,i){return this._INSTANCE.create(e,i)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,i){if(e!==null&&e.depth>=this._maxCacheDepth)return new iJ(e,i);let n=iJ.getStackElementId(e);n.length>0&&(n+="|"),n+=i;let a=this._entries[n];return a||(a=new iJ(e,i),this._entries[n]=a,a)}}zue._INSTANCE=new zue(DCt);class iJ{constructor(e,i){this.parent=e,this.state=i,this.depth=(this.parent?this.parent.depth:0)+1}static getStackElementId(e){let i="";for(;e!==null;)i.length>0&&(i+="|"),i+=e.state,e=e.parent;return i}static _equals(e,i){for(;e!==null&&i!==null;){if(e===i)return!0;if(e.state!==i.state)return!1;e=e.parent,i=i.parent}return e===null&&i===null}equals(e){return iJ._equals(this,e)}push(e){return zue.create(this,e)}pop(){return this.parent}popall(){let e=this;for(;e.parent;)e=e.parent;return e}switchTo(e){return zue.create(this.parent,e)}}class FG{constructor(e,i){this.languageId=e,this.state=i}equals(e){return this.languageId===e.languageId&&this.state.equals(e.state)}clone(){return this.state.clone()===this.state?this:new FG(this.languageId,this.state)}}class ZT{static create(e,i){return this._INSTANCE.create(e,i)}constructor(e){this._maxCacheDepth=e,this._entries=Object.create(null)}create(e,i){if(i!==null)return new jne(e,i);if(e!==null&&e.depth>=this._maxCacheDepth)return new jne(e,i);const n=iJ.getStackElementId(e);let a=this._entries[n];return a||(a=new jne(e,null),this._entries[n]=a,a)}}ZT._INSTANCE=new ZT(DCt);class jne{constructor(e,i){this.stack=e,this.embeddedLanguageData=i}clone(){return(this.embeddedLanguageData?this.embeddedLanguageData.clone():null)===this.embeddedLanguageData?this:ZT.create(this.stack,this.embeddedLanguageData)}equals(e){return!(e instanceof jne)||!this.stack.equals(e.stack)?!1:this.embeddedLanguageData===null&&e.embeddedLanguageData===null?!0:this.embeddedLanguageData===null||e.embeddedLanguageData===null?!1:this.embeddedLanguageData.equals(e.embeddedLanguageData)}}class dEi{constructor(){this._tokens=[],this._languageId=null,this._lastTokenType=null,this._lastTokenLanguage=null}enterLanguage(e){this._languageId=e}emit(e,i){this._lastTokenType===i&&this._lastTokenLanguage===this._languageId||(this._lastTokenType=i,this._lastTokenLanguage=this._languageId,this._tokens.push(new Sue(e,i,this._languageId)))}nestedLanguageTokenize(e,i,n,a){const o=n.languageId,c=n.state,h=ah.get(o);if(!h)return this.enterLanguage(o),this.emit(a,""),c;const g=h.tokenize(e,i,c);if(a!==0)for(const _ of g.tokens)this._tokens.push(new Sue(_.offset+a,_.type,_.language));else this._tokens=this._tokens.concat(g.tokens);return this._lastTokenType=null,this._lastTokenLanguage=null,this._languageId=null,g.endState}finalize(e){return new PGe(this._tokens,e)}}class m5e{constructor(e,i){this._languageService=e,this._theme=i,this._prependTokens=null,this._tokens=[],this._currentLanguageId=0,this._lastTokenMetadata=0}enterLanguage(e){this._currentLanguageId=this._languageService.languageIdCodec.encodeLanguageId(e)}emit(e,i){const n=this._theme.match(this._currentLanguageId,i)|1024;this._lastTokenMetadata!==n&&(this._lastTokenMetadata=n,this._tokens.push(e),this._tokens.push(n))}static _merge(e,i,n){const a=e!==null?e.length:0,o=i.length,c=n!==null?n.length:0;if(a===0&&o===0&&c===0)return new Uint32Array(0);if(a===0&&o===0)return n;if(o===0&&c===0)return e;const h=new Uint32Array(a+o+c);e!==null&&h.set(e);for(let g=0;g{if(c)return;let g=!1;for(let _=0,x=h.changedLanguages.length;_{h.affectsConfiguration("editor.maxTokenizationLineLength")&&(this._maxTokenizationLineLength=this._configurationService.getValue("editor.maxTokenizationLineLength",{overrideIdentifier:this._languageId}))})}dispose(){this._tokenizationRegistryListener.dispose()}getLoadStatus(){const e=[];for(const i in this._embeddedLanguages){const n=ah.get(i);if(n){if(n instanceof xCt){const a=n.getLoadStatus();a.loaded===!1&&e.push(a.promise)}continue}ah.isResolved(i)||e.push(ah.getOrCreate(i))}return e.length===0?{loaded:!0}:{loaded:!1,promise:Promise.all(e).then(i=>{})}}getInitialState(){const e=zue.create(null,this._lexer.start);return ZT.create(e,null)}tokenize(e,i,n){if(e.length>=this._maxTokenizationLineLength)return ZGe(this._languageId,n);const a=new dEi,o=this._tokenize(e,i,n,a);return a.finalize(o)}tokenizeEncoded(e,i,n){if(e.length>=this._maxTokenizationLineLength)return M6e(this._languageService.languageIdCodec.encodeLanguageId(this._languageId),n);const a=new m5e(this._languageService,this._standaloneThemeService.getColorTheme().tokenTheme),o=this._tokenize(e,i,n,a);return a.finalize(o)}_tokenize(e,i,n,a){return n.embeddedLanguageData?this._nestedTokenize(e,i,n,0,a):this._myTokenize(e,i,n,0,a)}_findLeavingNestedLanguageOffset(e,i){let n=this._lexer.tokenizer[i.stack.state];if(!n&&(n=S_e(this._lexer,i.stack.state),!n))throw Kd(this._lexer,"tokenizer state is not defined: "+i.stack.state);let a=-1,o=!1;for(const c of n){if(!lEt(c.action)||c.action.nextEmbedded!=="@pop")continue;o=!0;let h=c.regex;const g=c.regex.source;if(g.substr(0,4)==="^(?:"&&g.substr(g.length-1,1)===")"){const x=(h.ignoreCase?"i":"")+(h.unicode?"u":"");h=new RegExp(g.substr(4,g.length-5),x)}const _=e.search(h);_===-1||_!==0&&c.matchOnlyAtLineStart||(a===-1||_0&&o.nestedLanguageTokenize(h,!1,n.embeddedLanguageData,a);const g=e.substring(c);return this._myTokenize(g,i,n,a+c,o)}_safeRuleName(e){return e?e.name:"(unknown)"}_myTokenize(e,i,n,a,o){o.enterLanguage(this._languageId);const c=e.length,h=i&&this._lexer.includeLF?e+` +`:e,g=h.length;let _=n.embeddedLanguageData,x=n.stack,y=0,S=null,L=!0;for(;L||y=g)break;L=!1;let rt=this._lexer.tokenizer[ue];if(!rt&&(rt=S_e(this._lexer,ue),!rt))throw Kd(this._lexer,"tokenizer state is not defined: "+ue);const Ft=h.substr(y);for(const Zt of rt)if((y===0||!Zt.matchOnlyAtLineStart)&&(re=Ft.match(Zt.regex),re)){_e=re[0],ye=Zt.action;break}}if(re||(re=[""],_e=""),ye||(y=this._lexer.maxStack)throw Kd(this._lexer,"maximum tokenizer stack size reached: ["+x.state+","+x.parent.state+",...]");x=x.push(ue)}else if(ye.next==="@pop"){if(x.depth<=1)throw Kd(this._lexer,"trying to pop an empty stack in rule: "+this._safeRuleName(Le));x=x.pop()}else if(ye.next==="@popall")x=x.popall();else{let rt=qT(this._lexer,ye.next,_e,re,ue);if(rt[0]==="@"&&(rt=rt.substr(1)),S_e(this._lexer,rt))x=x.push(rt);else throw Kd(this._lexer,"trying to set a next state '"+rt+"' that is undefined in rule: "+this._safeRuleName(Le))}}ye.log&&typeof ye.log=="string"&&oEi(this._lexer,this._lexer.languageId+": "+qT(this._lexer,ye.log,_e,re,ue))}if(Ue===null)throw Kd(this._lexer,"lexer rule has no well-defined action in rule: "+this._safeRuleName(Le));const Ye=rt=>{const Ft=this._languageService.getLanguageIdByLanguageName(rt)||this._languageService.getLanguageIdByMimeType(rt)||rt,Zt=this._getNestedEmbeddedLanguageData(Ft);if(y0)throw Kd(this._lexer,"groups cannot be nested: "+this._safeRuleName(Le));if(re.length!==Ue.length+1)throw Kd(this._lexer,"matched number of groups does not match the number of actions in rule: "+this._safeRuleName(Le));let rt=0;for(let Ft=1;Ftr});class rJe{static colorizeElement(e,i,n,a){a=a||{};const o=a.theme||"vs",c=a.mimeType||n.getAttribute("lang")||n.getAttribute("data-lang");if(!c)return console.error("Mode not detected"),Promise.resolve();const h=i.getLanguageIdByMimeType(c)||c;e.setTheme(o);const g=n.firstChild?n.firstChild.nodeValue:"";n.className+=" "+o;const _=x=>{var y;const S=(y=BIe==null?void 0:BIe.createHTML(x))!==null&&y!==void 0?y:x;n.innerHTML=S};return this.colorize(i,g||"",h,a).then(_,x=>console.error(x))}static colorize(e,i,n,a){return fEi(this,void 0,void 0,function*(){const o=e.languageIdCodec;let c=4;a&&typeof a.tabSize=="number"&&(c=a.tabSize),VGe(i)&&(i=i.substr(1));const h=SA(i);if(!e.isRegisteredLanguageId(n))return dEt(h,c,o);const g=yield ah.getOrCreate(n);return g?mEi(h,c,g,o):dEt(h,c,o)})}static colorizeLine(e,i,n,a,o=4){const c=gx.isBasicASCII(e,i),h=gx.containsRTL(e,c,n);return V6e(new cN(!1,!0,e,!1,c,h,0,a,[],o,0,0,0,0,-1,"none",!1,!1,null)).html}static colorizeModelLine(e,i,n=4){const a=e.getLineContent(i);e.tokenization.forceTokenization(i);const c=e.tokenization.getLineTokens(i).inflate();return this.colorizeLine(a,e.mightContainNonBasicASCII(),e.mightContainRTL(),c,n)}}function mEi(r,e,i,n){return new Promise((a,o)=>{const c=()=>{const h=pEi(r,e,i,n);if(i instanceof Iue){const g=i.getLoadStatus();if(g.loaded===!1){g.promise.then(c,o);return}}a(h)};c()})}function dEt(r,e,i){let n=[];const o=new Uint32Array(2);o[0]=0,o[1]=33587200;for(let c=0,h=r.length;c")}return n.join("")}function pEi(r,e,i,n){let a=[],o=i.getInitialState();for(let c=0,h=r.length;c"),o=_.endState}return a.join("")}const aJe={clipboard:{writeText:Ey||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:Ey||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:Ey||GGe()?0:navigator.keyboard||XS?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)};function EVe(r,e){if(typeof r=="number"){if(r===0)return null;const i=(r&65535)>>>0,n=(r&4294901760)>>>16;return n!==0?new wIe([B_e(i,e),B_e(n,e)]):new wIe([B_e(i,e)])}else{const i=[];for(let n=0;n1?i-1:0),a=1;a/gm),OEi=t8(/^data-[\-\w.\u00B7-\uFFFF]/),jEi=t8(/^aria-[\-\w]+$/),VEi=t8(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),HEi=t8(/^(?:\w+script|data):/i),KEi=t8(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),one=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};function NF(r){if(Array.isArray(r)){for(var e=0,i=Array(r.length);e"u"?null:window},GEi=function(e,i){if((typeof e>"u"?"undefined":one(e))!=="object"||typeof e.createPolicy!="function")return null;var n=null,a="data-tt-policy-suffix";i.currentScript&&i.currentScript.hasAttribute(a)&&(n=i.currentScript.getAttribute(a));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(h){return h}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function CCt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:WEi(),e=function(tn){return CCt(tn)};if(e.version="2.3.1",e.removed=[],!r||!r.document||r.document.nodeType!==9)return e.isSupported=!1,e;var i=r.document,n=r.document,a=r.DocumentFragment,o=r.HTMLTemplateElement,c=r.Node,h=r.Element,g=r.NodeFilter,_=r.NamedNodeMap,x=_===void 0?r.NamedNodeMap||r.MozNamedAttrMap:_,y=r.Text,S=r.Comment,L=r.DOMParser,R=r.trustedTypes,G=h.prototype,ie=w_e(G,"cloneNode"),ue=w_e(G,"nextSibling"),re=w_e(G,"childNodes"),_e=w_e(G,"parentNode");if(typeof o=="function"){var ye=n.createElement("template");ye.content&&ye.content.ownerDocument&&(n=ye.content.ownerDocument)}var Le=GEi(R,i),st=Le&&Yr?Le.createHTML(""):"",Ue=n,Ye=Ue.implementation,rt=Ue.createNodeIterator,Ft=Ue.createDocumentFragment,Zt=Ue.getElementsByTagName,Ot=i.importNode,ui={};try{ui=Zz(n).documentMode?n.documentMode:{}}catch{}var ei={};e.isSupported=typeof _e=="function"&&Ye&&typeof Ye.createHTMLDocument<"u"&&ui!==9;var qu=IEi,mu=REi,Kt=OEi,jr=jEi,Pu=HEi,Oa=KEi,Ku=VEi,Pr=null,Vn=Yc({},[].concat(NF(EEt),NF(TIe),NF(LIe),NF(NIe),NF(_Et))),mr=null,to=Yc({},[].concat(NF(DEt),NF(PIe),NF(xEt),NF(T_e))),Si=null,_o=null,P0=!0,tl=!0,k0=!1,bo=!1,qo=!1,Li=!1,Ge=!1,Tu=!1,an=!1,Ir=!0,Yr=!1,eo=!0,Mi=!0,li=!1,di={},xt=null,Nt=Yc({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),mi=null,ci=Yc({},["audio","video","img","source","image","track"]),hn=null,Hn=Yc({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),kr="http://www.w3.org/1998/Math/MathML",na="http://www.w3.org/2000/svg",Ei="http://www.w3.org/1999/xhtml",Do=Ei,Pl=!1,yn=null,xa=n.createElement("form"),e0=function(tn){yn&&yn===tn||((!tn||(typeof tn>"u"?"undefined":one(tn))!=="object")&&(tn={}),tn=Zz(tn),Pr="ALLOWED_TAGS"in tn?Yc({},tn.ALLOWED_TAGS):Vn,mr="ALLOWED_ATTR"in tn?Yc({},tn.ALLOWED_ATTR):to,hn="ADD_URI_SAFE_ATTR"in tn?Yc(Zz(Hn),tn.ADD_URI_SAFE_ATTR):Hn,mi="ADD_DATA_URI_TAGS"in tn?Yc(Zz(ci),tn.ADD_DATA_URI_TAGS):ci,xt="FORBID_CONTENTS"in tn?Yc({},tn.FORBID_CONTENTS):Nt,Si="FORBID_TAGS"in tn?Yc({},tn.FORBID_TAGS):{},_o="FORBID_ATTR"in tn?Yc({},tn.FORBID_ATTR):{},di="USE_PROFILES"in tn?tn.USE_PROFILES:!1,P0=tn.ALLOW_ARIA_ATTR!==!1,tl=tn.ALLOW_DATA_ATTR!==!1,k0=tn.ALLOW_UNKNOWN_PROTOCOLS||!1,bo=tn.SAFE_FOR_TEMPLATES||!1,qo=tn.WHOLE_DOCUMENT||!1,Tu=tn.RETURN_DOM||!1,an=tn.RETURN_DOM_FRAGMENT||!1,Ir=tn.RETURN_DOM_IMPORT!==!1,Yr=tn.RETURN_TRUSTED_TYPE||!1,Ge=tn.FORCE_BODY||!1,eo=tn.SANITIZE_DOM!==!1,Mi=tn.KEEP_CONTENT!==!1,li=tn.IN_PLACE||!1,Ku=tn.ALLOWED_URI_REGEXP||Ku,Do=tn.NAMESPACE||Ei,bo&&(tl=!1),an&&(Tu=!0),di&&(Pr=Yc({},[].concat(NF(_Et))),mr=[],di.html===!0&&(Yc(Pr,EEt),Yc(mr,DEt)),di.svg===!0&&(Yc(Pr,TIe),Yc(mr,PIe),Yc(mr,T_e)),di.svgFilters===!0&&(Yc(Pr,LIe),Yc(mr,PIe),Yc(mr,T_e)),di.mathMl===!0&&(Yc(Pr,NIe),Yc(mr,xEt),Yc(mr,T_e))),tn.ADD_TAGS&&(Pr===Vn&&(Pr=Zz(Pr)),Yc(Pr,tn.ADD_TAGS)),tn.ADD_ATTR&&(mr===to&&(mr=Zz(mr)),Yc(mr,tn.ADD_ATTR)),tn.ADD_URI_SAFE_ATTR&&Yc(hn,tn.ADD_URI_SAFE_ATTR),tn.FORBID_CONTENTS&&(xt===Nt&&(xt=Zz(xt)),Yc(xt,tn.FORBID_CONTENTS)),Mi&&(Pr["#text"]=!0),qo&&Yc(Pr,["html","head","body"]),Pr.table&&(Yc(Pr,["tbody"]),delete Si.tbody),WD&&WD(tn),yn=tn)},Fl=Yc({},["mi","mo","mn","ms","mtext"]),Lh=Yc({},["foreignobject","desc","title","annotation-xml"]),vd=Yc({},TIe);Yc(vd,LIe),Yc(vd,MEi);var ac=Yc({},NIe);Yc(ac,zEi);var Ii=function(tn){var gu=_e(tn);(!gu||!gu.tagName)&&(gu={namespaceURI:Ei,tagName:"template"});var io=hI(tn.tagName),Ls=hI(gu.tagName);if(tn.namespaceURI===na)return gu.namespaceURI===Ei?io==="svg":gu.namespaceURI===kr?io==="svg"&&(Ls==="annotation-xml"||Fl[Ls]):!!vd[io];if(tn.namespaceURI===kr)return gu.namespaceURI===Ei?io==="math":gu.namespaceURI===na?io==="math"&&Lh[Ls]:!!ac[io];if(tn.namespaceURI===Ei){if(gu.namespaceURI===na&&!Lh[Ls]||gu.namespaceURI===kr&&!Fl[Ls])return!1;var Sm=Yc({},["title","style","font","a","script"]);return!ac[io]&&(Sm[io]||!vd[io])}return!1},Ki=function(tn){Lie(e.removed,{element:tn});try{tn.parentNode.removeChild(tn)}catch{try{tn.outerHTML=st}catch{tn.remove()}}},Kn=function(tn,gu){try{Lie(e.removed,{attribute:gu.getAttributeNode(tn),from:gu})}catch{Lie(e.removed,{attribute:null,from:gu})}if(gu.removeAttribute(tn),tn==="is"&&!mr[tn])if(Tu||an)try{Ki(gu)}catch{}else try{gu.setAttribute(tn,"")}catch{}},Pn=function(tn){var gu=void 0,io=void 0;if(Ge)tn=""+tn;else{var Ls=pEt(tn,/^[\r\n\t ]+/);io=Ls&&Ls[0]}var Sm=Le?Le.createHTML(tn):tn;if(Do===Ei)try{gu=new L().parseFromString(Sm,"text/html")}catch{}if(!gu||!gu.documentElement){gu=Ye.createDocument(Do,"template",null);try{gu.documentElement.innerHTML=Pl?"":Sm}catch{}}var $1=gu.body||gu.documentElement;return tn&&io&&$1.insertBefore(n.createTextNode(io),$1.childNodes[0]||null),Do===Ei?Zt.call(gu,qo?"html":"body")[0]:qo?gu.documentElement:$1},Ia=function(tn){return rt.call(tn.ownerDocument||tn,tn,g.SHOW_ELEMENT|g.SHOW_COMMENT|g.SHOW_TEXT,null,!1)},Zu=function(tn){return tn instanceof y||tn instanceof S?!1:typeof tn.nodeName!="string"||typeof tn.textContent!="string"||typeof tn.removeChild!="function"||!(tn.attributes instanceof x)||typeof tn.removeAttribute!="function"||typeof tn.setAttribute!="function"||typeof tn.namespaceURI!="string"||typeof tn.insertBefore!="function"},Cr=function(tn){return(typeof c>"u"?"undefined":one(c))==="object"?tn instanceof c:tn&&(typeof tn>"u"?"undefined":one(tn))==="object"&&typeof tn.nodeType=="number"&&typeof tn.nodeName=="string"},Fa=function(tn,gu,io){ei[tn]&&TEi(ei[tn],function(Ls){Ls.call(e,gu,io,yn)})},Cd=function(tn){var gu=void 0;if(Fa("beforeSanitizeElements",tn,null),Zu(tn)||pEt(tn.nodeName,/[\u0080-\uFFFF]/))return Ki(tn),!0;var io=hI(tn.nodeName);if(Fa("uponSanitizeElement",tn,{tagName:io,allowedTags:Pr}),!Cr(tn.firstElementChild)&&(!Cr(tn.content)||!Cr(tn.content.firstElementChild))&&uS(/<[/\w]/g,tn.innerHTML)&&uS(/<[/\w]/g,tn.textContent)||io==="select"&&uS(/