git-truck 0.0.0-ece341d → 0.0.0-ee1e2bc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +104 -96
- package/build/index.js +201 -144
- package/build/metafile.js.json +1 -1
- package/build/metafile.server.json +1 -1
- package/build/version.txt +1 -1
- package/cli.js +74 -74
- package/package.json +151 -140
- package/public/build/_assets/tailwind-MNPH7PLU.css +1 -0
- package/public/build/_shared/chunk-3UNTI63Y.js +1 -0
- package/public/build/_shared/chunk-BL2DGNWE.js +1 -0
- package/public/build/_shared/{chunk-AL2GFMRM.js → chunk-C4FAJW7L.js} +1 -1
- package/public/build/_shared/chunk-DPCIHQKL.js +264 -0
- package/public/build/_shared/chunk-Q3IECNXJ.js +1 -0
- package/public/build/entry.client-LRRCQTX2.js +1 -0
- package/public/build/manifest-3121C32E.js +1 -0
- package/public/build/root-Z62LLOJM.js +1 -0
- package/public/build/routes/$repo.$-YBFIMKHZ.js +35 -0
- package/public/build/routes/_index-AFD6RDHF.js +1 -0
- package/public/build/routes/authordist-LRF2J26H.js +1 -0
- package/public/build/routes/commitcount-D7WWQAYM.js +1 -0
- package/public/build/routes/commits-GGDWDC7W.js +1 -0
- package/public/build/routes/progress-SNLO56GK.js +1 -0
- package/public/build/_assets/tailwind-HZOHM7R7.css +0 -1
- package/public/build/_shared/chunk-7ZRMUBOE.js +0 -1
- package/public/build/_shared/chunk-MFUESDJJ.js +0 -1
- package/public/build/_shared/chunk-QKOGMPSY.js +0 -264
- package/public/build/entry.client-53JI5JAC.js +0 -1
- package/public/build/manifest-3CC98547.js +0 -1
- package/public/build/root-C7SUUCBF.js +0 -1
- package/public/build/routes/$repo.$-7NVZ73B2.js +0 -82
- package/public/build/routes/_index-62BORZC7.js +0 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import{a as kl}from"/build/_shared/chunk-C4FAJW7L.js";import{a as Ll,b as Al,c as Ol,d as Se,e as Uo,f as Vo,g as Wo,h as Jo,i as Xo,j as Yo,k as Ko,l as Rt,m as Qo,n as we,o as Te,p as Me,q as U,r as ft,s as bt,t as Zo}from"/build/_shared/chunk-BL2DGNWE.js";import{$ as $o,A as vo,B as Co,C as So,D as wo,E as To,F as Mo,G as ko,H as Lo,I as Ao,J as Oo,K as No,L as jo,M as Po,N as Do,O as Eo,P as Ro,Q as Fo,R as Io,S as Bo,T as _o,U as Go,W as lr,X as zo,Y as Ho,Z as sr,_ as ar,aa as B,b as rt,ba as qo,c as ro,ca as Vt,d as $t,da as gt,e as oo,ea as Wt,f as no,fa as Jt,g as io,ga as Ce,h as lo,i as or,j as so,k as nr,l as qt,m as ao,n as co,o as uo,p as mo,q as ir,r as ve,s as po,t as ho,u as go,v as fo,w as bo,x as Ut,y as yo,z as xo}from"/build/_shared/chunk-3UNTI63Y.js";import{a as j,b as Qr,c as Ht,d as Zr,e as mt,f as to,h as wt,i as xe,j as Et,n as eo,o as le,s as A}from"/build/_shared/chunk-DPCIHQKL.js";import{b as tt,c as h}from"/build/_shared/chunk-Q3IECNXJ.js";var gn=tt((Ha,hn)=>{hn.exports={}});var Cn=tt((dc,Vl)=>{Vl.exports={abap:["abap"],"ags script":["asc","ash"],ampl:["ampl"],antlr:["g4"],apl:["apl","dyalog"],asp:["asp","asax","ascx","ashx","asmx","aspx","axd"],ats:["dats","hats","sats"],actionscript:["as"],ada:["adb","ada","ads"],agda:["agda"],alloy:["als"],apacheconf:["apacheconf"],apex:["cls"],applescript:["applescript","scpt"],arc:["arc"],arduino:["ino"],asciidoc:["asciidoc","adoc","asc"],aspectj:["aj"],assembly:["asm","a51","nasm"],augeas:["aug"],autohotkey:["ahk","ahkl"],autoit:["au3"],awk:["awk","auk","gawk","mawk","nawk"],batchfile:["bat","cmd"],befunge:["befunge"],bison:["y"],bitbake:["bb"],blitzbasic:["bb","decls"],blitzmax:["bmx"],bluespec:["bsv"],boo:["boo"],brainfuck:["b","bf"],brightscript:["brs"],bro:["bro"],c:["c","cats","h","idc","w"],"c#":["cs","cshtml","csx"],"c++":["cpp","c++","cc","cp","cxx","h","h++","hh","hpp","hxx","inl","ipp","tcc","tpp"],"c-objdump":["c-objdump"],"c2hs haskell":["chs"],clips:["clp"],cmake:["cmake","cmake.in"],cobol:["cob","cbl","ccp","cobol","cpy"],css:["css"],"cap'n proto":["capnp"],cartocss:["mss"],ceylon:["ceylon"],chapel:["chpl"],chuck:["ck"],cirru:["cirru"],clarion:["clw"],clean:["icl","dcl"],clojure:["clj","boot","cl2","cljc","cljs","cljs.hl","cljscm","cljx","hic"],coffeescript:["coffee","_coffee","cjsx","cson","iced"],coldfusion:["cfm","cfml"],"coldfusion cfc":["cfc"],"common lisp":["lisp","asd","cl","lsp","ny","podsl"],"component pascal":["cp","cps"],cool:["cl"],coq:["coq","v"],"cpp-objdump":["cppobjdump","c++-objdump","c++objdump","cpp-objdump","cxx-objdump"],creole:["creole"],crystal:["cr"],cucumber:["feature"],cuda:["cu","cuh"],cycript:["cy"],cython:["pyx","pxd","pxi"],d:["d","di"],"d-objdump":["d-objdump"],"digital command language":["com"],dm:["dm"],dtrace:["d"],"darcs patch":["darcspatch","dpatch"],dart:["dart"],diff:["diff","patch"],dockerfile:["dockerfile"],dogescript:["djs"],dylan:["dylan","dyl","intr","lid"],e:["E"],ecl:["ecl","eclxml"],eagle:["sch","brd"],"ecere projects":["epj"],eiffel:["e"],elixir:["ex","exs"],elm:["elm"],"emacs lisp":["el","emacs","emacs.desktop"],emberscript:["em","emberscript"],erlang:["erl","es","escript","hrl"],"f#":["fs","fsi","fsx"],flux:["fx","flux"],fortran:["f90","f","f03","f08","f77","f95","for","fpp"],factor:["factor"],fancy:["fy","fancypack"],fantom:["fan"],filterscript:["fs"],formatted:["for"],forth:["fth","4th","f","for","forth","fr","frt","fs"],frege:["fr"],"g-code":["g","gco","gcode"],gams:["gms"],gap:["g","gap","gd","gi","tst"],gas:["s"],gdscript:["gd"],glsl:["glsl","fp","frag","frg","fs","fshader","geo","geom","glslv","gshader","shader","vert","vrx","vshader"],"game maker language":["gml"],genshi:["kid"],"gentoo ebuild":["ebuild"],"gentoo eclass":["eclass"],"gettext catalog":["po","pot"],glyph:["glf"],gnuplot:["gp","gnu","gnuplot","plot","plt"],go:["go"],golo:["golo"],gosu:["gs","gst","gsx","vark"],grace:["grace"],gradle:["gradle"],"grammatical framework":["gf"],"graph modeling language":["gml"],"graphviz (dot)":["dot","gv"],groff:["man","1","2","3","4","5","6","7"],groovy:["groovy","grt","gtpl","gvy"],"groovy server pages":["gsp"],html:["html","htm","html.hl","st","xht","xhtml"],"html+django":["mustache","jinja"],"html+erb":["erb","erb.deface"],"html+php":["phtml"],http:["http"],hack:["hh","php"],haml:["haml","haml.deface"],handlebars:["handlebars","hbs"],harbour:["hb"],haskell:["hs","hsc"],haxe:["hx","hxsl"],hy:["hy"],idl:["pro","dlm"],"igor pro":["ipf"],ini:["ini","cfg","prefs","pro","properties"],"irc log":["irclog","weechatlog"],idris:["idr","lidr"],"inform 7":["ni","i7x"],"inno setup":["iss"],io:["io"],ioke:["ik"],isabelle:["thy"],j:["ijs"],jflex:["flex","jflex"],json:["json","lock"],json5:["json5"],jsonld:["jsonld"],jsoniq:["jq"],jade:["jade"],jasmin:["j"],java:["java"],"java server pages":["jsp"],javascript:["js","_js","bones","es6","frag","gs","jake","jsb","jsfl","jsm","jss","jsx","njs","pac","sjs","ssjs","sublime-build","sublime-commands","sublime-completions","sublime-keymap","sublime-macro","sublime-menu","sublime-mousemap","sublime-project","sublime-settings","sublime-theme","sublime-workspace","sublime_metrics","sublime_session","xsjs","xsjslib"],julia:["jl"],krl:["krl"],kicad:["sch"],kit:["kit"],kotlin:["kt","ktm","kts"],lfe:["lfe"],llvm:["ll"],lolcode:["lol"],lsl:["lsl"],labview:["lvproj"],lasso:["lasso","las","lasso8","lasso9","ldml"],latte:["latte"],lean:["lean","hlean"],less:["less"],lilypond:["ly","ily"],limbo:["b","m"],"linker script":["ld","lds"],liquid:["liquid"],"literate agda":["lagda"],"literate coffeescript":["litcoffee"],"literate haskell":["lhs"],livescript:["ls","_ls"],logos:["xm","x","xi"],logtalk:["lgt","logtalk"],lookml:["lookml"],loomscript:["ls"],lua:["lua","fcgi","nse","pd_lua","rbxs","wlua"],m:["mumps","m"],mtml:["mtml"],muf:["muf","m"],makefile:["mak","d","mk"],mako:["mako","mao"],markdown:["md","markdown","mkd","mkdn","mkdown","ron"],mask:["mask"],mathematica:["mathematica","cdf","m","ma","nb","nbp","wl","wlt"],matlab:["matlab","m"],max:["maxpat","maxhelp","maxproj","mxt","pat"],mediawiki:["mediawiki"],mercury:["m","moo"],minid:["minid"],mirah:["druby","duby","mir","mirah"],modelica:["mo"],"module management system":["mms","mmk"],monkey:["monkey"],moocode:["moo"],moonscript:["moon"],myghty:["myt"],nl:["nl"],nsis:["nsi","nsh"],nemerle:["n"],netlinx:["axs","axi"],"netlinx+erb":["axs.erb","axi.erb"],netlogo:["nlogo"],newlisp:["nl","lisp","lsp"],nginx:["nginxconf"],nimrod:["nim","nimrod"],ninja:["ninja"],nit:["nit"],nix:["nix"],nu:["nu"],numpy:["numpy","numpyw","numsc"],ocaml:["ml","eliom","eliomi","ml4","mli","mll","mly"],objdump:["objdump"],"objective-c":["m","h"],"objective-c++":["mm"],"objective-j":["j","sj"],omgrofl:["omgrofl"],opa:["opa"],opal:["opal"],opencl:["cl","opencl"],"openedge abl":["p","cls"],openscad:["scad"],org:["org"],ox:["ox","oxh","oxo"],oxygene:["oxygene"],oz:["oz"],pawn:["pwn"],php:["php","aw","ctp","fcgi","php3","php4","php5","phpt"],plsql:["pls","pkb","pks","plb","plsql","sql"],plpgsql:["sql"],pan:["pan"],papyrus:["psc"],parrot:["parrot"],"parrot assembly":["pasm"],"parrot internal representation":["pir"],pascal:["pas","dfm","dpr","lpr","pp"],perl:["pl","cgi","fcgi","perl","ph","plx","pm","pod","psgi","t"],perl6:["6pl","6pm","nqp","p6","p6l","p6m","pl","pl6","pm","pm6","t"],piglatin:["pig"],pike:["pike","pmod"],pod:["pod"],pogoscript:["pogo"],postscript:["ps","eps"],powershell:["ps1","psd1","psm1"],processing:["pde"],prolog:["pl","ecl","pro","prolog"],"propeller spin":["spin"],"protocol buffer":["proto"],"public key":["asc","pub"],puppet:["pp"],"pure data":["pd"],purebasic:["pb","pbi"],purescript:["purs"],python:["py","cgi","fcgi","gyp","lmi","pyde","pyp","pyt","pyw","tac","wsgi","xpy"],"python traceback":["pytb"],qml:["qml"],qmake:["pro","pri"],r:["r","rd","rsx"],raml:["raml"],rdoc:["rdoc"],realbasic:["rbbas","rbfrm","rbmnu","rbres","rbtbar","rbuistate"],rhtml:["rhtml"],rmarkdown:["rmd"],racket:["rkt","rktd","rktl","scrbl"],"ragel in ruby host":["rl"],"raw token data":["raw"],rebol:["reb","r","r2","r3","rebol"],red:["red","reds"],redcode:["cw"],renderscript:["rs","rsh"],robotframework:["robot"],rouge:["rg"],ruby:["rb","builder","fcgi","gemspec","god","irbrc","jbuilder","mspec","pluginspec","podspec","rabl","rake","rbuild","rbw","rbx","ru","ruby","thor","watchr"],rust:["rs"],sas:["sas"],scss:["scss"],sparql:["sparql","rq"],sqf:["sqf","hqf"],sql:["sql","cql","ddl","prc","tab","udf","viw"],sqlpl:["sql","db2"],ston:["ston"],svg:["svg"],sage:["sage","sagews"],saltstack:["sls"],sass:["sass"],scala:["scala","sbt","sc"],scaml:["scaml"],scheme:["scm","sld","sls","sps","ss"],scilab:["sci","sce","tst"],self:["self"],shell:["sh","bash","bats","cgi","command","fcgi","ksh","tmux","tool","zsh"],shellsession:["sh-session"],shen:["shen"],slash:["sl"],slim:["slim"],smalltalk:["st","cs"],smarty:["tpl"],sourcepawn:["sp","sma"],squirrel:["nut"],"standard ml":["ML","fun","sig","sml"],stata:["do","ado","doh","ihlp","mata","matah","sthlp"],stylus:["styl"],supercollider:["scd","sc"],swift:["swift"],systemverilog:["sv","svh","vh"],toml:["toml"],txl:["txl"],tcl:["tcl","adp","tm"],tcsh:["tcsh","csh"],tex:["tex","aux","bbx","bib","cbx","cls","dtx","ins","lbx","ltx","mkii","mkiv","mkvi","sty","toc"],tea:["tea"],text:["txt","fr"],textile:["textile"],thrift:["thrift"],turing:["t","tu"],turtle:["ttl"],twig:["twig"],typescript:["ts"],"unified parallel c":["upc"],unrealscript:["uc"],vcl:["vcl"],vhdl:["vhdl","vhd","vhf","vhi","vho","vhs","vht","vhw"],vala:["vala","vapi"],verilog:["v","veo"],viml:["vim"],"visual basic":["vb","bas","cls","frm","frx","vba","vbhtml","vbs"],volt:["volt"],"web ontology language":["owl"],webidl:["webidl"],xc:["xc"],xml:["xml","ant","axml","ccxml","clixml","cproject","csproj","ct","dita","ditamap","ditaval","dll.config","filters","fsproj","fxml","glade","grxml","ivy","jelly","kml","launch","mm","mxml","nproj","nuspec","odd","osm","plist","pluginspec","ps1xml","psc1","pt","rdf","rss","scxml","srdf","storyboard","stTheme","sublime-snippet","targets","tmCommand","tml","tmLanguage","tmPreferences","tmSnippet","tmTheme","ts","ui","urdf","vbproj","vcxproj","vxml","wsdl","wsf","wxi","wxl","wxs","x3d","xacro","xaml","xib","xlf","xliff","xmi","xml.dist","xsd","xul","zcml"],xproc:["xpl","xproc"],xquery:["xquery","xq","xql","xqm","xqy"],xs:["xs"],xslt:["xslt","xsl"],xojo:["xojo_code","xojo_menu","xojo_report","xojo_script","xojo_toolbar","xojo_window"],xtend:["xtend"],yaml:["yml","reek","rviz","yaml"],zephir:["zep"],zimpl:["zimpl","zmpl","zpl"],desktop:["desktop","desktop.in"],ec:["ec","eh"],edn:["edn"],fish:["fish"],mupad:["mu"],nesc:["nc"],ooc:["ooc"],restructuredtext:["rst","rest"],wisp:["wisp"],xbase:["prg"]}});var Sn=tt((hc,Wl)=>{Wl.exports={"1":["groff"],"2":["groff"],"3":["groff"],"4":["groff"],"5":["groff"],"6":["groff"],"7":["groff"],abap:["abap"],asc:["ags script","asciidoc","public key"],ash:["ags script"],ampl:["ampl"],g4:["antlr"],apl:["apl"],dyalog:["apl"],asp:["asp"],asax:["asp"],ascx:["asp"],ashx:["asp"],asmx:["asp"],aspx:["asp"],axd:["asp"],dats:["ats"],hats:["ats"],sats:["ats"],as:["actionscript"],adb:["ada"],ada:["ada"],ads:["ada"],agda:["agda"],als:["alloy"],apacheconf:["apacheconf"],cls:["apex","openedge abl","tex","visual basic"],applescript:["applescript"],scpt:["applescript"],arc:["arc"],ino:["arduino"],asciidoc:["asciidoc"],adoc:["asciidoc"],aj:["aspectj"],asm:["assembly"],a51:["assembly"],nasm:["assembly"],aug:["augeas"],ahk:["autohotkey"],ahkl:["autohotkey"],au3:["autoit"],awk:["awk"],auk:["awk"],gawk:["awk"],mawk:["awk"],nawk:["awk"],bat:["batchfile"],cmd:["batchfile"],befunge:["befunge"],y:["bison"],bb:["bitbake","blitzbasic"],decls:["blitzbasic"],bmx:["blitzmax"],bsv:["bluespec"],boo:["boo"],b:["brainfuck","limbo"],bf:["brainfuck"],brs:["brightscript"],bro:["bro"],c:["c"],cats:["c"],h:["c","c++","objective-c"],idc:["c"],w:["c"],cs:["c#","smalltalk"],cshtml:["c#"],csx:["c#"],cpp:["c++"],"c++":["c++"],cc:["c++"],cp:["c++","component pascal"],cxx:["c++"],"h++":["c++"],hh:["c++","hack"],hpp:["c++"],hxx:["c++"],inl:["c++"],ipp:["c++"],tcc:["c++"],tpp:["c++"],"c-objdump":["c-objdump"],chs:["c2hs haskell"],clp:["clips"],cmake:["cmake"],"cmake.in":["cmake"],cob:["cobol"],cbl:["cobol"],ccp:["cobol"],cobol:["cobol"],cpy:["cobol"],css:["css"],capnp:["cap'n proto"],mss:["cartocss"],ceylon:["ceylon"],chpl:["chapel"],ck:["chuck"],cirru:["cirru"],clw:["clarion"],icl:["clean"],dcl:["clean"],clj:["clojure"],boot:["clojure"],cl2:["clojure"],cljc:["clojure"],cljs:["clojure"],"cljs.hl":["clojure"],cljscm:["clojure"],cljx:["clojure"],hic:["clojure"],coffee:["coffeescript"],_coffee:["coffeescript"],cjsx:["coffeescript"],cson:["coffeescript"],iced:["coffeescript"],cfm:["coldfusion"],cfml:["coldfusion"],cfc:["coldfusion cfc"],lisp:["common lisp","newlisp"],asd:["common lisp"],cl:["common lisp","cool","opencl"],lsp:["common lisp","newlisp"],ny:["common lisp"],podsl:["common lisp"],cps:["component pascal"],coq:["coq"],v:["coq","verilog"],cppobjdump:["cpp-objdump"],"c++-objdump":["cpp-objdump"],"c++objdump":["cpp-objdump"],"cpp-objdump":["cpp-objdump"],"cxx-objdump":["cpp-objdump"],creole:["creole"],cr:["crystal"],feature:["cucumber"],cu:["cuda"],cuh:["cuda"],cy:["cycript"],pyx:["cython"],pxd:["cython"],pxi:["cython"],d:["d","dtrace","makefile"],di:["d"],"d-objdump":["d-objdump"],com:["digital command language"],dm:["dm"],darcspatch:["darcs patch"],dpatch:["darcs patch"],dart:["dart"],diff:["diff"],patch:["diff"],dockerfile:["dockerfile"],djs:["dogescript"],dylan:["dylan"],dyl:["dylan"],intr:["dylan"],lid:["dylan"],E:["e"],ecl:["ecl","prolog"],eclxml:["ecl"],sch:["eagle","kicad"],brd:["eagle"],epj:["ecere projects"],e:["eiffel"],ex:["elixir"],exs:["elixir"],elm:["elm"],el:["emacs lisp"],emacs:["emacs lisp"],"emacs.desktop":["emacs lisp"],em:["emberscript"],emberscript:["emberscript"],erl:["erlang"],es:["erlang"],escript:["erlang"],hrl:["erlang"],fs:["f#","filterscript","forth","glsl"],fsi:["f#"],fsx:["f#"],fx:["flux"],flux:["flux"],f90:["fortran"],f:["fortran","forth"],f03:["fortran"],f08:["fortran"],f77:["fortran"],f95:["fortran"],for:["fortran","formatted","forth"],fpp:["fortran"],factor:["factor"],fy:["fancy"],fancypack:["fancy"],fan:["fantom"],fth:["forth"],"4th":["forth"],forth:["forth"],fr:["forth","frege","text"],frt:["forth"],g:["g-code","gap"],gco:["g-code"],gcode:["g-code"],gms:["gams"],gap:["gap"],gd:["gap","gdscript"],gi:["gap"],tst:["gap","scilab"],s:["gas"],glsl:["glsl"],fp:["glsl"],frag:["glsl","javascript"],frg:["glsl"],fshader:["glsl"],geo:["glsl"],geom:["glsl"],glslv:["glsl"],gshader:["glsl"],shader:["glsl"],vert:["glsl"],vrx:["glsl"],vshader:["glsl"],gml:["game maker language","graph modeling language"],kid:["genshi"],ebuild:["gentoo ebuild"],eclass:["gentoo eclass"],po:["gettext catalog"],pot:["gettext catalog"],glf:["glyph"],gp:["gnuplot"],gnu:["gnuplot"],gnuplot:["gnuplot"],plot:["gnuplot"],plt:["gnuplot"],go:["go"],golo:["golo"],gs:["gosu","javascript"],gst:["gosu"],gsx:["gosu"],vark:["gosu"],grace:["grace"],gradle:["gradle"],gf:["grammatical framework"],dot:["graphviz (dot)"],gv:["graphviz (dot)"],man:["groff"],groovy:["groovy"],grt:["groovy"],gtpl:["groovy"],gvy:["groovy"],gsp:["groovy server pages"],html:["html"],htm:["html"],"html.hl":["html"],st:["html","smalltalk"],xht:["html"],xhtml:["html"],mustache:["html+django"],jinja:["html+django"],erb:["html+erb"],"erb.deface":["html+erb"],phtml:["html+php"],http:["http"],php:["hack","php"],haml:["haml"],"haml.deface":["haml"],handlebars:["handlebars"],hbs:["handlebars"],hb:["harbour"],hs:["haskell"],hsc:["haskell"],hx:["haxe"],hxsl:["haxe"],hy:["hy"],pro:["idl","ini","prolog","qmake"],dlm:["idl"],ipf:["igor pro"],ini:["ini"],cfg:["ini"],prefs:["ini"],properties:["ini"],irclog:["irc log"],weechatlog:["irc log"],idr:["idris"],lidr:["idris"],ni:["inform 7"],i7x:["inform 7"],iss:["inno setup"],io:["io"],ik:["ioke"],thy:["isabelle"],ijs:["j"],flex:["jflex"],jflex:["jflex"],json:["json"],lock:["json"],json5:["json5"],jsonld:["jsonld"],jq:["jsoniq"],jade:["jade"],j:["jasmin","objective-j"],java:["java"],jsp:["java server pages"],js:["javascript"],_js:["javascript"],bones:["javascript"],es6:["javascript"],jake:["javascript"],jsb:["javascript"],jsfl:["javascript"],jsm:["javascript"],jss:["javascript"],jsx:["javascript"],njs:["javascript"],pac:["javascript"],sjs:["javascript"],ssjs:["javascript"],"sublime-build":["javascript"],"sublime-commands":["javascript"],"sublime-completions":["javascript"],"sublime-keymap":["javascript"],"sublime-macro":["javascript"],"sublime-menu":["javascript"],"sublime-mousemap":["javascript"],"sublime-project":["javascript"],"sublime-settings":["javascript"],"sublime-theme":["javascript"],"sublime-workspace":["javascript"],sublime_metrics:["javascript"],sublime_session:["javascript"],xsjs:["javascript"],xsjslib:["javascript"],jl:["julia"],krl:["krl"],kit:["kit"],kt:["kotlin"],ktm:["kotlin"],kts:["kotlin"],lfe:["lfe"],ll:["llvm"],lol:["lolcode"],lsl:["lsl"],lvproj:["labview"],lasso:["lasso"],las:["lasso"],lasso8:["lasso"],lasso9:["lasso"],ldml:["lasso"],latte:["latte"],lean:["lean"],hlean:["lean"],less:["less"],ly:["lilypond"],ily:["lilypond"],m:["limbo","m","muf","mathematica","matlab","mercury","objective-c"],ld:["linker script"],lds:["linker script"],liquid:["liquid"],lagda:["literate agda"],litcoffee:["literate coffeescript"],lhs:["literate haskell"],ls:["livescript","loomscript"],_ls:["livescript"],xm:["logos"],x:["logos"],xi:["logos"],lgt:["logtalk"],logtalk:["logtalk"],lookml:["lookml"],lua:["lua"],fcgi:["lua","php","perl","python","ruby","shell"],nse:["lua"],pd_lua:["lua"],rbxs:["lua"],wlua:["lua"],mumps:["m"],mtml:["mtml"],muf:["muf"],mak:["makefile"],mk:["makefile"],mako:["mako"],mao:["mako"],md:["markdown"],markdown:["markdown"],mkd:["markdown"],mkdn:["markdown"],mkdown:["markdown"],ron:["markdown"],mask:["mask"],mathematica:["mathematica"],cdf:["mathematica"],ma:["mathematica"],nb:["mathematica"],nbp:["mathematica"],wl:["mathematica"],wlt:["mathematica"],matlab:["matlab"],maxpat:["max"],maxhelp:["max"],maxproj:["max"],mxt:["max"],pat:["max"],mediawiki:["mediawiki"],moo:["mercury","moocode"],minid:["minid"],druby:["mirah"],duby:["mirah"],mir:["mirah"],mirah:["mirah"],mo:["modelica"],mms:["module management system"],mmk:["module management system"],monkey:["monkey"],moon:["moonscript"],myt:["myghty"],nl:["nl","newlisp"],nsi:["nsis"],nsh:["nsis"],n:["nemerle"],axs:["netlinx"],axi:["netlinx"],"axs.erb":["netlinx+erb"],"axi.erb":["netlinx+erb"],nlogo:["netlogo"],nginxconf:["nginx"],nim:["nimrod"],nimrod:["nimrod"],ninja:["ninja"],nit:["nit"],nix:["nix"],nu:["nu"],numpy:["numpy"],numpyw:["numpy"],numsc:["numpy"],ml:["ocaml"],eliom:["ocaml"],eliomi:["ocaml"],ml4:["ocaml"],mli:["ocaml"],mll:["ocaml"],mly:["ocaml"],objdump:["objdump"],mm:["objective-c++","xml"],sj:["objective-j"],omgrofl:["omgrofl"],opa:["opa"],opal:["opal"],opencl:["opencl"],p:["openedge abl"],scad:["openscad"],org:["org"],ox:["ox"],oxh:["ox"],oxo:["ox"],oxygene:["oxygene"],oz:["oz"],pwn:["pawn"],aw:["php"],ctp:["php"],php3:["php"],php4:["php"],php5:["php"],phpt:["php"],pls:["plsql"],pkb:["plsql"],pks:["plsql"],plb:["plsql"],plsql:["plsql"],sql:["plsql","plpgsql","sql","sqlpl"],pan:["pan"],psc:["papyrus"],parrot:["parrot"],pasm:["parrot assembly"],pir:["parrot internal representation"],pas:["pascal"],dfm:["pascal"],dpr:["pascal"],lpr:["pascal"],pp:["pascal","puppet"],pl:["perl","perl6","prolog"],cgi:["perl","python","shell"],perl:["perl"],ph:["perl"],plx:["perl"],pm:["perl","perl6"],pod:["perl","pod"],psgi:["perl"],t:["perl","perl6","turing"],"6pl":["perl6"],"6pm":["perl6"],nqp:["perl6"],p6:["perl6"],p6l:["perl6"],p6m:["perl6"],pl6:["perl6"],pm6:["perl6"],pig:["piglatin"],pike:["pike"],pmod:["pike"],pogo:["pogoscript"],ps:["postscript"],eps:["postscript"],ps1:["powershell"],psd1:["powershell"],psm1:["powershell"],pde:["processing"],prolog:["prolog"],spin:["propeller spin"],proto:["protocol buffer"],pub:["public key"],pd:["pure data"],pb:["purebasic"],pbi:["purebasic"],purs:["purescript"],py:["python"],gyp:["python"],lmi:["python"],pyde:["python"],pyp:["python"],pyt:["python"],pyw:["python"],tac:["python"],wsgi:["python"],xpy:["python"],pytb:["python traceback"],qml:["qml"],pri:["qmake"],r:["r","rebol"],rd:["r"],rsx:["r"],raml:["raml"],rdoc:["rdoc"],rbbas:["realbasic"],rbfrm:["realbasic"],rbmnu:["realbasic"],rbres:["realbasic"],rbtbar:["realbasic"],rbuistate:["realbasic"],rhtml:["rhtml"],rmd:["rmarkdown"],rkt:["racket"],rktd:["racket"],rktl:["racket"],scrbl:["racket"],rl:["ragel in ruby host"],raw:["raw token data"],reb:["rebol"],r2:["rebol"],r3:["rebol"],rebol:["rebol"],red:["red"],reds:["red"],cw:["redcode"],rs:["renderscript","rust"],rsh:["renderscript"],robot:["robotframework"],rg:["rouge"],rb:["ruby"],builder:["ruby"],gemspec:["ruby"],god:["ruby"],irbrc:["ruby"],jbuilder:["ruby"],mspec:["ruby"],pluginspec:["ruby","xml"],podspec:["ruby"],rabl:["ruby"],rake:["ruby"],rbuild:["ruby"],rbw:["ruby"],rbx:["ruby"],ru:["ruby"],ruby:["ruby"],thor:["ruby"],watchr:["ruby"],sas:["sas"],scss:["scss"],sparql:["sparql"],rq:["sparql"],sqf:["sqf"],hqf:["sqf"],cql:["sql"],ddl:["sql"],prc:["sql"],tab:["sql"],udf:["sql"],viw:["sql"],db2:["sqlpl"],ston:["ston"],svg:["svg"],sage:["sage"],sagews:["sage"],sls:["saltstack","scheme"],sass:["sass"],scala:["scala"],sbt:["scala"],sc:["scala","supercollider"],scaml:["scaml"],scm:["scheme"],sld:["scheme"],sps:["scheme"],ss:["scheme"],sci:["scilab"],sce:["scilab"],self:["self"],sh:["shell"],bash:["shell"],bats:["shell"],command:["shell"],ksh:["shell"],tmux:["shell"],tool:["shell"],zsh:["shell"],"sh-session":["shellsession"],shen:["shen"],sl:["slash"],slim:["slim"],tpl:["smarty"],sp:["sourcepawn"],sma:["sourcepawn"],nut:["squirrel"],ML:["standard ml"],fun:["standard ml"],sig:["standard ml"],sml:["standard ml"],do:["stata"],ado:["stata"],doh:["stata"],ihlp:["stata"],mata:["stata"],matah:["stata"],sthlp:["stata"],styl:["stylus"],scd:["supercollider"],swift:["swift"],sv:["systemverilog"],svh:["systemverilog"],vh:["systemverilog"],toml:["toml"],txl:["txl"],tcl:["tcl"],adp:["tcl"],tm:["tcl"],tcsh:["tcsh"],csh:["tcsh"],tex:["tex"],aux:["tex"],bbx:["tex"],bib:["tex"],cbx:["tex"],dtx:["tex"],ins:["tex"],lbx:["tex"],ltx:["tex"],mkii:["tex"],mkiv:["tex"],mkvi:["tex"],sty:["tex"],toc:["tex"],tea:["tea"],txt:["text"],textile:["textile"],thrift:["thrift"],tu:["turing"],ttl:["turtle"],twig:["twig"],ts:["typescript","xml"],upc:["unified parallel c"],uc:["unrealscript"],vcl:["vcl"],vhdl:["vhdl"],vhd:["vhdl"],vhf:["vhdl"],vhi:["vhdl"],vho:["vhdl"],vhs:["vhdl"],vht:["vhdl"],vhw:["vhdl"],vala:["vala"],vapi:["vala"],veo:["verilog"],vim:["viml"],vb:["visual basic"],bas:["visual basic"],frm:["visual basic"],frx:["visual basic"],vba:["visual basic"],vbhtml:["visual basic"],vbs:["visual basic"],volt:["volt"],owl:["web ontology language"],webidl:["webidl"],xc:["xc"],xml:["xml"],ant:["xml"],axml:["xml"],ccxml:["xml"],clixml:["xml"],cproject:["xml"],csproj:["xml"],ct:["xml"],dita:["xml"],ditamap:["xml"],ditaval:["xml"],"dll.config":["xml"],filters:["xml"],fsproj:["xml"],fxml:["xml"],glade:["xml"],grxml:["xml"],ivy:["xml"],jelly:["xml"],kml:["xml"],launch:["xml"],mxml:["xml"],nproj:["xml"],nuspec:["xml"],odd:["xml"],osm:["xml"],plist:["xml"],ps1xml:["xml"],psc1:["xml"],pt:["xml"],rdf:["xml"],rss:["xml"],scxml:["xml"],srdf:["xml"],storyboard:["xml"],stTheme:["xml"],"sublime-snippet":["xml"],targets:["xml"],tmCommand:["xml"],tml:["xml"],tmLanguage:["xml"],tmPreferences:["xml"],tmSnippet:["xml"],tmTheme:["xml"],ui:["xml"],urdf:["xml"],vbproj:["xml"],vcxproj:["xml"],vxml:["xml"],wsdl:["xml"],wsf:["xml"],wxi:["xml"],wxl:["xml"],wxs:["xml"],x3d:["xml"],xacro:["xml"],xaml:["xml"],xib:["xml"],xlf:["xml"],xliff:["xml"],xmi:["xml"],"xml.dist":["xml"],xsd:["xml"],xul:["xml"],zcml:["xml"],xpl:["xproc"],xproc:["xproc"],xquery:["xquery"],xq:["xquery"],xql:["xquery"],xqm:["xquery"],xqy:["xquery"],xs:["xs"],xslt:["xslt"],xsl:["xslt"],xojo_code:["xojo"],xojo_menu:["xojo"],xojo_report:["xojo"],xojo_script:["xojo"],xojo_toolbar:["xojo"],xojo_window:["xojo"],xtend:["xtend"],yml:["yaml"],reek:["yaml"],rviz:["yaml"],yaml:["yaml"],zep:["zephir"],zimpl:["zimpl"],zmpl:["zimpl"],zpl:["zimpl"],desktop:["desktop"],"desktop.in":["desktop"],ec:["ec"],eh:["ec"],edn:["edn"],fish:["fish"],mu:["mupad"],nc:["nesc"],ooc:["ooc"],rst:["restructuredtext"],rest:["restructuredtext"],wisp:["wisp"],prg:["xbase"]}});var Mn=tt((gc,Tn)=>{"use strict";function Ft(){var t={};return t.extensions||(t.extensions=Cn()),t.languages||(t.languages=Sn()),t}Ft.extensions=function(e){e=wn(e);var r=Ft().languages,o=Ft().extensions;return o[e]||o[r[e]]||[e]};Ft.languages=function(e){e=wn(e);var r=Ft().languages,o=Ft().extensions;return r[e]||r[o[e]]||[e]};function wn(t){return t.charAt(0)==="."&&(t=t.slice(1)),t.toLowerCase()}Tn.exports=Ft});var Rn=tt((xr,vr)=>{(function(t,e){typeof xr=="object"&&typeof vr<"u"?vr.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.uniqolor=e())})(xr,function(){"use strict";function t(S,g){return o(S)||i(S,g)||l(S,g)||m()}function e(S){return r(S)||n(S)||l(S)||a()}function r(S){if(Array.isArray(S))return s(S)}function o(S){if(Array.isArray(S))return S}function n(S){if(typeof Symbol<"u"&&S[Symbol.iterator]!=null||S["@@iterator"]!=null)return Array.from(S)}function i(S,g){var v=S==null?null:typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(v!=null){var y=[],L=!0,I=!1,R,z;try{for(v=v.call(S);!(L=(R=v.next()).done)&&(y.push(R.value),!(g&&y.length===g));L=!0);}catch(K){I=!0,z=K}finally{try{!L&&v.return!=null&&v.return()}finally{if(I)throw z}}return y}}function l(S,g){if(S){if(typeof S=="string")return s(S,g);var v=Object.prototype.toString.call(S).slice(8,-1);if(v==="Object"&&S.constructor&&(v=S.constructor.name),v==="Map"||v==="Set")return Array.from(S);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return s(S,g)}}function s(S,g){(g==null||g>S.length)&&(g=S.length);for(var v=0,y=new Array(g);v<g;v++)y[v]=S[v];return y}function a(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c=[0,100],p=[0,100],u=function(g){return"".concat(g.length===1?"0":"").concat(g)},x=function(g,v,y){return Math.max(Math.min(g,y),v)},C=function(g,v){return Math.floor(Math.random()*(v-g+1))+g},b=function S(g,v,y){for(var L=C(g,v),I=0;I<y?.length;I++){var R=y[I];if(R?.length===2&&L>=R[0]&&L<=R[1])return S(g,v,y)}return L},d=function(g){for(var v=g.length,y=0,L=0;L<v;L++)y=(y<<5)-y+g.charCodeAt(L),y&=y;return y},T=function(g,v){return typeof v=="number"?v:g%Math.abs(v[1]-v[0])+v[0]},N=function(g,v){return typeof g=="number"?x.apply(void 0,[Math.abs(g)].concat(e(v))):g.length===1||g[0]===g[1]?x.apply(void 0,[Math.abs(g[0])].concat(e(v))):[Math.abs(x.apply(void 0,[g[0]].concat(e(v)))),x.apply(void 0,[Math.abs(g[1])].concat(e(v)))]},D=function(g,v,y){return y<0?y+=1:y>1&&(y-=1),y<1/6?g+(v-g)*6*y:y<1/2?v:y<2/3?g+(v-g)*(2/3-y)*6:g},_=function(g,v,y){var L,I,R;if(g/=360,v/=100,y/=100,v===0)L=I=R=y;else{var z=y<.5?y*(1+v):y+v-y*v,K=2*y-z;L=D(K,z,g+1/3),I=D(K,z,g),R=D(K,z,g-1/3)}return[Math.round(L*255),Math.round(I*255),Math.round(R*255)]},M=function(g,v,y,L){return(g*299+v*587+y*114)/1e3>=L},k=function(g,v,y){return"hsl(".concat(g,", ").concat(v,"%, ").concat(y,"%)")},E=function(g,v,y,L){switch(L){case"rgb":return"rgb(".concat(g,", ").concat(v,", ").concat(y,")");case"hex":default:return"#".concat(u(g.toString(16))).concat(u(v.toString(16))).concat(u(y.toString(16)))}},q=function(g){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=v.format,L=y===void 0?"hex":y,I=v.saturation,R=I===void 0?[50,55]:I,z=v.lightness,K=z===void 0?[50,60]:z,Dt=v.differencePoint,fe=Dt===void 0?130:Dt,_t=Math.abs(d(String(g))),ne=T(_t,[0,360]),be=T(_t,N(R,c)),Gt=T(_t,N(K,p)),ye=_(ne,be,Gt),zt=t(ye,3),ie=zt[0],Yr=zt[1],Kr=zt[2];return{color:L==="hsl"?k(ne,be,Gt):E(ie,Yr,Kr,L),isLight:M(ie,Yr,Kr,fe)}};return q.random=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=S.format,v=g===void 0?"hex":g,y=S.saturation,L=y===void 0?[50,55]:y,I=S.lightness,R=I===void 0?[50,60]:I,z=S.differencePoint,K=z===void 0?130:z,Dt=S.excludeHue;L=N(L,c),R=N(R,p);var fe=Dt?b(0,359,Dt):C(0,359),_t=typeof L=="number"?L:C.apply(void 0,e(L)),ne=typeof R=="number"?R:C.apply(void 0,e(R)),be=_(fe,_t,ne),Gt=t(be,3),ye=Gt[0],zt=Gt[1],ie=Gt[2];return{color:v==="hsl"?k(fe,_t,ne):E(ye,zt,ie,v),isLight:M(ye,zt,ie,K)}},q})});var Ar=tt(xt=>{"use strict";var ds=xt&&xt.__createBinding||(Object.create?function(t,e,r,o){o===void 0&&(o=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,o,n)}:function(t,e,r,o){o===void 0&&(o=r),t[o]=e[r]}),hs=xt&&xt.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),gs=xt&&xt.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&ds(e,t,r);return hs(e,t),e};Object.defineProperty(xt,"__esModule",{value:!0});xt.useWindowSize=void 0;var ri=gs(j());function oi(){return{height:window.innerHeight,width:window.innerWidth}}function fs(){var t=ri.useState(oi()),e=t[0],r=t[1];return ri.useLayoutEffect(function(){function o(){r(oi())}return window.addEventListener("resize",o),function(){return window.removeEventListener("resize",o)}},[]),e}xt.useWindowSize=fs});var ii=tt(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.useBreakpoints=Zt.useBreakpoint=void 0;var ni=Ar();function bs(t){var e=(0,ni.useWindowSize)().width;return e<t}Zt.useBreakpoint=bs;function ys(t){var e=(0,ni.useWindowSize)().width;return t.map(function(r){return e<r})}Zt.useBreakpoints=ys});var li=tt(ct=>{"use strict";var Or=ct&&ct.__assign||function(){return Or=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},Or.apply(this,arguments)},xs=ct&&ct.__createBinding||(Object.create?function(t,e,r,o){o===void 0&&(o=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,o,n)}:function(t,e,r,o){o===void 0&&(o=r),t[o]=e[r]}),vs=ct&&ct.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Cs=ct&&ct.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&xs(e,t,r);return vs(e,t),e};Object.defineProperty(ct,"__esModule",{value:!0});ct.useComponentSize=void 0;var qe=Cs(j());function Ss(){var t=qe.useState({height:0,width:0}),e=t[0],r=t[1],o=qe.useRef(),n=qe.useCallback(function(){if(o.current){var i=o.current.offsetHeight,l=o.current.offsetWidth;(i!==e.height||l!==e.width)&&r({height:i,width:l})}},[e.height,e.width]);return qe.useLayoutEffect(function(){if(!(!o||!o.current)){var i=new ResizeObserver(n);return i.observe(o.current),function(){return i.disconnect()}}},[o,n]),Or({ref:o},e)}ct.useComponentSize=Ss});var si=tt(kt=>{"use strict";var ws=kt&&kt.__createBinding||(Object.create?function(t,e,r,o){o===void 0&&(o=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,o,n)}:function(t,e,r,o){o===void 0&&(o=r),t[o]=e[r]}),Nr=kt&&kt.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&ws(e,t,r)};Object.defineProperty(kt,"__esModule",{value:!0});Nr(ii(),kt);Nr(li(),kt);Nr(Ar(),kt)});var ul=tt((Rd,Jr)=>{"use strict";function ia(){throw new Error(`secure random number generation not supported by this browser
|
|
4
|
+
use chrome, FireFox or Internet Explorer 11`)}var Wr=globalThis.crypto||globalThis.msCrypto;Wr&&Wr.getRandomValues?Jr.exports=la:Jr.exports=ia;function la(t,e){if(t>65536)throw new Error("requested too many random bytes");var r=new globalThis.Uint8Array(t);t>0&&Wr.getRandomValues(r);var o=new Buffer(r.buffer);return typeof e=="function"?process.nextTick(function(){e(null,o)}):o}});var dl=tt((ml,pl)=>{function oe(){this.chars=""}oe.prototype.setType=function(t){if(Array.isArray(t))for(var e=0;e<t.length;e++)this.chars+=this.getCharacters(t[e]);else this.chars=this.getCharacters(t)};oe.prototype.getCharacters=function(t){var e,r="0123456789",o="abcdefghijklmnopqrstuvwxyz",n=o.toUpperCase(),i="abcdef",l="01",s="01234567";return t==="alphanumeric"?e=r+o+n:t==="numeric"?e=r:t==="alphabetic"?e=o+n:t==="hex"?e=r+i:t==="binary"?e=l:t==="octal"?e=s:e=t,e};oe.prototype.removeUnreadable=function(){var t=/[0OIl]/g;this.chars=this.chars.replace(t,"")};oe.prototype.setcapitalization=function(t){t==="uppercase"?this.chars=this.chars.toUpperCase():t==="lowercase"&&(this.chars=this.chars.toLowerCase())};oe.prototype.removeDuplicates=function(){var t=this.chars.split("");t=[...new Set(t)],this.chars=t.join("")};pl.exports=ml=oe});var yl=tt(bl=>{"use strict";var hl=ul(),sa=dl();function aa(t){for(var e=[],r=0;r<t;r++)e.push(Math.floor(Math.random()*255));return{length:t,readUInt8:function(o){return e[o]}}}function ca(t){try{return hl(t)}catch{return aa(t)}}function gl(t,e,r,o,n){for(var i=e,l=0;l<t.length&&i.length<o;l++){var s=t.readUInt8(l);s<n&&(i+=r.charAt(s%r.length))}return i}function fl(t,e,r,o,n){hl(r,function(i,l){i&&n(i);var s=gl(l,t,e,r,o);s.length<r?fl(s,e,r,o,n):n(null,s)})}bl.generate=function(t,e){var r=new sa,o,n,i,l="";typeof t=="object"?(o=typeof t.length=="number"?t.length:32,t.charset?r.setType(t.charset):r.setType("alphanumeric"),t.capitalization&&r.setcapitalization(t.capitalization),t.readable&&r.removeUnreadable(),r.removeDuplicates()):typeof t=="number"?(o=t,r.setType("alphanumeric")):(o=32,r.setType("alphanumeric"));var s=r.chars.length,a=256-256%s;if(!e){for(;l.length<o;){var m=ca(Math.ceil(o*256/a));l=gl(m,l,r.chars,o,a)}return l}fl(l,r.chars,o,a,e)}});var vl=tt((Id,xl)=>{xl.exports=yl()});var Sl=tt((Bd,Cl)=>{Cl.exports={}});var st=h(j());var se=function(){};function ke(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];t&&t.addEventListener&&t.addEventListener.apply(t,e)}function Le(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];t&&t.removeEventListener&&t.removeEventListener.apply(t,e)}var Ae=typeof window<"u";var tn=h(j()),Nl=function(t,e){return typeof e=="boolean"?e:!t},jl=function(t){return(0,tn.useReducer)(Nl,t)},en=jl;var ae=en;var rn=h(j()),Pl=function(t){(0,rn.useEffect)(t,[])},on=Pl;var sn=h(j());var Dl=Ae?window:null,nn=function(t){return!!t.addEventListener},ln=function(t){return!!t.on},El=function(t,e,r,o){r===void 0&&(r=Dl),(0,sn.useEffect)(function(){if(e&&r)return nn(r)?ke(r,t,e,o):ln(r)&&r.on(t,e,o),function(){nn(r)?Le(r,t,e,o):ln(r)&&r.off(t,e,o)}},[t,e,r,JSON.stringify(o)])},an=El;var cn=h(j());var Rl=function(t){return typeof t=="function"?t:typeof t=="string"?function(e){return e.key===t}:t?function(){return!0}:function(){return!1}},Fl=function(t,e,r,o){e===void 0&&(e=se),r===void 0&&(r={}),o===void 0&&(o=[t]);var n=r.event,i=n===void 0?"keydown":n,l=r.target,s=r.options,a=(0,cn.useMemo)(function(){var m=Rl(t),c=function(p){if(m(p))return e(p)};return c},o);an(i,a,l,s)},cr=Fl;var Tt=h(j());var Il=function(t,e,r){if(!Ae)return[e,se,se];if(!t)throw new Error("useLocalStorage key may not be falsy");var o=r?r.raw?function(c){return c}:r.deserializer:JSON.parse,n=(0,Tt.useRef)(function(c){try{var p=r?r.raw?String:r.serializer:JSON.stringify,u=localStorage.getItem(c);return u!==null?o(u):(e&&localStorage.setItem(c,p(e)),e)}catch{return e}}),i=(0,Tt.useState)(function(){return n.current(t)}),l=i[0],s=i[1];(0,Tt.useLayoutEffect)(function(){return s(n.current(t))},[t]);var a=(0,Tt.useCallback)(function(c){try{var p=typeof c=="function"?c(l):c;if(typeof p>"u")return;var u=void 0;r?r.raw?typeof p=="string"?u=p:u=JSON.stringify(p):r.serializer?u=r.serializer(p):u=JSON.stringify(p):u=JSON.stringify(p),localStorage.setItem(t,u),s(o(u))}catch{}},[t,s]),m=(0,Tt.useCallback)(function(){try{localStorage.removeItem(t),s(void 0)}catch{}},[t,s]);return[l,a,m]},ur=Il;var dn=h(j());var Xt=h(j());var un=h(j());var Bl=function(t){var e=(0,un.useRef)(t);e.current=t,on(function(){return function(){return e.current()}})},mn=Bl;var _l=function(t){var e=(0,Xt.useRef)(0),r=(0,Xt.useState)(t),o=r[0],n=r[1],i=(0,Xt.useCallback)(function(l){cancelAnimationFrame(e.current),e.current=requestAnimationFrame(function(){n(l)})},[]);return mn(function(){cancelAnimationFrame(e.current)}),[o,i]},pn=_l;var Gl=function(t){var e=pn({docX:0,docY:0,posX:0,posY:0,elX:0,elY:0,elH:0,elW:0}),r=e[0],o=e[1];return(0,dn.useEffect)(function(){var n=function(i){if(t&&t.current){var l=t.current.getBoundingClientRect(),s=l.left,a=l.top,m=l.width,c=l.height,p=s+window.pageXOffset,u=a+window.pageYOffset,x=i.pageX-p,C=i.pageY-u;o({docX:i.pageX,docY:i.pageY,posX:p,posY:u,elX:x,elY:C,elH:c,elW:m})}};return ke(document,"mousemove",n),function(){Le(document,"mousemove",n)}},[t]),r},mr=Gl;var ua=h(gn());var $l=h(A());var fn=new Map;var zl=t=>{let e=[],r=t.split(".");for(let o=0;o<r.length;o++)if(r[o].startsWith("[")){let n=r[o].substring(1),i=o+1;for(;!r[i].endsWith("]");)n+=`.${r[i]}`,i++;n+=`.${r[i].slice(0,-1)}`,e.push(n),o=i}else e.push(r[o]);return e};function pr(t,e){let r=Array.from(fn.values());for(let n of Object.keys(e)){let i=zl(n);o(t,i,e[n])}return t;function o(n,i,l,s=0){let a=i[s];if(s<i.length-1){o(n[a],i,l,s+1);return}let m=n[a];switch(l){case"date":n[a]=new Date(m);break;case"set":n[a]=new Set(m);break;case"map":n[a]=new Map(Object.entries(m));break;case"regexp":let c=/^\/(.*)\/([dgimsuy]*)$/.exec(m);if(c)n[a]=new RegExp(c[1],c[2]);else throw new Error(`Invalid regexp: ${m}`);break;case"bigint":n[a]=BigInt(m);break;case"undefined":n[a]=void 0;break;case"infinity":n[a]=Number.POSITIVE_INFINITY;break;case"-infinity":n[a]=Number.NEGATIVE_INFINITY;break;case"nan":n[a]=NaN;break;case"error":let p=new Error(m.message);p.name=m.name,p.stack=m.stack,n[a]=p;break;default:let u=fn.get(l);u&&(n[a]=u.deserialize(m))}}}function dr(){let t=eo();return bn(t)}function bn(t){if(!t)return t;if(t.$$obj)return t.$$meta?pr(t.$$obj,t.$$meta):t.$$obj;if(t.$$meta){let e=t.$$meta;return delete t.$$meta,pr(t,e)}return t}var ma=h(Ll()),pa=h(Al()),Xr=h(Ol());var Y=h(j());var yn=h(j());var Oe=h(j()),hr=(0,Oe.createContext)(void 0);function ot(){let t=(0,Oe.useContext)(hr);if(!t)throw new Error("useMetrics must be used within a MetricsContext");return t}var yt=h(A());function Ne(t){let[,e]=ot();return t.show?(0,yt.jsx)(yt.Fragment,{children:t.items.map(r=>{var s;let o=r.contribs,n=r.author,i=Math.round(o/t.contribSum*100),l=i===0?"<1":i;return(0,yt.jsxs)(yn.Fragment,{children:[(0,yt.jsxs)("div",{className:"flex items-center gap-2 overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",title:n,children:[(0,yt.jsx)(gt,{className:"ml-1",dotColor:(s=e.get(n))!=null?s:"grey"}),(0,yt.jsx)("span",{className:"overflow-hidden overflow-ellipsis whitespace-pre font-bold opacity-80",children:n})]}),(0,yt.jsxs)("p",{className:"break-all text-right text-sm",children:[l,"%"]})]},n+o)})}):null}var xn=h(rt()),gr=h(A());function Yt({onClick:t=()=>{},open:e,className:r="",...o}){return(0,gr.jsx)("button",{className:`z-10 ${r}`,onClick:t,...o,children:(0,gr.jsx)(xn.Icon,{path:so,size:1,className:`chevron transition-transform ${e?"rotate-180":""}`})})}var je=h(j()),fr=(0,je.createContext)(null);function Q(){let t=(0,je.useContext)(fr);if(!t)throw new Error("useClickedObject must be used within a ClickedObjectProvider");return t}var Pe=h(j()),br=(0,Pe.createContext)(void 0);function H(){let t=(0,Pe.useContext)(br);if(!t)throw new Error("useData must be used within a DataContext");return t}var Ge=h(j());var vn={"1C Enterprise":{color:"#814CCC",url:"https://github.com/trending?l=1C-Enterprise"},"2-Dimensional Array":{color:"#38761D",url:"https://github.com/trending?l=2-Dimensional-Array"},"4D":{color:"#004289",url:"https://github.com/trending?l=4D"},ABAP:{color:"#E8274B",url:"https://github.com/trending?l=ABAP"},"ABAP CDS":{color:"#555e25",url:"https://github.com/trending?l=ABAP-CDS"},ActionScript:{color:"#882B0F",url:"https://github.com/trending?l=ActionScript"},Ada:{color:"#02f88c",url:"https://github.com/trending?l=Ada"},"Adblock Filter List":{color:"#800000",url:"https://github.com/trending?l=Adblock-Filter-List"},"Adobe Font Metrics":{color:"#fa0f00",url:"https://github.com/trending?l=Adobe-Font-Metrics"},Agda:{color:"#315665",url:"https://github.com/trending?l=Agda"},"AGS Script":{color:"#B9D9FF",url:"https://github.com/trending?l=AGS-Script"},AIDL:{color:"#34EB6B",url:"https://github.com/trending?l=AIDL"},AL:{color:"#3AA2B5",url:"https://github.com/trending?l=AL"},Alloy:{color:"#64C800",url:"https://github.com/trending?l=Alloy"},"Alpine Abuild":{color:"#0D597F",url:"https://github.com/trending?l=Alpine-Abuild"},"Altium Designer":{color:"#A89663",url:"https://github.com/trending?l=Altium-Designer"},AMPL:{color:"#E6EFBB",url:"https://github.com/trending?l=AMPL"},AngelScript:{color:"#C7D7DC",url:"https://github.com/trending?l=AngelScript"},"Ant Build System":{color:"#A9157E",url:"https://github.com/trending?l=Ant-Build-System"},Antlers:{color:"#ff269e",url:"https://github.com/trending?l=Antlers"},ANTLR:{color:"#9DC3FF",url:"https://github.com/trending?l=ANTLR"},ApacheConf:{color:"#d12127",url:"https://github.com/trending?l=ApacheConf"},Apex:{color:"#1797c0",url:"https://github.com/trending?l=Apex"},"API Blueprint":{color:"#2ACCA8",url:"https://github.com/trending?l=API-Blueprint"},APL:{color:"#5A8164",url:"https://github.com/trending?l=APL"},"Apollo Guidance Computer":{color:"#0B3D91",url:"https://github.com/trending?l=Apollo-Guidance-Computer"},AppleScript:{color:"#101F1F",url:"https://github.com/trending?l=AppleScript"},Arc:{color:"#aa2afe",url:"https://github.com/trending?l=Arc"},AsciiDoc:{color:"#73a0c5",url:"https://github.com/trending?l=AsciiDoc"},ASL:{color:null,url:"https://github.com/trending?l=ASL"},"ASP.NET":{color:"#9400ff",url:"https://github.com/trending?l=ASP.NET"},AspectJ:{color:"#a957b0",url:"https://github.com/trending?l=AspectJ"},Assembly:{color:"#6E4C13",url:"https://github.com/trending?l=Assembly"},Astro:{color:"#ff5a03",url:"https://github.com/trending?l=Astro"},Asymptote:{color:"#ff0000",url:"https://github.com/trending?l=Asymptote"},ATS:{color:"#1ac620",url:"https://github.com/trending?l=ATS"},Augeas:{color:"#9CC134",url:"https://github.com/trending?l=Augeas"},AutoHotkey:{color:"#6594b9",url:"https://github.com/trending?l=AutoHotkey"},AutoIt:{color:"#1C3552",url:"https://github.com/trending?l=AutoIt"},"Avro IDL":{color:"#0040FF",url:"https://github.com/trending?l=Avro-IDL"},Awk:{color:"#c30e9b",url:"https://github.com/trending?l=Awk"},Ballerina:{color:"#FF5000",url:"https://github.com/trending?l=Ballerina"},BASIC:{color:"#ff0000",url:"https://github.com/trending?l=BASIC"},Batchfile:{color:"#C1F12E",url:"https://github.com/trending?l=Batchfile"},Beef:{color:"#a52f4e",url:"https://github.com/trending?l=Beef"},Befunge:{color:null,url:"https://github.com/trending?l=Befunge"},Berry:{color:"#15A13C",url:"https://github.com/trending?l=Berry"},BibTeX:{color:"#778899",url:"https://github.com/trending?l=BibTeX"},Bicep:{color:"#519aba",url:"https://github.com/trending?l=Bicep"},Bikeshed:{color:"#5562ac",url:"https://github.com/trending?l=Bikeshed"},Bison:{color:"#6A463F",url:"https://github.com/trending?l=Bison"},BitBake:{color:"#00bce4",url:"https://github.com/trending?l=BitBake"},Blade:{color:"#f7523f",url:"https://github.com/trending?l=Blade"},BlitzBasic:{color:"#00FFAE",url:"https://github.com/trending?l=BlitzBasic"},BlitzMax:{color:"#cd6400",url:"https://github.com/trending?l=BlitzMax"},Bluespec:{color:"#12223c",url:"https://github.com/trending?l=Bluespec"},Boo:{color:"#d4bec1",url:"https://github.com/trending?l=Boo"},Boogie:{color:"#c80fa0",url:"https://github.com/trending?l=Boogie"},Brainfuck:{color:"#2F2530",url:"https://github.com/trending?l=Brainfuck"},BrighterScript:{color:"#66AABB",url:"https://github.com/trending?l=BrighterScript"},Brightscript:{color:"#662D91",url:"https://github.com/trending?l=Brightscript"},Browserslist:{color:"#ffd539",url:"https://github.com/trending?l=Browserslist"},C:{color:"#555555",url:"https://github.com/trending?l=C"},"C#":{color:"#178600",url:"https://github.com/trending?l=Csharp"},"C++":{color:"#f34b7d",url:"https://github.com/trending?l=C++"},"C2hs Haskell":{color:null,url:"https://github.com/trending?l=C2hs-Haskell"},"Cabal Config":{color:"#483465",url:"https://github.com/trending?l=Cabal-Config"},Cadence:{color:"#00ef8b",url:"https://github.com/trending?l=Cadence"},Cairo:{color:"#ff4a48",url:"https://github.com/trending?l=Cairo"},CameLIGO:{color:"#3be133",url:"https://github.com/trending?l=CameLIGO"},"CAP CDS":{color:"#0092d1",url:"https://github.com/trending?l=CAP-CDS"},"Cap'n Proto":{color:"#c42727",url:"https://github.com/trending?l=Cap'n-Proto"},CartoCSS:{color:null,url:"https://github.com/trending?l=CartoCSS"},Ceylon:{color:"#dfa535",url:"https://github.com/trending?l=Ceylon"},Chapel:{color:"#8dc63f",url:"https://github.com/trending?l=Chapel"},Charity:{color:null,url:"https://github.com/trending?l=Charity"},ChucK:{color:"#3f8000",url:"https://github.com/trending?l=ChucK"},Circom:{color:"#707575",url:"https://github.com/trending?l=Circom"},Cirru:{color:"#ccccff",url:"https://github.com/trending?l=Cirru"},Clarion:{color:"#db901e",url:"https://github.com/trending?l=Clarion"},Clarity:{color:"#5546ff",url:"https://github.com/trending?l=Clarity"},"Classic ASP":{color:"#6a40fd",url:"https://github.com/trending?l=Classic-ASP"},Clean:{color:"#3F85AF",url:"https://github.com/trending?l=Clean"},Click:{color:"#E4E6F3",url:"https://github.com/trending?l=Click"},CLIPS:{color:"#00A300",url:"https://github.com/trending?l=CLIPS"},Clojure:{color:"#db5855",url:"https://github.com/trending?l=Clojure"},"Closure Templates":{color:"#0d948f",url:"https://github.com/trending?l=Closure-Templates"},"Cloud Firestore Security Rules":{color:"#FFA000",url:"https://github.com/trending?l=Cloud-Firestore-Security-Rules"},CMake:{color:"#DA3434",url:"https://github.com/trending?l=CMake"},COBOL:{color:null,url:"https://github.com/trending?l=COBOL"},CodeQL:{color:"#140f46",url:"https://github.com/trending?l=CodeQL"},CoffeeScript:{color:"#244776",url:"https://github.com/trending?l=CoffeeScript"},ColdFusion:{color:"#ed2cd6",url:"https://github.com/trending?l=ColdFusion"},"ColdFusion CFC":{color:"#ed2cd6",url:"https://github.com/trending?l=ColdFusion-CFC"},COLLADA:{color:"#F1A42B",url:"https://github.com/trending?l=COLLADA"},"Common Lisp":{color:"#3fb68b",url:"https://github.com/trending?l=Common-Lisp"},"Common Workflow Language":{color:"#B5314C",url:"https://github.com/trending?l=Common-Workflow-Language"},"Component Pascal":{color:"#B0CE4E",url:"https://github.com/trending?l=Component-Pascal"},Cool:{color:null,url:"https://github.com/trending?l=Cool"},Coq:{color:"#d0b68c",url:"https://github.com/trending?l=Coq"},Crystal:{color:"#000100",url:"https://github.com/trending?l=Crystal"},CSON:{color:"#244776",url:"https://github.com/trending?l=CSON"},Csound:{color:"#1a1a1a",url:"https://github.com/trending?l=Csound"},"Csound Document":{color:"#1a1a1a",url:"https://github.com/trending?l=Csound-Document"},"Csound Score":{color:"#1a1a1a",url:"https://github.com/trending?l=Csound-Score"},CSS:{color:"#563d7c",url:"https://github.com/trending?l=CSS"},CSV:{color:"#237346",url:"https://github.com/trending?l=CSV"},Cuda:{color:"#3A4E3A",url:"https://github.com/trending?l=Cuda"},CUE:{color:"#5886E1",url:"https://github.com/trending?l=CUE"},Curry:{color:"#531242",url:"https://github.com/trending?l=Curry"},CWeb:{color:"#00007a",url:"https://github.com/trending?l=CWeb"},Cycript:{color:null,url:"https://github.com/trending?l=Cycript"},Cypher:{color:"#34c0eb",url:"https://github.com/trending?l=Cypher"},Cython:{color:"#fedf5b",url:"https://github.com/trending?l=Cython"},D:{color:"#ba595e",url:"https://github.com/trending?l=D"},Dafny:{color:"#FFEC25",url:"https://github.com/trending?l=Dafny"},"Darcs Patch":{color:"#8eff23",url:"https://github.com/trending?l=Darcs-Patch"},Dart:{color:"#00B4AB",url:"https://github.com/trending?l=Dart"},DataWeave:{color:"#003a52",url:"https://github.com/trending?l=DataWeave"},"Debian Package Control File":{color:"#D70751",url:"https://github.com/trending?l=Debian-Package-Control-File"},DenizenScript:{color:"#FBEE96",url:"https://github.com/trending?l=DenizenScript"},Dhall:{color:"#dfafff",url:"https://github.com/trending?l=Dhall"},"DIGITAL Command Language":{color:null,url:"https://github.com/trending?l=DIGITAL-Command-Language"},"DirectX 3D File":{color:"#aace60",url:"https://github.com/trending?l=DirectX-3D-File"},DM:{color:"#447265",url:"https://github.com/trending?l=DM"},Dockerfile:{color:"#384d54",url:"https://github.com/trending?l=Dockerfile"},Dogescript:{color:"#cca760",url:"https://github.com/trending?l=Dogescript"},Dotenv:{color:"#e5d559",url:"https://github.com/trending?l=Dotenv"},DTrace:{color:null,url:"https://github.com/trending?l=DTrace"},Dylan:{color:"#6c616e",url:"https://github.com/trending?l=Dylan"},E:{color:"#ccce35",url:"https://github.com/trending?l=E"},Earthly:{color:"#2af0ff",url:"https://github.com/trending?l=Earthly"},Easybuild:{color:"#069406",url:"https://github.com/trending?l=Easybuild"},eC:{color:"#913960",url:"https://github.com/trending?l=eC"},"Ecere Projects":{color:"#913960",url:"https://github.com/trending?l=Ecere-Projects"},ECL:{color:"#8a1267",url:"https://github.com/trending?l=ECL"},ECLiPSe:{color:"#001d9d",url:"https://github.com/trending?l=ECLiPSe"},Ecmarkup:{color:"#eb8131",url:"https://github.com/trending?l=Ecmarkup"},EditorConfig:{color:"#fff1f2",url:"https://github.com/trending?l=EditorConfig"},Eiffel:{color:"#4d6977",url:"https://github.com/trending?l=Eiffel"},EJS:{color:"#a91e50",url:"https://github.com/trending?l=EJS"},Elixir:{color:"#6e4a7e",url:"https://github.com/trending?l=Elixir"},Elm:{color:"#60B5CC",url:"https://github.com/trending?l=Elm"},Elvish:{color:"#55BB55",url:"https://github.com/trending?l=Elvish"},"Elvish Transcript":{color:"#55BB55",url:"https://github.com/trending?l=Elvish-Transcript"},"Emacs Lisp":{color:"#c065db",url:"https://github.com/trending?l=Emacs-Lisp"},EmberScript:{color:"#FFF4F3",url:"https://github.com/trending?l=EmberScript"},EQ:{color:"#a78649",url:"https://github.com/trending?l=EQ"},Erlang:{color:"#B83998",url:"https://github.com/trending?l=Erlang"},Euphoria:{color:"#FF790B",url:"https://github.com/trending?l=Euphoria"},"F#":{color:"#b845fc",url:"https://github.com/trending?l=Fsharp"},"F*":{color:"#572e30",url:"https://github.com/trending?l=F*"},Factor:{color:"#636746",url:"https://github.com/trending?l=Factor"},Fancy:{color:"#7b9db4",url:"https://github.com/trending?l=Fancy"},Fantom:{color:"#14253c",url:"https://github.com/trending?l=Fantom"},Faust:{color:"#c37240",url:"https://github.com/trending?l=Faust"},Fennel:{color:"#fff3d7",url:"https://github.com/trending?l=Fennel"},"FIGlet Font":{color:"#FFDDBB",url:"https://github.com/trending?l=FIGlet-Font"},"Filebench WML":{color:"#F6B900",url:"https://github.com/trending?l=Filebench-WML"},Filterscript:{color:null,url:"https://github.com/trending?l=Filterscript"},fish:{color:"#4aae47",url:"https://github.com/trending?l=fish"},Fluent:{color:"#ffcc33",url:"https://github.com/trending?l=Fluent"},FLUX:{color:"#88ccff",url:"https://github.com/trending?l=FLUX"},Forth:{color:"#341708",url:"https://github.com/trending?l=Forth"},Fortran:{color:"#4d41b1",url:"https://github.com/trending?l=Fortran"},"Fortran Free Form":{color:"#4d41b1",url:"https://github.com/trending?l=Fortran-Free-Form"},FreeBasic:{color:"#141AC9",url:"https://github.com/trending?l=FreeBasic"},FreeMarker:{color:"#0050b2",url:"https://github.com/trending?l=FreeMarker"},Frege:{color:"#00cafe",url:"https://github.com/trending?l=Frege"},Futhark:{color:"#5f021f",url:"https://github.com/trending?l=Futhark"},"G-code":{color:"#D08CF2",url:"https://github.com/trending?l=G-code"},"Game Maker Language":{color:"#71b417",url:"https://github.com/trending?l=Game-Maker-Language"},GAML:{color:"#FFC766",url:"https://github.com/trending?l=GAML"},GAMS:{color:"#f49a22",url:"https://github.com/trending?l=GAMS"},GAP:{color:"#0000cc",url:"https://github.com/trending?l=GAP"},"GCC Machine Description":{color:"#FFCFAB",url:"https://github.com/trending?l=GCC-Machine-Description"},GDB:{color:null,url:"https://github.com/trending?l=GDB"},GDScript:{color:"#355570",url:"https://github.com/trending?l=GDScript"},GEDCOM:{color:"#003058",url:"https://github.com/trending?l=GEDCOM"},"Gemfile.lock":{color:"#701516",url:"https://github.com/trending?l=Gemfile.lock"},Gemini:{color:"#ff6900",url:"https://github.com/trending?l=Gemini"},Genero:{color:"#63408e",url:"https://github.com/trending?l=Genero"},"Genero Forms":{color:"#d8df39",url:"https://github.com/trending?l=Genero-Forms"},Genie:{color:"#fb855d",url:"https://github.com/trending?l=Genie"},Genshi:{color:"#951531",url:"https://github.com/trending?l=Genshi"},"Gentoo Ebuild":{color:"#9400ff",url:"https://github.com/trending?l=Gentoo-Ebuild"},"Gentoo Eclass":{color:"#9400ff",url:"https://github.com/trending?l=Gentoo-Eclass"},"Gerber Image":{color:"#d20b00",url:"https://github.com/trending?l=Gerber-Image"},Gherkin:{color:"#5B2063",url:"https://github.com/trending?l=Gherkin"},"Git Attributes":{color:"#F44D27",url:"https://github.com/trending?l=Git-Attributes"},"Git Config":{color:"#F44D27",url:"https://github.com/trending?l=Git-Config"},"Git Revision List":{color:"#F44D27",url:"https://github.com/trending?l=Git-Revision-List"},Gleam:{color:"#ffaff3",url:"https://github.com/trending?l=Gleam"},GLSL:{color:"#5686a5",url:"https://github.com/trending?l=GLSL"},Glyph:{color:"#c1ac7f",url:"https://github.com/trending?l=Glyph"},Gnuplot:{color:"#f0a9f0",url:"https://github.com/trending?l=Gnuplot"},Go:{color:"#00ADD8",url:"https://github.com/trending?l=Go"},"Go Checksums":{color:"#00ADD8",url:"https://github.com/trending?l=Go-Checksums"},"Go Module":{color:"#00ADD8",url:"https://github.com/trending?l=Go-Module"},"Godot Resource":{color:"#355570",url:"https://github.com/trending?l=Godot-Resource"},Golo:{color:"#88562A",url:"https://github.com/trending?l=Golo"},Gosu:{color:"#82937f",url:"https://github.com/trending?l=Gosu"},Grace:{color:"#615f8b",url:"https://github.com/trending?l=Grace"},Gradle:{color:"#02303a",url:"https://github.com/trending?l=Gradle"},"Grammatical Framework":{color:"#ff0000",url:"https://github.com/trending?l=Grammatical-Framework"},GraphQL:{color:"#e10098",url:"https://github.com/trending?l=GraphQL"},"Graphviz (DOT)":{color:"#2596be",url:"https://github.com/trending?l=Graphviz-(DOT)"},Groovy:{color:"#4298b8",url:"https://github.com/trending?l=Groovy"},"Groovy Server Pages":{color:"#4298b8",url:"https://github.com/trending?l=Groovy-Server-Pages"},GSC:{color:"#FF6800",url:"https://github.com/trending?l=GSC"},Hack:{color:"#878787",url:"https://github.com/trending?l=Hack"},Haml:{color:"#ece2a9",url:"https://github.com/trending?l=Haml"},Handlebars:{color:"#f7931e",url:"https://github.com/trending?l=Handlebars"},HAProxy:{color:"#106da9",url:"https://github.com/trending?l=HAProxy"},Harbour:{color:"#0e60e3",url:"https://github.com/trending?l=Harbour"},Haskell:{color:"#5e5086",url:"https://github.com/trending?l=Haskell"},Haxe:{color:"#df7900",url:"https://github.com/trending?l=Haxe"},HCL:{color:"#844FBA",url:"https://github.com/trending?l=HCL"},HiveQL:{color:"#dce200",url:"https://github.com/trending?l=HiveQL"},HLSL:{color:"#aace60",url:"https://github.com/trending?l=HLSL"},HOCON:{color:"#9ff8ee",url:"https://github.com/trending?l=HOCON"},HolyC:{color:"#ffefaf",url:"https://github.com/trending?l=HolyC"},hoon:{color:"#00b171",url:"https://github.com/trending?l=hoon"},HTML:{color:"#e34c26",url:"https://github.com/trending?l=HTML"},"HTML+ECR":{color:"#2e1052",url:"https://github.com/trending?l=HTML+ECR"},"HTML+EEX":{color:"#6e4a7e",url:"https://github.com/trending?l=HTML+EEX"},"HTML+ERB":{color:"#701516",url:"https://github.com/trending?l=HTML+ERB"},"HTML+PHP":{color:"#4f5d95",url:"https://github.com/trending?l=HTML+PHP"},"HTML+Razor":{color:"#512be4",url:"https://github.com/trending?l=HTML+Razor"},HTTP:{color:"#005C9C",url:"https://github.com/trending?l=HTTP"},HXML:{color:"#f68712",url:"https://github.com/trending?l=HXML"},Hy:{color:"#7790B2",url:"https://github.com/trending?l=Hy"},HyPhy:{color:null,url:"https://github.com/trending?l=HyPhy"},IDL:{color:"#a3522f",url:"https://github.com/trending?l=IDL"},Idris:{color:"#b30000",url:"https://github.com/trending?l=Idris"},"Ignore List":{color:"#000000",url:"https://github.com/trending?l=Ignore-List"},"IGOR Pro":{color:"#0000cc",url:"https://github.com/trending?l=IGOR-Pro"},"ImageJ Macro":{color:"#99AAFF",url:"https://github.com/trending?l=ImageJ-Macro"},Imba:{color:"#16cec6",url:"https://github.com/trending?l=Imba"},"Inform 7":{color:null,url:"https://github.com/trending?l=Inform-7"},INI:{color:"#d1dbe0",url:"https://github.com/trending?l=INI"},Ink:{color:null,url:"https://github.com/trending?l=Ink"},"Inno Setup":{color:"#264b99",url:"https://github.com/trending?l=Inno-Setup"},Io:{color:"#a9188d",url:"https://github.com/trending?l=Io"},Ioke:{color:"#078193",url:"https://github.com/trending?l=Ioke"},Isabelle:{color:"#FEFE00",url:"https://github.com/trending?l=Isabelle"},"Isabelle ROOT":{color:"#FEFE00",url:"https://github.com/trending?l=Isabelle-ROOT"},J:{color:"#9EEDFF",url:"https://github.com/trending?l=J"},Janet:{color:"#0886a5",url:"https://github.com/trending?l=Janet"},"JAR Manifest":{color:"#b07219",url:"https://github.com/trending?l=JAR-Manifest"},Jasmin:{color:"#d03600",url:"https://github.com/trending?l=Jasmin"},Java:{color:"#b07219",url:"https://github.com/trending?l=Java"},"Java Properties":{color:"#2A6277",url:"https://github.com/trending?l=Java-Properties"},"Java Server Pages":{color:"#2A6277",url:"https://github.com/trending?l=Java-Server-Pages"},JavaScript:{color:"#f1e05a",url:"https://github.com/trending?l=JavaScript"},"JavaScript+ERB":{color:"#f1e05a",url:"https://github.com/trending?l=JavaScript+ERB"},JCL:{color:"#d90e09",url:"https://github.com/trending?l=JCL"},"Jest Snapshot":{color:"#15c213",url:"https://github.com/trending?l=Jest-Snapshot"},"JetBrains MPS":{color:"#21D789",url:"https://github.com/trending?l=JetBrains-MPS"},JFlex:{color:"#DBCA00",url:"https://github.com/trending?l=JFlex"},Jinja:{color:"#a52a22",url:"https://github.com/trending?l=Jinja"},Jison:{color:"#56b3cb",url:"https://github.com/trending?l=Jison"},"Jison Lex":{color:"#56b3cb",url:"https://github.com/trending?l=Jison-Lex"},Jolie:{color:"#843179",url:"https://github.com/trending?l=Jolie"},jq:{color:"#c7254e",url:"https://github.com/trending?l=jq"},JSON:{color:"#292929",url:"https://github.com/trending?l=JSON"},"JSON with Comments":{color:"#292929",url:"https://github.com/trending?l=JSON-with-Comments"},JSON5:{color:"#267CB9",url:"https://github.com/trending?l=JSON5"},JSONiq:{color:"#40d47e",url:"https://github.com/trending?l=JSONiq"},JSONLD:{color:"#0c479c",url:"https://github.com/trending?l=JSONLD"},Jsonnet:{color:"#0064bd",url:"https://github.com/trending?l=Jsonnet"},Julia:{color:"#a270ba",url:"https://github.com/trending?l=Julia"},"Jupyter Notebook":{color:"#DA5B0B",url:"https://github.com/trending?l=Jupyter-Notebook"},Just:{color:"#384d54",url:"https://github.com/trending?l=Just"},"Kaitai Struct":{color:"#773b37",url:"https://github.com/trending?l=Kaitai-Struct"},KakouneScript:{color:"#6f8042",url:"https://github.com/trending?l=KakouneScript"},KerboScript:{color:"#41adf0",url:"https://github.com/trending?l=KerboScript"},"KiCad Layout":{color:"#2f4aab",url:"https://github.com/trending?l=KiCad-Layout"},"KiCad Legacy Layout":{color:"#2f4aab",url:"https://github.com/trending?l=KiCad-Legacy-Layout"},"KiCad Schematic":{color:"#2f4aab",url:"https://github.com/trending?l=KiCad-Schematic"},Kotlin:{color:"#A97BFF",url:"https://github.com/trending?l=Kotlin"},KRL:{color:"#28430A",url:"https://github.com/trending?l=KRL"},kvlang:{color:"#1da6e0",url:"https://github.com/trending?l=kvlang"},LabVIEW:{color:"#fede06",url:"https://github.com/trending?l=LabVIEW"},Lark:{color:"#2980B9",url:"https://github.com/trending?l=Lark"},Lasso:{color:"#999999",url:"https://github.com/trending?l=Lasso"},Latte:{color:"#f2a542",url:"https://github.com/trending?l=Latte"},Lean:{color:null,url:"https://github.com/trending?l=Lean"},Less:{color:"#1d365d",url:"https://github.com/trending?l=Less"},Lex:{color:"#DBCA00",url:"https://github.com/trending?l=Lex"},LFE:{color:"#4C3023",url:"https://github.com/trending?l=LFE"},LigoLANG:{color:"#0e74ff",url:"https://github.com/trending?l=LigoLANG"},LilyPond:{color:"#9ccc7c",url:"https://github.com/trending?l=LilyPond"},Limbo:{color:null,url:"https://github.com/trending?l=Limbo"},Liquid:{color:"#67b8de",url:"https://github.com/trending?l=Liquid"},"Literate Agda":{color:"#315665",url:"https://github.com/trending?l=Literate-Agda"},"Literate CoffeeScript":{color:"#244776",url:"https://github.com/trending?l=Literate-CoffeeScript"},"Literate Haskell":{color:"#5e5086",url:"https://github.com/trending?l=Literate-Haskell"},LiveScript:{color:"#499886",url:"https://github.com/trending?l=LiveScript"},LLVM:{color:"#185619",url:"https://github.com/trending?l=LLVM"},Logos:{color:null,url:"https://github.com/trending?l=Logos"},Logtalk:{color:"#295b9a",url:"https://github.com/trending?l=Logtalk"},LOLCODE:{color:"#cc9900",url:"https://github.com/trending?l=LOLCODE"},LookML:{color:"#652B81",url:"https://github.com/trending?l=LookML"},LoomScript:{color:null,url:"https://github.com/trending?l=LoomScript"},LSL:{color:"#3d9970",url:"https://github.com/trending?l=LSL"},Lua:{color:"#000080",url:"https://github.com/trending?l=Lua"},M:{color:null,url:"https://github.com/trending?l=M"},M4:{color:null,url:"https://github.com/trending?l=M4"},M4Sugar:{color:null,url:"https://github.com/trending?l=M4Sugar"},Macaulay2:{color:"#d8ffff",url:"https://github.com/trending?l=Macaulay2"},Makefile:{color:"#427819",url:"https://github.com/trending?l=Makefile"},Mako:{color:"#7e858d",url:"https://github.com/trending?l=Mako"},Markdown:{color:"#083fa1",url:"https://github.com/trending?l=Markdown"},Marko:{color:"#42bff2",url:"https://github.com/trending?l=Marko"},Mask:{color:"#f97732",url:"https://github.com/trending?l=Mask"},Mathematica:{color:"#dd1100",url:"https://github.com/trending?l=Mathematica"},MATLAB:{color:"#e16737",url:"https://github.com/trending?l=MATLAB"},Max:{color:"#c4a79c",url:"https://github.com/trending?l=Max"},MAXScript:{color:"#00a6a6",url:"https://github.com/trending?l=MAXScript"},mcfunction:{color:"#E22837",url:"https://github.com/trending?l=mcfunction"},Mercury:{color:"#ff2b2b",url:"https://github.com/trending?l=Mercury"},Mermaid:{color:"#ff3670",url:"https://github.com/trending?l=Mermaid"},Meson:{color:"#007800",url:"https://github.com/trending?l=Meson"},Metal:{color:"#8f14e9",url:"https://github.com/trending?l=Metal"},MiniD:{color:null,url:"https://github.com/trending?l=MiniD"},MiniYAML:{color:"#ff1111",url:"https://github.com/trending?l=MiniYAML"},Mint:{color:"#02b046",url:"https://github.com/trending?l=Mint"},Mirah:{color:"#c7a938",url:"https://github.com/trending?l=Mirah"},"mIRC Script":{color:"#3d57c3",url:"https://github.com/trending?l=mIRC-Script"},MLIR:{color:"#5EC8DB",url:"https://github.com/trending?l=MLIR"},Modelica:{color:"#de1d31",url:"https://github.com/trending?l=Modelica"},"Modula-2":{color:"#10253f",url:"https://github.com/trending?l=Modula-2"},"Modula-3":{color:"#223388",url:"https://github.com/trending?l=Modula-3"},"Module Management System":{color:null,url:"https://github.com/trending?l=Module-Management-System"},Monkey:{color:null,url:"https://github.com/trending?l=Monkey"},"Monkey C":{color:"#8D6747",url:"https://github.com/trending?l=Monkey-C"},Moocode:{color:null,url:"https://github.com/trending?l=Moocode"},MoonScript:{color:"#ff4585",url:"https://github.com/trending?l=MoonScript"},Motoko:{color:"#fbb03b",url:"https://github.com/trending?l=Motoko"},"Motorola 68K Assembly":{color:"#005daa",url:"https://github.com/trending?l=Motorola-68K-Assembly"},Move:{color:"#4a137a",url:"https://github.com/trending?l=Move"},MQL4:{color:"#62A8D6",url:"https://github.com/trending?l=MQL4"},MQL5:{color:"#4A76B8",url:"https://github.com/trending?l=MQL5"},MTML:{color:"#b7e1f4",url:"https://github.com/trending?l=MTML"},MUF:{color:null,url:"https://github.com/trending?l=MUF"},mupad:{color:"#244963",url:"https://github.com/trending?l=mupad"},Mustache:{color:"#724b3b",url:"https://github.com/trending?l=Mustache"},Myghty:{color:null,url:"https://github.com/trending?l=Myghty"},nanorc:{color:"#2d004d",url:"https://github.com/trending?l=nanorc"},Nasal:{color:"#1d2c4e",url:"https://github.com/trending?l=Nasal"},NASL:{color:null,url:"https://github.com/trending?l=NASL"},NCL:{color:"#28431f",url:"https://github.com/trending?l=NCL"},Nearley:{color:"#990000",url:"https://github.com/trending?l=Nearley"},Nemerle:{color:"#3d3c6e",url:"https://github.com/trending?l=Nemerle"},nesC:{color:"#94B0C7",url:"https://github.com/trending?l=nesC"},NetLinx:{color:"#0aa0ff",url:"https://github.com/trending?l=NetLinx"},"NetLinx+ERB":{color:"#747faa",url:"https://github.com/trending?l=NetLinx+ERB"},NetLogo:{color:"#ff6375",url:"https://github.com/trending?l=NetLogo"},NewLisp:{color:"#87AED7",url:"https://github.com/trending?l=NewLisp"},Nextflow:{color:"#3ac486",url:"https://github.com/trending?l=Nextflow"},Nginx:{color:"#009639",url:"https://github.com/trending?l=Nginx"},Nim:{color:"#ffc200",url:"https://github.com/trending?l=Nim"},Nit:{color:"#009917",url:"https://github.com/trending?l=Nit"},Nix:{color:"#7e7eff",url:"https://github.com/trending?l=Nix"},"NPM Config":{color:"#cb3837",url:"https://github.com/trending?l=NPM-Config"},NSIS:{color:null,url:"https://github.com/trending?l=NSIS"},Nu:{color:"#c9df40",url:"https://github.com/trending?l=Nu"},NumPy:{color:"#9C8AF9",url:"https://github.com/trending?l=NumPy"},Nunjucks:{color:"#3d8137",url:"https://github.com/trending?l=Nunjucks"},NWScript:{color:"#111522",url:"https://github.com/trending?l=NWScript"},"OASv2-json":{color:"#85ea2d",url:"https://github.com/trending?l=OASv2-json"},"OASv2-yaml":{color:"#85ea2d",url:"https://github.com/trending?l=OASv2-yaml"},"OASv3-json":{color:"#85ea2d",url:"https://github.com/trending?l=OASv3-json"},"OASv3-yaml":{color:"#85ea2d",url:"https://github.com/trending?l=OASv3-yaml"},"Objective-C":{color:"#438eff",url:"https://github.com/trending?l=Objective-C"},"Objective-C++":{color:"#6866fb",url:"https://github.com/trending?l=Objective-C++"},"Objective-J":{color:"#ff0c5a",url:"https://github.com/trending?l=Objective-J"},ObjectScript:{color:"#424893",url:"https://github.com/trending?l=ObjectScript"},OCaml:{color:"#3be133",url:"https://github.com/trending?l=OCaml"},Odin:{color:"#60AFFE",url:"https://github.com/trending?l=Odin"},Omgrofl:{color:"#cabbff",url:"https://github.com/trending?l=Omgrofl"},ooc:{color:"#b0b77e",url:"https://github.com/trending?l=ooc"},Opa:{color:null,url:"https://github.com/trending?l=Opa"},Opal:{color:"#f7ede0",url:"https://github.com/trending?l=Opal"},"Open Policy Agent":{color:"#7d9199",url:"https://github.com/trending?l=Open-Policy-Agent"},"OpenAPI Specification v2":{color:"#85ea2d",url:"https://github.com/trending?l=OpenAPI-Specification-v2"},"OpenAPI Specification v3":{color:"#85ea2d",url:"https://github.com/trending?l=OpenAPI-Specification-v3"},OpenCL:{color:"#ed2e2d",url:"https://github.com/trending?l=OpenCL"},"OpenEdge ABL":{color:"#5ce600",url:"https://github.com/trending?l=OpenEdge-ABL"},OpenQASM:{color:"#AA70FF",url:"https://github.com/trending?l=OpenQASM"},"OpenRC runscript":{color:null,url:"https://github.com/trending?l=OpenRC-runscript"},OpenSCAD:{color:"#e5cd45",url:"https://github.com/trending?l=OpenSCAD"},"Option List":{color:"#476732",url:"https://github.com/trending?l=Option-List"},Org:{color:"#77aa99",url:"https://github.com/trending?l=Org"},Ox:{color:null,url:"https://github.com/trending?l=Ox"},Oxygene:{color:"#cdd0e3",url:"https://github.com/trending?l=Oxygene"},Oz:{color:"#fab738",url:"https://github.com/trending?l=Oz"},P4:{color:"#7055b5",url:"https://github.com/trending?l=P4"},Pan:{color:"#cc0000",url:"https://github.com/trending?l=Pan"},Papyrus:{color:"#6600cc",url:"https://github.com/trending?l=Papyrus"},Parrot:{color:"#f3ca0a",url:"https://github.com/trending?l=Parrot"},"Parrot Assembly":{color:null,url:"https://github.com/trending?l=Parrot-Assembly"},"Parrot Internal Representation":{color:null,url:"https://github.com/trending?l=Parrot-Internal-Representation"},Pascal:{color:"#E3F171",url:"https://github.com/trending?l=Pascal"},Pawn:{color:"#dbb284",url:"https://github.com/trending?l=Pawn"},PDDL:{color:"#0d00ff",url:"https://github.com/trending?l=PDDL"},"PEG.js":{color:"#234d6b",url:"https://github.com/trending?l=PEG.js"},Pep8:{color:"#C76F5B",url:"https://github.com/trending?l=Pep8"},Perl:{color:"#0298c3",url:"https://github.com/trending?l=Perl"},PHP:{color:"#4F5D95",url:"https://github.com/trending?l=PHP"},PicoLisp:{color:"#6067af",url:"https://github.com/trending?l=PicoLisp"},PigLatin:{color:"#fcd7de",url:"https://github.com/trending?l=PigLatin"},Pike:{color:"#005390",url:"https://github.com/trending?l=Pike"},PlantUML:{color:"#fbbd16",url:"https://github.com/trending?l=PlantUML"},PLpgSQL:{color:"#336790",url:"https://github.com/trending?l=PLpgSQL"},PLSQL:{color:"#dad8d8",url:"https://github.com/trending?l=PLSQL"},PogoScript:{color:"#d80074",url:"https://github.com/trending?l=PogoScript"},Polar:{color:"#ae81ff",url:"https://github.com/trending?l=Polar"},Pony:{color:null,url:"https://github.com/trending?l=Pony"},Portugol:{color:"#f8bd00",url:"https://github.com/trending?l=Portugol"},PostCSS:{color:"#dc3a0c",url:"https://github.com/trending?l=PostCSS"},PostScript:{color:"#da291c",url:"https://github.com/trending?l=PostScript"},"POV-Ray SDL":{color:"#6bac65",url:"https://github.com/trending?l=POV-Ray-SDL"},PowerBuilder:{color:"#8f0f8d",url:"https://github.com/trending?l=PowerBuilder"},PowerShell:{color:"#012456",url:"https://github.com/trending?l=PowerShell"},Prisma:{color:"#0c344b",url:"https://github.com/trending?l=Prisma"},Processing:{color:"#0096D8",url:"https://github.com/trending?l=Processing"},Procfile:{color:"#3B2F63",url:"https://github.com/trending?l=Procfile"},Prolog:{color:"#74283c",url:"https://github.com/trending?l=Prolog"},Promela:{color:"#de0000",url:"https://github.com/trending?l=Promela"},"Propeller Spin":{color:"#7fa2a7",url:"https://github.com/trending?l=Propeller-Spin"},Pug:{color:"#a86454",url:"https://github.com/trending?l=Pug"},Puppet:{color:"#302B6D",url:"https://github.com/trending?l=Puppet"},PureBasic:{color:"#5a6986",url:"https://github.com/trending?l=PureBasic"},PureScript:{color:"#1D222D",url:"https://github.com/trending?l=PureScript"},Pyret:{color:"#ee1e10",url:"https://github.com/trending?l=Pyret"},Python:{color:"#3572A5",url:"https://github.com/trending?l=Python"},"Python console":{color:"#3572A5",url:"https://github.com/trending?l=Python-console"},"Python traceback":{color:"#3572A5",url:"https://github.com/trending?l=Python-traceback"},q:{color:"#0040cd",url:"https://github.com/trending?l=q"},"Q#":{color:"#fed659",url:"https://github.com/trending?l=Qsharp"},QMake:{color:null,url:"https://github.com/trending?l=QMake"},QML:{color:"#44a51c",url:"https://github.com/trending?l=QML"},"Qt Script":{color:"#00b841",url:"https://github.com/trending?l=Qt-Script"},Quake:{color:"#882233",url:"https://github.com/trending?l=Quake"},R:{color:"#198CE7",url:"https://github.com/trending?l=R"},Racket:{color:"#3c5caa",url:"https://github.com/trending?l=Racket"},Ragel:{color:"#9d5200",url:"https://github.com/trending?l=Ragel"},Raku:{color:"#0000fb",url:"https://github.com/trending?l=Raku"},RAML:{color:"#77d9fb",url:"https://github.com/trending?l=RAML"},Rascal:{color:"#fffaa0",url:"https://github.com/trending?l=Rascal"},RDoc:{color:"#701516",url:"https://github.com/trending?l=RDoc"},REALbasic:{color:null,url:"https://github.com/trending?l=REALbasic"},Reason:{color:"#ff5847",url:"https://github.com/trending?l=Reason"},ReasonLIGO:{color:"#ff5847",url:"https://github.com/trending?l=ReasonLIGO"},Rebol:{color:"#358a5b",url:"https://github.com/trending?l=Rebol"},"Record Jar":{color:"#0673ba",url:"https://github.com/trending?l=Record-Jar"},Red:{color:"#f50000",url:"https://github.com/trending?l=Red"},Redcode:{color:null,url:"https://github.com/trending?l=Redcode"},"Regular Expression":{color:"#009a00",url:"https://github.com/trending?l=Regular-Expression"},"Ren'Py":{color:"#ff7f7f",url:"https://github.com/trending?l=Ren'Py"},RenderScript:{color:null,url:"https://github.com/trending?l=RenderScript"},ReScript:{color:"#ed5051",url:"https://github.com/trending?l=ReScript"},reStructuredText:{color:"#141414",url:"https://github.com/trending?l=reStructuredText"},REXX:{color:"#d90e09",url:"https://github.com/trending?l=REXX"},Ring:{color:"#2D54CB",url:"https://github.com/trending?l=Ring"},Riot:{color:"#A71E49",url:"https://github.com/trending?l=Riot"},RMarkdown:{color:"#198ce7",url:"https://github.com/trending?l=RMarkdown"},RobotFramework:{color:"#00c0b5",url:"https://github.com/trending?l=RobotFramework"},Roff:{color:"#ecdebe",url:"https://github.com/trending?l=Roff"},"Roff Manpage":{color:"#ecdebe",url:"https://github.com/trending?l=Roff-Manpage"},Rouge:{color:"#cc0088",url:"https://github.com/trending?l=Rouge"},"RouterOS Script":{color:"#DE3941",url:"https://github.com/trending?l=RouterOS-Script"},RPC:{color:null,url:"https://github.com/trending?l=RPC"},RPGLE:{color:"#2BDE21",url:"https://github.com/trending?l=RPGLE"},Ruby:{color:"#701516",url:"https://github.com/trending?l=Ruby"},RUNOFF:{color:"#665a4e",url:"https://github.com/trending?l=RUNOFF"},Rust:{color:"#dea584",url:"https://github.com/trending?l=Rust"},Sage:{color:null,url:"https://github.com/trending?l=Sage"},SaltStack:{color:"#646464",url:"https://github.com/trending?l=SaltStack"},SAS:{color:"#B34936",url:"https://github.com/trending?l=SAS"},Sass:{color:"#a53b70",url:"https://github.com/trending?l=Sass"},Scala:{color:"#c22d40",url:"https://github.com/trending?l=Scala"},Scaml:{color:"#bd181a",url:"https://github.com/trending?l=Scaml"},Scenic:{color:"#fdc700",url:"https://github.com/trending?l=Scenic"},Scheme:{color:"#1e4aec",url:"https://github.com/trending?l=Scheme"},Scilab:{color:"#ca0f21",url:"https://github.com/trending?l=Scilab"},SCSS:{color:"#c6538c",url:"https://github.com/trending?l=SCSS"},sed:{color:"#64b970",url:"https://github.com/trending?l=sed"},Self:{color:"#0579aa",url:"https://github.com/trending?l=Self"},ShaderLab:{color:"#222c37",url:"https://github.com/trending?l=ShaderLab"},Shell:{color:"#89e051",url:"https://github.com/trending?l=Shell"},"ShellCheck Config":{color:"#cecfcb",url:"https://github.com/trending?l=ShellCheck-Config"},ShellSession:{color:null,url:"https://github.com/trending?l=ShellSession"},Shen:{color:"#120F14",url:"https://github.com/trending?l=Shen"},Sieve:{color:null,url:"https://github.com/trending?l=Sieve"},"Simple File Verification":{color:"#C9BFED",url:"https://github.com/trending?l=Simple-File-Verification"},Singularity:{color:"#64E6AD",url:"https://github.com/trending?l=Singularity"},Slash:{color:"#007eff",url:"https://github.com/trending?l=Slash"},Slice:{color:"#003fa2",url:"https://github.com/trending?l=Slice"},Slim:{color:"#2b2b2b",url:"https://github.com/trending?l=Slim"},Smali:{color:null,url:"https://github.com/trending?l=Smali"},Smalltalk:{color:"#596706",url:"https://github.com/trending?l=Smalltalk"},Smarty:{color:"#f0c040",url:"https://github.com/trending?l=Smarty"},Smithy:{color:"#c44536",url:"https://github.com/trending?l=Smithy"},SmPL:{color:"#c94949",url:"https://github.com/trending?l=SmPL"},SMT:{color:null,url:"https://github.com/trending?l=SMT"},Snakemake:{color:"#419179",url:"https://github.com/trending?l=Snakemake"},Solidity:{color:"#AA6746",url:"https://github.com/trending?l=Solidity"},SourcePawn:{color:"#f69e1d",url:"https://github.com/trending?l=SourcePawn"},SPARQL:{color:"#0C4597",url:"https://github.com/trending?l=SPARQL"},SQF:{color:"#3F3F3F",url:"https://github.com/trending?l=SQF"},SQL:{color:"#e38c00",url:"https://github.com/trending?l=SQL"},SQLPL:{color:"#e38c00",url:"https://github.com/trending?l=SQLPL"},Squirrel:{color:"#800000",url:"https://github.com/trending?l=Squirrel"},"SRecode Template":{color:"#348a34",url:"https://github.com/trending?l=SRecode-Template"},Stan:{color:"#b2011d",url:"https://github.com/trending?l=Stan"},"Standard ML":{color:"#dc566d",url:"https://github.com/trending?l=Standard-ML"},Starlark:{color:"#76d275",url:"https://github.com/trending?l=Starlark"},Stata:{color:"#1a5f91",url:"https://github.com/trending?l=Stata"},STL:{color:"#373b5e",url:"https://github.com/trending?l=STL"},StringTemplate:{color:"#3fb34f",url:"https://github.com/trending?l=StringTemplate"},Stylus:{color:"#ff6347",url:"https://github.com/trending?l=Stylus"},"SubRip Text":{color:"#9e0101",url:"https://github.com/trending?l=SubRip-Text"},SugarSS:{color:"#2fcc9f",url:"https://github.com/trending?l=SugarSS"},SuperCollider:{color:"#46390b",url:"https://github.com/trending?l=SuperCollider"},Svelte:{color:"#ff3e00",url:"https://github.com/trending?l=Svelte"},SVG:{color:"#ff9900",url:"https://github.com/trending?l=SVG"},Sway:{color:"#dea584",url:"https://github.com/trending?l=Sway"},Swift:{color:"#F05138",url:"https://github.com/trending?l=Swift"},SWIG:{color:null,url:"https://github.com/trending?l=SWIG"},SystemVerilog:{color:"#DAE1C2",url:"https://github.com/trending?l=SystemVerilog"},Talon:{color:"#333333",url:"https://github.com/trending?l=Talon"},Tcl:{color:"#e4cc98",url:"https://github.com/trending?l=Tcl"},Tcsh:{color:null,url:"https://github.com/trending?l=Tcsh"},Terra:{color:"#00004c",url:"https://github.com/trending?l=Terra"},TeX:{color:"#3D6117",url:"https://github.com/trending?l=TeX"},Textile:{color:"#ffe7ac",url:"https://github.com/trending?l=Textile"},"TextMate Properties":{color:"#df66e4",url:"https://github.com/trending?l=TextMate-Properties"},Thrift:{color:"#D12127",url:"https://github.com/trending?l=Thrift"},"TI Program":{color:"#A0AA87",url:"https://github.com/trending?l=TI-Program"},TLA:{color:"#4b0079",url:"https://github.com/trending?l=TLA"},TOML:{color:"#9c4221",url:"https://github.com/trending?l=TOML"},TSQL:{color:"#e38c00",url:"https://github.com/trending?l=TSQL"},TSV:{color:"#237346",url:"https://github.com/trending?l=TSV"},TSX:{color:"#3178c6",url:"https://github.com/trending?l=TSX"},Turing:{color:"#cf142b",url:"https://github.com/trending?l=Turing"},Twig:{color:"#c1d026",url:"https://github.com/trending?l=Twig"},TXL:{color:"#0178b8",url:"https://github.com/trending?l=TXL"},TypeScript:{color:"#3178c6",url:"https://github.com/trending?l=TypeScript"},"Unified Parallel C":{color:"#4e3617",url:"https://github.com/trending?l=Unified-Parallel-C"},"Unity3D Asset":{color:"#222c37",url:"https://github.com/trending?l=Unity3D-Asset"},"Unix Assembly":{color:null,url:"https://github.com/trending?l=Unix-Assembly"},Uno:{color:"#9933cc",url:"https://github.com/trending?l=Uno"},UnrealScript:{color:"#a54c4d",url:"https://github.com/trending?l=UnrealScript"},UrWeb:{color:"#ccccee",url:"https://github.com/trending?l=UrWeb"},V:{color:"#4f87c4",url:"https://github.com/trending?l=V"},Vala:{color:"#a56de2",url:"https://github.com/trending?l=Vala"},"Valve Data Format":{color:"#f26025",url:"https://github.com/trending?l=Valve-Data-Format"},VBA:{color:"#867db1",url:"https://github.com/trending?l=VBA"},VBScript:{color:"#15dcdc",url:"https://github.com/trending?l=VBScript"},VCL:{color:"#148AA8",url:"https://github.com/trending?l=VCL"},"Velocity Template Language":{color:"#507cff",url:"https://github.com/trending?l=Velocity-Template-Language"},Verilog:{color:"#b2b7f8",url:"https://github.com/trending?l=Verilog"},VHDL:{color:"#adb2cb",url:"https://github.com/trending?l=VHDL"},"Vim Help File":{color:"#199f4b",url:"https://github.com/trending?l=Vim-Help-File"},"Vim Script":{color:"#199f4b",url:"https://github.com/trending?l=Vim-Script"},"Vim Snippet":{color:"#199f4b",url:"https://github.com/trending?l=Vim-Snippet"},"Visual Basic .NET":{color:"#945db7",url:"https://github.com/trending?l=Visual-Basic-.NET"},"Visual Basic 6.0":{color:"#2c6353",url:"https://github.com/trending?l=Visual-Basic-6.0"},Volt:{color:"#1F1F1F",url:"https://github.com/trending?l=Volt"},Vue:{color:"#41b883",url:"https://github.com/trending?l=Vue"},Vyper:{color:"#2980b9",url:"https://github.com/trending?l=Vyper"},wdl:{color:"#42f1f4",url:"https://github.com/trending?l=wdl"},"Web Ontology Language":{color:"#5b70bd",url:"https://github.com/trending?l=Web-Ontology-Language"},WebAssembly:{color:"#04133b",url:"https://github.com/trending?l=WebAssembly"},WebIDL:{color:null,url:"https://github.com/trending?l=WebIDL"},Whiley:{color:"#d5c397",url:"https://github.com/trending?l=Whiley"},Wikitext:{color:"#fc5757",url:"https://github.com/trending?l=Wikitext"},"Windows Registry Entries":{color:"#52d5ff",url:"https://github.com/trending?l=Windows-Registry-Entries"},wisp:{color:"#7582D1",url:"https://github.com/trending?l=wisp"},"Witcher Script":{color:"#ff0000",url:"https://github.com/trending?l=Witcher-Script"},Wollok:{color:"#a23738",url:"https://github.com/trending?l=Wollok"},"World of Warcraft Addon Data":{color:"#f7e43f",url:"https://github.com/trending?l=World-of-Warcraft-Addon-Data"},Wren:{color:"#383838",url:"https://github.com/trending?l=Wren"},X10:{color:"#4B6BEF",url:"https://github.com/trending?l=X10"},xBase:{color:"#403a40",url:"https://github.com/trending?l=xBase"},XC:{color:"#99DA07",url:"https://github.com/trending?l=XC"},XML:{color:"#0060ac",url:"https://github.com/trending?l=XML"},"XML Property List":{color:"#0060ac",url:"https://github.com/trending?l=XML-Property-List"},Xojo:{color:"#81bd41",url:"https://github.com/trending?l=Xojo"},Xonsh:{color:"#285EEF",url:"https://github.com/trending?l=Xonsh"},XProc:{color:null,url:"https://github.com/trending?l=XProc"},XQuery:{color:"#5232e7",url:"https://github.com/trending?l=XQuery"},XS:{color:null,url:"https://github.com/trending?l=XS"},XSLT:{color:"#EB8CEB",url:"https://github.com/trending?l=XSLT"},Xtend:{color:"#24255d",url:"https://github.com/trending?l=Xtend"},Yacc:{color:"#4B6C4B",url:"https://github.com/trending?l=Yacc"},YAML:{color:"#cb171e",url:"https://github.com/trending?l=YAML"},YARA:{color:"#220000",url:"https://github.com/trending?l=YARA"},YASnippet:{color:"#32AB90",url:"https://github.com/trending?l=YASnippet"},Yul:{color:"#794932",url:"https://github.com/trending?l=Yul"},ZAP:{color:"#0d665e",url:"https://github.com/trending?l=ZAP"},Zeek:{color:null,url:"https://github.com/trending?l=Zeek"},ZenScript:{color:"#00BCD1",url:"https://github.com/trending?l=ZenScript"},Zephir:{color:"#118f9e",url:"https://github.com/trending?l=Zephir"},Zig:{color:"#ec915c",url:"https://github.com/trending?l=Zig"},ZIL:{color:"#dc75e5",url:"https://github.com/trending?l=ZIL"},Zimpl:{color:"#d67711",url:"https://github.com/trending?l=Zimpl"}};var kn=h(Mn()),Ln=new Map;for(let[t,{color:e}]of Object.entries(vn))Ln.set(t.toLowerCase(),{color:e!=null?e:null,lang:t});function An(t){let e=kn.default.languages(t.toLowerCase()),r=[];if(!e)return null;let o=null;for(let n of e){let i=Ln.get(n);if(i){o=i,r.push(o.lang);break}}return o?o.color:null}var De=class{constructor(e,r,o,n){this.scale=(n-o)/(r-e),this.offset=e*this.scale-o,this.target_max=n,this.target_min=o}translate(e){return e*this.scale-this.offset}inverseTranslate(e){return this.target_max-this.translate(e)+this.target_min}};var On=h(j());var V=h(A()),Ee=3,pt=class{constructor(e,r){this.color=e;this.weight=r}add(e){this.weight+=e}};function Nn({metricCache:t}){let[e,r]=(0,On.useState)(!0),o=Array.from(t.legend).sort(([,n],[,i])=>n.weight<i.weight?1:n.weight>i.weight?-1:0);return o.length===0?null:o.length<=Ee+1?(0,V.jsx)(yr,{show:!0,items:o}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(yr,{show:!0,items:o.slice(0,Ee)}),(0,V.jsx)(yr,{show:!e,items:o.slice(Ee)}),(0,V.jsx)(Jl,{show:e,items:o.slice(Ee),toggle:()=>r(!e)}),(0,V.jsx)(Yt,{className:"absolute bottom-2 right-2",open:!e,onClick:()=>r(!e)})]})}function yr(t){return t.show?(0,V.jsx)(V.Fragment,{children:t.items.map(e=>{let[r,o]=e;return(0,V.jsx)("div",{children:(0,V.jsxs)("div",{className:"relative flex items-center gap-2 text-sm leading-none",children:[(0,V.jsx)(gt,{dotColor:o.color}),(0,V.jsx)("span",{className:"font-bold",children:r})]})},r)})}):null}function Jl(t){return t.show?(0,V.jsx)("button",{className:"w-fit hover:opacity-70",onClick:t.toggle,children:(0,V.jsxs)("div",{className:"relative flex items-center gap-2 text-sm leading-none",children:[t.items.slice(0,14).map(([e,r],o)=>{let n=o===0?0:-16;return(0,V.jsx)(gt,{dotColor:r.color,style:{marginLeft:n}},`dot${e}`)}),(0,V.jsxs)("span",{className:"font-bold",children:[t.items.length," more"]})]})}):null}function jn(t,e){var i;let r=t.name.substring(t.name.lastIndexOf(".")+1),o=An(r),n=e.legend;o?(n.has(r)?(i=n.get(r))==null||i.add(1):n.set(r,new pt(o,1)),e.colormap.set(t.path,o)):(n.has("Other")||n.set("Other",new pt("#808080",0)),e.colormap.set(t.path,"#808080"))}function Pn(t,e,r,o,n){var p;let i="#e0e0e0",l="#404040",s=U(t.path),a=o.get(s),m=e.legend;switch(n.get(s)){case void 0:case 0:m.set("No authors",new pt(l,0)),e.colormap.set(t.path,l);return;case 1:let u=(p=r.get(a!=null?a:""))!=null?p:l;m.set(a!=null?a:"",new pt(u,2)),e.colormap.set(t.path,u);return;default:m.set("Multiple authors",new pt(i,1)),e.colormap.set(t.path,i)}}var Re=class{constructor(e,r){this.min_lightness=50;this.max_lightness=95;this.translater=new De(e,r,this.min_lightness,this.max_lightness)}getColor(e){return Te(20,100,this.translater.inverseTranslate(e))}setColor(e,r,o){var n;r.colormap.set(e.path,this.getColor((n=o.get(U(e.path)))!=null?n:0))}};function Dn(t){return[{epoch:0,text:Uo(t*1e3),color:"#cff2ff"},{epoch:86400,text:"+1d",color:"#c6dbef"},{epoch:604800,text:"+1w",color:"#9ecae1"},{epoch:2629743,text:"+1m",color:"#6baed6"},{epoch:31556926,text:"+1y",color:"#4292c6"},{epoch:31556926*2,text:"+2y",color:"#2171b5"},{epoch:31556926*4,text:"+4y",color:"#084594"}]}function Fe(t,e,r){let o=e-r,n=0;for(;n<t.length-1;){if(o<t[n+1].epoch)return n;n++}return n}function En(t,e,r,o){var a,m;let n=U(e.path),i=o.get(n);if(!i)return;let l=r.legend,s=(a=t.get(i))!=null?a:"#808080";if(r.colormap.set(e.path,s),l.has(i)){(m=l.get(i))==null||m.add(1);return}l.set(i,new pt(s,1))}var Ie=class{constructor(e){this.min_lightness=50;this.max_lighness=90;this.step=e<=1?1:this.step=(this.max_lighness-this.min_lightness)/Math.floor(Math.log2(e))}getColor(e){let r=Math.floor(Math.log2(e)),o=this.min_lightness+r*this.step;return Te(0,75,o)}setColor(e,r,o){var n;r.colormap.set(e.path,this.getColor((n=o.get(U(e.path)))!=null?n:0))}};var Fn=h(Rn());var Kt={FILE_TYPE:"File type",TRUCK_FACTOR:"Truck factor",TOP_CONTRIBUTOR:"Top contributor",MOST_COMMITS:"Commits",SINGLE_AUTHOR:"Single author",LAST_CHANGED:"Last changed"};function In(t,e){let r=Xl(t.repodata2.authors,e);return[Kl(t.repodata2.fileTree,Yl(t,r)),r]}function Bn(t){switch(t){case"FILE_TYPE":return"Where are different types of files located?";case"MOST_COMMITS":return"Which files have had the most commits, throughout the repository's history?";case"LAST_CHANGED":return"How long ago did the files change?";case"SINGLE_AUTHOR":return"Which files are authored by only one person, throughout the repository's history?";case"TOP_CONTRIBUTOR":return"Which person has made the most line-changes to a file, throughout the repository's history?";case"TRUCK_FACTOR":return"How many authors have contributed to a given file?";default:throw new Error("Uknown metric type: "+t)}}function _n(t){switch(t){case"FILE_TYPE":case"TOP_CONTRIBUTOR":case"SINGLE_AUTHOR":return"POINT";case"MOST_COMMITS":return"GRADIENT";case"LAST_CHANGED":case"TRUCK_FACTOR":return"SEGMENTS";default:throw new Error("Uknown metric type: "+t)}}function Xl(t,e){let r=new Map;for(let o=0;o<t.length;o++){let n=t[o],i=e!=null?e:"",l=(0,Fn.default)(n+i).color;r.set(n,l)}return r}function Yl(t,e){let r=t.repodata2.maxCommitCount,o=t.repodata2.minCommitCount,n=new Re(o,r),i=new Ie(t.repodata2.authors.length);return[["FILE_TYPE",(l,s)=>{s.legend||(s.legend=new Map),jn(l,s)}],["SINGLE_AUTHOR",(l,s)=>{s.legend||(s.legend=new Map),Pn(l,s,e,t.repodata2.dominantAuthors,t.repodata2.authorCounts)}],["MOST_COMMITS",(l,s)=>{s.legend||(s.legend=[`${o}`,`${r}`,void 0,void 0,n.getColor(o),n.getColor(r)]),n.setColor(l,s,t.repodata2.commitCounts)}],["LAST_CHANGED",(l,s)=>{var c,p;let a=t.repodata2.newestChangeDate,m=Dn(a);s.legend||(s.legend=[Fe(m,a,t.repodata2.oldestChangeDate)+1,u=>m[u].text,u=>m[u].color,u=>{var x,C;return(C=Fe(m,a,(x=t.repodata2.lastChanged.get(U(u.path)))!=null?x:0))!=null?C:-1}]),s.colormap.set(l.path,m[(p=Fe(m,a,(c=t.repodata2.lastChanged.get(U(l.path)))!=null?c:0))!=null?p:-1].color)}],["TOP_CONTRIBUTOR",(l,s)=>{s.legend||(s.legend=new Map),En(e,l,s,t.repodata2.dominantAuthors)}],["TRUCK_FACTOR",(l,s)=>{s.legend||(s.legend=[Math.floor(Math.log2(t.repodata2.authors.length))+1,a=>`${Math.pow(2,a)}`,a=>`hsl(0,75%,${50+a*(40/(Math.floor(Math.log2(t.repodata2.authors.length))+1))}%)`,a=>{var m;return Math.floor(Math.log2((m=t.repodata2.authorCounts.get(U(a.path)))!=null?m:0))}]),i.setColor(l,s,t.repodata2.authorCounts)}]]}function Kl(t,e){let r=new Map;return Gn(t,e,r),r}function Gn(t,e,r){var o;for(let n of t.children)switch(n.type){case"tree":Gn(n,e,r);break;case"blob":for(let[i,l]of e)r.has(i)||r.set(i,{legend:void 0,colormap:new Map}),l(n,(o=r.get(i))!=null?o:{legend:void 0,colormap:new Map});break}}var Be={FILE_SIZE:"File size",TRUCK_FACTOR:"Truck factor",MOST_COMMITS:"Commits",LAST_CHANGED:"Last changed",EQUAL_SIZE:"Equal"};var _e={Full:"Full",One:"1",Two:"2",Three:"3",Four:"4",Five:"5"},zn={Full:zo,One:Oo,Two:No,Three:jo,Four:Po,Five:Do};var Cr={BUBBLE_CHART:"Bubble chart",TREE_MAP:"Tree map"},Sr={NESTED:"Nested",FLAT:"Flat"},wr=(0,Ge.createContext)(void 0);function at(){let t=(0,Ge.useContext)(wr);if(!t)throw new Error("useOptions must be used within a SearchProvider");return t}var Ql={hasLoadedSavedOptions:!1,metricType:Object.keys(Kt)[0],chartType:Object.keys(Cr)[0],depthType:Object.keys(_e)[0],hierarchyType:Object.keys(Sr)[0],sizeMetric:Object.keys(Be)[0],transitionsEnabled:!0,labelsVisible:!0,renderCutoff:2};function nt(t={}){return{...Ql,...t,setChartType:()=>{throw new Error("No chartTypeSetter provided")},setMetricType:()=>{throw new Error("No metricTypeSetter provided")},setSizeMetricType:()=>{throw new Error("No sizeMetricTypeSetter provided")},setDepthType:()=>{throw new Error("No DepthTypeSetter provided")},setHierarchyType:()=>{throw new Error("No HiearchyTypeSetter provided")},setTransitionsEnabled:()=>{throw new Error("No transitionsEnabledSetter provided")},setLabelsVisible:()=>{throw new Error("No labelsVisibleSetter provided")},setRenderCutoff:()=>{throw new Error("No renderCutoffSetter provided")}}}var ze=h(j()),Tr=(0,ze.createContext)(void 0);function Mt(){let t=(0,ze.useContext)(Tr);if(!t)throw new Error("useOptions must be used within a PathProvider");return t}var qn={},Hn=new WeakMap,$n={metric:[{from:0,to:1e3,unit:"B",long:"bytes"},{from:1e3,to:1e6,unit:"kB",long:"kilobytes"},{from:1e6,to:1e9,unit:"MB",long:"megabytes"},{from:1e9,to:1e12,unit:"GB",long:"gigabytes"},{from:1e12,to:1e15,unit:"TB",long:"terabytes"},{from:1e15,to:1e18,unit:"PB",long:"petabytes"},{from:1e18,to:1e21,unit:"EB",long:"exabytes"},{from:1e21,to:1e24,unit:"ZB",long:"zettabytes"},{from:1e24,to:1e27,unit:"YB",long:"yottabytes"}],metric_octet:[{from:0,to:1e3,unit:"o",long:"octets"},{from:1e3,to:1e6,unit:"ko",long:"kilooctets"},{from:1e6,to:1e9,unit:"Mo",long:"megaoctets"},{from:1e9,to:1e12,unit:"Go",long:"gigaoctets"},{from:1e12,to:1e15,unit:"To",long:"teraoctets"},{from:1e15,to:1e18,unit:"Po",long:"petaoctets"},{from:1e18,to:1e21,unit:"Eo",long:"exaoctets"},{from:1e21,to:1e24,unit:"Zo",long:"zettaoctets"},{from:1e24,to:1e27,unit:"Yo",long:"yottaoctets"}],iec:[{from:0,to:Math.pow(1024,1),unit:"B",long:"bytes"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"KiB",long:"kibibytes"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"MiB",long:"mebibytes"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"GiB",long:"gibibytes"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"TiB",long:"tebibytes"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"PiB",long:"pebibytes"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"EiB",long:"exbibytes"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"ZiB",long:"zebibytes"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"YiB",long:"yobibytes"}],iec_octet:[{from:0,to:Math.pow(1024,1),unit:"o",long:"octets"},{from:Math.pow(1024,1),to:Math.pow(1024,2),unit:"Kio",long:"kibioctets"},{from:Math.pow(1024,2),to:Math.pow(1024,3),unit:"Mio",long:"mebioctets"},{from:Math.pow(1024,3),to:Math.pow(1024,4),unit:"Gio",long:"gibioctets"},{from:Math.pow(1024,4),to:Math.pow(1024,5),unit:"Tio",long:"tebioctets"},{from:Math.pow(1024,5),to:Math.pow(1024,6),unit:"Pio",long:"pebioctets"},{from:Math.pow(1024,6),to:Math.pow(1024,7),unit:"Eio",long:"exbioctets"},{from:Math.pow(1024,7),to:Math.pow(1024,8),unit:"Zio",long:"zebioctets"},{from:Math.pow(1024,8),to:Math.pow(1024,9),unit:"Yio",long:"yobioctets"}]},Mr=class{constructor(e,r){r=Object.assign({units:"metric",precision:1,locale:void 0},qn,r),Hn.set(this,r),Object.assign($n,r.customUnits);let o=e<0?"-":"";e=Math.abs(e);let n=$n[r.units];if(n){let i=n.find(l=>e>=l.from&&e<l.to);if(i){let l=new Intl.NumberFormat(r.locale,{style:"decimal",minimumFractionDigits:r.precision,maximumFractionDigits:r.precision}),s=i.from===0?o+e:o+l.format(e/i.from);this.value=s,this.unit=i.unit,this.long=i.long}else this.value=o+e,this.unit="",this.long=""}else throw new Error(`Invalid units specified: ${r.units}`)}toString(){let e=Hn.get(this);return e.toStringFn?e.toStringFn.bind(this)():`${this.value} ${this.unit}`}};function Un(t,e){return new Mr(t,e)}Un.defaultOptions=function(t){qn=t};var Vn=Un;var Bt=h(rt());var Qt=h(j()),At=h(A()),Wn="MENUITEM",He=t=>t.children;He.defaultProps={__TYPE:Wn};var Jn=t=>{let[e,r]=(0,Qt.useState)(0),o=t.selectedItemIndex?t.selectedItemIndex:e,n=Qt.Children.toArray(t.children).map(i=>(0,Qt.isValidElement)(i)&&i.props.__TYPE&&i.props.__TYPE==Wn?{title:i.props.title,children:i.props.children}:!1);return(0,At.jsxs)(At.Fragment,{children:[(0,At.jsx)("div",{className:"flex w-full flex-row justify-center overflow-hidden",children:n.map((i,l)=>(0,At.jsx)("button",{className:B("btn flex-1",{"btn--outlined--light":!t.lightBackground,"btn--outlined":t.lightBackground,"opacity-50":o===l,"rounded-br-none rounded-tr-none":l!==n.length-1,"rounded-bl-none rounded-tl-none":l===n.length-1}),onClick:()=>{t.onChange&&t.onChange(l),r(s=>s!==l?l:s)},children:i.title},i.title+l+"--tab"))}),n.map((i,l)=>l==o?(0,At.jsx)("div",{className:"border-t-0",children:i.children},o+i.title+"--selected"):null)]})};var Ot=h(j());var Xn="/build/_assets/commit_icon-JEPGHU5X.png";var Kn=h(j());var It=h(A());function ts({data:t,isOpen:e,btnOnClick:r,titleLabels:o}){return(0,It.jsxs)("li",{className:"border-0 ",children:[(0,It.jsx)("h2",{className:"m-0 w-full",children:(0,It.jsx)("div",{className:B("b-0 flex w-full cursor-pointer items-center "+"after:content-[''] after:shrink-0 after:w-[14px] after:h-[14px] after:ml-auto after:transition-[transform] after:duration-[200ms] after:ease-out after:bg-[length:14px_14px] after:bg-no-repeat after:bg-arrow",{"text-[16px] font-semibold":o,"text-[14px] font-normal":!o,"after:-rotate-180":e,"after:rotate-0":!e}),onClick:r,title:t.title,children:t.title})}),(0,It.jsx)("ul",{className:"m-0 block p-0 text-sm transition-[height] duration-[200ms] ease-out",style:{height:e?"auto":"0"},children:e&&(0,It.jsx)("div",{children:t.content})})]})}var Yn=ts;var kr=h(A());function es({items:t,multipleOpen:e,openByDefault:r,titleLabels:o,currentState:n,actionClickLabels:i}){let[l,s]=(0,Kn.useState)(new Array),a=m=>{s(e?c=>c.includes(m)?c.filter(p=>p!==m):[...c,m]:c=>c.includes(m)?[]:[m])};return r&&!e&&s([0]),(0,kr.jsx)("ul",{className:"m-0 block overflow-x-hidden pl-4",children:t.map((m,c)=>(0,kr.jsx)(Yn,{data:m,isOpen:n&&n[c]?n[c]:r&&e?!l.includes(c):l.includes(c),titleLabels:o,btnOnClick:()=>{a(c),i&&i(c)}},m.title+c+"--accordion"))})}var Qn=es;var $=h(A());function rs(t){let e=t.sortBy!==void 0?t.sortBy:"date",r=os(t.items.slice(0,t.count),e),o=new Array;for(let[n,i]of Object.entries(r))o.push({title:n,content:(0,$.jsx)($.Fragment,{children:i.map(l=>(0,$.jsx)("li",{className:"cursor-auto",style:{listStyleImage:`url(${Xn})`},onClick:()=>t.handleOnClick?t.handleOnClick(l):null,title:`By: ${l.author}`,children:l.message},l.hash+"--itemContentAccordion"))})});return(0,$.jsx)(Qn,{titleLabels:!0,multipleOpen:!0,openByDefault:!0,items:o},o.length>0?o[0].title:new Date().toDateString())}function Zn(){var c;let t=H(),[e,r]=(0,Ot.useState)(null),[o,n]=(0,Ot.useState)(10),i=10,{clickedObject:l}=Q(),s=le();function a(){if(!l)return;n(u=>u+i);let p=new URLSearchParams;p.set("branch",t.repodata2.branch),p.set("repo",t.repodata2.repo),p.set("path",l.path),p.set("count",o+i+""),s.load(`/commits?${p.toString()}`)}(0,Ot.useEffect)(()=>{n(0),a()},[l]),(0,Ot.useEffect)(()=>{if(s.state!=="idle")return;let p=s.data;r(p)},[s]);let m=(0,Ot.useMemo)(()=>l?"Commit history":"",[l,e]);return l?e?e.length===0?(0,$.jsx)("h3",{className:"font-bold",children:"No commit history"}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("div",{className:"flex cursor-pointer justify-between hover:opacity-70",children:(0,$.jsx)("label",{className:"label grow",children:(0,$.jsx)("h3",{className:"font-bold",children:m})})}),(0,$.jsxs)("div",{children:[(0,$.jsx)(rs,{items:e,count:o}),s.state==="idle"?o<((c=t.repodata2.commitCounts.get(U(l.path)))!=null?c:0)?(0,$.jsx)("span",{onClick:a,className:"whitespace-pre text-xs font-medium opacity-70 hover:cursor-pointer",children:"Show more commits"}):null:(0,$.jsx)("h3",{children:"Loading commits..."})]})]}):(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)("h3",{className:"font-bold",children:"Commit history"}),(0,$.jsx)("h3",{children:"Loading commits..."})]}):null}function os(t,e){let r={};switch(e){case"author":for(let o of t){let n=o.author;r[n]||(r[n]=[]),r[n].push(o)}break;case"date":default:for(let o of t){let n=Se(o.time);r[n]||(r[n]=[]),r[n].push(o)}}return r}var Lr=h(A());function ti(){let{clickedObject:t}=Q();return t?(0,Lr.jsx)("div",{className:"card bg-white/70 text-black",children:(0,Lr.jsx)(Zn,{})}):null}var f=h(A());function ns(t){let e=t.lastIndexOf("/"),r=t.lastIndexOf("\\");return e!==-1?t.slice(0,e):r!==-1?t.slice(0,r):t}function ei({className:t="",showUnionAuthorsModal:e}){let{setClickedObject:r,clickedObject:o}=Q(),n=Ht(),{metricType:i}=at(),{state:l}=mt(),{setPath:s,path:a}=Mt(),{repodata2:m}=H(),c=(0,Y.useRef)(!1),p=(0,Y.useMemo)(()=>{var k;return U((k=o==null?void 0:o.path)!=null?k:"")},[o]),[u,x]=(0,Y.useState)(null),C=(0,Y.useMemo)(()=>u?u.reduce((k,E)=>k+E.contribs,0):0,[u]),b=le();(0,Y.useEffect)(()=>{let k=new URLSearchParams;k.set("branch",m.branch),k.set("repo",m.repo),o!=null&&o.path&&(k.set("path",o.path),k.set("isblob",String(o.type==="blob")),b.load(`/authordist?${k.toString()}`))},[o,m]),(0,Y.useEffect)(()=>{var k;if(b.state==="idle"){let E=(k=b.data)!=null?k:[];x(E)}},[b]),(0,Y.useEffect)(()=>{c.current&&(r(null),c.current=!1)},[o,r,l]),(0,Y.useEffect)(()=>{r(k=>is(m.fileTree,k))},[m,r]);let[d]=ot(),{backgroundColor:T,color:N,lightBackground:D}=(0,Y.useMemo)(()=>{var S,g;if(!o)return{backgroundColor:null,color:null,lightBackground:!0};let k=(S=d.get(i))==null?void 0:S.colormap,E=(g=k==null?void 0:k.get(o.path))!=null?g:"#808080",q=E?we(E):null;return{backgroundColor:E,color:q,lightBackground:q==="#000000"}},[o,d,i]);if(!o)return null;let _=o.type==="blob",M=Jo(o.name.split("."));return(0,f.jsxs)("div",{className:B(t,"card flex flex-col gap-2 transition-colors"),style:N?{backgroundColor:T,color:N}:{},children:[(0,f.jsx)("div",{className:"flex",children:(0,f.jsxs)("h2",{className:"card__title grid grid-cols-[auto,1fr,auto] gap-2",children:[(0,f.jsx)(Bt.Icon,{path:o.type==="blob"?ho:Ut,size:"1.25em"}),(0,f.jsx)("span",{className:"truncate",title:o.name,children:o.name}),(0,f.jsx)(Vt,{absolute:!1,onClick:()=>r(null)})]})}),(0,f.jsxs)(Jn,{lightBackground:D,children:[(0,f.jsxs)(He,{title:"General",children:[(0,f.jsxs)("div",{className:"flex grow flex-col gap-2",children:[(0,f.jsxs)("div",{className:"grid grid-cols-[auto,1fr] gap-x-3 gap-y-1",children:[_?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(us,{size:o.sizeInBytes,isBinary:!1}),(0,f.jsx)(ss,{count:m.commitCounts.get(p)}),(0,f.jsx)(as,{epoch:m.lastChanged.get(p)})]}):(0,f.jsx)(ls,{clickedTree:o}),(0,f.jsx)(cs,{path:o.path})]}),(0,f.jsx)("div",{className:"card bg-white/70 text-black",children:(0,f.jsx)(ms,{authors:u,contribSum:C,fetcher:b})}),(0,f.jsxs)("button",{className:B("btn",{"btn--outlined--light":!D,"btn--outlined":D}),onClick:e,children:[(0,f.jsx)(Bt.Icon,{path:$t}),"Group authors"]})]}),(0,f.jsx)("div",{className:"mt-2 flex gap-2",children:_?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(wt,{className:"w-max",method:"post",action:n.pathname,children:[(0,f.jsx)("input",{type:"hidden",name:"ignore",value:o.path}),(0,f.jsxs)("button",{className:B("btn",{"btn--outlined--light":!D,"btn--outlined":D}),type:"submit",disabled:l!=="idle",onClick:()=>{c.current=!0},title:"Hide this file",children:[(0,f.jsx)(Bt.Icon,{path:ve}),"Hide"]})]}),o.name.includes(".")?(0,f.jsxs)(wt,{className:"w-max",method:"post",action:n.pathname,children:[(0,f.jsx)("input",{type:"hidden",name:"ignore",value:`*.${M}`}),(0,f.jsxs)("button",{className:B("btn",{"btn--outlined--light":!D,"btn--outlined":D}),type:"submit",disabled:l!=="idle",onClick:()=>{c.current=!0},children:[(0,f.jsx)(Bt.Icon,{path:ve}),(0,f.jsxs)("span",{children:["Hide .",M," files"]})]})]}):null]}):(0,f.jsx)(f.Fragment,{children:(0,f.jsxs)(wt,{method:"post",action:n.pathname,children:[(0,f.jsx)("input",{type:"hidden",name:"ignore",value:o.path}),(0,f.jsxs)("button",{className:B("btn",{"btn--outlined--light":!D,"btn--outlined":D}),type:"submit",disabled:l!=="idle",onClick:()=>{c.current=!0,s(ns(a))},children:[(0,f.jsx)(Bt.Icon,{path:ve}),"Hide this folder"]})]})})})]}),(0,f.jsx)(He,{title:"Commits",children:(0,f.jsx)(ti,{})})]})]})}function is(t,e){if(e===null)return null;let r=t,o=e.path.split("/");for(let n=0;n<o.length;n++)for(let i of r.children){if(i.hash===e.hash)return i;if(i.type==="tree"){let l=i.name.split("/");if(l[0]===o[n]){r=i,n+=l.length-1;break}}}return r}function ls(t){let e=t.clickedTree.children.filter(o=>o.type==="tree").length,r=t.clickedTree.children.length-e;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Files"}),(0,f.jsx)("p",{className:"break-all text-sm",children:r}),(0,f.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Folders"}),(0,f.jsx)("p",{className:"break-all text-sm",children:e})]})}function ss(t){var e;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Commits"}),(0,f.jsx)("p",{className:"break-all text-sm",children:(e=t.count)!=null?e:"unknown"})]})}function as(t){return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Last changed"}),(0,f.jsx)("p",{className:"break-all text-sm",children:t.epoch?Se(t.epoch):"unknown"})]})}function cs(t){let{state:e}=mt(),{clickedObject:r}=Q();return r?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"flex grow items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Located at"}),(0,f.jsxs)("div",{className:"grid grid-cols-[1fr,auto] items-center justify-between gap-2 break-all text-sm",children:[(0,f.jsx)("p",{className:"truncate",title:t.path,children:t.path}),(0,f.jsxs)(wt,{method:"post",action:location.pathname,title:r.name,children:[(0,f.jsx)("input",{type:"hidden",name:"open",value:r.path}),(0,f.jsx)("button",{className:"btn--icon",disabled:e!=="idle",children:(0,f.jsx)(Bt.Icon,{path:Eo,size:"1.25em",className:"w-max",title:r.type==="blob"?"Open file in default app":"Browse folder in system explorer"})})]})]})]}):null}function us(t){var r;let e=Vn((r=t.size)!=null?r:0);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:"flex items-center overflow-hidden overflow-ellipsis whitespace-pre text-sm font-semibold",children:"Size"}),(0,f.jsxs)("p",{className:"break-all text-sm",children:[e.value," ",e.unit," ",(0,f.jsx)("span",{className:"opacity-50",children:t.isBinary?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("br",{}),"(binary file)"]}):null})]})]})}var $e=2;function ms(t){var i,l,s,a,m,c,p,u,x,C;let e=(0,Y.useId)(),[r,o]=(0,Y.useState)(!0),n=((l=(i=t.authors)==null?void 0:i.length)!=null?l:0)>$e+1;return(0,f.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,f.jsxs)("div",{className:`flex justify-between ${n?"cursor-pointer hover:opacity-70":""}`,children:[(0,f.jsx)("label",{className:"label grow",htmlFor:e,children:(0,f.jsx)("h3",{className:"font-bold",children:"Author distribution"})}),n?(0,f.jsx)(Yt,{id:e,open:!r,onClick:()=>o(!r)}):null]}),(0,f.jsx)("div",{className:"grid grid-cols-[1fr,auto] gap-1",children:t.fetcher.state!=="idle"?(0,f.jsx)("p",{children:"Loading authors..."}):(0,f.jsx)(f.Fragment,{children:n?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(Ne,{show:!0,items:(a=(s=t.authors)==null?void 0:s.slice(0,$e))!=null?a:[],contribSum:t.contribSum}),(0,f.jsx)(Ne,{show:!r,items:(c=(m=t.authors)==null?void 0:m.slice($e))!=null?c:[],contribSum:t.contribSum}),r?(0,f.jsxs)("button",{className:"text-left text-xs opacity-70 hover:opacity-100",onClick:()=>o(!r),children:["+ ",((u=(p=t.authors)==null?void 0:p.slice($e))!=null?u:[]).length," more"]}):null]}):(0,f.jsx)(f.Fragment,{children:((x=t.authors)!=null?x:[]).length>0&&ps(t.authors)?(0,f.jsx)(Ne,{show:!0,items:(C=t.authors)!=null?C:[],contribSum:t.contribSum}):(0,f.jsx)("p",{children:"No authors found"})})})})]})}function ps(t){if(!t)return!1;for(let{contribs:e}of t)if(e>0)return!0;return!1}var Nt=h(j());var Ve=h(rt());var te=h(j()),ai=h(si());function ci(){let{ref:t,width:e,height:r}=(0,ai.useComponentSize)();return(0,te.useMemo)(()=>[t,{width:e,height:r}],[t,e,r])}function Ue(){let[t,e]=(0,te.useState)(!1);return(0,te.useEffect)(()=>{e(!0)},[e]),t}var F=h(A()),Ts="Git Truck",Ms="Analyzing | Git Truck",ui=(0,Nt.memo)(function(){var x;let e=Ue(),{repodata2:r,repo:o}=H(),n=mt(),i=Ht(),l=Zr(),[s,a]=(0,Nt.useState)(!1),[m,c]=(0,Nt.useState)(!1);(0,Nt.useEffect)(()=>{document.title=s?Ms:Ts},[s]);let p=C=>{a(!0),l(["",o.name,C].join("/"))};(0,Nt.useEffect)(()=>{n.state==="idle"&&a(!1)},[n.state]);let u=new Date(r.lastRunInfo.time).toISOString();return(0,F.jsx)("div",{className:"flex flex-col gap-2",children:(0,F.jsxs)("div",{className:"card",children:[(0,F.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,F.jsxs)("div",{className:"relative flex items-center",children:[(0,F.jsx)("button",{className:"btn--icon btn--primary",title:"See analysis details",onClick:()=>c(!0),children:(0,F.jsx)(Ve.Icon,{path:wo,size:"1.5em"})}),(0,F.jsxs)("div",{className:B("card absolute left-0 top-0 z-10 h-max w-max shadow transition-opacity",{"hidden opacity-0":!m}),children:[(0,F.jsx)("h2",{className:"card__title",children:"Analysis details"}),(0,F.jsx)(Vt,{onClick:()=>c(!1)}),(0,F.jsxs)("div",{className:"grid auto-rows-fr grid-cols-2 gap-0",children:[(0,F.jsx)("span",{children:"Analyzed"}),(0,F.jsx)("time",{className:"text-right",dateTime:u,title:u,children:e?Vo(r.lastRunInfo.time):""}),(0,F.jsx)("span",{children:"As of commit"}),(0,F.jsx)("span",{className:"text-right",children:(0,F.jsxs)(Wt,{inline:!0,children:["#",r.lastRunInfo.hash.slice(0,7)]})}),(0,F.jsx)("span",{children:"Files analyzed"}),(0,F.jsx)("span",{className:"text-right",children:(x=r.fileCount)!=null?x:0})]})]})]}),(0,F.jsx)("h2",{className:"card__title grow justify-start gap-2",title:o.name,children:o.name})]}),(0,F.jsxs)("div",{className:"flex w-full auto-cols-max place-items-stretch gap-2",children:[(0,F.jsxs)(Et,{className:"btn btn--primary grow",to:"..",title:"See all repositories",children:[(0,F.jsx)(Ve.Icon,{path:no,size:.75}),(0,F.jsx)("p",{children:"See more repositories"})]}),(0,F.jsxs)(wt,{method:"post",action:i.pathname,onSubmit:()=>{a(!0)},children:[(0,F.jsx)("input",{type:"hidden",name:"refresh",value:"true"}),(0,F.jsxs)("button",{className:"btn",disabled:n.state!=="idle",children:[(0,F.jsx)(Ve.Icon,{path:Bo,size:"1.25em"}),s?"Analyzing...":"Refresh"]})]})]}),(0,F.jsx)(Zo,{disabled:s,onChange:C=>p(C.target.value),defaultValue:"",headGroups:o.refs,analyzedHeads:o.analyzedHeads},o.currentHead)]})})});var We=h(rt()),Je=h(j()),et=h(A());function ks(t){if(!t.includes("/"))return t;let e=t.split("/");return e[e.length-1]}var mi=(0,Je.memo)(function(){let e=Ht(),[r,o]=ae(!1),n=mt(),{repodata2:i}=H(),l=(0,Je.useId)();return(0,et.jsxs)("div",{className:"card flex flex-col gap-2",children:[(0,et.jsxs)("h2",{className:"card__title cursor-pointer justify-start gap-2 hover:opacity-70",onClick:()=>o(!r),role:"button",children:[(0,et.jsx)(We.Icon,{path:ir,size:"1.25em"}),"Hidden files (",i.hiddenFiles.length,")",(0,et.jsx)(Yt,{id:l,className:"absolute right-2 top-2",open:r})]}),r?(0,et.jsx)("div",{children:i.hiddenFiles.map(s=>(0,et.jsxs)("div",{className:"grid grid-cols-[auto_1fr] gap-2",title:s,children:[(0,et.jsxs)(wt,{className:"w-4",method:"post",action:e.pathname,children:[(0,et.jsx)("input",{type:"hidden",name:"unignore",value:s}),(0,et.jsxs)("button",{className:"btn--icon btn--hover-swap h-4",title:"Show file",disabled:n.state!=="idle",children:[(0,et.jsx)(We.Icon,{path:ir,className:"inline-block h-full"}),(0,et.jsx)(We.Icon,{path:mo,className:"hover-swap inline-block h-full"})]})]}),(0,et.jsx)("span",{className:"text-sm opacity-70",children:ks(s)})]},s))}):null]})});var jr=h(rt());var G=h(A());function pi({hoveredObject:t,metricCache:e}){var c,p;let[r,o,n,i]=e.legend,l=100/r,s=!1,a=0,m=(p=(c=Q().clickedObject)!=null?c:t)!=null?p:null;return bt(m)&&(s=!0,a=l/2+l*i(m)),(0,G.jsx)(G.Fragment,{children:(0,G.jsxs)("div",{className:"relative",children:[(0,G.jsx)("div",{className:"flex",children:[...Array(r)].map((u,x)=>r>=4?(0,G.jsx)(Ls,{width:l,color:n(x),text:o(x),top:x%2===0},`legend-${x}`):(0,G.jsx)(As,{width:l,color:n(x),text:o(x)},`legend-${x}`))}),(0,G.jsx)(Ce,{offset:a,visible:s})]})})}function Ls({width:t,color:e,text:r,top:o}){return o?(0,G.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:`${t}%`},children:[(0,G.jsx)("div",{style:{textAlign:"left",height:"20px",marginBottom:"-6px"},children:r}),(0,G.jsx)("div",{style:{textAlign:"left",height:"20px",marginBottom:"-2px"},children:"/"}),(0,G.jsx)("div",{style:{backgroundColor:e,height:"20px"}}),(0,G.jsx)("div",{style:{textAlign:"left",height:"40px"}})]}):(0,G.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:`${t}%`},children:[(0,G.jsx)("div",{style:{textAlign:"left",height:"32px"}}),(0,G.jsx)("div",{style:{backgroundColor:e,height:"20px"}}),(0,G.jsx)("div",{style:{textAlign:"left",height:"20px",marginTop:"-7px"},children:"\\"}),(0,G.jsx)("div",{style:{textAlign:"left",height:"20px",marginTop:"-4px"},children:r})]})}function As({width:t,color:e,text:r}){return(0,G.jsxs)("div",{style:{display:"flex",flexDirection:"column",width:`${t}%`},children:[(0,G.jsx)("div",{style:{textAlign:"left",height:"20px",marginBottom:"-6px"},children:r}),(0,G.jsx)("div",{style:{textAlign:"left",height:"20px",marginBottom:"-2px"},children:"/"}),(0,G.jsx)("div",{style:{backgroundColor:e,height:"20px"}})]})}var di=h(j());var vt=h(A());function hi({hoveredObject:t,metricCache:e}){var C,b;let[r,o,n,i,l,s]=e.legend,{clickedObject:a}=Q(),m=(b=(C=a==null?void 0:a.path)!=null?C:t==null?void 0:t.path)!=null?b:null,c=m?e.colormap.get(m):null,p=c?Me(c):-1,u=(0,di.useMemo)(()=>{let d=Me(l),N=Me(s)-d;return N===0?1:(p-d)/N},[p,s,l]),x=m!==null;return(0,vt.jsxs)(vt.Fragment,{children:[(0,vt.jsxs)("div",{className:"flex justify-between",children:[(0,vt.jsx)("span",{className:"font-bold",title:n,children:r}),(0,vt.jsx)("span",{className:"font-bold",title:i,children:o})]}),(0,vt.jsx)("div",{className:"relative h-6 w-full rounded-full",style:{backgroundImage:`linear-gradient(to right, ${l}, ${s})`},children:(0,vt.jsx)(Ce,{offset:u*100,visible:x})})]})}var gi=h(j());var W=h(A());function fi({hoveredObject:t,showUnionAuthorsModal:e,className:r=""}){var u;let o=xe(),{metricType:n}=at(),[i]=ot(),l=(0,gi.useDeferredValue)(t),{repo:s}=H(),a=mt(),m=(u=i.get(n))!=null?u:void 0;if(m===void 0)return null;let c=(0,W.jsx)(W.Fragment,{});switch(_n(n)){case"POINT":c=(0,W.jsx)(Nn,{metricCache:m,hoveredObject:l});break;case"GRADIENT":c=(0,W.jsx)(hi,{metricCache:m,hoveredObject:l});break;case"SEGMENTS":c=(0,W.jsx)(pi,{metricCache:m,hoveredObject:l});break}function p(){let x=new FormData;x.append("rerollColors",""),o(x,{action:`/${Rt(s.name,s.currentHead)}`,method:"post"})}return(0,W.jsxs)("div",{className:`card flex-shrink-0 overflow-hidden ${r}`,children:[(0,W.jsx)("h2",{className:"card__title",children:"Legend"}),(0,W.jsx)("h3",{className:"card__subtitle",children:Kt[n]}),(0,W.jsx)("p",{className:"card-p",children:Bn(n)}),n==="TOP_CONTRIBUTOR"||n==="SINGLE_AUTHOR"?(0,W.jsxs)(W.Fragment,{children:[(0,W.jsxs)("button",{className:"btn",onClick:e,children:[(0,W.jsx)(jr.Icon,{path:$t}),"Group authors"]}),(0,W.jsxs)("button",{className:"btn",disabled:a.state!=="idle",onClick:p,children:[(0,W.jsx)(jr.Icon,{path:uo}),"Generate new author colors"]})]}):null,c]})}var bi=h(rt());var ce=h(A());function ee(t){let e=Object.entries(t.enum);return(0,ce.jsx)("div",{className:"flex flex-wrap gap-0",children:e.map(([r,o])=>(0,ce.jsxs)("button",{className:B("btn flex h-auto w-max justify-between gap-2 rounded-lg px-1 py-1 text-xs/none",{"btn--primary":r===t.defaultValue,"btn--outlined border-transparent hover:text-blue-500":r!==t.defaultValue}),onClick:()=>t.onChange(r),children:[(0,ce.jsx)(bi.default,{path:t.iconMap[r],size:"1rem"}),o]},r))})}var dt=h(rt()),Xe=h(j());var O=h(A()),yi=(0,Xe.memo)(function(){let{metricType:e,chartType:r,depthType:o,sizeMetric:n,hierarchyType:i,transitionsEnabled:l,renderCutoff:s,setTransitionsEnabled:a,labelsVisible:m,setLabelsVisible:c,setMetricType:p,setChartType:u,setDepthType:x,setHierarchyType:C,setSizeMetricType:b,setRenderCutoff:d}=at(),[T,N]=ur("LINK_METRIC_AND_SIZE_METRIC",!1),D={FILE_TYPE:go,LAST_CHANGED:ar,MOST_COMMITS:lr,SINGLE_AUTHOR:ro,TOP_CONTRIBUTOR:Fo,TRUCK_FACTOR:sr},_={FILE_SIZE:_o,EQUAL_SIZE:Go,MOST_COMMITS:lr,TRUCK_FACTOR:sr,LAST_CHANGED:ar},M={BUBBLE_CHART:lo,TREE_MAP:or},k={NESTED:bo,FLAT:or},E={FILE_TYPE:"FILE_SIZE",TRUCK_FACTOR:"TRUCK_FACTOR",TOP_CONTRIBUTOR:"TRUCK_FACTOR",MOST_COMMITS:"MOST_COMMITS",SINGLE_AUTHOR:"TRUCK_FACTOR",LAST_CHANGED:"LAST_CHANGED"},[q,S]=(0,Xe.useTransition)();return(0,O.jsx)(O.Fragment,{children:(0,O.jsxs)("div",{className:"card",children:[(0,O.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,O.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,O.jsx)(dt.Icon,{path:Io,size:"1.25em"}),"Layout"]}),(0,O.jsx)(ee,{enum:Cr,defaultValue:r,onChange:g=>u(g),iconMap:M})]}),(0,O.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,O.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,O.jsx)(dt.Icon,{path:Ro,size:"1.25em"}),"Color"]}),(0,O.jsx)(ee,{enum:Kt,defaultValue:e,onChange:g=>{if(p(g),!T)return;let v=E[g];v&&b(v)},iconMap:D})]}),(0,O.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,O.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,O.jsx)(dt.Icon,{path:So,size:"1.25em"}),"Size"]}),(0,O.jsx)(ee,{enum:Be,defaultValue:n,onChange:g=>b(g),iconMap:_})]}),(0,O.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,O.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,O.jsx)(dt.Icon,{path:po,size:"1.25em"}),"Hiearchy"]}),(0,O.jsx)(ee,{enum:Sr,defaultValue:i,onChange:g=>C(g),iconMap:k})]}),i==="NESTED"?(0,O.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,O.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,O.jsx)(dt.Icon,{path:$o,size:"1.25em"}),"Depth"]}),(0,O.jsx)(ee,{enum:_e,defaultValue:o,onChange:g=>x(g),iconMap:zn})]}):null,(0,O.jsxs)("fieldset",{className:"rounded-lg border p-2",children:[(0,O.jsxs)("legend",{className:"card__title ml-1.5 justify-start gap-2",children:[(0,O.jsx)(dt.Icon,{path:ao,size:"1.25em"}),"Settings"]}),(0,O.jsxs)(Jt,{className:"text-sm",checked:Boolean(T),onChange:g=>{N(g.target.checked),g.target.checked&&b(E[e])},title:"Enable to sync size metric with color metric",children:[(0,O.jsx)(dt.Icon,{className:"ml-1.5",path:Mo,size:"1.25em"}),(0,O.jsx)("span",{children:"Link size and color option"})]}),(0,O.jsxs)(Jt,{className:"text-sm",checked:l,onChange:g=>a(g.target.checked),title:"Disable to improve performance when zooming",children:[(0,O.jsx)(dt.Icon,{className:"ml-1.5",path:Ho,size:"1.25em"}),"Transitions"]}),(0,O.jsxs)(Jt,{className:"text-sm",checked:m,onChange:g=>c(g.target.checked),title:"Disable to improve performance",children:[(0,O.jsx)(dt.Icon,{className:"ml-1.5",path:To,size:"1.25em"}),"Labels"]}),(0,O.jsxs)("label",{className:"label flex w-full items-center justify-start gap-2 text-sm",title:"Adjust the item rendering size threshold",children:[(0,O.jsxs)("span",{className:"flex grow items-center gap-2",children:[(0,O.jsx)(dt.Icon,{className:"ml-1.5",path:co,size:"1.25em"}),"Pixel render cut-off ",q?(0,O.jsx)("img",{src:qo,alt:"...",className:"h-5"}):""]}),(0,O.jsx)("input",{type:"number",min:0,defaultValue:s,className:"mr-1 w-12 place-self-end border-b-2",onChange:g=>S(()=>d(g.target.valueAsNumber))})]})]})]})})});var it=h(j());var Ye=h(j()),Pr=(0,Ye.createContext)(void 0);function ue(){let t=(0,Ye.useContext)(Pr);if(!t)throw new Error("useSearch must be used within a SearchProvider");return t}var Dr="options";var Er=h(j()),xi=(0,Er.createContext)(null);function Ke(){return{startDate:null,endDate:null,setStartDate:t=>{throw new Error("No setStartDate provided")},setEndDate:t=>{throw new Error("No setEndDate provided")}}}var jt=h(A());function vi({children:t,data:e}){let[r,o]=(0,it.useState)(null),[n,i]=(0,it.useState)(null),[l,s]=(0,it.useState)({}),[a,m]=(0,it.useState)(e.repo.name),[c,p]=(0,it.useState)(null),u=(0,it.useMemo)(()=>In(e,e.truckConfig.colorSeed),[e]),x=(0,it.useMemo)(()=>({...Ke(),...n,setStartDate:b=>{i(d=>({...d!=null?d:Ke(),startDate:b}))},setEndDate:b=>{i(d=>({...d!=null?d:Ke(),endDate:b}))}}),[n]),C=(0,it.useMemo)(()=>({...nt(),...r,setMetricType:b=>o(d=>({...d!=null?d:nt(),metricType:b})),setChartType:b=>o(d=>({...d!=null?d:nt(),chartType:b})),setDepthType:b=>o(d=>({...d!=null?d:nt(),depthType:b})),setHierarchyType:b=>o(d=>({...d!=null?d:nt(),hierarchyType:b})),setSizeMetricType:b=>o(d=>({...d!=null?d:nt(),sizeMetric:b})),setHoveredBlob:b=>o(d=>({...d!=null?d:nt(),hoveredBlob:b})),setClickedObject:b=>o(d=>({...d!=null?d:nt(),clickedObject:b})),setTransitionsEnabled:b=>o(d=>({...d!=null?d:nt(),transitionsEnabled:b})),setLabelsVisible:b=>o(d=>({...d!=null?d:nt(),labelsVisible:b})),setRenderCutoff:b=>o(d=>({...d!=null?d:nt(),renderCutoff:b}))}),[r]);return(0,it.useEffect)(()=>{let b=!1;return r&&requestAnimationFrame(()=>{b||localStorage.setItem(Dr,JSON.stringify(r))}),()=>{b=!0}},[r]),(0,it.useEffect)(()=>{let b=localStorage.getItem(Dr);b&&o({...nt(JSON.parse(b)),hasLoadedSavedOptions:!0})},[]),(0,jt.jsx)(br.Provider,{value:e,children:(0,jt.jsx)(hr.Provider,{value:u,children:(0,jt.jsx)(wr.Provider,{value:C,children:(0,jt.jsx)(Pr.Provider,{value:{searchResults:l,setSearchResults:s},children:(0,jt.jsx)(Tr.Provider,{value:{path:a,setPath:m},children:(0,jt.jsx)(fr.Provider,{value:{clickedObject:c,setClickedObject:p},children:(0,jt.jsx)(xi.Provider,{value:x,children:t})})})})})})})}var Z=h(j());var Rr=h(rt());var X=h(A());function Os(t,e){let r={};function o(n){for(let i of n.children)i.name.toLowerCase().includes(e.toLowerCase())&&e&&(r[i.path]=i),i.type==="tree"&&o(i)}return o(t),r}var Ci=(0,Z.memo)(function(){let e=(0,Z.useRef)(null),[r,o]=(0,Z.useTransition)(),[n,i]=(0,Z.useState)(""),{searchResults:l,setSearchResults:s}=ue(),a=(0,Z.useMemo)(()=>Object.values(l),[l]),m=(0,Z.useId)(),{repodata2:c}=H();return(0,Z.useEffect)(()=>{let p=u=>{var x;u.ctrlKey&&u.key==="f"&&(u.preventDefault(),(x=e.current)==null||x.focus())};return document.body.addEventListener("keydown",p),()=>{document.body.removeEventListener("keydown",p)}},[]),(0,X.jsxs)(X.Fragment,{children:[(0,X.jsxs)("div",{className:"card sticky top-0 z-10 flex flex-col gap-2",children:[(0,X.jsxs)("h2",{className:"card__title justify-start gap-2",children:[(0,X.jsx)(Rr.Icon,{path:ko,size:"1.25em"}),"Search"]}),(0,X.jsxs)("div",{className:"flex gap-2",children:[(0,X.jsx)("input",{className:"input",ref:e,id:m,type:"search",placeholder:"Search for a file or folder...",value:n,onChange:p=>{let u=p.target.value;i(u),o(()=>{u.trim()===""&&s({}),s(Os(c.fileTree,u))})}}),(0,X.jsx)("button",{className:"btn btn--primary",onClick:()=>{e.current&&(i(""),o(()=>{s({})}))},disabled:n.trim()==="",children:"Clear"})]}),r||n.length>0?(0,X.jsx)("p",{className:"card-p",children:r?"Searching...":n.length>0?`${a.length} results`:null}):null]}),a.length>0?(0,X.jsx)(Ns,{}):null]})}),Ns=(0,Z.memo)(function(){let{setPath:e}=Mt(),{setClickedObject:r}=Q(),{searchResults:o}=ue();function n(i){if(r(i),i.type==="tree")e(i.path);else{let l=Ko(i.path);e(Xo(i.path.split(l)).join(l))}}return(0,X.jsx)("div",{className:"card relative gap-0",children:Object.values(o).map(i=>(0,X.jsxs)("button",{className:"flex items-center justify-start gap-2 text-sm font-bold opacity-70 hover:opacity-100",title:i.path,value:i.path,onClick:()=>n(i),children:[(0,X.jsx)(Rr.Icon,{path:i.type==="tree"?Ut:fo,size:.75,className:"shrink-0"}),(0,X.jsx)("span",{className:"truncate",children:i.name})]},i.path))})});var me=h(j());var Ir=h(rt());var P=h(A());function Si({visible:t,onClose:e}){let{repo:r,repodata2:o}=H(),n=xe(),{authors:i}=o,l=o.authorUnions,[s,a]=(0,me.useState)([]),[m,c]=(0,me.useState)(""),p=mt(),[,u]=ot(),[,x]=(0,me.useTransition)(),C=l.reduce((y,L)=>[...y,...L],[]).sort(Fr);function b(y){let L=l.filter((R,z)=>z!==y),I=new FormData;I.append("unionedAuthors",JSON.stringify(L)),n(I,{action:`/${Rt(r.name,r.currentHead)}`,method:"post"})}function d(){let y=new FormData;y.append("unionedAuthors",JSON.stringify([])),n(y,{action:`/${Rt(r.name,r.currentHead)}`,method:"post"})}function T(){if(s.length===0)return;let y=new FormData;y.append("unionedAuthors",JSON.stringify([...l,s])),n(y,{action:`/${Rt(r.name,r.currentHead)}`,method:"post"}),a([])}function N(y,L){let I=l.map((z,K)=>K===L?[y,...z.filter(Dt=>Dt!==y)]:z),R=new FormData;R.append("unionedAuthors",JSON.stringify(I)),n(R,{action:`/${Rt(r.name,r.currentHead)}`,method:"post"})}let D=p.state!=="idle",_=i.filter(y=>!C.includes(y)).slice(0).sort(Fr);function M(y){y.target===y.currentTarget&&e()}cr("Escape",e);let k=y=>{var L;return(L=u.get(y))!=null?L:"#333"};if(!t)return null;let E=_.length===0?"All detected authors have been grouped":"Select the authors that you know are the same person",q=l.length===0?"No authors have been grouped yet":"",S=_.filter(y=>y.toLowerCase().includes(m.toLowerCase())).map(y=>(0,P.jsx)(Jt,{className:"hover:opacity-70",checked:s.includes(y),onChange:L=>{var R;let I=(R=L.target)!=null&&R.checked?[...s,y]:s.filter(z=>z!==y);a(I)},children:(0,P.jsxs)("div",{className:"inline-flex flex-row place-items-center gap-2",children:[(0,P.jsx)(gt,{dotColor:k(y)}),y]})},y)),g=l.map((y,L)=>{let I=y[0],R=p.state!=="idle",z=k(I);return(0,P.jsxs)("div",{className:"card m-0 flex flex-col p-2",children:[(0,P.jsxs)("div",{className:"inline-flex flex-row place-items-center gap-2",children:[(0,P.jsx)(gt,{dotColor:z}),(0,P.jsx)("b",{children:I})]}),y.slice(1).sort(Fr).map(K=>(0,P.jsx)(v,{alias:K,onClick:()=>N(K,L),disabled:R},K)),(0,P.jsx)("div",{className:"flex justify-end",children:(0,P.jsx)("button",{className:"btn",onClick:()=>b(L),title:"Ungroup",disabled:R,children:"Ungroup"})})]},L)});return(0,P.jsx)("div",{className:"fixed inset-0 z-10 grid bg-black/50 p-2",onClick:M,children:(0,P.jsxs)("div",{className:"card relative mx-auto grid h-full max-h-full w-auto max-w-screen-lg grid-flow-col grid-cols-[1fr_1fr] grid-rows-[max-content_max-content_max-content_max-content_1fr_max-content] gap-4 overflow-hidden",children:[(0,P.jsx)("h2",{className:"col-span-2 text-2xl",children:"Group authors"}),(0,P.jsx)("h3",{className:"text-lg font-bold",children:"Ungrouped authors"}),_.length>0?(0,P.jsxs)("div",{className:"flex justify-end gap-2",children:[(0,P.jsx)("input",{className:"input",type:"search",placeholder:"Filter...",onChange:y=>x(()=>c(y.target.value))}),(0,P.jsx)("button",{disabled:D||s.length===0,onClick:()=>a([]),className:"btn flex-grow",children:"Clear"}),(0,P.jsxs)("button",{className:"btn btn--primary",onClick:T,title:"Group the selected authors",disabled:D||s.length===0,children:[(0,P.jsx)(Ir.Icon,{path:$t,size:1}),"Group"]})]}):(0,P.jsx)("div",{}),(0,P.jsx)("p",{children:E}),(0,P.jsx)("div",{className:"min-h-0 overflow-y-auto rounded-md bg-slate-50 p-4 shadow-inner",children:S}),(0,P.jsx)("div",{}),(0,P.jsx)("h3",{className:"text-lg font-bold",children:"Grouped authors"}),(0,P.jsx)("div",{className:"mr-6 flex justify-end gap-4",children:l.length>0?(0,P.jsx)("button",{className:"btn btn--danger",disabled:D,onClick:()=>{confirm("Are you sure you want to ungroup all grouped authors?")&&d()},children:"Ungroup all"}):(0,P.jsx)("div",{})}),(0,P.jsx)("p",{children:q}),(0,P.jsx)("div",{className:"flex flex-col gap-4 overflow-y-auto rounded-md bg-slate-50 p-4 shadow-inner",children:l.length>0?g:null}),(0,P.jsx)("div",{className:"mr-6 flex justify-end gap-4",children:(0,P.jsx)("button",{className:"btn",onClick:e,children:"Done"})}),(0,P.jsx)(Vt,{onClick:e})]})});function v({alias:y,onClick:L,disabled:I}){return(0,P.jsxs)("button",{className:"btn--icon flex grid-flow-col gap-2 text-sm [&:hover>svg]:opacity-50 [&>svg]:opacity-0",disabled:I,onClick:L,title:"Make display name for this grouping",children:[(0,P.jsx)(Ir.Icon,{path:io,size:.75}),(0,P.jsx)("label",{className:"label",children:y})]},y)}}var Fr=(t,e)=>t.toLowerCase().localeCompare(e.toLowerCase());var Qe=h(rt()),pe=h(j());var ht=h(A());function wi(){let{repo:t}=H(),{path:e,setPath:r}=Mt(),o=(0,pe.useMemo)(()=>{let n=e,i=[];for(let l=0;l<8&&n!=="";l++){let s=n.lastIndexOf("/");i.push([n.substring(s+1),n]),n=n.substring(0,s)}return n!==""&&(i=i.slice(0,i.length-1),i.push(["...",""]),i.push([t.name,t.name])),i.reverse()},[e,t.name]);return(0,ht.jsx)("div",{className:"flex items-center gap-1",children:o.length>1?o.map(([n,i],l)=>i===""||l===o.length-1?i===""?(0,ht.jsxs)(pe.Fragment,{children:[(0,ht.jsx)("span",{className:"font-bold",children:n}),(0,ht.jsx)(Qe.default,{path:qt,size:1})]},i):(0,ht.jsx)("span",{className:"font-bold",children:n},i):(0,ht.jsxs)(pe.Fragment,{children:[(0,ht.jsxs)("button",{className:"card flex flex-row gap-2 px-2 py-1 font-bold hover:opacity-70",onClick:()=>r(i),children:[l===0?(0,ht.jsx)(Qe.default,{path:Co,size:1}):null,n]}),(0,ht.jsx)(Qe.default,{path:qt,size:1})]},i)):null})}var Ze=h(rt()),Ti=h(j()),Ct=h(A()),Mi=(0,Ti.memo)(function(){return(0,Ct.jsxs)("div",{className:"card",children:[(0,Ct.jsxs)("div",{className:"flex items-center justify-between",children:[(0,Ct.jsx)("h3",{className:"card__title",children:"Help improve Git Truck"}),(0,Ct.jsx)(Ze.default,{path:yo,size:1})]}),(0,Ct.jsxs)("a",{className:"btn",href:"https://docs.google.com/forms/d/e/1FAIpQLSclLnUCPb0wLZx5RulQLaI_N_4wjNkd6z7YLkA3BzNVFjfiEg/viewform?usp=sf_link",target:"_blank",rel:"noopener noreferrer",children:[(0,Ct.jsx)(Ze.default,{path:Ao}),"Answer questionnaire"]}),(0,Ct.jsxs)("a",{className:"btn",href:"https://github.com/git-truck/git-truck/issues/new?template=user-issue.md",target:"_blank",rel:"noopener noreferrer",children:[(0,Ct.jsx)(Ze.default,{path:oo}),"Open an issue"]})]})});function js(t){var e=0,r=t.children,o=r&&r.length;if(!o)e=1;else for(;--o>=0;)e+=r[o].value;t.value=e}function ki(){return this.eachAfter(js)}function Li(t,e){let r=-1;for(let o of this)t.call(e,o,++r,this);return this}function Ai(t,e){for(var r=this,o=[r],n,i,l=-1;r=o.pop();)if(t.call(e,r,++l,this),n=r.children)for(i=n.length-1;i>=0;--i)o.push(n[i]);return this}function Oi(t,e){for(var r=this,o=[r],n=[],i,l,s,a=-1;r=o.pop();)if(n.push(r),i=r.children)for(l=0,s=i.length;l<s;++l)o.push(i[l]);for(;r=n.pop();)t.call(e,r,++a,this);return this}function Ni(t,e){let r=-1;for(let o of this)if(t.call(e,o,++r,this))return o}function ji(t){return this.eachAfter(function(e){for(var r=+t(e.data)||0,o=e.children,n=o&&o.length;--n>=0;)r+=o[n].value;e.value=r})}function Pi(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}function Di(t){for(var e=this,r=Ps(e,t),o=[e];e!==r;)e=e.parent,o.push(e);for(var n=o.length;t!==r;)o.splice(n,0,t),t=t.parent;return o}function Ps(t,e){if(t===e)return t;var r=t.ancestors(),o=e.ancestors(),n=null;for(t=r.pop(),e=o.pop();t===e;)n=t,t=r.pop(),e=o.pop();return n}function Ei(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e}function Ri(){return Array.from(this)}function Fi(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}function Ii(){var t=this,e=[];return t.each(function(r){r!==t&&e.push({source:r.parent,target:r})}),e}function*Bi(){var t=this,e,r=[t],o,n,i;do for(e=r.reverse(),r=[];t=e.pop();)if(yield t,o=t.children)for(n=0,i=o.length;n<i;++n)r.push(o[n]);while(r.length)}function re(t,e){t instanceof Map?(t=[void 0,t],e===void 0&&(e=Rs)):e===void 0&&(e=Es);for(var r=new de(t),o,n=[r],i,l,s,a;o=n.pop();)if((l=e(o.data))&&(a=(l=Array.from(l)).length))for(o.children=l,s=a-1;s>=0;--s)n.push(i=l[s]=new de(l[s])),i.parent=o,i.depth=o.depth+1;return r.eachBefore(Is)}function Ds(){return re(this).eachBefore(Fs)}function Es(t){return t.children}function Rs(t){return Array.isArray(t)?t[1]:null}function Fs(t){t.data.value!==void 0&&(t.value=t.data.value),t.data=t.data.data}function Is(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function de(t){this.data=t,this.depth=this.height=0,this.parent=null}de.prototype=re.prototype={constructor:de,count:ki,each:Li,eachAfter:Oi,eachBefore:Ai,find:Ni,sum:ji,sort:Pi,path:Di,ancestors:Ei,descendants:Ri,leaves:Fi,links:Ii,copy:Ds,[Symbol.iterator]:Bi};function _i(t){return t==null?null:Br(t)}function Br(t){if(typeof t!="function")throw new Error;return t}function Lt(){return 0}function Pt(t){return function(){return t}}function Gi(){let t=1;return()=>(t=(1664525*t+1013904223)%4294967296)/4294967296}function zi(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Hi(t,e){let r=t.length,o,n;for(;r;)n=e()*r--|0,o=t[r],t[r]=t[n],t[n]=o;return t}function $i(t,e){for(var r=0,o=(t=Hi(Array.from(t),e)).length,n=[],i,l;r<o;)i=t[r],l&&qi(l,i)?++r:(l=_s(n=Bs(n,i)),r=0);return l}function Bs(t,e){var r,o;if(_r(e,t))return[e];for(r=0;r<t.length;++r)if(tr(e,t[r])&&_r(he(t[r],e),t))return[t[r],e];for(r=0;r<t.length-1;++r)for(o=r+1;o<t.length;++o)if(tr(he(t[r],t[o]),e)&&tr(he(t[r],e),t[o])&&tr(he(t[o],e),t[r])&&_r(Ui(t[r],t[o],e),t))return[t[r],t[o],e];throw new Error}function tr(t,e){var r=t.r-e.r,o=e.x-t.x,n=e.y-t.y;return r<0||r*r<o*o+n*n}function qi(t,e){var r=t.r-e.r+Math.max(t.r,e.r,1)*1e-9,o=e.x-t.x,n=e.y-t.y;return r>0&&r*r>o*o+n*n}function _r(t,e){for(var r=0;r<e.length;++r)if(!qi(t,e[r]))return!1;return!0}function _s(t){switch(t.length){case 1:return Gs(t[0]);case 2:return he(t[0],t[1]);case 3:return Ui(t[0],t[1],t[2])}}function Gs(t){return{x:t.x,y:t.y,r:t.r}}function he(t,e){var r=t.x,o=t.y,n=t.r,i=e.x,l=e.y,s=e.r,a=i-r,m=l-o,c=s-n,p=Math.sqrt(a*a+m*m);return{x:(r+i+a/p*c)/2,y:(o+l+m/p*c)/2,r:(p+n+s)/2}}function Ui(t,e,r){var o=t.x,n=t.y,i=t.r,l=e.x,s=e.y,a=e.r,m=r.x,c=r.y,p=r.r,u=o-l,x=o-m,C=n-s,b=n-c,d=a-i,T=p-i,N=o*o+n*n-i*i,D=N-l*l-s*s+a*a,_=N-m*m-c*c+p*p,M=x*C-u*b,k=(C*_-b*D)/(M*2)-o,E=(b*d-C*T)/M,q=(x*D-u*_)/(M*2)-n,S=(u*T-x*d)/M,g=E*E+S*S-1,v=2*(i+k*E+q*S),y=k*k+q*q-i*i,L=-(Math.abs(g)>1e-6?(v+Math.sqrt(v*v-4*g*y))/(2*g):y/v);return{x:o+k+E*L,y:n+q+S*L,r:L}}function Vi(t,e,r){var o=t.x-e.x,n,i,l=t.y-e.y,s,a,m=o*o+l*l;m?(i=e.r+r.r,i*=i,a=t.r+r.r,a*=a,i>a?(n=(m+a-i)/(2*m),s=Math.sqrt(Math.max(0,a/m-n*n)),r.x=t.x-n*o-s*l,r.y=t.y-n*l+s*o):(n=(m+i-a)/(2*m),s=Math.sqrt(Math.max(0,i/m-n*n)),r.x=e.x+n*o-s*l,r.y=e.y+n*l+s*o)):(r.x=e.x+r.r,r.y=e.y)}function Wi(t,e){var r=t.r+e.r-1e-6,o=e.x-t.x,n=e.y-t.y;return r>0&&r*r>o*o+n*n}function Ji(t){var e=t._,r=t.next._,o=e.r+r.r,n=(e.x*r.r+r.x*e.r)/o,i=(e.y*r.r+r.y*e.r)/o;return n*n+i*i}function er(t){this._=t,this.next=null,this.previous=null}function Xi(t,e){if(!(i=(t=zi(t)).length))return 0;var r,o,n,i,l,s,a,m,c,p,u;if(r=t[0],r.x=0,r.y=0,!(i>1))return r.r;if(o=t[1],r.x=-o.r,o.x=r.r,o.y=0,!(i>2))return r.r+o.r;Vi(o,r,n=t[2]),r=new er(r),o=new er(o),n=new er(n),r.next=n.previous=o,o.next=r.previous=n,n.next=o.previous=r;t:for(a=3;a<i;++a){Vi(r._,o._,n=t[a]),n=new er(n),m=o.next,c=r.previous,p=o._.r,u=r._.r;do if(p<=u){if(Wi(m._,n._)){o=m,r.next=o,o.previous=r,--a;continue t}p+=m._.r,m=m.next}else{if(Wi(c._,n._)){r=c,r.next=o,o.previous=r,--a;continue t}u+=c._.r,c=c.previous}while(m!==c.next);for(n.previous=r,n.next=o,r.next=o.previous=o=n,l=Ji(r);(n=n.next)!==o;)(s=Ji(n))<l&&(r=n,l=s);o=r.next}for(r=[o._],n=o;(n=n.next)!==o;)r.push(n._);for(n=$i(r,e),a=0;a<i;++a)r=t[a],r.x-=n.x,r.y-=n.y;return n.r}function zs(t){return Math.sqrt(t.value)}function zr(){var t=null,e=1,r=1,o=Lt;function n(i){let l=Gi();return i.x=e/2,i.y=r/2,t?i.eachBefore(Yi(t)).eachAfter(Gr(o,.5,l)).eachBefore(Ki(1)):i.eachBefore(Yi(zs)).eachAfter(Gr(Lt,1,l)).eachAfter(Gr(o,i.r/Math.min(e,r),l)).eachBefore(Ki(Math.min(e,r)/(2*i.r))),i}return n.radius=function(i){return arguments.length?(t=_i(i),n):t},n.size=function(i){return arguments.length?(e=+i[0],r=+i[1],n):[e,r]},n.padding=function(i){return arguments.length?(o=typeof i=="function"?i:Pt(+i),n):o},n}function Yi(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function Gr(t,e,r){return function(o){if(n=o.children){var n,i,l=n.length,s=t(o)*e||0,a;if(s)for(i=0;i<l;++i)n[i].r+=s;if(a=Xi(n,r),s)for(i=0;i<l;++i)n[i].r-=s;o.r=a+s}}}function Ki(t){return function(e){var r=e.parent;e.r*=t,r&&(e.x=r.x+t*e.x,e.y=r.y+t*e.y)}}function Qi(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Zi(t,e,r,o,n){for(var i=t.children,l,s=-1,a=i.length,m=t.value&&(o-e)/t.value;++s<a;)l=i[s],l.y0=r,l.y1=n,l.x0=e,l.x1=e+=l.value*m}function tl(t,e,r,o,n){for(var i=t.children,l,s=-1,a=i.length,m=t.value&&(n-r)/t.value;++s<a;)l=i[s],l.x0=e,l.x1=o,l.y0=r,l.y1=r+=l.value*m}var Hs=(1+Math.sqrt(5))/2;function $s(t,e,r,o,n,i){for(var l=[],s=e.children,a,m,c=0,p=0,u=s.length,x,C,b=e.value,d,T,N,D,_,M,k;c<u;){x=n-r,C=i-o;do d=s[p++].value;while(!d&&p<u);for(T=N=d,M=Math.max(C/x,x/C)/(b*t),k=d*d*M,_=Math.max(N/k,k/T);p<u;++p){if(d+=m=s[p].value,m<T&&(T=m),m>N&&(N=m),k=d*d*M,D=Math.max(N/k,k/T),D>_){d-=m;break}_=D}l.push(a={value:d,dice:x<C,children:s.slice(c,p)}),a.dice?Zi(a,r,o,n,b?o+=C*d/b:i):tl(a,r,o,b?r+=x*d/b:n,i),b-=d,c=p}return l}var el=function t(e){function r(o,n,i,l,s){$s(e,o,n,i,l,s)}return r.ratio=function(o){return t((o=+o)>1?o:1)},r}(Hs);function Hr(){var t=el,e=!1,r=1,o=1,n=[0],i=Lt,l=Lt,s=Lt,a=Lt,m=Lt;function c(u){return u.x0=u.y0=0,u.x1=r,u.y1=o,u.eachBefore(p),n=[0],e&&u.eachBefore(Qi),u}function p(u){var x=n[u.depth],C=u.x0+x,b=u.y0+x,d=u.x1-x,T=u.y1-x;d<C&&(C=d=(C+d)/2),T<b&&(b=T=(b+T)/2),u.x0=C,u.y0=b,u.x1=d,u.y1=T,u.children&&(x=n[u.depth+1]=i(u)/2,C+=m(u)-x,b+=l(u)-x,d-=s(u)-x,T-=a(u)-x,d<C&&(C=d=(C+d)/2),T<b&&(b=T=(b+T)/2),t(u,C,b,d,T))}return c.round=function(u){return arguments.length?(e=!!u,c):e},c.size=function(u){return arguments.length?(r=+u[0],o=+u[1],c):[r,o]},c.tile=function(u){return arguments.length?(t=Br(u),c):t},c.padding=function(u){return arguments.length?c.paddingInner(u).paddingOuter(u):c.paddingInner()},c.paddingInner=function(u){return arguments.length?(i=typeof u=="function"?u:Pt(+u),c):i},c.paddingOuter=function(u){return arguments.length?c.paddingTop(u).paddingRight(u).paddingBottom(u).paddingLeft(u):c.paddingTop()},c.paddingTop=function(u){return arguments.length?(l=typeof u=="function"?u:Pt(+u),c):l},c.paddingRight=function(u){return arguments.length?(s=typeof u=="function"?u:Pt(+u),c):s},c.paddingBottom=function(u){return arguments.length?(a=typeof u=="function"?u:Pt(+u),c):a},c.paddingLeft=function(u){return arguments.length?(m=typeof u=="function"?u:Pt(+u),c):m},c}function $r(t,e,r,o,n){var i=t.children,l,s=i.length,a,m=new Array(s+1);for(m[0]=a=l=0;l<s;++l)m[l+1]=a+=i[l].value;c(0,s,t.value,e,r,o,n);function c(p,u,x,C,b,d,T){if(p>=u-1){var N=i[p];N.x0=C,N.y0=b,N.x1=d,N.y1=T;return}for(var D=m[p],_=x/2+D,M=p+1,k=u-1;M<k;){var E=M+k>>>1;m[E]<_?M=E+1:k=E}_-m[M-1]<m[M]-_&&p+1<M&&--M;var q=m[M]-D,S=x-q;if(d-C>T-b){var g=x?(C*S+d*q)/x:d;c(p,M,q,C,b,g,T),c(M,u,S,g,b,d,T)}else{var v=x?(b*S+T*q)/x:T;c(p,M,q,C,b,d,v),c(M,u,S,C,v,d,T)}}}var St=h(j());var rl="red";var J=h(A()),sl=(0,St.memo)(function({setHoveredObject:e}){let[r,o]=ci(),{searchResults:n}=ue(),i=(0,St.useDeferredValue)(o),{repodata2:l}=H(),{chartType:s,sizeMetric:a,depthType:m,hierarchyType:c,labelsVisible:p,renderCutoff:u}=at(),{path:x}=Mt(),{clickedObject:C,setClickedObject:b}=Q(),{setPath:d}=Mt(),T;switch(m){case"One":T=1;break;case"Two":T=2;break;case"Three":T=3;break;case"Four":T=4;break;case"Five":T=5;break;case"Full":default:T=void 0}let N=(0,St.useMemo)(()=>{let M=Ys(l.fileTree,l.hiddenFiles);return c==="NESTED"?M:{...M,children:al(M)}},[l.fileTree,c,l.hiddenFiles]),D=(0,St.useMemo)(()=>i.width===0||i.height===0?[]:ea(l,N,i,s,a,x,u).descendants(),[i,s,a,x,u,l,N]);(0,St.useEffect)(()=>{e(null)},[s,i,e]);let _=(M,k)=>bt(M.data)?{onClick:E=>(E.stopPropagation(),b(M.data)),onMouseOver:()=>e(M.data),onMouseOut:()=>e(null)}:{onClick:E=>{E.stopPropagation(),b(M.data),d(M.data.path)},onMouseOver:E=>{E.stopPropagation(),e(k?null:M.data)},onMouseOut:()=>e(null)};return(0,J.jsx)("div",{className:"relative grid place-items-center overflow-hidden",ref:r,children:(0,J.jsx)("svg",{className:B("grid h-full w-full place-items-center",{"cursor-zoom-out":x.includes("/")}),xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${i.width} ${i.height}`,onClick:()=>{let M=x.split("/").slice(0,-1).join("/");d(M===""?"/":M)},children:D.map((M,k)=>(0,J.jsx)("g",{className:B("transition-opacity hover:opacity-60",{"cursor-pointer":k===0,"cursor-zoom-in":k>0&&ft(M.data),"animate-blink":(C==null?void 0:C.path)===M.data.path}),..._(M,k===0),children:(T===void 0||M.depth<=T)&&(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(Ks,{d:M,isSearchMatch:Boolean(n[M.data.path])},M.data.path),p&&(0,J.jsx)(Zs,{d:M,children:Qs({d:M,isRoot:k===0,path:x,displayText:M.data.name,chartType:s})},`text|${x}|${M.data.path}|${s}|${a}`)]})},M.data.path))},`svg|${i.width}|${i.height}`)})});function Ys(t,e){function r(n){if(n.type==="blob")return e.some(i=>n.path===i)?null:n;{let i=[];for(let l of n.children){let s=r(l);s!==null&&i.push(s)}return e.some(l=>n.path.startsWith(l))?null:{type:"tree",name:n.name,path:n.path,children:i}}}let o=r(t);if(o===null||o.type!=="tree")throw new Error("Filtered tree must be a tree structure");return o}function Ks({d:t,isSearchMatch:e}){let[r]=ot(),{chartType:o,metricType:n,transitionsEnabled:i}=at(),l=(0,St.useMemo)(()=>{var a,m;let s={stroke:e?rl:"transparent",strokeWidth:"1px",fill:bt(t.data)?(m=(a=r.get(n))==null?void 0:a.colormap.get(t.data.path))!=null?m:"grey":"transparent"};if(o==="BUBBLE_CHART"){let c=t;s={...s,x:c.x-c.r,y:c.y-c.r+14-1,width:c.r*2,height:c.r*2,rx:c.r,ry:c.r}}else{let c=t;s={...s,x:c.x0,y:c.y0,width:c.x1-c.x0,height:c.y1-c.y0,rx:8,ry:8}}return s},[t,e,r,n,o]);return(0,J.jsx)("rect",{...l,className:B({"cursor-pointer":bt(t.data),"transition-all duration-1000 ease-in-out":i,"animate-stroke-pulse":e,"stroke-black/20":ft(t.data)})})}function Qs({d:t,isRoot:e,path:r,displayText:o,chartType:n}){let i,l;if(n==="BUBBLE_CHART"){let s=t;i=a=>s.r<50||s.r*Math.PI<a.length*10,l=()=>!1}else{let s=t;i=a=>s.x1-s.x0<a.length*10,l=a=>s.y1-s.y0-(bt(t.data)?3:3)<14}if(e){let s=r.split("/"),a=o.split("/"),m=0,c=0;for(;m<s.length&&c<a.length;)s[m]!==a[c]?m++:(m++,c++);o=a.slice(c-1).join("/")}return i(o)&&(o=o.replace(/\/.+\//gm,"/.../"),i(o))||l&&l(o)&&(o=o.replace(/\/.+\//gm,"/.../"),l(o))?null:o}function Zs({d:t,children:e=null}){var a,m;let[r]=ot(),{metricType:o}=at(),n=ta(t);if(e===null)return null;let i;if(n){let c=ft(t.data)?13:14,p=t;i=ra(p.x,p.y+c,p.r)}else{let c=t;i=oa(c.x0+(ft(t.data)?8:4),c.y0+(ft(t.data)?3:3),c.x1-c.x0,c.y1-c.y0,0)}let l=bt(t.data)?we((m=(a=r.get(o))==null?void 0:a.colormap.get(t.data.path))!=null?m:"#333"):"#333",s={startOffset:n?"50%":void 0,dominantBaseline:n&&ft(t.data)?"central":"hanging",textAnchor:n?"middle":"start",href:`#path-${t.data.path}`};return(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)("path",{d:i,id:`path-${t.data.path}`,className:"hidden"}),ft(t.data)?(0,J.jsx)("text",{className:B("pointer-events-none fill-none stroke-[7px] font-mono text-sm font-bold",{"stroke-white":n}),strokeLinecap:"round",children:(0,J.jsx)("textPath",{...s,children:e})}):null,(0,J.jsx)("text",{fill:l,className:"pointer-events-none",children:(0,J.jsx)("textPath",{...s,className:B("font-mono",{"text-sm font-bold":ft(t.data),"text-xs":!ft(t.data)}),children:e})})]})}function ta(t){return typeof t.r=="number"}function ea(t,e,r,o,n,i,l){let s=e,a=i.substring(e.name.length+1).split("/");for(let u=0;u<a.length;u++)for(let x of s.children)if(x.type==="tree"){let C=x.name.split("/");if(C[0]===a[u]){s=x,u+=C.length-1;break}}let c=re(s).sum(u=>{var b,d,T,N;let x=u,C=U(x.path);switch(n){case"FILE_SIZE":return(b=x.sizeInBytes)!=null?b:1;case"MOST_COMMITS":return(d=t.commitCounts.get(C))!=null?d:1;case"EQUAL_SIZE":return 1;case"LAST_CHANGED":return((T=t.lastChanged.get(C))!=null?T:t.oldestChangeDate)-t.oldestChangeDate;case"TRUCK_FACTOR":return(N=t.authorCounts.get(C))!=null?N:1}}),p=Number.isNaN(l)?2:l;switch(o){case"TREE_MAP":let x=Hr().tile($r).size([r.width,r.height]).paddingInner(2).paddingOuter(4).paddingTop(20)(c);return qr(x,d=>{let T=d;return T.x1-T.x0>=p&&T.y1-T.y0>=p}),x;case"BUBBLE_CHART":let b=zr().size([r.width,r.height-14]).padding(10)(c);return qr(b,d=>d.r>=p),b;default:throw Error("Invalid chart type")}}function qr(t,e){var r,o,n,i;t.children=(r=t.children)==null?void 0:r.filter(l=>e(l));for(let l of(o=t.children)!=null?o:[])((i=(n=l.children)==null?void 0:n.length)!=null?i:0)>0&&qr(l,e)}function ra(t,e,r){return`M${t},${e}
|
|
5
|
+
m0,${r}
|
|
6
|
+
a${r},${r} 0 1,1 0,${-r*2}
|
|
7
|
+
a${r},${r} 0 1,1 0,${r*2}`}function oa(t,e,r,o,n){return n=Math.min(n,Math.floor(r/3),Math.floor(o/3)),`M${t+n},${e}
|
|
8
|
+
h${r-n*2}
|
|
9
|
+
a${n},${n} 0 0 1 ${n},${n}
|
|
10
|
+
v${o-n*2}
|
|
11
|
+
a${n},${n} 0 0 1 ${-n},${n}
|
|
12
|
+
h${-r+n*2}
|
|
13
|
+
a${n},${n} 0 0 1 ${-n},${-n}
|
|
14
|
+
v${-o+n*2}
|
|
15
|
+
a${n},${n} 0 0 1 ${n},${-n}
|
|
16
|
+
z`}function al(t){let e=[];for(let r of t.children)r.type==="blob"?e.push(r):e.push(...al(r));return e}var rr=h(rt());var ut=h(j());var Vr=h(rt());var lt=h(A()),cl=(0,ut.memo)(function({hoveredObject:e,x:r,y:o}){var C;let n=(0,ut.useRef)(null),{metricType:i}=at(),[l]=ot(),{repodata2:s}=H(),a=(0,ut.useMemo)(()=>{var T,N;if(!e)return null;let b=(T=l.get(i))==null?void 0:T.colormap;return(N=b==null?void 0:b.get(e.path))!=null?N:"grey"},[e,l,i]),m=(0,ut.useMemo)(()=>r<window.innerWidth/2,[r]),c=(0,ut.useMemo)(()=>o<window.innerHeight/2,[o]),p=(0,ut.useMemo)(()=>m?`calc(1rem + ${r}px)`:`calc(-1rem + ${r}px - 100%)`,[m,r]),u=(0,ut.useMemo)(()=>c?`calc(1rem + ${o}px)`:`calc(-1rem + ${o}px - 100%)`,[c,o]),x=e!==null;return(0,lt.jsxs)("div",{className:`card absolute left-0 top-0 flex w-max flex-row place-items-center rounded-full py-0 pl-1 pr-2 will-change-transform ${x?"visible":"hidden"}`,ref:n,style:{transform:x?`translate(${p}, ${u})`:"none"},children:[(e==null?void 0:e.type)==="blob"?a?(0,lt.jsx)(gt,{dotColor:a}):null:(0,lt.jsx)(Vr.default,{className:"ml-0.5",path:Ut,size:.75}),(0,lt.jsx)("span",{className:"card__subtitle items-center font-bold",children:e&&bt(e)?e==null?void 0:e.name:Yo((C=e==null?void 0:e.path.split("/"))!=null?C:[]).map((b,d,T)=>(0,lt.jsxs)(ut.Fragment,{children:[b,T.length>1&&d<T.length-1?(0,lt.jsx)(Vr.default,{path:Lo,size:1}):null]},`segment-${d}${b}`))}),(e==null?void 0:e.type)==="blob"?na({metric:i,hoveredBlob:e,repodata2:s}):null]})});function na(t){var o,n;let e=U((n=(o=t.hoveredBlob)==null?void 0:o.path)!=null?n:""),r=t.repodata2.authorCounts.get(e);switch(t.metric){case"MOST_COMMITS":let i=t.repodata2.commitCounts.get(e);return i?`${i} commit${i>1?"s":""}`:null;case"LAST_CHANGED":let l=t.repodata2.lastChanged.get(e);return l?(0,lt.jsx)(lt.Fragment,{children:Wo(l)}):null;case"SINGLE_AUTHOR":switch(r){case void 0:case 0:return null;case 1:let a=t.repodata2.dominantAuthors.get(e);return a?`${a} is the only author`:null;default:return`${r} authors`}case"TOP_CONTRIBUTOR":let s=t.repodata2.dominantAuthors.get(e);return s?(0,lt.jsx)(lt.Fragment,{children:s}):null;case"TRUCK_FACTOR":switch(r){case void 0:case 0:return null;case 1:return"1 author";default:return`${r} authors`}default:return null}}var Tl=h(kl()),da=h(vl());var wl=h(Sl()),ge=class{static getOrCreateInstance(e,r,o){var s;this.instances||(this.instances=new Map);let n=(s=this.instances.get(e))==null?void 0:s.get(r);if(n)return n;let i=new wl.default(e,r,o),l=this.instances.get(e);return l?l.set(r,i):this.instances.set(e,new Map([[r,i]])),i}static getInstance(e,r){var o;return this.instances||(this.instances=new Map),(o=this.instances.get(e))==null?void 0:o.get(r)}};ge.instances=new Map;var w=h(A());var ha=()=>{let t=to();if((0,st.useEffect)(()=>{console.error(t)},[t]),Qr(t))return(0,w.jsxs)("div",{className:"app-container",children:[(0,w.jsx)("div",{}),(0,w.jsxs)("div",{className:"card",children:[(0,w.jsx)("h1",{children:"An error occured!"}),(0,w.jsx)("p",{children:"See console for more infomation."}),(0,w.jsxs)("p",{children:["Message: ",t.data.message]}),(0,w.jsx)(Wt,{children:t.data.message}),(0,w.jsx)("div",{children:(0,w.jsx)(Et,{to:".",children:"Retry"})}),(0,w.jsx)("div",{children:(0,w.jsx)(Et,{to:"..",children:"Go back"})})]})]});let e="Unknown error";return typeof t=="string"?e=t:typeof t=="object"&&t!==null&&"message"in t&&typeof t.message=="string"&&(e=t.message),(0,w.jsxs)("div",{className:"app-container",children:[(0,w.jsx)("div",{}),(0,w.jsxs)("div",{className:"card",children:[(0,w.jsx)("h1",{children:"An error occured!"}),(0,w.jsx)("p",{children:"See console for more infomation."}),(0,w.jsx)(Wt,{children:e}),(0,w.jsx)("div",{children:(0,w.jsx)(Et,{to:".",children:"Retry"})}),(0,w.jsx)("div",{children:(0,w.jsx)(Et,{to:"..",children:"Go back"})})]})]})},ga=(0,st.memo)(function(){let{gitTruckInfo:e}=H();return(0,w.jsxs)("div",{className:"card",children:[(0,w.jsxs)("p",{children:["Update available: ",e.latestVersion]}),(0,w.jsxs)("p",{className:"card-p",children:["Currently installed: ",e.version]}),(0,w.jsxs)("p",{className:"card-p",children:["To update, close application and run: ",(0,w.jsx)(Wt,{inline:!0,children:"npx git-truck@latest"})]})]})});function Ml(){let t=Ue(),e=dr(),{gitTruckInfo:r,repodata2:o}=e,[n,i]=(0,st.useState)(!1),[l,s]=(0,st.useState)(!1),[a,m]=(0,st.useState)(!1),[c,p]=ae(!1),[u,x]=(0,st.useState)(null),C=()=>p(!0);function b(){return a?"fullscreen":n&&l?"both-collapse":n?"left-collapse":l?"right-collapse":""}return(0,w.jsxs)(vi,{data:e,children:[(0,w.jsxs)("div",{className:`app-container ${b()}`,children:[(0,w.jsxs)("aside",{className:B("flex flex-col gap-2 p-2 pl-0",{"overflow-y-auto":!a}),children:[a?null:(0,w.jsx)("div",{className:"absolute z-10",children:(0,w.jsx)("div",{onClick:()=>i(!n),className:B("absolute top-half-screen flex h-8 w-8 cursor-pointer items-center justify-center rounded-full border-2 border-solid border-sky-500 bg-white",{"left-arrow-space":!n}),children:(0,w.jsx)(rr.Icon,{path:n?qt:nr,size:1})})}),n?null:(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(ui,{}),(0,w.jsx)(yi,{}),o.hiddenFiles.length>0?(0,w.jsx)(mi,{}):null,(0,w.jsx)(Ci,{})]})]}),(0,w.jsxs)("main",{className:"grid h-full min-w-[100px] grid-rows-[auto,1fr] gap-2 overflow-y-hidden p-2",children:[(0,w.jsxs)("header",{className:"grid grid-flow-col items-center justify-between gap-2",children:[(0,w.jsx)(wi,{}),(0,w.jsx)(fa,{setIsFullscreen:m,isFullscreen:a})]}),t?(0,w.jsx)(ba,{hoveredObject:u,setHoveredObject:x}):(0,w.jsx)("div",{})]}),(0,w.jsxs)("aside",{className:B("flex flex-col gap-2 p-2 pl-0",{"overflow-y-auto":!a}),children:[a?null:(0,w.jsx)("div",{className:"absolute z-10",children:(0,w.jsx)("div",{onClick:()=>s(!l),className:"absolute right-0 top-half-screen flex h-8 w-8 cursor-pointer items-center justify-center rounded-full border-2 border-solid border-sky-500 bg-white",children:(0,w.jsx)(rr.Icon,{path:l?nr:qt,size:1})})}),l?null:(0,w.jsxs)(w.Fragment,{children:[r.latestVersion&&Qo(r.latestVersion,r.version)===1?(0,w.jsx)(ga,{}):null,(0,w.jsx)(ei,{className:B({"absolute bottom-0 right-0 max-h-screen -translate-x-full overflow-y-auto shadow shadow-black/50":a}),showUnionAuthorsModal:C}),(0,w.jsx)(fi,{hoveredObject:u,showUnionAuthorsModal:C}),(0,w.jsx)(Mi,{})]})]})]}),(0,w.jsx)(Si,{visible:c,onClose:()=>{p(!1)}})]})}var fa=(0,st.memo)(function({setIsFullscreen:e,isFullscreen:r}){return(0,w.jsx)("button",{className:"card btn--icon p-1",onClick:()=>e(o=>!o),title:"Toggle full view",children:(0,w.jsx)(rr.Icon,{path:r?vo:xo,size:1})})});function ba({hoveredObject:t,setHoveredObject:e}){let r=(0,st.useRef)(null),o=(0,st.useRef)(document.body),n=mr(o);return(0,w.jsxs)("div",{className:"card grid overflow-y-hidden p-2",ref:r,children:[(0,w.jsx)(sl,{setHoveredObject:e}),(0,Tl.createPortal)((0,w.jsx)(cl,{hoveredObject:t,x:n.docX,y:n.docY,w:window.innerWidth}),document.body)]})}export{ha as ErrorBoundary,Ml as default};
|
|
17
|
+
/*! Bundled license information:
|
|
18
|
+
|
|
19
|
+
lang-map/index.js:
|
|
20
|
+
(*!
|
|
21
|
+
* lang-map <https://github.com/jonschlinkert/lang-map>
|
|
22
|
+
*
|
|
23
|
+
* Copyright (c) 2014-2015, Jon Schlinkert.
|
|
24
|
+
* Licensed under the MIT license.
|
|
25
|
+
*)
|
|
26
|
+
|
|
27
|
+
uniqolor/dist/uniqolor.js:
|
|
28
|
+
(**
|
|
29
|
+
* Generate unique and beautiful colors from any texts or numbers
|
|
30
|
+
* @version v1.1.0
|
|
31
|
+
* @link https://github.com/dastoori/uniqolor#README
|
|
32
|
+
* @author Rasool Dastoori
|
|
33
|
+
* @license MIT License, http://www.opensource.org/licenses/MIT
|
|
34
|
+
*)
|
|
35
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as U,b as E,c as S,l as v,t as N}from"/build/_shared/chunk-BL2DGNWE.js";import{aa as y,ba as x,ea as c}from"/build/_shared/chunk-3UNTI63Y.js";import{a as d,e as g,j as u,n as f,o as h,s as m}from"/build/_shared/chunk-DPCIHQKL.js";import{c as r}from"/build/_shared/chunk-Q3IECNXJ.js";var G=r(U()),w=r(S());var p=r(d());var o=r(m());function b({className:t=""}){let a=h();(0,p.useEffect)(()=>{a.state==="idle"&&a.load("/progress")},[a.state]);let i=(0,p.useMemo)(()=>{if(!a.data)return"Starting analyzation";let{progress:s,totalCommitCount:n,analyzationStatus:l}=a.data;return!l||l==="Starting"?"Starting analyzation":l==="GeneratingChart"?"Generating chart":"Analyzing commits: "+(s&&n?Math.round(s/n*100):0)+"% done"},[a.data]);return(0,o.jsx)("div",{className:y("grid h-full w-full place-items-center",t),style:{backgroundColor:"var(--global-bg-color)"},children:(0,o.jsxs)("div",{className:"flex animate-hide-initially flex-col px-2 py-2 opacity-0",children:[(0,o.jsx)("p",{className:"text-center text-3xl font-bold opacity-70",children:i}),(0,o.jsx)("img",{src:x,alt:"\u{1F69B}",className:"w-full min-w-0 max-w-sm self-center"})]})})}var W=r(E());var z=r(d());var D="/build/_assets/truck-JLDVJULS.png";var e=r(m());function C(){let{repositories:t,baseDir:a,baseDirName:i}=f();return g().state!=="idle"?(0,e.jsx)("div",{className:"grid h-screen place-items-center",children:(0,e.jsx)(b,{})}):(0,e.jsxs)("main",{className:"m-auto flex min-h-screen w-full max-w-7xl flex-col gap-2 p-2",children:[(0,e.jsxs)("div",{className:"card",children:[(0,e.jsxs)("h1",{className:"flex items-center text-4xl",children:[(0,e.jsx)("img",{src:D,alt:"Git Truck",className:"mr-2 inline-block h-12"}),"Git Truck"]}),(0,e.jsx)("p",{children:(0,e.jsxs)(e.Fragment,{children:["Found ",t.length," git repositor",t.length===1?"y":"ies"," in the folder"," ",(0,e.jsx)(c,{inline:!0,title:a,children:i}),"."]})})]}),(0,e.jsx)(L,{repositories:t})]})}function L({repositories:t}){return t.length===0?(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)("p",{children:["Try running ",(0,e.jsx)(c,{inline:!0,children:"git-truck"})," in another folder or provide another path as argument."]})}):(0,e.jsx)(e.Fragment,{children:(0,e.jsx)("nav",{children:(0,e.jsxs)("ul",{className:"grid grid-cols-[repeat(auto-fit,minmax(225px,1fr))] gap-2",children:[t.map(a=>(0,e.jsx)(q,{repo:a},a.path)),(0,e.jsxs)("li",{className:"card gap-3 p-0",children:[(0,e.jsxs)("h2",{className:"card__title rounded-t bg-gradient-to-r from-blue-500 to-blue-600 p-3 pb-3 text-white transition-colors",title:"Add repository",children:[(0,e.jsx)("span",{className:"line-clamp-1 break-all",children:"Add repository"}),(0,e.jsx)("span",{className:"align-content-start right-0 top-0 flex min-w-max select-none place-items-center rounded-full bg-white/20 px-2 py-1.5 text-xs font-bold uppercase leading-none tracking-widest text-white/90",children:"Coming soon"})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2 p-3 pt-0",children:[(0,e.jsx)("input",{type:"text",className:"input",placeholder:"git@github.com/owner/repo.git"}),(0,e.jsx)("button",{className:"btn",disabled:!0,title:"Coming soon!",children:"Clone"})]})]})]})})})}function q({repo:t}){let[a,i]=(0,z.useState)(t.currentHead),s=v(t.name,a),n=t.analyzedHeads[a];return(0,e.jsx)("div",{children:(0,e.jsxs)("div",{className:"card gap-3 p-0",children:[(0,e.jsxs)("h2",{className:`card__title rounded-t bg-gradient-to-r p-3 text-white ${n?" from-green-500 to-green-600 ":"from-gray-500 to-gray-600"}`,title:t.name,children:[(0,e.jsx)("h2",{className:"line-clamp-1 break-all",children:t.name}),(0,e.jsx)("span",{className:"align-content-start right-0 top-0 flex min-w-max select-none place-items-center rounded-full bg-white/20 px-2 py-1.5 text-xs font-bold uppercase leading-none tracking-widest text-white/90",children:n?"Ready":"Not analyzed"})]}),(0,e.jsxs)("div",{className:"flex flex-col gap-2 p-3 pt-0",children:[(0,e.jsx)(N,{value:a,onChange:l=>i(l.target.value),headGroups:t.refs,analyzedHeads:t.analyzedHeads}),(0,e.jsx)("div",{className:"grid",children:(0,e.jsx)(u,{className:`btn ${n?"btn--success":""}`,to:s,children:n?"View":"Analyze"})})]})]})},t.name)}export{C as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"/build/_shared/chunk-Q3IECNXJ.js";var p=o((r,e)=>{e.exports={}});export default p();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"/build/_shared/chunk-Q3IECNXJ.js";var p=o((r,e)=>{e.exports={}});export default p();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"/build/_shared/chunk-Q3IECNXJ.js";var p=o((r,e)=>{e.exports={}});export default p();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"/build/_shared/chunk-Q3IECNXJ.js";var p=o((r,e)=>{e.exports={}});export default p();
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Roboto Mono,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.card{position:relative;display:flex;width:auto;flex-direction:column;gap:.5rem;border-radius:.5rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));padding:.5rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.card-p{font-size:.875rem;line-height:1.25rem;opacity:.8}.card__title{-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:.875rem;line-height:1.25rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;opacity:.8;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;display:flex;align-items:center;justify-content:space-between}.card__subtitle{font-size:1rem;line-height:1.5rem;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;display:flex;align-items:center;justify-content:space-between}.btn{display:grid;height:2rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;grid-auto-flow:column;align-items:center;justify-content:center;gap:.5rem;border-radius:.375rem;border-width:1px;--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity));padding-left:.5rem;padding-right:.5rem;font-size:.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.btn:hover{opacity:.7}.btn:disabled{cursor:not-allowed;opacity:.5}.btn>svg,h2 svg{display:inline-block;height:1rem;width:1rem}.btn:disabled{cursor:not-allowed}.btn--outlined{border-color:currentColor;background-color:transparent;color:#000000e6}.btn--outlined:hover{background-color:transparent;color:#00000080}.btn--outlined--light{border-color:currentColor;background-color:transparent;color:#ffffffe6}.btn--outlined--light:hover{background-color:transparent;color:#ffffff80}.btn.btn--primary{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn.btn--primary:hover:enabled{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.btn--icon.btn--primary{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.btn--success{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn--danger{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.btn--icon{display:inline-grid;cursor:pointer;place-items:center}.btn--icon>*:hover{opacity:.7}.btn--hover-swap .hover-swap{display:none}.btn--hover-swap>.hover-swap{display:none}.btn--hover-swap>:not(.hover-swap){opacity:.5}.btn--hover-swap:hover>.hover-swap{display:block}.btn--hover-swap:hover>:not(.hover-swap){display:none}.input{height:2rem;width:100%;flex-grow:1;overflow:scroll;text-overflow:ellipsis;border-radius:.25rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity));padding-left:.25rem;padding-right:.25rem;font-size:.875rem;line-height:1.25rem;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.input:enabled{cursor:pointer}.input:hover:enabled{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.input:disabled{cursor:not-allowed}.input:not(select){padding-left:.5rem;padding-right:.5rem}.label{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-weight:700}.label:hover{opacity:.7}.app-container{display:grid;height:auto;width:100%;grid-template-columns:repeat(1,minmax(0,1fr));grid-template-rows:50vh auto auto;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@media (min-width: 768px){.app-container{height:100vh;grid-template-columns:var(--side-panel-width) 1fr var(--side-panel-width);grid-template-rows:1fr;overflow:hidden}}.app-container{grid-template-areas:"left main right"}@media (max-width: 768px){.app-container{grid-template-areas:"main" "left" "right"}}.app-container>main{grid-area:main}@media (min-width: 768px){.app-container>aside{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}}.app-container>aside:first-of-type{grid-area:left}.app-container>aside:last-of-type{grid-area:right}@media (min-width: 768px){.app-container.both-collapse{height:100vh;grid-template-columns:0 1fr 0;grid-template-rows:1fr;overflow:hidden}.app-container.left-collapse{height:100vh;grid-template-columns:0 1fr var(--side-panel-width);grid-template-rows:1fr;overflow:hidden}.app-container.right-collapse{height:100vh;grid-template-columns:var(--side-panel-width) 1fr 0;grid-template-rows:1fr;overflow:hidden}}.app-container.fullscreen{grid-template-rows:100vh auto auto}.app-container.fullscreen>main{grid-column:1 / -1}.left-arrow-space{left:var(--side-panel-width)}@media (min-width: 768px){.app-container.fullscreen>aside:first-of-type{--tw-translate-x: calc(var(--side-panel-width) * -1);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.app-container.fullscreen>aside:last-of-type{--tw-translate-x: var(--side-panel-width);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}.pointer-events-none{pointer-events:none}.\!visible{visibility:visible!important}.visible{visibility:visible}.\!collapse{visibility:collapse!important}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.left-0{left:0}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-2{top:.5rem}.top-half-screen{top:50vh}.z-10{z-index:10}.col-span-2{grid-column:span 2 / span 2}.m-0{margin:0}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.mr-2{margin-right:.5rem}.mr-6{margin-right:1.5rem}.mt-2{margin-top:.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.inline-grid{display:inline-grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.h-12{height:3rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-screen{height:100vh}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-0{min-height:0px}.min-h-screen{min-height:100vh}.w-4{width:1rem}.w-8{width:2rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.min-w-0{min-width:0px}.min-w-\[100px\]{min-width:100px}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-7xl{max-width:80rem}.max-w-screen-lg{max-width:1024px}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/2{--tw-translate-y: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-rotate-180{--tw-rotate: -180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-blink{animation:1s linear infinite blink}.animate-hide-initially{animation:0s 1s linear forwards hide_initially}.animate-stroke-pulse{animation:1s ease-in-out infinite stroke_pulse}.cursor-auto{cursor:auto}.cursor-pointer{cursor:pointer}.cursor-zoom-in{cursor:zoom-in}.cursor-zoom-out{cursor:zoom-out}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.auto-cols-max{grid-auto-columns:max-content}.grid-flow-col{grid-auto-flow:column}.auto-rows-fr{grid-auto-rows:minmax(0,1fr)}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[1fr\,auto\]{grid-template-columns:1fr auto}.grid-cols-\[1fr_1fr\]{grid-template-columns:1fr 1fr}.grid-cols-\[auto\,1fr\,auto\]{grid-template-columns:auto 1fr auto}.grid-cols-\[auto\,1fr\],.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[repeat\(auto-fit\,minmax\(225px\,1fr\)\)\]{grid-template-columns:repeat(auto-fit,minmax(225px,1fr))}.grid-rows-\[auto\,1fr\]{grid-template-rows:auto 1fr}.grid-rows-\[max-content_max-content_max-content_max-content_1fr_max-content\]{grid-template-rows:max-content max-content max-content max-content 1fr max-content}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.place-items-stretch{place-items:stretch}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-y-1{row-gap:.25rem}.place-self-end{place-self:end}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis{text-overflow:ellipsis}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.break-all{word-break:break-all}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-bl-none{border-bottom-left-radius:0}.rounded-br-none{border-bottom-right-radius:0}.rounded-tl-none{border-top-left-radius:0}.rounded-tr-none{border-top-right-radius:0}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-t-0{border-top-width:0px}.border-solid{border-style:solid}.border-sky-500{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-black\/50{background-color:#00000080}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/20{background-color:#fff3}.bg-white\/70{background-color:#ffffffb3}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-blue-500{--tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);--tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-gray-500{--tw-gradient-from: #6b7280 var(--tw-gradient-from-position);--tw-gradient-to: rgb(107 114 128 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-green-500{--tw-gradient-from: #22c55e var(--tw-gradient-from-position);--tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-blue-600{--tw-gradient-to: #2563eb var(--tw-gradient-to-position)}.to-gray-600{--tw-gradient-to: #4b5563 var(--tw-gradient-to-position)}.to-green-600{--tw-gradient-to: #16a34a var(--tw-gradient-to-position)}.fill-none{fill:none}.stroke-black\/20{stroke:#0003}.stroke-white{stroke:#fff}.stroke-\[7px\]{stroke-width:7px}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-4{padding-left:1rem}.pr-2{padding-right:.5rem}.pt-0{padding-top:0}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:Roboto Mono,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xs\/none{font-size:.75rem;line-height:1}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-none{line-height:1}.tracking-\[0\.5em\]{letter-spacing:.5em}.tracking-widest{letter-spacing:.1em}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-white\/90{color:#ffffffe6}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-black{--tw-shadow-color: #000;--tw-shadow: var(--tw-shadow-colored)}.shadow-black\/50{--tw-shadow-color: rgb(0 0 0 / .5);--tw-shadow: var(--tw-shadow-colored)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-\[height\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-1000{transition-duration:1s}.duration-\[200ms\]{transition-duration:.2s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.will-change-transform{will-change:transform}.after\:ml-auto:after{content:var(--tw-content);margin-left:auto}.after\:h-\[14px\]:after{content:var(--tw-content);height:14px}.after\:w-\[14px\]:after{content:var(--tw-content);width:14px}.after\:shrink-0:after{content:var(--tw-content);flex-shrink:0}.after\:-rotate-180:after{content:var(--tw-content);--tw-rotate: -180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:rotate-0:after{content:var(--tw-content);--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.after\:bg-arrow:after{content:var(--tw-content);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")}.after\:bg-\[length\:14px_14px\]:after{content:var(--tw-content);background-size:14px 14px}.after\:bg-no-repeat:after{content:var(--tw-content);background-repeat:no-repeat}.after\:transition-\[transform\]:after{content:var(--tw-content);transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:duration-\[200ms\]:after{content:var(--tw-content);transition-duration:.2s}.after\:ease-out:after{content:var(--tw-content);transition-timing-function:cubic-bezier(0,0,.2,1)}.after\:content-\[\'\'\]:after{--tw-content: "";content:var(--tw-content)}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-60:hover{opacity:.6}.hover\:opacity-70:hover{opacity:.7}.hover\:opacity-80:hover{opacity:.8}.\[\&\:hover\>svg\]\:opacity-50:hover>svg{opacity:.5}.\[\&\>svg\]\:opacity-0>svg{opacity:0}
|